1 line
422 KiB
Plaintext
1 line
422 KiB
Plaintext
{"version":3,"file":"cdn.js","names":["__defProp","Object","defineProperty","__export","target","all","name","get","enumerable","configurable","set","newValue","exports_lib","yearsToQuarters","yearsToMonths","yearsToDays","weeksToDays","transpose","toDate","subYears","subWeeks","subSeconds","subQuarters","subMonths","subMinutes","subMilliseconds","subISOWeekYears","subHours","subDays","subBusinessDays","sub","startOfYesterday","startOfYear","startOfWeekYear","startOfWeek","startOfTomorrow","startOfToday","startOfSecond","startOfQuarter","startOfMonth","startOfMinute","startOfISOWeekYear","startOfISOWeek","startOfHour","startOfDecade","startOfDay","setYear","setWeekYear","setWeek","setSeconds","setQuarter","setMonth","setMinutes","setMilliseconds","setISOWeekYear","setISOWeek","setISODay","setHours","setDefaultOptions","setDefaultOptions2","setDayOfYear","setDay","setDate","secondsToMinutes","secondsToMilliseconds","secondsToHours","roundToNearestMinutes","roundToNearestHours","quartersToYears","quartersToMonths","previousWednesday","previousTuesday","previousThursday","previousSunday","previousSaturday","previousMonday","previousFriday","previousDay","parsers","parseJSON","parseISO","parse","nextWednesday","nextTuesday","nextThursday","nextSunday","nextSaturday","nextMonday","nextFriday","nextDay","monthsToYears","monthsToQuarters","minutesToSeconds","minutesToMilliseconds","minutesToHours","min","millisecondsToSeconds","millisecondsToMinutes","millisecondsToHours","milliseconds","max","longFormatters","lightFormatters","lightFormat","lastDayOfYear","lastDayOfWeek","lastDayOfQuarter","lastDayOfMonth","lastDayOfISOWeekYear","lastDayOfISOWeek","lastDayOfDecade","isYesterday","isWithinInterval","isWeekend","isWednesday","isValid","isTuesday","isTomorrow","isToday","isThursday","isThisYear","isThisWeek","isThisSecond","isThisQuarter","isThisMonth","isThisMinute","isThisISOWeek","isThisHour","isSunday","isSaturday","isSameYear","isSameWeek","isSameSecond","isSameQuarter","isSameMonth","isSameMinute","isSameISOWeekYear","isSameISOWeek","isSameHour","isSameDay","isPast","isMonday","isMatch","isLeapYear","isLastDayOfMonth","isFuture","isFriday","isFirstDayOfMonth","isExists","isEqual","isDate","isBefore","isAfter","intlFormatDistance","intlFormat","intervalToDuration","interval","hoursToSeconds","hoursToMinutes","hoursToMilliseconds","getYear","getWeeksInMonth","getWeekYear","getWeekOfMonth","getWeek","getUnixTime","getTime","getSeconds","getQuarter","getOverlappingDaysInIntervals","getMonth","getMinutes","getMilliseconds","getISOWeeksInYear","getISOWeekYear","getISOWeek","getISODay","getHours","getDefaultOptions","getDefaultOptions2","getDecade","getDaysInYear","getDaysInMonth","getDayOfYear","getDay","getDate","fromUnixTime","formatters","formatRelative","formatRelative3","formatRFC7231","formatRFC3339","formatISODuration","formatISO9075","formatISO","formatDuration","formatDistanceToNowStrict","formatDistanceToNow","formatDistanceStrict","formatDistance","formatDistance3","formatDate","format","endOfYesterday","endOfYear","endOfWeek","endOfTomorrow","endOfToday","endOfSecond","endOfQuarter","endOfMonth","endOfMinute","endOfISOWeekYear","endOfISOWeek","endOfHour","endOfDecade","endOfDay","eachYearOfInterval","eachWeekendOfYear","eachWeekendOfMonth","eachWeekendOfInterval","eachWeekOfInterval","eachQuarterOfInterval","eachMonthOfInterval","eachMinuteOfInterval","eachHourOfInterval","eachDayOfInterval","differenceInYears","differenceInWeeks","differenceInSeconds","differenceInQuarters","differenceInMonths","differenceInMinutes","differenceInMilliseconds","differenceInISOWeekYears","differenceInHours","differenceInDays","differenceInCalendarYears","differenceInCalendarWeeks","differenceInCalendarQuarters","differenceInCalendarMonths","differenceInCalendarISOWeeks","differenceInCalendarISOWeekYears","differenceInCalendarDays","differenceInBusinessDays","daysToWeeks","constructNow","constructFrom","compareDesc","compareAsc","closestTo","closestIndexTo","clamp","areIntervalsOverlapping","addYears","addWeeks","addSeconds","addQuarters","addMonths","addMinutes","addMilliseconds","addISOWeekYears","addHours","addDays","addBusinessDays","add","argument","argStr","prototype","toString","call","Date","_typeof","constructor","NaN","date","value","amount","_date","isNaN","dayOfMonth","endOfDesiredMonth","daysInMonth","setFullYear","getFullYear","duration","_duration$years","years","_duration$months","months","_duration$weeks","weeks","_duration$days","days","_duration$hours","hours","_duration$minutes","minutes","_duration$seconds","seconds","dateWithMonths","dateWithDays","minutesToAdd","secondsToAdd","msToAdd","finalDate","day","startedOnWeekend","sign","fullWeeks","Math","trunc","restDays","abs","timestamp","daysInWeek","daysInYear","maxTime","pow","minTime","millisecondsInWeek","millisecondsInDay","millisecondsInMinute","millisecondsInHour","millisecondsInSecond","minutesInYear","minutesInMonth","minutesInDay","minutesInHour","monthsInQuarter","monthsInYear","quartersInYear","secondsInHour","secondsInMinute","secondsInDay","secondsInWeek","secondsInYear","secondsInMonth","secondsInQuarter","defaultOptions","newOptions","options","_ref","_ref2","_ref3","_options$weekStartsOn","_options$locale","_defaultOptions3$loca","defaultOptions3","weekStartsOn","locale","diff","year","fourthOfJanuaryOfNextYear","startOfNextYear","fourthOfJanuaryOfThisYear","startOfThisYear","getTimezoneOffsetInMilliseconds","utcDate","UTC","setUTCFullYear","dateLeft","dateRight","startOfDayLeft","startOfDayRight","timestampLeft","timestampRight","round","fourthOfJanuary","weekYear","intervalLeft","intervalRight","_sort","start","end","sort","a","b","_sort2","_slicedToArray","leftStartTime","leftEndTime","_sort3","_sort4","rightStartTime","rightEndTime","inclusive","dates","result","forEach","dirtyDate","currentDate","undefined","Number","dateToCompare","timeToCompare","minDistance","index","distance","_dateLeft","_dateRight","now","dateLeftStartOfDay","dateRightStartOfDay","calendarDifference","startOfISOWeekLeft","startOfISOWeekRight","yearDiff","monthDiff","quarter","quarterDiff","startOfWeekLeft","startOfWeekRight","compareLocalAsc","difference","isLastDayNotFull","getRoundingMethod","method","number","roundingMethod","isLastISOWeekYearNotFull","month","isLastMonthNotFull","isLastYearNotFull","_options$step","startDate","endDate","reversed","endTime","step","push","reverse","_options$step2","_options$step3","_options$step4","currentMonth","_options$step5","_options$step6","startDateWeek","endDateWeek","dateInterval","weekends","length","cleanDate","_options$step7","decade","floor","_ref4","_ref5","_ref6","_options$weekStartsOn2","_options$locale2","_defaultOptions4$loca","defaultOptions4","formatDistanceLocale","lessThanXSeconds","one","other","xSeconds","halfAMinute","lessThanXMinutes","xMinutes","aboutXHours","xHours","xDays","aboutXWeeks","xWeeks","aboutXMonths","xMonths","aboutXYears","xYears","overXYears","almostXYears","token","count","tokenValue","replace","addSuffix","comparison","buildFormatLongFn","args","arguments","width","String","defaultWidth","formats","dateFormats","full","long","medium","short","timeFormats","dateTimeFormats","formatLong","time","dateTime","formatRelativeLocale","lastWeek","yesterday","today","tomorrow","nextWeek","_baseDate","_options","buildLocalizeFn","context","valuesArray","formattingValues","defaultFormattingWidth","values","argumentCallback","eraValues","narrow","abbreviated","wide","quarterValues","monthValues","dayValues","dayPeriodValues","am","pm","midnight","noon","morning","afternoon","evening","night","formattingDayPeriodValues","ordinalNumber","dirtyNumber","rem100","localize","era","dayPeriod","buildMatchFn","string","matchPattern","matchPatterns","defaultMatchWidth","matchResult","match","matchedString","parsePatterns","defaultParseWidth","key","Array","isArray","findIndex","pattern","test","findKey","valueCallback","rest","slice","object","predicate","hasOwnProperty","array","buildMatchPatternFn","parseResult","parsePattern","matchOrdinalNumberPattern","parseOrdinalNumberPattern","matchEraPatterns","parseEraPatterns","any","matchQuarterPatterns","parseQuarterPatterns","matchMonthPatterns","parseMonthPatterns","matchDayPatterns","parseDayPatterns","matchDayPeriodPatterns","parseDayPeriodPatterns","parseInt","enUS","code","firstWeekContainsDate","dayOfYear","_ref7","_ref8","_ref9","_options$firstWeekCon","_options$locale3","_defaultOptions5$loca","defaultOptions5","firstWeekOfNextYear","firstWeekOfThisYear","_ref10","_ref11","_ref12","_options$firstWeekCon2","_options$locale4","_defaultOptions6$loca","defaultOptions6","firstWeek","addLeadingZeros","targetLength","output","padStart","y","signedYear","M","d","dayPeriodEnumValue","toUpperCase","h","H","m","s","S","numberOfDigits","fractionalSeconds","formatTimezoneShort","offset","delimiter","absOffset","formatTimezoneWithOptionalMinutes","formatTimezone","dayPeriodEnum","G","localize3","unit","Y","signedWeekYear","twoDigitYear","R","isoWeekYear","u","Q","ceil","q","L","w","week","I","isoWeek","D","E","dayOfWeek","e","localDayOfWeek","c","i","isoDayOfWeek","toLowerCase","B","K","k","X","_localize","timezoneOffset","getTimezoneOffset","x","O","z","t","T","dateLongFormatter","formatLong3","timeLongFormatter","dateTimeLongFormatter","datePattern","timePattern","dateTimeFormat","p","P","isProtectedDayOfYearToken","dayOfYearTokenRE","isProtectedWeekYearToken","weekYearTokenRE","warnOrThrowProtectedError","input","_message","message","console","warn","throwTokens","includes","RangeError","subject","concat","formatStr","_ref13","_options$locale5","_ref14","_ref15","_ref16","_options$firstWeekCon3","_options$locale6","_defaultOptions7$loca","_ref17","_ref18","_ref19","_options$weekStartsOn3","_options$locale7","_defaultOptions7$loca2","defaultOptions7","originalDate","parts","longFormattingTokensRegExp","map","substring","firstCharacter","longFormatter","join","formattingTokensRegExp","isToken","cleanEscapedString","unescapedLatinCharacterRegExp","preprocessor","formatterOptions","part","useAdditionalWeekYearTokens","useAdditionalDayOfYearTokens","formatter","matched","escapedStringRegExp","doubleQuoteRegExp","baseDate","_ref20","_options$locale8","defaultOptions8","minutesInAlmostTwoDays","localizeOptions","assign","offsetInSeconds","includeSeconds","nearestMonth","monthsSinceStartOfYear","_ref21","_options$locale9","_options$roundingMeth","defaultOptions9","dstNormalizedMinutes","defaultUnit","roundedMinutes","_ref22","_options$locale10","_options$format","_options$zero","_options$delimiter","defaultOptions10","format2","defaultFormat","zero","reduce","acc","_options$format2","_options$representati","representation","tzOffset","dateDelimiter","timeDelimiter","absoluteOffset","hourOffset","minuteOffset","hour","minute","second","separator","_options$format3","_options$representati2","_duration$years2","_duration$months2","_duration$days2","_duration$hours2","_duration$minutes2","_duration$seconds2","_options$fractionDigi","fractionDigits","fractionalSecond","dayName","getUTCDay","getUTCDate","monthName","getUTCMonth","getUTCFullYear","getUTCHours","getUTCMinutes","getUTCSeconds","_ref23","_options$locale11","_ref24","_ref25","_ref26","_options$weekStartsOn4","_options$locale12","_defaultOptions11$loc","defaultOptions11","unixTime","monthIndex","thisYear","nextYear","_sort5","_sort6","leftStart","leftEnd","_sort7","_sort8","rightStart","rightEnd","isOverlapping","overlapLeft","left","overlapRight","right","_ref27","_ref28","_ref29","_options$weekStartsOn5","_options$locale13","_defaultOptions13$loc","defaultOptions13","currentDayOfMonth","startWeekDay","lastDayOfFirstWeek","remainingDaysAfterFirstWeek","_start","TypeError","_end","assertPositive","interval2","remainingMonths","months2","remainingDays","days2","remainingHours","remainingMinutes","remainingSeconds","formatOrLocale","localeOptions","_localeOptions","formatOptions","isFormatOptions","Intl","DateTimeFormat","opts","diffInSeconds","rtf","RelativeTimeFormat","localeMatcher","numeric","style","_dateToCompare","leftDate","rightDate","fromDate","TIMEZONE_UNIT_PRIORITY","Setter","_classCallCheck","_defineProperty","_createClass","validate","_utcDate","ValueSetter","_Setter2","_inherits","validateValue","setValue","priority","subPriority","_this","_callSuper","flags","DateToSystemTimezoneSetter","_Setter3","_this2","_len","_key","_assertThisInitialized","timestampIsSet","Parser","run","dateString","match3","setter","_value","EraParser","_Parser","_this3","_len2","_key2","numericPatterns","hour23h","hour24h","hour11h","hour12h","singleDigit","twoDigits","threeDigits","fourDigits","anyDigitsSigned","singleDigitSigned","twoDigitsSigned","threeDigitsSigned","fourDigitsSigned","timezonePatterns","basicOptionalMinutes","basic","basicOptionalSeconds","extended","extendedOptionalSeconds","mapValue","parseFnResult","mapFn","parseNumericPattern","parseTimezonePattern","parseAnyDigitsSigned","parseNDigits","n","RegExp","parseNDigitsSigned","dayPeriodEnumToHours","normalizeTwoDigitYear","currentYear","isCommonEra","absCurrentYear","rangeEnd","rangeEndCentury","isPreviousCentury","isLeapYearIndex","YearParser","_Parser2","_this4","_len3","_key3","isTwoDigitYear","normalizedTwoDigitYear","LocalWeekYearParser","_Parser3","_this5","_len4","_key4","ISOWeekYearParser","_Parser4","_this6","_len5","_key5","_flags","firstWeekOfYear","ExtendedYearParser","_Parser5","_this7","_len6","_key6","QuarterParser","_Parser6","_this8","_len7","_key7","StandAloneQuarterParser","_Parser7","_this9","_len8","_key8","MonthParser","_Parser8","_this10","_len9","_key9","StandAloneMonthParser","_Parser9","_this11","_len10","_key10","LocalWeekParser","_Parser10","_this12","_len11","_key11","ISOWeekParser","_Parser11","_this13","_len12","_key12","DAYS_IN_MONTH","DAYS_IN_MONTH_LEAP_YEAR","DateParser","_Parser12","_this14","_len13","_key13","isLeapYear3","DayOfYearParser","_Parser13","_this15","_len14","_key14","_ref30","_ref31","_ref32","_options$weekStartsOn6","_options$locale14","_defaultOptions14$loc","defaultOptions14","currentDay","remainder","dayIndex","delta","DayParser","_Parser14","_this16","_len15","_key15","LocalDayParser","_Parser15","_this17","_len16","_key16","wholeWeekDays","StandAloneLocalDayParser","_Parser16","_this18","_len17","_key17","ISODayParser","_Parser17","_this19","_len18","_key18","AMPMParser","_Parser18","_this20","_len19","_key19","AMPMMidnightParser","_Parser19","_this21","_len20","_key20","DayPeriodParser","_Parser20","_this22","_len21","_key21","Hour1to12Parser","_Parser21","_this23","_len22","_key22","isPM","Hour0to23Parser","_Parser22","_this24","_len23","_key23","Hour0To11Parser","_Parser23","_this25","_len24","_key24","Hour1To24Parser","_Parser24","_this26","_len25","_key25","MinuteParser","_Parser25","_this27","_len26","_key26","SecondParser","_Parser26","_this28","_len27","_key27","FractionOfSecondParser","_Parser27","_this29","_len28","_key28","ISOTimezoneWithZParser","_Parser28","_this30","_len29","_key29","ISOTimezoneParser","_Parser29","_this31","_len30","_key30","TimestampSecondsParser","_Parser30","_this32","_len31","_key31","TimestampMillisecondsParser","_Parser31","_this33","_len32","_key32","dateStr","referenceDate","_ref33","_options$locale15","_ref34","_ref35","_ref36","_options$firstWeekCon4","_options$locale16","_defaultOptions14$loc2","_ref37","_ref38","_ref39","_options$weekStartsOn7","_options$locale17","_defaultOptions14$loc3","subFnOptions","setters","tokens","longFormattingTokensRegExp2","formattingTokensRegExp2","usedTokens","_iterator","_createForOfIteratorHelper","_step","_loop","parser","incompatibleTokens","incompatibleToken","find","usedToken","fullToken","v","unescapedLatinCharacterRegExp2","cleanEscapedString2","indexOf","_ret","done","err","f","notWhitespaceRegExp","uniquePrioritySetters","filter","setterArray","_iterator2","_step2","escapedStringRegExp2","doubleQuoteRegExp2","dateLeftStartOfHour","dateRightStartOfHour","dateLeftStartOfWeek","dateRightStartOfWeek","dateLeftStartOfYear","dateRightStartOfYear","dateLeftStartOfMinute","dateRightStartOfMinute","dateLeftStartOfQuarter","dateRightStartOfQuarter","dateLeftStartOfSecond","dateRightStartOfSecond","_sort9","_sort10","startTime","_ref40","_ref41","_ref42","_options$weekStartsOn8","_options$locale18","_defaultOptions15$loc","defaultOptions15","formattingTokensRegExp3","cleanEscapedString3","unescapedLatinCharacterRegExp3","matches","escapedStringRegExp3","doubleQuoteRegExp3","_ref43","totalDays","totalSeconds","milliseconds2","quarters","_options$additionalDi","additionalDigits","dateStrings","splitDateString","parseYearResult","parseYear","parseDate","restDateString","parseTime","timezone","parseTimezone","getUTCMilliseconds","split","patterns","dateTimeDelimiter","timeString","timeZoneDelimiter","substr","exec","regex","captures","century","dateRegex","isWeekDate","parseDateUnit","validateWeekDate","dayOfISOWeekYear","validateDate","validateDayOfYearDate","timeRegex","parseTimeUnit","validateTime","parseFloat","timezoneString","timezoneRegex","validateTimezone","fourthOfJanuaryDay","setUTCDate","isLeapYearIndex2","daysInMonths","_year","_hours","_options$nearestTo","_options$roundingMeth2","nearestTo","fractionalMinutes","fractionalMilliseconds","roundedHours","_options$nearestTo2","_options$roundingMeth3","dateWithDesiredMonth","defaultOptions16","property","oldQuarter","_ref44","_ref45","_ref46","_options$firstWeekCon5","_options$locale19","_defaultOptions17$loc","defaultOptions17","_duration$years3","_duration$months3","_duration$weeks2","_duration$days3","_duration$hours3","_duration$minutes3","_duration$seconds3","dateWithoutMonths","dateWithoutDays","minutestoSub","secondstoSub","mstoSub","window","dateFns","_objectSpread"],"sources":["cdn.js"],"sourcesContent":["(() => { var __defProp = Object.defineProperty;\nvar __export = (target, all) => {\n for (var name in all)\n __defProp(target, name, {\n get: all[name],\n enumerable: true,\n configurable: true,\n set: (newValue) => all[name] = () => newValue\n });\n};\n\n// lib/index.mjs\nvar exports_lib = {};\n__export(exports_lib, {\n yearsToQuarters: () => {\n {\n return yearsToQuarters;\n }\n },\n yearsToMonths: () => {\n {\n return yearsToMonths;\n }\n },\n yearsToDays: () => {\n {\n return yearsToDays;\n }\n },\n weeksToDays: () => {\n {\n return weeksToDays;\n }\n },\n transpose: () => {\n {\n return transpose;\n }\n },\n toDate: () => {\n {\n return toDate;\n }\n },\n subYears: () => {\n {\n return subYears;\n }\n },\n subWeeks: () => {\n {\n return subWeeks;\n }\n },\n subSeconds: () => {\n {\n return subSeconds;\n }\n },\n subQuarters: () => {\n {\n return subQuarters;\n }\n },\n subMonths: () => {\n {\n return subMonths;\n }\n },\n subMinutes: () => {\n {\n return subMinutes;\n }\n },\n subMilliseconds: () => {\n {\n return subMilliseconds;\n }\n },\n subISOWeekYears: () => {\n {\n return subISOWeekYears;\n }\n },\n subHours: () => {\n {\n return subHours;\n }\n },\n subDays: () => {\n {\n return subDays;\n }\n },\n subBusinessDays: () => {\n {\n return subBusinessDays;\n }\n },\n sub: () => {\n {\n return sub;\n }\n },\n startOfYesterday: () => {\n {\n return startOfYesterday;\n }\n },\n startOfYear: () => {\n {\n return startOfYear;\n }\n },\n startOfWeekYear: () => {\n {\n return startOfWeekYear;\n }\n },\n startOfWeek: () => {\n {\n return startOfWeek;\n }\n },\n startOfTomorrow: () => {\n {\n return startOfTomorrow;\n }\n },\n startOfToday: () => {\n {\n return startOfToday;\n }\n },\n startOfSecond: () => {\n {\n return startOfSecond;\n }\n },\n startOfQuarter: () => {\n {\n return startOfQuarter;\n }\n },\n startOfMonth: () => {\n {\n return startOfMonth;\n }\n },\n startOfMinute: () => {\n {\n return startOfMinute;\n }\n },\n startOfISOWeekYear: () => {\n {\n return startOfISOWeekYear;\n }\n },\n startOfISOWeek: () => {\n {\n return startOfISOWeek;\n }\n },\n startOfHour: () => {\n {\n return startOfHour;\n }\n },\n startOfDecade: () => {\n {\n return startOfDecade;\n }\n },\n startOfDay: () => {\n {\n return startOfDay;\n }\n },\n setYear: () => {\n {\n return setYear;\n }\n },\n setWeekYear: () => {\n {\n return setWeekYear;\n }\n },\n setWeek: () => {\n {\n return setWeek;\n }\n },\n setSeconds: () => {\n {\n return setSeconds;\n }\n },\n setQuarter: () => {\n {\n return setQuarter;\n }\n },\n setMonth: () => {\n {\n return setMonth;\n }\n },\n setMinutes: () => {\n {\n return setMinutes;\n }\n },\n setMilliseconds: () => {\n {\n return setMilliseconds;\n }\n },\n setISOWeekYear: () => {\n {\n return setISOWeekYear;\n }\n },\n setISOWeek: () => {\n {\n return setISOWeek;\n }\n },\n setISODay: () => {\n {\n return setISODay;\n }\n },\n setHours: () => {\n {\n return setHours;\n }\n },\n setDefaultOptions: () => {\n {\n return setDefaultOptions2;\n }\n },\n setDayOfYear: () => {\n {\n return setDayOfYear;\n }\n },\n setDay: () => {\n {\n return setDay;\n }\n },\n setDate: () => {\n {\n return setDate;\n }\n },\n set: () => {\n {\n return set;\n }\n },\n secondsToMinutes: () => {\n {\n return secondsToMinutes;\n }\n },\n secondsToMilliseconds: () => {\n {\n return secondsToMilliseconds;\n }\n },\n secondsToHours: () => {\n {\n return secondsToHours;\n }\n },\n roundToNearestMinutes: () => {\n {\n return roundToNearestMinutes;\n }\n },\n roundToNearestHours: () => {\n {\n return roundToNearestHours;\n }\n },\n quartersToYears: () => {\n {\n return quartersToYears;\n }\n },\n quartersToMonths: () => {\n {\n return quartersToMonths;\n }\n },\n previousWednesday: () => {\n {\n return previousWednesday;\n }\n },\n previousTuesday: () => {\n {\n return previousTuesday;\n }\n },\n previousThursday: () => {\n {\n return previousThursday;\n }\n },\n previousSunday: () => {\n {\n return previousSunday;\n }\n },\n previousSaturday: () => {\n {\n return previousSaturday;\n }\n },\n previousMonday: () => {\n {\n return previousMonday;\n }\n },\n previousFriday: () => {\n {\n return previousFriday;\n }\n },\n previousDay: () => {\n {\n return previousDay;\n }\n },\n parsers: () => {\n {\n return parsers;\n }\n },\n parseJSON: () => {\n {\n return parseJSON;\n }\n },\n parseISO: () => {\n {\n return parseISO;\n }\n },\n parse: () => {\n {\n return parse;\n }\n },\n nextWednesday: () => {\n {\n return nextWednesday;\n }\n },\n nextTuesday: () => {\n {\n return nextTuesday;\n }\n },\n nextThursday: () => {\n {\n return nextThursday;\n }\n },\n nextSunday: () => {\n {\n return nextSunday;\n }\n },\n nextSaturday: () => {\n {\n return nextSaturday;\n }\n },\n nextMonday: () => {\n {\n return nextMonday;\n }\n },\n nextFriday: () => {\n {\n return nextFriday;\n }\n },\n nextDay: () => {\n {\n return nextDay;\n }\n },\n monthsToYears: () => {\n {\n return monthsToYears;\n }\n },\n monthsToQuarters: () => {\n {\n return monthsToQuarters;\n }\n },\n minutesToSeconds: () => {\n {\n return minutesToSeconds;\n }\n },\n minutesToMilliseconds: () => {\n {\n return minutesToMilliseconds;\n }\n },\n minutesToHours: () => {\n {\n return minutesToHours;\n }\n },\n min: () => {\n {\n return min;\n }\n },\n millisecondsToSeconds: () => {\n {\n return millisecondsToSeconds;\n }\n },\n millisecondsToMinutes: () => {\n {\n return millisecondsToMinutes;\n }\n },\n millisecondsToHours: () => {\n {\n return millisecondsToHours;\n }\n },\n milliseconds: () => {\n {\n return milliseconds;\n }\n },\n max: () => {\n {\n return max;\n }\n },\n longFormatters: () => {\n {\n return longFormatters;\n }\n },\n lightFormatters: () => {\n {\n return lightFormatters;\n }\n },\n lightFormat: () => {\n {\n return lightFormat;\n }\n },\n lastDayOfYear: () => {\n {\n return lastDayOfYear;\n }\n },\n lastDayOfWeek: () => {\n {\n return lastDayOfWeek;\n }\n },\n lastDayOfQuarter: () => {\n {\n return lastDayOfQuarter;\n }\n },\n lastDayOfMonth: () => {\n {\n return lastDayOfMonth;\n }\n },\n lastDayOfISOWeekYear: () => {\n {\n return lastDayOfISOWeekYear;\n }\n },\n lastDayOfISOWeek: () => {\n {\n return lastDayOfISOWeek;\n }\n },\n lastDayOfDecade: () => {\n {\n return lastDayOfDecade;\n }\n },\n isYesterday: () => {\n {\n return isYesterday;\n }\n },\n isWithinInterval: () => {\n {\n return isWithinInterval;\n }\n },\n isWeekend: () => {\n {\n return isWeekend;\n }\n },\n isWednesday: () => {\n {\n return isWednesday;\n }\n },\n isValid: () => {\n {\n return isValid;\n }\n },\n isTuesday: () => {\n {\n return isTuesday;\n }\n },\n isTomorrow: () => {\n {\n return isTomorrow;\n }\n },\n isToday: () => {\n {\n return isToday;\n }\n },\n isThursday: () => {\n {\n return isThursday;\n }\n },\n isThisYear: () => {\n {\n return isThisYear;\n }\n },\n isThisWeek: () => {\n {\n return isThisWeek;\n }\n },\n isThisSecond: () => {\n {\n return isThisSecond;\n }\n },\n isThisQuarter: () => {\n {\n return isThisQuarter;\n }\n },\n isThisMonth: () => {\n {\n return isThisMonth;\n }\n },\n isThisMinute: () => {\n {\n return isThisMinute;\n }\n },\n isThisISOWeek: () => {\n {\n return isThisISOWeek;\n }\n },\n isThisHour: () => {\n {\n return isThisHour;\n }\n },\n isSunday: () => {\n {\n return isSunday;\n }\n },\n isSaturday: () => {\n {\n return isSaturday;\n }\n },\n isSameYear: () => {\n {\n return isSameYear;\n }\n },\n isSameWeek: () => {\n {\n return isSameWeek;\n }\n },\n isSameSecond: () => {\n {\n return isSameSecond;\n }\n },\n isSameQuarter: () => {\n {\n return isSameQuarter;\n }\n },\n isSameMonth: () => {\n {\n return isSameMonth;\n }\n },\n isSameMinute: () => {\n {\n return isSameMinute;\n }\n },\n isSameISOWeekYear: () => {\n {\n return isSameISOWeekYear;\n }\n },\n isSameISOWeek: () => {\n {\n return isSameISOWeek;\n }\n },\n isSameHour: () => {\n {\n return isSameHour;\n }\n },\n isSameDay: () => {\n {\n return isSameDay;\n }\n },\n isPast: () => {\n {\n return isPast;\n }\n },\n isMonday: () => {\n {\n return isMonday;\n }\n },\n isMatch: () => {\n {\n return isMatch;\n }\n },\n isLeapYear: () => {\n {\n return isLeapYear;\n }\n },\n isLastDayOfMonth: () => {\n {\n return isLastDayOfMonth;\n }\n },\n isFuture: () => {\n {\n return isFuture;\n }\n },\n isFriday: () => {\n {\n return isFriday;\n }\n },\n isFirstDayOfMonth: () => {\n {\n return isFirstDayOfMonth;\n }\n },\n isExists: () => {\n {\n return isExists;\n }\n },\n isEqual: () => {\n {\n return isEqual;\n }\n },\n isDate: () => {\n {\n return isDate;\n }\n },\n isBefore: () => {\n {\n return isBefore;\n }\n },\n isAfter: () => {\n {\n return isAfter;\n }\n },\n intlFormatDistance: () => {\n {\n return intlFormatDistance;\n }\n },\n intlFormat: () => {\n {\n return intlFormat;\n }\n },\n intervalToDuration: () => {\n {\n return intervalToDuration;\n }\n },\n interval: () => {\n {\n return interval;\n }\n },\n hoursToSeconds: () => {\n {\n return hoursToSeconds;\n }\n },\n hoursToMinutes: () => {\n {\n return hoursToMinutes;\n }\n },\n hoursToMilliseconds: () => {\n {\n return hoursToMilliseconds;\n }\n },\n getYear: () => {\n {\n return getYear;\n }\n },\n getWeeksInMonth: () => {\n {\n return getWeeksInMonth;\n }\n },\n getWeekYear: () => {\n {\n return getWeekYear;\n }\n },\n getWeekOfMonth: () => {\n {\n return getWeekOfMonth;\n }\n },\n getWeek: () => {\n {\n return getWeek;\n }\n },\n getUnixTime: () => {\n {\n return getUnixTime;\n }\n },\n getTime: () => {\n {\n return getTime;\n }\n },\n getSeconds: () => {\n {\n return getSeconds;\n }\n },\n getQuarter: () => {\n {\n return getQuarter;\n }\n },\n getOverlappingDaysInIntervals: () => {\n {\n return getOverlappingDaysInIntervals;\n }\n },\n getMonth: () => {\n {\n return getMonth;\n }\n },\n getMinutes: () => {\n {\n return getMinutes;\n }\n },\n getMilliseconds: () => {\n {\n return getMilliseconds;\n }\n },\n getISOWeeksInYear: () => {\n {\n return getISOWeeksInYear;\n }\n },\n getISOWeekYear: () => {\n {\n return getISOWeekYear;\n }\n },\n getISOWeek: () => {\n {\n return getISOWeek;\n }\n },\n getISODay: () => {\n {\n return getISODay;\n }\n },\n getHours: () => {\n {\n return getHours;\n }\n },\n getDefaultOptions: () => {\n {\n return getDefaultOptions2;\n }\n },\n getDecade: () => {\n {\n return getDecade;\n }\n },\n getDaysInYear: () => {\n {\n return getDaysInYear;\n }\n },\n getDaysInMonth: () => {\n {\n return getDaysInMonth;\n }\n },\n getDayOfYear: () => {\n {\n return getDayOfYear;\n }\n },\n getDay: () => {\n {\n return getDay;\n }\n },\n getDate: () => {\n {\n return getDate;\n }\n },\n fromUnixTime: () => {\n {\n return fromUnixTime;\n }\n },\n formatters: () => {\n {\n return formatters;\n }\n },\n formatRelative: () => {\n {\n return formatRelative3;\n }\n },\n formatRFC7231: () => {\n {\n return formatRFC7231;\n }\n },\n formatRFC3339: () => {\n {\n return formatRFC3339;\n }\n },\n formatISODuration: () => {\n {\n return formatISODuration;\n }\n },\n formatISO9075: () => {\n {\n return formatISO9075;\n }\n },\n formatISO: () => {\n {\n return formatISO;\n }\n },\n formatDuration: () => {\n {\n return formatDuration;\n }\n },\n formatDistanceToNowStrict: () => {\n {\n return formatDistanceToNowStrict;\n }\n },\n formatDistanceToNow: () => {\n {\n return formatDistanceToNow;\n }\n },\n formatDistanceStrict: () => {\n {\n return formatDistanceStrict;\n }\n },\n formatDistance: () => {\n {\n return formatDistance3;\n }\n },\n formatDate: () => {\n {\n return format;\n }\n },\n format: () => {\n {\n return format;\n }\n },\n endOfYesterday: () => {\n {\n return endOfYesterday;\n }\n },\n endOfYear: () => {\n {\n return endOfYear;\n }\n },\n endOfWeek: () => {\n {\n return endOfWeek;\n }\n },\n endOfTomorrow: () => {\n {\n return endOfTomorrow;\n }\n },\n endOfToday: () => {\n {\n return endOfToday;\n }\n },\n endOfSecond: () => {\n {\n return endOfSecond;\n }\n },\n endOfQuarter: () => {\n {\n return endOfQuarter;\n }\n },\n endOfMonth: () => {\n {\n return endOfMonth;\n }\n },\n endOfMinute: () => {\n {\n return endOfMinute;\n }\n },\n endOfISOWeekYear: () => {\n {\n return endOfISOWeekYear;\n }\n },\n endOfISOWeek: () => {\n {\n return endOfISOWeek;\n }\n },\n endOfHour: () => {\n {\n return endOfHour;\n }\n },\n endOfDecade: () => {\n {\n return endOfDecade;\n }\n },\n endOfDay: () => {\n {\n return endOfDay;\n }\n },\n eachYearOfInterval: () => {\n {\n return eachYearOfInterval;\n }\n },\n eachWeekendOfYear: () => {\n {\n return eachWeekendOfYear;\n }\n },\n eachWeekendOfMonth: () => {\n {\n return eachWeekendOfMonth;\n }\n },\n eachWeekendOfInterval: () => {\n {\n return eachWeekendOfInterval;\n }\n },\n eachWeekOfInterval: () => {\n {\n return eachWeekOfInterval;\n }\n },\n eachQuarterOfInterval: () => {\n {\n return eachQuarterOfInterval;\n }\n },\n eachMonthOfInterval: () => {\n {\n return eachMonthOfInterval;\n }\n },\n eachMinuteOfInterval: () => {\n {\n return eachMinuteOfInterval;\n }\n },\n eachHourOfInterval: () => {\n {\n return eachHourOfInterval;\n }\n },\n eachDayOfInterval: () => {\n {\n return eachDayOfInterval;\n }\n },\n differenceInYears: () => {\n {\n return differenceInYears;\n }\n },\n differenceInWeeks: () => {\n {\n return differenceInWeeks;\n }\n },\n differenceInSeconds: () => {\n {\n return differenceInSeconds;\n }\n },\n differenceInQuarters: () => {\n {\n return differenceInQuarters;\n }\n },\n differenceInMonths: () => {\n {\n return differenceInMonths;\n }\n },\n differenceInMinutes: () => {\n {\n return differenceInMinutes;\n }\n },\n differenceInMilliseconds: () => {\n {\n return differenceInMilliseconds;\n }\n },\n differenceInISOWeekYears: () => {\n {\n return differenceInISOWeekYears;\n }\n },\n differenceInHours: () => {\n {\n return differenceInHours;\n }\n },\n differenceInDays: () => {\n {\n return differenceInDays;\n }\n },\n differenceInCalendarYears: () => {\n {\n return differenceInCalendarYears;\n }\n },\n differenceInCalendarWeeks: () => {\n {\n return differenceInCalendarWeeks;\n }\n },\n differenceInCalendarQuarters: () => {\n {\n return differenceInCalendarQuarters;\n }\n },\n differenceInCalendarMonths: () => {\n {\n return differenceInCalendarMonths;\n }\n },\n differenceInCalendarISOWeeks: () => {\n {\n return differenceInCalendarISOWeeks;\n }\n },\n differenceInCalendarISOWeekYears: () => {\n {\n return differenceInCalendarISOWeekYears;\n }\n },\n differenceInCalendarDays: () => {\n {\n return differenceInCalendarDays;\n }\n },\n differenceInBusinessDays: () => {\n {\n return differenceInBusinessDays;\n }\n },\n daysToWeeks: () => {\n {\n return daysToWeeks;\n }\n },\n constructNow: () => {\n {\n return constructNow;\n }\n },\n constructFrom: () => {\n {\n return constructFrom;\n }\n },\n compareDesc: () => {\n {\n return compareDesc;\n }\n },\n compareAsc: () => {\n {\n return compareAsc;\n }\n },\n closestTo: () => {\n {\n return closestTo;\n }\n },\n closestIndexTo: () => {\n {\n return closestIndexTo;\n }\n },\n clamp: () => {\n {\n return clamp;\n }\n },\n areIntervalsOverlapping: () => {\n {\n return areIntervalsOverlapping;\n }\n },\n addYears: () => {\n {\n return addYears;\n }\n },\n addWeeks: () => {\n {\n return addWeeks;\n }\n },\n addSeconds: () => {\n {\n return addSeconds;\n }\n },\n addQuarters: () => {\n {\n return addQuarters;\n }\n },\n addMonths: () => {\n {\n return addMonths;\n }\n },\n addMinutes: () => {\n {\n return addMinutes;\n }\n },\n addMilliseconds: () => {\n {\n return addMilliseconds;\n }\n },\n addISOWeekYears: () => {\n {\n return addISOWeekYears;\n }\n },\n addHours: () => {\n {\n return addHours;\n }\n },\n addDays: () => {\n {\n return addDays;\n }\n },\n addBusinessDays: () => {\n {\n return addBusinessDays;\n }\n },\n add: () => {\n {\n return add;\n }\n }\n});\n\n// lib/toDate.mjs\nfunction toDate(argument) {\n const argStr = Object.prototype.toString.call(argument);\n if (argument instanceof Date || typeof argument === \"object\" && argStr === \"[object Date]\") {\n return new argument.constructor(+argument);\n } else if (typeof argument === \"number\" || argStr === \"[object Number]\" || typeof argument === \"string\" || argStr === \"[object String]\") {\n return new Date(argument);\n } else {\n return new Date(NaN);\n }\n}\n\n// lib/constructFrom.mjs\nfunction constructFrom(date, value) {\n if (date instanceof Date) {\n return new date.constructor(value);\n } else {\n return new Date(value);\n }\n}\n\n// lib/addDays.mjs\nfunction addDays(date, amount) {\n const _date = toDate(date);\n if (isNaN(amount))\n return constructFrom(date, NaN);\n if (!amount) {\n return _date;\n }\n _date.setDate(_date.getDate() + amount);\n return _date;\n}\n\n// lib/addMonths.mjs\nfunction addMonths(date, amount) {\n const _date = toDate(date);\n if (isNaN(amount))\n return constructFrom(date, NaN);\n if (!amount) {\n return _date;\n }\n const dayOfMonth = _date.getDate();\n const endOfDesiredMonth = constructFrom(date, _date.getTime());\n endOfDesiredMonth.setMonth(_date.getMonth() + amount + 1, 0);\n const daysInMonth = endOfDesiredMonth.getDate();\n if (dayOfMonth >= daysInMonth) {\n return endOfDesiredMonth;\n } else {\n _date.setFullYear(endOfDesiredMonth.getFullYear(), endOfDesiredMonth.getMonth(), dayOfMonth);\n return _date;\n }\n}\n\n// lib/add.mjs\nfunction add(date, duration) {\n const {\n years = 0,\n months = 0,\n weeks = 0,\n days = 0,\n hours = 0,\n minutes = 0,\n seconds = 0\n } = duration;\n const _date = toDate(date);\n const dateWithMonths = months || years ? addMonths(_date, months + years * 12) : _date;\n const dateWithDays = days || weeks ? addDays(dateWithMonths, days + weeks * 7) : dateWithMonths;\n const minutesToAdd = minutes + hours * 60;\n const secondsToAdd = seconds + minutesToAdd * 60;\n const msToAdd = secondsToAdd * 1000;\n const finalDate = constructFrom(date, dateWithDays.getTime() + msToAdd);\n return finalDate;\n}\n// lib/isSaturday.mjs\nfunction isSaturday(date) {\n return toDate(date).getDay() === 6;\n}\n\n// lib/isSunday.mjs\nfunction isSunday(date) {\n return toDate(date).getDay() === 0;\n}\n\n// lib/isWeekend.mjs\nfunction isWeekend(date) {\n const day = toDate(date).getDay();\n return day === 0 || day === 6;\n}\n\n// lib/addBusinessDays.mjs\nfunction addBusinessDays(date, amount) {\n const _date = toDate(date);\n const startedOnWeekend = isWeekend(_date);\n if (isNaN(amount))\n return constructFrom(date, NaN);\n const hours = _date.getHours();\n const sign = amount < 0 ? -1 : 1;\n const fullWeeks = Math.trunc(amount / 5);\n _date.setDate(_date.getDate() + fullWeeks * 7);\n let restDays = Math.abs(amount % 5);\n while (restDays > 0) {\n _date.setDate(_date.getDate() + sign);\n if (!isWeekend(_date))\n restDays -= 1;\n }\n if (startedOnWeekend && isWeekend(_date) && amount !== 0) {\n if (isSaturday(_date))\n _date.setDate(_date.getDate() + (sign < 0 ? 2 : -1));\n if (isSunday(_date))\n _date.setDate(_date.getDate() + (sign < 0 ? 1 : -2));\n }\n _date.setHours(hours);\n return _date;\n}\n// lib/addMilliseconds.mjs\nfunction addMilliseconds(date, amount) {\n const timestamp = +toDate(date);\n return constructFrom(date, timestamp + amount);\n}\n\n// lib/constants.mjs\nvar daysInWeek = 7;\nvar daysInYear = 365.2425;\nvar maxTime = Math.pow(10, 8) * 24 * 60 * 60 * 1000;\nvar minTime = -maxTime;\nvar millisecondsInWeek = 604800000;\nvar millisecondsInDay = 86400000;\nvar millisecondsInMinute = 60000;\nvar millisecondsInHour = 3600000;\nvar millisecondsInSecond = 1000;\nvar minutesInYear = 525600;\nvar minutesInMonth = 43200;\nvar minutesInDay = 1440;\nvar minutesInHour = 60;\nvar monthsInQuarter = 3;\nvar monthsInYear = 12;\nvar quartersInYear = 4;\nvar secondsInHour = 3600;\nvar secondsInMinute = 60;\nvar secondsInDay = secondsInHour * 24;\nvar secondsInWeek = secondsInDay * 7;\nvar secondsInYear = secondsInDay * daysInYear;\nvar secondsInMonth = secondsInYear / 12;\nvar secondsInQuarter = secondsInMonth * 3;\n\n// lib/addHours.mjs\nfunction addHours(date, amount) {\n return addMilliseconds(date, amount * millisecondsInHour);\n}\n// lib/_lib/defaultOptions.mjs\nfunction getDefaultOptions() {\n return defaultOptions;\n}\nfunction setDefaultOptions(newOptions) {\n defaultOptions = newOptions;\n}\nvar defaultOptions = {};\n\n// lib/startOfWeek.mjs\nfunction startOfWeek(date, options) {\n const defaultOptions3 = getDefaultOptions();\n const weekStartsOn = options?.weekStartsOn ?? options?.locale?.options?.weekStartsOn ?? defaultOptions3.weekStartsOn ?? defaultOptions3.locale?.options?.weekStartsOn ?? 0;\n const _date = toDate(date);\n const day = _date.getDay();\n const diff = (day < weekStartsOn ? 7 : 0) + day - weekStartsOn;\n _date.setDate(_date.getDate() - diff);\n _date.setHours(0, 0, 0, 0);\n return _date;\n}\n\n// lib/startOfISOWeek.mjs\nfunction startOfISOWeek(date) {\n return startOfWeek(date, { weekStartsOn: 1 });\n}\n\n// lib/getISOWeekYear.mjs\nfunction getISOWeekYear(date) {\n const _date = toDate(date);\n const year = _date.getFullYear();\n const fourthOfJanuaryOfNextYear = constructFrom(date, 0);\n fourthOfJanuaryOfNextYear.setFullYear(year + 1, 0, 4);\n fourthOfJanuaryOfNextYear.setHours(0, 0, 0, 0);\n const startOfNextYear = startOfISOWeek(fourthOfJanuaryOfNextYear);\n const fourthOfJanuaryOfThisYear = constructFrom(date, 0);\n fourthOfJanuaryOfThisYear.setFullYear(year, 0, 4);\n fourthOfJanuaryOfThisYear.setHours(0, 0, 0, 0);\n const startOfThisYear = startOfISOWeek(fourthOfJanuaryOfThisYear);\n if (_date.getTime() >= startOfNextYear.getTime()) {\n return year + 1;\n } else if (_date.getTime() >= startOfThisYear.getTime()) {\n return year;\n } else {\n return year - 1;\n }\n}\n\n// lib/startOfDay.mjs\nfunction startOfDay(date) {\n const _date = toDate(date);\n _date.setHours(0, 0, 0, 0);\n return _date;\n}\n\n// lib/_lib/getTimezoneOffsetInMilliseconds.mjs\nfunction getTimezoneOffsetInMilliseconds(date) {\n const _date = toDate(date);\n const utcDate = new Date(Date.UTC(_date.getFullYear(), _date.getMonth(), _date.getDate(), _date.getHours(), _date.getMinutes(), _date.getSeconds(), _date.getMilliseconds()));\n utcDate.setUTCFullYear(_date.getFullYear());\n return +date - +utcDate;\n}\n\n// lib/differenceInCalendarDays.mjs\nfunction differenceInCalendarDays(dateLeft, dateRight) {\n const startOfDayLeft = startOfDay(dateLeft);\n const startOfDayRight = startOfDay(dateRight);\n const timestampLeft = +startOfDayLeft - getTimezoneOffsetInMilliseconds(startOfDayLeft);\n const timestampRight = +startOfDayRight - getTimezoneOffsetInMilliseconds(startOfDayRight);\n return Math.round((timestampLeft - timestampRight) / millisecondsInDay);\n}\n\n// lib/startOfISOWeekYear.mjs\nfunction startOfISOWeekYear(date) {\n const year = getISOWeekYear(date);\n const fourthOfJanuary = constructFrom(date, 0);\n fourthOfJanuary.setFullYear(year, 0, 4);\n fourthOfJanuary.setHours(0, 0, 0, 0);\n return startOfISOWeek(fourthOfJanuary);\n}\n\n// lib/setISOWeekYear.mjs\nfunction setISOWeekYear(date, weekYear) {\n let _date = toDate(date);\n const diff = differenceInCalendarDays(_date, startOfISOWeekYear(_date));\n const fourthOfJanuary = constructFrom(date, 0);\n fourthOfJanuary.setFullYear(weekYear, 0, 4);\n fourthOfJanuary.setHours(0, 0, 0, 0);\n _date = startOfISOWeekYear(fourthOfJanuary);\n _date.setDate(_date.getDate() + diff);\n return _date;\n}\n\n// lib/addISOWeekYears.mjs\nfunction addISOWeekYears(date, amount) {\n return setISOWeekYear(date, getISOWeekYear(date) + amount);\n}\n// lib/addMinutes.mjs\nfunction addMinutes(date, amount) {\n return addMilliseconds(date, amount * millisecondsInMinute);\n}\n// lib/addQuarters.mjs\nfunction addQuarters(date, amount) {\n const months = amount * 3;\n return addMonths(date, months);\n}\n// lib/addSeconds.mjs\nfunction addSeconds(date, amount) {\n return addMilliseconds(date, amount * 1000);\n}\n// lib/addWeeks.mjs\nfunction addWeeks(date, amount) {\n const days = amount * 7;\n return addDays(date, days);\n}\n// lib/addYears.mjs\nfunction addYears(date, amount) {\n return addMonths(date, amount * 12);\n}\n// lib/areIntervalsOverlapping.mjs\nfunction areIntervalsOverlapping(intervalLeft, intervalRight, options) {\n const [leftStartTime, leftEndTime] = [\n +toDate(intervalLeft.start),\n +toDate(intervalLeft.end)\n ].sort((a, b) => a - b);\n const [rightStartTime, rightEndTime] = [\n +toDate(intervalRight.start),\n +toDate(intervalRight.end)\n ].sort((a, b) => a - b);\n if (options?.inclusive)\n return leftStartTime <= rightEndTime && rightStartTime <= leftEndTime;\n return leftStartTime < rightEndTime && rightStartTime < leftEndTime;\n}\n// lib/max.mjs\nfunction max(dates) {\n let result;\n dates.forEach(function(dirtyDate) {\n const currentDate = toDate(dirtyDate);\n if (result === undefined || result < currentDate || isNaN(Number(currentDate))) {\n result = currentDate;\n }\n });\n return result || new Date(NaN);\n}\n\n// lib/min.mjs\nfunction min(dates) {\n let result;\n dates.forEach((dirtyDate) => {\n const date = toDate(dirtyDate);\n if (!result || result > date || isNaN(+date)) {\n result = date;\n }\n });\n return result || new Date(NaN);\n}\n\n// lib/clamp.mjs\nfunction clamp(date, interval) {\n return min([max([date, interval.start]), interval.end]);\n}\n// lib/closestIndexTo.mjs\nfunction closestIndexTo(dateToCompare, dates) {\n const date = toDate(dateToCompare);\n if (isNaN(Number(date)))\n return NaN;\n const timeToCompare = date.getTime();\n let result;\n let minDistance;\n dates.forEach(function(dirtyDate, index) {\n const currentDate = toDate(dirtyDate);\n if (isNaN(Number(currentDate))) {\n result = NaN;\n minDistance = NaN;\n return;\n }\n const distance = Math.abs(timeToCompare - currentDate.getTime());\n if (result == null || distance < minDistance) {\n result = index;\n minDistance = distance;\n }\n });\n return result;\n}\n// lib/closestTo.mjs\nfunction closestTo(dateToCompare, dates) {\n const date = toDate(dateToCompare);\n if (isNaN(Number(date)))\n return constructFrom(dateToCompare, NaN);\n const timeToCompare = date.getTime();\n let result;\n let minDistance;\n dates.forEach((dirtyDate) => {\n const currentDate = toDate(dirtyDate);\n if (isNaN(Number(currentDate))) {\n result = constructFrom(dateToCompare, NaN);\n minDistance = NaN;\n return;\n }\n const distance = Math.abs(timeToCompare - currentDate.getTime());\n if (result == null || distance < minDistance) {\n result = currentDate;\n minDistance = distance;\n }\n });\n return result;\n}\n// lib/compareAsc.mjs\nfunction compareAsc(dateLeft, dateRight) {\n const _dateLeft = toDate(dateLeft);\n const _dateRight = toDate(dateRight);\n const diff = _dateLeft.getTime() - _dateRight.getTime();\n if (diff < 0) {\n return -1;\n } else if (diff > 0) {\n return 1;\n } else {\n return diff;\n }\n}\n// lib/compareDesc.mjs\nfunction compareDesc(dateLeft, dateRight) {\n const _dateLeft = toDate(dateLeft);\n const _dateRight = toDate(dateRight);\n const diff = _dateLeft.getTime() - _dateRight.getTime();\n if (diff > 0) {\n return -1;\n } else if (diff < 0) {\n return 1;\n } else {\n return diff;\n }\n}\n// lib/constructNow.mjs\nfunction constructNow(date) {\n return constructFrom(date, Date.now());\n}\n// lib/daysToWeeks.mjs\nfunction daysToWeeks(days) {\n const weeks = days / daysInWeek;\n const result = Math.trunc(weeks);\n return result === 0 ? 0 : result;\n}\n// lib/isSameDay.mjs\nfunction isSameDay(dateLeft, dateRight) {\n const dateLeftStartOfDay = startOfDay(dateLeft);\n const dateRightStartOfDay = startOfDay(dateRight);\n return +dateLeftStartOfDay === +dateRightStartOfDay;\n}\n\n// lib/isDate.mjs\nfunction isDate(value) {\n return value instanceof Date || typeof value === \"object\" && Object.prototype.toString.call(value) === \"[object Date]\";\n}\n\n// lib/isValid.mjs\nfunction isValid(date) {\n if (!isDate(date) && typeof date !== \"number\") {\n return false;\n }\n const _date = toDate(date);\n return !isNaN(Number(_date));\n}\n\n// lib/differenceInBusinessDays.mjs\nfunction differenceInBusinessDays(dateLeft, dateRight) {\n const _dateLeft = toDate(dateLeft);\n let _dateRight = toDate(dateRight);\n if (!isValid(_dateLeft) || !isValid(_dateRight))\n return NaN;\n const calendarDifference = differenceInCalendarDays(_dateLeft, _dateRight);\n const sign = calendarDifference < 0 ? -1 : 1;\n const weeks = Math.trunc(calendarDifference / 7);\n let result = weeks * 5;\n _dateRight = addDays(_dateRight, weeks * 7);\n while (!isSameDay(_dateLeft, _dateRight)) {\n result += isWeekend(_dateRight) ? 0 : sign;\n _dateRight = addDays(_dateRight, sign);\n }\n return result === 0 ? 0 : result;\n}\n// lib/differenceInCalendarISOWeekYears.mjs\nfunction differenceInCalendarISOWeekYears(dateLeft, dateRight) {\n return getISOWeekYear(dateLeft) - getISOWeekYear(dateRight);\n}\n// lib/differenceInCalendarISOWeeks.mjs\nfunction differenceInCalendarISOWeeks(dateLeft, dateRight) {\n const startOfISOWeekLeft = startOfISOWeek(dateLeft);\n const startOfISOWeekRight = startOfISOWeek(dateRight);\n const timestampLeft = +startOfISOWeekLeft - getTimezoneOffsetInMilliseconds(startOfISOWeekLeft);\n const timestampRight = +startOfISOWeekRight - getTimezoneOffsetInMilliseconds(startOfISOWeekRight);\n return Math.round((timestampLeft - timestampRight) / millisecondsInWeek);\n}\n// lib/differenceInCalendarMonths.mjs\nfunction differenceInCalendarMonths(dateLeft, dateRight) {\n const _dateLeft = toDate(dateLeft);\n const _dateRight = toDate(dateRight);\n const yearDiff = _dateLeft.getFullYear() - _dateRight.getFullYear();\n const monthDiff = _dateLeft.getMonth() - _dateRight.getMonth();\n return yearDiff * 12 + monthDiff;\n}\n// lib/getQuarter.mjs\nfunction getQuarter(date) {\n const _date = toDate(date);\n const quarter = Math.trunc(_date.getMonth() / 3) + 1;\n return quarter;\n}\n\n// lib/differenceInCalendarQuarters.mjs\nfunction differenceInCalendarQuarters(dateLeft, dateRight) {\n const _dateLeft = toDate(dateLeft);\n const _dateRight = toDate(dateRight);\n const yearDiff = _dateLeft.getFullYear() - _dateRight.getFullYear();\n const quarterDiff = getQuarter(_dateLeft) - getQuarter(_dateRight);\n return yearDiff * 4 + quarterDiff;\n}\n// lib/differenceInCalendarWeeks.mjs\nfunction differenceInCalendarWeeks(dateLeft, dateRight, options) {\n const startOfWeekLeft = startOfWeek(dateLeft, options);\n const startOfWeekRight = startOfWeek(dateRight, options);\n const timestampLeft = +startOfWeekLeft - getTimezoneOffsetInMilliseconds(startOfWeekLeft);\n const timestampRight = +startOfWeekRight - getTimezoneOffsetInMilliseconds(startOfWeekRight);\n return Math.round((timestampLeft - timestampRight) / millisecondsInWeek);\n}\n// lib/differenceInCalendarYears.mjs\nfunction differenceInCalendarYears(dateLeft, dateRight) {\n const _dateLeft = toDate(dateLeft);\n const _dateRight = toDate(dateRight);\n return _dateLeft.getFullYear() - _dateRight.getFullYear();\n}\n// lib/differenceInDays.mjs\nfunction differenceInDays(dateLeft, dateRight) {\n const _dateLeft = toDate(dateLeft);\n const _dateRight = toDate(dateRight);\n const sign = compareLocalAsc(_dateLeft, _dateRight);\n const difference = Math.abs(differenceInCalendarDays(_dateLeft, _dateRight));\n _dateLeft.setDate(_dateLeft.getDate() - sign * difference);\n const isLastDayNotFull = Number(compareLocalAsc(_dateLeft, _dateRight) === -sign);\n const result = sign * (difference - isLastDayNotFull);\n return result === 0 ? 0 : result;\n}\nvar compareLocalAsc = function(dateLeft, dateRight) {\n const diff = dateLeft.getFullYear() - dateRight.getFullYear() || dateLeft.getMonth() - dateRight.getMonth() || dateLeft.getDate() - dateRight.getDate() || dateLeft.getHours() - dateRight.getHours() || dateLeft.getMinutes() - dateRight.getMinutes() || dateLeft.getSeconds() - dateRight.getSeconds() || dateLeft.getMilliseconds() - dateRight.getMilliseconds();\n if (diff < 0) {\n return -1;\n } else if (diff > 0) {\n return 1;\n } else {\n return diff;\n }\n};\n// lib/_lib/getRoundingMethod.mjs\nfunction getRoundingMethod(method) {\n return (number) => {\n const round = method ? Math[method] : Math.trunc;\n const result = round(number);\n return result === 0 ? 0 : result;\n };\n}\n\n// lib/differenceInMilliseconds.mjs\nfunction differenceInMilliseconds(dateLeft, dateRight) {\n return +toDate(dateLeft) - +toDate(dateRight);\n}\n\n// lib/differenceInHours.mjs\nfunction differenceInHours(dateLeft, dateRight, options) {\n const diff = differenceInMilliseconds(dateLeft, dateRight) / millisecondsInHour;\n return getRoundingMethod(options?.roundingMethod)(diff);\n}\n// lib/subISOWeekYears.mjs\nfunction subISOWeekYears(date, amount) {\n return addISOWeekYears(date, -amount);\n}\n\n// lib/differenceInISOWeekYears.mjs\nfunction differenceInISOWeekYears(dateLeft, dateRight) {\n let _dateLeft = toDate(dateLeft);\n const _dateRight = toDate(dateRight);\n const sign = compareAsc(_dateLeft, _dateRight);\n const difference = Math.abs(differenceInCalendarISOWeekYears(_dateLeft, _dateRight));\n _dateLeft = subISOWeekYears(_dateLeft, sign * difference);\n const isLastISOWeekYearNotFull = Number(compareAsc(_dateLeft, _dateRight) === -sign);\n const result = sign * (difference - isLastISOWeekYearNotFull);\n return result === 0 ? 0 : result;\n}\n// lib/differenceInMinutes.mjs\nfunction differenceInMinutes(dateLeft, dateRight, options) {\n const diff = differenceInMilliseconds(dateLeft, dateRight) / millisecondsInMinute;\n return getRoundingMethod(options?.roundingMethod)(diff);\n}\n// lib/endOfDay.mjs\nfunction endOfDay(date) {\n const _date = toDate(date);\n _date.setHours(23, 59, 59, 999);\n return _date;\n}\n\n// lib/endOfMonth.mjs\nfunction endOfMonth(date) {\n const _date = toDate(date);\n const month = _date.getMonth();\n _date.setFullYear(_date.getFullYear(), month + 1, 0);\n _date.setHours(23, 59, 59, 999);\n return _date;\n}\n\n// lib/isLastDayOfMonth.mjs\nfunction isLastDayOfMonth(date) {\n const _date = toDate(date);\n return +endOfDay(_date) === +endOfMonth(_date);\n}\n\n// lib/differenceInMonths.mjs\nfunction differenceInMonths(dateLeft, dateRight) {\n const _dateLeft = toDate(dateLeft);\n const _dateRight = toDate(dateRight);\n const sign = compareAsc(_dateLeft, _dateRight);\n const difference = Math.abs(differenceInCalendarMonths(_dateLeft, _dateRight));\n let result;\n if (difference < 1) {\n result = 0;\n } else {\n if (_dateLeft.getMonth() === 1 && _dateLeft.getDate() > 27) {\n _dateLeft.setDate(30);\n }\n _dateLeft.setMonth(_dateLeft.getMonth() - sign * difference);\n let isLastMonthNotFull = compareAsc(_dateLeft, _dateRight) === -sign;\n if (isLastDayOfMonth(toDate(dateLeft)) && difference === 1 && compareAsc(dateLeft, _dateRight) === 1) {\n isLastMonthNotFull = false;\n }\n result = sign * (difference - Number(isLastMonthNotFull));\n }\n return result === 0 ? 0 : result;\n}\n// lib/differenceInQuarters.mjs\nfunction differenceInQuarters(dateLeft, dateRight, options) {\n const diff = differenceInMonths(dateLeft, dateRight) / 3;\n return getRoundingMethod(options?.roundingMethod)(diff);\n}\n// lib/differenceInSeconds.mjs\nfunction differenceInSeconds(dateLeft, dateRight, options) {\n const diff = differenceInMilliseconds(dateLeft, dateRight) / 1000;\n return getRoundingMethod(options?.roundingMethod)(diff);\n}\n// lib/differenceInWeeks.mjs\nfunction differenceInWeeks(dateLeft, dateRight, options) {\n const diff = differenceInDays(dateLeft, dateRight) / 7;\n return getRoundingMethod(options?.roundingMethod)(diff);\n}\n// lib/differenceInYears.mjs\nfunction differenceInYears(dateLeft, dateRight) {\n const _dateLeft = toDate(dateLeft);\n const _dateRight = toDate(dateRight);\n const sign = compareAsc(_dateLeft, _dateRight);\n const difference = Math.abs(differenceInCalendarYears(_dateLeft, _dateRight));\n _dateLeft.setFullYear(1584);\n _dateRight.setFullYear(1584);\n const isLastYearNotFull = compareAsc(_dateLeft, _dateRight) === -sign;\n const result = sign * (difference - +isLastYearNotFull);\n return result === 0 ? 0 : result;\n}\n// lib/eachDayOfInterval.mjs\nfunction eachDayOfInterval(interval, options) {\n const startDate = toDate(interval.start);\n const endDate = toDate(interval.end);\n let reversed = +startDate > +endDate;\n const endTime = reversed ? +startDate : +endDate;\n const currentDate = reversed ? endDate : startDate;\n currentDate.setHours(0, 0, 0, 0);\n let step = options?.step ?? 1;\n if (!step)\n return [];\n if (step < 0) {\n step = -step;\n reversed = !reversed;\n }\n const dates = [];\n while (+currentDate <= endTime) {\n dates.push(toDate(currentDate));\n currentDate.setDate(currentDate.getDate() + step);\n currentDate.setHours(0, 0, 0, 0);\n }\n return reversed ? dates.reverse() : dates;\n}\n// lib/eachHourOfInterval.mjs\nfunction eachHourOfInterval(interval, options) {\n const startDate = toDate(interval.start);\n const endDate = toDate(interval.end);\n let reversed = +startDate > +endDate;\n const endTime = reversed ? +startDate : +endDate;\n let currentDate = reversed ? endDate : startDate;\n currentDate.setMinutes(0, 0, 0);\n let step = options?.step ?? 1;\n if (!step)\n return [];\n if (step < 0) {\n step = -step;\n reversed = !reversed;\n }\n const dates = [];\n while (+currentDate <= endTime) {\n dates.push(toDate(currentDate));\n currentDate = addHours(currentDate, step);\n }\n return reversed ? dates.reverse() : dates;\n}\n// lib/startOfMinute.mjs\nfunction startOfMinute(date) {\n const _date = toDate(date);\n _date.setSeconds(0, 0);\n return _date;\n}\n\n// lib/eachMinuteOfInterval.mjs\nfunction eachMinuteOfInterval(interval, options) {\n const startDate = startOfMinute(toDate(interval.start));\n const endDate = toDate(interval.end);\n let reversed = +startDate > +endDate;\n const endTime = reversed ? +startDate : +endDate;\n let currentDate = reversed ? endDate : startDate;\n let step = options?.step ?? 1;\n if (!step)\n return [];\n if (step < 0) {\n step = -step;\n reversed = !reversed;\n }\n const dates = [];\n while (+currentDate <= endTime) {\n dates.push(toDate(currentDate));\n currentDate = addMinutes(currentDate, step);\n }\n return reversed ? dates.reverse() : dates;\n}\n// lib/eachMonthOfInterval.mjs\nfunction eachMonthOfInterval(interval, options) {\n const startDate = toDate(interval.start);\n const endDate = toDate(interval.end);\n let reversed = +startDate > +endDate;\n const endTime = reversed ? +startDate : +endDate;\n const currentDate = reversed ? endDate : startDate;\n currentDate.setHours(0, 0, 0, 0);\n currentDate.setDate(1);\n let step = options?.step ?? 1;\n if (!step)\n return [];\n if (step < 0) {\n step = -step;\n reversed = !reversed;\n }\n const dates = [];\n while (+currentDate <= endTime) {\n dates.push(toDate(currentDate));\n currentDate.setMonth(currentDate.getMonth() + step);\n }\n return reversed ? dates.reverse() : dates;\n}\n// lib/startOfQuarter.mjs\nfunction startOfQuarter(date) {\n const _date = toDate(date);\n const currentMonth = _date.getMonth();\n const month = currentMonth - currentMonth % 3;\n _date.setMonth(month, 1);\n _date.setHours(0, 0, 0, 0);\n return _date;\n}\n\n// lib/eachQuarterOfInterval.mjs\nfunction eachQuarterOfInterval(interval, options) {\n const startDate = toDate(interval.start);\n const endDate = toDate(interval.end);\n let reversed = +startDate > +endDate;\n const endTime = reversed ? +startOfQuarter(startDate) : +startOfQuarter(endDate);\n let currentDate = reversed ? startOfQuarter(endDate) : startOfQuarter(startDate);\n let step = options?.step ?? 1;\n if (!step)\n return [];\n if (step < 0) {\n step = -step;\n reversed = !reversed;\n }\n const dates = [];\n while (+currentDate <= endTime) {\n dates.push(toDate(currentDate));\n currentDate = addQuarters(currentDate, step);\n }\n return reversed ? dates.reverse() : dates;\n}\n// lib/eachWeekOfInterval.mjs\nfunction eachWeekOfInterval(interval, options) {\n const startDate = toDate(interval.start);\n const endDate = toDate(interval.end);\n let reversed = +startDate > +endDate;\n const startDateWeek = reversed ? startOfWeek(endDate, options) : startOfWeek(startDate, options);\n const endDateWeek = reversed ? startOfWeek(startDate, options) : startOfWeek(endDate, options);\n startDateWeek.setHours(15);\n endDateWeek.setHours(15);\n const endTime = +endDateWeek.getTime();\n let currentDate = startDateWeek;\n let step = options?.step ?? 1;\n if (!step)\n return [];\n if (step < 0) {\n step = -step;\n reversed = !reversed;\n }\n const dates = [];\n while (+currentDate <= endTime) {\n currentDate.setHours(0);\n dates.push(toDate(currentDate));\n currentDate = addWeeks(currentDate, step);\n currentDate.setHours(15);\n }\n return reversed ? dates.reverse() : dates;\n}\n// lib/eachWeekendOfInterval.mjs\nfunction eachWeekendOfInterval(interval) {\n const dateInterval = eachDayOfInterval(interval);\n const weekends = [];\n let index = 0;\n while (index < dateInterval.length) {\n const date = dateInterval[index++];\n if (isWeekend(date))\n weekends.push(date);\n }\n return weekends;\n}\n// lib/startOfMonth.mjs\nfunction startOfMonth(date) {\n const _date = toDate(date);\n _date.setDate(1);\n _date.setHours(0, 0, 0, 0);\n return _date;\n}\n\n// lib/eachWeekendOfMonth.mjs\nfunction eachWeekendOfMonth(date) {\n const start = startOfMonth(date);\n const end = endOfMonth(date);\n return eachWeekendOfInterval({ start, end });\n}\n// lib/endOfYear.mjs\nfunction endOfYear(date) {\n const _date = toDate(date);\n const year = _date.getFullYear();\n _date.setFullYear(year + 1, 0, 0);\n _date.setHours(23, 59, 59, 999);\n return _date;\n}\n\n// lib/startOfYear.mjs\nfunction startOfYear(date) {\n const cleanDate = toDate(date);\n const _date = constructFrom(date, 0);\n _date.setFullYear(cleanDate.getFullYear(), 0, 1);\n _date.setHours(0, 0, 0, 0);\n return _date;\n}\n\n// lib/eachWeekendOfYear.mjs\nfunction eachWeekendOfYear(date) {\n const start = startOfYear(date);\n const end = endOfYear(date);\n return eachWeekendOfInterval({ start, end });\n}\n// lib/eachYearOfInterval.mjs\nfunction eachYearOfInterval(interval, options) {\n const startDate = toDate(interval.start);\n const endDate = toDate(interval.end);\n let reversed = +startDate > +endDate;\n const endTime = reversed ? +startDate : +endDate;\n const currentDate = reversed ? endDate : startDate;\n currentDate.setHours(0, 0, 0, 0);\n currentDate.setMonth(0, 1);\n let step = options?.step ?? 1;\n if (!step)\n return [];\n if (step < 0) {\n step = -step;\n reversed = !reversed;\n }\n const dates = [];\n while (+currentDate <= endTime) {\n dates.push(toDate(currentDate));\n currentDate.setFullYear(currentDate.getFullYear() + step);\n }\n return reversed ? dates.reverse() : dates;\n}\n// lib/endOfDecade.mjs\nfunction endOfDecade(date) {\n const _date = toDate(date);\n const year = _date.getFullYear();\n const decade = 9 + Math.floor(year / 10) * 10;\n _date.setFullYear(decade, 11, 31);\n _date.setHours(23, 59, 59, 999);\n return _date;\n}\n// lib/endOfHour.mjs\nfunction endOfHour(date) {\n const _date = toDate(date);\n _date.setMinutes(59, 59, 999);\n return _date;\n}\n// lib/endOfWeek.mjs\nfunction endOfWeek(date, options) {\n const defaultOptions4 = getDefaultOptions();\n const weekStartsOn = options?.weekStartsOn ?? options?.locale?.options?.weekStartsOn ?? defaultOptions4.weekStartsOn ?? defaultOptions4.locale?.options?.weekStartsOn ?? 0;\n const _date = toDate(date);\n const day = _date.getDay();\n const diff = (day < weekStartsOn ? -7 : 0) + 6 - (day - weekStartsOn);\n _date.setDate(_date.getDate() + diff);\n _date.setHours(23, 59, 59, 999);\n return _date;\n}\n\n// lib/endOfISOWeek.mjs\nfunction endOfISOWeek(date) {\n return endOfWeek(date, { weekStartsOn: 1 });\n}\n// lib/endOfISOWeekYear.mjs\nfunction endOfISOWeekYear(date) {\n const year = getISOWeekYear(date);\n const fourthOfJanuaryOfNextYear = constructFrom(date, 0);\n fourthOfJanuaryOfNextYear.setFullYear(year + 1, 0, 4);\n fourthOfJanuaryOfNextYear.setHours(0, 0, 0, 0);\n const _date = startOfISOWeek(fourthOfJanuaryOfNextYear);\n _date.setMilliseconds(_date.getMilliseconds() - 1);\n return _date;\n}\n// lib/endOfMinute.mjs\nfunction endOfMinute(date) {\n const _date = toDate(date);\n _date.setSeconds(59, 999);\n return _date;\n}\n// lib/endOfQuarter.mjs\nfunction endOfQuarter(date) {\n const _date = toDate(date);\n const currentMonth = _date.getMonth();\n const month = currentMonth - currentMonth % 3 + 3;\n _date.setMonth(month, 0);\n _date.setHours(23, 59, 59, 999);\n return _date;\n}\n// lib/endOfSecond.mjs\nfunction endOfSecond(date) {\n const _date = toDate(date);\n _date.setMilliseconds(999);\n return _date;\n}\n// lib/endOfToday.mjs\nfunction endOfToday() {\n return endOfDay(Date.now());\n}\n// lib/endOfTomorrow.mjs\nfunction endOfTomorrow() {\n const now = new Date;\n const year = now.getFullYear();\n const month = now.getMonth();\n const day = now.getDate();\n const date = new Date(0);\n date.setFullYear(year, month, day + 1);\n date.setHours(23, 59, 59, 999);\n return date;\n}\n// lib/endOfYesterday.mjs\nfunction endOfYesterday() {\n const now = new Date;\n const year = now.getFullYear();\n const month = now.getMonth();\n const day = now.getDate();\n const date = new Date(0);\n date.setFullYear(year, month, day - 1);\n date.setHours(23, 59, 59, 999);\n return date;\n}\n// lib/locale/en-US/_lib/formatDistance.mjs\nvar formatDistanceLocale = {\n lessThanXSeconds: {\n one: \"less than a second\",\n other: \"less than {{count}} seconds\"\n },\n xSeconds: {\n one: \"1 second\",\n other: \"{{count}} seconds\"\n },\n halfAMinute: \"half a minute\",\n lessThanXMinutes: {\n one: \"less than a minute\",\n other: \"less than {{count}} minutes\"\n },\n xMinutes: {\n one: \"1 minute\",\n other: \"{{count}} minutes\"\n },\n aboutXHours: {\n one: \"about 1 hour\",\n other: \"about {{count}} hours\"\n },\n xHours: {\n one: \"1 hour\",\n other: \"{{count}} hours\"\n },\n xDays: {\n one: \"1 day\",\n other: \"{{count}} days\"\n },\n aboutXWeeks: {\n one: \"about 1 week\",\n other: \"about {{count}} weeks\"\n },\n xWeeks: {\n one: \"1 week\",\n other: \"{{count}} weeks\"\n },\n aboutXMonths: {\n one: \"about 1 month\",\n other: \"about {{count}} months\"\n },\n xMonths: {\n one: \"1 month\",\n other: \"{{count}} months\"\n },\n aboutXYears: {\n one: \"about 1 year\",\n other: \"about {{count}} years\"\n },\n xYears: {\n one: \"1 year\",\n other: \"{{count}} years\"\n },\n overXYears: {\n one: \"over 1 year\",\n other: \"over {{count}} years\"\n },\n almostXYears: {\n one: \"almost 1 year\",\n other: \"almost {{count}} years\"\n }\n};\nvar formatDistance = (token, count, options) => {\n let result;\n const tokenValue = formatDistanceLocale[token];\n if (typeof tokenValue === \"string\") {\n result = tokenValue;\n } else if (count === 1) {\n result = tokenValue.one;\n } else {\n result = tokenValue.other.replace(\"{{count}}\", count.toString());\n }\n if (options?.addSuffix) {\n if (options.comparison && options.comparison > 0) {\n return \"in \" + result;\n } else {\n return result + \" ago\";\n }\n }\n return result;\n};\n\n// lib/locale/_lib/buildFormatLongFn.mjs\nfunction buildFormatLongFn(args) {\n return (options = {}) => {\n const width = options.width ? String(options.width) : args.defaultWidth;\n const format = args.formats[width] || args.formats[args.defaultWidth];\n return format;\n };\n}\n\n// lib/locale/en-US/_lib/formatLong.mjs\nvar dateFormats = {\n full: \"EEEE, MMMM do, y\",\n long: \"MMMM do, y\",\n medium: \"MMM d, y\",\n short: \"MM/dd/yyyy\"\n};\nvar timeFormats = {\n full: \"h:mm:ss a zzzz\",\n long: \"h:mm:ss a z\",\n medium: \"h:mm:ss a\",\n short: \"h:mm a\"\n};\nvar dateTimeFormats = {\n full: \"{{date}} 'at' {{time}}\",\n long: \"{{date}} 'at' {{time}}\",\n medium: \"{{date}}, {{time}}\",\n short: \"{{date}}, {{time}}\"\n};\nvar formatLong = {\n date: buildFormatLongFn({\n formats: dateFormats,\n defaultWidth: \"full\"\n }),\n time: buildFormatLongFn({\n formats: timeFormats,\n defaultWidth: \"full\"\n }),\n dateTime: buildFormatLongFn({\n formats: dateTimeFormats,\n defaultWidth: \"full\"\n })\n};\n\n// lib/locale/en-US/_lib/formatRelative.mjs\nvar formatRelativeLocale = {\n lastWeek: \"'last' eeee 'at' p\",\n yesterday: \"'yesterday at' p\",\n today: \"'today at' p\",\n tomorrow: \"'tomorrow at' p\",\n nextWeek: \"eeee 'at' p\",\n other: \"P\"\n};\nvar formatRelative = (token, _date, _baseDate, _options) => formatRelativeLocale[token];\n\n// lib/locale/_lib/buildLocalizeFn.mjs\nfunction buildLocalizeFn(args) {\n return (value, options) => {\n const context = options?.context ? String(options.context) : \"standalone\";\n let valuesArray;\n if (context === \"formatting\" && args.formattingValues) {\n const defaultWidth = args.defaultFormattingWidth || args.defaultWidth;\n const width = options?.width ? String(options.width) : defaultWidth;\n valuesArray = args.formattingValues[width] || args.formattingValues[defaultWidth];\n } else {\n const defaultWidth = args.defaultWidth;\n const width = options?.width ? String(options.width) : args.defaultWidth;\n valuesArray = args.values[width] || args.values[defaultWidth];\n }\n const index = args.argumentCallback ? args.argumentCallback(value) : value;\n return valuesArray[index];\n };\n}\n\n// lib/locale/en-US/_lib/localize.mjs\nvar eraValues = {\n narrow: [\"B\", \"A\"],\n abbreviated: [\"BC\", \"AD\"],\n wide: [\"Before Christ\", \"Anno Domini\"]\n};\nvar quarterValues = {\n narrow: [\"1\", \"2\", \"3\", \"4\"],\n abbreviated: [\"Q1\", \"Q2\", \"Q3\", \"Q4\"],\n wide: [\"1st quarter\", \"2nd quarter\", \"3rd quarter\", \"4th quarter\"]\n};\nvar monthValues = {\n narrow: [\"J\", \"F\", \"M\", \"A\", \"M\", \"J\", \"J\", \"A\", \"S\", \"O\", \"N\", \"D\"],\n abbreviated: [\n \"Jan\",\n \"Feb\",\n \"Mar\",\n \"Apr\",\n \"May\",\n \"Jun\",\n \"Jul\",\n \"Aug\",\n \"Sep\",\n \"Oct\",\n \"Nov\",\n \"Dec\"\n ],\n wide: [\n \"January\",\n \"February\",\n \"March\",\n \"April\",\n \"May\",\n \"June\",\n \"July\",\n \"August\",\n \"September\",\n \"October\",\n \"November\",\n \"December\"\n ]\n};\nvar dayValues = {\n narrow: [\"S\", \"M\", \"T\", \"W\", \"T\", \"F\", \"S\"],\n short: [\"Su\", \"Mo\", \"Tu\", \"We\", \"Th\", \"Fr\", \"Sa\"],\n abbreviated: [\"Sun\", \"Mon\", \"Tue\", \"Wed\", \"Thu\", \"Fri\", \"Sat\"],\n wide: [\n \"Sunday\",\n \"Monday\",\n \"Tuesday\",\n \"Wednesday\",\n \"Thursday\",\n \"Friday\",\n \"Saturday\"\n ]\n};\nvar dayPeriodValues = {\n narrow: {\n am: \"a\",\n pm: \"p\",\n midnight: \"mi\",\n noon: \"n\",\n morning: \"morning\",\n afternoon: \"afternoon\",\n evening: \"evening\",\n night: \"night\"\n },\n abbreviated: {\n am: \"AM\",\n pm: \"PM\",\n midnight: \"midnight\",\n noon: \"noon\",\n morning: \"morning\",\n afternoon: \"afternoon\",\n evening: \"evening\",\n night: \"night\"\n },\n wide: {\n am: \"a.m.\",\n pm: \"p.m.\",\n midnight: \"midnight\",\n noon: \"noon\",\n morning: \"morning\",\n afternoon: \"afternoon\",\n evening: \"evening\",\n night: \"night\"\n }\n};\nvar formattingDayPeriodValues = {\n narrow: {\n am: \"a\",\n pm: \"p\",\n midnight: \"mi\",\n noon: \"n\",\n morning: \"in the morning\",\n afternoon: \"in the afternoon\",\n evening: \"in the evening\",\n night: \"at night\"\n },\n abbreviated: {\n am: \"AM\",\n pm: \"PM\",\n midnight: \"midnight\",\n noon: \"noon\",\n morning: \"in the morning\",\n afternoon: \"in the afternoon\",\n evening: \"in the evening\",\n night: \"at night\"\n },\n wide: {\n am: \"a.m.\",\n pm: \"p.m.\",\n midnight: \"midnight\",\n noon: \"noon\",\n morning: \"in the morning\",\n afternoon: \"in the afternoon\",\n evening: \"in the evening\",\n night: \"at night\"\n }\n};\nvar ordinalNumber = (dirtyNumber, _options) => {\n const number = Number(dirtyNumber);\n const rem100 = number % 100;\n if (rem100 > 20 || rem100 < 10) {\n switch (rem100 % 10) {\n case 1:\n return number + \"st\";\n case 2:\n return number + \"nd\";\n case 3:\n return number + \"rd\";\n }\n }\n return number + \"th\";\n};\nvar localize = {\n ordinalNumber,\n era: buildLocalizeFn({\n values: eraValues,\n defaultWidth: \"wide\"\n }),\n quarter: buildLocalizeFn({\n values: quarterValues,\n defaultWidth: \"wide\",\n argumentCallback: (quarter) => quarter - 1\n }),\n month: buildLocalizeFn({\n values: monthValues,\n defaultWidth: \"wide\"\n }),\n day: buildLocalizeFn({\n values: dayValues,\n defaultWidth: \"wide\"\n }),\n dayPeriod: buildLocalizeFn({\n values: dayPeriodValues,\n defaultWidth: \"wide\",\n formattingValues: formattingDayPeriodValues,\n defaultFormattingWidth: \"wide\"\n })\n};\n\n// lib/locale/_lib/buildMatchFn.mjs\nfunction buildMatchFn(args) {\n return (string, options = {}) => {\n const width = options.width;\n const matchPattern = width && args.matchPatterns[width] || args.matchPatterns[args.defaultMatchWidth];\n const matchResult = string.match(matchPattern);\n if (!matchResult) {\n return null;\n }\n const matchedString = matchResult[0];\n const parsePatterns = width && args.parsePatterns[width] || args.parsePatterns[args.defaultParseWidth];\n const key = Array.isArray(parsePatterns) ? findIndex(parsePatterns, (pattern) => pattern.test(matchedString)) : findKey(parsePatterns, (pattern) => pattern.test(matchedString));\n let value;\n value = args.valueCallback ? args.valueCallback(key) : key;\n value = options.valueCallback ? options.valueCallback(value) : value;\n const rest = string.slice(matchedString.length);\n return { value, rest };\n };\n}\nvar findKey = function(object, predicate) {\n for (const key in object) {\n if (Object.prototype.hasOwnProperty.call(object, key) && predicate(object[key])) {\n return key;\n }\n }\n return;\n};\nvar findIndex = function(array, predicate) {\n for (let key = 0;key < array.length; key++) {\n if (predicate(array[key])) {\n return key;\n }\n }\n return;\n};\n\n// lib/locale/_lib/buildMatchPatternFn.mjs\nfunction buildMatchPatternFn(args) {\n return (string, options = {}) => {\n const matchResult = string.match(args.matchPattern);\n if (!matchResult)\n return null;\n const matchedString = matchResult[0];\n const parseResult = string.match(args.parsePattern);\n if (!parseResult)\n return null;\n let value = args.valueCallback ? args.valueCallback(parseResult[0]) : parseResult[0];\n value = options.valueCallback ? options.valueCallback(value) : value;\n const rest = string.slice(matchedString.length);\n return { value, rest };\n };\n}\n\n// lib/locale/en-US/_lib/match.mjs\nvar matchOrdinalNumberPattern = /^(\\d+)(th|st|nd|rd)?/i;\nvar parseOrdinalNumberPattern = /\\d+/i;\nvar matchEraPatterns = {\n narrow: /^(b|a)/i,\n abbreviated: /^(b\\.?\\s?c\\.?|b\\.?\\s?c\\.?\\s?e\\.?|a\\.?\\s?d\\.?|c\\.?\\s?e\\.?)/i,\n wide: /^(before christ|before common era|anno domini|common era)/i\n};\nvar parseEraPatterns = {\n any: [/^b/i, /^(a|c)/i]\n};\nvar matchQuarterPatterns = {\n narrow: /^[1234]/i,\n abbreviated: /^q[1234]/i,\n wide: /^[1234](th|st|nd|rd)? quarter/i\n};\nvar parseQuarterPatterns = {\n any: [/1/i, /2/i, /3/i, /4/i]\n};\nvar matchMonthPatterns = {\n narrow: /^[jfmasond]/i,\n abbreviated: /^(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)/i,\n wide: /^(january|february|march|april|may|june|july|august|september|october|november|december)/i\n};\nvar parseMonthPatterns = {\n narrow: [\n /^j/i,\n /^f/i,\n /^m/i,\n /^a/i,\n /^m/i,\n /^j/i,\n /^j/i,\n /^a/i,\n /^s/i,\n /^o/i,\n /^n/i,\n /^d/i\n ],\n any: [\n /^ja/i,\n /^f/i,\n /^mar/i,\n /^ap/i,\n /^may/i,\n /^jun/i,\n /^jul/i,\n /^au/i,\n /^s/i,\n /^o/i,\n /^n/i,\n /^d/i\n ]\n};\nvar matchDayPatterns = {\n narrow: /^[smtwf]/i,\n short: /^(su|mo|tu|we|th|fr|sa)/i,\n abbreviated: /^(sun|mon|tue|wed|thu|fri|sat)/i,\n wide: /^(sunday|monday|tuesday|wednesday|thursday|friday|saturday)/i\n};\nvar parseDayPatterns = {\n narrow: [/^s/i, /^m/i, /^t/i, /^w/i, /^t/i, /^f/i, /^s/i],\n any: [/^su/i, /^m/i, /^tu/i, /^w/i, /^th/i, /^f/i, /^sa/i]\n};\nvar matchDayPeriodPatterns = {\n narrow: /^(a|p|mi|n|(in the|at) (morning|afternoon|evening|night))/i,\n any: /^([ap]\\.?\\s?m\\.?|midnight|noon|(in the|at) (morning|afternoon|evening|night))/i\n};\nvar parseDayPeriodPatterns = {\n any: {\n am: /^a/i,\n pm: /^p/i,\n midnight: /^mi/i,\n noon: /^no/i,\n morning: /morning/i,\n afternoon: /afternoon/i,\n evening: /evening/i,\n night: /night/i\n }\n};\nvar match = {\n ordinalNumber: buildMatchPatternFn({\n matchPattern: matchOrdinalNumberPattern,\n parsePattern: parseOrdinalNumberPattern,\n valueCallback: (value) => parseInt(value, 10)\n }),\n era: buildMatchFn({\n matchPatterns: matchEraPatterns,\n defaultMatchWidth: \"wide\",\n parsePatterns: parseEraPatterns,\n defaultParseWidth: \"any\"\n }),\n quarter: buildMatchFn({\n matchPatterns: matchQuarterPatterns,\n defaultMatchWidth: \"wide\",\n parsePatterns: parseQuarterPatterns,\n defaultParseWidth: \"any\",\n valueCallback: (index) => index + 1\n }),\n month: buildMatchFn({\n matchPatterns: matchMonthPatterns,\n defaultMatchWidth: \"wide\",\n parsePatterns: parseMonthPatterns,\n defaultParseWidth: \"any\"\n }),\n day: buildMatchFn({\n matchPatterns: matchDayPatterns,\n defaultMatchWidth: \"wide\",\n parsePatterns: parseDayPatterns,\n defaultParseWidth: \"any\"\n }),\n dayPeriod: buildMatchFn({\n matchPatterns: matchDayPeriodPatterns,\n defaultMatchWidth: \"any\",\n parsePatterns: parseDayPeriodPatterns,\n defaultParseWidth: \"any\"\n })\n};\n\n// lib/locale/en-US.mjs\nvar enUS = {\n code: \"en-US\",\n formatDistance,\n formatLong,\n formatRelative,\n localize,\n match,\n options: {\n weekStartsOn: 0,\n firstWeekContainsDate: 1\n }\n};\n// lib/getDayOfYear.mjs\nfunction getDayOfYear(date) {\n const _date = toDate(date);\n const diff = differenceInCalendarDays(_date, startOfYear(_date));\n const dayOfYear = diff + 1;\n return dayOfYear;\n}\n\n// lib/getISOWeek.mjs\nfunction getISOWeek(date) {\n const _date = toDate(date);\n const diff = +startOfISOWeek(_date) - +startOfISOWeekYear(_date);\n return Math.round(diff / millisecondsInWeek) + 1;\n}\n\n// lib/getWeekYear.mjs\nfunction getWeekYear(date, options) {\n const _date = toDate(date);\n const year = _date.getFullYear();\n const defaultOptions5 = getDefaultOptions();\n const firstWeekContainsDate = options?.firstWeekContainsDate ?? options?.locale?.options?.firstWeekContainsDate ?? defaultOptions5.firstWeekContainsDate ?? defaultOptions5.locale?.options?.firstWeekContainsDate ?? 1;\n const firstWeekOfNextYear = constructFrom(date, 0);\n firstWeekOfNextYear.setFullYear(year + 1, 0, firstWeekContainsDate);\n firstWeekOfNextYear.setHours(0, 0, 0, 0);\n const startOfNextYear = startOfWeek(firstWeekOfNextYear, options);\n const firstWeekOfThisYear = constructFrom(date, 0);\n firstWeekOfThisYear.setFullYear(year, 0, firstWeekContainsDate);\n firstWeekOfThisYear.setHours(0, 0, 0, 0);\n const startOfThisYear = startOfWeek(firstWeekOfThisYear, options);\n if (_date.getTime() >= startOfNextYear.getTime()) {\n return year + 1;\n } else if (_date.getTime() >= startOfThisYear.getTime()) {\n return year;\n } else {\n return year - 1;\n }\n}\n\n// lib/startOfWeekYear.mjs\nfunction startOfWeekYear(date, options) {\n const defaultOptions6 = getDefaultOptions();\n const firstWeekContainsDate = options?.firstWeekContainsDate ?? options?.locale?.options?.firstWeekContainsDate ?? defaultOptions6.firstWeekContainsDate ?? defaultOptions6.locale?.options?.firstWeekContainsDate ?? 1;\n const year = getWeekYear(date, options);\n const firstWeek = constructFrom(date, 0);\n firstWeek.setFullYear(year, 0, firstWeekContainsDate);\n firstWeek.setHours(0, 0, 0, 0);\n const _date = startOfWeek(firstWeek, options);\n return _date;\n}\n\n// lib/getWeek.mjs\nfunction getWeek(date, options) {\n const _date = toDate(date);\n const diff = +startOfWeek(_date, options) - +startOfWeekYear(_date, options);\n return Math.round(diff / millisecondsInWeek) + 1;\n}\n\n// lib/_lib/addLeadingZeros.mjs\nfunction addLeadingZeros(number, targetLength) {\n const sign = number < 0 ? \"-\" : \"\";\n const output = Math.abs(number).toString().padStart(targetLength, \"0\");\n return sign + output;\n}\n\n// lib/_lib/format/lightFormatters.mjs\nvar lightFormatters = {\n y(date, token) {\n const signedYear = date.getFullYear();\n const year = signedYear > 0 ? signedYear : 1 - signedYear;\n return addLeadingZeros(token === \"yy\" ? year % 100 : year, token.length);\n },\n M(date, token) {\n const month = date.getMonth();\n return token === \"M\" ? String(month + 1) : addLeadingZeros(month + 1, 2);\n },\n d(date, token) {\n return addLeadingZeros(date.getDate(), token.length);\n },\n a(date, token) {\n const dayPeriodEnumValue = date.getHours() / 12 >= 1 ? \"pm\" : \"am\";\n switch (token) {\n case \"a\":\n case \"aa\":\n return dayPeriodEnumValue.toUpperCase();\n case \"aaa\":\n return dayPeriodEnumValue;\n case \"aaaaa\":\n return dayPeriodEnumValue[0];\n case \"aaaa\":\n default:\n return dayPeriodEnumValue === \"am\" ? \"a.m.\" : \"p.m.\";\n }\n },\n h(date, token) {\n return addLeadingZeros(date.getHours() % 12 || 12, token.length);\n },\n H(date, token) {\n return addLeadingZeros(date.getHours(), token.length);\n },\n m(date, token) {\n return addLeadingZeros(date.getMinutes(), token.length);\n },\n s(date, token) {\n return addLeadingZeros(date.getSeconds(), token.length);\n },\n S(date, token) {\n const numberOfDigits = token.length;\n const milliseconds = date.getMilliseconds();\n const fractionalSeconds = Math.trunc(milliseconds * Math.pow(10, numberOfDigits - 3));\n return addLeadingZeros(fractionalSeconds, token.length);\n }\n};\n\n// lib/_lib/format/formatters.mjs\nvar formatTimezoneShort = function(offset, delimiter = \"\") {\n const sign = offset > 0 ? \"-\" : \"+\";\n const absOffset = Math.abs(offset);\n const hours = Math.trunc(absOffset / 60);\n const minutes = absOffset % 60;\n if (minutes === 0) {\n return sign + String(hours);\n }\n return sign + String(hours) + delimiter + addLeadingZeros(minutes, 2);\n};\nvar formatTimezoneWithOptionalMinutes = function(offset, delimiter) {\n if (offset % 60 === 0) {\n const sign = offset > 0 ? \"-\" : \"+\";\n return sign + addLeadingZeros(Math.abs(offset) / 60, 2);\n }\n return formatTimezone(offset, delimiter);\n};\nvar formatTimezone = function(offset, delimiter = \"\") {\n const sign = offset > 0 ? \"-\" : \"+\";\n const absOffset = Math.abs(offset);\n const hours = addLeadingZeros(Math.trunc(absOffset / 60), 2);\n const minutes = addLeadingZeros(absOffset % 60, 2);\n return sign + hours + delimiter + minutes;\n};\nvar dayPeriodEnum = {\n am: \"am\",\n pm: \"pm\",\n midnight: \"midnight\",\n noon: \"noon\",\n morning: \"morning\",\n afternoon: \"afternoon\",\n evening: \"evening\",\n night: \"night\"\n};\nvar formatters = {\n G: function(date, token, localize3) {\n const era = date.getFullYear() > 0 ? 1 : 0;\n switch (token) {\n case \"G\":\n case \"GG\":\n case \"GGG\":\n return localize3.era(era, { width: \"abbreviated\" });\n case \"GGGGG\":\n return localize3.era(era, { width: \"narrow\" });\n case \"GGGG\":\n default:\n return localize3.era(era, { width: \"wide\" });\n }\n },\n y: function(date, token, localize3) {\n if (token === \"yo\") {\n const signedYear = date.getFullYear();\n const year = signedYear > 0 ? signedYear : 1 - signedYear;\n return localize3.ordinalNumber(year, { unit: \"year\" });\n }\n return lightFormatters.y(date, token);\n },\n Y: function(date, token, localize3, options) {\n const signedWeekYear = getWeekYear(date, options);\n const weekYear = signedWeekYear > 0 ? signedWeekYear : 1 - signedWeekYear;\n if (token === \"YY\") {\n const twoDigitYear = weekYear % 100;\n return addLeadingZeros(twoDigitYear, 2);\n }\n if (token === \"Yo\") {\n return localize3.ordinalNumber(weekYear, { unit: \"year\" });\n }\n return addLeadingZeros(weekYear, token.length);\n },\n R: function(date, token) {\n const isoWeekYear = getISOWeekYear(date);\n return addLeadingZeros(isoWeekYear, token.length);\n },\n u: function(date, token) {\n const year = date.getFullYear();\n return addLeadingZeros(year, token.length);\n },\n Q: function(date, token, localize3) {\n const quarter = Math.ceil((date.getMonth() + 1) / 3);\n switch (token) {\n case \"Q\":\n return String(quarter);\n case \"QQ\":\n return addLeadingZeros(quarter, 2);\n case \"Qo\":\n return localize3.ordinalNumber(quarter, { unit: \"quarter\" });\n case \"QQQ\":\n return localize3.quarter(quarter, {\n width: \"abbreviated\",\n context: \"formatting\"\n });\n case \"QQQQQ\":\n return localize3.quarter(quarter, {\n width: \"narrow\",\n context: \"formatting\"\n });\n case \"QQQQ\":\n default:\n return localize3.quarter(quarter, {\n width: \"wide\",\n context: \"formatting\"\n });\n }\n },\n q: function(date, token, localize3) {\n const quarter = Math.ceil((date.getMonth() + 1) / 3);\n switch (token) {\n case \"q\":\n return String(quarter);\n case \"qq\":\n return addLeadingZeros(quarter, 2);\n case \"qo\":\n return localize3.ordinalNumber(quarter, { unit: \"quarter\" });\n case \"qqq\":\n return localize3.quarter(quarter, {\n width: \"abbreviated\",\n context: \"standalone\"\n });\n case \"qqqqq\":\n return localize3.quarter(quarter, {\n width: \"narrow\",\n context: \"standalone\"\n });\n case \"qqqq\":\n default:\n return localize3.quarter(quarter, {\n width: \"wide\",\n context: \"standalone\"\n });\n }\n },\n M: function(date, token, localize3) {\n const month = date.getMonth();\n switch (token) {\n case \"M\":\n case \"MM\":\n return lightFormatters.M(date, token);\n case \"Mo\":\n return localize3.ordinalNumber(month + 1, { unit: \"month\" });\n case \"MMM\":\n return localize3.month(month, {\n width: \"abbreviated\",\n context: \"formatting\"\n });\n case \"MMMMM\":\n return localize3.month(month, {\n width: \"narrow\",\n context: \"formatting\"\n });\n case \"MMMM\":\n default:\n return localize3.month(month, { width: \"wide\", context: \"formatting\" });\n }\n },\n L: function(date, token, localize3) {\n const month = date.getMonth();\n switch (token) {\n case \"L\":\n return String(month + 1);\n case \"LL\":\n return addLeadingZeros(month + 1, 2);\n case \"Lo\":\n return localize3.ordinalNumber(month + 1, { unit: \"month\" });\n case \"LLL\":\n return localize3.month(month, {\n width: \"abbreviated\",\n context: \"standalone\"\n });\n case \"LLLLL\":\n return localize3.month(month, {\n width: \"narrow\",\n context: \"standalone\"\n });\n case \"LLLL\":\n default:\n return localize3.month(month, { width: \"wide\", context: \"standalone\" });\n }\n },\n w: function(date, token, localize3, options) {\n const week = getWeek(date, options);\n if (token === \"wo\") {\n return localize3.ordinalNumber(week, { unit: \"week\" });\n }\n return addLeadingZeros(week, token.length);\n },\n I: function(date, token, localize3) {\n const isoWeek = getISOWeek(date);\n if (token === \"Io\") {\n return localize3.ordinalNumber(isoWeek, { unit: \"week\" });\n }\n return addLeadingZeros(isoWeek, token.length);\n },\n d: function(date, token, localize3) {\n if (token === \"do\") {\n return localize3.ordinalNumber(date.getDate(), { unit: \"date\" });\n }\n return lightFormatters.d(date, token);\n },\n D: function(date, token, localize3) {\n const dayOfYear = getDayOfYear(date);\n if (token === \"Do\") {\n return localize3.ordinalNumber(dayOfYear, { unit: \"dayOfYear\" });\n }\n return addLeadingZeros(dayOfYear, token.length);\n },\n E: function(date, token, localize3) {\n const dayOfWeek = date.getDay();\n switch (token) {\n case \"E\":\n case \"EE\":\n case \"EEE\":\n return localize3.day(dayOfWeek, {\n width: \"abbreviated\",\n context: \"formatting\"\n });\n case \"EEEEE\":\n return localize3.day(dayOfWeek, {\n width: \"narrow\",\n context: \"formatting\"\n });\n case \"EEEEEE\":\n return localize3.day(dayOfWeek, {\n width: \"short\",\n context: \"formatting\"\n });\n case \"EEEE\":\n default:\n return localize3.day(dayOfWeek, {\n width: \"wide\",\n context: \"formatting\"\n });\n }\n },\n e: function(date, token, localize3, options) {\n const dayOfWeek = date.getDay();\n const localDayOfWeek = (dayOfWeek - options.weekStartsOn + 8) % 7 || 7;\n switch (token) {\n case \"e\":\n return String(localDayOfWeek);\n case \"ee\":\n return addLeadingZeros(localDayOfWeek, 2);\n case \"eo\":\n return localize3.ordinalNumber(localDayOfWeek, { unit: \"day\" });\n case \"eee\":\n return localize3.day(dayOfWeek, {\n width: \"abbreviated\",\n context: \"formatting\"\n });\n case \"eeeee\":\n return localize3.day(dayOfWeek, {\n width: \"narrow\",\n context: \"formatting\"\n });\n case \"eeeeee\":\n return localize3.day(dayOfWeek, {\n width: \"short\",\n context: \"formatting\"\n });\n case \"eeee\":\n default:\n return localize3.day(dayOfWeek, {\n width: \"wide\",\n context: \"formatting\"\n });\n }\n },\n c: function(date, token, localize3, options) {\n const dayOfWeek = date.getDay();\n const localDayOfWeek = (dayOfWeek - options.weekStartsOn + 8) % 7 || 7;\n switch (token) {\n case \"c\":\n return String(localDayOfWeek);\n case \"cc\":\n return addLeadingZeros(localDayOfWeek, token.length);\n case \"co\":\n return localize3.ordinalNumber(localDayOfWeek, { unit: \"day\" });\n case \"ccc\":\n return localize3.day(dayOfWeek, {\n width: \"abbreviated\",\n context: \"standalone\"\n });\n case \"ccccc\":\n return localize3.day(dayOfWeek, {\n width: \"narrow\",\n context: \"standalone\"\n });\n case \"cccccc\":\n return localize3.day(dayOfWeek, {\n width: \"short\",\n context: \"standalone\"\n });\n case \"cccc\":\n default:\n return localize3.day(dayOfWeek, {\n width: \"wide\",\n context: \"standalone\"\n });\n }\n },\n i: function(date, token, localize3) {\n const dayOfWeek = date.getDay();\n const isoDayOfWeek = dayOfWeek === 0 ? 7 : dayOfWeek;\n switch (token) {\n case \"i\":\n return String(isoDayOfWeek);\n case \"ii\":\n return addLeadingZeros(isoDayOfWeek, token.length);\n case \"io\":\n return localize3.ordinalNumber(isoDayOfWeek, { unit: \"day\" });\n case \"iii\":\n return localize3.day(dayOfWeek, {\n width: \"abbreviated\",\n context: \"formatting\"\n });\n case \"iiiii\":\n return localize3.day(dayOfWeek, {\n width: \"narrow\",\n context: \"formatting\"\n });\n case \"iiiiii\":\n return localize3.day(dayOfWeek, {\n width: \"short\",\n context: \"formatting\"\n });\n case \"iiii\":\n default:\n return localize3.day(dayOfWeek, {\n width: \"wide\",\n context: \"formatting\"\n });\n }\n },\n a: function(date, token, localize3) {\n const hours = date.getHours();\n const dayPeriodEnumValue = hours / 12 >= 1 ? \"pm\" : \"am\";\n switch (token) {\n case \"a\":\n case \"aa\":\n return localize3.dayPeriod(dayPeriodEnumValue, {\n width: \"abbreviated\",\n context: \"formatting\"\n });\n case \"aaa\":\n return localize3.dayPeriod(dayPeriodEnumValue, {\n width: \"abbreviated\",\n context: \"formatting\"\n }).toLowerCase();\n case \"aaaaa\":\n return localize3.dayPeriod(dayPeriodEnumValue, {\n width: \"narrow\",\n context: \"formatting\"\n });\n case \"aaaa\":\n default:\n return localize3.dayPeriod(dayPeriodEnumValue, {\n width: \"wide\",\n context: \"formatting\"\n });\n }\n },\n b: function(date, token, localize3) {\n const hours = date.getHours();\n let dayPeriodEnumValue;\n if (hours === 12) {\n dayPeriodEnumValue = dayPeriodEnum.noon;\n } else if (hours === 0) {\n dayPeriodEnumValue = dayPeriodEnum.midnight;\n } else {\n dayPeriodEnumValue = hours / 12 >= 1 ? \"pm\" : \"am\";\n }\n switch (token) {\n case \"b\":\n case \"bb\":\n return localize3.dayPeriod(dayPeriodEnumValue, {\n width: \"abbreviated\",\n context: \"formatting\"\n });\n case \"bbb\":\n return localize3.dayPeriod(dayPeriodEnumValue, {\n width: \"abbreviated\",\n context: \"formatting\"\n }).toLowerCase();\n case \"bbbbb\":\n return localize3.dayPeriod(dayPeriodEnumValue, {\n width: \"narrow\",\n context: \"formatting\"\n });\n case \"bbbb\":\n default:\n return localize3.dayPeriod(dayPeriodEnumValue, {\n width: \"wide\",\n context: \"formatting\"\n });\n }\n },\n B: function(date, token, localize3) {\n const hours = date.getHours();\n let dayPeriodEnumValue;\n if (hours >= 17) {\n dayPeriodEnumValue = dayPeriodEnum.evening;\n } else if (hours >= 12) {\n dayPeriodEnumValue = dayPeriodEnum.afternoon;\n } else if (hours >= 4) {\n dayPeriodEnumValue = dayPeriodEnum.morning;\n } else {\n dayPeriodEnumValue = dayPeriodEnum.night;\n }\n switch (token) {\n case \"B\":\n case \"BB\":\n case \"BBB\":\n return localize3.dayPeriod(dayPeriodEnumValue, {\n width: \"abbreviated\",\n context: \"formatting\"\n });\n case \"BBBBB\":\n return localize3.dayPeriod(dayPeriodEnumValue, {\n width: \"narrow\",\n context: \"formatting\"\n });\n case \"BBBB\":\n default:\n return localize3.dayPeriod(dayPeriodEnumValue, {\n width: \"wide\",\n context: \"formatting\"\n });\n }\n },\n h: function(date, token, localize3) {\n if (token === \"ho\") {\n let hours = date.getHours() % 12;\n if (hours === 0)\n hours = 12;\n return localize3.ordinalNumber(hours, { unit: \"hour\" });\n }\n return lightFormatters.h(date, token);\n },\n H: function(date, token, localize3) {\n if (token === \"Ho\") {\n return localize3.ordinalNumber(date.getHours(), { unit: \"hour\" });\n }\n return lightFormatters.H(date, token);\n },\n K: function(date, token, localize3) {\n const hours = date.getHours() % 12;\n if (token === \"Ko\") {\n return localize3.ordinalNumber(hours, { unit: \"hour\" });\n }\n return addLeadingZeros(hours, token.length);\n },\n k: function(date, token, localize3) {\n let hours = date.getHours();\n if (hours === 0)\n hours = 24;\n if (token === \"ko\") {\n return localize3.ordinalNumber(hours, { unit: \"hour\" });\n }\n return addLeadingZeros(hours, token.length);\n },\n m: function(date, token, localize3) {\n if (token === \"mo\") {\n return localize3.ordinalNumber(date.getMinutes(), { unit: \"minute\" });\n }\n return lightFormatters.m(date, token);\n },\n s: function(date, token, localize3) {\n if (token === \"so\") {\n return localize3.ordinalNumber(date.getSeconds(), { unit: \"second\" });\n }\n return lightFormatters.s(date, token);\n },\n S: function(date, token) {\n return lightFormatters.S(date, token);\n },\n X: function(date, token, _localize) {\n const timezoneOffset = date.getTimezoneOffset();\n if (timezoneOffset === 0) {\n return \"Z\";\n }\n switch (token) {\n case \"X\":\n return formatTimezoneWithOptionalMinutes(timezoneOffset);\n case \"XXXX\":\n case \"XX\":\n return formatTimezone(timezoneOffset);\n case \"XXXXX\":\n case \"XXX\":\n default:\n return formatTimezone(timezoneOffset, \":\");\n }\n },\n x: function(date, token, _localize) {\n const timezoneOffset = date.getTimezoneOffset();\n switch (token) {\n case \"x\":\n return formatTimezoneWithOptionalMinutes(timezoneOffset);\n case \"xxxx\":\n case \"xx\":\n return formatTimezone(timezoneOffset);\n case \"xxxxx\":\n case \"xxx\":\n default:\n return formatTimezone(timezoneOffset, \":\");\n }\n },\n O: function(date, token, _localize) {\n const timezoneOffset = date.getTimezoneOffset();\n switch (token) {\n case \"O\":\n case \"OO\":\n case \"OOO\":\n return \"GMT\" + formatTimezoneShort(timezoneOffset, \":\");\n case \"OOOO\":\n default:\n return \"GMT\" + formatTimezone(timezoneOffset, \":\");\n }\n },\n z: function(date, token, _localize) {\n const timezoneOffset = date.getTimezoneOffset();\n switch (token) {\n case \"z\":\n case \"zz\":\n case \"zzz\":\n return \"GMT\" + formatTimezoneShort(timezoneOffset, \":\");\n case \"zzzz\":\n default:\n return \"GMT\" + formatTimezone(timezoneOffset, \":\");\n }\n },\n t: function(date, token, _localize) {\n const timestamp = Math.trunc(date.getTime() / 1000);\n return addLeadingZeros(timestamp, token.length);\n },\n T: function(date, token, _localize) {\n const timestamp = date.getTime();\n return addLeadingZeros(timestamp, token.length);\n }\n};\n\n// lib/_lib/format/longFormatters.mjs\nvar dateLongFormatter = (pattern, formatLong3) => {\n switch (pattern) {\n case \"P\":\n return formatLong3.date({ width: \"short\" });\n case \"PP\":\n return formatLong3.date({ width: \"medium\" });\n case \"PPP\":\n return formatLong3.date({ width: \"long\" });\n case \"PPPP\":\n default:\n return formatLong3.date({ width: \"full\" });\n }\n};\nvar timeLongFormatter = (pattern, formatLong3) => {\n switch (pattern) {\n case \"p\":\n return formatLong3.time({ width: \"short\" });\n case \"pp\":\n return formatLong3.time({ width: \"medium\" });\n case \"ppp\":\n return formatLong3.time({ width: \"long\" });\n case \"pppp\":\n default:\n return formatLong3.time({ width: \"full\" });\n }\n};\nvar dateTimeLongFormatter = (pattern, formatLong3) => {\n const matchResult = pattern.match(/(P+)(p+)?/) || [];\n const datePattern = matchResult[1];\n const timePattern = matchResult[2];\n if (!timePattern) {\n return dateLongFormatter(pattern, formatLong3);\n }\n let dateTimeFormat;\n switch (datePattern) {\n case \"P\":\n dateTimeFormat = formatLong3.dateTime({ width: \"short\" });\n break;\n case \"PP\":\n dateTimeFormat = formatLong3.dateTime({ width: \"medium\" });\n break;\n case \"PPP\":\n dateTimeFormat = formatLong3.dateTime({ width: \"long\" });\n break;\n case \"PPPP\":\n default:\n dateTimeFormat = formatLong3.dateTime({ width: \"full\" });\n break;\n }\n return dateTimeFormat.replace(\"{{date}}\", dateLongFormatter(datePattern, formatLong3)).replace(\"{{time}}\", timeLongFormatter(timePattern, formatLong3));\n};\nvar longFormatters = {\n p: timeLongFormatter,\n P: dateTimeLongFormatter\n};\n\n// lib/_lib/protectedTokens.mjs\nfunction isProtectedDayOfYearToken(token) {\n return dayOfYearTokenRE.test(token);\n}\nfunction isProtectedWeekYearToken(token) {\n return weekYearTokenRE.test(token);\n}\nfunction warnOrThrowProtectedError(token, format, input) {\n const _message = message(token, format, input);\n console.warn(_message);\n if (throwTokens.includes(token))\n throw new RangeError(_message);\n}\nvar message = function(token, format, input) {\n const subject = token[0] === \"Y\" ? \"years\" : \"days of the month\";\n return `Use \\`${token.toLowerCase()}\\` instead of \\`${token}\\` (in \\`${format}\\`) for formatting ${subject} to the input \\`${input}\\`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md`;\n};\nvar dayOfYearTokenRE = /^D+$/;\nvar weekYearTokenRE = /^Y+$/;\nvar throwTokens = [\"D\", \"DD\", \"YY\", \"YYYY\"];\n\n// lib/format.mjs\nfunction format(date, formatStr, options) {\n const defaultOptions7 = getDefaultOptions();\n const locale = options?.locale ?? defaultOptions7.locale ?? enUS;\n const firstWeekContainsDate = options?.firstWeekContainsDate ?? options?.locale?.options?.firstWeekContainsDate ?? defaultOptions7.firstWeekContainsDate ?? defaultOptions7.locale?.options?.firstWeekContainsDate ?? 1;\n const weekStartsOn = options?.weekStartsOn ?? options?.locale?.options?.weekStartsOn ?? defaultOptions7.weekStartsOn ?? defaultOptions7.locale?.options?.weekStartsOn ?? 0;\n const originalDate = toDate(date);\n if (!isValid(originalDate)) {\n throw new RangeError(\"Invalid time value\");\n }\n let parts = formatStr.match(longFormattingTokensRegExp).map((substring) => {\n const firstCharacter = substring[0];\n if (firstCharacter === \"p\" || firstCharacter === \"P\") {\n const longFormatter = longFormatters[firstCharacter];\n return longFormatter(substring, locale.formatLong);\n }\n return substring;\n }).join(\"\").match(formattingTokensRegExp).map((substring) => {\n if (substring === \"''\") {\n return { isToken: false, value: \"'\" };\n }\n const firstCharacter = substring[0];\n if (firstCharacter === \"'\") {\n return { isToken: false, value: cleanEscapedString(substring) };\n }\n if (formatters[firstCharacter]) {\n return { isToken: true, value: substring };\n }\n if (firstCharacter.match(unescapedLatinCharacterRegExp)) {\n throw new RangeError(\"Format string contains an unescaped latin alphabet character `\" + firstCharacter + \"`\");\n }\n return { isToken: false, value: substring };\n });\n if (locale.localize.preprocessor) {\n parts = locale.localize.preprocessor(originalDate, parts);\n }\n const formatterOptions = {\n firstWeekContainsDate,\n weekStartsOn,\n locale\n };\n return parts.map((part) => {\n if (!part.isToken)\n return part.value;\n const token = part.value;\n if (!options?.useAdditionalWeekYearTokens && isProtectedWeekYearToken(token) || !options?.useAdditionalDayOfYearTokens && isProtectedDayOfYearToken(token)) {\n warnOrThrowProtectedError(token, formatStr, String(date));\n }\n const formatter = formatters[token[0]];\n return formatter(originalDate, token, locale.localize, formatterOptions);\n }).join(\"\");\n}\nvar cleanEscapedString = function(input) {\n const matched = input.match(escapedStringRegExp);\n if (!matched) {\n return input;\n }\n return matched[1].replace(doubleQuoteRegExp, \"'\");\n};\nvar formattingTokensRegExp = /[yYQqMLwIdDecihHKkms]o|(\\w)\\1*|''|'(''|[^'])+('|$)|./g;\nvar longFormattingTokensRegExp = /P+p+|P+|p+|''|'(''|[^'])+('|$)|./g;\nvar escapedStringRegExp = /^'([^]*?)'?$/;\nvar doubleQuoteRegExp = /''/g;\nvar unescapedLatinCharacterRegExp = /[a-zA-Z]/;\n// lib/formatDistance.mjs\nfunction formatDistance3(date, baseDate, options) {\n const defaultOptions8 = getDefaultOptions();\n const locale = options?.locale ?? defaultOptions8.locale ?? enUS;\n const minutesInAlmostTwoDays = 2520;\n const comparison = compareAsc(date, baseDate);\n if (isNaN(comparison)) {\n throw new RangeError(\"Invalid time value\");\n }\n const localizeOptions = Object.assign({}, options, {\n addSuffix: options?.addSuffix,\n comparison\n });\n let dateLeft;\n let dateRight;\n if (comparison > 0) {\n dateLeft = toDate(baseDate);\n dateRight = toDate(date);\n } else {\n dateLeft = toDate(date);\n dateRight = toDate(baseDate);\n }\n const seconds = differenceInSeconds(dateRight, dateLeft);\n const offsetInSeconds = (getTimezoneOffsetInMilliseconds(dateRight) - getTimezoneOffsetInMilliseconds(dateLeft)) / 1000;\n const minutes = Math.round((seconds - offsetInSeconds) / 60);\n let months;\n if (minutes < 2) {\n if (options?.includeSeconds) {\n if (seconds < 5) {\n return locale.formatDistance(\"lessThanXSeconds\", 5, localizeOptions);\n } else if (seconds < 10) {\n return locale.formatDistance(\"lessThanXSeconds\", 10, localizeOptions);\n } else if (seconds < 20) {\n return locale.formatDistance(\"lessThanXSeconds\", 20, localizeOptions);\n } else if (seconds < 40) {\n return locale.formatDistance(\"halfAMinute\", 0, localizeOptions);\n } else if (seconds < 60) {\n return locale.formatDistance(\"lessThanXMinutes\", 1, localizeOptions);\n } else {\n return locale.formatDistance(\"xMinutes\", 1, localizeOptions);\n }\n } else {\n if (minutes === 0) {\n return locale.formatDistance(\"lessThanXMinutes\", 1, localizeOptions);\n } else {\n return locale.formatDistance(\"xMinutes\", minutes, localizeOptions);\n }\n }\n } else if (minutes < 45) {\n return locale.formatDistance(\"xMinutes\", minutes, localizeOptions);\n } else if (minutes < 90) {\n return locale.formatDistance(\"aboutXHours\", 1, localizeOptions);\n } else if (minutes < minutesInDay) {\n const hours = Math.round(minutes / 60);\n return locale.formatDistance(\"aboutXHours\", hours, localizeOptions);\n } else if (minutes < minutesInAlmostTwoDays) {\n return locale.formatDistance(\"xDays\", 1, localizeOptions);\n } else if (minutes < minutesInMonth) {\n const days = Math.round(minutes / minutesInDay);\n return locale.formatDistance(\"xDays\", days, localizeOptions);\n } else if (minutes < minutesInMonth * 2) {\n months = Math.round(minutes / minutesInMonth);\n return locale.formatDistance(\"aboutXMonths\", months, localizeOptions);\n }\n months = differenceInMonths(dateRight, dateLeft);\n if (months < 12) {\n const nearestMonth = Math.round(minutes / minutesInMonth);\n return locale.formatDistance(\"xMonths\", nearestMonth, localizeOptions);\n } else {\n const monthsSinceStartOfYear = months % 12;\n const years = Math.trunc(months / 12);\n if (monthsSinceStartOfYear < 3) {\n return locale.formatDistance(\"aboutXYears\", years, localizeOptions);\n } else if (monthsSinceStartOfYear < 9) {\n return locale.formatDistance(\"overXYears\", years, localizeOptions);\n } else {\n return locale.formatDistance(\"almostXYears\", years + 1, localizeOptions);\n }\n }\n}\n// lib/formatDistanceStrict.mjs\nfunction formatDistanceStrict(date, baseDate, options) {\n const defaultOptions9 = getDefaultOptions();\n const locale = options?.locale ?? defaultOptions9.locale ?? enUS;\n const comparison = compareAsc(date, baseDate);\n if (isNaN(comparison)) {\n throw new RangeError(\"Invalid time value\");\n }\n const localizeOptions = Object.assign({}, options, {\n addSuffix: options?.addSuffix,\n comparison\n });\n let dateLeft;\n let dateRight;\n if (comparison > 0) {\n dateLeft = toDate(baseDate);\n dateRight = toDate(date);\n } else {\n dateLeft = toDate(date);\n dateRight = toDate(baseDate);\n }\n const roundingMethod = getRoundingMethod(options?.roundingMethod ?? \"round\");\n const milliseconds = dateRight.getTime() - dateLeft.getTime();\n const minutes = milliseconds / millisecondsInMinute;\n const timezoneOffset = getTimezoneOffsetInMilliseconds(dateRight) - getTimezoneOffsetInMilliseconds(dateLeft);\n const dstNormalizedMinutes = (milliseconds - timezoneOffset) / millisecondsInMinute;\n const defaultUnit = options?.unit;\n let unit;\n if (!defaultUnit) {\n if (minutes < 1) {\n unit = \"second\";\n } else if (minutes < 60) {\n unit = \"minute\";\n } else if (minutes < minutesInDay) {\n unit = \"hour\";\n } else if (dstNormalizedMinutes < minutesInMonth) {\n unit = \"day\";\n } else if (dstNormalizedMinutes < minutesInYear) {\n unit = \"month\";\n } else {\n unit = \"year\";\n }\n } else {\n unit = defaultUnit;\n }\n if (unit === \"second\") {\n const seconds = roundingMethod(milliseconds / 1000);\n return locale.formatDistance(\"xSeconds\", seconds, localizeOptions);\n } else if (unit === \"minute\") {\n const roundedMinutes = roundingMethod(minutes);\n return locale.formatDistance(\"xMinutes\", roundedMinutes, localizeOptions);\n } else if (unit === \"hour\") {\n const hours = roundingMethod(minutes / 60);\n return locale.formatDistance(\"xHours\", hours, localizeOptions);\n } else if (unit === \"day\") {\n const days = roundingMethod(dstNormalizedMinutes / minutesInDay);\n return locale.formatDistance(\"xDays\", days, localizeOptions);\n } else if (unit === \"month\") {\n const months = roundingMethod(dstNormalizedMinutes / minutesInMonth);\n return months === 12 && defaultUnit !== \"month\" ? locale.formatDistance(\"xYears\", 1, localizeOptions) : locale.formatDistance(\"xMonths\", months, localizeOptions);\n } else {\n const years = roundingMethod(dstNormalizedMinutes / minutesInYear);\n return locale.formatDistance(\"xYears\", years, localizeOptions);\n }\n}\n// lib/formatDistanceToNow.mjs\nfunction formatDistanceToNow(date, options) {\n return formatDistance3(date, constructNow(date), options);\n}\n// lib/formatDistanceToNowStrict.mjs\nfunction formatDistanceToNowStrict(date, options) {\n return formatDistanceStrict(date, constructNow(date), options);\n}\n// lib/formatDuration.mjs\nfunction formatDuration(duration, options) {\n const defaultOptions10 = getDefaultOptions();\n const locale = options?.locale ?? defaultOptions10.locale ?? enUS;\n const format2 = options?.format ?? defaultFormat;\n const zero = options?.zero ?? false;\n const delimiter = options?.delimiter ?? \" \";\n if (!locale.formatDistance) {\n return \"\";\n }\n const result = format2.reduce((acc, unit) => {\n const token = `x${unit.replace(/(^.)/, (m) => m.toUpperCase())}`;\n const value = duration[unit];\n if (value !== undefined && (zero || duration[unit])) {\n return acc.concat(locale.formatDistance(token, value));\n }\n return acc;\n }, []).join(delimiter);\n return result;\n}\nvar defaultFormat = [\n \"years\",\n \"months\",\n \"weeks\",\n \"days\",\n \"hours\",\n \"minutes\",\n \"seconds\"\n];\n// lib/formatISO.mjs\nfunction formatISO(date, options) {\n const _date = toDate(date);\n if (isNaN(_date.getTime())) {\n throw new RangeError(\"Invalid time value\");\n }\n const format2 = options?.format ?? \"extended\";\n const representation = options?.representation ?? \"complete\";\n let result = \"\";\n let tzOffset = \"\";\n const dateDelimiter = format2 === \"extended\" ? \"-\" : \"\";\n const timeDelimiter = format2 === \"extended\" ? \":\" : \"\";\n if (representation !== \"time\") {\n const day = addLeadingZeros(_date.getDate(), 2);\n const month = addLeadingZeros(_date.getMonth() + 1, 2);\n const year = addLeadingZeros(_date.getFullYear(), 4);\n result = `${year}${dateDelimiter}${month}${dateDelimiter}${day}`;\n }\n if (representation !== \"date\") {\n const offset = _date.getTimezoneOffset();\n if (offset !== 0) {\n const absoluteOffset = Math.abs(offset);\n const hourOffset = addLeadingZeros(Math.trunc(absoluteOffset / 60), 2);\n const minuteOffset = addLeadingZeros(absoluteOffset % 60, 2);\n const sign = offset < 0 ? \"+\" : \"-\";\n tzOffset = `${sign}${hourOffset}:${minuteOffset}`;\n } else {\n tzOffset = \"Z\";\n }\n const hour = addLeadingZeros(_date.getHours(), 2);\n const minute = addLeadingZeros(_date.getMinutes(), 2);\n const second = addLeadingZeros(_date.getSeconds(), 2);\n const separator = result === \"\" ? \"\" : \"T\";\n const time = [hour, minute, second].join(timeDelimiter);\n result = `${result}${separator}${time}${tzOffset}`;\n }\n return result;\n}\n// lib/formatISO9075.mjs\nfunction formatISO9075(date, options) {\n const _date = toDate(date);\n if (!isValid(_date)) {\n throw new RangeError(\"Invalid time value\");\n }\n const format2 = options?.format ?? \"extended\";\n const representation = options?.representation ?? \"complete\";\n let result = \"\";\n const dateDelimiter = format2 === \"extended\" ? \"-\" : \"\";\n const timeDelimiter = format2 === \"extended\" ? \":\" : \"\";\n if (representation !== \"time\") {\n const day = addLeadingZeros(_date.getDate(), 2);\n const month = addLeadingZeros(_date.getMonth() + 1, 2);\n const year = addLeadingZeros(_date.getFullYear(), 4);\n result = `${year}${dateDelimiter}${month}${dateDelimiter}${day}`;\n }\n if (representation !== \"date\") {\n const hour = addLeadingZeros(_date.getHours(), 2);\n const minute = addLeadingZeros(_date.getMinutes(), 2);\n const second = addLeadingZeros(_date.getSeconds(), 2);\n const separator = result === \"\" ? \"\" : \" \";\n result = `${result}${separator}${hour}${timeDelimiter}${minute}${timeDelimiter}${second}`;\n }\n return result;\n}\n// lib/formatISODuration.mjs\nfunction formatISODuration(duration) {\n const {\n years = 0,\n months = 0,\n days = 0,\n hours = 0,\n minutes = 0,\n seconds = 0\n } = duration;\n return `P${years}Y${months}M${days}DT${hours}H${minutes}M${seconds}S`;\n}\n// lib/formatRFC3339.mjs\nfunction formatRFC3339(date, options) {\n const _date = toDate(date);\n if (!isValid(_date)) {\n throw new RangeError(\"Invalid time value\");\n }\n const fractionDigits = options?.fractionDigits ?? 0;\n const day = addLeadingZeros(_date.getDate(), 2);\n const month = addLeadingZeros(_date.getMonth() + 1, 2);\n const year = _date.getFullYear();\n const hour = addLeadingZeros(_date.getHours(), 2);\n const minute = addLeadingZeros(_date.getMinutes(), 2);\n const second = addLeadingZeros(_date.getSeconds(), 2);\n let fractionalSecond = \"\";\n if (fractionDigits > 0) {\n const milliseconds = _date.getMilliseconds();\n const fractionalSeconds = Math.trunc(milliseconds * Math.pow(10, fractionDigits - 3));\n fractionalSecond = \".\" + addLeadingZeros(fractionalSeconds, fractionDigits);\n }\n let offset = \"\";\n const tzOffset = _date.getTimezoneOffset();\n if (tzOffset !== 0) {\n const absoluteOffset = Math.abs(tzOffset);\n const hourOffset = addLeadingZeros(Math.trunc(absoluteOffset / 60), 2);\n const minuteOffset = addLeadingZeros(absoluteOffset % 60, 2);\n const sign = tzOffset < 0 ? \"+\" : \"-\";\n offset = `${sign}${hourOffset}:${minuteOffset}`;\n } else {\n offset = \"Z\";\n }\n return `${year}-${month}-${day}T${hour}:${minute}:${second}${fractionalSecond}${offset}`;\n}\n// lib/formatRFC7231.mjs\nfunction formatRFC7231(date) {\n const _date = toDate(date);\n if (!isValid(_date)) {\n throw new RangeError(\"Invalid time value\");\n }\n const dayName = days[_date.getUTCDay()];\n const dayOfMonth = addLeadingZeros(_date.getUTCDate(), 2);\n const monthName = months[_date.getUTCMonth()];\n const year = _date.getUTCFullYear();\n const hour = addLeadingZeros(_date.getUTCHours(), 2);\n const minute = addLeadingZeros(_date.getUTCMinutes(), 2);\n const second = addLeadingZeros(_date.getUTCSeconds(), 2);\n return `${dayName}, ${dayOfMonth} ${monthName} ${year} ${hour}:${minute}:${second} GMT`;\n}\nvar days = [\"Sun\", \"Mon\", \"Tue\", \"Wed\", \"Thu\", \"Fri\", \"Sat\"];\nvar months = [\n \"Jan\",\n \"Feb\",\n \"Mar\",\n \"Apr\",\n \"May\",\n \"Jun\",\n \"Jul\",\n \"Aug\",\n \"Sep\",\n \"Oct\",\n \"Nov\",\n \"Dec\"\n];\n// lib/formatRelative.mjs\nfunction formatRelative3(date, baseDate, options) {\n const _date = toDate(date);\n const _baseDate = toDate(baseDate);\n const defaultOptions11 = getDefaultOptions();\n const locale = options?.locale ?? defaultOptions11.locale ?? enUS;\n const weekStartsOn = options?.weekStartsOn ?? options?.locale?.options?.weekStartsOn ?? defaultOptions11.weekStartsOn ?? defaultOptions11.locale?.options?.weekStartsOn ?? 0;\n const diff = differenceInCalendarDays(_date, _baseDate);\n if (isNaN(diff)) {\n throw new RangeError(\"Invalid time value\");\n }\n let token;\n if (diff < -6) {\n token = \"other\";\n } else if (diff < -1) {\n token = \"lastWeek\";\n } else if (diff < 0) {\n token = \"yesterday\";\n } else if (diff < 1) {\n token = \"today\";\n } else if (diff < 2) {\n token = \"tomorrow\";\n } else if (diff < 7) {\n token = \"nextWeek\";\n } else {\n token = \"other\";\n }\n const formatStr = locale.formatRelative(token, _date, _baseDate, {\n locale,\n weekStartsOn\n });\n return format(_date, formatStr, { locale, weekStartsOn });\n}\n// lib/fromUnixTime.mjs\nfunction fromUnixTime(unixTime) {\n return toDate(unixTime * 1000);\n}\n// lib/getDate.mjs\nfunction getDate(date) {\n const _date = toDate(date);\n const dayOfMonth = _date.getDate();\n return dayOfMonth;\n}\n// lib/getDay.mjs\nfunction getDay(date) {\n const _date = toDate(date);\n const day = _date.getDay();\n return day;\n}\n// lib/getDaysInMonth.mjs\nfunction getDaysInMonth(date) {\n const _date = toDate(date);\n const year = _date.getFullYear();\n const monthIndex = _date.getMonth();\n const lastDayOfMonth = constructFrom(date, 0);\n lastDayOfMonth.setFullYear(year, monthIndex + 1, 0);\n lastDayOfMonth.setHours(0, 0, 0, 0);\n return lastDayOfMonth.getDate();\n}\n// lib/isLeapYear.mjs\nfunction isLeapYear(date) {\n const _date = toDate(date);\n const year = _date.getFullYear();\n return year % 400 === 0 || year % 4 === 0 && year % 100 !== 0;\n}\n\n// lib/getDaysInYear.mjs\nfunction getDaysInYear(date) {\n const _date = toDate(date);\n if (String(new Date(_date)) === \"Invalid Date\") {\n return NaN;\n }\n return isLeapYear(_date) ? 366 : 365;\n}\n// lib/getDecade.mjs\nfunction getDecade(date) {\n const _date = toDate(date);\n const year = _date.getFullYear();\n const decade = Math.floor(year / 10) * 10;\n return decade;\n}\n// lib/getDefaultOptions.mjs\nfunction getDefaultOptions2() {\n return Object.assign({}, getDefaultOptions());\n}\n// lib/getHours.mjs\nfunction getHours(date) {\n const _date = toDate(date);\n const hours = _date.getHours();\n return hours;\n}\n// lib/getISODay.mjs\nfunction getISODay(date) {\n const _date = toDate(date);\n let day = _date.getDay();\n if (day === 0) {\n day = 7;\n }\n return day;\n}\n// lib/getISOWeeksInYear.mjs\nfunction getISOWeeksInYear(date) {\n const thisYear = startOfISOWeekYear(date);\n const nextYear = startOfISOWeekYear(addWeeks(thisYear, 60));\n const diff = +nextYear - +thisYear;\n return Math.round(diff / millisecondsInWeek);\n}\n// lib/getMilliseconds.mjs\nfunction getMilliseconds(date) {\n const _date = toDate(date);\n const milliseconds = _date.getMilliseconds();\n return milliseconds;\n}\n// lib/getMinutes.mjs\nfunction getMinutes(date) {\n const _date = toDate(date);\n const minutes = _date.getMinutes();\n return minutes;\n}\n// lib/getMonth.mjs\nfunction getMonth(date) {\n const _date = toDate(date);\n const month = _date.getMonth();\n return month;\n}\n// lib/getOverlappingDaysInIntervals.mjs\nfunction getOverlappingDaysInIntervals(intervalLeft, intervalRight) {\n const [leftStart, leftEnd] = [\n +toDate(intervalLeft.start),\n +toDate(intervalLeft.end)\n ].sort((a, b) => a - b);\n const [rightStart, rightEnd] = [\n +toDate(intervalRight.start),\n +toDate(intervalRight.end)\n ].sort((a, b) => a - b);\n const isOverlapping = leftStart < rightEnd && rightStart < leftEnd;\n if (!isOverlapping)\n return 0;\n const overlapLeft = rightStart < leftStart ? leftStart : rightStart;\n const left = overlapLeft - getTimezoneOffsetInMilliseconds(overlapLeft);\n const overlapRight = rightEnd > leftEnd ? leftEnd : rightEnd;\n const right = overlapRight - getTimezoneOffsetInMilliseconds(overlapRight);\n return Math.ceil((right - left) / millisecondsInDay);\n}\n// lib/getSeconds.mjs\nfunction getSeconds(date) {\n const _date = toDate(date);\n const seconds = _date.getSeconds();\n return seconds;\n}\n// lib/getTime.mjs\nfunction getTime(date) {\n const _date = toDate(date);\n const timestamp = _date.getTime();\n return timestamp;\n}\n// lib/getUnixTime.mjs\nfunction getUnixTime(date) {\n return Math.trunc(+toDate(date) / 1000);\n}\n// lib/getWeekOfMonth.mjs\nfunction getWeekOfMonth(date, options) {\n const defaultOptions13 = getDefaultOptions();\n const weekStartsOn = options?.weekStartsOn ?? options?.locale?.options?.weekStartsOn ?? defaultOptions13.weekStartsOn ?? defaultOptions13.locale?.options?.weekStartsOn ?? 0;\n const currentDayOfMonth = getDate(date);\n if (isNaN(currentDayOfMonth))\n return NaN;\n const startWeekDay = getDay(startOfMonth(date));\n let lastDayOfFirstWeek = weekStartsOn - startWeekDay;\n if (lastDayOfFirstWeek <= 0)\n lastDayOfFirstWeek += 7;\n const remainingDaysAfterFirstWeek = currentDayOfMonth - lastDayOfFirstWeek;\n return Math.ceil(remainingDaysAfterFirstWeek / 7) + 1;\n}\n// lib/lastDayOfMonth.mjs\nfunction lastDayOfMonth(date) {\n const _date = toDate(date);\n const month = _date.getMonth();\n _date.setFullYear(_date.getFullYear(), month + 1, 0);\n _date.setHours(0, 0, 0, 0);\n return _date;\n}\n\n// lib/getWeeksInMonth.mjs\nfunction getWeeksInMonth(date, options) {\n return differenceInCalendarWeeks(lastDayOfMonth(date), startOfMonth(date), options) + 1;\n}\n// lib/getYear.mjs\nfunction getYear(date) {\n return toDate(date).getFullYear();\n}\n// lib/hoursToMilliseconds.mjs\nfunction hoursToMilliseconds(hours) {\n return Math.trunc(hours * millisecondsInHour);\n}\n// lib/hoursToMinutes.mjs\nfunction hoursToMinutes(hours) {\n return Math.trunc(hours * minutesInHour);\n}\n// lib/hoursToSeconds.mjs\nfunction hoursToSeconds(hours) {\n return Math.trunc(hours * secondsInHour);\n}\n// lib/interval.mjs\nfunction interval(start, end, options) {\n const _start = toDate(start);\n if (isNaN(+_start))\n throw new TypeError(\"Start date is invalid\");\n const _end = toDate(end);\n if (isNaN(+_end))\n throw new TypeError(\"End date is invalid\");\n if (options?.assertPositive && +_start > +_end)\n throw new TypeError(\"End date must be after start date\");\n return { start: _start, end: _end };\n}\n// lib/intervalToDuration.mjs\nfunction intervalToDuration(interval2) {\n const start = toDate(interval2.start);\n const end = toDate(interval2.end);\n const duration = {};\n const years = differenceInYears(end, start);\n if (years)\n duration.years = years;\n const remainingMonths = add(start, { years: duration.years });\n const months2 = differenceInMonths(end, remainingMonths);\n if (months2)\n duration.months = months2;\n const remainingDays = add(remainingMonths, { months: duration.months });\n const days2 = differenceInDays(end, remainingDays);\n if (days2)\n duration.days = days2;\n const remainingHours = add(remainingDays, { days: duration.days });\n const hours = differenceInHours(end, remainingHours);\n if (hours)\n duration.hours = hours;\n const remainingMinutes = add(remainingHours, { hours: duration.hours });\n const minutes = differenceInMinutes(end, remainingMinutes);\n if (minutes)\n duration.minutes = minutes;\n const remainingSeconds = add(remainingMinutes, { minutes: duration.minutes });\n const seconds = differenceInSeconds(end, remainingSeconds);\n if (seconds)\n duration.seconds = seconds;\n return duration;\n}\n// lib/intlFormat.mjs\nfunction intlFormat(date, formatOrLocale, localeOptions) {\n let formatOptions;\n if (isFormatOptions(formatOrLocale)) {\n formatOptions = formatOrLocale;\n } else {\n localeOptions = formatOrLocale;\n }\n return new Intl.DateTimeFormat(localeOptions?.locale, formatOptions).format(toDate(date));\n}\nvar isFormatOptions = function(opts) {\n return opts !== undefined && !(\"locale\" in opts);\n};\n// lib/intlFormatDistance.mjs\nfunction intlFormatDistance(date, baseDate, options) {\n let value = 0;\n let unit;\n const dateLeft = toDate(date);\n const dateRight = toDate(baseDate);\n if (!options?.unit) {\n const diffInSeconds = differenceInSeconds(dateLeft, dateRight);\n if (Math.abs(diffInSeconds) < secondsInMinute) {\n value = differenceInSeconds(dateLeft, dateRight);\n unit = \"second\";\n } else if (Math.abs(diffInSeconds) < secondsInHour) {\n value = differenceInMinutes(dateLeft, dateRight);\n unit = \"minute\";\n } else if (Math.abs(diffInSeconds) < secondsInDay && Math.abs(differenceInCalendarDays(dateLeft, dateRight)) < 1) {\n value = differenceInHours(dateLeft, dateRight);\n unit = \"hour\";\n } else if (Math.abs(diffInSeconds) < secondsInWeek && (value = differenceInCalendarDays(dateLeft, dateRight)) && Math.abs(value) < 7) {\n unit = \"day\";\n } else if (Math.abs(diffInSeconds) < secondsInMonth) {\n value = differenceInCalendarWeeks(dateLeft, dateRight);\n unit = \"week\";\n } else if (Math.abs(diffInSeconds) < secondsInQuarter) {\n value = differenceInCalendarMonths(dateLeft, dateRight);\n unit = \"month\";\n } else if (Math.abs(diffInSeconds) < secondsInYear) {\n if (differenceInCalendarQuarters(dateLeft, dateRight) < 4) {\n value = differenceInCalendarQuarters(dateLeft, dateRight);\n unit = \"quarter\";\n } else {\n value = differenceInCalendarYears(dateLeft, dateRight);\n unit = \"year\";\n }\n } else {\n value = differenceInCalendarYears(dateLeft, dateRight);\n unit = \"year\";\n }\n } else {\n unit = options?.unit;\n if (unit === \"second\") {\n value = differenceInSeconds(dateLeft, dateRight);\n } else if (unit === \"minute\") {\n value = differenceInMinutes(dateLeft, dateRight);\n } else if (unit === \"hour\") {\n value = differenceInHours(dateLeft, dateRight);\n } else if (unit === \"day\") {\n value = differenceInCalendarDays(dateLeft, dateRight);\n } else if (unit === \"week\") {\n value = differenceInCalendarWeeks(dateLeft, dateRight);\n } else if (unit === \"month\") {\n value = differenceInCalendarMonths(dateLeft, dateRight);\n } else if (unit === \"quarter\") {\n value = differenceInCalendarQuarters(dateLeft, dateRight);\n } else if (unit === \"year\") {\n value = differenceInCalendarYears(dateLeft, dateRight);\n }\n }\n const rtf = new Intl.RelativeTimeFormat(options?.locale, {\n localeMatcher: options?.localeMatcher,\n numeric: options?.numeric || \"auto\",\n style: options?.style\n });\n return rtf.format(value, unit);\n}\n// lib/isAfter.mjs\nfunction isAfter(date, dateToCompare) {\n const _date = toDate(date);\n const _dateToCompare = toDate(dateToCompare);\n return _date.getTime() > _dateToCompare.getTime();\n}\n// lib/isBefore.mjs\nfunction isBefore(date, dateToCompare) {\n const _date = toDate(date);\n const _dateToCompare = toDate(dateToCompare);\n return +_date < +_dateToCompare;\n}\n// lib/isEqual.mjs\nfunction isEqual(leftDate, rightDate) {\n const _dateLeft = toDate(leftDate);\n const _dateRight = toDate(rightDate);\n return +_dateLeft === +_dateRight;\n}\n// lib/isExists.mjs\nfunction isExists(year, month, day) {\n const date = new Date(year, month, day);\n return date.getFullYear() === year && date.getMonth() === month && date.getDate() === day;\n}\n// lib/isFirstDayOfMonth.mjs\nfunction isFirstDayOfMonth(date) {\n return toDate(date).getDate() === 1;\n}\n// lib/isFriday.mjs\nfunction isFriday(date) {\n return toDate(date).getDay() === 5;\n}\n// lib/isFuture.mjs\nfunction isFuture(date) {\n return +toDate(date) > Date.now();\n}\n// lib/transpose.mjs\nfunction transpose(fromDate, constructor) {\n const date = constructor instanceof Date ? constructFrom(constructor, 0) : new constructor(0);\n date.setFullYear(fromDate.getFullYear(), fromDate.getMonth(), fromDate.getDate());\n date.setHours(fromDate.getHours(), fromDate.getMinutes(), fromDate.getSeconds(), fromDate.getMilliseconds());\n return date;\n}\n\n// lib/parse/_lib/Setter.mjs\nvar TIMEZONE_UNIT_PRIORITY = 10;\n\nclass Setter {\n subPriority = 0;\n validate(_utcDate, _options) {\n return true;\n }\n}\n\nclass ValueSetter extends Setter {\n constructor(value, validateValue, setValue, priority, subPriority) {\n super();\n this.value = value;\n this.validateValue = validateValue;\n this.setValue = setValue;\n this.priority = priority;\n if (subPriority) {\n this.subPriority = subPriority;\n }\n }\n validate(date, options) {\n return this.validateValue(date, this.value, options);\n }\n set(date, flags, options) {\n return this.setValue(date, flags, this.value, options);\n }\n}\n\nclass DateToSystemTimezoneSetter extends Setter {\n priority = TIMEZONE_UNIT_PRIORITY;\n subPriority = -1;\n set(date, flags) {\n if (flags.timestampIsSet)\n return date;\n return constructFrom(date, transpose(date, Date));\n }\n}\n\n// lib/parse/_lib/Parser.mjs\nclass Parser {\n run(dateString, token, match3, options) {\n const result = this.parse(dateString, token, match3, options);\n if (!result) {\n return null;\n }\n return {\n setter: new ValueSetter(result.value, this.validate, this.set, this.priority, this.subPriority),\n rest: result.rest\n };\n }\n validate(_utcDate, _value, _options) {\n return true;\n }\n}\n\n// lib/parse/_lib/parsers/EraParser.mjs\nclass EraParser extends Parser {\n priority = 140;\n parse(dateString, token, match3) {\n switch (token) {\n case \"G\":\n case \"GG\":\n case \"GGG\":\n return match3.era(dateString, { width: \"abbreviated\" }) || match3.era(dateString, { width: \"narrow\" });\n case \"GGGGG\":\n return match3.era(dateString, { width: \"narrow\" });\n case \"GGGG\":\n default:\n return match3.era(dateString, { width: \"wide\" }) || match3.era(dateString, { width: \"abbreviated\" }) || match3.era(dateString, { width: \"narrow\" });\n }\n }\n set(date, flags, value) {\n flags.era = value;\n date.setFullYear(value, 0, 1);\n date.setHours(0, 0, 0, 0);\n return date;\n }\n incompatibleTokens = [\"R\", \"u\", \"t\", \"T\"];\n}\n\n// lib/parse/_lib/constants.mjs\nvar numericPatterns = {\n month: /^(1[0-2]|0?\\d)/,\n date: /^(3[0-1]|[0-2]?\\d)/,\n dayOfYear: /^(36[0-6]|3[0-5]\\d|[0-2]?\\d?\\d)/,\n week: /^(5[0-3]|[0-4]?\\d)/,\n hour23h: /^(2[0-3]|[0-1]?\\d)/,\n hour24h: /^(2[0-4]|[0-1]?\\d)/,\n hour11h: /^(1[0-1]|0?\\d)/,\n hour12h: /^(1[0-2]|0?\\d)/,\n minute: /^[0-5]?\\d/,\n second: /^[0-5]?\\d/,\n singleDigit: /^\\d/,\n twoDigits: /^\\d{1,2}/,\n threeDigits: /^\\d{1,3}/,\n fourDigits: /^\\d{1,4}/,\n anyDigitsSigned: /^-?\\d+/,\n singleDigitSigned: /^-?\\d/,\n twoDigitsSigned: /^-?\\d{1,2}/,\n threeDigitsSigned: /^-?\\d{1,3}/,\n fourDigitsSigned: /^-?\\d{1,4}/\n};\nvar timezonePatterns = {\n basicOptionalMinutes: /^([+-])(\\d{2})(\\d{2})?|Z/,\n basic: /^([+-])(\\d{2})(\\d{2})|Z/,\n basicOptionalSeconds: /^([+-])(\\d{2})(\\d{2})((\\d{2}))?|Z/,\n extended: /^([+-])(\\d{2}):(\\d{2})|Z/,\n extendedOptionalSeconds: /^([+-])(\\d{2}):(\\d{2})(:(\\d{2}))?|Z/\n};\n\n// lib/parse/_lib/utils.mjs\nfunction mapValue(parseFnResult, mapFn) {\n if (!parseFnResult) {\n return parseFnResult;\n }\n return {\n value: mapFn(parseFnResult.value),\n rest: parseFnResult.rest\n };\n}\nfunction parseNumericPattern(pattern, dateString) {\n const matchResult = dateString.match(pattern);\n if (!matchResult) {\n return null;\n }\n return {\n value: parseInt(matchResult[0], 10),\n rest: dateString.slice(matchResult[0].length)\n };\n}\nfunction parseTimezonePattern(pattern, dateString) {\n const matchResult = dateString.match(pattern);\n if (!matchResult) {\n return null;\n }\n if (matchResult[0] === \"Z\") {\n return {\n value: 0,\n rest: dateString.slice(1)\n };\n }\n const sign = matchResult[1] === \"+\" ? 1 : -1;\n const hours = matchResult[2] ? parseInt(matchResult[2], 10) : 0;\n const minutes = matchResult[3] ? parseInt(matchResult[3], 10) : 0;\n const seconds = matchResult[5] ? parseInt(matchResult[5], 10) : 0;\n return {\n value: sign * (hours * millisecondsInHour + minutes * millisecondsInMinute + seconds * millisecondsInSecond),\n rest: dateString.slice(matchResult[0].length)\n };\n}\nfunction parseAnyDigitsSigned(dateString) {\n return parseNumericPattern(numericPatterns.anyDigitsSigned, dateString);\n}\nfunction parseNDigits(n, dateString) {\n switch (n) {\n case 1:\n return parseNumericPattern(numericPatterns.singleDigit, dateString);\n case 2:\n return parseNumericPattern(numericPatterns.twoDigits, dateString);\n case 3:\n return parseNumericPattern(numericPatterns.threeDigits, dateString);\n case 4:\n return parseNumericPattern(numericPatterns.fourDigits, dateString);\n default:\n return parseNumericPattern(new RegExp(\"^\\\\d{1,\" + n + \"}\"), dateString);\n }\n}\nfunction parseNDigitsSigned(n, dateString) {\n switch (n) {\n case 1:\n return parseNumericPattern(numericPatterns.singleDigitSigned, dateString);\n case 2:\n return parseNumericPattern(numericPatterns.twoDigitsSigned, dateString);\n case 3:\n return parseNumericPattern(numericPatterns.threeDigitsSigned, dateString);\n case 4:\n return parseNumericPattern(numericPatterns.fourDigitsSigned, dateString);\n default:\n return parseNumericPattern(new RegExp(\"^-?\\\\d{1,\" + n + \"}\"), dateString);\n }\n}\nfunction dayPeriodEnumToHours(dayPeriod) {\n switch (dayPeriod) {\n case \"morning\":\n return 4;\n case \"evening\":\n return 17;\n case \"pm\":\n case \"noon\":\n case \"afternoon\":\n return 12;\n case \"am\":\n case \"midnight\":\n case \"night\":\n default:\n return 0;\n }\n}\nfunction normalizeTwoDigitYear(twoDigitYear, currentYear) {\n const isCommonEra = currentYear > 0;\n const absCurrentYear = isCommonEra ? currentYear : 1 - currentYear;\n let result;\n if (absCurrentYear <= 50) {\n result = twoDigitYear || 100;\n } else {\n const rangeEnd = absCurrentYear + 50;\n const rangeEndCentury = Math.trunc(rangeEnd / 100) * 100;\n const isPreviousCentury = twoDigitYear >= rangeEnd % 100;\n result = twoDigitYear + rangeEndCentury - (isPreviousCentury ? 100 : 0);\n }\n return isCommonEra ? result : 1 - result;\n}\nfunction isLeapYearIndex(year) {\n return year % 400 === 0 || year % 4 === 0 && year % 100 !== 0;\n}\n\n// lib/parse/_lib/parsers/YearParser.mjs\nclass YearParser extends Parser {\n priority = 130;\n incompatibleTokens = [\"Y\", \"R\", \"u\", \"w\", \"I\", \"i\", \"e\", \"c\", \"t\", \"T\"];\n parse(dateString, token, match3) {\n const valueCallback = (year) => ({\n year,\n isTwoDigitYear: token === \"yy\"\n });\n switch (token) {\n case \"y\":\n return mapValue(parseNDigits(4, dateString), valueCallback);\n case \"yo\":\n return mapValue(match3.ordinalNumber(dateString, {\n unit: \"year\"\n }), valueCallback);\n default:\n return mapValue(parseNDigits(token.length, dateString), valueCallback);\n }\n }\n validate(_date, value) {\n return value.isTwoDigitYear || value.year > 0;\n }\n set(date, flags, value) {\n const currentYear = date.getFullYear();\n if (value.isTwoDigitYear) {\n const normalizedTwoDigitYear = normalizeTwoDigitYear(value.year, currentYear);\n date.setFullYear(normalizedTwoDigitYear, 0, 1);\n date.setHours(0, 0, 0, 0);\n return date;\n }\n const year = !(\"era\" in flags) || flags.era === 1 ? value.year : 1 - value.year;\n date.setFullYear(year, 0, 1);\n date.setHours(0, 0, 0, 0);\n return date;\n }\n}\n\n// lib/parse/_lib/parsers/LocalWeekYearParser.mjs\nclass LocalWeekYearParser extends Parser {\n priority = 130;\n parse(dateString, token, match3) {\n const valueCallback = (year) => ({\n year,\n isTwoDigitYear: token === \"YY\"\n });\n switch (token) {\n case \"Y\":\n return mapValue(parseNDigits(4, dateString), valueCallback);\n case \"Yo\":\n return mapValue(match3.ordinalNumber(dateString, {\n unit: \"year\"\n }), valueCallback);\n default:\n return mapValue(parseNDigits(token.length, dateString), valueCallback);\n }\n }\n validate(_date, value) {\n return value.isTwoDigitYear || value.year > 0;\n }\n set(date, flags, value, options) {\n const currentYear = getWeekYear(date, options);\n if (value.isTwoDigitYear) {\n const normalizedTwoDigitYear = normalizeTwoDigitYear(value.year, currentYear);\n date.setFullYear(normalizedTwoDigitYear, 0, options.firstWeekContainsDate);\n date.setHours(0, 0, 0, 0);\n return startOfWeek(date, options);\n }\n const year = !(\"era\" in flags) || flags.era === 1 ? value.year : 1 - value.year;\n date.setFullYear(year, 0, options.firstWeekContainsDate);\n date.setHours(0, 0, 0, 0);\n return startOfWeek(date, options);\n }\n incompatibleTokens = [\n \"y\",\n \"R\",\n \"u\",\n \"Q\",\n \"q\",\n \"M\",\n \"L\",\n \"I\",\n \"d\",\n \"D\",\n \"i\",\n \"t\",\n \"T\"\n ];\n}\n\n// lib/parse/_lib/parsers/ISOWeekYearParser.mjs\nclass ISOWeekYearParser extends Parser {\n priority = 130;\n parse(dateString, token) {\n if (token === \"R\") {\n return parseNDigitsSigned(4, dateString);\n }\n return parseNDigitsSigned(token.length, dateString);\n }\n set(date, _flags, value) {\n const firstWeekOfYear = constructFrom(date, 0);\n firstWeekOfYear.setFullYear(value, 0, 4);\n firstWeekOfYear.setHours(0, 0, 0, 0);\n return startOfISOWeek(firstWeekOfYear);\n }\n incompatibleTokens = [\n \"G\",\n \"y\",\n \"Y\",\n \"u\",\n \"Q\",\n \"q\",\n \"M\",\n \"L\",\n \"w\",\n \"d\",\n \"D\",\n \"e\",\n \"c\",\n \"t\",\n \"T\"\n ];\n}\n\n// lib/parse/_lib/parsers/ExtendedYearParser.mjs\nclass ExtendedYearParser extends Parser {\n priority = 130;\n parse(dateString, token) {\n if (token === \"u\") {\n return parseNDigitsSigned(4, dateString);\n }\n return parseNDigitsSigned(token.length, dateString);\n }\n set(date, _flags, value) {\n date.setFullYear(value, 0, 1);\n date.setHours(0, 0, 0, 0);\n return date;\n }\n incompatibleTokens = [\"G\", \"y\", \"Y\", \"R\", \"w\", \"I\", \"i\", \"e\", \"c\", \"t\", \"T\"];\n}\n\n// lib/parse/_lib/parsers/QuarterParser.mjs\nclass QuarterParser extends Parser {\n priority = 120;\n parse(dateString, token, match3) {\n switch (token) {\n case \"Q\":\n case \"QQ\":\n return parseNDigits(token.length, dateString);\n case \"Qo\":\n return match3.ordinalNumber(dateString, { unit: \"quarter\" });\n case \"QQQ\":\n return match3.quarter(dateString, {\n width: \"abbreviated\",\n context: \"formatting\"\n }) || match3.quarter(dateString, {\n width: \"narrow\",\n context: \"formatting\"\n });\n case \"QQQQQ\":\n return match3.quarter(dateString, {\n width: \"narrow\",\n context: \"formatting\"\n });\n case \"QQQQ\":\n default:\n return match3.quarter(dateString, {\n width: \"wide\",\n context: \"formatting\"\n }) || match3.quarter(dateString, {\n width: \"abbreviated\",\n context: \"formatting\"\n }) || match3.quarter(dateString, {\n width: \"narrow\",\n context: \"formatting\"\n });\n }\n }\n validate(_date, value) {\n return value >= 1 && value <= 4;\n }\n set(date, _flags, value) {\n date.setMonth((value - 1) * 3, 1);\n date.setHours(0, 0, 0, 0);\n return date;\n }\n incompatibleTokens = [\n \"Y\",\n \"R\",\n \"q\",\n \"M\",\n \"L\",\n \"w\",\n \"I\",\n \"d\",\n \"D\",\n \"i\",\n \"e\",\n \"c\",\n \"t\",\n \"T\"\n ];\n}\n\n// lib/parse/_lib/parsers/StandAloneQuarterParser.mjs\nclass StandAloneQuarterParser extends Parser {\n priority = 120;\n parse(dateString, token, match3) {\n switch (token) {\n case \"q\":\n case \"qq\":\n return parseNDigits(token.length, dateString);\n case \"qo\":\n return match3.ordinalNumber(dateString, { unit: \"quarter\" });\n case \"qqq\":\n return match3.quarter(dateString, {\n width: \"abbreviated\",\n context: \"standalone\"\n }) || match3.quarter(dateString, {\n width: \"narrow\",\n context: \"standalone\"\n });\n case \"qqqqq\":\n return match3.quarter(dateString, {\n width: \"narrow\",\n context: \"standalone\"\n });\n case \"qqqq\":\n default:\n return match3.quarter(dateString, {\n width: \"wide\",\n context: \"standalone\"\n }) || match3.quarter(dateString, {\n width: \"abbreviated\",\n context: \"standalone\"\n }) || match3.quarter(dateString, {\n width: \"narrow\",\n context: \"standalone\"\n });\n }\n }\n validate(_date, value) {\n return value >= 1 && value <= 4;\n }\n set(date, _flags, value) {\n date.setMonth((value - 1) * 3, 1);\n date.setHours(0, 0, 0, 0);\n return date;\n }\n incompatibleTokens = [\n \"Y\",\n \"R\",\n \"Q\",\n \"M\",\n \"L\",\n \"w\",\n \"I\",\n \"d\",\n \"D\",\n \"i\",\n \"e\",\n \"c\",\n \"t\",\n \"T\"\n ];\n}\n\n// lib/parse/_lib/parsers/MonthParser.mjs\nclass MonthParser extends Parser {\n incompatibleTokens = [\n \"Y\",\n \"R\",\n \"q\",\n \"Q\",\n \"L\",\n \"w\",\n \"I\",\n \"D\",\n \"i\",\n \"e\",\n \"c\",\n \"t\",\n \"T\"\n ];\n priority = 110;\n parse(dateString, token, match3) {\n const valueCallback = (value) => value - 1;\n switch (token) {\n case \"M\":\n return mapValue(parseNumericPattern(numericPatterns.month, dateString), valueCallback);\n case \"MM\":\n return mapValue(parseNDigits(2, dateString), valueCallback);\n case \"Mo\":\n return mapValue(match3.ordinalNumber(dateString, {\n unit: \"month\"\n }), valueCallback);\n case \"MMM\":\n return match3.month(dateString, {\n width: \"abbreviated\",\n context: \"formatting\"\n }) || match3.month(dateString, { width: \"narrow\", context: \"formatting\" });\n case \"MMMMM\":\n return match3.month(dateString, {\n width: \"narrow\",\n context: \"formatting\"\n });\n case \"MMMM\":\n default:\n return match3.month(dateString, { width: \"wide\", context: \"formatting\" }) || match3.month(dateString, {\n width: \"abbreviated\",\n context: \"formatting\"\n }) || match3.month(dateString, { width: \"narrow\", context: \"formatting\" });\n }\n }\n validate(_date, value) {\n return value >= 0 && value <= 11;\n }\n set(date, _flags, value) {\n date.setMonth(value, 1);\n date.setHours(0, 0, 0, 0);\n return date;\n }\n}\n\n// lib/parse/_lib/parsers/StandAloneMonthParser.mjs\nclass StandAloneMonthParser extends Parser {\n priority = 110;\n parse(dateString, token, match3) {\n const valueCallback = (value) => value - 1;\n switch (token) {\n case \"L\":\n return mapValue(parseNumericPattern(numericPatterns.month, dateString), valueCallback);\n case \"LL\":\n return mapValue(parseNDigits(2, dateString), valueCallback);\n case \"Lo\":\n return mapValue(match3.ordinalNumber(dateString, {\n unit: \"month\"\n }), valueCallback);\n case \"LLL\":\n return match3.month(dateString, {\n width: \"abbreviated\",\n context: \"standalone\"\n }) || match3.month(dateString, { width: \"narrow\", context: \"standalone\" });\n case \"LLLLL\":\n return match3.month(dateString, {\n width: \"narrow\",\n context: \"standalone\"\n });\n case \"LLLL\":\n default:\n return match3.month(dateString, { width: \"wide\", context: \"standalone\" }) || match3.month(dateString, {\n width: \"abbreviated\",\n context: \"standalone\"\n }) || match3.month(dateString, { width: \"narrow\", context: \"standalone\" });\n }\n }\n validate(_date, value) {\n return value >= 0 && value <= 11;\n }\n set(date, _flags, value) {\n date.setMonth(value, 1);\n date.setHours(0, 0, 0, 0);\n return date;\n }\n incompatibleTokens = [\n \"Y\",\n \"R\",\n \"q\",\n \"Q\",\n \"M\",\n \"w\",\n \"I\",\n \"D\",\n \"i\",\n \"e\",\n \"c\",\n \"t\",\n \"T\"\n ];\n}\n\n// lib/setWeek.mjs\nfunction setWeek(date, week, options) {\n const _date = toDate(date);\n const diff = getWeek(_date, options) - week;\n _date.setDate(_date.getDate() - diff * 7);\n return _date;\n}\n\n// lib/parse/_lib/parsers/LocalWeekParser.mjs\nclass LocalWeekParser extends Parser {\n priority = 100;\n parse(dateString, token, match3) {\n switch (token) {\n case \"w\":\n return parseNumericPattern(numericPatterns.week, dateString);\n case \"wo\":\n return match3.ordinalNumber(dateString, { unit: \"week\" });\n default:\n return parseNDigits(token.length, dateString);\n }\n }\n validate(_date, value) {\n return value >= 1 && value <= 53;\n }\n set(date, _flags, value, options) {\n return startOfWeek(setWeek(date, value, options), options);\n }\n incompatibleTokens = [\n \"y\",\n \"R\",\n \"u\",\n \"q\",\n \"Q\",\n \"M\",\n \"L\",\n \"I\",\n \"d\",\n \"D\",\n \"i\",\n \"t\",\n \"T\"\n ];\n}\n\n// lib/setISOWeek.mjs\nfunction setISOWeek(date, week) {\n const _date = toDate(date);\n const diff = getISOWeek(_date) - week;\n _date.setDate(_date.getDate() - diff * 7);\n return _date;\n}\n\n// lib/parse/_lib/parsers/ISOWeekParser.mjs\nclass ISOWeekParser extends Parser {\n priority = 100;\n parse(dateString, token, match3) {\n switch (token) {\n case \"I\":\n return parseNumericPattern(numericPatterns.week, dateString);\n case \"Io\":\n return match3.ordinalNumber(dateString, { unit: \"week\" });\n default:\n return parseNDigits(token.length, dateString);\n }\n }\n validate(_date, value) {\n return value >= 1 && value <= 53;\n }\n set(date, _flags, value) {\n return startOfISOWeek(setISOWeek(date, value));\n }\n incompatibleTokens = [\n \"y\",\n \"Y\",\n \"u\",\n \"q\",\n \"Q\",\n \"M\",\n \"L\",\n \"w\",\n \"d\",\n \"D\",\n \"e\",\n \"c\",\n \"t\",\n \"T\"\n ];\n}\n\n// lib/parse/_lib/parsers/DateParser.mjs\nvar DAYS_IN_MONTH = [31, 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31];\nvar DAYS_IN_MONTH_LEAP_YEAR = [\n 31,\n 29,\n 31,\n 30,\n 31,\n 30,\n 31,\n 31,\n 30,\n 31,\n 30,\n 31\n];\n\nclass DateParser extends Parser {\n priority = 90;\n subPriority = 1;\n parse(dateString, token, match3) {\n switch (token) {\n case \"d\":\n return parseNumericPattern(numericPatterns.date, dateString);\n case \"do\":\n return match3.ordinalNumber(dateString, { unit: \"date\" });\n default:\n return parseNDigits(token.length, dateString);\n }\n }\n validate(date, value) {\n const year = date.getFullYear();\n const isLeapYear3 = isLeapYearIndex(year);\n const month = date.getMonth();\n if (isLeapYear3) {\n return value >= 1 && value <= DAYS_IN_MONTH_LEAP_YEAR[month];\n } else {\n return value >= 1 && value <= DAYS_IN_MONTH[month];\n }\n }\n set(date, _flags, value) {\n date.setDate(value);\n date.setHours(0, 0, 0, 0);\n return date;\n }\n incompatibleTokens = [\n \"Y\",\n \"R\",\n \"q\",\n \"Q\",\n \"w\",\n \"I\",\n \"D\",\n \"i\",\n \"e\",\n \"c\",\n \"t\",\n \"T\"\n ];\n}\n\n// lib/parse/_lib/parsers/DayOfYearParser.mjs\nclass DayOfYearParser extends Parser {\n priority = 90;\n subpriority = 1;\n parse(dateString, token, match3) {\n switch (token) {\n case \"D\":\n case \"DD\":\n return parseNumericPattern(numericPatterns.dayOfYear, dateString);\n case \"Do\":\n return match3.ordinalNumber(dateString, { unit: \"date\" });\n default:\n return parseNDigits(token.length, dateString);\n }\n }\n validate(date, value) {\n const year = date.getFullYear();\n const isLeapYear3 = isLeapYearIndex(year);\n if (isLeapYear3) {\n return value >= 1 && value <= 366;\n } else {\n return value >= 1 && value <= 365;\n }\n }\n set(date, _flags, value) {\n date.setMonth(0, value);\n date.setHours(0, 0, 0, 0);\n return date;\n }\n incompatibleTokens = [\n \"Y\",\n \"R\",\n \"q\",\n \"Q\",\n \"M\",\n \"L\",\n \"w\",\n \"I\",\n \"d\",\n \"E\",\n \"i\",\n \"e\",\n \"c\",\n \"t\",\n \"T\"\n ];\n}\n\n// lib/setDay.mjs\nfunction setDay(date, day, options) {\n const defaultOptions14 = getDefaultOptions();\n const weekStartsOn = options?.weekStartsOn ?? options?.locale?.options?.weekStartsOn ?? defaultOptions14.weekStartsOn ?? defaultOptions14.locale?.options?.weekStartsOn ?? 0;\n const _date = toDate(date);\n const currentDay = _date.getDay();\n const remainder = day % 7;\n const dayIndex = (remainder + 7) % 7;\n const delta = 7 - weekStartsOn;\n const diff = day < 0 || day > 6 ? day - (currentDay + delta) % 7 : (dayIndex + delta) % 7 - (currentDay + delta) % 7;\n return addDays(_date, diff);\n}\n\n// lib/parse/_lib/parsers/DayParser.mjs\nclass DayParser extends Parser {\n priority = 90;\n parse(dateString, token, match3) {\n switch (token) {\n case \"E\":\n case \"EE\":\n case \"EEE\":\n return match3.day(dateString, {\n width: \"abbreviated\",\n context: \"formatting\"\n }) || match3.day(dateString, { width: \"short\", context: \"formatting\" }) || match3.day(dateString, { width: \"narrow\", context: \"formatting\" });\n case \"EEEEE\":\n return match3.day(dateString, {\n width: \"narrow\",\n context: \"formatting\"\n });\n case \"EEEEEE\":\n return match3.day(dateString, { width: \"short\", context: \"formatting\" }) || match3.day(dateString, { width: \"narrow\", context: \"formatting\" });\n case \"EEEE\":\n default:\n return match3.day(dateString, { width: \"wide\", context: \"formatting\" }) || match3.day(dateString, {\n width: \"abbreviated\",\n context: \"formatting\"\n }) || match3.day(dateString, { width: \"short\", context: \"formatting\" }) || match3.day(dateString, { width: \"narrow\", context: \"formatting\" });\n }\n }\n validate(_date, value) {\n return value >= 0 && value <= 6;\n }\n set(date, _flags, value, options) {\n date = setDay(date, value, options);\n date.setHours(0, 0, 0, 0);\n return date;\n }\n incompatibleTokens = [\"D\", \"i\", \"e\", \"c\", \"t\", \"T\"];\n}\n\n// lib/parse/_lib/parsers/LocalDayParser.mjs\nclass LocalDayParser extends Parser {\n priority = 90;\n parse(dateString, token, match3, options) {\n const valueCallback = (value) => {\n const wholeWeekDays = Math.floor((value - 1) / 7) * 7;\n return (value + options.weekStartsOn + 6) % 7 + wholeWeekDays;\n };\n switch (token) {\n case \"e\":\n case \"ee\":\n return mapValue(parseNDigits(token.length, dateString), valueCallback);\n case \"eo\":\n return mapValue(match3.ordinalNumber(dateString, {\n unit: \"day\"\n }), valueCallback);\n case \"eee\":\n return match3.day(dateString, {\n width: \"abbreviated\",\n context: \"formatting\"\n }) || match3.day(dateString, { width: \"short\", context: \"formatting\" }) || match3.day(dateString, { width: \"narrow\", context: \"formatting\" });\n case \"eeeee\":\n return match3.day(dateString, {\n width: \"narrow\",\n context: \"formatting\"\n });\n case \"eeeeee\":\n return match3.day(dateString, { width: \"short\", context: \"formatting\" }) || match3.day(dateString, { width: \"narrow\", context: \"formatting\" });\n case \"eeee\":\n default:\n return match3.day(dateString, { width: \"wide\", context: \"formatting\" }) || match3.day(dateString, {\n width: \"abbreviated\",\n context: \"formatting\"\n }) || match3.day(dateString, { width: \"short\", context: \"formatting\" }) || match3.day(dateString, { width: \"narrow\", context: \"formatting\" });\n }\n }\n validate(_date, value) {\n return value >= 0 && value <= 6;\n }\n set(date, _flags, value, options) {\n date = setDay(date, value, options);\n date.setHours(0, 0, 0, 0);\n return date;\n }\n incompatibleTokens = [\n \"y\",\n \"R\",\n \"u\",\n \"q\",\n \"Q\",\n \"M\",\n \"L\",\n \"I\",\n \"d\",\n \"D\",\n \"E\",\n \"i\",\n \"c\",\n \"t\",\n \"T\"\n ];\n}\n\n// lib/parse/_lib/parsers/StandAloneLocalDayParser.mjs\nclass StandAloneLocalDayParser extends Parser {\n priority = 90;\n parse(dateString, token, match3, options) {\n const valueCallback = (value) => {\n const wholeWeekDays = Math.floor((value - 1) / 7) * 7;\n return (value + options.weekStartsOn + 6) % 7 + wholeWeekDays;\n };\n switch (token) {\n case \"c\":\n case \"cc\":\n return mapValue(parseNDigits(token.length, dateString), valueCallback);\n case \"co\":\n return mapValue(match3.ordinalNumber(dateString, {\n unit: \"day\"\n }), valueCallback);\n case \"ccc\":\n return match3.day(dateString, {\n width: \"abbreviated\",\n context: \"standalone\"\n }) || match3.day(dateString, { width: \"short\", context: \"standalone\" }) || match3.day(dateString, { width: \"narrow\", context: \"standalone\" });\n case \"ccccc\":\n return match3.day(dateString, {\n width: \"narrow\",\n context: \"standalone\"\n });\n case \"cccccc\":\n return match3.day(dateString, { width: \"short\", context: \"standalone\" }) || match3.day(dateString, { width: \"narrow\", context: \"standalone\" });\n case \"cccc\":\n default:\n return match3.day(dateString, { width: \"wide\", context: \"standalone\" }) || match3.day(dateString, {\n width: \"abbreviated\",\n context: \"standalone\"\n }) || match3.day(dateString, { width: \"short\", context: \"standalone\" }) || match3.day(dateString, { width: \"narrow\", context: \"standalone\" });\n }\n }\n validate(_date, value) {\n return value >= 0 && value <= 6;\n }\n set(date, _flags, value, options) {\n date = setDay(date, value, options);\n date.setHours(0, 0, 0, 0);\n return date;\n }\n incompatibleTokens = [\n \"y\",\n \"R\",\n \"u\",\n \"q\",\n \"Q\",\n \"M\",\n \"L\",\n \"I\",\n \"d\",\n \"D\",\n \"E\",\n \"i\",\n \"e\",\n \"t\",\n \"T\"\n ];\n}\n\n// lib/setISODay.mjs\nfunction setISODay(date, day) {\n const _date = toDate(date);\n const currentDay = getISODay(_date);\n const diff = day - currentDay;\n return addDays(_date, diff);\n}\n\n// lib/parse/_lib/parsers/ISODayParser.mjs\nclass ISODayParser extends Parser {\n priority = 90;\n parse(dateString, token, match3) {\n const valueCallback = (value) => {\n if (value === 0) {\n return 7;\n }\n return value;\n };\n switch (token) {\n case \"i\":\n case \"ii\":\n return parseNDigits(token.length, dateString);\n case \"io\":\n return match3.ordinalNumber(dateString, { unit: \"day\" });\n case \"iii\":\n return mapValue(match3.day(dateString, {\n width: \"abbreviated\",\n context: \"formatting\"\n }) || match3.day(dateString, {\n width: \"short\",\n context: \"formatting\"\n }) || match3.day(dateString, {\n width: \"narrow\",\n context: \"formatting\"\n }), valueCallback);\n case \"iiiii\":\n return mapValue(match3.day(dateString, {\n width: \"narrow\",\n context: \"formatting\"\n }), valueCallback);\n case \"iiiiii\":\n return mapValue(match3.day(dateString, {\n width: \"short\",\n context: \"formatting\"\n }) || match3.day(dateString, {\n width: \"narrow\",\n context: \"formatting\"\n }), valueCallback);\n case \"iiii\":\n default:\n return mapValue(match3.day(dateString, {\n width: \"wide\",\n context: \"formatting\"\n }) || match3.day(dateString, {\n width: \"abbreviated\",\n context: \"formatting\"\n }) || match3.day(dateString, {\n width: \"short\",\n context: \"formatting\"\n }) || match3.day(dateString, {\n width: \"narrow\",\n context: \"formatting\"\n }), valueCallback);\n }\n }\n validate(_date, value) {\n return value >= 1 && value <= 7;\n }\n set(date, _flags, value) {\n date = setISODay(date, value);\n date.setHours(0, 0, 0, 0);\n return date;\n }\n incompatibleTokens = [\n \"y\",\n \"Y\",\n \"u\",\n \"q\",\n \"Q\",\n \"M\",\n \"L\",\n \"w\",\n \"d\",\n \"D\",\n \"E\",\n \"e\",\n \"c\",\n \"t\",\n \"T\"\n ];\n}\n\n// lib/parse/_lib/parsers/AMPMParser.mjs\nclass AMPMParser extends Parser {\n priority = 80;\n parse(dateString, token, match3) {\n switch (token) {\n case \"a\":\n case \"aa\":\n case \"aaa\":\n return match3.dayPeriod(dateString, {\n width: \"abbreviated\",\n context: \"formatting\"\n }) || match3.dayPeriod(dateString, {\n width: \"narrow\",\n context: \"formatting\"\n });\n case \"aaaaa\":\n return match3.dayPeriod(dateString, {\n width: \"narrow\",\n context: \"formatting\"\n });\n case \"aaaa\":\n default:\n return match3.dayPeriod(dateString, {\n width: \"wide\",\n context: \"formatting\"\n }) || match3.dayPeriod(dateString, {\n width: \"abbreviated\",\n context: \"formatting\"\n }) || match3.dayPeriod(dateString, {\n width: \"narrow\",\n context: \"formatting\"\n });\n }\n }\n set(date, _flags, value) {\n date.setHours(dayPeriodEnumToHours(value), 0, 0, 0);\n return date;\n }\n incompatibleTokens = [\"b\", \"B\", \"H\", \"k\", \"t\", \"T\"];\n}\n\n// lib/parse/_lib/parsers/AMPMMidnightParser.mjs\nclass AMPMMidnightParser extends Parser {\n priority = 80;\n parse(dateString, token, match3) {\n switch (token) {\n case \"b\":\n case \"bb\":\n case \"bbb\":\n return match3.dayPeriod(dateString, {\n width: \"abbreviated\",\n context: \"formatting\"\n }) || match3.dayPeriod(dateString, {\n width: \"narrow\",\n context: \"formatting\"\n });\n case \"bbbbb\":\n return match3.dayPeriod(dateString, {\n width: \"narrow\",\n context: \"formatting\"\n });\n case \"bbbb\":\n default:\n return match3.dayPeriod(dateString, {\n width: \"wide\",\n context: \"formatting\"\n }) || match3.dayPeriod(dateString, {\n width: \"abbreviated\",\n context: \"formatting\"\n }) || match3.dayPeriod(dateString, {\n width: \"narrow\",\n context: \"formatting\"\n });\n }\n }\n set(date, _flags, value) {\n date.setHours(dayPeriodEnumToHours(value), 0, 0, 0);\n return date;\n }\n incompatibleTokens = [\"a\", \"B\", \"H\", \"k\", \"t\", \"T\"];\n}\n\n// lib/parse/_lib/parsers/DayPeriodParser.mjs\nclass DayPeriodParser extends Parser {\n priority = 80;\n parse(dateString, token, match3) {\n switch (token) {\n case \"B\":\n case \"BB\":\n case \"BBB\":\n return match3.dayPeriod(dateString, {\n width: \"abbreviated\",\n context: \"formatting\"\n }) || match3.dayPeriod(dateString, {\n width: \"narrow\",\n context: \"formatting\"\n });\n case \"BBBBB\":\n return match3.dayPeriod(dateString, {\n width: \"narrow\",\n context: \"formatting\"\n });\n case \"BBBB\":\n default:\n return match3.dayPeriod(dateString, {\n width: \"wide\",\n context: \"formatting\"\n }) || match3.dayPeriod(dateString, {\n width: \"abbreviated\",\n context: \"formatting\"\n }) || match3.dayPeriod(dateString, {\n width: \"narrow\",\n context: \"formatting\"\n });\n }\n }\n set(date, _flags, value) {\n date.setHours(dayPeriodEnumToHours(value), 0, 0, 0);\n return date;\n }\n incompatibleTokens = [\"a\", \"b\", \"t\", \"T\"];\n}\n\n// lib/parse/_lib/parsers/Hour1to12Parser.mjs\nclass Hour1to12Parser extends Parser {\n priority = 70;\n parse(dateString, token, match3) {\n switch (token) {\n case \"h\":\n return parseNumericPattern(numericPatterns.hour12h, dateString);\n case \"ho\":\n return match3.ordinalNumber(dateString, { unit: \"hour\" });\n default:\n return parseNDigits(token.length, dateString);\n }\n }\n validate(_date, value) {\n return value >= 1 && value <= 12;\n }\n set(date, _flags, value) {\n const isPM = date.getHours() >= 12;\n if (isPM && value < 12) {\n date.setHours(value + 12, 0, 0, 0);\n } else if (!isPM && value === 12) {\n date.setHours(0, 0, 0, 0);\n } else {\n date.setHours(value, 0, 0, 0);\n }\n return date;\n }\n incompatibleTokens = [\"H\", \"K\", \"k\", \"t\", \"T\"];\n}\n\n// lib/parse/_lib/parsers/Hour0to23Parser.mjs\nclass Hour0to23Parser extends Parser {\n priority = 70;\n parse(dateString, token, match3) {\n switch (token) {\n case \"H\":\n return parseNumericPattern(numericPatterns.hour23h, dateString);\n case \"Ho\":\n return match3.ordinalNumber(dateString, { unit: \"hour\" });\n default:\n return parseNDigits(token.length, dateString);\n }\n }\n validate(_date, value) {\n return value >= 0 && value <= 23;\n }\n set(date, _flags, value) {\n date.setHours(value, 0, 0, 0);\n return date;\n }\n incompatibleTokens = [\"a\", \"b\", \"h\", \"K\", \"k\", \"t\", \"T\"];\n}\n\n// lib/parse/_lib/parsers/Hour0To11Parser.mjs\nclass Hour0To11Parser extends Parser {\n priority = 70;\n parse(dateString, token, match3) {\n switch (token) {\n case \"K\":\n return parseNumericPattern(numericPatterns.hour11h, dateString);\n case \"Ko\":\n return match3.ordinalNumber(dateString, { unit: \"hour\" });\n default:\n return parseNDigits(token.length, dateString);\n }\n }\n validate(_date, value) {\n return value >= 0 && value <= 11;\n }\n set(date, _flags, value) {\n const isPM = date.getHours() >= 12;\n if (isPM && value < 12) {\n date.setHours(value + 12, 0, 0, 0);\n } else {\n date.setHours(value, 0, 0, 0);\n }\n return date;\n }\n incompatibleTokens = [\"h\", \"H\", \"k\", \"t\", \"T\"];\n}\n\n// lib/parse/_lib/parsers/Hour1To24Parser.mjs\nclass Hour1To24Parser extends Parser {\n priority = 70;\n parse(dateString, token, match3) {\n switch (token) {\n case \"k\":\n return parseNumericPattern(numericPatterns.hour24h, dateString);\n case \"ko\":\n return match3.ordinalNumber(dateString, { unit: \"hour\" });\n default:\n return parseNDigits(token.length, dateString);\n }\n }\n validate(_date, value) {\n return value >= 1 && value <= 24;\n }\n set(date, _flags, value) {\n const hours = value <= 24 ? value % 24 : value;\n date.setHours(hours, 0, 0, 0);\n return date;\n }\n incompatibleTokens = [\"a\", \"b\", \"h\", \"H\", \"K\", \"t\", \"T\"];\n}\n\n// lib/parse/_lib/parsers/MinuteParser.mjs\nclass MinuteParser extends Parser {\n priority = 60;\n parse(dateString, token, match3) {\n switch (token) {\n case \"m\":\n return parseNumericPattern(numericPatterns.minute, dateString);\n case \"mo\":\n return match3.ordinalNumber(dateString, { unit: \"minute\" });\n default:\n return parseNDigits(token.length, dateString);\n }\n }\n validate(_date, value) {\n return value >= 0 && value <= 59;\n }\n set(date, _flags, value) {\n date.setMinutes(value, 0, 0);\n return date;\n }\n incompatibleTokens = [\"t\", \"T\"];\n}\n\n// lib/parse/_lib/parsers/SecondParser.mjs\nclass SecondParser extends Parser {\n priority = 50;\n parse(dateString, token, match3) {\n switch (token) {\n case \"s\":\n return parseNumericPattern(numericPatterns.second, dateString);\n case \"so\":\n return match3.ordinalNumber(dateString, { unit: \"second\" });\n default:\n return parseNDigits(token.length, dateString);\n }\n }\n validate(_date, value) {\n return value >= 0 && value <= 59;\n }\n set(date, _flags, value) {\n date.setSeconds(value, 0);\n return date;\n }\n incompatibleTokens = [\"t\", \"T\"];\n}\n\n// lib/parse/_lib/parsers/FractionOfSecondParser.mjs\nclass FractionOfSecondParser extends Parser {\n priority = 30;\n parse(dateString, token) {\n const valueCallback = (value) => Math.trunc(value * Math.pow(10, -token.length + 3));\n return mapValue(parseNDigits(token.length, dateString), valueCallback);\n }\n set(date, _flags, value) {\n date.setMilliseconds(value);\n return date;\n }\n incompatibleTokens = [\"t\", \"T\"];\n}\n\n// lib/parse/_lib/parsers/ISOTimezoneWithZParser.mjs\nclass ISOTimezoneWithZParser extends Parser {\n priority = 10;\n parse(dateString, token) {\n switch (token) {\n case \"X\":\n return parseTimezonePattern(timezonePatterns.basicOptionalMinutes, dateString);\n case \"XX\":\n return parseTimezonePattern(timezonePatterns.basic, dateString);\n case \"XXXX\":\n return parseTimezonePattern(timezonePatterns.basicOptionalSeconds, dateString);\n case \"XXXXX\":\n return parseTimezonePattern(timezonePatterns.extendedOptionalSeconds, dateString);\n case \"XXX\":\n default:\n return parseTimezonePattern(timezonePatterns.extended, dateString);\n }\n }\n set(date, flags, value) {\n if (flags.timestampIsSet)\n return date;\n return constructFrom(date, date.getTime() - getTimezoneOffsetInMilliseconds(date) - value);\n }\n incompatibleTokens = [\"t\", \"T\", \"x\"];\n}\n\n// lib/parse/_lib/parsers/ISOTimezoneParser.mjs\nclass ISOTimezoneParser extends Parser {\n priority = 10;\n parse(dateString, token) {\n switch (token) {\n case \"x\":\n return parseTimezonePattern(timezonePatterns.basicOptionalMinutes, dateString);\n case \"xx\":\n return parseTimezonePattern(timezonePatterns.basic, dateString);\n case \"xxxx\":\n return parseTimezonePattern(timezonePatterns.basicOptionalSeconds, dateString);\n case \"xxxxx\":\n return parseTimezonePattern(timezonePatterns.extendedOptionalSeconds, dateString);\n case \"xxx\":\n default:\n return parseTimezonePattern(timezonePatterns.extended, dateString);\n }\n }\n set(date, flags, value) {\n if (flags.timestampIsSet)\n return date;\n return constructFrom(date, date.getTime() - getTimezoneOffsetInMilliseconds(date) - value);\n }\n incompatibleTokens = [\"t\", \"T\", \"X\"];\n}\n\n// lib/parse/_lib/parsers/TimestampSecondsParser.mjs\nclass TimestampSecondsParser extends Parser {\n priority = 40;\n parse(dateString) {\n return parseAnyDigitsSigned(dateString);\n }\n set(date, _flags, value) {\n return [constructFrom(date, value * 1000), { timestampIsSet: true }];\n }\n incompatibleTokens = \"*\";\n}\n\n// lib/parse/_lib/parsers/TimestampMillisecondsParser.mjs\nclass TimestampMillisecondsParser extends Parser {\n priority = 20;\n parse(dateString) {\n return parseAnyDigitsSigned(dateString);\n }\n set(date, _flags, value) {\n return [constructFrom(date, value), { timestampIsSet: true }];\n }\n incompatibleTokens = \"*\";\n}\n\n// lib/parse/_lib/parsers.mjs\nvar parsers = {\n G: new EraParser,\n y: new YearParser,\n Y: new LocalWeekYearParser,\n R: new ISOWeekYearParser,\n u: new ExtendedYearParser,\n Q: new QuarterParser,\n q: new StandAloneQuarterParser,\n M: new MonthParser,\n L: new StandAloneMonthParser,\n w: new LocalWeekParser,\n I: new ISOWeekParser,\n d: new DateParser,\n D: new DayOfYearParser,\n E: new DayParser,\n e: new LocalDayParser,\n c: new StandAloneLocalDayParser,\n i: new ISODayParser,\n a: new AMPMParser,\n b: new AMPMMidnightParser,\n B: new DayPeriodParser,\n h: new Hour1to12Parser,\n H: new Hour0to23Parser,\n K: new Hour0To11Parser,\n k: new Hour1To24Parser,\n m: new MinuteParser,\n s: new SecondParser,\n S: new FractionOfSecondParser,\n X: new ISOTimezoneWithZParser,\n x: new ISOTimezoneParser,\n t: new TimestampSecondsParser,\n T: new TimestampMillisecondsParser\n};\n\n// lib/parse.mjs\nfunction parse(dateStr, formatStr, referenceDate, options) {\n const defaultOptions14 = getDefaultOptions2();\n const locale = options?.locale ?? defaultOptions14.locale ?? enUS;\n const firstWeekContainsDate = options?.firstWeekContainsDate ?? options?.locale?.options?.firstWeekContainsDate ?? defaultOptions14.firstWeekContainsDate ?? defaultOptions14.locale?.options?.firstWeekContainsDate ?? 1;\n const weekStartsOn = options?.weekStartsOn ?? options?.locale?.options?.weekStartsOn ?? defaultOptions14.weekStartsOn ?? defaultOptions14.locale?.options?.weekStartsOn ?? 0;\n if (formatStr === \"\") {\n if (dateStr === \"\") {\n return toDate(referenceDate);\n } else {\n return constructFrom(referenceDate, NaN);\n }\n }\n const subFnOptions = {\n firstWeekContainsDate,\n weekStartsOn,\n locale\n };\n const setters = [new DateToSystemTimezoneSetter];\n const tokens = formatStr.match(longFormattingTokensRegExp2).map((substring) => {\n const firstCharacter = substring[0];\n if (firstCharacter in longFormatters) {\n const longFormatter = longFormatters[firstCharacter];\n return longFormatter(substring, locale.formatLong);\n }\n return substring;\n }).join(\"\").match(formattingTokensRegExp2);\n const usedTokens = [];\n for (let token of tokens) {\n if (!options?.useAdditionalWeekYearTokens && isProtectedWeekYearToken(token)) {\n warnOrThrowProtectedError(token, formatStr, dateStr);\n }\n if (!options?.useAdditionalDayOfYearTokens && isProtectedDayOfYearToken(token)) {\n warnOrThrowProtectedError(token, formatStr, dateStr);\n }\n const firstCharacter = token[0];\n const parser = parsers[firstCharacter];\n if (parser) {\n const { incompatibleTokens } = parser;\n if (Array.isArray(incompatibleTokens)) {\n const incompatibleToken = usedTokens.find((usedToken) => incompatibleTokens.includes(usedToken.token) || usedToken.token === firstCharacter);\n if (incompatibleToken) {\n throw new RangeError(`The format string mustn't contain \\`${incompatibleToken.fullToken}\\` and \\`${token}\\` at the same time`);\n }\n } else if (parser.incompatibleTokens === \"*\" && usedTokens.length > 0) {\n throw new RangeError(`The format string mustn't contain \\`${token}\\` and any other token at the same time`);\n }\n usedTokens.push({ token: firstCharacter, fullToken: token });\n const parseResult = parser.run(dateStr, token, locale.match, subFnOptions);\n if (!parseResult) {\n return constructFrom(referenceDate, NaN);\n }\n setters.push(parseResult.setter);\n dateStr = parseResult.rest;\n } else {\n if (firstCharacter.match(unescapedLatinCharacterRegExp2)) {\n throw new RangeError(\"Format string contains an unescaped latin alphabet character `\" + firstCharacter + \"`\");\n }\n if (token === \"''\") {\n token = \"'\";\n } else if (firstCharacter === \"'\") {\n token = cleanEscapedString2(token);\n }\n if (dateStr.indexOf(token) === 0) {\n dateStr = dateStr.slice(token.length);\n } else {\n return constructFrom(referenceDate, NaN);\n }\n }\n }\n if (dateStr.length > 0 && notWhitespaceRegExp.test(dateStr)) {\n return constructFrom(referenceDate, NaN);\n }\n const uniquePrioritySetters = setters.map((setter) => setter.priority).sort((a, b) => b - a).filter((priority, index, array) => array.indexOf(priority) === index).map((priority) => setters.filter((setter) => setter.priority === priority).sort((a, b) => b.subPriority - a.subPriority)).map((setterArray) => setterArray[0]);\n let date = toDate(referenceDate);\n if (isNaN(date.getTime())) {\n return constructFrom(referenceDate, NaN);\n }\n const flags = {};\n for (const setter of uniquePrioritySetters) {\n if (!setter.validate(date, subFnOptions)) {\n return constructFrom(referenceDate, NaN);\n }\n const result = setter.set(date, flags, subFnOptions);\n if (Array.isArray(result)) {\n date = result[0];\n Object.assign(flags, result[1]);\n } else {\n date = result;\n }\n }\n return constructFrom(referenceDate, date);\n}\nvar cleanEscapedString2 = function(input) {\n return input.match(escapedStringRegExp2)[1].replace(doubleQuoteRegExp2, \"'\");\n};\nvar formattingTokensRegExp2 = /[yYQqMLwIdDecihHKkms]o|(\\w)\\1*|''|'(''|[^'])+('|$)|./g;\nvar longFormattingTokensRegExp2 = /P+p+|P+|p+|''|'(''|[^'])+('|$)|./g;\nvar escapedStringRegExp2 = /^'([^]*?)'?$/;\nvar doubleQuoteRegExp2 = /''/g;\nvar notWhitespaceRegExp = /\\S/;\nvar unescapedLatinCharacterRegExp2 = /[a-zA-Z]/;\n\n// lib/isMatch.mjs\nfunction isMatch(dateStr, formatStr, options) {\n return isValid(parse(dateStr, formatStr, new Date, options));\n}\n// lib/isMonday.mjs\nfunction isMonday(date) {\n return toDate(date).getDay() === 1;\n}\n// lib/isPast.mjs\nfunction isPast(date) {\n return +toDate(date) < Date.now();\n}\n// lib/startOfHour.mjs\nfunction startOfHour(date) {\n const _date = toDate(date);\n _date.setMinutes(0, 0, 0);\n return _date;\n}\n\n// lib/isSameHour.mjs\nfunction isSameHour(dateLeft, dateRight) {\n const dateLeftStartOfHour = startOfHour(dateLeft);\n const dateRightStartOfHour = startOfHour(dateRight);\n return +dateLeftStartOfHour === +dateRightStartOfHour;\n}\n// lib/isSameWeek.mjs\nfunction isSameWeek(dateLeft, dateRight, options) {\n const dateLeftStartOfWeek = startOfWeek(dateLeft, options);\n const dateRightStartOfWeek = startOfWeek(dateRight, options);\n return +dateLeftStartOfWeek === +dateRightStartOfWeek;\n}\n\n// lib/isSameISOWeek.mjs\nfunction isSameISOWeek(dateLeft, dateRight) {\n return isSameWeek(dateLeft, dateRight, { weekStartsOn: 1 });\n}\n// lib/isSameISOWeekYear.mjs\nfunction isSameISOWeekYear(dateLeft, dateRight) {\n const dateLeftStartOfYear = startOfISOWeekYear(dateLeft);\n const dateRightStartOfYear = startOfISOWeekYear(dateRight);\n return +dateLeftStartOfYear === +dateRightStartOfYear;\n}\n// lib/isSameMinute.mjs\nfunction isSameMinute(dateLeft, dateRight) {\n const dateLeftStartOfMinute = startOfMinute(dateLeft);\n const dateRightStartOfMinute = startOfMinute(dateRight);\n return +dateLeftStartOfMinute === +dateRightStartOfMinute;\n}\n// lib/isSameMonth.mjs\nfunction isSameMonth(dateLeft, dateRight) {\n const _dateLeft = toDate(dateLeft);\n const _dateRight = toDate(dateRight);\n return _dateLeft.getFullYear() === _dateRight.getFullYear() && _dateLeft.getMonth() === _dateRight.getMonth();\n}\n// lib/isSameQuarter.mjs\nfunction isSameQuarter(dateLeft, dateRight) {\n const dateLeftStartOfQuarter = startOfQuarter(dateLeft);\n const dateRightStartOfQuarter = startOfQuarter(dateRight);\n return +dateLeftStartOfQuarter === +dateRightStartOfQuarter;\n}\n// lib/startOfSecond.mjs\nfunction startOfSecond(date) {\n const _date = toDate(date);\n _date.setMilliseconds(0);\n return _date;\n}\n\n// lib/isSameSecond.mjs\nfunction isSameSecond(dateLeft, dateRight) {\n const dateLeftStartOfSecond = startOfSecond(dateLeft);\n const dateRightStartOfSecond = startOfSecond(dateRight);\n return +dateLeftStartOfSecond === +dateRightStartOfSecond;\n}\n// lib/isSameYear.mjs\nfunction isSameYear(dateLeft, dateRight) {\n const _dateLeft = toDate(dateLeft);\n const _dateRight = toDate(dateRight);\n return _dateLeft.getFullYear() === _dateRight.getFullYear();\n}\n// lib/isThisHour.mjs\nfunction isThisHour(date) {\n return isSameHour(date, constructNow(date));\n}\n// lib/isThisISOWeek.mjs\nfunction isThisISOWeek(date) {\n return isSameISOWeek(date, constructNow(date));\n}\n// lib/isThisMinute.mjs\nfunction isThisMinute(date) {\n return isSameMinute(date, constructNow(date));\n}\n// lib/isThisMonth.mjs\nfunction isThisMonth(date) {\n return isSameMonth(date, constructNow(date));\n}\n// lib/isThisQuarter.mjs\nfunction isThisQuarter(date) {\n return isSameQuarter(date, constructNow(date));\n}\n// lib/isThisSecond.mjs\nfunction isThisSecond(date) {\n return isSameSecond(date, constructNow(date));\n}\n// lib/isThisWeek.mjs\nfunction isThisWeek(date, options) {\n return isSameWeek(date, constructNow(date), options);\n}\n// lib/isThisYear.mjs\nfunction isThisYear(date) {\n return isSameYear(date, constructNow(date));\n}\n// lib/isThursday.mjs\nfunction isThursday(date) {\n return toDate(date).getDay() === 4;\n}\n// lib/isToday.mjs\nfunction isToday(date) {\n return isSameDay(date, constructNow(date));\n}\n// lib/isTomorrow.mjs\nfunction isTomorrow(date) {\n return isSameDay(date, addDays(constructNow(date), 1));\n}\n// lib/isTuesday.mjs\nfunction isTuesday(date) {\n return toDate(date).getDay() === 2;\n}\n// lib/isWednesday.mjs\nfunction isWednesday(date) {\n return toDate(date).getDay() === 3;\n}\n// lib/isWithinInterval.mjs\nfunction isWithinInterval(date, interval2) {\n const time = +toDate(date);\n const [startTime, endTime] = [\n +toDate(interval2.start),\n +toDate(interval2.end)\n ].sort((a, b) => a - b);\n return time >= startTime && time <= endTime;\n}\n// lib/subDays.mjs\nfunction subDays(date, amount) {\n return addDays(date, -amount);\n}\n\n// lib/isYesterday.mjs\nfunction isYesterday(date) {\n return isSameDay(date, subDays(constructNow(date), 1));\n}\n// lib/lastDayOfDecade.mjs\nfunction lastDayOfDecade(date) {\n const _date = toDate(date);\n const year = _date.getFullYear();\n const decade = 9 + Math.floor(year / 10) * 10;\n _date.setFullYear(decade + 1, 0, 0);\n _date.setHours(0, 0, 0, 0);\n return _date;\n}\n// lib/lastDayOfWeek.mjs\nfunction lastDayOfWeek(date, options) {\n const defaultOptions15 = getDefaultOptions();\n const weekStartsOn = options?.weekStartsOn ?? options?.locale?.options?.weekStartsOn ?? defaultOptions15.weekStartsOn ?? defaultOptions15.locale?.options?.weekStartsOn ?? 0;\n const _date = toDate(date);\n const day = _date.getDay();\n const diff = (day < weekStartsOn ? -7 : 0) + 6 - (day - weekStartsOn);\n _date.setHours(0, 0, 0, 0);\n _date.setDate(_date.getDate() + diff);\n return _date;\n}\n\n// lib/lastDayOfISOWeek.mjs\nfunction lastDayOfISOWeek(date) {\n return lastDayOfWeek(date, { weekStartsOn: 1 });\n}\n// lib/lastDayOfISOWeekYear.mjs\nfunction lastDayOfISOWeekYear(date) {\n const year = getISOWeekYear(date);\n const fourthOfJanuary = constructFrom(date, 0);\n fourthOfJanuary.setFullYear(year + 1, 0, 4);\n fourthOfJanuary.setHours(0, 0, 0, 0);\n const _date = startOfISOWeek(fourthOfJanuary);\n _date.setDate(_date.getDate() - 1);\n return _date;\n}\n// lib/lastDayOfQuarter.mjs\nfunction lastDayOfQuarter(date) {\n const _date = toDate(date);\n const currentMonth = _date.getMonth();\n const month = currentMonth - currentMonth % 3 + 3;\n _date.setMonth(month, 0);\n _date.setHours(0, 0, 0, 0);\n return _date;\n}\n// lib/lastDayOfYear.mjs\nfunction lastDayOfYear(date) {\n const _date = toDate(date);\n const year = _date.getFullYear();\n _date.setFullYear(year + 1, 0, 0);\n _date.setHours(0, 0, 0, 0);\n return _date;\n}\n// lib/lightFormat.mjs\nfunction lightFormat(date, formatStr) {\n const _date = toDate(date);\n if (!isValid(_date)) {\n throw new RangeError(\"Invalid time value\");\n }\n const tokens = formatStr.match(formattingTokensRegExp3);\n if (!tokens)\n return \"\";\n const result = tokens.map((substring) => {\n if (substring === \"''\") {\n return \"'\";\n }\n const firstCharacter = substring[0];\n if (firstCharacter === \"'\") {\n return cleanEscapedString3(substring);\n }\n const formatter = lightFormatters[firstCharacter];\n if (formatter) {\n return formatter(_date, substring);\n }\n if (firstCharacter.match(unescapedLatinCharacterRegExp3)) {\n throw new RangeError(\"Format string contains an unescaped latin alphabet character `\" + firstCharacter + \"`\");\n }\n return substring;\n }).join(\"\");\n return result;\n}\nvar cleanEscapedString3 = function(input) {\n const matches = input.match(escapedStringRegExp3);\n if (!matches) {\n return input;\n }\n return matches[1].replace(doubleQuoteRegExp3, \"'\");\n};\nvar formattingTokensRegExp3 = /(\\w)\\1*|''|'(''|[^'])+('|$)|./g;\nvar escapedStringRegExp3 = /^'([^]*?)'?$/;\nvar doubleQuoteRegExp3 = /''/g;\nvar unescapedLatinCharacterRegExp3 = /[a-zA-Z]/;\n// lib/milliseconds.mjs\nfunction milliseconds({\n years,\n months: months2,\n weeks,\n days: days2,\n hours,\n minutes,\n seconds\n}) {\n let totalDays = 0;\n if (years)\n totalDays += years * daysInYear;\n if (months2)\n totalDays += months2 * (daysInYear / 12);\n if (weeks)\n totalDays += weeks * 7;\n if (days2)\n totalDays += days2;\n let totalSeconds = totalDays * 24 * 60 * 60;\n if (hours)\n totalSeconds += hours * 60 * 60;\n if (minutes)\n totalSeconds += minutes * 60;\n if (seconds)\n totalSeconds += seconds;\n return Math.trunc(totalSeconds * 1000);\n}\n// lib/millisecondsToHours.mjs\nfunction millisecondsToHours(milliseconds2) {\n const hours = milliseconds2 / millisecondsInHour;\n return Math.trunc(hours);\n}\n// lib/millisecondsToMinutes.mjs\nfunction millisecondsToMinutes(milliseconds2) {\n const minutes = milliseconds2 / millisecondsInMinute;\n return Math.trunc(minutes);\n}\n// lib/millisecondsToSeconds.mjs\nfunction millisecondsToSeconds(milliseconds2) {\n const seconds = milliseconds2 / millisecondsInSecond;\n return Math.trunc(seconds);\n}\n// lib/minutesToHours.mjs\nfunction minutesToHours(minutes) {\n const hours = minutes / minutesInHour;\n return Math.trunc(hours);\n}\n// lib/minutesToMilliseconds.mjs\nfunction minutesToMilliseconds(minutes) {\n return Math.trunc(minutes * millisecondsInMinute);\n}\n// lib/minutesToSeconds.mjs\nfunction minutesToSeconds(minutes) {\n return Math.trunc(minutes * secondsInMinute);\n}\n// lib/monthsToQuarters.mjs\nfunction monthsToQuarters(months2) {\n const quarters = months2 / monthsInQuarter;\n return Math.trunc(quarters);\n}\n// lib/monthsToYears.mjs\nfunction monthsToYears(months2) {\n const years = months2 / monthsInYear;\n return Math.trunc(years);\n}\n// lib/nextDay.mjs\nfunction nextDay(date, day) {\n let delta = day - getDay(date);\n if (delta <= 0)\n delta += 7;\n return addDays(date, delta);\n}\n// lib/nextFriday.mjs\nfunction nextFriday(date) {\n return nextDay(date, 5);\n}\n// lib/nextMonday.mjs\nfunction nextMonday(date) {\n return nextDay(date, 1);\n}\n// lib/nextSaturday.mjs\nfunction nextSaturday(date) {\n return nextDay(date, 6);\n}\n// lib/nextSunday.mjs\nfunction nextSunday(date) {\n return nextDay(date, 0);\n}\n// lib/nextThursday.mjs\nfunction nextThursday(date) {\n return nextDay(date, 4);\n}\n// lib/nextTuesday.mjs\nfunction nextTuesday(date) {\n return nextDay(date, 2);\n}\n// lib/nextWednesday.mjs\nfunction nextWednesday(date) {\n return nextDay(date, 3);\n}\n// lib/parseISO.mjs\nfunction parseISO(argument, options) {\n const additionalDigits = options?.additionalDigits ?? 2;\n const dateStrings = splitDateString(argument);\n let date;\n if (dateStrings.date) {\n const parseYearResult = parseYear(dateStrings.date, additionalDigits);\n date = parseDate(parseYearResult.restDateString, parseYearResult.year);\n }\n if (!date || isNaN(date.getTime())) {\n return new Date(NaN);\n }\n const timestamp = date.getTime();\n let time = 0;\n let offset;\n if (dateStrings.time) {\n time = parseTime(dateStrings.time);\n if (isNaN(time)) {\n return new Date(NaN);\n }\n }\n if (dateStrings.timezone) {\n offset = parseTimezone(dateStrings.timezone);\n if (isNaN(offset)) {\n return new Date(NaN);\n }\n } else {\n const dirtyDate = new Date(timestamp + time);\n const result = new Date(0);\n result.setFullYear(dirtyDate.getUTCFullYear(), dirtyDate.getUTCMonth(), dirtyDate.getUTCDate());\n result.setHours(dirtyDate.getUTCHours(), dirtyDate.getUTCMinutes(), dirtyDate.getUTCSeconds(), dirtyDate.getUTCMilliseconds());\n return result;\n }\n return new Date(timestamp + time + offset);\n}\nvar splitDateString = function(dateString) {\n const dateStrings = {};\n const array = dateString.split(patterns.dateTimeDelimiter);\n let timeString;\n if (array.length > 2) {\n return dateStrings;\n }\n if (/:/.test(array[0])) {\n timeString = array[0];\n } else {\n dateStrings.date = array[0];\n timeString = array[1];\n if (patterns.timeZoneDelimiter.test(dateStrings.date)) {\n dateStrings.date = dateString.split(patterns.timeZoneDelimiter)[0];\n timeString = dateString.substr(dateStrings.date.length, dateString.length);\n }\n }\n if (timeString) {\n const token = patterns.timezone.exec(timeString);\n if (token) {\n dateStrings.time = timeString.replace(token[1], \"\");\n dateStrings.timezone = token[1];\n } else {\n dateStrings.time = timeString;\n }\n }\n return dateStrings;\n};\nvar parseYear = function(dateString, additionalDigits) {\n const regex = new RegExp(\"^(?:(\\\\d{4}|[+-]\\\\d{\" + (4 + additionalDigits) + \"})|(\\\\d{2}|[+-]\\\\d{\" + (2 + additionalDigits) + \"})$)\");\n const captures = dateString.match(regex);\n if (!captures)\n return { year: NaN, restDateString: \"\" };\n const year = captures[1] ? parseInt(captures[1]) : null;\n const century = captures[2] ? parseInt(captures[2]) : null;\n return {\n year: century === null ? year : century * 100,\n restDateString: dateString.slice((captures[1] || captures[2]).length)\n };\n};\nvar parseDate = function(dateString, year) {\n if (year === null)\n return new Date(NaN);\n const captures = dateString.match(dateRegex);\n if (!captures)\n return new Date(NaN);\n const isWeekDate = !!captures[4];\n const dayOfYear = parseDateUnit(captures[1]);\n const month = parseDateUnit(captures[2]) - 1;\n const day = parseDateUnit(captures[3]);\n const week = parseDateUnit(captures[4]);\n const dayOfWeek = parseDateUnit(captures[5]) - 1;\n if (isWeekDate) {\n if (!validateWeekDate(year, week, dayOfWeek)) {\n return new Date(NaN);\n }\n return dayOfISOWeekYear(year, week, dayOfWeek);\n } else {\n const date = new Date(0);\n if (!validateDate(year, month, day) || !validateDayOfYearDate(year, dayOfYear)) {\n return new Date(NaN);\n }\n date.setUTCFullYear(year, month, Math.max(dayOfYear, day));\n return date;\n }\n};\nvar parseDateUnit = function(value) {\n return value ? parseInt(value) : 1;\n};\nvar parseTime = function(timeString) {\n const captures = timeString.match(timeRegex);\n if (!captures)\n return NaN;\n const hours = parseTimeUnit(captures[1]);\n const minutes = parseTimeUnit(captures[2]);\n const seconds = parseTimeUnit(captures[3]);\n if (!validateTime(hours, minutes, seconds)) {\n return NaN;\n }\n return hours * millisecondsInHour + minutes * millisecondsInMinute + seconds * 1000;\n};\nvar parseTimeUnit = function(value) {\n return value && parseFloat(value.replace(\",\", \".\")) || 0;\n};\nvar parseTimezone = function(timezoneString) {\n if (timezoneString === \"Z\")\n return 0;\n const captures = timezoneString.match(timezoneRegex);\n if (!captures)\n return 0;\n const sign = captures[1] === \"+\" ? -1 : 1;\n const hours = parseInt(captures[2]);\n const minutes = captures[3] && parseInt(captures[3]) || 0;\n if (!validateTimezone(hours, minutes)) {\n return NaN;\n }\n return sign * (hours * millisecondsInHour + minutes * millisecondsInMinute);\n};\nvar dayOfISOWeekYear = function(isoWeekYear, week, day) {\n const date = new Date(0);\n date.setUTCFullYear(isoWeekYear, 0, 4);\n const fourthOfJanuaryDay = date.getUTCDay() || 7;\n const diff = (week - 1) * 7 + day + 1 - fourthOfJanuaryDay;\n date.setUTCDate(date.getUTCDate() + diff);\n return date;\n};\nvar isLeapYearIndex2 = function(year) {\n return year % 400 === 0 || year % 4 === 0 && year % 100 !== 0;\n};\nvar validateDate = function(year, month, date) {\n return month >= 0 && month <= 11 && date >= 1 && date <= (daysInMonths[month] || (isLeapYearIndex2(year) ? 29 : 28));\n};\nvar validateDayOfYearDate = function(year, dayOfYear) {\n return dayOfYear >= 1 && dayOfYear <= (isLeapYearIndex2(year) ? 366 : 365);\n};\nvar validateWeekDate = function(_year, week, day) {\n return week >= 1 && week <= 53 && day >= 0 && day <= 6;\n};\nvar validateTime = function(hours, minutes, seconds) {\n if (hours === 24) {\n return minutes === 0 && seconds === 0;\n }\n return seconds >= 0 && seconds < 60 && minutes >= 0 && minutes < 60 && hours >= 0 && hours < 25;\n};\nvar validateTimezone = function(_hours, minutes) {\n return minutes >= 0 && minutes <= 59;\n};\nvar patterns = {\n dateTimeDelimiter: /[T ]/,\n timeZoneDelimiter: /[Z ]/i,\n timezone: /([Z+-].*)$/\n};\nvar dateRegex = /^-?(?:(\\d{3})|(\\d{2})(?:-?(\\d{2}))?|W(\\d{2})(?:-?(\\d{1}))?|)$/;\nvar timeRegex = /^(\\d{2}(?:[.,]\\d*)?)(?::?(\\d{2}(?:[.,]\\d*)?))?(?::?(\\d{2}(?:[.,]\\d*)?))?$/;\nvar timezoneRegex = /^([+-])(\\d{2})(?::?(\\d{2}))?$/;\nvar daysInMonths = [31, null, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31];\n// lib/parseJSON.mjs\nfunction parseJSON(dateStr) {\n const parts = dateStr.match(/(\\d{4})-(\\d{2})-(\\d{2})[T ](\\d{2}):(\\d{2}):(\\d{2})(?:\\.(\\d{0,7}))?(?:Z|(.)(\\d{2}):?(\\d{2})?)?/);\n if (parts) {\n return new Date(Date.UTC(+parts[1], +parts[2] - 1, +parts[3], +parts[4] - (+parts[9] || 0) * (parts[8] == \"-\" ? -1 : 1), +parts[5] - (+parts[10] || 0) * (parts[8] == \"-\" ? -1 : 1), +parts[6], +((parts[7] || \"0\") + \"00\").substring(0, 3)));\n }\n return new Date(NaN);\n}\n// lib/previousDay.mjs\nfunction previousDay(date, day) {\n let delta = getDay(date) - day;\n if (delta <= 0)\n delta += 7;\n return subDays(date, delta);\n}\n// lib/previousFriday.mjs\nfunction previousFriday(date) {\n return previousDay(date, 5);\n}\n// lib/previousMonday.mjs\nfunction previousMonday(date) {\n return previousDay(date, 1);\n}\n// lib/previousSaturday.mjs\nfunction previousSaturday(date) {\n return previousDay(date, 6);\n}\n// lib/previousSunday.mjs\nfunction previousSunday(date) {\n return previousDay(date, 0);\n}\n// lib/previousThursday.mjs\nfunction previousThursday(date) {\n return previousDay(date, 4);\n}\n// lib/previousTuesday.mjs\nfunction previousTuesday(date) {\n return previousDay(date, 2);\n}\n// lib/previousWednesday.mjs\nfunction previousWednesday(date) {\n return previousDay(date, 3);\n}\n// lib/quartersToMonths.mjs\nfunction quartersToMonths(quarters) {\n return Math.trunc(quarters * monthsInQuarter);\n}\n// lib/quartersToYears.mjs\nfunction quartersToYears(quarters) {\n const years = quarters / quartersInYear;\n return Math.trunc(years);\n}\n// lib/roundToNearestHours.mjs\nfunction roundToNearestHours(date, options) {\n const nearestTo = options?.nearestTo ?? 1;\n if (nearestTo < 1 || nearestTo > 12)\n return constructFrom(date, NaN);\n const _date = toDate(date);\n const fractionalMinutes = _date.getMinutes() / 60;\n const fractionalSeconds = _date.getSeconds() / 60 / 60;\n const fractionalMilliseconds = _date.getMilliseconds() / 1000 / 60 / 60;\n const hours = _date.getHours() + fractionalMinutes + fractionalSeconds + fractionalMilliseconds;\n const method = options?.roundingMethod ?? \"round\";\n const roundingMethod = getRoundingMethod(method);\n const roundedHours = roundingMethod(hours / nearestTo) * nearestTo;\n const result = constructFrom(date, _date);\n result.setHours(roundedHours, 0, 0, 0);\n return result;\n}\n// lib/roundToNearestMinutes.mjs\nfunction roundToNearestMinutes(date, options) {\n const nearestTo = options?.nearestTo ?? 1;\n if (nearestTo < 1 || nearestTo > 30)\n return constructFrom(date, NaN);\n const _date = toDate(date);\n const fractionalSeconds = _date.getSeconds() / 60;\n const fractionalMilliseconds = _date.getMilliseconds() / 1000 / 60;\n const minutes = _date.getMinutes() + fractionalSeconds + fractionalMilliseconds;\n const method = options?.roundingMethod ?? \"round\";\n const roundingMethod = getRoundingMethod(method);\n const roundedMinutes = roundingMethod(minutes / nearestTo) * nearestTo;\n const result = constructFrom(date, _date);\n result.setMinutes(roundedMinutes, 0, 0);\n return result;\n}\n// lib/secondsToHours.mjs\nfunction secondsToHours(seconds) {\n const hours = seconds / secondsInHour;\n return Math.trunc(hours);\n}\n// lib/secondsToMilliseconds.mjs\nfunction secondsToMilliseconds(seconds) {\n return seconds * millisecondsInSecond;\n}\n// lib/secondsToMinutes.mjs\nfunction secondsToMinutes(seconds) {\n const minutes = seconds / secondsInMinute;\n return Math.trunc(minutes);\n}\n// lib/setMonth.mjs\nfunction setMonth(date, month) {\n const _date = toDate(date);\n const year = _date.getFullYear();\n const day = _date.getDate();\n const dateWithDesiredMonth = constructFrom(date, 0);\n dateWithDesiredMonth.setFullYear(year, month, 15);\n dateWithDesiredMonth.setHours(0, 0, 0, 0);\n const daysInMonth = getDaysInMonth(dateWithDesiredMonth);\n _date.setMonth(month, Math.min(day, daysInMonth));\n return _date;\n}\n\n// lib/set.mjs\nfunction set(date, values) {\n let _date = toDate(date);\n if (isNaN(+_date)) {\n return constructFrom(date, NaN);\n }\n if (values.year != null) {\n _date.setFullYear(values.year);\n }\n if (values.month != null) {\n _date = setMonth(_date, values.month);\n }\n if (values.date != null) {\n _date.setDate(values.date);\n }\n if (values.hours != null) {\n _date.setHours(values.hours);\n }\n if (values.minutes != null) {\n _date.setMinutes(values.minutes);\n }\n if (values.seconds != null) {\n _date.setSeconds(values.seconds);\n }\n if (values.milliseconds != null) {\n _date.setMilliseconds(values.milliseconds);\n }\n return _date;\n}\n// lib/setDate.mjs\nfunction setDate(date, dayOfMonth) {\n const _date = toDate(date);\n _date.setDate(dayOfMonth);\n return _date;\n}\n// lib/setDayOfYear.mjs\nfunction setDayOfYear(date, dayOfYear) {\n const _date = toDate(date);\n _date.setMonth(0);\n _date.setDate(dayOfYear);\n return _date;\n}\n// lib/setDefaultOptions.mjs\nfunction setDefaultOptions2(options) {\n const result = {};\n const defaultOptions16 = getDefaultOptions();\n for (const property in defaultOptions16) {\n if (Object.prototype.hasOwnProperty.call(defaultOptions16, property)) {\n result[property] = defaultOptions16[property];\n }\n }\n for (const property in options) {\n if (Object.prototype.hasOwnProperty.call(options, property)) {\n if (options[property] === undefined) {\n delete result[property];\n } else {\n result[property] = options[property];\n }\n }\n }\n setDefaultOptions(result);\n}\n// lib/setHours.mjs\nfunction setHours(date, hours) {\n const _date = toDate(date);\n _date.setHours(hours);\n return _date;\n}\n// lib/setMilliseconds.mjs\nfunction setMilliseconds(date, milliseconds2) {\n const _date = toDate(date);\n _date.setMilliseconds(milliseconds2);\n return _date;\n}\n// lib/setMinutes.mjs\nfunction setMinutes(date, minutes) {\n const _date = toDate(date);\n _date.setMinutes(minutes);\n return _date;\n}\n// lib/setQuarter.mjs\nfunction setQuarter(date, quarter) {\n const _date = toDate(date);\n const oldQuarter = Math.trunc(_date.getMonth() / 3) + 1;\n const diff = quarter - oldQuarter;\n return setMonth(_date, _date.getMonth() + diff * 3);\n}\n// lib/setSeconds.mjs\nfunction setSeconds(date, seconds) {\n const _date = toDate(date);\n _date.setSeconds(seconds);\n return _date;\n}\n// lib/setWeekYear.mjs\nfunction setWeekYear(date, weekYear, options) {\n const defaultOptions17 = getDefaultOptions();\n const firstWeekContainsDate = options?.firstWeekContainsDate ?? options?.locale?.options?.firstWeekContainsDate ?? defaultOptions17.firstWeekContainsDate ?? defaultOptions17.locale?.options?.firstWeekContainsDate ?? 1;\n let _date = toDate(date);\n const diff = differenceInCalendarDays(_date, startOfWeekYear(_date, options));\n const firstWeek = constructFrom(date, 0);\n firstWeek.setFullYear(weekYear, 0, firstWeekContainsDate);\n firstWeek.setHours(0, 0, 0, 0);\n _date = startOfWeekYear(firstWeek, options);\n _date.setDate(_date.getDate() + diff);\n return _date;\n}\n// lib/setYear.mjs\nfunction setYear(date, year) {\n const _date = toDate(date);\n if (isNaN(+_date)) {\n return constructFrom(date, NaN);\n }\n _date.setFullYear(year);\n return _date;\n}\n// lib/startOfDecade.mjs\nfunction startOfDecade(date) {\n const _date = toDate(date);\n const year = _date.getFullYear();\n const decade = Math.floor(year / 10) * 10;\n _date.setFullYear(decade, 0, 1);\n _date.setHours(0, 0, 0, 0);\n return _date;\n}\n// lib/startOfToday.mjs\nfunction startOfToday() {\n return startOfDay(Date.now());\n}\n// lib/startOfTomorrow.mjs\nfunction startOfTomorrow() {\n const now = new Date;\n const year = now.getFullYear();\n const month = now.getMonth();\n const day = now.getDate();\n const date = new Date(0);\n date.setFullYear(year, month, day + 1);\n date.setHours(0, 0, 0, 0);\n return date;\n}\n// lib/startOfYesterday.mjs\nfunction startOfYesterday() {\n const now = new Date;\n const year = now.getFullYear();\n const month = now.getMonth();\n const day = now.getDate();\n const date = new Date(0);\n date.setFullYear(year, month, day - 1);\n date.setHours(0, 0, 0, 0);\n return date;\n}\n// lib/subMonths.mjs\nfunction subMonths(date, amount) {\n return addMonths(date, -amount);\n}\n\n// lib/sub.mjs\nfunction sub(date, duration) {\n const {\n years = 0,\n months: months2 = 0,\n weeks = 0,\n days: days2 = 0,\n hours = 0,\n minutes = 0,\n seconds = 0\n } = duration;\n const dateWithoutMonths = subMonths(date, months2 + years * 12);\n const dateWithoutDays = subDays(dateWithoutMonths, days2 + weeks * 7);\n const minutestoSub = minutes + hours * 60;\n const secondstoSub = seconds + minutestoSub * 60;\n const mstoSub = secondstoSub * 1000;\n const finalDate = constructFrom(date, dateWithoutDays.getTime() - mstoSub);\n return finalDate;\n}\n// lib/subBusinessDays.mjs\nfunction subBusinessDays(date, amount) {\n return addBusinessDays(date, -amount);\n}\n// lib/subHours.mjs\nfunction subHours(date, amount) {\n return addHours(date, -amount);\n}\n// lib/subMilliseconds.mjs\nfunction subMilliseconds(date, amount) {\n return addMilliseconds(date, -amount);\n}\n// lib/subMinutes.mjs\nfunction subMinutes(date, amount) {\n return addMinutes(date, -amount);\n}\n// lib/subQuarters.mjs\nfunction subQuarters(date, amount) {\n return addQuarters(date, -amount);\n}\n// lib/subSeconds.mjs\nfunction subSeconds(date, amount) {\n return addSeconds(date, -amount);\n}\n// lib/subWeeks.mjs\nfunction subWeeks(date, amount) {\n return addWeeks(date, -amount);\n}\n// lib/subYears.mjs\nfunction subYears(date, amount) {\n return addYears(date, -amount);\n}\n// lib/weeksToDays.mjs\nfunction weeksToDays(weeks) {\n return Math.trunc(weeks * daysInWeek);\n}\n// lib/yearsToDays.mjs\nfunction yearsToDays(years) {\n return Math.trunc(years * daysInYear);\n}\n// lib/yearsToMonths.mjs\nfunction yearsToMonths(years) {\n return Math.trunc(years * monthsInYear);\n}\n// lib/yearsToQuarters.mjs\nfunction yearsToQuarters(years) {\n return Math.trunc(years * quartersInYear);\n}\n// lib/cdn.js\nwindow.dateFns = {\n ...window.dateFns,\n ...exports_lib\n};\n\n//# debugId=CCBC78CA46C31FB264756e2164756e21\n })();"],"mappings":"g7MAAA,CAAC,YAAM,CAAE,IAAIA,SAAS,GAAGC,MAAM,CAACC,cAAc;EAC9C,IAAIC,QAAQ,GAAG,SAAXA,QAAQA,CAAIC,MAAM,EAAEC,GAAG,EAAK;IAC9B,KAAK,IAAIC,IAAI,IAAID,GAAG;IAClBL,SAAS,CAACI,MAAM,EAAEE,IAAI,EAAE;MACtBC,GAAG,EAAEF,GAAG,CAACC,IAAI,CAAC;MACdE,UAAU,EAAE,IAAI;MAChBC,YAAY,EAAE,IAAI;MAClBC,GAAG,EAAE,SAAAA,IAACC,QAAQ,UAAKN,GAAG,CAACC,IAAI,CAAC,GAAG,oBAAMK,QAAQ;IAC/C,CAAC,CAAC;EACN,CAAC;;EAED;EACA,IAAIC,WAAW,GAAG,CAAC,CAAC;EACpBT,QAAQ,CAACS,WAAW,EAAE;IACpBC,eAAe,EAAE,SAAAA,gBAAA,EAAM;MACrB;QACE,OAAOA,gBAAe;MACxB;IACF,CAAC;IACDC,aAAa,EAAE,SAAAA,cAAA,EAAM;MACnB;QACE,OAAOA,cAAa;MACtB;IACF,CAAC;IACDC,WAAW,EAA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