@hebcal/core 5.4.9 → 5.4.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/bundle.js +29 -32
- package/dist/bundle.js.map +1 -1
- package/dist/bundle.min.js +2 -2
- package/dist/bundle.min.js.map +1 -1
- package/dist/event.d.ts +27 -27
- package/dist/hebcal.d.ts +1 -0
- package/dist/index.cjs +29 -32
- package/dist/index.cjs.map +1 -1
- package/dist/index.mjs +29 -32
- package/dist/index.mjs.map +1 -1
- package/dist/pkgVersion.d.ts +1 -1
- package/dist/staticHolidays.d.ts +74 -74
- package/package.json +6 -6
package/dist/bundle.min.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
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)}function a(e){return!(e%4||!(e%100)&&e%400)}function i(e,t){return n[+a(t)][e]}function s(e){return"object"==typeof e&&Date.prototype.isPrototypeOf(e)}function c(e,t,n){const r=e-1;return 365*r+o(r,4)-o(r,100)+o(r,400)+o(367*t-362,12)+(t<=2?0:a(e)?-1:-2)+n}function u(e){if(!s(e))throw new TypeError(`Argument not a Date: ${e}`);return c(e.getFullYear(),e.getMonth()+1,e.getDate())}function h(e){if("number"!=typeof e)throw new TypeError(`Argument not a Number: ${e}`);const t=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)),n=o(12*(e-c(t,1,1)+(e<c(t,3,1)?0:a(t)?1:2))+373,367),i=e-c(t,n,1)+1,s=new Date(t,n-1,i);return t<100&&t>=0&&s.setFullYear(t),s}n[1][2]=29,e.greg=void 0,e.greg||(e.greg={}),e.greg.abs2greg=h,e.greg.daysInMonth=i,e.greg.greg2abs=u,e.greg.isDate=s,e.greg.isLeapYear=a;const l=1,f=2,d=4,g=6,m=7,y=8,S=9,p=10,w=12,v=13,A={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},b=["","Nisan","Iyyar","Sivan","Tamuz","Av","Elul","Tishrei","Cheshvan","Kislev","Tevet","Sh'vat"],T=[b.concat(["Adar","Nisan"]),b.concat(["Adar I","Adar II","Nisan"])],I=new Map,M=-1373428,E=365.24682220597794;function O(e,t){if("number"!=typeof e||isNaN(e))throw new TypeError(`invalid parameter '${t}' not a number: ${e}`)}function C(e,t,n){if(O(e,"year"),O(t,"month"),O(n,"day"),e<1)throw new RangeError(`hebrew2abs: invalid year ${e}`);let r=n;if(t<m){for(let t=m;t<=_(e);t++)r+=k(t,e);for(let n=l;n<t;n++)r+=k(n,e)}else for(let n=m;n<t;n++)r+=k(n,e);return M+R(e)+r-1}function N(e){return M+R(e)}function H(e){if(O(e,"abs"),(e=Math.trunc(e))<=M)throw new RangeError(`abs2hebrew: ${e} is before epoch`);let t=Math.floor((e-M)/E);for(;N(t)<=e;)++t;--t;let n=e<C(t,1,1)?7:1;for(;e>C(t,n,k(n,t));)++n;return{yy:t,mm:n,dd:1+e-C(t,n,1)}}function D(e){return(1+7*e)%19<7}function _(e){return+D(e)+12}function k(e,t){switch(e){case f:case d:case g:case p:case v:return 29}return e===w&&!D(t)||e===y&&!P(t)||e===S&&B(t)?29:30}function L(e,t){if(O(e,"month"),O(t,"year"),e<1||e>14)throw new TypeError(`bad month argument ${e}`);return T[+D(t)][e]}function R(e){const t=I.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&&!D(e)||1==i%7&&a>=16789&&D(t))&&s++;return s%7==0||s%7==3||s%7==5?s+1:s}(e);return I.set(e,n),n}function Y(e){return R(e+1)-R(e)}function P(e){return Y(e)%10==5}function B(e){return Y(e)%10==3}const j=A.NISAN,F=A.CHESHVAN,U=A.KISLEV,x=A.TEVET,Z=A.SHVAT,$=A.ADAR_I,V=A.ADAR_II;function z(e){if(function(e){return"object"==typeof e&&null!==e&&"number"==typeof e.yy&&"number"==typeof e.mm&&"number"==typeof e.dd}(e))return e;if("number"==typeof e)return H(e);if(s(e)){return H(u(e))}throw new TypeError(`Argument not a Date: ${e}`)}const K={"א":1,"ב":2,"ג":3,"ד":4,"ה":5,"ו":6,"ז":7,"ח":8,"ט":9,"י":10,"כ":20,"ל":30,"מ":40,"נ":50,"ס":60,"ע":70,"פ":80,"צ":90,"ק":100,"ר":200,"ש":300,"ת":400},G=new Map,J=new Map;for(const[e,t]of Object.entries(K))G.set(e,t),J.set(t,e);function W(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 q(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=W(r);for(const t of e)n+=J.get(t);n+="׳"}const o=W(t%1e3);if(1===o.length)return n+J.get(o[0])+"׳";for(let e=0;e<o.length;e++)e+1===o.length&&(n+="״"),n+=J.get(o[e]);return n}function X(e){let t=0;const n=e.indexOf("׳");if(-1!==n&&n!==e.length-1){t+=1e3*X(e.substring(0,n)),e=e.substring(n)}for(const n of e){const e=G.get(n);"number"==typeof e&&(t+=e)}return t}const Q={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 ee(e){if(e<1||e>49)throw new RangeError(`Invalid Omer day ${e}`)}function te(e){return[Math.floor((e-1)/7)+1,e%7||7]}function ne(e,t){return ee(e),"he"===t?function(e){const t=Math.floor(e/10),n=e%10;let r="הַיּוֹם ";11===e?r+="אַחַד "+le:12===e?r+="שְׁנֵים "+le:12<e&&e<20?r+=oe[n]+" "+le:e>9&&(r+=oe[n],n&&(r+=" ",r+=3===t?"וּ":"וְ"));e>2?((e>20||10===e||20===e)&&(r+=re[t]),r+=e<11?oe[n]+" "+ie+" ":" "+ue+" "):r+=1===e?he+" ":se+" ";if(e>6){r=r.trim(),r+=", שְׁהֵם ";const t=Math.floor(e/7),n=e%7;r+=t>2?oe[t]+" "+ce+" ":1===t?"שָׁבֽוּעַ "+oe[1]+" ":ae+" "+ce+" ",n&&(r+=2===n||3===n?"וּ":5===n?"וַ":"וְ",r+=n>2?oe[n]+" "+ie+" ":1===n?he+" ":se+" ")}return r+="לָעֽוֹמֶר",r.normalize()}(e):function(e){const[t,n]=te(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 re=["","עֲשָׂרָה","עֶשְׂרִים","שְׁלוֹשִׁים","אַרְבָּעִים"],oe=["","אֶחָד","שְׁנַיִם","שְׁלוֹשָׁה","אַרְבָּעָה","חֲמִשָּׁה","שִׁשָּׁה","שִׁבְעָה","שְׁמוֹנָה","תִּשְׁעָה"],ae="שְׁנֵי",ie="יָמִים",se=ae+" "+ie,ce="שָׁבוּעוֹת",ue="יוֹם",he=ue+" "+oe[1],le="עָשָׂר";const fe=new Map;const de=/^(\d+).(\d+).(\d+),?\s+(\d+).(\d+).(\d+)/;function ge(e,t){const n=function(e){const t=fe.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 fe.set(e,n),n}(e).format(t),r=de.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]=me(parseInt(r[3],10)),`${r[3]}-${r[1]}-${r[2]}T${o}:${r[5]}:${r[6]}Z`}function me(e){return e<0?"-00"+me(-e):e<10?"000"+e:e<100?"00"+e:e<1e3?"0"+e:String(e)}function ye(e){return e<10?"0"+e:String(e)}function Se(e){return me(e.getFullYear())+"-"+ye(e.getMonth()+1)+"-"+ye(e.getDate())}var pe={headers:{"plural-forms":"nplurals=2; plural=(n > 1);"},contexts:{"":{Tevet:["Teves"]}}},we={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 ve={headers:{"plural-forms":"nplurals=2; plural=(n!=1);"},contexts:{"":{}}},Ae={h:"he",a:"ashkenazi",s:"en","":"en"},be=new Map;let Te,Ie;class Me{static lookupTranslation(e,t){const n=("string"==typeof t&&be.get(t.toLowerCase())||Te)[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`);be.set(e.toLowerCase(),t.contexts[""])}static addTranslation(e,t,n){if("string"!=typeof e)throw new TypeError(`Invalid locale name: ${e}`);const r=be.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=be.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=be.get(t);if(!n)throw new RangeError(`Locale '${e}' not found`);return Ie=Ae[t]||t,Te=n,Te}static getLocaleName(){return Ie}static getLocaleNames(){return Array.from(be.keys()).sort(((e,t)=>e.localeCompare(t)))}static ordinal(e,t){const n=(null==t?void 0:t.toLowerCase())||Ie;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,"")}}Me.addLocale("en",ve),Me.addLocale("s",ve),Me.addLocale("",ve),Me.useLocale("en"),Me.addLocale("ashkenazi",pe),Me.addLocale("a",pe),Me.addLocale("he",we),Me.addLocale("h",we);const Ee=we.contexts[""],Oe={};for(const[e,t]of Object.entries(Ee))Oe[e]=[Me.hebrewStripNikkud(t[0])];const Ce={headers:we.headers,contexts:{"":Oe}};Me.addLocale("he-x-NoNikud",Ce);const Ne="day",He="week",De="month",_e="year";class ke{constructor(e,t,n){if(2===arguments.length||arguments.length>3)throw new TypeError("HDate constructor requires 0, 1 or 3 arguments");if(3===arguments.length){this.dd=this.mm=1;const a="string"==typeof n?parseInt(n,10):n;if(isNaN(a))throw new TypeError(`HDate called with bad year argument: ${n}`);this.yy=a,function(e,t){e.mm=ke.monthNum(t),Le(e)}(this,t);const i="string"==typeof e?parseInt(e,10):e;if(isNaN(i))throw new TypeError(`HDate called with bad day argument: ${e}`);o=i,(r=this).dd=o,Le(r)}else{null==e&&(e=new Date);const t="number"!=typeof e||isNaN(e)?s(e)?u(e):void 0!==e.yy?e:null:e;if(null===t)throw new TypeError(`HDate called with bad argument: ${e}`);const n="number"==typeof t,r=n?H(t):t;this.yy=r.yy,this.mm=r.mm,this.dd=r.dd,n&&(this.rd=t)}var r,o}getFullYear(){return this.yy}isLeapYear(){return D(this.yy)}getMonth(){return this.mm}getTishreiMonth(){const e=_(this.getFullYear());return(this.getMonth()+e-6)%e||e}daysInMonth(){return k(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 h(this.abs())}abs(){return"number"!=typeof this.rd&&(this.rd=C(this.yy,this.mm,this.dd)),this.rd}static hebrew2abs(e,t,n){return C(e,t,n)}getMonthName(){return L(this.getMonth(),this.getFullYear())}render(e){let t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];const n=e||Me.getLocaleName(),r=this.getDate(),o=Me.gettext(this.getMonthName(),n).replace(/'/g,"’"),a=Me.ordinal(r,n),i=function(e){switch(e){case"en":case"s":case"a":case"ashkenazi":return" of"}const t=Me.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=Me.gettext(this.getMonthName(),n),o=this.getFullYear();return q(t)+" "+r+" "+q(o)}before(e){return Ye(e,this,-1)}onOrBefore(e){return Ye(e,this,0)}nearest(e){return Ye(e,this,3)}onOrAfter(e){return Ye(e,this,6)}after(e){return Ye(e,this,7)}next(){return new ke(this.abs()+1)}prev(){return new ke(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 ke(this);if(t=function(e){switch(e){case"d":return Ne;case"w":return He;case"M":return De;case"y":return _e}const t=String(e||"").toLowerCase().replace(/s$/,"");switch(t){case Ne:case He:case De:case _e:return t}throw new TypeError(`Invalid units '${e}'`)}(t),t===Ne)return new ke(this.abs()+e);if(t===He)return new ke(this.abs()+7*e);if(t===_e)return new ke(this.getDate(),this.getMonth(),this.getFullYear()+e);if(t===De){let t=new ke(this);const n=e>0?1:-1;e=Math.abs(e);for(let r=0;r<e;r++)t=new ke(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(!ke.isHDate(e))throw new TypeError(`Bad argument: ${e}`);return this.abs()-e.abs()}isSameDate(e){return!!ke.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 D(e)}static monthsInYear(e){return _(e)}static daysInMonth(e,t){return k(e,t)}static getMonthName(e,t){return L(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):ke.monthFromName(e)}static daysInYear(e){return Y(e)}static longCheshvan(e){return P(e)}static shortKislev(e){return B(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 A.NISAN;case"i":return A.IYYAR;case"e":return A.ELUL;case"c":case"ח":return A.CHESHVAN;case"k":case"כ":return A.KISLEV;case"s":switch(t[1]){case"i":return A.SIVAN;case"h":return A.SHVAT}break;case"t":switch(t[1]){case"a":return A.TAMUZ;case"i":return A.TISHREI;case"e":return A.TEVET}break;case"a":switch(t[1]){case"v":return A.AV;case"d":return/(1|[^i]i|a|א)$/i.test(e)?A.ADAR_I:A.ADAR_II}break;case"ס":return A.SIVAN;case"ט":return A.TEVET;case"ש":return A.SHVAT;case"א":switch(t[1]){case"ב":return A.AV;case"ד":return/(1|[^i]i|a|א)$/i.test(e)?A.ADAR_I:A.ADAR_II;case"י":return A.IYYAR;case"ל":return A.ELUL}break;case"ת":switch(t[1]){case"מ":return A.TAMUZ;case"ש":return A.TISHREI}}throw new RangeError(`Unable to parse month name: ${e}`)}(Me.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=X(n[0]),a=3===r?n[1]:n[1]+" "+n[2],i=ke.monthFromName(a);let s=X(3===r?n[2]:n[3]);return s<1e3&&(s+=t),new ke(o,i,s)}}function Le(e){Re(e),function(e){e.dd<1&&(e.mm===A.TISHREI&&(e.yy-=1),e.dd+=k(e.mm,e.yy),e.mm-=1,Le(e));e.dd>k(e.mm,e.yy)&&(e.mm===A.ELUL&&(e.yy+=1),e.dd-=k(e.mm,e.yy),e.mm===_(e.yy)?e.mm=1:e.mm+=1,Le(e));Re(e)}(e)}function Re(e){e.mm!==A.ADAR_II||e.isLeapYear()?e.mm<1?(e.mm+=_(e.yy),e.yy-=1,Le(e)):e.mm>_(e.yy)&&(e.mm-=_(e.yy),e.yy+=1,Le(e)):(e.mm-=1,Le(e)),delete e.rd}function Ye(e,t,n){return new ke(ke.dayOnOrBefore(e,t.abs()+n))}var Pe={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"]}}},Be={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":["פִּרְקֵי אָבוֹת"]}}};Me.addTranslations("he",Be),Me.addTranslations("h",Be),Me.addTranslations("ashkenazi",Pe),Me.addTranslations("a",Pe);const je=Be.contexts[""],Fe={};for(const[e,t]of Object.entries(je))Fe[e]=[Me.hebrewStripNikkud(t[0])];const Ue={headers:Be.headers,contexts:{"":Fe}};Me.addTranslations("he-x-NoNikud",Ue);const xe={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},Ze=[[xe.MAJOR_FAST,"holiday","major","fast"],[xe.CHANUKAH_CANDLES,"holiday","major"],[xe.HEBREW_DATE,"hebdate"],[xe.MINOR_FAST,"holiday","fast"],[xe.MINOR_HOLIDAY,"holiday","minor"],[xe.MODERN_HOLIDAY,"holiday","modern"],[xe.MOLAD,"molad"],[xe.OMER_COUNT,"omer"],[xe.PARSHA_HASHAVUA,"parashat"],[xe.ROSH_CHODESH,"roshchodesh"],[xe.SHABBAT_MEVARCHIM,"mevarchim"],[xe.SPECIAL_SHABBAT,"holiday","shabbat"],[xe.USER_EVENT,"user"]];class $e{constructor(e,t,n=0,r){if(!ke.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 Me.gettext(this.desc,e)}renderBrief(e){return this.render(e)}getEmoji(){return this.emoji||null}basename(){return this.getDesc()}url(){}observedInIsrael(){return!(this.mask&xe.CHUL_ONLY)}observedInDiaspora(){return!(this.mask&xe.IL_ONLY)}observedIn(e){return e?this.observedInIsrael():this.observedInDiaspora()}clone(){const e=new $e(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 Ze){if(e&t[0])return t.slice(1)}return["unknown"]}}class Ve extends $e{constructor(e){super(e,e.toString(),xe.HEBREW_DATE)}render(e){const t=null==e?void 0:e.toLowerCase(),n=null!=t?t:Me.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=Me.gettext(t.getMonthName(),e);return q(n)+" "+r}renderBrief(e){const t=null==e?void 0:e.toLowerCase(),n=null!=t?t:Me.getLocaleName(),r=this.getDate();if(r.getMonth()===A.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 ze="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},Ke=function(e){return e&&e.Math===Math&&e},Ge=Ke("object"==typeof globalThis&&globalThis)||Ke("object"==typeof window&&window)||Ke("object"==typeof self&&self)||Ke("object"==typeof ze&&ze)||Ke("object"==typeof ze&&ze)||function(){return this}()||Function("return this")(),Je={},We=function(e){try{return!!e()}catch(e){return!0}},qe=!We((function(){return 7!==Object.defineProperty({},1,{get:function(){return 7}})[1]})),Xe=!We((function(){var e=function(){}.bind();return"function"!=typeof e||e.hasOwnProperty("prototype")})),Qe=Xe,et=Function.prototype.call,tt=Qe?et.bind(et):function(){return et.apply(et,arguments)},nt={},rt={}.propertyIsEnumerable,ot=Object.getOwnPropertyDescriptor,at=ot&&!rt.call({1:2},1);nt.f=at?function(e){var t=ot(this,e);return!!t&&t.enumerable}:rt;var it,st,ct=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}},ut=Xe,ht=Function.prototype,lt=ht.call,ft=ut&&ht.bind.bind(lt,lt),dt=ut?ft:function(e){return function(){return lt.apply(e,arguments)}},gt=dt,mt=gt({}.toString),yt=gt("".slice),St=We,pt=function(e){return yt(mt(e),8,-1)},wt=Object,vt=dt("".split),At=St((function(){return!wt("z").propertyIsEnumerable(0)}))?function(e){return"String"===pt(e)?vt(e,""):wt(e)}:wt,bt=function(e){return null==e},Tt=bt,It=TypeError,Mt=function(e){if(Tt(e))throw new It("Can't call method on "+e);return e},Et=At,Ot=Mt,Ct=function(e){return Et(Ot(e))},Nt="object"==typeof document&&document.all,Ht=void 0===Nt&&void 0!==Nt?function(e){return"function"==typeof e||e===Nt}:function(e){return"function"==typeof e},Dt=Ht,_t=function(e){return"object"==typeof e?null!==e:Dt(e)},kt=Ge,Lt=Ht,Rt=function(e,t){return arguments.length<2?(n=kt[e],Lt(n)?n:void 0):kt[e]&&kt[e][t];var n},Yt=dt({}.isPrototypeOf),Pt=Ge,Bt="undefined"!=typeof navigator&&String(navigator.userAgent)||"",jt=Pt.process,Ft=Pt.Deno,Ut=jt&&jt.versions||Ft&&Ft.version,xt=Ut&&Ut.v8;xt&&(st=(it=xt.split("."))[0]>0&&it[0]<4?1:+(it[0]+it[1])),!st&&Bt&&(!(it=Bt.match(/Edge\/(\d+)/))||it[1]>=74)&&(it=Bt.match(/Chrome\/(\d+)/))&&(st=+it[1]);var Zt=st,$t=We,Vt=Ge.String,zt=!!Object.getOwnPropertySymbols&&!$t((function(){var e=Symbol("symbol detection");return!Vt(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&Zt&&Zt<41})),Kt=zt&&!Symbol.sham&&"symbol"==typeof Symbol.iterator,Gt=Rt,Jt=Ht,Wt=Yt,qt=Object,Xt=Kt?function(e){return"symbol"==typeof e}:function(e){var t=Gt("Symbol");return Jt(t)&&Wt(t.prototype,qt(e))},Qt=String,en=Ht,tn=function(e){try{return Qt(e)}catch(e){return"Object"}},nn=TypeError,rn=function(e){if(en(e))return e;throw new nn(tn(e)+" is not a function")},on=bt,an=tt,sn=Ht,cn=_t,un=TypeError,hn={exports:{}},ln=Ge,fn=Object.defineProperty,dn=function(e,t){try{fn(ln,e,{value:t,configurable:!0,writable:!0})}catch(n){ln[e]=t}return t},gn=Ge,mn=dn,yn="__core-js_shared__",Sn=hn.exports=gn[yn]||mn(yn,{});(Sn.versions||(Sn.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 pn=hn.exports,wn=pn,vn=function(e,t){return wn[e]||(wn[e]=t||{})},An=Mt,bn=Object,Tn=function(e){return bn(An(e))},In=dt({}.hasOwnProperty),Mn=Object.hasOwn||function(e,t){return In(Tn(e),t)},En=dt,On=0,Cn=Math.random(),Nn=En(1..toString),Hn=function(e){return"Symbol("+(void 0===e?"":e)+")_"+Nn(++On+Cn,36)},Dn=vn,_n=Mn,kn=Hn,Ln=zt,Rn=Kt,Yn=Ge.Symbol,Pn=Dn("wks"),Bn=Rn?Yn.for||Yn:Yn&&Yn.withoutSetter||kn,jn=function(e){return _n(Pn,e)||(Pn[e]=Ln&&_n(Yn,e)?Yn[e]:Bn("Symbol."+e)),Pn[e]},Fn=tt,Un=_t,xn=Xt,Zn=function(e,t){var n=e[t];return on(n)?void 0:rn(n)},$n=function(e,t){var n,r;if("string"===t&&sn(n=e.toString)&&!cn(r=an(n,e)))return r;if(sn(n=e.valueOf)&&!cn(r=an(n,e)))return r;if("string"!==t&&sn(n=e.toString)&&!cn(r=an(n,e)))return r;throw new un("Can't convert object to primitive value")},Vn=TypeError,zn=jn("toPrimitive"),Kn=function(e,t){if(!Un(e)||xn(e))return e;var n,r=Zn(e,zn);if(r){if(void 0===t&&(t="default"),n=Fn(r,e,t),!Un(n)||xn(n))return n;throw new Vn("Can't convert object to primitive value")}return void 0===t&&(t="number"),$n(e,t)},Gn=Xt,Jn=function(e){var t=Kn(e,"string");return Gn(t)?t:t+""},Wn=_t,qn=Ge.document,Xn=Wn(qn)&&Wn(qn.createElement),Qn=function(e){return Xn?qn.createElement(e):{}},er=Qn,tr=!qe&&!We((function(){return 7!==Object.defineProperty(er("div"),"a",{get:function(){return 7}}).a})),nr=qe,rr=tt,or=nt,ar=ct,ir=Ct,sr=Jn,cr=Mn,ur=tr,hr=Object.getOwnPropertyDescriptor;Je.f=nr?hr:function(e,t){if(e=ir(e),t=sr(t),ur)try{return hr(e,t)}catch(e){}if(cr(e,t))return ar(!rr(or.f,e,t),e[t])};var lr={},fr=qe&&We((function(){return 42!==Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype})),dr=_t,gr=String,mr=TypeError,yr=function(e){if(dr(e))return e;throw new mr(gr(e)+" is not an object")},Sr=qe,pr=tr,wr=fr,vr=yr,Ar=Jn,br=TypeError,Tr=Object.defineProperty,Ir=Object.getOwnPropertyDescriptor,Mr="enumerable",Er="configurable",Or="writable";lr.f=Sr?wr?function(e,t,n){if(vr(e),t=Ar(t),vr(n),"function"==typeof e&&"prototype"===t&&"value"in n&&Or in n&&!n[Or]){var r=Ir(e,t);r&&r[Or]&&(e[t]=n.value,n={configurable:Er in n?n[Er]:r[Er],enumerable:Mr in n?n[Mr]:r[Mr],writable:!1})}return Tr(e,t,n)}:Tr:function(e,t,n){if(vr(e),t=Ar(t),vr(n),pr)try{return Tr(e,t,n)}catch(e){}if("get"in n||"set"in n)throw new br("Accessors not supported");return"value"in n&&(e[t]=n.value),e};var Cr=lr,Nr=ct,Hr=qe?function(e,t,n){return Cr.f(e,t,Nr(1,n))}:function(e,t,n){return e[t]=n,e},Dr={exports:{}},_r=qe,kr=Mn,Lr=Function.prototype,Rr=_r&&Object.getOwnPropertyDescriptor,Yr=kr(Lr,"name"),Pr={EXISTS:Yr,PROPER:Yr&&"something"===function(){}.name,CONFIGURABLE:Yr&&(!_r||_r&&Rr(Lr,"name").configurable)},Br=Ht,jr=pn,Fr=dt(Function.toString);Br(jr.inspectSource)||(jr.inspectSource=function(e){return Fr(e)});var Ur,xr,Zr,$r=jr.inspectSource,Vr=Ht,zr=Ge.WeakMap,Kr=Vr(zr)&&/native code/.test(String(zr)),Gr=Hn,Jr=vn("keys"),Wr=function(e){return Jr[e]||(Jr[e]=Gr(e))},qr={},Xr=Kr,Qr=Ge,eo=_t,to=Hr,no=Mn,ro=pn,oo=Wr,ao=qr,io="Object already initialized",so=Qr.TypeError,co=Qr.WeakMap;if(Xr||ro.state){var uo=ro.state||(ro.state=new co);uo.get=uo.get,uo.has=uo.has,uo.set=uo.set,Ur=function(e,t){if(uo.has(e))throw new so(io);return t.facade=e,uo.set(e,t),t},xr=function(e){return uo.get(e)||{}},Zr=function(e){return uo.has(e)}}else{var ho=oo("state");ao[ho]=!0,Ur=function(e,t){if(no(e,ho))throw new so(io);return t.facade=e,to(e,ho,t),t},xr=function(e){return no(e,ho)?e[ho]:{}},Zr=function(e){return no(e,ho)}}var lo={set:Ur,get:xr,has:Zr,enforce:function(e){return Zr(e)?xr(e):Ur(e,{})},getterFor:function(e){return function(t){var n;if(!eo(t)||(n=xr(t)).type!==e)throw new so("Incompatible receiver, "+e+" required");return n}}},fo=dt,go=We,mo=Ht,yo=Mn,So=qe,po=Pr.CONFIGURABLE,wo=$r,vo=lo.enforce,Ao=lo.get,bo=String,To=Object.defineProperty,Io=fo("".slice),Mo=fo("".replace),Eo=fo([].join),Oo=So&&!go((function(){return 8!==To((function(){}),"length",{value:8}).length})),Co=String(String).split("String"),No=Dr.exports=function(e,t,n){"Symbol("===Io(bo(t),0,7)&&(t="["+Mo(bo(t),/^Symbol\(([^)]*)\).*$/,"$1")+"]"),n&&n.getter&&(t="get "+t),n&&n.setter&&(t="set "+t),(!yo(e,"name")||po&&e.name!==t)&&(So?To(e,"name",{value:t,configurable:!0}):e.name=t),Oo&&n&&yo(n,"arity")&&e.length!==n.arity&&To(e,"length",{value:n.arity});try{n&&yo(n,"constructor")&&n.constructor?So&&To(e,"prototype",{writable:!1}):e.prototype&&(e.prototype=void 0)}catch(e){}var r=vo(e);return yo(r,"source")||(r.source=Eo(Co,"string"==typeof t?t:"")),e};Function.prototype.toString=No((function(){return mo(this)&&Ao(this).source||wo(this)}),"toString");var Ho=Dr.exports,Do=Ht,_o=lr,ko=Ho,Lo=dn,Ro={},Yo=Math.ceil,Po=Math.floor,Bo=Math.trunc||function(e){var t=+e;return(t>0?Po:Yo)(t)},jo=Bo,Fo=function(e){var t=+e;return t!=t||0===t?0:jo(t)},Uo=Fo,xo=Math.max,Zo=Math.min,$o=Fo,Vo=Math.min,zo=function(e){var t=$o(e);return t>0?Vo(t,9007199254740991):0},Ko=Ct,Go=function(e,t){var n=Uo(e);return n<0?xo(n+t,0):Zo(n,t)},Jo=function(e){return zo(e.length)},Wo=function(e){return function(t,n,r){var o=Ko(t),a=Jo(o);if(0===a)return!e&&-1;var i,s=Go(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}},qo={includes:Wo(!0),indexOf:Wo(!1)},Xo=Mn,Qo=Ct,ea=qo.indexOf,ta=qr,na=dt([].push),ra=function(e,t){var n,r=Qo(e),o=0,a=[];for(n in r)!Xo(ta,n)&&Xo(r,n)&&na(a,n);for(;t.length>o;)Xo(r,n=t[o++])&&(~ea(a,n)||na(a,n));return a},oa=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],aa=ra,ia=oa.concat("length","prototype");Ro.f=Object.getOwnPropertyNames||function(e){return aa(e,ia)};var sa={};sa.f=Object.getOwnPropertySymbols;var ca=Rt,ua=Ro,ha=sa,la=yr,fa=dt([].concat),da=ca("Reflect","ownKeys")||function(e){var t=ua.f(la(e)),n=ha.f;return n?fa(t,n(e)):t},ga=Mn,ma=da,ya=Je,Sa=lr,pa=We,wa=Ht,va=/#|\.prototype\./,Aa=function(e,t){var n=Ta[ba(e)];return n===Ma||n!==Ia&&(wa(t)?pa(t):!!t)},ba=Aa.normalize=function(e){return String(e).replace(va,".").toLowerCase()},Ta=Aa.data={},Ia=Aa.NATIVE="N",Ma=Aa.POLYFILL="P",Ea=Aa,Oa=Ge,Ca=Je.f,Na=Hr,Ha=function(e,t,n,r){r||(r={});var o=r.enumerable,a=void 0!==r.name?r.name:t;if(Do(n)&&ko(n,a,r),r.global)o?e[t]=n:Lo(t,n);else{try{r.unsafe?e[t]&&(o=!0):delete e[t]}catch(e){}o?e[t]=n:_o.f(e,t,{value:n,enumerable:!1,configurable:!r.nonConfigurable,writable:!r.nonWritable})}return e},Da=dn,_a=function(e,t,n){for(var r=ma(t),o=Sa.f,a=ya.f,i=0;i<r.length;i++){var s=r[i];ga(e,s)||n&&ga(n,s)||o(e,s,a(t,s))}},ka=Ea,La={},Ra=ra,Ya=oa,Pa=Object.keys||function(e){return Ra(e,Ya)},Ba=qe,ja=fr,Fa=lr,Ua=yr,xa=Ct,Za=Pa;La.f=Ba&&!ja?Object.defineProperties:function(e,t){Ua(e);for(var n,r=xa(t),o=Za(t),a=o.length,i=0;a>i;)Fa.f(e,n=o[i++],r[n]);return e};var $a,Va=Rt("document","documentElement"),za=yr,Ka=La,Ga=oa,Ja=qr,Wa=Va,qa=Qn,Xa="prototype",Qa="script",ei=Wr("IE_PROTO"),ti=function(){},ni=function(e){return"<"+Qa+">"+e+"</"+Qa+">"},ri=function(e){e.write(ni("")),e.close();var t=e.parentWindow.Object;return e=null,t},oi=function(){try{$a=new ActiveXObject("htmlfile")}catch(e){}var e,t,n;oi="undefined"!=typeof document?document.domain&&$a?ri($a):(t=qa("iframe"),n="java"+Qa+":",t.style.display="none",Wa.appendChild(t),t.src=String(n),(e=t.contentWindow.document).open(),e.write(ni("document.F=Object")),e.close(),e.F):ri($a);for(var r=Ga.length;r--;)delete oi[Xa][Ga[r]];return oi()};Ja[ei]=!0;var ai=Object.create||function(e,t){var n;return null!==e?(ti[Xa]=za(e),n=new ti,ti[Xa]=null,n[ei]=e):n=oi(),void 0===t?n:Ka.f(n,t)},ii=jn,si=ai,ci=lr.f,ui=ii("unscopables"),hi=Array.prototype;void 0===hi[ui]&&ci(hi,ui,{configurable:!0,value:si(null)});var li=qo.includes,fi=function(e){hi[ui][e]=!0};function di(e,t,n,r,o){return gi(t,mi(e,t),n,r,o)}function gi(e,t,n,r,o,a){const i=Yi(t,n,r);if(o&&t!==i)throw new RangeError(Zl(e,t,n,r,a));return i}function mi(e,t){const n=e[t];if(void 0===n)throw new TypeError(Vl(t));return n}function yi(e){return null!==e&&/object|function/.test(typeof e)}function Si(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 pi(e){return wi({name:e},1)}function wi(e,t){return Ti((e=>({value:e,configurable:1,writable:!t})),e)}function vi(e){return Ti((e=>({get:e,configurable:1})),e)}function Ai(e){return{[Symbol.toStringTag]:{value:e,configurable:1}}}function bi(e,t){const n={};let r=e.length;for(const o of t)n[e[--r]]=o;return n}function Ti(e,t,n){const r={};for(const o in t)r[o]=e(t[o],o,n);return r}function Ii(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 Mi(e,t,n){const r={};for(let o=0;o<e.length;o++)r[t[o]]=n[e[o]];return r}function Ei(e,t){const n={};for(const r of e)n[r]=t[r];return n}function Oi(e,t){const n={};for(const r in t)e.has(r)||(n[r]=t[r]);return n}function Ci(e){e={...e};const t=Object.keys(e);for(const n of t)void 0===e[n]&&delete e[n];return e}function Ni(e,t,n){for(const r of e)if(t[r]!==n[r])return 0;return 1}function Hi(e,t,n){const r={...n};for(let n=0;n<t;n++)r[e[n]]=0;return r}function Di(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 _i(e){return e[0].toUpperCase()+e.substring(1)}function ki(e){return e.slice().sort()}function Li(e,t){return String(t).padStart(e,"0")}function Ri(e,t){return Math.sign(e-t)}function Yi(e,t,n){return Math.min(Math.max(e,t),n)}function Pi(e,t){return[Math.floor(e/t),Bi(e,t)]}function Bi(e,t){return(e%t+t)%t}function ji(e,t){return[Fi(e,t),Ui(e,t)]}function Fi(e,t){return Math.trunc(e/t)||0}function Ui(e,t){return e%t||0}function xi(e){return.5===Math.abs(e%1)}function Zi(e,t,n){let r=0,o=0;for(let a=0;a<=t;a++){const t=e[n[a]],i=Uf[a],s=Ff/i,[c,u]=ji(t,s);r+=u*i,o+=c}const[a,i]=ji(r,Ff);return[o+a,i]}function $i(e,t,n){const r={};for(let o=t;o>=0;o--){const t=Uf[o];r[n[o]]=Fi(e,t),e=Ui(e,t)}return r}function Vi(e){if(void 0!==e)return Ki(e)}function zi(e){return Qi(Ki(e))}function Ki(e){return Xi(dd(e))}function Gi(e){if(null==e)throw new TypeError("Cannot be null or undefined");return e}function Ji(e,t){if(null==t)throw new RangeError(Vl(e));return t}function Wi(e){if(!yi(e))throw new TypeError(xl);return e}function qi(e,t){if(typeof t!==e)throw new TypeError($l(arguments.length>2&&void 0!==arguments[2]?arguments[2]:e,t));return t}function Xi(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"number";if(!Number.isInteger(e))throw new RangeError(Yl(t,e));return e||0}function Qi(e){if(e<=0)throw new RangeError(Pl(arguments.length>1&&void 0!==arguments[1]?arguments[1]:"number",e));return e}function es(e){if("symbol"==typeof e)throw new TypeError(Ul);return String(e)}function ts(e,t){return yi(e)?String(e):ld(e,t)}function ns(e){if("string"==typeof e)return BigInt(e);if("bigint"!=typeof e)throw new TypeError(Fl(e));return e}function rs(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"number";if("bigint"==typeof e)throw new TypeError(jl(t));if(e=Number(e),!Number.isFinite(e))throw new RangeError(Bl(t,e));return e}function os(e,t){return Math.trunc(rs(e,t))||0}function as(e,t){return Xi(rs(e,t),t)}function is(e,t){return Qi(os(e,t),t)}function ss(e,t){let[n,r]=ji(t,Ff),o=e+n;const a=Math.sign(o);return a&&a===-Math.sign(r)&&(o-=a,r+=a*Ff),[o,r]}function cs(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1;return ss(e[0]+t[0]*n,e[1]+t[1]*n)}function us(e,t){return ss(e[0],e[1]+t)}function hs(e,t){return cs(t,e,-1)}function ls(e,t){return Ri(e[0],t[0])||Ri(e[1],t[1])}function fs(e,t,n){return-1===ls(e,t)||1===ls(e,n)}function ds(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1;const n=BigInt(Ff/t);return[Number(e/n),Number(e%n)*t]}function gs(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1;const n=Ff/t,[r,o]=ji(e,n);return[r,o*t]}function ms(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1;const[n,r]=e,o=Math.floor(r/t),a=Ff/t;return BigInt(n)*BigInt(a)+BigInt(o)}function ys(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]=ji(o,t);return r*(Ff/t)+(a+(n?i/t:0))}function Ss(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:Pi;const[r,o]=e,[a,i]=n(o,t);return[r*(Ff/t)+a,i]}function ps(e,t){const n=e.formatToParts(t),r={};for(const e of n)r[e.type]=e.value;return r}function ws(e){return di(e,"isoYear",jd,Bd,1),e.isoYear===jd?di(e,"isoMonth",4,12,1):e.isoYear===Bd&&di(e,"isoMonth",1,9,1),e}function vs(e){return As({...e,...Hd,isoHour:12}),e}function As(e){const t=di(e,"isoYear",jd,Bd,1),n=t===jd?1:t===Bd?-1:0;return n&&bs(Cs({...e,isoDay:e.isoDay+n,isoNanosecond:e.isoNanosecond-n})),e}function bs(e){if(!e||fs(e,Pd,Yd))throw new RangeError(Sf);return e}function Ts(e){return Zi(e,5,Id)[1]}function Is(e){const[t,n]=Pi(e,Ff);return[$i(n,5,Id),t]}function Ms(e){return Es(e)[0]}function Es(e){return Ss(e,Pf)}function Os(e){return Ds(e.isoYear,e.isoMonth,e.isoDay,e.isoHour,e.isoMinute,e.isoSecond,e.isoMillisecond)}function Cs(e){const t=Os(e);if(void 0!==t){const[n,r]=ji(t,kf);return[n,r*Yf+(e.isoMicrosecond||0)*Rf+(e.isoNanosecond||0)]}}function Ns(e,t){const[n,r]=Is(Ts(e)-t);return bs(Cs({...e,isoDay:e.isoDay+r,...n}))}function Hs(){return Ds(...arguments)/Lf}function Ds(){const[e,t]=_s(...arguments),n=e.valueOf();if(!isNaN(n))return n-t*kf}function _s(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===jd?1:e===Bd?-1:0,c=new Date;return c.setUTCHours(r,o,a,i),c.setUTCFullYear(e,t-1,n+s),[c,s]}function ks(e,t){let[n,r]=us(e,t);r<0&&(r+=Ff,n-=1);const[o,a]=Pi(r,Yf),[i,s]=Pi(a,Rf);return Ls(n*kf+o,i,s)}function Ls(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)-Rd)/kf)*Math.sign(e),o=new Date(e-r*kf);return bi(Ed,[o.getUTCFullYear(),o.getUTCMonth()+1,o.getUTCDate()+r,o.getUTCHours(),o.getUTCMinutes(),o.getUTCSeconds(),o.getUTCMilliseconds(),t,n])}function Rs(e){return[e.isoYear,e.isoMonth,e.isoDay]}function Ys(){return xd}function Ps(e,t){switch(t){case 2:return js(e)?29:28;case 4:case 6:case 9:case 11:return 30}return 31}function Bs(e){return js(e)?366:365}function js(e){return e%4==0&&(e%100!=0||e%400==0)}function Fs(e){const[t,n]=_s(e.isoYear,e.isoMonth,e.isoDay);return Bi(t.getUTCDay()-n,7)||7}function Us(e){let{isoYear:t}=e;return t<1?["bce",1-t]:["ce",t]}function xs(e){const t=Os(e);if(t<Zd)return Us(e);const n=ps(qg(cd),t),{era:r,eraYear:o}=Fh(n,cd);return[r,o]}function Zs(e){return $s(e),Ks(e,1),e}function $s(e){return zs(e,1),e}function Vs(e){return Ni(Md,e,zs(e))}function zs(e,t){const{isoYear:n}=e,r=di(e,"isoMonth",1,Ys(),t);return{isoYear:n,isoMonth:r,isoDay:di(e,"isoDay",1,Ps(n,r),t)}}function Ks(e,t){return bi(Id,[di(e,"isoHour",0,23,t),di(e,"isoMinute",0,59,t),di(e,"isoSecond",0,59,t),di(e,"isoMillisecond",0,999,t),di(e,"isoMicrosecond",0,999,t),di(e,"isoNanosecond",0,999,t)])}function Gs(e){return void 0===e?0:sg(Wi(e))}function Js(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;e=ic(e);const n=cg(e),r=ug(e,t);return[sg(e),r,n]}function Ws(e){return cg(ic(e))}function qs(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=ic(t);let i=ag(t,r,o),s=rc(t),c=dg(t,a);const u=og(t,r,o,1);return null==i?i=Math.max(n,u):fc(i,u),s=oc(s,u,1),e&&(c=(e=>e<4?(e+2)%4:e)(c)),[i,u,s,c]}function Xs(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:6,n=arguments.length>2?arguments[2]:void 0,r=rc(e=sc(e,Vd));const o=dg(e,7);let a=og(e,t);return a=Ji(Vd,a),r=oc(r,a,void 0,n),[a,r,o]}function Qs(e){return hg(ic(e))}function ec(e,t){return tc(ic(e),t)}function tc(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:4;const n=ac(e);return[dg(e,4),...nc(og(e,t),n)]}function nc(e,t){return null!=e?[Uf[e],e<4?9-3*e:-1]:[void 0===t?1:10**(9-t),t]}function rc(e){const t=e[Kd];return void 0===t?1:os(t,Kd)}function oc(e,t,n,r){const o=r?Ff:Uf[t+1];if(o){const n=Uf[t];if(o%((e=gi(Kd,e,1,o/n-(r?0:1),1))*n))throw new RangeError($l(Kd,e))}else e=gi(Kd,e,1,n?10**9:1,1);return e}function ac(e){let t=e[Gd];if(void 0!==t){if("number"!=typeof t){if("auto"===es(t))return;throw new RangeError($l(Gd,t))}t=gi(Gd,Math.floor(t),0,9,1)}return t}function ic(e){return void 0===e?{}:Wi(e)}function sc(e,t){return"string"==typeof e?{[t]:e}:Wi(e)}function cc(e){if(void 0!==e){if(yi(e))return Object.assign(Object.create(null),e);throw new TypeError(xl)}}function uc(e,t){return e&&Object.assign(Object.create(null),e,{overflow:qd[t]})}function hc(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=es(a),"auto"===a)return o?r:null;let i=Df[a];if(void 0===i&&(i=vd[a]),void 0===i)throw new RangeError(Jl(e,a,Df));return gi(e,i,r,n,1,_f),i}function lc(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=es(o),i=t[a];if(void 0===i)throw new RangeError(Jl(e,a,t));return i}function fc(e,t){if(t>e)throw new RangeError(Tf)}function dc(e){return{branding:vg,epochNanoseconds:e}}function gc(e,t,n){return{branding:wg,calendar:n,timeZone:t,epochNanoseconds:e}}function mc(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:e.calendar;return{branding:Sg,calendar:t,...Ei(Nd,e)}}function yc(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:e.calendar;return{branding:yg,calendar:t,...Ei(Od,e)}}function Sc(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:e.calendar;return{branding:gg,calendar:t,...Ei(Od,e)}}function pc(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:e.calendar;return{branding:mg,calendar:t,...Ei(Od,e)}}function wc(e){return{branding:pg,...Ei(Cd,e)}}function vc(e){return{branding:Ag,sign:Pu(e),...Ei(yd,e)}}function Ac(e){return Ss(e.epochNanoseconds,Yf)[0]}function bc(e){return e.epochNanoseconds}function Tc(e){return"string"==typeof e?e:ld(e.id)}function Ic(e,t){return e===t||Tc(e)===Tc(t)}function Mc(e,t){return ys(Fu(e),Uf[t],1)}function Ec(e,t,n,r,o,a,i){const s=md[n],c={...t,[s]:t[s]+r},u=i(e,o,t),h=i(e,o,c);return[a(u),a(h)]}function Oc(e,t,n){const r=ys(hs(t,n));if(!r)throw new RangeError(cf);return ys(hs(t,e))/r}function Cc(e,t,n,r){return Nc(e,_c(t,n),r)}function Nc(e,t,n){const[r,o]=Hc(e,t,n);return As({...Ou(e,o),...r})}function Hc(e,t,n){return Is(jc(Ts(e),t,n))}function Dc(e){return jc(e,Bf,7)}function _c(e,t){return Uf[e]*t}function kc(e){const t=Lc(e);return[t,Ou(t,1)]}function Lc(e){return Dd(6,e)}function Rc(e,t,n){const r=Math.min($u(e),6);return Uu(Bc(Fu(e,r),t,n),r)}function Yc(e,t,n,r,o,a,i,s,c,u){if(0===r&&1===o)return e;const h=ku(r,s)?_u(s)&&r<6&&n>=6?xc:Uc:Zc;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=Pu(e);for(let u=r+1;u<=n;u++){if(7===u&&7!==n)continue;const r=Td(u,e);r[md[u]]+=c;const h=ys(hs(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 Pc(e,t,n,r,o){if(6===t){const t=(e=>e[0]+e[1]/Ff)(e);return[jc(t,n,r),0]}return Bc(e,_c(t,n),r,o)}function Bc(e,t,n,r){let[o,a]=e;r&&a<0&&(a+=Ff,o-=1);const[i,s]=Pi(jc(a,t,n),Ff);return ss(o+i,s)}function jc(e,t,n){return Fc(e/t,n)*t}function Fc(e,t){return bg[t](e)}function Uc(e,t,n,r,o,a){const i=Pu(e),s=Fu(e),c=Pc(s,r,o,a),u=hs(s,c),h=Math.sign(c[0]-s[0])===i,l=Uu(c,Math.min(n,6));return[{...e,...l},cs(t,u),h]}function xc(e,t,n,r,o,a,i,s,c,u){const h=Pu(e),l=ys(Fu(e,5)),f=_c(r,o);let d=jc(l,f,a);const[g,m]=Ec(i,{...e,...bd},6,h,s,c,u),y=d-ys(hs(g,m));let S=0;y&&Math.sign(y)!==h?t=us(g,d):(S+=h,d=jc(y,f,a),t=us(m,d));const p=xu(d);return[{...e,...p,days:e.days+S},t,Boolean(S)]}function Zc(e,t,n,r,o,a,i,s,c,u){const h=Pu(e),l=md[r],f=Td(r,e);7===r&&(e={...e,weeks:e.weeks+Math.trunc(e.days/7)});const d=Fi(e[l],o)*o;f[l]=d;const[g,m]=Ec(i,f,r,o*h,s,c,u),y=d+Oc(t,g,m)*h*o,S=jc(y,o,a),p=Math.sign(S-y)===h;return f[l]=S,[f,p?m:g,p]}function $c(e,t,n,r){const[o,a,i,s]=(e=>{const t=tc(e=ic(e));return[e.timeZone,...t]})(r),c=void 0!==o;return((e,t,n,r,o,a)=>{n=Bc(n,o,r,1);const i=t.getOffsetNanosecondsFor(n);return eu(ks(n,i),a)+(e?au(Dc(i)):"Z")})(c,t(c?e(o):Tg),n.epochNanoseconds,a,i,s)}function Vc(e,t,n){const[r,o,a,i,s,c]=(e=>{e=ic(e);const t=hg(e),n=ac(e),r=fg(e),o=dg(e,4),a=og(e,4);return[t,lg(e),r,o,...nc(a,n)]})(n);return((e,t,n,r,o,a,i,s,c,u)=>{r=Bc(r,c,s,1);const h=e(n).getOffsetNanosecondsFor(r);return eu(ks(r,h),u)+au(Dc(h),i)+((e,t)=>1!==t?"["+(2===t?"!":"")+Tc(e)+"]":"")(n,a)+iu(t,o)})(e,t.calendar,t.timeZone,t.epochNanoseconds,r,o,a,i,s,c)}function zc(e,t){const[n,r,o,a]=(e=>(e=ic(e),[hg(e),...tc(e)]))(t);return i=e.calendar,s=n,c=a,eu(Nc(e,o,r),c)+iu(i,s);var i,s,c}function Kc(e,t){return n=e.calendar,r=e,o=Qs(t),tu(r)+iu(n,o);var n,r,o}function Gc(e,t){return Xc(e.calendar,nu,e,Qs(t))}function Jc(e,t){return Xc(e.calendar,ru,e,Qs(t))}function Wc(e,t){const[n,r,o]=ec(t);return a=o,ou(Hc(e,r,n)[0],a);var a}function qc(e,t){const[n,r,o]=ec(t,3);return r>1&&(e={...e,...Rc(e,r,n)}),((e,t)=>{const{sign:n}=e,r=-1===n?Yu(e):e,{hours:o,minutes:a}=r,[i,s]=Ss(Fu(r,3),Pf,ji);ju(i);const c=cu(s,t),u=t>=0||!n||c;return(n<0?"-":"")+"P"+Qc({Y:hu(r.years),M:hu(r.months),W:hu(r.weeks),D:hu(r.days)})+(o||a||i||u?"T"+Qc({H:hu(o),M:hu(a),S:hu(i,u)+c}):"")})(e,o)}function Xc(e,t,n,r){const o=Tc(e),a=r>1||0===r&&o!==id;return 1===r?o===id?t(n):tu(n):a?tu(n)+su(o,2===r):t(n)}function Qc(e){const t=[];for(const n in e){const r=e[n];r&&t.push(r,n)}return t.join("")}function eu(e,t){return tu(e)+"T"+ou(e,t)}function tu(e){return nu(e)+"-"+Hf(e.isoDay)}function nu(e){const{isoYear:t}=e;return(t<0||t>9999?uu(t)+Li(6,Math.abs(t)):Li(4,t))+"-"+Hf(e.isoMonth)}function ru(e){return Hf(e.isoMonth)+"-"+Hf(e.isoDay)}function ou(e,t){const n=[Hf(e.isoHour),Hf(e.isoMinute)];return-1!==t&&n.push(Hf(e.isoSecond)+((e,t,n,r)=>cu(e*Yf+t*Rf+n,r))(e.isoMillisecond,e.isoMicrosecond,e.isoNanosecond,t)),n.join(":")}function au(e){if(1===(arguments.length>1&&void 0!==arguments[1]?arguments[1]:0))return"";const[t,n]=Pi(Math.abs(e),jf),[r,o]=Pi(n,Bf),[a,i]=Pi(o,Pf);return uu(e)+Hf(t)+":"+Hf(r)+(a||i?":"+Hf(a)+cu(i):"")}function iu(e,t){if(1!==t){const n=Tc(e);if(t>1||0===t&&n!==id)return su(n,2===t)}return""}function su(e,t){return"["+(t?"!":"")+"u-ca="+e+"]"}function cu(e,t){let n=Li(9,e);return n=void 0===t?n.replace(Og,""):n.slice(0,t),n?"."+n:""}function uu(e){return e<0?"-":"+"}function hu(e,t){return e||t?e.toLocaleString("fullwide",{useGrouping:0}):""}function lu(e,t){const{epochNanoseconds:n}=e,r=(t.getOffsetNanosecondsFor?t:t(e.timeZone)).getOffsetNanosecondsFor(n),o=ks(n,r);return{calendar:e.calendar,...o,offsetNanoseconds:r}}function fu(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 Ns(t,n);const s=e.getPossibleInstantsFor(t);if(void 0!==n&&3!==r){const e=((e,t,n,r)=>{const o=Cs(t);r&&(n=Dc(n));for(const t of e){let e=ys(hs(t,o));if(r&&(e=Dc(e)),e===n)return t}})(s,t,n,a);if(void 0!==e)return e;if(0===r)throw new RangeError(mf)}return i?Cs(t):du(e,t,o,s)}function du(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(yf);if(r.length)return r[3===n?1:0];const o=Cs(t),a=((e,t)=>{const n=e.getOffsetNanosecondsFor(us(t,-Ff));return mu(e.getOffsetNanosecondsFor(us(t,Ff))-n)})(e,o),i=a*(2===n?-1:1);return(r=e.getPossibleInstantsFor(ks(o,i)))[2===n?0:r.length-1]}function gu(e){if(Math.abs(e)>=Ff)throw new RangeError(df);return e}function mu(e){if(e>Ff)throw new RangeError(gf);return e}function yu(e,t,n){return dc(bs(cs(t.epochNanoseconds,(e=>{if(Zu(e))throw new RangeError(Af);return Fu(e,5)})(e?Yu(n):n))))}function Su(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,...bu(i,s,r,n?Yu(o):o,a)}}function pu(e,t,n,r){let o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:Object.create(null);const{calendar:a}=n;return mc(Tu(e(a),n,t?Yu(r):r,o),a)}function wu(e,t,n,r,o){const{calendar:a}=n;return yc(Iu(e(a),n,t?Yu(r):r,o),a)}function vu(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=Mu(i,n);t&&(r=Ru(r)),r.sign<0&&(s=i.dateAdd(s,{...Ad,months:1}),s=Ou(s,-1));const c=i.dateAdd(s,r,o);return Sc(Mu(i,c),a)}function Au(e,t,n){return wc(Eu(t,e?Yu(n):n)[0])}function bu(e,t,n,r,o){const a=Fu(r,5);let i=n.epochNanoseconds;if(Zu(r)){const s=Cg(n,e);i=cs(du(e,{...Iu(t,s,{...r,...bd},o),...Ei(Id,s)}),a)}else i=cs(i,a),Gs(o);return{epochNanoseconds:bs(i)}}function Tu(e,t,n,r){const[o,a]=Eu(t,n);return As({...Iu(e,t,{...n,...bd,days:n.days+a},r),...o})}function Iu(e,t,n,r){if(n.years||n.months||n.weeks)return e.dateAdd(t,n,r);Gs(r);const o=n.days+Fu(n,5)[0];return o?vs(Ou(t,o)):t}function Mu(e,t){return Ou(t,(arguments.length>2&&void 0!==arguments[2]?arguments[2]:1)-e.day(t))}function Eu(e,t){const[n,r]=Fu(t,5),[o,a]=Is(Ts(e)+r);return[o,n+a]}function Ou(e,t){return t?{...e,...Ls(Os(e)+t*kf)}:e}function Cu(e,t,n){const r=e(n.calendar);return _u(n)?[n,r,t(n.timeZone)]:[{...n,...Hd},r]}function Nu(e){return e?bc:Cs}function Hu(e){return e?Di(bu,e):Tu}function Du(e){return e?Di(Oh,e):Ch}function _u(e){return e&&e.epochNanoseconds}function ku(e,t){return e<=6-(_u(t)?1:0)}function Lu(e,t,n,r,o,a,i){const s=e(ic(i).relativeTo),c=Math.max($u(o),$u(a));if(ku(c,s))return vc(Bu(((e,t,n,r)=>{const o=cs(Fu(e),Fu(t),r?-1:1);if(!Number.isFinite(o[0]))throw new RangeError(Sf);return{...Ad,...Uu(o,n)}})(o,a,c,r)));if(!s)throw new RangeError(vf);r&&(a=Yu(a));const[u,h,l]=Cu(t,n,s),f=Hu(l),d=Du(l),g=f(h,u,o);return vc(d(h,u,f(h,g,a),c))}function Ru(e){return vc(Yu(e))}function Yu(e){const t={};for(const n of md)t[n]=-1*e[n]||0;return t}function Pu(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:md,n=0;for(const r of t){const t=Math.sign(e[r]);if(t){if(n&&n!==t)throw new RangeError(wf);n=t}}return n}function Bu(e){for(const t of wd)gi(t,e[t],-Ng,Ng,1);return ju(ys(Fu(e),Pf)),e}function ju(e){if(!Number.isSafeInteger(e))throw new RangeError(pf)}function Fu(e){return Zi(e,arguments.length>1&&void 0!==arguments[1]?arguments[1]:6,md)}function Uu(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:6;const[n,r]=e,o=$i(r,t,md);if(o[md[t]]+=n*(Ff/Uf[t]),!Number.isFinite(o[md[t]]))throw new RangeError(Sf);return o}function xu(e){return $i(e,arguments.length>1&&void 0!==arguments[1]?arguments[1]:5,md)}function Zu(e){return Boolean(Pu(e,pd))}function $u(e){let t=9;for(;t>0&&!e[md[t]];t--);return t}function Vu(e,t){return[e,t]}function zu(e){const t=Math.floor(e/Ig)*Ig;return[t,t+Ig]}function Ku(e){const t=rh(e);if(void 0===t)throw new RangeError(If(e));return t}function Gu(e){const t=eh(ld(e));if(!t||t.m)throw new RangeError(If(e));return yc(t.p?qu(t):Xu(t))}function Ju(e){if(e.calendar!==id)throw new RangeError(Mf(e.calendar))}function Wu(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=lh(e.timeZone),a=Hg(o);return gc(fu(a,Zs(e),t,n,r,!a.v,e.m),o,Jh(e.calendar))}function qu(e){return Qu(As(Zs(e)))}function Xu(e){return Qu(vs($s(e)))}function Qu(e){return{...e,calendar:Jh(e.calendar)}}function eh(e){const t=Zg.exec(e);return t?(e=>{const t=e[10],n="Z"===(t||"").toUpperCase();return{isoYear:oh(e),isoMonth:parseInt(e[4]),isoDay:parseInt(e[5]),...ah(e.slice(5)),...ih(e[16]),p:Boolean(e[6]),m:n,offset:n?void 0:t}})(t):void 0}function th(e){const t=Ug.exec(e);return t?(e=>({isoYear:oh(e),isoMonth:parseInt(e[4]),isoDay:1,...ih(e[5])}))(t):void 0}function nh(e){const t=xg.exec(e);return t?(e=>({isoYear:Ud,isoMonth:parseInt(e[1]),isoDay:parseInt(e[2]),...ih(e[3])}))(t):void 0}function rh(e,t){const n=Vg.exec(e);return n?((e,t)=>{const n=e[4]||e[5];if(t&&n)throw new RangeError(Mf(n));return gu((hh(e[2])*jf+hh(e[3])*Bf+hh(e[4])*Pf+sh(e[5]||""))*uh(e[1]))})(n,t):void 0}function oh(e){const t=uh(e[1]),n=parseInt(e[2]||e[3]);if(t<0&&!n)throw new RangeError(Mf(-0));return t*n}function ah(e){const t=hh(e[3]);return{...Is(sh(e[4]||""))[0],isoHour:hh(e[1]),isoMinute:hh(e[2]),isoSecond:60===t?59:t}}function ih(e){let t,n;const r=[];if(e.replace(zg,((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(Mf(e))}else{if(n)throw new RangeError(Mf(e));n=s}return""})),r.length>1&&t)throw new RangeError(Mf(e));return{timeZone:n,calendar:r[0]||id}}function sh(e){return parseInt(e.padEnd(9,"0"))}function ch(e){return new RegExp(`^${e}$`,"i")}function uh(e){return e&&"+"!==e?-1:1}function hh(e){return void 0===e?0:parseInt(e)}function lh(e){const t=dh(e);return"number"==typeof t?au(t):t?(e=>{if(Jg.test(e))throw new RangeError(ff);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?_i(e).replace(/island|noronha|murdo|rivadavia|urville/,_i):e)))).join("/")})(e):Tg}function fh(e){const t=dh(e);return"number"==typeof t?t:t?t.resolvedOptions().timeZone:Tg}function dh(e){const t=rh(e=e.toUpperCase(),1);return void 0!==t?t:e!==Tg?Gg(e):void 0}function gh(e,t){return ls(e.epochNanoseconds,t.epochNanoseconds)}function mh(e,t){return ls(e.epochNanoseconds,t.epochNanoseconds)}function yh(e,t){return Sh(e,t)||ph(e,t)}function Sh(e,t){return Ri(Os(e),Os(t))}function ph(e,t){return Ri(Ts(e),Ts(t))}function wh(e,t){if(e===t)return 1;const n=Tc(e),r=Tc(t);if(n===r)return 1;try{return fh(n)===fh(r)}catch(e){}}function vh(e,t,n,r){const o=qs(e,cc(r),3,5),a=Dh(t.epochNanoseconds,n.epochNanoseconds,...o);return vc(e?Yu(a):a)}function Ah(e,t,n,r,o,a){const i=Yh(r.calendar,o.calendar),s=cc(a),[c,u,h,l]=qs(n,s,5),f=r.epochNanoseconds,d=o.epochNanoseconds,g=ls(d,f);let m;if(g)if(c<6)m=Dh(f,d,c,u,h,l);else{const n=t(((e,t)=>{if(!wh(e,t))throw new RangeError(lf);return e})(r.timeZone,o.timeZone)),a=e(i);m=Nh(a,n,r,o,g,c,s),m=Yc(m,d,c,u,h,l,a,r,bc,Di(bu,n))}else m=Ad;return vc(n?Yu(m):m)}function bh(e,t,n,r,o){const a=Yh(n.calendar,r.calendar),i=cc(o),[s,c,u,h]=qs(t,i,6),l=Cs(n),f=Cs(r),d=ls(f,l);let g;if(d)if(s<=6)g=Dh(l,f,s,c,u,h);else{const t=e(a);g=Hh(t,n,r,d,s,i),g=Yc(g,f,s,c,u,h,t,n,Cs,Tu)}else g=Ad;return vc(t?Yu(g):g)}function Th(e,t,n,r,o){const a=Yh(n.calendar,r.calendar),i=cc(o);return Mh(t,(()=>e(a)),n,r,...qs(t,i,6,9,6),i)}function Ih(e,t,n,r,o){const a=Yh(n.calendar,r.calendar),i=cc(o),s=qs(t,i,9,9,8),c=e(a);return Mh(t,(()=>c),Mu(c,n),Mu(c,r),...s,i)}function Mh(e,t,n,r,o,a,i,s,c){const u=Cs(n),h=Cs(r);let l;if(ls(h,u))if(6===o)l=Dh(u,h,o,a,i,s);else{const e=t();l=e.dateUntil(n,r,o,c),6===a&&1===i||(l=Yc(l,h,o,a,i,s,e,n,Cs,Iu))}else l=Ad;return vc(e?Yu(l):l)}function Eh(e,t,n,r){const o=cc(r),[a,i,s,c]=qs(e,o,5,5),u=jc(Rh(t,n),_c(i,s),c),h={...Ad,...xu(u,a)};return vc(e?Yu(h):h)}function Oh(e,t,n,r,o,a){const i=ls(r.epochNanoseconds,n.epochNanoseconds);return i?o<6?_h(n.epochNanoseconds,r.epochNanoseconds,o):Nh(t,e,n,r,i,o,a):Ad}function Ch(e,t,n,r,o){const a=Cs(t),i=Cs(n),s=ls(i,a);return s?r<=6?_h(a,i,r):Hh(e,t,n,s,r,o):Ad}function Nh(e,t,n,r,o,a,i){const[s,c,u]=((e,t,n,r)=>{function o(){return l={...Ou(s,u++*-r),...i},f=du(e,l),ls(c,f)===-r}const a=Cg(t,e),i=Ei(Id,a),s=Cg(n,e),c=n.epochNanoseconds;let u=0;const h=Rh(a,s);let l,f;if(Math.sign(h)===-r&&u++,o()&&(-1===r||o()))throw new RangeError(cf);const d=ys(hs(f,c));return[a,l,d]})(t,n,r,o);var h,l;return{...6===a?(h=s,l=c,{...Ad,days:kh(h,l)}):e.dateUntil(s,c,a,i),...xu(u)}}function Hh(e,t,n,r,o,a){const[i,s,c]=((e,t,n)=>{let r=t,o=Rh(e,t);return Math.sign(o)===-n&&(r=Ou(t,-n),o+=Ff*n),[e,r,o]})(t,n,r);return{...e.dateUntil(i,s,o,a),...xu(c)}}function Dh(e,t,n,r,o,a){return{...Ad,...Uu(Pc(hs(e,t),r,o,a),n)}}function _h(e,t,n){return{...Ad,...Uu(hs(e,t),n)}}function kh(e,t){return Lh(Os(e),Os(t))}function Lh(e,t){return Math.trunc((t-e)/kf)}function Rh(e,t){return Ts(t)-Ts(e)}function Yh(e,t){if(!Ic(e,t))throw new RangeError(uf);return e}function Ph(e){function t(e){return((e,t)=>({...Fh(e,t),F:e.month,day:parseInt(e.day)}))(ps(n,e),r)}const n=qg(e),r=Wh(e);return{id:e,O:Bh(t),B:jh(t)}}function Bh(e){return Si((t=>{const n=Os(t);return e(n)}),WeakMap)}function jh(e){const t=e(0).year-Fd;return Si((n=>{let r,o=Ds(n-t);const a=[],i=[];do{o+=400*kf}while((r=e(o)).year<=n);do{o+=(1-r.day)*kf,r.year===n&&(a.push(o),i.push(r.F)),o-=kf}while((r=e(o)).year>=n);return{k:a.reverse(),C:Cf(i.reverse())}}))}function Fh(e,t){let n,r,o=Uh(e);if(e.era){const a=ud[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=rl(r,a[n]||0))}return{era:n,eraYear:r,year:o}}function Uh(e){return parseInt(e.relatedYear||e.year)}function xh(e){const{year:t,F:n,day:r}=this.O(e),{C:o}=this.B(t);return[t,o[n]+1,r]}function Zh(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)*kf}function $h(e){const t=Gh(this,e),n=Gh(this,e-1),r=t.length;if(r>n.length){const e=al(this);if(e<0)return-e;for(let e=0;e<r;e++)if(t[e]!==n[e])return e+1}}function Vh(e){return Lh(Zh.call(this,e),Zh.call(this,e+1))}function zh(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),Lh(n[t-1],o[r-1])}function Kh(e){return this.B(e).k.length}function Gh(e,t){return Object.keys(e.B(t).C)}function Jh(e){if((e=e.toLowerCase())!==id&&e!==sd&&Wh(e)!==Wh(qg(e).resolvedOptions().calendar))throw new RangeError(hf(e));return e}function Wh(e){return"islamicc"===e&&(e="islamic"),e.split("-")[0]}function qh(e){return this.R(e)[0]}function Xh(e){return this.R(e)[1]}function Qh(e){const[t]=this.h(e);return Lh(this.q(t),Os(e))+1}function el(e){const t=Xg.exec(e);if(!t)throw new RangeError(nf(e));return[parseInt(t[1]),Boolean(t[2])]}function tl(e,t,n){return e+(t||n&&e>=n?1:0)}function nl(e,t){return e-(t&&e>=t?1:0)}function rl(e,t){return(t+e)*(Math.sign(t)||1)||0}function ol(e){return ud[il(e)]}function al(e){return hd[il(e)]}function il(e){return Wh(e.id||id)}function sl(e,t,n,r){const o=ll(n,r,nd,[],Kf);if(void 0!==o.timeZone){const r=n.dateFromFields(o),a=dl(o),i=e(o.timeZone);return{epochNanoseconds:fu(t(i),{...r,...a},void 0!==o.offset?Ku(o.offset):void 0),timeZone:i}}return{...n.dateFromFields(o),...Hd}}function cl(e,t,n){const r=ll(e,t,nd,arguments.length>3&&void 0!==arguments[3]?arguments[3]:[]);return e.dateFromFields(r,n)}function ul(e,t,n,r){const o=ll(e,t,ed,r);return e.yearMonthFromFields(o,n)}function hl(e,t,n,r){const o=ll(e,n,nd,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=Ud),e.monthDayFromFields(o,r)}function ll(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 fl(t,[...e.fields(n),...o].sort(),r)}function fl(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(Kl(r));if("constructor"===r||"__proto__"===r)throw new RangeError(zl(r));let t=e[r];if(void 0!==t)i=1,nm[r]&&(t=nm[r](t,r)),o[r]=t;else if(n){if(n.includes(r))throw new TypeError(Vl(r));o[r]=ad[r]}a=r}if(r&&!i)throw new TypeError(Gl(t));return o}function dl(e,t){return Ks(rm({...ad,...e}),t)}function gl(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=fl(t,i,a);const c=fl(n,i);return s=e.mergeFields(s,c),fl(s,i,[])}function ml(e,t){const n=ll(e,t,od);return e.monthDayFromFields(n)}function yl(e,t,n){const r=ll(e,t,td);return e.yearMonthFromFields(r,n)}function Sl(e,t,n,r,o){t=Ei(n=e.fields(n),t),r=fl(r,o=e.fields(o),[]);let a=e.mergeFields(t,r);return a=fl(a,[...n,...o].sort(),[]),e.dateFromFields(a)}function pl(e,t){let{era:n,eraYear:r,year:o}=t;const a=ol(e);if(void 0!==n||void 0!==r){if(void 0===n||void 0===r)throw new TypeError(Xl);if(!a)throw new RangeError(ql);const e=a[n];if(void 0===e)throw new RangeError(ef(n));const t=rl(r,e);if(void 0!==o&&o!==t)throw new RangeError(Ql);o=t}else if(void 0===o)throw new TypeError(tf(a));return o}function wl(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]=el(t);let s=tl(a,i,o);if(i){const t=al(e);if(void 0===t)throw new RangeError(sf);if(t>0){if(s>t)throw new RangeError(sf);if(void 0===o){if(1===r)throw new RangeError(sf);s--}}else{if(s!==-t)throw new RangeError(sf);if(void 0===o&&1===r)throw new RangeError(sf)}}return s})(e,a,n,r);if(void 0!==o&&o!==t)throw new RangeError(rf);o=t,r=1}else if(void 0===o)throw new TypeError(of);return gi("month",o,1,e.L(n),r)}function vl(e,t,n,r,o){return di(t,"day",1,e.j(r,n),o)}function Al(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 bl(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:id;return gc(e.epochNanoseconds,t,n)}function Tl(e,t){return mc(Cg(t,e))}function Il(e,t){return yc(Cg(t,e))}function Ml(e,t){return wc(Cg(t,e))}function El(e,t){return{...e,calendar:t}}function Ol(e,t){if(e===t)return e;const n=Tc(e),r=Tc(t);if(n===r||n===id)return t;if(r===id)return e;throw new RangeError(uf)}function Cl(e,t){return n=>n===id?e:n===sd||n===cd?Object.assign(Object.create(e),{id:n}):Object.assign(Object.create(t),Wg(n))}function Nl(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=Oi(r,o),e)||Object.assign(o,t),n&&(o.timeZone=Tg,["full","long"].includes(o.timeStyle)&&(o.timeStyle="medium")),o)}function Hl(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Dl;const[n,,,r]=e;return function(o){let a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:_m;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,..._l(e,h,s)]}}function Dl(e,t,n,r){if(n=r(n),e){if(void 0!==n.timeZone)throw new TypeError(Of);n.timeZone=e}return new _d(t,n)}function _l(e,t,n){const[,r,o]=e;return n.map((e=>(e.calendar&&((e,t,n)=>{if((n||e!==id)&&e!==t)throw new RangeError(uf)})(Tc(e.calendar),t.calendar,o),r(e,t))))}function kl(e){const t=Ll();return ks(t,e.getOffsetNanosecondsFor(t))}function Ll(){return gs(Date.now(),Yf)}function Rl(){return Fm||(Fm=(new _d).resolvedOptions().timeZone)}(function(e,t){var n,r,o,a,i,s=e.target,c=e.global,u=e.stat;if(n=c?Oa:u?Oa[s]||Da(s,{}):Oa[s]&&Oa[s].prototype)for(r in t){if(a=t[r],o=e.dontCallGetSet?(i=Ca(n,r))&&i.value:n[r],!ka(c?r:s+(u?".":"#")+r,e.forced)&&void 0!==o){if(typeof a==typeof o)continue;_a(a,o)}(e.sham||o&&o.sham)&&Na(a,"sham",!0),Ha(n,r,a,e)}})({target:"Array",proto:!0,forced:We((function(){return!Array(1).includes()}))},{includes:function(e){return li(this,e,arguments.length>1?arguments[1]:void 0)}}),fi("includes");const Yl=(e,t)=>`Non-integer ${e}: ${t}`,Pl=(e,t)=>`Non-positive ${e}: ${t}`,Bl=(e,t)=>`Non-finite ${e}: ${t}`,jl=e=>`Cannot convert bigint to ${e}`,Fl=e=>`Invalid bigint: ${e}`,Ul="Cannot convert Symbol to string",xl="Invalid object",Zl=(e,t,n,r,o)=>o?Zl(e,o[t],o[n],o[r]):$l(e,t)+`; must be between ${n}-${r}`,$l=(e,t)=>`Invalid ${e}: ${t}`,Vl=e=>`Missing ${e}`,zl=e=>`Invalid field ${e}`,Kl=e=>`Duplicate field ${e}`,Gl=e=>"No valid fields: "+e.join(),Jl=(e,t,n)=>$l(e,t)+"; must be "+Object.keys(n).join(),Wl="Invalid calling context",ql="Forbidden era/eraYear",Xl="Mismatching era/eraYear",Ql="Mismatching year/eraYear",ef=e=>`Invalid era: ${e}`,tf=e=>"Missing year"+(e?"/era/eraYear":""),nf=e=>`Invalid monthCode: ${e}`,rf="Mismatching month/monthCode",of="Missing month/monthCode",af="Cannot guess year",sf="Invalid leap month",cf="Invalid protocol results",uf="Mismatching Calendars",hf=e=>`Invalid Calendar: ${e}`,lf="Mismatching TimeZones",ff="Forbidden ICU TimeZone",df="Out-of-bounds offset",gf="Out-of-bounds TimeZone gap",mf="Invalid TimeZone offset",yf="Ambiguous offset",Sf="Out-of-bounds date",pf="Out-of-bounds duration",wf="Cannot mix duration signs",vf="Missing relativeTo",Af="Cannot use large units",bf="Required smallestUnit or largestUnit",Tf="smallestUnit > largestUnit",If=e=>`Cannot parse: ${e}`,Mf=e=>`Invalid substring: ${e}`,Ef=e=>`Cannot format ${e}`,Of="Cannot specify TimeZone",Cf=Di(Ii,((e,t)=>t)),Nf=Di(Ii,((e,t,n)=>n)),Hf=Di(Li,2),Df={nanosecond:0,microsecond:1,millisecond:2,second:3,minute:4,hour:5,day:6,week:7,month:8,year:9},_f=Object.keys(Df),kf=864e5,Lf=1e3,Rf=1e3,Yf=1e6,Pf=1e9,Bf=6e10,jf=36e11,Ff=864e11,Uf=[1,Rf,Yf,Pf,Bf,jf,Ff],xf=_f.slice(0,6),Zf=ki(xf),$f=["offset"],Vf=["timeZone"],zf=xf.concat($f),Kf=zf.concat(Vf),Gf=["era","eraYear"],Jf=Gf.concat(["year"]),Wf=["year"],qf=["monthCode"],Xf=["month"].concat(qf),Qf=["day"],ed=Xf.concat(Wf),td=qf.concat(Wf),nd=Qf.concat(ed),rd=Qf.concat(Xf),od=Qf.concat(qf),ad=Nf(xf,0),id="iso8601",sd="gregory",cd="japanese",ud={[sd]:{bce:-1,ce:0},[cd]:{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}},hd={chinese:13,dangi:13,hebrew:-6},ld=Di(qi,"string"),fd=Di(qi,"boolean"),dd=Di(qi,"number"),gd=Di(qi,"function"),md=_f.map((e=>e+"s")),yd=ki(md),Sd=md.slice(0,6),pd=md.slice(6),wd=pd.slice(1),vd=Cf(md),Ad=Nf(md,0),bd=Nf(Sd,0),Td=Di(Hi,md),Id=["isoNanosecond","isoMicrosecond","isoMillisecond","isoSecond","isoMinute","isoHour"],Md=["isoDay","isoMonth","isoYear"],Ed=Id.concat(Md),Od=ki(Md),Cd=ki(Id),Nd=ki(Ed),Hd=Nf(Cd,0),Dd=Di(Hi,Ed),_d=Intl.DateTimeFormat,kd="en-GB",Ld=1e8,Rd=Ld*kf,Yd=[Ld,0],Pd=[-Ld,0],Bd=275760,jd=-271821,Fd=1970,Ud=1972,xd=12,Zd=Ds(1868,9,8),$d=Si(xs,WeakMap),Vd="smallestUnit",zd="unit",Kd="roundingIncrement",Gd="fractionalSecondDigits",Jd="relativeTo",Wd={constrain:0,reject:1},qd=Object.keys(Wd),Xd={compatible:0,reject:1,earlier:2,later:3},Qd={reject:0,use:1,prefer:2,ignore:3},eg={auto:0,never:1,critical:2,always:3},tg={auto:0,never:1,critical:2},ng={auto:0,never:1},rg={floor:0,halfFloor:1,ceil:2,halfCeil:3,trunc:4,halfTrunc:5,expand:6,halfExpand:7,halfEven:8},og=Di(hc,Vd),ag=Di(hc,"largestUnit"),ig=Di(hc,zd),sg=Di(lc,"overflow",Wd),cg=Di(lc,"disambiguation",Xd),ug=Di(lc,"offset",Qd),hg=Di(lc,"calendarName",eg),lg=Di(lc,"timeZoneName",tg),fg=Di(lc,"offset",ng),dg=Di(lc,"roundingMode",rg),gg="PlainYearMonth",mg="PlainMonthDay",yg="PlainDate",Sg="PlainDateTime",pg="PlainTime",wg="ZonedDateTime",vg="Instant",Ag="Duration",bg=[Math.floor,e=>xi(e)?Math.floor(e):Math.round(e),Math.ceil,e=>xi(e)?Math.ceil(e):Math.round(e),Math.trunc,e=>xi(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=>xi(e)?(e=Math.trunc(e)||0)+e%2:Math.round(e)],Tg="UTC",Ig=5184e3,Mg=Hs(1847),Eg=Hs((new Date).getUTCFullYear()+10),Og=/0+$/,Cg=Si(lu,WeakMap),Ng=2**32-1,Hg=Si((e=>{const t=dh(e);return"object"==typeof t?new _g(t):new Dg(t||0)}));class Dg{constructor(e){this.v=e}getOffsetNanosecondsFor(){return this.v}getPossibleInstantsFor(e){return[Ns(e,this.v)]}l(){}}class _g{constructor(e){this.$=(e=>{function t(e){const t=Yi(e,a,i),[s,c]=zu(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=Si(e),o=Si(Vu);let a=Mg,i=Eg;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=Yi(e,a,i);let[c,u]=zu(s);const h=Ig*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((Ri(s,e)||1)===t)return s}c+=h,u+=h}}}})((e=>t=>{const n=ps(e,t*Lf);return Hs(Uh(n),parseInt(n.month),parseInt(n.day),parseInt(n.hour),parseInt(n.minute),parseInt(n.second))-t})(e))}getOffsetNanosecondsFor(e){return this.$.V(Ms(e))*Pf}getPossibleInstantsFor(e){const[t,n]=[Hs((r=e).isoYear,r.isoMonth,r.isoDay,r.isoHour,r.isoMinute,r.isoSecond),r.isoMillisecond*Yf+r.isoMicrosecond*Rf+r.isoNanosecond];var r;return this.$.G(t).map((e=>bs(us(gs(e,Pf),n))))}l(e,t){const[n,r]=Es(e),o=this.$.l(n+(t>0||r?1:0),t);if(void 0!==o)return gs(o,Pf)}}const kg="([+−-])",Lg="(?:[.,](\\d{1,9}))?",Rg=`(?:(?:${kg}(\\d{6}))|(\\d{4}))-?(\\d{2})`,Yg="(\\d{2})(?::?(\\d{2})(?::?(\\d{2})"+Lg+")?)?",Pg=kg+Yg,Bg=Rg+"-?(\\d{2})(?:[T ]"+Yg+"(Z|"+Pg+")?)?",jg="\\[(!?)([^\\]]*)\\]",Fg=`((?:${jg}){0,9})`,Ug=ch(Rg+Fg),xg=ch("(?:--)?(\\d{2})-?(\\d{2})"+Fg),Zg=ch(Bg+Fg),$g=ch("T?"+Yg+"(?:"+Pg+")?"+Fg),Vg=ch(Pg),zg=new RegExp(jg,"g"),Kg=ch(`${kg}?P(\\d+Y)?(\\d+M)?(\\d+W)?(\\d+D)?(?:T(?:(\\d+)${Lg}H)?(?:(\\d+)${Lg}M)?(?:(\\d+)${Lg}S)?)?`),Gg=Si((e=>new _d(kd,{timeZone:e,era:"short",year:"numeric",month:"numeric",day:"numeric",hour:"numeric",minute:"numeric",second:"numeric"}))),Jg=/^(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$/,Wg=Si(Ph),qg=Si((e=>new _d(kd,{calendar:e,timeZone:Tg,era:"short",year:"numeric",month:"short",day:"numeric"}))),Xg=/^M(\d{2})(L?)$/,Qg={era:ts,eraYear:os,year:os,month:is,monthCode:ts,day:is},em=Nf(xf,os),tm=Nf(md,as),nm=Object.assign({},Qg,em,tm,{offset:ts}),rm=Di(Mi,xf,Id),om={dateAdd(e,t,n){const r=Gs(n);let o,{years:a,months:i,weeks:s,days:c}=t;if(c+=Fu(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=tl(t,r,e.U(a)),i=gi("month",i,1,e.L(a),o)}return r&&([a,i]=e._(a,i,r)),s=gi("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=Os(e)}return o+=(7*s+c)*kf,vs(Ls(o))},dateUntil(e,t,n){if(n<=7){let r=0,o=kh({...e,...Hd},{...t,...Hd});return 7===n&&([r,o]=ji(o,7)),{...Ad,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-tl(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),{...Ad,years:a,months:i,days:s}},dateFromFields(e,t){const n=Gs(t),r=pl(this,e),o=wl(this,e,r,n),a=vl(this,e,o,r,n);return yc(vs(this.P(r,o,a)),this.id||id)},yearMonthFromFields(e,t){const n=Gs(t),r=pl(this,e),o=wl(this,e,r,n);return Sc(ws(this.P(r,o,1)),this.id||id)},monthDayFromFields(e,t){const n=Gs(t),r=!this.id,{monthCode:o,year:a,month:i}=e;let s,c,u,h,l;if(void 0!==o){[s,c]=el(o),l=mi(e,"day");const t=this.N(s,c,l);if(!t)throw new RangeError(af);if([u,h]=t,void 0!==i&&i!==h)throw new RangeError(rf);r&&(h=gi("month",h,1,xd,1),l=gi("day",l,1,Ps(void 0!==a?a:u,h),n))}else{u=void 0===a&&r?Ud:pl(this,e),h=wl(this,e,u,n),l=vl(this,e,h,u,n);const t=this.U(u);c=h===t,s=nl(h,t);const o=this.N(s,c,l);if(!o)throw new RangeError(af);[u,h]=o}return pc(vs(this.P(u,h,l)),this.id||id)},fields(e){return ol(this)&&e.includes("year")?[...e,...Gf]:e},mergeFields(e,t){const n=Object.assign(Object.create(null),e);return Al(n,t,Xf),ol(this)&&(Al(n,t,Jf),this.id===cd&&Al(n,t,rd,Gf)),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:Qh,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"+Hf(e)+(t?"L":""))(r,o)},dayOfWeek:Fs,daysInWeek:()=>7},am={dayOfYear:Qh,h:Rs,q:Ds},im=Object.assign({},am,{weekOfYear:qh,yearOfWeek:Xh,R(e){function t(e){return(7-e<r?7:0)-e}function n(e){const n=Bs(f+e),r=e||1,o=t(Bi(c+n*r,7));return h=(n+(o-u)*r)/7}const r=this.id?1:4,o=Fs(e),a=this.dayOfYear(e),i=Bi(o-1,7),s=a-1,c=Bi(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]}}),sm={dayOfYear:Qh,h:xh,q:Zh,weekOfYear:qh,yearOfWeek:Xh,R:()=>[]},cm=Cl(Object.assign({},om,im,{h:Rs,ee(e){return this.id===sd?Us(e):this.id===cd?$d(e):[]},I:(e,t)=>[t,0],N(e,t){if(!t)return[Ud,e]},K:js,U(){},L:Ys,J:e=>e*xd,j:Ps,X:Bs,P:(e,t,n)=>({isoYear:e,isoMonth:t,isoDay:n}),q:Ds,_:(e,t,n)=>(e+=Fi(n,xd),(t+=Ui(n,xd))<1?(e--,t+=xd):t>xd&&(e++,t-=xd),[e,t]),year:e=>e.isoYear,month:e=>e.isoMonth,day:e=>e.isoDay}),Object.assign({},om,sm,{h:xh,ee(e){const t=this.O(e);return[t.era,t.eraYear]},I(e,t){const n=$h.call(this,e);return[nl(t,n),n===t]},N(e,t,n){let[r,o,a]=xh.call(this,{isoYear:Ud,isoMonth:xd,isoDay:31});const i=$h.call(this,r),s=o===i;1===(Ri(e,nl(o,i))||Ri(Number(t),Number(s))||Ri(n,a))&&r--;for(let o=0;o<100;o++){const a=r-o,i=$h.call(this,a),s=tl(e,t,i);if(t===(s===i)&&n<=zh.call(this,a,s))return[a,s]}},K(e){const t=Vh.call(this,e);return t>Vh.call(this,e-1)&&t>Vh.call(this,e+1)},U:$h,L:Kh,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+=Kh.call(this,e+o);return a},j:zh,X:Vh,P(e,t,n){return Ls(Zh.call(this,e,t,n))},q:Zh,_(e,t,n){if(n){if(t+=n,!Number.isSafeInteger(t))throw new RangeError(Sf);if(n<0)for(;t<1;)t+=Kh.call(this,--e);else{let n;for(;t>(n=Kh.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}})),um="numeric",hm=["timeZoneName"],lm={month:um,day:um},fm={year:um,month:um},dm=Object.assign({},fm,{day:um}),gm={hour:um,minute:um,second:um},mm=Object.assign({},dm,gm),ym=Object.assign({},mm,{timeZoneName:"short"}),Sm=Object.keys(fm),pm=Object.keys(lm),wm=Object.keys(dm),vm=Object.keys(gm),Am=["dateStyle"],bm=Sm.concat(Am),Tm=pm.concat(Am),Im=wm.concat(Am,["weekday"]),Mm=vm.concat(["dayPeriod","timeStyle"]),Em=Im.concat(Mm),Om=Em.concat(hm),Cm=hm.concat(Mm),Nm=hm.concat(Im),Hm=hm.concat(["day","weekday"],Mm),Dm=hm.concat(["year","weekday"],Mm),_m={},km=[Nl(Em,mm),Ac],Lm=[Nl(Om,ym),Ac,0,(e,t)=>{const n=Tc(e.timeZone);if(t&&Tc(t.timeZone)!==n)throw new RangeError(lf);return n}],Rm=[Nl(Em,mm,hm),Os],Ym=[Nl(Im,dm,Cm),Os],Pm=[Nl(Mm,gm,Nm),e=>Ts(e)/Yf],Bm=[Nl(bm,fm,Hm),Os,1],jm=[Nl(Tm,lm,Dm),Os,1];let Fm;function Um(e,t,n,r,o){function a(){if(!(this instanceof a))throw new TypeError(Wl);Yy(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)}),pi(t))}function s(t){const n=Ry(t);if(!n||n.branding!==e)throw new TypeError(Wl);return n}return Object.defineProperties(a.prototype,{...vi(Ti(i,n)),...wi(Ti(i,r)),...Ai("Temporal."+e)}),Object.defineProperties(a,{...wi(o),...pi(e)}),[a,e=>{const t=Object.create(a.prototype);return Yy(t,e),t},s]}function xm(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 Zm(e){if(Ry(e)||void 0!==e.calendar||void 0!==e.timeZone)throw new TypeError("Invalid bag");return e}function $m(e,t){const n={};for(const r in e)n[r]=(e,n)=>{let{o:o}=e;const a=Ry(n)||{},{branding:i}=a,s=i===yg||t.includes(i)?a:iy(n);return o[r](s)};return n}function Vm(e){const t={};for(const n in e)t[n]=e=>{const{calendar:t}=e;return(r=t,"string"==typeof r?cm(r):(o=r,Object.assign(Object.create(xy),{i:o})))[n](e);var r,o};return t}function zm(){throw new TypeError("Cannot use valueOf")}function Km(e){let{calendar:t}=e;return"string"==typeof t?new FS(t):t}function Gm(e,t){if(t=cc(t),yi(e)){const n=Ry(e);if(n&&n.branding===mg)return Gs(t),n;const r=fy(e);return hl(CS(r||id),!r,e,t)}const n=function(e,t){const n=nh(ld(t));if(n)return Ju(n),pc($s(n));const r=Gu(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 pc(vs(a.P(l,f,c)),o)}(cm,e);return Gs(t),n}function Jm(e,t,n){return gu(Ki(t.call(e,Qy(dc(n)))))}function Wm(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Wy;const n=Object.keys(t).sort(),r={};for(const o of n)r[o]=Di(t[o],e,gd(e[o]));return r}function qm(e,t){return"string"==typeof e?Hg(e):Wm(e,t)}function Xm(e){return qm(e,qy)}function Qm(e){if(yi(e)){const t=Ry(e);if(t)switch(t.branding){case vg:return t;case wg:return dc(t.epochNanoseconds)}}return function(e){const t=eh(e=ts(e));if(!t)throw new RangeError(If(e));let n;if(t.m)n=0;else{if(!t.offset)throw new RangeError(If(e));n=Ku(t.offset)}return t.timeZone&&rh(t.timeZone,1),dc(Ns(Zs(t),n))}(e)}function ey(e,t,n){const r=t.l(Qm(n).epochNanoseconds,e);return r?Qy(dc(r)):null}function ty(e){return yi(e)?(Ry(e)||{}).timeZone||rS(e):(e=>lh(function(e){const t=eh(e);return t&&(t.timeZone||t.m&&Tg||t.offset)||e}(ld(e))))(e)}function ny(e,t){if(yi(e)){const n=Ry(e)||{};switch(n.branding){case pg:return Gs(t),n;case Sg:return Gs(t),wc(n);case wg:return Gs(t),Ml(Xm,n)}return function(e,t){const n=Gs(t);return wc(dl(fl(e,Zf,[],1),n))}(e,t)}return Gs(t),function(e){let t,n=(e=>{const t=$g.exec(e);return t?(ih(t[10]),ah(t)):void 0})(ld(e));if(!n){if(n=eh(e),!n)throw new RangeError(If(e));if(!n.p)throw new RangeError(If(e));if(n.m)throw new RangeError(Mf("Z"));Ju(n)}if((t=th(e))&&Vs(t))throw new RangeError(If(e));if((t=nh(e))&&Vs(t))throw new RangeError(If(e));return wc(Ks(n,1))}(e)}function ry(e){return void 0===e?void 0:ny(e)}function oy(e,t){if(t=cc(t),yi(e)){const n=Ry(e);return n&&n.branding===gg?(Gs(t),n):ul(ES(ly(e)),e,t)}const n=function(e,t){const n=th(ld(t));if(n)return Ju(n),Sc(ws($s(n)));const r=Gu(t);return Sc(Mu(e(r.calendar),r))}(cm,e);return Gs(t),n}function ay(e,t){if(t=cc(t),yi(e)){const n=Ry(e)||{};switch(n.branding){case Sg:return Gs(t),n;case yg:return Gs(t),mc({...n,...Hd});case wg:return Gs(t),Tl(Xm,n)}return function(e,t,n){const r=ll(e,t,nd,[],xf),o=Gs(n);return mc(As({...e.dateFromFields(r,uc(n,o)),...dl(r,o)}))}(OS(ly(e)),e,t)}const n=function(e){const t=eh(ld(e));if(!t||t.m)throw new RangeError(If(e));return mc(qu(t))}(e);return Gs(t),n}function iy(e,t){if(t=cc(t),yi(e)){const n=Ry(e)||{};switch(n.branding){case yg:return Gs(t),n;case Sg:return Gs(t),yc(n);case wg:return Gs(t),Il(Xm,n)}return cl(OS(ly(e)),e,t)}const n=Gu(e);return Gs(t),n}function sy(e,t,n){return zi(t.call(e,fS(yc(n,e))))}function cy(e){return t=>"string"==typeof t?cm(t):((e,t)=>{const n=Object.keys(t).sort(),r={};for(const o of n)r[o]=Di(t[o],e,e[o]);return r})(t,e)}function uy(e){if(yi(e)){const t=Ry(e);return t&&t.branding===Ag?t:function(e){const t=fl(e,yd);return vc(Bu({...Ad,...t}))}(e)}return function(e){const t=(e=>{const t=Kg.exec(e);return t?(e=>{function t(e,t,a){let i=0,s=0;if(a&&([i,o]=Pi(o,Uf[a])),void 0!==e){if(r)throw new RangeError(Mf(e));s=(e=>{const t=parseInt(e);if(!Number.isFinite(t))throw new RangeError(Mf(e));return t})(e),n=1,t&&(o=sh(t)*(Uf[a]/Pf),r=1)}return i+s}let n=0,r=0,o=0,a={...bi(md,[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)]),...$i(o,2,md)};if(!n)throw new RangeError(Gl(md));return uh(e[1])<0&&(a=Yu(a)),a})(t):void 0})(ld(e));if(!t)throw new RangeError(If(e));return vc(Bu(t))}(e)}function hy(e){if(void 0!==e){if(yi(e)){const t=Ry(e)||{};switch(t.branding){case wg:case yg:return t;case Sg:return yc(t)}const n=ly(e);return{...sl(ty,qm,OS(n),e),calendar:n}}return function(e){const t=eh(ld(e));if(!t)throw new RangeError(If(e));if(t.timeZone)return Wu(t,t.offset?Ku(t.offset):void 0);if(t.m)throw new RangeError(If(e));return Xu(t)}(e)}}function ly(e){return fy(e)||id}function fy(e){const{calendar:t}=e;if(void 0!==t)return dy(t)}function dy(e){return yi(e)?(Ry(e)||{}).calendar||US(e):(e=>Jh(function(e){const t=eh(e)||th(e)||nh(e);return t?t.calendar:e}(ld(e))))(e)}function gy(e,t){if(t=cc(t),yi(e)){const n=Ry(e);if(n&&n.branding===wg)return Js(t),n;const r=ly(e);return function(e,t,n,r,o,a){const i=ll(n,o,nd,Vf,Kf),s=e(i.timeZone),[c,u,h]=Js(a),l=n.dateFromFields(i,uc(a,c)),f=dl(i,c);return gc(fu(t(s),{...l,...f},void 0!==i.offset?Ku(i.offset):void 0,u,h),s,r)}(ty,qm,OS(r),r,e,t)}return function(e,t){const n=eh(ld(e));if(!n||!n.timeZone)throw new RangeError(If(e));const{offset:r}=n,o=r?Ku(r):void 0,[,a,i]=Js(t);return Wu(n,o,a,i)}(e,t)}function my(e){return Ti((e=>t=>e(yy(t))),e)}function yy(e){return Cg(e,Xm)}function Sy(){const e=_d.prototype,t=Object.getOwnPropertyDescriptors(e),n=Object.getOwnPropertyDescriptors(_d),r=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(!(this instanceof r))return new r(e,t);KS.set(this,function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const n=new _d(e,t),r=n.resolvedOptions(),o=r.locale,a=Ei(Object.keys(t),r),i=Si(vy),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=Ry(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")&&py(e);"function"==typeof n.value?n.value="constructor"===e?r:o||wy(e):o&&(n.get=function(){return o.bind(this)})}return n.prototype.value=Object.create(e,t),Object.defineProperties(r,n),r}function py(e){return function(){const t=KS.get(this),[n,...r]=t(...arguments);return n[e](...r)}}function wy(e){return function(){return KS.get(this).u[e](...arguments)}}function vy(e){const t=Ay[e];if(!t)throw new TypeError(Ef(e));return Hl(t,Si(Dl))}const Ay={Instant:km,PlainDateTime:Rm,PlainDate:Ym,PlainTime:Pm,PlainYearMonth:Bm,PlainMonthDay:jm},by=Hl(km),Ty=Hl(Lm),Iy=Hl(Rm),My=Hl(Ym),Ey=Hl(Pm),Oy=Hl(Bm),Cy=Hl(jm),Ny={era:function(e){if(void 0!==e)return ld(e)},eraYear:Vi,year:Ki,month:zi,daysInMonth:zi,daysInYear:zi,inLeapYear:fd,monthsInYear:zi},Hy={monthCode:ld},Dy={day:zi},_y={dayOfWeek:zi,dayOfYear:zi,weekOfYear:function(e){if(void 0!==e)return zi(e)},yearOfWeek:Vi,daysInWeek:zi},ky=Object.assign({},Ny,Hy,Dy,_y),Ly=new WeakMap,Ry=Ly.get.bind(Ly),Yy=Ly.set.bind(Ly),Py={...$m(Ny,[gg]),...$m(_y,[]),...$m(Hy,[gg,mg]),...$m(Dy,[mg])},By=Vm(ky),jy=Vm({...Ny,...Hy}),Fy=Vm({...Hy,...Dy}),Uy={calendarId:e=>Tc(e.calendar)},xy=Ti(((e,t)=>function(n){const{i:r}=this;return e(r[t](fS(yc(n,r))))}),ky),Zy=Ii((e=>t=>t[e]),md.concat("sign")),$y=Ii(((e,t)=>e=>e[Id[t]]),xf),Vy={epochSeconds:function(e){return Ms(e.epochNanoseconds)},epochMilliseconds:Ac,epochMicroseconds:function(e){return ms(e.epochNanoseconds,Rf)},epochNanoseconds:function(e){return ms(e.epochNanoseconds)}},zy=Di(Oi,new Set(["branding"])),[Ky,Gy,Jy]=Um(mg,Di((function(e,t,n){let r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:id,o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:Ud;const a=os(t),i=os(n),s=e(r);return pc(vs($s({isoYear:os(o),isoMonth:a,isoDay:i})),s)}),dy),{...Uy,...Fy},{getISOFields:zy,getCalendar:Km,with(e,t,n){return Gy(function(e,t,n,r,o){const a=cc(o);return((e,t,n,r)=>{const o=gl(e,t,n,nd);return e.monthDayFromFields(o,r)})(e(t.calendar),n,r,a)}(DS,e,this,Zm(t),n))},equals:(e,t)=>function(e,t){return!Sh(e,t)&&Ic(e.calendar,t.calendar)}(e,Gm(t)),toPlainDate(e,t){return fS(function(e,t,n,r){return((e,t,n)=>Sl(e,t,od,Wi(n),Wf))(e(t.calendar),n,r)}(HS,e,this,t))},toLocaleString(e,t,n){const[r,o]=Cy(t,n,e);return r.format(o)},toString:Jc,toJSON:e=>Jc(e),valueOf:zm},{from:(e,t)=>Gy(Gm(e,t))}),Wy={getOffsetNanosecondsFor:Jm,getPossibleInstantsFor(e,t,n){const r=[...t.call(e,hS(mc(n,id)))].map((e=>eS(e).epochNanoseconds)),o=r.length;return o>1&&(r.sort(ls),mu(ys(hs(r[0],r[o-1])))),r}},qy={getOffsetNanosecondsFor:Jm},[Xy,Qy,eS]=Um(vg,(function(e){return dc(bs(ds(ns(e))))}),Vy,{add:(e,t)=>Qy(yu(0,e,uy(t))),subtract:(e,t)=>Qy(yu(1,e,uy(t))),until:(e,t,n)=>PS(vh(0,e,Qm(t),n)),since:(e,t,n)=>PS(vh(1,e,Qm(t),n)),round:(e,t)=>Qy(function(e,t){const[n,r,o]=Xs(t,5,1);return dc(Pc(e.epochNanoseconds,n,r,o,1))}(e,t)),equals:(e,t)=>function(e,t){return!gh(e,t)}(e,Qm(t)),toZonedDateTime(e,t){const n=Wi(t);return ZS(bl(e,ty(n.timeZone),dy(n.calendar)))},toZonedDateTimeISO:(e,t)=>ZS(bl(e,ty(t))),toLocaleString(e,t,n){const[r,o]=by(t,n,e);return r.format(o)},toString:(e,t)=>$c(ty,Xm,e,t),toJSON:e=>$c(ty,Xm,e),valueOf:zm},{from:e=>Qy(Qm(e)),fromEpochSeconds:e=>Qy(function(e){return dc(bs(gs(e,Pf)))}(e)),fromEpochMilliseconds:e=>Qy(function(e){return dc(bs(gs(e,Yf)))}(e)),fromEpochMicroseconds:e=>Qy(function(e){return dc(bs(ds(ns(e),Rf)))}(e)),fromEpochNanoseconds:e=>Qy(function(e){return dc(bs(ds(ns(e))))}(e)),compare:(e,t)=>gh(Qm(e),Qm(t))}),[tS,nS]=Um("TimeZone",(e=>{const t=function(e){return lh(ld(e))}(e);return{branding:"TimeZone",id:t,o:Hg(t)}}),{id:e=>e.id},{getPossibleInstantsFor:(e,t)=>{let{o:n}=e;return n.getPossibleInstantsFor(ay(t)).map((e=>Qy(dc(e))))},getOffsetNanosecondsFor:(e,t)=>{let{o:n}=e;return n.getOffsetNanosecondsFor(Qm(t).epochNanoseconds)},getOffsetStringFor(e,t){const n=Qm(t).epochNanoseconds;return au(Wm(this,qy).getOffsetNanosecondsFor(n))},getPlainDateTimeFor(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:id;const r=Qm(t).epochNanoseconds,o=Wm(this,qy).getOffsetNanosecondsFor(r);return hS(mc(ks(r,o),dy(n)))},getInstantFor(e,t,n){const r=ay(t),o=Ws(n),a=Wm(this);return Qy(dc(du(a,r,o)))},getNextTransition:(e,t)=>{let{o:n}=e;return ey(1,n,t)},getPreviousTransition:(e,t)=>{let{o:n}=e;return ey(-1,n,t)},equals(e,t){return!!wh(this,ty(t))},toString:e=>e.id,toJSON:e=>e.id},{from(e){const t=ty(e);return"string"==typeof t?new tS(t):t}}),rS=xm(Object.keys(Wy)),[oS,aS]=Um(pg,(function(){return wc(Ks(Ti(os,bi(Id,[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))}),$y,{getISOFields:zy,with(e,t,n){return aS(function(e,t,n){return wc(((e,t,n)=>{const r=Gs(n);return dl({...Ei(Zf,e),...fl(t,Zf)},r)})(e,t,n))}(this,Zm(t),n))},add:(e,t)=>aS(Au(0,e,uy(t))),subtract:(e,t)=>aS(Au(1,e,uy(t))),until:(e,t,n)=>PS(Eh(0,e,ny(t),n)),since:(e,t,n)=>PS(Eh(1,e,ny(t),n)),round:(e,t)=>aS(function(e,t){const[n,r,o]=Xs(t,5);var a;return wc((a=o,Hc(e,_c(n,r),a)[0]))}(e,t)),equals:(e,t)=>function(e,t){return!ph(e,t)}(e,ny(t)),toZonedDateTime:(e,t)=>ZS(function(e,t,n,r,o){const a=Wi(o),i=t(a.plainDate),s=e(a.timeZone);return gc(du(n(s),{...i,...r}),s,i.calendar)}(ty,iy,qm,e,t)),toPlainDateTime:(e,t)=>hS(function(e,t){return mc(As({...e,...t}))}(e,iy(t))),toLocaleString(e,t,n){const[r,o]=Ey(t,n,e);return r.format(o)},toString:Wc,toJSON:e=>Wc(e),valueOf:zm},{from:(e,t)=>aS(ny(e,t)),compare:(e,t)=>ph(ny(e),ny(t))}),[iS,sS,cS]=Um(gg,Di((function(e,t,n){let r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:id,o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:1;const a=os(t),i=os(n),s=e(r);return Sc(ws($s({isoYear:a,isoMonth:i,isoDay:os(o)})),s)}),dy),{...Uy,...jy},{getISOFields:zy,getCalendar:Km,with(e,t,n){return sS(function(e,t,n,r,o){const a=cc(o);return Sc(((e,t,n,r)=>{const o=gl(e,t,n,ed);return e.yearMonthFromFields(o,r)})(e(t.calendar),n,r,a))}(NS,e,this,Zm(t),n))},add:(e,t,n)=>sS(vu(LS,0,e,uy(t),n)),subtract:(e,t,n)=>sS(vu(LS,1,e,uy(t),n)),until:(e,t,n)=>PS(Ih(RS,0,e,oy(t),n)),since:(e,t,n)=>PS(Ih(RS,1,e,oy(t),n)),equals:(e,t)=>function(e,t){return!Sh(e,t)&&Ic(e.calendar,t.calendar)}(e,oy(t)),toPlainDate(e,t){return fS(function(e,t,n,r){return((e,t,n)=>Sl(e,t,td,Wi(n),Qf))(e(t.calendar),n,r)}(HS,e,this,t))},toLocaleString(e,t,n){const[r,o]=Oy(t,n,e);return r.format(o)},toString:Gc,toJSON:e=>Gc(e),valueOf:zm},{from:(e,t)=>sS(oy(e,t)),compare:(e,t)=>Sh(oy(e),oy(t))}),[uS,hS]=Um(Sg,Di((function(e,t,n,r){let o=arguments.length>10&&void 0!==arguments[10]?arguments[10]:id;return mc(As(Zs(Ti(os,bi(Ed,[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))}),dy),{...Uy,...By,...$y},{getISOFields:zy,getCalendar:Km,with(e,t,n){return hS(function(e,t,n,r,o){const a=cc(o);return mc(((e,t,n,r)=>{const o=gl(e,t,n,nd,xf),a=Gs(r);return As({...e.dateFromFields(o,uc(r,a)),...dl(o,a)})})(e(t.calendar),n,r,a))}(HS,e,this,Zm(t),n))},withCalendar:(e,t)=>hS(El(e,dy(t))),withPlainDate:(e,t)=>hS(function(e,t){return mc({...e,...t},Ol(e.calendar,t.calendar))}(e,iy(t))),withPlainTime:(e,t)=>hS(function(e){return mc({...e,...arguments.length>1&&void 0!==arguments[1]?arguments[1]:Hd})}(e,ry(t))),add:(e,t,n)=>hS(pu(_S,0,e,uy(t),n)),subtract:(e,t,n)=>hS(pu(_S,1,e,uy(t),n)),until:(e,t,n)=>PS(bh(kS,0,e,ay(t),n)),since:(e,t,n)=>PS(bh(kS,1,e,ay(t),n)),round:(e,t)=>hS(function(e,t){return mc(Cc(e,...Xs(t)),e.calendar)}(e,t)),equals:(e,t)=>function(e,t){return!yh(e,t)&&Ic(e.calendar,t.calendar)}(e,ay(t)),toZonedDateTime:(e,t,n)=>ZS(function(e,t,n,r){const o=((e,t,n,r)=>{const o=Ws(r);return du(e(t),n,o)})(e,n,t,r);return gc(bs(o),n,t.calendar)}(qm,e,ty(t),n)),toPlainDate:e=>fS(yc(e)),toPlainTime:e=>aS(wc(e)),toPlainYearMonth(e){return sS(function(e,t,n){const r=e(t.calendar);return Sc({...t,...yl(r,n)})}(ES,e,this))},toPlainMonthDay(e){return Gy(function(e,t,n){return ml(e(t.calendar),n)}(CS,e,this))},toLocaleString(e,t,n){const[r,o]=Iy(t,n,e);return r.format(o)},toString:zc,toJSON:e=>zc(e),valueOf:zm},{from:(e,t)=>hS(ay(e,t)),compare:(e,t)=>yh(ay(e),ay(t))}),[lS,fS,dS]=Um(yg,Di((function(e,t,n,r){let o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:id;return yc(vs($s(Ti(os,{isoYear:t,isoMonth:n,isoDay:r}))),e(o))}),dy),{...Uy,...By},{getISOFields:zy,getCalendar:Km,with(e,t,n){return fS(function(e,t,n,r,o){const a=cc(o);return((e,t,n,r)=>{const o=gl(e,t,n,nd);return e.dateFromFields(o,r)})(e(t.calendar),n,r,a)}(HS,e,this,Zm(t),n))},withCalendar:(e,t)=>fS(El(e,dy(t))),add:(e,t,n)=>fS(wu(_S,0,e,uy(t),n)),subtract:(e,t,n)=>fS(wu(_S,1,e,uy(t),n)),until:(e,t,n)=>PS(Th(kS,0,e,iy(t),n)),since:(e,t,n)=>PS(Th(kS,1,e,iy(t),n)),equals:(e,t)=>function(e,t){return!Sh(e,t)&&Ic(e.calendar,t.calendar)}(e,iy(t)),toZonedDateTime(e,t){const n=!yi(t)||t instanceof tS?{timeZone:t}:t;return ZS(function(e,t,n,r,o){const a=e(o.timeZone),i=o.plainTime,s=void 0!==i?t(i):Hd;return gc(du(n(a),{...r,...s}),a,r.calendar)}(ty,ny,qm,e,n))},toPlainDateTime:(e,t)=>hS(function(e){return mc(As({...e,...arguments.length>1&&void 0!==arguments[1]?arguments[1]:Hd}))}(e,ry(t))),toPlainYearMonth(e){return sS(function(e,t,n){return yl(e(t.calendar),n)}(ES,e,this))},toPlainMonthDay(e){return Gy(function(e,t,n){return ml(e(t.calendar),n)}(CS,e,this))},toLocaleString(e,t,n){const[r,o]=My(t,n,e);return r.format(o)},toString:Kc,toJSON:e=>Kc(e),valueOf:zm},{from:(e,t)=>fS(iy(e,t)),compare:(e,t)=>Sh(iy(e),iy(t))}),gS={fields:(e,t,n)=>[...t.call(e,n)]},mS=Object.assign({dateFromFields:(e,t,n,r)=>dS(t.call(e,Object.assign(Object.create(null),n),r))},gS),yS=Object.assign({yearMonthFromFields:(e,t,n,r)=>cS(t.call(e,Object.assign(Object.create(null),n),r))},gS),SS=Object.assign({monthDayFromFields:(e,t,n,r)=>Jy(t.call(e,Object.assign(Object.create(null),n),r))},gS),pS={mergeFields:(e,t,n,r)=>Wi(t.call(e,Object.assign(Object.create(null),n),Object.assign(Object.create(null),r)))},wS=Object.assign({},mS,pS),vS=Object.assign({},yS,pS),AS=Object.assign({},SS,pS),bS={dateAdd:(e,t,n,r,o)=>dS(t.call(e,fS(yc(n,e)),PS(vc(r)),o))},TS=Object.assign({},bS,{dateUntil:(e,t,n,r,o,a)=>BS(t.call(e,fS(yc(n,e)),fS(yc(r,e)),Object.assign(Object.create(null),a,{largestUnit:_f[o]})))}),IS=Object.assign({},bS,{day:sy}),MS=Object.assign({},TS,{day:sy}),ES=cy(yS),OS=cy(mS),CS=cy(SS),NS=cy(vS),HS=cy(wS),DS=cy(AS),_S=cy(bS),kS=cy(TS),LS=cy(IS),RS=cy(MS),[YS,PS,BS]=Um(Ag,(function(){return vc(Bu(Ti(as,bi(md,[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]))))}),{...Zy,blank:function(e){return!e.sign}},{with:(e,t)=>PS(function(e,t){return vc((n=e,r=t,Bu({...n,...fl(r,yd)})));var n,r}(e,t)),negated:e=>PS(Ru(e)),abs:e=>PS(function(e){return-1===e.sign?Ru(e):e}(e)),add:(e,t,n)=>PS(Lu(hy,kS,qm,0,e,uy(t),n)),subtract:(e,t,n)=>PS(Lu(hy,kS,qm,1,e,uy(t),n)),round:(e,t)=>PS(function(e,t,n,r,o){const a=$u(r),[i,s,c,u,h]=((e,t,n)=>{e=sc(e,Vd);let r=ag(e);const o=n(e[Jd]);let a=rc(e);const i=dg(e,7);let s=og(e);if(void 0===r&&void 0===s)throw new RangeError(bf);return null==s&&(s=0),null==r&&(r=Math.max(s,t)),fc(r,s),a=oc(a,s,1),[r,s,a,i,o]})(o,a,e),l=Math.max(a,i);if(!_u(h)&&l<=6)return vc(Bu(((e,t,n,r,o)=>{const a=Pc(Fu(e),n,r,o);return{...Ad,...Uu(a,t)}})(r,i,s,c,u)));if(!h)throw new RangeError(vf);const[f,d,g]=Cu(t,n,h),m=Nu(g),y=Hu(g),S=Du(g),p=y(d,f,r);let w=S(d,f,p,i);const v=r.sign,A=Pu(w);if(v&&A&&v!==A)throw new RangeError(cf);return A&&(w=Yc(w,m(p),i,s,c,u,d,f,m,y)),vc(w)}(hy,kS,qm,e,t)),total:(e,t)=>function(e,t,n,r,o){const a=$u(r),[i,s]=((e,t)=>{const n=t((e=sc(e,zd))[Jd]);let r=ig(e);return r=Ji(zd,r),[r,n]})(o,e);if(ku(Math.max(i,a),s))return Mc(r,i);if(!s)throw new RangeError(vf);const[c,u,h]=Cu(t,n,s),l=Nu(h),f=Hu(h),d=Du(h),g=f(u,c,r),m=d(u,c,g,i);return ku(i,s)?Mc(m,i):((e,t,n,r,o,a,i)=>{const s=Pu(e),[c,u]=Ec(r,Td(n,e),n,s,o,a,i),h=Oc(t,c,u);return e[md[n]]+h*s})(m,l(g),i,u,c,l,f)}(hy,kS,qm,e,t),toLocaleString(e,t,n){return Intl.DurationFormat?new Intl.DurationFormat(t,n).format(this):qc(e)},toString:qc,toJSON:e=>qc(e),valueOf:zm},{from:e=>PS(uy(e)),compare:(e,t,n)=>function(e,t,n,r,o,a){const i=e(ic(a).relativeTo),s=Math.max($u(r),$u(o));if(Ni(md,r,o))return 0;if(ku(s,i))return ls(Fu(r),Fu(o));if(!i)throw new RangeError(vf);const[c,u,h]=Cu(t,n,i),l=Nu(h),f=Hu(h);return ls(l(f(u,c,r)),l(f(u,c,o)))}(hy,_S,qm,uy(e),uy(t),n)}),jS={toString:e=>e.id,toJSON:e=>e.id,...Py,dateAdd:(e,t,n,r)=>{let{id:o,o:a}=e;return fS(yc(a.dateAdd(iy(t),uy(n),r),o))},dateUntil:(e,t,n,r)=>{let{o:o}=e;return PS(vc(o.dateUntil(iy(t),iy(n),function(e){return e=ic(e),ag(e,9,6,1)}(r))))},dateFromFields:(e,t,n)=>{let{id:r,o:o}=e;return fS(cl(o,t,n,function(e){return e===id?["year","day"]:[]}(r)))},yearMonthFromFields:(e,t,n)=>{let{id:r,o:o}=e;return sS(ul(o,t,n,function(e){return e===id?Wf:[]}(r)))},monthDayFromFields:(e,t,n)=>{let{id:r,o:o}=e;return Gy(hl(o,0,t,n,function(e){return e===id?Qf:[]}(r)))},fields(e,t){let{o:n}=e;const r=new Set(nd),o=[];for(const e of t){if(ld(e),!r.has(e))throw new RangeError(zl(e));r.delete(e),o.push(e)}return n.fields(o)},mergeFields:(e,t,n)=>{let{o:r}=e;return r.mergeFields(Ci(Gi(t)),Ci(Gi(n)))}},[FS]=Um("Calendar",(e=>{const t=function(e){return Jh(ld(e))}(e);return{branding:"Calendar",id:t,o:cm(t)}}),{id:e=>e.id},jS,{from(e){const t=dy(e);return"string"==typeof t?new FS(t):t}}),US=xm(Object.keys(jS).slice(4)),[xS,ZS]=Um(wg,Di((function(e,t,n,r){let o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:id;return gc(bs(ds(ns(n))),t(r),e(o))}),dy,ty),{...Vy,...Uy,...my(By),...my($y),offset:e=>au(yy(e).offsetNanoseconds),offsetNanoseconds:e=>yy(e).offsetNanoseconds,timeZoneId:e=>Tc(e.timeZone),hoursInDay:e=>function(e,t){const n=e(t.timeZone),r=Cg(t,n),[o,a]=kc(r),i=ys(hs(du(n,o),du(n,a)),jf,1);if(i<=0)throw new RangeError(cf);return i}(qm,e)},{getISOFields:e=>function(e,t){const n=Cg(t,e);return{calendar:t.calendar,...Ei(Nd,n),offset:au(n.offsetNanoseconds),timeZone:t.timeZone}}(Xm,e),getCalendar:Km,getTimeZone:e=>{let{timeZone:t}=e;return"string"==typeof t?new tS(t):t},with(e,t,n){return ZS(function(e,t,n,r,o,a){const i=cc(a),{calendar:s,timeZone:c}=n;return gc(((e,t,n,r,o)=>{const a=gl(e,n,r,nd,zf,$f),[i,s,c]=Js(o,2);return fu(t,{...e.dateFromFields(a,uc(o,i)),...dl(a,i)},Ku(a.offset),s,c)})(e(s),t(c),r,o,i),c,s)}(HS,qm,e,this,Zm(t),n))},withCalendar:(e,t)=>ZS(El(e,dy(t))),withTimeZone:(e,t)=>ZS(function(e,t){return{...e,timeZone:t}}(e,ty(t))),withPlainDate:(e,t)=>ZS(function(e,t,n){const r=t.timeZone,o=e(r),a={...Cg(t,o),...n},i=Ol(t.calendar,n.calendar);return gc(fu(o,a,a.offsetNanoseconds,2),r,i)}(qm,e,iy(t))),withPlainTime:(e,t)=>ZS(function(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:Hd;const r=t.timeZone,o=e(r),a={...Cg(t,o),...n};return gc(fu(o,a,a.offsetNanoseconds,2),r,t.calendar)}(qm,e,ry(t))),add:(e,t,n)=>ZS(Su(_S,qm,0,e,uy(t),n)),subtract:(e,t,n)=>ZS(Su(_S,qm,1,e,uy(t),n)),until:(e,t,n)=>PS(vc(Ah(kS,qm,0,e,gy(t),n))),since:(e,t,n)=>PS(vc(Ah(kS,qm,1,e,gy(t),n))),round:(e,t)=>ZS(function(e,t,n){let{epochNanoseconds:r,timeZone:o,calendar:a}=t;const[i,s,c]=Xs(n);if(0===i&&1===s)return t;const u=e(o);if(6===i)r=((e,t,n,r)=>{const o=Cg(n,t),[a,i]=e(o),s=n.epochNanoseconds,c=du(t,a),u=du(t,i);if(fs(s,c,u))throw new RangeError(cf);return Fc(Oc(s,c,u),r)?u:c})(kc,u,t,c);else{const e=u.getOffsetNanosecondsFor(r);r=fu(u,Cc(ks(r,e),i,s,c),e,2,0,1)}return gc(r,o,a)}(qm,e,t)),startOfDay:e=>ZS(function(e,t){const{timeZone:n,calendar:r}=t,o=((e,t,n)=>du(t,e(Cg(n,t))))(Lc,e(n),t);return gc(o,n,r)}(qm,e)),equals:(e,t)=>function(e,t){return!mh(e,t)&&!!wh(e.timeZone,t.timeZone)&&Ic(e.calendar,t.calendar)}(e,gy(t)),toInstant:e=>Qy(function(e){return dc(e.epochNanoseconds)}(e)),toPlainDateTime:e=>hS(Tl(Xm,e)),toPlainDate:e=>fS(Il(Xm,e)),toPlainTime:e=>aS(Ml(Xm,e)),toPlainYearMonth(e){return sS(function(e,t,n){return yl(e(t.calendar),n)}(ES,e,this))},toPlainMonthDay(e){return Gy(function(e,t,n){return ml(e(t.calendar),n)}(CS,e,this))},toLocaleString(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};const[r,o]=Ty(t,n,e);return r.format(o)},toString:(e,t)=>Vc(Xm,e,t),toJSON:e=>Vc(Xm,e),valueOf:zm},{from:(e,t)=>ZS(gy(e,t)),compare:(e,t)=>mh(gy(e),gy(t))}),$S=Object.defineProperties({},{...Ai("Temporal.Now"),...wi({timeZoneId:()=>Rl(),instant:()=>Qy(dc(Ll())),zonedDateTime:function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Rl();return ZS(gc(Ll(),ty(t),dy(e)))},zonedDateTimeISO:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:Rl();return ZS(gc(Ll(),ty(e),id))},plainDateTime:function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Rl();return hS(mc(kl(Xm(ty(t))),dy(e)))},plainDateTimeISO:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:Rl();return hS(mc(kl(Xm(ty(e))),id))},plainDate:function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Rl();return fS(yc(kl(Xm(ty(t))),dy(e)))},plainDateISO:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:Rl();return fS(yc(kl(Xm(ty(e))),id))},plainTimeISO:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:Rl();return aS(wc(kl(Xm(ty(e)))))}})}),VS=Object.defineProperties({},{...Ai("Temporal"),...wi({PlainYearMonth:iS,PlainMonthDay:Ky,PlainDate:lS,PlainTime:oS,PlainDateTime:uS,ZonedDateTime:xS,Instant:Xy,Calendar:FS,TimeZone:tS,Duration:YS,Now:$S})}),zS=Sy(),KS=new WeakMap;function GS(e){return e*Math.PI/180}function JS(e){return 180*e/Math.PI}Object.create(Intl),wi({DateTimeFormat:zS});class WS{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 qS=6356.9;class XS{constructor(e,t){this.date=t,this.geoLocation=e}getSunrise(){const e=this.getUTCSunrise0(XS.GEOMETRIC_ZENITH);return isNaN(e)?null:this.getDateFromTime(e,!0)}getSeaLevelSunrise(){const e=this.getUTCSeaLevelSunrise(XS.GEOMETRIC_ZENITH);return isNaN(e)?null:this.getDateFromTime(e,!0)}getBeginCivilTwilight(){return this.getSunriseOffsetByDegrees(XS.CIVIL_ZENITH)}getBeginNauticalTwilight(){return this.getSunriseOffsetByDegrees(XS.NAUTICAL_ZENITH)}getBeginAstronomicalTwilight(){return this.getSunriseOffsetByDegrees(XS.ASTRONOMICAL_ZENITH)}getSunset(){const e=this.getUTCSunset0(XS.GEOMETRIC_ZENITH);return isNaN(e)?null:this.getDateFromTime(e,!1)}getSeaLevelSunset(){const e=this.getUTCSeaLevelSunset(XS.GEOMETRIC_ZENITH);return isNaN(e)?null:this.getDateFromTime(e,!1)}getEndCivilTwilight(){return this.getSunsetOffsetByDegrees(XS.CIVIL_ZENITH)}getEndNauticalTwilight(){return this.getSunsetOffsetByDegrees(XS.NAUTICAL_ZENITH)}getEndAstronomicalTwilight(){return this.getSunsetOffsetByDegrees(XS.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 JS(Math.acos(qS/(qS+e/1e3)))}adjustZenith(e,t){let n=e;return e===XS.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=XS.getSunriseUTC(XS.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=XS.getSunsetUTC(XS.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 XS.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 VS.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-XS.JULIAN_DAY_JAN_1_2000)/XS.JULIAN_DAYS_PER_CENTURY}static getJulianDayFromJulianCenturies(e){return e*XS.JULIAN_DAYS_PER_CENTURY+XS.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=GS(XS.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 XS.getSunGeometricMeanLongitude(e)+XS.getSunEquationOfCenter(e)}static getSunApparentLongitude(e){const t=125.04-1934.136*e;return XS.getSunTrueLongitude(e)-.00569-.00478*Math.sin(GS(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 XS.getMeanObliquityOfEcliptic(e)+.00256*Math.cos(GS(t))}static getSunDeclination(e){const t=XS.getObliquityCorrection(e),n=XS.getSunApparentLongitude(e),r=Math.sin(GS(t))*Math.sin(GS(n));return JS(Math.asin(r))}static getEquationOfTime(e){const t=XS.getObliquityCorrection(e),n=XS.getSunGeometricMeanLongitude(e),r=XS.getEarthOrbitEccentricity(e),o=XS.getSunGeometricMeanAnomaly(e);let a=Math.tan(GS(t)/2);a*=a;const i=Math.sin(2*GS(n)),s=Math.sin(GS(o));return 4*JS(a*i-2*r*s+4*r*a*s*Math.cos(2*GS(n))-.5*a*a*Math.sin(4*GS(n))-1.25*r*r*Math.sin(2*GS(o)))}static getSunHourAngleAtSunrise(e,t,n){const r=GS(e),o=GS(t);return Math.acos(Math.cos(GS(n))/(Math.cos(r)*Math.cos(o))-Math.tan(r)*Math.tan(o))}static getSunHourAngleAtSunset(e,t,n){const r=GS(e),o=GS(t);return-Math.acos(Math.cos(GS(n))/(Math.cos(r)*Math.cos(o))-Math.tan(r)*Math.tan(o))}static getSolarElevation(e,t,n){const r=XS.getJulianDay(e.toPlainDate()),o=XS.getJulianCenturiesFromJulianDay(r),a=XS.getEquationOfTime(o);let i=e.hour+12+(e.minute+a+e.second/60)/60;i=-360*i/24%360;const s=GS(n-i),c=GS(XS.getSunDeclination(o)),u=GS(t);return JS(Math.asin(Math.sin(u)*Math.sin(c)+Math.cos(u)*Math.cos(c)*Math.cos(s)))}static getSolarAzimuth(e,t,n){const r=XS.getJulianDay(e.toPlainDate()),o=XS.getJulianCenturiesFromJulianDay(r),a=XS.getEquationOfTime(o);let i=e.hour+12+(e.minute+a+e.second/60)/60;i=-360*i/24%360;const s=GS(n-i),c=GS(XS.getSunDeclination(o)),u=GS(t);return JS(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=XS.getJulianCenturiesFromJulianDay(e),a=XS.getSolarNoonUTC(o,n),i=XS.getJulianCenturiesFromJulianDay(e+a/1440);let s=XS.getEquationOfTime(i),c=XS.getSunDeclination(i),u=XS.getSunHourAngleAtSunrise(t,c,r),h=n-JS(u),l=4*h,f=720+l-s;const d=XS.getJulianCenturiesFromJulianDay(XS.getJulianDayFromJulianCenturies(o)+f/1440);return s=XS.getEquationOfTime(d),c=XS.getSunDeclination(d),u=XS.getSunHourAngleAtSunrise(t,c,r),h=n-JS(u),l=4*h,f=720+l-s,f}static getSolarNoonUTC(e,t){const n=XS.getJulianCenturiesFromJulianDay(XS.getJulianDayFromJulianCenturies(e)+t/360);let r=XS.getEquationOfTime(n);const o=720+4*t-r,a=XS.getJulianCenturiesFromJulianDay(XS.getJulianDayFromJulianCenturies(e)-.5+o/1440);return r=XS.getEquationOfTime(a),720+4*t-r}static getSunsetUTC(e,t,n,r){const o=XS.getJulianCenturiesFromJulianDay(e),a=XS.getSolarNoonUTC(o,n),i=XS.getJulianCenturiesFromJulianDay(e+a/1440);let s=XS.getEquationOfTime(i),c=XS.getSunDeclination(i),u=XS.getSunHourAngleAtSunset(t,c,r),h=n-JS(u),l=4*h,f=720+l-s;const d=XS.getJulianCenturiesFromJulianDay(XS.getJulianDayFromJulianCenturies(o)+f/1440);return s=XS.getEquationOfTime(d),c=XS.getSunDeclination(d),u=XS.getSunHourAngleAtSunset(t,c,r),h=n-JS(u),l=4*h,f=720+l-s,f}}XS.GEOMETRIC_ZENITH=90,XS.CIVIL_ZENITH=96,XS.NAUTICAL_ZENITH=102,XS.ASTRONOMICAL_ZENITH=108,XS.JULIAN_DAY_JAN_1_2000=2451545,XS.JULIAN_DAYS_PER_CENTURY=36525;const QS=[["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]],ep=new Map,tp={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"},np=new Map;class rp extends WS{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=np.get(e);if(t)return t;const n=new Intl.DateTimeFormat("en-US",{timeZone:e,hour:"numeric",minute:"numeric",hour12:!1});return np.set(e,n),n}(this.getTimeZone())}getGeoId(){return this.geoid}static lookup(e){return ep.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 tp[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":tp[t]}static addLocation(e,t){const n=e.toLowerCase();return!ep.has(n)&&(ep.set(n,t),!0)}}for(const e of QS){const t=new rp(e[2],e[3],"IL"===e[1],e[4],e[0],e[1],void 0,e[5]);rp.addLocation(e[0],t)}function op(e){if(null===e)return new Date(NaN);const t=new Date(e.epochMilliseconds);return t.setMilliseconds(0),t}Object.defineProperties(globalThis,wi({Temporal:VS})),Object.defineProperties(Intl,wi({DateTimeFormat:zS})),Object.defineProperties(Date.prototype,wi({toTemporalInstant:function(){return Qy(dc(gs(this.valueOf(),Yf)))}}));class ap{constructor(e,t,n){const r=function(e){if(s(e))return e;if(ke.isHDate(e))return e.greg();throw new TypeError(`invalid date: ${e}`)}(t);this.date=r,this.gloc=e;const o=Temporal.PlainDate.from({year:r.getFullYear(),month:r.getMonth()+1,day:r.getDate()});this.noaa=new XS(e,o),this.useElevation=Boolean(n)}getUseElevation(){return this.useElevation}setUseElevation(e){this.useElevation=e}timeAtAngle(e,t){const n=90+e;return op(t?this.noaa.getSunriseOffsetByDegrees(n):this.noaa.getSunsetOffsetByDegrees(n))}sunrise(){return op(this.useElevation?this.noaa.getSunrise():this.noaa.getSeaLevelSunrise())}seaLevelSunrise(){return op(this.noaa.getSeaLevelSunrise())}sunset(){return op(this.useElevation?this.noaa.getSunset():this.noaa.getSeaLevelSunset())}seaLevelSunset(){return op(this.noaa.getSeaLevelSunset())}dawn(){return op(this.noaa.getBeginCivilTwilight())}dusk(){return op(this.noaa.getEndCivilTwilight())}gregEve(){const e=new Date(this.date);e.setDate(e.getDate()-1);return new ap(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 op(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 op(XS.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=ge("UTC",t),r=ge(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?"+":"-")+ye(Math.floor(r/60))+":"+ye(o)}static formatISOWithTimeZone(e,t){return isNaN(t.getTime())?"0000-00-00T00:00:00Z":ge(e,t).substring(0,19)+ap.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 ip={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 sp(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===ip[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 cp extends $e{constructor(e,t,n,r,o,a,i){super(e,t,n),this.eventTime=ap.roundTime(r),this.location=o;const s=o.getTimeFormatter();this.eventTimeStr=ap.formatTime(this.eventTime,s);const c=Object.assign(Object.assign({},i),{location:o});this.fmtTime=sp(this.eventTimeStr,"pm",c),void 0!==a&&(this.linkedEvent=a)}render(e){return Me.gettext(this.getDesc(),e)+": "+this.fmtTime}renderBrief(e){return Me.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 up extends cp{constructor(e,t,n,r,o,a){super(e,"Candle lighting",t,n,r,o,a)}getEmoji(){return"🕯️"}}class hp extends cp{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=Me.gettext(this.getDesc(),e);if(this.havdalahMins){const n=Me.gettext("min",e);t+=` (${this.havdalahMins} ${n})`}return t}getEmoji(){return"✨"}}const lp=["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],fp=["רִאשׁוֹן","שֵׁנִי","שְׁלִישִׁי","רְבִיעִי","חֲמִישִׁי","שִׁישִּׁי","שַׁבָּת"],dp="בַּלַּ֥יְלָה";class gp{constructor(e,t){this.m=function(e,t){let n=t-7;n<0&&(n+=_(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 ke.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:Me.getLocaleName())&&(e=e.toLowerCase());const r="he"===e||"he-x-nonikud"===e||"h"===e,o=Me.gettext(this.getMonthName(),e),a=(r?fp:lp)[this.getDow()],i=this.getMinutes(),s=this.getHour(),c=this.getChalakim(),u=Me.gettext("Molad",e),h=null!==(n=Me.lookupTranslation("min",e))&&void 0!==n?n:"minutes",l=Me.gettext("chalakim",e);if(r){const t=function(e){return e<5?dp:e<12?"בַּבֹּקֶר":e<17?"בַּצׇּהֳרַיִים":e<21?"בָּעֶרֶב":dp}(s),n=`${u} ${o} יִהְיֶה בַּיּוֹם ${a} בשָׁבוּעַ, בְּשָׁעָה ${s} ${t}, ו-${i} ${h} ו-${c} ${l}`;return"he-x-nonikud"===e?Me.hebrewStripNikkud(n):n}const f=sp(`${s}:00`,"pm",t);return`${u} ${o.replace(/'/g,"’")}: ${a}, ${i} ${h} and ${c} ${l} after ${f}`}}class mp extends $e{constructor(e,t,n,r){const o=new gp(t,n);super(e,`Molad ${o.getMonthName()} ${t}`,xe.MOLAD),this.molad=o,this.options=r}render(e){return this.molad.render(e,this.options)}}class yp extends $e{constructor(e,t){if(super(e,`Omer ${t}`,xe.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){ee(e);const[n,r]=te(e),o=Q[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:Me.getLocaleName())&&(e=e.toLowerCase());const t="he"===e||"he-x-nonikud"===e||"h"===e,n=this.omer;return(t?q(n):Me.ordinal(n,e))+" "+Me.gettext("day of the Omer",e)}renderBrief(e){return Me.gettext("Omer",e)+" "+Me.gettext("day",e)+" "+this.omer}getEmoji(){return"string"==typeof this.emoji?this.emoji:function(e){let t;return ee(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:Me.getLocaleName())&&(e=e.toLowerCase());const t="he"===e||"he-x-nonikud"===e?"he":"en",n=ne(this.omer,t);return"he-x-nonikud"===e?Me.hebrewStripNikkud(n):n}url(){return`https://www.hebcal.com/omer/${this.getDate().getFullYear()}/${this.omer}`}}class Sp 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 pp{constructor(e,t){e=+e,this.year=e;const n=new ke(1,A.TISHREI,e),r=n.abs(),o=n.getDay()+1;this.firstSaturday=ke.dayOnOrBefore(6,r+6);const a=+ke.isLeapYear(e);this.il=Boolean(t);const i=function(e){const t=ke.longCheshvan(e),n=ke.shortKislev(e);return t&&!n?2:!t&&n?0:1}(e);let s=`${a}${o}${i}`;if(Bp[s]||(s+=+this.il),this.theSedraArray=Bp[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||Me.getLocaleName();let o=Me.gettext(n[0],r);if(2===n.length){o+=("he"===r?"־":"-")+Me.gettext(n[1],r)}return o=o.replace(/'/g,"’"),Me.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 ke(this.firstSaturday+7*t)}if("string"==typeof e){const t=vp.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 ke(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=vp.get(t);if(vp.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:ke.isHDate(e)?e.abs():NaN;if(isNaN(t))throw new TypeError(`Bad date argument: ${e}`);const n=ke.dayOnOrBefore(6,t+6),r=(n-this.firstSaturday)/7,o=this.theSedraArray[r];if(void 0===o){return Fp(this.year+1,this.il).lookup(n)}if("string"==typeof o)return{parsha:[o],chag:!0};if(o>=0)return{parsha:[wp[o]],chag:!1,num:o+1};const a=Ap(o);return{parsha:[wp[a],wp[a+1]],chag:!1,num:[a+1,a+2]}}}const wp=["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"],vp=new Map;for(let e=0;e<wp.length;e++){const t=wp[e];vp.set(t,e)}function Ap(e){return-e}const bp="Sukkot Shabbat Chol ha-Moed",Tp="Pesach",Ip="Pesach I",Mp="Pesach Shabbat Chol ha-Moed",Ep="Pesach VII",Op="Pesach VIII",Cp="Shavuot";function Np(e,t){return Array.from({length:t-e+1},((t,n)=>n+e))}const Hp=[51,52,bp],Dp=[52,"Yom Kippur",bp],_p=["Rosh Hashana",52,"Sukkot","Shmini Atzeret"],kp=Np(0,20),Lp=Np(0,27),Rp=Np(33,40),Yp=Np(43,49),Pp=Np(43,50),Bp={"020":Hp.concat(kp,Ap(21),23,24,Tp,25,Ap(26),Ap(28),30,Ap(31),Rp,Ap(41),Yp,Ap(50)),"0220":Hp.concat(kp,Ap(21),23,24,Tp,25,Ap(26),Ap(28),30,Ap(31),33,Cp,Np(34,37),Ap(38),40,Ap(41),Yp,Ap(50)),"0510":Dp.concat(kp,Ap(21),23,24,Ip,Op,25,Ap(26),Ap(28),30,Ap(31),Rp,Ap(41),Pp),"0511":Dp.concat(kp,Ap(21),23,24,Tp,25,Ap(26),Ap(28),Np(30,40),Ap(41),Pp),"052":Dp.concat(Np(0,24),Ep,25,Ap(26),Ap(28),30,Ap(31),Rp,Ap(41),Pp),"070":_p.concat(kp,Ap(21),23,24,Ep,25,Ap(26),Ap(28),30,Ap(31),Rp,Ap(41),Pp),"072":_p.concat(kp,Ap(21),23,24,Mp,25,Ap(26),Ap(28),30,Ap(31),Rp,Ap(41),Yp,Ap(50)),1200:Hp.concat(Lp,Mp,Np(28,33),Cp,Np(34,37),Ap(38),40,Ap(41),Yp,Ap(50)),1201:Hp.concat(Lp,Mp,Np(28,40),Ap(41),Yp,Ap(50)),1220:Hp.concat(Lp,Ip,Op,Np(28,40),Ap(41),Pp),1221:Hp.concat(Lp,Tp,Np(28,50)),150:Dp.concat(Np(0,28),Ep,Np(29,50)),152:Dp.concat(Np(0,28),Mp,Np(29,49),Ap(50)),170:_p.concat(Lp,Mp,Np(28,40),Ap(41),Yp,Ap(50)),1720:_p.concat(Lp,Mp,Np(28,33),Cp,Np(34,37),Ap(38),40,Ap(41),Yp,Ap(50))};Bp["0221"]=Bp["020"],Bp["0310"]=Bp["0220"],Bp["0311"]=Bp["020"],Bp[1310]=Bp[1220],Bp[1311]=Bp[1221],Bp[1721]=Bp[170];const jp=new Sp({maxSize:400});function Fp(e,t){const n=`${e}-${t?1:0}`;let r=jp.get(n);return r||(r=new pp(e,t),jp.set(n,r)),r}class Up extends $e{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("-"),xe.PARSHA_HASHAVUA),this.parsha=t,this.il=Boolean(n),this.num=r||-1}render(e){const t=null!=e?e:Me.getLocaleName(),n=this.parsha;let r=Me.gettext(n[0],e);if(2===n.length){r+=("he"===t?"־":"-")+Me.gettext(n[1],e)}r=r.replace(/'/g,"’");return(Me.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 Se(this.getDate().greg()).replace(/-/g,"")}}const xp=A.NISAN,Zp=A.IYYAR,$p=A.SIVAN,Vp=A.TAMUZ,zp=A.AV,Kp=A.ELUL,Gp=A.TISHREI,Jp=A.CHESHVAN,Wp=A.KISLEV,qp=A.SHVAT,Xp=A.ADAR_II,Qp=xe.CHAG,ew=xe.LIGHT_CANDLES,tw=xe.YOM_TOV_ENDS,nw=xe.CHUL_ONLY,rw=xe.IL_ONLY,ow=xe.LIGHT_CANDLES_TZEIS,aw=xe.CHANUKAH_CANDLES,iw=xe.MAJOR_FAST,sw=xe.MINOR_HOLIDAY,cw=xe.EREV,uw=xe.CHOL_HAMOED,hw="🫓",lw="🌿🍋",fw="Rosh Hashana II",dw="Erev Yom Kippur",gw="Yom Kippur",mw="Erev Sukkot",yw="Sukkot I",Sw="Sukkot II",pw="Sukkot III (CH''M)",ww="Sukkot IV (CH''M)",vw="Sukkot V (CH''M)",Aw="Sukkot VI (CH''M)",bw="Shmini Atzeret",Tw="Simchat Torah",Iw="Sukkot II (CH''M)",Mw="Sukkot VII (Hoshana Raba)",Ew="Chanukah: 1 Candle",Ow="Tu BiShvat",Cw="Erev Purim",Nw="Purim",Hw="Shushan Purim",Dw="Erev Pesach",_w="Pesach I",kw="Pesach II",Lw="Pesach II (CH''M)",Rw="Pesach III (CH''M)",Yw="Pesach IV (CH''M)",Pw="Pesach V (CH''M)",Bw="Pesach VI (CH''M)",jw="Pesach VII",Fw="Pesach VIII",Uw="Pesach Sheni",xw="Lag BaOmer",Zw="Erev Shavuot",$w="Shavuot",Vw="Shavuot I",zw="Shavuot II",Kw="Tu B'Av",Gw="Rosh Hashana LaBehemot",Jw="Erev Rosh Hashana",Ww="Yom Yerushalayim",qw="Ben-Gurion Day",Xw="Family Day",Qw="Yitzhak Rabin Memorial Day",ev="Herzl Day",tv="Jabotinsky Day",nv="Sigd",rv="Yom HaAliyah",ov="Yom HaAliyah School Observance",av="Hebrew Language Day",iv={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:qw,CHANUKAH_1_CANDLE:Ew,EREV_PESACH:Dw,EREV_PURIM:Cw,EREV_ROSH_HASHANA:Jw,EREV_SHAVUOT:Zw,EREV_SUKKOT:mw,EREV_YOM_KIPPUR:dw,FAMILY_DAY:Xw,HEBREW_LANGUAGE_DAY:av,HERZL_DAY:ev,JABOTINSKY_DAY:tv,LAG_BAOMER:xw,PESACH_I:_w,PESACH_II:kw,PESACH_III_CHM:Rw,PESACH_II_CHM:Lw,PESACH_IV_CHM:Yw,PESACH_SHENI:Uw,PESACH_VII:jw,PESACH_VIII:Fw,PESACH_VI_CHM:Bw,PESACH_V_CHM:Pw,PURIM:Nw,ROSH_HASHANA_II:fw,ROSH_HASHANA_LABEHEMOT:Gw,SHAVUOT:$w,SHAVUOT_I:Vw,SHAVUOT_II:zw,SHMINI_ATZERET:bw,SHUSHAN_PURIM:Hw,SIGD:nv,SIMCHAT_TORAH:Tw,SUKKOT_I:yw,SUKKOT_II:Sw,SUKKOT_III_CHM:pw,SUKKOT_II_CHM:Iw,SUKKOT_IV_CHM:ww,SUKKOT_VII_HOSHANA_RABA:Mw,SUKKOT_VI_CHM:Aw,SUKKOT_V_CHM:vw,TU_BAV:Kw,TU_BISHVAT:Ow,YITZHAK_RABIN_MEMORIAL_DAY:Qw,YOM_HAALIYAH:rv,YOM_HAALIYAH_SCHOOL_OBSERVANCE:ov,YOM_KIPPUR:gw,YOM_YERUSHALAYIM:Ww},sv=[{mm:Gp,dd:2,desc:fw,flags:Qp|tw,emoji:"🍏🍯"},{mm:Gp,dd:9,desc:dw,flags:cw|ew},{mm:Gp,dd:10,desc:gw,flags:Qp|iw|tw},{mm:Gp,dd:14,desc:mw,flags:nw|cw|ew,emoji:lw},{mm:Gp,dd:15,desc:yw,flags:nw|Qp|ow,emoji:lw},{mm:Gp,dd:16,desc:Sw,flags:nw|Qp|tw,emoji:lw},{mm:Gp,dd:17,desc:pw,flags:nw|uw,chmDay:1,emoji:lw},{mm:Gp,dd:18,desc:ww,flags:nw|uw,chmDay:2,emoji:lw},{mm:Gp,dd:19,desc:vw,flags:nw|uw,chmDay:3,emoji:lw},{mm:Gp,dd:20,desc:Aw,flags:nw|uw,chmDay:4,emoji:lw},{mm:Gp,dd:22,desc:bw,flags:nw|Qp|ow},{mm:Gp,dd:23,desc:Tw,flags:nw|Qp|tw},{mm:Gp,dd:14,desc:mw,flags:rw|cw|ew,emoji:lw},{mm:Gp,dd:15,desc:yw,flags:rw|Qp|tw,emoji:lw},{mm:Gp,dd:16,desc:Iw,flags:rw|uw,chmDay:1,emoji:lw},{mm:Gp,dd:17,desc:pw,flags:rw|uw,chmDay:2,emoji:lw},{mm:Gp,dd:18,desc:ww,flags:rw|uw,chmDay:3,emoji:lw},{mm:Gp,dd:19,desc:vw,flags:rw|uw,chmDay:4,emoji:lw},{mm:Gp,dd:20,desc:Aw,flags:rw|uw,chmDay:5,emoji:lw},{mm:Gp,dd:22,desc:bw,flags:rw|Qp|tw},{mm:Gp,dd:21,desc:Mw,flags:ew|uw,chmDay:-1,emoji:lw},{mm:Wp,dd:24,desc:Ew,flags:cw|sw|aw,emoji:"🕎1️⃣"},{mm:qp,dd:15,desc:Ow,flags:sw,emoji:"🌳"},{mm:Xp,dd:13,desc:Cw,flags:cw|sw,emoji:"🎭️📜"},{mm:Xp,dd:14,desc:Nw,flags:sw,emoji:"🎭️📜"},{mm:Xp,dd:15,desc:Hw,flags:sw,emoji:"🎭️📜"},{mm:xp,dd:14,desc:Dw,flags:rw|cw|ew,emoji:"🫓🍷"},{mm:xp,dd:15,desc:_w,flags:rw|Qp|tw,emoji:hw},{mm:xp,dd:16,desc:Lw,flags:rw|uw,chmDay:1,emoji:hw},{mm:xp,dd:17,desc:Rw,flags:rw|uw,chmDay:2,emoji:hw},{mm:xp,dd:18,desc:Yw,flags:rw|uw,chmDay:3,emoji:hw},{mm:xp,dd:19,desc:Pw,flags:rw|uw,chmDay:4,emoji:hw},{mm:xp,dd:20,desc:Bw,flags:rw|uw|ew,chmDay:5,emoji:hw},{mm:xp,dd:21,desc:jw,flags:rw|Qp|tw,emoji:hw},{mm:xp,dd:14,desc:Dw,flags:nw|cw|ew,emoji:"🫓🍷"},{mm:xp,dd:15,desc:_w,flags:nw|Qp|ow,emoji:"🫓🍷"},{mm:xp,dd:16,desc:kw,flags:nw|Qp|tw,emoji:hw},{mm:xp,dd:17,desc:Rw,flags:nw|uw,chmDay:1,emoji:hw},{mm:xp,dd:18,desc:Yw,flags:nw|uw,chmDay:2,emoji:hw},{mm:xp,dd:19,desc:Pw,flags:nw|uw,chmDay:3,emoji:hw},{mm:xp,dd:20,desc:Bw,flags:nw|uw|ew,chmDay:4,emoji:hw},{mm:xp,dd:21,desc:jw,flags:nw|Qp|ow,emoji:hw},{mm:xp,dd:22,desc:Fw,flags:nw|Qp|tw,emoji:hw},{mm:Zp,dd:14,desc:Uw,flags:sw},{mm:Zp,dd:18,desc:xw,flags:sw,emoji:"🔥"},{mm:$p,dd:5,desc:Zw,flags:cw|ew,emoji:"⛰️🌸"},{mm:$p,dd:6,desc:$w,flags:rw|Qp|tw,emoji:"⛰️🌸"},{mm:$p,dd:6,desc:Vw,flags:nw|Qp|ow,emoji:"⛰️🌸"},{mm:$p,dd:7,desc:zw,flags:nw|Qp|tw,emoji:"⛰️🌸"},{mm:zp,dd:15,desc:Kw,flags:sw,emoji:"❤️"},{mm:Kp,dd:1,desc:Gw,flags:sw,emoji:"🐑"},{mm:Kp,dd:29,desc:Jw,flags:cw|ew,emoji:"🍏🍯"}],cv=[{firstYear:5727,mm:Zp,dd:28,desc:Ww,chul:!0},{firstYear:5737,mm:Wp,dd:6,desc:qw,satPostponeToSun:!0,friPostponeToSun:!0},{firstYear:5750,mm:qp,dd:30,desc:Xw},{firstYear:5758,mm:Jp,dd:12,desc:Qw,friSatMovetoThu:!0},{firstYear:5764,mm:Zp,dd:10,desc:ev,satPostponeToSun:!0},{firstYear:5765,mm:Vp,dd:29,desc:tv,satPostponeToSun:!0},{firstYear:5769,mm:Jp,dd:29,desc:nv,chul:!0,suppressEmoji:!0},{firstYear:5777,mm:xp,dd:10,desc:rv,chul:!0},{firstYear:5777,mm:Jp,dd:7,desc:ov},{firstYear:5773,mm:A.TEVET,dd:21,desc:av,friSatMovetoThu:!0}],uv=[iv.LAG_BAOMER,iv.LEIL_SELICHOT,iv.PESACH_SHENI,iv.EREV_PURIM,iv.PURIM_KATAN,iv.SHUSHAN_PURIM,iv.TU_BAV,iv.TU_BISHVAT,iv.ROSH_HASHANA_LABEHEMOT];class hv extends $e{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()&xe.IL_ONLY?e+"?i=on":e}urlDateSuffix(){const e=this.getDate().greg().getFullYear();return String(e)}getEmoji(){return this.emoji?this.emoji:this.getFlags()&xe.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 uv.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 hv(this.date,this.desc,this.mask);for(const t in this)this.hasOwnProperty(t)&&Object.defineProperty(e,t,{value:this[t]});return e}}class lv extends hv{urlDateSuffix(){return Se(this.getDate().greg()).replace(/-/g,"")}}class fv extends hv{constructor(e,t,n){super(e,`Rosh Hashana ${t}`,n),this.hyear=t}render(e){return Me.gettext("Rosh Hashana",e)+" "+this.hyear}getEmoji(){return"🍏🍯"}}const dv="Rosh Chodesh";class gv extends hv{constructor(e,t){super(e,`${dv} ${t}`,xe.ROSH_CHODESH)}render(e){const t=this.getDesc().substring(13),n=Me.gettext(t,e).replace(/'/g,"’");return Me.gettext(dv,e)+" "+n}basename(){return this.getDesc()}getEmoji(){return this.emoji||"🌒"}}const mv="Shabbat Mevarchim Chodesh";class yv extends $e{constructor(e,t,n){if(super(e,`${mv} ${t}`,xe.SHABBAT_MEVARCHIM),this.monthName=t,n)this.memo=n;else{const t=e.getFullYear(),n=e.getMonth(),r=n===ke.monthsInYear(t)?A.NISAN:n+1,o=new gp(t,r);this.memo=o.render("en",{hour12:!1})}}basename(){return this.getDesc()}render(e){const t=Me.gettext(this.monthName,e).replace(/'/g,"’");return Me.gettext(mv,e)+" "+t}renderBrief(e){const t=this.render(e),n=t.indexOf(" ");return t.substring(n+1)}}const Sv=new Map;class pv{static addCalendar(e,t){if("function"!=typeof t)throw new TypeError(`Invalid calendar function: ${t}`);Sv.set(e,t)}static lookup(e,t,n){const r=Sv.get(e);return"function"==typeof r?r(t,n):null}}const wv="5.4.9";function vv(e,t,n,r,o){let a=!1,i=o,s=e?e.getFlags():xe.LIGHT_CANDLES;void 0!==e?r||(s&(xe.LIGHT_CANDLES_TZEIS|xe.CHANUKAH_CANDLES)?i=!0:s&xe.YOM_TOV_ENDS&&(a=!0,i=!0)):o&&(a=!0,s=xe.LIGHT_CANDLES_TZEIS);const c=i?n.havdalahMins:n.candleLightingMins,u=n.location,h=Boolean(n.useElevation),l=new ap(u,t,h),f=c?l.sunsetOffset(c,!0):l.tzeit(n.havdalahDeg);if(!isNaN(f.getTime()))return a?new hp(t,s,f,u,n.havdalahMins,e,n):new up(t,s,f,u,e,n)}const Av="Fast begins",bv="Fast ends";function Tv(e,t,n,r){const o=r.location,a=e.getDate();return new cp(a,n,e.getFlags(),t,o,e,r)}class Iv extends hv{constructor(e,t,n,r,o){super(e,t,n),this.eventTime=ap.roundTime(r);const a=o.getTimeFormatter();this.eventTimeStr=ap.formatTime(this.eventTime,a),this.location=o}}const Mv=0,Ev=2,Ov=5,Cv=6,Nv=A.NISAN,Hv=A.IYYAR;function Dv(e){if(e<5708)return null;let t;const n=new ke(15,Nv,e).getDay();return t=n===Mv?2:n===Cv?3:e<5764?4:n===Ev?5:4,new ke(t,Hv,e)}const _v="Yom Kippur Katan";class kv extends hv{constructor(e,t){super(e,`${_v} ${t}`,xe.MINOR_FAST|xe.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=Me.gettext(this.nextMonthName,e).replace(/'/g,"’");return Me.gettext(_v,e)+" "+t}renderBrief(e){return Me.gettext(_v,e)}url(){}}const Lv=xe.CHAG,Rv=xe.IL_ONLY,Yv=xe.LIGHT_CANDLES_TZEIS,Pv=xe.CHANUKAH_CANDLES,Bv=xe.MINOR_FAST,jv=xe.SPECIAL_SHABBAT,Fv=xe.MODERN_HOLIDAY,Uv=xe.MAJOR_FAST,xv=xe.MINOR_HOLIDAY,Zv=xe.EREV,$v=A.NISAN,Vv=A.TAMUZ,zv=A.AV,Kv=A.TISHREI,Gv=A.KISLEV,Jv=A.TEVET,Wv=A.ADAR_I,qv=A.ADAR_II,Xv={emoji:"🇮🇱"},Qv=new Sp({maxSize:400}),eA=["0️⃣","1️⃣","2️⃣","3️⃣","4️⃣","5️⃣","6️⃣","7️⃣","8️⃣","9️⃣"];function tA(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=Qv.get(e);if(t)return t;const n=new ke(1,Kv,e),r=new ke(15,$v,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()&Zv?n.unshift(t):n.push(t):o.set(e,[t])}}for(const t of sv){const n=new ke(t.dd,t.mm,e),r=new hv(n,t.desc,t.flags);t.emoji&&(r.emoji=t.emoji),t.chmDay&&(r.cholHaMoedDay=t.chmDay),a(r)}a(new fv(n,e,Lv|Yv));const i=4===n.getDay()?4:3;a(new hv(new ke(i,Kv,e),iv.TZOM_GEDALIAH,Bv)),a(new hv(new ke(ke.dayOnOrBefore(6,7+n.abs())),iv.SHABBAT_SHUVA,jv));const s=ke.shortKislev(e)?new ke(1,Jv,e):new ke(30,Gv,e);a(new hv(s,iv.CHAG_HABANOT,xv));for(let t=2;t<=8;t++){const n=new ke(23+t,Gv,e);a(new hv(n,`Chanukah: ${t} Candles`,xv|Pv,{chanukahDay:t-1,emoji:"🕎"+eA[t]}))}a(new hv(new ke(32,Gv,e),iv.CHANUKAH_8TH_DAY,xv,{chanukahDay:8,emoji:"🕎"})),a(new lv(new ke(10,Jv,e),iv.ASARA_BTEVET,Bv));const c=r.abs();a(new hv(new ke(ke.dayOnOrBefore(6,c-43)),iv.SHABBAT_SHEKALIM,jv),new hv(new ke(ke.dayOnOrBefore(6,c-30)),iv.SHABBAT_ZACHOR,jv),new hv(new ke(c-(2===r.getDay()?33:31)),iv.TAANIT_ESTHER,Bv));const u=ke.dayOnOrBefore(6,c-14);a(new hv(new ke(u-7),iv.SHABBAT_PARAH,jv),new hv(new ke(u),iv.SHABBAT_HACHODESH,jv),new hv(new ke(ke.dayOnOrBefore(6,c-1)),iv.SHABBAT_HAGADOL,jv),new hv(6===r.prev().getDay()?r.onOrBefore(4):new ke(14,$v,e),iv.TAANIT_BECHOROT,Bv)),a(new hv(new ke(ke.dayOnOrBefore(6,new ke(1,Kv,e+1).abs()-4)),iv.LEIL_SELICHOT,xv,{emoji:"🕍"})),0===r.getDay()&&a(new hv(new ke(16,qv,e),iv.PURIM_MESHULASH,xv)),ke.isLeapYear(e)&&(a(new hv(new ke(14,Wv,e),iv.PURIM_KATAN,xv,{emoji:"🎭️"})),a(new hv(new ke(15,Wv,e),iv.SHUSHAN_PURIM_KATAN,xv,{emoji:"🎭️"})));const h=function(e){if(e<5711)return null;let t=new ke(27,Nv,e);return t.getDay()===Ov?t=new ke(26,Nv,e):t.getDay()===Mv&&(t=new ke(28,Nv,e)),t}(e);h&&a(new hv(h,iv.YOM_HASHOAH,Fv));const l=Dv(e);l&&a(new hv(l,iv.YOM_HAZIKARON,Fv,Xv),new hv(l.next(),iv.YOM_HAATZMA_UT,Fv,Xv));for(const t of cv)if(e>=t.firstYear){let n=new ke(t.dd,t.mm,e);const r=n.getDay();!t.friSatMovetoThu||5!==r&&6!==r?t.friPostponeToSun&&5===r?n=new ke(n.abs()+2):t.satPostponeToSun&&6===r&&(n=n.next()):n=n.onOrBefore(4);const o=t.chul?Fv:Fv|Rv,i=new hv(n,t.desc,o);t.suppressEmoji||(i.emoji="🇮🇱"),a(i)}let f,d=new ke(17,Vv,e);6===d.getDay()&&(d=new ke(18,Vv,e),f={observed:!0}),a(new hv(d,iv.TZOM_TAMMUZ,Bv,f));let g,m=new ke(9,zv,e),y=iv.TISHA_BAV;6===m.getDay()&&(m=m.next(),g={observed:!0},y+=" (observed)");const S=m.abs();a(new hv(new ke(ke.dayOnOrBefore(6,S)),iv.SHABBAT_CHAZON,jv),new hv(m.prev(),iv.EREV_TISHA_BAV,Zv|Uv,g),new hv(m,y,Uv,g),new hv(new ke(ke.dayOnOrBefore(6,S+7)),iv.SHABBAT_NACHAMU,jv));const p=ke.monthsInYear(e);for(let t=1;t<=p;t++){const n=ke.getMonthName(t,e);30===(t===$v?ke.daysInMonth(ke.monthsInYear(e-1),e-1):ke.daysInMonth(t-1,e))?(a(new gv(new ke(1,t,e),n)),a(new gv(new ke(30,t-1,e),n))):t!==Kv&&a(new gv(new ke(1,t,e),n))}for(let t=A.IYYAR;t<=p;t++){const n=t+1;if(n===Kv||n===A.CHESHVAN||n===Jv)continue;let r=new ke(29,t,e);const o=r.getDay();5!==o&&6!==o||(r=r.onOrBefore(4));const i=ke.getMonthName(n,e);a(new kv(r,i))}const w=Fp(e,!1).find(15);a(new hv(w,iv.SHABBAT_SHIRAH,jv));const v=function(e){const t=ke.isLeapYear(e),n=t?qv:$v,r=t?20:1,o=ke.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(v){const e=new ke(v);a(new hv(e,iv.BIRKAT_HACHAMAH,xv,{emoji:"☀️"}))}return Qv.set(e,o),o}function nA(e,t){const n=[];for(let r=e;r<=t;r++)n.push(r);return n}const rA={shacharit:!1,mincha:!1,allCongs:!1};function oA(e,t){return aA(e,t,!0)}function aA(e,t,n){const r=function(e,t){const n=ke.isLeapYear(e),r=ke.monthsInYear(e);let o=new ke(9,A.AV,e);6===o.getDay()&&(o=o.next());let a=new ke(15,A.ADAR_II,e);6===a.getDay()&&(a=a.next());const i=[new ke(2,A.TISHREI,e)].concat(nA(1,r).map((t=>new ke(1,t,e))),nA(1,r).filter((t=>30===ke.daysInMonth(t,e))).map((t=>new ke(30,t,e))),nA(1,ke.daysInMonth(A.NISAN,e)).map((t=>new ke(t,A.NISAN,e))),new ke(18,A.IYYAR,e),nA(1,8-(t?1:0)).map((t=>new ke(t,A.SIVAN,e))),o,new ke(15,A.AV,e),new ke(29,A.ELUL,e),nA(9,24-(t?1:0)).map((t=>new ke(t,A.TISHREI,e))),nA(25,33).map((t=>new ke(t,A.KISLEV,e))),new ke(15,A.SHVAT,e),new ke(14,A.ADAR_II,e),a,n?new ke(14,A.ADAR_I,e):[]),s=[new ke(14,A.IYYAR,e)].concat(nA(1,13).map((t=>new ke(t,A.SIVAN,e))),nA(20,31).map((t=>new ke(t,A.TISHREI,e))),e>=5708?Dv(e).next():[],e>=5727?new ke(28,A.IYYAR,e):[]),c=[new ke(29,A.ELUL,e-1),new ke(9,A.TISHREI,e),new ke(14,A.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 rA;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=aA(new ke(s),t,!1);i.mincha=e.shacharit}else i.mincha=5!==a;return!i.allCongs||i.mincha||i.shacharit?i:rA}const iA=A.TISHREI;function sA(e){if("number"==typeof e)return e;if(s(e))return u(e);if(ke.isHDate(e))return e.abs();throw new TypeError(`Invalid date type: ${e}`)}function cA(e){if(e.start&&!e.end||e.end&&!e.start)throw new TypeError("Both options.start and options.end are required");if(e.start&&e.end)return[sA(e.start),sA(e.end)];const t=Boolean(e.isHebrewYear),n=function(e){return void 0!==e.year?Number(e.year):e.isHebrewYear?(new ke).getFullYear():(new Date).getFullYear()}(e);if(isNaN(n))throw new RangeError(`Invalid year ${e.year}`);if(t&&n<1)throw new RangeError(`Invalid Hebrew year ${n}`);const r=function(e){if(e.month){if(e.isHebrewYear)return ke.monthNum(e.month);if("number"==typeof e.month)return e.month}return NaN}(e),o=Number(e.numYears)||1;return t?function(e,t,n){const r=new ke(1,e||iA,t);let o=r.abs();const a=e?o+r.daysInMonth():new ke(1,iA,t+n).abs()-1;!e&&t>1&&o--;return[o,a]}(r,n,o):function(e,t,n){const r=e?e-1:0,o=new Date(t,r,1);t<100&&o.setFullYear(t);const a=u(o);let s;if(e)s=a+i(e,t)-1;else{const e=t+n,r=new Date(e,0,1);e<100&&r.setFullYear(e),s=u(r)-1}return[a,s]}(r,n,o)}const uA=A.NISAN,hA=A.SIVAN,lA=A.ELUL,fA=A.TISHREI,dA=xe.LIGHT_CANDLES,gA=xe.YOM_TOV_ENDS,mA=xe.CHUL_ONLY,yA=xe.IL_ONLY,SA=xe.LIGHT_CANDLES_TZEIS,pA=xe.CHANUKAH_CANDLES,wA=xe.MINOR_FAST,vA=xe.SPECIAL_SHABBAT,AA=xe.MODERN_HOLIDAY,bA=xe.MAJOR_FAST,TA=xe.ROSH_CHODESH,IA=xe.PARSHA_HASHAVUA,MA=xe.DAF_YOMI,EA=xe.MISHNA_YOMI,OA=xe.NACH_YOMI,CA=xe.YERUSHALMI_YOMI,NA=xe.OMER_COUNT,HA=xe.SHABBAT_MEVARCHIM,DA=xe.MINOR_HOLIDAY,_A=xe.EREV,kA=xe.CHOL_HAMOED,LA=xe.YOM_KIPPUR_KATAN,RA=new Set,YA={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 PA={Jerusalem:40,Haifa:30,"Zikhron Ya'aqov":30,"Zikhron Ya'akov":30,"Zikhron Yaakov":30,"Zichron Ya'akov":30,"Zichron Yaakov":30},BA={281184:40,294801:30,293067:30};function jA(e){if(!e.candlelighting)return;const t=e.location;if(void 0===t||!(t instanceof rp))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=BA[n];if("number"==typeof e)return e}const r=e.getShortName();if(r){const e=PA[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 FA(e){var t;if("number"==typeof e.mask)return function(e){const t=e.mask||0;t&TA&&delete e.noRoshChodesh;t&AA&&delete e.noModern;t&wA&&delete e.noMinorFast;t&vA&&delete e.noSpecialShabbat;t&IA&&(e.sedrot=!0);t&(MA|EA|OA|CA)&&(e.dailyLearning=e.dailyLearning||{},t&MA&&(e.dailyLearning.dafYomi=!0),t&EA&&(e.dailyLearning.mishnaYomi=!0),t&OA&&(e.dailyLearning.nachYomi=!0),t&CA&&(e.dailyLearning.yerushalmi=1));t&NA&&(e.omer=!0);t&HA&&(e.shabbatMevarchim=!0);t&LA&&(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|=TA|gA|wA|vA|AA|bA|DA|_A|kA|dA|SA|pA),e.candlelighting&&(r|=dA|SA|gA),e.noRoshChodesh&&(r&=~TA),e.noModern&&(r&=~AA),e.noMinorFast&&(r&=~wA),e.noSpecialShabbat&&(r&=~vA,r&=~HA),r|=n?yA:mA,e.sedrot&&(r|=IA),e.omer&&(r|=NA),e.shabbatMevarchim&&(r|=HA),e.yomKippurKatan&&(r|=LA),e.dailyLearning){const t=e.dailyLearning;t.dafYomi&&(r|=MA),t.mishnaYomi&&(r|=EA),t.nachYomi&&(r|=OA),t.yerushalmi&&(r|=CA)}return r}const UA=dA|SA|pA|gA,xA=new rp(0,0,!1,"UTC");function ZA(e){return e.observedInIsrael()}function $A(e){return e.observedInDiaspora()}class VA{static calendar(e={}){jA(e=Object.assign({},e));const t=e.location=e.location||xA,n=e.il=e.il||t.getIsrael()||!1,r="number"==typeof e.mask;if(e.mask=FA(e),e.ashkenazi||e.locale){if(e.locale&&"string"!=typeof e.locale)throw new TypeError(`Invalid options.locale: ${e.locale}`);const t=e.ashkenazi?"ashkenazi":e.locale;if(!Me.useLocale(t))throw new TypeError(`Locale '${t}' not found; did you forget to import @hebcal/locales?`)}else Me.useLocale("en");const o=[];let a,i,s=-1,c=-1,u=-1;const l=cA(e);!function(e){for(const t of Object.keys(e))void 0!==YA[t]||RA.has(t)||(console.warn(`Ignoring unrecognized HebrewCalendar option: ${t}`),RA.add(t))}(e);const f=l[0],d=l[1];h(f).getFullYear()<100&&(e.candlelighting=!1);for(let t=f;t<=d;t++){const h=new ke(t),l=h.getFullYear();l!==u&&(u=l,i=tA(u),e.sedrot&&(a=Fp(u,n)),e.omer&&(s=ke.hebrew2abs(u,uA,16),c=ke.hebrew2abs(u,hA,5)));const f=o.length,d=h.getDay(),g=5===d,m=6===d;let y;const S=i.get(h.toString())||[];for(const t of S)y=KA(y,o,t,e,g,m,r);if(e.sedrot&&m){const e=a.lookup(t);e.chag||o.push(new Up(h,e.parsha,n,e.num))}const p=e.dailyLearning;if("object"==typeof p){const e=WA(h,p,n);o.push(...e)}if(e.omer&&t>=s&&t<=c){const n=qA(h,t-s+1,e);o.push(n)}if(m&&(e.molad||e.shabbatMevarchim)){const t=GA(h,e);o.push(...t)}if(!y&&e.candlelighting&&(g||m)&&(y=vv(void 0,h,e,g,m),g&&y&&a&&(y.memo=a.getString(t,e.locale))),y instanceof hp&&(0===e.havdalahMins||0===e.havdalahDeg)&&(y=void 0),y&&o.push(y),e.addHebrewDates||e.addHebrewDatesForEvents&&f!==o.length){const e=new Ve(h);f===o.length?o.push(e):o.splice(f,0,e)}}return o}static getBirthdayOrAnniversary(e,t){const n=function(e,t){const n=z(t),r=n.yy;if(e===r)return n;if(e<r)return;const o=D(r);let a=n.mm,i=n.dd;return a===$&&!o||a===V&&o?a=_(e):a!==F||30!==i||P(e)?a===U&&30===i&&B(e)?(a=x,i=1):a===$&&30===i&&o&&!D(e)&&(a=j,i=1):(a=U,i=1),{yy:e,mm:a,dd:i}}(e,t);return void 0===n?n:new ke(n)}static getYahrzeit(e,t){const n=function(e,t){let n=z(t);if(!(e<=n.yy))return n.mm!==F||30!==n.dd||P(n.yy+1)?n.mm===U&&30===n.dd&&B(n.yy+1)?n=H(C(e,x,1)-1):n.mm===V?n.mm=_(e):n.mm!==$||30!==n.dd||D(e)||(n.dd=30,n.mm=Z):n=H(C(e,U,1)-1),n.mm!==F||30!==n.dd||P(e)?n.mm===U&&30===n.dd&&B(e)&&(n.mm=x,n.dd=1):(n.mm=U,n.dd=1),n.yy=e,n}(e,t);return void 0===n?n:new ke(n)}static getHolidaysForYear(e){return tA(e)}static getHolidaysForYearArray(e,t){const n=tA(e),r=ke.hebrew2abs(e,fA,1),o=ke.hebrew2abs(e+1,fA,1)-1;let a=[];const i=t?ZA:$A;for(let e=r;e<=o;e++){const t=new ke(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=ke.isHDate(e)?e:new ke(e),r=n.toString(),o=tA(n.getFullYear()).get(r);if(void 0===t||void 0===o)return o;const a=t?ZA:$A;return o.filter(a)}static eruvTavshilin(e,t){if(e.getDay()<3||e.getDay()>4)return!1;const n=new ke(e),r=n.after(5),o=n.next();return!(!zA(r,t)||zA(n,t)||!zA(o,t))}static reformatTimeStr(e,t,n){return sp(e,t,n)}static version(){return wv}static getSedra(e,t){return Fp(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===A.NISAN&&(15===o||16===o)&&e.getFlags()&xe.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()&xe.ROSH_CHODESH||t.startsWith("Pesach")&&"Pesach I"!==t&&"Pesach II"!==t})).map((e=>e.getDate().abs())).includes(r)?1:0}(VA.getHolidaysForYearArray(e.getFullYear(),t),e)}static tachanun(e,t){return oA(e,t)}}function zA(e,t){return 0!==(VA.getHolidaysOnDate(e,t)||[]).filter((e=>e.getFlags()&xe.CHAG)).length}function KA(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&LA||r.noModern&&c&AA)return e;const u=Boolean(c&bA),h=Boolean(c&wA);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 ap(a,o,s);if("Erev Tish'a B'Av"===n){const n=c.sunset();isNaN(n.getTime())||(e.startEvent=Tv(e,n,Av,t))}else if(n.startsWith("Tish'a B'Av")){const n=c.tzeit(i);isNaN(n.getTime())||(e.endEvent=Tv(e,n,bv,t))}else{const n=c.alotHaShachar();if(isNaN(n.getTime())||(e.startEvent=Tv(e,n,Av,t)),5!==o.getDay()&&(14!==r.getDate()||r.getMonth()!==A.NISAN)){const n=c.tzeit(i);isNaN(n.getTime())||(e.endEvent=Tv(e,n,bv,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&UA){const t=n.getDate();if(e=vv(n,t,r,o,a),c&pA&&e&&!r.noHolidays){const i=function(e,t,n){const r=n.location,o=Boolean(n.useElevation),a=new ap(r,t.greg(),o).beinHaShmashos();if(isNaN(a.getTime()))return null;const i=new Iv(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&LA)&&t.push(n)}return n.endEvent&&(u||h&&!r.noMinorFast)&&t.push(n.endEvent),e}function GA(e,t){const n=[],r=e.getMonth(),o=e.getDate();if(r!==lA&&o>=23&&o<=29){const o=e.getFullYear(),a=r===ke.monthsInYear(o)?uA:r+1;if(t.molad&&n.push(new mp(e,o,a,t)),t.shabbatMevarchim){const r=ke.getMonthName(a,o),i=new gp(o,a).render(t.locale||"en",t);n.push(new yv(e,r,i))}}return n}function JA(e,t){return"yerushalmi"===e?2===t?"yerushalmi-schottenstein":"yerushalmi-vilna":e}function WA(e,t,n){const r=[];for(const[o,a]of Object.entries(t))if(a){const t=JA(o,a),i=pv.lookup(t,e,n);i&&r.push(i)}return r}function qA(e,t,n){const r=new yp(e,t);if(n.candlelighting){const t=n.location,o=new ap(t,e.prev(),!1).tzeit(7.0833);isNaN(o.getTime())||(r.alarm=o)}return r}return e.AsaraBTevetEvent=lv,e.CandleLightingEvent=up,e.DailyLearning=pv,e.Event=$e,e.GeoLocation=WS,e.HDate=ke,e.HavdalahEvent=hp,e.HebrewCalendar=VA,e.HebrewDateEvent=Ve,e.HolidayEvent=hv,e.Locale=Me,e.Location=rp,e.MevarchimChodeshEvent=yv,e.Molad=gp,e.MoladEvent=mp,e.NOAACalculator=XS,e.OmerEvent=yp,e.ParshaEvent=Up,e.RoshChodeshEvent=gv,e.RoshHashanaEvent=fv,e.Sedra=pp,e.TimedEvent=cp,e.Zmanim=ap,e.flags=xe,e.gematriya=q,e.gematriyaStrToNum=X,e.holidayDesc=iv,e.months=A,e.parshiot=wp,e.version=wv,e}({});
|
|
1
|
+
/*! @hebcal/core v5.4.10 */
|
|
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)}function a(e){return!(e%4||!(e%100)&&e%400)}function i(e,t){return n[+a(t)][e]}function s(e){return"object"==typeof e&&Date.prototype.isPrototypeOf(e)}function c(e,t,n){const r=e-1;return 365*r+o(r,4)-o(r,100)+o(r,400)+o(367*t-362,12)+(t<=2?0:a(e)?-1:-2)+n}function u(e){if(!s(e))throw new TypeError(`Argument not a Date: ${e}`);return c(e.getFullYear(),e.getMonth()+1,e.getDate())}function h(e){if("number"!=typeof e)throw new TypeError(`Argument not a Number: ${e}`);const t=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)),n=o(12*(e-c(t,1,1)+(e<c(t,3,1)?0:a(t)?1:2))+373,367),i=e-c(t,n,1)+1,s=new Date(t,n-1,i);return t<100&&t>=0&&s.setFullYear(t),s}n[1][2]=29,e.greg=void 0,e.greg||(e.greg={}),e.greg.abs2greg=h,e.greg.daysInMonth=i,e.greg.greg2abs=u,e.greg.isDate=s,e.greg.isLeapYear=a;const l=1,f=2,d=4,g=6,m=7,y=8,S=9,p=10,w=12,v=13,A={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},b=["","Nisan","Iyyar","Sivan","Tamuz","Av","Elul","Tishrei","Cheshvan","Kislev","Tevet","Sh'vat"],T=[b.concat(["Adar","Nisan"]),b.concat(["Adar I","Adar II","Nisan"])],I=new Map,M=-1373428,E=365.24682220597794;function O(e,t){if("number"!=typeof e||isNaN(e))throw new TypeError(`invalid parameter '${t}' not a number: ${e}`)}function N(e,t,n){if(O(e,"year"),O(t,"month"),O(n,"day"),e<1)throw new RangeError(`hebrew2abs: invalid year ${e}`);let r=n;if(t<m){for(let t=m;t<=_(e);t++)r+=k(t,e);for(let n=l;n<t;n++)r+=k(n,e)}else for(let n=m;n<t;n++)r+=k(n,e);return M+R(e)+r-1}function C(e){return M+R(e)}function H(e){if(O(e,"abs"),(e=Math.trunc(e))<=M)throw new RangeError(`abs2hebrew: ${e} is before epoch`);let t=Math.floor((e-M)/E);for(;C(t)<=e;)++t;--t;let n=e<N(t,1,1)?7:1;for(;e>N(t,n,k(n,t));)++n;return{yy:t,mm:n,dd:1+e-N(t,n,1)}}function D(e){return(1+7*e)%19<7}function _(e){return+D(e)+12}function k(e,t){switch(e){case f:case d:case g:case p:case v:return 29}return e===w&&!D(t)||e===y&&!P(t)||e===S&&B(t)?29:30}function L(e,t){if(O(e,"month"),O(t,"year"),e<1||e>14)throw new TypeError(`bad month argument ${e}`);return T[+D(t)][e]}function R(e){const t=I.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&&!D(e)||1==i%7&&a>=16789&&D(t))&&s++;return s%7==0||s%7==3||s%7==5?s+1:s}(e);return I.set(e,n),n}function Y(e){return R(e+1)-R(e)}function P(e){return Y(e)%10==5}function B(e){return Y(e)%10==3}const j=A.NISAN,F=A.CHESHVAN,U=A.KISLEV,x=A.TEVET,Z=A.SHVAT,$=A.ADAR_I,V=A.ADAR_II;function z(e){if(function(e){return"object"==typeof e&&null!==e&&"number"==typeof e.yy&&"number"==typeof e.mm&&"number"==typeof e.dd}(e))return e;if("number"==typeof e)return H(e);if(s(e)){return H(u(e))}throw new TypeError(`Argument not a Date: ${e}`)}const K={"א":1,"ב":2,"ג":3,"ד":4,"ה":5,"ו":6,"ז":7,"ח":8,"ט":9,"י":10,"כ":20,"ל":30,"מ":40,"נ":50,"ס":60,"ע":70,"פ":80,"צ":90,"ק":100,"ר":200,"ש":300,"ת":400},J=new Map,G=new Map;for(const[e,t]of Object.entries(K))J.set(e,t),G.set(t,e);function W(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 q(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=W(r);for(const t of e)n+=G.get(t);n+="׳"}const o=W(t%1e3);if(1===o.length)return n+G.get(o[0])+"׳";for(let e=0;e<o.length;e++)e+1===o.length&&(n+="״"),n+=G.get(o[e]);return n}function X(e){let t=0;const n=e.indexOf("׳");if(-1!==n&&n!==e.length-1){t+=1e3*X(e.substring(0,n)),e=e.substring(n)}for(const n of e){const e=J.get(n);"number"==typeof e&&(t+=e)}return t}const Q={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 ee(e){if(e<1||e>49)throw new RangeError(`Invalid Omer day ${e}`)}function te(e){return[Math.floor((e-1)/7)+1,e%7||7]}function ne(e,t){return ee(e),"he"===t?function(e){const t=Math.floor(e/10),n=e%10;let r="הַיּוֹם ";11===e?r+="אַחַד "+le:12===e?r+="שְׁנֵים "+le:12<e&&e<20?r+=oe[n]+" "+le:e>9&&(r+=oe[n],n&&(r+=" ",r+=3===t?"וּ":"וְ"));e>2?((e>20||10===e||20===e)&&(r+=re[t]),r+=e<11?oe[n]+" "+ie+" ":" "+ue+" "):r+=1===e?he+" ":se+" ";if(e>6){r=r.trim(),r+=", שְׁהֵם ";const t=Math.floor(e/7),n=e%7;r+=t>2?oe[t]+" "+ce+" ":1===t?"שָׁבֽוּעַ "+oe[1]+" ":ae+" "+ce+" ",n&&(r+=2===n||3===n?"וּ":5===n?"וַ":"וְ",r+=n>2?oe[n]+" "+ie+" ":1===n?he+" ":se+" ")}return r+="לָעֽוֹמֶר",r.normalize()}(e):function(e){const[t,n]=te(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 re=["","עֲשָׂרָה","עֶשְׂרִים","שְׁלוֹשִׁים","אַרְבָּעִים"],oe=["","אֶחָד","שְׁנַיִם","שְׁלוֹשָׁה","אַרְבָּעָה","חֲמִשָּׁה","שִׁשָּׁה","שִׁבְעָה","שְׁמוֹנָה","תִּשְׁעָה"],ae="שְׁנֵי",ie="יָמִים",se=ae+" "+ie,ce="שָׁבוּעוֹת",ue="יוֹם",he=ue+" "+oe[1],le="עָשָׂר";const fe=new Map;const de=/^(\d+).(\d+).(\d+),?\s+(\d+).(\d+).(\d+)/;function ge(e,t){const n=function(e){const t=fe.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 fe.set(e,n),n}(e).format(t),r=de.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]=me(parseInt(r[3],10)),`${r[3]}-${r[1]}-${r[2]}T${o}:${r[5]}:${r[6]}Z`}function me(e){return e<0?"-00"+me(-e):e<10?"000"+e:e<100?"00"+e:e<1e3?"0"+e:String(e)}function ye(e){return e<10?"0"+e:String(e)}function Se(e){return me(e.getFullYear())+"-"+ye(e.getMonth()+1)+"-"+ye(e.getDate())}var pe={headers:{"plural-forms":"nplurals=2; plural=(n > 1);"},contexts:{"":{Tevet:["Teves"]}}},we={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 ve={headers:{"plural-forms":"nplurals=2; plural=(n!=1);"},contexts:{"":{}}},Ae={h:"he",a:"ashkenazi",s:"en","":"en"},be=new Map;let Te,Ie;class Me{static lookupTranslation(e,t){const n=("string"==typeof t&&be.get(t.toLowerCase())||Te)[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`);be.set(e.toLowerCase(),t.contexts[""])}static addTranslation(e,t,n){if("string"!=typeof e)throw new TypeError(`Invalid locale name: ${e}`);const r=be.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=be.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=be.get(t);if(!n)throw new RangeError(`Locale '${e}' not found`);return Ie=Ae[t]||t,Te=n,Te}static getLocaleName(){return Ie}static getLocaleNames(){return Array.from(be.keys()).sort(((e,t)=>e.localeCompare(t)))}static ordinal(e,t){const n=(null==t?void 0:t.toLowerCase())||Ie;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,"")}}Me.addLocale("en",ve),Me.addLocale("s",ve),Me.addLocale("",ve),Me.useLocale("en"),Me.addLocale("ashkenazi",pe),Me.addLocale("a",pe),Me.addLocale("he",we),Me.addLocale("h",we);const Ee=we.contexts[""],Oe={};for(const[e,t]of Object.entries(Ee))Oe[e]=[Me.hebrewStripNikkud(t[0])];const Ne={headers:we.headers,contexts:{"":Oe}};Me.addLocale("he-x-NoNikud",Ne);const Ce="day",He="week",De="month",_e="year";class ke{constructor(e,t,n){if(2===arguments.length||arguments.length>3)throw new TypeError("HDate constructor requires 0, 1 or 3 arguments");if(3===arguments.length){this.dd=this.mm=1;const a="string"==typeof n?parseInt(n,10):n;if(isNaN(a))throw new TypeError(`HDate called with bad year argument: ${n}`);this.yy=a,function(e,t){e.mm=ke.monthNum(t),Le(e)}(this,t);const i="string"==typeof e?parseInt(e,10):e;if(isNaN(i))throw new TypeError(`HDate called with bad day argument: ${e}`);o=i,(r=this).dd=o,Le(r)}else{null==e&&(e=new Date);const t="number"!=typeof e||isNaN(e)?s(e)?u(e):void 0!==e.yy?e:null:e;if(null===t)throw new TypeError(`HDate called with bad argument: ${e}`);const n="number"==typeof t,r=n?H(t):t;this.yy=r.yy,this.mm=r.mm,this.dd=r.dd,n&&(this.rd=t)}var r,o}getFullYear(){return this.yy}isLeapYear(){return D(this.yy)}getMonth(){return this.mm}getTishreiMonth(){const e=_(this.getFullYear());return(this.getMonth()+e-6)%e||e}daysInMonth(){return k(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 h(this.abs())}abs(){return"number"!=typeof this.rd&&(this.rd=N(this.yy,this.mm,this.dd)),this.rd}static hebrew2abs(e,t,n){return N(e,t,n)}getMonthName(){return L(this.getMonth(),this.getFullYear())}render(e){let t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];const n=e||Me.getLocaleName(),r=this.getDate(),o=Me.gettext(this.getMonthName(),n).replace(/'/g,"’"),a=Me.ordinal(r,n),i=function(e){switch(e){case"en":case"s":case"a":case"ashkenazi":return" of"}const t=Me.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=Me.gettext(this.getMonthName(),n),o=this.getFullYear();return q(t)+" "+r+" "+q(o)}before(e){return Ye(e,this,-1)}onOrBefore(e){return Ye(e,this,0)}nearest(e){return Ye(e,this,3)}onOrAfter(e){return Ye(e,this,6)}after(e){return Ye(e,this,7)}next(){return new ke(this.abs()+1)}prev(){return new ke(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 ke(this);if(t=function(e){switch(e){case"d":return Ce;case"w":return He;case"M":return De;case"y":return _e}const t=String(e||"").toLowerCase().replace(/s$/,"");switch(t){case Ce:case He:case De:case _e:return t}throw new TypeError(`Invalid units '${e}'`)}(t),t===Ce)return new ke(this.abs()+e);if(t===He)return new ke(this.abs()+7*e);if(t===_e)return new ke(this.getDate(),this.getMonth(),this.getFullYear()+e);if(t===De){let t=new ke(this);const n=e>0?1:-1;e=Math.abs(e);for(let r=0;r<e;r++)t=new ke(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(!ke.isHDate(e))throw new TypeError(`Bad argument: ${e}`);return this.abs()-e.abs()}isSameDate(e){return!!ke.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 D(e)}static monthsInYear(e){return _(e)}static daysInMonth(e,t){return k(e,t)}static getMonthName(e,t){return L(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):ke.monthFromName(e)}static daysInYear(e){return Y(e)}static longCheshvan(e){return P(e)}static shortKislev(e){return B(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 A.NISAN;case"i":return A.IYYAR;case"e":return A.ELUL;case"c":case"ח":return A.CHESHVAN;case"k":case"כ":return A.KISLEV;case"s":switch(t[1]){case"i":return A.SIVAN;case"h":return A.SHVAT}break;case"t":switch(t[1]){case"a":return A.TAMUZ;case"i":return A.TISHREI;case"e":return A.TEVET}break;case"a":switch(t[1]){case"v":return A.AV;case"d":return/(1|[^i]i|a|א)$/i.test(e)?A.ADAR_I:A.ADAR_II}break;case"ס":return A.SIVAN;case"ט":return A.TEVET;case"ש":return A.SHVAT;case"א":switch(t[1]){case"ב":return A.AV;case"ד":return/(1|[^i]i|a|א)$/i.test(e)?A.ADAR_I:A.ADAR_II;case"י":return A.IYYAR;case"ל":return A.ELUL}break;case"ת":switch(t[1]){case"מ":return A.TAMUZ;case"ש":return A.TISHREI}}throw new RangeError(`Unable to parse month name: ${e}`)}(Me.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=X(n[0]),a=3===r?n[1]:n[1]+" "+n[2],i=ke.monthFromName(a);let s=X(3===r?n[2]:n[3]);return s<1e3&&(s+=t),new ke(o,i,s)}}function Le(e){Re(e),function(e){e.dd<1&&(e.mm===A.TISHREI&&(e.yy-=1),e.dd+=k(e.mm,e.yy),e.mm-=1,Le(e));e.dd>k(e.mm,e.yy)&&(e.mm===A.ELUL&&(e.yy+=1),e.dd-=k(e.mm,e.yy),e.mm===_(e.yy)?e.mm=1:e.mm+=1,Le(e));Re(e)}(e)}function Re(e){e.mm!==A.ADAR_II||e.isLeapYear()?e.mm<1?(e.mm+=_(e.yy),e.yy-=1,Le(e)):e.mm>_(e.yy)&&(e.mm-=_(e.yy),e.yy+=1,Le(e)):(e.mm-=1,Le(e)),delete e.rd}function Ye(e,t,n){return new ke(ke.dayOnOrBefore(e,t.abs()+n))}var Pe={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"]}}},Be={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":["פִּרְקֵי אָבוֹת"]}}};Me.addTranslations("he",Be),Me.addTranslations("h",Be),Me.addTranslations("ashkenazi",Pe),Me.addTranslations("a",Pe);const je=Be.contexts[""],Fe={};for(const[e,t]of Object.entries(je))Fe[e]=[Me.hebrewStripNikkud(t[0])];const Ue={headers:Be.headers,contexts:{"":Fe}};Me.addTranslations("he-x-NoNikud",Ue);const xe={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},Ze=[[xe.MAJOR_FAST,"holiday","major","fast"],[xe.CHANUKAH_CANDLES,"holiday","major"],[xe.HEBREW_DATE,"hebdate"],[xe.MINOR_FAST,"holiday","fast"],[xe.MINOR_HOLIDAY,"holiday","minor"],[xe.MODERN_HOLIDAY,"holiday","modern"],[xe.MOLAD,"molad"],[xe.OMER_COUNT,"omer"],[xe.PARSHA_HASHAVUA,"parashat"],[xe.ROSH_CHODESH,"roshchodesh"],[xe.SHABBAT_MEVARCHIM,"mevarchim"],[xe.SPECIAL_SHABBAT,"holiday","shabbat"],[xe.USER_EVENT,"user"]];class $e{constructor(e,t,n=0,r){if(!ke.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 Me.gettext(this.desc,e)}renderBrief(e){return this.render(e)}getEmoji(){return this.emoji||null}basename(){return this.getDesc()}url(){}observedInIsrael(){return!(this.mask&xe.CHUL_ONLY)}observedInDiaspora(){return!(this.mask&xe.IL_ONLY)}observedIn(e){return e?this.observedInIsrael():this.observedInDiaspora()}clone(){const e=new $e(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 Ze){if(e&t[0])return t.slice(1)}return["unknown"]}}class Ve extends $e{constructor(e){super(e,e.toString(),xe.HEBREW_DATE)}render(e){const t=null==e?void 0:e.toLowerCase(),n=null!=t?t:Me.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=Me.gettext(t.getMonthName(),e);return q(n)+" "+r}renderBrief(e){const t=null==e?void 0:e.toLowerCase(),n=null!=t?t:Me.getLocaleName(),r=this.getDate();if(r.getMonth()===A.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 ze="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},Ke=function(e){return e&&e.Math===Math&&e},Je=Ke("object"==typeof globalThis&&globalThis)||Ke("object"==typeof window&&window)||Ke("object"==typeof self&&self)||Ke("object"==typeof ze&&ze)||Ke("object"==typeof ze&&ze)||function(){return this}()||Function("return this")(),Ge={},We=function(e){try{return!!e()}catch(e){return!0}},qe=!We((function(){return 7!==Object.defineProperty({},1,{get:function(){return 7}})[1]})),Xe=!We((function(){var e=function(){}.bind();return"function"!=typeof e||e.hasOwnProperty("prototype")})),Qe=Xe,et=Function.prototype.call,tt=Qe?et.bind(et):function(){return et.apply(et,arguments)},nt={},rt={}.propertyIsEnumerable,ot=Object.getOwnPropertyDescriptor,at=ot&&!rt.call({1:2},1);nt.f=at?function(e){var t=ot(this,e);return!!t&&t.enumerable}:rt;var it,st,ct=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}},ut=Xe,ht=Function.prototype,lt=ht.call,ft=ut&&ht.bind.bind(lt,lt),dt=ut?ft:function(e){return function(){return lt.apply(e,arguments)}},gt=dt,mt=gt({}.toString),yt=gt("".slice),St=We,pt=function(e){return yt(mt(e),8,-1)},wt=Object,vt=dt("".split),At=St((function(){return!wt("z").propertyIsEnumerable(0)}))?function(e){return"String"===pt(e)?vt(e,""):wt(e)}:wt,bt=function(e){return null==e},Tt=bt,It=TypeError,Mt=function(e){if(Tt(e))throw new It("Can't call method on "+e);return e},Et=At,Ot=Mt,Nt=function(e){return Et(Ot(e))},Ct="object"==typeof document&&document.all,Ht=void 0===Ct&&void 0!==Ct?function(e){return"function"==typeof e||e===Ct}:function(e){return"function"==typeof e},Dt=Ht,_t=function(e){return"object"==typeof e?null!==e:Dt(e)},kt=Je,Lt=Ht,Rt=function(e,t){return arguments.length<2?(n=kt[e],Lt(n)?n:void 0):kt[e]&&kt[e][t];var n},Yt=dt({}.isPrototypeOf),Pt=Je,Bt="undefined"!=typeof navigator&&String(navigator.userAgent)||"",jt=Pt.process,Ft=Pt.Deno,Ut=jt&&jt.versions||Ft&&Ft.version,xt=Ut&&Ut.v8;xt&&(st=(it=xt.split("."))[0]>0&&it[0]<4?1:+(it[0]+it[1])),!st&&Bt&&(!(it=Bt.match(/Edge\/(\d+)/))||it[1]>=74)&&(it=Bt.match(/Chrome\/(\d+)/))&&(st=+it[1]);var Zt=st,$t=We,Vt=Je.String,zt=!!Object.getOwnPropertySymbols&&!$t((function(){var e=Symbol("symbol detection");return!Vt(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&Zt&&Zt<41})),Kt=zt&&!Symbol.sham&&"symbol"==typeof Symbol.iterator,Jt=Rt,Gt=Ht,Wt=Yt,qt=Object,Xt=Kt?function(e){return"symbol"==typeof e}:function(e){var t=Jt("Symbol");return Gt(t)&&Wt(t.prototype,qt(e))},Qt=String,en=Ht,tn=function(e){try{return Qt(e)}catch(e){return"Object"}},nn=TypeError,rn=function(e){if(en(e))return e;throw new nn(tn(e)+" is not a function")},on=bt,an=tt,sn=Ht,cn=_t,un=TypeError,hn={exports:{}},ln=Je,fn=Object.defineProperty,dn=function(e,t){try{fn(ln,e,{value:t,configurable:!0,writable:!0})}catch(n){ln[e]=t}return t},gn=Je,mn=dn,yn="__core-js_shared__",Sn=hn.exports=gn[yn]||mn(yn,{});(Sn.versions||(Sn.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 pn=hn.exports,wn=pn,vn=function(e,t){return wn[e]||(wn[e]=t||{})},An=Mt,bn=Object,Tn=function(e){return bn(An(e))},In=dt({}.hasOwnProperty),Mn=Object.hasOwn||function(e,t){return In(Tn(e),t)},En=dt,On=0,Nn=Math.random(),Cn=En(1..toString),Hn=function(e){return"Symbol("+(void 0===e?"":e)+")_"+Cn(++On+Nn,36)},Dn=vn,_n=Mn,kn=Hn,Ln=zt,Rn=Kt,Yn=Je.Symbol,Pn=Dn("wks"),Bn=Rn?Yn.for||Yn:Yn&&Yn.withoutSetter||kn,jn=function(e){return _n(Pn,e)||(Pn[e]=Ln&&_n(Yn,e)?Yn[e]:Bn("Symbol."+e)),Pn[e]},Fn=tt,Un=_t,xn=Xt,Zn=function(e,t){var n=e[t];return on(n)?void 0:rn(n)},$n=function(e,t){var n,r;if("string"===t&&sn(n=e.toString)&&!cn(r=an(n,e)))return r;if(sn(n=e.valueOf)&&!cn(r=an(n,e)))return r;if("string"!==t&&sn(n=e.toString)&&!cn(r=an(n,e)))return r;throw new un("Can't convert object to primitive value")},Vn=TypeError,zn=jn("toPrimitive"),Kn=function(e,t){if(!Un(e)||xn(e))return e;var n,r=Zn(e,zn);if(r){if(void 0===t&&(t="default"),n=Fn(r,e,t),!Un(n)||xn(n))return n;throw new Vn("Can't convert object to primitive value")}return void 0===t&&(t="number"),$n(e,t)},Jn=Xt,Gn=function(e){var t=Kn(e,"string");return Jn(t)?t:t+""},Wn=_t,qn=Je.document,Xn=Wn(qn)&&Wn(qn.createElement),Qn=function(e){return Xn?qn.createElement(e):{}},er=Qn,tr=!qe&&!We((function(){return 7!==Object.defineProperty(er("div"),"a",{get:function(){return 7}}).a})),nr=qe,rr=tt,or=nt,ar=ct,ir=Nt,sr=Gn,cr=Mn,ur=tr,hr=Object.getOwnPropertyDescriptor;Ge.f=nr?hr:function(e,t){if(e=ir(e),t=sr(t),ur)try{return hr(e,t)}catch(e){}if(cr(e,t))return ar(!rr(or.f,e,t),e[t])};var lr={},fr=qe&&We((function(){return 42!==Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype})),dr=_t,gr=String,mr=TypeError,yr=function(e){if(dr(e))return e;throw new mr(gr(e)+" is not an object")},Sr=qe,pr=tr,wr=fr,vr=yr,Ar=Gn,br=TypeError,Tr=Object.defineProperty,Ir=Object.getOwnPropertyDescriptor,Mr="enumerable",Er="configurable",Or="writable";lr.f=Sr?wr?function(e,t,n){if(vr(e),t=Ar(t),vr(n),"function"==typeof e&&"prototype"===t&&"value"in n&&Or in n&&!n[Or]){var r=Ir(e,t);r&&r[Or]&&(e[t]=n.value,n={configurable:Er in n?n[Er]:r[Er],enumerable:Mr in n?n[Mr]:r[Mr],writable:!1})}return Tr(e,t,n)}:Tr:function(e,t,n){if(vr(e),t=Ar(t),vr(n),pr)try{return Tr(e,t,n)}catch(e){}if("get"in n||"set"in n)throw new br("Accessors not supported");return"value"in n&&(e[t]=n.value),e};var Nr=lr,Cr=ct,Hr=qe?function(e,t,n){return Nr.f(e,t,Cr(1,n))}:function(e,t,n){return e[t]=n,e},Dr={exports:{}},_r=qe,kr=Mn,Lr=Function.prototype,Rr=_r&&Object.getOwnPropertyDescriptor,Yr=kr(Lr,"name"),Pr={EXISTS:Yr,PROPER:Yr&&"something"===function(){}.name,CONFIGURABLE:Yr&&(!_r||_r&&Rr(Lr,"name").configurable)},Br=Ht,jr=pn,Fr=dt(Function.toString);Br(jr.inspectSource)||(jr.inspectSource=function(e){return Fr(e)});var Ur,xr,Zr,$r=jr.inspectSource,Vr=Ht,zr=Je.WeakMap,Kr=Vr(zr)&&/native code/.test(String(zr)),Jr=Hn,Gr=vn("keys"),Wr=function(e){return Gr[e]||(Gr[e]=Jr(e))},qr={},Xr=Kr,Qr=Je,eo=_t,to=Hr,no=Mn,ro=pn,oo=Wr,ao=qr,io="Object already initialized",so=Qr.TypeError,co=Qr.WeakMap;if(Xr||ro.state){var uo=ro.state||(ro.state=new co);uo.get=uo.get,uo.has=uo.has,uo.set=uo.set,Ur=function(e,t){if(uo.has(e))throw new so(io);return t.facade=e,uo.set(e,t),t},xr=function(e){return uo.get(e)||{}},Zr=function(e){return uo.has(e)}}else{var ho=oo("state");ao[ho]=!0,Ur=function(e,t){if(no(e,ho))throw new so(io);return t.facade=e,to(e,ho,t),t},xr=function(e){return no(e,ho)?e[ho]:{}},Zr=function(e){return no(e,ho)}}var lo={set:Ur,get:xr,has:Zr,enforce:function(e){return Zr(e)?xr(e):Ur(e,{})},getterFor:function(e){return function(t){var n;if(!eo(t)||(n=xr(t)).type!==e)throw new so("Incompatible receiver, "+e+" required");return n}}},fo=dt,go=We,mo=Ht,yo=Mn,So=qe,po=Pr.CONFIGURABLE,wo=$r,vo=lo.enforce,Ao=lo.get,bo=String,To=Object.defineProperty,Io=fo("".slice),Mo=fo("".replace),Eo=fo([].join),Oo=So&&!go((function(){return 8!==To((function(){}),"length",{value:8}).length})),No=String(String).split("String"),Co=Dr.exports=function(e,t,n){"Symbol("===Io(bo(t),0,7)&&(t="["+Mo(bo(t),/^Symbol\(([^)]*)\).*$/,"$1")+"]"),n&&n.getter&&(t="get "+t),n&&n.setter&&(t="set "+t),(!yo(e,"name")||po&&e.name!==t)&&(So?To(e,"name",{value:t,configurable:!0}):e.name=t),Oo&&n&&yo(n,"arity")&&e.length!==n.arity&&To(e,"length",{value:n.arity});try{n&&yo(n,"constructor")&&n.constructor?So&&To(e,"prototype",{writable:!1}):e.prototype&&(e.prototype=void 0)}catch(e){}var r=vo(e);return yo(r,"source")||(r.source=Eo(No,"string"==typeof t?t:"")),e};Function.prototype.toString=Co((function(){return mo(this)&&Ao(this).source||wo(this)}),"toString");var Ho=Dr.exports,Do=Ht,_o=lr,ko=Ho,Lo=dn,Ro={},Yo=Math.ceil,Po=Math.floor,Bo=Math.trunc||function(e){var t=+e;return(t>0?Po:Yo)(t)},jo=Bo,Fo=function(e){var t=+e;return t!=t||0===t?0:jo(t)},Uo=Fo,xo=Math.max,Zo=Math.min,$o=Fo,Vo=Math.min,zo=function(e){var t=$o(e);return t>0?Vo(t,9007199254740991):0},Ko=Nt,Jo=function(e,t){var n=Uo(e);return n<0?xo(n+t,0):Zo(n,t)},Go=function(e){return zo(e.length)},Wo=function(e){return function(t,n,r){var o=Ko(t),a=Go(o);if(0===a)return!e&&-1;var i,s=Jo(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}},qo={includes:Wo(!0),indexOf:Wo(!1)},Xo=Mn,Qo=Nt,ea=qo.indexOf,ta=qr,na=dt([].push),ra=function(e,t){var n,r=Qo(e),o=0,a=[];for(n in r)!Xo(ta,n)&&Xo(r,n)&&na(a,n);for(;t.length>o;)Xo(r,n=t[o++])&&(~ea(a,n)||na(a,n));return a},oa=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],aa=ra,ia=oa.concat("length","prototype");Ro.f=Object.getOwnPropertyNames||function(e){return aa(e,ia)};var sa={};sa.f=Object.getOwnPropertySymbols;var ca=Rt,ua=Ro,ha=sa,la=yr,fa=dt([].concat),da=ca("Reflect","ownKeys")||function(e){var t=ua.f(la(e)),n=ha.f;return n?fa(t,n(e)):t},ga=Mn,ma=da,ya=Ge,Sa=lr,pa=We,wa=Ht,va=/#|\.prototype\./,Aa=function(e,t){var n=Ta[ba(e)];return n===Ma||n!==Ia&&(wa(t)?pa(t):!!t)},ba=Aa.normalize=function(e){return String(e).replace(va,".").toLowerCase()},Ta=Aa.data={},Ia=Aa.NATIVE="N",Ma=Aa.POLYFILL="P",Ea=Aa,Oa=Je,Na=Ge.f,Ca=Hr,Ha=function(e,t,n,r){r||(r={});var o=r.enumerable,a=void 0!==r.name?r.name:t;if(Do(n)&&ko(n,a,r),r.global)o?e[t]=n:Lo(t,n);else{try{r.unsafe?e[t]&&(o=!0):delete e[t]}catch(e){}o?e[t]=n:_o.f(e,t,{value:n,enumerable:!1,configurable:!r.nonConfigurable,writable:!r.nonWritable})}return e},Da=dn,_a=function(e,t,n){for(var r=ma(t),o=Sa.f,a=ya.f,i=0;i<r.length;i++){var s=r[i];ga(e,s)||n&&ga(n,s)||o(e,s,a(t,s))}},ka=Ea,La={},Ra=ra,Ya=oa,Pa=Object.keys||function(e){return Ra(e,Ya)},Ba=qe,ja=fr,Fa=lr,Ua=yr,xa=Nt,Za=Pa;La.f=Ba&&!ja?Object.defineProperties:function(e,t){Ua(e);for(var n,r=xa(t),o=Za(t),a=o.length,i=0;a>i;)Fa.f(e,n=o[i++],r[n]);return e};var $a,Va=Rt("document","documentElement"),za=yr,Ka=La,Ja=oa,Ga=qr,Wa=Va,qa=Qn,Xa="prototype",Qa="script",ei=Wr("IE_PROTO"),ti=function(){},ni=function(e){return"<"+Qa+">"+e+"</"+Qa+">"},ri=function(e){e.write(ni("")),e.close();var t=e.parentWindow.Object;return e=null,t},oi=function(){try{$a=new ActiveXObject("htmlfile")}catch(e){}var e,t,n;oi="undefined"!=typeof document?document.domain&&$a?ri($a):(t=qa("iframe"),n="java"+Qa+":",t.style.display="none",Wa.appendChild(t),t.src=String(n),(e=t.contentWindow.document).open(),e.write(ni("document.F=Object")),e.close(),e.F):ri($a);for(var r=Ja.length;r--;)delete oi[Xa][Ja[r]];return oi()};Ga[ei]=!0;var ai=Object.create||function(e,t){var n;return null!==e?(ti[Xa]=za(e),n=new ti,ti[Xa]=null,n[ei]=e):n=oi(),void 0===t?n:Ka.f(n,t)},ii=jn,si=ai,ci=lr.f,ui=ii("unscopables"),hi=Array.prototype;void 0===hi[ui]&&ci(hi,ui,{configurable:!0,value:si(null)});var li=qo.includes,fi=function(e){hi[ui][e]=!0};function di(e,t,n,r,o){return gi(t,mi(e,t),n,r,o)}function gi(e,t,n,r,o,a){const i=Yi(t,n,r);if(o&&t!==i)throw new RangeError(Zl(e,t,n,r,a));return i}function mi(e,t){const n=e[t];if(void 0===n)throw new TypeError(Vl(t));return n}function yi(e){return null!==e&&/object|function/.test(typeof e)}function Si(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 pi(e){return wi({name:e},1)}function wi(e,t){return Ti((e=>({value:e,configurable:1,writable:!t})),e)}function vi(e){return Ti((e=>({get:e,configurable:1})),e)}function Ai(e){return{[Symbol.toStringTag]:{value:e,configurable:1}}}function bi(e,t){const n={};let r=e.length;for(const o of t)n[e[--r]]=o;return n}function Ti(e,t,n){const r={};for(const o in t)r[o]=e(t[o],o,n);return r}function Ii(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 Mi(e,t,n){const r={};for(let o=0;o<e.length;o++)r[t[o]]=n[e[o]];return r}function Ei(e,t){const n={};for(const r of e)n[r]=t[r];return n}function Oi(e,t){const n={};for(const r in t)e.has(r)||(n[r]=t[r]);return n}function Ni(e){e={...e};const t=Object.keys(e);for(const n of t)void 0===e[n]&&delete e[n];return e}function Ci(e,t,n){for(const r of e)if(t[r]!==n[r])return 0;return 1}function Hi(e,t,n){const r={...n};for(let n=0;n<t;n++)r[e[n]]=0;return r}function Di(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 _i(e){return e[0].toUpperCase()+e.substring(1)}function ki(e){return e.slice().sort()}function Li(e,t){return String(t).padStart(e,"0")}function Ri(e,t){return Math.sign(e-t)}function Yi(e,t,n){return Math.min(Math.max(e,t),n)}function Pi(e,t){return[Math.floor(e/t),Bi(e,t)]}function Bi(e,t){return(e%t+t)%t}function ji(e,t){return[Fi(e,t),Ui(e,t)]}function Fi(e,t){return Math.trunc(e/t)||0}function Ui(e,t){return e%t||0}function xi(e){return.5===Math.abs(e%1)}function Zi(e,t,n){let r=0,o=0;for(let a=0;a<=t;a++){const t=e[n[a]],i=Uf[a],s=Ff/i,[c,u]=ji(t,s);r+=u*i,o+=c}const[a,i]=ji(r,Ff);return[o+a,i]}function $i(e,t,n){const r={};for(let o=t;o>=0;o--){const t=Uf[o];r[n[o]]=Fi(e,t),e=Ui(e,t)}return r}function Vi(e){if(void 0!==e)return Ki(e)}function zi(e){return Qi(Ki(e))}function Ki(e){return Xi(dd(e))}function Ji(e){if(null==e)throw new TypeError("Cannot be null or undefined");return e}function Gi(e,t){if(null==t)throw new RangeError(Vl(e));return t}function Wi(e){if(!yi(e))throw new TypeError(xl);return e}function qi(e,t){if(typeof t!==e)throw new TypeError($l(arguments.length>2&&void 0!==arguments[2]?arguments[2]:e,t));return t}function Xi(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"number";if(!Number.isInteger(e))throw new RangeError(Yl(t,e));return e||0}function Qi(e){if(e<=0)throw new RangeError(Pl(arguments.length>1&&void 0!==arguments[1]?arguments[1]:"number",e));return e}function es(e){if("symbol"==typeof e)throw new TypeError(Ul);return String(e)}function ts(e,t){return yi(e)?String(e):ld(e,t)}function ns(e){if("string"==typeof e)return BigInt(e);if("bigint"!=typeof e)throw new TypeError(Fl(e));return e}function rs(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"number";if("bigint"==typeof e)throw new TypeError(jl(t));if(e=Number(e),!Number.isFinite(e))throw new RangeError(Bl(t,e));return e}function os(e,t){return Math.trunc(rs(e,t))||0}function as(e,t){return Xi(rs(e,t),t)}function is(e,t){return Qi(os(e,t),t)}function ss(e,t){let[n,r]=ji(t,Ff),o=e+n;const a=Math.sign(o);return a&&a===-Math.sign(r)&&(o-=a,r+=a*Ff),[o,r]}function cs(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1;return ss(e[0]+t[0]*n,e[1]+t[1]*n)}function us(e,t){return ss(e[0],e[1]+t)}function hs(e,t){return cs(t,e,-1)}function ls(e,t){return Ri(e[0],t[0])||Ri(e[1],t[1])}function fs(e,t,n){return-1===ls(e,t)||1===ls(e,n)}function ds(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1;const n=BigInt(Ff/t);return[Number(e/n),Number(e%n)*t]}function gs(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1;const n=Ff/t,[r,o]=ji(e,n);return[r,o*t]}function ms(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1;const[n,r]=e,o=Math.floor(r/t),a=Ff/t;return BigInt(n)*BigInt(a)+BigInt(o)}function ys(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]=ji(o,t);return r*(Ff/t)+(a+(n?i/t:0))}function Ss(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:Pi;const[r,o]=e,[a,i]=n(o,t);return[r*(Ff/t)+a,i]}function ps(e,t){const n=e.formatToParts(t),r={};for(const e of n)r[e.type]=e.value;return r}function ws(e){return di(e,"isoYear",jd,Bd,1),e.isoYear===jd?di(e,"isoMonth",4,12,1):e.isoYear===Bd&&di(e,"isoMonth",1,9,1),e}function vs(e){return As({...e,...Hd,isoHour:12}),e}function As(e){const t=di(e,"isoYear",jd,Bd,1),n=t===jd?1:t===Bd?-1:0;return n&&bs(Ns({...e,isoDay:e.isoDay+n,isoNanosecond:e.isoNanosecond-n})),e}function bs(e){if(!e||fs(e,Pd,Yd))throw new RangeError(Sf);return e}function Ts(e){return Zi(e,5,Id)[1]}function Is(e){const[t,n]=Pi(e,Ff);return[$i(n,5,Id),t]}function Ms(e){return Es(e)[0]}function Es(e){return Ss(e,Pf)}function Os(e){return Ds(e.isoYear,e.isoMonth,e.isoDay,e.isoHour,e.isoMinute,e.isoSecond,e.isoMillisecond)}function Ns(e){const t=Os(e);if(void 0!==t){const[n,r]=ji(t,kf);return[n,r*Yf+(e.isoMicrosecond||0)*Rf+(e.isoNanosecond||0)]}}function Cs(e,t){const[n,r]=Is(Ts(e)-t);return bs(Ns({...e,isoDay:e.isoDay+r,...n}))}function Hs(){return Ds(...arguments)/Lf}function Ds(){const[e,t]=_s(...arguments),n=e.valueOf();if(!isNaN(n))return n-t*kf}function _s(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===jd?1:e===Bd?-1:0,c=new Date;return c.setUTCHours(r,o,a,i),c.setUTCFullYear(e,t-1,n+s),[c,s]}function ks(e,t){let[n,r]=us(e,t);r<0&&(r+=Ff,n-=1);const[o,a]=Pi(r,Yf),[i,s]=Pi(a,Rf);return Ls(n*kf+o,i,s)}function Ls(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)-Rd)/kf)*Math.sign(e),o=new Date(e-r*kf);return bi(Ed,[o.getUTCFullYear(),o.getUTCMonth()+1,o.getUTCDate()+r,o.getUTCHours(),o.getUTCMinutes(),o.getUTCSeconds(),o.getUTCMilliseconds(),t,n])}function Rs(e){return[e.isoYear,e.isoMonth,e.isoDay]}function Ys(){return xd}function Ps(e,t){switch(t){case 2:return js(e)?29:28;case 4:case 6:case 9:case 11:return 30}return 31}function Bs(e){return js(e)?366:365}function js(e){return e%4==0&&(e%100!=0||e%400==0)}function Fs(e){const[t,n]=_s(e.isoYear,e.isoMonth,e.isoDay);return Bi(t.getUTCDay()-n,7)||7}function Us(e){let{isoYear:t}=e;return t<1?["bce",1-t]:["ce",t]}function xs(e){const t=Os(e);if(t<Zd)return Us(e);const n=ps(qg(cd),t),{era:r,eraYear:o}=Fh(n,cd);return[r,o]}function Zs(e){return $s(e),Ks(e,1),e}function $s(e){return zs(e,1),e}function Vs(e){return Ci(Md,e,zs(e))}function zs(e,t){const{isoYear:n}=e,r=di(e,"isoMonth",1,Ys(),t);return{isoYear:n,isoMonth:r,isoDay:di(e,"isoDay",1,Ps(n,r),t)}}function Ks(e,t){return bi(Id,[di(e,"isoHour",0,23,t),di(e,"isoMinute",0,59,t),di(e,"isoSecond",0,59,t),di(e,"isoMillisecond",0,999,t),di(e,"isoMicrosecond",0,999,t),di(e,"isoNanosecond",0,999,t)])}function Js(e){return void 0===e?0:sg(Wi(e))}function Gs(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;e=ic(e);const n=cg(e),r=ug(e,t);return[sg(e),r,n]}function Ws(e){return cg(ic(e))}function qs(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=ic(t);let i=ag(t,r,o),s=rc(t),c=dg(t,a);const u=og(t,r,o,1);return null==i?i=Math.max(n,u):fc(i,u),s=oc(s,u,1),e&&(c=(e=>e<4?(e+2)%4:e)(c)),[i,u,s,c]}function Xs(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:6,n=arguments.length>2?arguments[2]:void 0,r=rc(e=sc(e,Vd));const o=dg(e,7);let a=og(e,t);return a=Gi(Vd,a),r=oc(r,a,void 0,n),[a,r,o]}function Qs(e){return hg(ic(e))}function ec(e,t){return tc(ic(e),t)}function tc(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:4;const n=ac(e);return[dg(e,4),...nc(og(e,t),n)]}function nc(e,t){return null!=e?[Uf[e],e<4?9-3*e:-1]:[void 0===t?1:10**(9-t),t]}function rc(e){const t=e[Kd];return void 0===t?1:os(t,Kd)}function oc(e,t,n,r){const o=r?Ff:Uf[t+1];if(o){const n=Uf[t];if(o%((e=gi(Kd,e,1,o/n-(r?0:1),1))*n))throw new RangeError($l(Kd,e))}else e=gi(Kd,e,1,n?10**9:1,1);return e}function ac(e){let t=e[Jd];if(void 0!==t){if("number"!=typeof t){if("auto"===es(t))return;throw new RangeError($l(Jd,t))}t=gi(Jd,Math.floor(t),0,9,1)}return t}function ic(e){return void 0===e?{}:Wi(e)}function sc(e,t){return"string"==typeof e?{[t]:e}:Wi(e)}function cc(e){if(void 0!==e){if(yi(e))return Object.assign(Object.create(null),e);throw new TypeError(xl)}}function uc(e,t){return e&&Object.assign(Object.create(null),e,{overflow:qd[t]})}function hc(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=es(a),"auto"===a)return o?r:null;let i=Df[a];if(void 0===i&&(i=vd[a]),void 0===i)throw new RangeError(Gl(e,a,Df));return gi(e,i,r,n,1,_f),i}function lc(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=es(o),i=t[a];if(void 0===i)throw new RangeError(Gl(e,a,t));return i}function fc(e,t){if(t>e)throw new RangeError(Tf)}function dc(e){return{branding:vg,epochNanoseconds:e}}function gc(e,t,n){return{branding:wg,calendar:n,timeZone:t,epochNanoseconds:e}}function mc(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:e.calendar;return{branding:Sg,calendar:t,...Ei(Cd,e)}}function yc(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:e.calendar;return{branding:yg,calendar:t,...Ei(Od,e)}}function Sc(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:e.calendar;return{branding:gg,calendar:t,...Ei(Od,e)}}function pc(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:e.calendar;return{branding:mg,calendar:t,...Ei(Od,e)}}function wc(e){return{branding:pg,...Ei(Nd,e)}}function vc(e){return{branding:Ag,sign:Pu(e),...Ei(yd,e)}}function Ac(e){return Ss(e.epochNanoseconds,Yf)[0]}function bc(e){return e.epochNanoseconds}function Tc(e){return"string"==typeof e?e:ld(e.id)}function Ic(e,t){return e===t||Tc(e)===Tc(t)}function Mc(e,t){return ys(Fu(e),Uf[t],1)}function Ec(e,t,n,r,o,a,i){const s=md[n],c={...t,[s]:t[s]+r},u=i(e,o,t),h=i(e,o,c);return[a(u),a(h)]}function Oc(e,t,n){const r=ys(hs(t,n));if(!r)throw new RangeError(cf);return ys(hs(t,e))/r}function Nc(e,t,n,r){return Cc(e,_c(t,n),r)}function Cc(e,t,n){const[r,o]=Hc(e,t,n);return As({...Ou(e,o),...r})}function Hc(e,t,n){return Is(jc(Ts(e),t,n))}function Dc(e){return jc(e,Bf,7)}function _c(e,t){return Uf[e]*t}function kc(e){const t=Lc(e);return[t,Ou(t,1)]}function Lc(e){return Dd(6,e)}function Rc(e,t,n){const r=Math.min($u(e),6);return Uu(Bc(Fu(e,r),t,n),r)}function Yc(e,t,n,r,o,a,i,s,c,u){if(0===r&&1===o)return e;const h=ku(r,s)?_u(s)&&r<6&&n>=6?xc:Uc:Zc;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=Pu(e);for(let u=r+1;u<=n;u++){if(7===u&&7!==n)continue;const r=Td(u,e);r[md[u]]+=c;const h=ys(hs(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 Pc(e,t,n,r,o){if(6===t){const t=(e=>e[0]+e[1]/Ff)(e);return[jc(t,n,r),0]}return Bc(e,_c(t,n),r,o)}function Bc(e,t,n,r){let[o,a]=e;r&&a<0&&(a+=Ff,o-=1);const[i,s]=Pi(jc(a,t,n),Ff);return ss(o+i,s)}function jc(e,t,n){return Fc(e/t,n)*t}function Fc(e,t){return bg[t](e)}function Uc(e,t,n,r,o,a){const i=Pu(e),s=Fu(e),c=Pc(s,r,o,a),u=hs(s,c),h=Math.sign(c[0]-s[0])===i,l=Uu(c,Math.min(n,6));return[{...e,...l},cs(t,u),h]}function xc(e,t,n,r,o,a,i,s,c,u){const h=Pu(e),l=ys(Fu(e,5)),f=_c(r,o);let d=jc(l,f,a);const[g,m]=Ec(i,{...e,...bd},6,h,s,c,u),y=d-ys(hs(g,m));let S=0;y&&Math.sign(y)!==h?t=us(g,d):(S+=h,d=jc(y,f,a),t=us(m,d));const p=xu(d);return[{...e,...p,days:e.days+S},t,Boolean(S)]}function Zc(e,t,n,r,o,a,i,s,c,u){const h=Pu(e),l=md[r],f=Td(r,e);7===r&&(e={...e,weeks:e.weeks+Math.trunc(e.days/7)});const d=Fi(e[l],o)*o;f[l]=d;const[g,m]=Ec(i,f,r,o*h,s,c,u),y=d+Oc(t,g,m)*h*o,S=jc(y,o,a),p=Math.sign(S-y)===h;return f[l]=S,[f,p?m:g,p]}function $c(e,t,n,r){const[o,a,i,s]=(e=>{const t=tc(e=ic(e));return[e.timeZone,...t]})(r),c=void 0!==o;return((e,t,n,r,o,a)=>{n=Bc(n,o,r,1);const i=t.getOffsetNanosecondsFor(n);return eu(ks(n,i),a)+(e?au(Dc(i)):"Z")})(c,t(c?e(o):Tg),n.epochNanoseconds,a,i,s)}function Vc(e,t,n){const[r,o,a,i,s,c]=(e=>{e=ic(e);const t=hg(e),n=ac(e),r=fg(e),o=dg(e,4),a=og(e,4);return[t,lg(e),r,o,...nc(a,n)]})(n);return((e,t,n,r,o,a,i,s,c,u)=>{r=Bc(r,c,s,1);const h=e(n).getOffsetNanosecondsFor(r);return eu(ks(r,h),u)+au(Dc(h),i)+((e,t)=>1!==t?"["+(2===t?"!":"")+Tc(e)+"]":"")(n,a)+iu(t,o)})(e,t.calendar,t.timeZone,t.epochNanoseconds,r,o,a,i,s,c)}function zc(e,t){const[n,r,o,a]=(e=>(e=ic(e),[hg(e),...tc(e)]))(t);return i=e.calendar,s=n,c=a,eu(Cc(e,o,r),c)+iu(i,s);var i,s,c}function Kc(e,t){return n=e.calendar,r=e,o=Qs(t),tu(r)+iu(n,o);var n,r,o}function Jc(e,t){return Xc(e.calendar,nu,e,Qs(t))}function Gc(e,t){return Xc(e.calendar,ru,e,Qs(t))}function Wc(e,t){const[n,r,o]=ec(t);return a=o,ou(Hc(e,r,n)[0],a);var a}function qc(e,t){const[n,r,o]=ec(t,3);return r>1&&(e={...e,...Rc(e,r,n)}),((e,t)=>{const{sign:n}=e,r=-1===n?Yu(e):e,{hours:o,minutes:a}=r,[i,s]=Ss(Fu(r,3),Pf,ji);ju(i);const c=cu(s,t),u=t>=0||!n||c;return(n<0?"-":"")+"P"+Qc({Y:hu(r.years),M:hu(r.months),W:hu(r.weeks),D:hu(r.days)})+(o||a||i||u?"T"+Qc({H:hu(o),M:hu(a),S:hu(i,u)+c}):"")})(e,o)}function Xc(e,t,n,r){const o=Tc(e),a=r>1||0===r&&o!==id;return 1===r?o===id?t(n):tu(n):a?tu(n)+su(o,2===r):t(n)}function Qc(e){const t=[];for(const n in e){const r=e[n];r&&t.push(r,n)}return t.join("")}function eu(e,t){return tu(e)+"T"+ou(e,t)}function tu(e){return nu(e)+"-"+Hf(e.isoDay)}function nu(e){const{isoYear:t}=e;return(t<0||t>9999?uu(t)+Li(6,Math.abs(t)):Li(4,t))+"-"+Hf(e.isoMonth)}function ru(e){return Hf(e.isoMonth)+"-"+Hf(e.isoDay)}function ou(e,t){const n=[Hf(e.isoHour),Hf(e.isoMinute)];return-1!==t&&n.push(Hf(e.isoSecond)+((e,t,n,r)=>cu(e*Yf+t*Rf+n,r))(e.isoMillisecond,e.isoMicrosecond,e.isoNanosecond,t)),n.join(":")}function au(e){if(1===(arguments.length>1&&void 0!==arguments[1]?arguments[1]:0))return"";const[t,n]=Pi(Math.abs(e),jf),[r,o]=Pi(n,Bf),[a,i]=Pi(o,Pf);return uu(e)+Hf(t)+":"+Hf(r)+(a||i?":"+Hf(a)+cu(i):"")}function iu(e,t){if(1!==t){const n=Tc(e);if(t>1||0===t&&n!==id)return su(n,2===t)}return""}function su(e,t){return"["+(t?"!":"")+"u-ca="+e+"]"}function cu(e,t){let n=Li(9,e);return n=void 0===t?n.replace(Og,""):n.slice(0,t),n?"."+n:""}function uu(e){return e<0?"-":"+"}function hu(e,t){return e||t?e.toLocaleString("fullwide",{useGrouping:0}):""}function lu(e,t){const{epochNanoseconds:n}=e,r=(t.getOffsetNanosecondsFor?t:t(e.timeZone)).getOffsetNanosecondsFor(n),o=ks(n,r);return{calendar:e.calendar,...o,offsetNanoseconds:r}}function fu(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 Cs(t,n);const s=e.getPossibleInstantsFor(t);if(void 0!==n&&3!==r){const e=((e,t,n,r)=>{const o=Ns(t);r&&(n=Dc(n));for(const t of e){let e=ys(hs(t,o));if(r&&(e=Dc(e)),e===n)return t}})(s,t,n,a);if(void 0!==e)return e;if(0===r)throw new RangeError(mf)}return i?Ns(t):du(e,t,o,s)}function du(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(yf);if(r.length)return r[3===n?1:0];const o=Ns(t),a=((e,t)=>{const n=e.getOffsetNanosecondsFor(us(t,-Ff));return mu(e.getOffsetNanosecondsFor(us(t,Ff))-n)})(e,o),i=a*(2===n?-1:1);return(r=e.getPossibleInstantsFor(ks(o,i)))[2===n?0:r.length-1]}function gu(e){if(Math.abs(e)>=Ff)throw new RangeError(df);return e}function mu(e){if(e>Ff)throw new RangeError(gf);return e}function yu(e,t,n){return dc(bs(cs(t.epochNanoseconds,(e=>{if(Zu(e))throw new RangeError(Af);return Fu(e,5)})(e?Yu(n):n))))}function Su(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,...bu(i,s,r,n?Yu(o):o,a)}}function pu(e,t,n,r){let o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:Object.create(null);const{calendar:a}=n;return mc(Tu(e(a),n,t?Yu(r):r,o),a)}function wu(e,t,n,r,o){const{calendar:a}=n;return yc(Iu(e(a),n,t?Yu(r):r,o),a)}function vu(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=Mu(i,n);t&&(r=Ru(r)),r.sign<0&&(s=i.dateAdd(s,{...Ad,months:1}),s=Ou(s,-1));const c=i.dateAdd(s,r,o);return Sc(Mu(i,c),a)}function Au(e,t,n){return wc(Eu(t,e?Yu(n):n)[0])}function bu(e,t,n,r,o){const a=Fu(r,5);let i=n.epochNanoseconds;if(Zu(r)){const s=Ng(n,e);i=cs(du(e,{...Iu(t,s,{...r,...bd},o),...Ei(Id,s)}),a)}else i=cs(i,a),Js(o);return{epochNanoseconds:bs(i)}}function Tu(e,t,n,r){const[o,a]=Eu(t,n);return As({...Iu(e,t,{...n,...bd,days:n.days+a},r),...o})}function Iu(e,t,n,r){if(n.years||n.months||n.weeks)return e.dateAdd(t,n,r);Js(r);const o=n.days+Fu(n,5)[0];return o?vs(Ou(t,o)):t}function Mu(e,t){return Ou(t,(arguments.length>2&&void 0!==arguments[2]?arguments[2]:1)-e.day(t))}function Eu(e,t){const[n,r]=Fu(t,5),[o,a]=Is(Ts(e)+r);return[o,n+a]}function Ou(e,t){return t?{...e,...Ls(Os(e)+t*kf)}:e}function Nu(e,t,n){const r=e(n.calendar);return _u(n)?[n,r,t(n.timeZone)]:[{...n,...Hd},r]}function Cu(e){return e?bc:Ns}function Hu(e){return e?Di(bu,e):Tu}function Du(e){return e?Di(Oh,e):Nh}function _u(e){return e&&e.epochNanoseconds}function ku(e,t){return e<=6-(_u(t)?1:0)}function Lu(e,t,n,r,o,a,i){const s=e(ic(i).relativeTo),c=Math.max($u(o),$u(a));if(ku(c,s))return vc(Bu(((e,t,n,r)=>{const o=cs(Fu(e),Fu(t),r?-1:1);if(!Number.isFinite(o[0]))throw new RangeError(Sf);return{...Ad,...Uu(o,n)}})(o,a,c,r)));if(!s)throw new RangeError(vf);r&&(a=Yu(a));const[u,h,l]=Nu(t,n,s),f=Hu(l),d=Du(l),g=f(h,u,o);return vc(d(h,u,f(h,g,a),c))}function Ru(e){return vc(Yu(e))}function Yu(e){const t={};for(const n of md)t[n]=-1*e[n]||0;return t}function Pu(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:md,n=0;for(const r of t){const t=Math.sign(e[r]);if(t){if(n&&n!==t)throw new RangeError(wf);n=t}}return n}function Bu(e){for(const t of wd)gi(t,e[t],-Cg,Cg,1);return ju(ys(Fu(e),Pf)),e}function ju(e){if(!Number.isSafeInteger(e))throw new RangeError(pf)}function Fu(e){return Zi(e,arguments.length>1&&void 0!==arguments[1]?arguments[1]:6,md)}function Uu(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:6;const[n,r]=e,o=$i(r,t,md);if(o[md[t]]+=n*(Ff/Uf[t]),!Number.isFinite(o[md[t]]))throw new RangeError(Sf);return o}function xu(e){return $i(e,arguments.length>1&&void 0!==arguments[1]?arguments[1]:5,md)}function Zu(e){return Boolean(Pu(e,pd))}function $u(e){let t=9;for(;t>0&&!e[md[t]];t--);return t}function Vu(e,t){return[e,t]}function zu(e){const t=Math.floor(e/Ig)*Ig;return[t,t+Ig]}function Ku(e){const t=rh(e);if(void 0===t)throw new RangeError(If(e));return t}function Ju(e){const t=eh(ld(e));if(!t||t.m)throw new RangeError(If(e));return yc(t.p?qu(t):Xu(t))}function Gu(e){if(e.calendar!==id)throw new RangeError(Mf(e.calendar))}function Wu(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=lh(e.timeZone),a=Hg(o);return gc(fu(a,Zs(e),t,n,r,!a.v,e.m),o,Gh(e.calendar))}function qu(e){return Qu(As(Zs(e)))}function Xu(e){return Qu(vs($s(e)))}function Qu(e){return{...e,calendar:Gh(e.calendar)}}function eh(e){const t=Zg.exec(e);return t?(e=>{const t=e[10],n="Z"===(t||"").toUpperCase();return{isoYear:oh(e),isoMonth:parseInt(e[4]),isoDay:parseInt(e[5]),...ah(e.slice(5)),...ih(e[16]),p:Boolean(e[6]),m:n,offset:n?void 0:t}})(t):void 0}function th(e){const t=Ug.exec(e);return t?(e=>({isoYear:oh(e),isoMonth:parseInt(e[4]),isoDay:1,...ih(e[5])}))(t):void 0}function nh(e){const t=xg.exec(e);return t?(e=>({isoYear:Ud,isoMonth:parseInt(e[1]),isoDay:parseInt(e[2]),...ih(e[3])}))(t):void 0}function rh(e,t){const n=Vg.exec(e);return n?((e,t)=>{const n=e[4]||e[5];if(t&&n)throw new RangeError(Mf(n));return gu((hh(e[2])*jf+hh(e[3])*Bf+hh(e[4])*Pf+sh(e[5]||""))*uh(e[1]))})(n,t):void 0}function oh(e){const t=uh(e[1]),n=parseInt(e[2]||e[3]);if(t<0&&!n)throw new RangeError(Mf(-0));return t*n}function ah(e){const t=hh(e[3]);return{...Is(sh(e[4]||""))[0],isoHour:hh(e[1]),isoMinute:hh(e[2]),isoSecond:60===t?59:t}}function ih(e){let t,n;const r=[];if(e.replace(zg,((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(Mf(e))}else{if(n)throw new RangeError(Mf(e));n=s}return""})),r.length>1&&t)throw new RangeError(Mf(e));return{timeZone:n,calendar:r[0]||id}}function sh(e){return parseInt(e.padEnd(9,"0"))}function ch(e){return new RegExp(`^${e}$`,"i")}function uh(e){return e&&"+"!==e?-1:1}function hh(e){return void 0===e?0:parseInt(e)}function lh(e){const t=dh(e);return"number"==typeof t?au(t):t?(e=>{if(Gg.test(e))throw new RangeError(ff);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?_i(e).replace(/island|noronha|murdo|rivadavia|urville/,_i):e)))).join("/")})(e):Tg}function fh(e){const t=dh(e);return"number"==typeof t?t:t?t.resolvedOptions().timeZone:Tg}function dh(e){const t=rh(e=e.toUpperCase(),1);return void 0!==t?t:e!==Tg?Jg(e):void 0}function gh(e,t){return ls(e.epochNanoseconds,t.epochNanoseconds)}function mh(e,t){return ls(e.epochNanoseconds,t.epochNanoseconds)}function yh(e,t){return Sh(e,t)||ph(e,t)}function Sh(e,t){return Ri(Os(e),Os(t))}function ph(e,t){return Ri(Ts(e),Ts(t))}function wh(e,t){if(e===t)return 1;const n=Tc(e),r=Tc(t);if(n===r)return 1;try{return fh(n)===fh(r)}catch(e){}}function vh(e,t,n,r){const o=qs(e,cc(r),3,5),a=Dh(t.epochNanoseconds,n.epochNanoseconds,...o);return vc(e?Yu(a):a)}function Ah(e,t,n,r,o,a){const i=Yh(r.calendar,o.calendar),s=cc(a),[c,u,h,l]=qs(n,s,5),f=r.epochNanoseconds,d=o.epochNanoseconds,g=ls(d,f);let m;if(g)if(c<6)m=Dh(f,d,c,u,h,l);else{const n=t(((e,t)=>{if(!wh(e,t))throw new RangeError(lf);return e})(r.timeZone,o.timeZone)),a=e(i);m=Ch(a,n,r,o,g,c,s),m=Yc(m,d,c,u,h,l,a,r,bc,Di(bu,n))}else m=Ad;return vc(n?Yu(m):m)}function bh(e,t,n,r,o){const a=Yh(n.calendar,r.calendar),i=cc(o),[s,c,u,h]=qs(t,i,6),l=Ns(n),f=Ns(r),d=ls(f,l);let g;if(d)if(s<=6)g=Dh(l,f,s,c,u,h);else{const t=e(a);g=Hh(t,n,r,d,s,i),g=Yc(g,f,s,c,u,h,t,n,Ns,Tu)}else g=Ad;return vc(t?Yu(g):g)}function Th(e,t,n,r,o){const a=Yh(n.calendar,r.calendar),i=cc(o);return Mh(t,(()=>e(a)),n,r,...qs(t,i,6,9,6),i)}function Ih(e,t,n,r,o){const a=Yh(n.calendar,r.calendar),i=cc(o),s=qs(t,i,9,9,8),c=e(a);return Mh(t,(()=>c),Mu(c,n),Mu(c,r),...s,i)}function Mh(e,t,n,r,o,a,i,s,c){const u=Ns(n),h=Ns(r);let l;if(ls(h,u))if(6===o)l=Dh(u,h,o,a,i,s);else{const e=t();l=e.dateUntil(n,r,o,c),6===a&&1===i||(l=Yc(l,h,o,a,i,s,e,n,Ns,Iu))}else l=Ad;return vc(e?Yu(l):l)}function Eh(e,t,n,r){const o=cc(r),[a,i,s,c]=qs(e,o,5,5),u=jc(Rh(t,n),_c(i,s),c),h={...Ad,...xu(u,a)};return vc(e?Yu(h):h)}function Oh(e,t,n,r,o,a){const i=ls(r.epochNanoseconds,n.epochNanoseconds);return i?o<6?_h(n.epochNanoseconds,r.epochNanoseconds,o):Ch(t,e,n,r,i,o,a):Ad}function Nh(e,t,n,r,o){const a=Ns(t),i=Ns(n),s=ls(i,a);return s?r<=6?_h(a,i,r):Hh(e,t,n,s,r,o):Ad}function Ch(e,t,n,r,o,a,i){const[s,c,u]=((e,t,n,r)=>{function o(){return l={...Ou(s,u++*-r),...i},f=du(e,l),ls(c,f)===-r}const a=Ng(t,e),i=Ei(Id,a),s=Ng(n,e),c=n.epochNanoseconds;let u=0;const h=Rh(a,s);let l,f;if(Math.sign(h)===-r&&u++,o()&&(-1===r||o()))throw new RangeError(cf);const d=ys(hs(f,c));return[a,l,d]})(t,n,r,o);var h,l;return{...6===a?(h=s,l=c,{...Ad,days:kh(h,l)}):e.dateUntil(s,c,a,i),...xu(u)}}function Hh(e,t,n,r,o,a){const[i,s,c]=((e,t,n)=>{let r=t,o=Rh(e,t);return Math.sign(o)===-n&&(r=Ou(t,-n),o+=Ff*n),[e,r,o]})(t,n,r);return{...e.dateUntil(i,s,o,a),...xu(c)}}function Dh(e,t,n,r,o,a){return{...Ad,...Uu(Pc(hs(e,t),r,o,a),n)}}function _h(e,t,n){return{...Ad,...Uu(hs(e,t),n)}}function kh(e,t){return Lh(Os(e),Os(t))}function Lh(e,t){return Math.trunc((t-e)/kf)}function Rh(e,t){return Ts(t)-Ts(e)}function Yh(e,t){if(!Ic(e,t))throw new RangeError(uf);return e}function Ph(e){function t(e){return((e,t)=>({...Fh(e,t),F:e.month,day:parseInt(e.day)}))(ps(n,e),r)}const n=qg(e),r=Wh(e);return{id:e,O:Bh(t),B:jh(t)}}function Bh(e){return Si((t=>{const n=Os(t);return e(n)}),WeakMap)}function jh(e){const t=e(0).year-Fd;return Si((n=>{let r,o=Ds(n-t);const a=[],i=[];do{o+=400*kf}while((r=e(o)).year<=n);do{o+=(1-r.day)*kf,r.year===n&&(a.push(o),i.push(r.F)),o-=kf}while((r=e(o)).year>=n);return{k:a.reverse(),C:Nf(i.reverse())}}))}function Fh(e,t){let n,r,o=Uh(e);if(e.era){const a=ud[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=rl(r,a[n]||0))}return{era:n,eraYear:r,year:o}}function Uh(e){return parseInt(e.relatedYear||e.year)}function xh(e){const{year:t,F:n,day:r}=this.O(e),{C:o}=this.B(t);return[t,o[n]+1,r]}function Zh(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)*kf}function $h(e){const t=Jh(this,e),n=Jh(this,e-1),r=t.length;if(r>n.length){const e=al(this);if(e<0)return-e;for(let e=0;e<r;e++)if(t[e]!==n[e])return e+1}}function Vh(e){return Lh(Zh.call(this,e),Zh.call(this,e+1))}function zh(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),Lh(n[t-1],o[r-1])}function Kh(e){return this.B(e).k.length}function Jh(e,t){return Object.keys(e.B(t).C)}function Gh(e){if((e=e.toLowerCase())!==id&&e!==sd&&Wh(e)!==Wh(qg(e).resolvedOptions().calendar))throw new RangeError(hf(e));return e}function Wh(e){return"islamicc"===e&&(e="islamic"),e.split("-")[0]}function qh(e){return this.R(e)[0]}function Xh(e){return this.R(e)[1]}function Qh(e){const[t]=this.h(e);return Lh(this.q(t),Os(e))+1}function el(e){const t=Xg.exec(e);if(!t)throw new RangeError(nf(e));return[parseInt(t[1]),Boolean(t[2])]}function tl(e,t,n){return e+(t||n&&e>=n?1:0)}function nl(e,t){return e-(t&&e>=t?1:0)}function rl(e,t){return(t+e)*(Math.sign(t)||1)||0}function ol(e){return ud[il(e)]}function al(e){return hd[il(e)]}function il(e){return Wh(e.id||id)}function sl(e,t,n,r){const o=ll(n,r,nd,[],Kf);if(void 0!==o.timeZone){const r=n.dateFromFields(o),a=dl(o),i=e(o.timeZone);return{epochNanoseconds:fu(t(i),{...r,...a},void 0!==o.offset?Ku(o.offset):void 0),timeZone:i}}return{...n.dateFromFields(o),...Hd}}function cl(e,t,n){const r=ll(e,t,nd,arguments.length>3&&void 0!==arguments[3]?arguments[3]:[]);return e.dateFromFields(r,n)}function ul(e,t,n,r){const o=ll(e,t,ed,r);return e.yearMonthFromFields(o,n)}function hl(e,t,n,r){const o=ll(e,n,nd,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=Ud),e.monthDayFromFields(o,r)}function ll(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 fl(t,[...e.fields(n),...o].sort(),r)}function fl(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(Kl(r));if("constructor"===r||"__proto__"===r)throw new RangeError(zl(r));let t=e[r];if(void 0!==t)i=1,nm[r]&&(t=nm[r](t,r)),o[r]=t;else if(n){if(n.includes(r))throw new TypeError(Vl(r));o[r]=ad[r]}a=r}if(r&&!i)throw new TypeError(Jl(t));return o}function dl(e,t){return Ks(rm({...ad,...e}),t)}function gl(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=fl(t,i,a);const c=fl(n,i);return s=e.mergeFields(s,c),fl(s,i,[])}function ml(e,t){const n=ll(e,t,od);return e.monthDayFromFields(n)}function yl(e,t,n){const r=ll(e,t,td);return e.yearMonthFromFields(r,n)}function Sl(e,t,n,r,o){t=Ei(n=e.fields(n),t),r=fl(r,o=e.fields(o),[]);let a=e.mergeFields(t,r);return a=fl(a,[...n,...o].sort(),[]),e.dateFromFields(a)}function pl(e,t){let{era:n,eraYear:r,year:o}=t;const a=ol(e);if(void 0!==n||void 0!==r){if(void 0===n||void 0===r)throw new TypeError(Xl);if(!a)throw new RangeError(ql);const e=a[n];if(void 0===e)throw new RangeError(ef(n));const t=rl(r,e);if(void 0!==o&&o!==t)throw new RangeError(Ql);o=t}else if(void 0===o)throw new TypeError(tf(a));return o}function wl(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]=el(t);let s=tl(a,i,o);if(i){const t=al(e);if(void 0===t)throw new RangeError(sf);if(t>0){if(s>t)throw new RangeError(sf);if(void 0===o){if(1===r)throw new RangeError(sf);s--}}else{if(s!==-t)throw new RangeError(sf);if(void 0===o&&1===r)throw new RangeError(sf)}}return s})(e,a,n,r);if(void 0!==o&&o!==t)throw new RangeError(rf);o=t,r=1}else if(void 0===o)throw new TypeError(of);return gi("month",o,1,e.L(n),r)}function vl(e,t,n,r,o){return di(t,"day",1,e.j(r,n),o)}function Al(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 bl(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:id;return gc(e.epochNanoseconds,t,n)}function Tl(e,t){return mc(Ng(t,e))}function Il(e,t){return yc(Ng(t,e))}function Ml(e,t){return wc(Ng(t,e))}function El(e,t){return{...e,calendar:t}}function Ol(e,t){if(e===t)return e;const n=Tc(e),r=Tc(t);if(n===r||n===id)return t;if(r===id)return e;throw new RangeError(uf)}function Nl(e,t){return n=>n===id?e:n===sd||n===cd?Object.assign(Object.create(e),{id:n}):Object.assign(Object.create(t),Wg(n))}function Cl(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=Oi(r,o),e)||Object.assign(o,t),n&&(o.timeZone=Tg,["full","long"].includes(o.timeStyle)&&(o.timeStyle="medium")),o)}function Hl(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Dl;const[n,,,r]=e;return function(o){let a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:_m;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,..._l(e,h,s)]}}function Dl(e,t,n,r){if(n=r(n),e){if(void 0!==n.timeZone)throw new TypeError(Of);n.timeZone=e}return new _d(t,n)}function _l(e,t,n){const[,r,o]=e;return n.map((e=>(e.calendar&&((e,t,n)=>{if((n||e!==id)&&e!==t)throw new RangeError(uf)})(Tc(e.calendar),t.calendar,o),r(e,t))))}function kl(e){const t=Ll();return ks(t,e.getOffsetNanosecondsFor(t))}function Ll(){return gs(Date.now(),Yf)}function Rl(){return Fm||(Fm=(new _d).resolvedOptions().timeZone)}(function(e,t){var n,r,o,a,i,s=e.target,c=e.global,u=e.stat;if(n=c?Oa:u?Oa[s]||Da(s,{}):Oa[s]&&Oa[s].prototype)for(r in t){if(a=t[r],o=e.dontCallGetSet?(i=Na(n,r))&&i.value:n[r],!ka(c?r:s+(u?".":"#")+r,e.forced)&&void 0!==o){if(typeof a==typeof o)continue;_a(a,o)}(e.sham||o&&o.sham)&&Ca(a,"sham",!0),Ha(n,r,a,e)}})({target:"Array",proto:!0,forced:We((function(){return!Array(1).includes()}))},{includes:function(e){return li(this,e,arguments.length>1?arguments[1]:void 0)}}),fi("includes");const Yl=(e,t)=>`Non-integer ${e}: ${t}`,Pl=(e,t)=>`Non-positive ${e}: ${t}`,Bl=(e,t)=>`Non-finite ${e}: ${t}`,jl=e=>`Cannot convert bigint to ${e}`,Fl=e=>`Invalid bigint: ${e}`,Ul="Cannot convert Symbol to string",xl="Invalid object",Zl=(e,t,n,r,o)=>o?Zl(e,o[t],o[n],o[r]):$l(e,t)+`; must be between ${n}-${r}`,$l=(e,t)=>`Invalid ${e}: ${t}`,Vl=e=>`Missing ${e}`,zl=e=>`Invalid field ${e}`,Kl=e=>`Duplicate field ${e}`,Jl=e=>"No valid fields: "+e.join(),Gl=(e,t,n)=>$l(e,t)+"; must be "+Object.keys(n).join(),Wl="Invalid calling context",ql="Forbidden era/eraYear",Xl="Mismatching era/eraYear",Ql="Mismatching year/eraYear",ef=e=>`Invalid era: ${e}`,tf=e=>"Missing year"+(e?"/era/eraYear":""),nf=e=>`Invalid monthCode: ${e}`,rf="Mismatching month/monthCode",of="Missing month/monthCode",af="Cannot guess year",sf="Invalid leap month",cf="Invalid protocol results",uf="Mismatching Calendars",hf=e=>`Invalid Calendar: ${e}`,lf="Mismatching TimeZones",ff="Forbidden ICU TimeZone",df="Out-of-bounds offset",gf="Out-of-bounds TimeZone gap",mf="Invalid TimeZone offset",yf="Ambiguous offset",Sf="Out-of-bounds date",pf="Out-of-bounds duration",wf="Cannot mix duration signs",vf="Missing relativeTo",Af="Cannot use large units",bf="Required smallestUnit or largestUnit",Tf="smallestUnit > largestUnit",If=e=>`Cannot parse: ${e}`,Mf=e=>`Invalid substring: ${e}`,Ef=e=>`Cannot format ${e}`,Of="Cannot specify TimeZone",Nf=Di(Ii,((e,t)=>t)),Cf=Di(Ii,((e,t,n)=>n)),Hf=Di(Li,2),Df={nanosecond:0,microsecond:1,millisecond:2,second:3,minute:4,hour:5,day:6,week:7,month:8,year:9},_f=Object.keys(Df),kf=864e5,Lf=1e3,Rf=1e3,Yf=1e6,Pf=1e9,Bf=6e10,jf=36e11,Ff=864e11,Uf=[1,Rf,Yf,Pf,Bf,jf,Ff],xf=_f.slice(0,6),Zf=ki(xf),$f=["offset"],Vf=["timeZone"],zf=xf.concat($f),Kf=zf.concat(Vf),Jf=["era","eraYear"],Gf=Jf.concat(["year"]),Wf=["year"],qf=["monthCode"],Xf=["month"].concat(qf),Qf=["day"],ed=Xf.concat(Wf),td=qf.concat(Wf),nd=Qf.concat(ed),rd=Qf.concat(Xf),od=Qf.concat(qf),ad=Cf(xf,0),id="iso8601",sd="gregory",cd="japanese",ud={[sd]:{bce:-1,ce:0},[cd]:{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}},hd={chinese:13,dangi:13,hebrew:-6},ld=Di(qi,"string"),fd=Di(qi,"boolean"),dd=Di(qi,"number"),gd=Di(qi,"function"),md=_f.map((e=>e+"s")),yd=ki(md),Sd=md.slice(0,6),pd=md.slice(6),wd=pd.slice(1),vd=Nf(md),Ad=Cf(md,0),bd=Cf(Sd,0),Td=Di(Hi,md),Id=["isoNanosecond","isoMicrosecond","isoMillisecond","isoSecond","isoMinute","isoHour"],Md=["isoDay","isoMonth","isoYear"],Ed=Id.concat(Md),Od=ki(Md),Nd=ki(Id),Cd=ki(Ed),Hd=Cf(Nd,0),Dd=Di(Hi,Ed),_d=Intl.DateTimeFormat,kd="en-GB",Ld=1e8,Rd=Ld*kf,Yd=[Ld,0],Pd=[-Ld,0],Bd=275760,jd=-271821,Fd=1970,Ud=1972,xd=12,Zd=Ds(1868,9,8),$d=Si(xs,WeakMap),Vd="smallestUnit",zd="unit",Kd="roundingIncrement",Jd="fractionalSecondDigits",Gd="relativeTo",Wd={constrain:0,reject:1},qd=Object.keys(Wd),Xd={compatible:0,reject:1,earlier:2,later:3},Qd={reject:0,use:1,prefer:2,ignore:3},eg={auto:0,never:1,critical:2,always:3},tg={auto:0,never:1,critical:2},ng={auto:0,never:1},rg={floor:0,halfFloor:1,ceil:2,halfCeil:3,trunc:4,halfTrunc:5,expand:6,halfExpand:7,halfEven:8},og=Di(hc,Vd),ag=Di(hc,"largestUnit"),ig=Di(hc,zd),sg=Di(lc,"overflow",Wd),cg=Di(lc,"disambiguation",Xd),ug=Di(lc,"offset",Qd),hg=Di(lc,"calendarName",eg),lg=Di(lc,"timeZoneName",tg),fg=Di(lc,"offset",ng),dg=Di(lc,"roundingMode",rg),gg="PlainYearMonth",mg="PlainMonthDay",yg="PlainDate",Sg="PlainDateTime",pg="PlainTime",wg="ZonedDateTime",vg="Instant",Ag="Duration",bg=[Math.floor,e=>xi(e)?Math.floor(e):Math.round(e),Math.ceil,e=>xi(e)?Math.ceil(e):Math.round(e),Math.trunc,e=>xi(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=>xi(e)?(e=Math.trunc(e)||0)+e%2:Math.round(e)],Tg="UTC",Ig=5184e3,Mg=Hs(1847),Eg=Hs((new Date).getUTCFullYear()+10),Og=/0+$/,Ng=Si(lu,WeakMap),Cg=2**32-1,Hg=Si((e=>{const t=dh(e);return"object"==typeof t?new _g(t):new Dg(t||0)}));class Dg{constructor(e){this.v=e}getOffsetNanosecondsFor(){return this.v}getPossibleInstantsFor(e){return[Cs(e,this.v)]}l(){}}class _g{constructor(e){this.$=(e=>{function t(e){const t=Yi(e,a,i),[s,c]=zu(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=Si(e),o=Si(Vu);let a=Mg,i=Eg;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=Yi(e,a,i);let[c,u]=zu(s);const h=Ig*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((Ri(s,e)||1)===t)return s}c+=h,u+=h}}}})((e=>t=>{const n=ps(e,t*Lf);return Hs(Uh(n),parseInt(n.month),parseInt(n.day),parseInt(n.hour),parseInt(n.minute),parseInt(n.second))-t})(e))}getOffsetNanosecondsFor(e){return this.$.V(Ms(e))*Pf}getPossibleInstantsFor(e){const[t,n]=[Hs((r=e).isoYear,r.isoMonth,r.isoDay,r.isoHour,r.isoMinute,r.isoSecond),r.isoMillisecond*Yf+r.isoMicrosecond*Rf+r.isoNanosecond];var r;return this.$.G(t).map((e=>bs(us(gs(e,Pf),n))))}l(e,t){const[n,r]=Es(e),o=this.$.l(n+(t>0||r?1:0),t);if(void 0!==o)return gs(o,Pf)}}const kg="([+−-])",Lg="(?:[.,](\\d{1,9}))?",Rg=`(?:(?:${kg}(\\d{6}))|(\\d{4}))-?(\\d{2})`,Yg="(\\d{2})(?::?(\\d{2})(?::?(\\d{2})"+Lg+")?)?",Pg=kg+Yg,Bg=Rg+"-?(\\d{2})(?:[T ]"+Yg+"(Z|"+Pg+")?)?",jg="\\[(!?)([^\\]]*)\\]",Fg=`((?:${jg}){0,9})`,Ug=ch(Rg+Fg),xg=ch("(?:--)?(\\d{2})-?(\\d{2})"+Fg),Zg=ch(Bg+Fg),$g=ch("T?"+Yg+"(?:"+Pg+")?"+Fg),Vg=ch(Pg),zg=new RegExp(jg,"g"),Kg=ch(`${kg}?P(\\d+Y)?(\\d+M)?(\\d+W)?(\\d+D)?(?:T(?:(\\d+)${Lg}H)?(?:(\\d+)${Lg}M)?(?:(\\d+)${Lg}S)?)?`),Jg=Si((e=>new _d(kd,{timeZone:e,era:"short",year:"numeric",month:"numeric",day:"numeric",hour:"numeric",minute:"numeric",second:"numeric"}))),Gg=/^(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$/,Wg=Si(Ph),qg=Si((e=>new _d(kd,{calendar:e,timeZone:Tg,era:"short",year:"numeric",month:"short",day:"numeric"}))),Xg=/^M(\d{2})(L?)$/,Qg={era:ts,eraYear:os,year:os,month:is,monthCode:ts,day:is},em=Cf(xf,os),tm=Cf(md,as),nm=Object.assign({},Qg,em,tm,{offset:ts}),rm=Di(Mi,xf,Id),om={dateAdd(e,t,n){const r=Js(n);let o,{years:a,months:i,weeks:s,days:c}=t;if(c+=Fu(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=tl(t,r,e.U(a)),i=gi("month",i,1,e.L(a),o)}return r&&([a,i]=e._(a,i,r)),s=gi("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=Os(e)}return o+=(7*s+c)*kf,vs(Ls(o))},dateUntil(e,t,n){if(n<=7){let r=0,o=kh({...e,...Hd},{...t,...Hd});return 7===n&&([r,o]=ji(o,7)),{...Ad,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-tl(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),{...Ad,years:a,months:i,days:s}},dateFromFields(e,t){const n=Js(t),r=pl(this,e),o=wl(this,e,r,n),a=vl(this,e,o,r,n);return yc(vs(this.P(r,o,a)),this.id||id)},yearMonthFromFields(e,t){const n=Js(t),r=pl(this,e),o=wl(this,e,r,n);return Sc(ws(this.P(r,o,1)),this.id||id)},monthDayFromFields(e,t){const n=Js(t),r=!this.id,{monthCode:o,year:a,month:i}=e;let s,c,u,h,l;if(void 0!==o){[s,c]=el(o),l=mi(e,"day");const t=this.N(s,c,l);if(!t)throw new RangeError(af);if([u,h]=t,void 0!==i&&i!==h)throw new RangeError(rf);r&&(h=gi("month",h,1,xd,1),l=gi("day",l,1,Ps(void 0!==a?a:u,h),n))}else{u=void 0===a&&r?Ud:pl(this,e),h=wl(this,e,u,n),l=vl(this,e,h,u,n);const t=this.U(u);c=h===t,s=nl(h,t);const o=this.N(s,c,l);if(!o)throw new RangeError(af);[u,h]=o}return pc(vs(this.P(u,h,l)),this.id||id)},fields(e){return ol(this)&&e.includes("year")?[...e,...Jf]:e},mergeFields(e,t){const n=Object.assign(Object.create(null),e);return Al(n,t,Xf),ol(this)&&(Al(n,t,Gf),this.id===cd&&Al(n,t,rd,Jf)),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:Qh,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"+Hf(e)+(t?"L":""))(r,o)},dayOfWeek:Fs,daysInWeek:()=>7},am={dayOfYear:Qh,h:Rs,q:Ds},im=Object.assign({},am,{weekOfYear:qh,yearOfWeek:Xh,R(e){function t(e){return(7-e<r?7:0)-e}function n(e){const n=Bs(f+e),r=e||1,o=t(Bi(c+n*r,7));return h=(n+(o-u)*r)/7}const r=this.id?1:4,o=Fs(e),a=this.dayOfYear(e),i=Bi(o-1,7),s=a-1,c=Bi(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]}}),sm={dayOfYear:Qh,h:xh,q:Zh,weekOfYear:qh,yearOfWeek:Xh,R:()=>[]},cm=Nl(Object.assign({},om,im,{h:Rs,ee(e){return this.id===sd?Us(e):this.id===cd?$d(e):[]},I:(e,t)=>[t,0],N(e,t){if(!t)return[Ud,e]},K:js,U(){},L:Ys,J:e=>e*xd,j:Ps,X:Bs,P:(e,t,n)=>({isoYear:e,isoMonth:t,isoDay:n}),q:Ds,_:(e,t,n)=>(e+=Fi(n,xd),(t+=Ui(n,xd))<1?(e--,t+=xd):t>xd&&(e++,t-=xd),[e,t]),year:e=>e.isoYear,month:e=>e.isoMonth,day:e=>e.isoDay}),Object.assign({},om,sm,{h:xh,ee(e){const t=this.O(e);return[t.era,t.eraYear]},I(e,t){const n=$h.call(this,e);return[nl(t,n),n===t]},N(e,t,n){let[r,o,a]=xh.call(this,{isoYear:Ud,isoMonth:xd,isoDay:31});const i=$h.call(this,r),s=o===i;1===(Ri(e,nl(o,i))||Ri(Number(t),Number(s))||Ri(n,a))&&r--;for(let o=0;o<100;o++){const a=r-o,i=$h.call(this,a),s=tl(e,t,i);if(t===(s===i)&&n<=zh.call(this,a,s))return[a,s]}},K(e){const t=Vh.call(this,e);return t>Vh.call(this,e-1)&&t>Vh.call(this,e+1)},U:$h,L:Kh,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+=Kh.call(this,e+o);return a},j:zh,X:Vh,P(e,t,n){return Ls(Zh.call(this,e,t,n))},q:Zh,_(e,t,n){if(n){if(t+=n,!Number.isSafeInteger(t))throw new RangeError(Sf);if(n<0)for(;t<1;)t+=Kh.call(this,--e);else{let n;for(;t>(n=Kh.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}})),um="numeric",hm=["timeZoneName"],lm={month:um,day:um},fm={year:um,month:um},dm=Object.assign({},fm,{day:um}),gm={hour:um,minute:um,second:um},mm=Object.assign({},dm,gm),ym=Object.assign({},mm,{timeZoneName:"short"}),Sm=Object.keys(fm),pm=Object.keys(lm),wm=Object.keys(dm),vm=Object.keys(gm),Am=["dateStyle"],bm=Sm.concat(Am),Tm=pm.concat(Am),Im=wm.concat(Am,["weekday"]),Mm=vm.concat(["dayPeriod","timeStyle"]),Em=Im.concat(Mm),Om=Em.concat(hm),Nm=hm.concat(Mm),Cm=hm.concat(Im),Hm=hm.concat(["day","weekday"],Mm),Dm=hm.concat(["year","weekday"],Mm),_m={},km=[Cl(Em,mm),Ac],Lm=[Cl(Om,ym),Ac,0,(e,t)=>{const n=Tc(e.timeZone);if(t&&Tc(t.timeZone)!==n)throw new RangeError(lf);return n}],Rm=[Cl(Em,mm,hm),Os],Ym=[Cl(Im,dm,Nm),Os],Pm=[Cl(Mm,gm,Cm),e=>Ts(e)/Yf],Bm=[Cl(bm,fm,Hm),Os,1],jm=[Cl(Tm,lm,Dm),Os,1];let Fm;function Um(e,t,n,r,o){function a(){if(!(this instanceof a))throw new TypeError(Wl);Yy(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)}),pi(t))}function s(t){const n=Ry(t);if(!n||n.branding!==e)throw new TypeError(Wl);return n}return Object.defineProperties(a.prototype,{...vi(Ti(i,n)),...wi(Ti(i,r)),...Ai("Temporal."+e)}),Object.defineProperties(a,{...wi(o),...pi(e)}),[a,e=>{const t=Object.create(a.prototype);return Yy(t,e),t},s]}function xm(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 Zm(e){if(Ry(e)||void 0!==e.calendar||void 0!==e.timeZone)throw new TypeError("Invalid bag");return e}function $m(e,t){const n={};for(const r in e)n[r]=(e,n)=>{let{o:o}=e;const a=Ry(n)||{},{branding:i}=a,s=i===yg||t.includes(i)?a:iy(n);return o[r](s)};return n}function Vm(e){const t={};for(const n in e)t[n]=e=>{const{calendar:t}=e;return(r=t,"string"==typeof r?cm(r):(o=r,Object.assign(Object.create(xy),{i:o})))[n](e);var r,o};return t}function zm(){throw new TypeError("Cannot use valueOf")}function Km(e){let{calendar:t}=e;return"string"==typeof t?new FS(t):t}function Jm(e,t){if(t=cc(t),yi(e)){const n=Ry(e);if(n&&n.branding===mg)return Js(t),n;const r=fy(e);return hl(NS(r||id),!r,e,t)}const n=function(e,t){const n=nh(ld(t));if(n)return Gu(n),pc($s(n));const r=Ju(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 pc(vs(a.P(l,f,c)),o)}(cm,e);return Js(t),n}function Gm(e,t,n){return gu(Ki(t.call(e,Qy(dc(n)))))}function Wm(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Wy;const n=Object.keys(t).sort(),r={};for(const o of n)r[o]=Di(t[o],e,gd(e[o]));return r}function qm(e,t){return"string"==typeof e?Hg(e):Wm(e,t)}function Xm(e){return qm(e,qy)}function Qm(e){if(yi(e)){const t=Ry(e);if(t)switch(t.branding){case vg:return t;case wg:return dc(t.epochNanoseconds)}}return function(e){const t=eh(e=ts(e));if(!t)throw new RangeError(If(e));let n;if(t.m)n=0;else{if(!t.offset)throw new RangeError(If(e));n=Ku(t.offset)}return t.timeZone&&rh(t.timeZone,1),dc(Cs(Zs(t),n))}(e)}function ey(e,t,n){const r=t.l(Qm(n).epochNanoseconds,e);return r?Qy(dc(r)):null}function ty(e){return yi(e)?(Ry(e)||{}).timeZone||rS(e):(e=>lh(function(e){const t=eh(e);return t&&(t.timeZone||t.m&&Tg||t.offset)||e}(ld(e))))(e)}function ny(e,t){if(yi(e)){const n=Ry(e)||{};switch(n.branding){case pg:return Js(t),n;case Sg:return Js(t),wc(n);case wg:return Js(t),Ml(Xm,n)}return function(e,t){const n=Js(t);return wc(dl(fl(e,Zf,[],1),n))}(e,t)}return Js(t),function(e){let t,n=(e=>{const t=$g.exec(e);return t?(ih(t[10]),ah(t)):void 0})(ld(e));if(!n){if(n=eh(e),!n)throw new RangeError(If(e));if(!n.p)throw new RangeError(If(e));if(n.m)throw new RangeError(Mf("Z"));Gu(n)}if((t=th(e))&&Vs(t))throw new RangeError(If(e));if((t=nh(e))&&Vs(t))throw new RangeError(If(e));return wc(Ks(n,1))}(e)}function ry(e){return void 0===e?void 0:ny(e)}function oy(e,t){if(t=cc(t),yi(e)){const n=Ry(e);return n&&n.branding===gg?(Js(t),n):ul(ES(ly(e)),e,t)}const n=function(e,t){const n=th(ld(t));if(n)return Gu(n),Sc(ws($s(n)));const r=Ju(t);return Sc(Mu(e(r.calendar),r))}(cm,e);return Js(t),n}function ay(e,t){if(t=cc(t),yi(e)){const n=Ry(e)||{};switch(n.branding){case Sg:return Js(t),n;case yg:return Js(t),mc({...n,...Hd});case wg:return Js(t),Tl(Xm,n)}return function(e,t,n){const r=ll(e,t,nd,[],xf),o=Js(n);return mc(As({...e.dateFromFields(r,uc(n,o)),...dl(r,o)}))}(OS(ly(e)),e,t)}const n=function(e){const t=eh(ld(e));if(!t||t.m)throw new RangeError(If(e));return mc(qu(t))}(e);return Js(t),n}function iy(e,t){if(t=cc(t),yi(e)){const n=Ry(e)||{};switch(n.branding){case yg:return Js(t),n;case Sg:return Js(t),yc(n);case wg:return Js(t),Il(Xm,n)}return cl(OS(ly(e)),e,t)}const n=Ju(e);return Js(t),n}function sy(e,t,n){return zi(t.call(e,fS(yc(n,e))))}function cy(e){return t=>"string"==typeof t?cm(t):((e,t)=>{const n=Object.keys(t).sort(),r={};for(const o of n)r[o]=Di(t[o],e,e[o]);return r})(t,e)}function uy(e){if(yi(e)){const t=Ry(e);return t&&t.branding===Ag?t:function(e){const t=fl(e,yd);return vc(Bu({...Ad,...t}))}(e)}return function(e){const t=(e=>{const t=Kg.exec(e);return t?(e=>{function t(e,t,a){let i=0,s=0;if(a&&([i,o]=Pi(o,Uf[a])),void 0!==e){if(r)throw new RangeError(Mf(e));s=(e=>{const t=parseInt(e);if(!Number.isFinite(t))throw new RangeError(Mf(e));return t})(e),n=1,t&&(o=sh(t)*(Uf[a]/Pf),r=1)}return i+s}let n=0,r=0,o=0,a={...bi(md,[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)]),...$i(o,2,md)};if(!n)throw new RangeError(Jl(md));return uh(e[1])<0&&(a=Yu(a)),a})(t):void 0})(ld(e));if(!t)throw new RangeError(If(e));return vc(Bu(t))}(e)}function hy(e){if(void 0!==e){if(yi(e)){const t=Ry(e)||{};switch(t.branding){case wg:case yg:return t;case Sg:return yc(t)}const n=ly(e);return{...sl(ty,qm,OS(n),e),calendar:n}}return function(e){const t=eh(ld(e));if(!t)throw new RangeError(If(e));if(t.timeZone)return Wu(t,t.offset?Ku(t.offset):void 0);if(t.m)throw new RangeError(If(e));return Xu(t)}(e)}}function ly(e){return fy(e)||id}function fy(e){const{calendar:t}=e;if(void 0!==t)return dy(t)}function dy(e){return yi(e)?(Ry(e)||{}).calendar||US(e):(e=>Gh(function(e){const t=eh(e)||th(e)||nh(e);return t?t.calendar:e}(ld(e))))(e)}function gy(e,t){if(t=cc(t),yi(e)){const n=Ry(e);if(n&&n.branding===wg)return Gs(t),n;const r=ly(e);return function(e,t,n,r,o,a){const i=ll(n,o,nd,Vf,Kf),s=e(i.timeZone),[c,u,h]=Gs(a),l=n.dateFromFields(i,uc(a,c)),f=dl(i,c);return gc(fu(t(s),{...l,...f},void 0!==i.offset?Ku(i.offset):void 0,u,h),s,r)}(ty,qm,OS(r),r,e,t)}return function(e,t){const n=eh(ld(e));if(!n||!n.timeZone)throw new RangeError(If(e));const{offset:r}=n,o=r?Ku(r):void 0,[,a,i]=Gs(t);return Wu(n,o,a,i)}(e,t)}function my(e){return Ti((e=>t=>e(yy(t))),e)}function yy(e){return Ng(e,Xm)}function Sy(){const e=_d.prototype,t=Object.getOwnPropertyDescriptors(e),n=Object.getOwnPropertyDescriptors(_d),r=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(!(this instanceof r))return new r(e,t);KS.set(this,function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const n=new _d(e,t),r=n.resolvedOptions(),o=r.locale,a=Ei(Object.keys(t),r),i=Si(vy),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=Ry(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")&&py(e);"function"==typeof n.value?n.value="constructor"===e?r:o||wy(e):o&&(n.get=function(){return o.bind(this)})}return n.prototype.value=Object.create(e,t),Object.defineProperties(r,n),r}function py(e){return function(){const t=KS.get(this),[n,...r]=t(...arguments);return n[e](...r)}}function wy(e){return function(){return KS.get(this).u[e](...arguments)}}function vy(e){const t=Ay[e];if(!t)throw new TypeError(Ef(e));return Hl(t,Si(Dl))}const Ay={Instant:km,PlainDateTime:Rm,PlainDate:Ym,PlainTime:Pm,PlainYearMonth:Bm,PlainMonthDay:jm},by=Hl(km),Ty=Hl(Lm),Iy=Hl(Rm),My=Hl(Ym),Ey=Hl(Pm),Oy=Hl(Bm),Ny=Hl(jm),Cy={era:function(e){if(void 0!==e)return ld(e)},eraYear:Vi,year:Ki,month:zi,daysInMonth:zi,daysInYear:zi,inLeapYear:fd,monthsInYear:zi},Hy={monthCode:ld},Dy={day:zi},_y={dayOfWeek:zi,dayOfYear:zi,weekOfYear:function(e){if(void 0!==e)return zi(e)},yearOfWeek:Vi,daysInWeek:zi},ky=Object.assign({},Cy,Hy,Dy,_y),Ly=new WeakMap,Ry=Ly.get.bind(Ly),Yy=Ly.set.bind(Ly),Py={...$m(Cy,[gg]),...$m(_y,[]),...$m(Hy,[gg,mg]),...$m(Dy,[mg])},By=Vm(ky),jy=Vm({...Cy,...Hy}),Fy=Vm({...Hy,...Dy}),Uy={calendarId:e=>Tc(e.calendar)},xy=Ti(((e,t)=>function(n){const{i:r}=this;return e(r[t](fS(yc(n,r))))}),ky),Zy=Ii((e=>t=>t[e]),md.concat("sign")),$y=Ii(((e,t)=>e=>e[Id[t]]),xf),Vy={epochSeconds:function(e){return Ms(e.epochNanoseconds)},epochMilliseconds:Ac,epochMicroseconds:function(e){return ms(e.epochNanoseconds,Rf)},epochNanoseconds:function(e){return ms(e.epochNanoseconds)}},zy=Di(Oi,new Set(["branding"])),[Ky,Jy,Gy]=Um(mg,Di((function(e,t,n){let r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:id,o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:Ud;const a=os(t),i=os(n),s=e(r);return pc(vs($s({isoYear:os(o),isoMonth:a,isoDay:i})),s)}),dy),{...Uy,...Fy},{getISOFields:zy,getCalendar:Km,with(e,t,n){return Jy(function(e,t,n,r,o){const a=cc(o);return((e,t,n,r)=>{const o=gl(e,t,n,nd);return e.monthDayFromFields(o,r)})(e(t.calendar),n,r,a)}(DS,e,this,Zm(t),n))},equals:(e,t)=>function(e,t){return!Sh(e,t)&&Ic(e.calendar,t.calendar)}(e,Jm(t)),toPlainDate(e,t){return fS(function(e,t,n,r){return((e,t,n)=>Sl(e,t,od,Wi(n),Wf))(e(t.calendar),n,r)}(HS,e,this,t))},toLocaleString(e,t,n){const[r,o]=Ny(t,n,e);return r.format(o)},toString:Gc,toJSON:e=>Gc(e),valueOf:zm},{from:(e,t)=>Jy(Jm(e,t))}),Wy={getOffsetNanosecondsFor:Gm,getPossibleInstantsFor(e,t,n){const r=[...t.call(e,hS(mc(n,id)))].map((e=>eS(e).epochNanoseconds)),o=r.length;return o>1&&(r.sort(ls),mu(ys(hs(r[0],r[o-1])))),r}},qy={getOffsetNanosecondsFor:Gm},[Xy,Qy,eS]=Um(vg,(function(e){return dc(bs(ds(ns(e))))}),Vy,{add:(e,t)=>Qy(yu(0,e,uy(t))),subtract:(e,t)=>Qy(yu(1,e,uy(t))),until:(e,t,n)=>PS(vh(0,e,Qm(t),n)),since:(e,t,n)=>PS(vh(1,e,Qm(t),n)),round:(e,t)=>Qy(function(e,t){const[n,r,o]=Xs(t,5,1);return dc(Pc(e.epochNanoseconds,n,r,o,1))}(e,t)),equals:(e,t)=>function(e,t){return!gh(e,t)}(e,Qm(t)),toZonedDateTime(e,t){const n=Wi(t);return ZS(bl(e,ty(n.timeZone),dy(n.calendar)))},toZonedDateTimeISO:(e,t)=>ZS(bl(e,ty(t))),toLocaleString(e,t,n){const[r,o]=by(t,n,e);return r.format(o)},toString:(e,t)=>$c(ty,Xm,e,t),toJSON:e=>$c(ty,Xm,e),valueOf:zm},{from:e=>Qy(Qm(e)),fromEpochSeconds:e=>Qy(function(e){return dc(bs(gs(e,Pf)))}(e)),fromEpochMilliseconds:e=>Qy(function(e){return dc(bs(gs(e,Yf)))}(e)),fromEpochMicroseconds:e=>Qy(function(e){return dc(bs(ds(ns(e),Rf)))}(e)),fromEpochNanoseconds:e=>Qy(function(e){return dc(bs(ds(ns(e))))}(e)),compare:(e,t)=>gh(Qm(e),Qm(t))}),[tS,nS]=Um("TimeZone",(e=>{const t=function(e){return lh(ld(e))}(e);return{branding:"TimeZone",id:t,o:Hg(t)}}),{id:e=>e.id},{getPossibleInstantsFor:(e,t)=>{let{o:n}=e;return n.getPossibleInstantsFor(ay(t)).map((e=>Qy(dc(e))))},getOffsetNanosecondsFor:(e,t)=>{let{o:n}=e;return n.getOffsetNanosecondsFor(Qm(t).epochNanoseconds)},getOffsetStringFor(e,t){const n=Qm(t).epochNanoseconds;return au(Wm(this,qy).getOffsetNanosecondsFor(n))},getPlainDateTimeFor(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:id;const r=Qm(t).epochNanoseconds,o=Wm(this,qy).getOffsetNanosecondsFor(r);return hS(mc(ks(r,o),dy(n)))},getInstantFor(e,t,n){const r=ay(t),o=Ws(n),a=Wm(this);return Qy(dc(du(a,r,o)))},getNextTransition:(e,t)=>{let{o:n}=e;return ey(1,n,t)},getPreviousTransition:(e,t)=>{let{o:n}=e;return ey(-1,n,t)},equals(e,t){return!!wh(this,ty(t))},toString:e=>e.id,toJSON:e=>e.id},{from(e){const t=ty(e);return"string"==typeof t?new tS(t):t}}),rS=xm(Object.keys(Wy)),[oS,aS]=Um(pg,(function(){return wc(Ks(Ti(os,bi(Id,[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))}),$y,{getISOFields:zy,with(e,t,n){return aS(function(e,t,n){return wc(((e,t,n)=>{const r=Js(n);return dl({...Ei(Zf,e),...fl(t,Zf)},r)})(e,t,n))}(this,Zm(t),n))},add:(e,t)=>aS(Au(0,e,uy(t))),subtract:(e,t)=>aS(Au(1,e,uy(t))),until:(e,t,n)=>PS(Eh(0,e,ny(t),n)),since:(e,t,n)=>PS(Eh(1,e,ny(t),n)),round:(e,t)=>aS(function(e,t){const[n,r,o]=Xs(t,5);var a;return wc((a=o,Hc(e,_c(n,r),a)[0]))}(e,t)),equals:(e,t)=>function(e,t){return!ph(e,t)}(e,ny(t)),toZonedDateTime:(e,t)=>ZS(function(e,t,n,r,o){const a=Wi(o),i=t(a.plainDate),s=e(a.timeZone);return gc(du(n(s),{...i,...r}),s,i.calendar)}(ty,iy,qm,e,t)),toPlainDateTime:(e,t)=>hS(function(e,t){return mc(As({...e,...t}))}(e,iy(t))),toLocaleString(e,t,n){const[r,o]=Ey(t,n,e);return r.format(o)},toString:Wc,toJSON:e=>Wc(e),valueOf:zm},{from:(e,t)=>aS(ny(e,t)),compare:(e,t)=>ph(ny(e),ny(t))}),[iS,sS,cS]=Um(gg,Di((function(e,t,n){let r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:id,o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:1;const a=os(t),i=os(n),s=e(r);return Sc(ws($s({isoYear:a,isoMonth:i,isoDay:os(o)})),s)}),dy),{...Uy,...jy},{getISOFields:zy,getCalendar:Km,with(e,t,n){return sS(function(e,t,n,r,o){const a=cc(o);return Sc(((e,t,n,r)=>{const o=gl(e,t,n,ed);return e.yearMonthFromFields(o,r)})(e(t.calendar),n,r,a))}(CS,e,this,Zm(t),n))},add:(e,t,n)=>sS(vu(LS,0,e,uy(t),n)),subtract:(e,t,n)=>sS(vu(LS,1,e,uy(t),n)),until:(e,t,n)=>PS(Ih(RS,0,e,oy(t),n)),since:(e,t,n)=>PS(Ih(RS,1,e,oy(t),n)),equals:(e,t)=>function(e,t){return!Sh(e,t)&&Ic(e.calendar,t.calendar)}(e,oy(t)),toPlainDate(e,t){return fS(function(e,t,n,r){return((e,t,n)=>Sl(e,t,td,Wi(n),Qf))(e(t.calendar),n,r)}(HS,e,this,t))},toLocaleString(e,t,n){const[r,o]=Oy(t,n,e);return r.format(o)},toString:Jc,toJSON:e=>Jc(e),valueOf:zm},{from:(e,t)=>sS(oy(e,t)),compare:(e,t)=>Sh(oy(e),oy(t))}),[uS,hS]=Um(Sg,Di((function(e,t,n,r){let o=arguments.length>10&&void 0!==arguments[10]?arguments[10]:id;return mc(As(Zs(Ti(os,bi(Ed,[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))}),dy),{...Uy,...By,...$y},{getISOFields:zy,getCalendar:Km,with(e,t,n){return hS(function(e,t,n,r,o){const a=cc(o);return mc(((e,t,n,r)=>{const o=gl(e,t,n,nd,xf),a=Js(r);return As({...e.dateFromFields(o,uc(r,a)),...dl(o,a)})})(e(t.calendar),n,r,a))}(HS,e,this,Zm(t),n))},withCalendar:(e,t)=>hS(El(e,dy(t))),withPlainDate:(e,t)=>hS(function(e,t){return mc({...e,...t},Ol(e.calendar,t.calendar))}(e,iy(t))),withPlainTime:(e,t)=>hS(function(e){return mc({...e,...arguments.length>1&&void 0!==arguments[1]?arguments[1]:Hd})}(e,ry(t))),add:(e,t,n)=>hS(pu(_S,0,e,uy(t),n)),subtract:(e,t,n)=>hS(pu(_S,1,e,uy(t),n)),until:(e,t,n)=>PS(bh(kS,0,e,ay(t),n)),since:(e,t,n)=>PS(bh(kS,1,e,ay(t),n)),round:(e,t)=>hS(function(e,t){return mc(Nc(e,...Xs(t)),e.calendar)}(e,t)),equals:(e,t)=>function(e,t){return!yh(e,t)&&Ic(e.calendar,t.calendar)}(e,ay(t)),toZonedDateTime:(e,t,n)=>ZS(function(e,t,n,r){const o=((e,t,n,r)=>{const o=Ws(r);return du(e(t),n,o)})(e,n,t,r);return gc(bs(o),n,t.calendar)}(qm,e,ty(t),n)),toPlainDate:e=>fS(yc(e)),toPlainTime:e=>aS(wc(e)),toPlainYearMonth(e){return sS(function(e,t,n){const r=e(t.calendar);return Sc({...t,...yl(r,n)})}(ES,e,this))},toPlainMonthDay(e){return Jy(function(e,t,n){return ml(e(t.calendar),n)}(NS,e,this))},toLocaleString(e,t,n){const[r,o]=Iy(t,n,e);return r.format(o)},toString:zc,toJSON:e=>zc(e),valueOf:zm},{from:(e,t)=>hS(ay(e,t)),compare:(e,t)=>yh(ay(e),ay(t))}),[lS,fS,dS]=Um(yg,Di((function(e,t,n,r){let o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:id;return yc(vs($s(Ti(os,{isoYear:t,isoMonth:n,isoDay:r}))),e(o))}),dy),{...Uy,...By},{getISOFields:zy,getCalendar:Km,with(e,t,n){return fS(function(e,t,n,r,o){const a=cc(o);return((e,t,n,r)=>{const o=gl(e,t,n,nd);return e.dateFromFields(o,r)})(e(t.calendar),n,r,a)}(HS,e,this,Zm(t),n))},withCalendar:(e,t)=>fS(El(e,dy(t))),add:(e,t,n)=>fS(wu(_S,0,e,uy(t),n)),subtract:(e,t,n)=>fS(wu(_S,1,e,uy(t),n)),until:(e,t,n)=>PS(Th(kS,0,e,iy(t),n)),since:(e,t,n)=>PS(Th(kS,1,e,iy(t),n)),equals:(e,t)=>function(e,t){return!Sh(e,t)&&Ic(e.calendar,t.calendar)}(e,iy(t)),toZonedDateTime(e,t){const n=!yi(t)||t instanceof tS?{timeZone:t}:t;return ZS(function(e,t,n,r,o){const a=e(o.timeZone),i=o.plainTime,s=void 0!==i?t(i):Hd;return gc(du(n(a),{...r,...s}),a,r.calendar)}(ty,ny,qm,e,n))},toPlainDateTime:(e,t)=>hS(function(e){return mc(As({...e,...arguments.length>1&&void 0!==arguments[1]?arguments[1]:Hd}))}(e,ry(t))),toPlainYearMonth(e){return sS(function(e,t,n){return yl(e(t.calendar),n)}(ES,e,this))},toPlainMonthDay(e){return Jy(function(e,t,n){return ml(e(t.calendar),n)}(NS,e,this))},toLocaleString(e,t,n){const[r,o]=My(t,n,e);return r.format(o)},toString:Kc,toJSON:e=>Kc(e),valueOf:zm},{from:(e,t)=>fS(iy(e,t)),compare:(e,t)=>Sh(iy(e),iy(t))}),gS={fields:(e,t,n)=>[...t.call(e,n)]},mS=Object.assign({dateFromFields:(e,t,n,r)=>dS(t.call(e,Object.assign(Object.create(null),n),r))},gS),yS=Object.assign({yearMonthFromFields:(e,t,n,r)=>cS(t.call(e,Object.assign(Object.create(null),n),r))},gS),SS=Object.assign({monthDayFromFields:(e,t,n,r)=>Gy(t.call(e,Object.assign(Object.create(null),n),r))},gS),pS={mergeFields:(e,t,n,r)=>Wi(t.call(e,Object.assign(Object.create(null),n),Object.assign(Object.create(null),r)))},wS=Object.assign({},mS,pS),vS=Object.assign({},yS,pS),AS=Object.assign({},SS,pS),bS={dateAdd:(e,t,n,r,o)=>dS(t.call(e,fS(yc(n,e)),PS(vc(r)),o))},TS=Object.assign({},bS,{dateUntil:(e,t,n,r,o,a)=>BS(t.call(e,fS(yc(n,e)),fS(yc(r,e)),Object.assign(Object.create(null),a,{largestUnit:_f[o]})))}),IS=Object.assign({},bS,{day:sy}),MS=Object.assign({},TS,{day:sy}),ES=cy(yS),OS=cy(mS),NS=cy(SS),CS=cy(vS),HS=cy(wS),DS=cy(AS),_S=cy(bS),kS=cy(TS),LS=cy(IS),RS=cy(MS),[YS,PS,BS]=Um(Ag,(function(){return vc(Bu(Ti(as,bi(md,[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]))))}),{...Zy,blank:function(e){return!e.sign}},{with:(e,t)=>PS(function(e,t){return vc((n=e,r=t,Bu({...n,...fl(r,yd)})));var n,r}(e,t)),negated:e=>PS(Ru(e)),abs:e=>PS(function(e){return-1===e.sign?Ru(e):e}(e)),add:(e,t,n)=>PS(Lu(hy,kS,qm,0,e,uy(t),n)),subtract:(e,t,n)=>PS(Lu(hy,kS,qm,1,e,uy(t),n)),round:(e,t)=>PS(function(e,t,n,r,o){const a=$u(r),[i,s,c,u,h]=((e,t,n)=>{e=sc(e,Vd);let r=ag(e);const o=n(e[Gd]);let a=rc(e);const i=dg(e,7);let s=og(e);if(void 0===r&&void 0===s)throw new RangeError(bf);return null==s&&(s=0),null==r&&(r=Math.max(s,t)),fc(r,s),a=oc(a,s,1),[r,s,a,i,o]})(o,a,e),l=Math.max(a,i);if(!_u(h)&&l<=6)return vc(Bu(((e,t,n,r,o)=>{const a=Pc(Fu(e),n,r,o);return{...Ad,...Uu(a,t)}})(r,i,s,c,u)));if(!h)throw new RangeError(vf);const[f,d,g]=Nu(t,n,h),m=Cu(g),y=Hu(g),S=Du(g),p=y(d,f,r);let w=S(d,f,p,i);const v=r.sign,A=Pu(w);if(v&&A&&v!==A)throw new RangeError(cf);return A&&(w=Yc(w,m(p),i,s,c,u,d,f,m,y)),vc(w)}(hy,kS,qm,e,t)),total:(e,t)=>function(e,t,n,r,o){const a=$u(r),[i,s]=((e,t)=>{const n=t((e=sc(e,zd))[Gd]);let r=ig(e);return r=Gi(zd,r),[r,n]})(o,e);if(ku(Math.max(i,a),s))return Mc(r,i);if(!s)throw new RangeError(vf);const[c,u,h]=Nu(t,n,s),l=Cu(h),f=Hu(h),d=Du(h),g=f(u,c,r),m=d(u,c,g,i);return ku(i,s)?Mc(m,i):((e,t,n,r,o,a,i)=>{const s=Pu(e),[c,u]=Ec(r,Td(n,e),n,s,o,a,i),h=Oc(t,c,u);return e[md[n]]+h*s})(m,l(g),i,u,c,l,f)}(hy,kS,qm,e,t),toLocaleString(e,t,n){return Intl.DurationFormat?new Intl.DurationFormat(t,n).format(this):qc(e)},toString:qc,toJSON:e=>qc(e),valueOf:zm},{from:e=>PS(uy(e)),compare:(e,t,n)=>function(e,t,n,r,o,a){const i=e(ic(a).relativeTo),s=Math.max($u(r),$u(o));if(Ci(md,r,o))return 0;if(ku(s,i))return ls(Fu(r),Fu(o));if(!i)throw new RangeError(vf);const[c,u,h]=Nu(t,n,i),l=Cu(h),f=Hu(h);return ls(l(f(u,c,r)),l(f(u,c,o)))}(hy,_S,qm,uy(e),uy(t),n)}),jS={toString:e=>e.id,toJSON:e=>e.id,...Py,dateAdd:(e,t,n,r)=>{let{id:o,o:a}=e;return fS(yc(a.dateAdd(iy(t),uy(n),r),o))},dateUntil:(e,t,n,r)=>{let{o:o}=e;return PS(vc(o.dateUntil(iy(t),iy(n),function(e){return e=ic(e),ag(e,9,6,1)}(r))))},dateFromFields:(e,t,n)=>{let{id:r,o:o}=e;return fS(cl(o,t,n,function(e){return e===id?["year","day"]:[]}(r)))},yearMonthFromFields:(e,t,n)=>{let{id:r,o:o}=e;return sS(ul(o,t,n,function(e){return e===id?Wf:[]}(r)))},monthDayFromFields:(e,t,n)=>{let{id:r,o:o}=e;return Jy(hl(o,0,t,n,function(e){return e===id?Qf:[]}(r)))},fields(e,t){let{o:n}=e;const r=new Set(nd),o=[];for(const e of t){if(ld(e),!r.has(e))throw new RangeError(zl(e));r.delete(e),o.push(e)}return n.fields(o)},mergeFields:(e,t,n)=>{let{o:r}=e;return r.mergeFields(Ni(Ji(t)),Ni(Ji(n)))}},[FS]=Um("Calendar",(e=>{const t=function(e){return Gh(ld(e))}(e);return{branding:"Calendar",id:t,o:cm(t)}}),{id:e=>e.id},jS,{from(e){const t=dy(e);return"string"==typeof t?new FS(t):t}}),US=xm(Object.keys(jS).slice(4)),[xS,ZS]=Um(wg,Di((function(e,t,n,r){let o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:id;return gc(bs(ds(ns(n))),t(r),e(o))}),dy,ty),{...Vy,...Uy,...my(By),...my($y),offset:e=>au(yy(e).offsetNanoseconds),offsetNanoseconds:e=>yy(e).offsetNanoseconds,timeZoneId:e=>Tc(e.timeZone),hoursInDay:e=>function(e,t){const n=e(t.timeZone),r=Ng(t,n),[o,a]=kc(r),i=ys(hs(du(n,o),du(n,a)),jf,1);if(i<=0)throw new RangeError(cf);return i}(qm,e)},{getISOFields:e=>function(e,t){const n=Ng(t,e);return{calendar:t.calendar,...Ei(Cd,n),offset:au(n.offsetNanoseconds),timeZone:t.timeZone}}(Xm,e),getCalendar:Km,getTimeZone:e=>{let{timeZone:t}=e;return"string"==typeof t?new tS(t):t},with(e,t,n){return ZS(function(e,t,n,r,o,a){const i=cc(a),{calendar:s,timeZone:c}=n;return gc(((e,t,n,r,o)=>{const a=gl(e,n,r,nd,zf,$f),[i,s,c]=Gs(o,2);return fu(t,{...e.dateFromFields(a,uc(o,i)),...dl(a,i)},Ku(a.offset),s,c)})(e(s),t(c),r,o,i),c,s)}(HS,qm,e,this,Zm(t),n))},withCalendar:(e,t)=>ZS(El(e,dy(t))),withTimeZone:(e,t)=>ZS(function(e,t){return{...e,timeZone:t}}(e,ty(t))),withPlainDate:(e,t)=>ZS(function(e,t,n){const r=t.timeZone,o=e(r),a={...Ng(t,o),...n},i=Ol(t.calendar,n.calendar);return gc(fu(o,a,a.offsetNanoseconds,2),r,i)}(qm,e,iy(t))),withPlainTime:(e,t)=>ZS(function(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:Hd;const r=t.timeZone,o=e(r),a={...Ng(t,o),...n};return gc(fu(o,a,a.offsetNanoseconds,2),r,t.calendar)}(qm,e,ry(t))),add:(e,t,n)=>ZS(Su(_S,qm,0,e,uy(t),n)),subtract:(e,t,n)=>ZS(Su(_S,qm,1,e,uy(t),n)),until:(e,t,n)=>PS(vc(Ah(kS,qm,0,e,gy(t),n))),since:(e,t,n)=>PS(vc(Ah(kS,qm,1,e,gy(t),n))),round:(e,t)=>ZS(function(e,t,n){let{epochNanoseconds:r,timeZone:o,calendar:a}=t;const[i,s,c]=Xs(n);if(0===i&&1===s)return t;const u=e(o);if(6===i)r=((e,t,n,r)=>{const o=Ng(n,t),[a,i]=e(o),s=n.epochNanoseconds,c=du(t,a),u=du(t,i);if(fs(s,c,u))throw new RangeError(cf);return Fc(Oc(s,c,u),r)?u:c})(kc,u,t,c);else{const e=u.getOffsetNanosecondsFor(r);r=fu(u,Nc(ks(r,e),i,s,c),e,2,0,1)}return gc(r,o,a)}(qm,e,t)),startOfDay:e=>ZS(function(e,t){const{timeZone:n,calendar:r}=t,o=((e,t,n)=>du(t,e(Ng(n,t))))(Lc,e(n),t);return gc(o,n,r)}(qm,e)),equals:(e,t)=>function(e,t){return!mh(e,t)&&!!wh(e.timeZone,t.timeZone)&&Ic(e.calendar,t.calendar)}(e,gy(t)),toInstant:e=>Qy(function(e){return dc(e.epochNanoseconds)}(e)),toPlainDateTime:e=>hS(Tl(Xm,e)),toPlainDate:e=>fS(Il(Xm,e)),toPlainTime:e=>aS(Ml(Xm,e)),toPlainYearMonth(e){return sS(function(e,t,n){return yl(e(t.calendar),n)}(ES,e,this))},toPlainMonthDay(e){return Jy(function(e,t,n){return ml(e(t.calendar),n)}(NS,e,this))},toLocaleString(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};const[r,o]=Ty(t,n,e);return r.format(o)},toString:(e,t)=>Vc(Xm,e,t),toJSON:e=>Vc(Xm,e),valueOf:zm},{from:(e,t)=>ZS(gy(e,t)),compare:(e,t)=>mh(gy(e),gy(t))}),$S=Object.defineProperties({},{...Ai("Temporal.Now"),...wi({timeZoneId:()=>Rl(),instant:()=>Qy(dc(Ll())),zonedDateTime:function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Rl();return ZS(gc(Ll(),ty(t),dy(e)))},zonedDateTimeISO:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:Rl();return ZS(gc(Ll(),ty(e),id))},plainDateTime:function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Rl();return hS(mc(kl(Xm(ty(t))),dy(e)))},plainDateTimeISO:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:Rl();return hS(mc(kl(Xm(ty(e))),id))},plainDate:function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Rl();return fS(yc(kl(Xm(ty(t))),dy(e)))},plainDateISO:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:Rl();return fS(yc(kl(Xm(ty(e))),id))},plainTimeISO:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:Rl();return aS(wc(kl(Xm(ty(e)))))}})}),VS=Object.defineProperties({},{...Ai("Temporal"),...wi({PlainYearMonth:iS,PlainMonthDay:Ky,PlainDate:lS,PlainTime:oS,PlainDateTime:uS,ZonedDateTime:xS,Instant:Xy,Calendar:FS,TimeZone:tS,Duration:YS,Now:$S})}),zS=Sy(),KS=new WeakMap;function JS(e){return e*Math.PI/180}function GS(e){return 180*e/Math.PI}Object.create(Intl),wi({DateTimeFormat:zS});class WS{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 qS=6356.9;class XS{constructor(e,t){this.date=t,this.geoLocation=e}getSunrise(){const e=this.getUTCSunrise0(XS.GEOMETRIC_ZENITH);return isNaN(e)?null:this.getDateFromTime(e,!0)}getSeaLevelSunrise(){const e=this.getUTCSeaLevelSunrise(XS.GEOMETRIC_ZENITH);return isNaN(e)?null:this.getDateFromTime(e,!0)}getBeginCivilTwilight(){return this.getSunriseOffsetByDegrees(XS.CIVIL_ZENITH)}getBeginNauticalTwilight(){return this.getSunriseOffsetByDegrees(XS.NAUTICAL_ZENITH)}getBeginAstronomicalTwilight(){return this.getSunriseOffsetByDegrees(XS.ASTRONOMICAL_ZENITH)}getSunset(){const e=this.getUTCSunset0(XS.GEOMETRIC_ZENITH);return isNaN(e)?null:this.getDateFromTime(e,!1)}getSeaLevelSunset(){const e=this.getUTCSeaLevelSunset(XS.GEOMETRIC_ZENITH);return isNaN(e)?null:this.getDateFromTime(e,!1)}getEndCivilTwilight(){return this.getSunsetOffsetByDegrees(XS.CIVIL_ZENITH)}getEndNauticalTwilight(){return this.getSunsetOffsetByDegrees(XS.NAUTICAL_ZENITH)}getEndAstronomicalTwilight(){return this.getSunsetOffsetByDegrees(XS.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 GS(Math.acos(qS/(qS+e/1e3)))}adjustZenith(e,t){let n=e;return e===XS.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=XS.getSunriseUTC(XS.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=XS.getSunsetUTC(XS.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 XS.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 VS.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-XS.JULIAN_DAY_JAN_1_2000)/XS.JULIAN_DAYS_PER_CENTURY}static getJulianDayFromJulianCenturies(e){return e*XS.JULIAN_DAYS_PER_CENTURY+XS.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=JS(XS.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 XS.getSunGeometricMeanLongitude(e)+XS.getSunEquationOfCenter(e)}static getSunApparentLongitude(e){const t=125.04-1934.136*e;return XS.getSunTrueLongitude(e)-.00569-.00478*Math.sin(JS(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 XS.getMeanObliquityOfEcliptic(e)+.00256*Math.cos(JS(t))}static getSunDeclination(e){const t=XS.getObliquityCorrection(e),n=XS.getSunApparentLongitude(e),r=Math.sin(JS(t))*Math.sin(JS(n));return GS(Math.asin(r))}static getEquationOfTime(e){const t=XS.getObliquityCorrection(e),n=XS.getSunGeometricMeanLongitude(e),r=XS.getEarthOrbitEccentricity(e),o=XS.getSunGeometricMeanAnomaly(e);let a=Math.tan(JS(t)/2);a*=a;const i=Math.sin(2*JS(n)),s=Math.sin(JS(o));return 4*GS(a*i-2*r*s+4*r*a*s*Math.cos(2*JS(n))-.5*a*a*Math.sin(4*JS(n))-1.25*r*r*Math.sin(2*JS(o)))}static getSunHourAngleAtSunrise(e,t,n){const r=JS(e),o=JS(t);return Math.acos(Math.cos(JS(n))/(Math.cos(r)*Math.cos(o))-Math.tan(r)*Math.tan(o))}static getSunHourAngleAtSunset(e,t,n){const r=JS(e),o=JS(t);return-Math.acos(Math.cos(JS(n))/(Math.cos(r)*Math.cos(o))-Math.tan(r)*Math.tan(o))}static getSolarElevation(e,t,n){const r=XS.getJulianDay(e.toPlainDate()),o=XS.getJulianCenturiesFromJulianDay(r),a=XS.getEquationOfTime(o);let i=e.hour+12+(e.minute+a+e.second/60)/60;i=-360*i/24%360;const s=JS(n-i),c=JS(XS.getSunDeclination(o)),u=JS(t);return GS(Math.asin(Math.sin(u)*Math.sin(c)+Math.cos(u)*Math.cos(c)*Math.cos(s)))}static getSolarAzimuth(e,t,n){const r=XS.getJulianDay(e.toPlainDate()),o=XS.getJulianCenturiesFromJulianDay(r),a=XS.getEquationOfTime(o);let i=e.hour+12+(e.minute+a+e.second/60)/60;i=-360*i/24%360;const s=JS(n-i),c=JS(XS.getSunDeclination(o)),u=JS(t);return GS(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=XS.getJulianCenturiesFromJulianDay(e),a=XS.getSolarNoonUTC(o,n),i=XS.getJulianCenturiesFromJulianDay(e+a/1440);let s=XS.getEquationOfTime(i),c=XS.getSunDeclination(i),u=XS.getSunHourAngleAtSunrise(t,c,r),h=n-GS(u),l=4*h,f=720+l-s;const d=XS.getJulianCenturiesFromJulianDay(XS.getJulianDayFromJulianCenturies(o)+f/1440);return s=XS.getEquationOfTime(d),c=XS.getSunDeclination(d),u=XS.getSunHourAngleAtSunrise(t,c,r),h=n-GS(u),l=4*h,f=720+l-s,f}static getSolarNoonUTC(e,t){const n=XS.getJulianCenturiesFromJulianDay(XS.getJulianDayFromJulianCenturies(e)+t/360);let r=XS.getEquationOfTime(n);const o=720+4*t-r,a=XS.getJulianCenturiesFromJulianDay(XS.getJulianDayFromJulianCenturies(e)-.5+o/1440);return r=XS.getEquationOfTime(a),720+4*t-r}static getSunsetUTC(e,t,n,r){const o=XS.getJulianCenturiesFromJulianDay(e),a=XS.getSolarNoonUTC(o,n),i=XS.getJulianCenturiesFromJulianDay(e+a/1440);let s=XS.getEquationOfTime(i),c=XS.getSunDeclination(i),u=XS.getSunHourAngleAtSunset(t,c,r),h=n-GS(u),l=4*h,f=720+l-s;const d=XS.getJulianCenturiesFromJulianDay(XS.getJulianDayFromJulianCenturies(o)+f/1440);return s=XS.getEquationOfTime(d),c=XS.getSunDeclination(d),u=XS.getSunHourAngleAtSunset(t,c,r),h=n-GS(u),l=4*h,f=720+l-s,f}}XS.GEOMETRIC_ZENITH=90,XS.CIVIL_ZENITH=96,XS.NAUTICAL_ZENITH=102,XS.ASTRONOMICAL_ZENITH=108,XS.JULIAN_DAY_JAN_1_2000=2451545,XS.JULIAN_DAYS_PER_CENTURY=36525;const QS=[["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]],ep=new Map,tp={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"},np=new Map;class rp extends WS{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=np.get(e);if(t)return t;const n=new Intl.DateTimeFormat("en-US",{timeZone:e,hour:"numeric",minute:"numeric",hour12:!1});return np.set(e,n),n}(this.getTimeZone())}getGeoId(){return this.geoid}static lookup(e){return ep.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 tp[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":tp[t]}static addLocation(e,t){const n=e.toLowerCase();return!ep.has(n)&&(ep.set(n,t),!0)}}for(const e of QS){const t=new rp(e[2],e[3],"IL"===e[1],e[4],e[0],e[1],void 0,e[5]);rp.addLocation(e[0],t)}function op(e){if(null===e)return new Date(NaN);const t=new Date(e.epochMilliseconds);return t.setMilliseconds(0),t}Object.defineProperties(globalThis,wi({Temporal:VS})),Object.defineProperties(Intl,wi({DateTimeFormat:zS})),Object.defineProperties(Date.prototype,wi({toTemporalInstant:function(){return Qy(dc(gs(this.valueOf(),Yf)))}}));class ap{constructor(e,t,n){const r=function(e){if(s(e))return e;if(ke.isHDate(e))return e.greg();throw new TypeError(`invalid date: ${e}`)}(t);this.date=r,this.gloc=e;const o=Temporal.PlainDate.from({year:r.getFullYear(),month:r.getMonth()+1,day:r.getDate()});this.noaa=new XS(e,o),this.useElevation=Boolean(n)}getUseElevation(){return this.useElevation}setUseElevation(e){this.useElevation=e}timeAtAngle(e,t){const n=90+e;return op(t?this.noaa.getSunriseOffsetByDegrees(n):this.noaa.getSunsetOffsetByDegrees(n))}sunrise(){return op(this.useElevation?this.noaa.getSunrise():this.noaa.getSeaLevelSunrise())}seaLevelSunrise(){return op(this.noaa.getSeaLevelSunrise())}sunset(){return op(this.useElevation?this.noaa.getSunset():this.noaa.getSeaLevelSunset())}seaLevelSunset(){return op(this.noaa.getSeaLevelSunset())}dawn(){return op(this.noaa.getBeginCivilTwilight())}dusk(){return op(this.noaa.getEndCivilTwilight())}gregEve(){const e=new Date(this.date);e.setDate(e.getDate()-1);return new ap(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 op(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 op(XS.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=ge("UTC",t),r=ge(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?"+":"-")+ye(Math.floor(r/60))+":"+ye(o)}static formatISOWithTimeZone(e,t){return isNaN(t.getTime())?"0000-00-00T00:00:00Z":ge(e,t).substring(0,19)+ap.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 ip={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 sp(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===ip[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 cp extends $e{constructor(e,t,n,r,o,a,i){super(e,t,n),this.eventTime=ap.roundTime(r),this.location=o;const s=o.getTimeFormatter();this.eventTimeStr=ap.formatTime(this.eventTime,s);const c=Object.assign(Object.assign({},i),{location:o});this.fmtTime=sp(this.eventTimeStr,"pm",c),void 0!==a&&(this.linkedEvent=a)}render(e){return Me.gettext(this.getDesc(),e)+": "+this.fmtTime}renderBrief(e){return Me.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 up extends cp{constructor(e,t,n,r,o,a){super(e,"Candle lighting",t,n,r,o,a)}getEmoji(){return"🕯️"}}class hp extends cp{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=Me.gettext(this.getDesc(),e);if(this.havdalahMins){const n=Me.gettext("min",e);t+=` (${this.havdalahMins} ${n})`}return t}getEmoji(){return"✨"}}const lp=["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],fp=["רִאשׁוֹן","שֵׁנִי","שְׁלִישִׁי","רְבִיעִי","חֲמִישִׁי","שִׁישִּׁי","שַׁבָּת"],dp="בַּלַּ֥יְלָה";class gp{constructor(e,t){this.m=function(e,t){let n=t-7;n<0&&(n+=_(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 ke.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:Me.getLocaleName())&&(e=e.toLowerCase());const r="he"===e||"he-x-nonikud"===e||"h"===e,o=Me.gettext(this.getMonthName(),e),a=(r?fp:lp)[this.getDow()],i=this.getMinutes(),s=this.getHour(),c=this.getChalakim(),u=Me.gettext("Molad",e),h=null!==(n=Me.lookupTranslation("min",e))&&void 0!==n?n:"minutes",l=Me.gettext("chalakim",e);if(r){const t=function(e){return e<5?dp:e<12?"בַּבֹּקֶר":e<17?"בַּצׇּהֳרַיִים":e<21?"בָּעֶרֶב":dp}(s),n=`${u} ${o} יִהְיֶה בַּיּוֹם ${a} בשָׁבוּעַ, בְּשָׁעָה ${s} ${t}, ו-${i} ${h} ו-${c} ${l}`;return"he-x-nonikud"===e?Me.hebrewStripNikkud(n):n}const f=sp(`${s}:00`,"pm",t);return`${u} ${o.replace(/'/g,"’")}: ${a}, ${i} ${h} and ${c} ${l} after ${f}`}}class mp extends $e{constructor(e,t,n,r){const o=new gp(t,n);super(e,`Molad ${o.getMonthName()} ${t}`,xe.MOLAD),this.molad=o,this.options=r}render(e){return this.molad.render(e,this.options)}}class yp extends $e{constructor(e,t){if(super(e,`Omer ${t}`,xe.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){ee(e);const[n,r]=te(e),o=Q[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:Me.getLocaleName())&&(e=e.toLowerCase());const t="he"===e||"he-x-nonikud"===e||"h"===e,n=this.omer;return(t?q(n):Me.ordinal(n,e))+" "+Me.gettext("day of the Omer",e)}renderBrief(e){return Me.gettext("Omer",e)+" "+Me.gettext("day",e)+" "+this.omer}getEmoji(){return"string"==typeof this.emoji?this.emoji:function(e){let t;return ee(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:Me.getLocaleName())&&(e=e.toLowerCase());const t="he"===e||"he-x-nonikud"===e?"he":"en",n=ne(this.omer,t);return"he-x-nonikud"===e?Me.hebrewStripNikkud(n):n}url(){return`https://www.hebcal.com/omer/${this.getDate().getFullYear()}/${this.omer}`}}class Sp 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 pp{constructor(e,t){e=+e,this.year=e;const n=new ke(1,A.TISHREI,e),r=n.abs(),o=n.getDay()+1;this.firstSaturday=ke.dayOnOrBefore(6,r+6);const a=+ke.isLeapYear(e);this.il=Boolean(t);const i=function(e){const t=ke.longCheshvan(e),n=ke.shortKislev(e);return t&&!n?2:!t&&n?0:1}(e);let s=`${a}${o}${i}`;if(jp[s]||(s+=+this.il),this.theSedraArray=jp[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||Me.getLocaleName();let o=Me.gettext(n[0],r);if(2===n.length){o+=("he"===r?"־":"-")+Me.gettext(n[1],r)}return o=o.replace(/'/g,"’"),Me.gettext("Parashat",r)+" "+o}isParsha(e){return!this.lookup(e).chag}find(e){if("number"==typeof e){if(e>=wp.length||e<0&&!Ap(e))throw new RangeError(`Invalid parsha number: ${e}`);const t=this.theSedraArray.indexOf(e);return-1===t?null:new ke(this.firstSaturday+7*t)}if("string"==typeof e){const t=vp.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 ke(this.firstSaturday+7*t)}}if(Array.isArray(e)){const t=e.length;if(1!==t&&2!==t||"string"!=typeof e[0])throw new TypeError(`Invalid parsha argument: ${JSON.stringify(e)}`);if(1===t)return this.find(e[0]);const n=e[0],r=e[1],o=vp.get(n),a=vp.get(r);if("number"!=typeof o||"number"!=typeof a||a!==o+1||!Ap(-o))throw new RangeError(`Unrecognized parsha name: ${n}-${r}`);return this.find(-o)}return null}getSedraArray(){return this.theSedraArray}getFirstSaturday(){return this.firstSaturday}getYear(){return this.year}lookup(e){const t="number"==typeof e?e:ke.isHDate(e)?e.abs():NaN;if(isNaN(t))throw new TypeError(`Bad date argument: ${e}`);const n=ke.dayOnOrBefore(6,t+6),r=(n-this.firstSaturday)/7,o=this.theSedraArray[r];if(void 0===o){return Up(this.year+1,this.il).lookup(n)}if("string"==typeof o)return{parsha:[o],chag:!0};if(o>=0)return{parsha:[wp[o]],chag:!1,num:o+1};const a=bp(o);return{parsha:[wp[a],wp[a+1]],chag:!1,num:[a+1,a+2]}}}const wp=["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"],vp=new Map;for(let e=0;e<wp.length;e++){const t=wp[e];vp.set(t,e)}function Ap(e){switch(e){case-21:case-26:case-28:case-31:case-38:case-41:case-50:return!0}return!1}function bp(e){return-e}const Tp="Sukkot Shabbat Chol ha-Moed",Ip="Pesach",Mp="Pesach I",Ep="Pesach Shabbat Chol ha-Moed",Op="Pesach VII",Np="Pesach VIII",Cp="Shavuot";function Hp(e,t){return Array.from({length:t-e+1},((t,n)=>n+e))}const Dp=[51,52,Tp],_p=[52,"Yom Kippur",Tp],kp=["Rosh Hashana",52,"Sukkot","Shmini Atzeret"],Lp=Hp(0,20),Rp=Hp(0,27),Yp=Hp(33,40),Pp=Hp(43,49),Bp=Hp(43,50),jp={"020":Dp.concat(Lp,bp(21),23,24,Ip,25,bp(26),bp(28),30,bp(31),Yp,bp(41),Pp,bp(50)),"0220":Dp.concat(Lp,bp(21),23,24,Ip,25,bp(26),bp(28),30,bp(31),33,Cp,Hp(34,37),bp(38),40,bp(41),Pp,bp(50)),"0510":_p.concat(Lp,bp(21),23,24,Mp,Np,25,bp(26),bp(28),30,bp(31),Yp,bp(41),Bp),"0511":_p.concat(Lp,bp(21),23,24,Ip,25,bp(26),bp(28),Hp(30,40),bp(41),Bp),"052":_p.concat(Hp(0,24),Op,25,bp(26),bp(28),30,bp(31),Yp,bp(41),Bp),"070":kp.concat(Lp,bp(21),23,24,Op,25,bp(26),bp(28),30,bp(31),Yp,bp(41),Bp),"072":kp.concat(Lp,bp(21),23,24,Ep,25,bp(26),bp(28),30,bp(31),Yp,bp(41),Pp,bp(50)),1200:Dp.concat(Rp,Ep,Hp(28,33),Cp,Hp(34,37),bp(38),40,bp(41),Pp,bp(50)),1201:Dp.concat(Rp,Ep,Hp(28,40),bp(41),Pp,bp(50)),1220:Dp.concat(Rp,Mp,Np,Hp(28,40),bp(41),Bp),1221:Dp.concat(Rp,Ip,Hp(28,50)),150:_p.concat(Hp(0,28),Op,Hp(29,50)),152:_p.concat(Hp(0,28),Ep,Hp(29,49),bp(50)),170:kp.concat(Rp,Ep,Hp(28,40),bp(41),Pp,bp(50)),1720:kp.concat(Rp,Ep,Hp(28,33),Cp,Hp(34,37),bp(38),40,bp(41),Pp,bp(50))};jp["0221"]=jp["020"],jp["0310"]=jp["0220"],jp["0311"]=jp["020"],jp[1310]=jp[1220],jp[1311]=jp[1221],jp[1721]=jp[170];const Fp=new Sp({maxSize:400});function Up(e,t){const n=`${e}-${t?1:0}`;let r=Fp.get(n);return r||(r=new pp(e,t),Fp.set(n,r)),r}class xp extends $e{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("-"),xe.PARSHA_HASHAVUA),this.parsha=t,this.il=Boolean(n),this.num=r||-1}render(e){const t=null!=e?e:Me.getLocaleName(),n=this.parsha;let r=Me.gettext(n[0],e);if(2===n.length){r+=("he"===t?"־":"-")+Me.gettext(n[1],e)}r=r.replace(/'/g,"’");return(Me.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 Se(this.getDate().greg()).replace(/-/g,"")}}const Zp=A.NISAN,$p=A.IYYAR,Vp=A.SIVAN,zp=A.TAMUZ,Kp=A.AV,Jp=A.ELUL,Gp=A.TISHREI,Wp=A.CHESHVAN,qp=A.KISLEV,Xp=A.SHVAT,Qp=A.ADAR_II,ew=xe.CHAG,tw=xe.LIGHT_CANDLES,nw=xe.YOM_TOV_ENDS,rw=xe.CHUL_ONLY,ow=xe.IL_ONLY,aw=xe.LIGHT_CANDLES_TZEIS,iw=xe.CHANUKAH_CANDLES,sw=xe.MAJOR_FAST,cw=xe.MINOR_HOLIDAY,uw=xe.EREV,hw=xe.CHOL_HAMOED,lw="🫓",fw="🌿🍋",dw="Rosh Hashana II",gw="Erev Yom Kippur",mw="Yom Kippur",yw="Erev Sukkot",Sw="Sukkot I",pw="Sukkot II",ww="Sukkot III (CH''M)",vw="Sukkot IV (CH''M)",Aw="Sukkot V (CH''M)",bw="Sukkot VI (CH''M)",Tw="Shmini Atzeret",Iw="Simchat Torah",Mw="Sukkot II (CH''M)",Ew="Sukkot VII (Hoshana Raba)",Ow="Chanukah: 1 Candle",Nw="Tu BiShvat",Cw="Erev Purim",Hw="Purim",Dw="Shushan Purim",_w="Erev Pesach",kw="Pesach I",Lw="Pesach II",Rw="Pesach II (CH''M)",Yw="Pesach III (CH''M)",Pw="Pesach IV (CH''M)",Bw="Pesach V (CH''M)",jw="Pesach VI (CH''M)",Fw="Pesach VII",Uw="Pesach VIII",xw="Pesach Sheni",Zw="Lag BaOmer",$w="Erev Shavuot",Vw="Shavuot",zw="Shavuot I",Kw="Shavuot II",Jw="Tu B'Av",Gw="Rosh Hashana LaBehemot",Ww="Erev Rosh Hashana",qw="Yom Yerushalayim",Xw="Ben-Gurion Day",Qw="Family Day",ev="Yitzhak Rabin Memorial Day",tv="Herzl Day",nv="Jabotinsky Day",rv="Sigd",ov="Yom HaAliyah",av="Yom HaAliyah School Observance",iv="Hebrew Language Day",sv={ASARA_BTEVET:"Asara B'Tevet",BIRKAT_HACHAMAH:"Birkat Hachamah",CHAG_HABANOT:"Chag HaBanot",CHANUKAH_8TH_DAY:"Chanukah: 8th Day",EREV_TISHA_BAV:"Erev Tish'a B'Av",LEIL_SELICHOT:"Leil Selichot",PURIM_KATAN:"Purim Katan",PURIM_MESHULASH:"Purim Meshulash",SHABBAT_CHAZON:"Shabbat Chazon",SHABBAT_HACHODESH:"Shabbat HaChodesh",SHABBAT_HAGADOL:"Shabbat HaGadol",SHABBAT_NACHAMU:"Shabbat Nachamu",SHABBAT_PARAH:"Shabbat Parah",SHABBAT_SHEKALIM:"Shabbat Shekalim",SHABBAT_SHIRAH:"Shabbat Shirah",SHABBAT_SHUVA:"Shabbat Shuva",SHABBAT_ZACHOR:"Shabbat Zachor",SHUSHAN_PURIM_KATAN:"Shushan Purim Katan",TAANIT_BECHOROT:"Ta'anit Bechorot",TAANIT_ESTHER:"Ta'anit Esther",TISHA_BAV:"Tish'a B'Av",TZOM_GEDALIAH:"Tzom Gedaliah",TZOM_TAMMUZ:"Tzom Tammuz",YOM_HAATZMA_UT:"Yom HaAtzma'ut",YOM_HASHOAH:"Yom HaShoah",YOM_HAZIKARON:"Yom HaZikaron",BEN_GURION_DAY:Xw,CHANUKAH_1_CANDLE:Ow,EREV_PESACH:_w,EREV_PURIM:Cw,EREV_ROSH_HASHANA:Ww,EREV_SHAVUOT:$w,EREV_SUKKOT:yw,EREV_YOM_KIPPUR:gw,FAMILY_DAY:Qw,HEBREW_LANGUAGE_DAY:iv,HERZL_DAY:tv,JABOTINSKY_DAY:nv,LAG_BAOMER:Zw,PESACH_I:kw,PESACH_II:Lw,PESACH_III_CHM:Yw,PESACH_II_CHM:Rw,PESACH_IV_CHM:Pw,PESACH_SHENI:xw,PESACH_VII:Fw,PESACH_VIII:Uw,PESACH_VI_CHM:jw,PESACH_V_CHM:Bw,PURIM:Hw,ROSH_HASHANA_II:dw,ROSH_HASHANA_LABEHEMOT:Gw,SHAVUOT:Vw,SHAVUOT_I:zw,SHAVUOT_II:Kw,SHMINI_ATZERET:Tw,SHUSHAN_PURIM:Dw,SIGD:rv,SIMCHAT_TORAH:Iw,SUKKOT_I:Sw,SUKKOT_II:pw,SUKKOT_III_CHM:ww,SUKKOT_II_CHM:Mw,SUKKOT_IV_CHM:vw,SUKKOT_VII_HOSHANA_RABA:Ew,SUKKOT_VI_CHM:bw,SUKKOT_V_CHM:Aw,TU_BAV:Jw,TU_BISHVAT:Nw,YITZHAK_RABIN_MEMORIAL_DAY:ev,YOM_HAALIYAH:ov,YOM_HAALIYAH_SCHOOL_OBSERVANCE:av,YOM_KIPPUR:mw,YOM_YERUSHALAYIM:qw},cv=[{mm:Gp,dd:2,desc:dw,flags:ew|nw,emoji:"🍏🍯"},{mm:Gp,dd:9,desc:gw,flags:uw|tw},{mm:Gp,dd:10,desc:mw,flags:ew|sw|nw},{mm:Gp,dd:14,desc:yw,flags:rw|uw|tw,emoji:fw},{mm:Gp,dd:15,desc:Sw,flags:rw|ew|aw,emoji:fw},{mm:Gp,dd:16,desc:pw,flags:rw|ew|nw,emoji:fw},{mm:Gp,dd:17,desc:ww,flags:rw|hw,chmDay:1,emoji:fw},{mm:Gp,dd:18,desc:vw,flags:rw|hw,chmDay:2,emoji:fw},{mm:Gp,dd:19,desc:Aw,flags:rw|hw,chmDay:3,emoji:fw},{mm:Gp,dd:20,desc:bw,flags:rw|hw,chmDay:4,emoji:fw},{mm:Gp,dd:22,desc:Tw,flags:rw|ew|aw},{mm:Gp,dd:23,desc:Iw,flags:rw|ew|nw},{mm:Gp,dd:14,desc:yw,flags:ow|uw|tw,emoji:fw},{mm:Gp,dd:15,desc:Sw,flags:ow|ew|nw,emoji:fw},{mm:Gp,dd:16,desc:Mw,flags:ow|hw,chmDay:1,emoji:fw},{mm:Gp,dd:17,desc:ww,flags:ow|hw,chmDay:2,emoji:fw},{mm:Gp,dd:18,desc:vw,flags:ow|hw,chmDay:3,emoji:fw},{mm:Gp,dd:19,desc:Aw,flags:ow|hw,chmDay:4,emoji:fw},{mm:Gp,dd:20,desc:bw,flags:ow|hw,chmDay:5,emoji:fw},{mm:Gp,dd:22,desc:Tw,flags:ow|ew|nw},{mm:Gp,dd:21,desc:Ew,flags:tw|hw,chmDay:-1,emoji:fw},{mm:qp,dd:24,desc:Ow,flags:uw|cw|iw,emoji:"🕎1️⃣"},{mm:Xp,dd:15,desc:Nw,flags:cw,emoji:"🌳"},{mm:Qp,dd:13,desc:Cw,flags:uw|cw,emoji:"🎭️📜"},{mm:Qp,dd:14,desc:Hw,flags:cw,emoji:"🎭️📜"},{mm:Qp,dd:15,desc:Dw,flags:cw,emoji:"🎭️📜"},{mm:Zp,dd:14,desc:_w,flags:ow|uw|tw,emoji:"🫓🍷"},{mm:Zp,dd:15,desc:kw,flags:ow|ew|nw,emoji:lw},{mm:Zp,dd:16,desc:Rw,flags:ow|hw,chmDay:1,emoji:lw},{mm:Zp,dd:17,desc:Yw,flags:ow|hw,chmDay:2,emoji:lw},{mm:Zp,dd:18,desc:Pw,flags:ow|hw,chmDay:3,emoji:lw},{mm:Zp,dd:19,desc:Bw,flags:ow|hw,chmDay:4,emoji:lw},{mm:Zp,dd:20,desc:jw,flags:ow|hw|tw,chmDay:5,emoji:lw},{mm:Zp,dd:21,desc:Fw,flags:ow|ew|nw,emoji:lw},{mm:Zp,dd:14,desc:_w,flags:rw|uw|tw,emoji:"🫓🍷"},{mm:Zp,dd:15,desc:kw,flags:rw|ew|aw,emoji:"🫓🍷"},{mm:Zp,dd:16,desc:Lw,flags:rw|ew|nw,emoji:lw},{mm:Zp,dd:17,desc:Yw,flags:rw|hw,chmDay:1,emoji:lw},{mm:Zp,dd:18,desc:Pw,flags:rw|hw,chmDay:2,emoji:lw},{mm:Zp,dd:19,desc:Bw,flags:rw|hw,chmDay:3,emoji:lw},{mm:Zp,dd:20,desc:jw,flags:rw|hw|tw,chmDay:4,emoji:lw},{mm:Zp,dd:21,desc:Fw,flags:rw|ew|aw,emoji:lw},{mm:Zp,dd:22,desc:Uw,flags:rw|ew|nw,emoji:lw},{mm:$p,dd:14,desc:xw,flags:cw},{mm:$p,dd:18,desc:Zw,flags:cw,emoji:"🔥"},{mm:Vp,dd:5,desc:$w,flags:uw|tw,emoji:"⛰️🌸"},{mm:Vp,dd:6,desc:Vw,flags:ow|ew|nw,emoji:"⛰️🌸"},{mm:Vp,dd:6,desc:zw,flags:rw|ew|aw,emoji:"⛰️🌸"},{mm:Vp,dd:7,desc:Kw,flags:rw|ew|nw,emoji:"⛰️🌸"},{mm:Kp,dd:15,desc:Jw,flags:cw,emoji:"❤️"},{mm:Jp,dd:1,desc:Gw,flags:cw,emoji:"🐑"},{mm:Jp,dd:29,desc:Ww,flags:uw|tw,emoji:"🍏🍯"}],uv=[{firstYear:5727,mm:$p,dd:28,desc:qw,chul:!0},{firstYear:5737,mm:qp,dd:6,desc:Xw,satPostponeToSun:!0,friPostponeToSun:!0},{firstYear:5750,mm:Xp,dd:30,desc:Qw},{firstYear:5758,mm:Wp,dd:12,desc:ev,friSatMovetoThu:!0},{firstYear:5764,mm:$p,dd:10,desc:tv,satPostponeToSun:!0},{firstYear:5765,mm:zp,dd:29,desc:nv,satPostponeToSun:!0},{firstYear:5769,mm:Wp,dd:29,desc:rv,chul:!0,suppressEmoji:!0},{firstYear:5777,mm:Zp,dd:10,desc:ov,chul:!0},{firstYear:5777,mm:Wp,dd:7,desc:av},{firstYear:5773,mm:A.TEVET,dd:21,desc:iv,friSatMovetoThu:!0}];class hv extends $e{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()&xe.IL_ONLY?e+"?i=on":e}urlDateSuffix(){const e=this.getDate().greg().getFullYear();return String(e)}getEmoji(){return this.emoji?this.emoji:this.getFlags()&xe.SPECIAL_SHABBAT?"🕍":"✡️"}getCategories(){if(this.cholHaMoedDay)return["holiday","major","cholhamoed"];const e=super.getCategories();if("unknown"!==e[0])return e;switch(this.getDesc()){case sv.LAG_BAOMER:case sv.LEIL_SELICHOT:case sv.PESACH_SHENI:case sv.EREV_PURIM:case sv.PURIM_KATAN:case sv.SHUSHAN_PURIM:case sv.TU_BAV:case sv.TU_BISHVAT:case sv.ROSH_HASHANA_LABEHEMOT:return["holiday","minor"]}return["holiday","major"]}render(e){return super.render(e).replace(/'/g,"’")}renderBrief(e){return super.renderBrief(e).replace(/'/g,"’")}clone(){const e=new hv(this.date,this.desc,this.mask);for(const t in this)this.hasOwnProperty(t)&&Object.defineProperty(e,t,{value:this[t]});return e}}class lv extends hv{urlDateSuffix(){return Se(this.getDate().greg()).replace(/-/g,"")}}class fv extends hv{constructor(e,t,n){super(e,`Rosh Hashana ${t}`,n),this.hyear=t}render(e){return Me.gettext("Rosh Hashana",e)+" "+this.hyear}getEmoji(){return"🍏🍯"}}const dv="Rosh Chodesh";class gv extends hv{constructor(e,t){super(e,`${dv} ${t}`,xe.ROSH_CHODESH)}render(e){const t=this.getDesc().substring(13),n=Me.gettext(t,e).replace(/'/g,"’");return Me.gettext(dv,e)+" "+n}basename(){return this.getDesc()}getEmoji(){return this.emoji||"🌒"}}const mv="Shabbat Mevarchim Chodesh";class yv extends $e{constructor(e,t,n){if(super(e,`${mv} ${t}`,xe.SHABBAT_MEVARCHIM),this.monthName=t,n)this.memo=n;else{const t=e.getFullYear(),n=e.getMonth(),r=n===ke.monthsInYear(t)?A.NISAN:n+1,o=new gp(t,r);this.memo=o.render("en",{hour12:!1})}}basename(){return this.getDesc()}render(e){const t=Me.gettext(this.monthName,e).replace(/'/g,"’");return Me.gettext(mv,e)+" "+t}renderBrief(e){const t=this.render(e),n=t.indexOf(" ");return t.substring(n+1)}}const Sv=new Map;class pv{static addCalendar(e,t){if("function"!=typeof t)throw new TypeError(`Invalid calendar function: ${t}`);Sv.set(e,t)}static lookup(e,t,n){const r=Sv.get(e);return"function"==typeof r?r(t,n):null}}const wv="5.4.10";function vv(e,t,n,r,o){let a=!1,i=o,s=e?e.getFlags():xe.LIGHT_CANDLES;void 0!==e?r||(s&(xe.LIGHT_CANDLES_TZEIS|xe.CHANUKAH_CANDLES)?i=!0:s&xe.YOM_TOV_ENDS&&(a=!0,i=!0)):o&&(a=!0,s=xe.LIGHT_CANDLES_TZEIS);const c=i?n.havdalahMins:n.candleLightingMins,u=n.location,h=Boolean(n.useElevation),l=new ap(u,t,h),f=c?l.sunsetOffset(c,!0):l.tzeit(n.havdalahDeg);if(!isNaN(f.getTime()))return a?new hp(t,s,f,u,n.havdalahMins,e,n):new up(t,s,f,u,e,n)}const Av="Fast begins",bv="Fast ends";function Tv(e,t,n,r){const o=r.location,a=e.getDate();return new cp(a,n,e.getFlags(),t,o,e,r)}class Iv extends hv{constructor(e,t,n,r,o){super(e,t,n),this.eventTime=ap.roundTime(r);const a=o.getTimeFormatter();this.eventTimeStr=ap.formatTime(this.eventTime,a),this.location=o}}const Mv=0,Ev=2,Ov=5,Nv=6,Cv=A.NISAN,Hv=A.IYYAR;function Dv(e){if(e<5708)return null;let t;const n=new ke(15,Cv,e).getDay();return t=n===Mv?2:n===Nv?3:e<5764?4:n===Ev?5:4,new ke(t,Hv,e)}const _v="Yom Kippur Katan";class kv extends hv{constructor(e,t){super(e,`${_v} ${t}`,xe.MINOR_FAST|xe.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=Me.gettext(this.nextMonthName,e).replace(/'/g,"’");return Me.gettext(_v,e)+" "+t}renderBrief(e){return Me.gettext(_v,e)}url(){}}const Lv=xe.CHAG,Rv=xe.IL_ONLY,Yv=xe.LIGHT_CANDLES_TZEIS,Pv=xe.CHANUKAH_CANDLES,Bv=xe.MINOR_FAST,jv=xe.SPECIAL_SHABBAT,Fv=xe.MODERN_HOLIDAY,Uv=xe.MAJOR_FAST,xv=xe.MINOR_HOLIDAY,Zv=xe.EREV,$v=A.NISAN,Vv=A.TAMUZ,zv=A.AV,Kv=A.TISHREI,Jv=A.KISLEV,Gv=A.TEVET,Wv=A.ADAR_I,qv=A.ADAR_II,Xv={emoji:"🇮🇱"},Qv=new Sp({maxSize:400}),eA=["0️⃣","1️⃣","2️⃣","3️⃣","4️⃣","5️⃣","6️⃣","7️⃣","8️⃣","9️⃣"];function tA(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=Qv.get(e);if(t)return t;const n=new ke(1,Kv,e),r=new ke(15,$v,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()&Zv?n.unshift(t):n.push(t):o.set(e,[t])}}for(const t of cv){const n=new ke(t.dd,t.mm,e),r=new hv(n,t.desc,t.flags);t.emoji&&(r.emoji=t.emoji),t.chmDay&&(r.cholHaMoedDay=t.chmDay),a(r)}a(new fv(n,e,Lv|Yv));const i=4===n.getDay()?4:3;a(new hv(new ke(i,Kv,e),sv.TZOM_GEDALIAH,Bv)),a(new hv(new ke(ke.dayOnOrBefore(6,7+n.abs())),sv.SHABBAT_SHUVA,jv));const s=ke.shortKislev(e)?new ke(1,Gv,e):new ke(30,Jv,e);a(new hv(s,sv.CHAG_HABANOT,xv));for(let t=2;t<=8;t++){const n=new ke(23+t,Jv,e);a(new hv(n,`Chanukah: ${t} Candles`,xv|Pv,{chanukahDay:t-1,emoji:"🕎"+eA[t]}))}a(new hv(new ke(32,Jv,e),sv.CHANUKAH_8TH_DAY,xv,{chanukahDay:8,emoji:"🕎"})),a(new lv(new ke(10,Gv,e),sv.ASARA_BTEVET,Bv));const c=r.abs();a(new hv(new ke(ke.dayOnOrBefore(6,c-43)),sv.SHABBAT_SHEKALIM,jv),new hv(new ke(ke.dayOnOrBefore(6,c-30)),sv.SHABBAT_ZACHOR,jv),new hv(new ke(c-(2===r.getDay()?33:31)),sv.TAANIT_ESTHER,Bv));const u=ke.dayOnOrBefore(6,c-14);a(new hv(new ke(u-7),sv.SHABBAT_PARAH,jv),new hv(new ke(u),sv.SHABBAT_HACHODESH,jv),new hv(new ke(ke.dayOnOrBefore(6,c-1)),sv.SHABBAT_HAGADOL,jv),new hv(6===r.prev().getDay()?r.onOrBefore(4):new ke(14,$v,e),sv.TAANIT_BECHOROT,Bv)),a(new hv(new ke(ke.dayOnOrBefore(6,new ke(1,Kv,e+1).abs()-4)),sv.LEIL_SELICHOT,xv,{emoji:"🕍"})),0===r.getDay()&&a(new hv(new ke(16,qv,e),sv.PURIM_MESHULASH,xv)),ke.isLeapYear(e)&&(a(new hv(new ke(14,Wv,e),sv.PURIM_KATAN,xv,{emoji:"🎭️"})),a(new hv(new ke(15,Wv,e),sv.SHUSHAN_PURIM_KATAN,xv,{emoji:"🎭️"})));const h=function(e){if(e<5711)return null;let t=new ke(27,Cv,e);return t.getDay()===Ov?t=new ke(26,Cv,e):t.getDay()===Mv&&(t=new ke(28,Cv,e)),t}(e);h&&a(new hv(h,sv.YOM_HASHOAH,Fv));const l=Dv(e);l&&a(new hv(l,sv.YOM_HAZIKARON,Fv,Xv),new hv(l.next(),sv.YOM_HAATZMA_UT,Fv,Xv));for(const t of uv)if(e>=t.firstYear){let n=new ke(t.dd,t.mm,e);const r=n.getDay();!t.friSatMovetoThu||5!==r&&6!==r?t.friPostponeToSun&&5===r?n=new ke(n.abs()+2):t.satPostponeToSun&&6===r&&(n=n.next()):n=n.onOrBefore(4);const o=t.chul?Fv:Fv|Rv,i=new hv(n,t.desc,o);t.suppressEmoji||(i.emoji="🇮🇱"),a(i)}let f,d=new ke(17,Vv,e);6===d.getDay()&&(d=new ke(18,Vv,e),f={observed:!0}),a(new hv(d,sv.TZOM_TAMMUZ,Bv,f));let g,m=new ke(9,zv,e),y=sv.TISHA_BAV;6===m.getDay()&&(m=m.next(),g={observed:!0},y+=" (observed)");const S=m.abs();a(new hv(new ke(ke.dayOnOrBefore(6,S)),sv.SHABBAT_CHAZON,jv),new hv(m.prev(),sv.EREV_TISHA_BAV,Zv|Uv,g),new hv(m,y,Uv,g),new hv(new ke(ke.dayOnOrBefore(6,S+7)),sv.SHABBAT_NACHAMU,jv));const p=ke.monthsInYear(e);for(let t=1;t<=p;t++){const n=ke.getMonthName(t,e);30===(t===$v?ke.daysInMonth(ke.monthsInYear(e-1),e-1):ke.daysInMonth(t-1,e))?(a(new gv(new ke(1,t,e),n)),a(new gv(new ke(30,t-1,e),n))):t!==Kv&&a(new gv(new ke(1,t,e),n))}for(let t=A.IYYAR;t<=p;t++){const n=t+1;if(n===Kv||n===A.CHESHVAN||n===Gv)continue;let r=new ke(29,t,e);const o=r.getDay();5!==o&&6!==o||(r=r.onOrBefore(4));const i=ke.getMonthName(n,e);a(new kv(r,i))}const w=Up(e,!1).find(15);a(new hv(w,sv.SHABBAT_SHIRAH,jv));const v=function(e){const t=ke.isLeapYear(e),n=t?qv:$v,r=t?20:1,o=ke.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(v){const e=new ke(v);a(new hv(e,sv.BIRKAT_HACHAMAH,xv,{emoji:"☀️"}))}return Qv.set(e,o),o}function nA(e,t){const n=[];for(let r=e;r<=t;r++)n.push(r);return n}const rA={shacharit:!1,mincha:!1,allCongs:!1};function oA(e,t){return aA(e,t,!0)}function aA(e,t,n){const r=function(e,t){const n=ke.isLeapYear(e),r=ke.monthsInYear(e);let o=new ke(9,A.AV,e);6===o.getDay()&&(o=o.next());let a=new ke(15,A.ADAR_II,e);6===a.getDay()&&(a=a.next());const i=[new ke(2,A.TISHREI,e)].concat(nA(1,r).map((t=>new ke(1,t,e))),nA(1,r).filter((t=>30===ke.daysInMonth(t,e))).map((t=>new ke(30,t,e))),nA(1,ke.daysInMonth(A.NISAN,e)).map((t=>new ke(t,A.NISAN,e))),new ke(18,A.IYYAR,e),nA(1,8-(t?1:0)).map((t=>new ke(t,A.SIVAN,e))),o,new ke(15,A.AV,e),new ke(29,A.ELUL,e),nA(9,24-(t?1:0)).map((t=>new ke(t,A.TISHREI,e))),nA(25,33).map((t=>new ke(t,A.KISLEV,e))),new ke(15,A.SHVAT,e),new ke(14,A.ADAR_II,e),a,n?new ke(14,A.ADAR_I,e):[]),s=[new ke(14,A.IYYAR,e)].concat(nA(1,13).map((t=>new ke(t,A.SIVAN,e))),nA(20,31).map((t=>new ke(t,A.TISHREI,e))),e>=5708?Dv(e).next():[],e>=5727?new ke(28,A.IYYAR,e):[]),c=[new ke(29,A.ELUL,e-1),new ke(9,A.TISHREI,e),new ke(14,A.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 rA;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=aA(new ke(s),t,!1);i.mincha=e.shacharit}else i.mincha=5!==a;return!i.allCongs||i.mincha||i.shacharit?i:rA}const iA=A.TISHREI;function sA(e){if("number"==typeof e)return e;if(s(e))return u(e);if(ke.isHDate(e))return e.abs();throw new TypeError(`Invalid date type: ${e}`)}function cA(e){if(e.start&&!e.end||e.end&&!e.start)throw new TypeError("Both options.start and options.end are required");if(e.start&&e.end)return[sA(e.start),sA(e.end)];const t=Boolean(e.isHebrewYear),n=function(e){return void 0!==e.year?Number(e.year):e.isHebrewYear?(new ke).getFullYear():(new Date).getFullYear()}(e);if(isNaN(n))throw new RangeError(`Invalid year ${e.year}`);if(t&&n<1)throw new RangeError(`Invalid Hebrew year ${n}`);const r=function(e){if(e.month){if(e.isHebrewYear)return ke.monthNum(e.month);if("number"==typeof e.month)return e.month}return NaN}(e),o=Number(e.numYears)||1;return t?function(e,t,n){const r=new ke(1,e||iA,t);let o=r.abs();const a=e?o+r.daysInMonth():new ke(1,iA,t+n).abs()-1;!e&&t>1&&o--;return[o,a]}(r,n,o):function(e,t,n){const r=e?e-1:0,o=new Date(t,r,1);t<100&&o.setFullYear(t);const a=u(o);let s;if(e)s=a+i(e,t)-1;else{const e=t+n,r=new Date(e,0,1);e<100&&r.setFullYear(e),s=u(r)-1}return[a,s]}(r,n,o)}const uA=A.NISAN,hA=A.SIVAN,lA=A.ELUL,fA=A.TISHREI,dA=xe.LIGHT_CANDLES,gA=xe.YOM_TOV_ENDS,mA=xe.CHUL_ONLY,yA=xe.IL_ONLY,SA=xe.LIGHT_CANDLES_TZEIS,pA=xe.CHANUKAH_CANDLES,wA=xe.MINOR_FAST,vA=xe.SPECIAL_SHABBAT,AA=xe.MODERN_HOLIDAY,bA=xe.MAJOR_FAST,TA=xe.ROSH_CHODESH,IA=xe.PARSHA_HASHAVUA,MA=xe.DAF_YOMI,EA=xe.MISHNA_YOMI,OA=xe.NACH_YOMI,NA=xe.YERUSHALMI_YOMI,CA=xe.OMER_COUNT,HA=xe.SHABBAT_MEVARCHIM,DA=xe.MINOR_HOLIDAY,_A=xe.EREV,kA=xe.CHOL_HAMOED,LA=xe.YOM_KIPPUR_KATAN,RA=new Set,YA={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 PA={Jerusalem:40,Haifa:30,"Zikhron Ya'aqov":30,"Zikhron Ya'akov":30,"Zikhron Yaakov":30,"Zichron Ya'akov":30,"Zichron Yaakov":30},BA={281184:40,294801:30,293067:30};function jA(e){if(!e.candlelighting)return;const t=e.location;if(void 0===t||!(t instanceof rp))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=BA[n];if("number"==typeof e)return e}const r=e.getShortName();if(r){const e=PA[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 FA(e){var t;if("number"==typeof e.mask)return function(e){const t=e.mask||0;t&TA&&delete e.noRoshChodesh;t&AA&&delete e.noModern;t&wA&&delete e.noMinorFast;t&vA&&delete e.noSpecialShabbat;t&IA&&(e.sedrot=!0);t&(MA|EA|OA|NA)&&(e.dailyLearning=e.dailyLearning||{},t&MA&&(e.dailyLearning.dafYomi=!0),t&EA&&(e.dailyLearning.mishnaYomi=!0),t&OA&&(e.dailyLearning.nachYomi=!0),t&NA&&(e.dailyLearning.yerushalmi=1));t&CA&&(e.omer=!0);t&HA&&(e.shabbatMevarchim=!0);t&LA&&(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|=TA|gA|wA|vA|AA|bA|DA|_A|kA|dA|SA|pA),e.candlelighting&&(r|=dA|SA|gA),e.noRoshChodesh&&(r&=~TA),e.noModern&&(r&=~AA),e.noMinorFast&&(r&=~wA),e.noSpecialShabbat&&(r&=~vA,r&=~HA),r|=n?yA:mA,e.sedrot&&(r|=IA),e.omer&&(r|=CA),e.shabbatMevarchim&&(r|=HA),e.yomKippurKatan&&(r|=LA),e.dailyLearning){const t=e.dailyLearning;t.dafYomi&&(r|=MA),t.mishnaYomi&&(r|=EA),t.nachYomi&&(r|=OA),t.yerushalmi&&(r|=NA)}return r}const UA=dA|SA|pA|gA,xA=new rp(0,0,!1,"UTC");function ZA(e){return e.observedInIsrael()}function $A(e){return e.observedInDiaspora()}class VA{constructor(){}static calendar(e={}){jA(e=Object.assign({},e));const t=e.location=e.location||xA,n=e.il=e.il||t.getIsrael()||!1,r="number"==typeof e.mask;if(e.mask=FA(e),e.ashkenazi||e.locale){if(e.locale&&"string"!=typeof e.locale)throw new TypeError(`Invalid options.locale: ${e.locale}`);const t=e.ashkenazi?"ashkenazi":e.locale;if(!Me.useLocale(t))throw new TypeError(`Locale '${t}' not found; did you forget to import @hebcal/locales?`)}else Me.useLocale("en");const o=[];let a,i,s=-1,c=-1,u=-1;const l=cA(e);!function(e){for(const t of Object.keys(e))void 0!==YA[t]||RA.has(t)||(console.warn(`Ignoring unrecognized HebrewCalendar option: ${t}`),RA.add(t))}(e);const f=l[0],d=l[1];h(f).getFullYear()<100&&(e.candlelighting=!1);for(let t=f;t<=d;t++){const h=new ke(t),l=h.getFullYear();l!==u&&(u=l,i=tA(u),e.sedrot&&(a=Up(u,n)),e.omer&&(s=ke.hebrew2abs(u,uA,16),c=ke.hebrew2abs(u,hA,5)));const f=o.length,d=h.getDay(),g=5===d,m=6===d;let y;const S=i.get(h.toString())||[];for(const t of S)y=KA(y,o,t,e,g,m,r);if(e.sedrot&&m){const e=a.lookup(t);e.chag||o.push(new xp(h,e.parsha,n,e.num))}const p=e.dailyLearning;if("object"==typeof p){const e=WA(h,p,n);o.push(...e)}if(e.omer&&t>=s&&t<=c){const n=qA(h,t-s+1,e);o.push(n)}if(m&&(e.molad||e.shabbatMevarchim)){const t=JA(h,e);o.push(...t)}if(!y&&e.candlelighting&&(g||m)&&(y=vv(void 0,h,e,g,m),g&&y&&a&&(y.memo=a.getString(t,e.locale))),y instanceof hp&&(0===e.havdalahMins||0===e.havdalahDeg)&&(y=void 0),y&&o.push(y),e.addHebrewDates||e.addHebrewDatesForEvents&&f!==o.length){const e=new Ve(h);f===o.length?o.push(e):o.splice(f,0,e)}}return o}static getBirthdayOrAnniversary(e,t){const n=function(e,t){const n=z(t),r=n.yy;if(e===r)return n;if(e<r)return;const o=D(r);let a=n.mm,i=n.dd;return a===$&&!o||a===V&&o?a=_(e):a!==F||30!==i||P(e)?a===U&&30===i&&B(e)?(a=x,i=1):a===$&&30===i&&o&&!D(e)&&(a=j,i=1):(a=U,i=1),{yy:e,mm:a,dd:i}}(e,t);return void 0===n?n:new ke(n)}static getYahrzeit(e,t){const n=function(e,t){let n=z(t);if(!(e<=n.yy))return n.mm!==F||30!==n.dd||P(n.yy+1)?n.mm===U&&30===n.dd&&B(n.yy+1)?n=H(N(e,x,1)-1):n.mm===V?n.mm=_(e):n.mm!==$||30!==n.dd||D(e)||(n.dd=30,n.mm=Z):n=H(N(e,U,1)-1),n.mm!==F||30!==n.dd||P(e)?n.mm===U&&30===n.dd&&B(e)&&(n.mm=x,n.dd=1):(n.mm=U,n.dd=1),n.yy=e,n}(e,t);return void 0===n?n:new ke(n)}static getHolidaysForYear(e){return tA(e)}static getHolidaysForYearArray(e,t){const n=tA(e),r=ke.hebrew2abs(e,fA,1),o=ke.hebrew2abs(e+1,fA,1)-1;let a=[];const i=t?ZA:$A;for(let e=r;e<=o;e++){const t=new ke(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=ke.isHDate(e)?e:new ke(e),r=n.toString(),o=tA(n.getFullYear()).get(r);if(void 0===t||void 0===o)return o;const a=t?ZA:$A;return o.filter(a)}static eruvTavshilin(e,t){if(e.getDay()<3||e.getDay()>4)return!1;const n=new ke(e),r=n.after(5),o=n.next();return!(!zA(r,t)||zA(n,t)||!zA(o,t))}static reformatTimeStr(e,t,n){return sp(e,t,n)}static version(){return wv}static getSedra(e,t){return Up(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===A.NISAN&&(15===o||16===o)&&e.getFlags()&xe.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()&xe.ROSH_CHODESH||t.startsWith("Pesach")&&"Pesach I"!==t&&"Pesach II"!==t})).map((e=>e.getDate().abs())).includes(r)?1:0}(VA.getHolidaysForYearArray(e.getFullYear(),t),e)}static tachanun(e,t){return oA(e,t)}}function zA(e,t){return 0!==(VA.getHolidaysOnDate(e,t)||[]).filter((e=>e.getFlags()&xe.CHAG)).length}function KA(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&LA||r.noModern&&c&AA)return e;const u=Boolean(c&bA),h=Boolean(c&wA);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 ap(a,o,s);if("Erev Tish'a B'Av"===n){const n=c.sunset();isNaN(n.getTime())||(e.startEvent=Tv(e,n,Av,t))}else if(n.startsWith("Tish'a B'Av")){const n=c.tzeit(i);isNaN(n.getTime())||(e.endEvent=Tv(e,n,bv,t))}else{const n=c.alotHaShachar();if(isNaN(n.getTime())||(e.startEvent=Tv(e,n,Av,t)),5!==o.getDay()&&(14!==r.getDate()||r.getMonth()!==A.NISAN)){const n=c.tzeit(i);isNaN(n.getTime())||(e.endEvent=Tv(e,n,bv,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&UA){const t=n.getDate();if(e=vv(n,t,r,o,a),c&pA&&e&&!r.noHolidays){const i=function(e,t,n){const r=n.location,o=Boolean(n.useElevation),a=new ap(r,t.greg(),o).beinHaShmashos();if(isNaN(a.getTime()))return null;const i=new Iv(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&LA)&&t.push(n)}return n.endEvent&&(u||h&&!r.noMinorFast)&&t.push(n.endEvent),e}function JA(e,t){const n=[],r=e.getMonth(),o=e.getDate();if(r!==lA&&o>=23&&o<=29){const o=e.getFullYear(),a=r===ke.monthsInYear(o)?uA:r+1;if(t.molad&&n.push(new mp(e,o,a,t)),t.shabbatMevarchim){const r=ke.getMonthName(a,o),i=new gp(o,a).render(t.locale||"en",t);n.push(new yv(e,r,i))}}return n}function GA(e,t){return"yerushalmi"===e?2===t?"yerushalmi-schottenstein":"yerushalmi-vilna":e}function WA(e,t,n){const r=[];for(const[o,a]of Object.entries(t))if(a){const t=GA(o,a),i=pv.lookup(t,e,n);i&&r.push(i)}return r}function qA(e,t,n){const r=new yp(e,t);if(n.candlelighting){const t=n.location,o=new ap(t,e.prev(),!1).tzeit(7.0833);isNaN(o.getTime())||(r.alarm=o)}return r}return e.AsaraBTevetEvent=lv,e.CandleLightingEvent=up,e.DailyLearning=pv,e.Event=$e,e.GeoLocation=WS,e.HDate=ke,e.HavdalahEvent=hp,e.HebrewCalendar=VA,e.HebrewDateEvent=Ve,e.HolidayEvent=hv,e.Locale=Me,e.Location=rp,e.MevarchimChodeshEvent=yv,e.Molad=gp,e.MoladEvent=mp,e.NOAACalculator=XS,e.OmerEvent=yp,e.ParshaEvent=xp,e.RoshChodeshEvent=gv,e.RoshHashanaEvent=fv,e.Sedra=pp,e.TimedEvent=cp,e.Zmanim=ap,e.flags=xe,e.gematriya=q,e.gematriyaStrToNum=X,e.holidayDesc=sv,e.months=A,e.parshiot=wp,e.version=wv,e}({});
|
|
3
3
|
//# sourceMappingURL=bundle.min.js.map
|