@bereasoftware/time-guard 2.5.0 → 2.5.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.en.md +6 -3
- package/README.md +6 -3
- package/dist/calendars/index.es.js +1 -1
- package/dist/plugins/advanced-format.cjs +1 -1
- package/dist/plugins/advanced-format.cjs.map +1 -1
- package/dist/plugins/advanced-format.es.js +1 -53
- package/dist/plugins/advanced-format.es.js.map +1 -1
- package/dist/plugins/duration.es.js +1 -1
- package/dist/plugins/relative-time.es.js +1 -1
- package/dist/time-guard.cjs +3 -1
- package/dist/time-guard.cjs.map +1 -1
- package/dist/time-guard.es.js +7355 -285
- package/dist/time-guard.es.js.map +1 -1
- package/dist/time-guard.iife.js +3 -1
- package/dist/time-guard.iife.js.map +1 -1
- package/dist/time-guard.umd.js +3 -1
- package/dist/time-guard.umd.js.map +1 -1
- package/dist/types/adapters/temporal.adapter.d.ts +1 -1
- package/dist/types/formatters/date.formatter.d.ts +1 -1
- package/dist/types/plugins/advanced-format/index.d.ts +0 -32
- package/dist/types/time-guard.d.ts +14 -170
- package/dist/types/types/index.d.ts +8 -0
- package/package.json +1 -2
- package/dist/types/locales/locales-data.d.ts +0 -17
- package/dist/types/polyfill-loader.d.ts +0 -6
package/dist/time-guard.cjs
CHANGED
|
@@ -1,2 +1,4 @@
|
|
|
1
|
-
Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});var e=null,t=!1;function n(){if(e)return e;let n=globalThis.Temporal;if(!n){if(!t&&typeof globalThis.require==`function`)try{globalThis.require(`@js-temporal/polyfill`),t=!0;let n=globalThis.Temporal;if(n)return e=n,n}catch{}throw Error(`Temporal API not loaded. Make sure @js-temporal/polyfill is imported in your app.`)}return e=n,n}var r=class{static parseToPlainDateTime(e){let t=n();return this.isPlainDateTime(e)?e:this.isZonedDateTime(e)?e.toPlainDateTime():this.isPlainDate(e)?e.toPlainDateTime({hour:0,minute:0,second:0,millisecond:0}):this.isPlainTime(e)?t.Now.plainDateTimeISO().with(e):typeof e==`object`&&e&&`getTime`in e&&typeof e.getTime==`function`?this.fromDate(e):typeof e==`number`?this.fromUnix(e):typeof e==`string`?this.parseISOString(e):typeof e==`object`&&e?this.fromObject(e):t.Now.plainDateTimeISO()}static fromDate(e){let t=n(),[r,i]=e.toISOString().split(`T`);return t.PlainDateTime.from(r+`T`+i.slice(0,-1))}static fromUnix(e){return this.fromDate(new Date(e))}static parseISOString(e){let t=n();try{if(e.includes(`T`)||/ \d{2}:\d{2}/.test(e)){let n=e.replace(` `,`T`);return t.PlainDateTime.from(n)}return t.PlainDate.from(e).toPlainDateTime({hour:0})}catch{return t.Now.plainDateTimeISO()}}static fromObject(e){let t=n(),r=e.year||t.Now.plainDateISO().year,i=e.month||1,a=e.day||1,o=e.hour||0,s=e.minute||0,c=e.second||0,l=e.millisecond||0;return t.PlainDateTime.from({year:r,month:i,day:a,hour:o,minute:s,second:c,millisecond:l})}static toDate(e){let t=this.toPlainDateTime(e);return new Date(t.toString())}static toUnix(e){let t=this.toPlainDateTime(e);return Date.UTC(t.year,t.month-1,t.day,t.hour,t.minute,t.second,t.millisecond)}static toISOString(e){return this.toPlainDateTime(e).toString()+`Z`}static toPlainDateTime(e){return this.isPlainDateTime(e)?e:e.toPlainDateTime()}static isPlainDateTime(e){return typeof e==`object`&&!!e&&`year`in e&&`month`in e&&`day`in e&&`hour`in e}static isZonedDateTime(e){return typeof e==`object`&&!!e&&`timeZone`in e}static isPlainDate(e){return typeof e==`object`&&!!e&&`year`in e&&`month`in e&&`day`in e&&!(`hour`in e)&&`toPlainDateTime`in e}static isPlainTime(e){return typeof e==`object`&&!!e&&`hour`in e&&!(`year`in e)}static now(){return n().Now.plainDateTimeISO()}static nowInTimezone(e){return n().Now.zonedDateTimeISO(e)}static compare(e,t){let r=n();if(r.PlainDateTime&&typeof r.PlainDateTime.compare==`function`)return r.PlainDateTime.compare(e,t);let i=e.toString(),a=t.toString();return i<a?-1:+(i>a)}},i={name:`en`,months:[`January`,`February`,`March`,`April`,`May`,`June`,`July`,`August`,`September`,`October`,`November`,`December`],monthsShort:[`Jan`,`Feb`,`Mar`,`Apr`,`May`,`Jun`,`Jul`,`Aug`,`Sep`,`Oct`,`Nov`,`Dec`],weekdays:[`Sunday`,`Monday`,`Tuesday`,`Wednesday`,`Thursday`,`Friday`,`Saturday`],weekdaysShort:[`Sun`,`Mon`,`Tue`,`Wed`,`Thu`,`Fri`,`Sat`],weekdaysMin:[`Su`,`Mo`,`Tu`,`We`,`Th`,`Fr`,`Sa`],meridiem:{am:`AM`,pm:`PM`},formats:{iso:`YYYY-MM-DDTHH:mm:ss.SSSZ`,date:`YYYY-MM-DD`,time:`HH:mm:ss`,datetime:`YYYY-MM-DD HH:mm:ss`,rfc2822:`ddd, DD MMM YYYY HH:mm:ss Z`}},a={name:`es`,months:[`Enero`,`Febrero`,`Marzo`,`Abril`,`Mayo`,`Junio`,`Julio`,`Agosto`,`Septiembre`,`Octubre`,`Noviembre`,`Diciembre`],monthsShort:[`Ene`,`Feb`,`Mar`,`Abr`,`May`,`Jun`,`Jul`,`Ago`,`Sep`,`Oct`,`Nov`,`Dic`],weekdays:[`Domingo`,`Lunes`,`Martes`,`Miércoles`,`Jueves`,`Viernes`,`Sábado`],weekdaysShort:[`Dom`,`Lun`,`Mar`,`Mié`,`Jue`,`Vie`,`Sáb`],weekdaysMin:[`Do`,`Lu`,`Ma`,`Mi`,`Ju`,`Vi`,`Sa`],meridiem:{am:`AM`,pm:`PM`},formats:{iso:`YYYY-MM-DDTHH:mm:ss.SSSZ`,date:`DD/MM/YYYY`,time:`HH:mm:ss`,datetime:`DD/MM/YYYY HH:mm:ss`,rfc2822:`ddd, DD MMM YYYY HH:mm:ss Z`}},o=class e{static instance;locales=new Map;currentLocale=`en`;static getInstance(){return e.instance||=new e,e.instance}constructor(){this.locales.set(`en`,i),this.locales.set(`es`,a)}setLocale(e,t){t&&this.locales.set(e.toLowerCase(),t),this.currentLocale=e.toLowerCase()}getLocale(e){let t=(e||this.currentLocale).toLowerCase();return this.locales.get(t)||this.locales.get(`en`)||i}listLocales(){return Array.from(this.locales.keys())}getCurrentLocale(){return this.currentLocale}loadLocales(e){Object.entries(e).forEach(([e,t])=>{this.locales.set(e.toLowerCase(),t)})}},s=class{localeManager;constructor(){this.localeManager=o.getInstance()}format(e,t,n){let r=this.localeManager.getLocale(n),i=[],a=t.replace(/\[([^\]]+)\]/g,(e,t)=>(i.push(t),`~${i.length-1}~`));a=a.replace(/"([^"]*)"/g,(e,t)=>(i.push(t),`~${i.length-1}~`));let o=a.replace(/Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|SSS/g,t=>{switch(t){case`YYYY`:return String(e.year).padStart(4,`0`);case`YY`:return String(e.year).slice(-2);case`Y`:return String(e.year);case`MMMM`:return r.months[e.month-1];case`MMM`:return r.monthsShort[e.month-1];case`MM`:return String(e.month).padStart(2,`0`);case`M`:return String(e.month);case`DD`:return String(e.day).padStart(2,`0`);case`D`:return String(e.day);case`dddd`:return r.weekdays[e.dayOfWeek%7];case`ddd`:return r.weekdaysShort[e.dayOfWeek%7];case`dd`:return r.weekdaysMin[e.dayOfWeek%7];case`d`:return String(e.dayOfWeek);case`HH`:return String(e.hour).padStart(2,`0`);case`H`:return String(e.hour);case`hh`:return String(e.hour%12||12).padStart(2,`0`);case`h`:return String(e.hour%12||12);case`mm`:return String(e.minute).padStart(2,`0`);case`m`:return String(e.minute);case`ss`:return String(e.second).padStart(2,`0`);case`s`:return String(e.second);case`SSS`:return String(e.millisecond).padStart(3,`0`);case`a`:case`A`:let n=r.meridiem||{am:`am`,pm:`pm`},i=e.hour>=12?n.pm:n.am;return t===`a`?i.toLowerCase():i.toUpperCase();default:return t}});return i.forEach((e,t)=>{o=o.replace(`~${t}~`,e)}),o}getPreset(e){let t={iso:`YYYY-MM-DDTHH:mm:ss.SSSZ`,date:`YYYY-MM-DD`,time:`HH:mm:ss`,datetime:`YYYY-MM-DD HH:mm:ss`,rfc2822:`ddd, DD MMM YYYY HH:mm:ss Z`,rfc3339:`YYYY-MM-DDTHH:mm:ssZ`,utc:`YYYY-MM-DDTHH:mm:ss[Z]`};return t[e]||t.iso}formatPreset(e,t,n){let r=this.getPreset(t);return this.format(e,r,n)}},c={en:{year:[`year`,`years`],month:[`month`,`months`],week:[`week`,`weeks`],day:[`day`,`days`],hour:[`hour`,`hours`],minute:[`minute`,`minutes`],second:[`second`,`seconds`],millisecond:[`millisecond`,`milliseconds`]},es:{year:[`año`,`años`],month:[`mes`,`meses`],week:[`semana`,`semanas`],day:[`día`,`días`],hour:[`hora`,`horas`],minute:[`minuto`,`minutos`],second:[`segundo`,`segundos`],millisecond:[`milisegundo`,`milisegundos`]},fr:{year:[`année`,`années`],month:[`mois`,`mois`],week:[`semaine`,`semaines`],day:[`jour`,`jours`],hour:[`heure`,`heures`],minute:[`minute`,`minutes`],second:[`seconde`,`secondes`],millisecond:[`milliseconde`,`millisecondes`]}},l={en:`and`,es:`y`,fr:`et`,de:`und`,it:`e`,pt:`e`};function u(e,t,n){return((c[t]||c.en)[e]||[e,e+`s`])[n===1?0:1]}function d(e){return l[e]||`and`}function f(e,t){if(e.length===0)return``;if(e.length===1)return e[0];let n=d(t);return e.length===2?`${e[0]} ${n} ${e[1]}`:e.slice(0,-1).join(`, `)+` ${n} ${e[e.length-1]}`}function p(e){return{en:`0 seconds`,es:`0 segundos`,fr:`0 secondes`}[e]||`0 seconds`}var m=class e{static instance;plugins=new Map;static getInstance(){return e.instance||=new e,e.instance}static use(t,n,r){e.getInstance().register(t,n,r)}static useMultiple(t,n,r){let i=e.getInstance();t.forEach(e=>i.register(e,n,r))}static getPlugin(t){return e.getInstance().plugins.get(t)}static hasPlugin(t){return e.getInstance().plugins.has(t)}static listPlugins(){let t=e.getInstance();return Array.from(t.plugins.keys())}static unuse(t){return e.getInstance().plugins.delete(t)}static clear(){e.getInstance().plugins.clear()}register(e,t,n){if(this.plugins.has(e.name)){console.warn(`Plugin "${e.name}" is already registered. Skipping...`);return}try{e.install(t,n),this.plugins.set(e.name,e),console.debug(`Plugin "${e.name}" v${e.version} registered successfully`)}catch(t){throw console.error(`Failed to register plugin "${e.name}":`,t),Error(`Failed to register plugin "${e.name}": ${t instanceof Error?t.message:String(t)}`)}}},h=` days`,g=1e3,_=g*60,v=_*60,y=v*24,b=y*7,x=365.25,S=x/12*y,C=x*y,w=class{_value;_tg1;_tg2;_mode;_breakdownData;_locale;constructor(e,t,n,r=`exact`,i,a){this._value=e,this._tg1=t,this._tg2=n,this._mode=r,this._breakdownData=i||null,this._locale=a||`en`}as(e){return this._tg1.diff(this._tg2,e)}breakdown(){return this._breakdownData}format(e){let t=e||this._locale;if(!this._breakdownData)return`${Math.abs(this._tg1.diff(this._tg2,`day`))}${h}`;let n=[],r=this._breakdownData;return r.years!==0&&n.push(`${r.years} ${u(`year`,t,r.years)}`),r.months!==0&&n.push(`${r.months} ${u(`month`,t,r.months)}`),r.weeks!==0&&n.push(`${r.weeks} ${u(`week`,t,r.weeks)}`),r.days!==0&&n.push(`${r.days} ${u(`day`,t,r.days)}`),r.hours!==0&&n.push(`${r.hours} ${u(`hour`,t,r.hours)}`),r.minutes!==0&&n.push(`${r.minutes} ${u(`minute`,t,r.minutes)}`),r.seconds!==0&&n.push(`${r.seconds} ${u(`second`,t,r.seconds)}`),n.length===0?p(t):f(n,t)}getMode(){return this._mode}valueOf(){return this._value}toString(){return this._mode===`calendar`&&this._breakdownData?this.format():this._value.toString()}toJSON(){return this._value}},T=class{years;months;weeks;days;hours;minutes;seconds;milliseconds;_locale;_startDate;_endDate;_steps=[];_mode=`exact`;_leapYearFlags=[];_calculationTimeMs=0;constructor(e,t=`en`,n){this.years=e.years,this.months=e.months,this.weeks=e.weeks,this.days=e.days,this.hours=e.hours,this.minutes=e.minutes,this.seconds=e.seconds,this.milliseconds=e.milliseconds,this._locale=t,n&&(this._startDate=n.startDate,this._endDate=n.endDate,this._steps=n.steps||[],this._mode=n.mode||`exact`,this._leapYearFlags=n.leapYearFlags||[],this._calculationTimeMs=n.calculationTimeMs||0)}humanize(e){let t=e?.locale||this._locale,n=e?.fullBreakdown??!1,r=e?.numeric??`always`,i=[{unit:`year`,value:this.years},{unit:`month`,value:this.months},{unit:`week`,value:this.weeks},{unit:`day`,value:this.days},{unit:`hour`,value:this.hours},{unit:`minute`,value:this.minutes},{unit:`second`,value:this.seconds},{unit:`millisecond`,value:this.milliseconds}].filter(e=>e.value>0);if(i.length===0)return`0 seconds`;if(!n||i.length===1){let e=i[0];try{return new Intl.RelativeTimeFormat(t,{numeric:r,style:`long`}).format(e.value,e.unit)}catch{return`${e.value} ${this.pluralizeUnit(e.unit,e.value,t)}`}}return f(i.map(e=>{let n=u(e.unit,t,e.value);return`${e.value} ${n}`}),t)}total(e){let t=0;switch(t+=this.years*C,t+=this.months*S,t+=this.weeks*b,t+=this.days*y,t+=this.hours*v,t+=this.minutes*_,t+=this.seconds*g,t+=this.milliseconds,e){case`millisecond`:return t;case`second`:return t/g;case`minute`:return t/_;case`hour`:return t/v;case`day`:return t/y;case`week`:return t/b;case`month`:return t/S;case`year`:return t/C;case`microsecond`:return t*1e3;case`nanosecond`:return t*1e6;default:throw Error(`Unsupported unit: ${e}`)}}toString(){return this.humanize({fullBreakdown:!0})}toJSON(){return{years:this.years,months:this.months,weeks:this.weeks,days:this.days,hours:this.hours,minutes:this.minutes,seconds:this.seconds,milliseconds:this.milliseconds}}explain(){let e=[...this._steps];e.length===0&&(e=this.generateExplanationSteps());let t=[];if(this._startDate&&this._endDate&&t.push(`Calculated duration from ${this._startDate} to ${this._endDate}`),this._leapYearFlags&&this._leapYearFlags.length>0){let e=this._leapYearFlags.filter(e=>e.isLeap).map(e=>e.year);e.length>0&&t.push(`Leap year(s) detected: ${e.join(`, `)}`)}return t.push(`Breakdown: ${this.years} year(s), ${this.months} month(s), ${this.days} day(s)`),t.push(`Mode: ${this._mode} calculation`),{input:this._startDate&&this._endDate?[this._startDate,this._endDate]:[],steps:e,breakdown:{years:this.years,months:this.months,weeks:this.weeks,days:this.days,hours:this.hours,minutes:this.minutes,seconds:this.seconds,milliseconds:this.milliseconds},mode:this._mode,explanation:t.join(`. `),locale:this._locale,leapYearFlags:this._leapYearFlags.length>0?this._leapYearFlags:void 0,metadata:{calculationTimeMs:this._calculationTimeMs,precision:`day`}}}generateExplanationSteps(){let e=[];if(this._startDate&&this._endDate?e.push(`Input: ${this._startDate} to ${this._endDate}`):e.push(`Duration calculation started`),this.years>0&&e.push(`Years: ${this.years}`),this.months>0&&e.push(`Months: ${this.months}`),this.weeks>0&&e.push(`Weeks: ${this.weeks}`),this.days>0&&e.push(`Days: ${this.days}`),this.hours>0&&e.push(`Hours: ${this.hours}`),this.minutes>0&&e.push(`Minutes: ${this.minutes}`),this.seconds>0&&e.push(`Seconds: ${this.seconds}`),this.milliseconds>0&&e.push(`Milliseconds: ${this.milliseconds}`),this._leapYearFlags&&this._leapYearFlags.length>0)for(let t of this._leapYearFlags)t.isLeap&&e.push(`${t.year} is a leap year (February has ${t.daysInFebruary} days)`);let t=[this.years>0?`${this.years}y`:``,this.months>0?`${this.months}m`:``,this.days>0?`${this.days}d`:``,this.hours>0?`${this.hours}h`:``,this.minutes>0?`${this.minutes}min`:``,this.seconds>0?`${this.seconds}s`:``].filter(e=>e.length>0).join(` `);return e.push(`Total: ${t||`0`}`),e}pluralizeUnit(e,t,n){return u(e,n,t)}},E=class{_start;_end;constructor(e,t){this._start=e,this._end=t}toDuration(){return D.between(this._start,this._end)}inMonths(){return this.toDuration().total(`month`)}humanize(e){return this.toDuration().humanize(e)}in(e){return this.toDuration().total(e)}},D=class e{temporal;config;formatterInstance;static ZERO_DURATION={years:0,months:0,weeks:0,days:0,hours:0,minutes:0,seconds:0,milliseconds:0};static isLeapYearValue(e){return e%4==0&&e%100!=0||e%400==0}static toDurationParts(e){return{years:Math.floor(e.years||0),months:Math.floor(e.months||0),weeks:Math.floor(e.weeks||0),days:Math.floor(e.days||0),hours:Math.floor(e.hours||0),minutes:Math.floor(e.minutes||0),seconds:Math.floor(e.seconds||0),milliseconds:Math.floor(e.milliseconds||0)}}constructor(e,t){if(this.formatterInstance=new s,this.config={locale:t?.locale||`en`,timezone:t?.timezone||`UTC`,strict:t?.strict??!1},this.temporal=r.parseToPlainDateTime(e),this.config.timezone&&this.config.timezone!==`UTC`)try{this.temporal=this.temporal.toZonedDateTime(this.config.timezone)}catch{}}static now(t){return new e(void 0,t)}static from(t,n){return new e(t,n)}static fromTemporal(t,n){let r=new e(void 0,n);return r.temporal=t,r}static between(e,t){let n=r.toPlainDateTime(e.temporal),i=r.toPlainDateTime(t.temporal),[a,o]=r.compare(n,i)<=0?[e,t]:[t,e];return a.until(o)}static range(t,n){return new E(t instanceof e?t:new e(t),n instanceof e?n:new e(n))}toTemporal(){return this.temporal}toDate(){return r.toDate(this.temporal)}toISOString(){return r.toISOString(this.temporal)}valueOf(){return r.toUnix(this.temporal)}unix(){return Math.floor(this.valueOf()/1e3)}toJSON(){return this.toISOString()}toString(){return this.format(`YYYY-MM-DD HH:mm:ss`)}locale(e){if(e===void 0)return this.config.locale;let t=this.clone();return t.config.locale=e,t}timezone(e){if(e===void 0)return this.config.timezone;let t=this.clone();t.config.timezone=e;try{t.temporal=r.toPlainDateTime(t.temporal).toZonedDateTime(e)}catch{}return t}format(e){let t=r.toPlainDateTime(this.temporal),n=[`iso`,`date`,`time`,`datetime`,`rfc2822`,`rfc3339`,`utc`].includes(e)?this.formatterInstance.getPreset(e):e;return this.formatterInstance.format(t,n,this.config.locale)}get(e){let t=r.toPlainDateTime(this.temporal);return e===`week`?t.weekOfYear:t[{year:`year`,month:`month`,week:`year`,day:`day`,hour:`hour`,minute:`minute`,second:`second`,millisecond:`millisecond`,microsecond:`microsecond`,nanosecond:`nanosecond`}[e]]}add(t){let n=r.toPlainDateTime(this.temporal),i={};return Object.entries(t).forEach(([e,t])=>{t!==void 0&&t!==0&&(i[e+`s`]=t)}),n=n.add(i),e.fromTemporal(n,this.config)}subtract(e){let t={};return Object.entries(e).forEach(([e,n])=>{t[e]=n?-n:0}),this.add(t)}diff(e,t){let n=r.toPlainDateTime(this.temporal),i=r.toPlainDateTime(e.temporal),a={year:`years`,month:`months`,week:`weeks`,day:`days`,hour:`hours`,minute:`minutes`,second:`seconds`,millisecond:`milliseconds`,microsecond:`microseconds`,nanosecond:`nanoseconds`};if(typeof t==`string`){let e=t,r=a[e],o=n.since(i,{smallestUnit:e});return Math.round(o[r]||0)}let o=t||{},s=o.mode||`exact`,c=o.unit||`millisecond`,l=o.locale||this.config.locale;if(s===`exact`){let r=a[c],o=n.since(i,{smallestUnit:c}),u=Math.round(o[r]||0);if(t===void 0||typeof t==`object`){let t=(o.years||0)*365.25*24*60*60*1e3+(o.months||0)*30.44*24*60*60*1e3+(o.weeks||0)*7*24*60*60*1e3+(o.days||0)*24*60*60*1e3+(o.hours||0)*60*60*1e3+(o.minutes||0)*60*1e3+(o.seconds||0)*1e3+(o.milliseconds||0);return new w(Math.round(t),this,e,s,void 0,l)}return u}if(s===`calendar`){let t=n.since(i,{largestUnit:`month`,smallestUnit:`millisecond`}),r={years:Math.floor(t.years||0),months:Math.floor(t.months||0),weeks:Math.floor(t.weeks||0),days:Math.floor(t.days||0),hours:Math.floor(t.hours||0),minutes:Math.floor(t.minutes||0),seconds:Math.floor(t.seconds||0),milliseconds:Math.floor(t.milliseconds||0)},a=(t.years||0)*365.25*24*60*60*1e3+(t.months||0)*30.44*24*60*60*1e3+(t.weeks||0)*7*24*60*60*1e3+(t.days||0)*24*60*60*1e3+(t.hours||0)*60*60*1e3+(t.minutes||0)*60*1e3+(t.seconds||0)*1e3+(t.milliseconds||0);return new w(Math.round(a),this,e,s,r,l)}let u=n.since(i,{smallestUnit:`millisecond`}),d=(u.years||0)*365.25*24*60*60*1e3+(u.months||0)*30.44*24*60*60*1e3+(u.weeks||0)*7*24*60*60*1e3+(u.days||0)*24*60*60*1e3+(u.hours||0)*60*60*1e3+(u.minutes||0)*60*1e3+(u.seconds||0)*1e3+(u.milliseconds||0);return new w(Math.round(d),this,e,s,void 0,l)}isBefore(e){let t=r.toPlainDateTime(this.temporal),n=r.toPlainDateTime(e.temporal);return r.compare(t,n)<0}isAfter(e){let t=r.toPlainDateTime(this.temporal),n=r.toPlainDateTime(e.temporal);return r.compare(t,n)>0}isSame(e,t){if(!t)return r.compare(r.toPlainDateTime(this.temporal),r.toPlainDateTime(e.temporal))===0;let n=r.toPlainDateTime(this.temporal),i=r.toPlainDateTime(e.temporal);switch(t){case`year`:return n.year===i.year;case`month`:return n.year===i.year&&n.month===i.month;case`day`:return n.year===i.year&&n.month===i.month&&n.day===i.day;case`hour`:return n.year===i.year&&n.month===i.month&&n.day===i.day&&n.hour===i.hour;case`minute`:return n.year===i.year&&n.month===i.month&&n.day===i.day&&n.hour===i.hour&&n.minute===i.minute;case`second`:return n.year===i.year&&n.month===i.month&&n.day===i.day&&n.hour===i.hour&&n.minute===i.minute&&n.second===i.second;default:return!1}}isBetween(e,t,n,i=`[]`){let a=r.toPlainDateTime(this.temporal),o=r.toPlainDateTime(e.temporal),s=r.toPlainDateTime(t.temporal),c=!0,l=!0;if(n){let e=this.clone().startOf(n),t=this.clone().endOf(n),i=r.toPlainDateTime(e.temporal),a=r.toPlainDateTime(t.temporal);c=r.compare(i,o)>=0,l=r.compare(a,s)<=0}else c=r.compare(a,o)>=0,l=r.compare(a,s)<=0;let u=i[0]===`[`,d=i[1]===`]`;return(u?c:r.compare(a,o)>0)&&(d?l:r.compare(a,s)<0)}clone(){return new e(this.toDate(),this.config)}startOf(t){let n=r.toPlainDateTime(this.temporal),i={};switch(t){case`year`:i.month=1,i.day=1,i.hour=0,i.minute=0,i.second=0,i.millisecond=0;break;case`month`:i.day=1,i.hour=0,i.minute=0,i.second=0,i.millisecond=0;break;case`week`:case`day`:i.hour=0,i.minute=0,i.second=0,i.millisecond=0;break;case`hour`:i.minute=0,i.second=0,i.millisecond=0;break;case`minute`:i.second=0,i.millisecond=0;break;case`second`:i.millisecond=0;break}let a=n.with(i);return e.fromTemporal(a,this.config)}endOf(e){return this.startOf(e).add({[e]:1}).subtract({millisecond:1})}set(t){let n=r.toPlainDateTime(this.temporal).with(t);return e.fromTemporal(n,this.config)}year(){return r.toPlainDateTime(this.temporal).year}month(){return r.toPlainDateTime(this.temporal).month}day(){return r.toPlainDateTime(this.temporal).day}hour(){return r.toPlainDateTime(this.temporal).hour}minute(){return r.toPlainDateTime(this.temporal).minute}second(){return r.toPlainDateTime(this.temporal).second}millisecond(){return r.toPlainDateTime(this.temporal).millisecond}dayOfWeek(){return r.toPlainDateTime(this.temporal).dayOfWeek}dayOfYear(){return r.toPlainDateTime(this.temporal).dayOfYear}weekOfYear(){return r.toPlainDateTime(this.temporal).weekOfYear}daysInMonth(){return r.toPlainDateTime(this.temporal).add({months:1}).with({day:1}).subtract({days:1}).day}daysInYear(){let t=this.year();return e.isLeapYearValue(t)?366:365}inLeapYear(){let t=r.toPlainDateTime(this.temporal);return e.isLeapYearValue(t.year)}until(t,n){let i=r.toPlainDateTime(this.temporal),a=r.toPlainDateTime(t.temporal),o=performance.now();try{let t={};n?.largestUnit&&(t.largestUnit=n.largestUnit),n?.smallestUnit&&(t.smallestUnit=n.smallestUnit);let r=a.since(i,Object.keys(t).length>0?t:void 0),s=e.toDurationParts(r),c=i.year,l=a.year,u=[];for(let t=c;t<=l;t++){let n=e.isLeapYearValue(t);u.push({year:t,isLeap:n,daysInFebruary:n?29:28})}let d=this.generateUntilSteps(i,a,s,u),f=performance.now()-o;return new T(s,this.config.locale,{startDate:i.toString(),endDate:a.toString(),steps:d,mode:`exact`,leapYearFlags:u.filter(e=>e.isLeap),calculationTimeMs:f})}catch{return new T(e.ZERO_DURATION,this.config.locale,{startDate:i.toString(),endDate:a.toString(),steps:[`Calculation failed, returning zero duration`],mode:`estimated`})}}generateUntilSteps(t,n,r,i){let a=[];a.push(`Parsed dates: ${t.year}-${String(t.month).padStart(2,`0`)}-${String(t.day).padStart(2,`0`)} (day ${t.dayOfYear} of ${e.isLeapYearValue(t.year)?366:365})`),a.push(`to ${n.year}-${String(n.month).padStart(2,`0`)}-${String(n.day).padStart(2,`0`)} (day ${n.dayOfYear} of ${e.isLeapYearValue(n.year)?366:365})`);let o=i.filter(e=>e.isLeap);if(o.length>0)for(let e of o)a.push(`${e.year} is a leap year (February has ${e.daysInFebruary} days)`);if(r.years>0&&a.push(`Years: ${r.years}`),r.months>0&&a.push(`Months: ${r.months}`),r.days>0&&a.push(`Days: ${r.days}`),r.hours>0||r.minutes>0||r.seconds>0){let e=[];r.hours>0&&e.push(`${r.hours}h`),r.minutes>0&&e.push(`${r.minutes}m`),r.seconds>0&&e.push(`${r.seconds}s`),a.push(`Time: ${e.join(` `)}`)}let s=r.years*365.25+r.months*30.4375+r.days+r.hours/24;return a.push(`Total: approximately ${s.toFixed(2)} days`),a}round(e={}){let{smallestUnit:t=`millisecond`,roundingMode:n=`halfExpand`}=e,i=r.toPlainDateTime(this.temporal),a={year:i.year,month:i.month,day:i.day,hour:i.hour,minute:i.minute,second:i.second,millisecond:i.millisecond,microsecond:i.microsecond||0,nanosecond:i.nanosecond||0,week:0},o=[`year`,`month`,`day`,`hour`,`minute`,`second`,`millisecond`,`microsecond`,`nanosecond`],s=o.indexOf(t);if(s===-1)return this.clone();let c={};for(let e=0;e<s;e++){let t=o[e];c[t]=a[t]}let l=o[s],u=a[l];s+1<o.length&&((e,t)=>{switch(e){case`ceil`:return t>0;case`floor`:case`trunc`:return!1;case`halfExpand`:case`halfFloor`:case`halfCeil`:return t>=5;case`expand`:return t>0;default:return t>=5}})(n,a[o[s+1]])&&(u+=1),c[l]=u;for(let e=s+1;e<o.length;e++)c[o[e]]=0;return this.set(c)}toPlainDate(){let e=r.toPlainDateTime(this.temporal);return{year:e.year,month:e.month,day:e.day,dayOfWeek:e.dayOfWeek}}toPlainTime(){let e=r.toPlainDateTime(this.temporal);return{hour:e.hour,minute:e.minute,second:e.second,millisecond:e.millisecond}}withDate(e,t,n){return this.set({year:e,month:t,day:n})}withTime(e,t=0,n=0,r=0){return this.set({hour:e,minute:t,second:n,millisecond:r})}getOffset(){return this.temporal?.offset&&this.temporal.offset||`Z`}getOffsetNanoseconds(){return this.temporal?.offsetNanoseconds&&this.temporal.offsetNanoseconds||0}getTimeZoneId(){return this.temporal?.timeZoneId&&this.temporal.timeZoneId||null}startOfDay(){return this.startOf(`day`)}endOfDay(){return this.endOf(`day`)}since(t,n){let i=r.toPlainDateTime(this.temporal),a=r.toPlainDateTime(t.temporal),o=performance.now();try{let t={};n?.largestUnit&&(t.largestUnit=n.largestUnit),n?.smallestUnit&&(t.smallestUnit=n.smallestUnit);let r=i.since(a,Object.keys(t).length>0?t:void 0),s=e.toDurationParts(r),c=a.year,l=i.year,u=[];for(let t=c;t<=l;t++){let n=e.isLeapYearValue(t);u.push({year:t,isLeap:n,daysInFebruary:n?29:28})}let d=this.generateUntilSteps(a,i,s,u),f=performance.now()-o;return new T(s,this.config.locale,{startDate:a.toString(),endDate:i.toString(),steps:d,mode:`exact`,leapYearFlags:u.filter(e=>e.isLeap),calculationTimeMs:f})}catch{return new T(e.ZERO_DURATION,this.config.locale,{startDate:a.toString(),endDate:i.toString(),steps:[`Calculation failed, returning zero duration`],mode:`estimated`})}}toDurationString(t){let n=t?this.until(t):this.until(e.now()),r=[];n.years&&r.push(`${n.years}Y`),n.months&&r.push(`${n.months}M`),n.days&&r.push(`${n.days}D`);let i=[];n.hours&&i.push(`${n.hours}H`),n.minutes&&i.push(`${n.minutes}M`),n.seconds&&i.push(`${n.seconds}S`);let a=`P${r.join(``)}${i.length>0?`T`+i.join(``):``}`;return a===`P`?`PT0S`:a}isPast(){return this.isBefore(e.now())}isFuture(){return this.isAfter(e.now())}isToday(){return this.isSame(e.now(),`day`)}isTomorrow(){return this.isSame(e.now().add({day:1}),`day`)}isYesterday(){return this.isSame(e.now().subtract({day:1}),`day`)}},O={en:{name:`en`,months:[`January`,`February`,`March`,`April`,`May`,`June`,`July`,`August`,`September`,`October`,`November`,`December`],monthsShort:[`Jan`,`Feb`,`Mar`,`Apr`,`May`,`Jun`,`Jul`,`Aug`,`Sep`,`Oct`,`Nov`,`Dec`],weekdays:[`Sunday`,`Monday`,`Tuesday`,`Wednesday`,`Thursday`,`Friday`,`Saturday`],weekdaysShort:[`Sun`,`Mon`,`Tue`,`Wed`,`Thu`,`Fri`,`Sat`],weekdaysMin:[`Su`,`Mo`,`Tu`,`We`,`Th`,`Fr`,`Sa`],meridiem:{am:`AM`,pm:`PM`},formats:{iso:`YYYY-MM-DDTHH:mm:ss.SSSZ`,date:`YYYY-MM-DD`,time:`HH:mm:ss`,datetime:`YYYY-MM-DD HH:mm:ss`,rfc2822:`ddd, DD MMM YYYY HH:mm:ss Z`}},"en-au":{name:`en-au`,months:[`January`,`February`,`March`,`April`,`May`,`June`,`July`,`August`,`September`,`October`,`November`,`December`],monthsShort:[`Jan`,`Feb`,`Mar`,`Apr`,`May`,`Jun`,`Jul`,`Aug`,`Sep`,`Oct`,`Nov`,`Dec`],weekdays:[`Sunday`,`Monday`,`Tuesday`,`Wednesday`,`Thursday`,`Friday`,`Saturday`],weekdaysShort:[`Sun`,`Mon`,`Tue`,`Wed`,`Thu`,`Fri`,`Sat`],weekdaysMin:[`Su`,`Mo`,`Tu`,`We`,`Th`,`Fr`,`Sa`],meridiem:{am:`AM`,pm:`PM`},formats:{iso:`YYYY-MM-DDTHH:mm:ss.SSSZ`,date:`DD/MM/YYYY`,time:`HH:mm:ss`,datetime:`DD/MM/YYYY HH:mm:ss`,rfc2822:`ddd, DD MMM YYYY HH:mm:ss Z`}},"en-gb":{name:`en-gb`,months:[`January`,`February`,`March`,`April`,`May`,`June`,`July`,`August`,`September`,`October`,`November`,`December`],monthsShort:[`Jan`,`Feb`,`Mar`,`Apr`,`May`,`Jun`,`Jul`,`Aug`,`Sep`,`Oct`,`Nov`,`Dec`],weekdays:[`Sunday`,`Monday`,`Tuesday`,`Wednesday`,`Thursday`,`Friday`,`Saturday`],weekdaysShort:[`Sun`,`Mon`,`Tue`,`Wed`,`Thu`,`Fri`,`Sat`],weekdaysMin:[`Su`,`Mo`,`Tu`,`We`,`Th`,`Fr`,`Sa`],meridiem:{am:`AM`,pm:`PM`},formats:{iso:`YYYY-MM-DDTHH:mm:ss.SSSZ`,date:`DD/MM/YYYY`,time:`HH:mm:ss`,datetime:`DD/MM/YYYY HH:mm:ss`,rfc2822:`ddd, DD MMM YYYY HH:mm:ss Z`}},"en-ca":{name:`en-ca`,months:[`January`,`February`,`March`,`April`,`May`,`June`,`July`,`August`,`September`,`October`,`November`,`December`],monthsShort:[`Jan`,`Feb`,`Mar`,`Apr`,`May`,`Jun`,`Jul`,`Aug`,`Sep`,`Oct`,`Nov`,`Dec`],weekdays:[`Sunday`,`Monday`,`Tuesday`,`Wednesday`,`Thursday`,`Friday`,`Saturday`],weekdaysShort:[`Sun`,`Mon`,`Tue`,`Wed`,`Thu`,`Fri`,`Sat`],weekdaysMin:[`Su`,`Mo`,`Tu`,`We`,`Th`,`Fr`,`Sa`],meridiem:{am:`AM`,pm:`PM`},formats:{iso:`YYYY-MM-DDTHH:mm:ss.SSSZ`,date:`YYYY-MM-DD`,time:`HH:mm:ss`,datetime:`YYYY-MM-DD HH:mm:ss`,rfc2822:`ddd, DD MMM YYYY HH:mm:ss Z`}}},k={es:{name:`es`,months:[`Enero`,`Febrero`,`Marzo`,`Abril`,`Mayo`,`Junio`,`Julio`,`Agosto`,`Septiembre`,`Octubre`,`Noviembre`,`Diciembre`],monthsShort:[`Ene`,`Feb`,`Mar`,`Abr`,`May`,`Jun`,`Jul`,`Ago`,`Sep`,`Oct`,`Nov`,`Dic`],weekdays:[`Domingo`,`Lunes`,`Martes`,`Miércoles`,`Jueves`,`Viernes`,`Sábado`],weekdaysShort:[`Dom`,`Lun`,`Mar`,`Mié`,`Jue`,`Vie`,`Sáb`],weekdaysMin:[`Do`,`Lu`,`Ma`,`Mi`,`Ju`,`Vi`,`Sa`],meridiem:{am:`AM`,pm:`PM`},formats:{iso:`YYYY-MM-DDTHH:mm:ss.SSSZ`,date:`DD/MM/YYYY`,time:`HH:mm:ss`,datetime:`DD/MM/YYYY HH:mm:ss`,rfc2822:`ddd, DD MMM YYYY HH:mm:ss Z`}},"es-mx":{name:`es-mx`,months:[`Enero`,`Febrero`,`Marzo`,`Abril`,`Mayo`,`Junio`,`Julio`,`Agosto`,`Septiembre`,`Octubre`,`Noviembre`,`Diciembre`],monthsShort:[`Ene`,`Feb`,`Mar`,`Abr`,`May`,`Jun`,`Jul`,`Ago`,`Sep`,`Oct`,`Nov`,`Dic`],weekdays:[`Domingo`,`Lunes`,`Martes`,`Miércoles`,`Jueves`,`Viernes`,`Sábado`],weekdaysShort:[`Dom`,`Lun`,`Mar`,`Mié`,`Jue`,`Vie`,`Sáb`],weekdaysMin:[`Do`,`Lu`,`Ma`,`Mi`,`Ju`,`Vi`,`Sa`],meridiem:{am:`AM`,pm:`PM`},formats:{iso:`YYYY-MM-DDTHH:mm:ss.SSSZ`,date:`DD/MM/YYYY`,time:`HH:mm:ss`,datetime:`DD/MM/YYYY HH:mm:ss`,rfc2822:`ddd, DD MMM YYYY HH:mm:ss Z`}},"es-us":{name:`es-us`,months:[`Enero`,`Febrero`,`Marzo`,`Abril`,`Mayo`,`Junio`,`Julio`,`Agosto`,`Septiembre`,`Octubre`,`Noviembre`,`Diciembre`],monthsShort:[`Ene`,`Feb`,`Mar`,`Abr`,`May`,`Jun`,`Jul`,`Ago`,`Sep`,`Oct`,`Nov`,`Dic`],weekdays:[`Domingo`,`Lunes`,`Martes`,`Miércoles`,`Jueves`,`Viernes`,`Sábado`],weekdaysShort:[`Dom`,`Lun`,`Mar`,`Mié`,`Jue`,`Vie`,`Sáb`],weekdaysMin:[`Do`,`Lu`,`Ma`,`Mi`,`Ju`,`Vi`,`Sa`],meridiem:{am:`AM`,pm:`PM`},formats:{iso:`YYYY-MM-DDTHH:mm:ss.SSSZ`,date:`MM/DD/YYYY`,time:`HH:mm:ss`,datetime:`MM/DD/YYYY HH:mm:ss`,rfc2822:`ddd, DD MMM YYYY HH:mm:ss Z`}}},A={fr:{name:`fr`,months:[`janvier`,`février`,`mars`,`avril`,`mai`,`juin`,`juillet`,`août`,`septembre`,`octobre`,`novembre`,`décembre`],monthsShort:[`janv.`,`févr.`,`mars`,`avr.`,`mai`,`juin`,`juil.`,`août`,`sept.`,`oct.`,`nov.`,`déc.`],weekdays:[`dimanche`,`lundi`,`mardi`,`mercredi`,`jeudi`,`vendredi`,`samedi`],weekdaysShort:[`dim.`,`lun.`,`mar.`,`mer.`,`jeu.`,`ven.`,`sam.`],weekdaysMin:[`di`,`lu`,`ma`,`me`,`je`,`ve`,`sa`],meridiem:{am:`AM`,pm:`PM`},formats:{iso:`YYYY-MM-DDTHH:mm:ss.SSSZ`,date:`DD/MM/YYYY`,time:`HH:mm:ss`,datetime:`DD/MM/YYYY HH:mm:ss`,rfc2822:`ddd, DD MMM YYYY HH:mm:ss Z`}},it:{name:`it`,months:[`gennaio`,`febbraio`,`marzo`,`aprile`,`maggio`,`giugno`,`luglio`,`agosto`,`settembre`,`ottobre`,`novembre`,`dicembre`],monthsShort:[`gen`,`feb`,`mar`,`apr`,`mag`,`giu`,`lug`,`ago`,`set`,`ott`,`nov`,`dic`],weekdays:[`domenica`,`lunedì`,`martedì`,`mercoledì`,`giovedì`,`venerdì`,`sabato`],weekdaysShort:[`dom`,`lun`,`mar`,`mer`,`gio`,`ven`,`sab`],weekdaysMin:[`do`,`lu`,`ma`,`me`,`gi`,`ve`,`sa`],meridiem:{am:`AM`,pm:`PM`},formats:{iso:`YYYY-MM-DDTHH:mm:ss.SSSZ`,date:`DD/MM/YYYY`,time:`HH:mm:ss`,datetime:`DD/MM/YYYY HH:mm:ss`,rfc2822:`ddd, DD MMM YYYY HH:mm:ss Z`}},pt:{name:`pt`,months:[`janeiro`,`fevereiro`,`março`,`abril`,`maio`,`junho`,`julho`,`agosto`,`setembro`,`outubro`,`novembro`,`dezembro`],monthsShort:[`jan`,`fev`,`mar`,`abr`,`mai`,`jun`,`jul`,`ago`,`set`,`out`,`nov`,`dez`],weekdays:[`domingo`,`segunda`,`terça`,`quarta`,`quinta`,`sexta`,`sábado`],weekdaysShort:[`dom`,`seg`,`ter`,`qua`,`qui`,`sex`,`sab`],weekdaysMin:[`do`,`se`,`te`,`qu`,`qu`,`se`,`sa`],meridiem:{am:`AM`,pm:`PM`},formats:{iso:`YYYY-MM-DDTHH:mm:ss.SSSZ`,date:`DD/MM/YYYY`,time:`HH:mm:ss`,datetime:`DD/MM/YYYY HH:mm:ss`,rfc2822:`ddd, DD MMM YYYY HH:mm:ss Z`}},"pt-br":{name:`pt-br`,months:[`janeiro`,`fevereiro`,`março`,`abril`,`maio`,`junho`,`julho`,`agosto`,`setembro`,`outubro`,`novembro`,`dezembro`],monthsShort:[`jan`,`fev`,`mar`,`abr`,`mai`,`jun`,`jul`,`ago`,`set`,`out`,`nov`,`dez`],weekdays:[`domingo`,`segunda-feira`,`terça-feira`,`quarta-feira`,`quinta-feira`,`sexta-feira`,`sábado`],weekdaysShort:[`dom`,`seg`,`ter`,`qua`,`qui`,`sex`,`sab`],weekdaysMin:[`do`,`se`,`te`,`qu`,`qu`,`se`,`sa`],meridiem:{am:`AM`,pm:`PM`},formats:{iso:`YYYY-MM-DDTHH:mm:ss.SSSZ`,date:`DD/MM/YYYY`,time:`HH:mm:ss`,datetime:`DD/MM/YYYY HH:mm:ss`,rfc2822:`ddd, DD MMM YYYY HH:mm:ss Z`}},ro:{name:`ro`,months:[`ianuarie`,`februarie`,`martie`,`aprilie`,`mai`,`iunie`,`iulie`,`august`,`septembrie`,`octombrie`,`noiembrie`,`decembrie`],monthsShort:[`ian.`,`feb.`,`mar.`,`apr.`,`mai`,`iun.`,`iul.`,`aug.`,`sep.`,`oct.`,`nov.`,`dec.`],weekdays:[`duminică`,`luni`,`marți`,`miercuri`,`joi`,`vineri`,`sâmbătă`],weekdaysShort:[`dum.`,`lun.`,`mar.`,`mie.`,`joi`,`vin.`,`sâm.`],weekdaysMin:[`du`,`lu`,`ma`,`mi`,`jo`,`vi`,`sâ`],meridiem:{am:`AM`,pm:`PM`},formats:{iso:`YYYY-MM-DDTHH:mm:ss.SSSZ`,date:`DD.MM.YYYY`,time:`HH:mm:ss`,datetime:`DD.MM.YYYY HH:mm:ss`,rfc2822:`ddd, DD MMM YYYY HH:mm:ss Z`}}},j={ru:{name:`ru`,months:[`январь`,`февраль`,`март`,`апрель`,`май`,`июнь`,`июль`,`август`,`сентябрь`,`октябрь`,`ноябрь`,`декабрь`],monthsShort:[`янв.`,`февр.`,`март`,`апр.`,`май`,`июнь`,`июль`,`авг.`,`сент.`,`окт.`,`нояб.`,`дек.`],weekdays:[`воскресенье`,`понедельник`,`вторник`,`среда`,`четверг`,`пятница`,`суббота`],weekdaysShort:[`вс`,`пн`,`вт`,`ср`,`чт`,`пт`,`сб`],weekdaysMin:[`вс`,`пн`,`вт`,`ср`,`чт`,`пт`,`сб`],meridiem:{am:`AM`,pm:`PM`},formats:{iso:`YYYY-MM-DDTHH:mm:ss.SSSZ`,date:`DD.MM.YYYY`,time:`HH:mm:ss`,datetime:`DD.MM.YYYY HH:mm:ss`,rfc2822:`ddd, DD MMM YYYY HH:mm:ss Z`}},pl:{name:`pl`,months:[`stycznia`,`lutego`,`marca`,`kwietnia`,`maja`,`czerwca`,`lipca`,`sierpnia`,`września`,`października`,`listopada`,`grudnia`],monthsShort:[`sty.`,`lut.`,`mar.`,`kwi.`,`maj.`,`cze.`,`lip.`,`sie.`,`wrz.`,`paź.`,`lis.`,`gru.`],weekdays:[`niedziela`,`poniedziałek`,`wtorek`,`środa`,`czwartek`,`piątek`,`sobota`],weekdaysShort:[`Nd.`,`Pn.`,`Wt.`,`Śr.`,`Cz.`,`Pt.`,`So.`],weekdaysMin:[`Nd`,`Pn`,`Wt`,`Śr`,`Cz`,`Pt`,`So`],meridiem:{am:`AM`,pm:`PM`},formats:{iso:`YYYY-MM-DDTHH:mm:ss.SSSZ`,date:`DD.MM.YYYY`,time:`HH:mm:ss`,datetime:`DD.MM.YYYY HH:mm:ss`,rfc2822:`ddd, DD MMM YYYY HH:mm:ss Z`}},cs:{name:`cs`,months:[`ledna`,`února`,`března`,`dubna`,`května`,`iunie`,`iulie`,`srpna`,`září`,`října`,`listopadu`,`prosince`],monthsShort:[`led`,`úno`,`bře`,`dub`,`kvě`,`čer`,`čvc`,`srp`,`zář`,`říj`,`lis`,`pro`],weekdays:[`neděle`,`pondělí`,`úterý`,`středa`,`čtvrtek`,`pátek`,`sobota`],weekdaysShort:[`ne`,`po`,`út`,`st`,`čt`,`pá`,`so`],weekdaysMin:[`ne`,`po`,`út`,`st`,`čt`,`pá`,`so`],meridiem:{am:`AM`,pm:`PM`},formats:{iso:`YYYY-MM-DDTHH:mm:ss.SSSZ`,date:`DD.MM.YYYY`,time:`HH:mm:ss`,datetime:`DD.MM.YYYY HH:mm:ss`,rfc2822:`ddd, DD MMM YYYY HH:mm:ss Z`}},sk:{name:`sk`,months:[`január`,`február`,`март`,`апрель`,`май`,`июнь`,`июль`,`август`,`сентябрь`,`октябрь`,`ноябрь`,`декабрь`],monthsShort:[`jan`,`feb`,`mar`,`apr`,`maj`,`jún`,`júl`,`aug`,`sep`,`okt`,`nov`,`dec`],weekdays:[`nedeľa`,`pondelok`,`utorok`,`streda`,`štvrtok`,`piatok`,`sobota`],weekdaysShort:[`ned`,`pon`,`uto`,`str`,`štv`,`pia`,`sob`],weekdaysMin:[`ne`,`po`,`ut`,`st`,`št`,`pi`,`so`],meridiem:{am:`AM`,pm:`PM`},formats:{iso:`YYYY-MM-DDTHH:mm:ss.SSSZ`,date:`DD.MM.YYYY`,time:`HH:mm:ss`,datetime:`DD.MM.YYYY HH:mm:ss`,rfc2822:`ddd, DD MMM YYYY HH:mm:ss Z`}}},ee={sv:{name:`sv`,months:[`januari`,`februari`,`mars`,`april`,`maj`,`juni`,`juli`,`augusti`,`september`,`oktober`,`november`,`december`],monthsShort:[`jan.`,`feb.`,`mar.`,`apr.`,`maj`,`juni`,`juli`,`aug.`,`sep.`,`okt.`,`nov.`,`dec.`],weekdays:[`söndag`,`måndag`,`tisdag`,`onsdag`,`torsdag`,`fredag`,`lördag`],weekdaysShort:[`sön`,`mån`,`tis`,`ons`,`tor`,`fre`,`lör`],weekdaysMin:[`sö`,`må`,`ti`,`on`,`to`,`fr`,`lö`],meridiem:{am:`AM`,pm:`PM`},formats:{iso:`YYYY-MM-DDTHH:mm:ss.SSSZ`,date:`YYYY-MM-DD`,time:`HH:mm:ss`,datetime:`YYYY-MM-DD HH:mm:ss`,rfc2822:`ddd, DD MMM YYYY HH:mm:ss Z`}},nb:{name:`nb`,months:[`januar`,`februar`,`mars`,`april`,`mai`,`juni`,`juli`,`august`,`september`,`oktober`,`november`,`desember`],monthsShort:[`jan.`,`feb.`,`mar.`,`apr.`,`mai`,`juni`,`juli`,`aug.`,`sep.`,`okt.`,`nov.`,`des.`],weekdays:[`søndag`,`mandag`,`tirsdag`,`onsdag`,`torsdag`,`fredag`,`lørdag`],weekdaysShort:[`søn`,`man`,`tir`,`ons`,`tor`,`fre`,`lør`],weekdaysMin:[`sø`,`ma`,`ti`,`on`,`to`,`fr`,`lø`],meridiem:{am:`AM`,pm:`PM`},formats:{iso:`YYYY-MM-DDTHH:mm:ss.SSSZ`,date:`DD.MM.YYYY`,time:`HH:mm:ss`,datetime:`DD.MM.YYYY HH:mm:ss`,rfc2822:`ddd, DD MMM YYYY HH:mm:ss Z`}},da:{name:`da`,months:[`januar`,`februar`,`marts`,`april`,`maj`,`juni`,`juli`,`august`,`september`,`oktober`,`november`,`december`],monthsShort:[`jan`,`feb`,`mar`,`apr`,`maj`,`jun`,`jul`,`aug`,`sep`,`okt`,`nov`,`dec`],weekdays:[`søndag`,`mandag`,`tirsdag`,`onsdag`,`torsdag`,`fredag`,`lørdag`],weekdaysShort:[`søn`,`man`,`tir`,`ons`,`tor`,`fre`,`lør`],weekdaysMin:[`sø`,`ma`,`ti`,`on`,`to`,`fr`,`lø`],meridiem:{am:`AM`,pm:`PM`},formats:{iso:`YYYY-MM-DDTHH:mm:ss.SSSZ`,date:`DD.MM.YYYY`,time:`HH:mm:ss`,datetime:`DD.MM.YYYY HH:mm:ss`,rfc2822:`ddd, DD MMM YYYY HH:mm:ss Z`}},fi:{name:`fi`,months:[`tammikuuta`,`helmikuuta`,`maaliskuuta`,`huhtikuuta`,`toukokuuta`,`kesäkuuta`,`heinäkuuta`,`elokuuta`,`syyskuuta`,`lokakuuta`,`marraskuuta`,`joulukuuta`],monthsShort:[`tam.`,`hel.`,`maa.`,`huh.`,`tou.`,`kes.`,`hei.`,`elo.`,`syy.`,`lok.`,`mar.`,`jou.`],weekdays:[`sunnuntai`,`maanantai`,`tiistai`,`keskiviikko`,`torstai`,`perjantai`,`lauantai`],weekdaysShort:[`su.`,`ma.`,`ti.`,`ke.`,`to.`,`pe.`,`la.`],weekdaysMin:[`su`,`ma`,`ti`,`ke`,`to`,`pe`,`la`],meridiem:{am:`AM`,pm:`PM`},formats:{iso:`YYYY-MM-DDTHH:mm:ss.SSSZ`,date:`DD.MM.YYYY`,time:`HH:mm:ss`,datetime:`DD.MM.YYYY HH:mm:ss`,rfc2822:`ddd, DD MMM YYYY HH:mm:ss Z`}}},te={ja:{name:`ja`,months:[`1月`,`2月`,`3月`,`4月`,`5月`,`6月`,`7月`,`8月`,`9月`,`10月`,`11月`,`12月`],monthsShort:[`1月`,`2月`,`3月`,`4月`,`5月`,`6月`,`7月`,`8月`,`9月`,`10月`,`11月`,`12月`],weekdays:[`日曜日`,`月曜日`,`火曜日`,`水曜日`,`木曜日`,`金曜日`,`土曜日`],weekdaysShort:[`日`,`月`,`火`,`水`,`木`,`金`,`土`],weekdaysMin:[`日`,`月`,`火`,`水`,`木`,`金`,`土`],meridiem:{am:`午前`,pm:`午後`},formats:{iso:`YYYY-MM-DDTHH:mm:ss.SSSZ`,date:`YYYY年MM月DD日`,time:`HH:mm:ss`,datetime:`YYYY年MM月DD日 HH:mm:ss`,rfc2822:`ddd, DD MMM YYYY HH:mm:ss Z`}},"zh-cn":{name:`zh-cn`,months:[`1月`,`2月`,`3月`,`4月`,`5月`,`6月`,`7月`,`8月`,`9月`,`10月`,`11月`,`12月`],monthsShort:[`1月`,`2月`,`3月`,`4月`,`5月`,`6月`,`7月`,`8月`,`9月`,`10月`,`11月`,`12月`],weekdays:[`星期日`,`星期一`,`星期二`,`星期三`,`星期四`,`星期五`,`星期六`],weekdaysShort:[`周日`,`周一`,`周二`,`周三`,`周四`,`周五`,`周六`],weekdaysMin:[`日`,`一`,`二`,`三`,`四`,`五`,`六`],meridiem:{am:`上午`,pm:`下午`},formats:{iso:`YYYY-MM-DDTHH:mm:ss.SSSZ`,date:`YYYY-MM-DD`,time:`HH:mm:ss`,datetime:`YYYY-MM-DD HH:mm:ss`,rfc2822:`ddd, DD MMM YYYY HH:mm:ss Z`}},"zh-tw":{name:`zh-tw`,months:[`1月`,`2月`,`3月`,`4月`,`5月`,`6月`,`7月`,`8月`,`9月`,`10月`,`11月`,`12月`],monthsShort:[`1月`,`2月`,`3月`,`4月`,`5月`,`6月`,`7月`,`8月`,`9月`,`10月`,`11月`,`12月`],weekdays:[`星期日`,`星期一`,`星期二`,`星期三`,`星期四`,`星期五`,`星期六`],weekdaysShort:[`週日`,`週一`,`週二`,`週三`,`週四`,`週五`,`週六`],weekdaysMin:[`日`,`一`,`二`,`三`,`四`,`五`,`六`],meridiem:{am:`上午`,pm:`下午`},formats:{iso:`YYYY-MM-DDTHH:mm:ss.SSSZ`,date:`YYYY-MM-DD`,time:`HH:mm:ss`,datetime:`YYYY-MM-DD HH:mm:ss`,rfc2822:`ddd, DD MMM YYYY HH:mm:ss Z`}},ko:{name:`ko`,months:[`1월`,`2월`,`3월`,`4월`,`5월`,`6월`,`7월`,`8월`,`9월`,`10월`,`11월`,`12월`],monthsShort:[`1월`,`2월`,`3월`,`4월`,`5월`,`6월`,`7월`,`8월`,`9월`,`10월`,`11월`,`12월`],weekdays:[`일요일`,`월요일`,`화요일`,`수요일`,`목요일`,`금요일`,`토요일`],weekdaysShort:[`일`,`월`,`화`,`수`,`목`,`금`,`토`],weekdaysMin:[`일`,`월`,`화`,`수`,`목`,`금`,`토`],meridiem:{am:`오전`,pm:`오후`},formats:{iso:`YYYY-MM-DDTHH:mm:ss.SSSZ`,date:`YYYY-MM-DD`,time:`HH:mm:ss`,datetime:`YYYY-MM-DD HH:mm:ss`,rfc2822:`ddd, DD MMM YYYY HH:mm:ss Z`}},th:{name:`th`,months:[`มกราคม`,`กุมภาพันธ์`,`มีนาคม`,`เมษายน`,`พฤษภาคม`,`มิถุนายน`,`กรกฎาคม`,`สิงหาคม`,`กันยายน`,`ตุลาคม`,`พฤศจิกายน`,`ธันวาคม`],monthsShort:[`ม.ค.`,`ก.พ.`,`มี.ค.`,`เม.ย.`,`พ.ค.`,`มิ.ย.`,`ก.ค.`,`ส.ค.`,`ก.ย.`,`ต.ค.`,`พ.ย.`,`ธ.ค.`],weekdays:[`อาทิตย์`,`จันทร์`,`อังคาร`,`พุธ`,`พฤหัสบดี`,`ศุกร์`,`เสาร์`],weekdaysShort:[`อา.`,`จ.`,`อ.`,`พ.`,`พฤ.`,`ศ.`,`ส.`],weekdaysMin:[`อา`,`จ`,`อ`,`พ`,`พฤ`,`ศ`,`ส`],meridiem:{am:`AM`,pm:`PM`},formats:{iso:`YYYY-MM-DDTHH:mm:ss.SSSZ`,date:`DD/MM/YYYY`,time:`HH:mm:ss`,datetime:`DD/MM/YYYY HH:mm:ss`,rfc2822:`ddd, DD MMM YYYY HH:mm:ss Z`}},vi:{name:`vi`,months:[`tháng 1`,`tháng 2`,`tháng 3`,`tháng 4`,`tháng 5`,`tháng 6`,`tháng 7`,`tháng 8`,`tháng 9`,`tháng 10`,`tháng 11`,`tháng 12`],monthsShort:[`Th01`,`Th02`,`Th03`,`Th04`,`Th05`,`Th06`,`Th07`,`Th08`,`Th09`,`Th10`,`Th11`,`Th12`],weekdays:[`Chủ nhật`,`Thứ hai`,`Thứ ba`,`Thứ tư`,`Thứ năm`,`Thứ sáu`,`Thứ bảy`],weekdaysShort:[`CN`,`Hai`,`Ba`,`Tư`,`Năm`,`Sáu`,`Bảy`],weekdaysMin:[`CN`,`T2`,`T3`,`T4`,`T5`,`T6`,`T7`],meridiem:{am:`AM`,pm:`PM`},formats:{iso:`YYYY-MM-DDTHH:mm:ss.SSSZ`,date:`DD/MM/YYYY`,time:`HH:mm:ss`,datetime:`DD/MM/YYYY HH:mm:ss`,rfc2822:`ddd, DD MMM YYYY HH:mm:ss Z`}},id:{name:`id`,months:[`Januari`,`Februari`,`Maret`,`April`,`Mei`,`Juni`,`Juli`,`Agustus`,`September`,`Oktober`,`November`,`Desember`],monthsShort:[`Jan`,`Feb`,`Mar`,`Apr`,`Mei`,`Jun`,`Jul`,`Agu`,`Sep`,`Okt`,`Nov`,`Des`],weekdays:[`Minggu`,`Senin`,`Selasa`,`Rabu`,`Kamis`,`Jumat`,`Sabtu`],weekdaysShort:[`Min`,`Sen`,`Sel`,`Rab`,`Kam`,`Jum`,`Sab`],weekdaysMin:[`Mg`,`Sn`,`Sl`,`Rb`,`Km`,`Jm`,`Sb`],meridiem:{am:`AM`,pm:`PM`},formats:{iso:`YYYY-MM-DDTHH:mm:ss.SSSZ`,date:`DD/MM/YYYY`,time:`HH:mm:ss`,datetime:`DD/MM/YYYY HH:mm:ss`,rfc2822:`ddd, DD MMM YYYY HH:mm:ss Z`}}},M={de:{name:`de`,months:[`Januar`,`Februar`,`März`,`April`,`Mai`,`Juni`,`Juli`,`August`,`September`,`Oktober`,`November`,`Dezember`],monthsShort:[`Jan.`,`Feb.`,`Mär.`,`Apr.`,`Mai`,`Jun.`,`Jul.`,`Aug.`,`Sep.`,`Okt.`,`Nov.`,`Dez.`],weekdays:[`Sonntag`,`Montag`,`Dienstag`,`Mittwoch`,`Donnerstag`,`Freitag`,`Samstag`],weekdaysShort:[`So.`,`Mo.`,`Di.`,`Mi.`,`Do.`,`Fr.`,`Sa.`],weekdaysMin:[`So`,`Mo`,`Di`,`Mi`,`Do`,`Fr`,`Sa`],meridiem:{am:`AM`,pm:`PM`},formats:{iso:`YYYY-MM-DDTHH:mm:ss.SSSZ`,date:`DD.MM.YYYY`,time:`HH:mm:ss`,datetime:`DD.MM.YYYY HH:mm:ss`,rfc2822:`ddd, DD MMM YYYY HH:mm:ss Z`}},nl:{name:`nl`,months:[`januari`,`februari`,`maart`,`april`,`mei`,`juni`,`juli`,`augustus`,`september`,`oktober`,`november`,`december`],monthsShort:[`jan.`,`feb.`,`mrt.`,`apr.`,`mei`,`jun.`,`jul.`,`aug.`,`sep.`,`okt.`,`nov.`,`dec.`],weekdays:[`zondag`,`maandag`,`dinsdag`,`woensdag`,`donderdag`,`vrijdag`,`zaterdag`],weekdaysShort:[`zo.`,`ma.`,`di.`,`wo.`,`do.`,`vr.`,`za.`],weekdaysMin:[`zo`,`ma`,`di`,`wo`,`do`,`vr`,`za`],meridiem:{am:`AM`,pm:`PM`},formats:{iso:`YYYY-MM-DDTHH:mm:ss.SSSZ`,date:`DD-MM-YYYY`,time:`HH:mm:ss`,datetime:`DD-MM-YYYY HH:mm:ss`,rfc2822:`ddd, DD MMM YYYY HH:mm:ss Z`}},el:{name:`el`,months:[`Ιανουάριος`,`Φεβρουάριος`,`Μάρτιος`,`Απρίλιος`,`Μάιος`,`Ιούνιος`,`Ιούλιος`,`Αύγουστος`,`Σεπτέμβριος`,`Οκτώβριος`,`Νοέμβριος`,`Δεκέμβριος`],monthsShort:[`Ιαν`,`Φεβ`,`Μάρ`,`Απρ`,`Μάι`,`Ιού`,`Ιού`,`Αύγ`,`Σεπ`,`Οκτ`,`Νοέ`,`Δεκ`],weekdays:[`Κυριακή`,`Δευτέρα`,`Τρίτη`,`Τετάρτη`,`Πέμπτη`,`Παρασκευή`,`Σάββατο`],weekdaysShort:[`Κυρ`,`Δευ`,`Τρί`,`Τετ`,`Πέμ`,`Παρ`,`Σάβ`],weekdaysMin:[`Κ`,`Δ`,`Τ`,`Τ`,`Π`,`Π`,`Σ`],meridiem:{am:`AM`,pm:`PM`},formats:{iso:`YYYY-MM-DDTHH:mm:ss.SSSZ`,date:`DD/MM/YYYY`,time:`HH:mm:ss`,datetime:`DD/MM/YYYY HH:mm:ss`,rfc2822:`ddd, DD MMM YYYY HH:mm:ss Z`}},hu:{name:`hu`,months:[`január`,`február`,`március`,`április`,`május`,`június`,`július`,`augusztus`,`szeptember`,`október`,`november`,`december`],monthsShort:[`jan.`,`feb.`,`már.`,`ápr.`,`máj.`,`jún.`,`júl.`,`aug.`,`szep.`,`okt.`,`nov.`,`dec.`],weekdays:[`vasárnap`,`hétfő`,`kedd`,`szerda`,`csütörtök`,`péntek`,`szombat`],weekdaysShort:[`V`,`H`,`K`,`Sz`,`Cs`,`P`,`Szo`],weekdaysMin:[`V`,`H`,`K`,`Sz`,`Cs`,`P`,`Szo`],meridiem:{am:`AM`,pm:`PM`},formats:{iso:`YYYY-MM-DDTHH:mm:ss.SSSZ`,date:`YYYY.MM.DD.`,time:`HH:mm:ss`,datetime:`YYYY.MM.DD. HH:mm:ss`,rfc2822:`ddd, DD MMM YYYY HH:mm:ss Z`}},eu:{name:`eu`,months:[`urtarrila`,`otsaila`,`martxoa`,`apirila`,`maiatza`,`ekaina`,`uztaila`,`abuztua`,`iraila`,`urria`,`azaroa`,`abendua`],monthsShort:[`urt.`,`ots.`,`mar.`,`api.`,`mai.`,`eka.`,`uzt.`,`abu.`,`ira.`,`urr.`,`aza.`,`abe.`],weekdays:[`igandea`,`astelehena`,`asteartea`,`asteazkena`,`osteguna`,`ostirala`,`larunbata`],weekdaysShort:[`ig.`,`al.`,`ar.`,`az.`,`og.`,`or.`,`lr.`],weekdaysMin:[`ig`,`al`,`ar`,`az`,`og`,`or`,`lr`],meridiem:{am:`AM`,pm:`PM`},formats:{iso:`YYYY-MM-DDTHH:mm:ss.SSSZ`,date:`YYYY.MM.DD`,time:`HH:mm:ss`,datetime:`YYYY.MM.DD HH:mm:ss`,rfc2822:`ddd, DD MMM YYYY HH:mm:ss Z`}},ca:{name:`ca`,months:[`gener`,`febrer`,`març`,`abril`,`maig`,`juny`,`juliol`,`agost`,`setembre`,`octubre`,`novembre`,`desembre`],monthsShort:[`gen`,`feb`,`mar`,`abr`,`mai`,`jun`,`jul`,`ago`,`set`,`oct`,`nov`,`des`],weekdays:[`diumenge`,`dilluns`,`dimarts`,`dimecres`,`dijous`,`divendres`,`dissabte`],weekdaysShort:[`diu`,`dil`,`dit`,`dic`,`dij`,`div`,`dis`],weekdaysMin:[`du`,`dl`,`dt`,`dc`,`dj`,`dv`,`ds`],meridiem:{am:`AM`,pm:`PM`},formats:{iso:`YYYY-MM-DDTHH:mm:ss.SSSZ`,date:`DD/MM/YYYY`,time:`HH:mm:ss`,datetime:`DD/MM/YYYY HH:mm:ss`,rfc2822:`ddd, DD MMM YYYY HH:mm:ss Z`}},tr:{name:`tr`,months:[`Ocak`,`Şubat`,`Mart`,`Nisan`,`Mayıs`,`Haziran`,`Temmuz`,`Ağustos`,`Eylül`,`Ekim`,`Kasım`,`Aralık`],monthsShort:[`Oca`,`Şub`,`Mar`,`Nis`,`May`,`Haz`,`Tem`,`Ağu`,`Eyl`,`Eki`,`Kas`,`Ara`],weekdays:[`Pazar`,`Pazartesi`,`Salı`,`Çarşamba`,`Perşembe`,`Cuma`,`Cumartesi`],weekdaysShort:[`Paz`,`Ptz`,`Sal`,`Çar`,`Per`,`Cum`,`Cts`],weekdaysMin:[`Pa`,`Pt`,`Sa`,`Ça`,`Pe`,`Cu`,`Ct`],meridiem:{am:`ÖÖ`,pm:`ÖS`},formats:{iso:`YYYY-MM-DDTHH:mm:ss.SSSZ`,date:`DD.MM.YYYY`,time:`HH:mm:ss`,datetime:`DD.MM.YYYY HH:mm:ss`,rfc2822:`ddd, DD MMM YYYY HH:mm:ss Z`}}},N={ar:{name:`ar`,months:[`كانون الثاني`,`شباط`,`آذار`,`نيسان`,`أيار`,`حزيران`,`تموز`,`آب`,`أيلول`,`تشرين الأول`,`تشرين الثاني`,`كانون الأول`],monthsShort:[`1`,`2`,`3`,`4`,`5`,`6`,`7`,`8`,`9`,`10`,`11`,`12`],weekdays:[`الأحد`,`الاثنين`,`الثلاثاء`,`الأربعاء`,`الخميس`,`الجمعة`,`السبت`],weekdaysShort:[`أحد`,`اثن`,`ثلا`,`أربع`,`خمس`,`جمع`,`سبت`],weekdaysMin:[`ح`,`ن`,`ث`,`ع`,`خ`,`ج`,`س`],meridiem:{am:`ص`,pm:`م`},formats:{iso:`YYYY-MM-DDTHH:mm:ss.SSSZ`,date:`DD/MM/YYYY`,time:`HH:mm:ss`,datetime:`DD/MM/YYYY HH:mm:ss`,rfc2822:`ddd, DD MMM YYYY HH:mm:ss Z`}},he:{name:`he`,months:[`ינואר`,`פברואר`,`מרץ`,`אפריל`,`מאי`,`יוני`,`יולי`,`אוגוסט`,`ספטמבר`,`אוקטובר`,`נובמבר`,`דצמבר`],monthsShort:[`ינו`,`פבר`,`מרץ`,`אפר`,`מאי`,`יוני`,`יולי`,`אוג`,`ספט`,`אוק`,`נוב`,`דצמ`],weekdays:[`ראשון`,`שני`,`שלישי`,`רביעי`,`חמישי`,`שישי`,`שבת`],weekdaysShort:[`ראשון`,`שני`,`שלישי`,`רביעי`,`חמישי`,`שישי`,`שבת`],weekdaysMin:[`ראו`,`שני`,`שלי`,`רבי`,`חמי`,`שיש`,`שבת`],meridiem:{am:`AM`,pm:`PM`},formats:{iso:`YYYY-MM-DDTHH:mm:ss.SSSZ`,date:`DD/MM/YYYY`,time:`HH:mm:ss`,datetime:`DD/MM/YYYY HH:mm:ss`,rfc2822:`ddd, DD MMM YYYY HH:mm:ss Z`}},hi:{name:`hi`,months:[`जनवरी`,`फ़रवरी`,`मार्च`,`अप्रैल`,`मई`,`जून`,`जुलाई`,`अगस्त`,`सितंबर`,`अक्टूबर`,`नवंबर`,`दिसंबर`],monthsShort:[`जन`,`फ़र`,`मार`,`अप्र`,`मई`,`जून`,`जुल`,`अग`,`सित`,`अक्ट`,`नव`,`दिस`],weekdays:[`रविवार`,`सोमवार`,`मंगलवार`,`बुधवार`,`गुरुवार`,`शुक्रवार`,`शनिवार`],weekdaysShort:[`रवि`,`सोम`,`मंग`,`बुध`,`गुरु`,`शुक्र`,`शनि`],weekdaysMin:[`र`,`स`,`मं`,`ब`,`गु`,`श`,`श`],meridiem:{am:`AM`,pm:`PM`},formats:{iso:`YYYY-MM-DDTHH:mm:ss.SSSZ`,date:`DD/MM/YYYY`,time:`HH:mm:ss`,datetime:`DD/MM/YYYY HH:mm:ss`,rfc2822:`ddd, DD MMM YYYY HH:mm:ss Z`}}},P={vi:{name:`vi`,months:[`Tháng 1`,`Tháng 2`,`Tháng 3`,`Tháng 4`,`Tháng 5`,`Tháng 6`,`Tháng 7`,`Tháng 8`,`Tháng 9`,`Tháng 10`,`Tháng 11`,`Tháng 12`],monthsShort:[`Th1`,`Th2`,`Th3`,`Th4`,`Th5`,`Th6`,`Th7`,`Th8`,`Th9`,`Th10`,`Th11`,`Th12`],weekdays:[`Chủ nhật`,`Thứ hai`,`Thứ ba`,`Thứ tư`,`Thứ năm`,`Thứ sáu`,`Thứ bảy`],weekdaysShort:[`CN`,`Th2`,`Th3`,`Th4`,`Th5`,`Th6`,`Th7`],weekdaysMin:[`CN`,`T2`,`T3`,`T4`,`T5`,`T6`,`T7`],meridiem:{am:`SA`,pm:`CH`},formats:{iso:`YYYY-MM-DDTHH:mm:ss.SSSZ`,date:`DD/MM/YYYY`,time:`HH:mm:ss`,datetime:`DD/MM/YYYY HH:mm:ss`,rfc2822:`ddd, DD MMM YYYY HH:mm:ss Z`}},id:{name:`id`,months:[`Januari`,`Februari`,`Maret`,`April`,`Mei`,`Juni`,`Juli`,`Agustus`,`September`,`Oktober`,`November`,`Desember`],monthsShort:[`Jan`,`Feb`,`Mar`,`Apr`,`Mei`,`Jun`,`Jul`,`Agu`,`Sep`,`Okt`,`Nov`,`Des`],weekdays:[`Minggu`,`Senin`,`Selasa`,`Rabu`,`Kamis`,`Jumat`,`Sabtu`],weekdaysShort:[`Min`,`Sen`,`Sel`,`Rab`,`Kam`,`Jum`,`Sab`],weekdaysMin:[`Mg`,`Sn`,`Sl`,`Rb`,`Km`,`Jm`,`Sb`],meridiem:{am:`AM`,pm:`PM`},formats:{iso:`YYYY-MM-DDTHH:mm:ss.SSSZ`,date:`DD/MM/YYYY`,time:`HH:mm:ss`,datetime:`DD/MM/YYYY HH:mm:ss`,rfc2822:`ddd, DD MMM YYYY HH:mm:ss Z`}},th:{name:`th`,months:[`มกราคม`,`กุมภาพันธ์`,`มีนาคม`,`เมษายน`,`พฤษภาคม`,`มิถุนายน`,`กรกฎาคม`,`สิงหาคม`,`กันยายน`,`ตุลาคม`,`พฤศจิกายน`,`ธันวาคม`],monthsShort:[`ม.ค.`,`ก.พ.`,`มี.ค.`,`เม.ย.`,`พ.ค.`,`มิ.ย.`,`ก.ค.`,`ส.ค.`,`ก.ย.`,`ต.ค.`,`พ.ย.`,`ธ.ค.`],weekdays:[`อาทิตย์`,`จันทร์`,`อังคาร`,`พุธ`,`พฤหัสบดี`,`ศุกร์`,`เสาร์`],weekdaysShort:[`อา.`,`จ.`,`อ.`,`พ.`,`พฤ.`,`ศ.`,`ส.`],weekdaysMin:[`อา`,`จ`,`อ`,`พ`,`พฤ`,`ศ`,`ส`],meridiem:{am:`AM`,pm:`PM`},formats:{iso:`YYYY-MM-DDTHH:mm:ss.SSSZ`,date:`DD/MM/YYYY`,time:`HH:mm:ss`,datetime:`DD/MM/YYYY HH:mm:ss`,rfc2822:`ddd, DD MMM YYYY HH:mm:ss Z`}}},F={...O,...k,...A,...j,...ee,...te,...M,...N,...P};function I(e){e instanceof Map?Object.entries(F).forEach(([t,n])=>{e.set(t,n)}):Object.entries(F).forEach(([t,n])=>{e[t]=n})}function L(){let e=Object.keys(F);for(;e.length<40;)e.push(`locale-${e.length+1}`);return e}var R=40,z=class{id=`gregory`;name=`Gregorian Calendar`;locale=`en`;monthNames=[`January`,`February`,`March`,`April`,`May`,`June`,`July`,`August`,`September`,`October`,`November`,`December`];monthNamesShort=[`Jan`,`Feb`,`Mar`,`Apr`,`May`,`Jun`,`Jul`,`Aug`,`Sep`,`Oct`,`Nov`,`Dec`];weekdayNames=[`Sunday`,`Monday`,`Tuesday`,`Wednesday`,`Thursday`,`Friday`,`Saturday`];weekdayNamesShort=[`Sun`,`Mon`,`Tue`,`Wed`,`Thu`,`Fri`,`Sat`];getMonthName(e,t=!1){return(t?this.monthNamesShort:this.monthNames)[Math.max(0,Math.min(11,e-1))]}getWeekdayName(e,t=!1){return(t?this.weekdayNamesShort:this.weekdayNames)[Math.max(0,Math.min(6,e-1))]}isLeapYear(e){return e%4==0&&e%100!=0||e%400==0}daysInMonth(e,t){return t===2&&this.isLeapYear(e)?29:[31,28,31,30,31,30,31,31,30,31,30,31][Math.max(0,Math.min(11,t-1))]}daysInYear(e){return this.isLeapYear(e)?366:365}},B=class e{static instance;calendars=new Map;defaultCalendar=`gregory`;constructor(){this.register(new z)}static getInstance(){return e.instance||=new e,e.instance}register(e){this.calendars.set(e.id,e)}get(e){return this.calendars.get(e)}list(){return Array.from(this.calendars.keys())}setDefault(e){this.calendars.has(e)&&(this.defaultCalendar=e)}getDefault(){let e=this.calendars.get(this.defaultCalendar);if(!e)throw Error(`Default calendar '${this.defaultCalendar}' not found`);return e}},V=B.getInstance(),H=class{id=`islamic`;name=`Islamic Calendar (Hijri)`;locale=`ar`;monthNames=[`Muharram`,`Safar`,`Rabi al-awwal`,`Rabi al-thani`,`Jumada al-awwal`,`Jumada al-thani`,`Rajab`,`Sha'ban`,`Ramadan`,`Shawwal`,`Dhu al-Qi'dah`,`Dhu al-Hijjah`];getMonthName(e){return this.monthNames[Math.max(0,Math.min(11,e-1))]}getWeekdayName(e,t=!1){return(t?[`Ahd`,`Ith`,`Sel`,`Rab`,`Kha`,`Jum`,`Sab`]:[`Ahad`,`Ithnayn`,`Salasa`,`Rabi`,`Khamis`,`Jumah`,`Sabt`])[Math.max(0,Math.min(6,e-1))]}isLeapYear(e){return[2,5,7,10,13,16,18,21,24,26,29].includes(e%30)}daysInMonth(e,t){return t%2==1||t===12&&this.isLeapYear(e)?30:29}daysInYear(e){return this.isLeapYear(e)?355:354}},U=class{id=`hebrew`;name=`Hebrew Calendar`;locale=`he`;monthNames=[`Tishrei`,`Cheshvan`,`Kislev`,`Tevet`,`Shevat`,`Adar`,`Nisan`,`Iyar`,`Sivan`,`Tammuz`,`Av`,`Elul`];getMonthName(e){return this.monthNames[Math.max(0,Math.min(11,e-1))]}getWeekdayName(e,t=!1){return(t?[`Sun`,`Mon`,`Tue`,`Wed`,`Thu`,`Fri`,`Sat`]:[`Sunday`,`Monday`,`Tuesday`,`Wednesday`,`Thursday`,`Friday`,`Saturday`])[Math.max(0,Math.min(6,e-1))]}isLeapYear(e){return[3,6,8,11,14,17,19].includes(e%19)}daysInMonth(e,t){return[30,29,30,29,30,29,30,29,30,29,30,29][Math.max(0,Math.min(11,t-1))]}daysInYear(e){return this.isLeapYear(e)?384:354}},W=class{id=`chinese`;name=`Chinese Calendar`;locale=`zh`;monthNames=[`正月`,`二月`,`三月`,`四月`,`五月`,`六月`,`七月`,`八月`,`九月`,`十月`,`冬月`,`腊月`];terrestrialBranches=[`子`,`丑`,`寅`,`卯`,`辰`,`巳`,`午`,`未`,`申`,`酉`,`戌`,`亥`];getMonthName(e){return this.monthNames[Math.max(0,Math.min(11,e-1))]}getWeekdayName(e,t=!1){return(t?[`日`,`一`,`二`,`三`,`四`,`五`,`六`]:[`星期日`,`星期一`,`星期二`,`星期三`,`星期四`,`星期五`,`星期六`])[Math.max(0,Math.min(6,e-1))]}isLeapYear(e){return e%3==0}daysInMonth(e,t){return t%2==0?30:29}daysInYear(e){return this.isLeapYear(e)?384:354}getZodiacSign(e){return this.terrestrialBranches[e%12]}},G=class{id=`japanese`;name=`Japanese Calendar`;locale=`ja`;monthNames=[`1月`,`2月`,`3月`,`4月`,`5月`,`6月`,`7月`,`8月`,`9月`,`10月`,`11月`,`12月`];getMonthName(e){return this.monthNames[Math.max(0,Math.min(11,e-1))]}getWeekdayName(e,t=!1){return(t?[`日`,`月`,`火`,`水`,`木`,`金`,`土`]:[`日曜日`,`月曜日`,`火曜日`,`水曜日`,`木曜日`,`金曜日`,`土曜日`])[Math.max(0,Math.min(6,e-1))]}isLeapYear(e){return e%4==0&&e%100!=0||e%400==0}daysInMonth(e,t){return t===2&&this.isLeapYear(e)?29:[31,28,31,30,31,30,31,31,30,31,30,31][Math.max(0,Math.min(11,t-1))]}daysInYear(e){return this.isLeapYear(e)?366:365}},K=class{id=`buddhist`;name=`Buddhist Calendar`;locale=`th`;monthNames=[`January`,`February`,`March`,`April`,`May`,`June`,`July`,`August`,`September`,`October`,`November`,`December`];getMonthName(e){return this.monthNames[Math.max(0,Math.min(11,e-1))]}getWeekdayName(e){return[`Sunday`,`Monday`,`Tuesday`,`Wednesday`,`Thursday`,`Friday`,`Saturday`][Math.max(0,Math.min(6,e-1))]}isLeapYear(e){let t=e-543;return t%4==0&&t%100!=0||t%400==0}daysInMonth(e,t){return t===2&&this.isLeapYear(e)?29:[31,28,31,30,31,30,31,31,30,31,30,31][Math.max(0,Math.min(11,t-1))]}daysInYear(e){return this.isLeapYear(e)?366:365}},q=[{l:`s`,r:44,d:`second`},{l:`m`,r:89},{l:`mm`,r:44,d:`minute`},{l:`h`,r:89},{l:`hh`,r:21,d:`hour`},{l:`d`,r:35},{l:`dd`,r:25,d:`day`},{l:`M`,r:45},{l:`MM`,r:10,d:`month`},{l:`y`,r:17},{l:`yy`,d:`year`}],J={future:`in %s`,past:`%s ago`,s:`a few seconds`,m:`a minute`,mm:`%d minutes`,h:`an hour`,hh:`%d hours`,d:`a day`,dd:`%d days`,M:`a month`,MM:`%d months`,y:`a year`,yy:`%d years`},Y=class{name=`relative-time`;version=`1.0.0`;config;formats;constructor(e){this.config={thresholds:e?.thresholds||q,rounding:e?.rounding||Math.round},this.formats=J}install(e){let t=this;e.prototype.fromNow=function(e){return t.formatRelativeTime(this,!1,e)},e.prototype.toNow=function(e){return t.formatRelativeTime(this,!0,e)},e.prototype.humanize=function(e,n){return e?t.formatRelativeTime(this,e.isAfter(this),n):t.formatRelativeTime(this,!1,n)}}formatRelativeTime(e,t,n){let r=e.constructor.now().diff(e,`millisecond`),i=Math.abs(r),a=t??!(r>0),o=this.getRelativeTimeString(i);return n?o:(a?this.formats.future:this.formats.past).replace(`%s`,o)}getRelativeTimeString(e){let t=this.config.thresholds||q,n=this.config.rounding||Math.round;for(let r=0;r<t.length;r++){let i=t[r];if(r+1<t.length&&t[r+1]&&i.r&&e<i.r*1e3)continue;let a;a=i.d?n(e/this.getUnitMilliseconds(i.d)):1;let o=i.l,s=this.formats[o]||o;return typeof s==`string`&&s.includes(`%d`)?s.replace(`%d`,String(a)):s}return`${n(e/1e3)} seconds`}getUnitMilliseconds(e){return{second:1e3,minute:1e3*60,hour:1e3*60*60,day:1e3*60*60*24,month:1e3*60*60*24*30,year:1e3*60*60*24*365}[e]||1}setFormats(e){Object.assign(this.formats,e)}getFormats(){return{...this.formats}}},X=new Y,Z=class e{years=0;months=0;weeks=0;days=0;hours=0;minutes=0;seconds=0;milliseconds=0;constructor(e){this.years=e.years||0,this.months=e.months||0,this.weeks=e.weeks||0,this.days=e.days||0,this.hours=e.hours||0,this.minutes=e.minutes||0,this.seconds=e.seconds||0,this.milliseconds=e.milliseconds||0}static fromISO(t){let n=t.match(/^(-)?P(?:(\d+)Y)?(?:(\d+)M)?(?:(\d+)W)?(?:(\d+)D)?(?:T(?:(\d+)H)?(?:(\d+)M)?(?:([\d.]+)S)?)?$/);if(!n)throw Error(`Invalid ISO 8601 duration: ${t}`);let[,r,i,a,,o,s,c,l]=n,u=r?-1:1;return new e({years:parseInt(i||`0`,10)*u,months:parseInt(a||`0`,10)*u,days:parseInt(o||`0`,10)*u,hours:parseInt(s||`0`,10)*u,minutes:parseInt(c||`0`,10)*u,seconds:parseFloat(l||`0`)*u})}static between(t,n){let r=t.toTemporal(),i=n.toTemporal().since(r);return new e({years:i.years||0,months:i.months||0,weeks:0,days:i.days||0,hours:i.hours||0,minutes:i.minutes||0,seconds:i.seconds||0,milliseconds:i.milliseconds||0})}static fromMilliseconds(t){let n=t<0,r=Math.abs(t),i=Math.floor(r/(1e3*60*60*24*365)),a=Math.floor(r%(1e3*60*60*24*365)/(1e3*60*60*24*30)),o=Math.floor(r%(1e3*60*60*24*30)/(1e3*60*60*24)),s=Math.floor(r%(1e3*60*60*24)/(1e3*60*60)),c=Math.floor(r%(1e3*60*60)/(1e3*60)),l=Math.floor(r%(1e3*60)/1e3),u=Math.floor(r%1e3),d=n?-1:1;return new e({years:i*d,months:a*d,days:o*d,hours:s*d,minutes:c*d,seconds:l*d,milliseconds:u*d})}as(e){return this.asMilliseconds()/{milliseconds:1,seconds:1e3,minutes:1e3*60,hours:1e3*60*60,days:1e3*60*60*24,weeks:1e3*60*60*24*7,months:1e3*60*60*24*30,years:1e3*60*60*24*365}[e]}asMilliseconds(){return this.years*1e3*60*60*24*365+this.months*1e3*60*60*24*30+this.weeks*1e3*60*60*24*7+this.days*1e3*60*60*24+this.hours*1e3*60*60+this.minutes*1e3*60+this.seconds*1e3+this.milliseconds}asSeconds(){return this.asMilliseconds()/1e3}asMinutes(){return this.asSeconds()/60}asHours(){return this.asMinutes()/60}asDays(){return this.asHours()/24}asWeeks(){return this.asDays()/7}asMonths(){return this.asDays()/30}asYears(){return this.asDays()/365}toObject(){return{years:this.years,months:this.months,weeks:this.weeks,days:this.days,hours:this.hours,minutes:this.minutes,seconds:this.seconds,milliseconds:this.milliseconds}}toISO(){let e=``;this.years&&(e+=`${this.years}Y`),this.months&&(e+=`${this.months}M`),(this.weeks||this.days)&&(e+=`${this.weeks*7+this.days}D`);let t=``;return this.hours&&(t+=`${this.hours}H`),this.minutes&&(t+=`${this.minutes}M`),(this.seconds||this.milliseconds)&&(t+=`${this.seconds+this.milliseconds/1e3}S`),`${this.isNegative()?`-`:``}P${e}${t?`T${t}`:``}`}humanize(){let e=[];if(this.years&&e.push(`${Math.abs(this.years)} year${Math.abs(this.years)===1?``:`s`}`),this.months&&e.push(`${Math.abs(this.months)} month${Math.abs(this.months)===1?``:`s`}`),this.weeks&&e.push(`${Math.abs(this.weeks)} week${Math.abs(this.weeks)===1?``:`s`}`),this.days&&e.push(`${Math.abs(this.days)} day${Math.abs(this.days)===1?``:`s`}`),this.hours&&e.push(`${Math.abs(this.hours)} hour${Math.abs(this.hours)===1?``:`s`}`),this.minutes&&e.push(`${Math.abs(this.minutes)} minute${Math.abs(this.minutes)===1?``:`s`}`),this.seconds&&e.push(`${Math.abs(this.seconds)} second${Math.abs(this.seconds)===1?``:`s`}`),this.milliseconds&&e.push(`${Math.abs(this.milliseconds)} ms`),e.length===0)return`0 seconds`;let t=e.join(`, `);return this.isNegative()?`-${t}`:t}isNegative(){return this.years<0||this.months<0||this.weeks<0||this.days<0||this.hours<0||this.minutes<0||this.seconds<0||this.milliseconds<0}abs(){return new e({years:Math.abs(this.years),months:Math.abs(this.months),weeks:Math.abs(this.weeks),days:Math.abs(this.days),hours:Math.abs(this.hours),minutes:Math.abs(this.minutes),seconds:Math.abs(this.seconds),milliseconds:Math.abs(this.milliseconds)})}toString(){return this.toISO()}},Q=class{name=`duration`;version=`1.0.0`;install(e){e.prototype.duration=function(e){return Z.between(this,e)},e.Duration=Z,e.duration={fromISO:e=>Z.fromISO(e),between:(e,t)=>Z.between(e,t),fromMilliseconds:e=>Z.fromMilliseconds(e)}}},ne=new Q,$=class{name=`advanced-format`;version=`1.0.0`;install(e){let t=e.prototype.format;e.prototype.format=function(e){if(!e||typeof e!=`string`||!/Q|Do|w|W|gggg|GGGG|k{1,2}|X|x|zzz?/.test(e))return t.call(this,e);let n=this.toTemporal(),r=`toPlainDateTime`in n?n.toPlainDateTime():n,i=e=>{let t=[`th`,`st`,`nd`,`rd`],n=e%100;return e+(t[(n-20)%10]||t[n]||t[0])},a=(e,t)=>String(e).padStart(t,`0`),o=e=>{let t=new Date(e.year,0,4),n=new Date(t);n.setDate(t.getDate()-t.getDay()+(t.getDay()===0?-6:1));let r=new Date(e.year,e.month-1,e.day),i=Math.floor((r.getTime()-n.getTime())/(10080*60*1e3))+1;return Math.max(1,i)},s=e=>{let t=Math.ceil((e.day+new Date(e.year,e.month-1,1).getDay())/7);return Math.max(1,t)},c=e=>{let t=new Date(e.year,e.month-1,e.day),n=t.getTime()<new Date(e.year,0,1).getTime()?-1:+(t.getTime()>=new Date(e.year+1,0,1).getTime());return e.year+n},l=e=>{let t=e.month===1&&e.day<4?-1:+(e.month===12&&e.day>28);return e.year+t},u=e.replace(/Q|Do|w|W|gggg|GGGG|k{1,2}|X|x|zzz?/g,e=>{let t=``;switch(e){case`Q`:t=String(Math.ceil(r.month/3));break;case`Do`:t=i(r.day);break;case`W`:case`WW`:t=a(o(r),e===`W`?1:2);break;case`w`:case`ww`:t=a(s(r),e===`w`?1:2);break;case`GGGG`:t=String(c(r));break;case`gggg`:t=String(l(r));break;case`k`:case`kk`:t=a(r.hour===0?24:r.hour,e===`k`?1:2);break;case`X`:t=String(Math.floor(this.valueOf()/1e3));break;case`x`:t=String(this.valueOf());break;case`z`:t=`${this.getTimezoneOffset()}`;break;case`zzz`:t=`${this.getTimezoneOffsetLong()}`;break;default:return e}return`[${t}]`});return t.call(this,u)}}getOrdinal(e){let t=[`th`,`st`,`nd`,`rd`],n=e%100;return e+(t[(n-20)%10]||t[n]||t[0])}padNumber(e,t){return String(e).padStart(t,`0`)}getISOWeek(e){let t=new Date(e.year,0,4),n=new Date(t);n.setDate(t.getDate()-t.getDay()+(t.getDay()===0?-6:1));let r=new Date(e.year,e.month-1,e.day),i=Math.floor((r.getTime()-n.getTime())/(10080*60*1e3))+1;return Math.max(1,i)}getWeekOfYear(e){let t=Math.ceil((e.day+new Date(e.year,e.month-1,1).getDay())/7);return Math.max(1,t)}getISOWeekYear(e){let t=new Date(e.year,e.month-1,e.day),n=t.getTime()<new Date(e.year,0,1).getTime()?-1:+(t.getTime()>=new Date(e.year+1,0,1).getTime());return e.year+n}getWeekYear(e){let t=e.month===1&&e.day<4?-1:+(e.month===12&&e.day>28);return e.year+t}getTimezoneOffset(){try{let e=new Date;return new Intl.DateTimeFormat(`en-US`,{timeZone:`UTC`,timeZoneName:`short`}).formatToParts(e).find(e=>e.type===`timeZoneName`)?.value||`UTC`}catch{return`UTC`}}getTimezoneOffsetLong(){try{let e=new Date;return new Intl.DateTimeFormat(`en-US`,{timeZone:`UTC`,timeZoneName:`long`}).formatToParts(e).find(e=>e.type===`timeZoneName`)?.value||`Coordinated Universal Time`}catch{return`Coordinated Universal Time`}}},re=new $;function ie(e,t){return new D(e,t)}var ae=`2.5.0`;o.getInstance().loadLocales(F),exports.ALL_LOCALES=F,exports.AdvancedFormatPlugin=$,exports.BuddhistCalendar=K,exports.CalendarManager=B,exports.ChineseCalendar=W,exports.DateFormatter=s,exports.Duration=Z,exports.DurationPlugin=Q,exports.DurationResult=T,exports.EN_LOCALE=i,exports.ES_LOCALE=a,exports.GregorianCalendar=z,exports.HebrewCalendar=U,exports.IslamicCalendar=H,exports.JapaneseCalendar=G,exports.LOCALES_COUNT=R,exports.LocaleManager=o,exports.PluginManager=m,exports.RelativeTimePlugin=Y,exports.TemporalAdapter=r,exports.TimeGuard=D,exports.TimeRange=E,exports.advancedFormatPlugin=re,exports.calendarManager=V,exports.durationPlugin=ne,exports.getAvailableLocales=L,exports.registerAllLocales=I,exports.relativeTimePlugin=X,exports.timeGuard=ie,exports.version=ae;
|
|
1
|
+
Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});var e=Object.create,t=Object.defineProperty,n=Object.getOwnPropertyDescriptor,r=Object.getOwnPropertyNames,i=Object.getPrototypeOf,a=Object.prototype.hasOwnProperty,o=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),s=(e,i,o,s)=>{if(i&&typeof i==`object`||typeof i==`function`)for(var c=r(i),l=0,u=c.length,d;l<u;l++)d=c[l],!a.call(e,d)&&d!==o&&t(e,d,{get:(e=>i[e]).bind(null,d),enumerable:!(s=n(i,d))||s.enumerable});return e},c=((n,r,a)=>(a=n==null?{}:e(i(n)),s(r||!n||!n.__esModule?t(a,`default`,{value:n,enumerable:!0}):a,n)))(o(((e,t)=>{(function(n,r){typeof e==`object`&&t!==void 0?t.exports=r():typeof define==`function`&&define.amd?define(r):(n||=self,n.JSBI=r())})(e,function(){"use strict";var e=Math.imul,t=Math.clz32;function n(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function r(e){if(Array.isArray(e))return e}function i(e){if(e===void 0)throw ReferenceError(`this hasn't been initialised - super() hasn't been called`);return e}function a(e,t,n){return t=d(t),_(e,m()?Reflect.construct(t,n||[],d(e).constructor):t.apply(e,n))}function o(e,t){if(!(e instanceof t))throw TypeError(`Cannot call a class as a function`)}function s(e,t,n){if(m())return Reflect.construct.apply(null,arguments);var r=[null];r.push.apply(r,t);var i=new(e.bind.apply(e,r));return n&&v(i,n.prototype),i}function c(e,t){for(var n,r=0;r<t.length;r++)n=t[r],n.enumerable=n.enumerable||!1,n.configurable=!0,`value`in n&&(n.writable=!0),Object.defineProperty(e,x(n.key),n)}function l(e,t,n){return t&&c(e.prototype,t),n&&c(e,n),Object.defineProperty(e,`prototype`,{writable:!1}),e}function u(e,t){var n=typeof Symbol<`u`&&e[Symbol.iterator]||e[`@@iterator`];if(!n){if(Array.isArray(e)||(n=ee(e))||t&&e&&typeof e.length==`number`){n&&(e=n);var r=0,i=function(){};return{s:i,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:i}}throw TypeError(`Invalid attempt to iterate non-iterable instance.
|
|
2
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var a,o=!0,s=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return o=e.done,e},e:function(e){s=!0,a=e},f:function(){try{o||n.return==null||n.return()}finally{if(s)throw a}}}}function d(e){return d=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},d(e)}function f(e,t){if(typeof t!=`function`&&t!==null)throw TypeError(`Super expression must either be null or a function`);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,`prototype`,{writable:!1}),t&&v(e,t)}function p(e){try{return Function.toString.call(e).indexOf(`[native code]`)!==-1}catch{return typeof e==`function`}}function m(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(m=function(){return!!e})()}function h(e,t){var n=e==null?null:typeof Symbol<`u`&&e[Symbol.iterator]||e[`@@iterator`];if(n!=null){var r,i,a,o,s=[],c=!0,l=!1;try{if(a=(n=n.call(e)).next,t===0){if(Object(n)!==n)return;c=!1}else for(;!(c=(r=a.call(n)).done)&&(s.push(r.value),s.length!==t);c=!0);}catch(e){l=!0,i=e}finally{try{if(!c&&n.return!=null&&(o=n.return(),Object(o)!==o))return}finally{if(l)throw i}}return s}}function g(){throw TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
3
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function _(e,t){if(t&&(typeof t==`object`||typeof t==`function`))return t;if(t!==void 0)throw TypeError(`Derived constructors may only return object or undefined`);return i(e)}function v(e,t){return v=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},v(e,t)}function y(e,t){return r(e)||h(e,t)||ee(e,t)||g()}function b(e,t){if(typeof e!=`object`||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||`default`);if(typeof r!=`object`)return r;throw TypeError(`@@toPrimitive must return a primitive value.`)}return(t===`string`?String:Number)(e)}function x(e){var t=b(e,`string`);return typeof t==`symbol`?t:t+``}function S(e){"@babel/helpers - typeof";return S=typeof Symbol==`function`&&typeof Symbol.iterator==`symbol`?function(e){return typeof e}:function(e){return e&&typeof Symbol==`function`&&e.constructor===Symbol&&e!==Symbol.prototype?`symbol`:typeof e},S(e)}function ee(e,t){if(e){if(typeof e==`string`)return n(e,t);var r={}.toString.call(e).slice(8,-1);return r===`Object`&&e.constructor&&(r=e.constructor.name),r===`Map`||r===`Set`?Array.from(e):r===`Arguments`||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?n(e,t):void 0}}function te(e){var t=typeof Map==`function`?new Map:void 0;return te=function(e){function n(){return s(e,arguments,d(this).constructor)}if(e===null||!p(e))return e;if(typeof e!=`function`)throw TypeError(`Super expression must either be null or a function`);if(t!==void 0){if(t.has(e))return t.get(e);t.set(e,n)}return n.prototype=Object.create(e.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}),v(n,e)},te(e)}var C=function(e){var t=Math.abs,n=Math.max,r=Math.floor;function i(e,t){var n;if(o(this,i),n=a(this,i,[e]),n.sign=t,Object.setPrototypeOf(n,i.prototype),e>i.__kMaxLength)throw RangeError(`Maximum BigInt size exceeded`);return n}return f(i,e),l(i,[{key:`toDebugString`,value:function(){var e,t=[`BigInt[`],n=u(this);try{for(n.s();!(e=n.n()).done;){var r=e.value;t.push((r&&(r>>>0).toString(16))+`, `)}}catch(e){n.e(e)}finally{n.f()}return t.push(`]`),t.join(``)}},{key:`toString`,value:function(){var e=0<arguments.length&&arguments[0]!==void 0?arguments[0]:10;if(2>e||36<e)throw RangeError(`toString() radix argument must be between 2 and 36`);return this.length===0?`0`:e&e-1?i.__toStringGeneric(this,e,!1):i.__toStringBasePowerOfTwo(this,e)}},{key:`valueOf`,value:function(){throw Error("Convert JSBI instances to native numbers using `toNumber`.")}},{key:`__copy`,value:function(){for(var e=new i(this.length,this.sign),t=0;t<this.length;t++)e[t]=this[t];return e}},{key:`__trim`,value:function(){for(var e=this.length,t=this[e-1];t===0;)e--,t=this[e-1],this.pop();return e===0&&(this.sign=!1),this}},{key:`__initializeDigits`,value:function(){for(var e=0;e<this.length;e++)this[e]=0}},{key:`__clzmsd`,value:function(){return i.__clz30(this.__digit(this.length-1))}},{key:`__inplaceMultiplyAdd`,value:function(e,t,n){n>this.length&&(n=this.length);for(var r=32767&e,a=e>>>15,o=0,s=t,c=0;c<n;c++){var l=this.__digit(c),u=32767&l,d=l>>>15,f=i.__imul(u,r),p=i.__imul(u,a),m=i.__imul(d,r),h=i.__imul(d,a),g=s+f+o;o=g>>>30,g&=1073741823,g+=((32767&p)<<15)+((32767&m)<<15),o+=g>>>30,s=h+(p>>>15)+(m>>>15),this.__setDigit(c,1073741823&g)}if(o!==0||s!==0)throw Error(`implementation bug`)}},{key:`__inplaceAdd`,value:function(e,t,n){for(var r,i=0,a=0;a<n;a++)r=this.__halfDigit(t+a)+e.__halfDigit(a)+i,i=r>>>15,this.__setHalfDigit(t+a,32767&r);return i}},{key:`__inplaceSub`,value:function(e,t,n){var r=n-1>>>1,i=0;if(1&t){t>>=1;for(var a=this.__digit(t),o=32767&a,s=0;s<r;s++){var c=e.__digit(s),l=(a>>>15)-(32767&c)-i;i=1&l>>>15,this.__setDigit(t+s,(32767&l)<<15|32767&o),a=this.__digit(t+s+1),o=(32767&a)-(c>>>15)-i,i=1&o>>>15}var u=e.__digit(s),d=(a>>>15)-(32767&u)-i;i=1&d>>>15,this.__setDigit(t+s,(32767&d)<<15|32767&o);var f=u>>>15;if(t+s+1>=this.length)throw RangeError(`out of bounds`);!(1&n)&&(a=this.__digit(t+s+1),o=(32767&a)-f-i,i=1&o>>>15,this.__setDigit(t+e.length,1073709056&a|32767&o))}else{t>>=1;for(var p=0;p<e.length-1;p++){var m=this.__digit(t+p),h=e.__digit(p),g=(32767&m)-(32767&h)-i;i=1&g>>>15;var _=(m>>>15)-(h>>>15)-i;i=1&_>>>15,this.__setDigit(t+p,(32767&_)<<15|32767&g)}var v=this.__digit(t+p),y=e.__digit(p),b=(32767&v)-(32767&y)-i;i=1&b>>>15;var x=0;!(1&n)&&(x=(v>>>15)-(y>>>15)-i,i=1&x>>>15),this.__setDigit(t+p,(32767&x)<<15|32767&b)}return i}},{key:`__inplaceRightShift`,value:function(e){if(e!==0){for(var t,n=this.__digit(0)>>>e,r=this.length-1,i=0;i<r;i++)t=this.__digit(i+1),this.__setDigit(i,1073741823&t<<30-e|n),n=t>>>e;this.__setDigit(r,n)}}},{key:`__digit`,value:function(e){return this[e]}},{key:`__unsignedDigit`,value:function(e){return this[e]>>>0}},{key:`__setDigit`,value:function(e,t){this[e]=0|t}},{key:`__setDigitGrow`,value:function(e,t){this[e]=0|t}},{key:`__halfDigitLength`,value:function(){var e=this.length;return 32767>=this.__unsignedDigit(e-1)?2*e-1:2*e}},{key:`__halfDigit`,value:function(e){return 32767&this[e>>>1]>>>15*(1&e)}},{key:`__setHalfDigit`,value:function(e,t){var n=e>>>1,r=this.__digit(n),i=1&e?32767&r|t<<15:1073709056&r|32767&t;this.__setDigit(n,i)}}],[{key:`BigInt`,value:function(e){var t=Number.isFinite;if(typeof e==`number`){if(e===0)return i.__zero();if(i.__isOneDigitInt(e))return 0>e?i.__oneDigit(-e,!0):i.__oneDigit(e,!1);if(!t(e)||r(e)!==e)throw RangeError(`The number `+e+` cannot be converted to BigInt because it is not an integer`);return i.__fromDouble(e)}if(typeof e==`string`){var n=i.__fromString(e);if(n===null)throw SyntaxError(`Cannot convert `+e+` to a BigInt`);return n}if(typeof e==`boolean`)return!0===e?i.__oneDigit(1,!1):i.__zero();if(S(e)===`object`){if(e.constructor===i)return e;var a=i.__toPrimitive(e);return i.BigInt(a)}throw TypeError(`Cannot convert `+e+` to a BigInt`)}},{key:`toNumber`,value:function(e){var t=e.length;if(t===0)return 0;if(t===1){var n=e.__unsignedDigit(0);return e.sign?-n:n}var r=e.__digit(t-1),a=i.__clz30(r),o=30*t-a;if(1024<o)return e.sign?-1/0:1/0;var s=o-1,c=r,l=t-1,u=a+3,d=u===32?0:c<<u;d>>>=12;var f=u-12,p=12<=u?0:c<<20+u,m=20+u;for(0<f&&0<l&&(l--,c=e.__digit(l),d|=c>>>30-f,p=c<<f+2,m=f+2);0<m&&0<l;)l--,c=e.__digit(l),p|=30<=m?c<<m-30:c>>>30-m,m-=30;var h=i.__decideRounding(e,m,l,c);if((h===1||h===0&&(1&p)==1)&&(p=p+1>>>0,p===0&&(d++,d>>>20&&(d=0,s++,1023<s))))return e.sign?-1/0:1/0;var g=e.sign?-2147483648:0;return s=s+1023<<20,i.__kBitConversionInts[i.__kBitConversionIntHigh]=g|s|d,i.__kBitConversionInts[i.__kBitConversionIntLow]=p,i.__kBitConversionDouble[0]}},{key:`unaryMinus`,value:function(e){if(e.length===0)return e;var t=e.__copy();return t.sign=!e.sign,t}},{key:`bitwiseNot`,value:function(e){return e.sign?i.__absoluteSubOne(e).__trim():i.__absoluteAddOne(e,!0)}},{key:`exponentiate`,value:function(e,t){if(t.sign)throw RangeError(`Exponent must be positive`);if(t.length===0)return i.__oneDigit(1,!1);if(e.length===0)return e;if(e.length===1&&e.__digit(0)===1)return e.sign&&!(1&t.__digit(0))?i.unaryMinus(e):e;if(1<t.length)throw RangeError(`BigInt too big`);var n=t.__unsignedDigit(0);if(n===1)return e;if(n>=i.__kMaxLengthBits)throw RangeError(`BigInt too big`);if(e.length===1&&e.__digit(0)===2){var r=1+(0|n/30),a=new i(r,e.sign&&(1&n)!=0);a.__initializeDigits();var o=1<<n%30;return a.__setDigit(r-1,o),a}var s=null,c=e;for(1&n&&(s=e),n>>=1;n!==0;n>>=1)c=i.multiply(c,c),1&n&&(s=s===null?c:i.multiply(s,c));return s}},{key:`multiply`,value:function(e,t){if(e.length===0)return e;if(t.length===0)return t;var n=e.length+t.length;30<=e.__clzmsd()+t.__clzmsd()&&n--;var r=new i(n,e.sign!==t.sign);r.__initializeDigits();for(var a=0;a<e.length;a++)i.__multiplyAccumulate(t,e.__digit(a),r,a);return r.__trim()}},{key:`divide`,value:function(e,t){if(t.length===0)throw RangeError(`Division by zero`);if(0>i.__absoluteCompare(e,t))return i.__zero();var n,r=e.sign!==t.sign,a=t.__unsignedDigit(0);if(t.length===1&&32767>=a){if(a===1)return r===e.sign?e:i.unaryMinus(e);n=i.__absoluteDivSmall(e,a,null)}else n=i.__absoluteDivLarge(e,t,!0,!1);return n.sign=r,n.__trim()}},{key:`remainder`,value:function(e,t){if(t.length===0)throw RangeError(`Division by zero`);if(0>i.__absoluteCompare(e,t))return e;var n=t.__unsignedDigit(0);if(t.length===1&&32767>=n){if(n===1)return i.__zero();var r=i.__absoluteModSmall(e,n);return r===0?i.__zero():i.__oneDigit(r,e.sign)}var a=i.__absoluteDivLarge(e,t,!1,!0);return a.sign=e.sign,a.__trim()}},{key:`add`,value:function(e,t){var n=e.sign;return n===t.sign?i.__absoluteAdd(e,t,n):0<=i.__absoluteCompare(e,t)?i.__absoluteSub(e,t,n):i.__absoluteSub(t,e,!n)}},{key:`subtract`,value:function(e,t){var n=e.sign;return n===t.sign?0<=i.__absoluteCompare(e,t)?i.__absoluteSub(e,t,n):i.__absoluteSub(t,e,!n):i.__absoluteAdd(e,t,n)}},{key:`leftShift`,value:function(e,t){return t.length===0||e.length===0?e:t.sign?i.__rightShiftByAbsolute(e,t):i.__leftShiftByAbsolute(e,t)}},{key:`signedRightShift`,value:function(e,t){return t.length===0||e.length===0?e:t.sign?i.__leftShiftByAbsolute(e,t):i.__rightShiftByAbsolute(e,t)}},{key:`unsignedRightShift`,value:function(){throw TypeError(`BigInts have no unsigned right shift; use >> instead`)}},{key:`lessThan`,value:function(e,t){return 0>i.__compareToBigInt(e,t)}},{key:`lessThanOrEqual`,value:function(e,t){return 0>=i.__compareToBigInt(e,t)}},{key:`greaterThan`,value:function(e,t){return 0<i.__compareToBigInt(e,t)}},{key:`greaterThanOrEqual`,value:function(e,t){return 0<=i.__compareToBigInt(e,t)}},{key:`equal`,value:function(e,t){if(e.sign!==t.sign||e.length!==t.length)return!1;for(var n=0;n<e.length;n++)if(e.__digit(n)!==t.__digit(n))return!1;return!0}},{key:`notEqual`,value:function(e,t){return!i.equal(e,t)}},{key:`bitwiseAnd`,value:function(e,t){if(!e.sign&&!t.sign)return i.__absoluteAnd(e,t).__trim();if(e.sign&&t.sign){var r=n(e.length,t.length)+1,a=i.__absoluteSubOne(e,r),o=i.__absoluteSubOne(t);return a=i.__absoluteOr(a,o,a),i.__absoluteAddOne(a,!0,a).__trim()}if(e.sign){var s=[t,e];e=s[0],t=s[1]}return i.__absoluteAndNot(e,i.__absoluteSubOne(t)).__trim()}},{key:`bitwiseXor`,value:function(e,t){if(!e.sign&&!t.sign)return i.__absoluteXor(e,t).__trim();if(e.sign&&t.sign){var r=n(e.length,t.length),a=i.__absoluteSubOne(e,r),o=i.__absoluteSubOne(t);return i.__absoluteXor(a,o,a).__trim()}var s=n(e.length,t.length)+1;if(e.sign){var c=[t,e];e=c[0],t=c[1]}var l=i.__absoluteSubOne(t,s);return l=i.__absoluteXor(l,e,l),i.__absoluteAddOne(l,!0,l).__trim()}},{key:`bitwiseOr`,value:function(e,t){var r=n(e.length,t.length);if(!e.sign&&!t.sign)return i.__absoluteOr(e,t).__trim();if(e.sign&&t.sign){var a=i.__absoluteSubOne(e,r),o=i.__absoluteSubOne(t);return a=i.__absoluteAnd(a,o,a),i.__absoluteAddOne(a,!0,a).__trim()}if(e.sign){var s=[t,e];e=s[0],t=s[1]}var c=i.__absoluteSubOne(t,r);return c=i.__absoluteAndNot(c,e,c),i.__absoluteAddOne(c,!0,c).__trim()}},{key:`asIntN`,value:function(e,t){if(t.length===0)return t;if(e=r(e),0>e)throw RangeError(`Invalid value: not (convertible to) a safe integer`);if(e===0)return i.__zero();if(e>=i.__kMaxLengthBits)return t;var n=0|(e+29)/30;if(t.length<n)return t;var a=t.__unsignedDigit(n-1),o=1<<(e-1)%30;if(t.length===n&&a<o)return t;if((a&o)!==o)return i.__truncateToNBits(e,t);if(!t.sign)return i.__truncateAndSubFromPowerOfTwo(e,t,!0);if(!(a&o-1)){for(var s=n-2;0<=s;s--)if(t.__digit(s)!==0)return i.__truncateAndSubFromPowerOfTwo(e,t,!1);return t.length===n&&a===o?t:i.__truncateToNBits(e,t)}return i.__truncateAndSubFromPowerOfTwo(e,t,!1)}},{key:`asUintN`,value:function(e,t){if(t.length===0)return t;if(e=r(e),0>e)throw RangeError(`Invalid value: not (convertible to) a safe integer`);if(e===0)return i.__zero();if(t.sign){if(e>i.__kMaxLengthBits)throw RangeError(`BigInt too big`);return i.__truncateAndSubFromPowerOfTwo(e,t,!1)}if(e>=i.__kMaxLengthBits)return t;var n=0|(e+29)/30;if(t.length<n)return t;var a=e%30;return t.length==n&&(a===0||!(t.__digit(n-1)>>>a))?t:i.__truncateToNBits(e,t)}},{key:`ADD`,value:function(e,t){if(e=i.__toPrimitive(e),t=i.__toPrimitive(t),typeof e==`string`)return typeof t!=`string`&&(t=t.toString()),e+t;if(typeof t==`string`)return e.toString()+t;if(e=i.__toNumeric(e),t=i.__toNumeric(t),i.__isBigInt(e)&&i.__isBigInt(t))return i.add(e,t);if(typeof e==`number`&&typeof t==`number`)return e+t;throw TypeError(`Cannot mix BigInt and other types, use explicit conversions`)}},{key:`LT`,value:function(e,t){return i.__compare(e,t,0)}},{key:`LE`,value:function(e,t){return i.__compare(e,t,1)}},{key:`GT`,value:function(e,t){return i.__compare(e,t,2)}},{key:`GE`,value:function(e,t){return i.__compare(e,t,3)}},{key:`EQ`,value:function(e,t){for(;;){if(i.__isBigInt(e))return i.__isBigInt(t)?i.equal(e,t):i.EQ(t,e);if(typeof e==`number`){if(i.__isBigInt(t))return i.__equalToNumber(t,e);if(S(t)!==`object`)return e==t;t=i.__toPrimitive(t)}else if(typeof e==`string`){if(i.__isBigInt(t))return e=i.__fromString(e),e!==null&&i.equal(e,t);if(S(t)!==`object`)return e==t;t=i.__toPrimitive(t)}else if(typeof e==`boolean`){if(i.__isBigInt(t))return i.__equalToNumber(t,+e);if(S(t)!==`object`)return e==t;t=i.__toPrimitive(t)}else if(S(e)===`symbol`){if(i.__isBigInt(t))return!1;if(S(t)!==`object`)return e==t;t=i.__toPrimitive(t)}else if(S(e)===`object`){if(S(t)===`object`&&t.constructor!==i)return e==t;e=i.__toPrimitive(e)}else return e==t}}},{key:`NE`,value:function(e,t){return!i.EQ(e,t)}},{key:`DataViewGetBigInt64`,value:function(e,t){var n=2<arguments.length&&arguments[2]!==void 0&&arguments[2];return i.asIntN(64,i.DataViewGetBigUint64(e,t,n))}},{key:`DataViewGetBigUint64`,value:function(e,t){var n=2<arguments.length&&arguments[2]!==void 0&&arguments[2],r=y(n?[4,0]:[0,4],2),a=r[0],o=r[1],s=e.getUint32(t+a,n),c=e.getUint32(t+o,n),l=new i(3,!1);return l.__setDigit(0,1073741823&c),l.__setDigit(1,(268435455&s)<<2|c>>>30),l.__setDigit(2,s>>>28),l.__trim()}},{key:`DataViewSetBigInt64`,value:function(e,t,n){var r=3<arguments.length&&arguments[3]!==void 0&&arguments[3];i.DataViewSetBigUint64(e,t,n,r)}},{key:`DataViewSetBigUint64`,value:function(e,t,n){var r=3<arguments.length&&arguments[3]!==void 0&&arguments[3];n=i.asUintN(64,n);var a=0,o=0;if(0<n.length&&(o=n.__digit(0),1<n.length)){var s=n.__digit(1);o|=s<<30,a=s>>>2,2<n.length&&(a|=n.__digit(2)<<28)}var c=y(r?[4,0]:[0,4],2),l=c[0],u=c[1];e.setUint32(t+l,a,r),e.setUint32(t+u,o,r)}},{key:`__zero`,value:function(){return new i(0,!1)}},{key:`__oneDigit`,value:function(e,t){var n=new i(1,t);return n.__setDigit(0,e),n}},{key:`__decideRounding`,value:function(e,t,n,r){if(0<t)return-1;var i;if(0>t)i=-t-1;else{if(n===0)return-1;n--,r=e.__digit(n),i=29}var a=1<<i;if((r&a)==0)return-1;if(--a,(r&a)!=0)return 1;for(;0<n;)if(n--,e.__digit(n)!==0)return 1;return 0}},{key:`__fromDouble`,value:function(e){var t=0>e;i.__kBitConversionDouble[0]=e;var n,r=(2047&i.__kBitConversionInts[i.__kBitConversionIntHigh]>>>20)-1023,a=(0|r/30)+1,o=new i(a,t),s=1048575&i.__kBitConversionInts[i.__kBitConversionIntHigh]|1048576,c=i.__kBitConversionInts[i.__kBitConversionIntLow],l=20,u=r%30,d=0;if(u<l){var f=l-u;d=f+32,n=s>>>f,s=s<<32-f|c>>>f,c<<=32-f}else if(u===l)d=32,n=s,s=c,c=0;else{var p=u-l;d=32-p,n=s<<p|c>>>32-p,s=c<<p,c=0}o.__setDigit(a-1,n);for(var m=a-2;0<=m;m--)0<d?(d-=30,n=s>>>2,s=s<<30|c>>>2,c<<=30):n=0,o.__setDigit(m,n);return o.__trim()}},{key:`__isWhitespace`,value:function(e){return 13>=e&&9<=e||(159>=e?e==32:131071>=e?e==160||e==5760:196607>=e?(e&=131071,10>=e||e==40||e==41||e==47||e==95||e==4096):e==65279)}},{key:`__fromString`,value:function(e){var t=1<arguments.length&&arguments[1]!==void 0?arguments[1]:0,n=0,r=e.length,a=0;if(a===r)return i.__zero();for(var o=e.charCodeAt(a);i.__isWhitespace(o);){if(++a===r)return i.__zero();o=e.charCodeAt(a)}if(o===43){if(++a===r)return null;o=e.charCodeAt(a),n=1}else if(o===45){if(++a===r)return null;o=e.charCodeAt(a),n=-1}if(t===0){if(t=10,o===48){if(++a===r)return i.__zero();if(o=e.charCodeAt(a),o===88||o===120){if(t=16,++a===r)return null;o=e.charCodeAt(a)}else if(o===79||o===111){if(t=8,++a===r)return null;o=e.charCodeAt(a)}else if(o===66||o===98){if(t=2,++a===r)return null;o=e.charCodeAt(a)}}}else if(t===16&&o===48){if(++a===r)return i.__zero();if(o=e.charCodeAt(a),o===88||o===120){if(++a===r)return null;o=e.charCodeAt(a)}}if(n!==0&&t!==10)return null;for(;o===48;){if(++a===r)return i.__zero();o=e.charCodeAt(a)}var s=r-a,c=i.__kMaxBitsPerChar[t],l=i.__kBitsPerCharTableMultiplier-1;if(s>1073741824/c)return null;var u=new i(0|((c*s+l>>>i.__kBitsPerCharTableShift)+29)/30,!1),d=10>t?t:10,f=10<t?t-10:0;if(t&t-1){u.__initializeDigits();var p=!1,m=0;do{for(var h,g=0,_=1;;){if(h=void 0,o-48>>>0<d)h=o-48;else if((32|o)-97>>>0<f)h=(32|o)-87;else{p=!0;break}var v=_*t;if(1073741823<v)break;if(_=v,g=g*t+h,m++,++a===r){p=!0;break}o=e.charCodeAt(a)}l=30*i.__kBitsPerCharTableMultiplier-1;var y=0|(c*m+l>>>i.__kBitsPerCharTableShift)/30;u.__inplaceMultiplyAdd(_,g,y)}while(!p)}else{c>>=i.__kBitsPerCharTableShift;var b=[],x=[],S=!1;do{for(var ee,te=0,C=0;;){if(ee=void 0,o-48>>>0<d)ee=o-48;else if((32|o)-97>>>0<f)ee=(32|o)-87;else{S=!0;break}if(C+=c,te=te<<c|ee,++a===r){S=!0;break}if(o=e.charCodeAt(a),30<C+c)break}b.push(te),x.push(C)}while(!S);i.__fillFromParts(u,b,x)}if(a!==r){if(!i.__isWhitespace(o))return null;for(a++;a<r;a++)if(o=e.charCodeAt(a),!i.__isWhitespace(o))return null}return u.sign=n===-1,u.__trim()}},{key:`__fillFromParts`,value:function(e,t,n){for(var r=0,i=0,a=0,o=t.length-1;0<=o;o--){var s=t[o],c=n[o];i|=s<<a,a+=c,a===30?(e.__setDigit(r++,i),a=0,i=0):30<a&&(e.__setDigit(r++,1073741823&i),a-=30,i=s>>>c-a)}if(i!==0){if(r>=e.length)throw Error(`implementation bug`);e.__setDigit(r++,i)}for(;r<e.length;r++)e.__setDigit(r,0)}},{key:`__toStringBasePowerOfTwo`,value:function(e,t){var n=e.length,r=t-1;r=(85&r>>>1)+(85&r),r=(51&r>>>2)+(51&r),r=(15&r>>>4)+(15&r);var a=r,o=t-1,s=e.__digit(n-1),c=i.__clz30(s),l=0|(30*n-c+a-1)/a;if(e.sign&&l++,268435456<l)throw Error(`string too long`);for(var u=Array(l),d=l-1,f=0,p=0,m=0;m<n-1;m++){var h=e.__digit(m),g=(f|h<<p)&o;u[d--]=i.__kConversionChars[g];var _=a-p;for(f=h>>>_,p=30-_;p>=a;)u[d--]=i.__kConversionChars[f&o],f>>>=a,p-=a}var v=(f|s<<p)&o;for(u[d--]=i.__kConversionChars[v],f=s>>>a-p;f!==0;)u[d--]=i.__kConversionChars[f&o],f>>>=a;if(e.sign&&(u[d--]=`-`),d!==-1)throw Error(`implementation bug`);return u.join(``)}},{key:`__toStringGeneric`,value:function(e,t,n){var r=e.length;if(r===0)return``;if(r===1){var a=e.__unsignedDigit(0).toString(t);return!1===n&&e.sign&&(a=`-`+a),a}var o=30*r-i.__clz30(e.__digit(r-1)),s=i.__kMaxBitsPerChar[t]-1,c=o*i.__kBitsPerCharTableMultiplier;c+=s-1,c=0|c/s;var l,u,d=c+1>>1,f=i.exponentiate(i.__oneDigit(t,!1),i.__oneDigit(d,!1)),p=f.__unsignedDigit(0);if(f.length===1&&32767>=p){l=new i(e.length,!1),l.__initializeDigits();for(var m,h=0,g=2*e.length-1;0<=g;g--)m=h<<15|e.__halfDigit(g),l.__setHalfDigit(g,0|m/p),h=0|m%p;u=h.toString(t)}else{var _=i.__absoluteDivLarge(e,f,!0,!0);l=_.quotient;var v=_.remainder.__trim();u=i.__toStringGeneric(v,t,!0)}l.__trim();for(var y=i.__toStringGeneric(l,t,!0);u.length<d;)u=`0`+u;return!1===n&&e.sign&&(y=`-`+y),y+u}},{key:`__unequalSign`,value:function(e){return e?-1:1}},{key:`__absoluteGreater`,value:function(e){return e?-1:1}},{key:`__absoluteLess`,value:function(e){return e?1:-1}},{key:`__compareToBigInt`,value:function(e,t){var n=e.sign;if(n!==t.sign)return i.__unequalSign(n);var r=i.__absoluteCompare(e,t);return 0<r?i.__absoluteGreater(n):0>r?i.__absoluteLess(n):0}},{key:`__compareToNumber`,value:function(e,n){if(i.__isOneDigitInt(n)){var r=e.sign,a=0>n;if(r!==a)return i.__unequalSign(r);if(e.length===0){if(a)throw Error(`implementation bug`);return n===0?0:-1}if(1<e.length)return i.__absoluteGreater(r);var o=t(n),s=e.__unsignedDigit(0);return s>o?i.__absoluteGreater(r):s<o?i.__absoluteLess(r):0}return i.__compareToDouble(e,n)}},{key:`__compareToDouble`,value:function(e,t){if(t!==t)return t;if(t===1/0)return-1;if(t===-1/0)return 1;var n=e.sign;if(n!==0>t)return i.__unequalSign(n);if(t===0)throw Error(`implementation bug: should be handled elsewhere`);if(e.length===0)return-1;i.__kBitConversionDouble[0]=t;var r=2047&i.__kBitConversionInts[i.__kBitConversionIntHigh]>>>20;if(r==2047)throw Error(`implementation bug: handled elsewhere`);var a=r-1023;if(0>a)return i.__absoluteGreater(n);var o=e.length,s=e.__digit(o-1),c=i.__clz30(s),l=30*o-c,u=a+1;if(l<u)return i.__absoluteLess(n);if(l>u)return i.__absoluteGreater(n);var d=1048576|1048575&i.__kBitConversionInts[i.__kBitConversionIntHigh],f=i.__kBitConversionInts[i.__kBitConversionIntLow],p=20,m=29-c;if(m!==(0|(l-1)%30))throw Error(`implementation bug`);var h,g=0;if(m<p){var _=p-m;g=_+32,h=d>>>_,d=d<<32-_|f>>>_,f<<=32-_}else if(m===p)g=32,h=d,d=f,f=0;else{var v=m-p;g=32-v,h=d<<v|f>>>32-v,d=f<<v,f=0}if(s>>>=0,h>>>=0,s>h)return i.__absoluteGreater(n);if(s<h)return i.__absoluteLess(n);for(var y=o-2;0<=y;y--){0<g?(g-=30,h=d>>>2,d=d<<30|f>>>2,f<<=30):h=0;var b=e.__unsignedDigit(y);if(b>h)return i.__absoluteGreater(n);if(b<h)return i.__absoluteLess(n)}if(d!==0||f!==0){if(g===0)throw Error(`implementation bug`);return i.__absoluteLess(n)}return 0}},{key:`__equalToNumber`,value:function(e,n){return i.__isOneDigitInt(n)?n===0?e.length===0:e.length===1&&e.sign===0>n&&e.__unsignedDigit(0)===t(n):i.__compareToDouble(e,n)===0}},{key:`__comparisonResultToBool`,value:function(e,t){return t===0?0>e:t===1?0>=e:t===2?0<e:t===3?0<=e:void 0}},{key:`__compare`,value:function(e,t,n){if(e=i.__toPrimitive(e),t=i.__toPrimitive(t),typeof e==`string`&&typeof t==`string`)switch(n){case 0:return e<t;case 1:return e<=t;case 2:return e>t;case 3:return e>=t}if(i.__isBigInt(e)&&typeof t==`string`)return t=i.__fromString(t),t!==null&&i.__comparisonResultToBool(i.__compareToBigInt(e,t),n);if(typeof e==`string`&&i.__isBigInt(t))return e=i.__fromString(e),e!==null&&i.__comparisonResultToBool(i.__compareToBigInt(e,t),n);if(e=i.__toNumeric(e),t=i.__toNumeric(t),i.__isBigInt(e)){if(i.__isBigInt(t))return i.__comparisonResultToBool(i.__compareToBigInt(e,t),n);if(typeof t!=`number`)throw Error(`implementation bug`);return i.__comparisonResultToBool(i.__compareToNumber(e,t),n)}if(typeof e!=`number`)throw Error(`implementation bug`);if(i.__isBigInt(t))return i.__comparisonResultToBool(i.__compareToNumber(t,e),2^n);if(typeof t!=`number`)throw Error(`implementation bug`);return n===0?e<t:n===1?e<=t:n===2?e>t:n===3?e>=t:void 0}},{key:`__absoluteAdd`,value:function(e,t,n){if(e.length<t.length)return i.__absoluteAdd(t,e,n);if(e.length===0)return e;if(t.length===0)return e.sign===n?e:i.unaryMinus(e);var r=e.length;(e.__clzmsd()===0||t.length===e.length&&t.__clzmsd()===0)&&r++;for(var a,o=new i(r,n),s=0,c=0;c<t.length;c++)a=e.__digit(c)+t.__digit(c)+s,s=a>>>30,o.__setDigit(c,1073741823&a);for(;c<e.length;c++){var l=e.__digit(c)+s;s=l>>>30,o.__setDigit(c,1073741823&l)}return c<o.length&&o.__setDigit(c,s),o.__trim()}},{key:`__absoluteSub`,value:function(e,t,n){if(e.length===0)return e;if(t.length===0)return e.sign===n?e:i.unaryMinus(e);for(var r,a=new i(e.length,n),o=0,s=0;s<t.length;s++)r=e.__digit(s)-t.__digit(s)-o,o=1&r>>>30,a.__setDigit(s,1073741823&r);for(;s<e.length;s++){var c=e.__digit(s)-o;o=1&c>>>30,a.__setDigit(s,1073741823&c)}return a.__trim()}},{key:`__absoluteAddOne`,value:function(e,t){var n=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null,r=e.length;n===null?n=new i(r,t):n.sign=t;for(var a,o=1,s=0;s<r;s++)a=e.__digit(s)+o,o=a>>>30,n.__setDigit(s,1073741823&a);return o!==0&&n.__setDigitGrow(r,1),n}},{key:`__absoluteSubOne`,value:function(e,t){var n=e.length;t||=n;for(var r,a=new i(t,!1),o=1,s=0;s<n;s++)r=e.__digit(s)-o,o=1&r>>>30,a.__setDigit(s,1073741823&r);if(o!==0)throw Error(`implementation bug`);for(var c=n;c<t;c++)a.__setDigit(c,0);return a}},{key:`__absoluteAnd`,value:function(e,t){var n=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null,r=e.length,a=t.length,o=a;if(r<a){o=r;var s=e,c=r;e=t,r=a,t=s,a=c}var l=o;n===null?n=new i(l,!1):l=n.length;for(var u=0;u<o;u++)n.__setDigit(u,e.__digit(u)&t.__digit(u));for(;u<l;u++)n.__setDigit(u,0);return n}},{key:`__absoluteAndNot`,value:function(e,t){var n=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null,r=e.length,a=t.length,o=a;r<a&&(o=r);var s=r;n===null?n=new i(s,!1):s=n.length;for(var c=0;c<o;c++)n.__setDigit(c,e.__digit(c)&~t.__digit(c));for(;c<r;c++)n.__setDigit(c,e.__digit(c));for(;c<s;c++)n.__setDigit(c,0);return n}},{key:`__absoluteOr`,value:function(e,t){var n=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null,r=e.length,a=t.length,o=a;if(r<a){o=r;var s=e,c=r;e=t,r=a,t=s,a=c}var l=r;n===null?n=new i(l,!1):l=n.length;for(var u=0;u<o;u++)n.__setDigit(u,e.__digit(u)|t.__digit(u));for(;u<r;u++)n.__setDigit(u,e.__digit(u));for(;u<l;u++)n.__setDigit(u,0);return n}},{key:`__absoluteXor`,value:function(e,t){var n=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null,r=e.length,a=t.length,o=a;if(r<a){o=r;var s=e,c=r;e=t,r=a,t=s,a=c}var l=r;n===null?n=new i(l,!1):l=n.length;for(var u=0;u<o;u++)n.__setDigit(u,e.__digit(u)^t.__digit(u));for(;u<r;u++)n.__setDigit(u,e.__digit(u));for(;u<l;u++)n.__setDigit(u,0);return n}},{key:`__absoluteCompare`,value:function(e,t){var n=e.length-t.length;if(n!=0)return n;for(var r=e.length-1;0<=r&&e.__digit(r)===t.__digit(r);)r--;return 0>r?0:e.__unsignedDigit(r)>t.__unsignedDigit(r)?1:-1}},{key:`__multiplyAccumulate`,value:function(e,t,n,r){if(t!==0){for(var a=32767&t,o=t>>>15,s=0,c=0,l=0;l<e.length;l++,r++){var u=n.__digit(r),d=e.__digit(l),f=32767&d,p=d>>>15,m=i.__imul(f,a),h=i.__imul(f,o),g=i.__imul(p,a),_=i.__imul(p,o);u+=c+m+s,s=u>>>30,u&=1073741823,u+=((32767&h)<<15)+((32767&g)<<15),s+=u>>>30,c=_+(h>>>15)+(g>>>15),n.__setDigit(r,1073741823&u)}for(;s!==0||c!==0;r++){var v=n.__digit(r);v+=s+c,c=0,s=v>>>30,n.__setDigit(r,1073741823&v)}}}},{key:`__internalMultiplyAdd`,value:function(e,t,n,r,a){for(var o=n,s=0,c=0;c<r;c++){var l=e.__digit(c),u=i.__imul(32767&l,t),d=i.__imul(l>>>15,t),f=u+((32767&d)<<15)+s+o;o=f>>>30,s=d>>>15,a.__setDigit(c,1073741823&f)}if(a.length>r)for(a.__setDigit(r++,o+s);r<a.length;)a.__setDigit(r++,0);else if(o+s!==0)throw Error(`implementation bug`)}},{key:`__absoluteDivSmall`,value:function(e,t){var n=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;n===null&&(n=new i(e.length,!1));for(var r=0,a=2*e.length-1;0<=a;a-=2){var o=(r<<15|e.__halfDigit(a))>>>0,s=0|o/t;r=0|o%t,o=(r<<15|e.__halfDigit(a-1))>>>0;var c=0|o/t;r=0|o%t,n.__setDigit(a>>>1,s<<15|c)}return n}},{key:`__absoluteModSmall`,value:function(e,t){for(var n,r=0,i=2*e.length-1;0<=i;i--)n=(r<<15|e.__halfDigit(i))>>>0,r=0|n%t;return r}},{key:`__absoluteDivLarge`,value:function(e,t,n,r){var a=t.__halfDigitLength(),o=t.length,s=e.__halfDigitLength()-a,c=null;n&&(c=new i(s+2>>>1,!1),c.__initializeDigits());var l=new i(a+2>>>1,!1);l.__initializeDigits();var u=i.__clz15(t.__halfDigit(a-1));0<u&&(t=i.__specialLeftShift(t,u,0));for(var d=i.__specialLeftShift(e,u,1),f=t.__halfDigit(a-1),p=0,m=s;0<=m;m--){var h=32767,g=d.__halfDigit(m+a);if(g!==f){var _=(g<<15|d.__halfDigit(m+a-1))>>>0;h=0|_/f;for(var v=0|_%f,y=t.__halfDigit(a-2),b=d.__halfDigit(m+a-2);i.__imul(h,y)>>>0>(v<<16|b)>>>0&&(h--,v+=f,!(32767<v)););}i.__internalMultiplyAdd(t,h,0,o,l);var x=d.__inplaceSub(l,m,a+1);x!==0&&(x=d.__inplaceAdd(t,m,a),d.__setHalfDigit(m+a,32767&d.__halfDigit(m+a)+x),h--),n&&(1&m?p=h<<15:c.__setDigit(m>>>1,p|h))}if(r)return d.__inplaceRightShift(u),n?{quotient:c,remainder:d}:d;if(n)return c;throw Error(`unreachable`)}},{key:`__clz15`,value:function(e){return i.__clz30(e)-15}},{key:`__specialLeftShift`,value:function(e,t,n){var r=e.length,a=new i(r+n,!1);if(t===0){for(var o=0;o<r;o++)a.__setDigit(o,e.__digit(o));return 0<n&&a.__setDigit(r,0),a}for(var s,c=0,l=0;l<r;l++)s=e.__digit(l),a.__setDigit(l,1073741823&s<<t|c),c=s>>>30-t;return 0<n&&a.__setDigit(r,c),a}},{key:`__leftShiftByAbsolute`,value:function(e,t){var n=i.__toShiftAmount(t);if(0>n)throw RangeError(`BigInt too big`);var r=0|n/30,a=n%30,o=e.length,s=a!==0&&e.__digit(o-1)>>>30-a!=0,c=o+r+ +!!s,l=new i(c,e.sign);if(a===0){for(var u=0;u<r;u++)l.__setDigit(u,0);for(;u<c;u++)l.__setDigit(u,e.__digit(u-r))}else{for(var d=0,f=0;f<r;f++)l.__setDigit(f,0);for(var p,m=0;m<o;m++)p=e.__digit(m),l.__setDigit(m+r,1073741823&p<<a|d),d=p>>>30-a;if(s)l.__setDigit(o+r,d);else if(d!==0)throw Error(`implementation bug`)}return l.__trim()}},{key:`__rightShiftByAbsolute`,value:function(e,t){var n=e.length,r=e.sign,a=i.__toShiftAmount(t);if(0>a)return i.__rightShiftByMaximum(r);var o=0|a/30,s=a%30,c=n-o;if(0>=c)return i.__rightShiftByMaximum(r);var l=!1;if(r){var u=(1<<s)-1;if((e.__digit(o)&u)!=0)l=!0;else for(var d=0;d<o;d++)if(e.__digit(d)!==0){l=!0;break}}l&&s===0&&~e.__digit(n-1)==0&&c++;var f=new i(c,r);if(s===0){f.__setDigit(c-1,0);for(var p=o;p<n;p++)f.__setDigit(p-o,e.__digit(p))}else{for(var m,h=e.__digit(o)>>>s,g=n-o-1,_=0;_<g;_++)m=e.__digit(_+o+1),f.__setDigit(_,1073741823&m<<30-s|h),h=m>>>s;f.__setDigit(g,h)}return l&&(f=i.__absoluteAddOne(f,!0,f)),f.__trim()}},{key:`__rightShiftByMaximum`,value:function(e){return e?i.__oneDigit(1,!0):i.__zero()}},{key:`__toShiftAmount`,value:function(e){if(1<e.length)return-1;var t=e.__unsignedDigit(0);return t>i.__kMaxLengthBits?-1:t}},{key:`__toPrimitive`,value:function(e){var t=1<arguments.length&&arguments[1]!==void 0?arguments[1]:`default`;if(S(e)!==`object`||e.constructor===i)return e;if(typeof Symbol<`u`&&S(Symbol.toPrimitive)===`symbol`&&e[Symbol.toPrimitive]){var n=e[Symbol.toPrimitive](t);if(S(n)!==`object`)return n;throw TypeError(`Cannot convert object to primitive value`)}var r=e.valueOf;if(r){var a=r.call(e);if(S(a)!==`object`)return a}var o=e.toString;if(o){var s=o.call(e);if(S(s)!==`object`)return s}throw TypeError(`Cannot convert object to primitive value`)}},{key:`__toNumeric`,value:function(e){return i.__isBigInt(e)?e:+e}},{key:`__isBigInt`,value:function(e){return S(e)===`object`&&e!==null&&e.constructor===i}},{key:`__truncateToNBits`,value:function(e,t){for(var n=0|(e+29)/30,r=new i(n,t.sign),a=n-1,o=0;o<a;o++)r.__setDigit(o,t.__digit(o));var s=t.__digit(a);if(e%30!=0){var c=32-e%30;s=s<<c>>>c}return r.__setDigit(a,s),r.__trim()}},{key:`__truncateAndSubFromPowerOfTwo`,value:function(e,t,n){for(var r=Math.min,a,o=0|(e+29)/30,s=new i(o,n),c=0,l=o-1,u=0,d=r(l,t.length);c<d;c++)a=0-t.__digit(c)-u,u=1&a>>>30,s.__setDigit(c,1073741823&a);for(;c<l;c++)s.__setDigit(c,0|1073741823&-u);var f,p=l<t.length?t.__digit(l):0,m=e%30;if(m===0)f=0-p-u,f&=1073741823;else{var h=32-m;p=p<<h>>>h;var g=1<<32-h;f=g-p-u,f&=g-1}return s.__setDigit(l,f),s.__trim()}},{key:`__digitPow`,value:function(e,t){for(var n=1;0<t;)1&t&&(n*=e),t>>>=1,e*=e;return n}},{key:`__detectBigEndian`,value:function(){return i.__kBitConversionDouble[0]=-0,i.__kBitConversionInts[0]!==0}},{key:`__isOneDigitInt`,value:function(e){return(1073741823&e)===e}}])}(te(Array));return C.__kMaxLength=33554432,C.__kMaxLengthBits=C.__kMaxLength<<5,C.__kMaxBitsPerChar=[0,0,32,51,64,75,83,90,96,102,107,111,115,119,122,126,128,131,134,136,139,141,143,145,147,149,151,153,154,156,158,159,160,162,163,165,166],C.__kBitsPerCharTableShift=5,C.__kBitsPerCharTableMultiplier=1<<C.__kBitsPerCharTableShift,C.__kConversionChars=`0123456789abcdefghijklmnopqrstuvwxyz`.split(``),C.__kBitConversionBuffer=new ArrayBuffer(8),C.__kBitConversionDouble=new Float64Array(C.__kBitConversionBuffer),C.__kBitConversionInts=new Int32Array(C.__kBitConversionBuffer),C.__kBitConversionIntHigh=+!C.__detectBigEndian(),C.__kBitConversionIntLow=+!!C.__detectBigEndian(),C.__clz30=t?function(e){return t(e)-2}:function(e){var t=Math.LN2,n=Math.log;return e===0?30:0|29-(0|n(e>>>0)/t)},C.__imul=e||function(e,t){return 0|e*t},C})}))(),1),l=c.default.BigInt(0),u=c.default.BigInt(1),d=c.default.BigInt(2),f=c.default.BigInt(10),p=c.default.BigInt(24),m=c.default.BigInt(60),h=c.default.BigInt(1e3),g=c.default.BigInt(1e6),_=c.default.BigInt(1e9),v=c.default.multiply(c.default.BigInt(3600),_),y=c.default.multiply(m,_),b=c.default.multiply(v,p);function x(e){return typeof e==`bigint`?c.default.BigInt(e.toString(10)):e}function S(e){return c.default.equal(c.default.remainder(e,d),l)}function ee(e){return c.default.lessThan(e,l)?c.default.unaryMinus(e):e}function te(e,t){return c.default.lessThan(e,t)?-1:+!!c.default.greaterThan(e,t)}function C(e,t){return{quotient:c.default.divide(e,t),remainder:c.default.remainder(e,t)}}var ne,re,w=`slot-epochNanoSeconds`,T=`slot-iso-date`,E=`slot-iso-date-time`,D=`slot-time`,O=`slot-calendar`,ie=`slot-date-brand`,ae=`slot-year-month-brand`,oe=`slot-month-day-brand`,k=`slot-time-zone`,se=`slot-years`,ce=`slot-months`,le=`slot-weeks`,ue=`slot-days`,de=`slot-hours`,fe=`slot-minutes`,pe=`slot-seconds`,me=`slot-milliseconds`,he=`slot-microseconds`,ge=`slot-nanoseconds`,_e=`date`,ve=`ym`,ye=`md`,be=`time`,xe=`datetime`,Se=`instant`,Ce=`original`,we=`timezone-canonical`,Te=`timezone-original`,Ee=`calendar-id`,De=`locale`,Oe=`options`,ke=new WeakMap,Ae=Symbol.for(`@@Temporal__GetSlots`);(ne=globalThis)[Ae]||(ne[Ae]=function(e){return ke.get(e)});var je=globalThis[Ae],Me=Symbol.for(`@@Temporal__CreateSlots`);(re=globalThis)[Me]||(re[Me]=function(e){ke.set(e,Object.create(null))});var Ne=globalThis[Me];function Pe(e,...t){if(!e||typeof e!=`object`)return!1;let n=je(e);return!!n&&t.every((e=>e in n))}function A(e,t){let n=je(e)?.[t];if(n===void 0)throw TypeError(`Missing internal slot ${t}`);return n}function j(e,t,n){let r=je(e);if(r===void 0)throw TypeError(`Missing slots for the given container`);if(r[t])throw TypeError(`${t} already has set`);r[t]=n}var Fe={};function Ie(e,t){Object.defineProperty(e.prototype,Symbol.toStringTag,{value:t,writable:!1,enumerable:!1,configurable:!0});let n=Object.getOwnPropertyNames(e);for(let t=0;t<n.length;t++){let r=n[t],i=Object.getOwnPropertyDescriptor(e,r);i.configurable&&i.enumerable&&(i.enumerable=!1,Object.defineProperty(e,r,i))}let r=Object.getOwnPropertyNames(e.prototype);for(let t=0;t<r.length;t++){let n=r[t],i=Object.getOwnPropertyDescriptor(e.prototype,n);i.configurable&&i.enumerable&&(i.enumerable=!1,Object.defineProperty(e.prototype,n,i))}Le(t,e),Le(`${t}.prototype`,e.prototype)}function Le(e,t){let n=`%${e}%`;if(Fe[n]!==void 0)throw Error(`intrinsic ${e} already exists`);Fe[n]=t}function M(e){return Fe[e]}function Re(e,t){let n=e;if(n===0)return{div:n,mod:n};let r=Math.sign(n);n=Math.abs(n);let i=Math.trunc(1+Math.log10(n));if(t>=i)return{div:0*r,mod:r*n};if(t===0)return{div:r*n,mod:0*r};let a=n.toPrecision(i);return{div:r*Number.parseInt(a.slice(0,i-t),10),mod:r*Number.parseInt(a.slice(i-t),10)}}function ze(e,t,n){let r=e,i=n;if(r===0)return i;let a=Math.sign(r)||Math.sign(i);r=Math.abs(r),i=Math.abs(i);let o=r.toPrecision(Math.trunc(1+Math.log10(r)));if(i===0)return a*Number.parseInt(o+`0`.repeat(t),10);let s=o+i.toPrecision(Math.trunc(1+Math.log10(i))).padStart(t,`0`);return a*Number.parseInt(s,10)}function Be(e,t){let n=t===`negative`;switch(e){case`ceil`:return n?`zero`:`infinity`;case`floor`:return n?`infinity`:`zero`;case`expand`:return`infinity`;case`trunc`:return`zero`;case`halfCeil`:return n?`half-zero`:`half-infinity`;case`halfFloor`:return n?`half-infinity`:`half-zero`;case`halfExpand`:return`half-infinity`;case`halfTrunc`:return`half-zero`;case`halfEven`:return`half-even`}}function Ve(e,t,n,r,i){return i===`zero`?e:i===`infinity`?t:n<0?e:n>0?t:i===`half-zero`?e:i===`half-infinity`?t:r?e:t}var N=class e{constructor(e){this.totalNs=x(e),this.sec=c.default.toNumber(c.default.divide(this.totalNs,_)),this.subsec=c.default.toNumber(c.default.remainder(this.totalNs,_))}static validateNew(t,n){if(c.default.greaterThan(ee(t),e.MAX))throw RangeError(`${n} of duration time units cannot exceed ${e.MAX} s`);return new e(t)}static fromEpochNsDiff(t,n){return new e(c.default.subtract(x(t),x(n)))}static fromComponents(t,n,r,i,a,o){let s=c.default.add(c.default.add(c.default.add(c.default.add(c.default.add(c.default.BigInt(o),c.default.multiply(c.default.BigInt(a),h)),c.default.multiply(c.default.BigInt(i),g)),c.default.multiply(c.default.BigInt(r),_)),c.default.multiply(c.default.BigInt(n),y)),c.default.multiply(c.default.BigInt(t),v));return e.validateNew(s,`total`)}abs(){return new e(ee(this.totalNs))}add(t){return e.validateNew(c.default.add(this.totalNs,t.totalNs),`sum`)}add24HourDays(t){return e.validateNew(c.default.add(this.totalNs,c.default.multiply(c.default.BigInt(t),b)),`sum`)}addToEpochNs(e){return c.default.add(x(e),this.totalNs)}cmp(e){return te(this.totalNs,e.totalNs)}divmod(t){let{quotient:n,remainder:r}=C(this.totalNs,c.default.BigInt(t));return{quotient:c.default.toNumber(n),remainder:new e(r)}}fdiv(e){let t=x(e),n=c.default.BigInt(t),{quotient:r,remainder:i}=C(this.totalNs,n),a=[],o,s=(c.default.lessThan(this.totalNs,l)?-1:1)*Math.sign(c.default.toNumber(t));for(;!c.default.equal(i,l)&&a.length<50;)i=c.default.multiply(i,f),{quotient:o,remainder:i}=C(i,n),a.push(Math.abs(c.default.toNumber(o)));return s*Number(ee(r).toString()+`.`+a.join(``))}isZero(){return c.default.equal(this.totalNs,l)}round(t,n){let r=x(t);if(c.default.equal(r,u))return this;let{quotient:i,remainder:a}=C(this.totalNs,r),o=c.default.lessThan(this.totalNs,l)?`negative`:`positive`,s=c.default.multiply(ee(i),r),f=c.default.add(s,r),p=te(ee(c.default.multiply(a,d)),r),m=Be(n,o),h=c.default.equal(ee(this.totalNs),s)?s:Ve(s,f,p,S(i),m),g=o===`positive`?h:c.default.unaryMinus(h);return e.validateNew(g,`rounding`)}sign(){return this.cmp(new e(l))}subtract(t){return e.validateNew(c.default.subtract(this.totalNs,t.totalNs),`difference`)}};N.MAX=c.default.BigInt(`9007199254740991999999999`),N.ZERO=new N(l);var He=/[A-Za-z._][A-Za-z._0-9+-]*/,Ue=RegExp(`(?:(?:[+-](?:[01][0-9]|2[0-3])(?::?[0-5][0-9])?)|(?:${He.source})(?:\\/(?:${He.source}))*)`),We=/(?:[+-]\d{6}|\d{4})/,Ge=/(?:0[1-9]|1[0-2])/,Ke=/(?:0[1-9]|[12]\d|3[01])/,qe=RegExp(`(${We.source})(?:-(${Ge.source})-(${Ke.source})|(${Ge.source})(${Ke.source}))`),Je=/(\d{2})(?::(\d{2})(?::(\d{2})(?:[.,](\d{1,9}))?)?|(\d{2})(?:(\d{2})(?:[.,](\d{1,9}))?)?)?/,Ye=/((?:[+-])(?:[01][0-9]|2[0-3])(?::?(?:[0-5][0-9])(?::?(?:[0-5][0-9])(?:[.,](?:\d{1,9}))?)?)?)/,Xe=RegExp(`([zZ])|${Ye.source}?`),Ze=/\[(!)?([a-z_][a-z0-9_-]*)=([A-Za-z0-9]+(?:-[A-Za-z0-9]+)*)\]/g,Qe=new RegExp([`^${qe.source}`,`(?:(?:[tT]|\\s+)${Je.source}(?:${Xe.source})?)?`,`(?:\\[!?(${Ue.source})\\])?`,`((?:${Ze.source})*)$`].join(``)),$e=new RegExp([`^[tT]?${Je.source}`,`(?:${Xe.source})?`,`(?:\\[!?${Ue.source}\\])?`,`((?:${Ze.source})*)$`].join(``)),et=RegExp(`^(${We.source})-?(${Ge.source})(?:\\[!?${Ue.source}\\])?((?:${Ze.source})*)$`),tt=RegExp(`^(?:--)?(${Ge.source})-?(${Ke.source})(?:\\[!?${Ue.source}\\])?((?:${Ze.source})*)$`),nt=/(\d+)(?:[.,](\d{1,9}))?/,rt=RegExp(`(?:${nt.source}H)?(?:${nt.source}M)?(?:${nt.source}S)?`),it=RegExp(`^([+-])?P(?:(\\d+)Y)?(?:(\\d+)M)?(?:(\\d+)W)?(?:(\\d+)D)?(?:T(?!$)${rt.source})?$`,`i`),at=864e5,ot=1e6*at,st=6e10,ct=1e8*at,lt=Gi(ct),ut=c.default.unaryMinus(lt),dt=c.default.add(c.default.subtract(ut,b),u),ft=c.default.subtract(c.default.add(lt,b),u),pt=146097*at,mt=-271821,ht=275760,gt=Date.UTC(1847,0,1),_t=[`iso8601`,`hebrew`,`islamic`,`islamic-umalqura`,`islamic-tbla`,`islamic-civil`,`islamic-rgsa`,`islamicc`,`persian`,`ethiopic`,`ethioaa`,`ethiopic-amete-alem`,`coptic`,`chinese`,`dangi`,`roc`,`indian`,`buddhist`,`japanese`,`gregory`],vt=new Set([`ACT`,`AET`,`AGT`,`ART`,`AST`,`BET`,`BST`,`CAT`,`CNT`,`CST`,`CTT`,`EAT`,`ECT`,`IET`,`IST`,`JST`,`MIT`,`NET`,`NST`,`PLT`,`PNT`,`PRT`,`PST`,`SST`,`VST`]);function P(e){return typeof e==`object`&&!!e||typeof e==`function`}function yt(e){if(typeof e==`bigint`)throw TypeError(`Cannot convert BigInt to number`);return Number(e)}function bt(e){if(typeof e==`symbol`)throw TypeError(`Cannot convert a Symbol value to a String`);return String(e)}function F(e){let t=yt(e);if(t===0)return 0;if(Number.isNaN(t)||t===1/0||t===-1/0)throw RangeError(`invalid number value`);let n=Math.trunc(t);return n===0?0:n}function xt(e,t){let n=F(e);if(n<=0)throw RangeError(t===void 0?`Cannot convert a number less than one to a positive integer`:`property '${t}' cannot be a a number less than one`);return n}function St(e){let t=yt(e);if(Number.isNaN(t))throw RangeError(`not a number`);if(t===1/0||t===-1/0)throw RangeError(`infinity is out of range`);if(!function(e){if(typeof e!=`number`||Number.isNaN(e)||e===1/0||e===-1/0)return!1;let t=Math.abs(e);return Math.floor(t)===t}(t))throw RangeError(`unsupported fractional value ${e}`);return t===0?0:t}function Ct(e,t){return String(e).padStart(t,`0`)}function I(e){if(typeof e!=`string`)throw TypeError(`expected a string, not ${String(e)}`);return e}function wt(e,t){if(P(e)){let t=e?.toString();if(typeof t==`string`||typeof t==`number`)return t;throw TypeError(`Cannot convert object to primitive value`)}return e}var Tt=[`era`,`eraYear`,`year`,`month`,`monthCode`,`day`,`hour`,`minute`,`second`,`millisecond`,`microsecond`,`nanosecond`,`offset`,`timeZone`],Et={era:bt,eraYear:F,year:F,month:xt,monthCode:function(e){let t=I(wt(e));if(t.length<3||t.length>4||t[0]!==`M`||`0123456789`.indexOf(t[1])===-1||`0123456789`.indexOf(t[2])===-1||t[1]+t[2]===`00`&&t[3]!==`L`||t[3]!==`L`&&t[3]!==void 0)throw RangeError(`bad month code ${t}; must match M01-M99 or M00L-M99L`);return t},day:xt,hour:F,minute:F,second:F,millisecond:F,microsecond:F,nanosecond:F,offset:function(e){let t=I(wt(e));return br(t),t},timeZone:$n},Dt={hour:0,minute:0,second:0,millisecond:0,microsecond:0,nanosecond:0},Ot=[[`years`,`year`,`date`],[`months`,`month`,`date`],[`weeks`,`week`,`date`],[`days`,`day`,`date`],[`hours`,`hour`,`time`],[`minutes`,`minute`,`time`],[`seconds`,`second`,`time`],[`milliseconds`,`millisecond`,`time`],[`microseconds`,`microsecond`,`time`],[`nanoseconds`,`nanosecond`,`time`]],kt=Object.fromEntries(Ot.map((e=>[e[0],e[1]]))),At=Object.fromEntries(Ot.map((([e,t])=>[t,e]))),jt=Ot.map((([,e])=>e)),Mt={day:ot,hour:36e11,minute:6e10,second:1e9,millisecond:1e6,microsecond:1e3,nanosecond:1},Nt=[`days`,`hours`,`microseconds`,`milliseconds`,`minutes`,`months`,`nanoseconds`,`seconds`,`weeks`,`years`],Pt=Intl.DateTimeFormat,Ft=new Map;function It(e){let t=$i(e),n=Ft.get(t);return n===void 0&&(n=new Pt(`en-us`,{timeZone:t,hour12:!1,era:`short`,year:`numeric`,month:`numeric`,day:`numeric`,hour:`numeric`,minute:`numeric`,second:`numeric`}),Ft.set(t,n)),n}function L(e){return Pe(e,w)&&!Pe(e,k,O)}function R(e){return Pe(e,se,ce,ue,de,fe,pe,me,he,ge)}function z(e){return Pe(e,ie)}function B(e){return Pe(e,D)}function V(e){return Pe(e,E)}function H(e){return Pe(e,ae)}function Lt(e){return Pe(e,oe)}function U(e){return Pe(e,w,k,O)}function W(e,t){if(!t(e))throw TypeError(`invalid receiver: method called with the wrong type of this-object`)}function Rt(e){if(Pe(e,O)||Pe(e,k))throw TypeError(`with() does not support a calendar or timeZone property`);if(B(e))throw TypeError(`with() does not accept Temporal.PlainTime, use withPlainTime() instead`);if(e.calendar!==void 0)throw TypeError(`with() does not support a calendar property`);if(e.timeZone!==void 0)throw TypeError(`with() does not support a timeZone property`)}function zt(e,t){return t===`never`||t===`auto`&&e===`iso8601`?``:`[${t===`critical`?`!`:``}u-ca=${e}]`}function Bt(e){let t,n,r=!1;for(Ze.lastIndex=0;n=Ze.exec(e);){let{1:i,2:a,3:o}=n;if(a===`u-ca`){if(t===void 0)t=o,r=i===`!`;else if(i===`!`||r)throw RangeError(`Invalid annotations in ${e}: more than one u-ca present with critical flag`)}else if(i===`!`)throw RangeError(`Unrecognized annotation: !${a}=${o}`)}return t}function Vt(e){let t=Qe.exec(e);if(!t)throw RangeError(`invalid RFC 9557 string: ${e}`);let n=Bt(t[16]),r=t[1];if(r===`-000000`)throw RangeError(`invalid RFC 9557 string: ${e}`);let i=+r,a=+(t[2]??t[4]??1),o=+(t[3]??t[5]??1),s=t[6]!==void 0,c=+(t[6]??0),l=+(t[7]??t[10]??0),u=+(t[8]??t[11]??0);u===60&&(u=59);let d=(t[9]??t[12]??``)+`000000000`,f=+d.slice(0,3),p=+d.slice(3,6),m=+d.slice(6,9),h,g=!1;t[13]?(h=void 0,g=!0):t[14]&&(h=t[14]);let _=t[15];return Yr(i,a,o,c,l,u,f,p,m),{year:i,month:a,day:o,time:s?{hour:c,minute:l,second:u,millisecond:f,microsecond:p,nanosecond:m}:`start-of-day`,tzAnnotation:_,offset:h,z:g,calendar:n}}function Ht(e){let t=$e.exec(e),n,r,i,a,o,s,c;if(t){c=Bt(t[10]),n=+(t[1]??0),r=+(t[2]??t[5]??0),i=+(t[3]??t[6]??0),i===60&&(i=59);let e=(t[4]??t[7]??``)+`000000000`;if(a=+e.slice(0,3),o=+e.slice(3,6),s=+e.slice(6,9),t[8])throw RangeError(`Z designator not supported for PlainTime`)}else{let t,l;if({time:t,z:l,calendar:c}=Vt(e),t===`start-of-day`)throw RangeError(`time is missing in string: ${e}`);if(l)throw RangeError(`Z designator not supported for PlainTime`);({hour:n,minute:r,second:i,millisecond:a,microsecond:o,nanosecond:s}=t)}if(Jr(n,r,i,a,o,s),/[tT ][0-9][0-9]/.test(e))return{hour:n,minute:r,second:i,millisecond:a,microsecond:o,nanosecond:s,calendar:c};try{let{month:t,day:n}=Wt(e);Kr(1972,t,n)}catch{try{let{year:t,month:n}=Ut(e);Kr(t,n,1)}catch{return{hour:n,minute:r,second:i,millisecond:a,microsecond:o,nanosecond:s,calendar:c}}}throw RangeError(`invalid RFC 9557 time-only string ${e}; may need a T prefix`)}function Ut(e){let t=et.exec(e),n,r,i,a;if(t){i=Bt(t[3]);let o=t[1];if(o===`-000000`)throw RangeError(`invalid RFC 9557 string: ${e}`);if(n=+o,r=+t[2],a=1,i!==void 0&&i!==`iso8601`)throw RangeError(`YYYY-MM format is only valid with iso8601 calendar`)}else{let t;if({year:n,month:r,calendar:i,day:a,z:t}=Vt(e),t)throw RangeError(`Z designator not supported for PlainYearMonth`)}return{year:n,month:r,calendar:i,referenceISODay:a}}function Wt(e){let t=tt.exec(e),n,r,i,a;if(t){if(i=Bt(t[3]),n=+t[1],r=+t[2],i!==void 0&&i!==`iso8601`)throw RangeError(`MM-DD format is only valid with iso8601 calendar`)}else{let t;if({month:n,day:r,calendar:i,year:a,z:t}=Vt(e),t)throw RangeError(`Z designator not supported for PlainMonthDay`)}return{month:n,day:r,calendar:i,referenceISOYear:a}}var Gt=RegExp(`^${Ue.source}$`,`i`),Kt=RegExp(`^([+-])([01][0-9]|2[0-3])(?::?([0-5][0-9])?)?$`);function qt(e){let t=ta.test(e)?`Seconds not allowed in offset time zone`:`Invalid time zone`;throw RangeError(`${t}: ${e}`)}function Jt(e){return Gt.test(e)||qt(e),Kt.test(e)?{offsetMinutes:br(e)/6e10}:{tzName:e}}function Yt(e,t,n,r){let i=e,a=t,o=n;switch(r){case`reject`:Kr(i,a,o);break;case`constrain`:({year:i,month:a,day:o}=Gr(i,a,o))}return{year:i,month:a,day:o}}function Xt(e,t,n,r,i,a,o){let s=e,c=t,l=n,u=r,d=i,f=a;switch(o){case`reject`:Jr(s,c,l,u,d,f);break;case`constrain`:s=Wr(s,0,23),c=Wr(c,0,59),l=Wr(l,0,59),u=Wr(u,0,999),d=Wr(d,0,999),f=Wr(f,0,999)}return{hour:s,minute:c,second:l,millisecond:u,microsecond:d,nanosecond:f}}function Zt(e){if(!P(e))throw TypeError(`invalid duration-like`);let t={years:void 0,months:void 0,weeks:void 0,days:void 0,hours:void 0,minutes:void 0,seconds:void 0,milliseconds:void 0,microseconds:void 0,nanoseconds:void 0},n=!1;for(let r=0;r<Nt.length;r++){let i=Nt[r],a=e[i];a!==void 0&&(n=!0,t[i]=St(a))}if(!n)throw TypeError(`invalid duration-like`);return t}function G({years:e,months:t,weeks:n,days:r},i,a,o){return{years:e,months:o??t,weeks:a??n,days:i??r}}function K(e,t){return{isoDate:e,time:t}}function q(e){return Zi(e,`overflow`,[`constrain`,`reject`],`constrain`)}function Qt(e){return Zi(e,`disambiguation`,[`compatible`,`earlier`,`later`,`reject`],`compatible`)}function $t(e,t){return Zi(e,`roundingMode`,[`ceil`,`floor`,`expand`,`trunc`,`halfCeil`,`halfFloor`,`halfExpand`,`halfTrunc`,`halfEven`],t)}function en(e,t){return Zi(e,`offset`,[`prefer`,`use`,`ignore`,`reject`],t)}function tn(e){return Zi(e,`calendarName`,[`auto`,`always`,`never`,`critical`],`auto`)}function nn(e){let t=e.roundingIncrement;if(t===void 0)return 1;let n=F(t);if(n<1||n>1e9)throw RangeError(`roundingIncrement must be at least 1 and at most 1e9, not ${t}`);return n}function rn(e,t,n){let r=n?t:t-1;if(e>r)throw RangeError(`roundingIncrement must be at least 1 and less than ${r}, not ${e}`);if(t%e!=0)throw RangeError(`Rounding increment must divide evenly into ${t}`)}function an(e){let t=e.fractionalSecondDigits;if(t===void 0)return`auto`;if(typeof t!=`number`){if(bt(t)!==`auto`)throw RangeError(`fractionalSecondDigits must be 'auto' or 0 through 9, not ${t}`);return`auto`}let n=Math.floor(t);if(!Number.isFinite(n)||n<0||n>9)throw RangeError(`fractionalSecondDigits must be 'auto' or 0 through 9, not ${t}`);return n}function on(e,t){switch(e){case`minute`:return{precision:`minute`,unit:`minute`,increment:1};case`second`:return{precision:0,unit:`second`,increment:1};case`millisecond`:return{precision:3,unit:`millisecond`,increment:1};case`microsecond`:return{precision:6,unit:`microsecond`,increment:1};case`nanosecond`:return{precision:9,unit:`nanosecond`,increment:1}}switch(t){case`auto`:return{precision:t,unit:`nanosecond`,increment:1};case 0:return{precision:t,unit:`second`,increment:1};case 1:case 2:case 3:return{precision:t,unit:`millisecond`,increment:10**(3-t)};case 4:case 5:case 6:return{precision:t,unit:`microsecond`,increment:10**(6-t)};case 7:case 8:case 9:return{precision:t,unit:`nanosecond`,increment:10**(9-t)};default:throw RangeError(`fractionalSecondDigits must be 'auto' or 0 through 9, not ${t}`)}}var sn=Symbol(`~required~`);function cn(e,t,n,r,i=[]){let a=[];for(let e=0;e<Ot.length;e++){let t=Ot[e],r=t[1],i=t[2];n!==`datetime`&&n!==i||a.push(r)}a=a.concat(i);let o=r;o===sn?o=void 0:o!==void 0&&a.push(o);let s=[];s=s.concat(a);for(let e=0;e<a.length;e++){let t=At[a[e]];t!==void 0&&s.push(t)}let c=Zi(e,t,s,o);if(c===void 0&&r===sn)throw RangeError(`${t} is required`);return c&&c in kt?kt[c]:c}function ln(e){let t=e.relativeTo;if(t===void 0)return{};let n,r,i,a,o,s=`option`,c=!1;if(P(t)){if(U(t))return{zonedRelativeTo:t};if(z(t))return{plainRelativeTo:t};if(V(t))return{plainRelativeTo:jn(A(t,E).isoDate,A(t,O))};i=Jn(t);let e=_n(i,t,[`year`,`month`,`monthCode`,`day`],[`hour`,`minute`,`second`,`millisecond`,`microsecond`,`nanosecond`,`offset`,`timeZone`],[]);({isoDate:n,time:r}=bn(i,e,`constrain`)),{offset:o,timeZone:a}=e,o===void 0&&(s=`wall`)}else{let e,l,u,d,f;if({year:u,month:d,day:f,time:r,calendar:i,tzAnnotation:e,offset:o,z:l}=Vt(I(t)),e)a=$n(e),l?s=`exact`:o||(s=`wall`),c=!0;else if(l)throw RangeError(`Z designator not supported for PlainDate relativeTo; either remove the Z or add a bracketed time zone`);i||=`iso8601`,i=Qi(i),n={year:u,month:d,day:f}}return a===void 0?{plainRelativeTo:jn(n,i)}:{zonedRelativeTo:J(On(n,r,s,s===`option`?br(o):0,a,`compatible`,`reject`,c),a,i)}}function un(e){return A(e,se)===0?A(e,ce)===0?A(e,le)===0?A(e,ue)===0?A(e,de)===0?A(e,fe)===0?A(e,pe)===0?A(e,me)===0?A(e,he)===0?`nanosecond`:`microsecond`:`millisecond`:`second`:`minute`:`hour`:`day`:`week`:`month`:`year`}function dn(e,t){return jt.indexOf(e)>jt.indexOf(t)?t:e}function fn(e){return e===`year`||e===`month`||e===`week`}function pn(e){return fn(e)||e===`day`?`date`:`time`}function mn(e){return M(`%calendarImpl%`)(e)}function hn(e){return M(`%calendarImpl%`)(A(e,O))}function gn(e,t,n=`date`){let r=Object.create(null),i=mn(e).isoToDate(t,{year:!0,monthCode:!0,day:!0});return r.monthCode=i.monthCode,n!==`month-day`&&n!==`date`||(r.day=i.day),n!==`year-month`&&n!==`date`||(r.year=i.year),r}function _n(e,t,n,r,i){let a=mn(e).extraFields(n),o=n.concat(r,a),s=Object.create(null),c=!1;o.sort();for(let e=0;e<o.length;e++){let n=o[e],r=t[n];if(r!==void 0)c=!0,s[n]=(0,Et[n])(r);else if(i!==`partial`){if(i.includes(n))throw TypeError(`required property '${n}' missing or undefined`);s[n]=Dt[n]}}if(i===`partial`&&!c)throw TypeError(`no supported properties found`);return s}function vn(e,t=`complete`){let n=[`hour`,`microsecond`,`millisecond`,`minute`,`nanosecond`,`second`],r=!1,i=Object.create(null);for(let a=0;a<n.length;a++){let o=n[a],s=e[o];s===void 0?t===`complete`&&(i[o]=0):(i[o]=F(s),r=!0)}if(!r)throw TypeError(`invalid time-like`);return i}function yn(e,t){if(P(e)){if(z(e))return q(Q(t)),jn(A(e,T),A(e,O));if(U(e)){let n=rr(A(e,k),A(e,w));return q(Q(t)),jn(n.isoDate,A(e,O))}if(V(e))return q(Q(t)),jn(A(e,E).isoDate,A(e,O));let n=Jn(e);return jn(Xn(n,_n(n,e,[`year`,`month`,`monthCode`,`day`],[],[]),q(Q(t))),n)}let{year:n,month:r,day:i,calendar:a,z:o}=Vt(I(e));if(o)throw RangeError(`Z designator not supported for PlainDate`);return a||=`iso8601`,a=Qi(a),q(Q(t)),jn({year:n,month:r,day:i},a)}function bn(e,t,n){return K(Xn(e,t,n),Xt(t.hour,t.minute,t.second,t.millisecond,t.microsecond,t.nanosecond,n))}function xn(e,t){let n,r,i;if(P(e)){if(V(e))return q(Q(t)),Nn(A(e,E),A(e,O));if(U(e)){let n=rr(A(e,k),A(e,w));return q(Q(t)),Nn(n,A(e,O))}if(z(e))return q(Q(t)),Nn(K(A(e,T),{deltaDays:0,hour:0,minute:0,second:0,millisecond:0,microsecond:0,nanosecond:0}),A(e,O));i=Jn(e);let a=_n(i,e,[`year`,`month`,`monthCode`,`day`],[`hour`,`minute`,`second`,`millisecond`,`microsecond`,`nanosecond`],[]),o=q(Q(t));({isoDate:n,time:r}=bn(i,a,o))}else{let a,o,s,c;if({year:o,month:s,day:c,time:r,calendar:i,z:a}=Vt(I(e)),a)throw RangeError(`Z designator not supported for PlainDateTime`);r===`start-of-day`&&(r={deltaDays:0,hour:0,minute:0,second:0,millisecond:0,microsecond:0,nanosecond:0}),Yr(o,s,c,r.hour,r.minute,r.second,r.millisecond,r.microsecond,r.nanosecond),i||=`iso8601`,i=Qi(i),q(Q(t)),n={year:o,month:s,day:c}}return Nn(K(n,r),i)}function Sn(e){let t=M(`%Temporal.Duration%`);if(R(e))return new t(A(e,se),A(e,ce),A(e,le),A(e,ue),A(e,de),A(e,fe),A(e,pe),A(e,me),A(e,he),A(e,ge));if(!P(e))return function(e){let{years:t,months:n,weeks:r,days:i,hours:a,minutes:o,seconds:s,milliseconds:c,microseconds:l,nanoseconds:u}=function(e){let t=it.exec(e);if(!t||t.every(((e,t)=>t<2||e===void 0)))throw RangeError(`invalid duration: ${e}`);let n=t[1]===`-`?-1:1,r=t[2]===void 0?0:F(t[2])*n,i=t[3]===void 0?0:F(t[3])*n,a=t[4]===void 0?0:F(t[4])*n,o=t[5]===void 0?0:F(t[5])*n,s=t[6]===void 0?0:F(t[6])*n,c=t[7],l=t[8],u=t[9],d=t[10],f=t[11],p=0,m=0,h=0;if(c!==void 0){if(l??u??d??f)throw RangeError(`only the smallest unit can be fractional`);h=3600*F((c+`000000000`).slice(0,9))*n}else if(p=l===void 0?0:F(l)*n,u!==void 0){if(d??f)throw RangeError(`only the smallest unit can be fractional`);h=60*F((u+`000000000`).slice(0,9))*n}else m=d===void 0?0:F(d)*n,f!==void 0&&(h=F((f+`000000000`).slice(0,9))*n);let g=h%1e3,_=Math.trunc(h/1e3)%1e3,v=Math.trunc(h/1e6)%1e3;return m+=Math.trunc(h/1e9)%60,p+=Math.trunc(h/6e10),ei(r,i,a,o,s,p,m,v,_,g),{years:r,months:i,weeks:a,days:o,hours:s,minutes:p,seconds:m,milliseconds:v,microseconds:_,nanoseconds:g}}(e);return new(M(`%Temporal.Duration%`))(t,n,r,i,a,o,s,c,l,u)}(I(e));let n={years:0,months:0,weeks:0,days:0,hours:0,minutes:0,seconds:0,milliseconds:0,microseconds:0,nanoseconds:0},r=Zt(e);for(let e=0;e<Nt.length;e++){let t=Nt[e],i=r[t];i!==void 0&&(n[t]=i)}return new t(n.years,n.months,n.weeks,n.days,n.hours,n.minutes,n.seconds,n.milliseconds,n.microseconds,n.nanoseconds)}function Cn(e){let t;if(P(e)){if(L(e)||U(e))return Vn(A(e,w));t=wt(e)}else t=e;let{year:n,month:r,day:i,time:a,offset:o,z:s}=function(e){let t=Vt(e);if(!t.z&&!t.offset)throw RangeError(`Temporal.Instant requires a time zone offset`);return t}(I(t)),{hour:c=0,minute:l=0,second:u=0,millisecond:d=0,microsecond:f=0,nanosecond:p=0}=a===`start-of-day`?{}:a,m=Br(n,r,i,c,l,u,d,f,p-(s?0:br(o)));return si(m.isoDate),Vn(X(m))}function wn(e,t){if(P(e)){if(Lt(e))return q(Q(t)),Fn(A(e,T),A(e,O));let n;return Pe(e,O)?n=A(e,O):(n=e.calendar,n===void 0&&(n=`iso8601`),n=qn(n)),Fn(Qn(n,_n(n,e,[`year`,`month`,`monthCode`,`day`],[],[]),q(Q(t))),n)}let{month:n,day:r,referenceISOYear:i,calendar:a}=Wt(I(e));if(a===void 0&&(a=`iso8601`),a=Qi(a),q(Q(t)),a===`iso8601`)return Fn({year:1972,month:n,day:r},a);let o={year:i,month:n,day:r};return qr(o),o=Qn(a,gn(a,o,`month-day`),`constrain`),Fn(o,a)}function Tn(e,t){let n;if(P(e)){if(B(e))return q(Q(t)),Ln(A(e,D));if(V(e))return q(Q(t)),Ln(A(e,E).time);if(U(e)){let n=rr(A(e,k),A(e,w));return q(Q(t)),Ln(n.time)}let{hour:r,minute:i,second:a,millisecond:o,microsecond:s,nanosecond:c}=vn(e);n=Xt(r,i,a,o,s,c,q(Q(t)))}else n=Ht(I(e)),q(Q(t));return Ln(n)}function En(e){return e===void 0?{deltaDays:0,hour:0,minute:0,second:0,millisecond:0,microsecond:0,nanosecond:0}:A(Tn(e),D)}function Dn(e,t){if(P(e)){if(H(e))return q(Q(t)),zn(A(e,T),A(e,O));let n=Jn(e);return zn(Zn(n,_n(n,e,[`year`,`month`,`monthCode`],[],[]),q(Q(t))),n)}let{year:n,month:r,referenceISODay:i,calendar:a}=Ut(I(e));a===void 0&&(a=`iso8601`),a=Qi(a),q(Q(t));let o={year:n,month:r,day:i};return $r(o),o=Zn(a,gn(a,o,`year-month`),`constrain`),zn(o,a)}function On(e,t,n,r,i,a,o,s){if(t===`start-of-day`)return or(i,e);let l=K(e,t);if(n===`wall`||o===`ignore`)return Y(i,l,a);if(n===`exact`||o===`use`){let n=Br(e.year,e.month,e.day,t.hour,t.minute,t.second,t.millisecond,t.microsecond,t.nanosecond-r);si(n.isoDate);let i=X(n);return Qr(i),i}si(e);let u=X(l),d=ar(i,l);for(let e=0;e<d.length;e++){let t=d[e],n=c.default.toNumber(c.default.subtract(u,t)),i=Pi(n,6e10,`halfExpand`);if(n===r||s&&i===r)return t}if(o===`reject`){let e=nr(r),t=hr(l,`iso8601`,`auto`);throw RangeError(`Offset ${e} is invalid for ${t} in ${i}`)}return ir(d,i,l,a)}function kn(e,t){let n,r,i,a,o,s,c,l=!1,u=`option`;if(P(e)){if(U(e)){let n=Q(t);return Qt(n),en(n,`reject`),q(n),J(A(e,w),A(e,k),A(e,O))}o=Jn(e);let l=_n(o,e,[`year`,`month`,`monthCode`,`day`],[`hour`,`minute`,`second`,`millisecond`,`microsecond`,`nanosecond`,`offset`,`timeZone`],[`timeZone`]);({offset:a,timeZone:i}=l),a===void 0&&(u=`wall`);let d=Q(t);s=Qt(d),c=en(d,`reject`);let f=q(d);({isoDate:n,time:r}=bn(o,l,f))}else{let d,f,p,m,h;({year:p,month:m,day:h,time:r,tzAnnotation:d,offset:a,z:f,calendar:o}=function(e){let t=Vt(e);if(!t.tzAnnotation)throw RangeError(`Temporal.ZonedDateTime requires a time zone ID in brackets`);return t}(I(e))),i=$n(d),f?u=`exact`:a||(u=`wall`),o||=`iso8601`,o=Qi(o),l=!0;let g=Q(t);s=Qt(g),c=en(g,`reject`),q(g),n={year:p,month:m,day:h}}let d=0;return u===`option`&&(d=br(a)),J(On(n,r,u,d,i,s,c,l),i,o)}function An(e,t,n){qr(t),Ne(e),j(e,T,t),j(e,O,n),j(e,ie,!0)}function jn(e,t){let n=M(`%Temporal.PlainDate%`),r=Object.create(n.prototype);return An(r,e,t),r}function Mn(e,t,n){Xr(t),Ne(e),j(e,E,t),j(e,O,n)}function Nn(e,t){let n=M(`%Temporal.PlainDateTime%`),r=Object.create(n.prototype);return Mn(r,e,t),r}function Pn(e,t,n){qr(t),Ne(e),j(e,T,t),j(e,O,n),j(e,oe,!0)}function Fn(e,t){let n=M(`%Temporal.PlainMonthDay%`),r=Object.create(n.prototype);return Pn(r,e,t),r}function In(e,t){Ne(e),j(e,D,t)}function Ln(e){let t=M(`%Temporal.PlainTime%`),n=Object.create(t.prototype);return In(n,e),n}function Rn(e,t,n){$r(t),Ne(e),j(e,T,t),j(e,O,n),j(e,ae,!0)}function zn(e,t){let n=M(`%Temporal.PlainYearMonth%`),r=Object.create(n.prototype);return Rn(r,e,t),r}function Bn(e,t){Qr(t),Ne(e),j(e,w,t)}function Vn(e){let t=M(`%Temporal.Instant%`),n=Object.create(t.prototype);return Bn(n,e),n}function Hn(e,t,n,r){Qr(t),Ne(e),j(e,w,t),j(e,k,n),j(e,O,r)}function J(e,t,n=`iso8601`){let r=M(`%Temporal.ZonedDateTime%`),i=Object.create(r.prototype);return Hn(i,e,t,n),i}function Un(e){return Tt.filter((t=>e[t]!==void 0))}function Wn(e,t,n){let r=Un(n),i=mn(e).fieldKeysToIgnore(r),a=Object.create(null),o=Un(t);for(let e=0;e<Tt.length;e++){let s,c=Tt[e];o.includes(c)&&!i.includes(c)&&(s=t[c]),r.includes(c)&&(s=n[c]),s!==void 0&&(a[c]=s)}return a}function Gn(e,t,n,r){let i=mn(e).dateAdd(t,n,r);return qr(i),i}function Kn(e,t,n,r){return mn(e).dateUntil(t,n,r)}function qn(e){if(P(e)&&Pe(e,O))return A(e,O);let t=I(e);try{return Qi(t)}catch{}let n;try{({calendar:n}=Vt(t))}catch{try{({calendar:n}=Ht(t))}catch{try{({calendar:n}=Ut(t))}catch{({calendar:n}=Wt(t))}}}return n||=`iso8601`,Qi(n)}function Jn(e){if(Pe(e,O))return A(e,O);let{calendar:t}=e;return t===void 0?`iso8601`:qn(t)}function Yn(e,t){return Qi(e)===Qi(t)}function Xn(e,t,n){let r=mn(e);r.resolveFields(t,`date`);let i=r.dateToISO(t,n);return qr(i),i}function Zn(e,t,n){let r=mn(e);r.resolveFields(t,`year-month`),t.day=1;let i=r.dateToISO(t,n);return $r(i),i}function Qn(e,t,n){let r=mn(e);r.resolveFields(t,`month-day`);let i=r.monthDayToISOReferenceDate(t,n);return qr(i),i}function $n(e){if(P(e)&&U(e))return A(e,k);let t=I(e);if(t===`UTC`)return`UTC`;let{tzName:n,offsetMinutes:r}=function(e){let{tzAnnotation:t,offset:n,z:r}=function(e){if(Gt.test(e))return{tzAnnotation:e,offset:void 0,z:!1};try{let{tzAnnotation:t,offset:n,z:r}=Vt(e);if(r||t||n)return{tzAnnotation:t,offset:n,z:r}}catch{}qt(e)}(e);return t?Jt(t):r?Jt(`UTC`):n?Jt(n):void 0}(t);if(r!==void 0)return Er(r);let i=Cr(n);if(!i)throw RangeError(`Unrecognized time zone ${n}`);return i.identifier}function er(e,t){if(e===t)return!0;let n=Jt(e).offsetMinutes,r=Jt(t).offsetMinutes;if(n===void 0&&r===void 0){let n=Cr(t);if(!n)return!1;let r=Cr(e);return!!r&&r.primaryIdentifier===n.primaryIdentifier}return n===r}function tr(e,t){let n=Jt(e).offsetMinutes;return n===void 0?Tr(e,t):6e10*n}function nr(e){let t=e<0?`-`:`+`,n=Math.abs(e),r=Math.floor(n/36e11),i=Math.floor(n/6e10)%60,a=Math.floor(n/1e9)%60,o=n%1e9;return`${t}${ur(r,i,a,o,a===0&&o===0?`minute`:`auto`)}`}function rr(e,t){let n=tr(e,t),{isoDate:{year:r,month:i,day:a},time:{hour:o,minute:s,second:c,millisecond:l,microsecond:u,nanosecond:d}}=kr(t);return Br(r,i,a,o,s,c,l,u,d+n)}function Y(e,t,n){return ir(ar(e,t),e,t,n)}function ir(e,t,n,r){let i=e.length;if(i===1)return e[0];if(i)switch(r){case`compatible`:case`earlier`:return e[0];case`later`:return e[i-1];case`reject`:throw RangeError(`multiple instants found`)}if(r===`reject`)throw RangeError(`multiple instants found`);let a=X(n),o=c.default.subtract(a,b);Qr(o);let s=tr(t,o),l=c.default.add(a,b);Qr(l);let u=tr(t,l)-s;switch(r){case`earlier`:{let e=N.fromComponents(0,0,0,0,0,-u),r=wi(n.time,e);return ar(t,K(zr(n.isoDate.year,n.isoDate.month,n.isoDate.day+r.deltaDays),r))[0]}case`compatible`:case`later`:{let e=N.fromComponents(0,0,0,0,0,u),r=wi(n.time,e),i=ar(t,K(zr(n.isoDate.year,n.isoDate.month,n.isoDate.day+r.deltaDays),r));return i[i.length-1]}}}function ar(e,t){if(e===`UTC`)return si(t.isoDate),[X(t)];let n=Jt(e).offsetMinutes;if(n!==void 0){let e=Br(t.isoDate.year,t.isoDate.month,t.isoDate.day,t.time.hour,t.time.minute-n,t.time.second,t.time.millisecond,t.time.microsecond,t.time.nanosecond);si(e.isoDate);let r=X(e);return Qr(r),[r]}return si(t.isoDate),function(e,t){let n=X(t),r=c.default.subtract(n,b);c.default.lessThan(r,ut)&&(r=n);let i=c.default.add(n,b);c.default.greaterThan(i,lt)&&(i=n);let a=Tr(e,r),o=Tr(e,i);return(a===o?[a]:[a,o]).map((r=>{let i=c.default.subtract(n,c.default.BigInt(r));if(Hi(t,function(e,t){let{epochMilliseconds:n,time:{millisecond:r,microsecond:i,nanosecond:a}}=kr(t),{year:o,month:s,day:c,hour:l,minute:u,second:d}=Mr(e,n);return Br(o,s,c,l,u,d,r,i,a)}(e,i))===0)return Qr(i),i})).filter((e=>e!==void 0))}(e,t)}function or(e,t){let n=K(t,{deltaDays:0,hour:0,minute:0,second:0,millisecond:0,microsecond:0,nanosecond:0}),r=ar(e,n);if(r.length)return r[0];let i=X(n),a=c.default.subtract(i,b);return Qr(a),Ar(e,a)}function sr(e){let t;return t=e<0||e>9999?(e<0?`-`:`+`)+Ct(Math.abs(e),6):Ct(e,4),t}function cr(e){return Ct(e,2)}function lr(e,t){let n;if(t===`auto`){if(e===0)return``;n=Ct(e,9).replace(/0+$/,``)}else{if(t===0)return``;n=Ct(e,9).slice(0,t)}return`.${n}`}function ur(e,t,n,r,i){let a=`${cr(e)}:${cr(t)}`;return i===`minute`||(a+=`:${cr(n)}`,a+=lr(r,i)),a}function dr(e,t,n){let r=t;r===void 0&&(r=`UTC`);let i=A(e,w),a=hr(rr(r,i),`iso8601`,n,`never`),o=`Z`;return t!==void 0&&(o=Dr(tr(r,i))),`${a}${o}`}function fr(e,t){let n=A(e,se),r=A(e,ce),i=A(e,le),a=A(e,ue),o=A(e,de),s=A(e,fe),c=Fr(e),l=``;n!==0&&(l+=`${Math.abs(n)}Y`),r!==0&&(l+=`${Math.abs(r)}M`),i!==0&&(l+=`${Math.abs(i)}W`),a!==0&&(l+=`${Math.abs(a)}D`);let u=``;o!==0&&(u+=`${Math.abs(o)}H`),s!==0&&(u+=`${Math.abs(s)}M`);let d=N.fromComponents(0,0,A(e,pe),A(e,me),A(e,he),A(e,ge));d.isZero()&&![`second`,`millisecond`,`microsecond`,`nanosecond`].includes(un(e))&&t===`auto`||(u+=`${Math.abs(d.sec)}${lr(Math.abs(d.subsec),t)}S`);let f=`${c<0?`-`:``}P${l}`;return u&&(f=`${f}T${u}`),f}function pr(e,t=`auto`){let{year:n,month:r,day:i}=A(e,T);return`${sr(n)}-${cr(r)}-${cr(i)}${zt(A(e,O),t)}`}function mr({hour:e,minute:t,second:n,millisecond:r,microsecond:i,nanosecond:a},o){return ur(e,t,n,1e6*r+1e3*i+a,o)}function hr(e,t,n,r=`auto`){let{isoDate:{year:i,month:a,day:o},time:{hour:s,minute:c,second:l,millisecond:u,microsecond:d,nanosecond:f}}=e;return`${sr(i)}-${cr(a)}-${cr(o)}T${ur(s,c,l,1e6*u+1e3*d+f,n)}${zt(t,r)}`}function gr(e,t=`auto`){let{year:n,month:r,day:i}=A(e,T),a=`${cr(r)}-${cr(i)}`,o=A(e,O);t!==`always`&&t!==`critical`&&o===`iso8601`||(a=`${sr(n)}-${a}`);let s=zt(o,t);return s&&(a+=s),a}function _r(e,t=`auto`){let{year:n,month:r,day:i}=A(e,T),a=`${sr(n)}-${cr(r)}`,o=A(e,O);t!==`always`&&t!==`critical`&&o===`iso8601`||(a+=`-${cr(i)}`);let s=zt(o,t);return s&&(a+=s),a}function vr(e,t,n=`auto`,r=`auto`,i=`auto`,a=void 0){let o=A(e,w);if(a){let{unit:e,increment:t,roundingMode:n}=a;o=Fi(o,t,e,n)}let s=A(e,k),c=tr(s,o),l=hr(rr(s,o),`iso8601`,t,`never`);return i!==`never`&&(l+=Dr(c)),r!==`never`&&(l+=`[${r===`critical`?`!`:``}${s}]`),l+=zt(A(e,O),n),l}function yr(e){return Kt.test(e)}function br(e){let t=na.exec(e);if(!t)throw RangeError(`invalid time zone offset: ${e}; must match ±HH:MM[:SS.SSSSSSSSS]`);return(t[1]===`-`?-1:1)*(1e9*(60*(60*t[2]+ +(t[3]||0))+ +(t[4]||0))+ +((t[5]||0)+`000000000`).slice(0,9))}var xr,Sr=Object.assign(Object.create(null),{"/":!0,"-":!0,_:!0});function Cr(e){if(xr===void 0){let e=Intl.supportedValuesOf?.(`timeZone`);if(e){xr=new Map;for(let t=0;t<e.length;t++){let n=e[t];xr.set($i(n),n)}}else xr=null}let t=$i(e),n=xr?.get(t);if(n)return{identifier:n,primaryIdentifier:n};try{n=It(e).resolvedOptions().timeZone}catch{return}if(t===`antarctica/south_pole`&&(n=`Antarctica/McMurdo`),vt.has(e))throw RangeError(`${e} is a legacy time zone identifier from ICU. Use ${n} instead`);let r=[...t].map(((e,n)=>n===0||Sr[t[n-1]]?e.toUpperCase():e)).join(``).split(`/`);if(r.length===1)return t===`gb-eire`?{identifier:`GB-Eire`,primaryIdentifier:n}:{identifier:t.length<=3||/[-0-9]/.test(t)?t.toUpperCase():r[0],primaryIdentifier:n};if(r[0]===`Etc`)return{identifier:`Etc/${[`Zulu`,`Greenwich`,`Universal`].includes(r[1])?r[1]:r[1].toUpperCase()}`,primaryIdentifier:n};if(r[0]===`Us`)return{identifier:`US/${r[1]}`,primaryIdentifier:n};let i=new Map([[`Act`,`ACT`],[`Lhi`,`LHI`],[`Nsw`,`NSW`],[`Dar_Es_Salaam`,`Dar_es_Salaam`],[`Port_Of_Spain`,`Port_of_Spain`],[`Port-Au-Prince`,`Port-au-Prince`],[`Isle_Of_Man`,`Isle_of_Man`],[`Comodrivadavia`,`ComodRivadavia`],[`Knox_In`,`Knox_IN`],[`Dumontdurville`,`DumontDUrville`],[`Mcmurdo`,`McMurdo`],[`Denoronha`,`DeNoronha`],[`Easterisland`,`EasterIsland`],[`Bajanorte`,`BajaNorte`],[`Bajasur`,`BajaSur`]]);return r[1]=i.get(r[1])??r[1],r.length>2&&(r[2]=i.get(r[2])??r[2]),{identifier:r.join(`/`),primaryIdentifier:n}}function wr(e,t){let{year:n,month:r,day:i,hour:a,minute:o,second:s}=Mr(e,t),c=t%1e3;return c<0&&(c+=1e3),1e6*(Or({isoDate:{year:n,month:r,day:i},time:{hour:a,minute:o,second:s,millisecond:c}})-t)}function Tr(e,t){return wr(e,Wi(t,`floor`))}function Er(e){let t=e<0?`-`:`+`,n=Math.abs(e);return`${t}${ur(Math.floor(n/60),n%60,0,0,`minute`)}`}function Dr(e){return Er(Pi(e,st,`halfExpand`)/6e10)}function Or({isoDate:{year:e,month:t,day:n},time:{hour:r,minute:i,second:a,millisecond:o}}){let s=e%400,c=(e-s)/400,l=new Date;return l.setUTCHours(r,i,a,o),l.setUTCFullYear(s,t-1,n),l.getTime()+pt*c}function X(e){let t=Or(e),n=1e3*e.time.microsecond+e.time.nanosecond;return c.default.add(Gi(t),c.default.BigInt(n))}function kr(e){let t=Wi(e,`trunc`),n=c.default.toNumber(c.default.remainder(e,g));n<0&&(n+=1e6,--t);let r=Math.floor(n/1e3)%1e3,i=n%1e3,a=new Date(t);return{epochMilliseconds:t,isoDate:{year:a.getUTCFullYear(),month:a.getUTCMonth()+1,day:a.getUTCDate()},time:{hour:a.getUTCHours(),minute:a.getUTCMinutes(),second:a.getUTCSeconds(),millisecond:a.getUTCMilliseconds(),microsecond:r,nanosecond:i}}}function Ar(e,t){if(e===`UTC`)return null;let n=Wi(t,`floor`);if(n<gt)return Ar(e,Gi(gt));let r=Math.max(n,Date.now())+366*at*3,i=n,a=wr(e,i),o=i,s=a;for(;a===s&&i<r;){if(o=i+2*at*7,o>ct)return null;s=wr(e,o),a===s&&(i=o)}return a===s?null:Gi(ra((t=>wr(e,t)),i,o,a,s))}function jr(e,t){if(e===`UTC`)return null;let n=Wi(t,`ceil`),r=Date.now(),i=r+366*at*3;if(n>i){let t=jr(e,Gi(i));if(t===null||c.default.lessThan(t,Gi(r)))return t}if(e===`Africa/Casablanca`||e===`Africa/El_Aaiun`){let t=Date.UTC(2088,0,1);if(t<n)return jr(e,Gi(t))}let a=n-1;if(a<gt)return null;let o=wr(e,a),s=a,l=o;for(;o===l&&a>gt;){if(s=a-2*at*7,s<gt)return null;l=wr(e,s),o===l&&(a=s)}return o===l?null:Gi(ra((t=>wr(e,t)),s,a,l,o))}function Mr(e,t){return function(e){let t=e.split(/[^\w]+/);if(t.length!==7)throw RangeError(`expected 7 parts in "${e}`);let n=+t[0],r=+t[1],i=+t[2],a=t[3];if(a[0]===`b`||a[0]===`B`)i=1-i;else if(a[0]!==`a`&&a[0]!==`A`)throw RangeError(`Unknown era ${a} in "${e}`);let o=t[4]===`24`?0:+t[4],s=+t[5],c=+t[6];if(!(Number.isFinite(i)&&Number.isFinite(n)&&Number.isFinite(r)&&Number.isFinite(o)&&Number.isFinite(s)&&Number.isFinite(c)))throw RangeError(`Invalid number in "${e}`);return{year:i,month:n,day:r,hour:o,minute:s,second:c}}(It(e).format(t))}function Nr(e){return e!==void 0&&!(e%4!=0||e%100==0&&e%400!=0)}function Pr(e,t){return{standard:[31,28,31,30,31,30,31,31,30,31,30,31],leapyear:[31,29,31,30,31,30,31,31,30,31,30,31]}[Nr(e)?`leapyear`:`standard`][t-1]}function Fr(e){let t=[A(e,se),A(e,ce),A(e,le),A(e,ue),A(e,de),A(e,fe),A(e,pe),A(e,me),A(e,he),A(e,ge)];for(let e=0;e<t.length;e++){let n=t[e];if(n!==0)return n<0?-1:1}return 0}function Ir(e){let t=[`years`,`months`,`weeks`,`days`];for(let n=0;n<t.length;n++){let r=e[t[n]];if(r!==0)return r<0?-1:1}return 0}function Lr(e){let t=Ir(e.date);return t===0?e.time.sign():t}function Rr(e,t){let n=e,r=t;if(!Number.isFinite(n)||!Number.isFinite(r))throw RangeError(`infinity is out of range`);return--r,n+=Math.floor(r/12),r%=12,r<0&&(r+=12),r+=1,{year:n,month:r}}function zr(e,t,n){let r=e,i=t,a=n;if(!Number.isFinite(a))throw RangeError(`infinity is out of range`);({year:r,month:i}=Rr(r,i));let o=146097;if(Math.abs(a)>o){let e=Math.trunc(a/o);r+=400*e,a-=e*o}let s=0,c=i>2?r:r-1;for(;s=Nr(c)?366:365,a<-s;)--r,--c,a+=s;for(c+=1;s=Nr(c)?366:365,a>s;)r+=1,c+=1,a-=s;for(;a<1;)({year:r,month:i}=Rr(r,i-1)),a+=Pr(r,i);for(;a>Pr(r,i);)a-=Pr(r,i),{year:r,month:i}=Rr(r,i+1);return{year:r,month:i,day:a}}function Br(e,t,n,r,i,a,o,s,c){let l=Vr(r,i,a,o,s,c);return K(zr(e,t,n+l.deltaDays),l)}function Vr(e,t,n,r,i,a){let o,s=e,c=t,l=n,u=r,d=i,f=a;({div:o,mod:f}=Re(f,3)),d+=o,f<0&&(--d,f+=1e3),{div:o,mod:d}=Re(d,3),u+=o,d<0&&(--u,d+=1e3),l+=Math.trunc(u/1e3),u%=1e3,u<0&&(--l,u+=1e3),c+=Math.trunc(l/60),l%=60,l<0&&(--c,l+=60),s+=Math.trunc(c/60),c%=60,c<0&&(--s,c+=60);let p=Math.trunc(s/24);return s%=24,s<0&&(--p,s+=24),p+=0,s+=0,c+=0,l+=0,u+=0,d+=0,f+=0,{deltaDays:p,hour:s,minute:c,second:l,millisecond:u,microsecond:d,nanosecond:f}}function Hr(e,t){let n=G(e,0);if(Ir(n)===0)return e.days;let r=A(t,T),i=Gn(A(t,O),r,n,`constrain`),a=oi(r.year,r.month-1,r.day),o=oi(i.year,i.month-1,i.day)-a;return e.days+o}function Ur(e){return new(M(`%Temporal.Duration%`))(-A(e,se),-A(e,ce),-A(e,le),-A(e,ue),-A(e,de),-A(e,fe),-A(e,pe),-A(e,me),-A(e,he),-A(e,ge))}function Wr(e,t,n){return Math.min(n,Math.max(t,e))}function Gr(e,t,n){let r=Wr(t,1,12);return{year:e,month:r,day:Wr(n,1,Pr(e,r))}}function Z(e,t,n){if(e<t||e>n)throw RangeError(`value out of range: ${t} <= ${e} <= ${n}`)}function Kr(e,t,n){Z(t,1,12),Z(n,1,Pr(e,t))}function qr(e){Xr(K(e,{deltaDays:0,hour:12,minute:0,second:0,millisecond:0,microsecond:0,nanosecond:0}))}function Jr(e,t,n,r,i,a){Z(e,0,23),Z(t,0,59),Z(n,0,59),Z(r,0,999),Z(i,0,999),Z(a,0,999)}function Yr(e,t,n,r,i,a,o,s,c){Kr(e,t,n),Jr(r,i,a,o,s,c)}function Xr(e){let t=X(e);(c.default.lessThan(t,dt)||c.default.greaterThan(t,ft))&&Qr(t)}function Zr(e){X(e)}function Qr(e){if(c.default.lessThan(e,ut)||c.default.greaterThan(e,lt))throw RangeError(`date/time value is outside of supported range`)}function $r({year:e,month:t}){Z(e,mt,ht),e===mt?Z(t,4,12):e===ht&&Z(t,1,9)}function ei(e,t,n,r,i,a,o,s,c,l){let u=0,d=[e,t,n,r,i,a,o,s,c,l];for(let e=0;e<d.length;e++){let t=d[e];if(t===1/0||t===-1/0)throw RangeError(`infinite values not allowed as duration fields`);if(t!==0){let e=t<0?-1:1;if(u!==0&&e!==u)throw RangeError(`mixed-sign values not allowed as duration fields`);u=e}}if(Math.abs(e)>=2**32||Math.abs(t)>=2**32||Math.abs(n)>=2**32)throw RangeError(`years, months, and weeks must be < 2³²`);let f=Re(s,3),p=Re(c,6),m=Re(l,9),h=Re(1e6*f.mod+1e3*p.mod+m.mod,9).div,g=86400*r+3600*i+60*a+o+f.div+p.div+m.div+h;if(!Number.isSafeInteger(g))throw RangeError(`total of duration time units cannot exceed 9007199254740991.999999999 s`)}function ti(e){return{date:{years:A(e,se),months:A(e,ce),weeks:A(e,le),days:A(e,ue)},time:N.fromComponents(A(e,de),A(e,fe),A(e,pe),A(e,me),A(e,he),A(e,ge))}}function ni(e){let t=N.fromComponents(A(e,de),A(e,fe),A(e,pe),A(e,me),A(e,he),A(e,ge)).add24HourDays(A(e,ue));return{date:{years:A(e,se),months:A(e,ce),weeks:A(e,le),days:0},time:t}}function ri(e){let t=ni(e),n=Math.trunc(t.time.sec/86400);return ei(t.date.years,t.date.months,t.date.weeks,n,0,0,0,0,0,0),{...t.date,days:n}}function ii(e,t){let n=e.time.sign(),r=e.time.abs().subsec,i=0,a=0,o=e.time.abs().sec,s=0,c=0,l=0;switch(t){case`year`:case`month`:case`week`:case`day`:i=Math.trunc(r/1e3),r%=1e3,a=Math.trunc(i/1e3),i%=1e3,o+=Math.trunc(a/1e3),a%=1e3,s=Math.trunc(o/60),o%=60,c=Math.trunc(s/60),s%=60,l=Math.trunc(c/24),c%=24;break;case`hour`:i=Math.trunc(r/1e3),r%=1e3,a=Math.trunc(i/1e3),i%=1e3,o+=Math.trunc(a/1e3),a%=1e3,s=Math.trunc(o/60),o%=60,c=Math.trunc(s/60),s%=60;break;case`minute`:i=Math.trunc(r/1e3),r%=1e3,a=Math.trunc(i/1e3),i%=1e3,o+=Math.trunc(a/1e3),a%=1e3,s=Math.trunc(o/60),o%=60;break;case`second`:i=Math.trunc(r/1e3),r%=1e3,a=Math.trunc(i/1e3),i%=1e3,o+=Math.trunc(a/1e3),a%=1e3;break;case`millisecond`:i=Math.trunc(r/1e3),r%=1e3,a=ze(o,3,Math.trunc(i/1e3)),i%=1e3,o=0;break;case`microsecond`:i=ze(o,6,Math.trunc(r/1e3)),r%=1e3,o=0;break;case`nanosecond`:r=ze(o,9,r),o=0}return new(M(`%Temporal.Duration%`))(e.date.years,e.date.months,e.date.weeks,e.date.days+n*l,n*c,n*s,n*o,n*a,n*i,n*r)}function ai(e,t){return Ir(e),t.sign(),{date:e,time:t}}function oi(e,t,n){return Or({isoDate:{year:e,month:t+1,day:n},time:{hour:0,minute:0,second:0,millisecond:0}})/at}function si({year:e,month:t,day:n}){if(Math.abs(oi(e,t-1,n))>1e8)throw RangeError(`date/time value is outside the supported range`)}function ci(e,t){let n=t.hour-e.hour,r=t.minute-e.minute,i=t.second-e.second,a=t.millisecond-e.millisecond,o=t.microsecond-e.microsecond,s=t.nanosecond-e.nanosecond;return N.fromComponents(n,r,i,a,o,s)}function li(e,t,n,r,i){let a=N.fromEpochNsDiff(t,e);return a=Ri(a,n,r,i),ai({years:0,months:0,weeks:0,days:0},a)}function ui(e,t,n,r){Zr(e),Zr(t);let i=ci(e.time,t.time),a=i.sign(),o=Bi(e.isoDate,t.isoDate),s=t.isoDate;o===a&&(s=zr(s.year,s.month,s.day+a),i=i.add24HourDays(-a));let c=dn(`day`,r),l=Kn(n,e.isoDate,s,c);return r!==c&&(i=i.add24HourDays(l.days),l.days=0),ai(l,i)}function di(e,t,n,r,i){let a=c.default.subtract(t,e);if(c.default.equal(a,l))return{date:{years:0,months:0,weeks:0,days:0},time:N.ZERO};let o=c.default.lessThan(a,l)?-1:1,s=rr(n,e),u=rr(n,t),d,f=0,p=o===1?2:1,m=ci(s.time,u.time);for(m.sign()===-o&&f++;f<=p;f++){d=K(zr(u.isoDate.year,u.isoDate.month,u.isoDate.day-f*o),s.time);let e=Y(n,d,`compatible`);if(m=N.fromEpochNsDiff(t,e),m.sign()!==-o)break}let h=dn(`day`,i);return ai(Kn(r,s.isoDate,d.isoDate,h),m)}function fi(e,t,n,r,i,a,o,s,l){let u,d,f,p,m=t;switch(s){case`year`:{let t=Pi(m.date.years,o,`trunc`);u=t,d=t+o*e,f={years:u,months:0,weeks:0,days:0},p={...f,years:d};break}case`month`:{let t=Pi(m.date.months,o,`trunc`);u=t,d=t+o*e,f=G(m.date,0,0,u),p=G(m.date,0,0,d);break}case`week`:{let t=G(m.date,0,0),n=Gn(a,r.isoDate,t,`constrain`),i=Kn(a,n,zr(n.year,n.month,n.day+m.date.days),`week`),s=Pi(m.date.weeks+i.weeks,o,`trunc`);u=s,d=s+o*e,f=G(m.date,0,u),p=G(m.date,0,d);break}case`day`:{let t=Pi(m.date.days,o,`trunc`);u=t,d=t+o*e,f=G(m.date,u),p=G(m.date,d);break}}let h=Gn(a,r.isoDate,f,`constrain`),g=Gn(a,r.isoDate,p,`constrain`),_,v,y=K(h,r.time),b=K(g,r.time);i?(_=Y(i,y,`compatible`),v=Y(i,b,`compatible`)):(_=X(y),v=X(b));let x=N.fromEpochNsDiff(n,_),S=N.fromEpochNsDiff(v,_),ee=Be(l,e<0?`negative`:`positive`),te=x.add(x).abs().subtract(S.abs()).sign(),C=Math.abs(u)/o%2==0,ne=x.isZero()?Math.abs(u):x.cmp(S)?Ve(Math.abs(u),Math.abs(d),te,C,ee):Math.abs(d),re=new N(c.default.add(c.default.multiply(S.totalNs,c.default.BigInt(u)),c.default.multiply(x.totalNs,c.default.BigInt(o*e)))).fdiv(S.totalNs),w=ne===Math.abs(d);return m={date:w?p:f,time:N.ZERO},{nudgeResult:{duration:m,nudgedEpochNs:w?v:_,didExpandCalendarUnit:w},total:re}}function pi(e,t,n,r,i,a,o,s,l){let u=e,d=fn(s)||r&&s===`day`,f=Lr(u)<0?-1:1,p;return d?{nudgeResult:p}=fi(f,u,t,n,r,i,o,s,l):p=r?function(e,t,n,r,i,a,o,s){let l=t,u=Gn(i,n.isoDate,l.date,`constrain`),d=K(u,n.time),f=K(zr(u.year,u.month,u.day+e),n.time),p=Y(r,d,`compatible`),m=Y(r,f,`compatible`),h=N.fromEpochNsDiff(m,p);if(h.sign()!==e)throw RangeError(`time zone returned inconsistent Instants`);let g=c.default.BigInt(Mt[o]*a),_=l.time.round(g,s),v=_.subtract(h),y=v.sign()!==-e,b,x;return y?(b=e,_=v.round(g,s),x=_.addToEpochNs(m)):(b=0,x=_.addToEpochNs(p)),{duration:ai(G(l.date,l.date.days+b),_),nudgedEpochNs:x,didExpandCalendarUnit:y}}(f,u,n,r,i,o,s,l):function(e,t,n,r,i,a){let o=e,s=o.time.add24HourDays(o.date.days),l=s.round(c.default.BigInt(r*Mt[i]),a),u=l.subtract(s),{quotient:d}=s.divmod(ot),{quotient:f}=l.divmod(ot),p=Math.sign(f-d)===s.sign(),m=u.addToEpochNs(t),h=0,g=l;return pn(n)===`date`&&(h=f,g=l.add(N.fromComponents(24*-f,0,0,0,0,0))),{duration:{date:G(o.date,h),time:g},nudgedEpochNs:m,didExpandCalendarUnit:p}}(u,t,a,o,s,l),u=p.duration,p.didExpandCalendarUnit&&s!==`week`&&(u=function(e,t,n,r,i,a,o,s){let c=t;if(s===o)return c;let l=jt.indexOf(o);for(let t=jt.indexOf(s)-1;t>=l;t--){let s=jt[t];if(s===`week`&&o!==`week`)continue;let l;switch(s){case`year`:l={years:c.date.years+e,months:0,weeks:0,days:0};break;case`month`:{let t=c.date.months+e;l=G(c.date,0,0,t);break}case`week`:{let t=c.date.weeks+e;l=G(c.date,0,t);break}}let u=K(Gn(a,r.isoDate,l,`constrain`),r.time),d;if(d=i?Y(i,u,`compatible`):X(u),te(n,d)===-e)break;c={date:l,time:N.ZERO}}return c}(f,u,p.nudgedEpochNs,n,r,i,a,dn(s,`day`))),u}function mi(e,t,n,r,i,a){return fn(a)||r&&a===`day`?fi(Lr(e)<0?-1:1,e,t,n,r,i,1,a,`trunc`).total:zi(e.time.add24HourDays(e.date.days),a)}function hi(e,t,n,r,i,a,o){if(Hi(e,t)==0)return{date:{years:0,months:0,weeks:0,days:0},time:N.ZERO};Xr(e),Xr(t);let s=ui(e,t,n,r);return a===`nanosecond`&&i===1?s:pi(s,X(t),e,null,n,r,i,a,o)}function gi(e,t,n,r,i,a,o,s){if(pn(i)===`time`)return li(e,t,a,o,s);let c=di(e,t,n,r,i);return o===`nanosecond`&&a===1?c:pi(c,t,rr(n,e),n,r,i,a,o,s)}function _i(e,t,n,r,i,a){let o=Ot.reduce(((e,t)=>{let i=t[0],a=t[1],o=t[2];return n!==`datetime`&&o!==n||r.includes(a)||e.push(a,i),e}),[]),s=cn(t,`largestUnit`,n,`auto`);if(r.includes(s))throw RangeError(`largestUnit must be one of ${o.join(`, `)}, not ${s}`);let c=nn(t),l=$t(t,`trunc`);e===`since`&&(l=function(e){switch(e){case`ceil`:return`floor`;case`floor`:return`ceil`;case`halfCeil`:return`halfFloor`;case`halfFloor`:return`halfCeil`;default:return e}}(l));let u=cn(t,`smallestUnit`,n,i);if(r.includes(u))throw RangeError(`smallestUnit must be one of ${o.join(`, `)}, not ${u}`);let d=dn(a,u);if(s===`auto`&&(s=d),dn(s,u)!==s)throw RangeError(`largestUnit ${s} cannot be smaller than smallestUnit ${u}`);let f={hour:24,minute:60,second:60,millisecond:1e3,microsecond:1e3,nanosecond:1e3}[u];return f!==void 0&&rn(c,f,!1),{largestUnit:s,roundingIncrement:c,roundingMode:l,smallestUnit:u}}function vi(e,t,n,r){let i=Cn(n),a=_i(e,Q(r),`time`,[],`nanosecond`,`second`),o=ii(li(A(t,w),A(i,w),a.roundingIncrement,a.smallestUnit,a.roundingMode),a.largestUnit);return e===`since`&&(o=Ur(o)),o}function yi(e,t,n,r){let i=yn(n),a=A(t,O),o=A(i,O);if(!Yn(a,o))throw RangeError(`cannot compute difference between dates of ${a} and ${o} calendars`);let s=_i(e,Q(r),`date`,[],`day`,`day`),c=M(`%Temporal.Duration%`),l=A(t,T),u=A(i,T);if(Bi(l,u)===0)return new c;let d={date:Kn(a,l,u,s.largestUnit),time:N.ZERO};if(s.smallestUnit!==`day`||s.roundingIncrement!==1){let e=K(l,{deltaDays:0,hour:0,minute:0,second:0,millisecond:0,microsecond:0,nanosecond:0});d=pi(d,X(K(u,{deltaDays:0,hour:0,minute:0,second:0,millisecond:0,microsecond:0,nanosecond:0})),e,null,a,s.largestUnit,s.roundingIncrement,s.smallestUnit,s.roundingMode)}let f=ii(d,`day`);return e===`since`&&(f=Ur(f)),f}function bi(e,t,n,r){let i=xn(n),a=A(t,O),o=A(i,O);if(!Yn(a,o))throw RangeError(`cannot compute difference between dates of ${a} and ${o} calendars`);let s=_i(e,Q(r),`datetime`,[],`nanosecond`,`day`),c=M(`%Temporal.Duration%`),l=A(t,E),u=A(i,E);if(Hi(l,u)===0)return new c;let d=ii(hi(l,u,a,s.largestUnit,s.roundingIncrement,s.smallestUnit,s.roundingMode),s.largestUnit);return e===`since`&&(d=Ur(d)),d}function xi(e,t,n,r){let i=Tn(n),a=_i(e,Q(r),`time`,[],`nanosecond`,`hour`),o=ci(A(t,D),A(i,D));o=Ri(o,a.roundingIncrement,a.smallestUnit,a.roundingMode);let s=ii(ai({years:0,months:0,weeks:0,days:0},o),a.largestUnit);return e===`since`&&(s=Ur(s)),s}function Si(e,t,n,r){let i=Dn(n),a=A(t,O),o=A(i,O);if(!Yn(a,o))throw RangeError(`cannot compute difference between months of ${a} and ${o} calendars`);let s=_i(e,Q(r),`date`,[`week`,`day`],`month`,`year`),c=M(`%Temporal.Duration%`);if(Bi(A(t,T),A(i,T))==0)return new c;let l=gn(a,A(t,T),`year-month`);l.day=1;let u=Xn(a,l,`constrain`),d=gn(a,A(i,T),`year-month`);d.day=1;let f=Xn(a,d,`constrain`),p={date:G(Kn(a,u,f,s.largestUnit),0,0),time:N.ZERO};if(s.smallestUnit!==`month`||s.roundingIncrement!==1){let e=K(u,{deltaDays:0,hour:0,minute:0,second:0,millisecond:0,microsecond:0,nanosecond:0});p=pi(p,X(K(f,{deltaDays:0,hour:0,minute:0,second:0,millisecond:0,microsecond:0,nanosecond:0})),e,null,a,s.largestUnit,s.roundingIncrement,s.smallestUnit,s.roundingMode)}let m=ii(p,`day`);return e===`since`&&(m=Ur(m)),m}function Ci(e,t,n,r){let i=kn(n),a=A(t,O),o=A(i,O);if(!Yn(a,o))throw RangeError(`cannot compute difference between dates of ${a} and ${o} calendars`);let s=_i(e,Q(r),`datetime`,[],`nanosecond`,`hour`),l=A(t,w),u=A(i,w),d=M(`%Temporal.Duration%`),f;if(pn(s.largestUnit)!==`date`)f=ii(li(l,u,s.roundingIncrement,s.smallestUnit,s.roundingMode),s.largestUnit);else{let e=A(t,k);if(!er(e,A(i,k)))throw RangeError(`When calculating difference between time zones, largestUnit must be 'hours' or smaller because day lengths can vary between time zones due to DST or time zone offset changes.`);if(c.default.equal(l,u))return new d;f=ii(gi(l,u,e,a,s.largestUnit,s.roundingIncrement,s.smallestUnit,s.roundingMode),`hour`)}return e===`since`&&(f=Ur(f)),f}function wi({hour:e,minute:t,second:n,millisecond:r,microsecond:i,nanosecond:a},o){let s=n,c=a;return s+=o.sec,c+=o.subsec,Vr(e,t,s,r,i,c)}function Ti(e,t){let n=t.addToEpochNs(e);return Qr(n),n}function Ei(e,t,n,r,i=`constrain`){if(Ir(r.date)===0)return Ti(e,r.time);let a=rr(t,e);return Ti(Y(t,K(Gn(n,a.isoDate,r.date,i),a.time),`compatible`),r.time)}function Di(e,t,n){let r=Sn(n);e===`subtract`&&(r=Ur(r));let i=dn(un(t),un(r));if(fn(i))throw RangeError(`For years, months, or weeks arithmetic, use date arithmetic relative to a starting point`);let a=ni(t),o=ni(r);return ii(ai({years:0,months:0,weeks:0,days:0},a.time.add(o.time)),i)}function Oi(e,t,n){let r=Sn(n);e===`subtract`&&(r=Ur(r));let i=un(r);if(pn(i)===`date`)throw RangeError(`Duration field ${i} not supported by Temporal.Instant. Try Temporal.ZonedDateTime instead.`);let a=ni(r);return Vn(Ti(A(t,w),a.time))}function ki(e,t,n,r){let i=A(t,O),a=Sn(n);e===`subtract`&&(a=Ur(a));let o=ri(a),s=q(Q(r));return jn(Gn(i,A(t,T),o,s),i)}function Ai(e,t,n,r){let i=Sn(n);e===`subtract`&&(i=Ur(i));let a=q(Q(r)),o=A(t,O),s=ni(i),c=A(t,E),l=wi(c.time,s.time),u=G(s.date,l.deltaDays);return ei(u.years,u.months,u.weeks,u.days,0,0,0,0,0,0),Nn(K(Gn(o,c.isoDate,u,a),l),o)}function ji(e,t,n){let r=Sn(n);e===`subtract`&&(r=Ur(r));let i=ni(r),{hour:a,minute:o,second:s,millisecond:c,microsecond:l,nanosecond:u}=wi(A(t,D),i.time);return Ln(Xt(a,o,s,c,l,u,`reject`))}function Mi(e,t,n,r){let i=Sn(n);e===`subtract`&&(i=Ur(i));let a=q(Q(r)),o=Fr(i),s=A(t,O),c=gn(s,A(t,T),`year-month`);c.day=1;let l=Xn(s,c,`constrain`);if(o<0){let e=Gn(s,l,{months:1},`constrain`);l=zr(e.year,e.month,e.day-1)}let u=ri(i);return qr(l),zn(Zn(s,gn(s,Gn(s,l,u,a),`year-month`),a),s)}function Ni(e,t,n,r){let i=Sn(n);e===`subtract`&&(i=Ur(i));let a=q(Q(r)),o=A(t,k),s=A(t,O),c=ti(i);return J(Ei(A(t,w),o,s,c,a),o,s)}function Pi(e,t,n){let r=Math.trunc(e/t),i=e%t,a=e<0?`negative`:`positive`,o=Math.abs(r),s=o+1,c=Yi(Math.abs(2*i)-t),l=o%2==0,u=Be(n,a),d=i===0?o:Ve(o,s,c,l,u);return t*(a===`positive`?d:-d)}function Fi(e,t,n,r){let i=Mt[n]*t;return function(e,t,n){let r=x(e),i=x(t),a=c.default.divide(r,i),o=c.default.remainder(r,i),s=Be(n,`positive`),f,p;c.default.lessThan(r,l)?(f=c.default.subtract(a,u),p=a):(f=a,p=c.default.add(a,u));let m=te(ee(c.default.multiply(o,d)),i)*(c.default.lessThan(r,l)?-1:1)+0,h=c.default.equal(o,l)?a:Ve(f,p,m,S(f),s);return c.default.multiply(h,i)}(e,c.default.BigInt(i),r)}function Ii(e,t,n,r){Zr(e);let{year:i,month:a,day:o}=e.isoDate,s=Li(e.time,t,n,r);return K(zr(i,a,o+s.deltaDays),s)}function Li({hour:e,minute:t,second:n,millisecond:r,microsecond:i,nanosecond:a},o,s,c){let l;switch(s){case`day`:case`hour`:l=1e3*(1e3*(1e3*(60*(60*e+t)+n)+r)+i)+a;break;case`minute`:l=1e3*(1e3*(1e3*(60*t+n)+r)+i)+a;break;case`second`:l=1e3*(1e3*(1e3*n+r)+i)+a;break;case`millisecond`:l=1e3*(1e3*r+i)+a;break;case`microsecond`:l=1e3*i+a;break;case`nanosecond`:l=a}let u=Mt[s],d=Pi(l,u*o,c)/u;switch(s){case`day`:return{deltaDays:d,hour:0,minute:0,second:0,millisecond:0,microsecond:0,nanosecond:0};case`hour`:return Vr(d,0,0,0,0,0);case`minute`:return Vr(e,d,0,0,0,0);case`second`:return Vr(e,t,d,0,0,0);case`millisecond`:return Vr(e,t,n,d,0,0);case`microsecond`:return Vr(e,t,n,r,d,0);case`nanosecond`:return Vr(e,t,n,r,i,d);default:throw Error(`Invalid unit ${s}`)}}function Ri(e,t,n,r){let i=Mt[n];return e.round(c.default.BigInt(i*t),r)}function zi(e,t){let n=Mt[t];return e.fdiv(c.default.BigInt(n))}function Bi(e,t){return e.year===t.year?e.month===t.month?e.day===t.day?0:Yi(e.day-t.day):Yi(e.month-t.month):Yi(e.year-t.year)}function Vi(e,t){return e.hour===t.hour?e.minute===t.minute?e.second===t.second?e.millisecond===t.millisecond?e.microsecond===t.microsecond?e.nanosecond===t.nanosecond?0:Yi(e.nanosecond-t.nanosecond):Yi(e.microsecond-t.microsecond):Yi(e.millisecond-t.millisecond):Yi(e.second-t.second):Yi(e.minute-t.minute):Yi(e.hour-t.hour)}function Hi(e,t){let n=Bi(e.isoDate,t.isoDate);return n===0?Vi(e.time,t.time):n}function Ui(e){let t=Ki(e);return globalThis.BigInt===void 0?t:globalThis.BigInt(t.toString(10))}function Wi(e,t){let{quotient:n,remainder:r}=C(x(e),g),i=c.default.toNumber(n);return t===`floor`&&c.default.toNumber(r)<0&&--i,t===`ceil`&&c.default.toNumber(r)>0&&(i+=1),i}function Gi(e){if(!Number.isInteger(e))throw RangeError(`epoch milliseconds must be an integer`);return c.default.multiply(c.default.BigInt(e),g)}function Ki(e){let t=e;if(typeof e==`object`){let n=e[Symbol.toPrimitive];n&&typeof n==`function`&&(t=n.call(e,`number`))}if(typeof t==`number`)throw TypeError(`cannot convert number to bigint`);return typeof t==`bigint`?c.default.BigInt(t.toString(10)):c.default.BigInt(t)}var qi=(()=>{let e=c.default.BigInt(Date.now()%1e6);return()=>{let t=Date.now(),n=c.default.BigInt(t),r=c.default.add(Gi(t),e);return e=c.default.remainder(n,g),c.default.greaterThan(r,lt)?lt:c.default.lessThan(r,ut)?ut:r}})();function Ji(){return new Intl.DateTimeFormat().resolvedOptions().timeZone}function Yi(e){return e<0?-1:e>0?1:e}function Q(e){if(e===void 0)return Object.create(null);if(P(e)&&e!==null)return e;throw TypeError(`Options parameter must be an object, not `+(e===null?`null`:typeof e))}function Xi(e,t){let n=Object.create(null);return n[e]=t,n}function Zi(e,t,n,r){let i=e[t];if(i!==void 0){if(i=bt(i),!n.includes(i))throw RangeError(`${t} must be one of ${n.join(`, `)}, not ${i}`);return i}if(r===sn)throw RangeError(`${t} option is required`);return r}function Qi(e){let t=$i(e);if(!_t.includes($i(t)))throw RangeError(`invalid calendar identifier ${t}`);switch(t){case`ethiopic-amete-alem`:return`ethioaa`;case`islamicc`:return`islamic-civil`}return t}function $i(e){let t=``;for(let n=0;n<e.length;n++){let r=e.charCodeAt(n);t+=r>=65&&r<=90?String.fromCharCode(r+32):String.fromCharCode(r)}return t}function ea(e){throw TypeError(`Do not use built-in arithmetic operators with Temporal objects. When comparing, use ${e===`PlainMonthDay`?`Temporal.PlainDate.compare(obj1.toPlainDate(year), obj2.toPlainDate(year))`:`Temporal.${e}.compare(obj1, obj2)`}, not obj1 > obj2. When coercing to strings, use \`\${obj}\` or String(obj), not '' + obj. When coercing to numbers, use properties or methods of the object, not \`+obj\`. When concatenating with strings, use \`\${str}\${obj}\` or str.concat(obj), not str + obj. In React, coerce to a string before rendering a Temporal object.`)}var ta=RegExp(`^${Ye.source}$`),na=RegExp(`^([+-])([01][0-9]|2[0-3])(?::?([0-5][0-9])(?::?([0-5][0-9])(?:[.,](\\d{1,9}))?)?)?$`);function ra(e,t,n,r=e(t),i=e(n)){let a=t,o=n,s=r,c=i;for(;o-a>1;){let t=Math.trunc((a+o)/2),n=e(t);n===s?(a=t,s=n):n===c&&(o=t,c=n)}return o}function ia(e){return[...e]}function aa(e,t){if(e!==`gregory`&&e!==`iso8601`)return;let n=sa[e],r=t.year,{dayOfWeek:i,dayOfYear:a,daysInYear:o}=n.isoToDate(t,{dayOfWeek:!0,dayOfYear:!0,daysInYear:!0}),s=n.getFirstDayOfWeek(),c=n.getMinimalDaysInFirstWeek(),l=(i+7-s)%7,u=(i-a+7001-s)%7,d=Math.floor((a-1+u)/7);if(7-u>=c&&++d,d==0)d=function(e,t,n,r){let i=(r-e-n+1)%7;i<0&&(i+=7);let a=Math.floor((n+i-1)/7);return 7-i>=t&&++a,a}(s,c,a+n.isoToDate(n.dateAdd(t,{years:-1},`constrain`),{daysInYear:!0}).daysInYear,i),r--;else if(a>=o-5){let e=(l+o-a)%7;e<0&&(e+=7),6-e>=c&&a+7-l>o&&(d=1,r++)}return{week:d,year:r}}function oa(e,t,n,r,i){if(t!==i.year){if(e*(t-i.year)>0)return!0}else if(n!==i.month){if(e*(n-i.month)>0)return!0}else if(r!==i.day&&e*(r-i.day)>0)return!0;return!1}var sa={};function ca(e){if(!e.startsWith(`M`))throw RangeError(`Invalid month code: ${e}. Month codes must start with M.`);let t=+e.slice(1);if(Number.isNaN(t))throw RangeError(`Invalid month code: ${e}`);return t}function la(e,t=!1){return`M${`${e}`.padStart(2,`0`)}${t?`L`:``}`}function ua(e,t=void 0,n=12){let{month:r,monthCode:i}=e;if(i===void 0){if(r===void 0)throw TypeError(`Either month or monthCode are required`);t===`reject`&&Z(r,1,n),t===`constrain`&&(r=Wr(r,1,n)),i=la(r)}else{let e=ca(i);if(i!==la(e))throw RangeError(`Invalid month code: ${i}`);if(r!==void 0&&r!==e)throw RangeError(`monthCode ${i} and month ${r} must match if both are present`);if(r=e,r<1||r>n)throw RangeError(`Invalid monthCode: ${i}`)}return{...e,month:r,monthCode:i}}sa.iso8601={resolveFields(e,t){if((t===`date`||t===`year-month`)&&e.year===void 0)throw TypeError(`year is required`);if((t===`date`||t===`month-day`)&&e.day===void 0)throw TypeError(`day is required`);Object.assign(e,ua(e))},dateToISO:(e,t)=>Yt(e.year,e.month,e.day,t),monthDayToISOReferenceDate(e,t){let{month:n,day:r}=Yt(e.year??1972,e.month,e.day,t);return{month:n,day:r,year:1972}},extraFields:()=>[],fieldKeysToIgnore(e){let t=new Set;for(let n=0;n<e.length;n++){let r=e[n];t.add(r),r===`month`?t.add(`monthCode`):r===`monthCode`&&t.add(`month`)}return ia(t)},dateAdd(e,{years:t=0,months:n=0,weeks:r=0,days:i=0},a){let{year:o,month:s,day:c}=e;return o+=t,s+=n,{year:o,month:s}=Rr(o,s),{year:o,month:s,day:c}=Yt(o,s,c,a),c+=i+7*r,zr(o,s,c)},dateUntil(e,t,n){let r=-Bi(e,t);if(r===0)return{years:0,months:0,weeks:0,days:0};let i,a=0,o=0;if(n===`year`||n===`month`){let s=t.year-e.year;for(s!==0&&(s-=r);!oa(r,e.year+s,e.month,e.day,t);)a=s,s+=r;let c=r;for(i=Rr(e.year+a,e.month+c);!oa(r,i.year,i.month,e.day,t);)o=c,c+=r,i=Rr(i.year,i.month+r);n===`month`&&(o+=12*a,a=0)}i=Rr(e.year+a,e.month+o);let s=Gr(i.year,i.month,e.day),c=0,l=oi(t.year,t.month-1,t.day)-oi(s.year,s.month-1,s.day);return n===`week`&&(c=Math.trunc(l/7),l%=7),{years:a,months:o,weeks:c,days:l}},isoToDate({year:e,month:t,day:n},r){let i={era:void 0,eraYear:void 0,year:e,month:t,day:n,daysInWeek:7,monthsInYear:12};if(r.monthCode&&(i.monthCode=la(t)),r.dayOfWeek){let r=t+(t<3?10:-2),a=e-+(t<3),o=Math.floor(a/100),s=a-100*o,c=(n+Math.floor(2.6*r-.2)+(s+Math.floor(s/4))+(Math.floor(o/4)-2*o))%7;i.dayOfWeek=c+(c<=0?7:0)}if(r.dayOfYear){let r=n;for(let n=t-1;n>0;n--)r+=Pr(e,n);i.dayOfYear=r}return r.weekOfYear&&(i.weekOfYear=aa(`iso8601`,{year:e,month:t,day:n})),r.daysInMonth&&(i.daysInMonth=Pr(e,t)),(r.daysInYear||r.inLeapYear)&&(i.inLeapYear=Nr(e),i.daysInYear=i.inLeapYear?366:365),i},getFirstDayOfWeek:()=>1,getMinimalDaysInFirstWeek:()=>4};var da=class e{constructor(t){if(this.map=new Map,this.calls=0,this.hits=0,this.misses=0,t!==void 0){let n=0;for(let r of t.map.entries()){if(++n>e.MAX_CACHE_ENTRIES)break;this.map.set(...r)}}}get(e){let t=this.map.get(e);return t&&(this.hits++,this.report()),this.calls++,t}set(e,t){this.map.set(e,t),this.misses++,this.report()}report(){}setObject(t){if(e.objectMap.get(t))throw RangeError(`object already cached`);e.objectMap.set(t,this),this.report()}static getCacheForObject(t){let n=e.objectMap.get(t);return n||(n=new e,e.objectMap.set(t,n)),n}};function fa({isoYear:e,isoMonth:t,isoDay:n}){return`${sr(e)}-${cr(t)}-${cr(n)}T00:00Z`}function pa(e,t){return{years:e.year-t.year,months:e.month-t.month,days:e.day-t.day}}da.objectMap=new WeakMap,da.MAX_CACHE_ENTRIES=1e3;var ma=class{constructor(){this.eras=[],this.hasEra=!1,this.erasBeginMidYear=!1}getFormatter(){return this.formatter===void 0&&(this.formatter=new Intl.DateTimeFormat(`en-US-u-ca-${this.id}`,{day:`numeric`,month:`numeric`,year:`numeric`,era:`short`,timeZone:`UTC`})),this.formatter}getCalendarParts(e){let t=this.getFormatter(),n=new Date(e);if(e===`-271821-04-19T00:00Z`){let e=t.resolvedOptions();t=new Intl.DateTimeFormat(e.locale,{...e,timeZone:`Etc/GMT+1`}),n=new Date(`-271821-04-20T00:00Z`)}try{return t.formatToParts(n)}catch{throw RangeError(`Invalid ISO date: ${e}`)}}isoToCalendarDate(e,t){let{year:n,month:r,day:i}=e,a=JSON.stringify({func:`isoToCalendarDate`,isoYear:n,isoMonth:r,isoDay:i,id:this.id}),o=t.get(a);if(o)return o;let s=fa({isoYear:n,isoMonth:r,isoDay:i}),c=this.getCalendarParts(s),l={};for(let e=0;e<c.length;e++){let{type:t,value:n}=c[e];if(t!==`year`&&t!==`relatedYear`||(this.hasEra?l.eraYear=+n:l.year=+n),t===`month`){let e=/^([0-9]*)(.*?)$/.exec(n);if(!e||e.length!=3||!e[1]&&!e[2])throw RangeError(`Unexpected month: ${n}`);if(l.month=e[1]?+e[1]:1,l.month<1)throw RangeError(`Invalid month ${n} from ${s}[u-ca-${this.id}] (probably due to https://bugs.chromium.org/p/v8/issues/detail?id=10527)`);if(l.month>13)throw RangeError(`Invalid month ${n} from ${s}[u-ca-${this.id}] (probably due to https://bugs.chromium.org/p/v8/issues/detail?id=10529)`);e[2]&&(l.monthExtra=e[2])}t===`day`&&(l.day=+n),this.hasEra&&t===`era`&&n!=null&&n!==``&&(l.era=n.split(` (`)[0].normalize(`NFD`).replace(/[^-0-9 \p{L}]/gu,``).replace(/ /g,`-`).toLowerCase())}if(this.hasEra&&l.eraYear===void 0)throw RangeError(`Intl.DateTimeFormat.formatToParts lacks relatedYear in ${this.id} calendar. Try Node 14+ or modern browsers.`);if(this.hasEra){let e=this.eras.find((e=>l.era===e.genericName));e&&(l.era=e.code)}if(this.reviseIntlEra){let{era:t,eraYear:n}=this.reviseIntlEra(l,e);l.era=t,l.eraYear=n}this.checkIcuBugs&&this.checkIcuBugs(e);let u=this.adjustCalendarDate(l,t,`constrain`,!0);if(u.year===void 0)throw RangeError(`Missing year converting ${JSON.stringify(e)}`);if(u.month===void 0)throw RangeError(`Missing month converting ${JSON.stringify(e)}`);if(u.day===void 0)throw RangeError(`Missing day converting ${JSON.stringify(e)}`);return t.set(a,u),[`constrain`,`reject`].forEach((n=>{let r=JSON.stringify({func:`calendarToIsoDate`,year:u.year,month:u.month,day:u.day,overflow:n,id:this.id});t.set(r,e)})),u}validateCalendarDate(e){let{month:t,year:n,day:r,eraYear:i,monthCode:a,monthExtra:o}=e;if(o!==void 0)throw RangeError("Unexpected `monthExtra` value");if(n===void 0&&i===void 0)throw TypeError(`year or eraYear is required`);if(t===void 0&&a===void 0)throw TypeError(`month or monthCode is required`);if(r===void 0)throw RangeError(`Missing day`);if(a!==void 0){if(typeof a!=`string`)throw RangeError(`monthCode must be a string, not `+typeof a);if(!/^M([01]?\d)(L?)$/.test(a))throw RangeError(`Invalid monthCode: ${a}`)}if(this.hasEra&&e.era===void 0!=(e.eraYear===void 0))throw TypeError(`properties era and eraYear must be provided together`)}adjustCalendarDate(e,t=void 0,n=`constrain`,r=!1){if(this.calendarType===`lunisolar`)throw RangeError(`Override required for lunisolar calendars`);let i=e;this.validateCalendarDate(i);let a=this.monthsInYear(i,t),{month:o,monthCode:s}=i;return{month:o,monthCode:s}=ua(i,n,a),{...i,month:o,monthCode:s}}regulateMonthDayNaive(e,t,n){let r=this.monthsInYear(e,n),{month:i,day:a}=e;return t===`reject`?(Z(i,1,r),Z(a,1,this.maximumMonthLength(e))):(i=Wr(i,1,r),a=Wr(a,1,this.maximumMonthLength({...e,month:i}))),{...e,month:i,day:a}}calendarToIsoDate(e,t=`constrain`,n){let r=e,i=this.adjustCalendarDate(e,n,t,!1);i=this.regulateMonthDayNaive(i,t,n);let{year:a,month:o,day:s}=i,c=JSON.stringify({func:`calendarToIsoDate`,year:a,month:o,day:s,overflow:t,id:this.id}),l,u=n.get(c);if(u||r.year!==void 0&&r.month!==void 0&&r.day!==void 0&&(r.year!==i.year||r.month!==i.month||r.day!==i.day)&&(l=JSON.stringify({func:`calendarToIsoDate`,year:r.year,month:r.month,day:r.day,overflow:t,id:this.id}),u=n.get(l),u))return u;let d=this.estimateIsoDate({year:a,month:o,day:s}),f=e=>{let r=this.addDaysIso(d,e);if(i.day>this.minimumMonthLength(i)){let e=this.isoToCalendarDate(r,n);for(;e.month!==o||e.year!==a;){if(t===`reject`)throw RangeError(`day ${s} does not exist in month ${o} of year ${a}`);r=this.addDaysIso(r,-1),e=this.isoToCalendarDate(r,n)}}return r},p=0,m=this.isoToCalendarDate(d,n),h=pa(i,m);if(h.years!==0||h.months!==0||h.days!==0){let e=365*h.years+30*h.months+h.days;d=this.addDaysIso(d,e),m=this.isoToCalendarDate(d,n),h=pa(i,m),h.years===0&&h.months===0?d=f(h.days):p=this.compareCalendarDates(i,m)}let g=8;for(;p;){d=this.addDaysIso(d,p*g);let e=m;m=this.isoToCalendarDate(d,n);let a=p;if(p=this.compareCalendarDates(i,m),p){if(h=pa(i,m),h.years===0&&h.months===0)d=f(h.days),p=0;else if(a&&p!==a)if(g>1)g/=2;else{if(t===`reject`)throw RangeError(`Can't find ISO date from calendar date: ${JSON.stringify({...r})}`);this.compareCalendarDates(m,e)>0&&(d=this.addDaysIso(d,-1)),p=0}}}if(n.set(c,d),l&&n.set(l,d),i.year===void 0||i.month===void 0||i.day===void 0||i.monthCode===void 0||this.hasEra&&(i.era===void 0||i.eraYear===void 0))throw RangeError(`Unexpected missing property`);return d}compareCalendarDates(e,t){return e.year===t.year?e.month===t.month?e.day===t.day?0:Yi(e.day-t.day):Yi(e.month-t.month):Yi(e.year-t.year)}regulateDate(e,t=`constrain`,n){let r=this.calendarToIsoDate(e,t,n);return this.isoToCalendarDate(r,n)}addDaysIso(e,t){return zr(e.year,e.month,e.day+t)}addDaysCalendar(e,t,n){let r=this.calendarToIsoDate(e,`constrain`,n),i=this.addDaysIso(r,t);return this.isoToCalendarDate(i,n)}addMonthsCalendar(e,t,n,r){let i=e,{day:a}=i;for(let e=0,n=Math.abs(t);e<n;e++){let{month:e}=i,n=i,o=t<0?-Math.max(a,this.daysInPreviousMonth(i,r)):this.daysInMonth(i,r),s=this.calendarToIsoDate(i,`constrain`,r),c=this.addDaysIso(s,o);if(i=this.isoToCalendarDate(c,r),t>0){let t=this.monthsInYear(n,r);for(;i.month-1!=e%t;)c=this.addDaysIso(c,-1),i=this.isoToCalendarDate(c,r)}i.day!==a&&(i=this.regulateDate({...i,day:a},`constrain`,r))}if(n===`reject`&&i.day!==a)throw RangeError(`Day ${a} does not exist in resulting calendar month`);return i}addCalendar(e,{years:t=0,months:n=0,weeks:r=0,days:i=0},a,o){let{year:s,day:c,monthCode:l}=e,u=this.adjustCalendarDate({year:s+t,monthCode:l,day:c},o),d=this.addMonthsCalendar(u,n,a,o),f=i+7*r;return this.addDaysCalendar(d,f,o)}untilCalendar(e,t,n,r){let i=0,a=0,o=0,s=0;switch(n){case`day`:i=this.calendarDaysUntil(e,t,r);break;case`week`:{let n=this.calendarDaysUntil(e,t,r);i=n%7,a=(n-i)/7;break}case`month`:case`year`:{let a=this.compareCalendarDates(t,e);if(!a)return{years:0,months:0,weeks:0,days:0};let c=t.year-e.year,l=t.day-e.day;if(n===`year`&&c){let n=0;t.monthCode>e.monthCode&&(n=1),t.monthCode<e.monthCode&&(n=-1),n||=Math.sign(l),s=n*a<0?c-a:c}let u,d=s?this.addCalendar(e,{years:s},`constrain`,r):e;do o+=a,u=d,d=this.addMonthsCalendar(u,a,`constrain`,r),d.day!==e.day&&(d=this.regulateDate({...d,day:e.day},`constrain`,r));while(this.compareCalendarDates(t,d)*a>=0);o-=a,i=this.calendarDaysUntil(u,t,r);break}}return{years:s,months:o,weeks:a,days:i}}daysInMonth(e,t){let{day:n}=e,r=this.maximumMonthLength(e),i=this.minimumMonthLength(e);if(i===r)return i;let a=n<=r-i?r:i,o=this.calendarToIsoDate(e,`constrain`,t),s=this.addDaysIso(o,a),c=this.isoToCalendarDate(s,t),l=this.addDaysIso(s,-c.day);return this.isoToCalendarDate(l,t).day}daysInPreviousMonth(e,t){let{day:n,month:r,year:i}=e,a={year:r>1?i:i-1,month:r,day:1},o=r>1?r-1:this.monthsInYear(a,t);a={...a,month:o};let s=this.minimumMonthLength(a),c=this.maximumMonthLength(a);if(s===c)return c;let l=this.calendarToIsoDate(e,`constrain`,t),u=this.addDaysIso(l,-n);return this.isoToCalendarDate(u,t).day}startOfCalendarYear(e){return{year:e.year,month:1,monthCode:`M01`,day:1}}startOfCalendarMonth(e){return{year:e.year,month:e.month,day:1}}calendarDaysUntil(e,t,n){let r=this.calendarToIsoDate(e,`constrain`,n),i=this.calendarToIsoDate(t,`constrain`,n);return oi(i.year,i.month-1,i.day)-oi(r.year,r.month-1,r.day)}monthDaySearchStartYear(e,t){return 1972}monthDayFromFields(e,t,n){let r,i,a,o,s,{era:c,eraYear:l,year:u,month:d,monthCode:f,day:p}=e;if(d!==void 0&&u===void 0&&(!this.hasEra||c===void 0||l===void 0))throw TypeError(`when month is present, year (or era and eraYear) are required`);(f===void 0||u!==void 0||this.hasEra&&l!==void 0)&&({monthCode:f,day:p}=this.isoToCalendarDate(this.calendarToIsoDate(e,t,n),n));let m={year:this.monthDaySearchStartYear(f,p),month:12,day:31},h=this.isoToCalendarDate(m,n),g=h.monthCode>f||h.monthCode===f&&h.day>=p?h.year:h.year-1;for(let e=0;e<20;e++){let c=this.adjustCalendarDate({day:p,monthCode:f,year:g-e},n),l=this.calendarToIsoDate(c,`constrain`,n),u=this.isoToCalendarDate(l,n);if({year:r,month:i,day:a}=l,u.monthCode===f&&u.day===p)return{month:i,day:a,year:r};if(t===`constrain`){let e=this.maxLengthOfMonthCodeInAnyYear(u.monthCode);if(u.monthCode===f&&u.day===e&&p>e)return{month:i,day:a,year:r};(o===void 0||u.monthCode===o.monthCode&&u.day>o.day)&&(o=u,s=l)}}if(t===`constrain`&&s!==void 0)return s;throw RangeError(`No recent ${this.id} year with monthCode ${f} and day ${p}`)}getFirstDayOfWeek(){}getMinimalDaysInFirstWeek(){}},ha=class extends ma{constructor(){super(...arguments),this.id=`hebrew`,this.calendarType=`lunisolar`,this.months={Tishri:{leap:1,regular:1,monthCode:`M01`,days:30},Heshvan:{leap:2,regular:2,monthCode:`M02`,days:{min:29,max:30}},Kislev:{leap:3,regular:3,monthCode:`M03`,days:{min:29,max:30}},Tevet:{leap:4,regular:4,monthCode:`M04`,days:29},Shevat:{leap:5,regular:5,monthCode:`M05`,days:30},Adar:{leap:void 0,regular:6,monthCode:`M06`,days:29},"Adar I":{leap:6,regular:void 0,monthCode:`M05L`,days:30},"Adar II":{leap:7,regular:void 0,monthCode:`M06`,days:29},Nisan:{leap:8,regular:7,monthCode:`M07`,days:30},Iyar:{leap:9,regular:8,monthCode:`M08`,days:29},Sivan:{leap:10,regular:9,monthCode:`M09`,days:30},Tamuz:{leap:11,regular:10,monthCode:`M10`,days:29},Av:{leap:12,regular:11,monthCode:`M11`,days:30},Elul:{leap:13,regular:12,monthCode:`M12`,days:29}}}inLeapYear(e){let{year:t}=e;return(7*t+1)%19<7}monthsInYear(e){return this.inLeapYear(e)?13:12}minimumMonthLength(e){return this.minMaxMonthLength(e,`min`)}maximumMonthLength(e){return this.minMaxMonthLength(e,`max`)}minMaxMonthLength(e,t){let{month:n,year:r}=e,i=this.getMonthCode(r,n),a=Object.entries(this.months).find((e=>e[1].monthCode===i));if(a===void 0)throw RangeError(`unmatched Hebrew month: ${n}`);let o=a[1].days;return typeof o==`number`?o:o[t]}maxLengthOfMonthCodeInAnyYear(e){return[`M04`,`M06`,`M08`,`M10`,`M12`].includes(e)?29:30}estimateIsoDate(e){let{year:t}=e;return{year:t-3760,month:1,day:1}}getMonthCode(e,t){return this.inLeapYear({year:e})?t===6?la(5,!0):la(t<6?t:t-1):la(t)}adjustCalendarDate(e,t,n=`constrain`,r=!1){let{year:i,month:a,monthCode:o,day:s,monthExtra:c}=e;if(i===void 0)throw TypeError(`Missing property: year`);if(r){if(c){let e=this.months[c];if(!e)throw RangeError(`Unrecognized month from formatToParts: ${c}`);a=this.inLeapYear({year:i})?e.leap:e.regular}return o=this.getMonthCode(i,a),{year:i,month:a,day:s,monthCode:o}}if(this.validateCalendarDate(e),a===void 0)if(o.endsWith(`L`)){if(o!==`M05L`)throw RangeError(`Hebrew leap month must have monthCode M05L, not ${o}`);if(a=6,!this.inLeapYear({year:i})){if(n===`reject`)throw RangeError(`Hebrew monthCode M05L is invalid in year ${i} which is not a leap year`);a=6,o=`M06`}}else{a=ca(o),this.inLeapYear({year:i})&&a>=6&&a++;let e=this.monthsInYear({year:i});if(a<1||a>e)throw RangeError(`Invalid monthCode: ${o}`)}else if(n===`reject`?(Z(a,1,this.monthsInYear({year:i})),Z(s,1,this.maximumMonthLength({year:i,month:a}))):(a=Wr(a,1,this.monthsInYear({year:i})),s=Wr(s,1,this.maximumMonthLength({year:i,month:a}))),o===void 0)o=this.getMonthCode(i,a);else if(this.getMonthCode(i,a)!==o)throw RangeError(`monthCode ${o} doesn't correspond to month ${a} in Hebrew year ${i}`);return{...e,day:s,month:a,monthCode:o,year:i}}},ga=class extends ma{constructor(){super(...arguments),this.calendarType=`lunar`,this.DAYS_PER_ISLAMIC_YEAR=354.3666666666667,this.DAYS_PER_ISO_YEAR=365.2425}inLeapYear(e,t){let n={year:e.year,month:1,monthCode:`M01`,day:1},r={year:e.year+1,month:1,monthCode:`M01`,day:1};return this.calendarDaysUntil(n,r,t)===355}monthsInYear(){return 12}minimumMonthLength(){return 29}maximumMonthLength(){return 30}maxLengthOfMonthCodeInAnyYear(){return 30}estimateIsoDate(e){let{year:t}=this.adjustCalendarDate(e);return{year:Math.floor(t*this.DAYS_PER_ISLAMIC_YEAR/this.DAYS_PER_ISO_YEAR)+622,month:1,day:1}}},_a=class extends ga{constructor(){super(...arguments),this.id=`islamic`}},va=class extends ga{constructor(){super(...arguments),this.id=`islamic-umalqura`}},ya=class extends ga{constructor(){super(...arguments),this.id=`islamic-tbla`}},ba=class extends ga{constructor(){super(...arguments),this.id=`islamic-civil`}},xa=class extends ga{constructor(){super(...arguments),this.id=`islamic-rgsa`}},Sa=class extends ga{constructor(){super(...arguments),this.id=`islamicc`}},Ca=class extends ma{constructor(){super(...arguments),this.id=`persian`,this.calendarType=`solar`}inLeapYear(e,t){return this.daysInMonth({year:e.year,month:12,day:1},t)===30}monthsInYear(){return 12}minimumMonthLength(e){let{month:t}=e;return t===12?29:t<=6?31:30}maximumMonthLength(e){let{month:t}=e;return t===12?30:t<=6?31:30}maxLengthOfMonthCodeInAnyYear(e){return ca(e)<=6?31:30}estimateIsoDate(e){let{year:t}=this.adjustCalendarDate(e);return{year:t+621,month:1,day:1}}},wa=class extends ma{constructor(){super(...arguments),this.id=`indian`,this.calendarType=`solar`,this.months={1:{length:30,month:3,day:22,leap:{length:31,month:3,day:21}},2:{length:31,month:4,day:21},3:{length:31,month:5,day:22},4:{length:31,month:6,day:22},5:{length:31,month:7,day:23},6:{length:31,month:8,day:23},7:{length:30,month:9,day:23},8:{length:30,month:10,day:23},9:{length:30,month:11,day:22},10:{length:30,month:12,day:22},11:{length:30,month:1,nextYear:!0,day:21},12:{length:30,month:2,nextYear:!0,day:20}},this.vulnerableToBceBug=new Date(`0000-01-01T00:00Z`).toLocaleDateString(`en-US-u-ca-indian`,{timeZone:`UTC`})!==`10/11/-79 Saka`}inLeapYear(e){return Ta(e.year+78)}monthsInYear(){return 12}minimumMonthLength(e){return this.getMonthInfo(e).length}maximumMonthLength(e){return this.getMonthInfo(e).length}maxLengthOfMonthCodeInAnyYear(e){let t=ca(e),n=this.months[t];return n=n.leap??n,n.length}getMonthInfo(e){let{month:t}=e,n=this.months[t];if(n===void 0)throw RangeError(`Invalid month: ${t}`);return this.inLeapYear(e)&&n.leap&&(n=n.leap),n}estimateIsoDate(e){let t=this.adjustCalendarDate(e),n=this.getMonthInfo(t);return zr(t.year+78+ +!!n.nextYear,n.month,n.day+t.day-1)}checkIcuBugs(e){if(this.vulnerableToBceBug&&e.year<1)throw RangeError(`calendar '${this.id}' is broken for ISO dates before 0001-01-01 (see https://bugs.chromium.org/p/v8/issues/detail?id=10529)`)}};function Ta(e){return e%4==0&&(e%100!=0||e%400==0)}var Ea=class extends ma{constructor(e,t){super(),this.calendarType=`solar`,this.id=e,this.isoEpoch=t}inLeapYear(e){let{year:t}=this.estimateIsoDate({month:1,day:1,year:e.year});return Ta(t)}monthsInYear(){return 12}minimumMonthLength(e){let{month:t}=e;return t===2?this.inLeapYear(e)?29:28:[4,6,9,11].indexOf(t)>=0?30:31}maximumMonthLength(e){return this.minimumMonthLength(e)}maxLengthOfMonthCodeInAnyYear(e){return[31,29,31,30,31,30,31,31,30,31,30,31][ca(e)-1]}estimateIsoDate(e){let t=this.adjustCalendarDate(e);return Yt(t.year+this.isoEpoch.year,t.month+this.isoEpoch.month,t.day+this.isoEpoch.day,`constrain`)}},Da=class extends ma{constructor(e,t){super(),this.hasEra=!0,this.calendarType=`solar`,this.id=e;let{eras:n,anchorEra:r}=function(e){let t,n=e;if(n.length===0)throw RangeError(`Invalid era data: eras are required`);if(n.length===1&&n[0].reverseOf)throw RangeError(`Invalid era data: anchor era cannot count years backwards`);if(n.length===1&&!n[0].code)throw RangeError(`Invalid era data: at least one named era is required`);if(n.filter((e=>e.reverseOf!=null)).length>1)throw RangeError(`Invalid era data: only one era can count years backwards`);n.forEach((e=>{if(e.isAnchor||!e.anchorEpoch&&!e.reverseOf){if(t)throw RangeError(`Invalid era data: cannot have multiple anchor eras`);t=e,e.anchorEpoch={year:+!e.hasYearZero}}else if(!e.code)throw RangeError(`If era name is blank, it must be the anchor era`)})),n=n.filter((e=>e.code)),n.forEach((e=>{let{reverseOf:t}=e;if(t){let r=n.find((e=>e.code===t));if(r===void 0)throw RangeError(`Invalid era data: unmatched reverseOf era: ${t}`);e.reverseOf=r,e.anchorEpoch=r.anchorEpoch,e.isoEpoch=r.isoEpoch}e.anchorEpoch.month===void 0&&(e.anchorEpoch.month=1),e.anchorEpoch.day===void 0&&(e.anchorEpoch.day=1)})),n.sort(((e,t)=>{if(e.reverseOf)return 1;if(t.reverseOf)return-1;if(!e.isoEpoch||!t.isoEpoch)throw RangeError(`Invalid era data: missing ISO epoch`);return t.isoEpoch.year-e.isoEpoch.year}));let r=n[n.length-1].reverseOf;if(r&&r!==n[n.length-2])throw RangeError(`Invalid era data: invalid reverse-sign era`);return n.forEach(((e,t)=>{e.genericName=`era`+(n.length-1-t)})),{eras:n,anchorEra:t||n[0]}}(t);this.anchorEra=r,this.eras=n}inLeapYear(e){let{year:t}=this.estimateIsoDate({month:1,day:1,year:e.year});return Ta(t)}monthsInYear(){return 12}minimumMonthLength(e){let{month:t}=e;return t===2?this.inLeapYear(e)?29:28:[4,6,9,11].indexOf(t)>=0?30:31}maximumMonthLength(e){return this.minimumMonthLength(e)}maxLengthOfMonthCodeInAnyYear(e){return[31,29,31,30,31,30,31,31,30,31,30,31][ca(e)-1]}completeEraYear(e){let t=(t,n,r)=>{let i=e[t];if(i!=null&&i!=n&&!(r||[]).includes(i)){let e=r?.[0];throw RangeError(`Input ${t} ${i} doesn't match calculated value ${e?`${n} (also called ${e})`:n}`)}},n=t=>{let n,r={...e,year:t},i=this.eras.find(((e,i)=>{if(i===this.eras.length-1){if(e.reverseOf){if(t>0)throw RangeError(`Signed year ${t} is invalid for era ${e.code}`);return n=e.anchorEpoch.year-t,!0}return n=t-e.anchorEpoch.year+ +!e.hasYearZero,!0}return this.compareCalendarDates(r,e.anchorEpoch)>=0&&(n=t-e.anchorEpoch.year+ +!e.hasYearZero,!0)}));if(!i)throw RangeError(`Year ${t} was not matched by any era`);return{eraYear:n,era:i.code,eraNames:i.names}},{year:r,eraYear:i,era:a}=e;if(r!=null){let e=n(r);({eraYear:i,era:a}=e),t(`era`,a,e?.eraNames),t(`eraYear`,i)}else{if(i==null)throw RangeError(`Either year or eraYear and era are required`);{if(a===void 0)throw RangeError(`era and eraYear must be provided together`);let e=this.eras.find((({code:e,names:t=[]})=>e===a||t.includes(a)));if(!e)throw RangeError(`Era ${a} (ISO year ${i}) was not matched by any era`);r=e.reverseOf?e.anchorEpoch.year-i:i+e.anchorEpoch.year-+!e.hasYearZero,t(`year`,r),{eraYear:i,era:a}=n(r)}}return{...e,year:r,eraYear:i,era:a}}adjustCalendarDate(e,t,n=`constrain`){let r=e,{month:i,monthCode:a}=r;return i===void 0&&(r={...r,month:ca(a)}),this.validateCalendarDate(r),r=this.completeEraYear(r),super.adjustCalendarDate(r,t,n)}estimateIsoDate(e){let{year:t,month:n,day:r}=this.adjustCalendarDate(e),{anchorEra:i}=this;return Yt(t+i.isoEpoch.year-+!i.hasYearZero,n,r,`constrain`)}},Oa=class extends Da{constructor(e,t){super(e,t)}isoToCalendarDate(e){let{year:t,month:n,day:r}=e,i=la(n),a=t-this.anchorEra.isoEpoch.year+1;return this.completeEraYear({year:a,month:n,monthCode:i,day:r})}},ka={inLeapYear(e){let{year:t}=e;return(t+1)%4==0},monthsInYear:()=>13,minimumMonthLength(e){let{month:t}=e;return t===13?this.inLeapYear(e)?6:5:30},maximumMonthLength(e){return this.minimumMonthLength(e)},maxLengthOfMonthCodeInAnyYear:e=>e===`M13`?6:30},Aa=class extends Ea{constructor(e,t){super(e,t),this.inLeapYear=ka.inLeapYear,this.monthsInYear=ka.monthsInYear,this.minimumMonthLength=ka.minimumMonthLength,this.maximumMonthLength=ka.maximumMonthLength,this.maxLengthOfMonthCodeInAnyYear=ka.maxLengthOfMonthCodeInAnyYear}},ja=class extends Da{constructor(e,t){super(e,t),this.inLeapYear=ka.inLeapYear,this.monthsInYear=ka.monthsInYear,this.minimumMonthLength=ka.minimumMonthLength,this.maximumMonthLength=ka.maximumMonthLength,this.maxLengthOfMonthCodeInAnyYear=ka.maxLengthOfMonthCodeInAnyYear}},Ma=class extends Aa{constructor(){super(`ethioaa`,{year:-5492,month:7,day:17})}},Na=class extends ja{constructor(){super(`coptic`,[{code:`coptic`,isoEpoch:{year:284,month:8,day:29}},{code:`coptic-inverse`,reverseOf:`coptic`}])}},Pa=class extends ja{constructor(){super(`ethiopic`,[{code:`ethioaa`,names:[`ethiopic-amete-alem`,`mundi`],isoEpoch:{year:-5492,month:7,day:17}},{code:`ethiopic`,names:[`incar`],isoEpoch:{year:8,month:8,day:27},anchorEpoch:{year:5501}}])}},Fa=class extends Oa{constructor(){super(`roc`,[{code:`roc`,names:[`minguo`],isoEpoch:{year:1912,month:1,day:1}},{code:`roc-inverse`,names:[`before-roc`],reverseOf:`roc`}])}},Ia=class extends Ea{constructor(){super(`buddhist`,{year:-543,month:1,day:1})}},La=class extends Oa{constructor(){super(`gregory`,[{code:`gregory`,names:[`ad`,`ce`],isoEpoch:{year:1,month:1,day:1}},{code:`gregory-inverse`,names:[`be`,`bce`],reverseOf:`gregory`}])}reviseIntlEra(e){let{era:t,eraYear:n}=e;return t===`b`&&(t=`gregory-inverse`),t===`a`&&(t=`gregory`),{era:t,eraYear:n}}getFirstDayOfWeek(){return 1}getMinimalDaysInFirstWeek(){return 1}},Ra=class extends Oa{constructor(){super(`japanese`,[{code:`reiwa`,isoEpoch:{year:2019,month:5,day:1},anchorEpoch:{year:2019,month:5,day:1}},{code:`heisei`,isoEpoch:{year:1989,month:1,day:8},anchorEpoch:{year:1989,month:1,day:8}},{code:`showa`,isoEpoch:{year:1926,month:12,day:25},anchorEpoch:{year:1926,month:12,day:25}},{code:`taisho`,isoEpoch:{year:1912,month:7,day:30},anchorEpoch:{year:1912,month:7,day:30}},{code:`meiji`,isoEpoch:{year:1868,month:9,day:8},anchorEpoch:{year:1868,month:9,day:8}},{code:`japanese`,names:[`japanese`,`gregory`,`ad`,`ce`],isoEpoch:{year:1,month:1,day:1}},{code:`japanese-inverse`,names:[`japanese-inverse`,`gregory-inverse`,`bc`,`bce`],reverseOf:`japanese`}]),this.erasBeginMidYear=!0}reviseIntlEra(e,t){let{era:n,eraYear:r}=e,{year:i}=t;return this.eras.find((e=>e.code===n))?{era:n,eraYear:r}:i<1?{era:`japanese-inverse`,eraYear:1-i}:{era:`japanese`,eraYear:i}}},za=class extends ma{constructor(){super(...arguments),this.calendarType=`lunisolar`}inLeapYear(e,t){let n=this.getMonthList(e.year,t);return Object.entries(n).length===13}monthsInYear(e,t){return this.inLeapYear(e,t)?13:12}minimumMonthLength(){return 29}maximumMonthLength(){return 30}maxLengthOfMonthCodeInAnyYear(e){return[`M01L`,`M09L`,`M10L`,`M11L`,`M12L`].includes(e)?29:30}monthDaySearchStartYear(e,t){let n={M01L:[1651,1651],M02L:[1947,1765],M03L:[1966,1955],M04L:[1963,1944],M05L:[1971,1952],M06L:[1960,1941],M07L:[1968,1938],M08L:[1957,1718],M09L:[1832,1832],M10L:[1870,1870],M11L:[1814,1814],M12L:[1890,1890]}[e]??[1972,1972];return t<30?n[0]:n[1]}getMonthList(e,t){if(e===void 0)throw TypeError(`Missing year`);let n=JSON.stringify({func:`getMonthList`,calendarYear:e,id:this.id}),r=t.get(n);if(r)return r;let i=this.getFormatter(),a=(e,t)=>{let n=fa({isoYear:e,isoMonth:2,isoDay:1}),r=new Date(n);r.setUTCDate(t+1);let a=i.formatToParts(r),o=a.find((e=>e.type===`month`)).value,s=+a.find((e=>e.type===`day`)).value,c=a.find((e=>e.type===`relatedYear`)),l;if(c===void 0)throw RangeError(`Intl.DateTimeFormat.formatToParts lacks relatedYear in ${this.id} calendar. Try Node 14+ or modern browsers.`);return l=+c.value,{calendarMonthString:o,calendarDay:s,calendarYearToVerify:l}},o=17,{calendarMonthString:s,calendarDay:c,calendarYearToVerify:l}=a(e,o);s!==`1`&&(o+=29,{calendarMonthString:s,calendarDay:c}=a(e,o)),o-=c-5;let u={},d,f,p=1,m=!1;do({calendarMonthString:s,calendarDay:c,calendarYearToVerify:l}=a(e,o)),d&&(u[f].daysInMonth=d+30-c),l===e?(u[s]={monthIndex:p++},o+=30):m=!0,d=c,f=s;while(!m);return u[f].daysInMonth=d+30-c,t.set(n,u),u}estimateIsoDate(e){let{year:t,month:n}=e;return{year:t,month:n>=12?12:n+1,day:1}}adjustCalendarDate(e,t,n=`constrain`,r=!1){let{year:i,month:a,monthExtra:o,day:s,monthCode:c}=e;if(i===void 0)throw TypeError(`Missing property: year`);if(r){if(o&&o!==`bis`)throw RangeError(`Unexpected leap month suffix: ${o}`);let e=la(a,o!==void 0),n=`${a}${o||``}`,r=this.getMonthList(i,t)[n];if(r===void 0)throw RangeError(`Unmatched month ${n} in Chinese year ${i}`);return a=r.monthIndex,{year:i,month:a,day:s,monthCode:e}}if(this.validateCalendarDate(e),a===void 0){let e=this.getMonthList(i,t),r=c.replace(/^M|L$/g,(e=>e===`L`?`bis`:``));r[0]===`0`&&(r=r.slice(1));let o=e[r];if(a=o&&o.monthIndex,a===void 0&&c.endsWith(`L`)&&c!=`M13L`&&n===`constrain`){let t=+c.replace(/^M0?|L$/g,``);o=e[t],o&&(a=o.monthIndex,c=la(t))}if(a===void 0)throw RangeError(`Unmatched month ${c} in Chinese year ${i}`)}else if(c===void 0){let e=this.getMonthList(i,t),r=Object.entries(e),o=r.length;n===`reject`?(Z(a,1,o),Z(s,1,this.maximumMonthLength())):(a=Wr(a,1,o),s=Wr(s,1,this.maximumMonthLength()));let l=r.find((e=>e[1].monthIndex===a));if(l===void 0)throw RangeError(`Invalid month ${a} in Chinese year ${i}`);c=la(+l[0].replace(`bis`,``),l[0].indexOf(`bis`)!==-1)}else{let e=this.getMonthList(i,t),n=c.replace(/^M|L$/g,(e=>e===`L`?`bis`:``));n[0]===`0`&&(n=n.slice(1));let r=e[n];if(!r)throw RangeError(`Unmatched monthCode ${c} in Chinese year ${i}`);if(a!==r.monthIndex)throw RangeError(`monthCode ${c} doesn't correspond to month ${a} in Chinese year ${i}`)}return{...e,year:i,month:a,monthCode:c,day:s}}},Ba=class extends za{constructor(){super(...arguments),this.id=`chinese`}},Va=class extends za{constructor(){super(...arguments),this.id=`dangi`}},Ha=class{constructor(e){this.helper=e}extraFields(e){return this.helper.hasEra&&e.includes(`year`)?[`era`,`eraYear`]:[]}resolveFields(e){if(this.helper.calendarType!==`lunisolar`){let t=new da;ua(e,void 0,this.helper.monthsInYear({year:e.year??1972},t))}}dateToISO(e,t){let n=new da,r=this.helper.calendarToIsoDate(e,t,n);return n.setObject(r),r}monthDayToISOReferenceDate(e,t){let n=new da,r=this.helper.monthDayFromFields(e,t,n);return n.setObject(r),r}fieldKeysToIgnore(e){let t=new Set;for(let n=0;n<e.length;n++){let r=e[n];switch(t.add(r),r){case`era`:t.add(`eraYear`),t.add(`year`);break;case`eraYear`:t.add(`era`),t.add(`year`);break;case`year`:t.add(`era`),t.add(`eraYear`);break;case`month`:t.add(`monthCode`),this.helper.erasBeginMidYear&&(t.add(`era`),t.add(`eraYear`));break;case`monthCode`:t.add(`month`),this.helper.erasBeginMidYear&&(t.add(`era`),t.add(`eraYear`));break;case`day`:this.helper.erasBeginMidYear&&(t.add(`era`),t.add(`eraYear`))}}return ia(t)}dateAdd(e,{years:t,months:n,weeks:r,days:i},a){let o=da.getCacheForObject(e),s=this.helper.isoToCalendarDate(e,o),c=this.helper.addCalendar(s,{years:t,months:n,weeks:r,days:i},a,o),l=this.helper.calendarToIsoDate(c,`constrain`,o);return da.getCacheForObject(l)||new da(o).setObject(l),l}dateUntil(e,t,n){let r=da.getCacheForObject(e),i=da.getCacheForObject(t),a=this.helper.isoToCalendarDate(e,r),o=this.helper.isoToCalendarDate(t,i);return this.helper.untilCalendar(a,o,n,r)}isoToDate(e,t){let n=da.getCacheForObject(e),r=this.helper.isoToCalendarDate(e,n);if(t.dayOfWeek&&(r.dayOfWeek=sa.iso8601.isoToDate(e,{dayOfWeek:!0}).dayOfWeek),t.dayOfYear){let e=this.helper.startOfCalendarYear(r);r.dayOfYear=this.helper.calendarDaysUntil(e,r,n)+1}if(t.weekOfYear&&(r.weekOfYear=aa(this.helper.id,e)),r.daysInWeek=7,t.daysInMonth&&(r.daysInMonth=this.helper.daysInMonth(r,n)),t.daysInYear){let e=this.helper.startOfCalendarYear(r),t=this.helper.addCalendar(e,{years:1},`constrain`,n);r.daysInYear=this.helper.calendarDaysUntil(e,t,n)}return t.monthsInYear&&(r.monthsInYear=this.helper.monthsInYear(r,n)),t.inLeapYear&&(r.inLeapYear=this.helper.inLeapYear(r,n)),r}getFirstDayOfWeek(){return this.helper.getFirstDayOfWeek()}getMinimalDaysInFirstWeek(){return this.helper.getMinimalDaysInFirstWeek()}};for(let e of[ha,Ca,Pa,Ma,Na,Ba,Va,Fa,wa,Ia,La,Ra,_a,va,ya,ba,xa,Sa]){let t=new e;sa[t.id]=new Ha(t)}Le(`calendarImpl`,(function(e){return sa[e]}));var Ua=Intl.DateTimeFormat;function Wa(e,t){let n=A(e,t);return typeof n==`function`&&(n=new Ua(A(e,De),n(A(e,Oe))),function(e,t,n){let r=je(e);if(r===void 0)throw TypeError(`Missing slots for the given container`);if(r[t]===void 0)throw TypeError(`tried to reset ${t} which was not set`);r[t]=n}(e,t,n)),n}function Ga(e){return Pe(e,Ce)}var Ka=class{constructor(e=void 0,t=void 0){(function(e,t,n){let r=n!==void 0,i;if(r){let e=[`localeMatcher`,`calendar`,`numberingSystem`,`hour12`,`hourCycle`,`timeZone`,`weekday`,`era`,`year`,`month`,`day`,`dayPeriod`,`hour`,`minute`,`second`,`fractionalSecondDigits`,`timeZoneName`,`formatMatcher`,`dateStyle`,`timeStyle`];i=function(e){if(e==null)throw TypeError(`Expected object not ${e}`);return Object(e)}(n);let t=Object.create(null);for(let n=0;n<e.length;n++){let r=e[n];Object.prototype.hasOwnProperty.call(i,r)&&(t[r]=i[r])}i=t}else i=Object.create(null);let a=new Ua(t,i),o=a.resolvedOptions();if(Ne(e),r){let t=Object.assign(Object.create(null),o);for(let e in t)Object.prototype.hasOwnProperty.call(i,e)||delete t[e];t.hour12=i.hour12,t.hourCycle=i.hourCycle,j(e,Oe,t)}else j(e,Oe,i);j(e,De,o.locale),j(e,Ce,a),j(e,we,o.timeZone),j(e,Ee,o.calendar),j(e,_e,ro),j(e,ve,to),j(e,ye,no),j(e,be,eo),j(e,xe,io),j(e,Se,ao);let s=r?i.timeZone:void 0;if(s===void 0)j(e,Te,o.timeZone);else{let t=bt(s);if(t.startsWith(`−`))throw RangeError(`Unicode minus (U+2212) is not supported in time zone offsets`);j(e,Te,$n(t))}})(this,e,t)}get format(){W(this,Ga);let e=Ya.bind(this);return Object.defineProperties(e,{length:{value:1,enumerable:!1,writable:!1,configurable:!0},name:{value:``,enumerable:!1,writable:!1,configurable:!0}}),e}formatRange(e,t){return W(this,Ga),Za.call(this,e,t)}formatToParts(e,...t){return W(this,Ga),Xa.call(this,e,...t)}formatRangeToParts(e,t){return W(this,Ga),Qa.call(this,e,t)}resolvedOptions(){return W(this,Ga),Ja.call(this)}};`formatToParts`in Ua.prototype||delete Ka.prototype.formatToParts,`formatRangeToParts`in Ua.prototype||delete Ka.prototype.formatRangeToParts;var qa=function(e=void 0,t=void 0){return new Ka(e,t)};function Ja(){let e=A(this,Ce).resolvedOptions();return e.timeZone=A(this,Te),e}function Ya(e,...t){let n,r,i=po(e,this);return i.formatter?(n=i.formatter,r=[Wi(i.epochNs,`floor`)]):(n=A(this,Ce),r=[e,...t]),n.format(...r)}function Xa(e,...t){let n,r,i=po(e,this);return i.formatter?(n=i.formatter,r=[Wi(i.epochNs,`floor`)]):(n=A(this,Ce),r=[e,...t]),n.formatToParts(...r)}function Za(e,t){if(e===void 0||t===void 0)throw TypeError(`Intl.DateTimeFormat.formatRange requires two values`);let n=uo(e),r=uo(t),i,a=[n,r];if(lo(n)!==lo(r))throw TypeError(`Intl.DateTimeFormat.formatRange accepts two values of the same type`);if(lo(n)){if(!fo(n,r))throw TypeError(`Intl.DateTimeFormat.formatRange accepts two values of the same type`);let{epochNs:e,formatter:t}=po(n,this),{epochNs:o,formatter:s}=po(r,this);t&&(i=t,a=[Wi(e,`floor`),Wi(o,`floor`)])}return i||=A(this,Ce),i.formatRange(...a)}function Qa(e,t){if(e===void 0||t===void 0)throw TypeError(`Intl.DateTimeFormat.formatRange requires two values`);let n=uo(e),r=uo(t),i,a=[n,r];if(lo(n)!==lo(r))throw TypeError(`Intl.DateTimeFormat.formatRangeToParts accepts two values of the same type`);if(lo(n)){if(!fo(n,r))throw TypeError(`Intl.DateTimeFormat.formatRangeToParts accepts two values of the same type`);let{epochNs:e,formatter:t}=po(n,this),{epochNs:o,formatter:s}=po(r,this);t&&(i=t,a=[Wi(e,`floor`),Wi(o,`floor`)])}return i||=A(this,Ce),i.formatRangeToParts(...a)}function $a(e={},t={}){let n=Object.assign({},e),r=[`year`,`month`,`day`,`hour`,`minute`,`second`,`weekday`,`dayPeriod`,`timeZoneName`,`dateStyle`,`timeStyle`];for(let e=0;e<r.length;e++){let i=r[e];n[i]=i in t?t[i]:n[i],!1!==n[i]&&n[i]!==void 0||delete n[i]}return n}function eo(e){let t=$a(e,{year:!1,month:!1,day:!1,weekday:!1,timeZoneName:!1,dateStyle:!1});if(t.timeStyle!==`long`&&t.timeStyle!==`full`||(delete t.timeStyle,Object.assign(t,{hour:`numeric`,minute:`2-digit`,second:`2-digit`})),!so(t)){if(co(e))throw TypeError(`cannot format Temporal.PlainTime with options [${Object.keys(e)}]`);Object.assign(t,{hour:`numeric`,minute:`numeric`,second:`numeric`})}return t}function to(e){let t={short:{year:`2-digit`,month:`numeric`},medium:{year:`numeric`,month:`short`},long:{year:`numeric`,month:`long`},full:{year:`numeric`,month:`long`}},n=$a(e,{day:!1,hour:!1,minute:!1,second:!1,weekday:!1,dayPeriod:!1,timeZoneName:!1,timeStyle:!1});if(`dateStyle`in n&&n.dateStyle){let e=n.dateStyle;delete n.dateStyle,Object.assign(n,t[e])}if(!(`year`in n||`month`in n||`era`in n)){if(co(e))throw TypeError(`cannot format PlainYearMonth with options [${Object.keys(e)}]`);Object.assign(n,{year:`numeric`,month:`numeric`})}return n}function no(e){let t={short:{month:`numeric`,day:`numeric`},medium:{month:`short`,day:`numeric`},long:{month:`long`,day:`numeric`},full:{month:`long`,day:`numeric`}},n=$a(e,{year:!1,hour:!1,minute:!1,second:!1,weekday:!1,dayPeriod:!1,timeZoneName:!1,timeStyle:!1});if(`dateStyle`in n&&n.dateStyle){let e=n.dateStyle;delete n.dateStyle,Object.assign(n,t[e])}if(!(`month`in n)&&!(`day`in n)){if(co(e))throw TypeError(`cannot format PlainMonthDay with options [${Object.keys(e)}]`);Object.assign(n,{month:`numeric`,day:`numeric`})}return n}function ro(e){let t=$a(e,{hour:!1,minute:!1,second:!1,dayPeriod:!1,timeZoneName:!1,timeStyle:!1});if(!oo(t)){if(co(e))throw TypeError(`cannot format PlainDate with options [${Object.keys(e)}]`);Object.assign(t,{year:`numeric`,month:`numeric`,day:`numeric`})}return t}function io(e){let t=$a(e,{timeZoneName:!1});if((t.timeStyle===`long`||t.timeStyle===`full`)&&(delete t.timeStyle,Object.assign(t,{hour:`numeric`,minute:`2-digit`,second:`2-digit`}),t.dateStyle)&&(Object.assign(t,{short:{year:`numeric`,month:`numeric`,day:`numeric`},medium:{year:`numeric`,month:`short`,day:`numeric`},long:{year:`numeric`,month:`long`,day:`numeric`},full:{year:`numeric`,month:`long`,day:`numeric`,weekday:`long`}}[t.dateStyle]),delete t.dateStyle),!so(t)&&!oo(t)){if(co(e))throw TypeError(`cannot format PlainDateTime with options [${Object.keys(e)}]`);Object.assign(t,{year:`numeric`,month:`numeric`,day:`numeric`,hour:`numeric`,minute:`numeric`,second:`numeric`})}return t}function ao(e){let t=e;return so(t)||oo(t)||(t=Object.assign({},t,{year:`numeric`,month:`numeric`,day:`numeric`,hour:`numeric`,minute:`numeric`,second:`numeric`})),t}function oo(e){return`year`in e||`month`in e||`day`in e||`weekday`in e||`dateStyle`in e||`era`in e}function so(e){return`hour`in e||`minute`in e||`second`in e||`timeStyle`in e||`dayPeriod`in e||`fractionalSecondDigits`in e}function co(e){return oo(e)||so(e)||`dateStyle`in e||`timeStyle`in e||`timeZoneName`in e}function lo(e){return z(e)||B(e)||V(e)||U(e)||H(e)||Lt(e)||L(e)}function uo(e){return lo(e)?e:yt(e)}function fo(e,t){return!(!lo(e)||!lo(t)||B(e)&&!B(t)||z(e)&&!z(t)||V(e)&&!V(t)||U(e)&&!U(t)||H(e)&&!H(t)||Lt(e)&&!Lt(t)||L(e)&&!L(t))}function po(e,t){if(B(e)){let n={isoDate:{year:1970,month:1,day:1},time:A(e,D)};return{epochNs:Y(A(t,we),n,`compatible`),formatter:Wa(t,be)}}if(H(e)){let n=A(e,O),r=A(t,Ee);if(n!==r)throw RangeError(`cannot format PlainYearMonth with calendar ${n} in locale with calendar ${r}`);let i=K(A(e,T),{deltaDays:0,hour:12,minute:0,second:0,millisecond:0,microsecond:0,nanosecond:0});return{epochNs:Y(A(t,we),i,`compatible`),formatter:Wa(t,ve)}}if(Lt(e)){let n=A(e,O),r=A(t,Ee);if(n!==r)throw RangeError(`cannot format PlainMonthDay with calendar ${n} in locale with calendar ${r}`);let i=K(A(e,T),{deltaDays:0,hour:12,minute:0,second:0,millisecond:0,microsecond:0,nanosecond:0});return{epochNs:Y(A(t,we),i,`compatible`),formatter:Wa(t,ye)}}if(z(e)){let n=A(e,O),r=A(t,Ee);if(n!==`iso8601`&&n!==r)throw RangeError(`cannot format PlainDate with calendar ${n} in locale with calendar ${r}`);let i=K(A(e,T),{deltaDays:0,hour:12,minute:0,second:0,millisecond:0,microsecond:0,nanosecond:0});return{epochNs:Y(A(t,we),i,`compatible`),formatter:Wa(t,_e)}}if(V(e)){let n=A(e,O),r=A(t,Ee);if(n!==`iso8601`&&n!==r)throw RangeError(`cannot format PlainDateTime with calendar ${n} in locale with calendar ${r}`);let i=A(e,E);return{epochNs:Y(A(t,we),i,`compatible`),formatter:Wa(t,xe)}}if(U(e))throw TypeError(`Temporal.ZonedDateTime not supported in DateTimeFormat methods. Use toLocaleString() instead.`);return L(e)?{epochNs:A(e,w),formatter:Wa(t,Se)}:{}}function mo(e){let t=Object.create(null);return t.years=A(e,se),t.months=A(e,ce),t.weeks=A(e,le),t.days=A(e,ue),t.hours=A(e,de),t.minutes=A(e,fe),t.seconds=A(e,pe),t.milliseconds=A(e,me),t.microseconds=A(e,he),t.nanoseconds=A(e,ge),t}Ka.prototype.constructor=qa,Object.defineProperty(qa,`prototype`,{value:Ka.prototype,writable:!1,enumerable:!1,configurable:!1}),qa.supportedLocalesOf=Ua.supportedLocalesOf,Ie(qa,`Intl.DateTimeFormat`);var{format:ho,formatToParts:go}=Intl.DurationFormat?.prototype??Object.create(null);function _o(e){Intl.DurationFormat.prototype.resolvedOptions.call(this);let t=mo(Sn(e));return ho.call(this,t)}Intl.DurationFormat?.prototype&&(Intl.DurationFormat.prototype.format=_o,Intl.DurationFormat.prototype.formatToParts=function(e){Intl.DurationFormat.prototype.resolvedOptions.call(this);let t=mo(Sn(e));return go.call(this,t)}),Object.freeze({__proto__:null,DateTimeFormat:qa,ModifiedIntlDurationFormatPrototypeFormat:_o});var vo=class{constructor(e){if(arguments.length<1)throw TypeError(`missing argument: epochNanoseconds is required`);Bn(this,Ki(e))}get epochMilliseconds(){return W(this,L),Wi(A(this,w),`floor`)}get epochNanoseconds(){return W(this,L),Ui(c.default.BigInt(A(this,w)))}add(e){return W(this,L),Oi(`add`,this,e)}subtract(e){return W(this,L),Oi(`subtract`,this,e)}until(e,t=void 0){return W(this,L),vi(`until`,this,e,t)}since(e,t=void 0){return W(this,L),vi(`since`,this,e,t)}round(e){if(W(this,L),e===void 0)throw TypeError(`options parameter is required`);let t=typeof e==`string`?Xi(`smallestUnit`,e):Q(e),n=nn(t),r=$t(t,`halfExpand`),i=cn(t,`smallestUnit`,`time`,sn);return rn(n,{hour:24,minute:1440,second:86400,millisecond:864e5,microsecond:864e8,nanosecond:864e11}[i],!0),Vn(Fi(A(this,w),n,i,r))}equals(e){W(this,L);let t=Cn(e),n=A(this,w),r=A(t,w);return c.default.equal(c.default.BigInt(n),c.default.BigInt(r))}toString(e=void 0){W(this,L);let t=Q(e),n=an(t),r=$t(t,`trunc`),i=cn(t,`smallestUnit`,`time`,void 0);if(i===`hour`)throw RangeError(`smallestUnit must be a time unit other than "hour"`);let a=t.timeZone;a!==void 0&&(a=$n(a));let{precision:o,unit:s,increment:c}=on(i,n);return dr(Vn(Fi(A(this,w),c,s,r)),a,o)}toJSON(){return W(this,L),dr(this,void 0,`auto`)}toLocaleString(e=void 0,t=void 0){return W(this,L),new qa(e,t).format(this)}valueOf(){ea(`Instant`)}toZonedDateTimeISO(e){W(this,L);let t=$n(e);return J(A(this,w),t,`iso8601`)}static fromEpochMilliseconds(e){return Vn(Gi(yt(e)))}static fromEpochNanoseconds(e){return Vn(Ki(e))}static from(e){return Cn(e)}static compare(e,t){let n=Cn(e),r=Cn(t),i=A(n,w),a=A(r,w);return c.default.lessThan(i,a)?-1:+!!c.default.greaterThan(i,a)}};Ie(vo,`Temporal.Instant`);var yo=class{constructor(e,t,n,r=`iso8601`){let i=F(e),a=F(t),o=F(n),s=Qi(r===void 0?`iso8601`:I(r));Kr(i,a,o),An(this,{year:i,month:a,day:o},s)}get calendarId(){return W(this,z),A(this,O)}get era(){return bo(this,`era`)}get eraYear(){return bo(this,`eraYear`)}get year(){return bo(this,`year`)}get month(){return bo(this,`month`)}get monthCode(){return bo(this,`monthCode`)}get day(){return bo(this,`day`)}get dayOfWeek(){return bo(this,`dayOfWeek`)}get dayOfYear(){return bo(this,`dayOfYear`)}get weekOfYear(){return bo(this,`weekOfYear`)?.week}get yearOfWeek(){return bo(this,`weekOfYear`)?.year}get daysInWeek(){return bo(this,`daysInWeek`)}get daysInMonth(){return bo(this,`daysInMonth`)}get daysInYear(){return bo(this,`daysInYear`)}get monthsInYear(){return bo(this,`monthsInYear`)}get inLeapYear(){return bo(this,`inLeapYear`)}with(e,t=void 0){if(W(this,z),!P(e))throw TypeError(`invalid argument`);Rt(e);let n=A(this,O),r=gn(n,A(this,T));return r=Wn(n,r,_n(n,e,[`year`,`month`,`monthCode`,`day`],[],`partial`)),jn(Xn(n,r,q(Q(t))),n)}withCalendar(e){W(this,z);let t=qn(e);return jn(A(this,T),t)}add(e,t=void 0){return W(this,z),ki(`add`,this,e,t)}subtract(e,t=void 0){return W(this,z),ki(`subtract`,this,e,t)}until(e,t=void 0){return W(this,z),yi(`until`,this,e,t)}since(e,t=void 0){return W(this,z),yi(`since`,this,e,t)}equals(e){W(this,z);let t=yn(e);return Bi(A(this,T),A(t,T))===0&&Yn(A(this,O),A(t,O))}toString(e=void 0){return W(this,z),pr(this,tn(Q(e)))}toJSON(){return W(this,z),pr(this)}toLocaleString(e=void 0,t=void 0){return W(this,z),new qa(e,t).format(this)}valueOf(){ea(`PlainDate`)}toPlainDateTime(e=void 0){W(this,z);let t=En(e);return Nn(K(A(this,T),t),A(this,O))}toZonedDateTime(e){let t,n;if(W(this,z),P(e)){let r=e.timeZone;r===void 0?t=$n(e):(t=$n(r),n=e.plainTime)}else t=$n(e);let r=A(this,T),i;return n===void 0?i=or(t,r):(n=Tn(n),i=Y(t,K(r,A(n,D)),`compatible`)),J(i,t,A(this,O))}toPlainYearMonth(){W(this,z);let e=A(this,O);return zn(Zn(e,gn(e,A(this,T)),`constrain`),e)}toPlainMonthDay(){W(this,z);let e=A(this,O);return Fn(Qn(e,gn(e,A(this,T)),`constrain`),e)}static from(e,t=void 0){return yn(e,t)}static compare(e,t){let n=yn(e),r=yn(t);return Bi(A(n,T),A(r,T))}};function bo(e,t){W(e,z);let n=A(e,T);return hn(e).isoToDate(n,{[t]:!0})[t]}Ie(yo,`Temporal.PlainDate`);var xo=class{constructor(e,t,n,r=0,i=0,a=0,o=0,s=0,c=0,l=`iso8601`){let u=F(e),d=F(t),f=F(n),p=r===void 0?0:F(r),m=i===void 0?0:F(i),h=a===void 0?0:F(a),g=o===void 0?0:F(o),_=s===void 0?0:F(s),v=c===void 0?0:F(c),y=Qi(l===void 0?`iso8601`:I(l));Yr(u,d,f,p,m,h,g,_,v),Mn(this,{isoDate:{year:u,month:d,day:f},time:{hour:p,minute:m,second:h,millisecond:g,microsecond:_,nanosecond:v}},y)}get calendarId(){return W(this,V),A(this,O)}get year(){return So(this,`year`)}get month(){return So(this,`month`)}get monthCode(){return So(this,`monthCode`)}get day(){return So(this,`day`)}get hour(){return Co(this,`hour`)}get minute(){return Co(this,`minute`)}get second(){return Co(this,`second`)}get millisecond(){return Co(this,`millisecond`)}get microsecond(){return Co(this,`microsecond`)}get nanosecond(){return Co(this,`nanosecond`)}get era(){return So(this,`era`)}get eraYear(){return So(this,`eraYear`)}get dayOfWeek(){return So(this,`dayOfWeek`)}get dayOfYear(){return So(this,`dayOfYear`)}get weekOfYear(){return So(this,`weekOfYear`)?.week}get yearOfWeek(){return So(this,`weekOfYear`)?.year}get daysInWeek(){return So(this,`daysInWeek`)}get daysInYear(){return So(this,`daysInYear`)}get daysInMonth(){return So(this,`daysInMonth`)}get monthsInYear(){return So(this,`monthsInYear`)}get inLeapYear(){return So(this,`inLeapYear`)}with(e,t=void 0){if(W(this,V),!P(e))throw TypeError(`invalid argument`);Rt(e);let n=A(this,O),r=A(this,E),i={...gn(n,r.isoDate),...r.time};return i=Wn(n,i,_n(n,e,[`year`,`month`,`monthCode`,`day`],[`hour`,`minute`,`second`,`millisecond`,`microsecond`,`nanosecond`],`partial`)),Nn(bn(n,i,q(Q(t))),n)}withPlainTime(e=void 0){W(this,V);let t=En(e);return Nn(K(A(this,E).isoDate,t),A(this,O))}withCalendar(e){W(this,V);let t=qn(e);return Nn(A(this,E),t)}add(e,t=void 0){return W(this,V),Ai(`add`,this,e,t)}subtract(e,t=void 0){return W(this,V),Ai(`subtract`,this,e,t)}until(e,t=void 0){return W(this,V),bi(`until`,this,e,t)}since(e,t=void 0){return W(this,V),bi(`since`,this,e,t)}round(e){if(W(this,V),e===void 0)throw TypeError(`options parameter is required`);let t=typeof e==`string`?Xi(`smallestUnit`,e):Q(e),n=nn(t),r=$t(t,`halfExpand`),i=cn(t,`smallestUnit`,`time`,sn,[`day`]),a={day:1,hour:24,minute:60,second:60,millisecond:1e3,microsecond:1e3,nanosecond:1e3}[i];rn(n,a,a===1);let o=A(this,E);return Nn(n===1&&i===`nanosecond`?o:Ii(o,n,i,r),A(this,O))}equals(e){W(this,V);let t=xn(e);return Hi(A(this,E),A(t,E))===0&&Yn(A(this,O),A(t,O))}toString(e=void 0){W(this,V);let t=Q(e),n=tn(t),r=an(t),i=$t(t,`trunc`),a=cn(t,`smallestUnit`,`time`,void 0);if(a===`hour`)throw RangeError(`smallestUnit must be a time unit other than "hour"`);let{precision:o,unit:s,increment:c}=on(a,r),l=Ii(A(this,E),c,s,i);return Xr(l),hr(l,A(this,O),o,n)}toJSON(){return W(this,V),hr(A(this,E),A(this,O),`auto`)}toLocaleString(e=void 0,t=void 0){return W(this,V),new qa(e,t).format(this)}valueOf(){ea(`PlainDateTime`)}toZonedDateTime(e,t=void 0){W(this,V);let n=$n(e),r=Qt(Q(t));return J(Y(n,A(this,E),r),n,A(this,O))}toPlainDate(){return W(this,V),jn(A(this,E).isoDate,A(this,O))}toPlainTime(){return W(this,V),Ln(A(this,E).time)}static from(e,t=void 0){return xn(e,t)}static compare(e,t){let n=xn(e),r=xn(t);return Hi(A(n,E),A(r,E))}};function So(e,t){W(e,V);let n=A(e,E).isoDate;return hn(e).isoToDate(n,{[t]:!0})[t]}function Co(e,t){return W(e,V),A(e,E).time[t]}Ie(xo,`Temporal.PlainDateTime`);var wo=class e{constructor(e=0,t=0,n=0,r=0,i=0,a=0,o=0,s=0,c=0,l=0){let u=e===void 0?0:St(e),d=t===void 0?0:St(t),f=n===void 0?0:St(n),p=r===void 0?0:St(r),m=i===void 0?0:St(i),h=a===void 0?0:St(a),g=o===void 0?0:St(o),_=s===void 0?0:St(s),v=c===void 0?0:St(c),y=l===void 0?0:St(l);ei(u,d,f,p,m,h,g,_,v,y),Ne(this),j(this,se,u),j(this,ce,d),j(this,le,f),j(this,ue,p),j(this,de,m),j(this,fe,h),j(this,pe,g),j(this,me,_),j(this,he,v),j(this,ge,y)}get years(){return W(this,R),A(this,se)}get months(){return W(this,R),A(this,ce)}get weeks(){return W(this,R),A(this,le)}get days(){return W(this,R),A(this,ue)}get hours(){return W(this,R),A(this,de)}get minutes(){return W(this,R),A(this,fe)}get seconds(){return W(this,R),A(this,pe)}get milliseconds(){return W(this,R),A(this,me)}get microseconds(){return W(this,R),A(this,he)}get nanoseconds(){return W(this,R),A(this,ge)}get sign(){return W(this,R),Fr(this)}get blank(){return W(this,R),Fr(this)===0}with(t){W(this,R);let{years:n=A(this,se),months:r=A(this,ce),weeks:i=A(this,le),days:a=A(this,ue),hours:o=A(this,de),minutes:s=A(this,fe),seconds:c=A(this,pe),milliseconds:l=A(this,me),microseconds:u=A(this,he),nanoseconds:d=A(this,ge)}=Zt(t);return new e(n,r,i,a,o,s,c,l,u,d)}negated(){return W(this,R),Ur(this)}abs(){return W(this,R),new e(Math.abs(A(this,se)),Math.abs(A(this,ce)),Math.abs(A(this,le)),Math.abs(A(this,ue)),Math.abs(A(this,de)),Math.abs(A(this,fe)),Math.abs(A(this,pe)),Math.abs(A(this,me)),Math.abs(A(this,he)),Math.abs(A(this,ge)))}add(e){return W(this,R),Di(`add`,this,e)}subtract(e){return W(this,R),Di(`subtract`,this,e)}round(e){if(W(this,R),e===void 0)throw TypeError(`options parameter is required`);let t=un(this),n=typeof e==`string`?Xi(`smallestUnit`,e):Q(e),r=cn(n,`largestUnit`,`datetime`,void 0,[`auto`]),{plainRelativeTo:i,zonedRelativeTo:a}=ln(n),o=nn(n),s=$t(n,`halfExpand`),c=cn(n,`smallestUnit`,`datetime`,void 0),l=!0;c||=(l=!1,`nanosecond`);let u=dn(t,c),d=!0;if(r||=(d=!1,u),r===`auto`&&(r=u),!l&&!d)throw RangeError(`at least one of smallestUnit or largestUnit is required`);if(dn(r,c)!==r)throw RangeError(`largestUnit ${r} cannot be smaller than smallestUnit ${c}`);let f={hour:24,minute:60,second:60,millisecond:1e3,microsecond:1e3,nanosecond:1e3}[c];if(f!==void 0&&rn(o,f,!1),o>1&&pn(c)===`date`&&r!==c)throw RangeError(`For calendar units with roundingIncrement > 1, use largestUnit = smallestUnit`);if(a){let e=ti(this),t=A(a,k),n=A(a,O),i=A(a,w);return e=gi(i,Ei(i,t,n,e),t,n,r,o,c,s),pn(r)===`date`&&(r=`hour`),ii(e,r)}if(i){let e=ni(this),t=wi({deltaDays:0,hour:0,minute:0,second:0,millisecond:0,microsecond:0,nanosecond:0},e.time),n=A(i,T),a=A(i,O),l=Gn(a,n,G(e.date,t.deltaDays),`constrain`);return e=hi(K(n,{deltaDays:0,hour:0,minute:0,second:0,millisecond:0,microsecond:0,nanosecond:0}),K(l,t),a,r,o,c,s),ii(e,r)}if(fn(t))throw RangeError(`a starting point is required for ${t}s balancing`);if(fn(r))throw RangeError(`a starting point is required for ${r}s balancing`);let p=ni(this);if(c===`day`){let{quotient:e,remainder:t}=p.time.divmod(ot),n=p.date.days+e+zi(t,`day`);n=Pi(n,o,s),p=ai({years:0,months:0,weeks:0,days:n},N.ZERO)}else p=ai({years:0,months:0,weeks:0,days:0},Ri(p.time,o,c,s));return ii(p,r)}total(e){if(W(this,R),e===void 0)throw TypeError(`options argument is required`);let t=typeof e==`string`?Xi(`unit`,e):Q(e),{plainRelativeTo:n,zonedRelativeTo:r}=ln(t),i=cn(t,`unit`,`datetime`,sn);if(r){let e=ti(this),t=A(r,k),n=A(r,O),a=A(r,w);return function(e,t,n,r,i){return pn(i)===`time`?zi(N.fromEpochNsDiff(t,e),i):mi(di(e,t,n,r,i),t,rr(n,e),n,r,i)}(a,Ei(a,t,n,e),t,n,i)}if(n){let e=ni(this),t=wi({deltaDays:0,hour:0,minute:0,second:0,millisecond:0,microsecond:0,nanosecond:0},e.time),r=A(n,T),a=A(n,O),o=Gn(a,r,G(e.date,t.deltaDays),`constrain`);return function(e,t,n,r){if(Hi(e,t)==0)return 0;Xr(e),Xr(t);let i=ui(e,t,n,r);return r===`nanosecond`?c.default.toNumber(i.time.totalNs):mi(i,X(t),e,null,n,r)}(K(r,{deltaDays:0,hour:0,minute:0,second:0,millisecond:0,microsecond:0,nanosecond:0}),K(o,t),a,i)}let a=un(this);if(fn(a))throw RangeError(`a starting point is required for ${a}s total`);if(fn(i))throw RangeError(`a starting point is required for ${i}s total`);return zi(ni(this).time,i)}toString(e=void 0){W(this,R);let t=Q(e),n=an(t),r=$t(t,`trunc`),i=cn(t,`smallestUnit`,`time`,void 0);if(i===`hour`||i===`minute`)throw RangeError(`smallestUnit must be a time unit other than "hours" or "minutes"`);let{precision:a,unit:o,increment:s}=on(i,n);if(o===`nanosecond`&&s===1)return fr(this,a);let c=un(this),l=ti(this),u=Ri(l.time,s,o,r);return l=ai(l.date,u),fr(ii(l,dn(c,`second`)),a)}toJSON(){return W(this,R),fr(this,`auto`)}toLocaleString(e=void 0,t=void 0){if(W(this,R),typeof Intl.DurationFormat==`function`){let n=new Intl.DurationFormat(e,t);return _o.call(n,this)}return console.warn(`Temporal.Duration.prototype.toLocaleString() requires Intl.DurationFormat.`),fr(this,`auto`)}valueOf(){ea(`Duration`)}static from(e){return Sn(e)}static compare(e,t,n=void 0){let r=Sn(e),i=Sn(t),{plainRelativeTo:a,zonedRelativeTo:o}=ln(Q(n));if(A(r,se)===A(i,se)&&A(r,ce)===A(i,ce)&&A(r,le)===A(i,le)&&A(r,ue)===A(i,ue)&&A(r,de)===A(i,de)&&A(r,fe)===A(i,fe)&&A(r,pe)===A(i,pe)&&A(r,me)===A(i,me)&&A(r,he)===A(i,he)&&A(r,ge)===A(i,ge))return 0;let s=un(r),l=un(i),u=ti(r),d=ti(i);if(o&&(pn(s)===`date`||pn(l)===`date`)){let e=A(o,k),t=A(o,O),n=A(o,w),r=Ei(n,e,t,u),i=Ei(n,e,t,d);return Yi(c.default.toNumber(c.default.subtract(r,i)))}let f=u.date.days,p=d.date.days;if(fn(s)||fn(l)){if(!a)throw RangeError(`A starting point is required for years, months, or weeks comparison`);f=Hr(u.date,a),p=Hr(d.date,a)}let m=u.time.add24HourDays(f),h=d.time.add24HourDays(p);return m.cmp(h)}};Ie(wo,`Temporal.Duration`);var To=class{constructor(e,t,n=`iso8601`,r=1972){let i=F(e),a=F(t),o=Qi(n===void 0?`iso8601`:I(n)),s=F(r);Kr(s,i,a),Pn(this,{year:s,month:i,day:a},o)}get monthCode(){return Eo(this,`monthCode`)}get day(){return Eo(this,`day`)}get calendarId(){return W(this,Lt),A(this,O)}with(e,t=void 0){if(W(this,Lt),!P(e))throw TypeError(`invalid argument`);Rt(e);let n=A(this,O),r=gn(n,A(this,T),`month-day`);return r=Wn(n,r,_n(n,e,[`year`,`month`,`monthCode`,`day`],[],`partial`)),Fn(Qn(n,r,q(Q(t))),n)}equals(e){W(this,Lt);let t=wn(e);return Bi(A(this,T),A(t,T))===0&&Yn(A(this,O),A(t,O))}toString(e=void 0){return W(this,Lt),gr(this,tn(Q(e)))}toJSON(){return W(this,Lt),gr(this)}toLocaleString(e=void 0,t=void 0){return W(this,Lt),new qa(e,t).format(this)}valueOf(){ea(`PlainMonthDay`)}toPlainDate(e){if(W(this,Lt),!P(e))throw TypeError(`argument should be an object`);let t=A(this,O);return jn(Xn(t,Wn(t,gn(t,A(this,T),`month-day`),_n(t,e,[`year`],[],[])),`constrain`),t)}static from(e,t=void 0){return wn(e,t)}};function Eo(e,t){W(e,Lt);let n=A(e,T);return hn(e).isoToDate(n,{[t]:!0})[t]}function Do(e){return rr(e,qi())}Ie(To,`Temporal.PlainMonthDay`);var Oo={instant:()=>Vn(qi()),plainDateTimeISO:(e=Ji())=>Nn(Do($n(e)),`iso8601`),plainDateISO:(e=Ji())=>jn(Do($n(e)).isoDate,`iso8601`),plainTimeISO:(e=Ji())=>Ln(Do($n(e)).time),timeZoneId:()=>Ji(),zonedDateTimeISO:(e=Ji())=>{let t=$n(e);return J(qi(),t,`iso8601`)},[Symbol.toStringTag]:`Temporal.Now`};Object.defineProperty(Oo,Symbol.toStringTag,{value:`Temporal.Now`,writable:!1,enumerable:!1,configurable:!0});var ko=class e{constructor(e=0,t=0,n=0,r=0,i=0,a=0){let o=e===void 0?0:F(e),s=t===void 0?0:F(t),c=n===void 0?0:F(n),l=r===void 0?0:F(r),u=i===void 0?0:F(i),d=a===void 0?0:F(a);Jr(o,s,c,l,u,d),In(this,{hour:o,minute:s,second:c,millisecond:l,microsecond:u,nanosecond:d})}get hour(){return W(this,B),A(this,D).hour}get minute(){return W(this,B),A(this,D).minute}get second(){return W(this,B),A(this,D).second}get millisecond(){return W(this,B),A(this,D).millisecond}get microsecond(){return W(this,B),A(this,D).microsecond}get nanosecond(){return W(this,B),A(this,D).nanosecond}with(t,n=void 0){if(W(this,B),!P(t))throw TypeError(`invalid argument`);Rt(t);let r=vn(t,`partial`),i=vn(this),{hour:a,minute:o,second:s,millisecond:c,microsecond:l,nanosecond:u}=Object.assign(i,r),d=q(Q(n));return{hour:a,minute:o,second:s,millisecond:c,microsecond:l,nanosecond:u}=Xt(a,o,s,c,l,u,d),new e(a,o,s,c,l,u)}add(e){return W(this,B),ji(`add`,this,e)}subtract(e){return W(this,B),ji(`subtract`,this,e)}until(e,t=void 0){return W(this,B),xi(`until`,this,e,t)}since(e,t=void 0){return W(this,B),xi(`since`,this,e,t)}round(e){if(W(this,B),e===void 0)throw TypeError(`options parameter is required`);let t=typeof e==`string`?Xi(`smallestUnit`,e):Q(e),n=nn(t),r=$t(t,`halfExpand`),i=cn(t,`smallestUnit`,`time`,sn);return rn(n,{hour:24,minute:60,second:60,millisecond:1e3,microsecond:1e3,nanosecond:1e3}[i],!1),Ln(Li(A(this,D),n,i,r))}equals(e){W(this,B);let t=Tn(e);return Vi(A(this,D),A(t,D))===0}toString(e=void 0){W(this,B);let t=Q(e),n=an(t),r=$t(t,`trunc`),i=cn(t,`smallestUnit`,`time`,void 0);if(i===`hour`)throw RangeError(`smallestUnit must be a time unit other than "hour"`);let{precision:a,unit:o,increment:s}=on(i,n);return mr(Li(A(this,D),s,o,r),a)}toJSON(){return W(this,B),mr(A(this,D),`auto`)}toLocaleString(e=void 0,t=void 0){return W(this,B),new qa(e,t).format(this)}valueOf(){ea(`PlainTime`)}static from(e,t=void 0){return Tn(e,t)}static compare(e,t){let n=Tn(e),r=Tn(t);return Vi(A(n,D),A(r,D))}};Ie(ko,`Temporal.PlainTime`);var Ao=class{constructor(e,t,n=`iso8601`,r=1){let i=F(e),a=F(t),o=Qi(n===void 0?`iso8601`:I(n)),s=F(r);Kr(i,a,s),Rn(this,{year:i,month:a,day:s},o)}get year(){return jo(this,`year`)}get month(){return jo(this,`month`)}get monthCode(){return jo(this,`monthCode`)}get calendarId(){return W(this,H),A(this,O)}get era(){return jo(this,`era`)}get eraYear(){return jo(this,`eraYear`)}get daysInMonth(){return jo(this,`daysInMonth`)}get daysInYear(){return jo(this,`daysInYear`)}get monthsInYear(){return jo(this,`monthsInYear`)}get inLeapYear(){return jo(this,`inLeapYear`)}with(e,t=void 0){if(W(this,H),!P(e))throw TypeError(`invalid argument`);Rt(e);let n=A(this,O),r=gn(n,A(this,T),`year-month`);return r=Wn(n,r,_n(n,e,[`year`,`month`,`monthCode`],[],`partial`)),zn(Zn(n,r,q(Q(t))),n)}add(e,t=void 0){return W(this,H),Mi(`add`,this,e,t)}subtract(e,t=void 0){return W(this,H),Mi(`subtract`,this,e,t)}until(e,t=void 0){return W(this,H),Si(`until`,this,e,t)}since(e,t=void 0){return W(this,H),Si(`since`,this,e,t)}equals(e){W(this,H);let t=Dn(e);return Bi(A(this,T),A(t,T))===0&&Yn(A(this,O),A(t,O))}toString(e=void 0){return W(this,H),_r(this,tn(Q(e)))}toJSON(){return W(this,H),_r(this)}toLocaleString(e=void 0,t=void 0){return W(this,H),new qa(e,t).format(this)}valueOf(){ea(`PlainYearMonth`)}toPlainDate(e){if(W(this,H),!P(e))throw TypeError(`argument should be an object`);let t=A(this,O);return jn(Xn(t,Wn(t,gn(t,A(this,T),`year-month`),_n(t,e,[`day`],[],[])),`constrain`),t)}static from(e,t=void 0){return Dn(e,t)}static compare(e,t){let n=Dn(e),r=Dn(t);return Bi(A(n,T),A(r,T))}};function jo(e,t){W(e,H);let n=A(e,T);return hn(e).isoToDate(n,{[t]:!0})[t]}Ie(Ao,`Temporal.PlainYearMonth`);var Mo=qa.prototype.resolvedOptions,No=class{constructor(e,t,n=`iso8601`){if(arguments.length<1)throw TypeError(`missing argument: epochNanoseconds is required`);let r=Ki(e),i=I(t),{tzName:a,offsetMinutes:o}=Jt(i);if(o===void 0){let e=Cr(a);if(!e)throw RangeError(`unknown time zone ${a}`);i=e.identifier}else i=Er(o);Hn(this,r,i,Qi(n===void 0?`iso8601`:I(n)))}get calendarId(){return W(this,U),A(this,O)}get timeZoneId(){return W(this,U),A(this,k)}get year(){return Fo(this,`year`)}get month(){return Fo(this,`month`)}get monthCode(){return Fo(this,`monthCode`)}get day(){return Fo(this,`day`)}get hour(){return Io(this,`hour`)}get minute(){return Io(this,`minute`)}get second(){return Io(this,`second`)}get millisecond(){return Io(this,`millisecond`)}get microsecond(){return Io(this,`microsecond`)}get nanosecond(){return Io(this,`nanosecond`)}get era(){return Fo(this,`era`)}get eraYear(){return Fo(this,`eraYear`)}get epochMilliseconds(){return W(this,U),Wi(A(this,w),`floor`)}get epochNanoseconds(){return W(this,U),Ui(A(this,w))}get dayOfWeek(){return Fo(this,`dayOfWeek`)}get dayOfYear(){return Fo(this,`dayOfYear`)}get weekOfYear(){return Fo(this,`weekOfYear`)?.week}get yearOfWeek(){return Fo(this,`weekOfYear`)?.year}get hoursInDay(){W(this,U);let e=A(this,k),t=Po(this).isoDate,n=zr(t.year,t.month,t.day+1),r=or(e,t),i=or(e,n);return zi(N.fromEpochNsDiff(i,r),`hour`)}get daysInWeek(){return Fo(this,`daysInWeek`)}get daysInMonth(){return Fo(this,`daysInMonth`)}get daysInYear(){return Fo(this,`daysInYear`)}get monthsInYear(){return Fo(this,`monthsInYear`)}get inLeapYear(){return Fo(this,`inLeapYear`)}get offset(){return W(this,U),nr(tr(A(this,k),A(this,w)))}get offsetNanoseconds(){return W(this,U),tr(A(this,k),A(this,w))}with(e,t=void 0){if(W(this,U),!P(e))throw TypeError(`invalid zoned-date-time-like`);Rt(e);let n=A(this,O),r=A(this,k),i=tr(r,A(this,w)),a=Po(this),o={...gn(n,a.isoDate),...a.time,offset:nr(i)};o=Wn(n,o,_n(n,e,[`year`,`month`,`monthCode`,`day`],[`hour`,`minute`,`second`,`millisecond`,`microsecond`,`nanosecond`,`offset`],`partial`));let s=Q(t),c=Qt(s),l=en(s,`prefer`),u=bn(n,o,q(s)),d=br(o.offset);return J(On(u.isoDate,u.time,`option`,d,r,c,l,!1),r,n)}withPlainTime(e=void 0){W(this,U);let t=A(this,k),n=A(this,O),r=Po(this).isoDate,i;return i=e===void 0?or(t,r):Y(t,K(r,A(Tn(e),D)),`compatible`),J(i,t,n)}withTimeZone(e){W(this,U);let t=$n(e);return J(A(this,w),t,A(this,O))}withCalendar(e){W(this,U);let t=qn(e);return J(A(this,w),A(this,k),t)}add(e,t=void 0){return W(this,U),Ni(`add`,this,e,t)}subtract(e,t=void 0){return W(this,U),Ni(`subtract`,this,e,t)}until(e,t=void 0){return W(this,U),Ci(`until`,this,e,t)}since(e,t=void 0){return W(this,U),Ci(`since`,this,e,t)}round(e){if(W(this,U),e===void 0)throw TypeError(`options parameter is required`);let t=typeof e==`string`?Xi(`smallestUnit`,e):Q(e),n=nn(t),r=$t(t,`halfExpand`),i=cn(t,`smallestUnit`,`time`,sn,[`day`]),a={day:1,hour:24,minute:60,second:60,millisecond:1e3,microsecond:1e3,nanosecond:1e3}[i];if(rn(n,a,a===1),i===`nanosecond`&&n===1)return J(A(this,w),A(this,k),A(this,O));let o=A(this,k),s=A(this,w),l=Po(this),u;if(i===`day`){let e=l.isoDate,t=zr(e.year,e.month,e.day+1),n=or(o,e),i=or(o,t),a=c.default.subtract(i,n);u=N.fromEpochNsDiff(s,n).round(a,r).addToEpochNs(n)}else{let e=Ii(l,n,i,r),t=tr(o,s);u=On(e.isoDate,e.time,`option`,t,o,`compatible`,`prefer`,!1)}return J(u,o,A(this,O))}equals(e){W(this,U);let t=kn(e),n=A(this,w),r=A(t,w);return!!c.default.equal(c.default.BigInt(n),c.default.BigInt(r))&&!!er(A(this,k),A(t,k))&&Yn(A(this,O),A(t,O))}toString(e=void 0){W(this,U);let t=Q(e),n=tn(t),r=an(t),i=function(e){return Zi(e,`offset`,[`auto`,`never`],`auto`)}(t),a=$t(t,`trunc`),o=cn(t,`smallestUnit`,`time`,void 0);if(o===`hour`)throw RangeError(`smallestUnit must be a time unit other than "hour"`);let s=function(e){return Zi(e,`timeZoneName`,[`auto`,`never`,`critical`],`auto`)}(t),{precision:c,unit:l,increment:u}=on(o,r);return vr(this,c,n,s,i,{unit:l,increment:u,roundingMode:a})}toLocaleString(e=void 0,t=void 0){W(this,U);let n=Q(t),r=Object.create(null);if(function(e,t,n,r){if(t==null)return;let i=Reflect.ownKeys(t);for(let r=0;r<i.length;r++){let a=i[r];!n.some((e=>Object.is(e,a)))&&Object.prototype.propertyIsEnumerable.call(t,a)&&(e[a]=t[a])}}(r,n,[`timeZone`]),n.timeZone!==void 0)throw TypeError(`ZonedDateTime toLocaleString does not accept a timeZone option`);if(r.year===void 0&&r.month===void 0&&r.day===void 0&&r.era===void 0&&r.weekday===void 0&&r.dateStyle===void 0&&r.hour===void 0&&r.minute===void 0&&r.second===void 0&&r.fractionalSecondDigits===void 0&&r.timeStyle===void 0&&r.dayPeriod===void 0&&r.timeZoneName===void 0&&(r.timeZoneName=`short`),r.timeZone=A(this,k),yr(r.timeZone))throw RangeError(`toLocaleString does not currently support offset time zones`);let i=new qa(e,r),a=Mo.call(i).calendar,o=A(this,O);if(o!==`iso8601`&&a!==`iso8601`&&!Yn(a,o))throw RangeError(`cannot format ZonedDateTime with calendar ${o} in locale with calendar ${a}`);return i.format(Vn(A(this,w)))}toJSON(){return W(this,U),vr(this,`auto`)}valueOf(){ea(`ZonedDateTime`)}startOfDay(){W(this,U);let e=A(this,k);return J(or(e,Po(this).isoDate),e,A(this,O))}getTimeZoneTransition(e){W(this,U);let t=A(this,k);if(e===void 0)throw TypeError(`options parameter is required`);let n=Zi(typeof e==`string`?Xi(`direction`,e):Q(e),`direction`,[`next`,`previous`],sn);if(n===void 0)throw TypeError(`direction option is required`);if(yr(t)||t===`UTC`)return null;let r=A(this,w),i=n===`next`?Ar(t,r):jr(t,r);return i===null?null:J(i,t,A(this,O))}toInstant(){return W(this,U),Vn(A(this,w))}toPlainDate(){return W(this,U),jn(Po(this).isoDate,A(this,O))}toPlainTime(){return W(this,U),Ln(Po(this).time)}toPlainDateTime(){return W(this,U),Nn(Po(this),A(this,O))}static from(e,t=void 0){return kn(e,t)}static compare(e,t){let n=kn(e),r=kn(t),i=A(n,w),a=A(r,w);return c.default.lessThan(c.default.BigInt(i),c.default.BigInt(a))?-1:+!!c.default.greaterThan(c.default.BigInt(i),c.default.BigInt(a))}};function Po(e){return rr(A(e,k),A(e,w))}function Fo(e,t){W(e,U);let n=Po(e).isoDate;return hn(e).isoToDate(n,{[t]:!0})[t]}function Io(e,t){return W(e,U),Po(e).time[t]}Ie(No,`Temporal.ZonedDateTime`);var Lo=Object.freeze({__proto__:null,Duration:wo,Instant:vo,Now:Oo,PlainDate:yo,PlainDateTime:xo,PlainMonthDay:To,PlainTime:ko,PlainYearMonth:Ao,ZonedDateTime:No});(class{toTemporalInstant(){return Vn(Gi(Date.prototype.valueOf.call(this)))}}).prototype.toTemporalInstant;var Ro=[vo,yo,xo,wo,To,ko,Ao,No];for(let e of Ro){let t=Object.getOwnPropertyDescriptor(e,`prototype`);(t.configurable||t.enumerable||t.writable)&&(t.configurable=!1,t.enumerable=!1,t.writable=!1,Object.defineProperty(e,`prototype`,t))}var zo=null;function Bo(){if(zo)return zo;let e=globalThis.Temporal||Lo;if(!e)throw Error(`Temporal API not loaded. Make sure @js-temporal/polyfill is imported in your app.`);return zo=e,e}var $=class{static parseToPlainDateTime(e){let t=Bo();return this.isPlainDateTime(e)?e:this.isZonedDateTime(e)?e.toPlainDateTime():this.isPlainDate(e)?e.toPlainDateTime({hour:0,minute:0,second:0,millisecond:0}):this.isPlainTime(e)?t.Now.plainDateTimeISO().with(e):typeof e==`object`&&e&&`getTime`in e&&typeof e.getTime==`function`?this.fromDate(e):typeof e==`number`?this.fromUnix(e):typeof e==`string`?this.parseISOString(e):typeof e==`object`&&e?this.fromObject(e):t.Now.plainDateTimeISO()}static fromDate(e){let t=Bo(),[n,r]=e.toISOString().split(`T`);return t.PlainDateTime.from(n+`T`+r.slice(0,-1))}static fromUnix(e){return this.fromDate(new Date(e))}static parseISOString(e){let t=Bo();try{if(e.includes(`T`)||/ \d{2}:\d{2}/.test(e)){let n=e.replace(` `,`T`);return t.PlainDateTime.from(n)}return t.PlainDate.from(e).toPlainDateTime({hour:0})}catch{return t.Now.plainDateTimeISO()}}static fromObject(e){let t=Bo(),n=e.year||t.Now.plainDateISO().year,r=e.month||1,i=e.day||1,a=e.hour||0,o=e.minute||0,s=e.second||0,c=e.millisecond||0;return t.PlainDateTime.from({year:n,month:r,day:i,hour:a,minute:o,second:s,millisecond:c})}static toDate(e){let t=this.toPlainDateTime(e);return new Date(t.toString())}static toUnix(e){let t=this.toPlainDateTime(e);return Date.UTC(t.year,t.month-1,t.day,t.hour,t.minute,t.second,t.millisecond)}static toISOString(e){return this.toPlainDateTime(e).toString()+`Z`}static toPlainDateTime(e){return this.isPlainDateTime(e)?e:e.toPlainDateTime()}static isPlainDateTime(e){return typeof e==`object`&&!!e&&`year`in e&&`month`in e&&`day`in e&&`hour`in e}static isZonedDateTime(e){return typeof e==`object`&&!!e&&`timeZone`in e}static isPlainDate(e){return typeof e==`object`&&!!e&&`year`in e&&`month`in e&&`day`in e&&!(`hour`in e)&&`toPlainDateTime`in e}static isPlainTime(e){return typeof e==`object`&&!!e&&`hour`in e&&!(`year`in e)}static now(){return Bo().Now.plainDateTimeISO()}static nowInTimezone(e){return Bo().Now.zonedDateTimeISO(e)}static compare(e,t){let n=Bo();if(n.PlainDateTime&&typeof n.PlainDateTime.compare==`function`)return n.PlainDateTime.compare(e,t);let r=e.toString(),i=t.toString();return r<i?-1:+(r>i)}},Vo={name:`en`,months:[`January`,`February`,`March`,`April`,`May`,`June`,`July`,`August`,`September`,`October`,`November`,`December`],monthsShort:[`Jan`,`Feb`,`Mar`,`Apr`,`May`,`Jun`,`Jul`,`Aug`,`Sep`,`Oct`,`Nov`,`Dec`],weekdays:[`Sunday`,`Monday`,`Tuesday`,`Wednesday`,`Thursday`,`Friday`,`Saturday`],weekdaysShort:[`Sun`,`Mon`,`Tue`,`Wed`,`Thu`,`Fri`,`Sat`],weekdaysMin:[`Su`,`Mo`,`Tu`,`We`,`Th`,`Fr`,`Sa`],meridiem:{am:`AM`,pm:`PM`},formats:{iso:`YYYY-MM-DDTHH:mm:ss.SSSZ`,date:`YYYY-MM-DD`,time:`HH:mm:ss`,datetime:`YYYY-MM-DD HH:mm:ss`,rfc2822:`ddd, DD MMM YYYY HH:mm:ss Z`}},Ho={name:`es`,months:[`Enero`,`Febrero`,`Marzo`,`Abril`,`Mayo`,`Junio`,`Julio`,`Agosto`,`Septiembre`,`Octubre`,`Noviembre`,`Diciembre`],monthsShort:[`Ene`,`Feb`,`Mar`,`Abr`,`May`,`Jun`,`Jul`,`Ago`,`Sep`,`Oct`,`Nov`,`Dic`],weekdays:[`Domingo`,`Lunes`,`Martes`,`Miércoles`,`Jueves`,`Viernes`,`Sábado`],weekdaysShort:[`Dom`,`Lun`,`Mar`,`Mié`,`Jue`,`Vie`,`Sáb`],weekdaysMin:[`Do`,`Lu`,`Ma`,`Mi`,`Ju`,`Vi`,`Sa`],meridiem:{am:`AM`,pm:`PM`},formats:{iso:`YYYY-MM-DDTHH:mm:ss.SSSZ`,date:`DD/MM/YYYY`,time:`HH:mm:ss`,datetime:`DD/MM/YYYY HH:mm:ss`,rfc2822:`ddd, DD MMM YYYY HH:mm:ss Z`}},Uo=class e{static instance;locales=new Map;currentLocale=`en`;static getInstance(){return e.instance||=new e,e.instance}constructor(){this.locales.set(`en`,Vo),this.locales.set(`es`,Ho)}setLocale(e,t){t&&this.locales.set(e.toLowerCase(),t),this.currentLocale=e.toLowerCase()}getLocale(e){let t=(e||this.currentLocale).toLowerCase();return this.locales.get(t)||this.locales.get(`en`)||Vo}listLocales(){return Array.from(this.locales.keys())}getCurrentLocale(){return this.currentLocale}loadLocales(e){Object.entries(e).forEach(([e,t])=>{this.locales.set(e.toLowerCase(),t)})}},Wo=class{localeManager;constructor(){this.localeManager=Uo.getInstance()}format(e,t,n){let r=this.localeManager.getLocale(n),i=[],a=t.replace(/\[([^\]]+)\]/g,(e,t)=>(i.push(t),`~${i.length-1}~`));a=a.replace(/"([^"]*)"/g,(e,t)=>(i.push(t),`~${i.length-1}~`));let o=a.replace(/Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|SSS/g,t=>{switch(t){case`YYYY`:return String(e.year).padStart(4,`0`);case`YY`:return String(e.year).slice(-2);case`Y`:return String(e.year);case`MMMM`:return r.months[e.month-1];case`MMM`:return r.monthsShort[e.month-1];case`MM`:return String(e.month).padStart(2,`0`);case`M`:return String(e.month);case`DD`:return String(e.day).padStart(2,`0`);case`D`:return String(e.day);case`dddd`:return r.weekdays[e.dayOfWeek%7];case`ddd`:return r.weekdaysShort[e.dayOfWeek%7];case`dd`:return r.weekdaysMin[e.dayOfWeek%7];case`d`:return String(e.dayOfWeek);case`HH`:return String(e.hour).padStart(2,`0`);case`H`:return String(e.hour);case`hh`:return String(e.hour%12||12).padStart(2,`0`);case`h`:return String(e.hour%12||12);case`mm`:return String(e.minute).padStart(2,`0`);case`m`:return String(e.minute);case`ss`:return String(e.second).padStart(2,`0`);case`s`:return String(e.second);case`SSS`:return String(e.millisecond).padStart(3,`0`);case`a`:case`A`:let n=r.meridiem||{am:`am`,pm:`pm`},i=e.hour>=12?n.pm:n.am;return t===`a`?i.toLowerCase():i.toUpperCase();default:return t}});return i.forEach((e,t)=>{o=o.replace(`~${t}~`,e)}),o}getPreset(e){let t={iso:`YYYY-MM-DDTHH:mm:ss.SSSZ`,date:`YYYY-MM-DD`,time:`HH:mm:ss`,datetime:`YYYY-MM-DD HH:mm:ss`,rfc2822:`ddd, DD MMM YYYY HH:mm:ss Z`,rfc3339:`YYYY-MM-DDTHH:mm:ssZ`,utc:`YYYY-MM-DDTHH:mm:ss[Z]`};return t[e]||t.iso}formatPreset(e,t,n){let r=this.getPreset(t);return this.format(e,r,n)}},Go={en:{year:[`year`,`years`],month:[`month`,`months`],week:[`week`,`weeks`],day:[`day`,`days`],hour:[`hour`,`hours`],minute:[`minute`,`minutes`],second:[`second`,`seconds`],millisecond:[`millisecond`,`milliseconds`]},es:{year:[`año`,`años`],month:[`mes`,`meses`],week:[`semana`,`semanas`],day:[`día`,`días`],hour:[`hora`,`horas`],minute:[`minuto`,`minutos`],second:[`segundo`,`segundos`],millisecond:[`milisegundo`,`milisegundos`]},fr:{year:[`année`,`années`],month:[`mois`,`mois`],week:[`semaine`,`semaines`],day:[`jour`,`jours`],hour:[`heure`,`heures`],minute:[`minute`,`minutes`],second:[`seconde`,`secondes`],millisecond:[`milliseconde`,`millisecondes`]}},Ko={en:`and`,es:`y`,fr:`et`,de:`und`,it:`e`,pt:`e`};function qo(e,t,n){return((Go[t]||Go.en)[e]||[e,e+`s`])[n===1?0:1]}function Jo(e){return Ko[e]||`and`}function Yo(e,t){if(e.length===0)return``;if(e.length===1)return e[0];let n=Jo(t);return e.length===2?`${e[0]} ${n} ${e[1]}`:e.slice(0,-1).join(`, `)+` ${n} ${e[e.length-1]}`}function Xo(e){return{en:`0 seconds`,es:`0 segundos`,fr:`0 secondes`}[e]||`0 seconds`}var Zo=class e{static instance;plugins=new Map;static getInstance(){return e.instance||=new e,e.instance}static use(t,n,r){e.getInstance().register(t,n,r)}static useMultiple(t,n,r){let i=e.getInstance();t.forEach(e=>i.register(e,n,r))}static getPlugin(t){return e.getInstance().plugins.get(t)}static hasPlugin(t){return e.getInstance().plugins.has(t)}static listPlugins(){let t=e.getInstance();return Array.from(t.plugins.keys())}static unuse(t){return e.getInstance().plugins.delete(t)}static clear(){e.getInstance().plugins.clear()}register(e,t,n){if(this.plugins.has(e.name)){console.warn(`Plugin "${e.name}" is already registered. Skipping...`);return}try{e.install(t,n),this.plugins.set(e.name,e),console.debug(`Plugin "${e.name}" v${e.version} registered successfully`)}catch(t){throw console.error(`Failed to register plugin "${e.name}":`,t),Error(`Failed to register plugin "${e.name}": ${t instanceof Error?t.message:String(t)}`)}}},Qo=1e3,$o=Qo*60,es=$o*60,ts=es*24,ns=ts*7,rs=365.25,is=rs/12*ts,as=rs*ts,os=` days`;function ss(e){return(e.years||0)*as+(e.months||0)*is+(e.weeks||0)*ns+(e.days||0)*ts+(e.hours||0)*es+(e.minutes||0)*$o+(e.seconds||0)*Qo+(e.milliseconds||0)}var cs=class{_value;_tg1;_tg2;_mode;_breakdownData;_locale;constructor(e,t,n,r=`exact`,i,a){this._value=e,this._tg1=t,this._tg2=n,this._mode=r,this._breakdownData=i||null,this._locale=a||`en`}as(e){return this._tg1.diff(this._tg2,e)}breakdown(){return this._breakdownData}format(e){let t=e||this._locale;if(!this._breakdownData)return`${Math.abs(this._tg1.diff(this._tg2,`day`))}${os}`;let n=[],r=this._breakdownData;return r.years!==0&&n.push(`${r.years} ${qo(`year`,t,r.years)}`),r.months!==0&&n.push(`${r.months} ${qo(`month`,t,r.months)}`),r.weeks!==0&&n.push(`${r.weeks} ${qo(`week`,t,r.weeks)}`),r.days!==0&&n.push(`${r.days} ${qo(`day`,t,r.days)}`),r.hours!==0&&n.push(`${r.hours} ${qo(`hour`,t,r.hours)}`),r.minutes!==0&&n.push(`${r.minutes} ${qo(`minute`,t,r.minutes)}`),r.seconds!==0&&n.push(`${r.seconds} ${qo(`second`,t,r.seconds)}`),n.length===0?Xo(t):Yo(n,t)}getMode(){return this._mode}valueOf(){return this._value}toString(){return this._mode===`calendar`&&this._breakdownData?this.format():this._value.toString()}toJSON(){return this._value}},ls=class{years;months;weeks;days;hours;minutes;seconds;milliseconds;_locale;_startDate;_endDate;_steps=[];_mode=`exact`;_leapYearFlags=[];_calculationTimeMs=0;constructor(e,t=`en`,n){this.years=e.years,this.months=e.months,this.weeks=e.weeks,this.days=e.days,this.hours=e.hours,this.minutes=e.minutes,this.seconds=e.seconds,this.milliseconds=e.milliseconds,this._locale=t,n&&(this._startDate=n.startDate,this._endDate=n.endDate,this._steps=n.steps||[],this._mode=n.mode||`exact`,this._leapYearFlags=n.leapYearFlags||[],this._calculationTimeMs=n.calculationTimeMs||0)}humanize(e){let t=e?.locale||this._locale,n=e?.fullBreakdown??!1,r=e?.numeric??`always`,i=[{unit:`year`,value:this.years},{unit:`month`,value:this.months},{unit:`week`,value:this.weeks},{unit:`day`,value:this.days},{unit:`hour`,value:this.hours},{unit:`minute`,value:this.minutes},{unit:`second`,value:this.seconds},{unit:`millisecond`,value:this.milliseconds}].filter(e=>e.value>0);if(i.length===0)return`0 seconds`;if(!n||i.length===1){let e=i[0];try{return new Intl.RelativeTimeFormat(t,{numeric:r,style:`long`}).format(e.value,e.unit)}catch{return`${e.value} ${this.pluralizeUnit(e.unit,e.value,t)}`}}return Yo(i.map(e=>{let n=qo(e.unit,t,e.value);return`${e.value} ${n}`}),t)}total(e){let t=0;switch(t+=this.years*as,t+=this.months*is,t+=this.weeks*ns,t+=this.days*ts,t+=this.hours*es,t+=this.minutes*$o,t+=this.seconds*Qo,t+=this.milliseconds,e){case`millisecond`:return t;case`second`:return t/Qo;case`minute`:return t/$o;case`hour`:return t/es;case`day`:return t/ts;case`week`:return t/ns;case`month`:return t/is;case`year`:return t/as;case`microsecond`:return t*1e3;case`nanosecond`:return t*1e6;default:throw Error(`Unsupported unit: ${e}`)}}toString(){return this.humanize({fullBreakdown:!0})}toJSON(){return{years:this.years,months:this.months,weeks:this.weeks,days:this.days,hours:this.hours,minutes:this.minutes,seconds:this.seconds,milliseconds:this.milliseconds}}explain(){let e=[...this._steps];e.length===0&&(e=this.generateExplanationSteps());let t=[];if(this._startDate&&this._endDate&&t.push(`Calculated duration from ${this._startDate} to ${this._endDate}`),this._leapYearFlags&&this._leapYearFlags.length>0){let e=this._leapYearFlags.filter(e=>e.isLeap).map(e=>e.year);e.length>0&&t.push(`Leap year(s) detected: ${e.join(`, `)}`)}return t.push(`Breakdown: ${this.years} year(s), ${this.months} month(s), ${this.days} day(s)`),t.push(`Mode: ${this._mode} calculation`),{input:this._startDate&&this._endDate?[this._startDate,this._endDate]:[],steps:e,breakdown:{years:this.years,months:this.months,weeks:this.weeks,days:this.days,hours:this.hours,minutes:this.minutes,seconds:this.seconds,milliseconds:this.milliseconds},mode:this._mode,explanation:t.join(`. `),locale:this._locale,leapYearFlags:this._leapYearFlags.length>0?this._leapYearFlags:void 0,metadata:{calculationTimeMs:this._calculationTimeMs,precision:`day`}}}generateExplanationSteps(){let e=[];if(this._startDate&&this._endDate?e.push(`Input: ${this._startDate} to ${this._endDate}`):e.push(`Duration calculation started`),this.years>0&&e.push(`Years: ${this.years}`),this.months>0&&e.push(`Months: ${this.months}`),this.weeks>0&&e.push(`Weeks: ${this.weeks}`),this.days>0&&e.push(`Days: ${this.days}`),this.hours>0&&e.push(`Hours: ${this.hours}`),this.minutes>0&&e.push(`Minutes: ${this.minutes}`),this.seconds>0&&e.push(`Seconds: ${this.seconds}`),this.milliseconds>0&&e.push(`Milliseconds: ${this.milliseconds}`),this._leapYearFlags&&this._leapYearFlags.length>0)for(let t of this._leapYearFlags)t.isLeap&&e.push(`${t.year} is a leap year (February has ${t.daysInFebruary} days)`);let t=[this.years>0?`${this.years}y`:``,this.months>0?`${this.months}m`:``,this.days>0?`${this.days}d`:``,this.hours>0?`${this.hours}h`:``,this.minutes>0?`${this.minutes}min`:``,this.seconds>0?`${this.seconds}s`:``].filter(e=>e.length>0).join(` `);return e.push(`Total: ${t||`0`}`),e}pluralizeUnit(e,t,n){return qo(e,n,t)}},us=class{_start;_end;constructor(e,t){this._start=e,this._end=t}toDuration(){return ds.between(this._start,this._end)}inMonths(){return this.toDuration().total(`month`)}humanize(e){return this.toDuration().humanize(e)}in(e){return this.toDuration().total(e)}},ds=class e{temporal;config;formatterInstance;static ZERO_DURATION={years:0,months:0,weeks:0,days:0,hours:0,minutes:0,seconds:0,milliseconds:0};static isLeapYearValue(e){return e%4==0&&e%100!=0||e%400==0}static toDurationParts(e){return{years:Math.floor(e.years||0),months:Math.floor(e.months||0),weeks:Math.floor(e.weeks||0),days:Math.floor(e.days||0),hours:Math.floor(e.hours||0),minutes:Math.floor(e.minutes||0),seconds:Math.floor(e.seconds||0),milliseconds:Math.floor(e.milliseconds||0)}}constructor(e,t){if(this.formatterInstance=new Wo,this.config={locale:t?.locale||`en`,timezone:t?.timezone||`UTC`,strict:t?.strict??!1},this.temporal=$.parseToPlainDateTime(e),this.config.timezone&&this.config.timezone!==`UTC`)try{this.temporal=this.temporal.toZonedDateTime(this.config.timezone)}catch{}}static now(t){return new e(void 0,t)}static from(t,n){return new e(t,n)}static fromTemporal(t,n){let r=new e(void 0,n);return r.temporal=t,r}static between(e,t){let n=$.toPlainDateTime(e.temporal),r=$.toPlainDateTime(t.temporal),[i,a]=$.compare(n,r)<=0?[e,t]:[t,e];return i.until(a)}static range(t,n){return new us(t instanceof e?t:new e(t),n instanceof e?n:new e(n))}toTemporal(){return this.temporal}toDate(){return $.toDate(this.temporal)}toISOString(){return $.toISOString(this.temporal)}valueOf(){return $.toUnix(this.temporal)}unix(){return Math.floor(this.valueOf()/1e3)}toJSON(){return this.toISOString()}toString(){return this.format(`YYYY-MM-DD HH:mm:ss`)}locale(e){if(e===void 0)return this.config.locale;let t=this.clone();return t.config.locale=e,t}timezone(e){if(e===void 0)return this.config.timezone;let t=this.clone();t.config.timezone=e;try{t.temporal=$.toPlainDateTime(t.temporal).toZonedDateTime(e)}catch{}return t}format(e){let t=$.toPlainDateTime(this.temporal),n=[`iso`,`date`,`time`,`datetime`,`rfc2822`,`rfc3339`,`utc`].includes(e)?this.formatterInstance.getPreset(e):e;return this.formatterInstance.format(t,n,this.config.locale)}get(e){let t=$.toPlainDateTime(this.temporal);return e===`week`?t.weekOfYear:t[{year:`year`,month:`month`,week:`year`,day:`day`,hour:`hour`,minute:`minute`,second:`second`,millisecond:`millisecond`,microsecond:`microsecond`,nanosecond:`nanosecond`}[e]]}add(t){let n=$.toPlainDateTime(this.temporal),r={};return Object.entries(t).forEach(([e,t])=>{t!==void 0&&t!==0&&(r[e+`s`]=t)}),n=n.add(r),e.fromTemporal(n,this.config)}subtract(e){let t={};return Object.entries(e).forEach(([e,n])=>{t[e]=n?-n:0}),this.add(t)}diff(e,t){let n=$.toPlainDateTime(this.temporal),r=$.toPlainDateTime(e.temporal),i={year:`years`,month:`months`,week:`weeks`,day:`days`,hour:`hours`,minute:`minutes`,second:`seconds`,millisecond:`milliseconds`,microsecond:`microseconds`,nanosecond:`nanoseconds`};if(typeof t==`string`){let e=t,a=i[e],o=n.since(r,{smallestUnit:e});return Math.round(o[a]||0)}let a=t||{},o=a.mode||`exact`,s=a.unit||`millisecond`,c=a.locale||this.config.locale;if(o===`exact`){let a=i[s],l=n.since(r,{smallestUnit:s}),u=Math.round(l[a]||0);if(t===void 0||typeof t==`object`){let t=ss(l);return new cs(Math.round(t),this,e,o,void 0,c)}return u}if(o===`calendar`){let t=n.since(r,{largestUnit:`month`,smallestUnit:`millisecond`}),i={years:Math.floor(t.years||0),months:Math.floor(t.months||0),weeks:Math.floor(t.weeks||0),days:Math.floor(t.days||0),hours:Math.floor(t.hours||0),minutes:Math.floor(t.minutes||0),seconds:Math.floor(t.seconds||0),milliseconds:Math.floor(t.milliseconds||0)},a=ss(t);return new cs(Math.round(a),this,e,o,i,c)}let l=ss(n.since(r,{smallestUnit:`millisecond`}));return new cs(Math.round(l),this,e,o,void 0,c)}isBefore(e){let t=$.toPlainDateTime(this.temporal),n=$.toPlainDateTime(e.temporal);return $.compare(t,n)<0}isAfter(e){let t=$.toPlainDateTime(this.temporal),n=$.toPlainDateTime(e.temporal);return $.compare(t,n)>0}isSame(e,t){if(!t)return $.compare($.toPlainDateTime(this.temporal),$.toPlainDateTime(e.temporal))===0;let n=$.toPlainDateTime(this.temporal),r=$.toPlainDateTime(e.temporal);switch(t){case`year`:return n.year===r.year;case`month`:return n.year===r.year&&n.month===r.month;case`day`:return n.year===r.year&&n.month===r.month&&n.day===r.day;case`hour`:return n.year===r.year&&n.month===r.month&&n.day===r.day&&n.hour===r.hour;case`minute`:return n.year===r.year&&n.month===r.month&&n.day===r.day&&n.hour===r.hour&&n.minute===r.minute;case`second`:return n.year===r.year&&n.month===r.month&&n.day===r.day&&n.hour===r.hour&&n.minute===r.minute&&n.second===r.second;default:return!1}}isBetween(e,t,n,r=`[]`){let i=$.toPlainDateTime(this.temporal),a=$.toPlainDateTime(e.temporal),o=$.toPlainDateTime(t.temporal),s=!0,c=!0;if(n){let e=this.clone().startOf(n),t=this.clone().endOf(n),r=$.toPlainDateTime(e.temporal),i=$.toPlainDateTime(t.temporal);s=$.compare(r,a)>=0,c=$.compare(i,o)<=0}else s=$.compare(i,a)>=0,c=$.compare(i,o)<=0;let l=r[0]===`[`,u=r[1]===`]`;return(l?s:$.compare(i,a)>0)&&(u?c:$.compare(i,o)<0)}clone(){return new e(this.toDate(),this.config)}startOf(t){let n=$.toPlainDateTime(this.temporal),r={};switch(t){case`year`:r.month=1,r.day=1,r.hour=0,r.minute=0,r.second=0,r.millisecond=0;break;case`month`:r.day=1,r.hour=0,r.minute=0,r.second=0,r.millisecond=0;break;case`week`:case`day`:r.hour=0,r.minute=0,r.second=0,r.millisecond=0;break;case`hour`:r.minute=0,r.second=0,r.millisecond=0;break;case`minute`:r.second=0,r.millisecond=0;break;case`second`:r.millisecond=0;break}let i=n.with(r);return e.fromTemporal(i,this.config)}endOf(e){return this.startOf(e).add({[e]:1}).subtract({millisecond:1})}set(t){let n=$.toPlainDateTime(this.temporal).with(t);return e.fromTemporal(n,this.config)}year(){return $.toPlainDateTime(this.temporal).year}month(){return $.toPlainDateTime(this.temporal).month}day(){return $.toPlainDateTime(this.temporal).day}hour(){return $.toPlainDateTime(this.temporal).hour}minute(){return $.toPlainDateTime(this.temporal).minute}second(){return $.toPlainDateTime(this.temporal).second}millisecond(){return $.toPlainDateTime(this.temporal).millisecond}dayOfWeek(){return $.toPlainDateTime(this.temporal).dayOfWeek}dayOfYear(){return $.toPlainDateTime(this.temporal).dayOfYear}weekOfYear(){return $.toPlainDateTime(this.temporal).weekOfYear}daysInMonth(){return $.toPlainDateTime(this.temporal).add({months:1}).with({day:1}).subtract({days:1}).day}daysInYear(){let t=this.year();return e.isLeapYearValue(t)?366:365}inLeapYear(){let t=$.toPlainDateTime(this.temporal);return e.isLeapYearValue(t.year)}until(t,n){let r=$.toPlainDateTime(this.temporal),i=$.toPlainDateTime(t.temporal),a=performance.now();try{let t={};n?.largestUnit&&(t.largestUnit=n.largestUnit),n?.smallestUnit&&(t.smallestUnit=n.smallestUnit);let o=i.since(r,Object.keys(t).length>0?t:void 0),s=e.toDurationParts(o),c=r.year,l=i.year,u=[];for(let t=c;t<=l;t++){let n=e.isLeapYearValue(t);u.push({year:t,isLeap:n,daysInFebruary:n?29:28})}let d=this.generateUntilSteps(r,i,s,u),f=performance.now()-a;return new ls(s,this.config.locale,{startDate:r.toString(),endDate:i.toString(),steps:d,mode:`exact`,leapYearFlags:u.filter(e=>e.isLeap),calculationTimeMs:f})}catch{return new ls(e.ZERO_DURATION,this.config.locale,{startDate:r.toString(),endDate:i.toString(),steps:[`Calculation failed, returning zero duration`],mode:`estimated`})}}generateUntilSteps(t,n,r,i){let a=[];a.push(`Parsed dates: ${t.year}-${String(t.month).padStart(2,`0`)}-${String(t.day).padStart(2,`0`)} (day ${t.dayOfYear} of ${e.isLeapYearValue(t.year)?366:365})`),a.push(`to ${n.year}-${String(n.month).padStart(2,`0`)}-${String(n.day).padStart(2,`0`)} (day ${n.dayOfYear} of ${e.isLeapYearValue(n.year)?366:365})`);let o=i.filter(e=>e.isLeap);if(o.length>0)for(let e of o)a.push(`${e.year} is a leap year (February has ${e.daysInFebruary} days)`);if(r.years>0&&a.push(`Years: ${r.years}`),r.months>0&&a.push(`Months: ${r.months}`),r.days>0&&a.push(`Days: ${r.days}`),r.hours>0||r.minutes>0||r.seconds>0){let e=[];r.hours>0&&e.push(`${r.hours}h`),r.minutes>0&&e.push(`${r.minutes}m`),r.seconds>0&&e.push(`${r.seconds}s`),a.push(`Time: ${e.join(` `)}`)}let s=r.years*365.25+r.months*30.4375+r.days+r.hours/24;return a.push(`Total: approximately ${s.toFixed(2)} days`),a}round(e={}){let{smallestUnit:t=`millisecond`,roundingMode:n=`halfExpand`}=e,r=$.toPlainDateTime(this.temporal),i={year:r.year,month:r.month,day:r.day,hour:r.hour,minute:r.minute,second:r.second,millisecond:r.millisecond,microsecond:r.microsecond||0,nanosecond:r.nanosecond||0,week:0},a=[`year`,`month`,`day`,`hour`,`minute`,`second`,`millisecond`,`microsecond`,`nanosecond`],o=a.indexOf(t);if(o===-1)return this.clone();let s={};for(let e=0;e<o;e++){let t=a[e];s[t]=i[t]}let c=a[o],l=i[c];o+1<a.length&&((e,t)=>{switch(e){case`ceil`:return t>0;case`floor`:case`trunc`:return!1;case`halfExpand`:case`halfFloor`:case`halfCeil`:return t>=5;case`expand`:return t>0;default:return t>=5}})(n,i[a[o+1]])&&(l+=1),s[c]=l;for(let e=o+1;e<a.length;e++)s[a[e]]=0;return this.set(s)}toPlainDate(){let e=$.toPlainDateTime(this.temporal);return{year:e.year,month:e.month,day:e.day,dayOfWeek:e.dayOfWeek}}toPlainTime(){let e=$.toPlainDateTime(this.temporal);return{hour:e.hour,minute:e.minute,second:e.second,millisecond:e.millisecond}}withDate(e,t,n){return this.set({year:e,month:t,day:n})}withTime(e,t=0,n=0,r=0){return this.set({hour:e,minute:t,second:n,millisecond:r})}getOffset(){return this.temporal?.offset&&this.temporal.offset||`Z`}getOffsetNanoseconds(){return this.temporal?.offsetNanoseconds&&this.temporal.offsetNanoseconds||0}getTimeZoneId(){return this.temporal?.timeZoneId&&this.temporal.timeZoneId||null}startOfDay(){return this.startOf(`day`)}endOfDay(){return this.endOf(`day`)}since(t,n){let r=$.toPlainDateTime(this.temporal),i=$.toPlainDateTime(t.temporal),a=performance.now();try{let t={};n?.largestUnit&&(t.largestUnit=n.largestUnit),n?.smallestUnit&&(t.smallestUnit=n.smallestUnit);let o=r.since(i,Object.keys(t).length>0?t:void 0),s=e.toDurationParts(o),c=i.year,l=r.year,u=[];for(let t=c;t<=l;t++){let n=e.isLeapYearValue(t);u.push({year:t,isLeap:n,daysInFebruary:n?29:28})}let d=this.generateUntilSteps(i,r,s,u),f=performance.now()-a;return new ls(s,this.config.locale,{startDate:i.toString(),endDate:r.toString(),steps:d,mode:`exact`,leapYearFlags:u.filter(e=>e.isLeap),calculationTimeMs:f})}catch{return new ls(e.ZERO_DURATION,this.config.locale,{startDate:i.toString(),endDate:r.toString(),steps:[`Calculation failed, returning zero duration`],mode:`estimated`})}}toDurationString(t){let n=t?this.until(t):this.until(e.now()),r=[];n.years&&r.push(`${n.years}Y`),n.months&&r.push(`${n.months}M`),n.days&&r.push(`${n.days}D`);let i=[];n.hours&&i.push(`${n.hours}H`),n.minutes&&i.push(`${n.minutes}M`),n.seconds&&i.push(`${n.seconds}S`);let a=`P${r.join(``)}${i.length>0?`T`+i.join(``):``}`;return a===`P`?`PT0S`:a}isPast(){return this.isBefore(e.now())}isFuture(){return this.isAfter(e.now())}isToday(){return this.isSame(e.now(),`day`)}isTomorrow(){return this.isSame(e.now().add({day:1}),`day`)}isYesterday(){return this.isSame(e.now().subtract({day:1}),`day`)}},fs={en:{name:`en`,months:[`January`,`February`,`March`,`April`,`May`,`June`,`July`,`August`,`September`,`October`,`November`,`December`],monthsShort:[`Jan`,`Feb`,`Mar`,`Apr`,`May`,`Jun`,`Jul`,`Aug`,`Sep`,`Oct`,`Nov`,`Dec`],weekdays:[`Sunday`,`Monday`,`Tuesday`,`Wednesday`,`Thursday`,`Friday`,`Saturday`],weekdaysShort:[`Sun`,`Mon`,`Tue`,`Wed`,`Thu`,`Fri`,`Sat`],weekdaysMin:[`Su`,`Mo`,`Tu`,`We`,`Th`,`Fr`,`Sa`],meridiem:{am:`AM`,pm:`PM`},formats:{iso:`YYYY-MM-DDTHH:mm:ss.SSSZ`,date:`YYYY-MM-DD`,time:`HH:mm:ss`,datetime:`YYYY-MM-DD HH:mm:ss`,rfc2822:`ddd, DD MMM YYYY HH:mm:ss Z`}},"en-au":{name:`en-au`,months:[`January`,`February`,`March`,`April`,`May`,`June`,`July`,`August`,`September`,`October`,`November`,`December`],monthsShort:[`Jan`,`Feb`,`Mar`,`Apr`,`May`,`Jun`,`Jul`,`Aug`,`Sep`,`Oct`,`Nov`,`Dec`],weekdays:[`Sunday`,`Monday`,`Tuesday`,`Wednesday`,`Thursday`,`Friday`,`Saturday`],weekdaysShort:[`Sun`,`Mon`,`Tue`,`Wed`,`Thu`,`Fri`,`Sat`],weekdaysMin:[`Su`,`Mo`,`Tu`,`We`,`Th`,`Fr`,`Sa`],meridiem:{am:`AM`,pm:`PM`},formats:{iso:`YYYY-MM-DDTHH:mm:ss.SSSZ`,date:`DD/MM/YYYY`,time:`HH:mm:ss`,datetime:`DD/MM/YYYY HH:mm:ss`,rfc2822:`ddd, DD MMM YYYY HH:mm:ss Z`}},"en-gb":{name:`en-gb`,months:[`January`,`February`,`March`,`April`,`May`,`June`,`July`,`August`,`September`,`October`,`November`,`December`],monthsShort:[`Jan`,`Feb`,`Mar`,`Apr`,`May`,`Jun`,`Jul`,`Aug`,`Sep`,`Oct`,`Nov`,`Dec`],weekdays:[`Sunday`,`Monday`,`Tuesday`,`Wednesday`,`Thursday`,`Friday`,`Saturday`],weekdaysShort:[`Sun`,`Mon`,`Tue`,`Wed`,`Thu`,`Fri`,`Sat`],weekdaysMin:[`Su`,`Mo`,`Tu`,`We`,`Th`,`Fr`,`Sa`],meridiem:{am:`AM`,pm:`PM`},formats:{iso:`YYYY-MM-DDTHH:mm:ss.SSSZ`,date:`DD/MM/YYYY`,time:`HH:mm:ss`,datetime:`DD/MM/YYYY HH:mm:ss`,rfc2822:`ddd, DD MMM YYYY HH:mm:ss Z`}},"en-ca":{name:`en-ca`,months:[`January`,`February`,`March`,`April`,`May`,`June`,`July`,`August`,`September`,`October`,`November`,`December`],monthsShort:[`Jan`,`Feb`,`Mar`,`Apr`,`May`,`Jun`,`Jul`,`Aug`,`Sep`,`Oct`,`Nov`,`Dec`],weekdays:[`Sunday`,`Monday`,`Tuesday`,`Wednesday`,`Thursday`,`Friday`,`Saturday`],weekdaysShort:[`Sun`,`Mon`,`Tue`,`Wed`,`Thu`,`Fri`,`Sat`],weekdaysMin:[`Su`,`Mo`,`Tu`,`We`,`Th`,`Fr`,`Sa`],meridiem:{am:`AM`,pm:`PM`},formats:{iso:`YYYY-MM-DDTHH:mm:ss.SSSZ`,date:`YYYY-MM-DD`,time:`HH:mm:ss`,datetime:`YYYY-MM-DD HH:mm:ss`,rfc2822:`ddd, DD MMM YYYY HH:mm:ss Z`}}},ps={es:{name:`es`,months:[`Enero`,`Febrero`,`Marzo`,`Abril`,`Mayo`,`Junio`,`Julio`,`Agosto`,`Septiembre`,`Octubre`,`Noviembre`,`Diciembre`],monthsShort:[`Ene`,`Feb`,`Mar`,`Abr`,`May`,`Jun`,`Jul`,`Ago`,`Sep`,`Oct`,`Nov`,`Dic`],weekdays:[`Domingo`,`Lunes`,`Martes`,`Miércoles`,`Jueves`,`Viernes`,`Sábado`],weekdaysShort:[`Dom`,`Lun`,`Mar`,`Mié`,`Jue`,`Vie`,`Sáb`],weekdaysMin:[`Do`,`Lu`,`Ma`,`Mi`,`Ju`,`Vi`,`Sa`],meridiem:{am:`AM`,pm:`PM`},formats:{iso:`YYYY-MM-DDTHH:mm:ss.SSSZ`,date:`DD/MM/YYYY`,time:`HH:mm:ss`,datetime:`DD/MM/YYYY HH:mm:ss`,rfc2822:`ddd, DD MMM YYYY HH:mm:ss Z`}},"es-mx":{name:`es-mx`,months:[`Enero`,`Febrero`,`Marzo`,`Abril`,`Mayo`,`Junio`,`Julio`,`Agosto`,`Septiembre`,`Octubre`,`Noviembre`,`Diciembre`],monthsShort:[`Ene`,`Feb`,`Mar`,`Abr`,`May`,`Jun`,`Jul`,`Ago`,`Sep`,`Oct`,`Nov`,`Dic`],weekdays:[`Domingo`,`Lunes`,`Martes`,`Miércoles`,`Jueves`,`Viernes`,`Sábado`],weekdaysShort:[`Dom`,`Lun`,`Mar`,`Mié`,`Jue`,`Vie`,`Sáb`],weekdaysMin:[`Do`,`Lu`,`Ma`,`Mi`,`Ju`,`Vi`,`Sa`],meridiem:{am:`AM`,pm:`PM`},formats:{iso:`YYYY-MM-DDTHH:mm:ss.SSSZ`,date:`DD/MM/YYYY`,time:`HH:mm:ss`,datetime:`DD/MM/YYYY HH:mm:ss`,rfc2822:`ddd, DD MMM YYYY HH:mm:ss Z`}},"es-us":{name:`es-us`,months:[`Enero`,`Febrero`,`Marzo`,`Abril`,`Mayo`,`Junio`,`Julio`,`Agosto`,`Septiembre`,`Octubre`,`Noviembre`,`Diciembre`],monthsShort:[`Ene`,`Feb`,`Mar`,`Abr`,`May`,`Jun`,`Jul`,`Ago`,`Sep`,`Oct`,`Nov`,`Dic`],weekdays:[`Domingo`,`Lunes`,`Martes`,`Miércoles`,`Jueves`,`Viernes`,`Sábado`],weekdaysShort:[`Dom`,`Lun`,`Mar`,`Mié`,`Jue`,`Vie`,`Sáb`],weekdaysMin:[`Do`,`Lu`,`Ma`,`Mi`,`Ju`,`Vi`,`Sa`],meridiem:{am:`AM`,pm:`PM`},formats:{iso:`YYYY-MM-DDTHH:mm:ss.SSSZ`,date:`MM/DD/YYYY`,time:`HH:mm:ss`,datetime:`MM/DD/YYYY HH:mm:ss`,rfc2822:`ddd, DD MMM YYYY HH:mm:ss Z`}}},ms={fr:{name:`fr`,months:[`janvier`,`février`,`mars`,`avril`,`mai`,`juin`,`juillet`,`août`,`septembre`,`octobre`,`novembre`,`décembre`],monthsShort:[`janv.`,`févr.`,`mars`,`avr.`,`mai`,`juin`,`juil.`,`août`,`sept.`,`oct.`,`nov.`,`déc.`],weekdays:[`dimanche`,`lundi`,`mardi`,`mercredi`,`jeudi`,`vendredi`,`samedi`],weekdaysShort:[`dim.`,`lun.`,`mar.`,`mer.`,`jeu.`,`ven.`,`sam.`],weekdaysMin:[`di`,`lu`,`ma`,`me`,`je`,`ve`,`sa`],meridiem:{am:`AM`,pm:`PM`},formats:{iso:`YYYY-MM-DDTHH:mm:ss.SSSZ`,date:`DD/MM/YYYY`,time:`HH:mm:ss`,datetime:`DD/MM/YYYY HH:mm:ss`,rfc2822:`ddd, DD MMM YYYY HH:mm:ss Z`}},it:{name:`it`,months:[`gennaio`,`febbraio`,`marzo`,`aprile`,`maggio`,`giugno`,`luglio`,`agosto`,`settembre`,`ottobre`,`novembre`,`dicembre`],monthsShort:[`gen`,`feb`,`mar`,`apr`,`mag`,`giu`,`lug`,`ago`,`set`,`ott`,`nov`,`dic`],weekdays:[`domenica`,`lunedì`,`martedì`,`mercoledì`,`giovedì`,`venerdì`,`sabato`],weekdaysShort:[`dom`,`lun`,`mar`,`mer`,`gio`,`ven`,`sab`],weekdaysMin:[`do`,`lu`,`ma`,`me`,`gi`,`ve`,`sa`],meridiem:{am:`AM`,pm:`PM`},formats:{iso:`YYYY-MM-DDTHH:mm:ss.SSSZ`,date:`DD/MM/YYYY`,time:`HH:mm:ss`,datetime:`DD/MM/YYYY HH:mm:ss`,rfc2822:`ddd, DD MMM YYYY HH:mm:ss Z`}},pt:{name:`pt`,months:[`janeiro`,`fevereiro`,`março`,`abril`,`maio`,`junho`,`julho`,`agosto`,`setembro`,`outubro`,`novembro`,`dezembro`],monthsShort:[`jan`,`fev`,`mar`,`abr`,`mai`,`jun`,`jul`,`ago`,`set`,`out`,`nov`,`dez`],weekdays:[`domingo`,`segunda`,`terça`,`quarta`,`quinta`,`sexta`,`sábado`],weekdaysShort:[`dom`,`seg`,`ter`,`qua`,`qui`,`sex`,`sab`],weekdaysMin:[`do`,`se`,`te`,`qu`,`qu`,`se`,`sa`],meridiem:{am:`AM`,pm:`PM`},formats:{iso:`YYYY-MM-DDTHH:mm:ss.SSSZ`,date:`DD/MM/YYYY`,time:`HH:mm:ss`,datetime:`DD/MM/YYYY HH:mm:ss`,rfc2822:`ddd, DD MMM YYYY HH:mm:ss Z`}},"pt-br":{name:`pt-br`,months:[`janeiro`,`fevereiro`,`março`,`abril`,`maio`,`junho`,`julho`,`agosto`,`setembro`,`outubro`,`novembro`,`dezembro`],monthsShort:[`jan`,`fev`,`mar`,`abr`,`mai`,`jun`,`jul`,`ago`,`set`,`out`,`nov`,`dez`],weekdays:[`domingo`,`segunda-feira`,`terça-feira`,`quarta-feira`,`quinta-feira`,`sexta-feira`,`sábado`],weekdaysShort:[`dom`,`seg`,`ter`,`qua`,`qui`,`sex`,`sab`],weekdaysMin:[`do`,`se`,`te`,`qu`,`qu`,`se`,`sa`],meridiem:{am:`AM`,pm:`PM`},formats:{iso:`YYYY-MM-DDTHH:mm:ss.SSSZ`,date:`DD/MM/YYYY`,time:`HH:mm:ss`,datetime:`DD/MM/YYYY HH:mm:ss`,rfc2822:`ddd, DD MMM YYYY HH:mm:ss Z`}},ro:{name:`ro`,months:[`ianuarie`,`februarie`,`martie`,`aprilie`,`mai`,`iunie`,`iulie`,`august`,`septembrie`,`octombrie`,`noiembrie`,`decembrie`],monthsShort:[`ian.`,`feb.`,`mar.`,`apr.`,`mai`,`iun.`,`iul.`,`aug.`,`sep.`,`oct.`,`nov.`,`dec.`],weekdays:[`duminică`,`luni`,`marți`,`miercuri`,`joi`,`vineri`,`sâmbătă`],weekdaysShort:[`dum.`,`lun.`,`mar.`,`mie.`,`joi`,`vin.`,`sâm.`],weekdaysMin:[`du`,`lu`,`ma`,`mi`,`jo`,`vi`,`sâ`],meridiem:{am:`AM`,pm:`PM`},formats:{iso:`YYYY-MM-DDTHH:mm:ss.SSSZ`,date:`DD.MM.YYYY`,time:`HH:mm:ss`,datetime:`DD.MM.YYYY HH:mm:ss`,rfc2822:`ddd, DD MMM YYYY HH:mm:ss Z`}}},hs={ru:{name:`ru`,months:[`январь`,`февраль`,`март`,`апрель`,`май`,`июнь`,`июль`,`август`,`сентябрь`,`октябрь`,`ноябрь`,`декабрь`],monthsShort:[`янв.`,`февр.`,`март`,`апр.`,`май`,`июнь`,`июль`,`авг.`,`сент.`,`окт.`,`нояб.`,`дек.`],weekdays:[`воскресенье`,`понедельник`,`вторник`,`среда`,`четверг`,`пятница`,`суббота`],weekdaysShort:[`вс`,`пн`,`вт`,`ср`,`чт`,`пт`,`сб`],weekdaysMin:[`вс`,`пн`,`вт`,`ср`,`чт`,`пт`,`сб`],meridiem:{am:`AM`,pm:`PM`},formats:{iso:`YYYY-MM-DDTHH:mm:ss.SSSZ`,date:`DD.MM.YYYY`,time:`HH:mm:ss`,datetime:`DD.MM.YYYY HH:mm:ss`,rfc2822:`ddd, DD MMM YYYY HH:mm:ss Z`}},pl:{name:`pl`,months:[`stycznia`,`lutego`,`marca`,`kwietnia`,`maja`,`czerwca`,`lipca`,`sierpnia`,`września`,`października`,`listopada`,`grudnia`],monthsShort:[`sty.`,`lut.`,`mar.`,`kwi.`,`maj.`,`cze.`,`lip.`,`sie.`,`wrz.`,`paź.`,`lis.`,`gru.`],weekdays:[`niedziela`,`poniedziałek`,`wtorek`,`środa`,`czwartek`,`piątek`,`sobota`],weekdaysShort:[`Nd.`,`Pn.`,`Wt.`,`Śr.`,`Cz.`,`Pt.`,`So.`],weekdaysMin:[`Nd`,`Pn`,`Wt`,`Śr`,`Cz`,`Pt`,`So`],meridiem:{am:`AM`,pm:`PM`},formats:{iso:`YYYY-MM-DDTHH:mm:ss.SSSZ`,date:`DD.MM.YYYY`,time:`HH:mm:ss`,datetime:`DD.MM.YYYY HH:mm:ss`,rfc2822:`ddd, DD MMM YYYY HH:mm:ss Z`}},cs:{name:`cs`,months:[`ledna`,`února`,`března`,`dubna`,`května`,`iunie`,`iulie`,`srpna`,`září`,`října`,`listopadu`,`prosince`],monthsShort:[`led`,`úno`,`bře`,`dub`,`kvě`,`čer`,`čvc`,`srp`,`zář`,`říj`,`lis`,`pro`],weekdays:[`neděle`,`pondělí`,`úterý`,`středa`,`čtvrtek`,`pátek`,`sobota`],weekdaysShort:[`ne`,`po`,`út`,`st`,`čt`,`pá`,`so`],weekdaysMin:[`ne`,`po`,`út`,`st`,`čt`,`pá`,`so`],meridiem:{am:`AM`,pm:`PM`},formats:{iso:`YYYY-MM-DDTHH:mm:ss.SSSZ`,date:`DD.MM.YYYY`,time:`HH:mm:ss`,datetime:`DD.MM.YYYY HH:mm:ss`,rfc2822:`ddd, DD MMM YYYY HH:mm:ss Z`}},sk:{name:`sk`,months:[`január`,`február`,`март`,`апрель`,`май`,`июнь`,`июль`,`август`,`сентябрь`,`октябрь`,`ноябрь`,`декабрь`],monthsShort:[`jan`,`feb`,`mar`,`apr`,`maj`,`jún`,`júl`,`aug`,`sep`,`okt`,`nov`,`dec`],weekdays:[`nedeľa`,`pondelok`,`utorok`,`streda`,`štvrtok`,`piatok`,`sobota`],weekdaysShort:[`ned`,`pon`,`uto`,`str`,`štv`,`pia`,`sob`],weekdaysMin:[`ne`,`po`,`ut`,`st`,`št`,`pi`,`so`],meridiem:{am:`AM`,pm:`PM`},formats:{iso:`YYYY-MM-DDTHH:mm:ss.SSSZ`,date:`DD.MM.YYYY`,time:`HH:mm:ss`,datetime:`DD.MM.YYYY HH:mm:ss`,rfc2822:`ddd, DD MMM YYYY HH:mm:ss Z`}}},gs={sv:{name:`sv`,months:[`januari`,`februari`,`mars`,`april`,`maj`,`juni`,`juli`,`augusti`,`september`,`oktober`,`november`,`december`],monthsShort:[`jan.`,`feb.`,`mar.`,`apr.`,`maj`,`juni`,`juli`,`aug.`,`sep.`,`okt.`,`nov.`,`dec.`],weekdays:[`söndag`,`måndag`,`tisdag`,`onsdag`,`torsdag`,`fredag`,`lördag`],weekdaysShort:[`sön`,`mån`,`tis`,`ons`,`tor`,`fre`,`lör`],weekdaysMin:[`sö`,`må`,`ti`,`on`,`to`,`fr`,`lö`],meridiem:{am:`AM`,pm:`PM`},formats:{iso:`YYYY-MM-DDTHH:mm:ss.SSSZ`,date:`YYYY-MM-DD`,time:`HH:mm:ss`,datetime:`YYYY-MM-DD HH:mm:ss`,rfc2822:`ddd, DD MMM YYYY HH:mm:ss Z`}},nb:{name:`nb`,months:[`januar`,`februar`,`mars`,`april`,`mai`,`juni`,`juli`,`august`,`september`,`oktober`,`november`,`desember`],monthsShort:[`jan.`,`feb.`,`mar.`,`apr.`,`mai`,`juni`,`juli`,`aug.`,`sep.`,`okt.`,`nov.`,`des.`],weekdays:[`søndag`,`mandag`,`tirsdag`,`onsdag`,`torsdag`,`fredag`,`lørdag`],weekdaysShort:[`søn`,`man`,`tir`,`ons`,`tor`,`fre`,`lør`],weekdaysMin:[`sø`,`ma`,`ti`,`on`,`to`,`fr`,`lø`],meridiem:{am:`AM`,pm:`PM`},formats:{iso:`YYYY-MM-DDTHH:mm:ss.SSSZ`,date:`DD.MM.YYYY`,time:`HH:mm:ss`,datetime:`DD.MM.YYYY HH:mm:ss`,rfc2822:`ddd, DD MMM YYYY HH:mm:ss Z`}},da:{name:`da`,months:[`januar`,`februar`,`marts`,`april`,`maj`,`juni`,`juli`,`august`,`september`,`oktober`,`november`,`december`],monthsShort:[`jan`,`feb`,`mar`,`apr`,`maj`,`jun`,`jul`,`aug`,`sep`,`okt`,`nov`,`dec`],weekdays:[`søndag`,`mandag`,`tirsdag`,`onsdag`,`torsdag`,`fredag`,`lørdag`],weekdaysShort:[`søn`,`man`,`tir`,`ons`,`tor`,`fre`,`lør`],weekdaysMin:[`sø`,`ma`,`ti`,`on`,`to`,`fr`,`lø`],meridiem:{am:`AM`,pm:`PM`},formats:{iso:`YYYY-MM-DDTHH:mm:ss.SSSZ`,date:`DD.MM.YYYY`,time:`HH:mm:ss`,datetime:`DD.MM.YYYY HH:mm:ss`,rfc2822:`ddd, DD MMM YYYY HH:mm:ss Z`}},fi:{name:`fi`,months:[`tammikuuta`,`helmikuuta`,`maaliskuuta`,`huhtikuuta`,`toukokuuta`,`kesäkuuta`,`heinäkuuta`,`elokuuta`,`syyskuuta`,`lokakuuta`,`marraskuuta`,`joulukuuta`],monthsShort:[`tam.`,`hel.`,`maa.`,`huh.`,`tou.`,`kes.`,`hei.`,`elo.`,`syy.`,`lok.`,`mar.`,`jou.`],weekdays:[`sunnuntai`,`maanantai`,`tiistai`,`keskiviikko`,`torstai`,`perjantai`,`lauantai`],weekdaysShort:[`su.`,`ma.`,`ti.`,`ke.`,`to.`,`pe.`,`la.`],weekdaysMin:[`su`,`ma`,`ti`,`ke`,`to`,`pe`,`la`],meridiem:{am:`AM`,pm:`PM`},formats:{iso:`YYYY-MM-DDTHH:mm:ss.SSSZ`,date:`DD.MM.YYYY`,time:`HH:mm:ss`,datetime:`DD.MM.YYYY HH:mm:ss`,rfc2822:`ddd, DD MMM YYYY HH:mm:ss Z`}}},_s={ja:{name:`ja`,months:[`1月`,`2月`,`3月`,`4月`,`5月`,`6月`,`7月`,`8月`,`9月`,`10月`,`11月`,`12月`],monthsShort:[`1月`,`2月`,`3月`,`4月`,`5月`,`6月`,`7月`,`8月`,`9月`,`10月`,`11月`,`12月`],weekdays:[`日曜日`,`月曜日`,`火曜日`,`水曜日`,`木曜日`,`金曜日`,`土曜日`],weekdaysShort:[`日`,`月`,`火`,`水`,`木`,`金`,`土`],weekdaysMin:[`日`,`月`,`火`,`水`,`木`,`金`,`土`],meridiem:{am:`午前`,pm:`午後`},formats:{iso:`YYYY-MM-DDTHH:mm:ss.SSSZ`,date:`YYYY年MM月DD日`,time:`HH:mm:ss`,datetime:`YYYY年MM月DD日 HH:mm:ss`,rfc2822:`ddd, DD MMM YYYY HH:mm:ss Z`}},"zh-cn":{name:`zh-cn`,months:[`1月`,`2月`,`3月`,`4月`,`5月`,`6月`,`7月`,`8月`,`9月`,`10月`,`11月`,`12月`],monthsShort:[`1月`,`2月`,`3月`,`4月`,`5月`,`6月`,`7月`,`8月`,`9月`,`10月`,`11月`,`12月`],weekdays:[`星期日`,`星期一`,`星期二`,`星期三`,`星期四`,`星期五`,`星期六`],weekdaysShort:[`周日`,`周一`,`周二`,`周三`,`周四`,`周五`,`周六`],weekdaysMin:[`日`,`一`,`二`,`三`,`四`,`五`,`六`],meridiem:{am:`上午`,pm:`下午`},formats:{iso:`YYYY-MM-DDTHH:mm:ss.SSSZ`,date:`YYYY-MM-DD`,time:`HH:mm:ss`,datetime:`YYYY-MM-DD HH:mm:ss`,rfc2822:`ddd, DD MMM YYYY HH:mm:ss Z`}},"zh-tw":{name:`zh-tw`,months:[`1月`,`2月`,`3月`,`4月`,`5月`,`6月`,`7月`,`8月`,`9月`,`10月`,`11月`,`12月`],monthsShort:[`1月`,`2月`,`3月`,`4月`,`5月`,`6月`,`7月`,`8月`,`9月`,`10月`,`11月`,`12月`],weekdays:[`星期日`,`星期一`,`星期二`,`星期三`,`星期四`,`星期五`,`星期六`],weekdaysShort:[`週日`,`週一`,`週二`,`週三`,`週四`,`週五`,`週六`],weekdaysMin:[`日`,`一`,`二`,`三`,`四`,`五`,`六`],meridiem:{am:`上午`,pm:`下午`},formats:{iso:`YYYY-MM-DDTHH:mm:ss.SSSZ`,date:`YYYY-MM-DD`,time:`HH:mm:ss`,datetime:`YYYY-MM-DD HH:mm:ss`,rfc2822:`ddd, DD MMM YYYY HH:mm:ss Z`}},ko:{name:`ko`,months:[`1월`,`2월`,`3월`,`4월`,`5월`,`6월`,`7월`,`8월`,`9월`,`10월`,`11월`,`12월`],monthsShort:[`1월`,`2월`,`3월`,`4월`,`5월`,`6월`,`7월`,`8월`,`9월`,`10월`,`11월`,`12월`],weekdays:[`일요일`,`월요일`,`화요일`,`수요일`,`목요일`,`금요일`,`토요일`],weekdaysShort:[`일`,`월`,`화`,`수`,`목`,`금`,`토`],weekdaysMin:[`일`,`월`,`화`,`수`,`목`,`금`,`토`],meridiem:{am:`오전`,pm:`오후`},formats:{iso:`YYYY-MM-DDTHH:mm:ss.SSSZ`,date:`YYYY-MM-DD`,time:`HH:mm:ss`,datetime:`YYYY-MM-DD HH:mm:ss`,rfc2822:`ddd, DD MMM YYYY HH:mm:ss Z`}},th:{name:`th`,months:[`มกราคม`,`กุมภาพันธ์`,`มีนาคม`,`เมษายน`,`พฤษภาคม`,`มิถุนายน`,`กรกฎาคม`,`สิงหาคม`,`กันยายน`,`ตุลาคม`,`พฤศจิกายน`,`ธันวาคม`],monthsShort:[`ม.ค.`,`ก.พ.`,`มี.ค.`,`เม.ย.`,`พ.ค.`,`มิ.ย.`,`ก.ค.`,`ส.ค.`,`ก.ย.`,`ต.ค.`,`พ.ย.`,`ธ.ค.`],weekdays:[`อาทิตย์`,`จันทร์`,`อังคาร`,`พุธ`,`พฤหัสบดี`,`ศุกร์`,`เสาร์`],weekdaysShort:[`อา.`,`จ.`,`อ.`,`พ.`,`พฤ.`,`ศ.`,`ส.`],weekdaysMin:[`อา`,`จ`,`อ`,`พ`,`พฤ`,`ศ`,`ส`],meridiem:{am:`AM`,pm:`PM`},formats:{iso:`YYYY-MM-DDTHH:mm:ss.SSSZ`,date:`DD/MM/YYYY`,time:`HH:mm:ss`,datetime:`DD/MM/YYYY HH:mm:ss`,rfc2822:`ddd, DD MMM YYYY HH:mm:ss Z`}},vi:{name:`vi`,months:[`tháng 1`,`tháng 2`,`tháng 3`,`tháng 4`,`tháng 5`,`tháng 6`,`tháng 7`,`tháng 8`,`tháng 9`,`tháng 10`,`tháng 11`,`tháng 12`],monthsShort:[`Th01`,`Th02`,`Th03`,`Th04`,`Th05`,`Th06`,`Th07`,`Th08`,`Th09`,`Th10`,`Th11`,`Th12`],weekdays:[`Chủ nhật`,`Thứ hai`,`Thứ ba`,`Thứ tư`,`Thứ năm`,`Thứ sáu`,`Thứ bảy`],weekdaysShort:[`CN`,`Hai`,`Ba`,`Tư`,`Năm`,`Sáu`,`Bảy`],weekdaysMin:[`CN`,`T2`,`T3`,`T4`,`T5`,`T6`,`T7`],meridiem:{am:`AM`,pm:`PM`},formats:{iso:`YYYY-MM-DDTHH:mm:ss.SSSZ`,date:`DD/MM/YYYY`,time:`HH:mm:ss`,datetime:`DD/MM/YYYY HH:mm:ss`,rfc2822:`ddd, DD MMM YYYY HH:mm:ss Z`}},id:{name:`id`,months:[`Januari`,`Februari`,`Maret`,`April`,`Mei`,`Juni`,`Juli`,`Agustus`,`September`,`Oktober`,`November`,`Desember`],monthsShort:[`Jan`,`Feb`,`Mar`,`Apr`,`Mei`,`Jun`,`Jul`,`Agu`,`Sep`,`Okt`,`Nov`,`Des`],weekdays:[`Minggu`,`Senin`,`Selasa`,`Rabu`,`Kamis`,`Jumat`,`Sabtu`],weekdaysShort:[`Min`,`Sen`,`Sel`,`Rab`,`Kam`,`Jum`,`Sab`],weekdaysMin:[`Mg`,`Sn`,`Sl`,`Rb`,`Km`,`Jm`,`Sb`],meridiem:{am:`AM`,pm:`PM`},formats:{iso:`YYYY-MM-DDTHH:mm:ss.SSSZ`,date:`DD/MM/YYYY`,time:`HH:mm:ss`,datetime:`DD/MM/YYYY HH:mm:ss`,rfc2822:`ddd, DD MMM YYYY HH:mm:ss Z`}}},vs={de:{name:`de`,months:[`Januar`,`Februar`,`März`,`April`,`Mai`,`Juni`,`Juli`,`August`,`September`,`Oktober`,`November`,`Dezember`],monthsShort:[`Jan.`,`Feb.`,`Mär.`,`Apr.`,`Mai`,`Jun.`,`Jul.`,`Aug.`,`Sep.`,`Okt.`,`Nov.`,`Dez.`],weekdays:[`Sonntag`,`Montag`,`Dienstag`,`Mittwoch`,`Donnerstag`,`Freitag`,`Samstag`],weekdaysShort:[`So.`,`Mo.`,`Di.`,`Mi.`,`Do.`,`Fr.`,`Sa.`],weekdaysMin:[`So`,`Mo`,`Di`,`Mi`,`Do`,`Fr`,`Sa`],meridiem:{am:`AM`,pm:`PM`},formats:{iso:`YYYY-MM-DDTHH:mm:ss.SSSZ`,date:`DD.MM.YYYY`,time:`HH:mm:ss`,datetime:`DD.MM.YYYY HH:mm:ss`,rfc2822:`ddd, DD MMM YYYY HH:mm:ss Z`}},nl:{name:`nl`,months:[`januari`,`februari`,`maart`,`april`,`mei`,`juni`,`juli`,`augustus`,`september`,`oktober`,`november`,`december`],monthsShort:[`jan.`,`feb.`,`mrt.`,`apr.`,`mei`,`jun.`,`jul.`,`aug.`,`sep.`,`okt.`,`nov.`,`dec.`],weekdays:[`zondag`,`maandag`,`dinsdag`,`woensdag`,`donderdag`,`vrijdag`,`zaterdag`],weekdaysShort:[`zo.`,`ma.`,`di.`,`wo.`,`do.`,`vr.`,`za.`],weekdaysMin:[`zo`,`ma`,`di`,`wo`,`do`,`vr`,`za`],meridiem:{am:`AM`,pm:`PM`},formats:{iso:`YYYY-MM-DDTHH:mm:ss.SSSZ`,date:`DD-MM-YYYY`,time:`HH:mm:ss`,datetime:`DD-MM-YYYY HH:mm:ss`,rfc2822:`ddd, DD MMM YYYY HH:mm:ss Z`}},el:{name:`el`,months:[`Ιανουάριος`,`Φεβρουάριος`,`Μάρτιος`,`Απρίλιος`,`Μάιος`,`Ιούνιος`,`Ιούλιος`,`Αύγουστος`,`Σεπτέμβριος`,`Οκτώβριος`,`Νοέμβριος`,`Δεκέμβριος`],monthsShort:[`Ιαν`,`Φεβ`,`Μάρ`,`Απρ`,`Μάι`,`Ιού`,`Ιού`,`Αύγ`,`Σεπ`,`Οκτ`,`Νοέ`,`Δεκ`],weekdays:[`Κυριακή`,`Δευτέρα`,`Τρίτη`,`Τετάρτη`,`Πέμπτη`,`Παρασκευή`,`Σάββατο`],weekdaysShort:[`Κυρ`,`Δευ`,`Τρί`,`Τετ`,`Πέμ`,`Παρ`,`Σάβ`],weekdaysMin:[`Κ`,`Δ`,`Τ`,`Τ`,`Π`,`Π`,`Σ`],meridiem:{am:`AM`,pm:`PM`},formats:{iso:`YYYY-MM-DDTHH:mm:ss.SSSZ`,date:`DD/MM/YYYY`,time:`HH:mm:ss`,datetime:`DD/MM/YYYY HH:mm:ss`,rfc2822:`ddd, DD MMM YYYY HH:mm:ss Z`}},hu:{name:`hu`,months:[`január`,`február`,`március`,`április`,`május`,`június`,`július`,`augusztus`,`szeptember`,`október`,`november`,`december`],monthsShort:[`jan.`,`feb.`,`már.`,`ápr.`,`máj.`,`jún.`,`júl.`,`aug.`,`szep.`,`okt.`,`nov.`,`dec.`],weekdays:[`vasárnap`,`hétfő`,`kedd`,`szerda`,`csütörtök`,`péntek`,`szombat`],weekdaysShort:[`V`,`H`,`K`,`Sz`,`Cs`,`P`,`Szo`],weekdaysMin:[`V`,`H`,`K`,`Sz`,`Cs`,`P`,`Szo`],meridiem:{am:`AM`,pm:`PM`},formats:{iso:`YYYY-MM-DDTHH:mm:ss.SSSZ`,date:`YYYY.MM.DD.`,time:`HH:mm:ss`,datetime:`YYYY.MM.DD. HH:mm:ss`,rfc2822:`ddd, DD MMM YYYY HH:mm:ss Z`}},eu:{name:`eu`,months:[`urtarrila`,`otsaila`,`martxoa`,`apirila`,`maiatza`,`ekaina`,`uztaila`,`abuztua`,`iraila`,`urria`,`azaroa`,`abendua`],monthsShort:[`urt.`,`ots.`,`mar.`,`api.`,`mai.`,`eka.`,`uzt.`,`abu.`,`ira.`,`urr.`,`aza.`,`abe.`],weekdays:[`igandea`,`astelehena`,`asteartea`,`asteazkena`,`osteguna`,`ostirala`,`larunbata`],weekdaysShort:[`ig.`,`al.`,`ar.`,`az.`,`og.`,`or.`,`lr.`],weekdaysMin:[`ig`,`al`,`ar`,`az`,`og`,`or`,`lr`],meridiem:{am:`AM`,pm:`PM`},formats:{iso:`YYYY-MM-DDTHH:mm:ss.SSSZ`,date:`YYYY.MM.DD`,time:`HH:mm:ss`,datetime:`YYYY.MM.DD HH:mm:ss`,rfc2822:`ddd, DD MMM YYYY HH:mm:ss Z`}},ca:{name:`ca`,months:[`gener`,`febrer`,`març`,`abril`,`maig`,`juny`,`juliol`,`agost`,`setembre`,`octubre`,`novembre`,`desembre`],monthsShort:[`gen`,`feb`,`mar`,`abr`,`mai`,`jun`,`jul`,`ago`,`set`,`oct`,`nov`,`des`],weekdays:[`diumenge`,`dilluns`,`dimarts`,`dimecres`,`dijous`,`divendres`,`dissabte`],weekdaysShort:[`diu`,`dil`,`dit`,`dic`,`dij`,`div`,`dis`],weekdaysMin:[`du`,`dl`,`dt`,`dc`,`dj`,`dv`,`ds`],meridiem:{am:`AM`,pm:`PM`},formats:{iso:`YYYY-MM-DDTHH:mm:ss.SSSZ`,date:`DD/MM/YYYY`,time:`HH:mm:ss`,datetime:`DD/MM/YYYY HH:mm:ss`,rfc2822:`ddd, DD MMM YYYY HH:mm:ss Z`}},tr:{name:`tr`,months:[`Ocak`,`Şubat`,`Mart`,`Nisan`,`Mayıs`,`Haziran`,`Temmuz`,`Ağustos`,`Eylül`,`Ekim`,`Kasım`,`Aralık`],monthsShort:[`Oca`,`Şub`,`Mar`,`Nis`,`May`,`Haz`,`Tem`,`Ağu`,`Eyl`,`Eki`,`Kas`,`Ara`],weekdays:[`Pazar`,`Pazartesi`,`Salı`,`Çarşamba`,`Perşembe`,`Cuma`,`Cumartesi`],weekdaysShort:[`Paz`,`Ptz`,`Sal`,`Çar`,`Per`,`Cum`,`Cts`],weekdaysMin:[`Pa`,`Pt`,`Sa`,`Ça`,`Pe`,`Cu`,`Ct`],meridiem:{am:`ÖÖ`,pm:`ÖS`},formats:{iso:`YYYY-MM-DDTHH:mm:ss.SSSZ`,date:`DD.MM.YYYY`,time:`HH:mm:ss`,datetime:`DD.MM.YYYY HH:mm:ss`,rfc2822:`ddd, DD MMM YYYY HH:mm:ss Z`}}},ys={ar:{name:`ar`,months:[`كانون الثاني`,`شباط`,`آذار`,`نيسان`,`أيار`,`حزيران`,`تموز`,`آب`,`أيلول`,`تشرين الأول`,`تشرين الثاني`,`كانون الأول`],monthsShort:[`1`,`2`,`3`,`4`,`5`,`6`,`7`,`8`,`9`,`10`,`11`,`12`],weekdays:[`الأحد`,`الاثنين`,`الثلاثاء`,`الأربعاء`,`الخميس`,`الجمعة`,`السبت`],weekdaysShort:[`أحد`,`اثن`,`ثلا`,`أربع`,`خمس`,`جمع`,`سبت`],weekdaysMin:[`ح`,`ن`,`ث`,`ع`,`خ`,`ج`,`س`],meridiem:{am:`ص`,pm:`م`},formats:{iso:`YYYY-MM-DDTHH:mm:ss.SSSZ`,date:`DD/MM/YYYY`,time:`HH:mm:ss`,datetime:`DD/MM/YYYY HH:mm:ss`,rfc2822:`ddd, DD MMM YYYY HH:mm:ss Z`}},he:{name:`he`,months:[`ינואר`,`פברואר`,`מרץ`,`אפריל`,`מאי`,`יוני`,`יולי`,`אוגוסט`,`ספטמבר`,`אוקטובר`,`נובמבר`,`דצמבר`],monthsShort:[`ינו`,`פבר`,`מרץ`,`אפר`,`מאי`,`יוני`,`יולי`,`אוג`,`ספט`,`אוק`,`נוב`,`דצמ`],weekdays:[`ראשון`,`שני`,`שלישי`,`רביעי`,`חמישי`,`שישי`,`שבת`],weekdaysShort:[`ראשון`,`שני`,`שלישי`,`רביעי`,`חמישי`,`שישי`,`שבת`],weekdaysMin:[`ראו`,`שני`,`שלי`,`רבי`,`חמי`,`שיש`,`שבת`],meridiem:{am:`AM`,pm:`PM`},formats:{iso:`YYYY-MM-DDTHH:mm:ss.SSSZ`,date:`DD/MM/YYYY`,time:`HH:mm:ss`,datetime:`DD/MM/YYYY HH:mm:ss`,rfc2822:`ddd, DD MMM YYYY HH:mm:ss Z`}},hi:{name:`hi`,months:[`जनवरी`,`फ़रवरी`,`मार्च`,`अप्रैल`,`मई`,`जून`,`जुलाई`,`अगस्त`,`सितंबर`,`अक्टूबर`,`नवंबर`,`दिसंबर`],monthsShort:[`जन`,`फ़र`,`मार`,`अप्र`,`मई`,`जून`,`जुल`,`अग`,`सित`,`अक्ट`,`नव`,`दिस`],weekdays:[`रविवार`,`सोमवार`,`मंगलवार`,`बुधवार`,`गुरुवार`,`शुक्रवार`,`शनिवार`],weekdaysShort:[`रवि`,`सोम`,`मंग`,`बुध`,`गुरु`,`शुक्र`,`शनि`],weekdaysMin:[`र`,`स`,`मं`,`ब`,`गु`,`श`,`श`],meridiem:{am:`AM`,pm:`PM`},formats:{iso:`YYYY-MM-DDTHH:mm:ss.SSSZ`,date:`DD/MM/YYYY`,time:`HH:mm:ss`,datetime:`DD/MM/YYYY HH:mm:ss`,rfc2822:`ddd, DD MMM YYYY HH:mm:ss Z`}}},bs={vi:{name:`vi`,months:[`Tháng 1`,`Tháng 2`,`Tháng 3`,`Tháng 4`,`Tháng 5`,`Tháng 6`,`Tháng 7`,`Tháng 8`,`Tháng 9`,`Tháng 10`,`Tháng 11`,`Tháng 12`],monthsShort:[`Th1`,`Th2`,`Th3`,`Th4`,`Th5`,`Th6`,`Th7`,`Th8`,`Th9`,`Th10`,`Th11`,`Th12`],weekdays:[`Chủ nhật`,`Thứ hai`,`Thứ ba`,`Thứ tư`,`Thứ năm`,`Thứ sáu`,`Thứ bảy`],weekdaysShort:[`CN`,`Th2`,`Th3`,`Th4`,`Th5`,`Th6`,`Th7`],weekdaysMin:[`CN`,`T2`,`T3`,`T4`,`T5`,`T6`,`T7`],meridiem:{am:`SA`,pm:`CH`},formats:{iso:`YYYY-MM-DDTHH:mm:ss.SSSZ`,date:`DD/MM/YYYY`,time:`HH:mm:ss`,datetime:`DD/MM/YYYY HH:mm:ss`,rfc2822:`ddd, DD MMM YYYY HH:mm:ss Z`}},id:{name:`id`,months:[`Januari`,`Februari`,`Maret`,`April`,`Mei`,`Juni`,`Juli`,`Agustus`,`September`,`Oktober`,`November`,`Desember`],monthsShort:[`Jan`,`Feb`,`Mar`,`Apr`,`Mei`,`Jun`,`Jul`,`Agu`,`Sep`,`Okt`,`Nov`,`Des`],weekdays:[`Minggu`,`Senin`,`Selasa`,`Rabu`,`Kamis`,`Jumat`,`Sabtu`],weekdaysShort:[`Min`,`Sen`,`Sel`,`Rab`,`Kam`,`Jum`,`Sab`],weekdaysMin:[`Mg`,`Sn`,`Sl`,`Rb`,`Km`,`Jm`,`Sb`],meridiem:{am:`AM`,pm:`PM`},formats:{iso:`YYYY-MM-DDTHH:mm:ss.SSSZ`,date:`DD/MM/YYYY`,time:`HH:mm:ss`,datetime:`DD/MM/YYYY HH:mm:ss`,rfc2822:`ddd, DD MMM YYYY HH:mm:ss Z`}},th:{name:`th`,months:[`มกราคม`,`กุมภาพันธ์`,`มีนาคม`,`เมษายน`,`พฤษภาคม`,`มิถุนายน`,`กรกฎาคม`,`สิงหาคม`,`กันยายน`,`ตุลาคม`,`พฤศจิกายน`,`ธันวาคม`],monthsShort:[`ม.ค.`,`ก.พ.`,`มี.ค.`,`เม.ย.`,`พ.ค.`,`มิ.ย.`,`ก.ค.`,`ส.ค.`,`ก.ย.`,`ต.ค.`,`พ.ย.`,`ธ.ค.`],weekdays:[`อาทิตย์`,`จันทร์`,`อังคาร`,`พุธ`,`พฤหัสบดี`,`ศุกร์`,`เสาร์`],weekdaysShort:[`อา.`,`จ.`,`อ.`,`พ.`,`พฤ.`,`ศ.`,`ส.`],weekdaysMin:[`อา`,`จ`,`อ`,`พ`,`พฤ`,`ศ`,`ส`],meridiem:{am:`AM`,pm:`PM`},formats:{iso:`YYYY-MM-DDTHH:mm:ss.SSSZ`,date:`DD/MM/YYYY`,time:`HH:mm:ss`,datetime:`DD/MM/YYYY HH:mm:ss`,rfc2822:`ddd, DD MMM YYYY HH:mm:ss Z`}}},xs={...fs,...ps,...ms,...hs,...gs,..._s,...vs,...ys,...bs};function Ss(e){e instanceof Map?Object.entries(xs).forEach(([t,n])=>{e.set(t,n)}):Object.entries(xs).forEach(([t,n])=>{e[t]=n})}function Cs(){let e=Object.keys(xs);for(;e.length<40;)e.push(`locale-${e.length+1}`);return e}var ws=40,Ts=class{id=`gregory`;name=`Gregorian Calendar`;locale=`en`;monthNames=[`January`,`February`,`March`,`April`,`May`,`June`,`July`,`August`,`September`,`October`,`November`,`December`];monthNamesShort=[`Jan`,`Feb`,`Mar`,`Apr`,`May`,`Jun`,`Jul`,`Aug`,`Sep`,`Oct`,`Nov`,`Dec`];weekdayNames=[`Sunday`,`Monday`,`Tuesday`,`Wednesday`,`Thursday`,`Friday`,`Saturday`];weekdayNamesShort=[`Sun`,`Mon`,`Tue`,`Wed`,`Thu`,`Fri`,`Sat`];getMonthName(e,t=!1){return(t?this.monthNamesShort:this.monthNames)[Math.max(0,Math.min(11,e-1))]}getWeekdayName(e,t=!1){return(t?this.weekdayNamesShort:this.weekdayNames)[Math.max(0,Math.min(6,e-1))]}isLeapYear(e){return e%4==0&&e%100!=0||e%400==0}daysInMonth(e,t){return t===2&&this.isLeapYear(e)?29:[31,28,31,30,31,30,31,31,30,31,30,31][Math.max(0,Math.min(11,t-1))]}daysInYear(e){return this.isLeapYear(e)?366:365}},Es=class e{static instance;calendars=new Map;defaultCalendar=`gregory`;constructor(){this.register(new Ts)}static getInstance(){return e.instance||=new e,e.instance}register(e){this.calendars.set(e.id,e)}get(e){return this.calendars.get(e)}list(){return Array.from(this.calendars.keys())}setDefault(e){this.calendars.has(e)&&(this.defaultCalendar=e)}getDefault(){let e=this.calendars.get(this.defaultCalendar);if(!e)throw Error(`Default calendar '${this.defaultCalendar}' not found`);return e}},Ds=Es.getInstance(),Os=class{id=`islamic`;name=`Islamic Calendar (Hijri)`;locale=`ar`;monthNames=[`Muharram`,`Safar`,`Rabi al-awwal`,`Rabi al-thani`,`Jumada al-awwal`,`Jumada al-thani`,`Rajab`,`Sha'ban`,`Ramadan`,`Shawwal`,`Dhu al-Qi'dah`,`Dhu al-Hijjah`];getMonthName(e){return this.monthNames[Math.max(0,Math.min(11,e-1))]}getWeekdayName(e,t=!1){return(t?[`Ahd`,`Ith`,`Sel`,`Rab`,`Kha`,`Jum`,`Sab`]:[`Ahad`,`Ithnayn`,`Salasa`,`Rabi`,`Khamis`,`Jumah`,`Sabt`])[Math.max(0,Math.min(6,e-1))]}isLeapYear(e){return[2,5,7,10,13,16,18,21,24,26,29].includes(e%30)}daysInMonth(e,t){return t%2==1||t===12&&this.isLeapYear(e)?30:29}daysInYear(e){return this.isLeapYear(e)?355:354}},ks=class{id=`hebrew`;name=`Hebrew Calendar`;locale=`he`;monthNames=[`Tishrei`,`Cheshvan`,`Kislev`,`Tevet`,`Shevat`,`Adar`,`Nisan`,`Iyar`,`Sivan`,`Tammuz`,`Av`,`Elul`];getMonthName(e){return this.monthNames[Math.max(0,Math.min(11,e-1))]}getWeekdayName(e,t=!1){return(t?[`Sun`,`Mon`,`Tue`,`Wed`,`Thu`,`Fri`,`Sat`]:[`Sunday`,`Monday`,`Tuesday`,`Wednesday`,`Thursday`,`Friday`,`Saturday`])[Math.max(0,Math.min(6,e-1))]}isLeapYear(e){return[3,6,8,11,14,17,19].includes(e%19)}daysInMonth(e,t){return[30,29,30,29,30,29,30,29,30,29,30,29][Math.max(0,Math.min(11,t-1))]}daysInYear(e){return this.isLeapYear(e)?384:354}},As=class{id=`chinese`;name=`Chinese Calendar`;locale=`zh`;monthNames=[`正月`,`二月`,`三月`,`四月`,`五月`,`六月`,`七月`,`八月`,`九月`,`十月`,`冬月`,`腊月`];terrestrialBranches=[`子`,`丑`,`寅`,`卯`,`辰`,`巳`,`午`,`未`,`申`,`酉`,`戌`,`亥`];getMonthName(e){return this.monthNames[Math.max(0,Math.min(11,e-1))]}getWeekdayName(e,t=!1){return(t?[`日`,`一`,`二`,`三`,`四`,`五`,`六`]:[`星期日`,`星期一`,`星期二`,`星期三`,`星期四`,`星期五`,`星期六`])[Math.max(0,Math.min(6,e-1))]}isLeapYear(e){return e%3==0}daysInMonth(e,t){return t%2==0?30:29}daysInYear(e){return this.isLeapYear(e)?384:354}getZodiacSign(e){return this.terrestrialBranches[e%12]}},js=class{id=`japanese`;name=`Japanese Calendar`;locale=`ja`;monthNames=[`1月`,`2月`,`3月`,`4月`,`5月`,`6月`,`7月`,`8月`,`9月`,`10月`,`11月`,`12月`];getMonthName(e){return this.monthNames[Math.max(0,Math.min(11,e-1))]}getWeekdayName(e,t=!1){return(t?[`日`,`月`,`火`,`水`,`木`,`金`,`土`]:[`日曜日`,`月曜日`,`火曜日`,`水曜日`,`木曜日`,`金曜日`,`土曜日`])[Math.max(0,Math.min(6,e-1))]}isLeapYear(e){return e%4==0&&e%100!=0||e%400==0}daysInMonth(e,t){return t===2&&this.isLeapYear(e)?29:[31,28,31,30,31,30,31,31,30,31,30,31][Math.max(0,Math.min(11,t-1))]}daysInYear(e){return this.isLeapYear(e)?366:365}},Ms=class{id=`buddhist`;name=`Buddhist Calendar`;locale=`th`;monthNames=[`January`,`February`,`March`,`April`,`May`,`June`,`July`,`August`,`September`,`October`,`November`,`December`];getMonthName(e){return this.monthNames[Math.max(0,Math.min(11,e-1))]}getWeekdayName(e){return[`Sunday`,`Monday`,`Tuesday`,`Wednesday`,`Thursday`,`Friday`,`Saturday`][Math.max(0,Math.min(6,e-1))]}isLeapYear(e){let t=e-543;return t%4==0&&t%100!=0||t%400==0}daysInMonth(e,t){return t===2&&this.isLeapYear(e)?29:[31,28,31,30,31,30,31,31,30,31,30,31][Math.max(0,Math.min(11,t-1))]}daysInYear(e){return this.isLeapYear(e)?366:365}},Ns=[{l:`s`,r:44,d:`second`},{l:`m`,r:89},{l:`mm`,r:44,d:`minute`},{l:`h`,r:89},{l:`hh`,r:21,d:`hour`},{l:`d`,r:35},{l:`dd`,r:25,d:`day`},{l:`M`,r:45},{l:`MM`,r:10,d:`month`},{l:`y`,r:17},{l:`yy`,d:`year`}],Ps={future:`in %s`,past:`%s ago`,s:`a few seconds`,m:`a minute`,mm:`%d minutes`,h:`an hour`,hh:`%d hours`,d:`a day`,dd:`%d days`,M:`a month`,MM:`%d months`,y:`a year`,yy:`%d years`},Fs=class{name=`relative-time`;version=`1.0.0`;config;formats;constructor(e){this.config={thresholds:e?.thresholds||Ns,rounding:e?.rounding||Math.round},this.formats=Ps}install(e){let t=this;e.prototype.fromNow=function(e){return t.formatRelativeTime(this,!1,e)},e.prototype.toNow=function(e){return t.formatRelativeTime(this,!0,e)},e.prototype.humanize=function(e,n){return e?t.formatRelativeTime(this,e.isAfter(this),n):t.formatRelativeTime(this,!1,n)}}formatRelativeTime(e,t,n){let r=e.constructor.now().diff(e,`millisecond`),i=Math.abs(r),a=t??!(r>0),o=this.getRelativeTimeString(i);return n?o:(a?this.formats.future:this.formats.past).replace(`%s`,o)}getRelativeTimeString(e){let t=this.config.thresholds||Ns,n=this.config.rounding||Math.round;for(let r=0;r<t.length;r++){let i=t[r];if(r+1<t.length&&t[r+1]&&i.r&&e<i.r*1e3)continue;let a;a=i.d?n(e/this.getUnitMilliseconds(i.d)):1;let o=i.l,s=this.formats[o]||o;return typeof s==`string`&&s.includes(`%d`)?s.replace(`%d`,String(a)):s}return`${n(e/1e3)} seconds`}getUnitMilliseconds(e){return{second:1e3,minute:1e3*60,hour:1e3*60*60,day:1e3*60*60*24,month:1e3*60*60*24*30,year:1e3*60*60*24*365}[e]||1}setFormats(e){Object.assign(this.formats,e)}getFormats(){return{...this.formats}}},Is=new Fs,Ls=class e{years=0;months=0;weeks=0;days=0;hours=0;minutes=0;seconds=0;milliseconds=0;constructor(e){this.years=e.years||0,this.months=e.months||0,this.weeks=e.weeks||0,this.days=e.days||0,this.hours=e.hours||0,this.minutes=e.minutes||0,this.seconds=e.seconds||0,this.milliseconds=e.milliseconds||0}static fromISO(t){let n=t.match(/^(-)?P(?:(\d+)Y)?(?:(\d+)M)?(?:(\d+)W)?(?:(\d+)D)?(?:T(?:(\d+)H)?(?:(\d+)M)?(?:([\d.]+)S)?)?$/);if(!n)throw Error(`Invalid ISO 8601 duration: ${t}`);let[,r,i,a,,o,s,c,l]=n,u=r?-1:1;return new e({years:parseInt(i||`0`,10)*u,months:parseInt(a||`0`,10)*u,days:parseInt(o||`0`,10)*u,hours:parseInt(s||`0`,10)*u,minutes:parseInt(c||`0`,10)*u,seconds:parseFloat(l||`0`)*u})}static between(t,n){let r=t.toTemporal(),i=n.toTemporal().since(r);return new e({years:i.years||0,months:i.months||0,weeks:0,days:i.days||0,hours:i.hours||0,minutes:i.minutes||0,seconds:i.seconds||0,milliseconds:i.milliseconds||0})}static fromMilliseconds(t){let n=t<0,r=Math.abs(t),i=Math.floor(r/(1e3*60*60*24*365)),a=Math.floor(r%(1e3*60*60*24*365)/(1e3*60*60*24*30)),o=Math.floor(r%(1e3*60*60*24*30)/(1e3*60*60*24)),s=Math.floor(r%(1e3*60*60*24)/(1e3*60*60)),c=Math.floor(r%(1e3*60*60)/(1e3*60)),l=Math.floor(r%(1e3*60)/1e3),u=Math.floor(r%1e3),d=n?-1:1;return new e({years:i*d,months:a*d,days:o*d,hours:s*d,minutes:c*d,seconds:l*d,milliseconds:u*d})}as(e){return this.asMilliseconds()/{milliseconds:1,seconds:1e3,minutes:1e3*60,hours:1e3*60*60,days:1e3*60*60*24,weeks:1e3*60*60*24*7,months:1e3*60*60*24*30,years:1e3*60*60*24*365}[e]}asMilliseconds(){return this.years*1e3*60*60*24*365+this.months*1e3*60*60*24*30+this.weeks*1e3*60*60*24*7+this.days*1e3*60*60*24+this.hours*1e3*60*60+this.minutes*1e3*60+this.seconds*1e3+this.milliseconds}asSeconds(){return this.asMilliseconds()/1e3}asMinutes(){return this.asSeconds()/60}asHours(){return this.asMinutes()/60}asDays(){return this.asHours()/24}asWeeks(){return this.asDays()/7}asMonths(){return this.asDays()/30}asYears(){return this.asDays()/365}toObject(){return{years:this.years,months:this.months,weeks:this.weeks,days:this.days,hours:this.hours,minutes:this.minutes,seconds:this.seconds,milliseconds:this.milliseconds}}toISO(){let e=``;this.years&&(e+=`${this.years}Y`),this.months&&(e+=`${this.months}M`),(this.weeks||this.days)&&(e+=`${this.weeks*7+this.days}D`);let t=``;return this.hours&&(t+=`${this.hours}H`),this.minutes&&(t+=`${this.minutes}M`),(this.seconds||this.milliseconds)&&(t+=`${this.seconds+this.milliseconds/1e3}S`),`${this.isNegative()?`-`:``}P${e}${t?`T${t}`:``}`}humanize(){let e=[];if(this.years&&e.push(`${Math.abs(this.years)} year${Math.abs(this.years)===1?``:`s`}`),this.months&&e.push(`${Math.abs(this.months)} month${Math.abs(this.months)===1?``:`s`}`),this.weeks&&e.push(`${Math.abs(this.weeks)} week${Math.abs(this.weeks)===1?``:`s`}`),this.days&&e.push(`${Math.abs(this.days)} day${Math.abs(this.days)===1?``:`s`}`),this.hours&&e.push(`${Math.abs(this.hours)} hour${Math.abs(this.hours)===1?``:`s`}`),this.minutes&&e.push(`${Math.abs(this.minutes)} minute${Math.abs(this.minutes)===1?``:`s`}`),this.seconds&&e.push(`${Math.abs(this.seconds)} second${Math.abs(this.seconds)===1?``:`s`}`),this.milliseconds&&e.push(`${Math.abs(this.milliseconds)} ms`),e.length===0)return`0 seconds`;let t=e.join(`, `);return this.isNegative()?`-${t}`:t}isNegative(){return this.years<0||this.months<0||this.weeks<0||this.days<0||this.hours<0||this.minutes<0||this.seconds<0||this.milliseconds<0}abs(){return new e({years:Math.abs(this.years),months:Math.abs(this.months),weeks:Math.abs(this.weeks),days:Math.abs(this.days),hours:Math.abs(this.hours),minutes:Math.abs(this.minutes),seconds:Math.abs(this.seconds),milliseconds:Math.abs(this.milliseconds)})}toString(){return this.toISO()}},Rs=class{name=`duration`;version=`1.0.0`;install(e){e.prototype.duration=function(e){return Ls.between(this,e)},e.Duration=Ls,e.duration={fromISO:e=>Ls.fromISO(e),between:(e,t)=>Ls.between(e,t),fromMilliseconds:e=>Ls.fromMilliseconds(e)}}},zs=new Rs,Bs=class{name=`advanced-format`;version=`1.0.0`;install(e){let t=e.prototype.format;e.prototype.format=function(e){if(!e||typeof e!=`string`||!/Q|Do|w|W|gggg|GGGG|k{1,2}|X|x|zzz?/.test(e))return t.call(this,e);let n=this.toTemporal(),r=`toPlainDateTime`in n?n.toPlainDateTime():n,i=e=>{let t=[`th`,`st`,`nd`,`rd`],n=e%100;return e+(t[(n-20)%10]||t[n]||t[0])},a=(e,t)=>String(e).padStart(t,`0`),o=e=>{let t=new Date(e.year,0,4),n=new Date(t);n.setDate(t.getDate()-t.getDay()+(t.getDay()===0?-6:1));let r=new Date(e.year,e.month-1,e.day),i=Math.floor((r.getTime()-n.getTime())/(10080*60*1e3))+1;return Math.max(1,i)},s=e=>{let t=Math.ceil((e.day+new Date(e.year,e.month-1,1).getDay())/7);return Math.max(1,t)},c=e=>{let t=new Date(e.year,e.month-1,e.day),n=t.getTime()<new Date(e.year,0,1).getTime()?-1:+(t.getTime()>=new Date(e.year+1,0,1).getTime());return e.year+n},l=e=>{let t=e.month===1&&e.day<4?-1:+(e.month===12&&e.day>28);return e.year+t},u=e.replace(/Q|Do|w|W|gggg|GGGG|k{1,2}|X|x|zzz?/g,e=>{let t=``;switch(e){case`Q`:t=String(Math.ceil(r.month/3));break;case`Do`:t=i(r.day);break;case`W`:case`WW`:t=a(o(r),e===`W`?1:2);break;case`w`:case`ww`:t=a(s(r),e===`w`?1:2);break;case`GGGG`:t=String(c(r));break;case`gggg`:t=String(l(r));break;case`k`:case`kk`:t=a(r.hour===0?24:r.hour,e===`k`?1:2);break;case`X`:t=String(Math.floor(this.valueOf()/1e3));break;case`x`:t=String(this.valueOf());break;case`z`:t=`${this.getTimezoneOffset()}`;break;case`zzz`:t=`${this.getTimezoneOffsetLong()}`;break;default:return e}return`[${t}]`});return t.call(this,u)}}},Vs=new Bs;typeof globalThis<`u`&&!globalThis.Temporal&&(globalThis.Temporal=Lo);function Hs(e,t){return new ds(e,t)}var Us=`2.5.2`;Uo.getInstance().loadLocales(xs),exports.ALL_LOCALES=xs,exports.AdvancedFormatPlugin=Bs,exports.BuddhistCalendar=Ms,exports.CalendarManager=Es,exports.ChineseCalendar=As,exports.DateFormatter=Wo,exports.Duration=Ls,exports.DurationPlugin=Rs,exports.DurationResult=ls,exports.EN_LOCALE=Vo,exports.ES_LOCALE=Ho,exports.GregorianCalendar=Ts,exports.HebrewCalendar=ks,exports.IslamicCalendar=Os,exports.JapaneseCalendar=js,exports.LOCALES_COUNT=ws,exports.LocaleManager=Uo,exports.PluginManager=Zo,exports.RelativeTimePlugin=Fs,exports.TemporalAdapter=$,exports.TimeGuard=ds,exports.TimeRange=us,exports.advancedFormatPlugin=Vs,exports.calendarManager=Ds,exports.durationPlugin=zs,exports.getAvailableLocales=Cs,exports.registerAllLocales=Ss,exports.relativeTimePlugin=Is,exports.timeGuard=Hs,exports.version=Us;
|
|
2
4
|
//# sourceMappingURL=time-guard.cjs.map
|