diff --git a/node_modules/date-fns/fp.cjs b/node_modules/date-fns/fp.cjs new file mode 100644 index 0000000000000000000000000000000000000000..677e69cf01b8d08028346954c332b97b624b3528 --- /dev/null +++ b/node_modules/date-fns/fp.cjs @@ -0,0 +1,4358 @@ +"use strict"; + +var _index = require("./fp/add.cjs"); +Object.keys(_index).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (key in exports && exports[key] === _index[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _index[key]; + }, + }); +}); +var _index2 = require("./fp/addBusinessDays.cjs"); +Object.keys(_index2).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (key in exports && exports[key] === _index2[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _index2[key]; + }, + }); +}); +var _index3 = require("./fp/addBusinessDaysWithOptions.cjs"); +Object.keys(_index3).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (key in exports && exports[key] === _index3[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _index3[key]; + }, + }); +}); +var _index4 = require("./fp/addDays.cjs"); +Object.keys(_index4).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (key in exports && exports[key] === _index4[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _index4[key]; + }, + }); +}); +var _index5 = require("./fp/addDaysWithOptions.cjs"); +Object.keys(_index5).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (key in exports && exports[key] === _index5[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _index5[key]; + }, + }); +}); +var _index6 = require("./fp/addHours.cjs"); +Object.keys(_index6).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (key in exports && exports[key] === _index6[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _index6[key]; + }, + }); +}); +var _index7 = require("./fp/addHoursWithOptions.cjs"); +Object.keys(_index7).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (key in exports && exports[key] === _index7[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _index7[key]; + }, + }); +}); +var _index8 = require("./fp/addISOWeekYears.cjs"); +Object.keys(_index8).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (key in exports && exports[key] === _index8[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _index8[key]; + }, + }); +}); +var _index9 = require("./fp/addISOWeekYearsWithOptions.cjs"); +Object.keys(_index9).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (key in exports && exports[key] === _index9[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _index9[key]; + }, + }); +}); +var _index0 = require("./fp/addMilliseconds.cjs"); +Object.keys(_index0).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (key in exports && exports[key] === _index0[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _index0[key]; + }, + }); +}); +var _index1 = require("./fp/addMillisecondsWithOptions.cjs"); +Object.keys(_index1).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (key in exports && exports[key] === _index1[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _index1[key]; + }, + }); +}); +var _index10 = require("./fp/addMinutes.cjs"); +Object.keys(_index10).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (key in exports && exports[key] === _index10[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _index10[key]; + }, + }); +}); +var _index11 = require("./fp/addMinutesWithOptions.cjs"); +Object.keys(_index11).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (key in exports && exports[key] === _index11[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _index11[key]; + }, + }); +}); +var _index12 = require("./fp/addMonths.cjs"); +Object.keys(_index12).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (key in exports && exports[key] === _index12[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _index12[key]; + }, + }); +}); +var _index13 = require("./fp/addMonthsWithOptions.cjs"); +Object.keys(_index13).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (key in exports && exports[key] === _index13[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _index13[key]; + }, + }); +}); +var _index14 = require("./fp/addQuarters.cjs"); +Object.keys(_index14).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (key in exports && exports[key] === _index14[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _index14[key]; + }, + }); +}); +var _index15 = require("./fp/addQuartersWithOptions.cjs"); +Object.keys(_index15).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (key in exports && exports[key] === _index15[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _index15[key]; + }, + }); +}); +var _index16 = require("./fp/addSeconds.cjs"); +Object.keys(_index16).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (key in exports && exports[key] === _index16[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _index16[key]; + }, + }); +}); +var _index17 = require("./fp/addSecondsWithOptions.cjs"); +Object.keys(_index17).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (key in exports && exports[key] === _index17[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _index17[key]; + }, + }); +}); +var _index18 = require("./fp/addWeeks.cjs"); +Object.keys(_index18).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (key in exports && exports[key] === _index18[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _index18[key]; + }, + }); +}); +var _index19 = require("./fp/addWeeksWithOptions.cjs"); +Object.keys(_index19).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (key in exports && exports[key] === _index19[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _index19[key]; + }, + }); +}); +var _index20 = require("./fp/addWithOptions.cjs"); +Object.keys(_index20).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (key in exports && exports[key] === _index20[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _index20[key]; + }, + }); +}); +var _index21 = require("./fp/addYears.cjs"); +Object.keys(_index21).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (key in exports && exports[key] === _index21[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _index21[key]; + }, + }); +}); +var _index22 = require("./fp/addYearsWithOptions.cjs"); +Object.keys(_index22).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (key in exports && exports[key] === _index22[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _index22[key]; + }, + }); +}); +var _index23 = require("./fp/areIntervalsOverlapping.cjs"); +Object.keys(_index23).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (key in exports && exports[key] === _index23[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _index23[key]; + }, + }); +}); +var _index24 = require("./fp/areIntervalsOverlappingWithOptions.cjs"); +Object.keys(_index24).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (key in exports && exports[key] === _index24[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _index24[key]; + }, + }); +}); +var _index25 = require("./fp/clamp.cjs"); +Object.keys(_index25).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (key in exports && exports[key] === _index25[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _index25[key]; + }, + }); +}); +var _index26 = require("./fp/clampWithOptions.cjs"); +Object.keys(_index26).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (key in exports && exports[key] === _index26[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _index26[key]; + }, + }); +}); +var _index27 = require("./fp/closestIndexTo.cjs"); +Object.keys(_index27).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (key in exports && exports[key] === _index27[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _index27[key]; + }, + }); +}); +var _index28 = require("./fp/closestTo.cjs"); +Object.keys(_index28).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (key in exports && exports[key] === _index28[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _index28[key]; + }, + }); +}); +var _index29 = require("./fp/closestToWithOptions.cjs"); +Object.keys(_index29).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (key in exports && exports[key] === _index29[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _index29[key]; + }, + }); +}); +var _index30 = require("./fp/compareAsc.cjs"); +Object.keys(_index30).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (key in exports && exports[key] === _index30[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _index30[key]; + }, + }); +}); +var _index31 = require("./fp/compareDesc.cjs"); +Object.keys(_index31).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (key in exports && exports[key] === _index31[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _index31[key]; + }, + }); +}); +var _index32 = require("./fp/constructFrom.cjs"); +Object.keys(_index32).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (key in exports && exports[key] === _index32[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _index32[key]; + }, + }); +}); +var _index33 = require("./fp/daysToWeeks.cjs"); +Object.keys(_index33).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (key in exports && exports[key] === _index33[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _index33[key]; + }, + }); +}); +var _index34 = require("./fp/differenceInBusinessDays.cjs"); +Object.keys(_index34).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (key in exports && exports[key] === _index34[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _index34[key]; + }, + }); +}); +var _index35 = require("./fp/differenceInBusinessDaysWithOptions.cjs"); +Object.keys(_index35).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (key in exports && exports[key] === _index35[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _index35[key]; + }, + }); +}); +var _index36 = require("./fp/differenceInCalendarDays.cjs"); +Object.keys(_index36).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (key in exports && exports[key] === _index36[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _index36[key]; + }, + }); +}); +var _index37 = require("./fp/differenceInCalendarDaysWithOptions.cjs"); +Object.keys(_index37).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (key in exports && exports[key] === _index37[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _index37[key]; + }, + }); +}); +var _index38 = require("./fp/differenceInCalendarISOWeekYears.cjs"); +Object.keys(_index38).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (key in exports && exports[key] === _index38[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _index38[key]; + }, + }); +}); +var _index39 = require("./fp/differenceInCalendarISOWeekYearsWithOptions.cjs"); +Object.keys(_index39).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (key in exports && exports[key] === _index39[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _index39[key]; + }, + }); +}); +var _index40 = require("./fp/differenceInCalendarISOWeeks.cjs"); +Object.keys(_index40).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (key in exports && exports[key] === _index40[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _index40[key]; + }, + }); +}); +var _index41 = require("./fp/differenceInCalendarISOWeeksWithOptions.cjs"); +Object.keys(_index41).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (key in exports && exports[key] === _index41[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _index41[key]; + }, + }); +}); +var _index42 = require("./fp/differenceInCalendarMonths.cjs"); +Object.keys(_index42).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (key in exports && exports[key] === _index42[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _index42[key]; + }, + }); +}); +var _index43 = require("./fp/differenceInCalendarMonthsWithOptions.cjs"); +Object.keys(_index43).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (key in exports && exports[key] === _index43[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _index43[key]; + }, + }); +}); +var _index44 = require("./fp/differenceInCalendarQuarters.cjs"); +Object.keys(_index44).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (key in exports && exports[key] === _index44[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _index44[key]; + }, + }); +}); +var _index45 = require("./fp/differenceInCalendarQuartersWithOptions.cjs"); +Object.keys(_index45).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (key in exports && exports[key] === _index45[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _index45[key]; + }, + }); +}); +var _index46 = require("./fp/differenceInCalendarWeeks.cjs"); +Object.keys(_index46).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (key in exports && exports[key] === _index46[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _index46[key]; + }, + }); +}); +var _index47 = require("./fp/differenceInCalendarWeeksWithOptions.cjs"); +Object.keys(_index47).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (key in exports && exports[key] === _index47[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _index47[key]; + }, + }); +}); +var _index48 = require("./fp/differenceInCalendarYears.cjs"); +Object.keys(_index48).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (key in exports && exports[key] === _index48[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _index48[key]; + }, + }); +}); +var _index49 = require("./fp/differenceInCalendarYearsWithOptions.cjs"); +Object.keys(_index49).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (key in exports && exports[key] === _index49[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _index49[key]; + }, + }); +}); +var _index50 = require("./fp/differenceInDays.cjs"); +Object.keys(_index50).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (key in exports && exports[key] === _index50[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _index50[key]; + }, + }); +}); +var _index51 = require("./fp/differenceInDaysWithOptions.cjs"); +Object.keys(_index51).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (key in exports && exports[key] === _index51[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _index51[key]; + }, + }); +}); +var _index52 = require("./fp/differenceInHours.cjs"); +Object.keys(_index52).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (key in exports && exports[key] === _index52[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _index52[key]; + }, + }); +}); +var _index53 = require("./fp/differenceInHoursWithOptions.cjs"); +Object.keys(_index53).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (key in exports && exports[key] === _index53[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _index53[key]; + }, + }); +}); +var _index54 = require("./fp/differenceInISOWeekYears.cjs"); +Object.keys(_index54).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (key in exports && exports[key] === _index54[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _index54[key]; + }, + }); +}); +var _index55 = require("./fp/differenceInISOWeekYearsWithOptions.cjs"); +Object.keys(_index55).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (key in exports && exports[key] === _index55[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _index55[key]; + }, + }); +}); +var _index56 = require("./fp/differenceInMilliseconds.cjs"); +Object.keys(_index56).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (key in exports && exports[key] === _index56[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _index56[key]; + }, + }); +}); +var _index57 = require("./fp/differenceInMinutes.cjs"); +Object.keys(_index57).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (key in exports && exports[key] === _index57[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _index57[key]; + }, + }); +}); +var _index58 = require("./fp/differenceInMinutesWithOptions.cjs"); +Object.keys(_index58).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (key in exports && exports[key] === _index58[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _index58[key]; + }, + }); +}); +var _index59 = require("./fp/differenceInMonths.cjs"); +Object.keys(_index59).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (key in exports && exports[key] === _index59[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _index59[key]; + }, + }); +}); +var _index60 = require("./fp/differenceInMonthsWithOptions.cjs"); +Object.keys(_index60).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (key in exports && exports[key] === _index60[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _index60[key]; + }, + }); +}); +var _index61 = require("./fp/differenceInQuarters.cjs"); +Object.keys(_index61).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (key in exports && exports[key] === _index61[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _index61[key]; + }, + }); +}); +var _index62 = require("./fp/differenceInQuartersWithOptions.cjs"); +Object.keys(_index62).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (key in exports && exports[key] === _index62[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _index62[key]; + }, + }); +}); +var _index63 = require("./fp/differenceInSeconds.cjs"); +Object.keys(_index63).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (key in exports && exports[key] === _index63[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _index63[key]; + }, + }); +}); +var _index64 = require("./fp/differenceInSecondsWithOptions.cjs"); +Object.keys(_index64).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (key in exports && exports[key] === _index64[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _index64[key]; + }, + }); +}); +var _index65 = require("./fp/differenceInWeeks.cjs"); +Object.keys(_index65).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (key in exports && exports[key] === _index65[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _index65[key]; + }, + }); +}); +var _index66 = require("./fp/differenceInWeeksWithOptions.cjs"); +Object.keys(_index66).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (key in exports && exports[key] === _index66[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _index66[key]; + }, + }); +}); +var _index67 = require("./fp/differenceInYears.cjs"); +Object.keys(_index67).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (key in exports && exports[key] === _index67[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _index67[key]; + }, + }); +}); +var _index68 = require("./fp/differenceInYearsWithOptions.cjs"); +Object.keys(_index68).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (key in exports && exports[key] === _index68[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _index68[key]; + }, + }); +}); +var _index69 = require("./fp/eachDayOfInterval.cjs"); +Object.keys(_index69).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (key in exports && exports[key] === _index69[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _index69[key]; + }, + }); +}); +var _index70 = require("./fp/eachDayOfIntervalWithOptions.cjs"); +Object.keys(_index70).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (key in exports && exports[key] === _index70[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _index70[key]; + }, + }); +}); +var _index71 = require("./fp/eachHourOfInterval.cjs"); +Object.keys(_index71).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (key in exports && exports[key] === _index71[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _index71[key]; + }, + }); +}); +var _index72 = require("./fp/eachHourOfIntervalWithOptions.cjs"); +Object.keys(_index72).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (key in exports && exports[key] === _index72[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _index72[key]; + }, + }); +}); +var _index73 = require("./fp/eachMinuteOfInterval.cjs"); +Object.keys(_index73).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (key in exports && exports[key] === _index73[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _index73[key]; + }, + }); +}); +var _index74 = require("./fp/eachMinuteOfIntervalWithOptions.cjs"); +Object.keys(_index74).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (key in exports && exports[key] === _index74[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _index74[key]; + }, + }); +}); +var _index75 = require("./fp/eachMonthOfInterval.cjs"); +Object.keys(_index75).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (key in exports && exports[key] === _index75[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _index75[key]; + }, + }); +}); +var _index76 = require("./fp/eachMonthOfIntervalWithOptions.cjs"); +Object.keys(_index76).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (key in exports && exports[key] === _index76[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _index76[key]; + }, + }); +}); +var _index77 = require("./fp/eachQuarterOfInterval.cjs"); +Object.keys(_index77).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (key in exports && exports[key] === _index77[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _index77[key]; + }, + }); +}); +var _index78 = require("./fp/eachQuarterOfIntervalWithOptions.cjs"); +Object.keys(_index78).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (key in exports && exports[key] === _index78[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _index78[key]; + }, + }); +}); +var _index79 = require("./fp/eachWeekOfInterval.cjs"); +Object.keys(_index79).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (key in exports && exports[key] === _index79[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _index79[key]; + }, + }); +}); +var _index80 = require("./fp/eachWeekOfIntervalWithOptions.cjs"); +Object.keys(_index80).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (key in exports && exports[key] === _index80[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _index80[key]; + }, + }); +}); +var _index81 = require("./fp/eachWeekendOfInterval.cjs"); +Object.keys(_index81).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (key in exports && exports[key] === _index81[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _index81[key]; + }, + }); +}); +var _index82 = require("./fp/eachWeekendOfIntervalWithOptions.cjs"); +Object.keys(_index82).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (key in exports && exports[key] === _index82[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _index82[key]; + }, + }); +}); +var _index83 = require("./fp/eachWeekendOfMonth.cjs"); +Object.keys(_index83).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (key in exports && exports[key] === _index83[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _index83[key]; + }, + }); +}); +var _index84 = require("./fp/eachWeekendOfMonthWithOptions.cjs"); +Object.keys(_index84).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (key in exports && exports[key] === _index84[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _index84[key]; + }, + }); +}); +var _index85 = require("./fp/eachWeekendOfYear.cjs"); +Object.keys(_index85).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (key in exports && exports[key] === _index85[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _index85[key]; + }, + }); +}); +var _index86 = require("./fp/eachWeekendOfYearWithOptions.cjs"); +Object.keys(_index86).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (key in exports && exports[key] === _index86[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _index86[key]; + }, + }); +}); +var _index87 = require("./fp/eachYearOfInterval.cjs"); +Object.keys(_index87).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (key in exports && exports[key] === _index87[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _index87[key]; + }, + }); +}); +var _index88 = require("./fp/eachYearOfIntervalWithOptions.cjs"); +Object.keys(_index88).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (key in exports && exports[key] === _index88[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _index88[key]; + }, + }); +}); +var _index89 = require("./fp/endOfDay.cjs"); +Object.keys(_index89).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (key in exports && exports[key] === _index89[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _index89[key]; + }, + }); +}); +var _index90 = require("./fp/endOfDayWithOptions.cjs"); +Object.keys(_index90).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (key in exports && exports[key] === _index90[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _index90[key]; + }, + }); +}); +var _index91 = require("./fp/endOfDecade.cjs"); +Object.keys(_index91).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (key in exports && exports[key] === _index91[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _index91[key]; + }, + }); +}); +var _index92 = require("./fp/endOfDecadeWithOptions.cjs"); +Object.keys(_index92).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (key in exports && exports[key] === _index92[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _index92[key]; + }, + }); +}); +var _index93 = require("./fp/endOfHour.cjs"); +Object.keys(_index93).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (key in exports && exports[key] === _index93[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _index93[key]; + }, + }); +}); +var _index94 = require("./fp/endOfHourWithOptions.cjs"); +Object.keys(_index94).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (key in exports && exports[key] === _index94[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _index94[key]; + }, + }); +}); +var _index95 = require("./fp/endOfISOWeek.cjs"); +Object.keys(_index95).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (key in exports && exports[key] === _index95[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _index95[key]; + }, + }); +}); +var _index96 = require("./fp/endOfISOWeekWithOptions.cjs"); +Object.keys(_index96).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (key in exports && exports[key] === _index96[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _index96[key]; + }, + }); +}); +var _index97 = require("./fp/endOfISOWeekYear.cjs"); +Object.keys(_index97).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (key in exports && exports[key] === _index97[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _index97[key]; + }, + }); +}); +var _index98 = require("./fp/endOfISOWeekYearWithOptions.cjs"); +Object.keys(_index98).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (key in exports && exports[key] === _index98[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _index98[key]; + }, + }); +}); +var _index99 = require("./fp/endOfMinute.cjs"); +Object.keys(_index99).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (key in exports && exports[key] === _index99[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _index99[key]; + }, + }); +}); +var _index100 = require("./fp/endOfMinuteWithOptions.cjs"); +Object.keys(_index100).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (key in exports && exports[key] === _index100[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _index100[key]; + }, + }); +}); +var _index101 = require("./fp/endOfMonth.cjs"); +Object.keys(_index101).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (key in exports && exports[key] === _index101[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _index101[key]; + }, + }); +}); +var _index102 = require("./fp/endOfMonthWithOptions.cjs"); +Object.keys(_index102).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (key in exports && exports[key] === _index102[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _index102[key]; + }, + }); +}); +var _index103 = require("./fp/endOfQuarter.cjs"); +Object.keys(_index103).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (key in exports && exports[key] === _index103[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _index103[key]; + }, + }); +}); +var _index104 = require("./fp/endOfQuarterWithOptions.cjs"); +Object.keys(_index104).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (key in exports && exports[key] === _index104[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _index104[key]; + }, + }); +}); +var _index105 = require("./fp/endOfSecond.cjs"); +Object.keys(_index105).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (key in exports && exports[key] === _index105[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _index105[key]; + }, + }); +}); +var _index106 = require("./fp/endOfSecondWithOptions.cjs"); +Object.keys(_index106).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (key in exports && exports[key] === _index106[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _index106[key]; + }, + }); +}); +var _index107 = require("./fp/endOfWeek.cjs"); +Object.keys(_index107).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (key in exports && exports[key] === _index107[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _index107[key]; + }, + }); +}); +var _index108 = require("./fp/endOfWeekWithOptions.cjs"); +Object.keys(_index108).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (key in exports && exports[key] === _index108[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _index108[key]; + }, + }); +}); +var _index109 = require("./fp/endOfYear.cjs"); +Object.keys(_index109).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (key in exports && exports[key] === _index109[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _index109[key]; + }, + }); +}); +var _index110 = require("./fp/endOfYearWithOptions.cjs"); +Object.keys(_index110).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (key in exports && exports[key] === _index110[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _index110[key]; + }, + }); +}); +var _index111 = require("./fp/format.cjs"); +Object.keys(_index111).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (key in exports && exports[key] === _index111[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _index111[key]; + }, + }); +}); +var _index112 = require("./fp/formatDistance.cjs"); +Object.keys(_index112).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (key in exports && exports[key] === _index112[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _index112[key]; + }, + }); +}); +var _index113 = require("./fp/formatDistanceStrict.cjs"); +Object.keys(_index113).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (key in exports && exports[key] === _index113[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _index113[key]; + }, + }); +}); +var _index114 = require("./fp/formatDistanceStrictWithOptions.cjs"); +Object.keys(_index114).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (key in exports && exports[key] === _index114[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _index114[key]; + }, + }); +}); +var _index115 = require("./fp/formatDistanceWithOptions.cjs"); +Object.keys(_index115).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (key in exports && exports[key] === _index115[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _index115[key]; + }, + }); +}); +var _index116 = require("./fp/formatDuration.cjs"); +Object.keys(_index116).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (key in exports && exports[key] === _index116[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _index116[key]; + }, + }); +}); +var _index117 = require("./fp/formatDurationWithOptions.cjs"); +Object.keys(_index117).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (key in exports && exports[key] === _index117[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _index117[key]; + }, + }); +}); +var _index118 = require("./fp/formatISO.cjs"); +Object.keys(_index118).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (key in exports && exports[key] === _index118[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _index118[key]; + }, + }); +}); +var _index119 = require("./fp/formatISO9075.cjs"); +Object.keys(_index119).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (key in exports && exports[key] === _index119[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _index119[key]; + }, + }); +}); +var _index120 = require("./fp/formatISO9075WithOptions.cjs"); +Object.keys(_index120).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (key in exports && exports[key] === _index120[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _index120[key]; + }, + }); +}); +var _index121 = require("./fp/formatISODuration.cjs"); +Object.keys(_index121).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (key in exports && exports[key] === _index121[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _index121[key]; + }, + }); +}); +var _index122 = require("./fp/formatISOWithOptions.cjs"); +Object.keys(_index122).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (key in exports && exports[key] === _index122[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _index122[key]; + }, + }); +}); +var _index123 = require("./fp/formatRFC3339.cjs"); +Object.keys(_index123).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (key in exports && exports[key] === _index123[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _index123[key]; + }, + }); +}); +var _index124 = require("./fp/formatRFC3339WithOptions.cjs"); +Object.keys(_index124).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (key in exports && exports[key] === _index124[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _index124[key]; + }, + }); +}); +var _index125 = require("./fp/formatRFC7231.cjs"); +Object.keys(_index125).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (key in exports && exports[key] === _index125[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _index125[key]; + }, + }); +}); +var _index126 = require("./fp/formatRelative.cjs"); +Object.keys(_index126).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (key in exports && exports[key] === _index126[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _index126[key]; + }, + }); +}); +var _index127 = require("./fp/formatRelativeWithOptions.cjs"); +Object.keys(_index127).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (key in exports && exports[key] === _index127[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _index127[key]; + }, + }); +}); +var _index128 = require("./fp/formatWithOptions.cjs"); +Object.keys(_index128).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (key in exports && exports[key] === _index128[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _index128[key]; + }, + }); +}); +var _index129 = require("./fp/fromUnixTime.cjs"); +Object.keys(_index129).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (key in exports && exports[key] === _index129[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _index129[key]; + }, + }); +}); +var _index130 = require("./fp/fromUnixTimeWithOptions.cjs"); +Object.keys(_index130).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (key in exports && exports[key] === _index130[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _index130[key]; + }, + }); +}); +var _index131 = require("./fp/getDate.cjs"); +Object.keys(_index131).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (key in exports && exports[key] === _index131[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _index131[key]; + }, + }); +}); +var _index132 = require("./fp/getDateWithOptions.cjs"); +Object.keys(_index132).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (key in exports && exports[key] === _index132[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _index132[key]; + }, + }); +}); +var _index133 = require("./fp/getDay.cjs"); +Object.keys(_index133).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (key in exports && exports[key] === _index133[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _index133[key]; + }, + }); +}); +var _index134 = require("./fp/getDayOfYear.cjs"); +Object.keys(_index134).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (key in exports && exports[key] === _index134[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _index134[key]; + }, + }); +}); +var _index135 = require("./fp/getDayOfYearWithOptions.cjs"); +Object.keys(_index135).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (key in exports && exports[key] === _index135[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _index135[key]; + }, + }); +}); +var _index136 = require("./fp/getDayWithOptions.cjs"); +Object.keys(_index136).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (key in exports && exports[key] === _index136[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _index136[key]; + }, + }); +}); +var _index137 = require("./fp/getDaysInMonth.cjs"); +Object.keys(_index137).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (key in exports && exports[key] === _index137[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _index137[key]; + }, + }); +}); +var _index138 = require("./fp/getDaysInMonthWithOptions.cjs"); +Object.keys(_index138).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (key in exports && exports[key] === _index138[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _index138[key]; + }, + }); +}); +var _index139 = require("./fp/getDaysInYear.cjs"); +Object.keys(_index139).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (key in exports && exports[key] === _index139[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _index139[key]; + }, + }); +}); +var _index140 = require("./fp/getDaysInYearWithOptions.cjs"); +Object.keys(_index140).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (key in exports && exports[key] === _index140[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _index140[key]; + }, + }); +}); +var _index141 = require("./fp/getDecade.cjs"); +Object.keys(_index141).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (key in exports && exports[key] === _index141[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _index141[key]; + }, + }); +}); +var _index142 = require("./fp/getDecadeWithOptions.cjs"); +Object.keys(_index142).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (key in exports && exports[key] === _index142[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _index142[key]; + }, + }); +}); +var _index143 = require("./fp/getHours.cjs"); +Object.keys(_index143).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (key in exports && exports[key] === _index143[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _index143[key]; + }, + }); +}); +var _index144 = require("./fp/getHoursWithOptions.cjs"); +Object.keys(_index144).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (key in exports && exports[key] === _index144[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _index144[key]; + }, + }); +}); +var _index145 = require("./fp/getISODay.cjs"); +Object.keys(_index145).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (key in exports && exports[key] === _index145[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _index145[key]; + }, + }); +}); +var _index146 = require("./fp/getISODayWithOptions.cjs"); +Object.keys(_index146).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (key in exports && exports[key] === _index146[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _index146[key]; + }, + }); +}); +var _index147 = require("./fp/getISOWeek.cjs"); +Object.keys(_index147).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (key in exports && exports[key] === _index147[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _index147[key]; + }, + }); +}); +var _index148 = require("./fp/getISOWeekWithOptions.cjs"); +Object.keys(_index148).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (key in exports && exports[key] === _index148[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _index148[key]; + }, + }); +}); +var _index149 = require("./fp/getISOWeekYear.cjs"); +Object.keys(_index149).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (key in exports && exports[key] === _index149[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _index149[key]; + }, + }); +}); +var _index150 = require("./fp/getISOWeekYearWithOptions.cjs"); +Object.keys(_index150).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (key in exports && exports[key] === _index150[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _index150[key]; + }, + }); +}); +var _index151 = require("./fp/getISOWeeksInYear.cjs"); +Object.keys(_index151).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (key in exports && exports[key] === _index151[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _index151[key]; + }, + }); +}); +var _index152 = require("./fp/getISOWeeksInYearWithOptions.cjs"); +Object.keys(_index152).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (key in exports && exports[key] === _index152[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _index152[key]; + }, + }); +}); +var _index153 = require("./fp/getMilliseconds.cjs"); +Object.keys(_index153).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (key in exports && exports[key] === _index153[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _index153[key]; + }, + }); +}); +var _index154 = require("./fp/getMinutes.cjs"); +Object.keys(_index154).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (key in exports && exports[key] === _index154[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _index154[key]; + }, + }); +}); +var _index155 = require("./fp/getMinutesWithOptions.cjs"); +Object.keys(_index155).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (key in exports && exports[key] === _index155[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _index155[key]; + }, + }); +}); +var _index156 = require("./fp/getMonth.cjs"); +Object.keys(_index156).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (key in exports && exports[key] === _index156[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _index156[key]; + }, + }); +}); +var _index157 = require("./fp/getMonthWithOptions.cjs"); +Object.keys(_index157).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (key in exports && exports[key] === _index157[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _index157[key]; + }, + }); +}); +var _index158 = require("./fp/getOverlappingDaysInIntervals.cjs"); +Object.keys(_index158).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (key in exports && exports[key] === _index158[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _index158[key]; + }, + }); +}); +var _index159 = require("./fp/getQuarter.cjs"); +Object.keys(_index159).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (key in exports && exports[key] === _index159[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _index159[key]; + }, + }); +}); +var _index160 = require("./fp/getQuarterWithOptions.cjs"); +Object.keys(_index160).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (key in exports && exports[key] === _index160[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _index160[key]; + }, + }); +}); +var _index161 = require("./fp/getSeconds.cjs"); +Object.keys(_index161).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (key in exports && exports[key] === _index161[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _index161[key]; + }, + }); +}); +var _index162 = require("./fp/getTime.cjs"); +Object.keys(_index162).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (key in exports && exports[key] === _index162[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _index162[key]; + }, + }); +}); +var _index163 = require("./fp/getUnixTime.cjs"); +Object.keys(_index163).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (key in exports && exports[key] === _index163[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _index163[key]; + }, + }); +}); +var _index164 = require("./fp/getWeek.cjs"); +Object.keys(_index164).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (key in exports && exports[key] === _index164[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _index164[key]; + }, + }); +}); +var _index165 = require("./fp/getWeekOfMonth.cjs"); +Object.keys(_index165).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (key in exports && exports[key] === _index165[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _index165[key]; + }, + }); +}); +var _index166 = require("./fp/getWeekOfMonthWithOptions.cjs"); +Object.keys(_index166).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (key in exports && exports[key] === _index166[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _index166[key]; + }, + }); +}); +var _index167 = require("./fp/getWeekWithOptions.cjs"); +Object.keys(_index167).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (key in exports && exports[key] === _index167[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _index167[key]; + }, + }); +}); +var _index168 = require("./fp/getWeekYear.cjs"); +Object.keys(_index168).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (key in exports && exports[key] === _index168[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _index168[key]; + }, + }); +}); +var _index169 = require("./fp/getWeekYearWithOptions.cjs"); +Object.keys(_index169).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (key in exports && exports[key] === _index169[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _index169[key]; + }, + }); +}); +var _index170 = require("./fp/getWeeksInMonth.cjs"); +Object.keys(_index170).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (key in exports && exports[key] === _index170[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _index170[key]; + }, + }); +}); +var _index171 = require("./fp/getWeeksInMonthWithOptions.cjs"); +Object.keys(_index171).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (key in exports && exports[key] === _index171[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _index171[key]; + }, + }); +}); +var _index172 = require("./fp/getYear.cjs"); +Object.keys(_index172).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (key in exports && exports[key] === _index172[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _index172[key]; + }, + }); +}); +var _index173 = require("./fp/getYearWithOptions.cjs"); +Object.keys(_index173).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (key in exports && exports[key] === _index173[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _index173[key]; + }, + }); +}); +var _index174 = require("./fp/hoursToMilliseconds.cjs"); +Object.keys(_index174).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (key in exports && exports[key] === _index174[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _index174[key]; + }, + }); +}); +var _index175 = require("./fp/hoursToMinutes.cjs"); +Object.keys(_index175).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (key in exports && exports[key] === _index175[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _index175[key]; + }, + }); +}); +var _index176 = require("./fp/hoursToSeconds.cjs"); +Object.keys(_index176).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (key in exports && exports[key] === _index176[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _index176[key]; + }, + }); +}); +var _index177 = require("./fp/interval.cjs"); +Object.keys(_index177).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (key in exports && exports[key] === _index177[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _index177[key]; + }, + }); +}); +var _index178 = require("./fp/intervalToDuration.cjs"); +Object.keys(_index178).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (key in exports && exports[key] === _index178[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _index178[key]; + }, + }); +}); +var _index179 = require("./fp/intervalToDurationWithOptions.cjs"); +Object.keys(_index179).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (key in exports && exports[key] === _index179[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _index179[key]; + }, + }); +}); +var _index180 = require("./fp/intervalWithOptions.cjs"); +Object.keys(_index180).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (key in exports && exports[key] === _index180[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _index180[key]; + }, + }); +}); +var _index181 = require("./fp/intlFormat.cjs"); +Object.keys(_index181).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (key in exports && exports[key] === _index181[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _index181[key]; + }, + }); +}); +var _index182 = require("./fp/intlFormatDistance.cjs"); +Object.keys(_index182).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (key in exports && exports[key] === _index182[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _index182[key]; + }, + }); +}); +var _index183 = require("./fp/intlFormatDistanceWithOptions.cjs"); +Object.keys(_index183).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (key in exports && exports[key] === _index183[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _index183[key]; + }, + }); +}); +var _index184 = require("./fp/isAfter.cjs"); +Object.keys(_index184).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (key in exports && exports[key] === _index184[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _index184[key]; + }, + }); +}); +var _index185 = require("./fp/isBefore.cjs"); +Object.keys(_index185).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (key in exports && exports[key] === _index185[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _index185[key]; + }, + }); +}); +var _index186 = require("./fp/isDate.cjs"); +Object.keys(_index186).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (key in exports && exports[key] === _index186[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _index186[key]; + }, + }); +}); +var _index187 = require("./fp/isEqual.cjs"); +Object.keys(_index187).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (key in exports && exports[key] === _index187[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _index187[key]; + }, + }); +}); +var _index188 = require("./fp/isExists.cjs"); +Object.keys(_index188).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (key in exports && exports[key] === _index188[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _index188[key]; + }, + }); +}); +var _index189 = require("./fp/isFirstDayOfMonth.cjs"); +Object.keys(_index189).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (key in exports && exports[key] === _index189[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _index189[key]; + }, + }); +}); +var _index190 = require("./fp/isFirstDayOfMonthWithOptions.cjs"); +Object.keys(_index190).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (key in exports && exports[key] === _index190[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _index190[key]; + }, + }); +}); +var _index191 = require("./fp/isFriday.cjs"); +Object.keys(_index191).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (key in exports && exports[key] === _index191[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _index191[key]; + }, + }); +}); +var _index192 = require("./fp/isFridayWithOptions.cjs"); +Object.keys(_index192).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (key in exports && exports[key] === _index192[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _index192[key]; + }, + }); +}); +var _index193 = require("./fp/isLastDayOfMonth.cjs"); +Object.keys(_index193).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (key in exports && exports[key] === _index193[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _index193[key]; + }, + }); +}); +var _index194 = require("./fp/isLastDayOfMonthWithOptions.cjs"); +Object.keys(_index194).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (key in exports && exports[key] === _index194[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _index194[key]; + }, + }); +}); +var _index195 = require("./fp/isLeapYear.cjs"); +Object.keys(_index195).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (key in exports && exports[key] === _index195[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _index195[key]; + }, + }); +}); +var _index196 = require("./fp/isLeapYearWithOptions.cjs"); +Object.keys(_index196).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (key in exports && exports[key] === _index196[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _index196[key]; + }, + }); +}); +var _index197 = require("./fp/isMatch.cjs"); +Object.keys(_index197).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (key in exports && exports[key] === _index197[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _index197[key]; + }, + }); +}); +var _index198 = require("./fp/isMatchWithOptions.cjs"); +Object.keys(_index198).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (key in exports && exports[key] === _index198[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _index198[key]; + }, + }); +}); +var _index199 = require("./fp/isMonday.cjs"); +Object.keys(_index199).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (key in exports && exports[key] === _index199[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _index199[key]; + }, + }); +}); +var _index200 = require("./fp/isMondayWithOptions.cjs"); +Object.keys(_index200).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (key in exports && exports[key] === _index200[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _index200[key]; + }, + }); +}); +var _index201 = require("./fp/isSameDay.cjs"); +Object.keys(_index201).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (key in exports && exports[key] === _index201[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _index201[key]; + }, + }); +}); +var _index202 = require("./fp/isSameDayWithOptions.cjs"); +Object.keys(_index202).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (key in exports && exports[key] === _index202[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _index202[key]; + }, + }); +}); +var _index203 = require("./fp/isSameHour.cjs"); +Object.keys(_index203).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (key in exports && exports[key] === _index203[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _index203[key]; + }, + }); +}); +var _index204 = require("./fp/isSameHourWithOptions.cjs"); +Object.keys(_index204).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (key in exports && exports[key] === _index204[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _index204[key]; + }, + }); +}); +var _index205 = require("./fp/isSameISOWeek.cjs"); +Object.keys(_index205).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (key in exports && exports[key] === _index205[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _index205[key]; + }, + }); +}); +var _index206 = require("./fp/isSameISOWeekWithOptions.cjs"); +Object.keys(_index206).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (key in exports && exports[key] === _index206[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _index206[key]; + }, + }); +}); +var _index207 = require("./fp/isSameISOWeekYear.cjs"); +Object.keys(_index207).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (key in exports && exports[key] === _index207[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _index207[key]; + }, + }); +}); +var _index208 = require("./fp/isSameISOWeekYearWithOptions.cjs"); +Object.keys(_index208).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (key in exports && exports[key] === _index208[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _index208[key]; + }, + }); +}); +var _index209 = require("./fp/isSameMinute.cjs"); +Object.keys(_index209).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (key in exports && exports[key] === _index209[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _index209[key]; + }, + }); +}); +var _index210 = require("./fp/isSameMonth.cjs"); +Object.keys(_index210).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (key in exports && exports[key] === _index210[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _index210[key]; + }, + }); +}); +var _index211 = require("./fp/isSameMonthWithOptions.cjs"); +Object.keys(_index211).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (key in exports && exports[key] === _index211[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _index211[key]; + }, + }); +}); +var _index212 = require("./fp/isSameQuarter.cjs"); +Object.keys(_index212).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (key in exports && exports[key] === _index212[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _index212[key]; + }, + }); +}); +var _index213 = require("./fp/isSameQuarterWithOptions.cjs"); +Object.keys(_index213).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (key in exports && exports[key] === _index213[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _index213[key]; + }, + }); +}); +var _index214 = require("./fp/isSameSecond.cjs"); +Object.keys(_index214).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (key in exports && exports[key] === _index214[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _index214[key]; + }, + }); +}); +var _index215 = require("./fp/isSameWeek.cjs"); +Object.keys(_index215).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (key in exports && exports[key] === _index215[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _index215[key]; + }, + }); +}); +var _index216 = require("./fp/isSameWeekWithOptions.cjs"); +Object.keys(_index216).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (key in exports && exports[key] === _index216[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _index216[key]; + }, + }); +}); +var _index217 = require("./fp/isSameYear.cjs"); +Object.keys(_index217).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (key in exports && exports[key] === _index217[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _index217[key]; + }, + }); +}); +var _index218 = require("./fp/isSameYearWithOptions.cjs"); +Object.keys(_index218).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (key in exports && exports[key] === _index218[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _index218[key]; + }, + }); +}); +var _index219 = require("./fp/isSaturday.cjs"); +Object.keys(_index219).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (key in exports && exports[key] === _index219[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _index219[key]; + }, + }); +}); +var _index220 = require("./fp/isSaturdayWithOptions.cjs"); +Object.keys(_index220).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (key in exports && exports[key] === _index220[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _index220[key]; + }, + }); +}); +var _index221 = require("./fp/isSunday.cjs"); +Object.keys(_index221).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (key in exports && exports[key] === _index221[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _index221[key]; + }, + }); +}); +var _index222 = require("./fp/isSundayWithOptions.cjs"); +Object.keys(_index222).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (key in exports && exports[key] === _index222[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _index222[key]; + }, + }); +}); +var _index223 = require("./fp/isThursday.cjs"); +Object.keys(_index223).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (key in exports && exports[key] === _index223[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _index223[key]; + }, + }); +}); +var _index224 = require("./fp/isThursdayWithOptions.cjs"); +Object.keys(_index224).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (key in exports && exports[key] === _index224[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _index224[key]; + }, + }); +}); +var _index225 = require("./fp/isTuesday.cjs"); +Object.keys(_index225).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (key in exports && exports[key] === _index225[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _index225[key]; + }, + }); +}); +var _index226 = require("./fp/isTuesdayWithOptions.cjs"); +Object.keys(_index226).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (key in exports && exports[key] === _index226[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _index226[key]; + }, + }); +}); +var _index227 = require("./fp/isValid.cjs"); +Object.keys(_index227).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (key in exports && exports[key] === _index227[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _index227[key]; + }, + }); +}); +var _index228 = require("./fp/isWednesday.cjs"); +Object.keys(_index228).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (key in exports && exports[key] === _index228[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _index228[key]; + }, + }); +}); +var _index229 = require("./fp/isWednesdayWithOptions.cjs"); +Object.keys(_index229).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (key in exports && exports[key] === _index229[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _index229[key]; + }, + }); +}); +var _index230 = require("./fp/isWeekend.cjs"); +Object.keys(_index230).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (key in exports && exports[key] === _index230[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _index230[key]; + }, + }); +}); +var _index231 = require("./fp/isWeekendWithOptions.cjs"); +Object.keys(_index231).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (key in exports && exports[key] === _index231[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _index231[key]; + }, + }); +}); +var _index232 = require("./fp/isWithinInterval.cjs"); +Object.keys(_index232).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (key in exports && exports[key] === _index232[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _index232[key]; + }, + }); +}); +var _index233 = require("./fp/isWithinIntervalWithOptions.cjs"); +Object.keys(_index233).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (key in exports && exports[key] === _index233[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _index233[key]; + }, + }); +}); +var _index234 = require("./fp/lastDayOfDecade.cjs"); +Object.keys(_index234).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (key in exports && exports[key] === _index234[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _index234[key]; + }, + }); +}); +var _index235 = require("./fp/lastDayOfDecadeWithOptions.cjs"); +Object.keys(_index235).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (key in exports && exports[key] === _index235[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _index235[key]; + }, + }); +}); +var _index236 = require("./fp/lastDayOfISOWeek.cjs"); +Object.keys(_index236).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (key in exports && exports[key] === _index236[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _index236[key]; + }, + }); +}); +var _index237 = require("./fp/lastDayOfISOWeekWithOptions.cjs"); +Object.keys(_index237).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (key in exports && exports[key] === _index237[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _index237[key]; + }, + }); +}); +var _index238 = require("./fp/lastDayOfISOWeekYear.cjs"); +Object.keys(_index238).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (key in exports && exports[key] === _index238[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _index238[key]; + }, + }); +}); +var _index239 = require("./fp/lastDayOfISOWeekYearWithOptions.cjs"); +Object.keys(_index239).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (key in exports && exports[key] === _index239[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _index239[key]; + }, + }); +}); +var _index240 = require("./fp/lastDayOfMonth.cjs"); +Object.keys(_index240).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (key in exports && exports[key] === _index240[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _index240[key]; + }, + }); +}); +var _index241 = require("./fp/lastDayOfMonthWithOptions.cjs"); +Object.keys(_index241).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (key in exports && exports[key] === _index241[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _index241[key]; + }, + }); +}); +var _index242 = require("./fp/lastDayOfQuarter.cjs"); +Object.keys(_index242).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (key in exports && exports[key] === _index242[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _index242[key]; + }, + }); +}); +var _index243 = require("./fp/lastDayOfQuarterWithOptions.cjs"); +Object.keys(_index243).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (key in exports && exports[key] === _index243[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _index243[key]; + }, + }); +}); +var _index244 = require("./fp/lastDayOfWeek.cjs"); +Object.keys(_index244).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (key in exports && exports[key] === _index244[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _index244[key]; + }, + }); +}); +var _index245 = require("./fp/lastDayOfWeekWithOptions.cjs"); +Object.keys(_index245).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (key in exports && exports[key] === _index245[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _index245[key]; + }, + }); +}); +var _index246 = require("./fp/lastDayOfYear.cjs"); +Object.keys(_index246).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (key in exports && exports[key] === _index246[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _index246[key]; + }, + }); +}); +var _index247 = require("./fp/lastDayOfYearWithOptions.cjs"); +Object.keys(_index247).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (key in exports && exports[key] === _index247[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _index247[key]; + }, + }); +}); +var _index248 = require("./fp/lightFormat.cjs"); +Object.keys(_index248).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (key in exports && exports[key] === _index248[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _index248[key]; + }, + }); +}); +var _index249 = require("./fp/max.cjs"); +Object.keys(_index249).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (key in exports && exports[key] === _index249[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _index249[key]; + }, + }); +}); +var _index250 = require("./fp/maxWithOptions.cjs"); +Object.keys(_index250).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (key in exports && exports[key] === _index250[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _index250[key]; + }, + }); +}); +var _index251 = require("./fp/milliseconds.cjs"); +Object.keys(_index251).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (key in exports && exports[key] === _index251[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _index251[key]; + }, + }); +}); +var _index252 = require("./fp/millisecondsToHours.cjs"); +Object.keys(_index252).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (key in exports && exports[key] === _index252[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _index252[key]; + }, + }); +}); +var _index253 = require("./fp/millisecondsToMinutes.cjs"); +Object.keys(_index253).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (key in exports && exports[key] === _index253[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _index253[key]; + }, + }); +}); +var _index254 = require("./fp/millisecondsToSeconds.cjs"); +Object.keys(_index254).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (key in exports && exports[key] === _index254[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _index254[key]; + }, + }); +}); +var _index255 = require("./fp/min.cjs"); +Object.keys(_index255).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (key in exports && exports[key] === _index255[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _index255[key]; + }, + }); +}); +var _index256 = require("./fp/minWithOptions.cjs"); +Object.keys(_index256).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (key in exports && exports[key] === _index256[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _index256[key]; + }, + }); +}); +var _index257 = require("./fp/minutesToHours.cjs"); +Object.keys(_index257).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (key in exports && exports[key] === _index257[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _index257[key]; + }, + }); +}); +var _index258 = require("./fp/minutesToMilliseconds.cjs"); +Object.keys(_index258).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (key in exports && exports[key] === _index258[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _index258[key]; + }, + }); +}); +var _index259 = require("./fp/minutesToSeconds.cjs"); +Object.keys(_index259).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (key in exports && exports[key] === _index259[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _index259[key]; + }, + }); +}); +var _index260 = require("./fp/monthsToQuarters.cjs"); +Object.keys(_index260).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (key in exports && exports[key] === _index260[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _index260[key]; + }, + }); +}); +var _index261 = require("./fp/monthsToYears.cjs"); +Object.keys(_index261).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (key in exports && exports[key] === _index261[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _index261[key]; + }, + }); +}); +var _index262 = require("./fp/nextDay.cjs"); +Object.keys(_index262).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (key in exports && exports[key] === _index262[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _index262[key]; + }, + }); +}); +var _index263 = require("./fp/nextDayWithOptions.cjs"); +Object.keys(_index263).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (key in exports && exports[key] === _index263[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _index263[key]; + }, + }); +}); +var _index264 = require("./fp/nextFriday.cjs"); +Object.keys(_index264).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (key in exports && exports[key] === _index264[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _index264[key]; + }, + }); +}); +var _index265 = require("./fp/nextFridayWithOptions.cjs"); +Object.keys(_index265).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (key in exports && exports[key] === _index265[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _index265[key]; + }, + }); +}); +var _index266 = require("./fp/nextMonday.cjs"); +Object.keys(_index266).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (key in exports && exports[key] === _index266[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _index266[key]; + }, + }); +}); +var _index267 = require("./fp/nextMondayWithOptions.cjs"); +Object.keys(_index267).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (key in exports && exports[key] === _index267[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _index267[key]; + }, + }); +}); +var _index268 = require("./fp/nextSaturday.cjs"); +Object.keys(_index268).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (key in exports && exports[key] === _index268[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _index268[key]; + }, + }); +}); +var _index269 = require("./fp/nextSaturdayWithOptions.cjs"); +Object.keys(_index269).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (key in exports && exports[key] === _index269[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _index269[key]; + }, + }); +}); +var _index270 = require("./fp/nextSunday.cjs"); +Object.keys(_index270).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (key in exports && exports[key] === _index270[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _index270[key]; + }, + }); +}); +var _index271 = require("./fp/nextSundayWithOptions.cjs"); +Object.keys(_index271).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (key in exports && exports[key] === _index271[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _index271[key]; + }, + }); +}); +var _index272 = require("./fp/nextThursday.cjs"); +Object.keys(_index272).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (key in exports && exports[key] === _index272[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _index272[key]; + }, + }); +}); +var _index273 = require("./fp/nextThursdayWithOptions.cjs"); +Object.keys(_index273).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (key in exports && exports[key] === _index273[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _index273[key]; + }, + }); +}); +var _index274 = require("./fp/nextTuesday.cjs"); +Object.keys(_index274).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (key in exports && exports[key] === _index274[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _index274[key]; + }, + }); +}); +var _index275 = require("./fp/nextTuesdayWithOptions.cjs"); +Object.keys(_index275).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (key in exports && exports[key] === _index275[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _index275[key]; + }, + }); +}); +var _index276 = require("./fp/nextWednesday.cjs"); +Object.keys(_index276).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (key in exports && exports[key] === _index276[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _index276[key]; + }, + }); +}); +var _index277 = require("./fp/nextWednesdayWithOptions.cjs"); +Object.keys(_index277).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (key in exports && exports[key] === _index277[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _index277[key]; + }, + }); +}); +var _index278 = require("./fp/parse.cjs"); +Object.keys(_index278).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (key in exports && exports[key] === _index278[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _index278[key]; + }, + }); +}); +var _index279 = require("./fp/parseISO.cjs"); +Object.keys(_index279).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (key in exports && exports[key] === _index279[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _index279[key]; + }, + }); +}); +var _index280 = require("./fp/parseISOWithOptions.cjs"); +Object.keys(_index280).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (key in exports && exports[key] === _index280[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _index280[key]; + }, + }); +}); +var _index281 = require("./fp/parseJSON.cjs"); +Object.keys(_index281).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (key in exports && exports[key] === _index281[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _index281[key]; + }, + }); +}); +var _index282 = require("./fp/parseJSONWithOptions.cjs"); +Object.keys(_index282).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (key in exports && exports[key] === _index282[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _index282[key]; + }, + }); +}); +var _index283 = require("./fp/parseWithOptions.cjs"); +Object.keys(_index283).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (key in exports && exports[key] === _index283[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _index283[key]; + }, + }); +}); +var _index284 = require("./fp/previousDay.cjs"); +Object.keys(_index284).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (key in exports && exports[key] === _index284[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _index284[key]; + }, + }); +}); +var _index285 = require("./fp/previousDayWithOptions.cjs"); +Object.keys(_index285).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (key in exports && exports[key] === _index285[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _index285[key]; + }, + }); +}); +var _index286 = require("./fp/previousFriday.cjs"); +Object.keys(_index286).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (key in exports && exports[key] === _index286[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _index286[key]; + }, + }); +}); +var _index287 = require("./fp/previousFridayWithOptions.cjs"); +Object.keys(_index287).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (key in exports && exports[key] === _index287[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _index287[key]; + }, + }); +}); +var _index288 = require("./fp/previousMonday.cjs"); +Object.keys(_index288).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (key in exports && exports[key] === _index288[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _index288[key]; + }, + }); +}); +var _index289 = require("./fp/previousMondayWithOptions.cjs"); +Object.keys(_index289).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (key in exports && exports[key] === _index289[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _index289[key]; + }, + }); +}); +var _index290 = require("./fp/previousSaturday.cjs"); +Object.keys(_index290).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (key in exports && exports[key] === _index290[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _index290[key]; + }, + }); +}); +var _index291 = require("./fp/previousSaturdayWithOptions.cjs"); +Object.keys(_index291).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (key in exports && exports[key] === _index291[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _index291[key]; + }, + }); +}); +var _index292 = require("./fp/previousSunday.cjs"); +Object.keys(_index292).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (key in exports && exports[key] === _index292[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _index292[key]; + }, + }); +}); +var _index293 = require("./fp/previousSundayWithOptions.cjs"); +Object.keys(_index293).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (key in exports && exports[key] === _index293[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _index293[key]; + }, + }); +}); +var _index294 = require("./fp/previousThursday.cjs"); +Object.keys(_index294).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (key in exports && exports[key] === _index294[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _index294[key]; + }, + }); +}); +var _index295 = require("./fp/previousThursdayWithOptions.cjs"); +Object.keys(_index295).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (key in exports && exports[key] === _index295[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _index295[key]; + }, + }); +}); +var _index296 = require("./fp/previousTuesday.cjs"); +Object.keys(_index296).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (key in exports && exports[key] === _index296[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _index296[key]; + }, + }); +}); +var _index297 = require("./fp/previousTuesdayWithOptions.cjs"); +Object.keys(_index297).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (key in exports && exports[key] === _index297[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _index297[key]; + }, + }); +}); +var _index298 = require("./fp/previousWednesday.cjs"); +Object.keys(_index298).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (key in exports && exports[key] === _index298[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _index298[key]; + }, + }); +}); +var _index299 = require("./fp/previousWednesdayWithOptions.cjs"); +Object.keys(_index299).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (key in exports && exports[key] === _index299[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _index299[key]; + }, + }); +}); +var _index300 = require("./fp/quartersToMonths.cjs"); +Object.keys(_index300).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (key in exports && exports[key] === _index300[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _index300[key]; + }, + }); +}); +var _index301 = require("./fp/quartersToYears.cjs"); +Object.keys(_index301).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (key in exports && exports[key] === _index301[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _index301[key]; + }, + }); +}); +var _index302 = require("./fp/roundToNearestHours.cjs"); +Object.keys(_index302).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (key in exports && exports[key] === _index302[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _index302[key]; + }, + }); +}); +var _index303 = require("./fp/roundToNearestHoursWithOptions.cjs"); +Object.keys(_index303).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (key in exports && exports[key] === _index303[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _index303[key]; + }, + }); +}); +var _index304 = require("./fp/roundToNearestMinutes.cjs"); +Object.keys(_index304).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (key in exports && exports[key] === _index304[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _index304[key]; + }, + }); +}); +var _index305 = require("./fp/roundToNearestMinutesWithOptions.cjs"); +Object.keys(_index305).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (key in exports && exports[key] === _index305[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _index305[key]; + }, + }); +}); +var _index306 = require("./fp/secondsToHours.cjs"); +Object.keys(_index306).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (key in exports && exports[key] === _index306[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _index306[key]; + }, + }); +}); +var _index307 = require("./fp/secondsToMilliseconds.cjs"); +Object.keys(_index307).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (key in exports && exports[key] === _index307[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _index307[key]; + }, + }); +}); +var _index308 = require("./fp/secondsToMinutes.cjs"); +Object.keys(_index308).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (key in exports && exports[key] === _index308[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _index308[key]; + }, + }); +}); +var _index309 = require("./fp/set.cjs"); +Object.keys(_index309).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (key in exports && exports[key] === _index309[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _index309[key]; + }, + }); +}); +var _index310 = require("./fp/setDate.cjs"); +Object.keys(_index310).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (key in exports && exports[key] === _index310[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _index310[key]; + }, + }); +}); +var _index311 = require("./fp/setDateWithOptions.cjs"); +Object.keys(_index311).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (key in exports && exports[key] === _index311[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _index311[key]; + }, + }); +}); +var _index312 = require("./fp/setDay.cjs"); +Object.keys(_index312).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (key in exports && exports[key] === _index312[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _index312[key]; + }, + }); +}); +var _index313 = require("./fp/setDayOfYear.cjs"); +Object.keys(_index313).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (key in exports && exports[key] === _index313[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _index313[key]; + }, + }); +}); +var _index314 = require("./fp/setDayOfYearWithOptions.cjs"); +Object.keys(_index314).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (key in exports && exports[key] === _index314[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _index314[key]; + }, + }); +}); +var _index315 = require("./fp/setDayWithOptions.cjs"); +Object.keys(_index315).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (key in exports && exports[key] === _index315[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _index315[key]; + }, + }); +}); +var _index316 = require("./fp/setHours.cjs"); +Object.keys(_index316).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (key in exports && exports[key] === _index316[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _index316[key]; + }, + }); +}); +var _index317 = require("./fp/setHoursWithOptions.cjs"); +Object.keys(_index317).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (key in exports && exports[key] === _index317[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _index317[key]; + }, + }); +}); +var _index318 = require("./fp/setISODay.cjs"); +Object.keys(_index318).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (key in exports && exports[key] === _index318[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _index318[key]; + }, + }); +}); +var _index319 = require("./fp/setISODayWithOptions.cjs"); +Object.keys(_index319).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (key in exports && exports[key] === _index319[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _index319[key]; + }, + }); +}); +var _index320 = require("./fp/setISOWeek.cjs"); +Object.keys(_index320).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (key in exports && exports[key] === _index320[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _index320[key]; + }, + }); +}); +var _index321 = require("./fp/setISOWeekWithOptions.cjs"); +Object.keys(_index321).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (key in exports && exports[key] === _index321[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _index321[key]; + }, + }); +}); +var _index322 = require("./fp/setISOWeekYear.cjs"); +Object.keys(_index322).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (key in exports && exports[key] === _index322[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _index322[key]; + }, + }); +}); +var _index323 = require("./fp/setISOWeekYearWithOptions.cjs"); +Object.keys(_index323).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (key in exports && exports[key] === _index323[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _index323[key]; + }, + }); +}); +var _index324 = require("./fp/setMilliseconds.cjs"); +Object.keys(_index324).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (key in exports && exports[key] === _index324[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _index324[key]; + }, + }); +}); +var _index325 = require("./fp/setMillisecondsWithOptions.cjs"); +Object.keys(_index325).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (key in exports && exports[key] === _index325[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _index325[key]; + }, + }); +}); +var _index326 = require("./fp/setMinutes.cjs"); +Object.keys(_index326).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (key in exports && exports[key] === _index326[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _index326[key]; + }, + }); +}); +var _index327 = require("./fp/setMinutesWithOptions.cjs"); +Object.keys(_index327).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (key in exports && exports[key] === _index327[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _index327[key]; + }, + }); +}); +var _index328 = require("./fp/setMonth.cjs"); +Object.keys(_index328).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (key in exports && exports[key] === _index328[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _index328[key]; + }, + }); +}); +var _index329 = require("./fp/setMonthWithOptions.cjs"); +Object.keys(_index329).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (key in exports && exports[key] === _index329[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _index329[key]; + }, + }); +}); +var _index330 = require("./fp/setQuarter.cjs"); +Object.keys(_index330).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (key in exports && exports[key] === _index330[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _index330[key]; + }, + }); +}); +var _index331 = require("./fp/setQuarterWithOptions.cjs"); +Object.keys(_index331).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (key in exports && exports[key] === _index331[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _index331[key]; + }, + }); +}); +var _index332 = require("./fp/setSeconds.cjs"); +Object.keys(_index332).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (key in exports && exports[key] === _index332[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _index332[key]; + }, + }); +}); +var _index333 = require("./fp/setSecondsWithOptions.cjs"); +Object.keys(_index333).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (key in exports && exports[key] === _index333[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _index333[key]; + }, + }); +}); +var _index334 = require("./fp/setWeek.cjs"); +Object.keys(_index334).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (key in exports && exports[key] === _index334[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _index334[key]; + }, + }); +}); +var _index335 = require("./fp/setWeekWithOptions.cjs"); +Object.keys(_index335).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (key in exports && exports[key] === _index335[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _index335[key]; + }, + }); +}); +var _index336 = require("./fp/setWeekYear.cjs"); +Object.keys(_index336).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (key in exports && exports[key] === _index336[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _index336[key]; + }, + }); +}); +var _index337 = require("./fp/setWeekYearWithOptions.cjs"); +Object.keys(_index337).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (key in exports && exports[key] === _index337[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _index337[key]; + }, + }); +}); +var _index338 = require("./fp/setWithOptions.cjs"); +Object.keys(_index338).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (key in exports && exports[key] === _index338[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _index338[key]; + }, + }); +}); +var _index339 = require("./fp/setYear.cjs"); +Object.keys(_index339).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (key in exports && exports[key] === _index339[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _index339[key]; + }, + }); +}); +var _index340 = require("./fp/setYearWithOptions.cjs"); +Object.keys(_index340).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (key in exports && exports[key] === _index340[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _index340[key]; + }, + }); +}); +var _index341 = require("./fp/startOfDay.cjs"); +Object.keys(_index341).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (key in exports && exports[key] === _index341[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _index341[key]; + }, + }); +}); +var _index342 = require("./fp/startOfDayWithOptions.cjs"); +Object.keys(_index342).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (key in exports && exports[key] === _index342[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _index342[key]; + }, + }); +}); +var _index343 = require("./fp/startOfDecade.cjs"); +Object.keys(_index343).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (key in exports && exports[key] === _index343[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _index343[key]; + }, + }); +}); +var _index344 = require("./fp/startOfDecadeWithOptions.cjs"); +Object.keys(_index344).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (key in exports && exports[key] === _index344[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _index344[key]; + }, + }); +}); +var _index345 = require("./fp/startOfHour.cjs"); +Object.keys(_index345).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (key in exports && exports[key] === _index345[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _index345[key]; + }, + }); +}); +var _index346 = require("./fp/startOfHourWithOptions.cjs"); +Object.keys(_index346).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (key in exports && exports[key] === _index346[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _index346[key]; + }, + }); +}); +var _index347 = require("./fp/startOfISOWeek.cjs"); +Object.keys(_index347).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (key in exports && exports[key] === _index347[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _index347[key]; + }, + }); +}); +var _index348 = require("./fp/startOfISOWeekWithOptions.cjs"); +Object.keys(_index348).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (key in exports && exports[key] === _index348[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _index348[key]; + }, + }); +}); +var _index349 = require("./fp/startOfISOWeekYear.cjs"); +Object.keys(_index349).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (key in exports && exports[key] === _index349[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _index349[key]; + }, + }); +}); +var _index350 = require("./fp/startOfISOWeekYearWithOptions.cjs"); +Object.keys(_index350).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (key in exports && exports[key] === _index350[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _index350[key]; + }, + }); +}); +var _index351 = require("./fp/startOfMinute.cjs"); +Object.keys(_index351).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (key in exports && exports[key] === _index351[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _index351[key]; + }, + }); +}); +var _index352 = require("./fp/startOfMinuteWithOptions.cjs"); +Object.keys(_index352).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (key in exports && exports[key] === _index352[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _index352[key]; + }, + }); +}); +var _index353 = require("./fp/startOfMonth.cjs"); +Object.keys(_index353).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (key in exports && exports[key] === _index353[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _index353[key]; + }, + }); +}); +var _index354 = require("./fp/startOfMonthWithOptions.cjs"); +Object.keys(_index354).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (key in exports && exports[key] === _index354[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _index354[key]; + }, + }); +}); +var _index355 = require("./fp/startOfQuarter.cjs"); +Object.keys(_index355).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (key in exports && exports[key] === _index355[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _index355[key]; + }, + }); +}); +var _index356 = require("./fp/startOfQuarterWithOptions.cjs"); +Object.keys(_index356).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (key in exports && exports[key] === _index356[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _index356[key]; + }, + }); +}); +var _index357 = require("./fp/startOfSecond.cjs"); +Object.keys(_index357).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (key in exports && exports[key] === _index357[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _index357[key]; + }, + }); +}); +var _index358 = require("./fp/startOfSecondWithOptions.cjs"); +Object.keys(_index358).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (key in exports && exports[key] === _index358[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _index358[key]; + }, + }); +}); +var _index359 = require("./fp/startOfWeek.cjs"); +Object.keys(_index359).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (key in exports && exports[key] === _index359[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _index359[key]; + }, + }); +}); +var _index360 = require("./fp/startOfWeekWithOptions.cjs"); +Object.keys(_index360).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (key in exports && exports[key] === _index360[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _index360[key]; + }, + }); +}); +var _index361 = require("./fp/startOfWeekYear.cjs"); +Object.keys(_index361).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (key in exports && exports[key] === _index361[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _index361[key]; + }, + }); +}); +var _index362 = require("./fp/startOfWeekYearWithOptions.cjs"); +Object.keys(_index362).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (key in exports && exports[key] === _index362[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _index362[key]; + }, + }); +}); +var _index363 = require("./fp/startOfYear.cjs"); +Object.keys(_index363).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (key in exports && exports[key] === _index363[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _index363[key]; + }, + }); +}); +var _index364 = require("./fp/startOfYearWithOptions.cjs"); +Object.keys(_index364).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (key in exports && exports[key] === _index364[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _index364[key]; + }, + }); +}); +var _index365 = require("./fp/sub.cjs"); +Object.keys(_index365).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (key in exports && exports[key] === _index365[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _index365[key]; + }, + }); +}); +var _index366 = require("./fp/subBusinessDays.cjs"); +Object.keys(_index366).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (key in exports && exports[key] === _index366[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _index366[key]; + }, + }); +}); +var _index367 = require("./fp/subBusinessDaysWithOptions.cjs"); +Object.keys(_index367).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (key in exports && exports[key] === _index367[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _index367[key]; + }, + }); +}); +var _index368 = require("./fp/subDays.cjs"); +Object.keys(_index368).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (key in exports && exports[key] === _index368[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _index368[key]; + }, + }); +}); +var _index369 = require("./fp/subDaysWithOptions.cjs"); +Object.keys(_index369).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (key in exports && exports[key] === _index369[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _index369[key]; + }, + }); +}); +var _index370 = require("./fp/subHours.cjs"); +Object.keys(_index370).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (key in exports && exports[key] === _index370[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _index370[key]; + }, + }); +}); +var _index371 = require("./fp/subHoursWithOptions.cjs"); +Object.keys(_index371).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (key in exports && exports[key] === _index371[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _index371[key]; + }, + }); +}); +var _index372 = require("./fp/subISOWeekYears.cjs"); +Object.keys(_index372).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (key in exports && exports[key] === _index372[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _index372[key]; + }, + }); +}); +var _index373 = require("./fp/subISOWeekYearsWithOptions.cjs"); +Object.keys(_index373).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (key in exports && exports[key] === _index373[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _index373[key]; + }, + }); +}); +var _index374 = require("./fp/subMilliseconds.cjs"); +Object.keys(_index374).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (key in exports && exports[key] === _index374[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _index374[key]; + }, + }); +}); +var _index375 = require("./fp/subMillisecondsWithOptions.cjs"); +Object.keys(_index375).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (key in exports && exports[key] === _index375[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _index375[key]; + }, + }); +}); +var _index376 = require("./fp/subMinutes.cjs"); +Object.keys(_index376).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (key in exports && exports[key] === _index376[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _index376[key]; + }, + }); +}); +var _index377 = require("./fp/subMinutesWithOptions.cjs"); +Object.keys(_index377).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (key in exports && exports[key] === _index377[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _index377[key]; + }, + }); +}); +var _index378 = require("./fp/subMonths.cjs"); +Object.keys(_index378).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (key in exports && exports[key] === _index378[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _index378[key]; + }, + }); +}); +var _index379 = require("./fp/subMonthsWithOptions.cjs"); +Object.keys(_index379).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (key in exports && exports[key] === _index379[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _index379[key]; + }, + }); +}); +var _index380 = require("./fp/subQuarters.cjs"); +Object.keys(_index380).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (key in exports && exports[key] === _index380[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _index380[key]; + }, + }); +}); +var _index381 = require("./fp/subQuartersWithOptions.cjs"); +Object.keys(_index381).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (key in exports && exports[key] === _index381[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _index381[key]; + }, + }); +}); +var _index382 = require("./fp/subSeconds.cjs"); +Object.keys(_index382).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (key in exports && exports[key] === _index382[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _index382[key]; + }, + }); +}); +var _index383 = require("./fp/subSecondsWithOptions.cjs"); +Object.keys(_index383).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (key in exports && exports[key] === _index383[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _index383[key]; + }, + }); +}); +var _index384 = require("./fp/subWeeks.cjs"); +Object.keys(_index384).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (key in exports && exports[key] === _index384[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _index384[key]; + }, + }); +}); +var _index385 = require("./fp/subWeeksWithOptions.cjs"); +Object.keys(_index385).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (key in exports && exports[key] === _index385[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _index385[key]; + }, + }); +}); +var _index386 = require("./fp/subWithOptions.cjs"); +Object.keys(_index386).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (key in exports && exports[key] === _index386[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _index386[key]; + }, + }); +}); +var _index387 = require("./fp/subYears.cjs"); +Object.keys(_index387).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (key in exports && exports[key] === _index387[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _index387[key]; + }, + }); +}); +var _index388 = require("./fp/subYearsWithOptions.cjs"); +Object.keys(_index388).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (key in exports && exports[key] === _index388[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _index388[key]; + }, + }); +}); +var _index389 = require("./fp/toDate.cjs"); +Object.keys(_index389).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (key in exports && exports[key] === _index389[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _index389[key]; + }, + }); +}); +var _index390 = require("./fp/transpose.cjs"); +Object.keys(_index390).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (key in exports && exports[key] === _index390[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _index390[key]; + }, + }); +}); +var _index391 = require("./fp/weeksToDays.cjs"); +Object.keys(_index391).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (key in exports && exports[key] === _index391[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _index391[key]; + }, + }); +}); +var _index392 = require("./fp/yearsToDays.cjs"); +Object.keys(_index392).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (key in exports && exports[key] === _index392[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _index392[key]; + }, + }); +}); +var _index393 = require("./fp/yearsToMonths.cjs"); +Object.keys(_index393).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (key in exports && exports[key] === _index393[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _index393[key]; + }, + }); +}); +var _index394 = require("./fp/yearsToQuarters.cjs"); +Object.keys(_index394).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (key in exports && exports[key] === _index394[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _index394[key]; + }, + }); +}); diff --git a/node_modules/date-fns/fp.d.cts b/node_modules/date-fns/fp.d.cts new file mode 100644 index 0000000000000000000000000000000000000000..2194a40fa76d32b466416642c704aeb5130da71c --- /dev/null +++ b/node_modules/date-fns/fp.d.cts @@ -0,0 +1,397 @@ +export * from "./fp/add.ts"; +export * from "./fp/addBusinessDays.ts"; +export * from "./fp/addBusinessDaysWithOptions.ts"; +export * from "./fp/addDays.ts"; +export * from "./fp/addDaysWithOptions.ts"; +export * from "./fp/addHours.ts"; +export * from "./fp/addHoursWithOptions.ts"; +export * from "./fp/addISOWeekYears.ts"; +export * from "./fp/addISOWeekYearsWithOptions.ts"; +export * from "./fp/addMilliseconds.ts"; +export * from "./fp/addMillisecondsWithOptions.ts"; +export * from "./fp/addMinutes.ts"; +export * from "./fp/addMinutesWithOptions.ts"; +export * from "./fp/addMonths.ts"; +export * from "./fp/addMonthsWithOptions.ts"; +export * from "./fp/addQuarters.ts"; +export * from "./fp/addQuartersWithOptions.ts"; +export * from "./fp/addSeconds.ts"; +export * from "./fp/addSecondsWithOptions.ts"; +export * from "./fp/addWeeks.ts"; +export * from "./fp/addWeeksWithOptions.ts"; +export * from "./fp/addWithOptions.ts"; +export * from "./fp/addYears.ts"; +export * from "./fp/addYearsWithOptions.ts"; +export * from "./fp/areIntervalsOverlapping.ts"; +export * from "./fp/areIntervalsOverlappingWithOptions.ts"; +export * from "./fp/clamp.ts"; +export * from "./fp/clampWithOptions.ts"; +export * from "./fp/closestIndexTo.ts"; +export * from "./fp/closestTo.ts"; +export * from "./fp/closestToWithOptions.ts"; +export * from "./fp/compareAsc.ts"; +export * from "./fp/compareDesc.ts"; +export * from "./fp/constructFrom.ts"; +export * from "./fp/daysToWeeks.ts"; +export * from "./fp/differenceInBusinessDays.ts"; +export * from "./fp/differenceInBusinessDaysWithOptions.ts"; +export * from "./fp/differenceInCalendarDays.ts"; +export * from "./fp/differenceInCalendarDaysWithOptions.ts"; +export * from "./fp/differenceInCalendarISOWeekYears.ts"; +export * from "./fp/differenceInCalendarISOWeekYearsWithOptions.ts"; +export * from "./fp/differenceInCalendarISOWeeks.ts"; +export * from "./fp/differenceInCalendarISOWeeksWithOptions.ts"; +export * from "./fp/differenceInCalendarMonths.ts"; +export * from "./fp/differenceInCalendarMonthsWithOptions.ts"; +export * from "./fp/differenceInCalendarQuarters.ts"; +export * from "./fp/differenceInCalendarQuartersWithOptions.ts"; +export * from "./fp/differenceInCalendarWeeks.ts"; +export * from "./fp/differenceInCalendarWeeksWithOptions.ts"; +export * from "./fp/differenceInCalendarYears.ts"; +export * from "./fp/differenceInCalendarYearsWithOptions.ts"; +export * from "./fp/differenceInDays.ts"; +export * from "./fp/differenceInDaysWithOptions.ts"; +export * from "./fp/differenceInHours.ts"; +export * from "./fp/differenceInHoursWithOptions.ts"; +export * from "./fp/differenceInISOWeekYears.ts"; +export * from "./fp/differenceInISOWeekYearsWithOptions.ts"; +export * from "./fp/differenceInMilliseconds.ts"; +export * from "./fp/differenceInMinutes.ts"; +export * from "./fp/differenceInMinutesWithOptions.ts"; +export * from "./fp/differenceInMonths.ts"; +export * from "./fp/differenceInMonthsWithOptions.ts"; +export * from "./fp/differenceInQuarters.ts"; +export * from "./fp/differenceInQuartersWithOptions.ts"; +export * from "./fp/differenceInSeconds.ts"; +export * from "./fp/differenceInSecondsWithOptions.ts"; +export * from "./fp/differenceInWeeks.ts"; +export * from "./fp/differenceInWeeksWithOptions.ts"; +export * from "./fp/differenceInYears.ts"; +export * from "./fp/differenceInYearsWithOptions.ts"; +export * from "./fp/eachDayOfInterval.ts"; +export * from "./fp/eachDayOfIntervalWithOptions.ts"; +export * from "./fp/eachHourOfInterval.ts"; +export * from "./fp/eachHourOfIntervalWithOptions.ts"; +export * from "./fp/eachMinuteOfInterval.ts"; +export * from "./fp/eachMinuteOfIntervalWithOptions.ts"; +export * from "./fp/eachMonthOfInterval.ts"; +export * from "./fp/eachMonthOfIntervalWithOptions.ts"; +export * from "./fp/eachQuarterOfInterval.ts"; +export * from "./fp/eachQuarterOfIntervalWithOptions.ts"; +export * from "./fp/eachWeekOfInterval.ts"; +export * from "./fp/eachWeekOfIntervalWithOptions.ts"; +export * from "./fp/eachWeekendOfInterval.ts"; +export * from "./fp/eachWeekendOfIntervalWithOptions.ts"; +export * from "./fp/eachWeekendOfMonth.ts"; +export * from "./fp/eachWeekendOfMonthWithOptions.ts"; +export * from "./fp/eachWeekendOfYear.ts"; +export * from "./fp/eachWeekendOfYearWithOptions.ts"; +export * from "./fp/eachYearOfInterval.ts"; +export * from "./fp/eachYearOfIntervalWithOptions.ts"; +export * from "./fp/endOfDay.ts"; +export * from "./fp/endOfDayWithOptions.ts"; +export * from "./fp/endOfDecade.ts"; +export * from "./fp/endOfDecadeWithOptions.ts"; +export * from "./fp/endOfHour.ts"; +export * from "./fp/endOfHourWithOptions.ts"; +export * from "./fp/endOfISOWeek.ts"; +export * from "./fp/endOfISOWeekWithOptions.ts"; +export * from "./fp/endOfISOWeekYear.ts"; +export * from "./fp/endOfISOWeekYearWithOptions.ts"; +export * from "./fp/endOfMinute.ts"; +export * from "./fp/endOfMinuteWithOptions.ts"; +export * from "./fp/endOfMonth.ts"; +export * from "./fp/endOfMonthWithOptions.ts"; +export * from "./fp/endOfQuarter.ts"; +export * from "./fp/endOfQuarterWithOptions.ts"; +export * from "./fp/endOfSecond.ts"; +export * from "./fp/endOfSecondWithOptions.ts"; +export * from "./fp/endOfWeek.ts"; +export * from "./fp/endOfWeekWithOptions.ts"; +export * from "./fp/endOfYear.ts"; +export * from "./fp/endOfYearWithOptions.ts"; +export * from "./fp/format.ts"; +export * from "./fp/formatDistance.ts"; +export * from "./fp/formatDistanceStrict.ts"; +export * from "./fp/formatDistanceStrictWithOptions.ts"; +export * from "./fp/formatDistanceWithOptions.ts"; +export * from "./fp/formatDuration.ts"; +export * from "./fp/formatDurationWithOptions.ts"; +export * from "./fp/formatISO.ts"; +export * from "./fp/formatISO9075.ts"; +export * from "./fp/formatISO9075WithOptions.ts"; +export * from "./fp/formatISODuration.ts"; +export * from "./fp/formatISOWithOptions.ts"; +export * from "./fp/formatRFC3339.ts"; +export * from "./fp/formatRFC3339WithOptions.ts"; +export * from "./fp/formatRFC7231.ts"; +export * from "./fp/formatRelative.ts"; +export * from "./fp/formatRelativeWithOptions.ts"; +export * from "./fp/formatWithOptions.ts"; +export * from "./fp/fromUnixTime.ts"; +export * from "./fp/fromUnixTimeWithOptions.ts"; +export * from "./fp/getDate.ts"; +export * from "./fp/getDateWithOptions.ts"; +export * from "./fp/getDay.ts"; +export * from "./fp/getDayOfYear.ts"; +export * from "./fp/getDayOfYearWithOptions.ts"; +export * from "./fp/getDayWithOptions.ts"; +export * from "./fp/getDaysInMonth.ts"; +export * from "./fp/getDaysInMonthWithOptions.ts"; +export * from "./fp/getDaysInYear.ts"; +export * from "./fp/getDaysInYearWithOptions.ts"; +export * from "./fp/getDecade.ts"; +export * from "./fp/getDecadeWithOptions.ts"; +export * from "./fp/getHours.ts"; +export * from "./fp/getHoursWithOptions.ts"; +export * from "./fp/getISODay.ts"; +export * from "./fp/getISODayWithOptions.ts"; +export * from "./fp/getISOWeek.ts"; +export * from "./fp/getISOWeekWithOptions.ts"; +export * from "./fp/getISOWeekYear.ts"; +export * from "./fp/getISOWeekYearWithOptions.ts"; +export * from "./fp/getISOWeeksInYear.ts"; +export * from "./fp/getISOWeeksInYearWithOptions.ts"; +export * from "./fp/getMilliseconds.ts"; +export * from "./fp/getMinutes.ts"; +export * from "./fp/getMinutesWithOptions.ts"; +export * from "./fp/getMonth.ts"; +export * from "./fp/getMonthWithOptions.ts"; +export * from "./fp/getOverlappingDaysInIntervals.ts"; +export * from "./fp/getQuarter.ts"; +export * from "./fp/getQuarterWithOptions.ts"; +export * from "./fp/getSeconds.ts"; +export * from "./fp/getTime.ts"; +export * from "./fp/getUnixTime.ts"; +export * from "./fp/getWeek.ts"; +export * from "./fp/getWeekOfMonth.ts"; +export * from "./fp/getWeekOfMonthWithOptions.ts"; +export * from "./fp/getWeekWithOptions.ts"; +export * from "./fp/getWeekYear.ts"; +export * from "./fp/getWeekYearWithOptions.ts"; +export * from "./fp/getWeeksInMonth.ts"; +export * from "./fp/getWeeksInMonthWithOptions.ts"; +export * from "./fp/getYear.ts"; +export * from "./fp/getYearWithOptions.ts"; +export * from "./fp/hoursToMilliseconds.ts"; +export * from "./fp/hoursToMinutes.ts"; +export * from "./fp/hoursToSeconds.ts"; +export * from "./fp/interval.ts"; +export * from "./fp/intervalToDuration.ts"; +export * from "./fp/intervalToDurationWithOptions.ts"; +export * from "./fp/intervalWithOptions.ts"; +export * from "./fp/intlFormat.ts"; +export * from "./fp/intlFormatDistance.ts"; +export * from "./fp/intlFormatDistanceWithOptions.ts"; +export * from "./fp/isAfter.ts"; +export * from "./fp/isBefore.ts"; +export * from "./fp/isDate.ts"; +export * from "./fp/isEqual.ts"; +export * from "./fp/isExists.ts"; +export * from "./fp/isFirstDayOfMonth.ts"; +export * from "./fp/isFirstDayOfMonthWithOptions.ts"; +export * from "./fp/isFriday.ts"; +export * from "./fp/isFridayWithOptions.ts"; +export * from "./fp/isLastDayOfMonth.ts"; +export * from "./fp/isLastDayOfMonthWithOptions.ts"; +export * from "./fp/isLeapYear.ts"; +export * from "./fp/isLeapYearWithOptions.ts"; +export * from "./fp/isMatch.ts"; +export * from "./fp/isMatchWithOptions.ts"; +export * from "./fp/isMonday.ts"; +export * from "./fp/isMondayWithOptions.ts"; +export * from "./fp/isSameDay.ts"; +export * from "./fp/isSameDayWithOptions.ts"; +export * from "./fp/isSameHour.ts"; +export * from "./fp/isSameHourWithOptions.ts"; +export * from "./fp/isSameISOWeek.ts"; +export * from "./fp/isSameISOWeekWithOptions.ts"; +export * from "./fp/isSameISOWeekYear.ts"; +export * from "./fp/isSameISOWeekYearWithOptions.ts"; +export * from "./fp/isSameMinute.ts"; +export * from "./fp/isSameMonth.ts"; +export * from "./fp/isSameMonthWithOptions.ts"; +export * from "./fp/isSameQuarter.ts"; +export * from "./fp/isSameQuarterWithOptions.ts"; +export * from "./fp/isSameSecond.ts"; +export * from "./fp/isSameWeek.ts"; +export * from "./fp/isSameWeekWithOptions.ts"; +export * from "./fp/isSameYear.ts"; +export * from "./fp/isSameYearWithOptions.ts"; +export * from "./fp/isSaturday.ts"; +export * from "./fp/isSaturdayWithOptions.ts"; +export * from "./fp/isSunday.ts"; +export * from "./fp/isSundayWithOptions.ts"; +export * from "./fp/isThursday.ts"; +export * from "./fp/isThursdayWithOptions.ts"; +export * from "./fp/isTuesday.ts"; +export * from "./fp/isTuesdayWithOptions.ts"; +export * from "./fp/isValid.ts"; +export * from "./fp/isWednesday.ts"; +export * from "./fp/isWednesdayWithOptions.ts"; +export * from "./fp/isWeekend.ts"; +export * from "./fp/isWeekendWithOptions.ts"; +export * from "./fp/isWithinInterval.ts"; +export * from "./fp/isWithinIntervalWithOptions.ts"; +export * from "./fp/lastDayOfDecade.ts"; +export * from "./fp/lastDayOfDecadeWithOptions.ts"; +export * from "./fp/lastDayOfISOWeek.ts"; +export * from "./fp/lastDayOfISOWeekWithOptions.ts"; +export * from "./fp/lastDayOfISOWeekYear.ts"; +export * from "./fp/lastDayOfISOWeekYearWithOptions.ts"; +export * from "./fp/lastDayOfMonth.ts"; +export * from "./fp/lastDayOfMonthWithOptions.ts"; +export * from "./fp/lastDayOfQuarter.ts"; +export * from "./fp/lastDayOfQuarterWithOptions.ts"; +export * from "./fp/lastDayOfWeek.ts"; +export * from "./fp/lastDayOfWeekWithOptions.ts"; +export * from "./fp/lastDayOfYear.ts"; +export * from "./fp/lastDayOfYearWithOptions.ts"; +export * from "./fp/lightFormat.ts"; +export * from "./fp/max.ts"; +export * from "./fp/maxWithOptions.ts"; +export * from "./fp/milliseconds.ts"; +export * from "./fp/millisecondsToHours.ts"; +export * from "./fp/millisecondsToMinutes.ts"; +export * from "./fp/millisecondsToSeconds.ts"; +export * from "./fp/min.ts"; +export * from "./fp/minWithOptions.ts"; +export * from "./fp/minutesToHours.ts"; +export * from "./fp/minutesToMilliseconds.ts"; +export * from "./fp/minutesToSeconds.ts"; +export * from "./fp/monthsToQuarters.ts"; +export * from "./fp/monthsToYears.ts"; +export * from "./fp/nextDay.ts"; +export * from "./fp/nextDayWithOptions.ts"; +export * from "./fp/nextFriday.ts"; +export * from "./fp/nextFridayWithOptions.ts"; +export * from "./fp/nextMonday.ts"; +export * from "./fp/nextMondayWithOptions.ts"; +export * from "./fp/nextSaturday.ts"; +export * from "./fp/nextSaturdayWithOptions.ts"; +export * from "./fp/nextSunday.ts"; +export * from "./fp/nextSundayWithOptions.ts"; +export * from "./fp/nextThursday.ts"; +export * from "./fp/nextThursdayWithOptions.ts"; +export * from "./fp/nextTuesday.ts"; +export * from "./fp/nextTuesdayWithOptions.ts"; +export * from "./fp/nextWednesday.ts"; +export * from "./fp/nextWednesdayWithOptions.ts"; +export * from "./fp/parse.ts"; +export * from "./fp/parseISO.ts"; +export * from "./fp/parseISOWithOptions.ts"; +export * from "./fp/parseJSON.ts"; +export * from "./fp/parseJSONWithOptions.ts"; +export * from "./fp/parseWithOptions.ts"; +export * from "./fp/previousDay.ts"; +export * from "./fp/previousDayWithOptions.ts"; +export * from "./fp/previousFriday.ts"; +export * from "./fp/previousFridayWithOptions.ts"; +export * from "./fp/previousMonday.ts"; +export * from "./fp/previousMondayWithOptions.ts"; +export * from "./fp/previousSaturday.ts"; +export * from "./fp/previousSaturdayWithOptions.ts"; +export * from "./fp/previousSunday.ts"; +export * from "./fp/previousSundayWithOptions.ts"; +export * from "./fp/previousThursday.ts"; +export * from "./fp/previousThursdayWithOptions.ts"; +export * from "./fp/previousTuesday.ts"; +export * from "./fp/previousTuesdayWithOptions.ts"; +export * from "./fp/previousWednesday.ts"; +export * from "./fp/previousWednesdayWithOptions.ts"; +export * from "./fp/quartersToMonths.ts"; +export * from "./fp/quartersToYears.ts"; +export * from "./fp/roundToNearestHours.ts"; +export * from "./fp/roundToNearestHoursWithOptions.ts"; +export * from "./fp/roundToNearestMinutes.ts"; +export * from "./fp/roundToNearestMinutesWithOptions.ts"; +export * from "./fp/secondsToHours.ts"; +export * from "./fp/secondsToMilliseconds.ts"; +export * from "./fp/secondsToMinutes.ts"; +export * from "./fp/set.ts"; +export * from "./fp/setDate.ts"; +export * from "./fp/setDateWithOptions.ts"; +export * from "./fp/setDay.ts"; +export * from "./fp/setDayOfYear.ts"; +export * from "./fp/setDayOfYearWithOptions.ts"; +export * from "./fp/setDayWithOptions.ts"; +export * from "./fp/setHours.ts"; +export * from "./fp/setHoursWithOptions.ts"; +export * from "./fp/setISODay.ts"; +export * from "./fp/setISODayWithOptions.ts"; +export * from "./fp/setISOWeek.ts"; +export * from "./fp/setISOWeekWithOptions.ts"; +export * from "./fp/setISOWeekYear.ts"; +export * from "./fp/setISOWeekYearWithOptions.ts"; +export * from "./fp/setMilliseconds.ts"; +export * from "./fp/setMillisecondsWithOptions.ts"; +export * from "./fp/setMinutes.ts"; +export * from "./fp/setMinutesWithOptions.ts"; +export * from "./fp/setMonth.ts"; +export * from "./fp/setMonthWithOptions.ts"; +export * from "./fp/setQuarter.ts"; +export * from "./fp/setQuarterWithOptions.ts"; +export * from "./fp/setSeconds.ts"; +export * from "./fp/setSecondsWithOptions.ts"; +export * from "./fp/setWeek.ts"; +export * from "./fp/setWeekWithOptions.ts"; +export * from "./fp/setWeekYear.ts"; +export * from "./fp/setWeekYearWithOptions.ts"; +export * from "./fp/setWithOptions.ts"; +export * from "./fp/setYear.ts"; +export * from "./fp/setYearWithOptions.ts"; +export * from "./fp/startOfDay.ts"; +export * from "./fp/startOfDayWithOptions.ts"; +export * from "./fp/startOfDecade.ts"; +export * from "./fp/startOfDecadeWithOptions.ts"; +export * from "./fp/startOfHour.ts"; +export * from "./fp/startOfHourWithOptions.ts"; +export * from "./fp/startOfISOWeek.ts"; +export * from "./fp/startOfISOWeekWithOptions.ts"; +export * from "./fp/startOfISOWeekYear.ts"; +export * from "./fp/startOfISOWeekYearWithOptions.ts"; +export * from "./fp/startOfMinute.ts"; +export * from "./fp/startOfMinuteWithOptions.ts"; +export * from "./fp/startOfMonth.ts"; +export * from "./fp/startOfMonthWithOptions.ts"; +export * from "./fp/startOfQuarter.ts"; +export * from "./fp/startOfQuarterWithOptions.ts"; +export * from "./fp/startOfSecond.ts"; +export * from "./fp/startOfSecondWithOptions.ts"; +export * from "./fp/startOfWeek.ts"; +export * from "./fp/startOfWeekWithOptions.ts"; +export * from "./fp/startOfWeekYear.ts"; +export * from "./fp/startOfWeekYearWithOptions.ts"; +export * from "./fp/startOfYear.ts"; +export * from "./fp/startOfYearWithOptions.ts"; +export * from "./fp/sub.ts"; +export * from "./fp/subBusinessDays.ts"; +export * from "./fp/subBusinessDaysWithOptions.ts"; +export * from "./fp/subDays.ts"; +export * from "./fp/subDaysWithOptions.ts"; +export * from "./fp/subHours.ts"; +export * from "./fp/subHoursWithOptions.ts"; +export * from "./fp/subISOWeekYears.ts"; +export * from "./fp/subISOWeekYearsWithOptions.ts"; +export * from "./fp/subMilliseconds.ts"; +export * from "./fp/subMillisecondsWithOptions.ts"; +export * from "./fp/subMinutes.ts"; +export * from "./fp/subMinutesWithOptions.ts"; +export * from "./fp/subMonths.ts"; +export * from "./fp/subMonthsWithOptions.ts"; +export * from "./fp/subQuarters.ts"; +export * from "./fp/subQuartersWithOptions.ts"; +export * from "./fp/subSeconds.ts"; +export * from "./fp/subSecondsWithOptions.ts"; +export * from "./fp/subWeeks.ts"; +export * from "./fp/subWeeksWithOptions.ts"; +export * from "./fp/subWithOptions.ts"; +export * from "./fp/subYears.ts"; +export * from "./fp/subYearsWithOptions.ts"; +export * from "./fp/toDate.ts"; +export * from "./fp/transpose.ts"; +export * from "./fp/weeksToDays.ts"; +export * from "./fp/yearsToDays.ts"; +export * from "./fp/yearsToMonths.ts"; +export * from "./fp/yearsToQuarters.ts"; +export type * from "./types.ts"; diff --git a/node_modules/date-fns/fp.d.ts b/node_modules/date-fns/fp.d.ts new file mode 100644 index 0000000000000000000000000000000000000000..2194a40fa76d32b466416642c704aeb5130da71c --- /dev/null +++ b/node_modules/date-fns/fp.d.ts @@ -0,0 +1,397 @@ +export * from "./fp/add.ts"; +export * from "./fp/addBusinessDays.ts"; +export * from "./fp/addBusinessDaysWithOptions.ts"; +export * from "./fp/addDays.ts"; +export * from "./fp/addDaysWithOptions.ts"; +export * from "./fp/addHours.ts"; +export * from "./fp/addHoursWithOptions.ts"; +export * from "./fp/addISOWeekYears.ts"; +export * from "./fp/addISOWeekYearsWithOptions.ts"; +export * from "./fp/addMilliseconds.ts"; +export * from "./fp/addMillisecondsWithOptions.ts"; +export * from "./fp/addMinutes.ts"; +export * from "./fp/addMinutesWithOptions.ts"; +export * from "./fp/addMonths.ts"; +export * from "./fp/addMonthsWithOptions.ts"; +export * from "./fp/addQuarters.ts"; +export * from "./fp/addQuartersWithOptions.ts"; +export * from "./fp/addSeconds.ts"; +export * from "./fp/addSecondsWithOptions.ts"; +export * from "./fp/addWeeks.ts"; +export * from "./fp/addWeeksWithOptions.ts"; +export * from "./fp/addWithOptions.ts"; +export * from "./fp/addYears.ts"; +export * from "./fp/addYearsWithOptions.ts"; +export * from "./fp/areIntervalsOverlapping.ts"; +export * from "./fp/areIntervalsOverlappingWithOptions.ts"; +export * from "./fp/clamp.ts"; +export * from "./fp/clampWithOptions.ts"; +export * from "./fp/closestIndexTo.ts"; +export * from "./fp/closestTo.ts"; +export * from "./fp/closestToWithOptions.ts"; +export * from "./fp/compareAsc.ts"; +export * from "./fp/compareDesc.ts"; +export * from "./fp/constructFrom.ts"; +export * from "./fp/daysToWeeks.ts"; +export * from "./fp/differenceInBusinessDays.ts"; +export * from "./fp/differenceInBusinessDaysWithOptions.ts"; +export * from "./fp/differenceInCalendarDays.ts"; +export * from "./fp/differenceInCalendarDaysWithOptions.ts"; +export * from "./fp/differenceInCalendarISOWeekYears.ts"; +export * from "./fp/differenceInCalendarISOWeekYearsWithOptions.ts"; +export * from "./fp/differenceInCalendarISOWeeks.ts"; +export * from "./fp/differenceInCalendarISOWeeksWithOptions.ts"; +export * from "./fp/differenceInCalendarMonths.ts"; +export * from "./fp/differenceInCalendarMonthsWithOptions.ts"; +export * from "./fp/differenceInCalendarQuarters.ts"; +export * from "./fp/differenceInCalendarQuartersWithOptions.ts"; +export * from "./fp/differenceInCalendarWeeks.ts"; +export * from "./fp/differenceInCalendarWeeksWithOptions.ts"; +export * from "./fp/differenceInCalendarYears.ts"; +export * from "./fp/differenceInCalendarYearsWithOptions.ts"; +export * from "./fp/differenceInDays.ts"; +export * from "./fp/differenceInDaysWithOptions.ts"; +export * from "./fp/differenceInHours.ts"; +export * from "./fp/differenceInHoursWithOptions.ts"; +export * from "./fp/differenceInISOWeekYears.ts"; +export * from "./fp/differenceInISOWeekYearsWithOptions.ts"; +export * from "./fp/differenceInMilliseconds.ts"; +export * from "./fp/differenceInMinutes.ts"; +export * from "./fp/differenceInMinutesWithOptions.ts"; +export * from "./fp/differenceInMonths.ts"; +export * from "./fp/differenceInMonthsWithOptions.ts"; +export * from "./fp/differenceInQuarters.ts"; +export * from "./fp/differenceInQuartersWithOptions.ts"; +export * from "./fp/differenceInSeconds.ts"; +export * from "./fp/differenceInSecondsWithOptions.ts"; +export * from "./fp/differenceInWeeks.ts"; +export * from "./fp/differenceInWeeksWithOptions.ts"; +export * from "./fp/differenceInYears.ts"; +export * from "./fp/differenceInYearsWithOptions.ts"; +export * from "./fp/eachDayOfInterval.ts"; +export * from "./fp/eachDayOfIntervalWithOptions.ts"; +export * from "./fp/eachHourOfInterval.ts"; +export * from "./fp/eachHourOfIntervalWithOptions.ts"; +export * from "./fp/eachMinuteOfInterval.ts"; +export * from "./fp/eachMinuteOfIntervalWithOptions.ts"; +export * from "./fp/eachMonthOfInterval.ts"; +export * from "./fp/eachMonthOfIntervalWithOptions.ts"; +export * from "./fp/eachQuarterOfInterval.ts"; +export * from "./fp/eachQuarterOfIntervalWithOptions.ts"; +export * from "./fp/eachWeekOfInterval.ts"; +export * from "./fp/eachWeekOfIntervalWithOptions.ts"; +export * from "./fp/eachWeekendOfInterval.ts"; +export * from "./fp/eachWeekendOfIntervalWithOptions.ts"; +export * from "./fp/eachWeekendOfMonth.ts"; +export * from "./fp/eachWeekendOfMonthWithOptions.ts"; +export * from "./fp/eachWeekendOfYear.ts"; +export * from "./fp/eachWeekendOfYearWithOptions.ts"; +export * from "./fp/eachYearOfInterval.ts"; +export * from "./fp/eachYearOfIntervalWithOptions.ts"; +export * from "./fp/endOfDay.ts"; +export * from "./fp/endOfDayWithOptions.ts"; +export * from "./fp/endOfDecade.ts"; +export * from "./fp/endOfDecadeWithOptions.ts"; +export * from "./fp/endOfHour.ts"; +export * from "./fp/endOfHourWithOptions.ts"; +export * from "./fp/endOfISOWeek.ts"; +export * from "./fp/endOfISOWeekWithOptions.ts"; +export * from "./fp/endOfISOWeekYear.ts"; +export * from "./fp/endOfISOWeekYearWithOptions.ts"; +export * from "./fp/endOfMinute.ts"; +export * from "./fp/endOfMinuteWithOptions.ts"; +export * from "./fp/endOfMonth.ts"; +export * from "./fp/endOfMonthWithOptions.ts"; +export * from "./fp/endOfQuarter.ts"; +export * from "./fp/endOfQuarterWithOptions.ts"; +export * from "./fp/endOfSecond.ts"; +export * from "./fp/endOfSecondWithOptions.ts"; +export * from "./fp/endOfWeek.ts"; +export * from "./fp/endOfWeekWithOptions.ts"; +export * from "./fp/endOfYear.ts"; +export * from "./fp/endOfYearWithOptions.ts"; +export * from "./fp/format.ts"; +export * from "./fp/formatDistance.ts"; +export * from "./fp/formatDistanceStrict.ts"; +export * from "./fp/formatDistanceStrictWithOptions.ts"; +export * from "./fp/formatDistanceWithOptions.ts"; +export * from "./fp/formatDuration.ts"; +export * from "./fp/formatDurationWithOptions.ts"; +export * from "./fp/formatISO.ts"; +export * from "./fp/formatISO9075.ts"; +export * from "./fp/formatISO9075WithOptions.ts"; +export * from "./fp/formatISODuration.ts"; +export * from "./fp/formatISOWithOptions.ts"; +export * from "./fp/formatRFC3339.ts"; +export * from "./fp/formatRFC3339WithOptions.ts"; +export * from "./fp/formatRFC7231.ts"; +export * from "./fp/formatRelative.ts"; +export * from "./fp/formatRelativeWithOptions.ts"; +export * from "./fp/formatWithOptions.ts"; +export * from "./fp/fromUnixTime.ts"; +export * from "./fp/fromUnixTimeWithOptions.ts"; +export * from "./fp/getDate.ts"; +export * from "./fp/getDateWithOptions.ts"; +export * from "./fp/getDay.ts"; +export * from "./fp/getDayOfYear.ts"; +export * from "./fp/getDayOfYearWithOptions.ts"; +export * from "./fp/getDayWithOptions.ts"; +export * from "./fp/getDaysInMonth.ts"; +export * from "./fp/getDaysInMonthWithOptions.ts"; +export * from "./fp/getDaysInYear.ts"; +export * from "./fp/getDaysInYearWithOptions.ts"; +export * from "./fp/getDecade.ts"; +export * from "./fp/getDecadeWithOptions.ts"; +export * from "./fp/getHours.ts"; +export * from "./fp/getHoursWithOptions.ts"; +export * from "./fp/getISODay.ts"; +export * from "./fp/getISODayWithOptions.ts"; +export * from "./fp/getISOWeek.ts"; +export * from "./fp/getISOWeekWithOptions.ts"; +export * from "./fp/getISOWeekYear.ts"; +export * from "./fp/getISOWeekYearWithOptions.ts"; +export * from "./fp/getISOWeeksInYear.ts"; +export * from "./fp/getISOWeeksInYearWithOptions.ts"; +export * from "./fp/getMilliseconds.ts"; +export * from "./fp/getMinutes.ts"; +export * from "./fp/getMinutesWithOptions.ts"; +export * from "./fp/getMonth.ts"; +export * from "./fp/getMonthWithOptions.ts"; +export * from "./fp/getOverlappingDaysInIntervals.ts"; +export * from "./fp/getQuarter.ts"; +export * from "./fp/getQuarterWithOptions.ts"; +export * from "./fp/getSeconds.ts"; +export * from "./fp/getTime.ts"; +export * from "./fp/getUnixTime.ts"; +export * from "./fp/getWeek.ts"; +export * from "./fp/getWeekOfMonth.ts"; +export * from "./fp/getWeekOfMonthWithOptions.ts"; +export * from "./fp/getWeekWithOptions.ts"; +export * from "./fp/getWeekYear.ts"; +export * from "./fp/getWeekYearWithOptions.ts"; +export * from "./fp/getWeeksInMonth.ts"; +export * from "./fp/getWeeksInMonthWithOptions.ts"; +export * from "./fp/getYear.ts"; +export * from "./fp/getYearWithOptions.ts"; +export * from "./fp/hoursToMilliseconds.ts"; +export * from "./fp/hoursToMinutes.ts"; +export * from "./fp/hoursToSeconds.ts"; +export * from "./fp/interval.ts"; +export * from "./fp/intervalToDuration.ts"; +export * from "./fp/intervalToDurationWithOptions.ts"; +export * from "./fp/intervalWithOptions.ts"; +export * from "./fp/intlFormat.ts"; +export * from "./fp/intlFormatDistance.ts"; +export * from "./fp/intlFormatDistanceWithOptions.ts"; +export * from "./fp/isAfter.ts"; +export * from "./fp/isBefore.ts"; +export * from "./fp/isDate.ts"; +export * from "./fp/isEqual.ts"; +export * from "./fp/isExists.ts"; +export * from "./fp/isFirstDayOfMonth.ts"; +export * from "./fp/isFirstDayOfMonthWithOptions.ts"; +export * from "./fp/isFriday.ts"; +export * from "./fp/isFridayWithOptions.ts"; +export * from "./fp/isLastDayOfMonth.ts"; +export * from "./fp/isLastDayOfMonthWithOptions.ts"; +export * from "./fp/isLeapYear.ts"; +export * from "./fp/isLeapYearWithOptions.ts"; +export * from "./fp/isMatch.ts"; +export * from "./fp/isMatchWithOptions.ts"; +export * from "./fp/isMonday.ts"; +export * from "./fp/isMondayWithOptions.ts"; +export * from "./fp/isSameDay.ts"; +export * from "./fp/isSameDayWithOptions.ts"; +export * from "./fp/isSameHour.ts"; +export * from "./fp/isSameHourWithOptions.ts"; +export * from "./fp/isSameISOWeek.ts"; +export * from "./fp/isSameISOWeekWithOptions.ts"; +export * from "./fp/isSameISOWeekYear.ts"; +export * from "./fp/isSameISOWeekYearWithOptions.ts"; +export * from "./fp/isSameMinute.ts"; +export * from "./fp/isSameMonth.ts"; +export * from "./fp/isSameMonthWithOptions.ts"; +export * from "./fp/isSameQuarter.ts"; +export * from "./fp/isSameQuarterWithOptions.ts"; +export * from "./fp/isSameSecond.ts"; +export * from "./fp/isSameWeek.ts"; +export * from "./fp/isSameWeekWithOptions.ts"; +export * from "./fp/isSameYear.ts"; +export * from "./fp/isSameYearWithOptions.ts"; +export * from "./fp/isSaturday.ts"; +export * from "./fp/isSaturdayWithOptions.ts"; +export * from "./fp/isSunday.ts"; +export * from "./fp/isSundayWithOptions.ts"; +export * from "./fp/isThursday.ts"; +export * from "./fp/isThursdayWithOptions.ts"; +export * from "./fp/isTuesday.ts"; +export * from "./fp/isTuesdayWithOptions.ts"; +export * from "./fp/isValid.ts"; +export * from "./fp/isWednesday.ts"; +export * from "./fp/isWednesdayWithOptions.ts"; +export * from "./fp/isWeekend.ts"; +export * from "./fp/isWeekendWithOptions.ts"; +export * from "./fp/isWithinInterval.ts"; +export * from "./fp/isWithinIntervalWithOptions.ts"; +export * from "./fp/lastDayOfDecade.ts"; +export * from "./fp/lastDayOfDecadeWithOptions.ts"; +export * from "./fp/lastDayOfISOWeek.ts"; +export * from "./fp/lastDayOfISOWeekWithOptions.ts"; +export * from "./fp/lastDayOfISOWeekYear.ts"; +export * from "./fp/lastDayOfISOWeekYearWithOptions.ts"; +export * from "./fp/lastDayOfMonth.ts"; +export * from "./fp/lastDayOfMonthWithOptions.ts"; +export * from "./fp/lastDayOfQuarter.ts"; +export * from "./fp/lastDayOfQuarterWithOptions.ts"; +export * from "./fp/lastDayOfWeek.ts"; +export * from "./fp/lastDayOfWeekWithOptions.ts"; +export * from "./fp/lastDayOfYear.ts"; +export * from "./fp/lastDayOfYearWithOptions.ts"; +export * from "./fp/lightFormat.ts"; +export * from "./fp/max.ts"; +export * from "./fp/maxWithOptions.ts"; +export * from "./fp/milliseconds.ts"; +export * from "./fp/millisecondsToHours.ts"; +export * from "./fp/millisecondsToMinutes.ts"; +export * from "./fp/millisecondsToSeconds.ts"; +export * from "./fp/min.ts"; +export * from "./fp/minWithOptions.ts"; +export * from "./fp/minutesToHours.ts"; +export * from "./fp/minutesToMilliseconds.ts"; +export * from "./fp/minutesToSeconds.ts"; +export * from "./fp/monthsToQuarters.ts"; +export * from "./fp/monthsToYears.ts"; +export * from "./fp/nextDay.ts"; +export * from "./fp/nextDayWithOptions.ts"; +export * from "./fp/nextFriday.ts"; +export * from "./fp/nextFridayWithOptions.ts"; +export * from "./fp/nextMonday.ts"; +export * from "./fp/nextMondayWithOptions.ts"; +export * from "./fp/nextSaturday.ts"; +export * from "./fp/nextSaturdayWithOptions.ts"; +export * from "./fp/nextSunday.ts"; +export * from "./fp/nextSundayWithOptions.ts"; +export * from "./fp/nextThursday.ts"; +export * from "./fp/nextThursdayWithOptions.ts"; +export * from "./fp/nextTuesday.ts"; +export * from "./fp/nextTuesdayWithOptions.ts"; +export * from "./fp/nextWednesday.ts"; +export * from "./fp/nextWednesdayWithOptions.ts"; +export * from "./fp/parse.ts"; +export * from "./fp/parseISO.ts"; +export * from "./fp/parseISOWithOptions.ts"; +export * from "./fp/parseJSON.ts"; +export * from "./fp/parseJSONWithOptions.ts"; +export * from "./fp/parseWithOptions.ts"; +export * from "./fp/previousDay.ts"; +export * from "./fp/previousDayWithOptions.ts"; +export * from "./fp/previousFriday.ts"; +export * from "./fp/previousFridayWithOptions.ts"; +export * from "./fp/previousMonday.ts"; +export * from "./fp/previousMondayWithOptions.ts"; +export * from "./fp/previousSaturday.ts"; +export * from "./fp/previousSaturdayWithOptions.ts"; +export * from "./fp/previousSunday.ts"; +export * from "./fp/previousSundayWithOptions.ts"; +export * from "./fp/previousThursday.ts"; +export * from "./fp/previousThursdayWithOptions.ts"; +export * from "./fp/previousTuesday.ts"; +export * from "./fp/previousTuesdayWithOptions.ts"; +export * from "./fp/previousWednesday.ts"; +export * from "./fp/previousWednesdayWithOptions.ts"; +export * from "./fp/quartersToMonths.ts"; +export * from "./fp/quartersToYears.ts"; +export * from "./fp/roundToNearestHours.ts"; +export * from "./fp/roundToNearestHoursWithOptions.ts"; +export * from "./fp/roundToNearestMinutes.ts"; +export * from "./fp/roundToNearestMinutesWithOptions.ts"; +export * from "./fp/secondsToHours.ts"; +export * from "./fp/secondsToMilliseconds.ts"; +export * from "./fp/secondsToMinutes.ts"; +export * from "./fp/set.ts"; +export * from "./fp/setDate.ts"; +export * from "./fp/setDateWithOptions.ts"; +export * from "./fp/setDay.ts"; +export * from "./fp/setDayOfYear.ts"; +export * from "./fp/setDayOfYearWithOptions.ts"; +export * from "./fp/setDayWithOptions.ts"; +export * from "./fp/setHours.ts"; +export * from "./fp/setHoursWithOptions.ts"; +export * from "./fp/setISODay.ts"; +export * from "./fp/setISODayWithOptions.ts"; +export * from "./fp/setISOWeek.ts"; +export * from "./fp/setISOWeekWithOptions.ts"; +export * from "./fp/setISOWeekYear.ts"; +export * from "./fp/setISOWeekYearWithOptions.ts"; +export * from "./fp/setMilliseconds.ts"; +export * from "./fp/setMillisecondsWithOptions.ts"; +export * from "./fp/setMinutes.ts"; +export * from "./fp/setMinutesWithOptions.ts"; +export * from "./fp/setMonth.ts"; +export * from "./fp/setMonthWithOptions.ts"; +export * from "./fp/setQuarter.ts"; +export * from "./fp/setQuarterWithOptions.ts"; +export * from "./fp/setSeconds.ts"; +export * from "./fp/setSecondsWithOptions.ts"; +export * from "./fp/setWeek.ts"; +export * from "./fp/setWeekWithOptions.ts"; +export * from "./fp/setWeekYear.ts"; +export * from "./fp/setWeekYearWithOptions.ts"; +export * from "./fp/setWithOptions.ts"; +export * from "./fp/setYear.ts"; +export * from "./fp/setYearWithOptions.ts"; +export * from "./fp/startOfDay.ts"; +export * from "./fp/startOfDayWithOptions.ts"; +export * from "./fp/startOfDecade.ts"; +export * from "./fp/startOfDecadeWithOptions.ts"; +export * from "./fp/startOfHour.ts"; +export * from "./fp/startOfHourWithOptions.ts"; +export * from "./fp/startOfISOWeek.ts"; +export * from "./fp/startOfISOWeekWithOptions.ts"; +export * from "./fp/startOfISOWeekYear.ts"; +export * from "./fp/startOfISOWeekYearWithOptions.ts"; +export * from "./fp/startOfMinute.ts"; +export * from "./fp/startOfMinuteWithOptions.ts"; +export * from "./fp/startOfMonth.ts"; +export * from "./fp/startOfMonthWithOptions.ts"; +export * from "./fp/startOfQuarter.ts"; +export * from "./fp/startOfQuarterWithOptions.ts"; +export * from "./fp/startOfSecond.ts"; +export * from "./fp/startOfSecondWithOptions.ts"; +export * from "./fp/startOfWeek.ts"; +export * from "./fp/startOfWeekWithOptions.ts"; +export * from "./fp/startOfWeekYear.ts"; +export * from "./fp/startOfWeekYearWithOptions.ts"; +export * from "./fp/startOfYear.ts"; +export * from "./fp/startOfYearWithOptions.ts"; +export * from "./fp/sub.ts"; +export * from "./fp/subBusinessDays.ts"; +export * from "./fp/subBusinessDaysWithOptions.ts"; +export * from "./fp/subDays.ts"; +export * from "./fp/subDaysWithOptions.ts"; +export * from "./fp/subHours.ts"; +export * from "./fp/subHoursWithOptions.ts"; +export * from "./fp/subISOWeekYears.ts"; +export * from "./fp/subISOWeekYearsWithOptions.ts"; +export * from "./fp/subMilliseconds.ts"; +export * from "./fp/subMillisecondsWithOptions.ts"; +export * from "./fp/subMinutes.ts"; +export * from "./fp/subMinutesWithOptions.ts"; +export * from "./fp/subMonths.ts"; +export * from "./fp/subMonthsWithOptions.ts"; +export * from "./fp/subQuarters.ts"; +export * from "./fp/subQuartersWithOptions.ts"; +export * from "./fp/subSeconds.ts"; +export * from "./fp/subSecondsWithOptions.ts"; +export * from "./fp/subWeeks.ts"; +export * from "./fp/subWeeksWithOptions.ts"; +export * from "./fp/subWithOptions.ts"; +export * from "./fp/subYears.ts"; +export * from "./fp/subYearsWithOptions.ts"; +export * from "./fp/toDate.ts"; +export * from "./fp/transpose.ts"; +export * from "./fp/weeksToDays.ts"; +export * from "./fp/yearsToDays.ts"; +export * from "./fp/yearsToMonths.ts"; +export * from "./fp/yearsToQuarters.ts"; +export type * from "./types.ts"; diff --git a/node_modules/date-fns/fp.js b/node_modules/date-fns/fp.js new file mode 100644 index 0000000000000000000000000000000000000000..e0846aa53e1baf4ba2906bf1e4f791ec674a69d5 --- /dev/null +++ b/node_modules/date-fns/fp.js @@ -0,0 +1,398 @@ +// This file is generated automatically by `scripts/build/indices.ts`. Please, don't change it. + +export * from "./fp/add.js"; +export * from "./fp/addBusinessDays.js"; +export * from "./fp/addBusinessDaysWithOptions.js"; +export * from "./fp/addDays.js"; +export * from "./fp/addDaysWithOptions.js"; +export * from "./fp/addHours.js"; +export * from "./fp/addHoursWithOptions.js"; +export * from "./fp/addISOWeekYears.js"; +export * from "./fp/addISOWeekYearsWithOptions.js"; +export * from "./fp/addMilliseconds.js"; +export * from "./fp/addMillisecondsWithOptions.js"; +export * from "./fp/addMinutes.js"; +export * from "./fp/addMinutesWithOptions.js"; +export * from "./fp/addMonths.js"; +export * from "./fp/addMonthsWithOptions.js"; +export * from "./fp/addQuarters.js"; +export * from "./fp/addQuartersWithOptions.js"; +export * from "./fp/addSeconds.js"; +export * from "./fp/addSecondsWithOptions.js"; +export * from "./fp/addWeeks.js"; +export * from "./fp/addWeeksWithOptions.js"; +export * from "./fp/addWithOptions.js"; +export * from "./fp/addYears.js"; +export * from "./fp/addYearsWithOptions.js"; +export * from "./fp/areIntervalsOverlapping.js"; +export * from "./fp/areIntervalsOverlappingWithOptions.js"; +export * from "./fp/clamp.js"; +export * from "./fp/clampWithOptions.js"; +export * from "./fp/closestIndexTo.js"; +export * from "./fp/closestTo.js"; +export * from "./fp/closestToWithOptions.js"; +export * from "./fp/compareAsc.js"; +export * from "./fp/compareDesc.js"; +export * from "./fp/constructFrom.js"; +export * from "./fp/daysToWeeks.js"; +export * from "./fp/differenceInBusinessDays.js"; +export * from "./fp/differenceInBusinessDaysWithOptions.js"; +export * from "./fp/differenceInCalendarDays.js"; +export * from "./fp/differenceInCalendarDaysWithOptions.js"; +export * from "./fp/differenceInCalendarISOWeekYears.js"; +export * from "./fp/differenceInCalendarISOWeekYearsWithOptions.js"; +export * from "./fp/differenceInCalendarISOWeeks.js"; +export * from "./fp/differenceInCalendarISOWeeksWithOptions.js"; +export * from "./fp/differenceInCalendarMonths.js"; +export * from "./fp/differenceInCalendarMonthsWithOptions.js"; +export * from "./fp/differenceInCalendarQuarters.js"; +export * from "./fp/differenceInCalendarQuartersWithOptions.js"; +export * from "./fp/differenceInCalendarWeeks.js"; +export * from "./fp/differenceInCalendarWeeksWithOptions.js"; +export * from "./fp/differenceInCalendarYears.js"; +export * from "./fp/differenceInCalendarYearsWithOptions.js"; +export * from "./fp/differenceInDays.js"; +export * from "./fp/differenceInDaysWithOptions.js"; +export * from "./fp/differenceInHours.js"; +export * from "./fp/differenceInHoursWithOptions.js"; +export * from "./fp/differenceInISOWeekYears.js"; +export * from "./fp/differenceInISOWeekYearsWithOptions.js"; +export * from "./fp/differenceInMilliseconds.js"; +export * from "./fp/differenceInMinutes.js"; +export * from "./fp/differenceInMinutesWithOptions.js"; +export * from "./fp/differenceInMonths.js"; +export * from "./fp/differenceInMonthsWithOptions.js"; +export * from "./fp/differenceInQuarters.js"; +export * from "./fp/differenceInQuartersWithOptions.js"; +export * from "./fp/differenceInSeconds.js"; +export * from "./fp/differenceInSecondsWithOptions.js"; +export * from "./fp/differenceInWeeks.js"; +export * from "./fp/differenceInWeeksWithOptions.js"; +export * from "./fp/differenceInYears.js"; +export * from "./fp/differenceInYearsWithOptions.js"; +export * from "./fp/eachDayOfInterval.js"; +export * from "./fp/eachDayOfIntervalWithOptions.js"; +export * from "./fp/eachHourOfInterval.js"; +export * from "./fp/eachHourOfIntervalWithOptions.js"; +export * from "./fp/eachMinuteOfInterval.js"; +export * from "./fp/eachMinuteOfIntervalWithOptions.js"; +export * from "./fp/eachMonthOfInterval.js"; +export * from "./fp/eachMonthOfIntervalWithOptions.js"; +export * from "./fp/eachQuarterOfInterval.js"; +export * from "./fp/eachQuarterOfIntervalWithOptions.js"; +export * from "./fp/eachWeekOfInterval.js"; +export * from "./fp/eachWeekOfIntervalWithOptions.js"; +export * from "./fp/eachWeekendOfInterval.js"; +export * from "./fp/eachWeekendOfIntervalWithOptions.js"; +export * from "./fp/eachWeekendOfMonth.js"; +export * from "./fp/eachWeekendOfMonthWithOptions.js"; +export * from "./fp/eachWeekendOfYear.js"; +export * from "./fp/eachWeekendOfYearWithOptions.js"; +export * from "./fp/eachYearOfInterval.js"; +export * from "./fp/eachYearOfIntervalWithOptions.js"; +export * from "./fp/endOfDay.js"; +export * from "./fp/endOfDayWithOptions.js"; +export * from "./fp/endOfDecade.js"; +export * from "./fp/endOfDecadeWithOptions.js"; +export * from "./fp/endOfHour.js"; +export * from "./fp/endOfHourWithOptions.js"; +export * from "./fp/endOfISOWeek.js"; +export * from "./fp/endOfISOWeekWithOptions.js"; +export * from "./fp/endOfISOWeekYear.js"; +export * from "./fp/endOfISOWeekYearWithOptions.js"; +export * from "./fp/endOfMinute.js"; +export * from "./fp/endOfMinuteWithOptions.js"; +export * from "./fp/endOfMonth.js"; +export * from "./fp/endOfMonthWithOptions.js"; +export * from "./fp/endOfQuarter.js"; +export * from "./fp/endOfQuarterWithOptions.js"; +export * from "./fp/endOfSecond.js"; +export * from "./fp/endOfSecondWithOptions.js"; +export * from "./fp/endOfWeek.js"; +export * from "./fp/endOfWeekWithOptions.js"; +export * from "./fp/endOfYear.js"; +export * from "./fp/endOfYearWithOptions.js"; +export * from "./fp/format.js"; +export * from "./fp/formatDistance.js"; +export * from "./fp/formatDistanceStrict.js"; +export * from "./fp/formatDistanceStrictWithOptions.js"; +export * from "./fp/formatDistanceWithOptions.js"; +export * from "./fp/formatDuration.js"; +export * from "./fp/formatDurationWithOptions.js"; +export * from "./fp/formatISO.js"; +export * from "./fp/formatISO9075.js"; +export * from "./fp/formatISO9075WithOptions.js"; +export * from "./fp/formatISODuration.js"; +export * from "./fp/formatISOWithOptions.js"; +export * from "./fp/formatRFC3339.js"; +export * from "./fp/formatRFC3339WithOptions.js"; +export * from "./fp/formatRFC7231.js"; +export * from "./fp/formatRelative.js"; +export * from "./fp/formatRelativeWithOptions.js"; +export * from "./fp/formatWithOptions.js"; +export * from "./fp/fromUnixTime.js"; +export * from "./fp/fromUnixTimeWithOptions.js"; +export * from "./fp/getDate.js"; +export * from "./fp/getDateWithOptions.js"; +export * from "./fp/getDay.js"; +export * from "./fp/getDayOfYear.js"; +export * from "./fp/getDayOfYearWithOptions.js"; +export * from "./fp/getDayWithOptions.js"; +export * from "./fp/getDaysInMonth.js"; +export * from "./fp/getDaysInMonthWithOptions.js"; +export * from "./fp/getDaysInYear.js"; +export * from "./fp/getDaysInYearWithOptions.js"; +export * from "./fp/getDecade.js"; +export * from "./fp/getDecadeWithOptions.js"; +export * from "./fp/getHours.js"; +export * from "./fp/getHoursWithOptions.js"; +export * from "./fp/getISODay.js"; +export * from "./fp/getISODayWithOptions.js"; +export * from "./fp/getISOWeek.js"; +export * from "./fp/getISOWeekWithOptions.js"; +export * from "./fp/getISOWeekYear.js"; +export * from "./fp/getISOWeekYearWithOptions.js"; +export * from "./fp/getISOWeeksInYear.js"; +export * from "./fp/getISOWeeksInYearWithOptions.js"; +export * from "./fp/getMilliseconds.js"; +export * from "./fp/getMinutes.js"; +export * from "./fp/getMinutesWithOptions.js"; +export * from "./fp/getMonth.js"; +export * from "./fp/getMonthWithOptions.js"; +export * from "./fp/getOverlappingDaysInIntervals.js"; +export * from "./fp/getQuarter.js"; +export * from "./fp/getQuarterWithOptions.js"; +export * from "./fp/getSeconds.js"; +export * from "./fp/getTime.js"; +export * from "./fp/getUnixTime.js"; +export * from "./fp/getWeek.js"; +export * from "./fp/getWeekOfMonth.js"; +export * from "./fp/getWeekOfMonthWithOptions.js"; +export * from "./fp/getWeekWithOptions.js"; +export * from "./fp/getWeekYear.js"; +export * from "./fp/getWeekYearWithOptions.js"; +export * from "./fp/getWeeksInMonth.js"; +export * from "./fp/getWeeksInMonthWithOptions.js"; +export * from "./fp/getYear.js"; +export * from "./fp/getYearWithOptions.js"; +export * from "./fp/hoursToMilliseconds.js"; +export * from "./fp/hoursToMinutes.js"; +export * from "./fp/hoursToSeconds.js"; +export * from "./fp/interval.js"; +export * from "./fp/intervalToDuration.js"; +export * from "./fp/intervalToDurationWithOptions.js"; +export * from "./fp/intervalWithOptions.js"; +export * from "./fp/intlFormat.js"; +export * from "./fp/intlFormatDistance.js"; +export * from "./fp/intlFormatDistanceWithOptions.js"; +export * from "./fp/isAfter.js"; +export * from "./fp/isBefore.js"; +export * from "./fp/isDate.js"; +export * from "./fp/isEqual.js"; +export * from "./fp/isExists.js"; +export * from "./fp/isFirstDayOfMonth.js"; +export * from "./fp/isFirstDayOfMonthWithOptions.js"; +export * from "./fp/isFriday.js"; +export * from "./fp/isFridayWithOptions.js"; +export * from "./fp/isLastDayOfMonth.js"; +export * from "./fp/isLastDayOfMonthWithOptions.js"; +export * from "./fp/isLeapYear.js"; +export * from "./fp/isLeapYearWithOptions.js"; +export * from "./fp/isMatch.js"; +export * from "./fp/isMatchWithOptions.js"; +export * from "./fp/isMonday.js"; +export * from "./fp/isMondayWithOptions.js"; +export * from "./fp/isSameDay.js"; +export * from "./fp/isSameDayWithOptions.js"; +export * from "./fp/isSameHour.js"; +export * from "./fp/isSameHourWithOptions.js"; +export * from "./fp/isSameISOWeek.js"; +export * from "./fp/isSameISOWeekWithOptions.js"; +export * from "./fp/isSameISOWeekYear.js"; +export * from "./fp/isSameISOWeekYearWithOptions.js"; +export * from "./fp/isSameMinute.js"; +export * from "./fp/isSameMonth.js"; +export * from "./fp/isSameMonthWithOptions.js"; +export * from "./fp/isSameQuarter.js"; +export * from "./fp/isSameQuarterWithOptions.js"; +export * from "./fp/isSameSecond.js"; +export * from "./fp/isSameWeek.js"; +export * from "./fp/isSameWeekWithOptions.js"; +export * from "./fp/isSameYear.js"; +export * from "./fp/isSameYearWithOptions.js"; +export * from "./fp/isSaturday.js"; +export * from "./fp/isSaturdayWithOptions.js"; +export * from "./fp/isSunday.js"; +export * from "./fp/isSundayWithOptions.js"; +export * from "./fp/isThursday.js"; +export * from "./fp/isThursdayWithOptions.js"; +export * from "./fp/isTuesday.js"; +export * from "./fp/isTuesdayWithOptions.js"; +export * from "./fp/isValid.js"; +export * from "./fp/isWednesday.js"; +export * from "./fp/isWednesdayWithOptions.js"; +export * from "./fp/isWeekend.js"; +export * from "./fp/isWeekendWithOptions.js"; +export * from "./fp/isWithinInterval.js"; +export * from "./fp/isWithinIntervalWithOptions.js"; +export * from "./fp/lastDayOfDecade.js"; +export * from "./fp/lastDayOfDecadeWithOptions.js"; +export * from "./fp/lastDayOfISOWeek.js"; +export * from "./fp/lastDayOfISOWeekWithOptions.js"; +export * from "./fp/lastDayOfISOWeekYear.js"; +export * from "./fp/lastDayOfISOWeekYearWithOptions.js"; +export * from "./fp/lastDayOfMonth.js"; +export * from "./fp/lastDayOfMonthWithOptions.js"; +export * from "./fp/lastDayOfQuarter.js"; +export * from "./fp/lastDayOfQuarterWithOptions.js"; +export * from "./fp/lastDayOfWeek.js"; +export * from "./fp/lastDayOfWeekWithOptions.js"; +export * from "./fp/lastDayOfYear.js"; +export * from "./fp/lastDayOfYearWithOptions.js"; +export * from "./fp/lightFormat.js"; +export * from "./fp/max.js"; +export * from "./fp/maxWithOptions.js"; +export * from "./fp/milliseconds.js"; +export * from "./fp/millisecondsToHours.js"; +export * from "./fp/millisecondsToMinutes.js"; +export * from "./fp/millisecondsToSeconds.js"; +export * from "./fp/min.js"; +export * from "./fp/minWithOptions.js"; +export * from "./fp/minutesToHours.js"; +export * from "./fp/minutesToMilliseconds.js"; +export * from "./fp/minutesToSeconds.js"; +export * from "./fp/monthsToQuarters.js"; +export * from "./fp/monthsToYears.js"; +export * from "./fp/nextDay.js"; +export * from "./fp/nextDayWithOptions.js"; +export * from "./fp/nextFriday.js"; +export * from "./fp/nextFridayWithOptions.js"; +export * from "./fp/nextMonday.js"; +export * from "./fp/nextMondayWithOptions.js"; +export * from "./fp/nextSaturday.js"; +export * from "./fp/nextSaturdayWithOptions.js"; +export * from "./fp/nextSunday.js"; +export * from "./fp/nextSundayWithOptions.js"; +export * from "./fp/nextThursday.js"; +export * from "./fp/nextThursdayWithOptions.js"; +export * from "./fp/nextTuesday.js"; +export * from "./fp/nextTuesdayWithOptions.js"; +export * from "./fp/nextWednesday.js"; +export * from "./fp/nextWednesdayWithOptions.js"; +export * from "./fp/parse.js"; +export * from "./fp/parseISO.js"; +export * from "./fp/parseISOWithOptions.js"; +export * from "./fp/parseJSON.js"; +export * from "./fp/parseJSONWithOptions.js"; +export * from "./fp/parseWithOptions.js"; +export * from "./fp/previousDay.js"; +export * from "./fp/previousDayWithOptions.js"; +export * from "./fp/previousFriday.js"; +export * from "./fp/previousFridayWithOptions.js"; +export * from "./fp/previousMonday.js"; +export * from "./fp/previousMondayWithOptions.js"; +export * from "./fp/previousSaturday.js"; +export * from "./fp/previousSaturdayWithOptions.js"; +export * from "./fp/previousSunday.js"; +export * from "./fp/previousSundayWithOptions.js"; +export * from "./fp/previousThursday.js"; +export * from "./fp/previousThursdayWithOptions.js"; +export * from "./fp/previousTuesday.js"; +export * from "./fp/previousTuesdayWithOptions.js"; +export * from "./fp/previousWednesday.js"; +export * from "./fp/previousWednesdayWithOptions.js"; +export * from "./fp/quartersToMonths.js"; +export * from "./fp/quartersToYears.js"; +export * from "./fp/roundToNearestHours.js"; +export * from "./fp/roundToNearestHoursWithOptions.js"; +export * from "./fp/roundToNearestMinutes.js"; +export * from "./fp/roundToNearestMinutesWithOptions.js"; +export * from "./fp/secondsToHours.js"; +export * from "./fp/secondsToMilliseconds.js"; +export * from "./fp/secondsToMinutes.js"; +export * from "./fp/set.js"; +export * from "./fp/setDate.js"; +export * from "./fp/setDateWithOptions.js"; +export * from "./fp/setDay.js"; +export * from "./fp/setDayOfYear.js"; +export * from "./fp/setDayOfYearWithOptions.js"; +export * from "./fp/setDayWithOptions.js"; +export * from "./fp/setHours.js"; +export * from "./fp/setHoursWithOptions.js"; +export * from "./fp/setISODay.js"; +export * from "./fp/setISODayWithOptions.js"; +export * from "./fp/setISOWeek.js"; +export * from "./fp/setISOWeekWithOptions.js"; +export * from "./fp/setISOWeekYear.js"; +export * from "./fp/setISOWeekYearWithOptions.js"; +export * from "./fp/setMilliseconds.js"; +export * from "./fp/setMillisecondsWithOptions.js"; +export * from "./fp/setMinutes.js"; +export * from "./fp/setMinutesWithOptions.js"; +export * from "./fp/setMonth.js"; +export * from "./fp/setMonthWithOptions.js"; +export * from "./fp/setQuarter.js"; +export * from "./fp/setQuarterWithOptions.js"; +export * from "./fp/setSeconds.js"; +export * from "./fp/setSecondsWithOptions.js"; +export * from "./fp/setWeek.js"; +export * from "./fp/setWeekWithOptions.js"; +export * from "./fp/setWeekYear.js"; +export * from "./fp/setWeekYearWithOptions.js"; +export * from "./fp/setWithOptions.js"; +export * from "./fp/setYear.js"; +export * from "./fp/setYearWithOptions.js"; +export * from "./fp/startOfDay.js"; +export * from "./fp/startOfDayWithOptions.js"; +export * from "./fp/startOfDecade.js"; +export * from "./fp/startOfDecadeWithOptions.js"; +export * from "./fp/startOfHour.js"; +export * from "./fp/startOfHourWithOptions.js"; +export * from "./fp/startOfISOWeek.js"; +export * from "./fp/startOfISOWeekWithOptions.js"; +export * from "./fp/startOfISOWeekYear.js"; +export * from "./fp/startOfISOWeekYearWithOptions.js"; +export * from "./fp/startOfMinute.js"; +export * from "./fp/startOfMinuteWithOptions.js"; +export * from "./fp/startOfMonth.js"; +export * from "./fp/startOfMonthWithOptions.js"; +export * from "./fp/startOfQuarter.js"; +export * from "./fp/startOfQuarterWithOptions.js"; +export * from "./fp/startOfSecond.js"; +export * from "./fp/startOfSecondWithOptions.js"; +export * from "./fp/startOfWeek.js"; +export * from "./fp/startOfWeekWithOptions.js"; +export * from "./fp/startOfWeekYear.js"; +export * from "./fp/startOfWeekYearWithOptions.js"; +export * from "./fp/startOfYear.js"; +export * from "./fp/startOfYearWithOptions.js"; +export * from "./fp/sub.js"; +export * from "./fp/subBusinessDays.js"; +export * from "./fp/subBusinessDaysWithOptions.js"; +export * from "./fp/subDays.js"; +export * from "./fp/subDaysWithOptions.js"; +export * from "./fp/subHours.js"; +export * from "./fp/subHoursWithOptions.js"; +export * from "./fp/subISOWeekYears.js"; +export * from "./fp/subISOWeekYearsWithOptions.js"; +export * from "./fp/subMilliseconds.js"; +export * from "./fp/subMillisecondsWithOptions.js"; +export * from "./fp/subMinutes.js"; +export * from "./fp/subMinutesWithOptions.js"; +export * from "./fp/subMonths.js"; +export * from "./fp/subMonthsWithOptions.js"; +export * from "./fp/subQuarters.js"; +export * from "./fp/subQuartersWithOptions.js"; +export * from "./fp/subSeconds.js"; +export * from "./fp/subSecondsWithOptions.js"; +export * from "./fp/subWeeks.js"; +export * from "./fp/subWeeksWithOptions.js"; +export * from "./fp/subWithOptions.js"; +export * from "./fp/subYears.js"; +export * from "./fp/subYearsWithOptions.js"; +export * from "./fp/toDate.js"; +export * from "./fp/transpose.js"; +export * from "./fp/weeksToDays.js"; +export * from "./fp/yearsToDays.js"; +export * from "./fp/yearsToMonths.js"; +export * from "./fp/yearsToQuarters.js"; diff --git a/node_modules/date-fns/fp/setDate.cjs b/node_modules/date-fns/fp/setDate.cjs new file mode 100644 index 0000000000000000000000000000000000000000..d3769154b717a8ccde6dae7787bcb625ed1596e3 --- /dev/null +++ b/node_modules/date-fns/fp/setDate.cjs @@ -0,0 +1,7 @@ +"use strict"; +exports.setDate = void 0; + +var _index = require("../setDate.cjs"); +var _index2 = require("./_lib/convertToFP.cjs"); // This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. + +const setDate = (exports.setDate = (0, _index2.convertToFP)(_index.setDate, 2)); diff --git a/node_modules/date-fns/fp/setDate.d.cts b/node_modules/date-fns/fp/setDate.d.cts new file mode 100644 index 0000000000000000000000000000000000000000..dd84d1dbf546c4f3645e69eb8c5568a02649dd8b --- /dev/null +++ b/node_modules/date-fns/fp/setDate.d.cts @@ -0,0 +1,5 @@ +export declare const setDate: import("./types.ts").FPFn2< + Date, + number, + import("../fp.ts").DateArg +>; diff --git a/node_modules/date-fns/fp/setDate.d.ts b/node_modules/date-fns/fp/setDate.d.ts new file mode 100644 index 0000000000000000000000000000000000000000..dd84d1dbf546c4f3645e69eb8c5568a02649dd8b --- /dev/null +++ b/node_modules/date-fns/fp/setDate.d.ts @@ -0,0 +1,5 @@ +export declare const setDate: import("./types.ts").FPFn2< + Date, + number, + import("../fp.ts").DateArg +>; diff --git a/node_modules/date-fns/fp/setDate.js b/node_modules/date-fns/fp/setDate.js new file mode 100644 index 0000000000000000000000000000000000000000..c7d45fd12d74d733325b952969113fa67c7ebdf2 --- /dev/null +++ b/node_modules/date-fns/fp/setDate.js @@ -0,0 +1,9 @@ +// This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. + +import { setDate as fn } from "../setDate.js"; +import { convertToFP } from "./_lib/convertToFP.js"; + +export const setDate = convertToFP(fn, 2); + +// Fallback for modularized imports: +export default setDate; diff --git a/node_modules/date-fns/fp/setDateWithOptions.cjs b/node_modules/date-fns/fp/setDateWithOptions.cjs new file mode 100644 index 0000000000000000000000000000000000000000..1dbbd54e0a865a39d3b44d2ec581d56ee09a1835 --- /dev/null +++ b/node_modules/date-fns/fp/setDateWithOptions.cjs @@ -0,0 +1,8 @@ +"use strict"; +exports.setDateWithOptions = void 0; + +var _index = require("../setDate.cjs"); +var _index2 = require("./_lib/convertToFP.cjs"); // This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. + +const setDateWithOptions = (exports.setDateWithOptions = (0, +_index2.convertToFP)(_index.setDate, 3)); diff --git a/node_modules/date-fns/fp/setDateWithOptions.d.cts b/node_modules/date-fns/fp/setDateWithOptions.d.cts new file mode 100644 index 0000000000000000000000000000000000000000..a16d0a74f450ddba10c7d6f763251b854ed35e34 --- /dev/null +++ b/node_modules/date-fns/fp/setDateWithOptions.d.cts @@ -0,0 +1,6 @@ +export declare const setDateWithOptions: import("./types.ts").FPFn3< + Date, + import("../setDate.ts").SetDateOptions | undefined, + number, + import("../fp.ts").DateArg +>; diff --git a/node_modules/date-fns/fp/setDateWithOptions.d.ts b/node_modules/date-fns/fp/setDateWithOptions.d.ts new file mode 100644 index 0000000000000000000000000000000000000000..a16d0a74f450ddba10c7d6f763251b854ed35e34 --- /dev/null +++ b/node_modules/date-fns/fp/setDateWithOptions.d.ts @@ -0,0 +1,6 @@ +export declare const setDateWithOptions: import("./types.ts").FPFn3< + Date, + import("../setDate.ts").SetDateOptions | undefined, + number, + import("../fp.ts").DateArg +>; diff --git a/node_modules/date-fns/fp/setDateWithOptions.js b/node_modules/date-fns/fp/setDateWithOptions.js new file mode 100644 index 0000000000000000000000000000000000000000..1c06868fab172fb193999f32bfc14383baff6031 --- /dev/null +++ b/node_modules/date-fns/fp/setDateWithOptions.js @@ -0,0 +1,9 @@ +// This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. + +import { setDate as fn } from "../setDate.js"; +import { convertToFP } from "./_lib/convertToFP.js"; + +export const setDateWithOptions = convertToFP(fn, 3); + +// Fallback for modularized imports: +export default setDateWithOptions; diff --git a/node_modules/date-fns/fp/setDay.cjs b/node_modules/date-fns/fp/setDay.cjs new file mode 100644 index 0000000000000000000000000000000000000000..2a5fbf65023a96d830c06a502d7163c65f628c34 --- /dev/null +++ b/node_modules/date-fns/fp/setDay.cjs @@ -0,0 +1,7 @@ +"use strict"; +exports.setDay = void 0; + +var _index = require("../setDay.cjs"); +var _index2 = require("./_lib/convertToFP.cjs"); // This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. + +const setDay = (exports.setDay = (0, _index2.convertToFP)(_index.setDay, 2)); diff --git a/node_modules/date-fns/fp/setDay.d.cts b/node_modules/date-fns/fp/setDay.d.cts new file mode 100644 index 0000000000000000000000000000000000000000..c96ae3de49934fb5b0a247fc4bcd38cc14bb903d --- /dev/null +++ b/node_modules/date-fns/fp/setDay.d.cts @@ -0,0 +1,5 @@ +export declare const setDay: import("./types.ts").FPFn2< + Date, + number, + import("../fp.ts").DateArg +>; diff --git a/node_modules/date-fns/fp/setDay.d.ts b/node_modules/date-fns/fp/setDay.d.ts new file mode 100644 index 0000000000000000000000000000000000000000..c96ae3de49934fb5b0a247fc4bcd38cc14bb903d --- /dev/null +++ b/node_modules/date-fns/fp/setDay.d.ts @@ -0,0 +1,5 @@ +export declare const setDay: import("./types.ts").FPFn2< + Date, + number, + import("../fp.ts").DateArg +>; diff --git a/node_modules/date-fns/fp/setDay.js b/node_modules/date-fns/fp/setDay.js new file mode 100644 index 0000000000000000000000000000000000000000..82d6d88ad695111a10c1ffca4d9fa3ef3e86732d --- /dev/null +++ b/node_modules/date-fns/fp/setDay.js @@ -0,0 +1,9 @@ +// This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. + +import { setDay as fn } from "../setDay.js"; +import { convertToFP } from "./_lib/convertToFP.js"; + +export const setDay = convertToFP(fn, 2); + +// Fallback for modularized imports: +export default setDay; diff --git a/node_modules/date-fns/fp/setDayOfYear.cjs b/node_modules/date-fns/fp/setDayOfYear.cjs new file mode 100644 index 0000000000000000000000000000000000000000..6b417c06894778a7916c1cc940dd550fea1fadf8 --- /dev/null +++ b/node_modules/date-fns/fp/setDayOfYear.cjs @@ -0,0 +1,10 @@ +"use strict"; +exports.setDayOfYear = void 0; + +var _index = require("../setDayOfYear.cjs"); +var _index2 = require("./_lib/convertToFP.cjs"); // This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. + +const setDayOfYear = (exports.setDayOfYear = (0, _index2.convertToFP)( + _index.setDayOfYear, + 2, +)); diff --git a/node_modules/date-fns/fp/setDayOfYear.d.cts b/node_modules/date-fns/fp/setDayOfYear.d.cts new file mode 100644 index 0000000000000000000000000000000000000000..bb5cda385beeba589e57d134ffcbe3665022fc97 --- /dev/null +++ b/node_modules/date-fns/fp/setDayOfYear.d.cts @@ -0,0 +1,5 @@ +export declare const setDayOfYear: import("./types.ts").FPFn2< + Date, + number, + import("../fp.ts").DateArg +>; diff --git a/node_modules/date-fns/fp/setDayOfYear.d.ts b/node_modules/date-fns/fp/setDayOfYear.d.ts new file mode 100644 index 0000000000000000000000000000000000000000..bb5cda385beeba589e57d134ffcbe3665022fc97 --- /dev/null +++ b/node_modules/date-fns/fp/setDayOfYear.d.ts @@ -0,0 +1,5 @@ +export declare const setDayOfYear: import("./types.ts").FPFn2< + Date, + number, + import("../fp.ts").DateArg +>; diff --git a/node_modules/date-fns/fp/setDayOfYear.js b/node_modules/date-fns/fp/setDayOfYear.js new file mode 100644 index 0000000000000000000000000000000000000000..3859d43dfd33e3c6de3385b41b80fe1cb98deb54 --- /dev/null +++ b/node_modules/date-fns/fp/setDayOfYear.js @@ -0,0 +1,9 @@ +// This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. + +import { setDayOfYear as fn } from "../setDayOfYear.js"; +import { convertToFP } from "./_lib/convertToFP.js"; + +export const setDayOfYear = convertToFP(fn, 2); + +// Fallback for modularized imports: +export default setDayOfYear; diff --git a/node_modules/date-fns/fp/setDayOfYearWithOptions.cjs b/node_modules/date-fns/fp/setDayOfYearWithOptions.cjs new file mode 100644 index 0000000000000000000000000000000000000000..8bf09490ab00e6fb060af1872657277e551b8233 --- /dev/null +++ b/node_modules/date-fns/fp/setDayOfYearWithOptions.cjs @@ -0,0 +1,8 @@ +"use strict"; +exports.setDayOfYearWithOptions = void 0; + +var _index = require("../setDayOfYear.cjs"); +var _index2 = require("./_lib/convertToFP.cjs"); // This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. + +const setDayOfYearWithOptions = (exports.setDayOfYearWithOptions = (0, +_index2.convertToFP)(_index.setDayOfYear, 3)); diff --git a/node_modules/date-fns/fp/setDayOfYearWithOptions.d.cts b/node_modules/date-fns/fp/setDayOfYearWithOptions.d.cts new file mode 100644 index 0000000000000000000000000000000000000000..f23113971edab79760cd4852f9360646cb9e43cc --- /dev/null +++ b/node_modules/date-fns/fp/setDayOfYearWithOptions.d.cts @@ -0,0 +1,6 @@ +export declare const setDayOfYearWithOptions: import("./types.ts").FPFn3< + Date, + import("../setDayOfYear.ts").SetDayOfYearOptions | undefined, + number, + import("../fp.ts").DateArg +>; diff --git a/node_modules/date-fns/fp/setDayOfYearWithOptions.d.ts b/node_modules/date-fns/fp/setDayOfYearWithOptions.d.ts new file mode 100644 index 0000000000000000000000000000000000000000..f23113971edab79760cd4852f9360646cb9e43cc --- /dev/null +++ b/node_modules/date-fns/fp/setDayOfYearWithOptions.d.ts @@ -0,0 +1,6 @@ +export declare const setDayOfYearWithOptions: import("./types.ts").FPFn3< + Date, + import("../setDayOfYear.ts").SetDayOfYearOptions | undefined, + number, + import("../fp.ts").DateArg +>; diff --git a/node_modules/date-fns/fp/setDayOfYearWithOptions.js b/node_modules/date-fns/fp/setDayOfYearWithOptions.js new file mode 100644 index 0000000000000000000000000000000000000000..c411a7d287f096141411abbab3a66b435d4e2f95 --- /dev/null +++ b/node_modules/date-fns/fp/setDayOfYearWithOptions.js @@ -0,0 +1,9 @@ +// This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. + +import { setDayOfYear as fn } from "../setDayOfYear.js"; +import { convertToFP } from "./_lib/convertToFP.js"; + +export const setDayOfYearWithOptions = convertToFP(fn, 3); + +// Fallback for modularized imports: +export default setDayOfYearWithOptions; diff --git a/node_modules/date-fns/fp/setDayWithOptions.cjs b/node_modules/date-fns/fp/setDayWithOptions.cjs new file mode 100644 index 0000000000000000000000000000000000000000..d129dc963dadb3f3878ca4e5767482a07018fb60 --- /dev/null +++ b/node_modules/date-fns/fp/setDayWithOptions.cjs @@ -0,0 +1,10 @@ +"use strict"; +exports.setDayWithOptions = void 0; + +var _index = require("../setDay.cjs"); +var _index2 = require("./_lib/convertToFP.cjs"); // This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. + +const setDayWithOptions = (exports.setDayWithOptions = (0, _index2.convertToFP)( + _index.setDay, + 3, +)); diff --git a/node_modules/date-fns/fp/setDayWithOptions.d.cts b/node_modules/date-fns/fp/setDayWithOptions.d.cts new file mode 100644 index 0000000000000000000000000000000000000000..428fea141d911dbcc6318d2b308193edb2abb083 --- /dev/null +++ b/node_modules/date-fns/fp/setDayWithOptions.d.cts @@ -0,0 +1,6 @@ +export declare const setDayWithOptions: import("./types.ts").FPFn3< + Date, + import("../setDay.ts").SetDayOptions | undefined, + number, + import("../fp.ts").DateArg +>; diff --git a/node_modules/date-fns/fp/setDayWithOptions.d.ts b/node_modules/date-fns/fp/setDayWithOptions.d.ts new file mode 100644 index 0000000000000000000000000000000000000000..428fea141d911dbcc6318d2b308193edb2abb083 --- /dev/null +++ b/node_modules/date-fns/fp/setDayWithOptions.d.ts @@ -0,0 +1,6 @@ +export declare const setDayWithOptions: import("./types.ts").FPFn3< + Date, + import("../setDay.ts").SetDayOptions | undefined, + number, + import("../fp.ts").DateArg +>; diff --git a/node_modules/date-fns/fp/setDayWithOptions.js b/node_modules/date-fns/fp/setDayWithOptions.js new file mode 100644 index 0000000000000000000000000000000000000000..ac2d97b732e33d9d8914eb10989ecb32d042e582 --- /dev/null +++ b/node_modules/date-fns/fp/setDayWithOptions.js @@ -0,0 +1,9 @@ +// This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. + +import { setDay as fn } from "../setDay.js"; +import { convertToFP } from "./_lib/convertToFP.js"; + +export const setDayWithOptions = convertToFP(fn, 3); + +// Fallback for modularized imports: +export default setDayWithOptions; diff --git a/node_modules/date-fns/fp/setHours.cjs b/node_modules/date-fns/fp/setHours.cjs new file mode 100644 index 0000000000000000000000000000000000000000..7526a6eb96b7357391ad206d81604214b737d2de --- /dev/null +++ b/node_modules/date-fns/fp/setHours.cjs @@ -0,0 +1,10 @@ +"use strict"; +exports.setHours = void 0; + +var _index = require("../setHours.cjs"); +var _index2 = require("./_lib/convertToFP.cjs"); // This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. + +const setHours = (exports.setHours = (0, _index2.convertToFP)( + _index.setHours, + 2, +)); diff --git a/node_modules/date-fns/fp/setHours.d.cts b/node_modules/date-fns/fp/setHours.d.cts new file mode 100644 index 0000000000000000000000000000000000000000..c41a70928817c343084b9a0835ab940fbbc216ec --- /dev/null +++ b/node_modules/date-fns/fp/setHours.d.cts @@ -0,0 +1,5 @@ +export declare const setHours: import("./types.ts").FPFn2< + Date, + number, + import("../fp.ts").DateArg +>; diff --git a/node_modules/date-fns/fp/setHours.d.ts b/node_modules/date-fns/fp/setHours.d.ts new file mode 100644 index 0000000000000000000000000000000000000000..c41a70928817c343084b9a0835ab940fbbc216ec --- /dev/null +++ b/node_modules/date-fns/fp/setHours.d.ts @@ -0,0 +1,5 @@ +export declare const setHours: import("./types.ts").FPFn2< + Date, + number, + import("../fp.ts").DateArg +>; diff --git a/node_modules/date-fns/fp/setHours.js b/node_modules/date-fns/fp/setHours.js new file mode 100644 index 0000000000000000000000000000000000000000..b1c8df7ba071105fdea8c4eefb2e9b66b78af27a --- /dev/null +++ b/node_modules/date-fns/fp/setHours.js @@ -0,0 +1,9 @@ +// This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. + +import { setHours as fn } from "../setHours.js"; +import { convertToFP } from "./_lib/convertToFP.js"; + +export const setHours = convertToFP(fn, 2); + +// Fallback for modularized imports: +export default setHours; diff --git a/node_modules/date-fns/fp/setHoursWithOptions.cjs b/node_modules/date-fns/fp/setHoursWithOptions.cjs new file mode 100644 index 0000000000000000000000000000000000000000..3adc3f216bfea528ac6d5985d57aef3ea4cc0f1f --- /dev/null +++ b/node_modules/date-fns/fp/setHoursWithOptions.cjs @@ -0,0 +1,8 @@ +"use strict"; +exports.setHoursWithOptions = void 0; + +var _index = require("../setHours.cjs"); +var _index2 = require("./_lib/convertToFP.cjs"); // This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. + +const setHoursWithOptions = (exports.setHoursWithOptions = (0, +_index2.convertToFP)(_index.setHours, 3)); diff --git a/node_modules/date-fns/fp/setHoursWithOptions.d.cts b/node_modules/date-fns/fp/setHoursWithOptions.d.cts new file mode 100644 index 0000000000000000000000000000000000000000..cc01be5654d857e1ccb1ad1b1d2e02e724e62334 --- /dev/null +++ b/node_modules/date-fns/fp/setHoursWithOptions.d.cts @@ -0,0 +1,6 @@ +export declare const setHoursWithOptions: import("./types.ts").FPFn3< + Date, + import("../setHours.ts").SetHoursOptions | undefined, + number, + import("../fp.ts").DateArg +>; diff --git a/node_modules/date-fns/fp/setHoursWithOptions.d.ts b/node_modules/date-fns/fp/setHoursWithOptions.d.ts new file mode 100644 index 0000000000000000000000000000000000000000..cc01be5654d857e1ccb1ad1b1d2e02e724e62334 --- /dev/null +++ b/node_modules/date-fns/fp/setHoursWithOptions.d.ts @@ -0,0 +1,6 @@ +export declare const setHoursWithOptions: import("./types.ts").FPFn3< + Date, + import("../setHours.ts").SetHoursOptions | undefined, + number, + import("../fp.ts").DateArg +>; diff --git a/node_modules/date-fns/fp/setHoursWithOptions.js b/node_modules/date-fns/fp/setHoursWithOptions.js new file mode 100644 index 0000000000000000000000000000000000000000..96b241db32a5a75e77aa848fe9811d1d4f334942 --- /dev/null +++ b/node_modules/date-fns/fp/setHoursWithOptions.js @@ -0,0 +1,9 @@ +// This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. + +import { setHours as fn } from "../setHours.js"; +import { convertToFP } from "./_lib/convertToFP.js"; + +export const setHoursWithOptions = convertToFP(fn, 3); + +// Fallback for modularized imports: +export default setHoursWithOptions; diff --git a/node_modules/date-fns/fp/setISODay.cjs b/node_modules/date-fns/fp/setISODay.cjs new file mode 100644 index 0000000000000000000000000000000000000000..d80ee56a4a857701b2bda6434f53b84a057ea195 --- /dev/null +++ b/node_modules/date-fns/fp/setISODay.cjs @@ -0,0 +1,10 @@ +"use strict"; +exports.setISODay = void 0; + +var _index = require("../setISODay.cjs"); +var _index2 = require("./_lib/convertToFP.cjs"); // This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. + +const setISODay = (exports.setISODay = (0, _index2.convertToFP)( + _index.setISODay, + 2, +)); diff --git a/node_modules/date-fns/fp/setISODay.d.cts b/node_modules/date-fns/fp/setISODay.d.cts new file mode 100644 index 0000000000000000000000000000000000000000..b9051fcc090f86c8547fe9da6a1e0d28363a7b00 --- /dev/null +++ b/node_modules/date-fns/fp/setISODay.d.cts @@ -0,0 +1,5 @@ +export declare const setISODay: import("./types.ts").FPFn2< + Date, + number, + import("../fp.ts").DateArg +>; diff --git a/node_modules/date-fns/fp/setISODay.d.ts b/node_modules/date-fns/fp/setISODay.d.ts new file mode 100644 index 0000000000000000000000000000000000000000..b9051fcc090f86c8547fe9da6a1e0d28363a7b00 --- /dev/null +++ b/node_modules/date-fns/fp/setISODay.d.ts @@ -0,0 +1,5 @@ +export declare const setISODay: import("./types.ts").FPFn2< + Date, + number, + import("../fp.ts").DateArg +>; diff --git a/node_modules/date-fns/fp/setISODay.js b/node_modules/date-fns/fp/setISODay.js new file mode 100644 index 0000000000000000000000000000000000000000..d065e3814b23abd6b7cef938db9162c3df68abb8 --- /dev/null +++ b/node_modules/date-fns/fp/setISODay.js @@ -0,0 +1,9 @@ +// This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. + +import { setISODay as fn } from "../setISODay.js"; +import { convertToFP } from "./_lib/convertToFP.js"; + +export const setISODay = convertToFP(fn, 2); + +// Fallback for modularized imports: +export default setISODay; diff --git a/node_modules/date-fns/fp/setISODayWithOptions.cjs b/node_modules/date-fns/fp/setISODayWithOptions.cjs new file mode 100644 index 0000000000000000000000000000000000000000..d6a95286172c28fef0dae7211824275094dfb3d2 --- /dev/null +++ b/node_modules/date-fns/fp/setISODayWithOptions.cjs @@ -0,0 +1,8 @@ +"use strict"; +exports.setISODayWithOptions = void 0; + +var _index = require("../setISODay.cjs"); +var _index2 = require("./_lib/convertToFP.cjs"); // This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. + +const setISODayWithOptions = (exports.setISODayWithOptions = (0, +_index2.convertToFP)(_index.setISODay, 3)); diff --git a/node_modules/date-fns/fp/setISODayWithOptions.d.cts b/node_modules/date-fns/fp/setISODayWithOptions.d.cts new file mode 100644 index 0000000000000000000000000000000000000000..2f26e07804931daff77c8259c00c4add0b3eefe5 --- /dev/null +++ b/node_modules/date-fns/fp/setISODayWithOptions.d.cts @@ -0,0 +1,6 @@ +export declare const setISODayWithOptions: import("./types.ts").FPFn3< + Date, + import("../setISODay.ts").SetISODayOptions | undefined, + number, + import("../fp.ts").DateArg +>; diff --git a/node_modules/date-fns/fp/setISODayWithOptions.d.ts b/node_modules/date-fns/fp/setISODayWithOptions.d.ts new file mode 100644 index 0000000000000000000000000000000000000000..2f26e07804931daff77c8259c00c4add0b3eefe5 --- /dev/null +++ b/node_modules/date-fns/fp/setISODayWithOptions.d.ts @@ -0,0 +1,6 @@ +export declare const setISODayWithOptions: import("./types.ts").FPFn3< + Date, + import("../setISODay.ts").SetISODayOptions | undefined, + number, + import("../fp.ts").DateArg +>; diff --git a/node_modules/date-fns/fp/setISODayWithOptions.js b/node_modules/date-fns/fp/setISODayWithOptions.js new file mode 100644 index 0000000000000000000000000000000000000000..3689686818717fe33cd6c45e499b3862ffe07aa4 --- /dev/null +++ b/node_modules/date-fns/fp/setISODayWithOptions.js @@ -0,0 +1,9 @@ +// This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. + +import { setISODay as fn } from "../setISODay.js"; +import { convertToFP } from "./_lib/convertToFP.js"; + +export const setISODayWithOptions = convertToFP(fn, 3); + +// Fallback for modularized imports: +export default setISODayWithOptions; diff --git a/node_modules/date-fns/fp/setISOWeek.cjs b/node_modules/date-fns/fp/setISOWeek.cjs new file mode 100644 index 0000000000000000000000000000000000000000..9833a568dcdaa650efef72304be3a17f35510618 --- /dev/null +++ b/node_modules/date-fns/fp/setISOWeek.cjs @@ -0,0 +1,10 @@ +"use strict"; +exports.setISOWeek = void 0; + +var _index = require("../setISOWeek.cjs"); +var _index2 = require("./_lib/convertToFP.cjs"); // This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. + +const setISOWeek = (exports.setISOWeek = (0, _index2.convertToFP)( + _index.setISOWeek, + 2, +)); diff --git a/node_modules/date-fns/fp/setISOWeek.d.cts b/node_modules/date-fns/fp/setISOWeek.d.cts new file mode 100644 index 0000000000000000000000000000000000000000..607f3cdb65b9abea8cdc9d79f60a7517067e2698 --- /dev/null +++ b/node_modules/date-fns/fp/setISOWeek.d.cts @@ -0,0 +1,5 @@ +export declare const setISOWeek: import("./types.ts").FPFn2< + Date, + number, + import("../fp.ts").DateArg +>; diff --git a/node_modules/date-fns/fp/setISOWeek.d.ts b/node_modules/date-fns/fp/setISOWeek.d.ts new file mode 100644 index 0000000000000000000000000000000000000000..607f3cdb65b9abea8cdc9d79f60a7517067e2698 --- /dev/null +++ b/node_modules/date-fns/fp/setISOWeek.d.ts @@ -0,0 +1,5 @@ +export declare const setISOWeek: import("./types.ts").FPFn2< + Date, + number, + import("../fp.ts").DateArg +>; diff --git a/node_modules/date-fns/fp/setISOWeek.js b/node_modules/date-fns/fp/setISOWeek.js new file mode 100644 index 0000000000000000000000000000000000000000..b730c3bfce7ab77f0d423f8ac27c49aea5c6ae17 --- /dev/null +++ b/node_modules/date-fns/fp/setISOWeek.js @@ -0,0 +1,9 @@ +// This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. + +import { setISOWeek as fn } from "../setISOWeek.js"; +import { convertToFP } from "./_lib/convertToFP.js"; + +export const setISOWeek = convertToFP(fn, 2); + +// Fallback for modularized imports: +export default setISOWeek; diff --git a/node_modules/date-fns/fp/setISOWeekWithOptions.cjs b/node_modules/date-fns/fp/setISOWeekWithOptions.cjs new file mode 100644 index 0000000000000000000000000000000000000000..10835b6820906726ad7586291c147dfdb65c5803 --- /dev/null +++ b/node_modules/date-fns/fp/setISOWeekWithOptions.cjs @@ -0,0 +1,8 @@ +"use strict"; +exports.setISOWeekWithOptions = void 0; + +var _index = require("../setISOWeek.cjs"); +var _index2 = require("./_lib/convertToFP.cjs"); // This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. + +const setISOWeekWithOptions = (exports.setISOWeekWithOptions = (0, +_index2.convertToFP)(_index.setISOWeek, 3)); diff --git a/node_modules/date-fns/fp/setISOWeekWithOptions.d.cts b/node_modules/date-fns/fp/setISOWeekWithOptions.d.cts new file mode 100644 index 0000000000000000000000000000000000000000..2f4613c76ac86fef0319ac580984b9cb4451dfd0 --- /dev/null +++ b/node_modules/date-fns/fp/setISOWeekWithOptions.d.cts @@ -0,0 +1,6 @@ +export declare const setISOWeekWithOptions: import("./types.ts").FPFn3< + Date, + import("../setISOWeek.ts").SetISOWeekOptions | undefined, + number, + import("../fp.ts").DateArg +>; diff --git a/node_modules/date-fns/fp/setISOWeekWithOptions.d.ts b/node_modules/date-fns/fp/setISOWeekWithOptions.d.ts new file mode 100644 index 0000000000000000000000000000000000000000..2f4613c76ac86fef0319ac580984b9cb4451dfd0 --- /dev/null +++ b/node_modules/date-fns/fp/setISOWeekWithOptions.d.ts @@ -0,0 +1,6 @@ +export declare const setISOWeekWithOptions: import("./types.ts").FPFn3< + Date, + import("../setISOWeek.ts").SetISOWeekOptions | undefined, + number, + import("../fp.ts").DateArg +>; diff --git a/node_modules/date-fns/fp/setISOWeekWithOptions.js b/node_modules/date-fns/fp/setISOWeekWithOptions.js new file mode 100644 index 0000000000000000000000000000000000000000..5e2772aba74d3c7cc43ab12372f3d69822a4640c --- /dev/null +++ b/node_modules/date-fns/fp/setISOWeekWithOptions.js @@ -0,0 +1,9 @@ +// This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. + +import { setISOWeek as fn } from "../setISOWeek.js"; +import { convertToFP } from "./_lib/convertToFP.js"; + +export const setISOWeekWithOptions = convertToFP(fn, 3); + +// Fallback for modularized imports: +export default setISOWeekWithOptions; diff --git a/node_modules/date-fns/fp/setISOWeekYear.cjs b/node_modules/date-fns/fp/setISOWeekYear.cjs new file mode 100644 index 0000000000000000000000000000000000000000..207a757e5a9ed1bc6185668c251887e2ffba5a8a --- /dev/null +++ b/node_modules/date-fns/fp/setISOWeekYear.cjs @@ -0,0 +1,10 @@ +"use strict"; +exports.setISOWeekYear = void 0; + +var _index = require("../setISOWeekYear.cjs"); +var _index2 = require("./_lib/convertToFP.cjs"); // This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. + +const setISOWeekYear = (exports.setISOWeekYear = (0, _index2.convertToFP)( + _index.setISOWeekYear, + 2, +)); diff --git a/node_modules/date-fns/fp/setISOWeekYear.d.cts b/node_modules/date-fns/fp/setISOWeekYear.d.cts new file mode 100644 index 0000000000000000000000000000000000000000..132385050fd52b67a835e2b34e138c3c9248a589 --- /dev/null +++ b/node_modules/date-fns/fp/setISOWeekYear.d.cts @@ -0,0 +1,5 @@ +export declare const setISOWeekYear: import("./types.ts").FPFn2< + Date, + number, + import("../fp.ts").DateArg +>; diff --git a/node_modules/date-fns/fp/setISOWeekYear.d.ts b/node_modules/date-fns/fp/setISOWeekYear.d.ts new file mode 100644 index 0000000000000000000000000000000000000000..132385050fd52b67a835e2b34e138c3c9248a589 --- /dev/null +++ b/node_modules/date-fns/fp/setISOWeekYear.d.ts @@ -0,0 +1,5 @@ +export declare const setISOWeekYear: import("./types.ts").FPFn2< + Date, + number, + import("../fp.ts").DateArg +>; diff --git a/node_modules/date-fns/fp/setISOWeekYear.js b/node_modules/date-fns/fp/setISOWeekYear.js new file mode 100644 index 0000000000000000000000000000000000000000..2437c7c9a1c96afbbd59aa1b47a409ee6a8f39ca --- /dev/null +++ b/node_modules/date-fns/fp/setISOWeekYear.js @@ -0,0 +1,9 @@ +// This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. + +import { setISOWeekYear as fn } from "../setISOWeekYear.js"; +import { convertToFP } from "./_lib/convertToFP.js"; + +export const setISOWeekYear = convertToFP(fn, 2); + +// Fallback for modularized imports: +export default setISOWeekYear; diff --git a/node_modules/date-fns/fp/setISOWeekYearWithOptions.cjs b/node_modules/date-fns/fp/setISOWeekYearWithOptions.cjs new file mode 100644 index 0000000000000000000000000000000000000000..f53d10c13e39df3b12e739a5ca51b2b6035803d4 --- /dev/null +++ b/node_modules/date-fns/fp/setISOWeekYearWithOptions.cjs @@ -0,0 +1,8 @@ +"use strict"; +exports.setISOWeekYearWithOptions = void 0; + +var _index = require("../setISOWeekYear.cjs"); +var _index2 = require("./_lib/convertToFP.cjs"); // This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. + +const setISOWeekYearWithOptions = (exports.setISOWeekYearWithOptions = (0, +_index2.convertToFP)(_index.setISOWeekYear, 3)); diff --git a/node_modules/date-fns/fp/setISOWeekYearWithOptions.d.cts b/node_modules/date-fns/fp/setISOWeekYearWithOptions.d.cts new file mode 100644 index 0000000000000000000000000000000000000000..adea62be091fb6d8980f0488abff3494f8b5507e --- /dev/null +++ b/node_modules/date-fns/fp/setISOWeekYearWithOptions.d.cts @@ -0,0 +1,7 @@ +export declare const setISOWeekYearWithOptions: import("./types.ts").FPFn3< + Date, + | import("../setISOWeekYear.ts").SetISOWeekYearOptions + | undefined, + number, + import("../fp.ts").DateArg +>; diff --git a/node_modules/date-fns/fp/setISOWeekYearWithOptions.d.ts b/node_modules/date-fns/fp/setISOWeekYearWithOptions.d.ts new file mode 100644 index 0000000000000000000000000000000000000000..adea62be091fb6d8980f0488abff3494f8b5507e --- /dev/null +++ b/node_modules/date-fns/fp/setISOWeekYearWithOptions.d.ts @@ -0,0 +1,7 @@ +export declare const setISOWeekYearWithOptions: import("./types.ts").FPFn3< + Date, + | import("../setISOWeekYear.ts").SetISOWeekYearOptions + | undefined, + number, + import("../fp.ts").DateArg +>; diff --git a/node_modules/date-fns/fp/setISOWeekYearWithOptions.js b/node_modules/date-fns/fp/setISOWeekYearWithOptions.js new file mode 100644 index 0000000000000000000000000000000000000000..e3987c7c1bf2703216c157d91667c7e7fcf1833e --- /dev/null +++ b/node_modules/date-fns/fp/setISOWeekYearWithOptions.js @@ -0,0 +1,9 @@ +// This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. + +import { setISOWeekYear as fn } from "../setISOWeekYear.js"; +import { convertToFP } from "./_lib/convertToFP.js"; + +export const setISOWeekYearWithOptions = convertToFP(fn, 3); + +// Fallback for modularized imports: +export default setISOWeekYearWithOptions; diff --git a/node_modules/date-fns/fp/setMilliseconds.cjs b/node_modules/date-fns/fp/setMilliseconds.cjs new file mode 100644 index 0000000000000000000000000000000000000000..38f142ed6a9a4494105c7c0abffc8d25013e3e29 --- /dev/null +++ b/node_modules/date-fns/fp/setMilliseconds.cjs @@ -0,0 +1,10 @@ +"use strict"; +exports.setMilliseconds = void 0; + +var _index = require("../setMilliseconds.cjs"); +var _index2 = require("./_lib/convertToFP.cjs"); // This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. + +const setMilliseconds = (exports.setMilliseconds = (0, _index2.convertToFP)( + _index.setMilliseconds, + 2, +)); diff --git a/node_modules/date-fns/fp/setMilliseconds.d.cts b/node_modules/date-fns/fp/setMilliseconds.d.cts new file mode 100644 index 0000000000000000000000000000000000000000..e5be05ffc7d0f12d13599a17d7fa94ecbfdd8091 --- /dev/null +++ b/node_modules/date-fns/fp/setMilliseconds.d.cts @@ -0,0 +1,5 @@ +export declare const setMilliseconds: import("./types.ts").FPFn2< + Date, + number, + import("../fp.ts").DateArg +>; diff --git a/node_modules/date-fns/fp/setMilliseconds.d.ts b/node_modules/date-fns/fp/setMilliseconds.d.ts new file mode 100644 index 0000000000000000000000000000000000000000..e5be05ffc7d0f12d13599a17d7fa94ecbfdd8091 --- /dev/null +++ b/node_modules/date-fns/fp/setMilliseconds.d.ts @@ -0,0 +1,5 @@ +export declare const setMilliseconds: import("./types.ts").FPFn2< + Date, + number, + import("../fp.ts").DateArg +>; diff --git a/node_modules/date-fns/fp/setMilliseconds.js b/node_modules/date-fns/fp/setMilliseconds.js new file mode 100644 index 0000000000000000000000000000000000000000..9a569074961ec59b67a4f03bc95938f0d83ca6fc --- /dev/null +++ b/node_modules/date-fns/fp/setMilliseconds.js @@ -0,0 +1,9 @@ +// This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. + +import { setMilliseconds as fn } from "../setMilliseconds.js"; +import { convertToFP } from "./_lib/convertToFP.js"; + +export const setMilliseconds = convertToFP(fn, 2); + +// Fallback for modularized imports: +export default setMilliseconds; diff --git a/node_modules/date-fns/fp/setMillisecondsWithOptions.cjs b/node_modules/date-fns/fp/setMillisecondsWithOptions.cjs new file mode 100644 index 0000000000000000000000000000000000000000..d171eea98cebad54de4f1696e5f459baddec76ba --- /dev/null +++ b/node_modules/date-fns/fp/setMillisecondsWithOptions.cjs @@ -0,0 +1,8 @@ +"use strict"; +exports.setMillisecondsWithOptions = void 0; + +var _index = require("../setMilliseconds.cjs"); +var _index2 = require("./_lib/convertToFP.cjs"); // This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. + +const setMillisecondsWithOptions = (exports.setMillisecondsWithOptions = (0, +_index2.convertToFP)(_index.setMilliseconds, 3)); diff --git a/node_modules/date-fns/fp/setMillisecondsWithOptions.d.cts b/node_modules/date-fns/fp/setMillisecondsWithOptions.d.cts new file mode 100644 index 0000000000000000000000000000000000000000..9a6aaa7f9103c519a3914fe3e786d61017b4fbca --- /dev/null +++ b/node_modules/date-fns/fp/setMillisecondsWithOptions.d.cts @@ -0,0 +1,7 @@ +export declare const setMillisecondsWithOptions: import("./types.ts").FPFn3< + Date, + | import("../setMilliseconds.ts").SetMillisecondsOptions + | undefined, + number, + import("../fp.ts").DateArg +>; diff --git a/node_modules/date-fns/fp/setMillisecondsWithOptions.d.ts b/node_modules/date-fns/fp/setMillisecondsWithOptions.d.ts new file mode 100644 index 0000000000000000000000000000000000000000..9a6aaa7f9103c519a3914fe3e786d61017b4fbca --- /dev/null +++ b/node_modules/date-fns/fp/setMillisecondsWithOptions.d.ts @@ -0,0 +1,7 @@ +export declare const setMillisecondsWithOptions: import("./types.ts").FPFn3< + Date, + | import("../setMilliseconds.ts").SetMillisecondsOptions + | undefined, + number, + import("../fp.ts").DateArg +>; diff --git a/node_modules/date-fns/fp/setMillisecondsWithOptions.js b/node_modules/date-fns/fp/setMillisecondsWithOptions.js new file mode 100644 index 0000000000000000000000000000000000000000..1c71d062fb3c59d5f920e74440dbaf49e2c439b7 --- /dev/null +++ b/node_modules/date-fns/fp/setMillisecondsWithOptions.js @@ -0,0 +1,9 @@ +// This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. + +import { setMilliseconds as fn } from "../setMilliseconds.js"; +import { convertToFP } from "./_lib/convertToFP.js"; + +export const setMillisecondsWithOptions = convertToFP(fn, 3); + +// Fallback for modularized imports: +export default setMillisecondsWithOptions; diff --git a/node_modules/date-fns/fp/setMinutes.cjs b/node_modules/date-fns/fp/setMinutes.cjs new file mode 100644 index 0000000000000000000000000000000000000000..ca8e2ed5931999cb88f67a4673565e8b8c7a7a76 --- /dev/null +++ b/node_modules/date-fns/fp/setMinutes.cjs @@ -0,0 +1,10 @@ +"use strict"; +exports.setMinutes = void 0; + +var _index = require("../setMinutes.cjs"); +var _index2 = require("./_lib/convertToFP.cjs"); // This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. + +const setMinutes = (exports.setMinutes = (0, _index2.convertToFP)( + _index.setMinutes, + 2, +)); diff --git a/node_modules/date-fns/fp/setMinutes.d.cts b/node_modules/date-fns/fp/setMinutes.d.cts new file mode 100644 index 0000000000000000000000000000000000000000..ccb7e8b5e3324c46fe1cd662eda2ee57e76ac140 --- /dev/null +++ b/node_modules/date-fns/fp/setMinutes.d.cts @@ -0,0 +1,5 @@ +export declare const setMinutes: import("./types.ts").FPFn2< + Date, + number, + import("../fp.ts").DateArg +>; diff --git a/node_modules/date-fns/fp/setMinutes.d.ts b/node_modules/date-fns/fp/setMinutes.d.ts new file mode 100644 index 0000000000000000000000000000000000000000..ccb7e8b5e3324c46fe1cd662eda2ee57e76ac140 --- /dev/null +++ b/node_modules/date-fns/fp/setMinutes.d.ts @@ -0,0 +1,5 @@ +export declare const setMinutes: import("./types.ts").FPFn2< + Date, + number, + import("../fp.ts").DateArg +>; diff --git a/node_modules/date-fns/fp/setMinutes.js b/node_modules/date-fns/fp/setMinutes.js new file mode 100644 index 0000000000000000000000000000000000000000..81301d6e62dee0be85f70264a1e5e5e937e7e2d4 --- /dev/null +++ b/node_modules/date-fns/fp/setMinutes.js @@ -0,0 +1,9 @@ +// This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. + +import { setMinutes as fn } from "../setMinutes.js"; +import { convertToFP } from "./_lib/convertToFP.js"; + +export const setMinutes = convertToFP(fn, 2); + +// Fallback for modularized imports: +export default setMinutes; diff --git a/node_modules/date-fns/fp/setMinutesWithOptions.cjs b/node_modules/date-fns/fp/setMinutesWithOptions.cjs new file mode 100644 index 0000000000000000000000000000000000000000..621076779177ef9c491641edcfb5d29cdbcbd4f3 --- /dev/null +++ b/node_modules/date-fns/fp/setMinutesWithOptions.cjs @@ -0,0 +1,8 @@ +"use strict"; +exports.setMinutesWithOptions = void 0; + +var _index = require("../setMinutes.cjs"); +var _index2 = require("./_lib/convertToFP.cjs"); // This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. + +const setMinutesWithOptions = (exports.setMinutesWithOptions = (0, +_index2.convertToFP)(_index.setMinutes, 3)); diff --git a/node_modules/date-fns/fp/setMinutesWithOptions.d.cts b/node_modules/date-fns/fp/setMinutesWithOptions.d.cts new file mode 100644 index 0000000000000000000000000000000000000000..65bb6973c011f6eec11bcd66c00606540c8244b7 --- /dev/null +++ b/node_modules/date-fns/fp/setMinutesWithOptions.d.cts @@ -0,0 +1,6 @@ +export declare const setMinutesWithOptions: import("./types.ts").FPFn3< + Date, + import("../setMinutes.ts").SetMinutesOptions | undefined, + number, + import("../fp.ts").DateArg +>; diff --git a/node_modules/date-fns/fp/setMinutesWithOptions.d.ts b/node_modules/date-fns/fp/setMinutesWithOptions.d.ts new file mode 100644 index 0000000000000000000000000000000000000000..65bb6973c011f6eec11bcd66c00606540c8244b7 --- /dev/null +++ b/node_modules/date-fns/fp/setMinutesWithOptions.d.ts @@ -0,0 +1,6 @@ +export declare const setMinutesWithOptions: import("./types.ts").FPFn3< + Date, + import("../setMinutes.ts").SetMinutesOptions | undefined, + number, + import("../fp.ts").DateArg +>; diff --git a/node_modules/date-fns/fp/setMinutesWithOptions.js b/node_modules/date-fns/fp/setMinutesWithOptions.js new file mode 100644 index 0000000000000000000000000000000000000000..7b39ff876568107ad7ce3e3168f3a543e75ac403 --- /dev/null +++ b/node_modules/date-fns/fp/setMinutesWithOptions.js @@ -0,0 +1,9 @@ +// This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. + +import { setMinutes as fn } from "../setMinutes.js"; +import { convertToFP } from "./_lib/convertToFP.js"; + +export const setMinutesWithOptions = convertToFP(fn, 3); + +// Fallback for modularized imports: +export default setMinutesWithOptions; diff --git a/node_modules/date-fns/fp/setMonth.cjs b/node_modules/date-fns/fp/setMonth.cjs new file mode 100644 index 0000000000000000000000000000000000000000..a08a23c0e59d8370c816cee56ed0ff02066eb039 --- /dev/null +++ b/node_modules/date-fns/fp/setMonth.cjs @@ -0,0 +1,10 @@ +"use strict"; +exports.setMonth = void 0; + +var _index = require("../setMonth.cjs"); +var _index2 = require("./_lib/convertToFP.cjs"); // This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. + +const setMonth = (exports.setMonth = (0, _index2.convertToFP)( + _index.setMonth, + 2, +)); diff --git a/node_modules/date-fns/fp/setMonth.d.cts b/node_modules/date-fns/fp/setMonth.d.cts new file mode 100644 index 0000000000000000000000000000000000000000..177beb31ad59db5f5e01f48a9eb61a9137b047c9 --- /dev/null +++ b/node_modules/date-fns/fp/setMonth.d.cts @@ -0,0 +1,5 @@ +export declare const setMonth: import("./types.ts").FPFn2< + Date, + number, + import("../fp.ts").DateArg +>; diff --git a/node_modules/date-fns/fp/setMonth.d.ts b/node_modules/date-fns/fp/setMonth.d.ts new file mode 100644 index 0000000000000000000000000000000000000000..177beb31ad59db5f5e01f48a9eb61a9137b047c9 --- /dev/null +++ b/node_modules/date-fns/fp/setMonth.d.ts @@ -0,0 +1,5 @@ +export declare const setMonth: import("./types.ts").FPFn2< + Date, + number, + import("../fp.ts").DateArg +>; diff --git a/node_modules/date-fns/fp/setMonth.js b/node_modules/date-fns/fp/setMonth.js new file mode 100644 index 0000000000000000000000000000000000000000..09ec6e1c453bdf520073643df82648cd7827b866 --- /dev/null +++ b/node_modules/date-fns/fp/setMonth.js @@ -0,0 +1,9 @@ +// This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. + +import { setMonth as fn } from "../setMonth.js"; +import { convertToFP } from "./_lib/convertToFP.js"; + +export const setMonth = convertToFP(fn, 2); + +// Fallback for modularized imports: +export default setMonth; diff --git a/node_modules/date-fns/fp/setMonthWithOptions.cjs b/node_modules/date-fns/fp/setMonthWithOptions.cjs new file mode 100644 index 0000000000000000000000000000000000000000..e21748b1c32da6c630f9086a4128c82e75c2a88b --- /dev/null +++ b/node_modules/date-fns/fp/setMonthWithOptions.cjs @@ -0,0 +1,8 @@ +"use strict"; +exports.setMonthWithOptions = void 0; + +var _index = require("../setMonth.cjs"); +var _index2 = require("./_lib/convertToFP.cjs"); // This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. + +const setMonthWithOptions = (exports.setMonthWithOptions = (0, +_index2.convertToFP)(_index.setMonth, 3)); diff --git a/node_modules/date-fns/fp/setMonthWithOptions.d.cts b/node_modules/date-fns/fp/setMonthWithOptions.d.cts new file mode 100644 index 0000000000000000000000000000000000000000..83ea0d99d3c538e944ffbdca46b84b2b9f477693 --- /dev/null +++ b/node_modules/date-fns/fp/setMonthWithOptions.d.cts @@ -0,0 +1,6 @@ +export declare const setMonthWithOptions: import("./types.ts").FPFn3< + Date, + import("../setMonth.ts").SetMonthOptions | undefined, + number, + import("../fp.ts").DateArg +>; diff --git a/node_modules/date-fns/fp/setMonthWithOptions.d.ts b/node_modules/date-fns/fp/setMonthWithOptions.d.ts new file mode 100644 index 0000000000000000000000000000000000000000..83ea0d99d3c538e944ffbdca46b84b2b9f477693 --- /dev/null +++ b/node_modules/date-fns/fp/setMonthWithOptions.d.ts @@ -0,0 +1,6 @@ +export declare const setMonthWithOptions: import("./types.ts").FPFn3< + Date, + import("../setMonth.ts").SetMonthOptions | undefined, + number, + import("../fp.ts").DateArg +>; diff --git a/node_modules/date-fns/fp/setMonthWithOptions.js b/node_modules/date-fns/fp/setMonthWithOptions.js new file mode 100644 index 0000000000000000000000000000000000000000..22ab48c53ba47219c0f85b71d5349afb1994ab41 --- /dev/null +++ b/node_modules/date-fns/fp/setMonthWithOptions.js @@ -0,0 +1,9 @@ +// This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. + +import { setMonth as fn } from "../setMonth.js"; +import { convertToFP } from "./_lib/convertToFP.js"; + +export const setMonthWithOptions = convertToFP(fn, 3); + +// Fallback for modularized imports: +export default setMonthWithOptions; diff --git a/node_modules/date-fns/fp/setQuarter.cjs b/node_modules/date-fns/fp/setQuarter.cjs new file mode 100644 index 0000000000000000000000000000000000000000..d862a6102b3f2bb9737e2a579ac81c54c11228fb --- /dev/null +++ b/node_modules/date-fns/fp/setQuarter.cjs @@ -0,0 +1,10 @@ +"use strict"; +exports.setQuarter = void 0; + +var _index = require("../setQuarter.cjs"); +var _index2 = require("./_lib/convertToFP.cjs"); // This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. + +const setQuarter = (exports.setQuarter = (0, _index2.convertToFP)( + _index.setQuarter, + 2, +)); diff --git a/node_modules/date-fns/fp/setQuarter.d.cts b/node_modules/date-fns/fp/setQuarter.d.cts new file mode 100644 index 0000000000000000000000000000000000000000..4c8bb52a3f70e85088353213e08dc1765c3bb804 --- /dev/null +++ b/node_modules/date-fns/fp/setQuarter.d.cts @@ -0,0 +1,5 @@ +export declare const setQuarter: import("./types.ts").FPFn2< + Date, + number, + import("../fp.ts").DateArg +>; diff --git a/node_modules/date-fns/fp/setQuarter.d.ts b/node_modules/date-fns/fp/setQuarter.d.ts new file mode 100644 index 0000000000000000000000000000000000000000..4c8bb52a3f70e85088353213e08dc1765c3bb804 --- /dev/null +++ b/node_modules/date-fns/fp/setQuarter.d.ts @@ -0,0 +1,5 @@ +export declare const setQuarter: import("./types.ts").FPFn2< + Date, + number, + import("../fp.ts").DateArg +>; diff --git a/node_modules/date-fns/fp/setQuarter.js b/node_modules/date-fns/fp/setQuarter.js new file mode 100644 index 0000000000000000000000000000000000000000..fae099e0164cbd39abf3b630b5aef3a3cb30755a --- /dev/null +++ b/node_modules/date-fns/fp/setQuarter.js @@ -0,0 +1,9 @@ +// This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. + +import { setQuarter as fn } from "../setQuarter.js"; +import { convertToFP } from "./_lib/convertToFP.js"; + +export const setQuarter = convertToFP(fn, 2); + +// Fallback for modularized imports: +export default setQuarter; diff --git a/node_modules/date-fns/fp/setQuarterWithOptions.cjs b/node_modules/date-fns/fp/setQuarterWithOptions.cjs new file mode 100644 index 0000000000000000000000000000000000000000..e94106c0ce0374da412608d55994c5172b351762 --- /dev/null +++ b/node_modules/date-fns/fp/setQuarterWithOptions.cjs @@ -0,0 +1,8 @@ +"use strict"; +exports.setQuarterWithOptions = void 0; + +var _index = require("../setQuarter.cjs"); +var _index2 = require("./_lib/convertToFP.cjs"); // This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. + +const setQuarterWithOptions = (exports.setQuarterWithOptions = (0, +_index2.convertToFP)(_index.setQuarter, 3)); diff --git a/node_modules/date-fns/fp/setQuarterWithOptions.d.cts b/node_modules/date-fns/fp/setQuarterWithOptions.d.cts new file mode 100644 index 0000000000000000000000000000000000000000..f13a5aa7bfca5bb3b134045eebb70e7be278ab08 --- /dev/null +++ b/node_modules/date-fns/fp/setQuarterWithOptions.d.cts @@ -0,0 +1,6 @@ +export declare const setQuarterWithOptions: import("./types.ts").FPFn3< + Date, + import("../setQuarter.ts").SetQuarterOptions | undefined, + number, + import("../fp.ts").DateArg +>; diff --git a/node_modules/date-fns/fp/setQuarterWithOptions.d.ts b/node_modules/date-fns/fp/setQuarterWithOptions.d.ts new file mode 100644 index 0000000000000000000000000000000000000000..f13a5aa7bfca5bb3b134045eebb70e7be278ab08 --- /dev/null +++ b/node_modules/date-fns/fp/setQuarterWithOptions.d.ts @@ -0,0 +1,6 @@ +export declare const setQuarterWithOptions: import("./types.ts").FPFn3< + Date, + import("../setQuarter.ts").SetQuarterOptions | undefined, + number, + import("../fp.ts").DateArg +>; diff --git a/node_modules/date-fns/fp/setQuarterWithOptions.js b/node_modules/date-fns/fp/setQuarterWithOptions.js new file mode 100644 index 0000000000000000000000000000000000000000..11d4f87c11d4a1243a1bab71e668268c2de1194b --- /dev/null +++ b/node_modules/date-fns/fp/setQuarterWithOptions.js @@ -0,0 +1,9 @@ +// This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. + +import { setQuarter as fn } from "../setQuarter.js"; +import { convertToFP } from "./_lib/convertToFP.js"; + +export const setQuarterWithOptions = convertToFP(fn, 3); + +// Fallback for modularized imports: +export default setQuarterWithOptions; diff --git a/node_modules/date-fns/fp/setSeconds.cjs b/node_modules/date-fns/fp/setSeconds.cjs new file mode 100644 index 0000000000000000000000000000000000000000..5053970133ae9a4292088fd80ab3b9c6f836a192 --- /dev/null +++ b/node_modules/date-fns/fp/setSeconds.cjs @@ -0,0 +1,10 @@ +"use strict"; +exports.setSeconds = void 0; + +var _index = require("../setSeconds.cjs"); +var _index2 = require("./_lib/convertToFP.cjs"); // This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. + +const setSeconds = (exports.setSeconds = (0, _index2.convertToFP)( + _index.setSeconds, + 2, +)); diff --git a/node_modules/date-fns/fp/setSeconds.d.cts b/node_modules/date-fns/fp/setSeconds.d.cts new file mode 100644 index 0000000000000000000000000000000000000000..a643513ea20a2b8274369e95760ab60b4a242420 --- /dev/null +++ b/node_modules/date-fns/fp/setSeconds.d.cts @@ -0,0 +1,5 @@ +export declare const setSeconds: import("./types.ts").FPFn2< + Date, + number, + import("../fp.ts").DateArg +>; diff --git a/node_modules/date-fns/fp/setSeconds.d.ts b/node_modules/date-fns/fp/setSeconds.d.ts new file mode 100644 index 0000000000000000000000000000000000000000..a643513ea20a2b8274369e95760ab60b4a242420 --- /dev/null +++ b/node_modules/date-fns/fp/setSeconds.d.ts @@ -0,0 +1,5 @@ +export declare const setSeconds: import("./types.ts").FPFn2< + Date, + number, + import("../fp.ts").DateArg +>; diff --git a/node_modules/date-fns/fp/setSeconds.js b/node_modules/date-fns/fp/setSeconds.js new file mode 100644 index 0000000000000000000000000000000000000000..656554f9f9271b870e4d2314ce4d14a4a645058b --- /dev/null +++ b/node_modules/date-fns/fp/setSeconds.js @@ -0,0 +1,9 @@ +// This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. + +import { setSeconds as fn } from "../setSeconds.js"; +import { convertToFP } from "./_lib/convertToFP.js"; + +export const setSeconds = convertToFP(fn, 2); + +// Fallback for modularized imports: +export default setSeconds; diff --git a/node_modules/date-fns/fp/setSecondsWithOptions.cjs b/node_modules/date-fns/fp/setSecondsWithOptions.cjs new file mode 100644 index 0000000000000000000000000000000000000000..2d6ee8b33afe27637cd0d041e2d0c0c917417bf3 --- /dev/null +++ b/node_modules/date-fns/fp/setSecondsWithOptions.cjs @@ -0,0 +1,8 @@ +"use strict"; +exports.setSecondsWithOptions = void 0; + +var _index = require("../setSeconds.cjs"); +var _index2 = require("./_lib/convertToFP.cjs"); // This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. + +const setSecondsWithOptions = (exports.setSecondsWithOptions = (0, +_index2.convertToFP)(_index.setSeconds, 3)); diff --git a/node_modules/date-fns/fp/setSecondsWithOptions.d.cts b/node_modules/date-fns/fp/setSecondsWithOptions.d.cts new file mode 100644 index 0000000000000000000000000000000000000000..cca3e403e10e52f0f7c59eb5b6b6d0d972dccced --- /dev/null +++ b/node_modules/date-fns/fp/setSecondsWithOptions.d.cts @@ -0,0 +1,6 @@ +export declare const setSecondsWithOptions: import("./types.ts").FPFn3< + Date, + import("../setSeconds.ts").SetSecondsOptions | undefined, + number, + import("../fp.ts").DateArg +>; diff --git a/node_modules/date-fns/fp/setSecondsWithOptions.d.ts b/node_modules/date-fns/fp/setSecondsWithOptions.d.ts new file mode 100644 index 0000000000000000000000000000000000000000..cca3e403e10e52f0f7c59eb5b6b6d0d972dccced --- /dev/null +++ b/node_modules/date-fns/fp/setSecondsWithOptions.d.ts @@ -0,0 +1,6 @@ +export declare const setSecondsWithOptions: import("./types.ts").FPFn3< + Date, + import("../setSeconds.ts").SetSecondsOptions | undefined, + number, + import("../fp.ts").DateArg +>; diff --git a/node_modules/date-fns/fp/setSecondsWithOptions.js b/node_modules/date-fns/fp/setSecondsWithOptions.js new file mode 100644 index 0000000000000000000000000000000000000000..471fee7662343f07c1952e4641c1a55a41375816 --- /dev/null +++ b/node_modules/date-fns/fp/setSecondsWithOptions.js @@ -0,0 +1,9 @@ +// This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. + +import { setSeconds as fn } from "../setSeconds.js"; +import { convertToFP } from "./_lib/convertToFP.js"; + +export const setSecondsWithOptions = convertToFP(fn, 3); + +// Fallback for modularized imports: +export default setSecondsWithOptions; diff --git a/node_modules/date-fns/fp/setWeek.cjs b/node_modules/date-fns/fp/setWeek.cjs new file mode 100644 index 0000000000000000000000000000000000000000..373a56a5e3bb8b4691f2e7eacb13fe7b7d9f803a --- /dev/null +++ b/node_modules/date-fns/fp/setWeek.cjs @@ -0,0 +1,7 @@ +"use strict"; +exports.setWeek = void 0; + +var _index = require("../setWeek.cjs"); +var _index2 = require("./_lib/convertToFP.cjs"); // This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. + +const setWeek = (exports.setWeek = (0, _index2.convertToFP)(_index.setWeek, 2)); diff --git a/node_modules/date-fns/fp/setWeek.d.cts b/node_modules/date-fns/fp/setWeek.d.cts new file mode 100644 index 0000000000000000000000000000000000000000..7d32dab2b26f7ef89cc7060a4282570a0cc165ea --- /dev/null +++ b/node_modules/date-fns/fp/setWeek.d.cts @@ -0,0 +1,5 @@ +export declare const setWeek: import("./types.ts").FPFn2< + Date, + number, + import("../fp.ts").DateArg +>; diff --git a/node_modules/date-fns/fp/setWeek.d.ts b/node_modules/date-fns/fp/setWeek.d.ts new file mode 100644 index 0000000000000000000000000000000000000000..7d32dab2b26f7ef89cc7060a4282570a0cc165ea --- /dev/null +++ b/node_modules/date-fns/fp/setWeek.d.ts @@ -0,0 +1,5 @@ +export declare const setWeek: import("./types.ts").FPFn2< + Date, + number, + import("../fp.ts").DateArg +>; diff --git a/node_modules/date-fns/fp/setWeek.js b/node_modules/date-fns/fp/setWeek.js new file mode 100644 index 0000000000000000000000000000000000000000..b5bd9fee0704d78ebae748acc9220dbc58558115 --- /dev/null +++ b/node_modules/date-fns/fp/setWeek.js @@ -0,0 +1,9 @@ +// This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. + +import { setWeek as fn } from "../setWeek.js"; +import { convertToFP } from "./_lib/convertToFP.js"; + +export const setWeek = convertToFP(fn, 2); + +// Fallback for modularized imports: +export default setWeek; diff --git a/node_modules/date-fns/fp/setWeekWithOptions.cjs b/node_modules/date-fns/fp/setWeekWithOptions.cjs new file mode 100644 index 0000000000000000000000000000000000000000..c7556bc4a9d49f3b36dbc5878badff80ebdc1190 --- /dev/null +++ b/node_modules/date-fns/fp/setWeekWithOptions.cjs @@ -0,0 +1,8 @@ +"use strict"; +exports.setWeekWithOptions = void 0; + +var _index = require("../setWeek.cjs"); +var _index2 = require("./_lib/convertToFP.cjs"); // This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. + +const setWeekWithOptions = (exports.setWeekWithOptions = (0, +_index2.convertToFP)(_index.setWeek, 3)); diff --git a/node_modules/date-fns/fp/setWeekWithOptions.d.cts b/node_modules/date-fns/fp/setWeekWithOptions.d.cts new file mode 100644 index 0000000000000000000000000000000000000000..686bf9b07a994ebfb7a299ed9c007b334c3dfeee --- /dev/null +++ b/node_modules/date-fns/fp/setWeekWithOptions.d.cts @@ -0,0 +1,6 @@ +export declare const setWeekWithOptions: import("./types.ts").FPFn3< + Date, + import("../setWeek.ts").SetWeekOptions | undefined, + number, + import("../fp.ts").DateArg +>; diff --git a/node_modules/date-fns/fp/setWeekWithOptions.d.ts b/node_modules/date-fns/fp/setWeekWithOptions.d.ts new file mode 100644 index 0000000000000000000000000000000000000000..686bf9b07a994ebfb7a299ed9c007b334c3dfeee --- /dev/null +++ b/node_modules/date-fns/fp/setWeekWithOptions.d.ts @@ -0,0 +1,6 @@ +export declare const setWeekWithOptions: import("./types.ts").FPFn3< + Date, + import("../setWeek.ts").SetWeekOptions | undefined, + number, + import("../fp.ts").DateArg +>; diff --git a/node_modules/date-fns/fp/setWeekWithOptions.js b/node_modules/date-fns/fp/setWeekWithOptions.js new file mode 100644 index 0000000000000000000000000000000000000000..a960648369615d36e38a940a61d12490ed50d0eb --- /dev/null +++ b/node_modules/date-fns/fp/setWeekWithOptions.js @@ -0,0 +1,9 @@ +// This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. + +import { setWeek as fn } from "../setWeek.js"; +import { convertToFP } from "./_lib/convertToFP.js"; + +export const setWeekWithOptions = convertToFP(fn, 3); + +// Fallback for modularized imports: +export default setWeekWithOptions; diff --git a/node_modules/date-fns/fp/setWeekYear.cjs b/node_modules/date-fns/fp/setWeekYear.cjs new file mode 100644 index 0000000000000000000000000000000000000000..fb66f5499258f627b675197311ff98cfd884ba43 --- /dev/null +++ b/node_modules/date-fns/fp/setWeekYear.cjs @@ -0,0 +1,10 @@ +"use strict"; +exports.setWeekYear = void 0; + +var _index = require("../setWeekYear.cjs"); +var _index2 = require("./_lib/convertToFP.cjs"); // This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. + +const setWeekYear = (exports.setWeekYear = (0, _index2.convertToFP)( + _index.setWeekYear, + 2, +)); diff --git a/node_modules/date-fns/fp/setWeekYear.d.cts b/node_modules/date-fns/fp/setWeekYear.d.cts new file mode 100644 index 0000000000000000000000000000000000000000..58739ccaf9291215df88cfbb98e42fc7c0c029a3 --- /dev/null +++ b/node_modules/date-fns/fp/setWeekYear.d.cts @@ -0,0 +1,5 @@ +export declare const setWeekYear: import("./types.ts").FPFn2< + Date, + number, + import("../fp.ts").DateArg +>; diff --git a/node_modules/date-fns/fp/setWeekYear.d.ts b/node_modules/date-fns/fp/setWeekYear.d.ts new file mode 100644 index 0000000000000000000000000000000000000000..58739ccaf9291215df88cfbb98e42fc7c0c029a3 --- /dev/null +++ b/node_modules/date-fns/fp/setWeekYear.d.ts @@ -0,0 +1,5 @@ +export declare const setWeekYear: import("./types.ts").FPFn2< + Date, + number, + import("../fp.ts").DateArg +>; diff --git a/node_modules/date-fns/fp/setWeekYear.js b/node_modules/date-fns/fp/setWeekYear.js new file mode 100644 index 0000000000000000000000000000000000000000..64be677f087d7329ff1430aeac28cc6bc41972fe --- /dev/null +++ b/node_modules/date-fns/fp/setWeekYear.js @@ -0,0 +1,9 @@ +// This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. + +import { setWeekYear as fn } from "../setWeekYear.js"; +import { convertToFP } from "./_lib/convertToFP.js"; + +export const setWeekYear = convertToFP(fn, 2); + +// Fallback for modularized imports: +export default setWeekYear; diff --git a/node_modules/date-fns/fp/setWeekYearWithOptions.cjs b/node_modules/date-fns/fp/setWeekYearWithOptions.cjs new file mode 100644 index 0000000000000000000000000000000000000000..620338e0e39a56427c323362c625259359045b3e --- /dev/null +++ b/node_modules/date-fns/fp/setWeekYearWithOptions.cjs @@ -0,0 +1,8 @@ +"use strict"; +exports.setWeekYearWithOptions = void 0; + +var _index = require("../setWeekYear.cjs"); +var _index2 = require("./_lib/convertToFP.cjs"); // This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. + +const setWeekYearWithOptions = (exports.setWeekYearWithOptions = (0, +_index2.convertToFP)(_index.setWeekYear, 3)); diff --git a/node_modules/date-fns/fp/setWeekYearWithOptions.d.cts b/node_modules/date-fns/fp/setWeekYearWithOptions.d.cts new file mode 100644 index 0000000000000000000000000000000000000000..5683992d678b7659f73e0c6e7378ddfe1a0dd195 --- /dev/null +++ b/node_modules/date-fns/fp/setWeekYearWithOptions.d.cts @@ -0,0 +1,6 @@ +export declare const setWeekYearWithOptions: import("./types.ts").FPFn3< + Date, + import("../setWeekYear.ts").SetWeekYearOptions | undefined, + number, + import("../fp.ts").DateArg +>; diff --git a/node_modules/date-fns/fp/setWeekYearWithOptions.d.ts b/node_modules/date-fns/fp/setWeekYearWithOptions.d.ts new file mode 100644 index 0000000000000000000000000000000000000000..5683992d678b7659f73e0c6e7378ddfe1a0dd195 --- /dev/null +++ b/node_modules/date-fns/fp/setWeekYearWithOptions.d.ts @@ -0,0 +1,6 @@ +export declare const setWeekYearWithOptions: import("./types.ts").FPFn3< + Date, + import("../setWeekYear.ts").SetWeekYearOptions | undefined, + number, + import("../fp.ts").DateArg +>; diff --git a/node_modules/date-fns/fp/setWeekYearWithOptions.js b/node_modules/date-fns/fp/setWeekYearWithOptions.js new file mode 100644 index 0000000000000000000000000000000000000000..a99d7dd6ef3e8da129604f358a204724980b9d05 --- /dev/null +++ b/node_modules/date-fns/fp/setWeekYearWithOptions.js @@ -0,0 +1,9 @@ +// This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. + +import { setWeekYear as fn } from "../setWeekYear.js"; +import { convertToFP } from "./_lib/convertToFP.js"; + +export const setWeekYearWithOptions = convertToFP(fn, 3); + +// Fallback for modularized imports: +export default setWeekYearWithOptions; diff --git a/node_modules/date-fns/fp/setWithOptions.cjs b/node_modules/date-fns/fp/setWithOptions.cjs new file mode 100644 index 0000000000000000000000000000000000000000..edc057e50b3751e2cbbfc3c1b7475db539d64911 --- /dev/null +++ b/node_modules/date-fns/fp/setWithOptions.cjs @@ -0,0 +1,10 @@ +"use strict"; +exports.setWithOptions = void 0; + +var _index = require("../set.cjs"); +var _index2 = require("./_lib/convertToFP.cjs"); // This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. + +const setWithOptions = (exports.setWithOptions = (0, _index2.convertToFP)( + _index.set, + 3, +)); diff --git a/node_modules/date-fns/fp/setWithOptions.d.cts b/node_modules/date-fns/fp/setWithOptions.d.cts new file mode 100644 index 0000000000000000000000000000000000000000..03b56f9b084bd677cebaf1cbcff0ad2336aef44c --- /dev/null +++ b/node_modules/date-fns/fp/setWithOptions.d.cts @@ -0,0 +1,6 @@ +export declare const setWithOptions: import("./types.ts").FPFn3< + Date, + import("../set.ts").SetOptions | undefined, + import("../fp.ts").DateValues, + import("../fp.ts").DateArg +>; diff --git a/node_modules/date-fns/fp/setWithOptions.d.ts b/node_modules/date-fns/fp/setWithOptions.d.ts new file mode 100644 index 0000000000000000000000000000000000000000..03b56f9b084bd677cebaf1cbcff0ad2336aef44c --- /dev/null +++ b/node_modules/date-fns/fp/setWithOptions.d.ts @@ -0,0 +1,6 @@ +export declare const setWithOptions: import("./types.ts").FPFn3< + Date, + import("../set.ts").SetOptions | undefined, + import("../fp.ts").DateValues, + import("../fp.ts").DateArg +>; diff --git a/node_modules/date-fns/fp/setWithOptions.js b/node_modules/date-fns/fp/setWithOptions.js new file mode 100644 index 0000000000000000000000000000000000000000..0f0c6637558c4baab71a206ba91d8915129e1067 --- /dev/null +++ b/node_modules/date-fns/fp/setWithOptions.js @@ -0,0 +1,9 @@ +// This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. + +import { set as fn } from "../set.js"; +import { convertToFP } from "./_lib/convertToFP.js"; + +export const setWithOptions = convertToFP(fn, 3); + +// Fallback for modularized imports: +export default setWithOptions; diff --git a/node_modules/date-fns/fp/setYear.cjs b/node_modules/date-fns/fp/setYear.cjs new file mode 100644 index 0000000000000000000000000000000000000000..10a773803bb0a3d8389f3d4172611ffac7083a98 --- /dev/null +++ b/node_modules/date-fns/fp/setYear.cjs @@ -0,0 +1,7 @@ +"use strict"; +exports.setYear = void 0; + +var _index = require("../setYear.cjs"); +var _index2 = require("./_lib/convertToFP.cjs"); // This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. + +const setYear = (exports.setYear = (0, _index2.convertToFP)(_index.setYear, 2)); diff --git a/node_modules/date-fns/fp/setYear.d.cts b/node_modules/date-fns/fp/setYear.d.cts new file mode 100644 index 0000000000000000000000000000000000000000..db090995502530978cd1674ad6b750bfaab619fd --- /dev/null +++ b/node_modules/date-fns/fp/setYear.d.cts @@ -0,0 +1,5 @@ +export declare const setYear: import("./types.ts").FPFn2< + Date, + number, + import("../fp.ts").DateArg +>; diff --git a/node_modules/date-fns/fp/setYear.d.ts b/node_modules/date-fns/fp/setYear.d.ts new file mode 100644 index 0000000000000000000000000000000000000000..db090995502530978cd1674ad6b750bfaab619fd --- /dev/null +++ b/node_modules/date-fns/fp/setYear.d.ts @@ -0,0 +1,5 @@ +export declare const setYear: import("./types.ts").FPFn2< + Date, + number, + import("../fp.ts").DateArg +>; diff --git a/node_modules/date-fns/fp/setYear.js b/node_modules/date-fns/fp/setYear.js new file mode 100644 index 0000000000000000000000000000000000000000..203c9c3441bd45da69d96bd57a347e525a7a1959 --- /dev/null +++ b/node_modules/date-fns/fp/setYear.js @@ -0,0 +1,9 @@ +// This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. + +import { setYear as fn } from "../setYear.js"; +import { convertToFP } from "./_lib/convertToFP.js"; + +export const setYear = convertToFP(fn, 2); + +// Fallback for modularized imports: +export default setYear; diff --git a/node_modules/date-fns/fp/setYearWithOptions.cjs b/node_modules/date-fns/fp/setYearWithOptions.cjs new file mode 100644 index 0000000000000000000000000000000000000000..cd19026122dd5b85365b9db8542cd128c5e54bb5 --- /dev/null +++ b/node_modules/date-fns/fp/setYearWithOptions.cjs @@ -0,0 +1,8 @@ +"use strict"; +exports.setYearWithOptions = void 0; + +var _index = require("../setYear.cjs"); +var _index2 = require("./_lib/convertToFP.cjs"); // This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. + +const setYearWithOptions = (exports.setYearWithOptions = (0, +_index2.convertToFP)(_index.setYear, 3)); diff --git a/node_modules/date-fns/fp/setYearWithOptions.d.cts b/node_modules/date-fns/fp/setYearWithOptions.d.cts new file mode 100644 index 0000000000000000000000000000000000000000..d635bcdc2fd7e89157c985c6d6c83ec8ec6d6bba --- /dev/null +++ b/node_modules/date-fns/fp/setYearWithOptions.d.cts @@ -0,0 +1,6 @@ +export declare const setYearWithOptions: import("./types.ts").FPFn3< + Date, + import("../setYear.ts").SetYearOptions | undefined, + number, + import("../fp.ts").DateArg +>; diff --git a/node_modules/date-fns/fp/setYearWithOptions.d.ts b/node_modules/date-fns/fp/setYearWithOptions.d.ts new file mode 100644 index 0000000000000000000000000000000000000000..d635bcdc2fd7e89157c985c6d6c83ec8ec6d6bba --- /dev/null +++ b/node_modules/date-fns/fp/setYearWithOptions.d.ts @@ -0,0 +1,6 @@ +export declare const setYearWithOptions: import("./types.ts").FPFn3< + Date, + import("../setYear.ts").SetYearOptions | undefined, + number, + import("../fp.ts").DateArg +>; diff --git a/node_modules/date-fns/fp/setYearWithOptions.js b/node_modules/date-fns/fp/setYearWithOptions.js new file mode 100644 index 0000000000000000000000000000000000000000..042bf16dae37e3dd143bb46dc140009ec33a8f1d --- /dev/null +++ b/node_modules/date-fns/fp/setYearWithOptions.js @@ -0,0 +1,9 @@ +// This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. + +import { setYear as fn } from "../setYear.js"; +import { convertToFP } from "./_lib/convertToFP.js"; + +export const setYearWithOptions = convertToFP(fn, 3); + +// Fallback for modularized imports: +export default setYearWithOptions; diff --git a/node_modules/date-fns/fp/startOfDay.cjs b/node_modules/date-fns/fp/startOfDay.cjs new file mode 100644 index 0000000000000000000000000000000000000000..a89a303cc7645befcc7545f5db1d75e03c9ac621 --- /dev/null +++ b/node_modules/date-fns/fp/startOfDay.cjs @@ -0,0 +1,10 @@ +"use strict"; +exports.startOfDay = void 0; + +var _index = require("../startOfDay.cjs"); +var _index2 = require("./_lib/convertToFP.cjs"); // This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. + +const startOfDay = (exports.startOfDay = (0, _index2.convertToFP)( + _index.startOfDay, + 1, +)); diff --git a/node_modules/date-fns/fp/startOfDay.d.cts b/node_modules/date-fns/fp/startOfDay.d.cts new file mode 100644 index 0000000000000000000000000000000000000000..1e3db60bf882285ec564f8cb4eef71bb6c08844e --- /dev/null +++ b/node_modules/date-fns/fp/startOfDay.d.cts @@ -0,0 +1,4 @@ +export declare const startOfDay: import("./types.ts").FPFn1< + Date, + import("../fp.ts").DateArg +>; diff --git a/node_modules/date-fns/fp/startOfDay.d.ts b/node_modules/date-fns/fp/startOfDay.d.ts new file mode 100644 index 0000000000000000000000000000000000000000..1e3db60bf882285ec564f8cb4eef71bb6c08844e --- /dev/null +++ b/node_modules/date-fns/fp/startOfDay.d.ts @@ -0,0 +1,4 @@ +export declare const startOfDay: import("./types.ts").FPFn1< + Date, + import("../fp.ts").DateArg +>; diff --git a/node_modules/date-fns/fp/startOfDay.js b/node_modules/date-fns/fp/startOfDay.js new file mode 100644 index 0000000000000000000000000000000000000000..488becc17faef2c6d2c81253037632c1edd64e7c --- /dev/null +++ b/node_modules/date-fns/fp/startOfDay.js @@ -0,0 +1,9 @@ +// This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. + +import { startOfDay as fn } from "../startOfDay.js"; +import { convertToFP } from "./_lib/convertToFP.js"; + +export const startOfDay = convertToFP(fn, 1); + +// Fallback for modularized imports: +export default startOfDay; diff --git a/node_modules/date-fns/fp/startOfDayWithOptions.cjs b/node_modules/date-fns/fp/startOfDayWithOptions.cjs new file mode 100644 index 0000000000000000000000000000000000000000..286e42d558985780a733c5d7fac95822b8d804a3 --- /dev/null +++ b/node_modules/date-fns/fp/startOfDayWithOptions.cjs @@ -0,0 +1,8 @@ +"use strict"; +exports.startOfDayWithOptions = void 0; + +var _index = require("../startOfDay.cjs"); +var _index2 = require("./_lib/convertToFP.cjs"); // This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. + +const startOfDayWithOptions = (exports.startOfDayWithOptions = (0, +_index2.convertToFP)(_index.startOfDay, 2)); diff --git a/node_modules/date-fns/fp/startOfDayWithOptions.d.cts b/node_modules/date-fns/fp/startOfDayWithOptions.d.cts new file mode 100644 index 0000000000000000000000000000000000000000..47e7cbf2c2d62c9f3e326bfdfd37c7ff318c7994 --- /dev/null +++ b/node_modules/date-fns/fp/startOfDayWithOptions.d.cts @@ -0,0 +1,5 @@ +export declare const startOfDayWithOptions: import("./types.ts").FPFn2< + Date, + import("../startOfDay.ts").StartOfDayOptions | undefined, + import("../fp.ts").DateArg +>; diff --git a/node_modules/date-fns/fp/startOfDayWithOptions.d.ts b/node_modules/date-fns/fp/startOfDayWithOptions.d.ts new file mode 100644 index 0000000000000000000000000000000000000000..47e7cbf2c2d62c9f3e326bfdfd37c7ff318c7994 --- /dev/null +++ b/node_modules/date-fns/fp/startOfDayWithOptions.d.ts @@ -0,0 +1,5 @@ +export declare const startOfDayWithOptions: import("./types.ts").FPFn2< + Date, + import("../startOfDay.ts").StartOfDayOptions | undefined, + import("../fp.ts").DateArg +>; diff --git a/node_modules/date-fns/fp/startOfDayWithOptions.js b/node_modules/date-fns/fp/startOfDayWithOptions.js new file mode 100644 index 0000000000000000000000000000000000000000..e45bc508de02ac5587718351a39df7b514a05eb1 --- /dev/null +++ b/node_modules/date-fns/fp/startOfDayWithOptions.js @@ -0,0 +1,9 @@ +// This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. + +import { startOfDay as fn } from "../startOfDay.js"; +import { convertToFP } from "./_lib/convertToFP.js"; + +export const startOfDayWithOptions = convertToFP(fn, 2); + +// Fallback for modularized imports: +export default startOfDayWithOptions; diff --git a/node_modules/date-fns/fp/startOfDecade.cjs b/node_modules/date-fns/fp/startOfDecade.cjs new file mode 100644 index 0000000000000000000000000000000000000000..3d0c1d6a674ca0ae4cea314d6f3377213de132a2 --- /dev/null +++ b/node_modules/date-fns/fp/startOfDecade.cjs @@ -0,0 +1,10 @@ +"use strict"; +exports.startOfDecade = void 0; + +var _index = require("../startOfDecade.cjs"); +var _index2 = require("./_lib/convertToFP.cjs"); // This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. + +const startOfDecade = (exports.startOfDecade = (0, _index2.convertToFP)( + _index.startOfDecade, + 1, +)); diff --git a/node_modules/date-fns/fp/startOfDecade.d.cts b/node_modules/date-fns/fp/startOfDecade.d.cts new file mode 100644 index 0000000000000000000000000000000000000000..bca265a8adb34a53e8240311369559a92e2345c7 --- /dev/null +++ b/node_modules/date-fns/fp/startOfDecade.d.cts @@ -0,0 +1,4 @@ +export declare const startOfDecade: import("./types.ts").FPFn1< + Date, + import("../fp.ts").DateArg +>; diff --git a/node_modules/date-fns/fp/startOfDecade.d.ts b/node_modules/date-fns/fp/startOfDecade.d.ts new file mode 100644 index 0000000000000000000000000000000000000000..bca265a8adb34a53e8240311369559a92e2345c7 --- /dev/null +++ b/node_modules/date-fns/fp/startOfDecade.d.ts @@ -0,0 +1,4 @@ +export declare const startOfDecade: import("./types.ts").FPFn1< + Date, + import("../fp.ts").DateArg +>; diff --git a/node_modules/date-fns/fp/startOfDecade.js b/node_modules/date-fns/fp/startOfDecade.js new file mode 100644 index 0000000000000000000000000000000000000000..80c963405bb02ebb64e0cc4e481d8736aed98b03 --- /dev/null +++ b/node_modules/date-fns/fp/startOfDecade.js @@ -0,0 +1,9 @@ +// This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. + +import { startOfDecade as fn } from "../startOfDecade.js"; +import { convertToFP } from "./_lib/convertToFP.js"; + +export const startOfDecade = convertToFP(fn, 1); + +// Fallback for modularized imports: +export default startOfDecade; diff --git a/node_modules/date-fns/fp/startOfDecadeWithOptions.cjs b/node_modules/date-fns/fp/startOfDecadeWithOptions.cjs new file mode 100644 index 0000000000000000000000000000000000000000..4b26617854ee7083fce23ed2d653a966e87da990 --- /dev/null +++ b/node_modules/date-fns/fp/startOfDecadeWithOptions.cjs @@ -0,0 +1,8 @@ +"use strict"; +exports.startOfDecadeWithOptions = void 0; + +var _index = require("../startOfDecade.cjs"); +var _index2 = require("./_lib/convertToFP.cjs"); // This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. + +const startOfDecadeWithOptions = (exports.startOfDecadeWithOptions = (0, +_index2.convertToFP)(_index.startOfDecade, 2)); diff --git a/node_modules/date-fns/fp/startOfDecadeWithOptions.d.cts b/node_modules/date-fns/fp/startOfDecadeWithOptions.d.cts new file mode 100644 index 0000000000000000000000000000000000000000..0599d8b57c32fd46c2d3809c61f4e05248e7de9c --- /dev/null +++ b/node_modules/date-fns/fp/startOfDecadeWithOptions.d.cts @@ -0,0 +1,5 @@ +export declare const startOfDecadeWithOptions: import("./types.ts").FPFn2< + Date, + import("../startOfDecade.ts").StartOfDecadeOptions | undefined, + import("../fp.ts").DateArg +>; diff --git a/node_modules/date-fns/fp/startOfDecadeWithOptions.d.ts b/node_modules/date-fns/fp/startOfDecadeWithOptions.d.ts new file mode 100644 index 0000000000000000000000000000000000000000..0599d8b57c32fd46c2d3809c61f4e05248e7de9c --- /dev/null +++ b/node_modules/date-fns/fp/startOfDecadeWithOptions.d.ts @@ -0,0 +1,5 @@ +export declare const startOfDecadeWithOptions: import("./types.ts").FPFn2< + Date, + import("../startOfDecade.ts").StartOfDecadeOptions | undefined, + import("../fp.ts").DateArg +>; diff --git a/node_modules/date-fns/fp/startOfDecadeWithOptions.js b/node_modules/date-fns/fp/startOfDecadeWithOptions.js new file mode 100644 index 0000000000000000000000000000000000000000..3e593d160b5a923a19aa24b4815b90ac895bd72d --- /dev/null +++ b/node_modules/date-fns/fp/startOfDecadeWithOptions.js @@ -0,0 +1,9 @@ +// This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. + +import { startOfDecade as fn } from "../startOfDecade.js"; +import { convertToFP } from "./_lib/convertToFP.js"; + +export const startOfDecadeWithOptions = convertToFP(fn, 2); + +// Fallback for modularized imports: +export default startOfDecadeWithOptions; diff --git a/node_modules/date-fns/fp/startOfHour.cjs b/node_modules/date-fns/fp/startOfHour.cjs new file mode 100644 index 0000000000000000000000000000000000000000..3ce88980a75a9c2d70e28347a9b52033cdec5884 --- /dev/null +++ b/node_modules/date-fns/fp/startOfHour.cjs @@ -0,0 +1,10 @@ +"use strict"; +exports.startOfHour = void 0; + +var _index = require("../startOfHour.cjs"); +var _index2 = require("./_lib/convertToFP.cjs"); // This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. + +const startOfHour = (exports.startOfHour = (0, _index2.convertToFP)( + _index.startOfHour, + 1, +)); diff --git a/node_modules/date-fns/fp/startOfHour.d.cts b/node_modules/date-fns/fp/startOfHour.d.cts new file mode 100644 index 0000000000000000000000000000000000000000..7794c84c583337408d2d2acb92b758c133c20e92 --- /dev/null +++ b/node_modules/date-fns/fp/startOfHour.d.cts @@ -0,0 +1,4 @@ +export declare const startOfHour: import("./types.ts").FPFn1< + Date, + import("../fp.ts").DateArg +>; diff --git a/node_modules/date-fns/fp/startOfHour.d.ts b/node_modules/date-fns/fp/startOfHour.d.ts new file mode 100644 index 0000000000000000000000000000000000000000..7794c84c583337408d2d2acb92b758c133c20e92 --- /dev/null +++ b/node_modules/date-fns/fp/startOfHour.d.ts @@ -0,0 +1,4 @@ +export declare const startOfHour: import("./types.ts").FPFn1< + Date, + import("../fp.ts").DateArg +>; diff --git a/node_modules/date-fns/fp/startOfHour.js b/node_modules/date-fns/fp/startOfHour.js new file mode 100644 index 0000000000000000000000000000000000000000..d249aa239b695f08155c50c796efc5cf9d3acd42 --- /dev/null +++ b/node_modules/date-fns/fp/startOfHour.js @@ -0,0 +1,9 @@ +// This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. + +import { startOfHour as fn } from "../startOfHour.js"; +import { convertToFP } from "./_lib/convertToFP.js"; + +export const startOfHour = convertToFP(fn, 1); + +// Fallback for modularized imports: +export default startOfHour; diff --git a/node_modules/date-fns/fp/startOfHourWithOptions.cjs b/node_modules/date-fns/fp/startOfHourWithOptions.cjs new file mode 100644 index 0000000000000000000000000000000000000000..420e883430626551557533b5d6c0412c7ed9ff2f --- /dev/null +++ b/node_modules/date-fns/fp/startOfHourWithOptions.cjs @@ -0,0 +1,8 @@ +"use strict"; +exports.startOfHourWithOptions = void 0; + +var _index = require("../startOfHour.cjs"); +var _index2 = require("./_lib/convertToFP.cjs"); // This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. + +const startOfHourWithOptions = (exports.startOfHourWithOptions = (0, +_index2.convertToFP)(_index.startOfHour, 2)); diff --git a/node_modules/date-fns/fp/startOfHourWithOptions.d.cts b/node_modules/date-fns/fp/startOfHourWithOptions.d.cts new file mode 100644 index 0000000000000000000000000000000000000000..6f63419821aa8d69bd9412651dff0a71e79111b8 --- /dev/null +++ b/node_modules/date-fns/fp/startOfHourWithOptions.d.cts @@ -0,0 +1,5 @@ +export declare const startOfHourWithOptions: import("./types.ts").FPFn2< + Date, + import("../startOfHour.ts").StartOfHourOptions | undefined, + import("../fp.ts").DateArg +>; diff --git a/node_modules/date-fns/fp/startOfHourWithOptions.d.ts b/node_modules/date-fns/fp/startOfHourWithOptions.d.ts new file mode 100644 index 0000000000000000000000000000000000000000..6f63419821aa8d69bd9412651dff0a71e79111b8 --- /dev/null +++ b/node_modules/date-fns/fp/startOfHourWithOptions.d.ts @@ -0,0 +1,5 @@ +export declare const startOfHourWithOptions: import("./types.ts").FPFn2< + Date, + import("../startOfHour.ts").StartOfHourOptions | undefined, + import("../fp.ts").DateArg +>; diff --git a/node_modules/date-fns/fp/startOfHourWithOptions.js b/node_modules/date-fns/fp/startOfHourWithOptions.js new file mode 100644 index 0000000000000000000000000000000000000000..ae8695d666c8e560c57bff6036b309c301e2eace --- /dev/null +++ b/node_modules/date-fns/fp/startOfHourWithOptions.js @@ -0,0 +1,9 @@ +// This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. + +import { startOfHour as fn } from "../startOfHour.js"; +import { convertToFP } from "./_lib/convertToFP.js"; + +export const startOfHourWithOptions = convertToFP(fn, 2); + +// Fallback for modularized imports: +export default startOfHourWithOptions; diff --git a/node_modules/date-fns/fp/startOfISOWeek.cjs b/node_modules/date-fns/fp/startOfISOWeek.cjs new file mode 100644 index 0000000000000000000000000000000000000000..ea08b67be63ce6a6734c9574ae1fd114f5231db7 --- /dev/null +++ b/node_modules/date-fns/fp/startOfISOWeek.cjs @@ -0,0 +1,10 @@ +"use strict"; +exports.startOfISOWeek = void 0; + +var _index = require("../startOfISOWeek.cjs"); +var _index2 = require("./_lib/convertToFP.cjs"); // This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. + +const startOfISOWeek = (exports.startOfISOWeek = (0, _index2.convertToFP)( + _index.startOfISOWeek, + 1, +)); diff --git a/node_modules/date-fns/fp/startOfISOWeek.d.cts b/node_modules/date-fns/fp/startOfISOWeek.d.cts new file mode 100644 index 0000000000000000000000000000000000000000..2f2f96ec4856e3adbfec9715fa14d364cb3a7e4c --- /dev/null +++ b/node_modules/date-fns/fp/startOfISOWeek.d.cts @@ -0,0 +1,4 @@ +export declare const startOfISOWeek: import("./types.ts").FPFn1< + Date, + import("../fp.ts").DateArg +>; diff --git a/node_modules/date-fns/fp/startOfISOWeek.d.ts b/node_modules/date-fns/fp/startOfISOWeek.d.ts new file mode 100644 index 0000000000000000000000000000000000000000..2f2f96ec4856e3adbfec9715fa14d364cb3a7e4c --- /dev/null +++ b/node_modules/date-fns/fp/startOfISOWeek.d.ts @@ -0,0 +1,4 @@ +export declare const startOfISOWeek: import("./types.ts").FPFn1< + Date, + import("../fp.ts").DateArg +>; diff --git a/node_modules/date-fns/fp/startOfISOWeek.js b/node_modules/date-fns/fp/startOfISOWeek.js new file mode 100644 index 0000000000000000000000000000000000000000..05e80a39eddaa4624e2b65265cd647ddd647542a --- /dev/null +++ b/node_modules/date-fns/fp/startOfISOWeek.js @@ -0,0 +1,9 @@ +// This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. + +import { startOfISOWeek as fn } from "../startOfISOWeek.js"; +import { convertToFP } from "./_lib/convertToFP.js"; + +export const startOfISOWeek = convertToFP(fn, 1); + +// Fallback for modularized imports: +export default startOfISOWeek; diff --git a/node_modules/date-fns/fp/startOfISOWeekWithOptions.cjs b/node_modules/date-fns/fp/startOfISOWeekWithOptions.cjs new file mode 100644 index 0000000000000000000000000000000000000000..a17688ce85dd8a48511d828f4efb822fb94593b1 --- /dev/null +++ b/node_modules/date-fns/fp/startOfISOWeekWithOptions.cjs @@ -0,0 +1,8 @@ +"use strict"; +exports.startOfISOWeekWithOptions = void 0; + +var _index = require("../startOfISOWeek.cjs"); +var _index2 = require("./_lib/convertToFP.cjs"); // This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. + +const startOfISOWeekWithOptions = (exports.startOfISOWeekWithOptions = (0, +_index2.convertToFP)(_index.startOfISOWeek, 2)); diff --git a/node_modules/date-fns/fp/startOfISOWeekWithOptions.d.cts b/node_modules/date-fns/fp/startOfISOWeekWithOptions.d.cts new file mode 100644 index 0000000000000000000000000000000000000000..8df2481d760a6959bec00ff28618592c9e79bed0 --- /dev/null +++ b/node_modules/date-fns/fp/startOfISOWeekWithOptions.d.cts @@ -0,0 +1,6 @@ +export declare const startOfISOWeekWithOptions: import("./types.ts").FPFn2< + Date, + | import("../startOfISOWeek.ts").StartOfISOWeekOptions + | undefined, + import("../fp.ts").DateArg +>; diff --git a/node_modules/date-fns/fp/startOfISOWeekWithOptions.d.ts b/node_modules/date-fns/fp/startOfISOWeekWithOptions.d.ts new file mode 100644 index 0000000000000000000000000000000000000000..8df2481d760a6959bec00ff28618592c9e79bed0 --- /dev/null +++ b/node_modules/date-fns/fp/startOfISOWeekWithOptions.d.ts @@ -0,0 +1,6 @@ +export declare const startOfISOWeekWithOptions: import("./types.ts").FPFn2< + Date, + | import("../startOfISOWeek.ts").StartOfISOWeekOptions + | undefined, + import("../fp.ts").DateArg +>; diff --git a/node_modules/date-fns/fp/startOfISOWeekWithOptions.js b/node_modules/date-fns/fp/startOfISOWeekWithOptions.js new file mode 100644 index 0000000000000000000000000000000000000000..bb529f8d7657e5cdf95f4d919d7f6810a13f43b1 --- /dev/null +++ b/node_modules/date-fns/fp/startOfISOWeekWithOptions.js @@ -0,0 +1,9 @@ +// This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. + +import { startOfISOWeek as fn } from "../startOfISOWeek.js"; +import { convertToFP } from "./_lib/convertToFP.js"; + +export const startOfISOWeekWithOptions = convertToFP(fn, 2); + +// Fallback for modularized imports: +export default startOfISOWeekWithOptions; diff --git a/node_modules/date-fns/fp/startOfISOWeekYear.cjs b/node_modules/date-fns/fp/startOfISOWeekYear.cjs new file mode 100644 index 0000000000000000000000000000000000000000..b60b92ef8385b76c32948f09c180e7487363194d --- /dev/null +++ b/node_modules/date-fns/fp/startOfISOWeekYear.cjs @@ -0,0 +1,8 @@ +"use strict"; +exports.startOfISOWeekYear = void 0; + +var _index = require("../startOfISOWeekYear.cjs"); +var _index2 = require("./_lib/convertToFP.cjs"); // This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. + +const startOfISOWeekYear = (exports.startOfISOWeekYear = (0, +_index2.convertToFP)(_index.startOfISOWeekYear, 1)); diff --git a/node_modules/date-fns/fp/startOfISOWeekYear.d.cts b/node_modules/date-fns/fp/startOfISOWeekYear.d.cts new file mode 100644 index 0000000000000000000000000000000000000000..2fec2bf51fb07cb799300a3f934c269962301e0e --- /dev/null +++ b/node_modules/date-fns/fp/startOfISOWeekYear.d.cts @@ -0,0 +1,4 @@ +export declare const startOfISOWeekYear: import("./types.ts").FPFn1< + Date, + import("../fp.ts").DateArg +>; diff --git a/node_modules/date-fns/fp/startOfISOWeekYear.d.ts b/node_modules/date-fns/fp/startOfISOWeekYear.d.ts new file mode 100644 index 0000000000000000000000000000000000000000..2fec2bf51fb07cb799300a3f934c269962301e0e --- /dev/null +++ b/node_modules/date-fns/fp/startOfISOWeekYear.d.ts @@ -0,0 +1,4 @@ +export declare const startOfISOWeekYear: import("./types.ts").FPFn1< + Date, + import("../fp.ts").DateArg +>; diff --git a/node_modules/date-fns/fp/startOfISOWeekYear.js b/node_modules/date-fns/fp/startOfISOWeekYear.js new file mode 100644 index 0000000000000000000000000000000000000000..76f896a1d4640b821bf12b50dd82e3aa95a3f12e --- /dev/null +++ b/node_modules/date-fns/fp/startOfISOWeekYear.js @@ -0,0 +1,9 @@ +// This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. + +import { startOfISOWeekYear as fn } from "../startOfISOWeekYear.js"; +import { convertToFP } from "./_lib/convertToFP.js"; + +export const startOfISOWeekYear = convertToFP(fn, 1); + +// Fallback for modularized imports: +export default startOfISOWeekYear; diff --git a/node_modules/date-fns/fp/startOfISOWeekYearWithOptions.cjs b/node_modules/date-fns/fp/startOfISOWeekYearWithOptions.cjs new file mode 100644 index 0000000000000000000000000000000000000000..edf8bc8fb18a675ada5d72015e06667dec9ca34d --- /dev/null +++ b/node_modules/date-fns/fp/startOfISOWeekYearWithOptions.cjs @@ -0,0 +1,8 @@ +"use strict"; +exports.startOfISOWeekYearWithOptions = void 0; + +var _index = require("../startOfISOWeekYear.cjs"); +var _index2 = require("./_lib/convertToFP.cjs"); // This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. + +const startOfISOWeekYearWithOptions = (exports.startOfISOWeekYearWithOptions = + (0, _index2.convertToFP)(_index.startOfISOWeekYear, 2)); diff --git a/node_modules/date-fns/fp/startOfISOWeekYearWithOptions.d.cts b/node_modules/date-fns/fp/startOfISOWeekYearWithOptions.d.cts new file mode 100644 index 0000000000000000000000000000000000000000..e1171c838f9c38f69fea9e9ad8228debdb896b2d --- /dev/null +++ b/node_modules/date-fns/fp/startOfISOWeekYearWithOptions.d.cts @@ -0,0 +1,6 @@ +export declare const startOfISOWeekYearWithOptions: import("./types.ts").FPFn2< + Date, + | import("../startOfISOWeekYear.ts").StartOfISOWeekYearOptions + | undefined, + import("../fp.ts").DateArg +>; diff --git a/node_modules/date-fns/fp/startOfISOWeekYearWithOptions.d.ts b/node_modules/date-fns/fp/startOfISOWeekYearWithOptions.d.ts new file mode 100644 index 0000000000000000000000000000000000000000..e1171c838f9c38f69fea9e9ad8228debdb896b2d --- /dev/null +++ b/node_modules/date-fns/fp/startOfISOWeekYearWithOptions.d.ts @@ -0,0 +1,6 @@ +export declare const startOfISOWeekYearWithOptions: import("./types.ts").FPFn2< + Date, + | import("../startOfISOWeekYear.ts").StartOfISOWeekYearOptions + | undefined, + import("../fp.ts").DateArg +>; diff --git a/node_modules/date-fns/fp/startOfISOWeekYearWithOptions.js b/node_modules/date-fns/fp/startOfISOWeekYearWithOptions.js new file mode 100644 index 0000000000000000000000000000000000000000..69f990200166baeba9cd5a7e50bffa7e34032d8b --- /dev/null +++ b/node_modules/date-fns/fp/startOfISOWeekYearWithOptions.js @@ -0,0 +1,9 @@ +// This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. + +import { startOfISOWeekYear as fn } from "../startOfISOWeekYear.js"; +import { convertToFP } from "./_lib/convertToFP.js"; + +export const startOfISOWeekYearWithOptions = convertToFP(fn, 2); + +// Fallback for modularized imports: +export default startOfISOWeekYearWithOptions; diff --git a/node_modules/date-fns/fp/startOfMinute.cjs b/node_modules/date-fns/fp/startOfMinute.cjs new file mode 100644 index 0000000000000000000000000000000000000000..b160d37da10201bd1ebb83111ef47398d0ff9606 --- /dev/null +++ b/node_modules/date-fns/fp/startOfMinute.cjs @@ -0,0 +1,10 @@ +"use strict"; +exports.startOfMinute = void 0; + +var _index = require("../startOfMinute.cjs"); +var _index2 = require("./_lib/convertToFP.cjs"); // This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. + +const startOfMinute = (exports.startOfMinute = (0, _index2.convertToFP)( + _index.startOfMinute, + 1, +)); diff --git a/node_modules/date-fns/fp/startOfMinute.d.cts b/node_modules/date-fns/fp/startOfMinute.d.cts new file mode 100644 index 0000000000000000000000000000000000000000..8843726b9d7535967c65555c1283d7bd4b0402e9 --- /dev/null +++ b/node_modules/date-fns/fp/startOfMinute.d.cts @@ -0,0 +1,4 @@ +export declare const startOfMinute: import("./types.ts").FPFn1< + Date, + import("../fp.ts").DateArg +>; diff --git a/node_modules/date-fns/fp/startOfMinute.d.ts b/node_modules/date-fns/fp/startOfMinute.d.ts new file mode 100644 index 0000000000000000000000000000000000000000..8843726b9d7535967c65555c1283d7bd4b0402e9 --- /dev/null +++ b/node_modules/date-fns/fp/startOfMinute.d.ts @@ -0,0 +1,4 @@ +export declare const startOfMinute: import("./types.ts").FPFn1< + Date, + import("../fp.ts").DateArg +>; diff --git a/node_modules/date-fns/fp/startOfMinute.js b/node_modules/date-fns/fp/startOfMinute.js new file mode 100644 index 0000000000000000000000000000000000000000..9c42ab59372307980e5553d3c668b74de7d83406 --- /dev/null +++ b/node_modules/date-fns/fp/startOfMinute.js @@ -0,0 +1,9 @@ +// This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. + +import { startOfMinute as fn } from "../startOfMinute.js"; +import { convertToFP } from "./_lib/convertToFP.js"; + +export const startOfMinute = convertToFP(fn, 1); + +// Fallback for modularized imports: +export default startOfMinute; diff --git a/node_modules/date-fns/fp/startOfMinuteWithOptions.cjs b/node_modules/date-fns/fp/startOfMinuteWithOptions.cjs new file mode 100644 index 0000000000000000000000000000000000000000..d3a71fd5fc6b650aeafc506ddcdc2f9cf8d2560a --- /dev/null +++ b/node_modules/date-fns/fp/startOfMinuteWithOptions.cjs @@ -0,0 +1,8 @@ +"use strict"; +exports.startOfMinuteWithOptions = void 0; + +var _index = require("../startOfMinute.cjs"); +var _index2 = require("./_lib/convertToFP.cjs"); // This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. + +const startOfMinuteWithOptions = (exports.startOfMinuteWithOptions = (0, +_index2.convertToFP)(_index.startOfMinute, 2)); diff --git a/node_modules/date-fns/fp/startOfMinuteWithOptions.d.cts b/node_modules/date-fns/fp/startOfMinuteWithOptions.d.cts new file mode 100644 index 0000000000000000000000000000000000000000..de4cb0cd29a8bebf8bcb677cc7bda0b027f11406 --- /dev/null +++ b/node_modules/date-fns/fp/startOfMinuteWithOptions.d.cts @@ -0,0 +1,5 @@ +export declare const startOfMinuteWithOptions: import("./types.ts").FPFn2< + Date, + import("../startOfMinute.ts").StartOfMinuteOptions | undefined, + import("../fp.ts").DateArg +>; diff --git a/node_modules/date-fns/fp/startOfMinuteWithOptions.d.ts b/node_modules/date-fns/fp/startOfMinuteWithOptions.d.ts new file mode 100644 index 0000000000000000000000000000000000000000..de4cb0cd29a8bebf8bcb677cc7bda0b027f11406 --- /dev/null +++ b/node_modules/date-fns/fp/startOfMinuteWithOptions.d.ts @@ -0,0 +1,5 @@ +export declare const startOfMinuteWithOptions: import("./types.ts").FPFn2< + Date, + import("../startOfMinute.ts").StartOfMinuteOptions | undefined, + import("../fp.ts").DateArg +>; diff --git a/node_modules/date-fns/fp/startOfMinuteWithOptions.js b/node_modules/date-fns/fp/startOfMinuteWithOptions.js new file mode 100644 index 0000000000000000000000000000000000000000..3fb61e494c69585bf3e4c68f0fcfd6dbfb4931d9 --- /dev/null +++ b/node_modules/date-fns/fp/startOfMinuteWithOptions.js @@ -0,0 +1,9 @@ +// This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. + +import { startOfMinute as fn } from "../startOfMinute.js"; +import { convertToFP } from "./_lib/convertToFP.js"; + +export const startOfMinuteWithOptions = convertToFP(fn, 2); + +// Fallback for modularized imports: +export default startOfMinuteWithOptions; diff --git a/node_modules/date-fns/fp/startOfMonth.cjs b/node_modules/date-fns/fp/startOfMonth.cjs new file mode 100644 index 0000000000000000000000000000000000000000..0b1d39ffbe898316d8760b70a3e2bf51959ba12e --- /dev/null +++ b/node_modules/date-fns/fp/startOfMonth.cjs @@ -0,0 +1,10 @@ +"use strict"; +exports.startOfMonth = void 0; + +var _index = require("../startOfMonth.cjs"); +var _index2 = require("./_lib/convertToFP.cjs"); // This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. + +const startOfMonth = (exports.startOfMonth = (0, _index2.convertToFP)( + _index.startOfMonth, + 1, +)); diff --git a/node_modules/date-fns/fp/startOfMonth.d.cts b/node_modules/date-fns/fp/startOfMonth.d.cts new file mode 100644 index 0000000000000000000000000000000000000000..d6cf5975a438ff80597d15d0a3e9cee938d1bd14 --- /dev/null +++ b/node_modules/date-fns/fp/startOfMonth.d.cts @@ -0,0 +1,4 @@ +export declare const startOfMonth: import("./types.ts").FPFn1< + Date, + import("../fp.ts").DateArg +>; diff --git a/node_modules/date-fns/fp/startOfMonth.d.ts b/node_modules/date-fns/fp/startOfMonth.d.ts new file mode 100644 index 0000000000000000000000000000000000000000..d6cf5975a438ff80597d15d0a3e9cee938d1bd14 --- /dev/null +++ b/node_modules/date-fns/fp/startOfMonth.d.ts @@ -0,0 +1,4 @@ +export declare const startOfMonth: import("./types.ts").FPFn1< + Date, + import("../fp.ts").DateArg +>; diff --git a/node_modules/date-fns/fp/startOfMonth.js b/node_modules/date-fns/fp/startOfMonth.js new file mode 100644 index 0000000000000000000000000000000000000000..deb245be8b04da2b7b8c8753d11a1d3263bc970e --- /dev/null +++ b/node_modules/date-fns/fp/startOfMonth.js @@ -0,0 +1,9 @@ +// This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. + +import { startOfMonth as fn } from "../startOfMonth.js"; +import { convertToFP } from "./_lib/convertToFP.js"; + +export const startOfMonth = convertToFP(fn, 1); + +// Fallback for modularized imports: +export default startOfMonth; diff --git a/node_modules/date-fns/fp/startOfMonthWithOptions.cjs b/node_modules/date-fns/fp/startOfMonthWithOptions.cjs new file mode 100644 index 0000000000000000000000000000000000000000..918c07fc2025aa13f2fa4ce6908dc33193e7ba27 --- /dev/null +++ b/node_modules/date-fns/fp/startOfMonthWithOptions.cjs @@ -0,0 +1,8 @@ +"use strict"; +exports.startOfMonthWithOptions = void 0; + +var _index = require("../startOfMonth.cjs"); +var _index2 = require("./_lib/convertToFP.cjs"); // This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. + +const startOfMonthWithOptions = (exports.startOfMonthWithOptions = (0, +_index2.convertToFP)(_index.startOfMonth, 2)); diff --git a/node_modules/date-fns/fp/startOfMonthWithOptions.d.cts b/node_modules/date-fns/fp/startOfMonthWithOptions.d.cts new file mode 100644 index 0000000000000000000000000000000000000000..36c4a18757a40c848094eb390441c5c5b5940adc --- /dev/null +++ b/node_modules/date-fns/fp/startOfMonthWithOptions.d.cts @@ -0,0 +1,5 @@ +export declare const startOfMonthWithOptions: import("./types.ts").FPFn2< + Date, + import("../startOfMonth.ts").StartOfMonthOptions | undefined, + import("../fp.ts").DateArg +>; diff --git a/node_modules/date-fns/fp/startOfMonthWithOptions.d.ts b/node_modules/date-fns/fp/startOfMonthWithOptions.d.ts new file mode 100644 index 0000000000000000000000000000000000000000..36c4a18757a40c848094eb390441c5c5b5940adc --- /dev/null +++ b/node_modules/date-fns/fp/startOfMonthWithOptions.d.ts @@ -0,0 +1,5 @@ +export declare const startOfMonthWithOptions: import("./types.ts").FPFn2< + Date, + import("../startOfMonth.ts").StartOfMonthOptions | undefined, + import("../fp.ts").DateArg +>; diff --git a/node_modules/date-fns/fp/startOfMonthWithOptions.js b/node_modules/date-fns/fp/startOfMonthWithOptions.js new file mode 100644 index 0000000000000000000000000000000000000000..9d27b586c3b96647bfccde7d3ad18874edf9914e --- /dev/null +++ b/node_modules/date-fns/fp/startOfMonthWithOptions.js @@ -0,0 +1,9 @@ +// This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. + +import { startOfMonth as fn } from "../startOfMonth.js"; +import { convertToFP } from "./_lib/convertToFP.js"; + +export const startOfMonthWithOptions = convertToFP(fn, 2); + +// Fallback for modularized imports: +export default startOfMonthWithOptions; diff --git a/node_modules/date-fns/fp/startOfQuarter.cjs b/node_modules/date-fns/fp/startOfQuarter.cjs new file mode 100644 index 0000000000000000000000000000000000000000..b54a37fca52a13dc4d6e5c9310b2ed362af2dbef --- /dev/null +++ b/node_modules/date-fns/fp/startOfQuarter.cjs @@ -0,0 +1,10 @@ +"use strict"; +exports.startOfQuarter = void 0; + +var _index = require("../startOfQuarter.cjs"); +var _index2 = require("./_lib/convertToFP.cjs"); // This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. + +const startOfQuarter = (exports.startOfQuarter = (0, _index2.convertToFP)( + _index.startOfQuarter, + 1, +)); diff --git a/node_modules/date-fns/fp/startOfQuarter.d.cts b/node_modules/date-fns/fp/startOfQuarter.d.cts new file mode 100644 index 0000000000000000000000000000000000000000..7e58e5ec39b6e25aa8e2565f2ab3f70252eb6e70 --- /dev/null +++ b/node_modules/date-fns/fp/startOfQuarter.d.cts @@ -0,0 +1,4 @@ +export declare const startOfQuarter: import("./types.ts").FPFn1< + Date, + import("../fp.ts").DateArg +>; diff --git a/node_modules/date-fns/fp/startOfQuarter.d.ts b/node_modules/date-fns/fp/startOfQuarter.d.ts new file mode 100644 index 0000000000000000000000000000000000000000..7e58e5ec39b6e25aa8e2565f2ab3f70252eb6e70 --- /dev/null +++ b/node_modules/date-fns/fp/startOfQuarter.d.ts @@ -0,0 +1,4 @@ +export declare const startOfQuarter: import("./types.ts").FPFn1< + Date, + import("../fp.ts").DateArg +>; diff --git a/node_modules/date-fns/fp/startOfQuarter.js b/node_modules/date-fns/fp/startOfQuarter.js new file mode 100644 index 0000000000000000000000000000000000000000..ba243147493b83f04a436f4649dab201b9342e57 --- /dev/null +++ b/node_modules/date-fns/fp/startOfQuarter.js @@ -0,0 +1,9 @@ +// This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. + +import { startOfQuarter as fn } from "../startOfQuarter.js"; +import { convertToFP } from "./_lib/convertToFP.js"; + +export const startOfQuarter = convertToFP(fn, 1); + +// Fallback for modularized imports: +export default startOfQuarter; diff --git a/node_modules/date-fns/fp/startOfQuarterWithOptions.cjs b/node_modules/date-fns/fp/startOfQuarterWithOptions.cjs new file mode 100644 index 0000000000000000000000000000000000000000..d497bff48ce8696d97850822c78c445cd9d327b9 --- /dev/null +++ b/node_modules/date-fns/fp/startOfQuarterWithOptions.cjs @@ -0,0 +1,8 @@ +"use strict"; +exports.startOfQuarterWithOptions = void 0; + +var _index = require("../startOfQuarter.cjs"); +var _index2 = require("./_lib/convertToFP.cjs"); // This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. + +const startOfQuarterWithOptions = (exports.startOfQuarterWithOptions = (0, +_index2.convertToFP)(_index.startOfQuarter, 2)); diff --git a/node_modules/date-fns/fp/startOfQuarterWithOptions.d.cts b/node_modules/date-fns/fp/startOfQuarterWithOptions.d.cts new file mode 100644 index 0000000000000000000000000000000000000000..65eeeeaddb5ad9224e4678187351e5715d4d6827 --- /dev/null +++ b/node_modules/date-fns/fp/startOfQuarterWithOptions.d.cts @@ -0,0 +1,6 @@ +export declare const startOfQuarterWithOptions: import("./types.ts").FPFn2< + Date, + | import("../startOfQuarter.ts").StartOfQuarterOptions + | undefined, + import("../fp.ts").DateArg +>; diff --git a/node_modules/date-fns/fp/startOfQuarterWithOptions.d.ts b/node_modules/date-fns/fp/startOfQuarterWithOptions.d.ts new file mode 100644 index 0000000000000000000000000000000000000000..65eeeeaddb5ad9224e4678187351e5715d4d6827 --- /dev/null +++ b/node_modules/date-fns/fp/startOfQuarterWithOptions.d.ts @@ -0,0 +1,6 @@ +export declare const startOfQuarterWithOptions: import("./types.ts").FPFn2< + Date, + | import("../startOfQuarter.ts").StartOfQuarterOptions + | undefined, + import("../fp.ts").DateArg +>; diff --git a/node_modules/date-fns/fp/startOfQuarterWithOptions.js b/node_modules/date-fns/fp/startOfQuarterWithOptions.js new file mode 100644 index 0000000000000000000000000000000000000000..39b4b7c66c32ebb87b24a7b5a4cfdc917f298f00 --- /dev/null +++ b/node_modules/date-fns/fp/startOfQuarterWithOptions.js @@ -0,0 +1,9 @@ +// This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. + +import { startOfQuarter as fn } from "../startOfQuarter.js"; +import { convertToFP } from "./_lib/convertToFP.js"; + +export const startOfQuarterWithOptions = convertToFP(fn, 2); + +// Fallback for modularized imports: +export default startOfQuarterWithOptions; diff --git a/node_modules/date-fns/fp/startOfSecond.cjs b/node_modules/date-fns/fp/startOfSecond.cjs new file mode 100644 index 0000000000000000000000000000000000000000..b1fb896365d7bd8e97980d502e7a7ce8759904a9 --- /dev/null +++ b/node_modules/date-fns/fp/startOfSecond.cjs @@ -0,0 +1,10 @@ +"use strict"; +exports.startOfSecond = void 0; + +var _index = require("../startOfSecond.cjs"); +var _index2 = require("./_lib/convertToFP.cjs"); // This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. + +const startOfSecond = (exports.startOfSecond = (0, _index2.convertToFP)( + _index.startOfSecond, + 1, +)); diff --git a/node_modules/date-fns/fp/startOfSecond.d.cts b/node_modules/date-fns/fp/startOfSecond.d.cts new file mode 100644 index 0000000000000000000000000000000000000000..6e226d3fd8264c6b7430357d6761312bae4c6721 --- /dev/null +++ b/node_modules/date-fns/fp/startOfSecond.d.cts @@ -0,0 +1,4 @@ +export declare const startOfSecond: import("./types.ts").FPFn1< + Date, + import("../fp.ts").DateArg +>; diff --git a/node_modules/date-fns/fp/startOfSecond.d.ts b/node_modules/date-fns/fp/startOfSecond.d.ts new file mode 100644 index 0000000000000000000000000000000000000000..6e226d3fd8264c6b7430357d6761312bae4c6721 --- /dev/null +++ b/node_modules/date-fns/fp/startOfSecond.d.ts @@ -0,0 +1,4 @@ +export declare const startOfSecond: import("./types.ts").FPFn1< + Date, + import("../fp.ts").DateArg +>; diff --git a/node_modules/date-fns/fp/startOfSecond.js b/node_modules/date-fns/fp/startOfSecond.js new file mode 100644 index 0000000000000000000000000000000000000000..be5349545168a7fc35a10f6978bc56226de06655 --- /dev/null +++ b/node_modules/date-fns/fp/startOfSecond.js @@ -0,0 +1,9 @@ +// This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. + +import { startOfSecond as fn } from "../startOfSecond.js"; +import { convertToFP } from "./_lib/convertToFP.js"; + +export const startOfSecond = convertToFP(fn, 1); + +// Fallback for modularized imports: +export default startOfSecond; diff --git a/node_modules/date-fns/fp/startOfSecondWithOptions.cjs b/node_modules/date-fns/fp/startOfSecondWithOptions.cjs new file mode 100644 index 0000000000000000000000000000000000000000..75e0add847a508afc48e85b7c61f889ccde9cf26 --- /dev/null +++ b/node_modules/date-fns/fp/startOfSecondWithOptions.cjs @@ -0,0 +1,8 @@ +"use strict"; +exports.startOfSecondWithOptions = void 0; + +var _index = require("../startOfSecond.cjs"); +var _index2 = require("./_lib/convertToFP.cjs"); // This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. + +const startOfSecondWithOptions = (exports.startOfSecondWithOptions = (0, +_index2.convertToFP)(_index.startOfSecond, 2)); diff --git a/node_modules/date-fns/fp/startOfSecondWithOptions.d.cts b/node_modules/date-fns/fp/startOfSecondWithOptions.d.cts new file mode 100644 index 0000000000000000000000000000000000000000..491047945adc86cd523b172f521f4e0c10e96103 --- /dev/null +++ b/node_modules/date-fns/fp/startOfSecondWithOptions.d.cts @@ -0,0 +1,5 @@ +export declare const startOfSecondWithOptions: import("./types.ts").FPFn2< + Date, + import("../startOfSecond.ts").StartOfSecondOptions | undefined, + import("../fp.ts").DateArg +>; diff --git a/node_modules/date-fns/fp/startOfSecondWithOptions.d.ts b/node_modules/date-fns/fp/startOfSecondWithOptions.d.ts new file mode 100644 index 0000000000000000000000000000000000000000..491047945adc86cd523b172f521f4e0c10e96103 --- /dev/null +++ b/node_modules/date-fns/fp/startOfSecondWithOptions.d.ts @@ -0,0 +1,5 @@ +export declare const startOfSecondWithOptions: import("./types.ts").FPFn2< + Date, + import("../startOfSecond.ts").StartOfSecondOptions | undefined, + import("../fp.ts").DateArg +>; diff --git a/node_modules/date-fns/fp/startOfSecondWithOptions.js b/node_modules/date-fns/fp/startOfSecondWithOptions.js new file mode 100644 index 0000000000000000000000000000000000000000..9f08f89fb5e8a10f6c8c09d74ec0c96b457fc178 --- /dev/null +++ b/node_modules/date-fns/fp/startOfSecondWithOptions.js @@ -0,0 +1,9 @@ +// This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. + +import { startOfSecond as fn } from "../startOfSecond.js"; +import { convertToFP } from "./_lib/convertToFP.js"; + +export const startOfSecondWithOptions = convertToFP(fn, 2); + +// Fallback for modularized imports: +export default startOfSecondWithOptions; diff --git a/node_modules/date-fns/fp/startOfWeek.cjs b/node_modules/date-fns/fp/startOfWeek.cjs new file mode 100644 index 0000000000000000000000000000000000000000..3d0e923217438434ef4aefb593264731d33dfb3f --- /dev/null +++ b/node_modules/date-fns/fp/startOfWeek.cjs @@ -0,0 +1,10 @@ +"use strict"; +exports.startOfWeek = void 0; + +var _index = require("../startOfWeek.cjs"); +var _index2 = require("./_lib/convertToFP.cjs"); // This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. + +const startOfWeek = (exports.startOfWeek = (0, _index2.convertToFP)( + _index.startOfWeek, + 1, +)); diff --git a/node_modules/date-fns/fp/startOfWeek.d.cts b/node_modules/date-fns/fp/startOfWeek.d.cts new file mode 100644 index 0000000000000000000000000000000000000000..31ce8a710ca3b921512e2921fbfd6f5cf2303b4f --- /dev/null +++ b/node_modules/date-fns/fp/startOfWeek.d.cts @@ -0,0 +1,4 @@ +export declare const startOfWeek: import("./types.ts").FPFn1< + Date, + import("../fp.ts").DateArg +>; diff --git a/node_modules/date-fns/fp/startOfWeek.d.ts b/node_modules/date-fns/fp/startOfWeek.d.ts new file mode 100644 index 0000000000000000000000000000000000000000..31ce8a710ca3b921512e2921fbfd6f5cf2303b4f --- /dev/null +++ b/node_modules/date-fns/fp/startOfWeek.d.ts @@ -0,0 +1,4 @@ +export declare const startOfWeek: import("./types.ts").FPFn1< + Date, + import("../fp.ts").DateArg +>; diff --git a/node_modules/date-fns/fp/startOfWeek.js b/node_modules/date-fns/fp/startOfWeek.js new file mode 100644 index 0000000000000000000000000000000000000000..ef2591dc61d9fb9d3329668e9c53cb115eb435da --- /dev/null +++ b/node_modules/date-fns/fp/startOfWeek.js @@ -0,0 +1,9 @@ +// This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. + +import { startOfWeek as fn } from "../startOfWeek.js"; +import { convertToFP } from "./_lib/convertToFP.js"; + +export const startOfWeek = convertToFP(fn, 1); + +// Fallback for modularized imports: +export default startOfWeek; diff --git a/node_modules/date-fns/fp/startOfWeekWithOptions.cjs b/node_modules/date-fns/fp/startOfWeekWithOptions.cjs new file mode 100644 index 0000000000000000000000000000000000000000..9eeaf7f41f7e5ce5b2bf62ba2a054d171b9edacb --- /dev/null +++ b/node_modules/date-fns/fp/startOfWeekWithOptions.cjs @@ -0,0 +1,8 @@ +"use strict"; +exports.startOfWeekWithOptions = void 0; + +var _index = require("../startOfWeek.cjs"); +var _index2 = require("./_lib/convertToFP.cjs"); // This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. + +const startOfWeekWithOptions = (exports.startOfWeekWithOptions = (0, +_index2.convertToFP)(_index.startOfWeek, 2)); diff --git a/node_modules/date-fns/fp/startOfWeekWithOptions.d.cts b/node_modules/date-fns/fp/startOfWeekWithOptions.d.cts new file mode 100644 index 0000000000000000000000000000000000000000..31a82e58f9680934a5b9632c2df674c46a5e1dd2 --- /dev/null +++ b/node_modules/date-fns/fp/startOfWeekWithOptions.d.cts @@ -0,0 +1,5 @@ +export declare const startOfWeekWithOptions: import("./types.ts").FPFn2< + Date, + import("../startOfWeek.ts").StartOfWeekOptions | undefined, + import("../fp.ts").DateArg +>; diff --git a/node_modules/date-fns/fp/startOfWeekWithOptions.d.ts b/node_modules/date-fns/fp/startOfWeekWithOptions.d.ts new file mode 100644 index 0000000000000000000000000000000000000000..31a82e58f9680934a5b9632c2df674c46a5e1dd2 --- /dev/null +++ b/node_modules/date-fns/fp/startOfWeekWithOptions.d.ts @@ -0,0 +1,5 @@ +export declare const startOfWeekWithOptions: import("./types.ts").FPFn2< + Date, + import("../startOfWeek.ts").StartOfWeekOptions | undefined, + import("../fp.ts").DateArg +>; diff --git a/node_modules/date-fns/fp/startOfWeekWithOptions.js b/node_modules/date-fns/fp/startOfWeekWithOptions.js new file mode 100644 index 0000000000000000000000000000000000000000..697fcd94e3292966ab1e197b7789a9aadc5de766 --- /dev/null +++ b/node_modules/date-fns/fp/startOfWeekWithOptions.js @@ -0,0 +1,9 @@ +// This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. + +import { startOfWeek as fn } from "../startOfWeek.js"; +import { convertToFP } from "./_lib/convertToFP.js"; + +export const startOfWeekWithOptions = convertToFP(fn, 2); + +// Fallback for modularized imports: +export default startOfWeekWithOptions; diff --git a/node_modules/date-fns/fp/startOfWeekYear.cjs b/node_modules/date-fns/fp/startOfWeekYear.cjs new file mode 100644 index 0000000000000000000000000000000000000000..b277949c6123d3778b6f4982f854c2ac745700f1 --- /dev/null +++ b/node_modules/date-fns/fp/startOfWeekYear.cjs @@ -0,0 +1,10 @@ +"use strict"; +exports.startOfWeekYear = void 0; + +var _index = require("../startOfWeekYear.cjs"); +var _index2 = require("./_lib/convertToFP.cjs"); // This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. + +const startOfWeekYear = (exports.startOfWeekYear = (0, _index2.convertToFP)( + _index.startOfWeekYear, + 1, +)); diff --git a/node_modules/date-fns/fp/startOfWeekYear.d.cts b/node_modules/date-fns/fp/startOfWeekYear.d.cts new file mode 100644 index 0000000000000000000000000000000000000000..c09fb571fdfae6e8b74a53fa0ea6ec6c82e47053 --- /dev/null +++ b/node_modules/date-fns/fp/startOfWeekYear.d.cts @@ -0,0 +1,4 @@ +export declare const startOfWeekYear: import("./types.ts").FPFn1< + Date, + import("../fp.ts").DateArg +>; diff --git a/node_modules/date-fns/fp/startOfWeekYear.d.ts b/node_modules/date-fns/fp/startOfWeekYear.d.ts new file mode 100644 index 0000000000000000000000000000000000000000..c09fb571fdfae6e8b74a53fa0ea6ec6c82e47053 --- /dev/null +++ b/node_modules/date-fns/fp/startOfWeekYear.d.ts @@ -0,0 +1,4 @@ +export declare const startOfWeekYear: import("./types.ts").FPFn1< + Date, + import("../fp.ts").DateArg +>; diff --git a/node_modules/date-fns/fp/startOfWeekYear.js b/node_modules/date-fns/fp/startOfWeekYear.js new file mode 100644 index 0000000000000000000000000000000000000000..f0cb4daaa01564d1e4303f0052b58126e6ffc504 --- /dev/null +++ b/node_modules/date-fns/fp/startOfWeekYear.js @@ -0,0 +1,9 @@ +// This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. + +import { startOfWeekYear as fn } from "../startOfWeekYear.js"; +import { convertToFP } from "./_lib/convertToFP.js"; + +export const startOfWeekYear = convertToFP(fn, 1); + +// Fallback for modularized imports: +export default startOfWeekYear; diff --git a/node_modules/date-fns/fp/startOfWeekYearWithOptions.cjs b/node_modules/date-fns/fp/startOfWeekYearWithOptions.cjs new file mode 100644 index 0000000000000000000000000000000000000000..c7ac825732fa495ac1558262876c1861425410aa --- /dev/null +++ b/node_modules/date-fns/fp/startOfWeekYearWithOptions.cjs @@ -0,0 +1,8 @@ +"use strict"; +exports.startOfWeekYearWithOptions = void 0; + +var _index = require("../startOfWeekYear.cjs"); +var _index2 = require("./_lib/convertToFP.cjs"); // This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. + +const startOfWeekYearWithOptions = (exports.startOfWeekYearWithOptions = (0, +_index2.convertToFP)(_index.startOfWeekYear, 2)); diff --git a/node_modules/date-fns/fp/startOfWeekYearWithOptions.d.cts b/node_modules/date-fns/fp/startOfWeekYearWithOptions.d.cts new file mode 100644 index 0000000000000000000000000000000000000000..ad3f690f457b61171c3de00e9f5d0f33adfb83e6 --- /dev/null +++ b/node_modules/date-fns/fp/startOfWeekYearWithOptions.d.cts @@ -0,0 +1,6 @@ +export declare const startOfWeekYearWithOptions: import("./types.ts").FPFn2< + Date, + | import("../startOfWeekYear.ts").StartOfWeekYearOptions + | undefined, + import("../fp.ts").DateArg +>; diff --git a/node_modules/date-fns/fp/startOfWeekYearWithOptions.d.ts b/node_modules/date-fns/fp/startOfWeekYearWithOptions.d.ts new file mode 100644 index 0000000000000000000000000000000000000000..ad3f690f457b61171c3de00e9f5d0f33adfb83e6 --- /dev/null +++ b/node_modules/date-fns/fp/startOfWeekYearWithOptions.d.ts @@ -0,0 +1,6 @@ +export declare const startOfWeekYearWithOptions: import("./types.ts").FPFn2< + Date, + | import("../startOfWeekYear.ts").StartOfWeekYearOptions + | undefined, + import("../fp.ts").DateArg +>; diff --git a/node_modules/date-fns/fp/startOfWeekYearWithOptions.js b/node_modules/date-fns/fp/startOfWeekYearWithOptions.js new file mode 100644 index 0000000000000000000000000000000000000000..0ba57bc2ec16cedaa865f995230b4bc75ffa2c68 --- /dev/null +++ b/node_modules/date-fns/fp/startOfWeekYearWithOptions.js @@ -0,0 +1,9 @@ +// This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. + +import { startOfWeekYear as fn } from "../startOfWeekYear.js"; +import { convertToFP } from "./_lib/convertToFP.js"; + +export const startOfWeekYearWithOptions = convertToFP(fn, 2); + +// Fallback for modularized imports: +export default startOfWeekYearWithOptions; diff --git a/node_modules/date-fns/fp/startOfYear.cjs b/node_modules/date-fns/fp/startOfYear.cjs new file mode 100644 index 0000000000000000000000000000000000000000..1966ec684f661bc6369b3695246163bfdfbf8d74 --- /dev/null +++ b/node_modules/date-fns/fp/startOfYear.cjs @@ -0,0 +1,10 @@ +"use strict"; +exports.startOfYear = void 0; + +var _index = require("../startOfYear.cjs"); +var _index2 = require("./_lib/convertToFP.cjs"); // This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. + +const startOfYear = (exports.startOfYear = (0, _index2.convertToFP)( + _index.startOfYear, + 1, +)); diff --git a/node_modules/date-fns/fp/startOfYear.d.cts b/node_modules/date-fns/fp/startOfYear.d.cts new file mode 100644 index 0000000000000000000000000000000000000000..fdf26d9f89a47baabfb384cdd47a9ff88864c15d --- /dev/null +++ b/node_modules/date-fns/fp/startOfYear.d.cts @@ -0,0 +1,4 @@ +export declare const startOfYear: import("./types.ts").FPFn1< + Date, + import("../fp.ts").DateArg +>; diff --git a/node_modules/date-fns/fp/startOfYear.d.ts b/node_modules/date-fns/fp/startOfYear.d.ts new file mode 100644 index 0000000000000000000000000000000000000000..fdf26d9f89a47baabfb384cdd47a9ff88864c15d --- /dev/null +++ b/node_modules/date-fns/fp/startOfYear.d.ts @@ -0,0 +1,4 @@ +export declare const startOfYear: import("./types.ts").FPFn1< + Date, + import("../fp.ts").DateArg +>; diff --git a/node_modules/date-fns/fp/startOfYear.js b/node_modules/date-fns/fp/startOfYear.js new file mode 100644 index 0000000000000000000000000000000000000000..b5873f7a8330416d324db59c2a1d532cf27c5500 --- /dev/null +++ b/node_modules/date-fns/fp/startOfYear.js @@ -0,0 +1,9 @@ +// This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. + +import { startOfYear as fn } from "../startOfYear.js"; +import { convertToFP } from "./_lib/convertToFP.js"; + +export const startOfYear = convertToFP(fn, 1); + +// Fallback for modularized imports: +export default startOfYear; diff --git a/node_modules/date-fns/fp/startOfYearWithOptions.cjs b/node_modules/date-fns/fp/startOfYearWithOptions.cjs new file mode 100644 index 0000000000000000000000000000000000000000..5e3083b87ffc005f555e09947a117b9b9f09b8de --- /dev/null +++ b/node_modules/date-fns/fp/startOfYearWithOptions.cjs @@ -0,0 +1,8 @@ +"use strict"; +exports.startOfYearWithOptions = void 0; + +var _index = require("../startOfYear.cjs"); +var _index2 = require("./_lib/convertToFP.cjs"); // This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. + +const startOfYearWithOptions = (exports.startOfYearWithOptions = (0, +_index2.convertToFP)(_index.startOfYear, 2)); diff --git a/node_modules/date-fns/fp/startOfYearWithOptions.d.cts b/node_modules/date-fns/fp/startOfYearWithOptions.d.cts new file mode 100644 index 0000000000000000000000000000000000000000..0e1f5112547e36227ac07c3dd4ee4614ca1f2b43 --- /dev/null +++ b/node_modules/date-fns/fp/startOfYearWithOptions.d.cts @@ -0,0 +1,5 @@ +export declare const startOfYearWithOptions: import("./types.ts").FPFn2< + Date, + import("../startOfYear.ts").StartOfYearOptions | undefined, + import("../fp.ts").DateArg +>; diff --git a/node_modules/date-fns/fp/startOfYearWithOptions.d.ts b/node_modules/date-fns/fp/startOfYearWithOptions.d.ts new file mode 100644 index 0000000000000000000000000000000000000000..0e1f5112547e36227ac07c3dd4ee4614ca1f2b43 --- /dev/null +++ b/node_modules/date-fns/fp/startOfYearWithOptions.d.ts @@ -0,0 +1,5 @@ +export declare const startOfYearWithOptions: import("./types.ts").FPFn2< + Date, + import("../startOfYear.ts").StartOfYearOptions | undefined, + import("../fp.ts").DateArg +>; diff --git a/node_modules/date-fns/fp/startOfYearWithOptions.js b/node_modules/date-fns/fp/startOfYearWithOptions.js new file mode 100644 index 0000000000000000000000000000000000000000..a4c9286a5a07a5f52819390bf0f9b9a1a6f210cc --- /dev/null +++ b/node_modules/date-fns/fp/startOfYearWithOptions.js @@ -0,0 +1,9 @@ +// This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. + +import { startOfYear as fn } from "../startOfYear.js"; +import { convertToFP } from "./_lib/convertToFP.js"; + +export const startOfYearWithOptions = convertToFP(fn, 2); + +// Fallback for modularized imports: +export default startOfYearWithOptions; diff --git a/node_modules/date-fns/fp/sub.cjs b/node_modules/date-fns/fp/sub.cjs new file mode 100644 index 0000000000000000000000000000000000000000..9cd8aca6fb7751dc715ea988fc2000cd02fad65e --- /dev/null +++ b/node_modules/date-fns/fp/sub.cjs @@ -0,0 +1,7 @@ +"use strict"; +exports.sub = void 0; + +var _index = require("../sub.cjs"); +var _index2 = require("./_lib/convertToFP.cjs"); // This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. + +const sub = (exports.sub = (0, _index2.convertToFP)(_index.sub, 2)); diff --git a/node_modules/date-fns/fp/sub.d.cts b/node_modules/date-fns/fp/sub.d.cts new file mode 100644 index 0000000000000000000000000000000000000000..b39e8ef5b4e45b35b1e87bf4fd875b8424a5e7d8 --- /dev/null +++ b/node_modules/date-fns/fp/sub.d.cts @@ -0,0 +1,5 @@ +export declare const sub: import("./types.ts").FPFn2< + Date, + import("../fp.ts").Duration, + import("../fp.ts").DateArg +>; diff --git a/node_modules/date-fns/fp/sub.d.ts b/node_modules/date-fns/fp/sub.d.ts new file mode 100644 index 0000000000000000000000000000000000000000..b39e8ef5b4e45b35b1e87bf4fd875b8424a5e7d8 --- /dev/null +++ b/node_modules/date-fns/fp/sub.d.ts @@ -0,0 +1,5 @@ +export declare const sub: import("./types.ts").FPFn2< + Date, + import("../fp.ts").Duration, + import("../fp.ts").DateArg +>; diff --git a/node_modules/date-fns/fp/sub.js b/node_modules/date-fns/fp/sub.js new file mode 100644 index 0000000000000000000000000000000000000000..c76fa8ac361fd0702fa261b7e6ea5731f1b12900 --- /dev/null +++ b/node_modules/date-fns/fp/sub.js @@ -0,0 +1,9 @@ +// This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. + +import { sub as fn } from "../sub.js"; +import { convertToFP } from "./_lib/convertToFP.js"; + +export const sub = convertToFP(fn, 2); + +// Fallback for modularized imports: +export default sub; diff --git a/node_modules/date-fns/fp/subBusinessDays.cjs b/node_modules/date-fns/fp/subBusinessDays.cjs new file mode 100644 index 0000000000000000000000000000000000000000..8b002b6ae79bc8cfc007fc83f0e6012317e75008 --- /dev/null +++ b/node_modules/date-fns/fp/subBusinessDays.cjs @@ -0,0 +1,10 @@ +"use strict"; +exports.subBusinessDays = void 0; + +var _index = require("../subBusinessDays.cjs"); +var _index2 = require("./_lib/convertToFP.cjs"); // This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. + +const subBusinessDays = (exports.subBusinessDays = (0, _index2.convertToFP)( + _index.subBusinessDays, + 2, +)); diff --git a/node_modules/date-fns/fp/subBusinessDays.d.cts b/node_modules/date-fns/fp/subBusinessDays.d.cts new file mode 100644 index 0000000000000000000000000000000000000000..86c94abe2f103012ca0a53a3d7dbb3b6dee145fd --- /dev/null +++ b/node_modules/date-fns/fp/subBusinessDays.d.cts @@ -0,0 +1,5 @@ +export declare const subBusinessDays: import("./types.ts").FPFn2< + Date, + number, + import("../fp.ts").DateArg +>; diff --git a/node_modules/date-fns/fp/subBusinessDays.d.ts b/node_modules/date-fns/fp/subBusinessDays.d.ts new file mode 100644 index 0000000000000000000000000000000000000000..86c94abe2f103012ca0a53a3d7dbb3b6dee145fd --- /dev/null +++ b/node_modules/date-fns/fp/subBusinessDays.d.ts @@ -0,0 +1,5 @@ +export declare const subBusinessDays: import("./types.ts").FPFn2< + Date, + number, + import("../fp.ts").DateArg +>; diff --git a/node_modules/date-fns/fp/subBusinessDays.js b/node_modules/date-fns/fp/subBusinessDays.js new file mode 100644 index 0000000000000000000000000000000000000000..1a9d3e9960a2202f2e6539b4ecfc234097770454 --- /dev/null +++ b/node_modules/date-fns/fp/subBusinessDays.js @@ -0,0 +1,9 @@ +// This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. + +import { subBusinessDays as fn } from "../subBusinessDays.js"; +import { convertToFP } from "./_lib/convertToFP.js"; + +export const subBusinessDays = convertToFP(fn, 2); + +// Fallback for modularized imports: +export default subBusinessDays; diff --git a/node_modules/date-fns/fp/subBusinessDaysWithOptions.cjs b/node_modules/date-fns/fp/subBusinessDaysWithOptions.cjs new file mode 100644 index 0000000000000000000000000000000000000000..4b39fb16e499e9c8fd46f114009d8c6182b3f975 --- /dev/null +++ b/node_modules/date-fns/fp/subBusinessDaysWithOptions.cjs @@ -0,0 +1,8 @@ +"use strict"; +exports.subBusinessDaysWithOptions = void 0; + +var _index = require("../subBusinessDays.cjs"); +var _index2 = require("./_lib/convertToFP.cjs"); // This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. + +const subBusinessDaysWithOptions = (exports.subBusinessDaysWithOptions = (0, +_index2.convertToFP)(_index.subBusinessDays, 3)); diff --git a/node_modules/date-fns/fp/subBusinessDaysWithOptions.d.cts b/node_modules/date-fns/fp/subBusinessDaysWithOptions.d.cts new file mode 100644 index 0000000000000000000000000000000000000000..7af899efb1e6be723be041b52ba0798c4856dbf8 --- /dev/null +++ b/node_modules/date-fns/fp/subBusinessDaysWithOptions.d.cts @@ -0,0 +1,7 @@ +export declare const subBusinessDaysWithOptions: import("./types.ts").FPFn3< + Date, + | import("../subBusinessDays.ts").SubBusinessDaysOptions + | undefined, + number, + import("../fp.ts").DateArg +>; diff --git a/node_modules/date-fns/fp/subBusinessDaysWithOptions.d.ts b/node_modules/date-fns/fp/subBusinessDaysWithOptions.d.ts new file mode 100644 index 0000000000000000000000000000000000000000..7af899efb1e6be723be041b52ba0798c4856dbf8 --- /dev/null +++ b/node_modules/date-fns/fp/subBusinessDaysWithOptions.d.ts @@ -0,0 +1,7 @@ +export declare const subBusinessDaysWithOptions: import("./types.ts").FPFn3< + Date, + | import("../subBusinessDays.ts").SubBusinessDaysOptions + | undefined, + number, + import("../fp.ts").DateArg +>; diff --git a/node_modules/date-fns/fp/subBusinessDaysWithOptions.js b/node_modules/date-fns/fp/subBusinessDaysWithOptions.js new file mode 100644 index 0000000000000000000000000000000000000000..09399296fbaf37c6fbc285fe14f4441c46671646 --- /dev/null +++ b/node_modules/date-fns/fp/subBusinessDaysWithOptions.js @@ -0,0 +1,9 @@ +// This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. + +import { subBusinessDays as fn } from "../subBusinessDays.js"; +import { convertToFP } from "./_lib/convertToFP.js"; + +export const subBusinessDaysWithOptions = convertToFP(fn, 3); + +// Fallback for modularized imports: +export default subBusinessDaysWithOptions; diff --git a/node_modules/date-fns/fp/subDays.cjs b/node_modules/date-fns/fp/subDays.cjs new file mode 100644 index 0000000000000000000000000000000000000000..383e22feb8fa7e9c0aa620370531645576f9a17a --- /dev/null +++ b/node_modules/date-fns/fp/subDays.cjs @@ -0,0 +1,7 @@ +"use strict"; +exports.subDays = void 0; + +var _index = require("../subDays.cjs"); +var _index2 = require("./_lib/convertToFP.cjs"); // This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. + +const subDays = (exports.subDays = (0, _index2.convertToFP)(_index.subDays, 2)); diff --git a/node_modules/date-fns/fp/subDays.d.cts b/node_modules/date-fns/fp/subDays.d.cts new file mode 100644 index 0000000000000000000000000000000000000000..0180df9e7c81e1db10119482d2af4d01248e3533 --- /dev/null +++ b/node_modules/date-fns/fp/subDays.d.cts @@ -0,0 +1,5 @@ +export declare const subDays: import("./types.ts").FPFn2< + Date, + number, + import("../fp.ts").DateArg +>; diff --git a/node_modules/date-fns/fp/subDays.d.ts b/node_modules/date-fns/fp/subDays.d.ts new file mode 100644 index 0000000000000000000000000000000000000000..0180df9e7c81e1db10119482d2af4d01248e3533 --- /dev/null +++ b/node_modules/date-fns/fp/subDays.d.ts @@ -0,0 +1,5 @@ +export declare const subDays: import("./types.ts").FPFn2< + Date, + number, + import("../fp.ts").DateArg +>; diff --git a/node_modules/date-fns/fp/subDays.js b/node_modules/date-fns/fp/subDays.js new file mode 100644 index 0000000000000000000000000000000000000000..8f361d76df5c7114e2a2d277d578a7889efb235e --- /dev/null +++ b/node_modules/date-fns/fp/subDays.js @@ -0,0 +1,9 @@ +// This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. + +import { subDays as fn } from "../subDays.js"; +import { convertToFP } from "./_lib/convertToFP.js"; + +export const subDays = convertToFP(fn, 2); + +// Fallback for modularized imports: +export default subDays; diff --git a/node_modules/date-fns/fp/subDaysWithOptions.cjs b/node_modules/date-fns/fp/subDaysWithOptions.cjs new file mode 100644 index 0000000000000000000000000000000000000000..45ed5342ffa3926debfee7a082faeb9c11e74438 --- /dev/null +++ b/node_modules/date-fns/fp/subDaysWithOptions.cjs @@ -0,0 +1,8 @@ +"use strict"; +exports.subDaysWithOptions = void 0; + +var _index = require("../subDays.cjs"); +var _index2 = require("./_lib/convertToFP.cjs"); // This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. + +const subDaysWithOptions = (exports.subDaysWithOptions = (0, +_index2.convertToFP)(_index.subDays, 3)); diff --git a/node_modules/date-fns/fp/subDaysWithOptions.d.cts b/node_modules/date-fns/fp/subDaysWithOptions.d.cts new file mode 100644 index 0000000000000000000000000000000000000000..e1407ca98823737e31c11972b0561ea64b95281f --- /dev/null +++ b/node_modules/date-fns/fp/subDaysWithOptions.d.cts @@ -0,0 +1,6 @@ +export declare const subDaysWithOptions: import("./types.ts").FPFn3< + Date, + import("../subDays.ts").SubDaysOptions | undefined, + number, + import("../fp.ts").DateArg +>; diff --git a/node_modules/date-fns/fp/subDaysWithOptions.d.ts b/node_modules/date-fns/fp/subDaysWithOptions.d.ts new file mode 100644 index 0000000000000000000000000000000000000000..e1407ca98823737e31c11972b0561ea64b95281f --- /dev/null +++ b/node_modules/date-fns/fp/subDaysWithOptions.d.ts @@ -0,0 +1,6 @@ +export declare const subDaysWithOptions: import("./types.ts").FPFn3< + Date, + import("../subDays.ts").SubDaysOptions | undefined, + number, + import("../fp.ts").DateArg +>; diff --git a/node_modules/date-fns/fp/subDaysWithOptions.js b/node_modules/date-fns/fp/subDaysWithOptions.js new file mode 100644 index 0000000000000000000000000000000000000000..7d80b859cb4a3d27ad9b9b1043caca8c5e2bde75 --- /dev/null +++ b/node_modules/date-fns/fp/subDaysWithOptions.js @@ -0,0 +1,9 @@ +// This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. + +import { subDays as fn } from "../subDays.js"; +import { convertToFP } from "./_lib/convertToFP.js"; + +export const subDaysWithOptions = convertToFP(fn, 3); + +// Fallback for modularized imports: +export default subDaysWithOptions; diff --git a/node_modules/date-fns/fp/subHours.cjs b/node_modules/date-fns/fp/subHours.cjs new file mode 100644 index 0000000000000000000000000000000000000000..3c00fa1a5cd66264f021d268163623770a2b99b5 --- /dev/null +++ b/node_modules/date-fns/fp/subHours.cjs @@ -0,0 +1,10 @@ +"use strict"; +exports.subHours = void 0; + +var _index = require("../subHours.cjs"); +var _index2 = require("./_lib/convertToFP.cjs"); // This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. + +const subHours = (exports.subHours = (0, _index2.convertToFP)( + _index.subHours, + 2, +)); diff --git a/node_modules/date-fns/fp/subHours.d.cts b/node_modules/date-fns/fp/subHours.d.cts new file mode 100644 index 0000000000000000000000000000000000000000..432ab675837fca8d6f193e370c72a275f1c7c373 --- /dev/null +++ b/node_modules/date-fns/fp/subHours.d.cts @@ -0,0 +1,5 @@ +export declare const subHours: import("./types.ts").FPFn2< + Date, + number, + import("../fp.ts").DateArg +>; diff --git a/node_modules/date-fns/fp/subHours.d.ts b/node_modules/date-fns/fp/subHours.d.ts new file mode 100644 index 0000000000000000000000000000000000000000..432ab675837fca8d6f193e370c72a275f1c7c373 --- /dev/null +++ b/node_modules/date-fns/fp/subHours.d.ts @@ -0,0 +1,5 @@ +export declare const subHours: import("./types.ts").FPFn2< + Date, + number, + import("../fp.ts").DateArg +>; diff --git a/node_modules/date-fns/fp/subHours.js b/node_modules/date-fns/fp/subHours.js new file mode 100644 index 0000000000000000000000000000000000000000..fc8abd12d7d94da8baedcb22deb6dae02ea66331 --- /dev/null +++ b/node_modules/date-fns/fp/subHours.js @@ -0,0 +1,9 @@ +// This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. + +import { subHours as fn } from "../subHours.js"; +import { convertToFP } from "./_lib/convertToFP.js"; + +export const subHours = convertToFP(fn, 2); + +// Fallback for modularized imports: +export default subHours; diff --git a/node_modules/date-fns/fp/subHoursWithOptions.cjs b/node_modules/date-fns/fp/subHoursWithOptions.cjs new file mode 100644 index 0000000000000000000000000000000000000000..0ff47ab5d2abfe79f85ce5d5060064ecfe02079c --- /dev/null +++ b/node_modules/date-fns/fp/subHoursWithOptions.cjs @@ -0,0 +1,8 @@ +"use strict"; +exports.subHoursWithOptions = void 0; + +var _index = require("../subHours.cjs"); +var _index2 = require("./_lib/convertToFP.cjs"); // This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. + +const subHoursWithOptions = (exports.subHoursWithOptions = (0, +_index2.convertToFP)(_index.subHours, 3)); diff --git a/node_modules/date-fns/fp/subHoursWithOptions.d.cts b/node_modules/date-fns/fp/subHoursWithOptions.d.cts new file mode 100644 index 0000000000000000000000000000000000000000..163dcc5725e673c3b79eecb0b5b13aebf54de38e --- /dev/null +++ b/node_modules/date-fns/fp/subHoursWithOptions.d.cts @@ -0,0 +1,6 @@ +export declare const subHoursWithOptions: import("./types.ts").FPFn3< + Date, + import("../subHours.ts").SubHoursOptions | undefined, + number, + import("../fp.ts").DateArg +>; diff --git a/node_modules/date-fns/fp/subHoursWithOptions.d.ts b/node_modules/date-fns/fp/subHoursWithOptions.d.ts new file mode 100644 index 0000000000000000000000000000000000000000..163dcc5725e673c3b79eecb0b5b13aebf54de38e --- /dev/null +++ b/node_modules/date-fns/fp/subHoursWithOptions.d.ts @@ -0,0 +1,6 @@ +export declare const subHoursWithOptions: import("./types.ts").FPFn3< + Date, + import("../subHours.ts").SubHoursOptions | undefined, + number, + import("../fp.ts").DateArg +>; diff --git a/node_modules/date-fns/fp/subHoursWithOptions.js b/node_modules/date-fns/fp/subHoursWithOptions.js new file mode 100644 index 0000000000000000000000000000000000000000..d03cd483baebdf9d50d920da5186d3d741f8edd6 --- /dev/null +++ b/node_modules/date-fns/fp/subHoursWithOptions.js @@ -0,0 +1,9 @@ +// This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. + +import { subHours as fn } from "../subHours.js"; +import { convertToFP } from "./_lib/convertToFP.js"; + +export const subHoursWithOptions = convertToFP(fn, 3); + +// Fallback for modularized imports: +export default subHoursWithOptions; diff --git a/node_modules/date-fns/fp/subISOWeekYears.cjs b/node_modules/date-fns/fp/subISOWeekYears.cjs new file mode 100644 index 0000000000000000000000000000000000000000..7ee70499de765aeccd0e65b66b9ad44f19668f1f --- /dev/null +++ b/node_modules/date-fns/fp/subISOWeekYears.cjs @@ -0,0 +1,10 @@ +"use strict"; +exports.subISOWeekYears = void 0; + +var _index = require("../subISOWeekYears.cjs"); +var _index2 = require("./_lib/convertToFP.cjs"); // This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. + +const subISOWeekYears = (exports.subISOWeekYears = (0, _index2.convertToFP)( + _index.subISOWeekYears, + 2, +)); diff --git a/node_modules/date-fns/fp/subISOWeekYears.d.cts b/node_modules/date-fns/fp/subISOWeekYears.d.cts new file mode 100644 index 0000000000000000000000000000000000000000..dc8a33033c5dcfa86cc2c5bebce09a0740faf6fb --- /dev/null +++ b/node_modules/date-fns/fp/subISOWeekYears.d.cts @@ -0,0 +1,5 @@ +export declare const subISOWeekYears: import("./types.ts").FPFn2< + Date, + number, + import("../fp.ts").DateArg +>; diff --git a/node_modules/date-fns/fp/subISOWeekYears.d.ts b/node_modules/date-fns/fp/subISOWeekYears.d.ts new file mode 100644 index 0000000000000000000000000000000000000000..dc8a33033c5dcfa86cc2c5bebce09a0740faf6fb --- /dev/null +++ b/node_modules/date-fns/fp/subISOWeekYears.d.ts @@ -0,0 +1,5 @@ +export declare const subISOWeekYears: import("./types.ts").FPFn2< + Date, + number, + import("../fp.ts").DateArg +>; diff --git a/node_modules/date-fns/fp/subISOWeekYears.js b/node_modules/date-fns/fp/subISOWeekYears.js new file mode 100644 index 0000000000000000000000000000000000000000..1891154206ee057625b1f8d52bfcb90bb5e2cec7 --- /dev/null +++ b/node_modules/date-fns/fp/subISOWeekYears.js @@ -0,0 +1,9 @@ +// This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. + +import { subISOWeekYears as fn } from "../subISOWeekYears.js"; +import { convertToFP } from "./_lib/convertToFP.js"; + +export const subISOWeekYears = convertToFP(fn, 2); + +// Fallback for modularized imports: +export default subISOWeekYears; diff --git a/node_modules/date-fns/fp/subISOWeekYearsWithOptions.cjs b/node_modules/date-fns/fp/subISOWeekYearsWithOptions.cjs new file mode 100644 index 0000000000000000000000000000000000000000..1af807973eae50cb5a63ac3985d70dcdc2e70616 --- /dev/null +++ b/node_modules/date-fns/fp/subISOWeekYearsWithOptions.cjs @@ -0,0 +1,8 @@ +"use strict"; +exports.subISOWeekYearsWithOptions = void 0; + +var _index = require("../subISOWeekYears.cjs"); +var _index2 = require("./_lib/convertToFP.cjs"); // This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. + +const subISOWeekYearsWithOptions = (exports.subISOWeekYearsWithOptions = (0, +_index2.convertToFP)(_index.subISOWeekYears, 3)); diff --git a/node_modules/date-fns/fp/subISOWeekYearsWithOptions.d.cts b/node_modules/date-fns/fp/subISOWeekYearsWithOptions.d.cts new file mode 100644 index 0000000000000000000000000000000000000000..09797d04ce82b03c478a32c29002bcc13ded7f0c --- /dev/null +++ b/node_modules/date-fns/fp/subISOWeekYearsWithOptions.d.cts @@ -0,0 +1,7 @@ +export declare const subISOWeekYearsWithOptions: import("./types.ts").FPFn3< + Date, + | import("../subISOWeekYears.ts").SubISOWeekYearsOptions + | undefined, + number, + import("../fp.ts").DateArg +>; diff --git a/node_modules/date-fns/fp/subISOWeekYearsWithOptions.d.ts b/node_modules/date-fns/fp/subISOWeekYearsWithOptions.d.ts new file mode 100644 index 0000000000000000000000000000000000000000..09797d04ce82b03c478a32c29002bcc13ded7f0c --- /dev/null +++ b/node_modules/date-fns/fp/subISOWeekYearsWithOptions.d.ts @@ -0,0 +1,7 @@ +export declare const subISOWeekYearsWithOptions: import("./types.ts").FPFn3< + Date, + | import("../subISOWeekYears.ts").SubISOWeekYearsOptions + | undefined, + number, + import("../fp.ts").DateArg +>; diff --git a/node_modules/date-fns/fp/subISOWeekYearsWithOptions.js b/node_modules/date-fns/fp/subISOWeekYearsWithOptions.js new file mode 100644 index 0000000000000000000000000000000000000000..980d117b51b5a5d98f086865ed3d2afbbf5fa0a5 --- /dev/null +++ b/node_modules/date-fns/fp/subISOWeekYearsWithOptions.js @@ -0,0 +1,9 @@ +// This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. + +import { subISOWeekYears as fn } from "../subISOWeekYears.js"; +import { convertToFP } from "./_lib/convertToFP.js"; + +export const subISOWeekYearsWithOptions = convertToFP(fn, 3); + +// Fallback for modularized imports: +export default subISOWeekYearsWithOptions; diff --git a/node_modules/date-fns/fp/subMilliseconds.cjs b/node_modules/date-fns/fp/subMilliseconds.cjs new file mode 100644 index 0000000000000000000000000000000000000000..14f4f49d30f2881421bbefee8b64362c11cf74b9 --- /dev/null +++ b/node_modules/date-fns/fp/subMilliseconds.cjs @@ -0,0 +1,10 @@ +"use strict"; +exports.subMilliseconds = void 0; + +var _index = require("../subMilliseconds.cjs"); +var _index2 = require("./_lib/convertToFP.cjs"); // This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. + +const subMilliseconds = (exports.subMilliseconds = (0, _index2.convertToFP)( + _index.subMilliseconds, + 2, +)); diff --git a/node_modules/date-fns/fp/subMilliseconds.d.cts b/node_modules/date-fns/fp/subMilliseconds.d.cts new file mode 100644 index 0000000000000000000000000000000000000000..6da1fb90b4cec691e4ef7b085b8ded8cf3785e63 --- /dev/null +++ b/node_modules/date-fns/fp/subMilliseconds.d.cts @@ -0,0 +1,5 @@ +export declare const subMilliseconds: import("./types.ts").FPFn2< + Date, + number, + import("../fp.ts").DateArg +>; diff --git a/node_modules/date-fns/fp/subMilliseconds.d.ts b/node_modules/date-fns/fp/subMilliseconds.d.ts new file mode 100644 index 0000000000000000000000000000000000000000..6da1fb90b4cec691e4ef7b085b8ded8cf3785e63 --- /dev/null +++ b/node_modules/date-fns/fp/subMilliseconds.d.ts @@ -0,0 +1,5 @@ +export declare const subMilliseconds: import("./types.ts").FPFn2< + Date, + number, + import("../fp.ts").DateArg +>; diff --git a/node_modules/date-fns/fp/subMilliseconds.js b/node_modules/date-fns/fp/subMilliseconds.js new file mode 100644 index 0000000000000000000000000000000000000000..0ffdd2211b4624b036e719a10cf708fa43d92723 --- /dev/null +++ b/node_modules/date-fns/fp/subMilliseconds.js @@ -0,0 +1,9 @@ +// This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. + +import { subMilliseconds as fn } from "../subMilliseconds.js"; +import { convertToFP } from "./_lib/convertToFP.js"; + +export const subMilliseconds = convertToFP(fn, 2); + +// Fallback for modularized imports: +export default subMilliseconds; diff --git a/node_modules/date-fns/fp/subMillisecondsWithOptions.cjs b/node_modules/date-fns/fp/subMillisecondsWithOptions.cjs new file mode 100644 index 0000000000000000000000000000000000000000..c73aabd3fe9ba9525ecaaf4a16533d803a5e8bcd --- /dev/null +++ b/node_modules/date-fns/fp/subMillisecondsWithOptions.cjs @@ -0,0 +1,8 @@ +"use strict"; +exports.subMillisecondsWithOptions = void 0; + +var _index = require("../subMilliseconds.cjs"); +var _index2 = require("./_lib/convertToFP.cjs"); // This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. + +const subMillisecondsWithOptions = (exports.subMillisecondsWithOptions = (0, +_index2.convertToFP)(_index.subMilliseconds, 3)); diff --git a/node_modules/date-fns/fp/subMillisecondsWithOptions.d.cts b/node_modules/date-fns/fp/subMillisecondsWithOptions.d.cts new file mode 100644 index 0000000000000000000000000000000000000000..6980950df0e33ceadc221ba30fa4f765dee3afd6 --- /dev/null +++ b/node_modules/date-fns/fp/subMillisecondsWithOptions.d.cts @@ -0,0 +1,7 @@ +export declare const subMillisecondsWithOptions: import("./types.ts").FPFn3< + Date, + | import("../subMilliseconds.ts").SubMillisecondsOptions + | undefined, + number, + import("../fp.ts").DateArg +>; diff --git a/node_modules/date-fns/fp/subMillisecondsWithOptions.d.ts b/node_modules/date-fns/fp/subMillisecondsWithOptions.d.ts new file mode 100644 index 0000000000000000000000000000000000000000..6980950df0e33ceadc221ba30fa4f765dee3afd6 --- /dev/null +++ b/node_modules/date-fns/fp/subMillisecondsWithOptions.d.ts @@ -0,0 +1,7 @@ +export declare const subMillisecondsWithOptions: import("./types.ts").FPFn3< + Date, + | import("../subMilliseconds.ts").SubMillisecondsOptions + | undefined, + number, + import("../fp.ts").DateArg +>; diff --git a/node_modules/date-fns/fp/subMillisecondsWithOptions.js b/node_modules/date-fns/fp/subMillisecondsWithOptions.js new file mode 100644 index 0000000000000000000000000000000000000000..df3a7aa8cb80af1a73a22b1195f312aae3133358 --- /dev/null +++ b/node_modules/date-fns/fp/subMillisecondsWithOptions.js @@ -0,0 +1,9 @@ +// This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. + +import { subMilliseconds as fn } from "../subMilliseconds.js"; +import { convertToFP } from "./_lib/convertToFP.js"; + +export const subMillisecondsWithOptions = convertToFP(fn, 3); + +// Fallback for modularized imports: +export default subMillisecondsWithOptions; diff --git a/node_modules/date-fns/fp/subMinutes.cjs b/node_modules/date-fns/fp/subMinutes.cjs new file mode 100644 index 0000000000000000000000000000000000000000..b5734a1d9b57a531da0e534fb6cc65fbc11257cb --- /dev/null +++ b/node_modules/date-fns/fp/subMinutes.cjs @@ -0,0 +1,10 @@ +"use strict"; +exports.subMinutes = void 0; + +var _index = require("../subMinutes.cjs"); +var _index2 = require("./_lib/convertToFP.cjs"); // This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. + +const subMinutes = (exports.subMinutes = (0, _index2.convertToFP)( + _index.subMinutes, + 2, +)); diff --git a/node_modules/date-fns/fp/subMinutes.d.cts b/node_modules/date-fns/fp/subMinutes.d.cts new file mode 100644 index 0000000000000000000000000000000000000000..618545cb85b86140cfaafd94a88fb6720ec7e88c --- /dev/null +++ b/node_modules/date-fns/fp/subMinutes.d.cts @@ -0,0 +1,5 @@ +export declare const subMinutes: import("./types.ts").FPFn2< + Date, + number, + import("../fp.ts").DateArg +>; diff --git a/node_modules/date-fns/fp/subMinutes.d.ts b/node_modules/date-fns/fp/subMinutes.d.ts new file mode 100644 index 0000000000000000000000000000000000000000..618545cb85b86140cfaafd94a88fb6720ec7e88c --- /dev/null +++ b/node_modules/date-fns/fp/subMinutes.d.ts @@ -0,0 +1,5 @@ +export declare const subMinutes: import("./types.ts").FPFn2< + Date, + number, + import("../fp.ts").DateArg +>; diff --git a/node_modules/date-fns/fp/subMinutes.js b/node_modules/date-fns/fp/subMinutes.js new file mode 100644 index 0000000000000000000000000000000000000000..d8ba20304c8ebc9ffe8bfb64b594436ac1f391ec --- /dev/null +++ b/node_modules/date-fns/fp/subMinutes.js @@ -0,0 +1,9 @@ +// This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. + +import { subMinutes as fn } from "../subMinutes.js"; +import { convertToFP } from "./_lib/convertToFP.js"; + +export const subMinutes = convertToFP(fn, 2); + +// Fallback for modularized imports: +export default subMinutes; diff --git a/node_modules/date-fns/fp/subMinutesWithOptions.cjs b/node_modules/date-fns/fp/subMinutesWithOptions.cjs new file mode 100644 index 0000000000000000000000000000000000000000..b6fd7c5df35c1d4211fea8891f779e9df2493481 --- /dev/null +++ b/node_modules/date-fns/fp/subMinutesWithOptions.cjs @@ -0,0 +1,8 @@ +"use strict"; +exports.subMinutesWithOptions = void 0; + +var _index = require("../subMinutes.cjs"); +var _index2 = require("./_lib/convertToFP.cjs"); // This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. + +const subMinutesWithOptions = (exports.subMinutesWithOptions = (0, +_index2.convertToFP)(_index.subMinutes, 3)); diff --git a/node_modules/date-fns/fp/subMinutesWithOptions.d.cts b/node_modules/date-fns/fp/subMinutesWithOptions.d.cts new file mode 100644 index 0000000000000000000000000000000000000000..9bba541bf8bf1a008987f79266fed842528b2d56 --- /dev/null +++ b/node_modules/date-fns/fp/subMinutesWithOptions.d.cts @@ -0,0 +1,6 @@ +export declare const subMinutesWithOptions: import("./types.ts").FPFn3< + Date, + import("../subMinutes.ts").SubMinutesOptions | undefined, + number, + import("../fp.ts").DateArg +>; diff --git a/node_modules/date-fns/fp/subMinutesWithOptions.d.ts b/node_modules/date-fns/fp/subMinutesWithOptions.d.ts new file mode 100644 index 0000000000000000000000000000000000000000..9bba541bf8bf1a008987f79266fed842528b2d56 --- /dev/null +++ b/node_modules/date-fns/fp/subMinutesWithOptions.d.ts @@ -0,0 +1,6 @@ +export declare const subMinutesWithOptions: import("./types.ts").FPFn3< + Date, + import("../subMinutes.ts").SubMinutesOptions | undefined, + number, + import("../fp.ts").DateArg +>; diff --git a/node_modules/date-fns/fp/subMinutesWithOptions.js b/node_modules/date-fns/fp/subMinutesWithOptions.js new file mode 100644 index 0000000000000000000000000000000000000000..9ec15dadabf584ed4dd9781db0d1d477a4992b4b --- /dev/null +++ b/node_modules/date-fns/fp/subMinutesWithOptions.js @@ -0,0 +1,9 @@ +// This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. + +import { subMinutes as fn } from "../subMinutes.js"; +import { convertToFP } from "./_lib/convertToFP.js"; + +export const subMinutesWithOptions = convertToFP(fn, 3); + +// Fallback for modularized imports: +export default subMinutesWithOptions; diff --git a/node_modules/date-fns/fp/subMonths.cjs b/node_modules/date-fns/fp/subMonths.cjs new file mode 100644 index 0000000000000000000000000000000000000000..2c815f78a0db4bda62f4d5e2576663efd533e14e --- /dev/null +++ b/node_modules/date-fns/fp/subMonths.cjs @@ -0,0 +1,10 @@ +"use strict"; +exports.subMonths = void 0; + +var _index = require("../subMonths.cjs"); +var _index2 = require("./_lib/convertToFP.cjs"); // This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. + +const subMonths = (exports.subMonths = (0, _index2.convertToFP)( + _index.subMonths, + 2, +)); diff --git a/node_modules/date-fns/fp/subMonths.d.cts b/node_modules/date-fns/fp/subMonths.d.cts new file mode 100644 index 0000000000000000000000000000000000000000..2e04955e270912e1301a39865de988bb7328d1a6 --- /dev/null +++ b/node_modules/date-fns/fp/subMonths.d.cts @@ -0,0 +1,5 @@ +export declare const subMonths: import("./types.ts").FPFn2< + Date, + number, + import("../fp.ts").DateArg +>; diff --git a/node_modules/date-fns/fp/subMonths.d.ts b/node_modules/date-fns/fp/subMonths.d.ts new file mode 100644 index 0000000000000000000000000000000000000000..2e04955e270912e1301a39865de988bb7328d1a6 --- /dev/null +++ b/node_modules/date-fns/fp/subMonths.d.ts @@ -0,0 +1,5 @@ +export declare const subMonths: import("./types.ts").FPFn2< + Date, + number, + import("../fp.ts").DateArg +>; diff --git a/node_modules/date-fns/fp/subMonths.js b/node_modules/date-fns/fp/subMonths.js new file mode 100644 index 0000000000000000000000000000000000000000..6c77f14df47cc98d8b92f8cdc547fdf8ff1511db --- /dev/null +++ b/node_modules/date-fns/fp/subMonths.js @@ -0,0 +1,9 @@ +// This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. + +import { subMonths as fn } from "../subMonths.js"; +import { convertToFP } from "./_lib/convertToFP.js"; + +export const subMonths = convertToFP(fn, 2); + +// Fallback for modularized imports: +export default subMonths; diff --git a/node_modules/date-fns/fp/subMonthsWithOptions.cjs b/node_modules/date-fns/fp/subMonthsWithOptions.cjs new file mode 100644 index 0000000000000000000000000000000000000000..4ddf24b8a064b60ee1f6a3535202e7897f7005ef --- /dev/null +++ b/node_modules/date-fns/fp/subMonthsWithOptions.cjs @@ -0,0 +1,8 @@ +"use strict"; +exports.subMonthsWithOptions = void 0; + +var _index = require("../subMonths.cjs"); +var _index2 = require("./_lib/convertToFP.cjs"); // This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. + +const subMonthsWithOptions = (exports.subMonthsWithOptions = (0, +_index2.convertToFP)(_index.subMonths, 3)); diff --git a/node_modules/date-fns/fp/subMonthsWithOptions.d.cts b/node_modules/date-fns/fp/subMonthsWithOptions.d.cts new file mode 100644 index 0000000000000000000000000000000000000000..c3948d77b365e54193c3312d27c41dbd4ea029aa --- /dev/null +++ b/node_modules/date-fns/fp/subMonthsWithOptions.d.cts @@ -0,0 +1,6 @@ +export declare const subMonthsWithOptions: import("./types.ts").FPFn3< + Date, + import("../subMonths.ts").SubMonthsOptions | undefined, + number, + import("../fp.ts").DateArg +>; diff --git a/node_modules/date-fns/fp/subMonthsWithOptions.d.ts b/node_modules/date-fns/fp/subMonthsWithOptions.d.ts new file mode 100644 index 0000000000000000000000000000000000000000..c3948d77b365e54193c3312d27c41dbd4ea029aa --- /dev/null +++ b/node_modules/date-fns/fp/subMonthsWithOptions.d.ts @@ -0,0 +1,6 @@ +export declare const subMonthsWithOptions: import("./types.ts").FPFn3< + Date, + import("../subMonths.ts").SubMonthsOptions | undefined, + number, + import("../fp.ts").DateArg +>; diff --git a/node_modules/date-fns/fp/subMonthsWithOptions.js b/node_modules/date-fns/fp/subMonthsWithOptions.js new file mode 100644 index 0000000000000000000000000000000000000000..216f94e5989f382d73d5109d9aa3e5eb4f09cbff --- /dev/null +++ b/node_modules/date-fns/fp/subMonthsWithOptions.js @@ -0,0 +1,9 @@ +// This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. + +import { subMonths as fn } from "../subMonths.js"; +import { convertToFP } from "./_lib/convertToFP.js"; + +export const subMonthsWithOptions = convertToFP(fn, 3); + +// Fallback for modularized imports: +export default subMonthsWithOptions; diff --git a/node_modules/date-fns/fp/subQuarters.cjs b/node_modules/date-fns/fp/subQuarters.cjs new file mode 100644 index 0000000000000000000000000000000000000000..9f00d0cf4dc18b134e20557a9bce434b365e5093 --- /dev/null +++ b/node_modules/date-fns/fp/subQuarters.cjs @@ -0,0 +1,10 @@ +"use strict"; +exports.subQuarters = void 0; + +var _index = require("../subQuarters.cjs"); +var _index2 = require("./_lib/convertToFP.cjs"); // This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. + +const subQuarters = (exports.subQuarters = (0, _index2.convertToFP)( + _index.subQuarters, + 2, +)); diff --git a/node_modules/date-fns/fp/subQuarters.d.cts b/node_modules/date-fns/fp/subQuarters.d.cts new file mode 100644 index 0000000000000000000000000000000000000000..aa99d1364e2e97d337b567b4b8d4e4297f7eb556 --- /dev/null +++ b/node_modules/date-fns/fp/subQuarters.d.cts @@ -0,0 +1,5 @@ +export declare const subQuarters: import("./types.ts").FPFn2< + Date, + number, + import("../fp.ts").DateArg +>; diff --git a/node_modules/date-fns/fp/subQuarters.d.ts b/node_modules/date-fns/fp/subQuarters.d.ts new file mode 100644 index 0000000000000000000000000000000000000000..aa99d1364e2e97d337b567b4b8d4e4297f7eb556 --- /dev/null +++ b/node_modules/date-fns/fp/subQuarters.d.ts @@ -0,0 +1,5 @@ +export declare const subQuarters: import("./types.ts").FPFn2< + Date, + number, + import("../fp.ts").DateArg +>; diff --git a/node_modules/date-fns/fp/subQuarters.js b/node_modules/date-fns/fp/subQuarters.js new file mode 100644 index 0000000000000000000000000000000000000000..29608739c915a70428d93442b6fd462dadb06ba7 --- /dev/null +++ b/node_modules/date-fns/fp/subQuarters.js @@ -0,0 +1,9 @@ +// This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. + +import { subQuarters as fn } from "../subQuarters.js"; +import { convertToFP } from "./_lib/convertToFP.js"; + +export const subQuarters = convertToFP(fn, 2); + +// Fallback for modularized imports: +export default subQuarters; diff --git a/node_modules/date-fns/fp/subQuartersWithOptions.cjs b/node_modules/date-fns/fp/subQuartersWithOptions.cjs new file mode 100644 index 0000000000000000000000000000000000000000..e735cacb3c69b62a7ba8e72f91aec867b3c20375 --- /dev/null +++ b/node_modules/date-fns/fp/subQuartersWithOptions.cjs @@ -0,0 +1,8 @@ +"use strict"; +exports.subQuartersWithOptions = void 0; + +var _index = require("../subQuarters.cjs"); +var _index2 = require("./_lib/convertToFP.cjs"); // This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. + +const subQuartersWithOptions = (exports.subQuartersWithOptions = (0, +_index2.convertToFP)(_index.subQuarters, 3)); diff --git a/node_modules/date-fns/fp/subQuartersWithOptions.d.cts b/node_modules/date-fns/fp/subQuartersWithOptions.d.cts new file mode 100644 index 0000000000000000000000000000000000000000..bb5de5ee111fc0078a7551d9ba37fe864a297d6f --- /dev/null +++ b/node_modules/date-fns/fp/subQuartersWithOptions.d.cts @@ -0,0 +1,6 @@ +export declare const subQuartersWithOptions: import("./types.ts").FPFn3< + Date, + import("../subQuarters.ts").SubQuartersOptions | undefined, + number, + import("../fp.ts").DateArg +>; diff --git a/node_modules/date-fns/fp/subQuartersWithOptions.d.ts b/node_modules/date-fns/fp/subQuartersWithOptions.d.ts new file mode 100644 index 0000000000000000000000000000000000000000..bb5de5ee111fc0078a7551d9ba37fe864a297d6f --- /dev/null +++ b/node_modules/date-fns/fp/subQuartersWithOptions.d.ts @@ -0,0 +1,6 @@ +export declare const subQuartersWithOptions: import("./types.ts").FPFn3< + Date, + import("../subQuarters.ts").SubQuartersOptions | undefined, + number, + import("../fp.ts").DateArg +>; diff --git a/node_modules/date-fns/fp/subQuartersWithOptions.js b/node_modules/date-fns/fp/subQuartersWithOptions.js new file mode 100644 index 0000000000000000000000000000000000000000..eaa850a1d87270e460ef9f1366dd1abffd6bf5f5 --- /dev/null +++ b/node_modules/date-fns/fp/subQuartersWithOptions.js @@ -0,0 +1,9 @@ +// This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. + +import { subQuarters as fn } from "../subQuarters.js"; +import { convertToFP } from "./_lib/convertToFP.js"; + +export const subQuartersWithOptions = convertToFP(fn, 3); + +// Fallback for modularized imports: +export default subQuartersWithOptions; diff --git a/node_modules/date-fns/fp/subSeconds.cjs b/node_modules/date-fns/fp/subSeconds.cjs new file mode 100644 index 0000000000000000000000000000000000000000..31ff14690adda0990e456449aeeb8de121449596 --- /dev/null +++ b/node_modules/date-fns/fp/subSeconds.cjs @@ -0,0 +1,10 @@ +"use strict"; +exports.subSeconds = void 0; + +var _index = require("../subSeconds.cjs"); +var _index2 = require("./_lib/convertToFP.cjs"); // This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. + +const subSeconds = (exports.subSeconds = (0, _index2.convertToFP)( + _index.subSeconds, + 2, +)); diff --git a/node_modules/date-fns/fp/subSeconds.d.cts b/node_modules/date-fns/fp/subSeconds.d.cts new file mode 100644 index 0000000000000000000000000000000000000000..97ac5ac3a28b347992bdc537bb56dae773e7214d --- /dev/null +++ b/node_modules/date-fns/fp/subSeconds.d.cts @@ -0,0 +1,5 @@ +export declare const subSeconds: import("./types.ts").FPFn2< + Date, + number, + import("../fp.ts").DateArg +>; diff --git a/node_modules/date-fns/fp/subSeconds.d.ts b/node_modules/date-fns/fp/subSeconds.d.ts new file mode 100644 index 0000000000000000000000000000000000000000..97ac5ac3a28b347992bdc537bb56dae773e7214d --- /dev/null +++ b/node_modules/date-fns/fp/subSeconds.d.ts @@ -0,0 +1,5 @@ +export declare const subSeconds: import("./types.ts").FPFn2< + Date, + number, + import("../fp.ts").DateArg +>; diff --git a/node_modules/date-fns/fp/subSeconds.js b/node_modules/date-fns/fp/subSeconds.js new file mode 100644 index 0000000000000000000000000000000000000000..84e508934cc7e5bb74edce709567216a036bc36e --- /dev/null +++ b/node_modules/date-fns/fp/subSeconds.js @@ -0,0 +1,9 @@ +// This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. + +import { subSeconds as fn } from "../subSeconds.js"; +import { convertToFP } from "./_lib/convertToFP.js"; + +export const subSeconds = convertToFP(fn, 2); + +// Fallback for modularized imports: +export default subSeconds; diff --git a/node_modules/date-fns/fp/subSecondsWithOptions.cjs b/node_modules/date-fns/fp/subSecondsWithOptions.cjs new file mode 100644 index 0000000000000000000000000000000000000000..b3b044f63d8dd38a1bf2c8401afd9aab864d5f37 --- /dev/null +++ b/node_modules/date-fns/fp/subSecondsWithOptions.cjs @@ -0,0 +1,8 @@ +"use strict"; +exports.subSecondsWithOptions = void 0; + +var _index = require("../subSeconds.cjs"); +var _index2 = require("./_lib/convertToFP.cjs"); // This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. + +const subSecondsWithOptions = (exports.subSecondsWithOptions = (0, +_index2.convertToFP)(_index.subSeconds, 3)); diff --git a/node_modules/date-fns/fp/subSecondsWithOptions.d.cts b/node_modules/date-fns/fp/subSecondsWithOptions.d.cts new file mode 100644 index 0000000000000000000000000000000000000000..6771e0feb8d323933bfcca6e7feb0a9f24f5845b --- /dev/null +++ b/node_modules/date-fns/fp/subSecondsWithOptions.d.cts @@ -0,0 +1,6 @@ +export declare const subSecondsWithOptions: import("./types.ts").FPFn3< + Date, + import("../subSeconds.ts").SubSecondsOptions | undefined, + number, + import("../fp.ts").DateArg +>; diff --git a/node_modules/date-fns/fp/subSecondsWithOptions.d.ts b/node_modules/date-fns/fp/subSecondsWithOptions.d.ts new file mode 100644 index 0000000000000000000000000000000000000000..6771e0feb8d323933bfcca6e7feb0a9f24f5845b --- /dev/null +++ b/node_modules/date-fns/fp/subSecondsWithOptions.d.ts @@ -0,0 +1,6 @@ +export declare const subSecondsWithOptions: import("./types.ts").FPFn3< + Date, + import("../subSeconds.ts").SubSecondsOptions | undefined, + number, + import("../fp.ts").DateArg +>; diff --git a/node_modules/date-fns/fp/subSecondsWithOptions.js b/node_modules/date-fns/fp/subSecondsWithOptions.js new file mode 100644 index 0000000000000000000000000000000000000000..7588c2072c5c35c94113322ca77649b873550e6b --- /dev/null +++ b/node_modules/date-fns/fp/subSecondsWithOptions.js @@ -0,0 +1,9 @@ +// This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. + +import { subSeconds as fn } from "../subSeconds.js"; +import { convertToFP } from "./_lib/convertToFP.js"; + +export const subSecondsWithOptions = convertToFP(fn, 3); + +// Fallback for modularized imports: +export default subSecondsWithOptions; diff --git a/node_modules/date-fns/fp/subWeeks.cjs b/node_modules/date-fns/fp/subWeeks.cjs new file mode 100644 index 0000000000000000000000000000000000000000..c1f117e76d4df3c77610df68951d160e1e82e6a5 --- /dev/null +++ b/node_modules/date-fns/fp/subWeeks.cjs @@ -0,0 +1,10 @@ +"use strict"; +exports.subWeeks = void 0; + +var _index = require("../subWeeks.cjs"); +var _index2 = require("./_lib/convertToFP.cjs"); // This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. + +const subWeeks = (exports.subWeeks = (0, _index2.convertToFP)( + _index.subWeeks, + 2, +)); diff --git a/node_modules/date-fns/fp/subWeeks.d.cts b/node_modules/date-fns/fp/subWeeks.d.cts new file mode 100644 index 0000000000000000000000000000000000000000..11bf0f82b392e068569751a8fb3c715197bbcf5f --- /dev/null +++ b/node_modules/date-fns/fp/subWeeks.d.cts @@ -0,0 +1,5 @@ +export declare const subWeeks: import("./types.ts").FPFn2< + Date, + number, + import("../fp.ts").DateArg +>; diff --git a/node_modules/date-fns/fp/subWeeks.d.ts b/node_modules/date-fns/fp/subWeeks.d.ts new file mode 100644 index 0000000000000000000000000000000000000000..11bf0f82b392e068569751a8fb3c715197bbcf5f --- /dev/null +++ b/node_modules/date-fns/fp/subWeeks.d.ts @@ -0,0 +1,5 @@ +export declare const subWeeks: import("./types.ts").FPFn2< + Date, + number, + import("../fp.ts").DateArg +>; diff --git a/node_modules/date-fns/fp/subWeeks.js b/node_modules/date-fns/fp/subWeeks.js new file mode 100644 index 0000000000000000000000000000000000000000..9e7396cfc2bf69ff1bad60af1a6e83e307e20058 --- /dev/null +++ b/node_modules/date-fns/fp/subWeeks.js @@ -0,0 +1,9 @@ +// This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. + +import { subWeeks as fn } from "../subWeeks.js"; +import { convertToFP } from "./_lib/convertToFP.js"; + +export const subWeeks = convertToFP(fn, 2); + +// Fallback for modularized imports: +export default subWeeks; diff --git a/node_modules/date-fns/fp/subWeeksWithOptions.cjs b/node_modules/date-fns/fp/subWeeksWithOptions.cjs new file mode 100644 index 0000000000000000000000000000000000000000..af829fb49a2dd8144fda3017ce3375fbf91d9fff --- /dev/null +++ b/node_modules/date-fns/fp/subWeeksWithOptions.cjs @@ -0,0 +1,8 @@ +"use strict"; +exports.subWeeksWithOptions = void 0; + +var _index = require("../subWeeks.cjs"); +var _index2 = require("./_lib/convertToFP.cjs"); // This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. + +const subWeeksWithOptions = (exports.subWeeksWithOptions = (0, +_index2.convertToFP)(_index.subWeeks, 3)); diff --git a/node_modules/date-fns/fp/subWeeksWithOptions.d.cts b/node_modules/date-fns/fp/subWeeksWithOptions.d.cts new file mode 100644 index 0000000000000000000000000000000000000000..398f826875e8c8f5b14af72e3d6a18c4014c75e7 --- /dev/null +++ b/node_modules/date-fns/fp/subWeeksWithOptions.d.cts @@ -0,0 +1,6 @@ +export declare const subWeeksWithOptions: import("./types.ts").FPFn3< + Date, + import("../subWeeks.ts").SubWeeksOptions | undefined, + number, + import("../fp.ts").DateArg +>; diff --git a/node_modules/date-fns/fp/subWeeksWithOptions.d.ts b/node_modules/date-fns/fp/subWeeksWithOptions.d.ts new file mode 100644 index 0000000000000000000000000000000000000000..398f826875e8c8f5b14af72e3d6a18c4014c75e7 --- /dev/null +++ b/node_modules/date-fns/fp/subWeeksWithOptions.d.ts @@ -0,0 +1,6 @@ +export declare const subWeeksWithOptions: import("./types.ts").FPFn3< + Date, + import("../subWeeks.ts").SubWeeksOptions | undefined, + number, + import("../fp.ts").DateArg +>; diff --git a/node_modules/date-fns/fp/subWeeksWithOptions.js b/node_modules/date-fns/fp/subWeeksWithOptions.js new file mode 100644 index 0000000000000000000000000000000000000000..af51a9db65f3d13347faa2923e6c0f261a80cfd0 --- /dev/null +++ b/node_modules/date-fns/fp/subWeeksWithOptions.js @@ -0,0 +1,9 @@ +// This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. + +import { subWeeks as fn } from "../subWeeks.js"; +import { convertToFP } from "./_lib/convertToFP.js"; + +export const subWeeksWithOptions = convertToFP(fn, 3); + +// Fallback for modularized imports: +export default subWeeksWithOptions; diff --git a/node_modules/date-fns/fp/subWithOptions.cjs b/node_modules/date-fns/fp/subWithOptions.cjs new file mode 100644 index 0000000000000000000000000000000000000000..a83c3d213a28e83826fc1384f1804da0dc3a73bb --- /dev/null +++ b/node_modules/date-fns/fp/subWithOptions.cjs @@ -0,0 +1,10 @@ +"use strict"; +exports.subWithOptions = void 0; + +var _index = require("../sub.cjs"); +var _index2 = require("./_lib/convertToFP.cjs"); // This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. + +const subWithOptions = (exports.subWithOptions = (0, _index2.convertToFP)( + _index.sub, + 3, +)); diff --git a/node_modules/date-fns/fp/subWithOptions.d.cts b/node_modules/date-fns/fp/subWithOptions.d.cts new file mode 100644 index 0000000000000000000000000000000000000000..383f0eab646f4fede6d74e827804b84a1c10ba22 --- /dev/null +++ b/node_modules/date-fns/fp/subWithOptions.d.cts @@ -0,0 +1,6 @@ +export declare const subWithOptions: import("./types.ts").FPFn3< + Date, + import("../sub.ts").SubOptions | undefined, + import("../fp.ts").Duration, + import("../fp.ts").DateArg +>; diff --git a/node_modules/date-fns/fp/subWithOptions.d.ts b/node_modules/date-fns/fp/subWithOptions.d.ts new file mode 100644 index 0000000000000000000000000000000000000000..383f0eab646f4fede6d74e827804b84a1c10ba22 --- /dev/null +++ b/node_modules/date-fns/fp/subWithOptions.d.ts @@ -0,0 +1,6 @@ +export declare const subWithOptions: import("./types.ts").FPFn3< + Date, + import("../sub.ts").SubOptions | undefined, + import("../fp.ts").Duration, + import("../fp.ts").DateArg +>; diff --git a/node_modules/date-fns/fp/subWithOptions.js b/node_modules/date-fns/fp/subWithOptions.js new file mode 100644 index 0000000000000000000000000000000000000000..fbd667f19907c850e44258bd89cccf69e0cb2c86 --- /dev/null +++ b/node_modules/date-fns/fp/subWithOptions.js @@ -0,0 +1,9 @@ +// This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. + +import { sub as fn } from "../sub.js"; +import { convertToFP } from "./_lib/convertToFP.js"; + +export const subWithOptions = convertToFP(fn, 3); + +// Fallback for modularized imports: +export default subWithOptions; diff --git a/node_modules/date-fns/fp/subYears.cjs b/node_modules/date-fns/fp/subYears.cjs new file mode 100644 index 0000000000000000000000000000000000000000..ff96c5d068175f5d94d770a47166cc769eb477eb --- /dev/null +++ b/node_modules/date-fns/fp/subYears.cjs @@ -0,0 +1,10 @@ +"use strict"; +exports.subYears = void 0; + +var _index = require("../subYears.cjs"); +var _index2 = require("./_lib/convertToFP.cjs"); // This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. + +const subYears = (exports.subYears = (0, _index2.convertToFP)( + _index.subYears, + 2, +)); diff --git a/node_modules/date-fns/fp/subYears.d.cts b/node_modules/date-fns/fp/subYears.d.cts new file mode 100644 index 0000000000000000000000000000000000000000..5a39e6fd88abbd04163d74107bb814e38acc283f --- /dev/null +++ b/node_modules/date-fns/fp/subYears.d.cts @@ -0,0 +1,5 @@ +export declare const subYears: import("./types.ts").FPFn2< + Date, + number, + import("../fp.ts").DateArg +>; diff --git a/node_modules/date-fns/fp/subYears.d.ts b/node_modules/date-fns/fp/subYears.d.ts new file mode 100644 index 0000000000000000000000000000000000000000..5a39e6fd88abbd04163d74107bb814e38acc283f --- /dev/null +++ b/node_modules/date-fns/fp/subYears.d.ts @@ -0,0 +1,5 @@ +export declare const subYears: import("./types.ts").FPFn2< + Date, + number, + import("../fp.ts").DateArg +>; diff --git a/node_modules/date-fns/fp/subYears.js b/node_modules/date-fns/fp/subYears.js new file mode 100644 index 0000000000000000000000000000000000000000..908bc1b9401f679a7e8122e17b5d0a02de998b09 --- /dev/null +++ b/node_modules/date-fns/fp/subYears.js @@ -0,0 +1,9 @@ +// This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. + +import { subYears as fn } from "../subYears.js"; +import { convertToFP } from "./_lib/convertToFP.js"; + +export const subYears = convertToFP(fn, 2); + +// Fallback for modularized imports: +export default subYears; diff --git a/node_modules/date-fns/fp/subYearsWithOptions.cjs b/node_modules/date-fns/fp/subYearsWithOptions.cjs new file mode 100644 index 0000000000000000000000000000000000000000..b301d08c3c01d79349a6b5a9a5c10bff9b9ff0fc --- /dev/null +++ b/node_modules/date-fns/fp/subYearsWithOptions.cjs @@ -0,0 +1,8 @@ +"use strict"; +exports.subYearsWithOptions = void 0; + +var _index = require("../subYears.cjs"); +var _index2 = require("./_lib/convertToFP.cjs"); // This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. + +const subYearsWithOptions = (exports.subYearsWithOptions = (0, +_index2.convertToFP)(_index.subYears, 3)); diff --git a/node_modules/date-fns/fp/subYearsWithOptions.d.cts b/node_modules/date-fns/fp/subYearsWithOptions.d.cts new file mode 100644 index 0000000000000000000000000000000000000000..55fce74e4132d5e5bc9cb1ba765c010d7a782047 --- /dev/null +++ b/node_modules/date-fns/fp/subYearsWithOptions.d.cts @@ -0,0 +1,6 @@ +export declare const subYearsWithOptions: import("./types.ts").FPFn3< + Date, + import("../subYears.ts").SubYearsOptions | undefined, + number, + import("../fp.ts").DateArg +>; diff --git a/node_modules/date-fns/fp/subYearsWithOptions.d.ts b/node_modules/date-fns/fp/subYearsWithOptions.d.ts new file mode 100644 index 0000000000000000000000000000000000000000..55fce74e4132d5e5bc9cb1ba765c010d7a782047 --- /dev/null +++ b/node_modules/date-fns/fp/subYearsWithOptions.d.ts @@ -0,0 +1,6 @@ +export declare const subYearsWithOptions: import("./types.ts").FPFn3< + Date, + import("../subYears.ts").SubYearsOptions | undefined, + number, + import("../fp.ts").DateArg +>; diff --git a/node_modules/date-fns/fp/subYearsWithOptions.js b/node_modules/date-fns/fp/subYearsWithOptions.js new file mode 100644 index 0000000000000000000000000000000000000000..7eee41d5abb414ad2841ca0ce18eef6b3f22471e --- /dev/null +++ b/node_modules/date-fns/fp/subYearsWithOptions.js @@ -0,0 +1,9 @@ +// This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. + +import { subYears as fn } from "../subYears.js"; +import { convertToFP } from "./_lib/convertToFP.js"; + +export const subYearsWithOptions = convertToFP(fn, 3); + +// Fallback for modularized imports: +export default subYearsWithOptions; diff --git a/node_modules/date-fns/fp/toDate.cjs b/node_modules/date-fns/fp/toDate.cjs new file mode 100644 index 0000000000000000000000000000000000000000..7b42fb8a8f3f03553f9b8290ab52590dd41c0b32 --- /dev/null +++ b/node_modules/date-fns/fp/toDate.cjs @@ -0,0 +1,7 @@ +"use strict"; +exports.toDate = void 0; + +var _index = require("../toDate.cjs"); +var _index2 = require("./_lib/convertToFP.cjs"); // This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. + +const toDate = (exports.toDate = (0, _index2.convertToFP)(_index.toDate, 2)); diff --git a/node_modules/date-fns/fp/toDate.d.cts b/node_modules/date-fns/fp/toDate.d.cts new file mode 100644 index 0000000000000000000000000000000000000000..d20e5a7c9a33bfb53cb38a42c398a35596a46ec4 --- /dev/null +++ b/node_modules/date-fns/fp/toDate.d.cts @@ -0,0 +1,5 @@ +export declare const toDate: import("./types.ts").FPFn2< + Date, + import("../fp.ts").ContextFn | undefined, + import("../fp.ts").DateArg +>; diff --git a/node_modules/date-fns/fp/toDate.d.ts b/node_modules/date-fns/fp/toDate.d.ts new file mode 100644 index 0000000000000000000000000000000000000000..d20e5a7c9a33bfb53cb38a42c398a35596a46ec4 --- /dev/null +++ b/node_modules/date-fns/fp/toDate.d.ts @@ -0,0 +1,5 @@ +export declare const toDate: import("./types.ts").FPFn2< + Date, + import("../fp.ts").ContextFn | undefined, + import("../fp.ts").DateArg +>; diff --git a/node_modules/date-fns/fp/toDate.js b/node_modules/date-fns/fp/toDate.js new file mode 100644 index 0000000000000000000000000000000000000000..8b3525e948796f8cd25abe70c9a243724c22f86d --- /dev/null +++ b/node_modules/date-fns/fp/toDate.js @@ -0,0 +1,9 @@ +// This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. + +import { toDate as fn } from "../toDate.js"; +import { convertToFP } from "./_lib/convertToFP.js"; + +export const toDate = convertToFP(fn, 2); + +// Fallback for modularized imports: +export default toDate; diff --git a/node_modules/date-fns/fp/transpose.cjs b/node_modules/date-fns/fp/transpose.cjs new file mode 100644 index 0000000000000000000000000000000000000000..019ce5d8ef312ddf121523124c02b0337c284169 --- /dev/null +++ b/node_modules/date-fns/fp/transpose.cjs @@ -0,0 +1,10 @@ +"use strict"; +exports.transpose = void 0; + +var _index = require("../transpose.cjs"); +var _index2 = require("./_lib/convertToFP.cjs"); // This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. + +const transpose = (exports.transpose = (0, _index2.convertToFP)( + _index.transpose, + 2, +)); diff --git a/node_modules/date-fns/fp/transpose.d.cts b/node_modules/date-fns/fp/transpose.d.cts new file mode 100644 index 0000000000000000000000000000000000000000..33a8d129d09d1b832bdaf0c296c9ab1f83bec697 --- /dev/null +++ b/node_modules/date-fns/fp/transpose.d.cts @@ -0,0 +1,7 @@ +export declare const transpose: import("./types.ts").FPFn2< + Date, + | import("../fp.ts").ContextFn + | Date + | import("../fp.ts").GenericDateConstructor, + Date +>; diff --git a/node_modules/date-fns/fp/transpose.d.ts b/node_modules/date-fns/fp/transpose.d.ts new file mode 100644 index 0000000000000000000000000000000000000000..33a8d129d09d1b832bdaf0c296c9ab1f83bec697 --- /dev/null +++ b/node_modules/date-fns/fp/transpose.d.ts @@ -0,0 +1,7 @@ +export declare const transpose: import("./types.ts").FPFn2< + Date, + | import("../fp.ts").ContextFn + | Date + | import("../fp.ts").GenericDateConstructor, + Date +>; diff --git a/node_modules/date-fns/fp/transpose.js b/node_modules/date-fns/fp/transpose.js new file mode 100644 index 0000000000000000000000000000000000000000..5a184065230cc522bb7e464f76e6728c8f42913e --- /dev/null +++ b/node_modules/date-fns/fp/transpose.js @@ -0,0 +1,9 @@ +// This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. + +import { transpose as fn } from "../transpose.js"; +import { convertToFP } from "./_lib/convertToFP.js"; + +export const transpose = convertToFP(fn, 2); + +// Fallback for modularized imports: +export default transpose; diff --git a/node_modules/date-fns/fp/types.cjs b/node_modules/date-fns/fp/types.cjs new file mode 100644 index 0000000000000000000000000000000000000000..3918c74e446336be4151ea3bdad00f4d9e6df47a --- /dev/null +++ b/node_modules/date-fns/fp/types.cjs @@ -0,0 +1 @@ +"use strict"; diff --git a/node_modules/date-fns/fp/types.d.cts b/node_modules/date-fns/fp/types.d.cts new file mode 100644 index 0000000000000000000000000000000000000000..68c6fd87f2cb54c8b31fe6ba5b888c375fa544e4 --- /dev/null +++ b/node_modules/date-fns/fp/types.d.cts @@ -0,0 +1,114 @@ +/** + * The type of a function that can be converted to FP. + */ +export type FPFnInput = (...args: any[]) => any; +/** + * The supported arity type. + */ +export type FPArity = 1 | 2 | 3 | 4; +/** + * FP function interface. It infers the arity of the function and returns the + * corresponding FP function interface. + */ +export type FPFn = Arity extends 4 + ? FPFn4< + ReturnType, + Parameters[3], + Parameters[2], + Parameters[1], + Parameters[0] + > + : Arity extends 3 + ? FPFn3< + ReturnType, + Parameters[2], + Parameters[1], + Parameters[0] + > + : Arity extends 2 + ? FPFn2, Parameters[1], Parameters[0]> + : Arity extends 1 + ? FPFn1, Parameters[0]> + : never; +/** + * FP function interface with 1 arguments. + */ +export interface FPFn1 { + /** + * Curried version of the function. Returns itself. + */ + (): FPFn1; + /** + * Returns the result of the function call. + */ + (arg: Arg): Result; +} +/** + * FP function interface with 2 arguments. + */ +export interface FPFn2 { + /** + * Curried version of the function. Returns itself. + */ + (): FPFn2; + /** + * Curried version of the function. Returns a function that accepts the rest + * arguments. + */ + (arg2: Arg2): FPFn1; + /** + * Returns the result of the function call. + */ + (arg2: Arg2, arg1: Arg1): Result; +} +/** + * FP function interface with 3 arguments. + */ +export interface FPFn3 { + /** + * Curried version of the function. Returns itself. + */ + (): FPFn3; + /** + * Curried version of the function. Returns a function that accepts the rest + * arguments. + */ + (arg3: Arg3): FPFn2; + /** + * Curried version of the function. Returns a function that accepts the rest + * arguments. + */ + (arg3: Arg3, arg2: Arg2): FPFn1; + /** + * Returns the result of the function call. + */ + (arg3: Arg3, arg2: Arg2, arg1: Arg1): Result; +} +/** + * FP function interface with 4 arguments. + */ +export interface FPFn4 { + /** + * Curried version of the function. Returns itself. + */ + (): FPFn4; + /** + * Curried version of the function. Returns a function that accepts the rest + * arguments. + */ + (arg4: Arg4): FPFn3; + /** + * Curried version of the function. Returns a function that accepts the rest + * arguments. + */ + (arg4: Arg4, arg3: Arg3): FPFn2; + /** + * Curried version of the function. Returns a function that accepts the rest + * arguments. + */ + (arg4: Arg4, arg3: Arg3, arg2: Arg2): FPFn1; + /** + * Returns the result of the function call. + */ + (arg4: Arg4, arg3: Arg3, arg2: Arg2, arg1: Arg1): Result; +} diff --git a/node_modules/date-fns/fp/types.d.ts b/node_modules/date-fns/fp/types.d.ts new file mode 100644 index 0000000000000000000000000000000000000000..68c6fd87f2cb54c8b31fe6ba5b888c375fa544e4 --- /dev/null +++ b/node_modules/date-fns/fp/types.d.ts @@ -0,0 +1,114 @@ +/** + * The type of a function that can be converted to FP. + */ +export type FPFnInput = (...args: any[]) => any; +/** + * The supported arity type. + */ +export type FPArity = 1 | 2 | 3 | 4; +/** + * FP function interface. It infers the arity of the function and returns the + * corresponding FP function interface. + */ +export type FPFn = Arity extends 4 + ? FPFn4< + ReturnType, + Parameters[3], + Parameters[2], + Parameters[1], + Parameters[0] + > + : Arity extends 3 + ? FPFn3< + ReturnType, + Parameters[2], + Parameters[1], + Parameters[0] + > + : Arity extends 2 + ? FPFn2, Parameters[1], Parameters[0]> + : Arity extends 1 + ? FPFn1, Parameters[0]> + : never; +/** + * FP function interface with 1 arguments. + */ +export interface FPFn1 { + /** + * Curried version of the function. Returns itself. + */ + (): FPFn1; + /** + * Returns the result of the function call. + */ + (arg: Arg): Result; +} +/** + * FP function interface with 2 arguments. + */ +export interface FPFn2 { + /** + * Curried version of the function. Returns itself. + */ + (): FPFn2; + /** + * Curried version of the function. Returns a function that accepts the rest + * arguments. + */ + (arg2: Arg2): FPFn1; + /** + * Returns the result of the function call. + */ + (arg2: Arg2, arg1: Arg1): Result; +} +/** + * FP function interface with 3 arguments. + */ +export interface FPFn3 { + /** + * Curried version of the function. Returns itself. + */ + (): FPFn3; + /** + * Curried version of the function. Returns a function that accepts the rest + * arguments. + */ + (arg3: Arg3): FPFn2; + /** + * Curried version of the function. Returns a function that accepts the rest + * arguments. + */ + (arg3: Arg3, arg2: Arg2): FPFn1; + /** + * Returns the result of the function call. + */ + (arg3: Arg3, arg2: Arg2, arg1: Arg1): Result; +} +/** + * FP function interface with 4 arguments. + */ +export interface FPFn4 { + /** + * Curried version of the function. Returns itself. + */ + (): FPFn4; + /** + * Curried version of the function. Returns a function that accepts the rest + * arguments. + */ + (arg4: Arg4): FPFn3; + /** + * Curried version of the function. Returns a function that accepts the rest + * arguments. + */ + (arg4: Arg4, arg3: Arg3): FPFn2; + /** + * Curried version of the function. Returns a function that accepts the rest + * arguments. + */ + (arg4: Arg4, arg3: Arg3, arg2: Arg2): FPFn1; + /** + * Returns the result of the function call. + */ + (arg4: Arg4, arg3: Arg3, arg2: Arg2, arg1: Arg1): Result; +} diff --git a/node_modules/date-fns/fp/types.js b/node_modules/date-fns/fp/types.js new file mode 100644 index 0000000000000000000000000000000000000000..cb0ff5c3b541f646105198ee23ac0fc3d805023e --- /dev/null +++ b/node_modules/date-fns/fp/types.js @@ -0,0 +1 @@ +export {}; diff --git a/node_modules/date-fns/fp/weeksToDays.cjs b/node_modules/date-fns/fp/weeksToDays.cjs new file mode 100644 index 0000000000000000000000000000000000000000..13b040557c74e342ed34b8630ca09cacc90771f5 --- /dev/null +++ b/node_modules/date-fns/fp/weeksToDays.cjs @@ -0,0 +1,10 @@ +"use strict"; +exports.weeksToDays = void 0; + +var _index = require("../weeksToDays.cjs"); +var _index2 = require("./_lib/convertToFP.cjs"); // This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. + +const weeksToDays = (exports.weeksToDays = (0, _index2.convertToFP)( + _index.weeksToDays, + 1, +)); diff --git a/node_modules/date-fns/fp/weeksToDays.d.cts b/node_modules/date-fns/fp/weeksToDays.d.cts new file mode 100644 index 0000000000000000000000000000000000000000..c59f36ab33b82469ee17ef56cb4c03872179a19e --- /dev/null +++ b/node_modules/date-fns/fp/weeksToDays.d.cts @@ -0,0 +1 @@ +export declare const weeksToDays: import("./types.ts").FPFn1; diff --git a/node_modules/date-fns/fp/weeksToDays.d.ts b/node_modules/date-fns/fp/weeksToDays.d.ts new file mode 100644 index 0000000000000000000000000000000000000000..c59f36ab33b82469ee17ef56cb4c03872179a19e --- /dev/null +++ b/node_modules/date-fns/fp/weeksToDays.d.ts @@ -0,0 +1 @@ +export declare const weeksToDays: import("./types.ts").FPFn1; diff --git a/node_modules/date-fns/fp/weeksToDays.js b/node_modules/date-fns/fp/weeksToDays.js new file mode 100644 index 0000000000000000000000000000000000000000..d9ce6ec2e175d6c2c338c73b94becf5bd692c0a7 --- /dev/null +++ b/node_modules/date-fns/fp/weeksToDays.js @@ -0,0 +1,9 @@ +// This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. + +import { weeksToDays as fn } from "../weeksToDays.js"; +import { convertToFP } from "./_lib/convertToFP.js"; + +export const weeksToDays = convertToFP(fn, 1); + +// Fallback for modularized imports: +export default weeksToDays; diff --git a/node_modules/date-fns/fp/yearsToDays.cjs b/node_modules/date-fns/fp/yearsToDays.cjs new file mode 100644 index 0000000000000000000000000000000000000000..9ac116b12585979558c6ac1459803b3d52e66a7e --- /dev/null +++ b/node_modules/date-fns/fp/yearsToDays.cjs @@ -0,0 +1,10 @@ +"use strict"; +exports.yearsToDays = void 0; + +var _index = require("../yearsToDays.cjs"); +var _index2 = require("./_lib/convertToFP.cjs"); // This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. + +const yearsToDays = (exports.yearsToDays = (0, _index2.convertToFP)( + _index.yearsToDays, + 1, +)); diff --git a/node_modules/date-fns/fp/yearsToDays.d.cts b/node_modules/date-fns/fp/yearsToDays.d.cts new file mode 100644 index 0000000000000000000000000000000000000000..f14bfb24b8db7599465014dfff927bdfb2dcff12 --- /dev/null +++ b/node_modules/date-fns/fp/yearsToDays.d.cts @@ -0,0 +1 @@ +export declare const yearsToDays: import("./types.ts").FPFn1; diff --git a/node_modules/date-fns/fp/yearsToDays.d.ts b/node_modules/date-fns/fp/yearsToDays.d.ts new file mode 100644 index 0000000000000000000000000000000000000000..f14bfb24b8db7599465014dfff927bdfb2dcff12 --- /dev/null +++ b/node_modules/date-fns/fp/yearsToDays.d.ts @@ -0,0 +1 @@ +export declare const yearsToDays: import("./types.ts").FPFn1; diff --git a/node_modules/date-fns/fp/yearsToDays.js b/node_modules/date-fns/fp/yearsToDays.js new file mode 100644 index 0000000000000000000000000000000000000000..0fb0f2b17b0285cfd76b03cd17c3316be75ec847 --- /dev/null +++ b/node_modules/date-fns/fp/yearsToDays.js @@ -0,0 +1,9 @@ +// This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. + +import { yearsToDays as fn } from "../yearsToDays.js"; +import { convertToFP } from "./_lib/convertToFP.js"; + +export const yearsToDays = convertToFP(fn, 1); + +// Fallback for modularized imports: +export default yearsToDays; diff --git a/node_modules/date-fns/fp/yearsToMonths.cjs b/node_modules/date-fns/fp/yearsToMonths.cjs new file mode 100644 index 0000000000000000000000000000000000000000..e2131e04d0a91686097deccf3ef025b68125c9e6 --- /dev/null +++ b/node_modules/date-fns/fp/yearsToMonths.cjs @@ -0,0 +1,10 @@ +"use strict"; +exports.yearsToMonths = void 0; + +var _index = require("../yearsToMonths.cjs"); +var _index2 = require("./_lib/convertToFP.cjs"); // This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. + +const yearsToMonths = (exports.yearsToMonths = (0, _index2.convertToFP)( + _index.yearsToMonths, + 1, +)); diff --git a/node_modules/date-fns/fp/yearsToMonths.d.cts b/node_modules/date-fns/fp/yearsToMonths.d.cts new file mode 100644 index 0000000000000000000000000000000000000000..1899d45465d967840f816341b45240da20314b48 --- /dev/null +++ b/node_modules/date-fns/fp/yearsToMonths.d.cts @@ -0,0 +1 @@ +export declare const yearsToMonths: import("./types.ts").FPFn1; diff --git a/node_modules/date-fns/fp/yearsToMonths.d.ts b/node_modules/date-fns/fp/yearsToMonths.d.ts new file mode 100644 index 0000000000000000000000000000000000000000..1899d45465d967840f816341b45240da20314b48 --- /dev/null +++ b/node_modules/date-fns/fp/yearsToMonths.d.ts @@ -0,0 +1 @@ +export declare const yearsToMonths: import("./types.ts").FPFn1; diff --git a/node_modules/date-fns/fp/yearsToMonths.js b/node_modules/date-fns/fp/yearsToMonths.js new file mode 100644 index 0000000000000000000000000000000000000000..59f35cb9600d36326a449825ae1c5946cc955206 --- /dev/null +++ b/node_modules/date-fns/fp/yearsToMonths.js @@ -0,0 +1,9 @@ +// This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. + +import { yearsToMonths as fn } from "../yearsToMonths.js"; +import { convertToFP } from "./_lib/convertToFP.js"; + +export const yearsToMonths = convertToFP(fn, 1); + +// Fallback for modularized imports: +export default yearsToMonths; diff --git a/node_modules/date-fns/fp/yearsToQuarters.cjs b/node_modules/date-fns/fp/yearsToQuarters.cjs new file mode 100644 index 0000000000000000000000000000000000000000..89adc8029f7c4b60408452257bd7fc7b2ffff057 --- /dev/null +++ b/node_modules/date-fns/fp/yearsToQuarters.cjs @@ -0,0 +1,10 @@ +"use strict"; +exports.yearsToQuarters = void 0; + +var _index = require("../yearsToQuarters.cjs"); +var _index2 = require("./_lib/convertToFP.cjs"); // This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. + +const yearsToQuarters = (exports.yearsToQuarters = (0, _index2.convertToFP)( + _index.yearsToQuarters, + 1, +)); diff --git a/node_modules/date-fns/fp/yearsToQuarters.d.cts b/node_modules/date-fns/fp/yearsToQuarters.d.cts new file mode 100644 index 0000000000000000000000000000000000000000..1c691409d8bd4bd0dbc3c5ee14d9726fef46ec1f --- /dev/null +++ b/node_modules/date-fns/fp/yearsToQuarters.d.cts @@ -0,0 +1,4 @@ +export declare const yearsToQuarters: import("./types.ts").FPFn1< + number, + number +>; diff --git a/node_modules/date-fns/fp/yearsToQuarters.d.ts b/node_modules/date-fns/fp/yearsToQuarters.d.ts new file mode 100644 index 0000000000000000000000000000000000000000..1c691409d8bd4bd0dbc3c5ee14d9726fef46ec1f --- /dev/null +++ b/node_modules/date-fns/fp/yearsToQuarters.d.ts @@ -0,0 +1,4 @@ +export declare const yearsToQuarters: import("./types.ts").FPFn1< + number, + number +>; diff --git a/node_modules/date-fns/fp/yearsToQuarters.js b/node_modules/date-fns/fp/yearsToQuarters.js new file mode 100644 index 0000000000000000000000000000000000000000..9900974c82aea6a8df632dcecb57ddda84482116 --- /dev/null +++ b/node_modules/date-fns/fp/yearsToQuarters.js @@ -0,0 +1,9 @@ +// This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it. + +import { yearsToQuarters as fn } from "../yearsToQuarters.js"; +import { convertToFP } from "./_lib/convertToFP.js"; + +export const yearsToQuarters = convertToFP(fn, 1); + +// Fallback for modularized imports: +export default yearsToQuarters; diff --git a/node_modules/date-fns/fromUnixTime.cjs b/node_modules/date-fns/fromUnixTime.cjs new file mode 100644 index 0000000000000000000000000000000000000000..5bc8b7950f1f9f1f141d47b7a179c89a64d88757 --- /dev/null +++ b/node_modules/date-fns/fromUnixTime.cjs @@ -0,0 +1,31 @@ +"use strict"; +exports.fromUnixTime = fromUnixTime; +var _index = require("./toDate.cjs"); + +/** + * The {@link fromUnixTime} function options. + */ + +/** + * @name fromUnixTime + * @category Timestamp Helpers + * @summary Create a date from a Unix timestamp. + * + * @description + * Create a date from a Unix timestamp (in seconds). Decimal values will be discarded. + * + * @param unixTime - The given Unix timestamp (in seconds) + * @param options - An object with options. Allows to pass a context. + * + * @typeParam DateType - The `Date` type, the function operates on. Gets inferred from passed arguments. Allows to use extensions like [`UTCDate`](https://github.com/date-fns/utc). + * + * @returns The date + * + * @example + * // Create the date 29 February 2012 11:45:05: + * const result = fromUnixTime(1330515905) + * //=> Wed Feb 29 2012 11:45:05 + */ +function fromUnixTime(unixTime, options) { + return (0, _index.toDate)(unixTime * 1000, options?.in); +} diff --git a/node_modules/date-fns/fromUnixTime.d.cts b/node_modules/date-fns/fromUnixTime.d.cts new file mode 100644 index 0000000000000000000000000000000000000000..4c7ed22408ac8124b3331e4ceb65ee03cb934291 --- /dev/null +++ b/node_modules/date-fns/fromUnixTime.d.cts @@ -0,0 +1,30 @@ +import type { ContextOptions } from "./types.ts"; +/** + * The {@link fromUnixTime} function options. + */ +export interface FromUnixTimeOptions + extends ContextOptions {} +/** + * @name fromUnixTime + * @category Timestamp Helpers + * @summary Create a date from a Unix timestamp. + * + * @description + * Create a date from a Unix timestamp (in seconds). Decimal values will be discarded. + * + * @param unixTime - The given Unix timestamp (in seconds) + * @param options - An object with options. Allows to pass a context. + * + * @typeParam DateType - The `Date` type, the function operates on. Gets inferred from passed arguments. Allows to use extensions like [`UTCDate`](https://github.com/date-fns/utc). + * + * @returns The date + * + * @example + * // Create the date 29 February 2012 11:45:05: + * const result = fromUnixTime(1330515905) + * //=> Wed Feb 29 2012 11:45:05 + */ +export declare function fromUnixTime( + unixTime: number, + options?: FromUnixTimeOptions | undefined, +): DateType; diff --git a/node_modules/date-fns/fromUnixTime.d.ts b/node_modules/date-fns/fromUnixTime.d.ts new file mode 100644 index 0000000000000000000000000000000000000000..4c7ed22408ac8124b3331e4ceb65ee03cb934291 --- /dev/null +++ b/node_modules/date-fns/fromUnixTime.d.ts @@ -0,0 +1,30 @@ +import type { ContextOptions } from "./types.ts"; +/** + * The {@link fromUnixTime} function options. + */ +export interface FromUnixTimeOptions + extends ContextOptions {} +/** + * @name fromUnixTime + * @category Timestamp Helpers + * @summary Create a date from a Unix timestamp. + * + * @description + * Create a date from a Unix timestamp (in seconds). Decimal values will be discarded. + * + * @param unixTime - The given Unix timestamp (in seconds) + * @param options - An object with options. Allows to pass a context. + * + * @typeParam DateType - The `Date` type, the function operates on. Gets inferred from passed arguments. Allows to use extensions like [`UTCDate`](https://github.com/date-fns/utc). + * + * @returns The date + * + * @example + * // Create the date 29 February 2012 11:45:05: + * const result = fromUnixTime(1330515905) + * //=> Wed Feb 29 2012 11:45:05 + */ +export declare function fromUnixTime( + unixTime: number, + options?: FromUnixTimeOptions | undefined, +): DateType; diff --git a/node_modules/date-fns/fromUnixTime.js b/node_modules/date-fns/fromUnixTime.js new file mode 100644 index 0000000000000000000000000000000000000000..08e2fde00b02b6b313bb0118e1e23c44c2b1349d --- /dev/null +++ b/node_modules/date-fns/fromUnixTime.js @@ -0,0 +1,32 @@ +import { toDate } from "./toDate.js"; + +/** + * The {@link fromUnixTime} function options. + */ + +/** + * @name fromUnixTime + * @category Timestamp Helpers + * @summary Create a date from a Unix timestamp. + * + * @description + * Create a date from a Unix timestamp (in seconds). Decimal values will be discarded. + * + * @param unixTime - The given Unix timestamp (in seconds) + * @param options - An object with options. Allows to pass a context. + * + * @typeParam DateType - The `Date` type, the function operates on. Gets inferred from passed arguments. Allows to use extensions like [`UTCDate`](https://github.com/date-fns/utc). + * + * @returns The date + * + * @example + * // Create the date 29 February 2012 11:45:05: + * const result = fromUnixTime(1330515905) + * //=> Wed Feb 29 2012 11:45:05 + */ +export function fromUnixTime(unixTime, options) { + return toDate(unixTime * 1000, options?.in); +} + +// Fallback for modularized imports: +export default fromUnixTime; diff --git a/node_modules/date-fns/getDate.cjs b/node_modules/date-fns/getDate.cjs new file mode 100644 index 0000000000000000000000000000000000000000..2e9dae03919c3f13af3e3376692282ab5fefe9d6 --- /dev/null +++ b/node_modules/date-fns/getDate.cjs @@ -0,0 +1,29 @@ +"use strict"; +exports.getDate = getDate; +var _index = require("./toDate.cjs"); + +/** + * The {@link getDate} function options. + */ + +/** + * @name getDate + * @category Day Helpers + * @summary Get the day of the month of the given date. + * + * @description + * Get the day of the month of the given date. + * + * @param date - The given date + * @param options - An object with options. + * + * @returns The day of month + * + * @example + * // Which day of the month is 29 February 2012? + * const result = getDate(new Date(2012, 1, 29)) + * //=> 29 + */ +function getDate(date, options) { + return (0, _index.toDate)(date, options?.in).getDate(); +} diff --git a/node_modules/date-fns/getDate.d.cts b/node_modules/date-fns/getDate.d.cts new file mode 100644 index 0000000000000000000000000000000000000000..4f7abe6bcb4f92fde6b36f01094f9be7656e2d2b --- /dev/null +++ b/node_modules/date-fns/getDate.d.cts @@ -0,0 +1,27 @@ +import type { ContextOptions, DateArg } from "./types.ts"; +/** + * The {@link getDate} function options. + */ +export interface GetDateOptions extends ContextOptions {} +/** + * @name getDate + * @category Day Helpers + * @summary Get the day of the month of the given date. + * + * @description + * Get the day of the month of the given date. + * + * @param date - The given date + * @param options - An object with options. + * + * @returns The day of month + * + * @example + * // Which day of the month is 29 February 2012? + * const result = getDate(new Date(2012, 1, 29)) + * //=> 29 + */ +export declare function getDate( + date: DateArg & {}, + options?: GetDateOptions | undefined, +): number; diff --git a/node_modules/date-fns/getDate.d.ts b/node_modules/date-fns/getDate.d.ts new file mode 100644 index 0000000000000000000000000000000000000000..4f7abe6bcb4f92fde6b36f01094f9be7656e2d2b --- /dev/null +++ b/node_modules/date-fns/getDate.d.ts @@ -0,0 +1,27 @@ +import type { ContextOptions, DateArg } from "./types.ts"; +/** + * The {@link getDate} function options. + */ +export interface GetDateOptions extends ContextOptions {} +/** + * @name getDate + * @category Day Helpers + * @summary Get the day of the month of the given date. + * + * @description + * Get the day of the month of the given date. + * + * @param date - The given date + * @param options - An object with options. + * + * @returns The day of month + * + * @example + * // Which day of the month is 29 February 2012? + * const result = getDate(new Date(2012, 1, 29)) + * //=> 29 + */ +export declare function getDate( + date: DateArg & {}, + options?: GetDateOptions | undefined, +): number; diff --git a/node_modules/date-fns/getDate.js b/node_modules/date-fns/getDate.js new file mode 100644 index 0000000000000000000000000000000000000000..0261cb361c07656cfa51afba50fe71d72502ad61 --- /dev/null +++ b/node_modules/date-fns/getDate.js @@ -0,0 +1,30 @@ +import { toDate } from "./toDate.js"; + +/** + * The {@link getDate} function options. + */ + +/** + * @name getDate + * @category Day Helpers + * @summary Get the day of the month of the given date. + * + * @description + * Get the day of the month of the given date. + * + * @param date - The given date + * @param options - An object with options. + * + * @returns The day of month + * + * @example + * // Which day of the month is 29 February 2012? + * const result = getDate(new Date(2012, 1, 29)) + * //=> 29 + */ +export function getDate(date, options) { + return toDate(date, options?.in).getDate(); +} + +// Fallback for modularized imports: +export default getDate; diff --git a/node_modules/date-fns/getDay.cjs b/node_modules/date-fns/getDay.cjs new file mode 100644 index 0000000000000000000000000000000000000000..be98392162da399e0e267bfbab7e256e99991cc2 --- /dev/null +++ b/node_modules/date-fns/getDay.cjs @@ -0,0 +1,29 @@ +"use strict"; +exports.getDay = getDay; +var _index = require("./toDate.cjs"); + +/** + * The {@link getDay} function options. + */ + +/** + * @name getDay + * @category Weekday Helpers + * @summary Get the day of the week of the given date. + * + * @description + * Get the day of the week of the given date. + * + * @param date - The given date + * @param options - The options + * + * @returns The day of week, 0 represents Sunday + * + * @example + * // Which day of the week is 29 February 2012? + * const result = getDay(new Date(2012, 1, 29)) + * //=> 3 + */ +function getDay(date, options) { + return (0, _index.toDate)(date, options?.in).getDay(); +} diff --git a/node_modules/date-fns/getDay.d.cts b/node_modules/date-fns/getDay.d.cts new file mode 100644 index 0000000000000000000000000000000000000000..fe0f9288855bcfdb8f442f957eb87d1beebde081 --- /dev/null +++ b/node_modules/date-fns/getDay.d.cts @@ -0,0 +1,27 @@ +import type { ContextOptions, DateArg } from "./types.ts"; +/** + * The {@link getDay} function options. + */ +export interface GetDayOptions extends ContextOptions {} +/** + * @name getDay + * @category Weekday Helpers + * @summary Get the day of the week of the given date. + * + * @description + * Get the day of the week of the given date. + * + * @param date - The given date + * @param options - The options + * + * @returns The day of week, 0 represents Sunday + * + * @example + * // Which day of the week is 29 February 2012? + * const result = getDay(new Date(2012, 1, 29)) + * //=> 3 + */ +export declare function getDay( + date: DateArg & {}, + options?: GetDayOptions | undefined, +): number; diff --git a/node_modules/date-fns/getDay.d.ts b/node_modules/date-fns/getDay.d.ts new file mode 100644 index 0000000000000000000000000000000000000000..fe0f9288855bcfdb8f442f957eb87d1beebde081 --- /dev/null +++ b/node_modules/date-fns/getDay.d.ts @@ -0,0 +1,27 @@ +import type { ContextOptions, DateArg } from "./types.ts"; +/** + * The {@link getDay} function options. + */ +export interface GetDayOptions extends ContextOptions {} +/** + * @name getDay + * @category Weekday Helpers + * @summary Get the day of the week of the given date. + * + * @description + * Get the day of the week of the given date. + * + * @param date - The given date + * @param options - The options + * + * @returns The day of week, 0 represents Sunday + * + * @example + * // Which day of the week is 29 February 2012? + * const result = getDay(new Date(2012, 1, 29)) + * //=> 3 + */ +export declare function getDay( + date: DateArg & {}, + options?: GetDayOptions | undefined, +): number; diff --git a/node_modules/date-fns/getDay.js b/node_modules/date-fns/getDay.js new file mode 100644 index 0000000000000000000000000000000000000000..8f00e3a253c5f7e77277cbb486e347e9c7b06a29 --- /dev/null +++ b/node_modules/date-fns/getDay.js @@ -0,0 +1,30 @@ +import { toDate } from "./toDate.js"; + +/** + * The {@link getDay} function options. + */ + +/** + * @name getDay + * @category Weekday Helpers + * @summary Get the day of the week of the given date. + * + * @description + * Get the day of the week of the given date. + * + * @param date - The given date + * @param options - The options + * + * @returns The day of week, 0 represents Sunday + * + * @example + * // Which day of the week is 29 February 2012? + * const result = getDay(new Date(2012, 1, 29)) + * //=> 3 + */ +export function getDay(date, options) { + return toDate(date, options?.in).getDay(); +} + +// Fallback for modularized imports: +export default getDay; diff --git a/node_modules/date-fns/getDayOfYear.cjs b/node_modules/date-fns/getDayOfYear.cjs new file mode 100644 index 0000000000000000000000000000000000000000..02deca7a549c47754efa222c82e6adfeea457954 --- /dev/null +++ b/node_modules/date-fns/getDayOfYear.cjs @@ -0,0 +1,37 @@ +"use strict"; +exports.getDayOfYear = getDayOfYear; +var _index = require("./differenceInCalendarDays.cjs"); +var _index2 = require("./startOfYear.cjs"); +var _index3 = require("./toDate.cjs"); + +/** + * The {@link getDayOfYear} function options. + */ + +/** + * @name getDayOfYear + * @category Day Helpers + * @summary Get the day of the year of the given date. + * + * @description + * Get the day of the year of the given date. + * + * @param date - The given date + * @param options - The options + * + * @returns The day of year + * + * @example + * // Which day of the year is 2 July 2014? + * const result = getDayOfYear(new Date(2014, 6, 2)) + * //=> 183 + */ +function getDayOfYear(date, options) { + const _date = (0, _index3.toDate)(date, options?.in); + const diff = (0, _index.differenceInCalendarDays)( + _date, + (0, _index2.startOfYear)(_date), + ); + const dayOfYear = diff + 1; + return dayOfYear; +} diff --git a/node_modules/date-fns/getDayOfYear.d.cts b/node_modules/date-fns/getDayOfYear.d.cts new file mode 100644 index 0000000000000000000000000000000000000000..e8e1ebeec43ae9903ca5da28ab2f1233a77d5c08 --- /dev/null +++ b/node_modules/date-fns/getDayOfYear.d.cts @@ -0,0 +1,27 @@ +import type { ContextOptions, DateArg } from "./types.ts"; +/** + * The {@link getDayOfYear} function options. + */ +export interface GetDayOfYearOptions extends ContextOptions {} +/** + * @name getDayOfYear + * @category Day Helpers + * @summary Get the day of the year of the given date. + * + * @description + * Get the day of the year of the given date. + * + * @param date - The given date + * @param options - The options + * + * @returns The day of year + * + * @example + * // Which day of the year is 2 July 2014? + * const result = getDayOfYear(new Date(2014, 6, 2)) + * //=> 183 + */ +export declare function getDayOfYear( + date: DateArg & {}, + options?: GetDayOfYearOptions | undefined, +): number; diff --git a/node_modules/date-fns/getDayOfYear.d.ts b/node_modules/date-fns/getDayOfYear.d.ts new file mode 100644 index 0000000000000000000000000000000000000000..e8e1ebeec43ae9903ca5da28ab2f1233a77d5c08 --- /dev/null +++ b/node_modules/date-fns/getDayOfYear.d.ts @@ -0,0 +1,27 @@ +import type { ContextOptions, DateArg } from "./types.ts"; +/** + * The {@link getDayOfYear} function options. + */ +export interface GetDayOfYearOptions extends ContextOptions {} +/** + * @name getDayOfYear + * @category Day Helpers + * @summary Get the day of the year of the given date. + * + * @description + * Get the day of the year of the given date. + * + * @param date - The given date + * @param options - The options + * + * @returns The day of year + * + * @example + * // Which day of the year is 2 July 2014? + * const result = getDayOfYear(new Date(2014, 6, 2)) + * //=> 183 + */ +export declare function getDayOfYear( + date: DateArg & {}, + options?: GetDayOfYearOptions | undefined, +): number; diff --git a/node_modules/date-fns/getDayOfYear.js b/node_modules/date-fns/getDayOfYear.js new file mode 100644 index 0000000000000000000000000000000000000000..6ca39fca6df5f766f1042a80850bf7dc259d478d --- /dev/null +++ b/node_modules/date-fns/getDayOfYear.js @@ -0,0 +1,35 @@ +import { differenceInCalendarDays } from "./differenceInCalendarDays.js"; +import { startOfYear } from "./startOfYear.js"; +import { toDate } from "./toDate.js"; + +/** + * The {@link getDayOfYear} function options. + */ + +/** + * @name getDayOfYear + * @category Day Helpers + * @summary Get the day of the year of the given date. + * + * @description + * Get the day of the year of the given date. + * + * @param date - The given date + * @param options - The options + * + * @returns The day of year + * + * @example + * // Which day of the year is 2 July 2014? + * const result = getDayOfYear(new Date(2014, 6, 2)) + * //=> 183 + */ +export function getDayOfYear(date, options) { + const _date = toDate(date, options?.in); + const diff = differenceInCalendarDays(_date, startOfYear(_date)); + const dayOfYear = diff + 1; + return dayOfYear; +} + +// Fallback for modularized imports: +export default getDayOfYear; diff --git a/node_modules/date-fns/getDaysInMonth.cjs b/node_modules/date-fns/getDaysInMonth.cjs new file mode 100644 index 0000000000000000000000000000000000000000..e3f980c29dd5ae1b7e204e4e6fea98555014e46f --- /dev/null +++ b/node_modules/date-fns/getDaysInMonth.cjs @@ -0,0 +1,36 @@ +"use strict"; +exports.getDaysInMonth = getDaysInMonth; +var _index = require("./constructFrom.cjs"); +var _index2 = require("./toDate.cjs"); + +/** + * The {@link getDaysInMonth} function options. + */ + +/** + * @name getDaysInMonth + * @category Month Helpers + * @summary Get the number of days in a month of the given date. + * + * @description + * Get the number of days in a month of the given date, considering the context if provided. + * + * @param date - The given date + * @param options - An object with options + * + * @returns The number of days in a month + * + * @example + * // How many days are in February 2000? + * const result = getDaysInMonth(new Date(2000, 1)) + * //=> 29 + */ +function getDaysInMonth(date, options) { + const _date = (0, _index2.toDate)(date, options?.in); + const year = _date.getFullYear(); + const monthIndex = _date.getMonth(); + const lastDayOfMonth = (0, _index.constructFrom)(_date, 0); + lastDayOfMonth.setFullYear(year, monthIndex + 1, 0); + lastDayOfMonth.setHours(0, 0, 0, 0); + return lastDayOfMonth.getDate(); +} diff --git a/node_modules/date-fns/getDaysInMonth.d.cts b/node_modules/date-fns/getDaysInMonth.d.cts new file mode 100644 index 0000000000000000000000000000000000000000..5432e3a0980a42d018e2380d2c2d6ff783bc9fd6 --- /dev/null +++ b/node_modules/date-fns/getDaysInMonth.d.cts @@ -0,0 +1,27 @@ +import type { ContextOptions, DateArg } from "./types.ts"; +/** + * The {@link getDaysInMonth} function options. + */ +export interface GetDaysInMonthOptions extends ContextOptions {} +/** + * @name getDaysInMonth + * @category Month Helpers + * @summary Get the number of days in a month of the given date. + * + * @description + * Get the number of days in a month of the given date, considering the context if provided. + * + * @param date - The given date + * @param options - An object with options + * + * @returns The number of days in a month + * + * @example + * // How many days are in February 2000? + * const result = getDaysInMonth(new Date(2000, 1)) + * //=> 29 + */ +export declare function getDaysInMonth( + date: DateArg & {}, + options?: GetDaysInMonthOptions | undefined, +): number; diff --git a/node_modules/date-fns/getDaysInMonth.d.ts b/node_modules/date-fns/getDaysInMonth.d.ts new file mode 100644 index 0000000000000000000000000000000000000000..5432e3a0980a42d018e2380d2c2d6ff783bc9fd6 --- /dev/null +++ b/node_modules/date-fns/getDaysInMonth.d.ts @@ -0,0 +1,27 @@ +import type { ContextOptions, DateArg } from "./types.ts"; +/** + * The {@link getDaysInMonth} function options. + */ +export interface GetDaysInMonthOptions extends ContextOptions {} +/** + * @name getDaysInMonth + * @category Month Helpers + * @summary Get the number of days in a month of the given date. + * + * @description + * Get the number of days in a month of the given date, considering the context if provided. + * + * @param date - The given date + * @param options - An object with options + * + * @returns The number of days in a month + * + * @example + * // How many days are in February 2000? + * const result = getDaysInMonth(new Date(2000, 1)) + * //=> 29 + */ +export declare function getDaysInMonth( + date: DateArg & {}, + options?: GetDaysInMonthOptions | undefined, +): number; diff --git a/node_modules/date-fns/getDaysInMonth.js b/node_modules/date-fns/getDaysInMonth.js new file mode 100644 index 0000000000000000000000000000000000000000..55afc3745cb1c6be159d24b89acf5c84cdd348d2 --- /dev/null +++ b/node_modules/date-fns/getDaysInMonth.js @@ -0,0 +1,37 @@ +import { constructFrom } from "./constructFrom.js"; +import { toDate } from "./toDate.js"; + +/** + * The {@link getDaysInMonth} function options. + */ + +/** + * @name getDaysInMonth + * @category Month Helpers + * @summary Get the number of days in a month of the given date. + * + * @description + * Get the number of days in a month of the given date, considering the context if provided. + * + * @param date - The given date + * @param options - An object with options + * + * @returns The number of days in a month + * + * @example + * // How many days are in February 2000? + * const result = getDaysInMonth(new Date(2000, 1)) + * //=> 29 + */ +export function getDaysInMonth(date, options) { + const _date = toDate(date, options?.in); + const year = _date.getFullYear(); + const monthIndex = _date.getMonth(); + const lastDayOfMonth = constructFrom(_date, 0); + lastDayOfMonth.setFullYear(year, monthIndex + 1, 0); + lastDayOfMonth.setHours(0, 0, 0, 0); + return lastDayOfMonth.getDate(); +} + +// Fallback for modularized imports: +export default getDaysInMonth; diff --git a/node_modules/date-fns/getDaysInYear.cjs b/node_modules/date-fns/getDaysInYear.cjs new file mode 100644 index 0000000000000000000000000000000000000000..a7a58671cd77ea90aac499c9572e00a229fd3bdf --- /dev/null +++ b/node_modules/date-fns/getDaysInYear.cjs @@ -0,0 +1,32 @@ +"use strict"; +exports.getDaysInYear = getDaysInYear; +var _index = require("./isLeapYear.cjs"); +var _index2 = require("./toDate.cjs"); + +/** + * The {@link getDaysInYear} function options. + */ + +/** + * @name getDaysInYear + * @category Year Helpers + * @summary Get the number of days in a year of the given date. + * + * @description + * Get the number of days in a year of the given date. + * + * @param date - The given date + * @param options - An object with options + * + * @returns The number of days in a year + * + * @example + * // How many days are in 2012? + * const result = getDaysInYear(new Date(2012, 0, 1)) + * //=> 366 + */ +function getDaysInYear(date, options) { + const _date = (0, _index2.toDate)(date, options?.in); + if (Number.isNaN(+_date)) return NaN; + return (0, _index.isLeapYear)(_date) ? 366 : 365; +} diff --git a/node_modules/date-fns/getDaysInYear.d.cts b/node_modules/date-fns/getDaysInYear.d.cts new file mode 100644 index 0000000000000000000000000000000000000000..3b4a390cc69e9410a73be8728eff63f5f21be5cd --- /dev/null +++ b/node_modules/date-fns/getDaysInYear.d.cts @@ -0,0 +1,27 @@ +import type { ContextOptions, DateArg } from "./types.ts"; +/** + * The {@link getDaysInYear} function options. + */ +export interface GetDaysInYearOptions extends ContextOptions {} +/** + * @name getDaysInYear + * @category Year Helpers + * @summary Get the number of days in a year of the given date. + * + * @description + * Get the number of days in a year of the given date. + * + * @param date - The given date + * @param options - An object with options + * + * @returns The number of days in a year + * + * @example + * // How many days are in 2012? + * const result = getDaysInYear(new Date(2012, 0, 1)) + * //=> 366 + */ +export declare function getDaysInYear( + date: DateArg & {}, + options?: GetDaysInYearOptions | undefined, +): number; diff --git a/node_modules/date-fns/getDaysInYear.d.ts b/node_modules/date-fns/getDaysInYear.d.ts new file mode 100644 index 0000000000000000000000000000000000000000..3b4a390cc69e9410a73be8728eff63f5f21be5cd --- /dev/null +++ b/node_modules/date-fns/getDaysInYear.d.ts @@ -0,0 +1,27 @@ +import type { ContextOptions, DateArg } from "./types.ts"; +/** + * The {@link getDaysInYear} function options. + */ +export interface GetDaysInYearOptions extends ContextOptions {} +/** + * @name getDaysInYear + * @category Year Helpers + * @summary Get the number of days in a year of the given date. + * + * @description + * Get the number of days in a year of the given date. + * + * @param date - The given date + * @param options - An object with options + * + * @returns The number of days in a year + * + * @example + * // How many days are in 2012? + * const result = getDaysInYear(new Date(2012, 0, 1)) + * //=> 366 + */ +export declare function getDaysInYear( + date: DateArg & {}, + options?: GetDaysInYearOptions | undefined, +): number; diff --git a/node_modules/date-fns/getDaysInYear.js b/node_modules/date-fns/getDaysInYear.js new file mode 100644 index 0000000000000000000000000000000000000000..736422000bec70f5e853ae56e7d563ae4be29754 --- /dev/null +++ b/node_modules/date-fns/getDaysInYear.js @@ -0,0 +1,33 @@ +import { isLeapYear } from "./isLeapYear.js"; +import { toDate } from "./toDate.js"; + +/** + * The {@link getDaysInYear} function options. + */ + +/** + * @name getDaysInYear + * @category Year Helpers + * @summary Get the number of days in a year of the given date. + * + * @description + * Get the number of days in a year of the given date. + * + * @param date - The given date + * @param options - An object with options + * + * @returns The number of days in a year + * + * @example + * // How many days are in 2012? + * const result = getDaysInYear(new Date(2012, 0, 1)) + * //=> 366 + */ +export function getDaysInYear(date, options) { + const _date = toDate(date, options?.in); + if (Number.isNaN(+_date)) return NaN; + return isLeapYear(_date) ? 366 : 365; +} + +// Fallback for modularized imports: +export default getDaysInYear; diff --git a/node_modules/date-fns/getDecade.cjs b/node_modules/date-fns/getDecade.cjs new file mode 100644 index 0000000000000000000000000000000000000000..09a411b877db8fa25e76692a30d211355df76216 --- /dev/null +++ b/node_modules/date-fns/getDecade.cjs @@ -0,0 +1,35 @@ +"use strict"; +exports.getDecade = getDecade; +var _index = require("./toDate.cjs"); + +/** + * The {@link getDecade} function options. + */ + +/** + * @name getDecade + * @category Decade Helpers + * @summary Get the decade of the given date. + * + * @description + * Get the decade of the given date. + * + * @param date - The given date + * @param options - An object with options + * + * @returns The year of decade + * + * @example + * // Which decade belongs 27 November 1942? + * const result = getDecade(new Date(1942, 10, 27)) + * //=> 1940 + */ +function getDecade(date, options) { + // TODO: Switch to more technical definition in of decades that start with 1 + // end with 0. I.e. 2001-2010 instead of current 2000-2009. It's a breaking + // change, so it can only be done in 4.0. + const _date = (0, _index.toDate)(date, options?.in); + const year = _date.getFullYear(); + const decade = Math.floor(year / 10) * 10; + return decade; +} diff --git a/node_modules/date-fns/getDecade.d.cts b/node_modules/date-fns/getDecade.d.cts new file mode 100644 index 0000000000000000000000000000000000000000..e059853f4076ce92d04d0b018d66cf0f8b2576bc --- /dev/null +++ b/node_modules/date-fns/getDecade.d.cts @@ -0,0 +1,27 @@ +import type { ContextOptions, DateArg } from "./types.ts"; +/** + * The {@link getDecade} function options. + */ +export interface GetDecadeOptions extends ContextOptions {} +/** + * @name getDecade + * @category Decade Helpers + * @summary Get the decade of the given date. + * + * @description + * Get the decade of the given date. + * + * @param date - The given date + * @param options - An object with options + * + * @returns The year of decade + * + * @example + * // Which decade belongs 27 November 1942? + * const result = getDecade(new Date(1942, 10, 27)) + * //=> 1940 + */ +export declare function getDecade( + date: DateArg & {}, + options?: GetDecadeOptions | undefined, +): number; diff --git a/node_modules/date-fns/getDecade.d.ts b/node_modules/date-fns/getDecade.d.ts new file mode 100644 index 0000000000000000000000000000000000000000..e059853f4076ce92d04d0b018d66cf0f8b2576bc --- /dev/null +++ b/node_modules/date-fns/getDecade.d.ts @@ -0,0 +1,27 @@ +import type { ContextOptions, DateArg } from "./types.ts"; +/** + * The {@link getDecade} function options. + */ +export interface GetDecadeOptions extends ContextOptions {} +/** + * @name getDecade + * @category Decade Helpers + * @summary Get the decade of the given date. + * + * @description + * Get the decade of the given date. + * + * @param date - The given date + * @param options - An object with options + * + * @returns The year of decade + * + * @example + * // Which decade belongs 27 November 1942? + * const result = getDecade(new Date(1942, 10, 27)) + * //=> 1940 + */ +export declare function getDecade( + date: DateArg & {}, + options?: GetDecadeOptions | undefined, +): number; diff --git a/node_modules/date-fns/getDecade.js b/node_modules/date-fns/getDecade.js new file mode 100644 index 0000000000000000000000000000000000000000..2d01fb00d8055649dd195a7b9b760bb59b123694 --- /dev/null +++ b/node_modules/date-fns/getDecade.js @@ -0,0 +1,36 @@ +import { toDate } from "./toDate.js"; + +/** + * The {@link getDecade} function options. + */ + +/** + * @name getDecade + * @category Decade Helpers + * @summary Get the decade of the given date. + * + * @description + * Get the decade of the given date. + * + * @param date - The given date + * @param options - An object with options + * + * @returns The year of decade + * + * @example + * // Which decade belongs 27 November 1942? + * const result = getDecade(new Date(1942, 10, 27)) + * //=> 1940 + */ +export function getDecade(date, options) { + // TODO: Switch to more technical definition in of decades that start with 1 + // end with 0. I.e. 2001-2010 instead of current 2000-2009. It's a breaking + // change, so it can only be done in 4.0. + const _date = toDate(date, options?.in); + const year = _date.getFullYear(); + const decade = Math.floor(year / 10) * 10; + return decade; +} + +// Fallback for modularized imports: +export default getDecade; diff --git a/node_modules/date-fns/getDefaultOptions.cjs b/node_modules/date-fns/getDefaultOptions.cjs new file mode 100644 index 0000000000000000000000000000000000000000..2d1481cb95186c7a0b68fd78f6cf0855cf88e41b --- /dev/null +++ b/node_modules/date-fns/getDefaultOptions.cjs @@ -0,0 +1,31 @@ +"use strict"; +exports.getDefaultOptions = getDefaultOptions; +var _index = require("./_lib/defaultOptions.cjs"); + +/** + * @name getDefaultOptions + * @category Common Helpers + * @summary Get default options. + * @pure false + * + * @description + * Returns an object that contains defaults for + * `options.locale`, `options.weekStartsOn` and `options.firstWeekContainsDate` + * arguments for all functions. + * + * You can change these with [setDefaultOptions](https://date-fns.org/docs/setDefaultOptions). + * + * @returns The default options + * + * @example + * const result = getDefaultOptions() + * //=> {} + * + * @example + * setDefaultOptions({ weekStarsOn: 1, firstWeekContainsDate: 4 }) + * const result = getDefaultOptions() + * //=> { weekStarsOn: 1, firstWeekContainsDate: 4 } + */ +function getDefaultOptions() { + return Object.assign({}, (0, _index.getDefaultOptions)()); +} diff --git a/node_modules/date-fns/getDefaultOptions.d.cts b/node_modules/date-fns/getDefaultOptions.d.cts new file mode 100644 index 0000000000000000000000000000000000000000..121df4da877711296275b946d5a2646c4c5a02a8 --- /dev/null +++ b/node_modules/date-fns/getDefaultOptions.d.cts @@ -0,0 +1,26 @@ +import type { DefaultOptions } from "./_lib/defaultOptions.ts"; +/** + * @name getDefaultOptions + * @category Common Helpers + * @summary Get default options. + * @pure false + * + * @description + * Returns an object that contains defaults for + * `options.locale`, `options.weekStartsOn` and `options.firstWeekContainsDate` + * arguments for all functions. + * + * You can change these with [setDefaultOptions](https://date-fns.org/docs/setDefaultOptions). + * + * @returns The default options + * + * @example + * const result = getDefaultOptions() + * //=> {} + * + * @example + * setDefaultOptions({ weekStarsOn: 1, firstWeekContainsDate: 4 }) + * const result = getDefaultOptions() + * //=> { weekStarsOn: 1, firstWeekContainsDate: 4 } + */ +export declare function getDefaultOptions(): DefaultOptions; diff --git a/node_modules/date-fns/getDefaultOptions.d.ts b/node_modules/date-fns/getDefaultOptions.d.ts new file mode 100644 index 0000000000000000000000000000000000000000..121df4da877711296275b946d5a2646c4c5a02a8 --- /dev/null +++ b/node_modules/date-fns/getDefaultOptions.d.ts @@ -0,0 +1,26 @@ +import type { DefaultOptions } from "./_lib/defaultOptions.ts"; +/** + * @name getDefaultOptions + * @category Common Helpers + * @summary Get default options. + * @pure false + * + * @description + * Returns an object that contains defaults for + * `options.locale`, `options.weekStartsOn` and `options.firstWeekContainsDate` + * arguments for all functions. + * + * You can change these with [setDefaultOptions](https://date-fns.org/docs/setDefaultOptions). + * + * @returns The default options + * + * @example + * const result = getDefaultOptions() + * //=> {} + * + * @example + * setDefaultOptions({ weekStarsOn: 1, firstWeekContainsDate: 4 }) + * const result = getDefaultOptions() + * //=> { weekStarsOn: 1, firstWeekContainsDate: 4 } + */ +export declare function getDefaultOptions(): DefaultOptions; diff --git a/node_modules/date-fns/getDefaultOptions.js b/node_modules/date-fns/getDefaultOptions.js new file mode 100644 index 0000000000000000000000000000000000000000..dc265097d22a6e592d0888ef5197da7a128e07f7 --- /dev/null +++ b/node_modules/date-fns/getDefaultOptions.js @@ -0,0 +1,32 @@ +import { getDefaultOptions as getInternalDefaultOptions } from "./_lib/defaultOptions.js"; + +/** + * @name getDefaultOptions + * @category Common Helpers + * @summary Get default options. + * @pure false + * + * @description + * Returns an object that contains defaults for + * `options.locale`, `options.weekStartsOn` and `options.firstWeekContainsDate` + * arguments for all functions. + * + * You can change these with [setDefaultOptions](https://date-fns.org/docs/setDefaultOptions). + * + * @returns The default options + * + * @example + * const result = getDefaultOptions() + * //=> {} + * + * @example + * setDefaultOptions({ weekStarsOn: 1, firstWeekContainsDate: 4 }) + * const result = getDefaultOptions() + * //=> { weekStarsOn: 1, firstWeekContainsDate: 4 } + */ +export function getDefaultOptions() { + return Object.assign({}, getInternalDefaultOptions()); +} + +// Fallback for modularized imports: +export default getDefaultOptions; diff --git a/node_modules/date-fns/getHours.cjs b/node_modules/date-fns/getHours.cjs new file mode 100644 index 0000000000000000000000000000000000000000..56b236971338eaf886a001348e4978f97e97db45 --- /dev/null +++ b/node_modules/date-fns/getHours.cjs @@ -0,0 +1,29 @@ +"use strict"; +exports.getHours = getHours; +var _index = require("./toDate.cjs"); + +/** + * The {@link getHours} function options. + */ + +/** + * @name getHours + * @category Hour Helpers + * @summary Get the hours of the given date. + * + * @description + * Get the hours of the given date. + * + * @param date - The given date + * @param options - An object with options + * + * @returns The hours + * + * @example + * // Get the hours of 29 February 2012 11:45:00: + * const result = getHours(new Date(2012, 1, 29, 11, 45)) + * //=> 11 + */ +function getHours(date, options) { + return (0, _index.toDate)(date, options?.in).getHours(); +} diff --git a/node_modules/date-fns/getHours.d.cts b/node_modules/date-fns/getHours.d.cts new file mode 100644 index 0000000000000000000000000000000000000000..7c728a0569cff7bc7e30e6e67ee22d4181efad91 --- /dev/null +++ b/node_modules/date-fns/getHours.d.cts @@ -0,0 +1,27 @@ +import type { ContextOptions, DateArg } from "./types.ts"; +/** + * The {@link getHours} function options. + */ +export interface GetHoursOptions extends ContextOptions {} +/** + * @name getHours + * @category Hour Helpers + * @summary Get the hours of the given date. + * + * @description + * Get the hours of the given date. + * + * @param date - The given date + * @param options - An object with options + * + * @returns The hours + * + * @example + * // Get the hours of 29 February 2012 11:45:00: + * const result = getHours(new Date(2012, 1, 29, 11, 45)) + * //=> 11 + */ +export declare function getHours( + date: DateArg & {}, + options?: GetHoursOptions | undefined, +): number; diff --git a/node_modules/date-fns/getHours.d.ts b/node_modules/date-fns/getHours.d.ts new file mode 100644 index 0000000000000000000000000000000000000000..7c728a0569cff7bc7e30e6e67ee22d4181efad91 --- /dev/null +++ b/node_modules/date-fns/getHours.d.ts @@ -0,0 +1,27 @@ +import type { ContextOptions, DateArg } from "./types.ts"; +/** + * The {@link getHours} function options. + */ +export interface GetHoursOptions extends ContextOptions {} +/** + * @name getHours + * @category Hour Helpers + * @summary Get the hours of the given date. + * + * @description + * Get the hours of the given date. + * + * @param date - The given date + * @param options - An object with options + * + * @returns The hours + * + * @example + * // Get the hours of 29 February 2012 11:45:00: + * const result = getHours(new Date(2012, 1, 29, 11, 45)) + * //=> 11 + */ +export declare function getHours( + date: DateArg & {}, + options?: GetHoursOptions | undefined, +): number; diff --git a/node_modules/date-fns/getHours.js b/node_modules/date-fns/getHours.js new file mode 100644 index 0000000000000000000000000000000000000000..9ac006f54dcc64f9205001ece605298935ada5ec --- /dev/null +++ b/node_modules/date-fns/getHours.js @@ -0,0 +1,30 @@ +import { toDate } from "./toDate.js"; + +/** + * The {@link getHours} function options. + */ + +/** + * @name getHours + * @category Hour Helpers + * @summary Get the hours of the given date. + * + * @description + * Get the hours of the given date. + * + * @param date - The given date + * @param options - An object with options + * + * @returns The hours + * + * @example + * // Get the hours of 29 February 2012 11:45:00: + * const result = getHours(new Date(2012, 1, 29, 11, 45)) + * //=> 11 + */ +export function getHours(date, options) { + return toDate(date, options?.in).getHours(); +} + +// Fallback for modularized imports: +export default getHours; diff --git a/node_modules/date-fns/getISODay.cjs b/node_modules/date-fns/getISODay.cjs new file mode 100644 index 0000000000000000000000000000000000000000..dfd9515e19b08acf3c13ce1c69a6ccc33580f95f --- /dev/null +++ b/node_modules/date-fns/getISODay.cjs @@ -0,0 +1,33 @@ +"use strict"; +exports.getISODay = getISODay; +var _index = require("./toDate.cjs"); + +/** + * The {@link getISODay} function options. + */ + +/** + * @name getISODay + * @category Weekday Helpers + * @summary Get the day of the ISO week of the given date. + * + * @description + * Get the day of the ISO week of the given date, + * which is 7 for Sunday, 1 for Monday etc. + * + * ISO week-numbering year: http://en.wikipedia.org/wiki/ISO_week_date + * + * @param date - The given date + * @param options - An object with options + * + * @returns The day of ISO week + * + * @example + * // Which day of the ISO week is 26 February 2012? + * const result = getISODay(new Date(2012, 1, 26)) + * //=> 7 + */ +function getISODay(date, options) { + const day = (0, _index.toDate)(date, options?.in).getDay(); + return day === 0 ? 7 : day; +} diff --git a/node_modules/date-fns/getISODay.d.cts b/node_modules/date-fns/getISODay.d.cts new file mode 100644 index 0000000000000000000000000000000000000000..894315bb7374b19c14350cf3f86b0fe8145cd356 --- /dev/null +++ b/node_modules/date-fns/getISODay.d.cts @@ -0,0 +1,30 @@ +import type { ContextOptions, DateArg } from "./types.ts"; +/** + * The {@link getISODay} function options. + */ +export interface GetISODayOptions extends ContextOptions {} +/** + * @name getISODay + * @category Weekday Helpers + * @summary Get the day of the ISO week of the given date. + * + * @description + * Get the day of the ISO week of the given date, + * which is 7 for Sunday, 1 for Monday etc. + * + * ISO week-numbering year: http://en.wikipedia.org/wiki/ISO_week_date + * + * @param date - The given date + * @param options - An object with options + * + * @returns The day of ISO week + * + * @example + * // Which day of the ISO week is 26 February 2012? + * const result = getISODay(new Date(2012, 1, 26)) + * //=> 7 + */ +export declare function getISODay( + date: DateArg & {}, + options?: GetISODayOptions, +): number; diff --git a/node_modules/date-fns/getISODay.d.ts b/node_modules/date-fns/getISODay.d.ts new file mode 100644 index 0000000000000000000000000000000000000000..894315bb7374b19c14350cf3f86b0fe8145cd356 --- /dev/null +++ b/node_modules/date-fns/getISODay.d.ts @@ -0,0 +1,30 @@ +import type { ContextOptions, DateArg } from "./types.ts"; +/** + * The {@link getISODay} function options. + */ +export interface GetISODayOptions extends ContextOptions {} +/** + * @name getISODay + * @category Weekday Helpers + * @summary Get the day of the ISO week of the given date. + * + * @description + * Get the day of the ISO week of the given date, + * which is 7 for Sunday, 1 for Monday etc. + * + * ISO week-numbering year: http://en.wikipedia.org/wiki/ISO_week_date + * + * @param date - The given date + * @param options - An object with options + * + * @returns The day of ISO week + * + * @example + * // Which day of the ISO week is 26 February 2012? + * const result = getISODay(new Date(2012, 1, 26)) + * //=> 7 + */ +export declare function getISODay( + date: DateArg & {}, + options?: GetISODayOptions, +): number; diff --git a/node_modules/date-fns/getISODay.js b/node_modules/date-fns/getISODay.js new file mode 100644 index 0000000000000000000000000000000000000000..435ce01cd4a36e3a3d1d48e0b0c5c6ef160bde94 --- /dev/null +++ b/node_modules/date-fns/getISODay.js @@ -0,0 +1,34 @@ +import { toDate } from "./toDate.js"; + +/** + * The {@link getISODay} function options. + */ + +/** + * @name getISODay + * @category Weekday Helpers + * @summary Get the day of the ISO week of the given date. + * + * @description + * Get the day of the ISO week of the given date, + * which is 7 for Sunday, 1 for Monday etc. + * + * ISO week-numbering year: http://en.wikipedia.org/wiki/ISO_week_date + * + * @param date - The given date + * @param options - An object with options + * + * @returns The day of ISO week + * + * @example + * // Which day of the ISO week is 26 February 2012? + * const result = getISODay(new Date(2012, 1, 26)) + * //=> 7 + */ +export function getISODay(date, options) { + const day = toDate(date, options?.in).getDay(); + return day === 0 ? 7 : day; +} + +// Fallback for modularized imports: +export default getISODay; diff --git a/node_modules/date-fns/getISOWeek.cjs b/node_modules/date-fns/getISOWeek.cjs new file mode 100644 index 0000000000000000000000000000000000000000..4c14c2cc90e3fc2ae45b842ade9a331fec3cf93e --- /dev/null +++ b/node_modules/date-fns/getISOWeek.cjs @@ -0,0 +1,42 @@ +"use strict"; +exports.getISOWeek = getISOWeek; +var _index = require("./constants.cjs"); +var _index2 = require("./startOfISOWeek.cjs"); +var _index3 = require("./startOfISOWeekYear.cjs"); +var _index4 = require("./toDate.cjs"); + +/** + * The {@link getISOWeek} function options. + */ + +/** + * @name getISOWeek + * @category ISO Week Helpers + * @summary Get the ISO week of the given date. + * + * @description + * Get the ISO week of the given date. + * + * ISO week-numbering year: http://en.wikipedia.org/wiki/ISO_week_date + * + * @param date - The given date + * @param options - The options + * + * @returns The ISO week + * + * @example + * // Which week of the ISO-week numbering year is 2 January 2005? + * const result = getISOWeek(new Date(2005, 0, 2)) + * //=> 53 + */ +function getISOWeek(date, options) { + const _date = (0, _index4.toDate)(date, options?.in); + const diff = + +(0, _index2.startOfISOWeek)(_date) - + +(0, _index3.startOfISOWeekYear)(_date); + + // Round the number of weeks to the nearest integer because the number of + // milliseconds in a week is not constant (e.g. it's different in the week of + // the daylight saving time clock shift). + return Math.round(diff / _index.millisecondsInWeek) + 1; +} diff --git a/node_modules/date-fns/getISOWeek.d.cts b/node_modules/date-fns/getISOWeek.d.cts new file mode 100644 index 0000000000000000000000000000000000000000..2445dac89ca93a80e8cb751051d03b511520d49a --- /dev/null +++ b/node_modules/date-fns/getISOWeek.d.cts @@ -0,0 +1,29 @@ +import type { ContextOptions, DateArg } from "./types.ts"; +/** + * The {@link getISOWeek} function options. + */ +export interface GetISOWeekOptions extends ContextOptions {} +/** + * @name getISOWeek + * @category ISO Week Helpers + * @summary Get the ISO week of the given date. + * + * @description + * Get the ISO week of the given date. + * + * ISO week-numbering year: http://en.wikipedia.org/wiki/ISO_week_date + * + * @param date - The given date + * @param options - The options + * + * @returns The ISO week + * + * @example + * // Which week of the ISO-week numbering year is 2 January 2005? + * const result = getISOWeek(new Date(2005, 0, 2)) + * //=> 53 + */ +export declare function getISOWeek( + date: DateArg & {}, + options?: GetISOWeekOptions | undefined, +): number; diff --git a/node_modules/date-fns/getISOWeek.d.ts b/node_modules/date-fns/getISOWeek.d.ts new file mode 100644 index 0000000000000000000000000000000000000000..2445dac89ca93a80e8cb751051d03b511520d49a --- /dev/null +++ b/node_modules/date-fns/getISOWeek.d.ts @@ -0,0 +1,29 @@ +import type { ContextOptions, DateArg } from "./types.ts"; +/** + * The {@link getISOWeek} function options. + */ +export interface GetISOWeekOptions extends ContextOptions {} +/** + * @name getISOWeek + * @category ISO Week Helpers + * @summary Get the ISO week of the given date. + * + * @description + * Get the ISO week of the given date. + * + * ISO week-numbering year: http://en.wikipedia.org/wiki/ISO_week_date + * + * @param date - The given date + * @param options - The options + * + * @returns The ISO week + * + * @example + * // Which week of the ISO-week numbering year is 2 January 2005? + * const result = getISOWeek(new Date(2005, 0, 2)) + * //=> 53 + */ +export declare function getISOWeek( + date: DateArg & {}, + options?: GetISOWeekOptions | undefined, +): number; diff --git a/node_modules/date-fns/getISOWeek.js b/node_modules/date-fns/getISOWeek.js new file mode 100644 index 0000000000000000000000000000000000000000..debec381197fffdabcc1cc9c752332a7842d9d6f --- /dev/null +++ b/node_modules/date-fns/getISOWeek.js @@ -0,0 +1,41 @@ +import { millisecondsInWeek } from "./constants.js"; +import { startOfISOWeek } from "./startOfISOWeek.js"; +import { startOfISOWeekYear } from "./startOfISOWeekYear.js"; +import { toDate } from "./toDate.js"; + +/** + * The {@link getISOWeek} function options. + */ + +/** + * @name getISOWeek + * @category ISO Week Helpers + * @summary Get the ISO week of the given date. + * + * @description + * Get the ISO week of the given date. + * + * ISO week-numbering year: http://en.wikipedia.org/wiki/ISO_week_date + * + * @param date - The given date + * @param options - The options + * + * @returns The ISO week + * + * @example + * // Which week of the ISO-week numbering year is 2 January 2005? + * const result = getISOWeek(new Date(2005, 0, 2)) + * //=> 53 + */ +export function getISOWeek(date, options) { + const _date = toDate(date, options?.in); + const diff = +startOfISOWeek(_date) - +startOfISOWeekYear(_date); + + // Round the number of weeks to the nearest integer because the number of + // milliseconds in a week is not constant (e.g. it's different in the week of + // the daylight saving time clock shift). + return Math.round(diff / millisecondsInWeek) + 1; +} + +// Fallback for modularized imports: +export default getISOWeek; diff --git a/node_modules/date-fns/getISOWeekYear.cjs b/node_modules/date-fns/getISOWeekYear.cjs new file mode 100644 index 0000000000000000000000000000000000000000..d764f7b69383c3bba9103d80f8a5b17989a0a4a6 --- /dev/null +++ b/node_modules/date-fns/getISOWeekYear.cjs @@ -0,0 +1,56 @@ +"use strict"; +exports.getISOWeekYear = getISOWeekYear; +var _index = require("./constructFrom.cjs"); +var _index2 = require("./startOfISOWeek.cjs"); +var _index3 = require("./toDate.cjs"); + +/** + * The {@link getISOWeekYear} function options. + */ + +/** + * @name getISOWeekYear + * @category ISO Week-Numbering Year Helpers + * @summary Get the ISO week-numbering year of the given date. + * + * @description + * Get the ISO week-numbering year of the given date, + * which always starts 3 days before the year's first Thursday. + * + * ISO week-numbering year: http://en.wikipedia.org/wiki/ISO_week_date + * + * @param date - The given date + * + * @returns The ISO week-numbering year + * + * @example + * // Which ISO-week numbering year is 2 January 2005? + * const result = getISOWeekYear(new Date(2005, 0, 2)) + * //=> 2004 + */ +function getISOWeekYear(date, options) { + const _date = (0, _index3.toDate)(date, options?.in); + const year = _date.getFullYear(); + + const fourthOfJanuaryOfNextYear = (0, _index.constructFrom)(_date, 0); + fourthOfJanuaryOfNextYear.setFullYear(year + 1, 0, 4); + fourthOfJanuaryOfNextYear.setHours(0, 0, 0, 0); + const startOfNextYear = (0, _index2.startOfISOWeek)( + fourthOfJanuaryOfNextYear, + ); + + const fourthOfJanuaryOfThisYear = (0, _index.constructFrom)(_date, 0); + fourthOfJanuaryOfThisYear.setFullYear(year, 0, 4); + fourthOfJanuaryOfThisYear.setHours(0, 0, 0, 0); + const startOfThisYear = (0, _index2.startOfISOWeek)( + fourthOfJanuaryOfThisYear, + ); + + if (_date.getTime() >= startOfNextYear.getTime()) { + return year + 1; + } else if (_date.getTime() >= startOfThisYear.getTime()) { + return year; + } else { + return year - 1; + } +} diff --git a/node_modules/date-fns/getISOWeekYear.d.cts b/node_modules/date-fns/getISOWeekYear.d.cts new file mode 100644 index 0000000000000000000000000000000000000000..60c29624bd51b977f6efb88697e7e65667aaa97d --- /dev/null +++ b/node_modules/date-fns/getISOWeekYear.d.cts @@ -0,0 +1,29 @@ +import type { ContextOptions, DateArg } from "./types.ts"; +/** + * The {@link getISOWeekYear} function options. + */ +export interface GetISOWeekYearOptions extends ContextOptions {} +/** + * @name getISOWeekYear + * @category ISO Week-Numbering Year Helpers + * @summary Get the ISO week-numbering year of the given date. + * + * @description + * Get the ISO week-numbering year of the given date, + * which always starts 3 days before the year's first Thursday. + * + * ISO week-numbering year: http://en.wikipedia.org/wiki/ISO_week_date + * + * @param date - The given date + * + * @returns The ISO week-numbering year + * + * @example + * // Which ISO-week numbering year is 2 January 2005? + * const result = getISOWeekYear(new Date(2005, 0, 2)) + * //=> 2004 + */ +export declare function getISOWeekYear( + date: DateArg & {}, + options?: GetISOWeekYearOptions | undefined, +): number; diff --git a/node_modules/date-fns/getISOWeekYear.d.ts b/node_modules/date-fns/getISOWeekYear.d.ts new file mode 100644 index 0000000000000000000000000000000000000000..60c29624bd51b977f6efb88697e7e65667aaa97d --- /dev/null +++ b/node_modules/date-fns/getISOWeekYear.d.ts @@ -0,0 +1,29 @@ +import type { ContextOptions, DateArg } from "./types.ts"; +/** + * The {@link getISOWeekYear} function options. + */ +export interface GetISOWeekYearOptions extends ContextOptions {} +/** + * @name getISOWeekYear + * @category ISO Week-Numbering Year Helpers + * @summary Get the ISO week-numbering year of the given date. + * + * @description + * Get the ISO week-numbering year of the given date, + * which always starts 3 days before the year's first Thursday. + * + * ISO week-numbering year: http://en.wikipedia.org/wiki/ISO_week_date + * + * @param date - The given date + * + * @returns The ISO week-numbering year + * + * @example + * // Which ISO-week numbering year is 2 January 2005? + * const result = getISOWeekYear(new Date(2005, 0, 2)) + * //=> 2004 + */ +export declare function getISOWeekYear( + date: DateArg & {}, + options?: GetISOWeekYearOptions | undefined, +): number; diff --git a/node_modules/date-fns/getISOWeekYear.js b/node_modules/date-fns/getISOWeekYear.js new file mode 100644 index 0000000000000000000000000000000000000000..e603b566ef2468ed89b1fcea47e9381048ca4c37 --- /dev/null +++ b/node_modules/date-fns/getISOWeekYear.js @@ -0,0 +1,53 @@ +import { constructFrom } from "./constructFrom.js"; +import { startOfISOWeek } from "./startOfISOWeek.js"; +import { toDate } from "./toDate.js"; + +/** + * The {@link getISOWeekYear} function options. + */ + +/** + * @name getISOWeekYear + * @category ISO Week-Numbering Year Helpers + * @summary Get the ISO week-numbering year of the given date. + * + * @description + * Get the ISO week-numbering year of the given date, + * which always starts 3 days before the year's first Thursday. + * + * ISO week-numbering year: http://en.wikipedia.org/wiki/ISO_week_date + * + * @param date - The given date + * + * @returns The ISO week-numbering year + * + * @example + * // Which ISO-week numbering year is 2 January 2005? + * const result = getISOWeekYear(new Date(2005, 0, 2)) + * //=> 2004 + */ +export function getISOWeekYear(date, options) { + const _date = toDate(date, options?.in); + const year = _date.getFullYear(); + + const fourthOfJanuaryOfNextYear = constructFrom(_date, 0); + fourthOfJanuaryOfNextYear.setFullYear(year + 1, 0, 4); + fourthOfJanuaryOfNextYear.setHours(0, 0, 0, 0); + const startOfNextYear = startOfISOWeek(fourthOfJanuaryOfNextYear); + + const fourthOfJanuaryOfThisYear = constructFrom(_date, 0); + fourthOfJanuaryOfThisYear.setFullYear(year, 0, 4); + fourthOfJanuaryOfThisYear.setHours(0, 0, 0, 0); + const startOfThisYear = startOfISOWeek(fourthOfJanuaryOfThisYear); + + if (_date.getTime() >= startOfNextYear.getTime()) { + return year + 1; + } else if (_date.getTime() >= startOfThisYear.getTime()) { + return year; + } else { + return year - 1; + } +} + +// Fallback for modularized imports: +export default getISOWeekYear; diff --git a/node_modules/date-fns/getISOWeeksInYear.cjs b/node_modules/date-fns/getISOWeeksInYear.cjs new file mode 100644 index 0000000000000000000000000000000000000000..36b7e8a5a2e24a3bad2c00148dc58d998ffca618 --- /dev/null +++ b/node_modules/date-fns/getISOWeeksInYear.cjs @@ -0,0 +1,42 @@ +"use strict"; +exports.getISOWeeksInYear = getISOWeeksInYear; +var _index = require("./addWeeks.cjs"); +var _index2 = require("./constants.cjs"); +var _index3 = require("./startOfISOWeekYear.cjs"); + +/** + * The {@link getISOWeeksInYear} function options. + */ + +/** + * @name getISOWeeksInYear + * @category ISO Week-Numbering Year Helpers + * @summary Get the number of weeks in an ISO week-numbering year of the given date. + * + * @description + * Get the number of weeks in an ISO week-numbering year of the given date. + * + * ISO week-numbering year: http://en.wikipedia.org/wiki/ISO_week_date + * + * @param date - The given date + * @param options - An object with options + * + * @returns The number of ISO weeks in a year + * + * @example + * // How many weeks are in ISO week-numbering year 2015? + * const result = getISOWeeksInYear(new Date(2015, 1, 11)) + * //=> 53 + */ +function getISOWeeksInYear(date, options) { + const thisYear = (0, _index3.startOfISOWeekYear)(date, options); + const nextYear = (0, _index3.startOfISOWeekYear)( + (0, _index.addWeeks)(thisYear, 60), + ); + const diff = +nextYear - +thisYear; + + // Round the number of weeks to the nearest integer because the number of + // milliseconds in a week is not constant (e.g. it's different in the week of + // the daylight saving time clock shift). + return Math.round(diff / _index2.millisecondsInWeek); +} diff --git a/node_modules/date-fns/getISOWeeksInYear.d.cts b/node_modules/date-fns/getISOWeeksInYear.d.cts new file mode 100644 index 0000000000000000000000000000000000000000..a955ee8ab0b430b587f9a34543049f8d18bb253b --- /dev/null +++ b/node_modules/date-fns/getISOWeeksInYear.d.cts @@ -0,0 +1,29 @@ +import type { ContextOptions, DateArg } from "./types.ts"; +/** + * The {@link getISOWeeksInYear} function options. + */ +export interface GetISOWeeksInYearOptions extends ContextOptions {} +/** + * @name getISOWeeksInYear + * @category ISO Week-Numbering Year Helpers + * @summary Get the number of weeks in an ISO week-numbering year of the given date. + * + * @description + * Get the number of weeks in an ISO week-numbering year of the given date. + * + * ISO week-numbering year: http://en.wikipedia.org/wiki/ISO_week_date + * + * @param date - The given date + * @param options - An object with options + * + * @returns The number of ISO weeks in a year + * + * @example + * // How many weeks are in ISO week-numbering year 2015? + * const result = getISOWeeksInYear(new Date(2015, 1, 11)) + * //=> 53 + */ +export declare function getISOWeeksInYear( + date: DateArg & {}, + options?: GetISOWeeksInYearOptions | undefined, +): number; diff --git a/node_modules/date-fns/getISOWeeksInYear.d.ts b/node_modules/date-fns/getISOWeeksInYear.d.ts new file mode 100644 index 0000000000000000000000000000000000000000..a955ee8ab0b430b587f9a34543049f8d18bb253b --- /dev/null +++ b/node_modules/date-fns/getISOWeeksInYear.d.ts @@ -0,0 +1,29 @@ +import type { ContextOptions, DateArg } from "./types.ts"; +/** + * The {@link getISOWeeksInYear} function options. + */ +export interface GetISOWeeksInYearOptions extends ContextOptions {} +/** + * @name getISOWeeksInYear + * @category ISO Week-Numbering Year Helpers + * @summary Get the number of weeks in an ISO week-numbering year of the given date. + * + * @description + * Get the number of weeks in an ISO week-numbering year of the given date. + * + * ISO week-numbering year: http://en.wikipedia.org/wiki/ISO_week_date + * + * @param date - The given date + * @param options - An object with options + * + * @returns The number of ISO weeks in a year + * + * @example + * // How many weeks are in ISO week-numbering year 2015? + * const result = getISOWeeksInYear(new Date(2015, 1, 11)) + * //=> 53 + */ +export declare function getISOWeeksInYear( + date: DateArg & {}, + options?: GetISOWeeksInYearOptions | undefined, +): number; diff --git a/node_modules/date-fns/getISOWeeksInYear.js b/node_modules/date-fns/getISOWeeksInYear.js new file mode 100644 index 0000000000000000000000000000000000000000..536334cca15625eb7aa19bb1669cbc2d0510a9dd --- /dev/null +++ b/node_modules/date-fns/getISOWeeksInYear.js @@ -0,0 +1,41 @@ +import { addWeeks } from "./addWeeks.js"; +import { millisecondsInWeek } from "./constants.js"; +import { startOfISOWeekYear } from "./startOfISOWeekYear.js"; + +/** + * The {@link getISOWeeksInYear} function options. + */ + +/** + * @name getISOWeeksInYear + * @category ISO Week-Numbering Year Helpers + * @summary Get the number of weeks in an ISO week-numbering year of the given date. + * + * @description + * Get the number of weeks in an ISO week-numbering year of the given date. + * + * ISO week-numbering year: http://en.wikipedia.org/wiki/ISO_week_date + * + * @param date - The given date + * @param options - An object with options + * + * @returns The number of ISO weeks in a year + * + * @example + * // How many weeks are in ISO week-numbering year 2015? + * const result = getISOWeeksInYear(new Date(2015, 1, 11)) + * //=> 53 + */ +export function getISOWeeksInYear(date, options) { + const thisYear = startOfISOWeekYear(date, options); + const nextYear = startOfISOWeekYear(addWeeks(thisYear, 60)); + const diff = +nextYear - +thisYear; + + // Round the number of weeks to the nearest integer because the number of + // milliseconds in a week is not constant (e.g. it's different in the week of + // the daylight saving time clock shift). + return Math.round(diff / millisecondsInWeek); +} + +// Fallback for modularized imports: +export default getISOWeeksInYear; diff --git a/node_modules/date-fns/getMilliseconds.cjs b/node_modules/date-fns/getMilliseconds.cjs new file mode 100644 index 0000000000000000000000000000000000000000..22ba8e03e2e6d4cf46fd4652f17327b463a97e7c --- /dev/null +++ b/node_modules/date-fns/getMilliseconds.cjs @@ -0,0 +1,24 @@ +"use strict"; +exports.getMilliseconds = getMilliseconds; +var _index = require("./toDate.cjs"); + +/** + * @name getMilliseconds + * @category Millisecond Helpers + * @summary Get the milliseconds of the given date. + * + * @description + * Get the milliseconds of the given date. + * + * @param date - The given date + * + * @returns The milliseconds + * + * @example + * // Get the milliseconds of 29 February 2012 11:45:05.123: + * const result = getMilliseconds(new Date(2012, 1, 29, 11, 45, 5, 123)) + * //=> 123 + */ +function getMilliseconds(date) { + return (0, _index.toDate)(date).getMilliseconds(); +} diff --git a/node_modules/date-fns/getMilliseconds.d.cts b/node_modules/date-fns/getMilliseconds.d.cts new file mode 100644 index 0000000000000000000000000000000000000000..872cd4e708348576325dbcdc7307996042827b61 --- /dev/null +++ b/node_modules/date-fns/getMilliseconds.d.cts @@ -0,0 +1,19 @@ +import type { DateArg } from "./types.ts"; +/** + * @name getMilliseconds + * @category Millisecond Helpers + * @summary Get the milliseconds of the given date. + * + * @description + * Get the milliseconds of the given date. + * + * @param date - The given date + * + * @returns The milliseconds + * + * @example + * // Get the milliseconds of 29 February 2012 11:45:05.123: + * const result = getMilliseconds(new Date(2012, 1, 29, 11, 45, 5, 123)) + * //=> 123 + */ +export declare function getMilliseconds(date: DateArg & {}): number; diff --git a/node_modules/date-fns/getMilliseconds.d.ts b/node_modules/date-fns/getMilliseconds.d.ts new file mode 100644 index 0000000000000000000000000000000000000000..872cd4e708348576325dbcdc7307996042827b61 --- /dev/null +++ b/node_modules/date-fns/getMilliseconds.d.ts @@ -0,0 +1,19 @@ +import type { DateArg } from "./types.ts"; +/** + * @name getMilliseconds + * @category Millisecond Helpers + * @summary Get the milliseconds of the given date. + * + * @description + * Get the milliseconds of the given date. + * + * @param date - The given date + * + * @returns The milliseconds + * + * @example + * // Get the milliseconds of 29 February 2012 11:45:05.123: + * const result = getMilliseconds(new Date(2012, 1, 29, 11, 45, 5, 123)) + * //=> 123 + */ +export declare function getMilliseconds(date: DateArg & {}): number; diff --git a/node_modules/date-fns/getMilliseconds.js b/node_modules/date-fns/getMilliseconds.js new file mode 100644 index 0000000000000000000000000000000000000000..9f70e7dc3216280289431b34d8b9e7fdbb1c12f8 --- /dev/null +++ b/node_modules/date-fns/getMilliseconds.js @@ -0,0 +1,25 @@ +import { toDate } from "./toDate.js"; + +/** + * @name getMilliseconds + * @category Millisecond Helpers + * @summary Get the milliseconds of the given date. + * + * @description + * Get the milliseconds of the given date. + * + * @param date - The given date + * + * @returns The milliseconds + * + * @example + * // Get the milliseconds of 29 February 2012 11:45:05.123: + * const result = getMilliseconds(new Date(2012, 1, 29, 11, 45, 5, 123)) + * //=> 123 + */ +export function getMilliseconds(date) { + return toDate(date).getMilliseconds(); +} + +// Fallback for modularized imports: +export default getMilliseconds; diff --git a/node_modules/date-fns/getMinutes.cjs b/node_modules/date-fns/getMinutes.cjs new file mode 100644 index 0000000000000000000000000000000000000000..567f67df663ae8c94821b6f40e75c277989f8950 --- /dev/null +++ b/node_modules/date-fns/getMinutes.cjs @@ -0,0 +1,29 @@ +"use strict"; +exports.getMinutes = getMinutes; +var _index = require("./toDate.cjs"); + +/** + * The {@link getMinutes} function options. + */ + +/** + * @name getMinutes + * @category Minute Helpers + * @summary Get the minutes of the given date. + * + * @description + * Get the minutes of the given date. + * + * @param date - The given date + * @param options - The options + * + * @returns The minutes + * + * @example + * // Get the minutes of 29 February 2012 11:45:05: + * const result = getMinutes(new Date(2012, 1, 29, 11, 45, 5)) + * //=> 45 + */ +function getMinutes(date, options) { + return (0, _index.toDate)(date, options?.in).getMinutes(); +} diff --git a/node_modules/date-fns/getMinutes.d.cts b/node_modules/date-fns/getMinutes.d.cts new file mode 100644 index 0000000000000000000000000000000000000000..d5ddd20491b1e771a37a4d0b63164371953871d4 --- /dev/null +++ b/node_modules/date-fns/getMinutes.d.cts @@ -0,0 +1,27 @@ +import type { ContextOptions, DateArg } from "./types.ts"; +/** + * The {@link getMinutes} function options. + */ +export interface GetMinutesOptions extends ContextOptions {} +/** + * @name getMinutes + * @category Minute Helpers + * @summary Get the minutes of the given date. + * + * @description + * Get the minutes of the given date. + * + * @param date - The given date + * @param options - The options + * + * @returns The minutes + * + * @example + * // Get the minutes of 29 February 2012 11:45:05: + * const result = getMinutes(new Date(2012, 1, 29, 11, 45, 5)) + * //=> 45 + */ +export declare function getMinutes( + date: DateArg & {}, + options?: GetMinutesOptions | undefined, +): number; diff --git a/node_modules/date-fns/getMinutes.d.ts b/node_modules/date-fns/getMinutes.d.ts new file mode 100644 index 0000000000000000000000000000000000000000..d5ddd20491b1e771a37a4d0b63164371953871d4 --- /dev/null +++ b/node_modules/date-fns/getMinutes.d.ts @@ -0,0 +1,27 @@ +import type { ContextOptions, DateArg } from "./types.ts"; +/** + * The {@link getMinutes} function options. + */ +export interface GetMinutesOptions extends ContextOptions {} +/** + * @name getMinutes + * @category Minute Helpers + * @summary Get the minutes of the given date. + * + * @description + * Get the minutes of the given date. + * + * @param date - The given date + * @param options - The options + * + * @returns The minutes + * + * @example + * // Get the minutes of 29 February 2012 11:45:05: + * const result = getMinutes(new Date(2012, 1, 29, 11, 45, 5)) + * //=> 45 + */ +export declare function getMinutes( + date: DateArg & {}, + options?: GetMinutesOptions | undefined, +): number; diff --git a/node_modules/date-fns/getMinutes.js b/node_modules/date-fns/getMinutes.js new file mode 100644 index 0000000000000000000000000000000000000000..0b54b51740cd709203c64b082b8a313769c003bf --- /dev/null +++ b/node_modules/date-fns/getMinutes.js @@ -0,0 +1,30 @@ +import { toDate } from "./toDate.js"; + +/** + * The {@link getMinutes} function options. + */ + +/** + * @name getMinutes + * @category Minute Helpers + * @summary Get the minutes of the given date. + * + * @description + * Get the minutes of the given date. + * + * @param date - The given date + * @param options - The options + * + * @returns The minutes + * + * @example + * // Get the minutes of 29 February 2012 11:45:05: + * const result = getMinutes(new Date(2012, 1, 29, 11, 45, 5)) + * //=> 45 + */ +export function getMinutes(date, options) { + return toDate(date, options?.in).getMinutes(); +} + +// Fallback for modularized imports: +export default getMinutes; diff --git a/node_modules/date-fns/getMonth.cjs b/node_modules/date-fns/getMonth.cjs new file mode 100644 index 0000000000000000000000000000000000000000..aa697ca5c8874469ad7055bc483e8b31e541c064 --- /dev/null +++ b/node_modules/date-fns/getMonth.cjs @@ -0,0 +1,29 @@ +"use strict"; +exports.getMonth = getMonth; +var _index = require("./toDate.cjs"); + +/** + * The {@link getMonth} function options. + */ + +/** + * @name getMonth + * @category Month Helpers + * @summary Get the month of the given date. + * + * @description + * Get the month of the given date. + * + * @param date - The given date + * @param options - An object with options + * + * @returns The month index (0-11) + * + * @example + * // Which month is 29 February 2012? + * const result = getMonth(new Date(2012, 1, 29)) + * //=> 1 + */ +function getMonth(date, options) { + return (0, _index.toDate)(date, options?.in).getMonth(); +} diff --git a/node_modules/date-fns/getMonth.d.cts b/node_modules/date-fns/getMonth.d.cts new file mode 100644 index 0000000000000000000000000000000000000000..2637b1923d485f5559fbc8c4e9a8858385b0d6d1 --- /dev/null +++ b/node_modules/date-fns/getMonth.d.cts @@ -0,0 +1,27 @@ +import type { ContextOptions, DateArg } from "./types.ts"; +/** + * The {@link getMonth} function options. + */ +export interface GetMonthOptions extends ContextOptions {} +/** + * @name getMonth + * @category Month Helpers + * @summary Get the month of the given date. + * + * @description + * Get the month of the given date. + * + * @param date - The given date + * @param options - An object with options + * + * @returns The month index (0-11) + * + * @example + * // Which month is 29 February 2012? + * const result = getMonth(new Date(2012, 1, 29)) + * //=> 1 + */ +export declare function getMonth( + date: DateArg & {}, + options?: GetMonthOptions | undefined, +): number; diff --git a/node_modules/date-fns/getMonth.d.ts b/node_modules/date-fns/getMonth.d.ts new file mode 100644 index 0000000000000000000000000000000000000000..2637b1923d485f5559fbc8c4e9a8858385b0d6d1 --- /dev/null +++ b/node_modules/date-fns/getMonth.d.ts @@ -0,0 +1,27 @@ +import type { ContextOptions, DateArg } from "./types.ts"; +/** + * The {@link getMonth} function options. + */ +export interface GetMonthOptions extends ContextOptions {} +/** + * @name getMonth + * @category Month Helpers + * @summary Get the month of the given date. + * + * @description + * Get the month of the given date. + * + * @param date - The given date + * @param options - An object with options + * + * @returns The month index (0-11) + * + * @example + * // Which month is 29 February 2012? + * const result = getMonth(new Date(2012, 1, 29)) + * //=> 1 + */ +export declare function getMonth( + date: DateArg & {}, + options?: GetMonthOptions | undefined, +): number; diff --git a/node_modules/date-fns/getMonth.js b/node_modules/date-fns/getMonth.js new file mode 100644 index 0000000000000000000000000000000000000000..ec0a7716c0dfca2b66ee949d30382607609cf1b1 --- /dev/null +++ b/node_modules/date-fns/getMonth.js @@ -0,0 +1,30 @@ +import { toDate } from "./toDate.js"; + +/** + * The {@link getMonth} function options. + */ + +/** + * @name getMonth + * @category Month Helpers + * @summary Get the month of the given date. + * + * @description + * Get the month of the given date. + * + * @param date - The given date + * @param options - An object with options + * + * @returns The month index (0-11) + * + * @example + * // Which month is 29 February 2012? + * const result = getMonth(new Date(2012, 1, 29)) + * //=> 1 + */ +export function getMonth(date, options) { + return toDate(date, options?.in).getMonth(); +} + +// Fallback for modularized imports: +export default getMonth; diff --git a/node_modules/date-fns/getOverlappingDaysInIntervals.cjs b/node_modules/date-fns/getOverlappingDaysInIntervals.cjs new file mode 100644 index 0000000000000000000000000000000000000000..ca4a1bdb5cd42e185f164aab395f14e125d50e60 --- /dev/null +++ b/node_modules/date-fns/getOverlappingDaysInIntervals.cjs @@ -0,0 +1,67 @@ +"use strict"; +exports.getOverlappingDaysInIntervals = getOverlappingDaysInIntervals; +var _index = require("./_lib/getTimezoneOffsetInMilliseconds.cjs"); +var _index2 = require("./constants.cjs"); +var _index3 = require("./toDate.cjs"); + +/** + * @name getOverlappingDaysInIntervals + * @category Interval Helpers + * @summary Get the number of days that overlap in two time intervals + * + * @description + * Get the number of days that overlap in two time intervals. It uses the time + * between dates to calculate the number of days, rounding it up to include + * partial days. + * + * Two equal 0-length intervals will result in 0. Two equal 1ms intervals will + * result in 1. + * + * @param intervalLeft - The first interval to compare. + * @param intervalRight - The second interval to compare. + * @param options - An object with options + * + * @returns The number of days that overlap in two time intervals + * + * @example + * // For overlapping time intervals adds 1 for each started overlapping day: + * getOverlappingDaysInIntervals( + * { start: new Date(2014, 0, 10), end: new Date(2014, 0, 20) }, + * { start: new Date(2014, 0, 17), end: new Date(2014, 0, 21) } + * ) + * //=> 3 + * + * @example + * // For non-overlapping time intervals returns 0: + * getOverlappingDaysInIntervals( + * { start: new Date(2014, 0, 10), end: new Date(2014, 0, 20) }, + * { start: new Date(2014, 0, 21), end: new Date(2014, 0, 22) } + * ) + * //=> 0 + */ + +function getOverlappingDaysInIntervals(intervalLeft, intervalRight) { + const [leftStart, leftEnd] = [ + +(0, _index3.toDate)(intervalLeft.start), + +(0, _index3.toDate)(intervalLeft.end), + ].sort((a, b) => a - b); + const [rightStart, rightEnd] = [ + +(0, _index3.toDate)(intervalRight.start), + +(0, _index3.toDate)(intervalRight.end), + ].sort((a, b) => a - b); + + // Prevent NaN result if intervals don't overlap at all. + const isOverlapping = leftStart < rightEnd && rightStart < leftEnd; + if (!isOverlapping) return 0; + + // Remove the timezone offset to negate the DST effect on calculations. + const overlapLeft = rightStart < leftStart ? leftStart : rightStart; + const left = + overlapLeft - (0, _index.getTimezoneOffsetInMilliseconds)(overlapLeft); + const overlapRight = rightEnd > leftEnd ? leftEnd : rightEnd; + const right = + overlapRight - (0, _index.getTimezoneOffsetInMilliseconds)(overlapRight); + + // Ceil the number to include partial days too. + return Math.ceil((right - left) / _index2.millisecondsInDay); +} diff --git a/node_modules/date-fns/getOverlappingDaysInIntervals.d.cts b/node_modules/date-fns/getOverlappingDaysInIntervals.d.cts new file mode 100644 index 0000000000000000000000000000000000000000..763acc1da99870cc37ebe346532783ddfdd657cc --- /dev/null +++ b/node_modules/date-fns/getOverlappingDaysInIntervals.d.cts @@ -0,0 +1,40 @@ +import type { Interval } from "./types.ts"; +/** + * @name getOverlappingDaysInIntervals + * @category Interval Helpers + * @summary Get the number of days that overlap in two time intervals + * + * @description + * Get the number of days that overlap in two time intervals. It uses the time + * between dates to calculate the number of days, rounding it up to include + * partial days. + * + * Two equal 0-length intervals will result in 0. Two equal 1ms intervals will + * result in 1. + * + * @param intervalLeft - The first interval to compare. + * @param intervalRight - The second interval to compare. + * @param options - An object with options + * + * @returns The number of days that overlap in two time intervals + * + * @example + * // For overlapping time intervals adds 1 for each started overlapping day: + * getOverlappingDaysInIntervals( + * { start: new Date(2014, 0, 10), end: new Date(2014, 0, 20) }, + * { start: new Date(2014, 0, 17), end: new Date(2014, 0, 21) } + * ) + * //=> 3 + * + * @example + * // For non-overlapping time intervals returns 0: + * getOverlappingDaysInIntervals( + * { start: new Date(2014, 0, 10), end: new Date(2014, 0, 20) }, + * { start: new Date(2014, 0, 21), end: new Date(2014, 0, 22) } + * ) + * //=> 0 + */ +export declare function getOverlappingDaysInIntervals( + intervalLeft: Interval, + intervalRight: Interval, +): number; diff --git a/node_modules/date-fns/getOverlappingDaysInIntervals.d.ts b/node_modules/date-fns/getOverlappingDaysInIntervals.d.ts new file mode 100644 index 0000000000000000000000000000000000000000..763acc1da99870cc37ebe346532783ddfdd657cc --- /dev/null +++ b/node_modules/date-fns/getOverlappingDaysInIntervals.d.ts @@ -0,0 +1,40 @@ +import type { Interval } from "./types.ts"; +/** + * @name getOverlappingDaysInIntervals + * @category Interval Helpers + * @summary Get the number of days that overlap in two time intervals + * + * @description + * Get the number of days that overlap in two time intervals. It uses the time + * between dates to calculate the number of days, rounding it up to include + * partial days. + * + * Two equal 0-length intervals will result in 0. Two equal 1ms intervals will + * result in 1. + * + * @param intervalLeft - The first interval to compare. + * @param intervalRight - The second interval to compare. + * @param options - An object with options + * + * @returns The number of days that overlap in two time intervals + * + * @example + * // For overlapping time intervals adds 1 for each started overlapping day: + * getOverlappingDaysInIntervals( + * { start: new Date(2014, 0, 10), end: new Date(2014, 0, 20) }, + * { start: new Date(2014, 0, 17), end: new Date(2014, 0, 21) } + * ) + * //=> 3 + * + * @example + * // For non-overlapping time intervals returns 0: + * getOverlappingDaysInIntervals( + * { start: new Date(2014, 0, 10), end: new Date(2014, 0, 20) }, + * { start: new Date(2014, 0, 21), end: new Date(2014, 0, 22) } + * ) + * //=> 0 + */ +export declare function getOverlappingDaysInIntervals( + intervalLeft: Interval, + intervalRight: Interval, +): number; diff --git a/node_modules/date-fns/getOverlappingDaysInIntervals.js b/node_modules/date-fns/getOverlappingDaysInIntervals.js new file mode 100644 index 0000000000000000000000000000000000000000..18a039824df1ad78cce4c8f34fd978da508bc0d2 --- /dev/null +++ b/node_modules/date-fns/getOverlappingDaysInIntervals.js @@ -0,0 +1,66 @@ +import { getTimezoneOffsetInMilliseconds } from "./_lib/getTimezoneOffsetInMilliseconds.js"; +import { millisecondsInDay } from "./constants.js"; +import { toDate } from "./toDate.js"; + +/** + * @name getOverlappingDaysInIntervals + * @category Interval Helpers + * @summary Get the number of days that overlap in two time intervals + * + * @description + * Get the number of days that overlap in two time intervals. It uses the time + * between dates to calculate the number of days, rounding it up to include + * partial days. + * + * Two equal 0-length intervals will result in 0. Two equal 1ms intervals will + * result in 1. + * + * @param intervalLeft - The first interval to compare. + * @param intervalRight - The second interval to compare. + * @param options - An object with options + * + * @returns The number of days that overlap in two time intervals + * + * @example + * // For overlapping time intervals adds 1 for each started overlapping day: + * getOverlappingDaysInIntervals( + * { start: new Date(2014, 0, 10), end: new Date(2014, 0, 20) }, + * { start: new Date(2014, 0, 17), end: new Date(2014, 0, 21) } + * ) + * //=> 3 + * + * @example + * // For non-overlapping time intervals returns 0: + * getOverlappingDaysInIntervals( + * { start: new Date(2014, 0, 10), end: new Date(2014, 0, 20) }, + * { start: new Date(2014, 0, 21), end: new Date(2014, 0, 22) } + * ) + * //=> 0 + */ + +export function getOverlappingDaysInIntervals(intervalLeft, intervalRight) { + const [leftStart, leftEnd] = [ + +toDate(intervalLeft.start), + +toDate(intervalLeft.end), + ].sort((a, b) => a - b); + const [rightStart, rightEnd] = [ + +toDate(intervalRight.start), + +toDate(intervalRight.end), + ].sort((a, b) => a - b); + + // Prevent NaN result if intervals don't overlap at all. + const isOverlapping = leftStart < rightEnd && rightStart < leftEnd; + if (!isOverlapping) return 0; + + // Remove the timezone offset to negate the DST effect on calculations. + const overlapLeft = rightStart < leftStart ? leftStart : rightStart; + const left = overlapLeft - getTimezoneOffsetInMilliseconds(overlapLeft); + const overlapRight = rightEnd > leftEnd ? leftEnd : rightEnd; + const right = overlapRight - getTimezoneOffsetInMilliseconds(overlapRight); + + // Ceil the number to include partial days too. + return Math.ceil((right - left) / millisecondsInDay); +} + +// Fallback for modularized imports: +export default getOverlappingDaysInIntervals; diff --git a/node_modules/date-fns/getQuarter.cjs b/node_modules/date-fns/getQuarter.cjs new file mode 100644 index 0000000000000000000000000000000000000000..9320e197b0c1959dc18a950b1e47f1bdfb9b2567 --- /dev/null +++ b/node_modules/date-fns/getQuarter.cjs @@ -0,0 +1,31 @@ +"use strict"; +exports.getQuarter = getQuarter; +var _index = require("./toDate.cjs"); + +/** + * The {@link getQuarter} function options. + */ + +/** + * @name getQuarter + * @category Quarter Helpers + * @summary Get the year quarter of the given date. + * + * @description + * Get the year quarter of the given date. + * + * @param date - The given date + * @param options - An object with options + * + * @returns The quarter + * + * @example + * // Which quarter is 2 July 2014? + * const result = getQuarter(new Date(2014, 6, 2)); + * //=> 3 + */ +function getQuarter(date, options) { + const _date = (0, _index.toDate)(date, options?.in); + const quarter = Math.trunc(_date.getMonth() / 3) + 1; + return quarter; +} diff --git a/node_modules/date-fns/getQuarter.d.cts b/node_modules/date-fns/getQuarter.d.cts new file mode 100644 index 0000000000000000000000000000000000000000..b245f89fe16bb0832700e4e8af6dfc134f317d71 --- /dev/null +++ b/node_modules/date-fns/getQuarter.d.cts @@ -0,0 +1,27 @@ +import type { ContextOptions, DateArg } from "./types.ts"; +/** + * The {@link getQuarter} function options. + */ +export interface GetQuarterOptions extends ContextOptions {} +/** + * @name getQuarter + * @category Quarter Helpers + * @summary Get the year quarter of the given date. + * + * @description + * Get the year quarter of the given date. + * + * @param date - The given date + * @param options - An object with options + * + * @returns The quarter + * + * @example + * // Which quarter is 2 July 2014? + * const result = getQuarter(new Date(2014, 6, 2)); + * //=> 3 + */ +export declare function getQuarter( + date: DateArg & {}, + options?: GetQuarterOptions | undefined, +): number; diff --git a/node_modules/date-fns/getQuarter.d.ts b/node_modules/date-fns/getQuarter.d.ts new file mode 100644 index 0000000000000000000000000000000000000000..b245f89fe16bb0832700e4e8af6dfc134f317d71 --- /dev/null +++ b/node_modules/date-fns/getQuarter.d.ts @@ -0,0 +1,27 @@ +import type { ContextOptions, DateArg } from "./types.ts"; +/** + * The {@link getQuarter} function options. + */ +export interface GetQuarterOptions extends ContextOptions {} +/** + * @name getQuarter + * @category Quarter Helpers + * @summary Get the year quarter of the given date. + * + * @description + * Get the year quarter of the given date. + * + * @param date - The given date + * @param options - An object with options + * + * @returns The quarter + * + * @example + * // Which quarter is 2 July 2014? + * const result = getQuarter(new Date(2014, 6, 2)); + * //=> 3 + */ +export declare function getQuarter( + date: DateArg & {}, + options?: GetQuarterOptions | undefined, +): number; diff --git a/node_modules/date-fns/getQuarter.js b/node_modules/date-fns/getQuarter.js new file mode 100644 index 0000000000000000000000000000000000000000..edb9d8d05c11723dc84ef5d8ebe0ef764b850044 --- /dev/null +++ b/node_modules/date-fns/getQuarter.js @@ -0,0 +1,32 @@ +import { toDate } from "./toDate.js"; + +/** + * The {@link getQuarter} function options. + */ + +/** + * @name getQuarter + * @category Quarter Helpers + * @summary Get the year quarter of the given date. + * + * @description + * Get the year quarter of the given date. + * + * @param date - The given date + * @param options - An object with options + * + * @returns The quarter + * + * @example + * // Which quarter is 2 July 2014? + * const result = getQuarter(new Date(2014, 6, 2)); + * //=> 3 + */ +export function getQuarter(date, options) { + const _date = toDate(date, options?.in); + const quarter = Math.trunc(_date.getMonth() / 3) + 1; + return quarter; +} + +// Fallback for modularized imports: +export default getQuarter; diff --git a/node_modules/date-fns/getSeconds.cjs b/node_modules/date-fns/getSeconds.cjs new file mode 100644 index 0000000000000000000000000000000000000000..8c546eaa1a8b5176a61c6efb8c97ac35e9431e19 --- /dev/null +++ b/node_modules/date-fns/getSeconds.cjs @@ -0,0 +1,24 @@ +"use strict"; +exports.getSeconds = getSeconds; +var _index = require("./toDate.cjs"); + +/** + * @name getSeconds + * @category Second Helpers + * @summary Get the seconds of the given date. + * + * @description + * Get the seconds of the given date. + * + * @param date - The given date + * + * @returns The seconds + * + * @example + * // Get the seconds of 29 February 2012 11:45:05.123: + * const result = getSeconds(new Date(2012, 1, 29, 11, 45, 5, 123)) + * //=> 5 + */ +function getSeconds(date) { + return (0, _index.toDate)(date).getSeconds(); +} diff --git a/node_modules/date-fns/getSeconds.d.cts b/node_modules/date-fns/getSeconds.d.cts new file mode 100644 index 0000000000000000000000000000000000000000..b6298dd1f4de061972a86b3d63c496ab2b48857e --- /dev/null +++ b/node_modules/date-fns/getSeconds.d.cts @@ -0,0 +1,19 @@ +import type { DateArg } from "./types.ts"; +/** + * @name getSeconds + * @category Second Helpers + * @summary Get the seconds of the given date. + * + * @description + * Get the seconds of the given date. + * + * @param date - The given date + * + * @returns The seconds + * + * @example + * // Get the seconds of 29 February 2012 11:45:05.123: + * const result = getSeconds(new Date(2012, 1, 29, 11, 45, 5, 123)) + * //=> 5 + */ +export declare function getSeconds(date: DateArg & {}): number; diff --git a/node_modules/date-fns/getSeconds.d.ts b/node_modules/date-fns/getSeconds.d.ts new file mode 100644 index 0000000000000000000000000000000000000000..b6298dd1f4de061972a86b3d63c496ab2b48857e --- /dev/null +++ b/node_modules/date-fns/getSeconds.d.ts @@ -0,0 +1,19 @@ +import type { DateArg } from "./types.ts"; +/** + * @name getSeconds + * @category Second Helpers + * @summary Get the seconds of the given date. + * + * @description + * Get the seconds of the given date. + * + * @param date - The given date + * + * @returns The seconds + * + * @example + * // Get the seconds of 29 February 2012 11:45:05.123: + * const result = getSeconds(new Date(2012, 1, 29, 11, 45, 5, 123)) + * //=> 5 + */ +export declare function getSeconds(date: DateArg & {}): number; diff --git a/node_modules/date-fns/getSeconds.js b/node_modules/date-fns/getSeconds.js new file mode 100644 index 0000000000000000000000000000000000000000..7b4a2bde73bc9a16f38aee08e3af859dc635ef30 --- /dev/null +++ b/node_modules/date-fns/getSeconds.js @@ -0,0 +1,25 @@ +import { toDate } from "./toDate.js"; + +/** + * @name getSeconds + * @category Second Helpers + * @summary Get the seconds of the given date. + * + * @description + * Get the seconds of the given date. + * + * @param date - The given date + * + * @returns The seconds + * + * @example + * // Get the seconds of 29 February 2012 11:45:05.123: + * const result = getSeconds(new Date(2012, 1, 29, 11, 45, 5, 123)) + * //=> 5 + */ +export function getSeconds(date) { + return toDate(date).getSeconds(); +} + +// Fallback for modularized imports: +export default getSeconds; diff --git a/node_modules/date-fns/getTime.cjs b/node_modules/date-fns/getTime.cjs new file mode 100644 index 0000000000000000000000000000000000000000..ef5d8fdc71716ec224687b0f0bf30d9b75259676 --- /dev/null +++ b/node_modules/date-fns/getTime.cjs @@ -0,0 +1,24 @@ +"use strict"; +exports.getTime = getTime; +var _index = require("./toDate.cjs"); + +/** + * @name getTime + * @category Timestamp Helpers + * @summary Get the milliseconds timestamp of the given date. + * + * @description + * Get the milliseconds timestamp of the given date. + * + * @param date - The given date + * + * @returns The timestamp + * + * @example + * // Get the timestamp of 29 February 2012 11:45:05.123: + * const result = getTime(new Date(2012, 1, 29, 11, 45, 5, 123)) + * //=> 1330515905123 + */ +function getTime(date) { + return +(0, _index.toDate)(date); +} diff --git a/node_modules/date-fns/getTime.d.cts b/node_modules/date-fns/getTime.d.cts new file mode 100644 index 0000000000000000000000000000000000000000..b373f66fa33acf6c4a7e778ce434850d69e3177f --- /dev/null +++ b/node_modules/date-fns/getTime.d.cts @@ -0,0 +1,19 @@ +import type { DateArg } from "./types.ts"; +/** + * @name getTime + * @category Timestamp Helpers + * @summary Get the milliseconds timestamp of the given date. + * + * @description + * Get the milliseconds timestamp of the given date. + * + * @param date - The given date + * + * @returns The timestamp + * + * @example + * // Get the timestamp of 29 February 2012 11:45:05.123: + * const result = getTime(new Date(2012, 1, 29, 11, 45, 5, 123)) + * //=> 1330515905123 + */ +export declare function getTime(date: DateArg & {}): number; diff --git a/node_modules/date-fns/getTime.d.ts b/node_modules/date-fns/getTime.d.ts new file mode 100644 index 0000000000000000000000000000000000000000..b373f66fa33acf6c4a7e778ce434850d69e3177f --- /dev/null +++ b/node_modules/date-fns/getTime.d.ts @@ -0,0 +1,19 @@ +import type { DateArg } from "./types.ts"; +/** + * @name getTime + * @category Timestamp Helpers + * @summary Get the milliseconds timestamp of the given date. + * + * @description + * Get the milliseconds timestamp of the given date. + * + * @param date - The given date + * + * @returns The timestamp + * + * @example + * // Get the timestamp of 29 February 2012 11:45:05.123: + * const result = getTime(new Date(2012, 1, 29, 11, 45, 5, 123)) + * //=> 1330515905123 + */ +export declare function getTime(date: DateArg & {}): number; diff --git a/node_modules/date-fns/getTime.js b/node_modules/date-fns/getTime.js new file mode 100644 index 0000000000000000000000000000000000000000..e7a3aa82f6ab24e8e39d7a660621ce040e44ea13 --- /dev/null +++ b/node_modules/date-fns/getTime.js @@ -0,0 +1,25 @@ +import { toDate } from "./toDate.js"; + +/** + * @name getTime + * @category Timestamp Helpers + * @summary Get the milliseconds timestamp of the given date. + * + * @description + * Get the milliseconds timestamp of the given date. + * + * @param date - The given date + * + * @returns The timestamp + * + * @example + * // Get the timestamp of 29 February 2012 11:45:05.123: + * const result = getTime(new Date(2012, 1, 29, 11, 45, 5, 123)) + * //=> 1330515905123 + */ +export function getTime(date) { + return +toDate(date); +} + +// Fallback for modularized imports: +export default getTime; diff --git a/node_modules/date-fns/getUnixTime.cjs b/node_modules/date-fns/getUnixTime.cjs new file mode 100644 index 0000000000000000000000000000000000000000..3b82d9b3aa67dbdc4a0126586a27ff1457dbb0ef --- /dev/null +++ b/node_modules/date-fns/getUnixTime.cjs @@ -0,0 +1,24 @@ +"use strict"; +exports.getUnixTime = getUnixTime; +var _index = require("./toDate.cjs"); + +/** + * @name getUnixTime + * @category Timestamp Helpers + * @summary Get the seconds timestamp of the given date. + * + * @description + * Get the seconds timestamp of the given date. + * + * @param date - The given date + * + * @returns The timestamp + * + * @example + * // Get the timestamp of 29 February 2012 11:45:05 CET: + * const result = getUnixTime(new Date(2012, 1, 29, 11, 45, 5)) + * //=> 1330512305 + */ +function getUnixTime(date) { + return Math.trunc(+(0, _index.toDate)(date) / 1000); +} diff --git a/node_modules/date-fns/getUnixTime.d.cts b/node_modules/date-fns/getUnixTime.d.cts new file mode 100644 index 0000000000000000000000000000000000000000..25c0e08d2f25a56df04c892b9760b72871bf7130 --- /dev/null +++ b/node_modules/date-fns/getUnixTime.d.cts @@ -0,0 +1,19 @@ +import type { DateArg } from "./types.ts"; +/** + * @name getUnixTime + * @category Timestamp Helpers + * @summary Get the seconds timestamp of the given date. + * + * @description + * Get the seconds timestamp of the given date. + * + * @param date - The given date + * + * @returns The timestamp + * + * @example + * // Get the timestamp of 29 February 2012 11:45:05 CET: + * const result = getUnixTime(new Date(2012, 1, 29, 11, 45, 5)) + * //=> 1330512305 + */ +export declare function getUnixTime(date: DateArg & {}): number; diff --git a/node_modules/date-fns/getUnixTime.d.ts b/node_modules/date-fns/getUnixTime.d.ts new file mode 100644 index 0000000000000000000000000000000000000000..25c0e08d2f25a56df04c892b9760b72871bf7130 --- /dev/null +++ b/node_modules/date-fns/getUnixTime.d.ts @@ -0,0 +1,19 @@ +import type { DateArg } from "./types.ts"; +/** + * @name getUnixTime + * @category Timestamp Helpers + * @summary Get the seconds timestamp of the given date. + * + * @description + * Get the seconds timestamp of the given date. + * + * @param date - The given date + * + * @returns The timestamp + * + * @example + * // Get the timestamp of 29 February 2012 11:45:05 CET: + * const result = getUnixTime(new Date(2012, 1, 29, 11, 45, 5)) + * //=> 1330512305 + */ +export declare function getUnixTime(date: DateArg & {}): number; diff --git a/node_modules/date-fns/getUnixTime.js b/node_modules/date-fns/getUnixTime.js new file mode 100644 index 0000000000000000000000000000000000000000..f7e54327bb557454eaffdf01500308ff842ca398 --- /dev/null +++ b/node_modules/date-fns/getUnixTime.js @@ -0,0 +1,25 @@ +import { toDate } from "./toDate.js"; + +/** + * @name getUnixTime + * @category Timestamp Helpers + * @summary Get the seconds timestamp of the given date. + * + * @description + * Get the seconds timestamp of the given date. + * + * @param date - The given date + * + * @returns The timestamp + * + * @example + * // Get the timestamp of 29 February 2012 11:45:05 CET: + * const result = getUnixTime(new Date(2012, 1, 29, 11, 45, 5)) + * //=> 1330512305 + */ +export function getUnixTime(date) { + return Math.trunc(+toDate(date) / 1000); +} + +// Fallback for modularized imports: +export default getUnixTime; diff --git a/node_modules/date-fns/getWeek.cjs b/node_modules/date-fns/getWeek.cjs new file mode 100644 index 0000000000000000000000000000000000000000..02b82243d4cf2eaa2a6ae52accfd722993c5903a --- /dev/null +++ b/node_modules/date-fns/getWeek.cjs @@ -0,0 +1,56 @@ +"use strict"; +exports.getWeek = getWeek; +var _index = require("./constants.cjs"); +var _index2 = require("./startOfWeek.cjs"); +var _index3 = require("./startOfWeekYear.cjs"); +var _index4 = require("./toDate.cjs"); + +/** + * The {@link getWeek} function options. + */ + +/** + * @name getWeek + * @category Week Helpers + * @summary Get the local week index of the given date. + * + * @description + * Get the local week index of the given date. + * The exact calculation depends on the values of + * `options.weekStartsOn` (which is the index of the first day of the week) + * and `options.firstWeekContainsDate` (which is the day of January, which is always in + * the first week of the week-numbering year) + * + * Week numbering: https://en.wikipedia.org/wiki/Week#The_ISO_week_date_system + * + * @param date - The given date + * @param options - An object with options + * + * @returns The week + * + * @example + * // Which week of the local week numbering year is 2 January 2005 with default options? + * const result = getWeek(new Date(2005, 0, 2)) + * //=> 2 + * + * @example + * // Which week of the local week numbering year is 2 January 2005, + * // if Monday is the first day of the week, + * // and the first week of the year always contains 4 January? + * const result = getWeek(new Date(2005, 0, 2), { + * weekStartsOn: 1, + * firstWeekContainsDate: 4 + * }) + * //=> 53 + */ +function getWeek(date, options) { + const _date = (0, _index4.toDate)(date, options?.in); + const diff = + +(0, _index2.startOfWeek)(_date, options) - + +(0, _index3.startOfWeekYear)(_date, options); + + // Round the number of weeks to the nearest integer because the number of + // milliseconds in a week is not constant (e.g. it's different in the week of + // the daylight saving time clock shift). + return Math.round(diff / _index.millisecondsInWeek) + 1; +} diff --git a/node_modules/date-fns/getWeek.d.cts b/node_modules/date-fns/getWeek.d.cts new file mode 100644 index 0000000000000000000000000000000000000000..0d73155a2b01ca0a8a360214659e40b830e162e4 --- /dev/null +++ b/node_modules/date-fns/getWeek.d.cts @@ -0,0 +1,53 @@ +import type { + ContextOptions, + DateArg, + FirstWeekContainsDateOptions, + LocalizedOptions, + WeekOptions, +} from "./types.ts"; +/** + * The {@link getWeek} function options. + */ +export interface GetWeekOptions + extends LocalizedOptions<"options">, + WeekOptions, + FirstWeekContainsDateOptions, + ContextOptions {} +/** + * @name getWeek + * @category Week Helpers + * @summary Get the local week index of the given date. + * + * @description + * Get the local week index of the given date. + * The exact calculation depends on the values of + * `options.weekStartsOn` (which is the index of the first day of the week) + * and `options.firstWeekContainsDate` (which is the day of January, which is always in + * the first week of the week-numbering year) + * + * Week numbering: https://en.wikipedia.org/wiki/Week#The_ISO_week_date_system + * + * @param date - The given date + * @param options - An object with options + * + * @returns The week + * + * @example + * // Which week of the local week numbering year is 2 January 2005 with default options? + * const result = getWeek(new Date(2005, 0, 2)) + * //=> 2 + * + * @example + * // Which week of the local week numbering year is 2 January 2005, + * // if Monday is the first day of the week, + * // and the first week of the year always contains 4 January? + * const result = getWeek(new Date(2005, 0, 2), { + * weekStartsOn: 1, + * firstWeekContainsDate: 4 + * }) + * //=> 53 + */ +export declare function getWeek( + date: DateArg & {}, + options?: GetWeekOptions | undefined, +): number; diff --git a/node_modules/date-fns/getWeek.d.ts b/node_modules/date-fns/getWeek.d.ts new file mode 100644 index 0000000000000000000000000000000000000000..0d73155a2b01ca0a8a360214659e40b830e162e4 --- /dev/null +++ b/node_modules/date-fns/getWeek.d.ts @@ -0,0 +1,53 @@ +import type { + ContextOptions, + DateArg, + FirstWeekContainsDateOptions, + LocalizedOptions, + WeekOptions, +} from "./types.ts"; +/** + * The {@link getWeek} function options. + */ +export interface GetWeekOptions + extends LocalizedOptions<"options">, + WeekOptions, + FirstWeekContainsDateOptions, + ContextOptions {} +/** + * @name getWeek + * @category Week Helpers + * @summary Get the local week index of the given date. + * + * @description + * Get the local week index of the given date. + * The exact calculation depends on the values of + * `options.weekStartsOn` (which is the index of the first day of the week) + * and `options.firstWeekContainsDate` (which is the day of January, which is always in + * the first week of the week-numbering year) + * + * Week numbering: https://en.wikipedia.org/wiki/Week#The_ISO_week_date_system + * + * @param date - The given date + * @param options - An object with options + * + * @returns The week + * + * @example + * // Which week of the local week numbering year is 2 January 2005 with default options? + * const result = getWeek(new Date(2005, 0, 2)) + * //=> 2 + * + * @example + * // Which week of the local week numbering year is 2 January 2005, + * // if Monday is the first day of the week, + * // and the first week of the year always contains 4 January? + * const result = getWeek(new Date(2005, 0, 2), { + * weekStartsOn: 1, + * firstWeekContainsDate: 4 + * }) + * //=> 53 + */ +export declare function getWeek( + date: DateArg & {}, + options?: GetWeekOptions | undefined, +): number; diff --git a/node_modules/date-fns/getWeek.js b/node_modules/date-fns/getWeek.js new file mode 100644 index 0000000000000000000000000000000000000000..5b2aa11e5ba805731e108dce01908d46d1ad8049 --- /dev/null +++ b/node_modules/date-fns/getWeek.js @@ -0,0 +1,55 @@ +import { millisecondsInWeek } from "./constants.js"; +import { startOfWeek } from "./startOfWeek.js"; +import { startOfWeekYear } from "./startOfWeekYear.js"; +import { toDate } from "./toDate.js"; + +/** + * The {@link getWeek} function options. + */ + +/** + * @name getWeek + * @category Week Helpers + * @summary Get the local week index of the given date. + * + * @description + * Get the local week index of the given date. + * The exact calculation depends on the values of + * `options.weekStartsOn` (which is the index of the first day of the week) + * and `options.firstWeekContainsDate` (which is the day of January, which is always in + * the first week of the week-numbering year) + * + * Week numbering: https://en.wikipedia.org/wiki/Week#The_ISO_week_date_system + * + * @param date - The given date + * @param options - An object with options + * + * @returns The week + * + * @example + * // Which week of the local week numbering year is 2 January 2005 with default options? + * const result = getWeek(new Date(2005, 0, 2)) + * //=> 2 + * + * @example + * // Which week of the local week numbering year is 2 January 2005, + * // if Monday is the first day of the week, + * // and the first week of the year always contains 4 January? + * const result = getWeek(new Date(2005, 0, 2), { + * weekStartsOn: 1, + * firstWeekContainsDate: 4 + * }) + * //=> 53 + */ +export function getWeek(date, options) { + const _date = toDate(date, options?.in); + const diff = +startOfWeek(_date, options) - +startOfWeekYear(_date, options); + + // Round the number of weeks to the nearest integer because the number of + // milliseconds in a week is not constant (e.g. it's different in the week of + // the daylight saving time clock shift). + return Math.round(diff / millisecondsInWeek) + 1; +} + +// Fallback for modularized imports: +export default getWeek; diff --git a/node_modules/date-fns/getWeekOfMonth.cjs b/node_modules/date-fns/getWeekOfMonth.cjs new file mode 100644 index 0000000000000000000000000000000000000000..e260e4847b46d64f6c8b585c296a10218d77a276 --- /dev/null +++ b/node_modules/date-fns/getWeekOfMonth.cjs @@ -0,0 +1,54 @@ +"use strict"; +exports.getWeekOfMonth = getWeekOfMonth; +var _index = require("./_lib/defaultOptions.cjs"); +var _index2 = require("./getDate.cjs"); +var _index3 = require("./getDay.cjs"); +var _index4 = require("./startOfMonth.cjs"); +var _index5 = require("./toDate.cjs"); + +/** + * The {@link getWeekOfMonth} function options. + */ + +/** + * @name getWeekOfMonth + * @category Week Helpers + * @summary Get the week of the month of the given date. + * + * @description + * Get the week of the month of the given date. + * + * @param date - The given date + * @param options - An object with options. + * + * @returns The week of month + * + * @example + * // Which week of the month is 9 November 2017? + * const result = getWeekOfMonth(new Date(2017, 10, 9)) + * //=> 2 + */ +function getWeekOfMonth(date, options) { + const defaultOptions = (0, _index.getDefaultOptions)(); + const weekStartsOn = + options?.weekStartsOn ?? + options?.locale?.options?.weekStartsOn ?? + defaultOptions.weekStartsOn ?? + defaultOptions.locale?.options?.weekStartsOn ?? + 0; + + const currentDayOfMonth = (0, _index2.getDate)( + (0, _index5.toDate)(date, options?.in), + ); + if (isNaN(currentDayOfMonth)) return NaN; + + const startWeekDay = (0, _index3.getDay)( + (0, _index4.startOfMonth)(date, options), + ); + + let lastDayOfFirstWeek = weekStartsOn - startWeekDay; + if (lastDayOfFirstWeek <= 0) lastDayOfFirstWeek += 7; + + const remainingDaysAfterFirstWeek = currentDayOfMonth - lastDayOfFirstWeek; + return Math.ceil(remainingDaysAfterFirstWeek / 7) + 1; +} diff --git a/node_modules/date-fns/getWeekOfMonth.d.cts b/node_modules/date-fns/getWeekOfMonth.d.cts new file mode 100644 index 0000000000000000000000000000000000000000..d6053b590fdcf8ee52b0bcd5b693e921441aeb28 --- /dev/null +++ b/node_modules/date-fns/getWeekOfMonth.d.cts @@ -0,0 +1,35 @@ +import type { + ContextOptions, + DateArg, + LocalizedOptions, + WeekOptions, +} from "./types.ts"; +/** + * The {@link getWeekOfMonth} function options. + */ +export interface GetWeekOfMonthOptions + extends LocalizedOptions<"options">, + WeekOptions, + ContextOptions {} +/** + * @name getWeekOfMonth + * @category Week Helpers + * @summary Get the week of the month of the given date. + * + * @description + * Get the week of the month of the given date. + * + * @param date - The given date + * @param options - An object with options. + * + * @returns The week of month + * + * @example + * // Which week of the month is 9 November 2017? + * const result = getWeekOfMonth(new Date(2017, 10, 9)) + * //=> 2 + */ +export declare function getWeekOfMonth( + date: DateArg & {}, + options?: GetWeekOfMonthOptions, +): number; diff --git a/node_modules/date-fns/getWeekOfMonth.d.ts b/node_modules/date-fns/getWeekOfMonth.d.ts new file mode 100644 index 0000000000000000000000000000000000000000..d6053b590fdcf8ee52b0bcd5b693e921441aeb28 --- /dev/null +++ b/node_modules/date-fns/getWeekOfMonth.d.ts @@ -0,0 +1,35 @@ +import type { + ContextOptions, + DateArg, + LocalizedOptions, + WeekOptions, +} from "./types.ts"; +/** + * The {@link getWeekOfMonth} function options. + */ +export interface GetWeekOfMonthOptions + extends LocalizedOptions<"options">, + WeekOptions, + ContextOptions {} +/** + * @name getWeekOfMonth + * @category Week Helpers + * @summary Get the week of the month of the given date. + * + * @description + * Get the week of the month of the given date. + * + * @param date - The given date + * @param options - An object with options. + * + * @returns The week of month + * + * @example + * // Which week of the month is 9 November 2017? + * const result = getWeekOfMonth(new Date(2017, 10, 9)) + * //=> 2 + */ +export declare function getWeekOfMonth( + date: DateArg & {}, + options?: GetWeekOfMonthOptions, +): number; diff --git a/node_modules/date-fns/getWeekOfMonth.js b/node_modules/date-fns/getWeekOfMonth.js new file mode 100644 index 0000000000000000000000000000000000000000..ce0d14ec8dd193c6ec587cc1516f20c460e66806 --- /dev/null +++ b/node_modules/date-fns/getWeekOfMonth.js @@ -0,0 +1,51 @@ +import { getDefaultOptions } from "./_lib/defaultOptions.js"; +import { getDate } from "./getDate.js"; +import { getDay } from "./getDay.js"; +import { startOfMonth } from "./startOfMonth.js"; +import { toDate } from "./toDate.js"; + +/** + * The {@link getWeekOfMonth} function options. + */ + +/** + * @name getWeekOfMonth + * @category Week Helpers + * @summary Get the week of the month of the given date. + * + * @description + * Get the week of the month of the given date. + * + * @param date - The given date + * @param options - An object with options. + * + * @returns The week of month + * + * @example + * // Which week of the month is 9 November 2017? + * const result = getWeekOfMonth(new Date(2017, 10, 9)) + * //=> 2 + */ +export function getWeekOfMonth(date, options) { + const defaultOptions = getDefaultOptions(); + const weekStartsOn = + options?.weekStartsOn ?? + options?.locale?.options?.weekStartsOn ?? + defaultOptions.weekStartsOn ?? + defaultOptions.locale?.options?.weekStartsOn ?? + 0; + + const currentDayOfMonth = getDate(toDate(date, options?.in)); + if (isNaN(currentDayOfMonth)) return NaN; + + const startWeekDay = getDay(startOfMonth(date, options)); + + let lastDayOfFirstWeek = weekStartsOn - startWeekDay; + if (lastDayOfFirstWeek <= 0) lastDayOfFirstWeek += 7; + + const remainingDaysAfterFirstWeek = currentDayOfMonth - lastDayOfFirstWeek; + return Math.ceil(remainingDaysAfterFirstWeek / 7) + 1; +} + +// Fallback for modularized imports: +export default getWeekOfMonth; diff --git a/node_modules/date-fns/getWeekYear.cjs b/node_modules/date-fns/getWeekYear.cjs new file mode 100644 index 0000000000000000000000000000000000000000..041f8ffca28f34f5f2a0354624d8b5acee392637 --- /dev/null +++ b/node_modules/date-fns/getWeekYear.cjs @@ -0,0 +1,87 @@ +"use strict"; +exports.getWeekYear = getWeekYear; +var _index = require("./_lib/defaultOptions.cjs"); +var _index2 = require("./constructFrom.cjs"); +var _index3 = require("./startOfWeek.cjs"); +var _index4 = require("./toDate.cjs"); + +/** + * The {@link getWeekYear} function options. + */ + +/** + * @name getWeekYear + * @category Week-Numbering Year Helpers + * @summary Get the local week-numbering year of the given date. + * + * @description + * Get the local week-numbering year of the given date. + * The exact calculation depends on the values of + * `options.weekStartsOn` (which is the index of the first day of the week) + * and `options.firstWeekContainsDate` (which is the day of January, which is always in + * the first week of the week-numbering year) + * + * Week numbering: https://en.wikipedia.org/wiki/Week#The_ISO_week_date_system + * + * @param date - The given date + * @param options - An object with options. + * + * @returns The local week-numbering year + * + * @example + * // Which week numbering year is 26 December 2004 with the default settings? + * const result = getWeekYear(new Date(2004, 11, 26)) + * //=> 2005 + * + * @example + * // Which week numbering year is 26 December 2004 if week starts on Saturday? + * const result = getWeekYear(new Date(2004, 11, 26), { weekStartsOn: 6 }) + * //=> 2004 + * + * @example + * // Which week numbering year is 26 December 2004 if the first week contains 4 January? + * const result = getWeekYear(new Date(2004, 11, 26), { firstWeekContainsDate: 4 }) + * //=> 2004 + */ +function getWeekYear(date, options) { + const _date = (0, _index4.toDate)(date, options?.in); + const year = _date.getFullYear(); + + const defaultOptions = (0, _index.getDefaultOptions)(); + const firstWeekContainsDate = + options?.firstWeekContainsDate ?? + options?.locale?.options?.firstWeekContainsDate ?? + defaultOptions.firstWeekContainsDate ?? + defaultOptions.locale?.options?.firstWeekContainsDate ?? + 1; + + const firstWeekOfNextYear = (0, _index2.constructFrom)( + options?.in || date, + 0, + ); + firstWeekOfNextYear.setFullYear(year + 1, 0, firstWeekContainsDate); + firstWeekOfNextYear.setHours(0, 0, 0, 0); + const startOfNextYear = (0, _index3.startOfWeek)( + firstWeekOfNextYear, + options, + ); + + const firstWeekOfThisYear = (0, _index2.constructFrom)( + options?.in || date, + 0, + ); + firstWeekOfThisYear.setFullYear(year, 0, firstWeekContainsDate); + firstWeekOfThisYear.setHours(0, 0, 0, 0); + const startOfThisYear = (0, _index3.startOfWeek)( + firstWeekOfThisYear, + options, + ); + + if (+_date >= +startOfNextYear) { + return year + 1; + } else if (+_date >= +startOfThisYear) { + return year; + } else { + return year - 1; + } +} diff --git a/node_modules/date-fns/getWeekYear.d.cts b/node_modules/date-fns/getWeekYear.d.cts new file mode 100644 index 0000000000000000000000000000000000000000..d891348e30e63e166092b2044ffe6d485057c623 --- /dev/null +++ b/node_modules/date-fns/getWeekYear.d.cts @@ -0,0 +1,53 @@ +import type { + ContextOptions, + DateArg, + FirstWeekContainsDateOptions, + LocalizedOptions, + WeekOptions, +} from "./types.ts"; +/** + * The {@link getWeekYear} function options. + */ +export interface GetWeekYearOptions + extends LocalizedOptions<"options">, + WeekOptions, + FirstWeekContainsDateOptions, + ContextOptions {} +/** + * @name getWeekYear + * @category Week-Numbering Year Helpers + * @summary Get the local week-numbering year of the given date. + * + * @description + * Get the local week-numbering year of the given date. + * The exact calculation depends on the values of + * `options.weekStartsOn` (which is the index of the first day of the week) + * and `options.firstWeekContainsDate` (which is the day of January, which is always in + * the first week of the week-numbering year) + * + * Week numbering: https://en.wikipedia.org/wiki/Week#The_ISO_week_date_system + * + * @param date - The given date + * @param options - An object with options. + * + * @returns The local week-numbering year + * + * @example + * // Which week numbering year is 26 December 2004 with the default settings? + * const result = getWeekYear(new Date(2004, 11, 26)) + * //=> 2005 + * + * @example + * // Which week numbering year is 26 December 2004 if week starts on Saturday? + * const result = getWeekYear(new Date(2004, 11, 26), { weekStartsOn: 6 }) + * //=> 2004 + * + * @example + * // Which week numbering year is 26 December 2004 if the first week contains 4 January? + * const result = getWeekYear(new Date(2004, 11, 26), { firstWeekContainsDate: 4 }) + * //=> 2004 + */ +export declare function getWeekYear( + date: DateArg & {}, + options?: GetWeekYearOptions, +): number; diff --git a/node_modules/date-fns/getWeekYear.d.ts b/node_modules/date-fns/getWeekYear.d.ts new file mode 100644 index 0000000000000000000000000000000000000000..d891348e30e63e166092b2044ffe6d485057c623 --- /dev/null +++ b/node_modules/date-fns/getWeekYear.d.ts @@ -0,0 +1,53 @@ +import type { + ContextOptions, + DateArg, + FirstWeekContainsDateOptions, + LocalizedOptions, + WeekOptions, +} from "./types.ts"; +/** + * The {@link getWeekYear} function options. + */ +export interface GetWeekYearOptions + extends LocalizedOptions<"options">, + WeekOptions, + FirstWeekContainsDateOptions, + ContextOptions {} +/** + * @name getWeekYear + * @category Week-Numbering Year Helpers + * @summary Get the local week-numbering year of the given date. + * + * @description + * Get the local week-numbering year of the given date. + * The exact calculation depends on the values of + * `options.weekStartsOn` (which is the index of the first day of the week) + * and `options.firstWeekContainsDate` (which is the day of January, which is always in + * the first week of the week-numbering year) + * + * Week numbering: https://en.wikipedia.org/wiki/Week#The_ISO_week_date_system + * + * @param date - The given date + * @param options - An object with options. + * + * @returns The local week-numbering year + * + * @example + * // Which week numbering year is 26 December 2004 with the default settings? + * const result = getWeekYear(new Date(2004, 11, 26)) + * //=> 2005 + * + * @example + * // Which week numbering year is 26 December 2004 if week starts on Saturday? + * const result = getWeekYear(new Date(2004, 11, 26), { weekStartsOn: 6 }) + * //=> 2004 + * + * @example + * // Which week numbering year is 26 December 2004 if the first week contains 4 January? + * const result = getWeekYear(new Date(2004, 11, 26), { firstWeekContainsDate: 4 }) + * //=> 2004 + */ +export declare function getWeekYear( + date: DateArg & {}, + options?: GetWeekYearOptions, +): number; diff --git a/node_modules/date-fns/getWeekYear.js b/node_modules/date-fns/getWeekYear.js new file mode 100644 index 0000000000000000000000000000000000000000..f37c953d8285872eefb955f215dedb0ed2f206b8 --- /dev/null +++ b/node_modules/date-fns/getWeekYear.js @@ -0,0 +1,76 @@ +import { getDefaultOptions } from "./_lib/defaultOptions.js"; +import { constructFrom } from "./constructFrom.js"; +import { startOfWeek } from "./startOfWeek.js"; +import { toDate } from "./toDate.js"; + +/** + * The {@link getWeekYear} function options. + */ + +/** + * @name getWeekYear + * @category Week-Numbering Year Helpers + * @summary Get the local week-numbering year of the given date. + * + * @description + * Get the local week-numbering year of the given date. + * The exact calculation depends on the values of + * `options.weekStartsOn` (which is the index of the first day of the week) + * and `options.firstWeekContainsDate` (which is the day of January, which is always in + * the first week of the week-numbering year) + * + * Week numbering: https://en.wikipedia.org/wiki/Week#The_ISO_week_date_system + * + * @param date - The given date + * @param options - An object with options. + * + * @returns The local week-numbering year + * + * @example + * // Which week numbering year is 26 December 2004 with the default settings? + * const result = getWeekYear(new Date(2004, 11, 26)) + * //=> 2005 + * + * @example + * // Which week numbering year is 26 December 2004 if week starts on Saturday? + * const result = getWeekYear(new Date(2004, 11, 26), { weekStartsOn: 6 }) + * //=> 2004 + * + * @example + * // Which week numbering year is 26 December 2004 if the first week contains 4 January? + * const result = getWeekYear(new Date(2004, 11, 26), { firstWeekContainsDate: 4 }) + * //=> 2004 + */ +export function getWeekYear(date, options) { + const _date = toDate(date, options?.in); + const year = _date.getFullYear(); + + const defaultOptions = getDefaultOptions(); + const firstWeekContainsDate = + options?.firstWeekContainsDate ?? + options?.locale?.options?.firstWeekContainsDate ?? + defaultOptions.firstWeekContainsDate ?? + defaultOptions.locale?.options?.firstWeekContainsDate ?? + 1; + + const firstWeekOfNextYear = constructFrom(options?.in || date, 0); + firstWeekOfNextYear.setFullYear(year + 1, 0, firstWeekContainsDate); + firstWeekOfNextYear.setHours(0, 0, 0, 0); + const startOfNextYear = startOfWeek(firstWeekOfNextYear, options); + + const firstWeekOfThisYear = constructFrom(options?.in || date, 0); + firstWeekOfThisYear.setFullYear(year, 0, firstWeekContainsDate); + firstWeekOfThisYear.setHours(0, 0, 0, 0); + const startOfThisYear = startOfWeek(firstWeekOfThisYear, options); + + if (+_date >= +startOfNextYear) { + return year + 1; + } else if (+_date >= +startOfThisYear) { + return year; + } else { + return year - 1; + } +} + +// Fallback for modularized imports: +export default getWeekYear; diff --git a/node_modules/date-fns/getWeeksInMonth.cjs b/node_modules/date-fns/getWeeksInMonth.cjs new file mode 100644 index 0000000000000000000000000000000000000000..9f561d7249d7decc13bd0f9c49f07fee1c49ab74 --- /dev/null +++ b/node_modules/date-fns/getWeeksInMonth.cjs @@ -0,0 +1,45 @@ +"use strict"; +exports.getWeeksInMonth = getWeeksInMonth; +var _index = require("./differenceInCalendarWeeks.cjs"); +var _index2 = require("./lastDayOfMonth.cjs"); +var _index3 = require("./startOfMonth.cjs"); +var _index4 = require("./toDate.cjs"); + +/** + * The {@link getWeeksInMonth} function options. + */ + +/** + * @name getWeeksInMonth + * @category Week Helpers + * @summary Get the number of calendar weeks a month spans. + * + * @description + * Get the number of calendar weeks the month in the given date spans. + * + * @param date - The given date + * @param options - An object with options. + * + * @returns The number of calendar weeks + * + * @example + * // How many calendar weeks does February 2015 span? + * const result = getWeeksInMonth(new Date(2015, 1, 8)) + * //=> 4 + * + * @example + * // If the week starts on Monday, + * // how many calendar weeks does July 2017 span? + * const result = getWeeksInMonth(new Date(2017, 6, 5), { weekStartsOn: 1 }) + * //=> 6 + */ +function getWeeksInMonth(date, options) { + const contextDate = (0, _index4.toDate)(date, options?.in); + return ( + (0, _index.differenceInCalendarWeeks)( + (0, _index2.lastDayOfMonth)(contextDate, options), + (0, _index3.startOfMonth)(contextDate, options), + options, + ) + 1 + ); +} diff --git a/node_modules/date-fns/getWeeksInMonth.d.cts b/node_modules/date-fns/getWeeksInMonth.d.cts new file mode 100644 index 0000000000000000000000000000000000000000..fc6c7a52d3d5218747153d5e6326027d7dc40751 --- /dev/null +++ b/node_modules/date-fns/getWeeksInMonth.d.cts @@ -0,0 +1,41 @@ +import type { + ContextOptions, + DateArg, + LocalizedOptions, + WeekOptions, +} from "./types.ts"; +/** + * The {@link getWeeksInMonth} function options. + */ +export interface GetWeeksInMonthOptions + extends LocalizedOptions<"options">, + WeekOptions, + ContextOptions {} +/** + * @name getWeeksInMonth + * @category Week Helpers + * @summary Get the number of calendar weeks a month spans. + * + * @description + * Get the number of calendar weeks the month in the given date spans. + * + * @param date - The given date + * @param options - An object with options. + * + * @returns The number of calendar weeks + * + * @example + * // How many calendar weeks does February 2015 span? + * const result = getWeeksInMonth(new Date(2015, 1, 8)) + * //=> 4 + * + * @example + * // If the week starts on Monday, + * // how many calendar weeks does July 2017 span? + * const result = getWeeksInMonth(new Date(2017, 6, 5), { weekStartsOn: 1 }) + * //=> 6 + */ +export declare function getWeeksInMonth( + date: DateArg & {}, + options?: GetWeeksInMonthOptions | undefined, +): number; diff --git a/node_modules/date-fns/getWeeksInMonth.d.ts b/node_modules/date-fns/getWeeksInMonth.d.ts new file mode 100644 index 0000000000000000000000000000000000000000..fc6c7a52d3d5218747153d5e6326027d7dc40751 --- /dev/null +++ b/node_modules/date-fns/getWeeksInMonth.d.ts @@ -0,0 +1,41 @@ +import type { + ContextOptions, + DateArg, + LocalizedOptions, + WeekOptions, +} from "./types.ts"; +/** + * The {@link getWeeksInMonth} function options. + */ +export interface GetWeeksInMonthOptions + extends LocalizedOptions<"options">, + WeekOptions, + ContextOptions {} +/** + * @name getWeeksInMonth + * @category Week Helpers + * @summary Get the number of calendar weeks a month spans. + * + * @description + * Get the number of calendar weeks the month in the given date spans. + * + * @param date - The given date + * @param options - An object with options. + * + * @returns The number of calendar weeks + * + * @example + * // How many calendar weeks does February 2015 span? + * const result = getWeeksInMonth(new Date(2015, 1, 8)) + * //=> 4 + * + * @example + * // If the week starts on Monday, + * // how many calendar weeks does July 2017 span? + * const result = getWeeksInMonth(new Date(2017, 6, 5), { weekStartsOn: 1 }) + * //=> 6 + */ +export declare function getWeeksInMonth( + date: DateArg & {}, + options?: GetWeeksInMonthOptions | undefined, +): number; diff --git a/node_modules/date-fns/getWeeksInMonth.js b/node_modules/date-fns/getWeeksInMonth.js new file mode 100644 index 0000000000000000000000000000000000000000..bf77a0e90e3588fff8071967d1891ec1bc2d9067 --- /dev/null +++ b/node_modules/date-fns/getWeeksInMonth.js @@ -0,0 +1,46 @@ +import { differenceInCalendarWeeks } from "./differenceInCalendarWeeks.js"; +import { lastDayOfMonth } from "./lastDayOfMonth.js"; +import { startOfMonth } from "./startOfMonth.js"; +import { toDate } from "./toDate.js"; + +/** + * The {@link getWeeksInMonth} function options. + */ + +/** + * @name getWeeksInMonth + * @category Week Helpers + * @summary Get the number of calendar weeks a month spans. + * + * @description + * Get the number of calendar weeks the month in the given date spans. + * + * @param date - The given date + * @param options - An object with options. + * + * @returns The number of calendar weeks + * + * @example + * // How many calendar weeks does February 2015 span? + * const result = getWeeksInMonth(new Date(2015, 1, 8)) + * //=> 4 + * + * @example + * // If the week starts on Monday, + * // how many calendar weeks does July 2017 span? + * const result = getWeeksInMonth(new Date(2017, 6, 5), { weekStartsOn: 1 }) + * //=> 6 + */ +export function getWeeksInMonth(date, options) { + const contextDate = toDate(date, options?.in); + return ( + differenceInCalendarWeeks( + lastDayOfMonth(contextDate, options), + startOfMonth(contextDate, options), + options, + ) + 1 + ); +} + +// Fallback for modularized imports: +export default getWeeksInMonth; diff --git a/node_modules/date-fns/getYear.cjs b/node_modules/date-fns/getYear.cjs new file mode 100644 index 0000000000000000000000000000000000000000..29a214568fba92519008c47908e2c646300de3f7 --- /dev/null +++ b/node_modules/date-fns/getYear.cjs @@ -0,0 +1,29 @@ +"use strict"; +exports.getYear = getYear; +var _index = require("./toDate.cjs"); + +/** + * The {@link getYear} function options. + */ + +/** + * @name getYear + * @category Year Helpers + * @summary Get the year of the given date. + * + * @description + * Get the year of the given date. + * + * @param date - The given date + * @param options - An object with options + * + * @returns The year + * + * @example + * // Which year is 2 July 2014? + * const result = getYear(new Date(2014, 6, 2)) + * //=> 2014 + */ +function getYear(date, options) { + return (0, _index.toDate)(date, options?.in).getFullYear(); +} diff --git a/node_modules/date-fns/getYear.d.cts b/node_modules/date-fns/getYear.d.cts new file mode 100644 index 0000000000000000000000000000000000000000..2e6daaade4bd9c699167acbeb6a2e665a63adced --- /dev/null +++ b/node_modules/date-fns/getYear.d.cts @@ -0,0 +1,27 @@ +import type { ContextOptions, DateArg } from "./types.ts"; +/** + * The {@link getYear} function options. + */ +export interface GetYearOptions extends ContextOptions {} +/** + * @name getYear + * @category Year Helpers + * @summary Get the year of the given date. + * + * @description + * Get the year of the given date. + * + * @param date - The given date + * @param options - An object with options + * + * @returns The year + * + * @example + * // Which year is 2 July 2014? + * const result = getYear(new Date(2014, 6, 2)) + * //=> 2014 + */ +export declare function getYear( + date: DateArg & {}, + options?: GetYearOptions | undefined, +): number; diff --git a/node_modules/date-fns/getYear.d.ts b/node_modules/date-fns/getYear.d.ts new file mode 100644 index 0000000000000000000000000000000000000000..2e6daaade4bd9c699167acbeb6a2e665a63adced --- /dev/null +++ b/node_modules/date-fns/getYear.d.ts @@ -0,0 +1,27 @@ +import type { ContextOptions, DateArg } from "./types.ts"; +/** + * The {@link getYear} function options. + */ +export interface GetYearOptions extends ContextOptions {} +/** + * @name getYear + * @category Year Helpers + * @summary Get the year of the given date. + * + * @description + * Get the year of the given date. + * + * @param date - The given date + * @param options - An object with options + * + * @returns The year + * + * @example + * // Which year is 2 July 2014? + * const result = getYear(new Date(2014, 6, 2)) + * //=> 2014 + */ +export declare function getYear( + date: DateArg & {}, + options?: GetYearOptions | undefined, +): number; diff --git a/node_modules/date-fns/getYear.js b/node_modules/date-fns/getYear.js new file mode 100644 index 0000000000000000000000000000000000000000..cd56e0209293ae81782b7d011ee078987e14c569 --- /dev/null +++ b/node_modules/date-fns/getYear.js @@ -0,0 +1,30 @@ +import { toDate } from "./toDate.js"; + +/** + * The {@link getYear} function options. + */ + +/** + * @name getYear + * @category Year Helpers + * @summary Get the year of the given date. + * + * @description + * Get the year of the given date. + * + * @param date - The given date + * @param options - An object with options + * + * @returns The year + * + * @example + * // Which year is 2 July 2014? + * const result = getYear(new Date(2014, 6, 2)) + * //=> 2014 + */ +export function getYear(date, options) { + return toDate(date, options?.in).getFullYear(); +} + +// Fallback for modularized imports: +export default getYear; diff --git a/node_modules/date-fns/hoursToMilliseconds.cjs b/node_modules/date-fns/hoursToMilliseconds.cjs new file mode 100644 index 0000000000000000000000000000000000000000..83940c5850e0cb3d023ebfd0d3094cb04f3dcd49 --- /dev/null +++ b/node_modules/date-fns/hoursToMilliseconds.cjs @@ -0,0 +1,24 @@ +"use strict"; +exports.hoursToMilliseconds = hoursToMilliseconds; +var _index = require("./constants.cjs"); + +/** + * @name hoursToMilliseconds + * @category Conversion Helpers + * @summary Convert hours to milliseconds. + * + * @description + * Convert a number of hours to a full number of milliseconds. + * + * @param hours - number of hours to be converted + * + * @returns The number of hours converted to milliseconds + * + * @example + * // Convert 2 hours to milliseconds: + * const result = hoursToMilliseconds(2) + * //=> 7200000 + */ +function hoursToMilliseconds(hours) { + return Math.trunc(hours * _index.millisecondsInHour); +} diff --git a/node_modules/date-fns/hoursToMilliseconds.d.cts b/node_modules/date-fns/hoursToMilliseconds.d.cts new file mode 100644 index 0000000000000000000000000000000000000000..6edaf8689b81410f846cb0141d002d888db5939c --- /dev/null +++ b/node_modules/date-fns/hoursToMilliseconds.d.cts @@ -0,0 +1,18 @@ +/** + * @name hoursToMilliseconds + * @category Conversion Helpers + * @summary Convert hours to milliseconds. + * + * @description + * Convert a number of hours to a full number of milliseconds. + * + * @param hours - number of hours to be converted + * + * @returns The number of hours converted to milliseconds + * + * @example + * // Convert 2 hours to milliseconds: + * const result = hoursToMilliseconds(2) + * //=> 7200000 + */ +export declare function hoursToMilliseconds(hours: number): number; diff --git a/node_modules/date-fns/hoursToMilliseconds.d.ts b/node_modules/date-fns/hoursToMilliseconds.d.ts new file mode 100644 index 0000000000000000000000000000000000000000..6edaf8689b81410f846cb0141d002d888db5939c --- /dev/null +++ b/node_modules/date-fns/hoursToMilliseconds.d.ts @@ -0,0 +1,18 @@ +/** + * @name hoursToMilliseconds + * @category Conversion Helpers + * @summary Convert hours to milliseconds. + * + * @description + * Convert a number of hours to a full number of milliseconds. + * + * @param hours - number of hours to be converted + * + * @returns The number of hours converted to milliseconds + * + * @example + * // Convert 2 hours to milliseconds: + * const result = hoursToMilliseconds(2) + * //=> 7200000 + */ +export declare function hoursToMilliseconds(hours: number): number; diff --git a/node_modules/date-fns/hoursToMilliseconds.js b/node_modules/date-fns/hoursToMilliseconds.js new file mode 100644 index 0000000000000000000000000000000000000000..bcb524f7969a706d1f62567ae49dbc3c23e2926d --- /dev/null +++ b/node_modules/date-fns/hoursToMilliseconds.js @@ -0,0 +1,25 @@ +import { millisecondsInHour } from "./constants.js"; + +/** + * @name hoursToMilliseconds + * @category Conversion Helpers + * @summary Convert hours to milliseconds. + * + * @description + * Convert a number of hours to a full number of milliseconds. + * + * @param hours - number of hours to be converted + * + * @returns The number of hours converted to milliseconds + * + * @example + * // Convert 2 hours to milliseconds: + * const result = hoursToMilliseconds(2) + * //=> 7200000 + */ +export function hoursToMilliseconds(hours) { + return Math.trunc(hours * millisecondsInHour); +} + +// Fallback for modularized imports: +export default hoursToMilliseconds; diff --git a/node_modules/date-fns/hoursToMinutes.cjs b/node_modules/date-fns/hoursToMinutes.cjs new file mode 100644 index 0000000000000000000000000000000000000000..184d1b204e69343de7350f1fd03b80c4e843449e --- /dev/null +++ b/node_modules/date-fns/hoursToMinutes.cjs @@ -0,0 +1,24 @@ +"use strict"; +exports.hoursToMinutes = hoursToMinutes; +var _index = require("./constants.cjs"); + +/** + * @name hoursToMinutes + * @category Conversion Helpers + * @summary Convert hours to minutes. + * + * @description + * Convert a number of hours to a full number of minutes. + * + * @param hours - number of hours to be converted + * + * @returns The number of hours converted in minutes + * + * @example + * // Convert 2 hours to minutes: + * const result = hoursToMinutes(2) + * //=> 120 + */ +function hoursToMinutes(hours) { + return Math.trunc(hours * _index.minutesInHour); +} diff --git a/node_modules/date-fns/hoursToMinutes.d.cts b/node_modules/date-fns/hoursToMinutes.d.cts new file mode 100644 index 0000000000000000000000000000000000000000..de189a5ddba61f46c3c54aa4c49208819e161c37 --- /dev/null +++ b/node_modules/date-fns/hoursToMinutes.d.cts @@ -0,0 +1,18 @@ +/** + * @name hoursToMinutes + * @category Conversion Helpers + * @summary Convert hours to minutes. + * + * @description + * Convert a number of hours to a full number of minutes. + * + * @param hours - number of hours to be converted + * + * @returns The number of hours converted in minutes + * + * @example + * // Convert 2 hours to minutes: + * const result = hoursToMinutes(2) + * //=> 120 + */ +export declare function hoursToMinutes(hours: number): number; diff --git a/node_modules/date-fns/hoursToMinutes.d.ts b/node_modules/date-fns/hoursToMinutes.d.ts new file mode 100644 index 0000000000000000000000000000000000000000..de189a5ddba61f46c3c54aa4c49208819e161c37 --- /dev/null +++ b/node_modules/date-fns/hoursToMinutes.d.ts @@ -0,0 +1,18 @@ +/** + * @name hoursToMinutes + * @category Conversion Helpers + * @summary Convert hours to minutes. + * + * @description + * Convert a number of hours to a full number of minutes. + * + * @param hours - number of hours to be converted + * + * @returns The number of hours converted in minutes + * + * @example + * // Convert 2 hours to minutes: + * const result = hoursToMinutes(2) + * //=> 120 + */ +export declare function hoursToMinutes(hours: number): number; diff --git a/node_modules/date-fns/hoursToMinutes.js b/node_modules/date-fns/hoursToMinutes.js new file mode 100644 index 0000000000000000000000000000000000000000..9a7d53dbb3396fdcc9098526387057751d1f7453 --- /dev/null +++ b/node_modules/date-fns/hoursToMinutes.js @@ -0,0 +1,25 @@ +import { minutesInHour } from "./constants.js"; + +/** + * @name hoursToMinutes + * @category Conversion Helpers + * @summary Convert hours to minutes. + * + * @description + * Convert a number of hours to a full number of minutes. + * + * @param hours - number of hours to be converted + * + * @returns The number of hours converted in minutes + * + * @example + * // Convert 2 hours to minutes: + * const result = hoursToMinutes(2) + * //=> 120 + */ +export function hoursToMinutes(hours) { + return Math.trunc(hours * minutesInHour); +} + +// Fallback for modularized imports: +export default hoursToMinutes; diff --git a/node_modules/date-fns/hoursToSeconds.cjs b/node_modules/date-fns/hoursToSeconds.cjs new file mode 100644 index 0000000000000000000000000000000000000000..a84ac6f45ea0c6a88385ebff033692eb8432453e --- /dev/null +++ b/node_modules/date-fns/hoursToSeconds.cjs @@ -0,0 +1,24 @@ +"use strict"; +exports.hoursToSeconds = hoursToSeconds; +var _index = require("./constants.cjs"); + +/** + * @name hoursToSeconds + * @category Conversion Helpers + * @summary Convert hours to seconds. + * + * @description + * Convert a number of hours to a full number of seconds. + * + * @param hours - The number of hours to be converted + * + * @returns The number of hours converted in seconds + * + * @example + * // Convert 2 hours to seconds: + * const result = hoursToSeconds(2) + * //=> 7200 + */ +function hoursToSeconds(hours) { + return Math.trunc(hours * _index.secondsInHour); +} diff --git a/node_modules/date-fns/hoursToSeconds.d.cts b/node_modules/date-fns/hoursToSeconds.d.cts new file mode 100644 index 0000000000000000000000000000000000000000..691471edecb0da8c115f797ce65f83ea197bcdb7 --- /dev/null +++ b/node_modules/date-fns/hoursToSeconds.d.cts @@ -0,0 +1,18 @@ +/** + * @name hoursToSeconds + * @category Conversion Helpers + * @summary Convert hours to seconds. + * + * @description + * Convert a number of hours to a full number of seconds. + * + * @param hours - The number of hours to be converted + * + * @returns The number of hours converted in seconds + * + * @example + * // Convert 2 hours to seconds: + * const result = hoursToSeconds(2) + * //=> 7200 + */ +export declare function hoursToSeconds(hours: number): number; diff --git a/node_modules/date-fns/hoursToSeconds.d.ts b/node_modules/date-fns/hoursToSeconds.d.ts new file mode 100644 index 0000000000000000000000000000000000000000..691471edecb0da8c115f797ce65f83ea197bcdb7 --- /dev/null +++ b/node_modules/date-fns/hoursToSeconds.d.ts @@ -0,0 +1,18 @@ +/** + * @name hoursToSeconds + * @category Conversion Helpers + * @summary Convert hours to seconds. + * + * @description + * Convert a number of hours to a full number of seconds. + * + * @param hours - The number of hours to be converted + * + * @returns The number of hours converted in seconds + * + * @example + * // Convert 2 hours to seconds: + * const result = hoursToSeconds(2) + * //=> 7200 + */ +export declare function hoursToSeconds(hours: number): number; diff --git a/node_modules/date-fns/hoursToSeconds.js b/node_modules/date-fns/hoursToSeconds.js new file mode 100644 index 0000000000000000000000000000000000000000..68b13e412deaf7b49457dc48c204c2ba7a1a56a5 --- /dev/null +++ b/node_modules/date-fns/hoursToSeconds.js @@ -0,0 +1,25 @@ +import { secondsInHour } from "./constants.js"; + +/** + * @name hoursToSeconds + * @category Conversion Helpers + * @summary Convert hours to seconds. + * + * @description + * Convert a number of hours to a full number of seconds. + * + * @param hours - The number of hours to be converted + * + * @returns The number of hours converted in seconds + * + * @example + * // Convert 2 hours to seconds: + * const result = hoursToSeconds(2) + * //=> 7200 + */ +export function hoursToSeconds(hours) { + return Math.trunc(hours * secondsInHour); +} + +// Fallback for modularized imports: +export default hoursToSeconds; diff --git a/node_modules/date-fns/index.cjs b/node_modules/date-fns/index.cjs new file mode 100644 index 0000000000000000000000000000000000000000..3b86bb915fbcfc3a55a8506ab875a0b203552e19 --- /dev/null +++ b/node_modules/date-fns/index.cjs @@ -0,0 +1,2697 @@ +"use strict"; + +var _index = require("./add.cjs"); +Object.keys(_index).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (key in exports && exports[key] === _index[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _index[key]; + }, + }); +}); +var _index2 = require("./addBusinessDays.cjs"); +Object.keys(_index2).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (key in exports && exports[key] === _index2[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _index2[key]; + }, + }); +}); +var _index3 = require("./addDays.cjs"); +Object.keys(_index3).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (key in exports && exports[key] === _index3[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _index3[key]; + }, + }); +}); +var _index4 = require("./addHours.cjs"); +Object.keys(_index4).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (key in exports && exports[key] === _index4[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _index4[key]; + }, + }); +}); +var _index5 = require("./addISOWeekYears.cjs"); +Object.keys(_index5).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (key in exports && exports[key] === _index5[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _index5[key]; + }, + }); +}); +var _index6 = require("./addMilliseconds.cjs"); +Object.keys(_index6).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (key in exports && exports[key] === _index6[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _index6[key]; + }, + }); +}); +var _index7 = require("./addMinutes.cjs"); +Object.keys(_index7).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (key in exports && exports[key] === _index7[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _index7[key]; + }, + }); +}); +var _index8 = require("./addMonths.cjs"); +Object.keys(_index8).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (key in exports && exports[key] === _index8[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _index8[key]; + }, + }); +}); +var _index9 = require("./addQuarters.cjs"); +Object.keys(_index9).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (key in exports && exports[key] === _index9[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _index9[key]; + }, + }); +}); +var _index0 = require("./addSeconds.cjs"); +Object.keys(_index0).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (key in exports && exports[key] === _index0[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _index0[key]; + }, + }); +}); +var _index1 = require("./addWeeks.cjs"); +Object.keys(_index1).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (key in exports && exports[key] === _index1[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _index1[key]; + }, + }); +}); +var _index10 = require("./addYears.cjs"); +Object.keys(_index10).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (key in exports && exports[key] === _index10[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _index10[key]; + }, + }); +}); +var _index11 = require("./areIntervalsOverlapping.cjs"); +Object.keys(_index11).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (key in exports && exports[key] === _index11[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _index11[key]; + }, + }); +}); +var _index12 = require("./clamp.cjs"); +Object.keys(_index12).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (key in exports && exports[key] === _index12[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _index12[key]; + }, + }); +}); +var _index13 = require("./closestIndexTo.cjs"); +Object.keys(_index13).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (key in exports && exports[key] === _index13[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _index13[key]; + }, + }); +}); +var _index14 = require("./closestTo.cjs"); +Object.keys(_index14).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (key in exports && exports[key] === _index14[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _index14[key]; + }, + }); +}); +var _index15 = require("./compareAsc.cjs"); +Object.keys(_index15).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (key in exports && exports[key] === _index15[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _index15[key]; + }, + }); +}); +var _index16 = require("./compareDesc.cjs"); +Object.keys(_index16).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (key in exports && exports[key] === _index16[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _index16[key]; + }, + }); +}); +var _index17 = require("./constructFrom.cjs"); +Object.keys(_index17).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (key in exports && exports[key] === _index17[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _index17[key]; + }, + }); +}); +var _index18 = require("./constructNow.cjs"); +Object.keys(_index18).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (key in exports && exports[key] === _index18[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _index18[key]; + }, + }); +}); +var _index19 = require("./daysToWeeks.cjs"); +Object.keys(_index19).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (key in exports && exports[key] === _index19[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _index19[key]; + }, + }); +}); +var _index20 = require("./differenceInBusinessDays.cjs"); +Object.keys(_index20).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (key in exports && exports[key] === _index20[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _index20[key]; + }, + }); +}); +var _index21 = require("./differenceInCalendarDays.cjs"); +Object.keys(_index21).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (key in exports && exports[key] === _index21[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _index21[key]; + }, + }); +}); +var _index22 = require("./differenceInCalendarISOWeekYears.cjs"); +Object.keys(_index22).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (key in exports && exports[key] === _index22[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _index22[key]; + }, + }); +}); +var _index23 = require("./differenceInCalendarISOWeeks.cjs"); +Object.keys(_index23).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (key in exports && exports[key] === _index23[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _index23[key]; + }, + }); +}); +var _index24 = require("./differenceInCalendarMonths.cjs"); +Object.keys(_index24).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (key in exports && exports[key] === _index24[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _index24[key]; + }, + }); +}); +var _index25 = require("./differenceInCalendarQuarters.cjs"); +Object.keys(_index25).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (key in exports && exports[key] === _index25[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _index25[key]; + }, + }); +}); +var _index26 = require("./differenceInCalendarWeeks.cjs"); +Object.keys(_index26).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (key in exports && exports[key] === _index26[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _index26[key]; + }, + }); +}); +var _index27 = require("./differenceInCalendarYears.cjs"); +Object.keys(_index27).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (key in exports && exports[key] === _index27[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _index27[key]; + }, + }); +}); +var _index28 = require("./differenceInDays.cjs"); +Object.keys(_index28).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (key in exports && exports[key] === _index28[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _index28[key]; + }, + }); +}); +var _index29 = require("./differenceInHours.cjs"); +Object.keys(_index29).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (key in exports && exports[key] === _index29[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _index29[key]; + }, + }); +}); +var _index30 = require("./differenceInISOWeekYears.cjs"); +Object.keys(_index30).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (key in exports && exports[key] === _index30[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _index30[key]; + }, + }); +}); +var _index31 = require("./differenceInMilliseconds.cjs"); +Object.keys(_index31).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (key in exports && exports[key] === _index31[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _index31[key]; + }, + }); +}); +var _index32 = require("./differenceInMinutes.cjs"); +Object.keys(_index32).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (key in exports && exports[key] === _index32[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _index32[key]; + }, + }); +}); +var _index33 = require("./differenceInMonths.cjs"); +Object.keys(_index33).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (key in exports && exports[key] === _index33[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _index33[key]; + }, + }); +}); +var _index34 = require("./differenceInQuarters.cjs"); +Object.keys(_index34).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (key in exports && exports[key] === _index34[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _index34[key]; + }, + }); +}); +var _index35 = require("./differenceInSeconds.cjs"); +Object.keys(_index35).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (key in exports && exports[key] === _index35[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _index35[key]; + }, + }); +}); +var _index36 = require("./differenceInWeeks.cjs"); +Object.keys(_index36).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (key in exports && exports[key] === _index36[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _index36[key]; + }, + }); +}); +var _index37 = require("./differenceInYears.cjs"); +Object.keys(_index37).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (key in exports && exports[key] === _index37[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _index37[key]; + }, + }); +}); +var _index38 = require("./eachDayOfInterval.cjs"); +Object.keys(_index38).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (key in exports && exports[key] === _index38[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _index38[key]; + }, + }); +}); +var _index39 = require("./eachHourOfInterval.cjs"); +Object.keys(_index39).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (key in exports && exports[key] === _index39[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _index39[key]; + }, + }); +}); +var _index40 = require("./eachMinuteOfInterval.cjs"); +Object.keys(_index40).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (key in exports && exports[key] === _index40[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _index40[key]; + }, + }); +}); +var _index41 = require("./eachMonthOfInterval.cjs"); +Object.keys(_index41).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (key in exports && exports[key] === _index41[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _index41[key]; + }, + }); +}); +var _index42 = require("./eachQuarterOfInterval.cjs"); +Object.keys(_index42).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (key in exports && exports[key] === _index42[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _index42[key]; + }, + }); +}); +var _index43 = require("./eachWeekOfInterval.cjs"); +Object.keys(_index43).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (key in exports && exports[key] === _index43[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _index43[key]; + }, + }); +}); +var _index44 = require("./eachWeekendOfInterval.cjs"); +Object.keys(_index44).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (key in exports && exports[key] === _index44[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _index44[key]; + }, + }); +}); +var _index45 = require("./eachWeekendOfMonth.cjs"); +Object.keys(_index45).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (key in exports && exports[key] === _index45[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _index45[key]; + }, + }); +}); +var _index46 = require("./eachWeekendOfYear.cjs"); +Object.keys(_index46).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (key in exports && exports[key] === _index46[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _index46[key]; + }, + }); +}); +var _index47 = require("./eachYearOfInterval.cjs"); +Object.keys(_index47).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (key in exports && exports[key] === _index47[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _index47[key]; + }, + }); +}); +var _index48 = require("./endOfDay.cjs"); +Object.keys(_index48).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (key in exports && exports[key] === _index48[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _index48[key]; + }, + }); +}); +var _index49 = require("./endOfDecade.cjs"); +Object.keys(_index49).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (key in exports && exports[key] === _index49[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _index49[key]; + }, + }); +}); +var _index50 = require("./endOfHour.cjs"); +Object.keys(_index50).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (key in exports && exports[key] === _index50[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _index50[key]; + }, + }); +}); +var _index51 = require("./endOfISOWeek.cjs"); +Object.keys(_index51).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (key in exports && exports[key] === _index51[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _index51[key]; + }, + }); +}); +var _index52 = require("./endOfISOWeekYear.cjs"); +Object.keys(_index52).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (key in exports && exports[key] === _index52[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _index52[key]; + }, + }); +}); +var _index53 = require("./endOfMinute.cjs"); +Object.keys(_index53).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (key in exports && exports[key] === _index53[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _index53[key]; + }, + }); +}); +var _index54 = require("./endOfMonth.cjs"); +Object.keys(_index54).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (key in exports && exports[key] === _index54[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _index54[key]; + }, + }); +}); +var _index55 = require("./endOfQuarter.cjs"); +Object.keys(_index55).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (key in exports && exports[key] === _index55[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _index55[key]; + }, + }); +}); +var _index56 = require("./endOfSecond.cjs"); +Object.keys(_index56).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (key in exports && exports[key] === _index56[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _index56[key]; + }, + }); +}); +var _index57 = require("./endOfToday.cjs"); +Object.keys(_index57).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (key in exports && exports[key] === _index57[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _index57[key]; + }, + }); +}); +var _index58 = require("./endOfTomorrow.cjs"); +Object.keys(_index58).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (key in exports && exports[key] === _index58[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _index58[key]; + }, + }); +}); +var _index59 = require("./endOfWeek.cjs"); +Object.keys(_index59).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (key in exports && exports[key] === _index59[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _index59[key]; + }, + }); +}); +var _index60 = require("./endOfYear.cjs"); +Object.keys(_index60).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (key in exports && exports[key] === _index60[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _index60[key]; + }, + }); +}); +var _index61 = require("./endOfYesterday.cjs"); +Object.keys(_index61).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (key in exports && exports[key] === _index61[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _index61[key]; + }, + }); +}); +var _index62 = require("./format.cjs"); +Object.keys(_index62).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (key in exports && exports[key] === _index62[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _index62[key]; + }, + }); +}); +var _index63 = require("./formatDistance.cjs"); +Object.keys(_index63).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (key in exports && exports[key] === _index63[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _index63[key]; + }, + }); +}); +var _index64 = require("./formatDistanceStrict.cjs"); +Object.keys(_index64).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (key in exports && exports[key] === _index64[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _index64[key]; + }, + }); +}); +var _index65 = require("./formatDistanceToNow.cjs"); +Object.keys(_index65).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (key in exports && exports[key] === _index65[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _index65[key]; + }, + }); +}); +var _index66 = require("./formatDistanceToNowStrict.cjs"); +Object.keys(_index66).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (key in exports && exports[key] === _index66[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _index66[key]; + }, + }); +}); +var _index67 = require("./formatDuration.cjs"); +Object.keys(_index67).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (key in exports && exports[key] === _index67[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _index67[key]; + }, + }); +}); +var _index68 = require("./formatISO.cjs"); +Object.keys(_index68).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (key in exports && exports[key] === _index68[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _index68[key]; + }, + }); +}); +var _index69 = require("./formatISO9075.cjs"); +Object.keys(_index69).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (key in exports && exports[key] === _index69[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _index69[key]; + }, + }); +}); +var _index70 = require("./formatISODuration.cjs"); +Object.keys(_index70).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (key in exports && exports[key] === _index70[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _index70[key]; + }, + }); +}); +var _index71 = require("./formatRFC3339.cjs"); +Object.keys(_index71).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (key in exports && exports[key] === _index71[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _index71[key]; + }, + }); +}); +var _index72 = require("./formatRFC7231.cjs"); +Object.keys(_index72).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (key in exports && exports[key] === _index72[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _index72[key]; + }, + }); +}); +var _index73 = require("./formatRelative.cjs"); +Object.keys(_index73).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (key in exports && exports[key] === _index73[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _index73[key]; + }, + }); +}); +var _index74 = require("./fromUnixTime.cjs"); +Object.keys(_index74).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (key in exports && exports[key] === _index74[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _index74[key]; + }, + }); +}); +var _index75 = require("./getDate.cjs"); +Object.keys(_index75).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (key in exports && exports[key] === _index75[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _index75[key]; + }, + }); +}); +var _index76 = require("./getDay.cjs"); +Object.keys(_index76).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (key in exports && exports[key] === _index76[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _index76[key]; + }, + }); +}); +var _index77 = require("./getDayOfYear.cjs"); +Object.keys(_index77).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (key in exports && exports[key] === _index77[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _index77[key]; + }, + }); +}); +var _index78 = require("./getDaysInMonth.cjs"); +Object.keys(_index78).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (key in exports && exports[key] === _index78[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _index78[key]; + }, + }); +}); +var _index79 = require("./getDaysInYear.cjs"); +Object.keys(_index79).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (key in exports && exports[key] === _index79[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _index79[key]; + }, + }); +}); +var _index80 = require("./getDecade.cjs"); +Object.keys(_index80).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (key in exports && exports[key] === _index80[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _index80[key]; + }, + }); +}); +var _index81 = require("./getDefaultOptions.cjs"); +Object.keys(_index81).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (key in exports && exports[key] === _index81[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _index81[key]; + }, + }); +}); +var _index82 = require("./getHours.cjs"); +Object.keys(_index82).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (key in exports && exports[key] === _index82[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _index82[key]; + }, + }); +}); +var _index83 = require("./getISODay.cjs"); +Object.keys(_index83).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (key in exports && exports[key] === _index83[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _index83[key]; + }, + }); +}); +var _index84 = require("./getISOWeek.cjs"); +Object.keys(_index84).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (key in exports && exports[key] === _index84[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _index84[key]; + }, + }); +}); +var _index85 = require("./getISOWeekYear.cjs"); +Object.keys(_index85).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (key in exports && exports[key] === _index85[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _index85[key]; + }, + }); +}); +var _index86 = require("./getISOWeeksInYear.cjs"); +Object.keys(_index86).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (key in exports && exports[key] === _index86[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _index86[key]; + }, + }); +}); +var _index87 = require("./getMilliseconds.cjs"); +Object.keys(_index87).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (key in exports && exports[key] === _index87[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _index87[key]; + }, + }); +}); +var _index88 = require("./getMinutes.cjs"); +Object.keys(_index88).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (key in exports && exports[key] === _index88[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _index88[key]; + }, + }); +}); +var _index89 = require("./getMonth.cjs"); +Object.keys(_index89).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (key in exports && exports[key] === _index89[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _index89[key]; + }, + }); +}); +var _index90 = require("./getOverlappingDaysInIntervals.cjs"); +Object.keys(_index90).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (key in exports && exports[key] === _index90[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _index90[key]; + }, + }); +}); +var _index91 = require("./getQuarter.cjs"); +Object.keys(_index91).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (key in exports && exports[key] === _index91[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _index91[key]; + }, + }); +}); +var _index92 = require("./getSeconds.cjs"); +Object.keys(_index92).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (key in exports && exports[key] === _index92[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _index92[key]; + }, + }); +}); +var _index93 = require("./getTime.cjs"); +Object.keys(_index93).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (key in exports && exports[key] === _index93[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _index93[key]; + }, + }); +}); +var _index94 = require("./getUnixTime.cjs"); +Object.keys(_index94).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (key in exports && exports[key] === _index94[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _index94[key]; + }, + }); +}); +var _index95 = require("./getWeek.cjs"); +Object.keys(_index95).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (key in exports && exports[key] === _index95[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _index95[key]; + }, + }); +}); +var _index96 = require("./getWeekOfMonth.cjs"); +Object.keys(_index96).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (key in exports && exports[key] === _index96[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _index96[key]; + }, + }); +}); +var _index97 = require("./getWeekYear.cjs"); +Object.keys(_index97).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (key in exports && exports[key] === _index97[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _index97[key]; + }, + }); +}); +var _index98 = require("./getWeeksInMonth.cjs"); +Object.keys(_index98).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (key in exports && exports[key] === _index98[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _index98[key]; + }, + }); +}); +var _index99 = require("./getYear.cjs"); +Object.keys(_index99).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (key in exports && exports[key] === _index99[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _index99[key]; + }, + }); +}); +var _index100 = require("./hoursToMilliseconds.cjs"); +Object.keys(_index100).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (key in exports && exports[key] === _index100[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _index100[key]; + }, + }); +}); +var _index101 = require("./hoursToMinutes.cjs"); +Object.keys(_index101).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (key in exports && exports[key] === _index101[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _index101[key]; + }, + }); +}); +var _index102 = require("./hoursToSeconds.cjs"); +Object.keys(_index102).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (key in exports && exports[key] === _index102[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _index102[key]; + }, + }); +}); +var _index103 = require("./interval.cjs"); +Object.keys(_index103).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (key in exports && exports[key] === _index103[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _index103[key]; + }, + }); +}); +var _index104 = require("./intervalToDuration.cjs"); +Object.keys(_index104).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (key in exports && exports[key] === _index104[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _index104[key]; + }, + }); +}); +var _index105 = require("./intlFormat.cjs"); +Object.keys(_index105).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (key in exports && exports[key] === _index105[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _index105[key]; + }, + }); +}); +var _index106 = require("./intlFormatDistance.cjs"); +Object.keys(_index106).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (key in exports && exports[key] === _index106[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _index106[key]; + }, + }); +}); +var _index107 = require("./isAfter.cjs"); +Object.keys(_index107).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (key in exports && exports[key] === _index107[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _index107[key]; + }, + }); +}); +var _index108 = require("./isBefore.cjs"); +Object.keys(_index108).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (key in exports && exports[key] === _index108[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _index108[key]; + }, + }); +}); +var _index109 = require("./isDate.cjs"); +Object.keys(_index109).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (key in exports && exports[key] === _index109[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _index109[key]; + }, + }); +}); +var _index110 = require("./isEqual.cjs"); +Object.keys(_index110).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (key in exports && exports[key] === _index110[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _index110[key]; + }, + }); +}); +var _index111 = require("./isExists.cjs"); +Object.keys(_index111).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (key in exports && exports[key] === _index111[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _index111[key]; + }, + }); +}); +var _index112 = require("./isFirstDayOfMonth.cjs"); +Object.keys(_index112).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (key in exports && exports[key] === _index112[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _index112[key]; + }, + }); +}); +var _index113 = require("./isFriday.cjs"); +Object.keys(_index113).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (key in exports && exports[key] === _index113[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _index113[key]; + }, + }); +}); +var _index114 = require("./isFuture.cjs"); +Object.keys(_index114).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (key in exports && exports[key] === _index114[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _index114[key]; + }, + }); +}); +var _index115 = require("./isLastDayOfMonth.cjs"); +Object.keys(_index115).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (key in exports && exports[key] === _index115[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _index115[key]; + }, + }); +}); +var _index116 = require("./isLeapYear.cjs"); +Object.keys(_index116).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (key in exports && exports[key] === _index116[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _index116[key]; + }, + }); +}); +var _index117 = require("./isMatch.cjs"); +Object.keys(_index117).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (key in exports && exports[key] === _index117[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _index117[key]; + }, + }); +}); +var _index118 = require("./isMonday.cjs"); +Object.keys(_index118).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (key in exports && exports[key] === _index118[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _index118[key]; + }, + }); +}); +var _index119 = require("./isPast.cjs"); +Object.keys(_index119).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (key in exports && exports[key] === _index119[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _index119[key]; + }, + }); +}); +var _index120 = require("./isSameDay.cjs"); +Object.keys(_index120).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (key in exports && exports[key] === _index120[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _index120[key]; + }, + }); +}); +var _index121 = require("./isSameHour.cjs"); +Object.keys(_index121).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (key in exports && exports[key] === _index121[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _index121[key]; + }, + }); +}); +var _index122 = require("./isSameISOWeek.cjs"); +Object.keys(_index122).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (key in exports && exports[key] === _index122[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _index122[key]; + }, + }); +}); +var _index123 = require("./isSameISOWeekYear.cjs"); +Object.keys(_index123).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (key in exports && exports[key] === _index123[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _index123[key]; + }, + }); +}); +var _index124 = require("./isSameMinute.cjs"); +Object.keys(_index124).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (key in exports && exports[key] === _index124[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _index124[key]; + }, + }); +}); +var _index125 = require("./isSameMonth.cjs"); +Object.keys(_index125).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (key in exports && exports[key] === _index125[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _index125[key]; + }, + }); +}); +var _index126 = require("./isSameQuarter.cjs"); +Object.keys(_index126).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (key in exports && exports[key] === _index126[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _index126[key]; + }, + }); +}); +var _index127 = require("./isSameSecond.cjs"); +Object.keys(_index127).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (key in exports && exports[key] === _index127[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _index127[key]; + }, + }); +}); +var _index128 = require("./isSameWeek.cjs"); +Object.keys(_index128).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (key in exports && exports[key] === _index128[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _index128[key]; + }, + }); +}); +var _index129 = require("./isSameYear.cjs"); +Object.keys(_index129).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (key in exports && exports[key] === _index129[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _index129[key]; + }, + }); +}); +var _index130 = require("./isSaturday.cjs"); +Object.keys(_index130).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (key in exports && exports[key] === _index130[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _index130[key]; + }, + }); +}); +var _index131 = require("./isSunday.cjs"); +Object.keys(_index131).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (key in exports && exports[key] === _index131[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _index131[key]; + }, + }); +}); +var _index132 = require("./isThisHour.cjs"); +Object.keys(_index132).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (key in exports && exports[key] === _index132[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _index132[key]; + }, + }); +}); +var _index133 = require("./isThisISOWeek.cjs"); +Object.keys(_index133).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (key in exports && exports[key] === _index133[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _index133[key]; + }, + }); +}); +var _index134 = require("./isThisMinute.cjs"); +Object.keys(_index134).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (key in exports && exports[key] === _index134[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _index134[key]; + }, + }); +}); +var _index135 = require("./isThisMonth.cjs"); +Object.keys(_index135).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (key in exports && exports[key] === _index135[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _index135[key]; + }, + }); +}); +var _index136 = require("./isThisQuarter.cjs"); +Object.keys(_index136).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (key in exports && exports[key] === _index136[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _index136[key]; + }, + }); +}); +var _index137 = require("./isThisSecond.cjs"); +Object.keys(_index137).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (key in exports && exports[key] === _index137[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _index137[key]; + }, + }); +}); +var _index138 = require("./isThisWeek.cjs"); +Object.keys(_index138).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (key in exports && exports[key] === _index138[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _index138[key]; + }, + }); +}); +var _index139 = require("./isThisYear.cjs"); +Object.keys(_index139).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (key in exports && exports[key] === _index139[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _index139[key]; + }, + }); +}); +var _index140 = require("./isThursday.cjs"); +Object.keys(_index140).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (key in exports && exports[key] === _index140[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _index140[key]; + }, + }); +}); +var _index141 = require("./isToday.cjs"); +Object.keys(_index141).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (key in exports && exports[key] === _index141[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _index141[key]; + }, + }); +}); +var _index142 = require("./isTomorrow.cjs"); +Object.keys(_index142).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (key in exports && exports[key] === _index142[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _index142[key]; + }, + }); +}); +var _index143 = require("./isTuesday.cjs"); +Object.keys(_index143).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (key in exports && exports[key] === _index143[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _index143[key]; + }, + }); +}); +var _index144 = require("./isValid.cjs"); +Object.keys(_index144).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (key in exports && exports[key] === _index144[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _index144[key]; + }, + }); +}); +var _index145 = require("./isWednesday.cjs"); +Object.keys(_index145).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (key in exports && exports[key] === _index145[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _index145[key]; + }, + }); +}); +var _index146 = require("./isWeekend.cjs"); +Object.keys(_index146).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (key in exports && exports[key] === _index146[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _index146[key]; + }, + }); +}); +var _index147 = require("./isWithinInterval.cjs"); +Object.keys(_index147).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (key in exports && exports[key] === _index147[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _index147[key]; + }, + }); +}); +var _index148 = require("./isYesterday.cjs"); +Object.keys(_index148).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (key in exports && exports[key] === _index148[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _index148[key]; + }, + }); +}); +var _index149 = require("./lastDayOfDecade.cjs"); +Object.keys(_index149).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (key in exports && exports[key] === _index149[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _index149[key]; + }, + }); +}); +var _index150 = require("./lastDayOfISOWeek.cjs"); +Object.keys(_index150).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (key in exports && exports[key] === _index150[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _index150[key]; + }, + }); +}); +var _index151 = require("./lastDayOfISOWeekYear.cjs"); +Object.keys(_index151).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (key in exports && exports[key] === _index151[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _index151[key]; + }, + }); +}); +var _index152 = require("./lastDayOfMonth.cjs"); +Object.keys(_index152).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (key in exports && exports[key] === _index152[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _index152[key]; + }, + }); +}); +var _index153 = require("./lastDayOfQuarter.cjs"); +Object.keys(_index153).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (key in exports && exports[key] === _index153[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _index153[key]; + }, + }); +}); +var _index154 = require("./lastDayOfWeek.cjs"); +Object.keys(_index154).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (key in exports && exports[key] === _index154[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _index154[key]; + }, + }); +}); +var _index155 = require("./lastDayOfYear.cjs"); +Object.keys(_index155).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (key in exports && exports[key] === _index155[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _index155[key]; + }, + }); +}); +var _index156 = require("./lightFormat.cjs"); +Object.keys(_index156).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (key in exports && exports[key] === _index156[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _index156[key]; + }, + }); +}); +var _index157 = require("./max.cjs"); +Object.keys(_index157).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (key in exports && exports[key] === _index157[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _index157[key]; + }, + }); +}); +var _index158 = require("./milliseconds.cjs"); +Object.keys(_index158).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (key in exports && exports[key] === _index158[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _index158[key]; + }, + }); +}); +var _index159 = require("./millisecondsToHours.cjs"); +Object.keys(_index159).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (key in exports && exports[key] === _index159[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _index159[key]; + }, + }); +}); +var _index160 = require("./millisecondsToMinutes.cjs"); +Object.keys(_index160).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (key in exports && exports[key] === _index160[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _index160[key]; + }, + }); +}); +var _index161 = require("./millisecondsToSeconds.cjs"); +Object.keys(_index161).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (key in exports && exports[key] === _index161[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _index161[key]; + }, + }); +}); +var _index162 = require("./min.cjs"); +Object.keys(_index162).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (key in exports && exports[key] === _index162[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _index162[key]; + }, + }); +}); +var _index163 = require("./minutesToHours.cjs"); +Object.keys(_index163).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (key in exports && exports[key] === _index163[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _index163[key]; + }, + }); +}); +var _index164 = require("./minutesToMilliseconds.cjs"); +Object.keys(_index164).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (key in exports && exports[key] === _index164[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _index164[key]; + }, + }); +}); +var _index165 = require("./minutesToSeconds.cjs"); +Object.keys(_index165).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (key in exports && exports[key] === _index165[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _index165[key]; + }, + }); +}); +var _index166 = require("./monthsToQuarters.cjs"); +Object.keys(_index166).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (key in exports && exports[key] === _index166[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _index166[key]; + }, + }); +}); +var _index167 = require("./monthsToYears.cjs"); +Object.keys(_index167).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (key in exports && exports[key] === _index167[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _index167[key]; + }, + }); +}); +var _index168 = require("./nextDay.cjs"); +Object.keys(_index168).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (key in exports && exports[key] === _index168[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _index168[key]; + }, + }); +}); +var _index169 = require("./nextFriday.cjs"); +Object.keys(_index169).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (key in exports && exports[key] === _index169[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _index169[key]; + }, + }); +}); +var _index170 = require("./nextMonday.cjs"); +Object.keys(_index170).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (key in exports && exports[key] === _index170[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _index170[key]; + }, + }); +}); +var _index171 = require("./nextSaturday.cjs"); +Object.keys(_index171).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (key in exports && exports[key] === _index171[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _index171[key]; + }, + }); +}); +var _index172 = require("./nextSunday.cjs"); +Object.keys(_index172).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (key in exports && exports[key] === _index172[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _index172[key]; + }, + }); +}); +var _index173 = require("./nextThursday.cjs"); +Object.keys(_index173).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (key in exports && exports[key] === _index173[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _index173[key]; + }, + }); +}); +var _index174 = require("./nextTuesday.cjs"); +Object.keys(_index174).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (key in exports && exports[key] === _index174[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _index174[key]; + }, + }); +}); +var _index175 = require("./nextWednesday.cjs"); +Object.keys(_index175).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (key in exports && exports[key] === _index175[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _index175[key]; + }, + }); +}); +var _index176 = require("./parse.cjs"); +Object.keys(_index176).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (key in exports && exports[key] === _index176[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _index176[key]; + }, + }); +}); +var _index177 = require("./parseISO.cjs"); +Object.keys(_index177).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (key in exports && exports[key] === _index177[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _index177[key]; + }, + }); +}); +var _index178 = require("./parseJSON.cjs"); +Object.keys(_index178).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (key in exports && exports[key] === _index178[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _index178[key]; + }, + }); +}); +var _index179 = require("./previousDay.cjs"); +Object.keys(_index179).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (key in exports && exports[key] === _index179[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _index179[key]; + }, + }); +}); +var _index180 = require("./previousFriday.cjs"); +Object.keys(_index180).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (key in exports && exports[key] === _index180[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _index180[key]; + }, + }); +}); +var _index181 = require("./previousMonday.cjs"); +Object.keys(_index181).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (key in exports && exports[key] === _index181[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _index181[key]; + }, + }); +}); +var _index182 = require("./previousSaturday.cjs"); +Object.keys(_index182).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (key in exports && exports[key] === _index182[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _index182[key]; + }, + }); +}); +var _index183 = require("./previousSunday.cjs"); +Object.keys(_index183).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (key in exports && exports[key] === _index183[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _index183[key]; + }, + }); +}); +var _index184 = require("./previousThursday.cjs"); +Object.keys(_index184).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (key in exports && exports[key] === _index184[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _index184[key]; + }, + }); +}); +var _index185 = require("./previousTuesday.cjs"); +Object.keys(_index185).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (key in exports && exports[key] === _index185[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _index185[key]; + }, + }); +}); +var _index186 = require("./previousWednesday.cjs"); +Object.keys(_index186).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (key in exports && exports[key] === _index186[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _index186[key]; + }, + }); +}); +var _index187 = require("./quartersToMonths.cjs"); +Object.keys(_index187).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (key in exports && exports[key] === _index187[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _index187[key]; + }, + }); +}); +var _index188 = require("./quartersToYears.cjs"); +Object.keys(_index188).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (key in exports && exports[key] === _index188[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _index188[key]; + }, + }); +}); +var _index189 = require("./roundToNearestHours.cjs"); +Object.keys(_index189).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (key in exports && exports[key] === _index189[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _index189[key]; + }, + }); +}); +var _index190 = require("./roundToNearestMinutes.cjs"); +Object.keys(_index190).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (key in exports && exports[key] === _index190[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _index190[key]; + }, + }); +}); +var _index191 = require("./secondsToHours.cjs"); +Object.keys(_index191).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (key in exports && exports[key] === _index191[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _index191[key]; + }, + }); +}); +var _index192 = require("./secondsToMilliseconds.cjs"); +Object.keys(_index192).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (key in exports && exports[key] === _index192[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _index192[key]; + }, + }); +}); +var _index193 = require("./secondsToMinutes.cjs"); +Object.keys(_index193).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (key in exports && exports[key] === _index193[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _index193[key]; + }, + }); +}); +var _index194 = require("./set.cjs"); +Object.keys(_index194).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (key in exports && exports[key] === _index194[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _index194[key]; + }, + }); +}); +var _index195 = require("./setDate.cjs"); +Object.keys(_index195).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (key in exports && exports[key] === _index195[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _index195[key]; + }, + }); +}); +var _index196 = require("./setDay.cjs"); +Object.keys(_index196).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (key in exports && exports[key] === _index196[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _index196[key]; + }, + }); +}); +var _index197 = require("./setDayOfYear.cjs"); +Object.keys(_index197).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (key in exports && exports[key] === _index197[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _index197[key]; + }, + }); +}); +var _index198 = require("./setDefaultOptions.cjs"); +Object.keys(_index198).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (key in exports && exports[key] === _index198[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _index198[key]; + }, + }); +}); +var _index199 = require("./setHours.cjs"); +Object.keys(_index199).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (key in exports && exports[key] === _index199[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _index199[key]; + }, + }); +}); +var _index200 = require("./setISODay.cjs"); +Object.keys(_index200).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (key in exports && exports[key] === _index200[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _index200[key]; + }, + }); +}); +var _index201 = require("./setISOWeek.cjs"); +Object.keys(_index201).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (key in exports && exports[key] === _index201[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _index201[key]; + }, + }); +}); +var _index202 = require("./setISOWeekYear.cjs"); +Object.keys(_index202).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (key in exports && exports[key] === _index202[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _index202[key]; + }, + }); +}); +var _index203 = require("./setMilliseconds.cjs"); +Object.keys(_index203).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (key in exports && exports[key] === _index203[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _index203[key]; + }, + }); +}); +var _index204 = require("./setMinutes.cjs"); +Object.keys(_index204).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (key in exports && exports[key] === _index204[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _index204[key]; + }, + }); +}); +var _index205 = require("./setMonth.cjs"); +Object.keys(_index205).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (key in exports && exports[key] === _index205[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _index205[key]; + }, + }); +}); +var _index206 = require("./setQuarter.cjs"); +Object.keys(_index206).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (key in exports && exports[key] === _index206[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _index206[key]; + }, + }); +}); +var _index207 = require("./setSeconds.cjs"); +Object.keys(_index207).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (key in exports && exports[key] === _index207[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _index207[key]; + }, + }); +}); +var _index208 = require("./setWeek.cjs"); +Object.keys(_index208).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (key in exports && exports[key] === _index208[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _index208[key]; + }, + }); +}); +var _index209 = require("./setWeekYear.cjs"); +Object.keys(_index209).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (key in exports && exports[key] === _index209[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _index209[key]; + }, + }); +}); +var _index210 = require("./setYear.cjs"); +Object.keys(_index210).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (key in exports && exports[key] === _index210[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _index210[key]; + }, + }); +}); +var _index211 = require("./startOfDay.cjs"); +Object.keys(_index211).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (key in exports && exports[key] === _index211[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _index211[key]; + }, + }); +}); +var _index212 = require("./startOfDecade.cjs"); +Object.keys(_index212).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (key in exports && exports[key] === _index212[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _index212[key]; + }, + }); +}); +var _index213 = require("./startOfHour.cjs"); +Object.keys(_index213).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (key in exports && exports[key] === _index213[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _index213[key]; + }, + }); +}); +var _index214 = require("./startOfISOWeek.cjs"); +Object.keys(_index214).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (key in exports && exports[key] === _index214[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _index214[key]; + }, + }); +}); +var _index215 = require("./startOfISOWeekYear.cjs"); +Object.keys(_index215).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (key in exports && exports[key] === _index215[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _index215[key]; + }, + }); +}); +var _index216 = require("./startOfMinute.cjs"); +Object.keys(_index216).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (key in exports && exports[key] === _index216[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _index216[key]; + }, + }); +}); +var _index217 = require("./startOfMonth.cjs"); +Object.keys(_index217).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (key in exports && exports[key] === _index217[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _index217[key]; + }, + }); +}); +var _index218 = require("./startOfQuarter.cjs"); +Object.keys(_index218).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (key in exports && exports[key] === _index218[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _index218[key]; + }, + }); +}); +var _index219 = require("./startOfSecond.cjs"); +Object.keys(_index219).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (key in exports && exports[key] === _index219[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _index219[key]; + }, + }); +}); +var _index220 = require("./startOfToday.cjs"); +Object.keys(_index220).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (key in exports && exports[key] === _index220[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _index220[key]; + }, + }); +}); +var _index221 = require("./startOfTomorrow.cjs"); +Object.keys(_index221).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (key in exports && exports[key] === _index221[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _index221[key]; + }, + }); +}); +var _index222 = require("./startOfWeek.cjs"); +Object.keys(_index222).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (key in exports && exports[key] === _index222[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _index222[key]; + }, + }); +}); +var _index223 = require("./startOfWeekYear.cjs"); +Object.keys(_index223).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (key in exports && exports[key] === _index223[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _index223[key]; + }, + }); +}); +var _index224 = require("./startOfYear.cjs"); +Object.keys(_index224).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (key in exports && exports[key] === _index224[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _index224[key]; + }, + }); +}); +var _index225 = require("./startOfYesterday.cjs"); +Object.keys(_index225).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (key in exports && exports[key] === _index225[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _index225[key]; + }, + }); +}); +var _index226 = require("./sub.cjs"); +Object.keys(_index226).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (key in exports && exports[key] === _index226[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _index226[key]; + }, + }); +}); +var _index227 = require("./subBusinessDays.cjs"); +Object.keys(_index227).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (key in exports && exports[key] === _index227[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _index227[key]; + }, + }); +}); +var _index228 = require("./subDays.cjs"); +Object.keys(_index228).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (key in exports && exports[key] === _index228[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _index228[key]; + }, + }); +}); +var _index229 = require("./subHours.cjs"); +Object.keys(_index229).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (key in exports && exports[key] === _index229[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _index229[key]; + }, + }); +}); +var _index230 = require("./subISOWeekYears.cjs"); +Object.keys(_index230).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (key in exports && exports[key] === _index230[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _index230[key]; + }, + }); +}); +var _index231 = require("./subMilliseconds.cjs"); +Object.keys(_index231).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (key in exports && exports[key] === _index231[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _index231[key]; + }, + }); +}); +var _index232 = require("./subMinutes.cjs"); +Object.keys(_index232).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (key in exports && exports[key] === _index232[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _index232[key]; + }, + }); +}); +var _index233 = require("./subMonths.cjs"); +Object.keys(_index233).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (key in exports && exports[key] === _index233[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _index233[key]; + }, + }); +}); +var _index234 = require("./subQuarters.cjs"); +Object.keys(_index234).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (key in exports && exports[key] === _index234[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _index234[key]; + }, + }); +}); +var _index235 = require("./subSeconds.cjs"); +Object.keys(_index235).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (key in exports && exports[key] === _index235[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _index235[key]; + }, + }); +}); +var _index236 = require("./subWeeks.cjs"); +Object.keys(_index236).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (key in exports && exports[key] === _index236[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _index236[key]; + }, + }); +}); +var _index237 = require("./subYears.cjs"); +Object.keys(_index237).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (key in exports && exports[key] === _index237[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _index237[key]; + }, + }); +}); +var _index238 = require("./toDate.cjs"); +Object.keys(_index238).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (key in exports && exports[key] === _index238[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _index238[key]; + }, + }); +}); +var _index239 = require("./transpose.cjs"); +Object.keys(_index239).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (key in exports && exports[key] === _index239[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _index239[key]; + }, + }); +}); +var _index240 = require("./weeksToDays.cjs"); +Object.keys(_index240).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (key in exports && exports[key] === _index240[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _index240[key]; + }, + }); +}); +var _index241 = require("./yearsToDays.cjs"); +Object.keys(_index241).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (key in exports && exports[key] === _index241[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _index241[key]; + }, + }); +}); +var _index242 = require("./yearsToMonths.cjs"); +Object.keys(_index242).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (key in exports && exports[key] === _index242[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _index242[key]; + }, + }); +}); +var _index243 = require("./yearsToQuarters.cjs"); +Object.keys(_index243).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (key in exports && exports[key] === _index243[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function () { + return _index243[key]; + }, + }); +}); diff --git a/node_modules/date-fns/index.d.cts b/node_modules/date-fns/index.d.cts new file mode 100644 index 0000000000000000000000000000000000000000..04561494a779154a278a5b2adaa50d1aa1f6449b --- /dev/null +++ b/node_modules/date-fns/index.d.cts @@ -0,0 +1,246 @@ +export * from "./add.ts"; +export * from "./addBusinessDays.ts"; +export * from "./addDays.ts"; +export * from "./addHours.ts"; +export * from "./addISOWeekYears.ts"; +export * from "./addMilliseconds.ts"; +export * from "./addMinutes.ts"; +export * from "./addMonths.ts"; +export * from "./addQuarters.ts"; +export * from "./addSeconds.ts"; +export * from "./addWeeks.ts"; +export * from "./addYears.ts"; +export * from "./areIntervalsOverlapping.ts"; +export * from "./clamp.ts"; +export * from "./closestIndexTo.ts"; +export * from "./closestTo.ts"; +export * from "./compareAsc.ts"; +export * from "./compareDesc.ts"; +export * from "./constructFrom.ts"; +export * from "./constructNow.ts"; +export * from "./daysToWeeks.ts"; +export * from "./differenceInBusinessDays.ts"; +export * from "./differenceInCalendarDays.ts"; +export * from "./differenceInCalendarISOWeekYears.ts"; +export * from "./differenceInCalendarISOWeeks.ts"; +export * from "./differenceInCalendarMonths.ts"; +export * from "./differenceInCalendarQuarters.ts"; +export * from "./differenceInCalendarWeeks.ts"; +export * from "./differenceInCalendarYears.ts"; +export * from "./differenceInDays.ts"; +export * from "./differenceInHours.ts"; +export * from "./differenceInISOWeekYears.ts"; +export * from "./differenceInMilliseconds.ts"; +export * from "./differenceInMinutes.ts"; +export * from "./differenceInMonths.ts"; +export * from "./differenceInQuarters.ts"; +export * from "./differenceInSeconds.ts"; +export * from "./differenceInWeeks.ts"; +export * from "./differenceInYears.ts"; +export * from "./eachDayOfInterval.ts"; +export * from "./eachHourOfInterval.ts"; +export * from "./eachMinuteOfInterval.ts"; +export * from "./eachMonthOfInterval.ts"; +export * from "./eachQuarterOfInterval.ts"; +export * from "./eachWeekOfInterval.ts"; +export * from "./eachWeekendOfInterval.ts"; +export * from "./eachWeekendOfMonth.ts"; +export * from "./eachWeekendOfYear.ts"; +export * from "./eachYearOfInterval.ts"; +export * from "./endOfDay.ts"; +export * from "./endOfDecade.ts"; +export * from "./endOfHour.ts"; +export * from "./endOfISOWeek.ts"; +export * from "./endOfISOWeekYear.ts"; +export * from "./endOfMinute.ts"; +export * from "./endOfMonth.ts"; +export * from "./endOfQuarter.ts"; +export * from "./endOfSecond.ts"; +export * from "./endOfToday.ts"; +export * from "./endOfTomorrow.ts"; +export * from "./endOfWeek.ts"; +export * from "./endOfYear.ts"; +export * from "./endOfYesterday.ts"; +export * from "./format.ts"; +export * from "./formatDistance.ts"; +export * from "./formatDistanceStrict.ts"; +export * from "./formatDistanceToNow.ts"; +export * from "./formatDistanceToNowStrict.ts"; +export * from "./formatDuration.ts"; +export * from "./formatISO.ts"; +export * from "./formatISO9075.ts"; +export * from "./formatISODuration.ts"; +export * from "./formatRFC3339.ts"; +export * from "./formatRFC7231.ts"; +export * from "./formatRelative.ts"; +export * from "./fromUnixTime.ts"; +export * from "./getDate.ts"; +export * from "./getDay.ts"; +export * from "./getDayOfYear.ts"; +export * from "./getDaysInMonth.ts"; +export * from "./getDaysInYear.ts"; +export * from "./getDecade.ts"; +export * from "./getDefaultOptions.ts"; +export * from "./getHours.ts"; +export * from "./getISODay.ts"; +export * from "./getISOWeek.ts"; +export * from "./getISOWeekYear.ts"; +export * from "./getISOWeeksInYear.ts"; +export * from "./getMilliseconds.ts"; +export * from "./getMinutes.ts"; +export * from "./getMonth.ts"; +export * from "./getOverlappingDaysInIntervals.ts"; +export * from "./getQuarter.ts"; +export * from "./getSeconds.ts"; +export * from "./getTime.ts"; +export * from "./getUnixTime.ts"; +export * from "./getWeek.ts"; +export * from "./getWeekOfMonth.ts"; +export * from "./getWeekYear.ts"; +export * from "./getWeeksInMonth.ts"; +export * from "./getYear.ts"; +export * from "./hoursToMilliseconds.ts"; +export * from "./hoursToMinutes.ts"; +export * from "./hoursToSeconds.ts"; +export * from "./interval.ts"; +export * from "./intervalToDuration.ts"; +export * from "./intlFormat.ts"; +export * from "./intlFormatDistance.ts"; +export * from "./isAfter.ts"; +export * from "./isBefore.ts"; +export * from "./isDate.ts"; +export * from "./isEqual.ts"; +export * from "./isExists.ts"; +export * from "./isFirstDayOfMonth.ts"; +export * from "./isFriday.ts"; +export * from "./isFuture.ts"; +export * from "./isLastDayOfMonth.ts"; +export * from "./isLeapYear.ts"; +export * from "./isMatch.ts"; +export * from "./isMonday.ts"; +export * from "./isPast.ts"; +export * from "./isSameDay.ts"; +export * from "./isSameHour.ts"; +export * from "./isSameISOWeek.ts"; +export * from "./isSameISOWeekYear.ts"; +export * from "./isSameMinute.ts"; +export * from "./isSameMonth.ts"; +export * from "./isSameQuarter.ts"; +export * from "./isSameSecond.ts"; +export * from "./isSameWeek.ts"; +export * from "./isSameYear.ts"; +export * from "./isSaturday.ts"; +export * from "./isSunday.ts"; +export * from "./isThisHour.ts"; +export * from "./isThisISOWeek.ts"; +export * from "./isThisMinute.ts"; +export * from "./isThisMonth.ts"; +export * from "./isThisQuarter.ts"; +export * from "./isThisSecond.ts"; +export * from "./isThisWeek.ts"; +export * from "./isThisYear.ts"; +export * from "./isThursday.ts"; +export * from "./isToday.ts"; +export * from "./isTomorrow.ts"; +export * from "./isTuesday.ts"; +export * from "./isValid.ts"; +export * from "./isWednesday.ts"; +export * from "./isWeekend.ts"; +export * from "./isWithinInterval.ts"; +export * from "./isYesterday.ts"; +export * from "./lastDayOfDecade.ts"; +export * from "./lastDayOfISOWeek.ts"; +export * from "./lastDayOfISOWeekYear.ts"; +export * from "./lastDayOfMonth.ts"; +export * from "./lastDayOfQuarter.ts"; +export * from "./lastDayOfWeek.ts"; +export * from "./lastDayOfYear.ts"; +export * from "./lightFormat.ts"; +export * from "./max.ts"; +export * from "./milliseconds.ts"; +export * from "./millisecondsToHours.ts"; +export * from "./millisecondsToMinutes.ts"; +export * from "./millisecondsToSeconds.ts"; +export * from "./min.ts"; +export * from "./minutesToHours.ts"; +export * from "./minutesToMilliseconds.ts"; +export * from "./minutesToSeconds.ts"; +export * from "./monthsToQuarters.ts"; +export * from "./monthsToYears.ts"; +export * from "./nextDay.ts"; +export * from "./nextFriday.ts"; +export * from "./nextMonday.ts"; +export * from "./nextSaturday.ts"; +export * from "./nextSunday.ts"; +export * from "./nextThursday.ts"; +export * from "./nextTuesday.ts"; +export * from "./nextWednesday.ts"; +export * from "./parse.ts"; +export * from "./parseISO.ts"; +export * from "./parseJSON.ts"; +export * from "./previousDay.ts"; +export * from "./previousFriday.ts"; +export * from "./previousMonday.ts"; +export * from "./previousSaturday.ts"; +export * from "./previousSunday.ts"; +export * from "./previousThursday.ts"; +export * from "./previousTuesday.ts"; +export * from "./previousWednesday.ts"; +export * from "./quartersToMonths.ts"; +export * from "./quartersToYears.ts"; +export * from "./roundToNearestHours.ts"; +export * from "./roundToNearestMinutes.ts"; +export * from "./secondsToHours.ts"; +export * from "./secondsToMilliseconds.ts"; +export * from "./secondsToMinutes.ts"; +export * from "./set.ts"; +export * from "./setDate.ts"; +export * from "./setDay.ts"; +export * from "./setDayOfYear.ts"; +export * from "./setDefaultOptions.ts"; +export * from "./setHours.ts"; +export * from "./setISODay.ts"; +export * from "./setISOWeek.ts"; +export * from "./setISOWeekYear.ts"; +export * from "./setMilliseconds.ts"; +export * from "./setMinutes.ts"; +export * from "./setMonth.ts"; +export * from "./setQuarter.ts"; +export * from "./setSeconds.ts"; +export * from "./setWeek.ts"; +export * from "./setWeekYear.ts"; +export * from "./setYear.ts"; +export * from "./startOfDay.ts"; +export * from "./startOfDecade.ts"; +export * from "./startOfHour.ts"; +export * from "./startOfISOWeek.ts"; +export * from "./startOfISOWeekYear.ts"; +export * from "./startOfMinute.ts"; +export * from "./startOfMonth.ts"; +export * from "./startOfQuarter.ts"; +export * from "./startOfSecond.ts"; +export * from "./startOfToday.ts"; +export * from "./startOfTomorrow.ts"; +export * from "./startOfWeek.ts"; +export * from "./startOfWeekYear.ts"; +export * from "./startOfYear.ts"; +export * from "./startOfYesterday.ts"; +export * from "./sub.ts"; +export * from "./subBusinessDays.ts"; +export * from "./subDays.ts"; +export * from "./subHours.ts"; +export * from "./subISOWeekYears.ts"; +export * from "./subMilliseconds.ts"; +export * from "./subMinutes.ts"; +export * from "./subMonths.ts"; +export * from "./subQuarters.ts"; +export * from "./subSeconds.ts"; +export * from "./subWeeks.ts"; +export * from "./subYears.ts"; +export * from "./toDate.ts"; +export * from "./transpose.ts"; +export * from "./weeksToDays.ts"; +export * from "./yearsToDays.ts"; +export * from "./yearsToMonths.ts"; +export * from "./yearsToQuarters.ts"; +export type * from "./types.ts"; diff --git a/node_modules/date-fns/index.d.ts b/node_modules/date-fns/index.d.ts new file mode 100644 index 0000000000000000000000000000000000000000..04561494a779154a278a5b2adaa50d1aa1f6449b --- /dev/null +++ b/node_modules/date-fns/index.d.ts @@ -0,0 +1,246 @@ +export * from "./add.ts"; +export * from "./addBusinessDays.ts"; +export * from "./addDays.ts"; +export * from "./addHours.ts"; +export * from "./addISOWeekYears.ts"; +export * from "./addMilliseconds.ts"; +export * from "./addMinutes.ts"; +export * from "./addMonths.ts"; +export * from "./addQuarters.ts"; +export * from "./addSeconds.ts"; +export * from "./addWeeks.ts"; +export * from "./addYears.ts"; +export * from "./areIntervalsOverlapping.ts"; +export * from "./clamp.ts"; +export * from "./closestIndexTo.ts"; +export * from "./closestTo.ts"; +export * from "./compareAsc.ts"; +export * from "./compareDesc.ts"; +export * from "./constructFrom.ts"; +export * from "./constructNow.ts"; +export * from "./daysToWeeks.ts"; +export * from "./differenceInBusinessDays.ts"; +export * from "./differenceInCalendarDays.ts"; +export * from "./differenceInCalendarISOWeekYears.ts"; +export * from "./differenceInCalendarISOWeeks.ts"; +export * from "./differenceInCalendarMonths.ts"; +export * from "./differenceInCalendarQuarters.ts"; +export * from "./differenceInCalendarWeeks.ts"; +export * from "./differenceInCalendarYears.ts"; +export * from "./differenceInDays.ts"; +export * from "./differenceInHours.ts"; +export * from "./differenceInISOWeekYears.ts"; +export * from "./differenceInMilliseconds.ts"; +export * from "./differenceInMinutes.ts"; +export * from "./differenceInMonths.ts"; +export * from "./differenceInQuarters.ts"; +export * from "./differenceInSeconds.ts"; +export * from "./differenceInWeeks.ts"; +export * from "./differenceInYears.ts"; +export * from "./eachDayOfInterval.ts"; +export * from "./eachHourOfInterval.ts"; +export * from "./eachMinuteOfInterval.ts"; +export * from "./eachMonthOfInterval.ts"; +export * from "./eachQuarterOfInterval.ts"; +export * from "./eachWeekOfInterval.ts"; +export * from "./eachWeekendOfInterval.ts"; +export * from "./eachWeekendOfMonth.ts"; +export * from "./eachWeekendOfYear.ts"; +export * from "./eachYearOfInterval.ts"; +export * from "./endOfDay.ts"; +export * from "./endOfDecade.ts"; +export * from "./endOfHour.ts"; +export * from "./endOfISOWeek.ts"; +export * from "./endOfISOWeekYear.ts"; +export * from "./endOfMinute.ts"; +export * from "./endOfMonth.ts"; +export * from "./endOfQuarter.ts"; +export * from "./endOfSecond.ts"; +export * from "./endOfToday.ts"; +export * from "./endOfTomorrow.ts"; +export * from "./endOfWeek.ts"; +export * from "./endOfYear.ts"; +export * from "./endOfYesterday.ts"; +export * from "./format.ts"; +export * from "./formatDistance.ts"; +export * from "./formatDistanceStrict.ts"; +export * from "./formatDistanceToNow.ts"; +export * from "./formatDistanceToNowStrict.ts"; +export * from "./formatDuration.ts"; +export * from "./formatISO.ts"; +export * from "./formatISO9075.ts"; +export * from "./formatISODuration.ts"; +export * from "./formatRFC3339.ts"; +export * from "./formatRFC7231.ts"; +export * from "./formatRelative.ts"; +export * from "./fromUnixTime.ts"; +export * from "./getDate.ts"; +export * from "./getDay.ts"; +export * from "./getDayOfYear.ts"; +export * from "./getDaysInMonth.ts"; +export * from "./getDaysInYear.ts"; +export * from "./getDecade.ts"; +export * from "./getDefaultOptions.ts"; +export * from "./getHours.ts"; +export * from "./getISODay.ts"; +export * from "./getISOWeek.ts"; +export * from "./getISOWeekYear.ts"; +export * from "./getISOWeeksInYear.ts"; +export * from "./getMilliseconds.ts"; +export * from "./getMinutes.ts"; +export * from "./getMonth.ts"; +export * from "./getOverlappingDaysInIntervals.ts"; +export * from "./getQuarter.ts"; +export * from "./getSeconds.ts"; +export * from "./getTime.ts"; +export * from "./getUnixTime.ts"; +export * from "./getWeek.ts"; +export * from "./getWeekOfMonth.ts"; +export * from "./getWeekYear.ts"; +export * from "./getWeeksInMonth.ts"; +export * from "./getYear.ts"; +export * from "./hoursToMilliseconds.ts"; +export * from "./hoursToMinutes.ts"; +export * from "./hoursToSeconds.ts"; +export * from "./interval.ts"; +export * from "./intervalToDuration.ts"; +export * from "./intlFormat.ts"; +export * from "./intlFormatDistance.ts"; +export * from "./isAfter.ts"; +export * from "./isBefore.ts"; +export * from "./isDate.ts"; +export * from "./isEqual.ts"; +export * from "./isExists.ts"; +export * from "./isFirstDayOfMonth.ts"; +export * from "./isFriday.ts"; +export * from "./isFuture.ts"; +export * from "./isLastDayOfMonth.ts"; +export * from "./isLeapYear.ts"; +export * from "./isMatch.ts"; +export * from "./isMonday.ts"; +export * from "./isPast.ts"; +export * from "./isSameDay.ts"; +export * from "./isSameHour.ts"; +export * from "./isSameISOWeek.ts"; +export * from "./isSameISOWeekYear.ts"; +export * from "./isSameMinute.ts"; +export * from "./isSameMonth.ts"; +export * from "./isSameQuarter.ts"; +export * from "./isSameSecond.ts"; +export * from "./isSameWeek.ts"; +export * from "./isSameYear.ts"; +export * from "./isSaturday.ts"; +export * from "./isSunday.ts"; +export * from "./isThisHour.ts"; +export * from "./isThisISOWeek.ts"; +export * from "./isThisMinute.ts"; +export * from "./isThisMonth.ts"; +export * from "./isThisQuarter.ts"; +export * from "./isThisSecond.ts"; +export * from "./isThisWeek.ts"; +export * from "./isThisYear.ts"; +export * from "./isThursday.ts"; +export * from "./isToday.ts"; +export * from "./isTomorrow.ts"; +export * from "./isTuesday.ts"; +export * from "./isValid.ts"; +export * from "./isWednesday.ts"; +export * from "./isWeekend.ts"; +export * from "./isWithinInterval.ts"; +export * from "./isYesterday.ts"; +export * from "./lastDayOfDecade.ts"; +export * from "./lastDayOfISOWeek.ts"; +export * from "./lastDayOfISOWeekYear.ts"; +export * from "./lastDayOfMonth.ts"; +export * from "./lastDayOfQuarter.ts"; +export * from "./lastDayOfWeek.ts"; +export * from "./lastDayOfYear.ts"; +export * from "./lightFormat.ts"; +export * from "./max.ts"; +export * from "./milliseconds.ts"; +export * from "./millisecondsToHours.ts"; +export * from "./millisecondsToMinutes.ts"; +export * from "./millisecondsToSeconds.ts"; +export * from "./min.ts"; +export * from "./minutesToHours.ts"; +export * from "./minutesToMilliseconds.ts"; +export * from "./minutesToSeconds.ts"; +export * from "./monthsToQuarters.ts"; +export * from "./monthsToYears.ts"; +export * from "./nextDay.ts"; +export * from "./nextFriday.ts"; +export * from "./nextMonday.ts"; +export * from "./nextSaturday.ts"; +export * from "./nextSunday.ts"; +export * from "./nextThursday.ts"; +export * from "./nextTuesday.ts"; +export * from "./nextWednesday.ts"; +export * from "./parse.ts"; +export * from "./parseISO.ts"; +export * from "./parseJSON.ts"; +export * from "./previousDay.ts"; +export * from "./previousFriday.ts"; +export * from "./previousMonday.ts"; +export * from "./previousSaturday.ts"; +export * from "./previousSunday.ts"; +export * from "./previousThursday.ts"; +export * from "./previousTuesday.ts"; +export * from "./previousWednesday.ts"; +export * from "./quartersToMonths.ts"; +export * from "./quartersToYears.ts"; +export * from "./roundToNearestHours.ts"; +export * from "./roundToNearestMinutes.ts"; +export * from "./secondsToHours.ts"; +export * from "./secondsToMilliseconds.ts"; +export * from "./secondsToMinutes.ts"; +export * from "./set.ts"; +export * from "./setDate.ts"; +export * from "./setDay.ts"; +export * from "./setDayOfYear.ts"; +export * from "./setDefaultOptions.ts"; +export * from "./setHours.ts"; +export * from "./setISODay.ts"; +export * from "./setISOWeek.ts"; +export * from "./setISOWeekYear.ts"; +export * from "./setMilliseconds.ts"; +export * from "./setMinutes.ts"; +export * from "./setMonth.ts"; +export * from "./setQuarter.ts"; +export * from "./setSeconds.ts"; +export * from "./setWeek.ts"; +export * from "./setWeekYear.ts"; +export * from "./setYear.ts"; +export * from "./startOfDay.ts"; +export * from "./startOfDecade.ts"; +export * from "./startOfHour.ts"; +export * from "./startOfISOWeek.ts"; +export * from "./startOfISOWeekYear.ts"; +export * from "./startOfMinute.ts"; +export * from "./startOfMonth.ts"; +export * from "./startOfQuarter.ts"; +export * from "./startOfSecond.ts"; +export * from "./startOfToday.ts"; +export * from "./startOfTomorrow.ts"; +export * from "./startOfWeek.ts"; +export * from "./startOfWeekYear.ts"; +export * from "./startOfYear.ts"; +export * from "./startOfYesterday.ts"; +export * from "./sub.ts"; +export * from "./subBusinessDays.ts"; +export * from "./subDays.ts"; +export * from "./subHours.ts"; +export * from "./subISOWeekYears.ts"; +export * from "./subMilliseconds.ts"; +export * from "./subMinutes.ts"; +export * from "./subMonths.ts"; +export * from "./subQuarters.ts"; +export * from "./subSeconds.ts"; +export * from "./subWeeks.ts"; +export * from "./subYears.ts"; +export * from "./toDate.ts"; +export * from "./transpose.ts"; +export * from "./weeksToDays.ts"; +export * from "./yearsToDays.ts"; +export * from "./yearsToMonths.ts"; +export * from "./yearsToQuarters.ts"; +export type * from "./types.ts"; diff --git a/node_modules/date-fns/index.js b/node_modules/date-fns/index.js new file mode 100644 index 0000000000000000000000000000000000000000..ce51cfc56029c3cc8fb53f729b95cee5af4c4058 --- /dev/null +++ b/node_modules/date-fns/index.js @@ -0,0 +1,247 @@ +// This file is generated automatically by `scripts/build/indices.ts`. Please, don't change it. + +export * from "./add.js"; +export * from "./addBusinessDays.js"; +export * from "./addDays.js"; +export * from "./addHours.js"; +export * from "./addISOWeekYears.js"; +export * from "./addMilliseconds.js"; +export * from "./addMinutes.js"; +export * from "./addMonths.js"; +export * from "./addQuarters.js"; +export * from "./addSeconds.js"; +export * from "./addWeeks.js"; +export * from "./addYears.js"; +export * from "./areIntervalsOverlapping.js"; +export * from "./clamp.js"; +export * from "./closestIndexTo.js"; +export * from "./closestTo.js"; +export * from "./compareAsc.js"; +export * from "./compareDesc.js"; +export * from "./constructFrom.js"; +export * from "./constructNow.js"; +export * from "./daysToWeeks.js"; +export * from "./differenceInBusinessDays.js"; +export * from "./differenceInCalendarDays.js"; +export * from "./differenceInCalendarISOWeekYears.js"; +export * from "./differenceInCalendarISOWeeks.js"; +export * from "./differenceInCalendarMonths.js"; +export * from "./differenceInCalendarQuarters.js"; +export * from "./differenceInCalendarWeeks.js"; +export * from "./differenceInCalendarYears.js"; +export * from "./differenceInDays.js"; +export * from "./differenceInHours.js"; +export * from "./differenceInISOWeekYears.js"; +export * from "./differenceInMilliseconds.js"; +export * from "./differenceInMinutes.js"; +export * from "./differenceInMonths.js"; +export * from "./differenceInQuarters.js"; +export * from "./differenceInSeconds.js"; +export * from "./differenceInWeeks.js"; +export * from "./differenceInYears.js"; +export * from "./eachDayOfInterval.js"; +export * from "./eachHourOfInterval.js"; +export * from "./eachMinuteOfInterval.js"; +export * from "./eachMonthOfInterval.js"; +export * from "./eachQuarterOfInterval.js"; +export * from "./eachWeekOfInterval.js"; +export * from "./eachWeekendOfInterval.js"; +export * from "./eachWeekendOfMonth.js"; +export * from "./eachWeekendOfYear.js"; +export * from "./eachYearOfInterval.js"; +export * from "./endOfDay.js"; +export * from "./endOfDecade.js"; +export * from "./endOfHour.js"; +export * from "./endOfISOWeek.js"; +export * from "./endOfISOWeekYear.js"; +export * from "./endOfMinute.js"; +export * from "./endOfMonth.js"; +export * from "./endOfQuarter.js"; +export * from "./endOfSecond.js"; +export * from "./endOfToday.js"; +export * from "./endOfTomorrow.js"; +export * from "./endOfWeek.js"; +export * from "./endOfYear.js"; +export * from "./endOfYesterday.js"; +export * from "./format.js"; +export * from "./formatDistance.js"; +export * from "./formatDistanceStrict.js"; +export * from "./formatDistanceToNow.js"; +export * from "./formatDistanceToNowStrict.js"; +export * from "./formatDuration.js"; +export * from "./formatISO.js"; +export * from "./formatISO9075.js"; +export * from "./formatISODuration.js"; +export * from "./formatRFC3339.js"; +export * from "./formatRFC7231.js"; +export * from "./formatRelative.js"; +export * from "./fromUnixTime.js"; +export * from "./getDate.js"; +export * from "./getDay.js"; +export * from "./getDayOfYear.js"; +export * from "./getDaysInMonth.js"; +export * from "./getDaysInYear.js"; +export * from "./getDecade.js"; +export * from "./getDefaultOptions.js"; +export * from "./getHours.js"; +export * from "./getISODay.js"; +export * from "./getISOWeek.js"; +export * from "./getISOWeekYear.js"; +export * from "./getISOWeeksInYear.js"; +export * from "./getMilliseconds.js"; +export * from "./getMinutes.js"; +export * from "./getMonth.js"; +export * from "./getOverlappingDaysInIntervals.js"; +export * from "./getQuarter.js"; +export * from "./getSeconds.js"; +export * from "./getTime.js"; +export * from "./getUnixTime.js"; +export * from "./getWeek.js"; +export * from "./getWeekOfMonth.js"; +export * from "./getWeekYear.js"; +export * from "./getWeeksInMonth.js"; +export * from "./getYear.js"; +export * from "./hoursToMilliseconds.js"; +export * from "./hoursToMinutes.js"; +export * from "./hoursToSeconds.js"; +export * from "./interval.js"; +export * from "./intervalToDuration.js"; +export * from "./intlFormat.js"; +export * from "./intlFormatDistance.js"; +export * from "./isAfter.js"; +export * from "./isBefore.js"; +export * from "./isDate.js"; +export * from "./isEqual.js"; +export * from "./isExists.js"; +export * from "./isFirstDayOfMonth.js"; +export * from "./isFriday.js"; +export * from "./isFuture.js"; +export * from "./isLastDayOfMonth.js"; +export * from "./isLeapYear.js"; +export * from "./isMatch.js"; +export * from "./isMonday.js"; +export * from "./isPast.js"; +export * from "./isSameDay.js"; +export * from "./isSameHour.js"; +export * from "./isSameISOWeek.js"; +export * from "./isSameISOWeekYear.js"; +export * from "./isSameMinute.js"; +export * from "./isSameMonth.js"; +export * from "./isSameQuarter.js"; +export * from "./isSameSecond.js"; +export * from "./isSameWeek.js"; +export * from "./isSameYear.js"; +export * from "./isSaturday.js"; +export * from "./isSunday.js"; +export * from "./isThisHour.js"; +export * from "./isThisISOWeek.js"; +export * from "./isThisMinute.js"; +export * from "./isThisMonth.js"; +export * from "./isThisQuarter.js"; +export * from "./isThisSecond.js"; +export * from "./isThisWeek.js"; +export * from "./isThisYear.js"; +export * from "./isThursday.js"; +export * from "./isToday.js"; +export * from "./isTomorrow.js"; +export * from "./isTuesday.js"; +export * from "./isValid.js"; +export * from "./isWednesday.js"; +export * from "./isWeekend.js"; +export * from "./isWithinInterval.js"; +export * from "./isYesterday.js"; +export * from "./lastDayOfDecade.js"; +export * from "./lastDayOfISOWeek.js"; +export * from "./lastDayOfISOWeekYear.js"; +export * from "./lastDayOfMonth.js"; +export * from "./lastDayOfQuarter.js"; +export * from "./lastDayOfWeek.js"; +export * from "./lastDayOfYear.js"; +export * from "./lightFormat.js"; +export * from "./max.js"; +export * from "./milliseconds.js"; +export * from "./millisecondsToHours.js"; +export * from "./millisecondsToMinutes.js"; +export * from "./millisecondsToSeconds.js"; +export * from "./min.js"; +export * from "./minutesToHours.js"; +export * from "./minutesToMilliseconds.js"; +export * from "./minutesToSeconds.js"; +export * from "./monthsToQuarters.js"; +export * from "./monthsToYears.js"; +export * from "./nextDay.js"; +export * from "./nextFriday.js"; +export * from "./nextMonday.js"; +export * from "./nextSaturday.js"; +export * from "./nextSunday.js"; +export * from "./nextThursday.js"; +export * from "./nextTuesday.js"; +export * from "./nextWednesday.js"; +export * from "./parse.js"; +export * from "./parseISO.js"; +export * from "./parseJSON.js"; +export * from "./previousDay.js"; +export * from "./previousFriday.js"; +export * from "./previousMonday.js"; +export * from "./previousSaturday.js"; +export * from "./previousSunday.js"; +export * from "./previousThursday.js"; +export * from "./previousTuesday.js"; +export * from "./previousWednesday.js"; +export * from "./quartersToMonths.js"; +export * from "./quartersToYears.js"; +export * from "./roundToNearestHours.js"; +export * from "./roundToNearestMinutes.js"; +export * from "./secondsToHours.js"; +export * from "./secondsToMilliseconds.js"; +export * from "./secondsToMinutes.js"; +export * from "./set.js"; +export * from "./setDate.js"; +export * from "./setDay.js"; +export * from "./setDayOfYear.js"; +export * from "./setDefaultOptions.js"; +export * from "./setHours.js"; +export * from "./setISODay.js"; +export * from "./setISOWeek.js"; +export * from "./setISOWeekYear.js"; +export * from "./setMilliseconds.js"; +export * from "./setMinutes.js"; +export * from "./setMonth.js"; +export * from "./setQuarter.js"; +export * from "./setSeconds.js"; +export * from "./setWeek.js"; +export * from "./setWeekYear.js"; +export * from "./setYear.js"; +export * from "./startOfDay.js"; +export * from "./startOfDecade.js"; +export * from "./startOfHour.js"; +export * from "./startOfISOWeek.js"; +export * from "./startOfISOWeekYear.js"; +export * from "./startOfMinute.js"; +export * from "./startOfMonth.js"; +export * from "./startOfQuarter.js"; +export * from "./startOfSecond.js"; +export * from "./startOfToday.js"; +export * from "./startOfTomorrow.js"; +export * from "./startOfWeek.js"; +export * from "./startOfWeekYear.js"; +export * from "./startOfYear.js"; +export * from "./startOfYesterday.js"; +export * from "./sub.js"; +export * from "./subBusinessDays.js"; +export * from "./subDays.js"; +export * from "./subHours.js"; +export * from "./subISOWeekYears.js"; +export * from "./subMilliseconds.js"; +export * from "./subMinutes.js"; +export * from "./subMonths.js"; +export * from "./subQuarters.js"; +export * from "./subSeconds.js"; +export * from "./subWeeks.js"; +export * from "./subYears.js"; +export * from "./toDate.js"; +export * from "./transpose.js"; +export * from "./weeksToDays.js"; +export * from "./yearsToDays.js"; +export * from "./yearsToMonths.js"; +export * from "./yearsToQuarters.js"; diff --git a/node_modules/date-fns/interval.cjs b/node_modules/date-fns/interval.cjs new file mode 100644 index 0000000000000000000000000000000000000000..a1deb18295eda175e675059d4554ac2067cf64e7 --- /dev/null +++ b/node_modules/date-fns/interval.cjs @@ -0,0 +1,48 @@ +"use strict"; +exports.interval = interval; +var _index = require("./_lib/normalizeDates.cjs"); + +/** + * The {@link interval} function options. + */ + +/** + * The {@link interval} function result type. It resolves the proper data type. + * It uses the first argument date object type, starting from the start argument, + * then the end interval date. If a context function is passed, it uses the context + * function return type. + */ + +/** + * @name interval + * @category Interval Helpers + * @summary Creates an interval object and validates its values. + * + * @description + * Creates a normalized interval object and validates its values. If the interval is invalid, an exception is thrown. + * + * @typeParam StartDate - Start date type. + * @typeParam EndDate - End date type. + * @typeParam Options - Options type. + * + * @param start - The start of the interval. + * @param end - The end of the interval. + * @param options - The options object. + * + * @throws `Start date is invalid` when `start` is invalid. + * @throws `End date is invalid` when `end` is invalid. + * @throws `End date must be after start date` when end is before `start` and `options.assertPositive` is true. + * + * @returns The normalized and validated interval object. + */ +function interval(start, end, options) { + const [_start, _end] = (0, _index.normalizeDates)(options?.in, start, end); + + if (isNaN(+_start)) throw new TypeError("Start date is invalid"); + if (isNaN(+_end)) throw new TypeError("End date is invalid"); + + if (options?.assertPositive && +_start > +_end) + throw new TypeError("End date must be after start date"); + + return { start: _start, end: _end }; +} diff --git a/node_modules/date-fns/interval.d.cts b/node_modules/date-fns/interval.d.cts new file mode 100644 index 0000000000000000000000000000000000000000..3dbd7809dedf1e13769e7de39cbd5d1562849861 --- /dev/null +++ b/node_modules/date-fns/interval.d.cts @@ -0,0 +1,59 @@ +import type { ContextOptions, DateArg, NormalizedInterval } from "./types.ts"; +/** + * The {@link interval} function options. + */ +export interface IntervalOptions + extends ContextOptions { + /** Asserts that the interval is positive (start is after the end). */ + assertPositive?: boolean; +} +/** + * The {@link interval} function result type. It resolves the proper data type. + * It uses the first argument date object type, starting from the start argument, + * then the end interval date. If a context function is passed, it uses the context + * function return type. + */ +export type IntervalResult< + StartDate extends DateArg, + EndDate extends DateArg, + Options extends IntervalOptions | undefined = undefined, +> = NormalizedInterval< + Options extends IntervalOptions + ? DateType + : StartDate extends Date + ? StartDate + : EndDate extends Date + ? EndDate + : Date +>; +/** + * @name interval + * @category Interval Helpers + * @summary Creates an interval object and validates its values. + * + * @description + * Creates a normalized interval object and validates its values. If the interval is invalid, an exception is thrown. + * + * @typeParam StartDate - Start date type. + * @typeParam EndDate - End date type. + * @typeParam Options - Options type. + * + * @param start - The start of the interval. + * @param end - The end of the interval. + * @param options - The options object. + * + * @throws `Start date is invalid` when `start` is invalid. + * @throws `End date is invalid` when `end` is invalid. + * @throws `End date must be after start date` when end is before `start` and `options.assertPositive` is true. + * + * @returns The normalized and validated interval object. + */ +export declare function interval< + StartDate extends DateArg, + EndDate extends DateArg, + Options extends IntervalOptions | undefined = undefined, +>( + start: StartDate, + end: EndDate, + options?: Options, +): IntervalResult; diff --git a/node_modules/date-fns/interval.d.ts b/node_modules/date-fns/interval.d.ts new file mode 100644 index 0000000000000000000000000000000000000000..3dbd7809dedf1e13769e7de39cbd5d1562849861 --- /dev/null +++ b/node_modules/date-fns/interval.d.ts @@ -0,0 +1,59 @@ +import type { ContextOptions, DateArg, NormalizedInterval } from "./types.ts"; +/** + * The {@link interval} function options. + */ +export interface IntervalOptions + extends ContextOptions { + /** Asserts that the interval is positive (start is after the end). */ + assertPositive?: boolean; +} +/** + * The {@link interval} function result type. It resolves the proper data type. + * It uses the first argument date object type, starting from the start argument, + * then the end interval date. If a context function is passed, it uses the context + * function return type. + */ +export type IntervalResult< + StartDate extends DateArg, + EndDate extends DateArg, + Options extends IntervalOptions | undefined = undefined, +> = NormalizedInterval< + Options extends IntervalOptions + ? DateType + : StartDate extends Date + ? StartDate + : EndDate extends Date + ? EndDate + : Date +>; +/** + * @name interval + * @category Interval Helpers + * @summary Creates an interval object and validates its values. + * + * @description + * Creates a normalized interval object and validates its values. If the interval is invalid, an exception is thrown. + * + * @typeParam StartDate - Start date type. + * @typeParam EndDate - End date type. + * @typeParam Options - Options type. + * + * @param start - The start of the interval. + * @param end - The end of the interval. + * @param options - The options object. + * + * @throws `Start date is invalid` when `start` is invalid. + * @throws `End date is invalid` when `end` is invalid. + * @throws `End date must be after start date` when end is before `start` and `options.assertPositive` is true. + * + * @returns The normalized and validated interval object. + */ +export declare function interval< + StartDate extends DateArg, + EndDate extends DateArg, + Options extends IntervalOptions | undefined = undefined, +>( + start: StartDate, + end: EndDate, + options?: Options, +): IntervalResult; diff --git a/node_modules/date-fns/interval.js b/node_modules/date-fns/interval.js new file mode 100644 index 0000000000000000000000000000000000000000..dd9d8a7bcacdd16550feeeaf79ca9f7978a692b0 --- /dev/null +++ b/node_modules/date-fns/interval.js @@ -0,0 +1,49 @@ +import { normalizeDates } from "./_lib/normalizeDates.js"; + +/** + * The {@link interval} function options. + */ + +/** + * The {@link interval} function result type. It resolves the proper data type. + * It uses the first argument date object type, starting from the start argument, + * then the end interval date. If a context function is passed, it uses the context + * function return type. + */ + +/** + * @name interval + * @category Interval Helpers + * @summary Creates an interval object and validates its values. + * + * @description + * Creates a normalized interval object and validates its values. If the interval is invalid, an exception is thrown. + * + * @typeParam StartDate - Start date type. + * @typeParam EndDate - End date type. + * @typeParam Options - Options type. + * + * @param start - The start of the interval. + * @param end - The end of the interval. + * @param options - The options object. + * + * @throws `Start date is invalid` when `start` is invalid. + * @throws `End date is invalid` when `end` is invalid. + * @throws `End date must be after start date` when end is before `start` and `options.assertPositive` is true. + * + * @returns The normalized and validated interval object. + */ +export function interval(start, end, options) { + const [_start, _end] = normalizeDates(options?.in, start, end); + + if (isNaN(+_start)) throw new TypeError("Start date is invalid"); + if (isNaN(+_end)) throw new TypeError("End date is invalid"); + + if (options?.assertPositive && +_start > +_end) + throw new TypeError("End date must be after start date"); + + return { start: _start, end: _end }; +} + +// Fallback for modularized imports: +export default interval; diff --git a/node_modules/date-fns/intervalToDuration.cjs b/node_modules/date-fns/intervalToDuration.cjs new file mode 100644 index 0000000000000000000000000000000000000000..47065753e4e2d0ddec6b4be65057331c59345ce4 --- /dev/null +++ b/node_modules/date-fns/intervalToDuration.cjs @@ -0,0 +1,73 @@ +"use strict"; +exports.intervalToDuration = intervalToDuration; +var _index = require("./_lib/normalizeInterval.cjs"); +var _index2 = require("./add.cjs"); +var _index3 = require("./differenceInDays.cjs"); +var _index4 = require("./differenceInHours.cjs"); +var _index5 = require("./differenceInMinutes.cjs"); +var _index6 = require("./differenceInMonths.cjs"); +var _index7 = require("./differenceInSeconds.cjs"); +var _index8 = require("./differenceInYears.cjs"); + +/** + * The {@link intervalToDuration} function options. + */ + +/** + * @name intervalToDuration + * @category Common Helpers + * @summary Convert interval to duration + * + * @description + * Convert an interval object to a duration object. + * + * @param interval - The interval to convert to duration + * @param options - The context options + * + * @returns The duration object + * + * @example + * // Get the duration between January 15, 1929 and April 4, 1968. + * intervalToDuration({ + * start: new Date(1929, 0, 15, 12, 0, 0), + * end: new Date(1968, 3, 4, 19, 5, 0) + * }); + * //=> { years: 39, months: 2, days: 20, hours: 7, minutes: 5, seconds: 0 } + */ +function intervalToDuration(interval, options) { + const { start, end } = (0, _index.normalizeInterval)(options?.in, interval); + const duration = {}; + + const years = (0, _index8.differenceInYears)(end, start); + if (years) duration.years = years; + + const remainingMonths = (0, _index2.add)(start, { years: duration.years }); + const months = (0, _index6.differenceInMonths)(end, remainingMonths); + if (months) duration.months = months; + + const remainingDays = (0, _index2.add)(remainingMonths, { + months: duration.months, + }); + const days = (0, _index3.differenceInDays)(end, remainingDays); + if (days) duration.days = days; + + const remainingHours = (0, _index2.add)(remainingDays, { + days: duration.days, + }); + const hours = (0, _index4.differenceInHours)(end, remainingHours); + if (hours) duration.hours = hours; + + const remainingMinutes = (0, _index2.add)(remainingHours, { + hours: duration.hours, + }); + const minutes = (0, _index5.differenceInMinutes)(end, remainingMinutes); + if (minutes) duration.minutes = minutes; + + const remainingSeconds = (0, _index2.add)(remainingMinutes, { + minutes: duration.minutes, + }); + const seconds = (0, _index7.differenceInSeconds)(end, remainingSeconds); + if (seconds) duration.seconds = seconds; + + return duration; +} diff --git a/node_modules/date-fns/intervalToDuration.d.cts b/node_modules/date-fns/intervalToDuration.d.cts new file mode 100644 index 0000000000000000000000000000000000000000..84f4335886a8a5ca43f3a127906f9aa95efe192a --- /dev/null +++ b/node_modules/date-fns/intervalToDuration.d.cts @@ -0,0 +1,30 @@ +import type { ContextOptions, Duration, Interval } from "./types.ts"; +/** + * The {@link intervalToDuration} function options. + */ +export interface IntervalToDurationOptions extends ContextOptions {} +/** + * @name intervalToDuration + * @category Common Helpers + * @summary Convert interval to duration + * + * @description + * Convert an interval object to a duration object. + * + * @param interval - The interval to convert to duration + * @param options - The context options + * + * @returns The duration object + * + * @example + * // Get the duration between January 15, 1929 and April 4, 1968. + * intervalToDuration({ + * start: new Date(1929, 0, 15, 12, 0, 0), + * end: new Date(1968, 3, 4, 19, 5, 0) + * }); + * //=> { years: 39, months: 2, days: 20, hours: 7, minutes: 5, seconds: 0 } + */ +export declare function intervalToDuration( + interval: Interval, + options?: IntervalToDurationOptions | undefined, +): Duration; diff --git a/node_modules/date-fns/intervalToDuration.d.ts b/node_modules/date-fns/intervalToDuration.d.ts new file mode 100644 index 0000000000000000000000000000000000000000..84f4335886a8a5ca43f3a127906f9aa95efe192a --- /dev/null +++ b/node_modules/date-fns/intervalToDuration.d.ts @@ -0,0 +1,30 @@ +import type { ContextOptions, Duration, Interval } from "./types.ts"; +/** + * The {@link intervalToDuration} function options. + */ +export interface IntervalToDurationOptions extends ContextOptions {} +/** + * @name intervalToDuration + * @category Common Helpers + * @summary Convert interval to duration + * + * @description + * Convert an interval object to a duration object. + * + * @param interval - The interval to convert to duration + * @param options - The context options + * + * @returns The duration object + * + * @example + * // Get the duration between January 15, 1929 and April 4, 1968. + * intervalToDuration({ + * start: new Date(1929, 0, 15, 12, 0, 0), + * end: new Date(1968, 3, 4, 19, 5, 0) + * }); + * //=> { years: 39, months: 2, days: 20, hours: 7, minutes: 5, seconds: 0 } + */ +export declare function intervalToDuration( + interval: Interval, + options?: IntervalToDurationOptions | undefined, +): Duration; diff --git a/node_modules/date-fns/intervalToDuration.js b/node_modules/date-fns/intervalToDuration.js new file mode 100644 index 0000000000000000000000000000000000000000..29026b475039083ad7dd9604ffde1b83e898a1af --- /dev/null +++ b/node_modules/date-fns/intervalToDuration.js @@ -0,0 +1,66 @@ +import { normalizeInterval } from "./_lib/normalizeInterval.js"; +import { add } from "./add.js"; +import { differenceInDays } from "./differenceInDays.js"; +import { differenceInHours } from "./differenceInHours.js"; +import { differenceInMinutes } from "./differenceInMinutes.js"; +import { differenceInMonths } from "./differenceInMonths.js"; +import { differenceInSeconds } from "./differenceInSeconds.js"; +import { differenceInYears } from "./differenceInYears.js"; + +/** + * The {@link intervalToDuration} function options. + */ + +/** + * @name intervalToDuration + * @category Common Helpers + * @summary Convert interval to duration + * + * @description + * Convert an interval object to a duration object. + * + * @param interval - The interval to convert to duration + * @param options - The context options + * + * @returns The duration object + * + * @example + * // Get the duration between January 15, 1929 and April 4, 1968. + * intervalToDuration({ + * start: new Date(1929, 0, 15, 12, 0, 0), + * end: new Date(1968, 3, 4, 19, 5, 0) + * }); + * //=> { years: 39, months: 2, days: 20, hours: 7, minutes: 5, seconds: 0 } + */ +export function intervalToDuration(interval, options) { + const { start, end } = normalizeInterval(options?.in, interval); + const duration = {}; + + const years = differenceInYears(end, start); + if (years) duration.years = years; + + const remainingMonths = add(start, { years: duration.years }); + const months = differenceInMonths(end, remainingMonths); + if (months) duration.months = months; + + const remainingDays = add(remainingMonths, { months: duration.months }); + const days = differenceInDays(end, remainingDays); + if (days) duration.days = days; + + const remainingHours = add(remainingDays, { days: duration.days }); + const hours = differenceInHours(end, remainingHours); + if (hours) duration.hours = hours; + + const remainingMinutes = add(remainingHours, { hours: duration.hours }); + const minutes = differenceInMinutes(end, remainingMinutes); + if (minutes) duration.minutes = minutes; + + const remainingSeconds = add(remainingMinutes, { minutes: duration.minutes }); + const seconds = differenceInSeconds(end, remainingSeconds); + if (seconds) duration.seconds = seconds; + + return duration; +} + +// Fallback for modularized imports: +export default intervalToDuration; diff --git a/node_modules/date-fns/intlFormat.cjs b/node_modules/date-fns/intlFormat.cjs new file mode 100644 index 0000000000000000000000000000000000000000..76ad905d0f4ecb81bd59fff681cfa0bab3f49ce5 --- /dev/null +++ b/node_modules/date-fns/intlFormat.cjs @@ -0,0 +1,120 @@ +"use strict"; +exports.intlFormat = intlFormat; +var _index = require("./toDate.cjs"); + +/** + * The locale string (see: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl#locales_argument). + * @deprecated + * + * [TODO] Remove in v4 + */ + +/** + * The format options (see: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/DateTimeFormat/DateTimeFormat#options) + */ + +/** + * The locale options. + */ + +/** + * @name intlFormat + * @category Common Helpers + * @summary Format the date with Intl.DateTimeFormat (https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/DateTimeFormat). + * + * @description + * Return the formatted date string in the given format. + * The method uses [`Intl.DateTimeFormat`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/DateTimeFormat) inside. + * formatOptions are the same as [`Intl.DateTimeFormat` options](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/DateTimeFormat#using_options) + * + * > ⚠️ Please note that before Node version 13.0.0, only the locale data for en-US is available by default. + * + * @param date - The date to format + * + * @returns The formatted date string + * + * @throws `date` must not be Invalid Date + * + * @example + * // Represent 4 October 2019 in middle-endian format: + * const result = intlFormat(new Date(2019, 9, 4, 12, 30, 13, 456)) + * //=> 10/4/2019 + */ + +/** + * @param date - The date to format + * @param localeOptions - An object with locale + * + * @returns The formatted date string + * + * @throws `date` must not be Invalid Date + * + * @example + * // Represent 4 October 2019 in Korean. + * // Convert the date with locale's options. + * const result = intlFormat(new Date(2019, 9, 4, 12, 30, 13, 456), { + * locale: 'ko-KR', + * }) + * //=> 2019. 10. 4. + */ + +/** + * @param date - The date to format + * @param formatOptions - The format options + * + * @returns The formatted date string + * + * @throws `date` must not be Invalid Date + * + * @example + * // Represent 4 October 2019. + * // Convert the date with format's options. + * const result = intlFormat.default(new Date(2019, 9, 4, 12, 30, 13, 456), { + * year: 'numeric', + * month: 'numeric', + * day: 'numeric', + * hour: 'numeric', + * }) + * //=> 10/4/2019, 12 PM + */ + +/** + * @param date - The date to format + * @param formatOptions - The format options + * @param localeOptions - An object with locale + * + * @returns The formatted date string + * + * @throws `date` must not be Invalid Date + * + * @example + * // Represent 4 October 2019 in German. + * // Convert the date with format's options and locale's options. + * const result = intlFormat(new Date(2019, 9, 4, 12, 30, 13, 456), { + * weekday: 'long', + * year: 'numeric', + * month: 'long', + * day: 'numeric', + * }, { + * locale: 'de-DE', + * }) + * //=> Freitag, 4. Oktober 2019 + */ + +function intlFormat(date, formatOrLocale, localeOptions) { + let formatOptions; + + if (isFormatOptions(formatOrLocale)) { + formatOptions = formatOrLocale; + } else { + localeOptions = formatOrLocale; + } + + return new Intl.DateTimeFormat(localeOptions?.locale, formatOptions).format( + (0, _index.toDate)(date), + ); +} + +function isFormatOptions(opts) { + return opts !== undefined && !("locale" in opts); +} diff --git a/node_modules/date-fns/intlFormat.d.cts b/node_modules/date-fns/intlFormat.d.cts new file mode 100644 index 0000000000000000000000000000000000000000..4e13dcc5f8c3c4fbfba1773b640c5d61557594c1 --- /dev/null +++ b/node_modules/date-fns/intlFormat.d.cts @@ -0,0 +1,113 @@ +import type { DateArg, MaybeArray } from "./types.ts"; +/** + * The locale string (see: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl#locales_argument). + * @deprecated + * + * [TODO] Remove in v4 + */ +export type IntlFormatLocale = Intl.ResolvedDateTimeFormatOptions["locale"]; +/** + * The format options (see: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/DateTimeFormat/DateTimeFormat#options) + */ +export type IntlFormatFormatOptions = Intl.DateTimeFormatOptions; +/** + * The locale options. + */ +export interface IntlFormatLocaleOptions { + /** The locales to use (see: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl#locales_argument) */ + locale: MaybeArray; +} +/** + * @name intlFormat + * @category Common Helpers + * @summary Format the date with Intl.DateTimeFormat (https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/DateTimeFormat). + * + * @description + * Return the formatted date string in the given format. + * The method uses [`Intl.DateTimeFormat`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/DateTimeFormat) inside. + * formatOptions are the same as [`Intl.DateTimeFormat` options](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/DateTimeFormat#using_options) + * + * > ⚠️ Please note that before Node version 13.0.0, only the locale data for en-US is available by default. + * + * @param date - The date to format + * + * @returns The formatted date string + * + * @throws `date` must not be Invalid Date + * + * @example + * // Represent 4 October 2019 in middle-endian format: + * const result = intlFormat(new Date(2019, 9, 4, 12, 30, 13, 456)) + * //=> 10/4/2019 + */ +export declare function intlFormat(date: DateArg & {}): string; +/** + * @param date - The date to format + * @param localeOptions - An object with locale + * + * @returns The formatted date string + * + * @throws `date` must not be Invalid Date + * + * @example + * // Represent 4 October 2019 in Korean. + * // Convert the date with locale's options. + * const result = intlFormat(new Date(2019, 9, 4, 12, 30, 13, 456), { + * locale: 'ko-KR', + * }) + * //=> 2019. 10. 4. + */ +export declare function intlFormat( + date: DateArg & {}, + localeOptions: IntlFormatLocaleOptions, +): string; +/** + * @param date - The date to format + * @param formatOptions - The format options + * + * @returns The formatted date string + * + * @throws `date` must not be Invalid Date + * + * @example + * // Represent 4 October 2019. + * // Convert the date with format's options. + * const result = intlFormat.default(new Date(2019, 9, 4, 12, 30, 13, 456), { + * year: 'numeric', + * month: 'numeric', + * day: 'numeric', + * hour: 'numeric', + * }) + * //=> 10/4/2019, 12 PM + */ +export declare function intlFormat( + date: DateArg & {}, + formatOptions: IntlFormatFormatOptions, +): string; +/** + * @param date - The date to format + * @param formatOptions - The format options + * @param localeOptions - An object with locale + * + * @returns The formatted date string + * + * @throws `date` must not be Invalid Date + * + * @example + * // Represent 4 October 2019 in German. + * // Convert the date with format's options and locale's options. + * const result = intlFormat(new Date(2019, 9, 4, 12, 30, 13, 456), { + * weekday: 'long', + * year: 'numeric', + * month: 'long', + * day: 'numeric', + * }, { + * locale: 'de-DE', + * }) + * //=> Freitag, 4. Oktober 2019 + */ +export declare function intlFormat( + date: DateArg & {}, + formatOptions: IntlFormatFormatOptions, + localeOptions: IntlFormatLocaleOptions, +): string; diff --git a/node_modules/date-fns/intlFormat.d.ts b/node_modules/date-fns/intlFormat.d.ts new file mode 100644 index 0000000000000000000000000000000000000000..4e13dcc5f8c3c4fbfba1773b640c5d61557594c1 --- /dev/null +++ b/node_modules/date-fns/intlFormat.d.ts @@ -0,0 +1,113 @@ +import type { DateArg, MaybeArray } from "./types.ts"; +/** + * The locale string (see: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl#locales_argument). + * @deprecated + * + * [TODO] Remove in v4 + */ +export type IntlFormatLocale = Intl.ResolvedDateTimeFormatOptions["locale"]; +/** + * The format options (see: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/DateTimeFormat/DateTimeFormat#options) + */ +export type IntlFormatFormatOptions = Intl.DateTimeFormatOptions; +/** + * The locale options. + */ +export interface IntlFormatLocaleOptions { + /** The locales to use (see: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl#locales_argument) */ + locale: MaybeArray; +} +/** + * @name intlFormat + * @category Common Helpers + * @summary Format the date with Intl.DateTimeFormat (https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/DateTimeFormat). + * + * @description + * Return the formatted date string in the given format. + * The method uses [`Intl.DateTimeFormat`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/DateTimeFormat) inside. + * formatOptions are the same as [`Intl.DateTimeFormat` options](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/DateTimeFormat#using_options) + * + * > ⚠️ Please note that before Node version 13.0.0, only the locale data for en-US is available by default. + * + * @param date - The date to format + * + * @returns The formatted date string + * + * @throws `date` must not be Invalid Date + * + * @example + * // Represent 4 October 2019 in middle-endian format: + * const result = intlFormat(new Date(2019, 9, 4, 12, 30, 13, 456)) + * //=> 10/4/2019 + */ +export declare function intlFormat(date: DateArg & {}): string; +/** + * @param date - The date to format + * @param localeOptions - An object with locale + * + * @returns The formatted date string + * + * @throws `date` must not be Invalid Date + * + * @example + * // Represent 4 October 2019 in Korean. + * // Convert the date with locale's options. + * const result = intlFormat(new Date(2019, 9, 4, 12, 30, 13, 456), { + * locale: 'ko-KR', + * }) + * //=> 2019. 10. 4. + */ +export declare function intlFormat( + date: DateArg & {}, + localeOptions: IntlFormatLocaleOptions, +): string; +/** + * @param date - The date to format + * @param formatOptions - The format options + * + * @returns The formatted date string + * + * @throws `date` must not be Invalid Date + * + * @example + * // Represent 4 October 2019. + * // Convert the date with format's options. + * const result = intlFormat.default(new Date(2019, 9, 4, 12, 30, 13, 456), { + * year: 'numeric', + * month: 'numeric', + * day: 'numeric', + * hour: 'numeric', + * }) + * //=> 10/4/2019, 12 PM + */ +export declare function intlFormat( + date: DateArg & {}, + formatOptions: IntlFormatFormatOptions, +): string; +/** + * @param date - The date to format + * @param formatOptions - The format options + * @param localeOptions - An object with locale + * + * @returns The formatted date string + * + * @throws `date` must not be Invalid Date + * + * @example + * // Represent 4 October 2019 in German. + * // Convert the date with format's options and locale's options. + * const result = intlFormat(new Date(2019, 9, 4, 12, 30, 13, 456), { + * weekday: 'long', + * year: 'numeric', + * month: 'long', + * day: 'numeric', + * }, { + * locale: 'de-DE', + * }) + * //=> Freitag, 4. Oktober 2019 + */ +export declare function intlFormat( + date: DateArg & {}, + formatOptions: IntlFormatFormatOptions, + localeOptions: IntlFormatLocaleOptions, +): string; diff --git a/node_modules/date-fns/intlFormat.js b/node_modules/date-fns/intlFormat.js new file mode 100644 index 0000000000000000000000000000000000000000..1904d92330acf715d9d8cee888adf3ca812c660a --- /dev/null +++ b/node_modules/date-fns/intlFormat.js @@ -0,0 +1,121 @@ +import { toDate } from "./toDate.js"; + +/** + * The locale string (see: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl#locales_argument). + * @deprecated + * + * [TODO] Remove in v4 + */ + +/** + * The format options (see: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/DateTimeFormat/DateTimeFormat#options) + */ + +/** + * The locale options. + */ + +/** + * @name intlFormat + * @category Common Helpers + * @summary Format the date with Intl.DateTimeFormat (https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/DateTimeFormat). + * + * @description + * Return the formatted date string in the given format. + * The method uses [`Intl.DateTimeFormat`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/DateTimeFormat) inside. + * formatOptions are the same as [`Intl.DateTimeFormat` options](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/DateTimeFormat#using_options) + * + * > ⚠️ Please note that before Node version 13.0.0, only the locale data for en-US is available by default. + * + * @param date - The date to format + * + * @returns The formatted date string + * + * @throws `date` must not be Invalid Date + * + * @example + * // Represent 4 October 2019 in middle-endian format: + * const result = intlFormat(new Date(2019, 9, 4, 12, 30, 13, 456)) + * //=> 10/4/2019 + */ + +/** + * @param date - The date to format + * @param localeOptions - An object with locale + * + * @returns The formatted date string + * + * @throws `date` must not be Invalid Date + * + * @example + * // Represent 4 October 2019 in Korean. + * // Convert the date with locale's options. + * const result = intlFormat(new Date(2019, 9, 4, 12, 30, 13, 456), { + * locale: 'ko-KR', + * }) + * //=> 2019. 10. 4. + */ + +/** + * @param date - The date to format + * @param formatOptions - The format options + * + * @returns The formatted date string + * + * @throws `date` must not be Invalid Date + * + * @example + * // Represent 4 October 2019. + * // Convert the date with format's options. + * const result = intlFormat.default(new Date(2019, 9, 4, 12, 30, 13, 456), { + * year: 'numeric', + * month: 'numeric', + * day: 'numeric', + * hour: 'numeric', + * }) + * //=> 10/4/2019, 12 PM + */ + +/** + * @param date - The date to format + * @param formatOptions - The format options + * @param localeOptions - An object with locale + * + * @returns The formatted date string + * + * @throws `date` must not be Invalid Date + * + * @example + * // Represent 4 October 2019 in German. + * // Convert the date with format's options and locale's options. + * const result = intlFormat(new Date(2019, 9, 4, 12, 30, 13, 456), { + * weekday: 'long', + * year: 'numeric', + * month: 'long', + * day: 'numeric', + * }, { + * locale: 'de-DE', + * }) + * //=> Freitag, 4. Oktober 2019 + */ + +export function intlFormat(date, formatOrLocale, localeOptions) { + let formatOptions; + + if (isFormatOptions(formatOrLocale)) { + formatOptions = formatOrLocale; + } else { + localeOptions = formatOrLocale; + } + + return new Intl.DateTimeFormat(localeOptions?.locale, formatOptions).format( + toDate(date), + ); +} + +function isFormatOptions(opts) { + return opts !== undefined && !("locale" in opts); +} + +// Fallback for modularized imports: +export default intlFormat; diff --git a/node_modules/date-fns/intlFormatDistance.cjs b/node_modules/date-fns/intlFormatDistance.cjs new file mode 100644 index 0000000000000000000000000000000000000000..557d4d74ca49d12274e425e426d60825f8679206 --- /dev/null +++ b/node_modules/date-fns/intlFormatDistance.cjs @@ -0,0 +1,218 @@ +"use strict"; +exports.intlFormatDistance = intlFormatDistance; +var _index = require("./_lib/normalizeDates.cjs"); +var _index2 = require("./constants.cjs"); + +var _index3 = require("./differenceInCalendarDays.cjs"); +var _index4 = require("./differenceInCalendarMonths.cjs"); +var _index5 = require("./differenceInCalendarQuarters.cjs"); +var _index6 = require("./differenceInCalendarWeeks.cjs"); +var _index7 = require("./differenceInCalendarYears.cjs"); +var _index8 = require("./differenceInHours.cjs"); +var _index9 = require("./differenceInMinutes.cjs"); +var _index0 = require("./differenceInSeconds.cjs"); + +/** + * The {@link intlFormatDistance} function options. + */ + +/** + * The unit used to format the distance in {@link intlFormatDistance}. + */ + +/** + * @name intlFormatDistance + * @category Common Helpers + * @summary Formats distance between two dates in a human-readable format + * @description + * The function calculates the difference between two dates and formats it as a human-readable string. + * + * The function will pick the most appropriate unit depending on the distance between dates. For example, if the distance is a few hours, it might return `x hours`. If the distance is a few months, it might return `x months`. + * + * You can also specify a unit to force using it regardless of the distance to get a result like `123456 hours`. + * + * See the table below for the unit picking logic: + * + * | Distance between dates | Result (past) | Result (future) | + * | ---------------------- | -------------- | --------------- | + * | 0 seconds | now | now | + * | 1-59 seconds | X seconds ago | in X seconds | + * | 1-59 minutes | X minutes ago | in X minutes | + * | 1-23 hours | X hours ago | in X hours | + * | 1 day | yesterday | tomorrow | + * | 2-6 days | X days ago | in X days | + * | 7 days | last week | next week | + * | 8 days-1 month | X weeks ago | in X weeks | + * | 1 month | last month | next month | + * | 2-3 months | X months ago | in X months | + * | 1 quarter | last quarter | next quarter | + * | 2-3 quarters | X quarters ago | in X quarters | + * | 1 year | last year | next year | + * | 2+ years | X years ago | in X years | + * + * @param laterDate - The date + * @param earlierDate - The date to compare with. + * @param options - An object with options. + * See MDN for details [Locale identification and negotiation](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl#locale_identification_and_negotiation) + * The narrow one could be similar to the short one for some locales. + * + * @returns The distance in words according to language-sensitive relative time formatting. + * + * @throws `date` must not be Invalid Date + * @throws `baseDate` must not be Invalid Date + * @throws `options.unit` must not be invalid Unit + * @throws `options.locale` must not be invalid locale + * @throws `options.localeMatcher` must not be invalid localeMatcher + * @throws `options.numeric` must not be invalid numeric + * @throws `options.style` must not be invalid style + * + * @example + * // What is the distance between the dates when the fist date is after the second? + * intlFormatDistance( + * new Date(1986, 3, 4, 11, 30, 0), + * new Date(1986, 3, 4, 10, 30, 0) + * ) + * //=> 'in 1 hour' + * + * // What is the distance between the dates when the fist date is before the second? + * intlFormatDistance( + * new Date(1986, 3, 4, 10, 30, 0), + * new Date(1986, 3, 4, 11, 30, 0) + * ) + * //=> '1 hour ago' + * + * @example + * // Use the unit option to force the function to output the result in quarters. Without setting it, the example would return "next year" + * intlFormatDistance( + * new Date(1987, 6, 4, 10, 30, 0), + * new Date(1986, 3, 4, 10, 30, 0), + * { unit: 'quarter' } + * ) + * //=> 'in 5 quarters' + * + * @example + * // Use the locale option to get the result in Spanish. Without setting it, the example would return "in 1 hour". + * intlFormatDistance( + * new Date(1986, 3, 4, 11, 30, 0), + * new Date(1986, 3, 4, 10, 30, 0), + * { locale: 'es' } + * ) + * //=> 'dentro de 1 hora' + * + * @example + * // Use the numeric option to force the function to use numeric values. Without setting it, the example would return "tomorrow". + * intlFormatDistance( + * new Date(1986, 3, 5, 11, 30, 0), + * new Date(1986, 3, 4, 11, 30, 0), + * { numeric: 'always' } + * ) + * //=> 'in 1 day' + * + * @example + * // Use the style option to force the function to use short values. Without setting it, the example would return "in 2 years". + * intlFormatDistance( + * new Date(1988, 3, 4, 11, 30, 0), + * new Date(1986, 3, 4, 11, 30, 0), + * { style: 'short' } + * ) + * //=> 'in 2 yr' + */ +function intlFormatDistance(laterDate, earlierDate, options) { + let value = 0; + let unit; + + const [laterDate_, earlierDate_] = (0, _index.normalizeDates)( + options?.in, + laterDate, + earlierDate, + ); + + if (!options?.unit) { + // Get the unit based on diffInSeconds calculations if no unit is specified + const diffInSeconds = (0, _index0.differenceInSeconds)( + laterDate_, + earlierDate_, + ); // The smallest unit + + if (Math.abs(diffInSeconds) < _index2.secondsInMinute) { + value = (0, _index0.differenceInSeconds)(laterDate_, earlierDate_); + unit = "second"; + } else if (Math.abs(diffInSeconds) < _index2.secondsInHour) { + value = (0, _index9.differenceInMinutes)(laterDate_, earlierDate_); + unit = "minute"; + } else if ( + Math.abs(diffInSeconds) < _index2.secondsInDay && + Math.abs( + (0, _index3.differenceInCalendarDays)(laterDate_, earlierDate_), + ) < 1 + ) { + value = (0, _index8.differenceInHours)(laterDate_, earlierDate_); + unit = "hour"; + } else if ( + Math.abs(diffInSeconds) < _index2.secondsInWeek && + (value = (0, _index3.differenceInCalendarDays)( + laterDate_, + earlierDate_, + )) && + Math.abs(value) < 7 + ) { + unit = "day"; + } else if (Math.abs(diffInSeconds) < _index2.secondsInMonth) { + value = (0, _index6.differenceInCalendarWeeks)(laterDate_, earlierDate_); + unit = "week"; + } else if (Math.abs(diffInSeconds) < _index2.secondsInQuarter) { + value = (0, _index4.differenceInCalendarMonths)(laterDate_, earlierDate_); + unit = "month"; + } else if (Math.abs(diffInSeconds) < _index2.secondsInYear) { + if ( + (0, _index5.differenceInCalendarQuarters)(laterDate_, earlierDate_) < 4 + ) { + // To filter out cases that are less than a year but match 4 quarters + value = (0, _index5.differenceInCalendarQuarters)( + laterDate_, + earlierDate_, + ); + unit = "quarter"; + } else { + value = (0, _index7.differenceInCalendarYears)( + laterDate_, + earlierDate_, + ); + unit = "year"; + } + } else { + value = (0, _index7.differenceInCalendarYears)(laterDate_, earlierDate_); + unit = "year"; + } + } else { + // Get the value if unit is specified + unit = options?.unit; + if (unit === "second") { + value = (0, _index0.differenceInSeconds)(laterDate_, earlierDate_); + } else if (unit === "minute") { + value = (0, _index9.differenceInMinutes)(laterDate_, earlierDate_); + } else if (unit === "hour") { + value = (0, _index8.differenceInHours)(laterDate_, earlierDate_); + } else if (unit === "day") { + value = (0, _index3.differenceInCalendarDays)(laterDate_, earlierDate_); + } else if (unit === "week") { + value = (0, _index6.differenceInCalendarWeeks)(laterDate_, earlierDate_); + } else if (unit === "month") { + value = (0, _index4.differenceInCalendarMonths)(laterDate_, earlierDate_); + } else if (unit === "quarter") { + value = (0, _index5.differenceInCalendarQuarters)( + laterDate_, + earlierDate_, + ); + } else if (unit === "year") { + value = (0, _index7.differenceInCalendarYears)(laterDate_, earlierDate_); + } + } + + const rtf = new Intl.RelativeTimeFormat(options?.locale, { + numeric: "auto", + ...options, + }); + + return rtf.format(value, unit); +} diff --git a/node_modules/date-fns/intlFormatDistance.d.cts b/node_modules/date-fns/intlFormatDistance.d.cts new file mode 100644 index 0000000000000000000000000000000000000000..8d007a5df27744014869d1479a9ff77fe7e729e3 --- /dev/null +++ b/node_modules/date-fns/intlFormatDistance.d.cts @@ -0,0 +1,126 @@ +import type { ContextOptions, DateArg, MaybeArray } from "./types.ts"; +/** + * The {@link intlFormatDistance} function options. + */ +export interface IntlFormatDistanceOptions + extends Intl.RelativeTimeFormatOptions, + ContextOptions { + /** Force the distance unit */ + unit?: IntlFormatDistanceUnit; + /** The locales to use (see: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl#locales_argument) */ + locale?: MaybeArray; +} +/** + * The unit used to format the distance in {@link intlFormatDistance}. + */ +export type IntlFormatDistanceUnit = + | "year" + | "quarter" + | "month" + | "week" + | "day" + | "hour" + | "minute" + | "second"; +/** + * @name intlFormatDistance + * @category Common Helpers + * @summary Formats distance between two dates in a human-readable format + * @description + * The function calculates the difference between two dates and formats it as a human-readable string. + * + * The function will pick the most appropriate unit depending on the distance between dates. For example, if the distance is a few hours, it might return `x hours`. If the distance is a few months, it might return `x months`. + * + * You can also specify a unit to force using it regardless of the distance to get a result like `123456 hours`. + * + * See the table below for the unit picking logic: + * + * | Distance between dates | Result (past) | Result (future) | + * | ---------------------- | -------------- | --------------- | + * | 0 seconds | now | now | + * | 1-59 seconds | X seconds ago | in X seconds | + * | 1-59 minutes | X minutes ago | in X minutes | + * | 1-23 hours | X hours ago | in X hours | + * | 1 day | yesterday | tomorrow | + * | 2-6 days | X days ago | in X days | + * | 7 days | last week | next week | + * | 8 days-1 month | X weeks ago | in X weeks | + * | 1 month | last month | next month | + * | 2-3 months | X months ago | in X months | + * | 1 quarter | last quarter | next quarter | + * | 2-3 quarters | X quarters ago | in X quarters | + * | 1 year | last year | next year | + * | 2+ years | X years ago | in X years | + * + * @param laterDate - The date + * @param earlierDate - The date to compare with. + * @param options - An object with options. + * See MDN for details [Locale identification and negotiation](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl#locale_identification_and_negotiation) + * The narrow one could be similar to the short one for some locales. + * + * @returns The distance in words according to language-sensitive relative time formatting. + * + * @throws `date` must not be Invalid Date + * @throws `baseDate` must not be Invalid Date + * @throws `options.unit` must not be invalid Unit + * @throws `options.locale` must not be invalid locale + * @throws `options.localeMatcher` must not be invalid localeMatcher + * @throws `options.numeric` must not be invalid numeric + * @throws `options.style` must not be invalid style + * + * @example + * // What is the distance between the dates when the fist date is after the second? + * intlFormatDistance( + * new Date(1986, 3, 4, 11, 30, 0), + * new Date(1986, 3, 4, 10, 30, 0) + * ) + * //=> 'in 1 hour' + * + * // What is the distance between the dates when the fist date is before the second? + * intlFormatDistance( + * new Date(1986, 3, 4, 10, 30, 0), + * new Date(1986, 3, 4, 11, 30, 0) + * ) + * //=> '1 hour ago' + * + * @example + * // Use the unit option to force the function to output the result in quarters. Without setting it, the example would return "next year" + * intlFormatDistance( + * new Date(1987, 6, 4, 10, 30, 0), + * new Date(1986, 3, 4, 10, 30, 0), + * { unit: 'quarter' } + * ) + * //=> 'in 5 quarters' + * + * @example + * // Use the locale option to get the result in Spanish. Without setting it, the example would return "in 1 hour". + * intlFormatDistance( + * new Date(1986, 3, 4, 11, 30, 0), + * new Date(1986, 3, 4, 10, 30, 0), + * { locale: 'es' } + * ) + * //=> 'dentro de 1 hora' + * + * @example + * // Use the numeric option to force the function to use numeric values. Without setting it, the example would return "tomorrow". + * intlFormatDistance( + * new Date(1986, 3, 5, 11, 30, 0), + * new Date(1986, 3, 4, 11, 30, 0), + * { numeric: 'always' } + * ) + * //=> 'in 1 day' + * + * @example + * // Use the style option to force the function to use short values. Without setting it, the example would return "in 2 years". + * intlFormatDistance( + * new Date(1988, 3, 4, 11, 30, 0), + * new Date(1986, 3, 4, 11, 30, 0), + * { style: 'short' } + * ) + * //=> 'in 2 yr' + */ +export declare function intlFormatDistance( + laterDate: DateArg & {}, + earlierDate: DateArg & {}, + options?: IntlFormatDistanceOptions, +): string; diff --git a/node_modules/date-fns/intlFormatDistance.d.ts b/node_modules/date-fns/intlFormatDistance.d.ts new file mode 100644 index 0000000000000000000000000000000000000000..8d007a5df27744014869d1479a9ff77fe7e729e3 --- /dev/null +++ b/node_modules/date-fns/intlFormatDistance.d.ts @@ -0,0 +1,126 @@ +import type { ContextOptions, DateArg, MaybeArray } from "./types.ts"; +/** + * The {@link intlFormatDistance} function options. + */ +export interface IntlFormatDistanceOptions + extends Intl.RelativeTimeFormatOptions, + ContextOptions { + /** Force the distance unit */ + unit?: IntlFormatDistanceUnit; + /** The locales to use (see: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl#locales_argument) */ + locale?: MaybeArray; +} +/** + * The unit used to format the distance in {@link intlFormatDistance}. + */ +export type IntlFormatDistanceUnit = + | "year" + | "quarter" + | "month" + | "week" + | "day" + | "hour" + | "minute" + | "second"; +/** + * @name intlFormatDistance + * @category Common Helpers + * @summary Formats distance between two dates in a human-readable format + * @description + * The function calculates the difference between two dates and formats it as a human-readable string. + * + * The function will pick the most appropriate unit depending on the distance between dates. For example, if the distance is a few hours, it might return `x hours`. If the distance is a few months, it might return `x months`. + * + * You can also specify a unit to force using it regardless of the distance to get a result like `123456 hours`. + * + * See the table below for the unit picking logic: + * + * | Distance between dates | Result (past) | Result (future) | + * | ---------------------- | -------------- | --------------- | + * | 0 seconds | now | now | + * | 1-59 seconds | X seconds ago | in X seconds | + * | 1-59 minutes | X minutes ago | in X minutes | + * | 1-23 hours | X hours ago | in X hours | + * | 1 day | yesterday | tomorrow | + * | 2-6 days | X days ago | in X days | + * | 7 days | last week | next week | + * | 8 days-1 month | X weeks ago | in X weeks | + * | 1 month | last month | next month | + * | 2-3 months | X months ago | in X months | + * | 1 quarter | last quarter | next quarter | + * | 2-3 quarters | X quarters ago | in X quarters | + * | 1 year | last year | next year | + * | 2+ years | X years ago | in X years | + * + * @param laterDate - The date + * @param earlierDate - The date to compare with. + * @param options - An object with options. + * See MDN for details [Locale identification and negotiation](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl#locale_identification_and_negotiation) + * The narrow one could be similar to the short one for some locales. + * + * @returns The distance in words according to language-sensitive relative time formatting. + * + * @throws `date` must not be Invalid Date + * @throws `baseDate` must not be Invalid Date + * @throws `options.unit` must not be invalid Unit + * @throws `options.locale` must not be invalid locale + * @throws `options.localeMatcher` must not be invalid localeMatcher + * @throws `options.numeric` must not be invalid numeric + * @throws `options.style` must not be invalid style + * + * @example + * // What is the distance between the dates when the fist date is after the second? + * intlFormatDistance( + * new Date(1986, 3, 4, 11, 30, 0), + * new Date(1986, 3, 4, 10, 30, 0) + * ) + * //=> 'in 1 hour' + * + * // What is the distance between the dates when the fist date is before the second? + * intlFormatDistance( + * new Date(1986, 3, 4, 10, 30, 0), + * new Date(1986, 3, 4, 11, 30, 0) + * ) + * //=> '1 hour ago' + * + * @example + * // Use the unit option to force the function to output the result in quarters. Without setting it, the example would return "next year" + * intlFormatDistance( + * new Date(1987, 6, 4, 10, 30, 0), + * new Date(1986, 3, 4, 10, 30, 0), + * { unit: 'quarter' } + * ) + * //=> 'in 5 quarters' + * + * @example + * // Use the locale option to get the result in Spanish. Without setting it, the example would return "in 1 hour". + * intlFormatDistance( + * new Date(1986, 3, 4, 11, 30, 0), + * new Date(1986, 3, 4, 10, 30, 0), + * { locale: 'es' } + * ) + * //=> 'dentro de 1 hora' + * + * @example + * // Use the numeric option to force the function to use numeric values. Without setting it, the example would return "tomorrow". + * intlFormatDistance( + * new Date(1986, 3, 5, 11, 30, 0), + * new Date(1986, 3, 4, 11, 30, 0), + * { numeric: 'always' } + * ) + * //=> 'in 1 day' + * + * @example + * // Use the style option to force the function to use short values. Without setting it, the example would return "in 2 years". + * intlFormatDistance( + * new Date(1988, 3, 4, 11, 30, 0), + * new Date(1986, 3, 4, 11, 30, 0), + * { style: 'short' } + * ) + * //=> 'in 2 yr' + */ +export declare function intlFormatDistance( + laterDate: DateArg & {}, + earlierDate: DateArg & {}, + options?: IntlFormatDistanceOptions, +): string; diff --git a/node_modules/date-fns/intlFormatDistance.js b/node_modules/date-fns/intlFormatDistance.js new file mode 100644 index 0000000000000000000000000000000000000000..d97f7fbb3466027e14f8d0e344fc286d8e645922 --- /dev/null +++ b/node_modules/date-fns/intlFormatDistance.js @@ -0,0 +1,207 @@ +import { normalizeDates } from "./_lib/normalizeDates.js"; +import { + secondsInDay, + secondsInHour, + secondsInMinute, + secondsInMonth, + secondsInQuarter, + secondsInWeek, + secondsInYear, +} from "./constants.js"; +import { differenceInCalendarDays } from "./differenceInCalendarDays.js"; +import { differenceInCalendarMonths } from "./differenceInCalendarMonths.js"; +import { differenceInCalendarQuarters } from "./differenceInCalendarQuarters.js"; +import { differenceInCalendarWeeks } from "./differenceInCalendarWeeks.js"; +import { differenceInCalendarYears } from "./differenceInCalendarYears.js"; +import { differenceInHours } from "./differenceInHours.js"; +import { differenceInMinutes } from "./differenceInMinutes.js"; +import { differenceInSeconds } from "./differenceInSeconds.js"; + +/** + * The {@link intlFormatDistance} function options. + */ + +/** + * The unit used to format the distance in {@link intlFormatDistance}. + */ + +/** + * @name intlFormatDistance + * @category Common Helpers + * @summary Formats distance between two dates in a human-readable format + * @description + * The function calculates the difference between two dates and formats it as a human-readable string. + * + * The function will pick the most appropriate unit depending on the distance between dates. For example, if the distance is a few hours, it might return `x hours`. If the distance is a few months, it might return `x months`. + * + * You can also specify a unit to force using it regardless of the distance to get a result like `123456 hours`. + * + * See the table below for the unit picking logic: + * + * | Distance between dates | Result (past) | Result (future) | + * | ---------------------- | -------------- | --------------- | + * | 0 seconds | now | now | + * | 1-59 seconds | X seconds ago | in X seconds | + * | 1-59 minutes | X minutes ago | in X minutes | + * | 1-23 hours | X hours ago | in X hours | + * | 1 day | yesterday | tomorrow | + * | 2-6 days | X days ago | in X days | + * | 7 days | last week | next week | + * | 8 days-1 month | X weeks ago | in X weeks | + * | 1 month | last month | next month | + * | 2-3 months | X months ago | in X months | + * | 1 quarter | last quarter | next quarter | + * | 2-3 quarters | X quarters ago | in X quarters | + * | 1 year | last year | next year | + * | 2+ years | X years ago | in X years | + * + * @param laterDate - The date + * @param earlierDate - The date to compare with. + * @param options - An object with options. + * See MDN for details [Locale identification and negotiation](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl#locale_identification_and_negotiation) + * The narrow one could be similar to the short one for some locales. + * + * @returns The distance in words according to language-sensitive relative time formatting. + * + * @throws `date` must not be Invalid Date + * @throws `baseDate` must not be Invalid Date + * @throws `options.unit` must not be invalid Unit + * @throws `options.locale` must not be invalid locale + * @throws `options.localeMatcher` must not be invalid localeMatcher + * @throws `options.numeric` must not be invalid numeric + * @throws `options.style` must not be invalid style + * + * @example + * // What is the distance between the dates when the fist date is after the second? + * intlFormatDistance( + * new Date(1986, 3, 4, 11, 30, 0), + * new Date(1986, 3, 4, 10, 30, 0) + * ) + * //=> 'in 1 hour' + * + * // What is the distance between the dates when the fist date is before the second? + * intlFormatDistance( + * new Date(1986, 3, 4, 10, 30, 0), + * new Date(1986, 3, 4, 11, 30, 0) + * ) + * //=> '1 hour ago' + * + * @example + * // Use the unit option to force the function to output the result in quarters. Without setting it, the example would return "next year" + * intlFormatDistance( + * new Date(1987, 6, 4, 10, 30, 0), + * new Date(1986, 3, 4, 10, 30, 0), + * { unit: 'quarter' } + * ) + * //=> 'in 5 quarters' + * + * @example + * // Use the locale option to get the result in Spanish. Without setting it, the example would return "in 1 hour". + * intlFormatDistance( + * new Date(1986, 3, 4, 11, 30, 0), + * new Date(1986, 3, 4, 10, 30, 0), + * { locale: 'es' } + * ) + * //=> 'dentro de 1 hora' + * + * @example + * // Use the numeric option to force the function to use numeric values. Without setting it, the example would return "tomorrow". + * intlFormatDistance( + * new Date(1986, 3, 5, 11, 30, 0), + * new Date(1986, 3, 4, 11, 30, 0), + * { numeric: 'always' } + * ) + * //=> 'in 1 day' + * + * @example + * // Use the style option to force the function to use short values. Without setting it, the example would return "in 2 years". + * intlFormatDistance( + * new Date(1988, 3, 4, 11, 30, 0), + * new Date(1986, 3, 4, 11, 30, 0), + * { style: 'short' } + * ) + * //=> 'in 2 yr' + */ +export function intlFormatDistance(laterDate, earlierDate, options) { + let value = 0; + let unit; + + const [laterDate_, earlierDate_] = normalizeDates( + options?.in, + laterDate, + earlierDate, + ); + + if (!options?.unit) { + // Get the unit based on diffInSeconds calculations if no unit is specified + const diffInSeconds = differenceInSeconds(laterDate_, earlierDate_); // The smallest unit + + if (Math.abs(diffInSeconds) < secondsInMinute) { + value = differenceInSeconds(laterDate_, earlierDate_); + unit = "second"; + } else if (Math.abs(diffInSeconds) < secondsInHour) { + value = differenceInMinutes(laterDate_, earlierDate_); + unit = "minute"; + } else if ( + Math.abs(diffInSeconds) < secondsInDay && + Math.abs(differenceInCalendarDays(laterDate_, earlierDate_)) < 1 + ) { + value = differenceInHours(laterDate_, earlierDate_); + unit = "hour"; + } else if ( + Math.abs(diffInSeconds) < secondsInWeek && + (value = differenceInCalendarDays(laterDate_, earlierDate_)) && + Math.abs(value) < 7 + ) { + unit = "day"; + } else if (Math.abs(diffInSeconds) < secondsInMonth) { + value = differenceInCalendarWeeks(laterDate_, earlierDate_); + unit = "week"; + } else if (Math.abs(diffInSeconds) < secondsInQuarter) { + value = differenceInCalendarMonths(laterDate_, earlierDate_); + unit = "month"; + } else if (Math.abs(diffInSeconds) < secondsInYear) { + if (differenceInCalendarQuarters(laterDate_, earlierDate_) < 4) { + // To filter out cases that are less than a year but match 4 quarters + value = differenceInCalendarQuarters(laterDate_, earlierDate_); + unit = "quarter"; + } else { + value = differenceInCalendarYears(laterDate_, earlierDate_); + unit = "year"; + } + } else { + value = differenceInCalendarYears(laterDate_, earlierDate_); + unit = "year"; + } + } else { + // Get the value if unit is specified + unit = options?.unit; + if (unit === "second") { + value = differenceInSeconds(laterDate_, earlierDate_); + } else if (unit === "minute") { + value = differenceInMinutes(laterDate_, earlierDate_); + } else if (unit === "hour") { + value = differenceInHours(laterDate_, earlierDate_); + } else if (unit === "day") { + value = differenceInCalendarDays(laterDate_, earlierDate_); + } else if (unit === "week") { + value = differenceInCalendarWeeks(laterDate_, earlierDate_); + } else if (unit === "month") { + value = differenceInCalendarMonths(laterDate_, earlierDate_); + } else if (unit === "quarter") { + value = differenceInCalendarQuarters(laterDate_, earlierDate_); + } else if (unit === "year") { + value = differenceInCalendarYears(laterDate_, earlierDate_); + } + } + + const rtf = new Intl.RelativeTimeFormat(options?.locale, { + numeric: "auto", + ...options, + }); + + return rtf.format(value, unit); +} + +// Fallback for modularized imports: +export default intlFormatDistance; diff --git a/node_modules/date-fns/isAfter.cjs b/node_modules/date-fns/isAfter.cjs new file mode 100644 index 0000000000000000000000000000000000000000..6db09015fff8964975f054447f1195cb0adda086 --- /dev/null +++ b/node_modules/date-fns/isAfter.cjs @@ -0,0 +1,25 @@ +"use strict"; +exports.isAfter = isAfter; +var _index = require("./toDate.cjs"); + +/** + * @name isAfter + * @category Common Helpers + * @summary Is the first date after the second one? + * + * @description + * Is the first date after the second one? + * + * @param date - The date that should be after the other one to return true + * @param dateToCompare - The date to compare with + * + * @returns The first date is after the second date + * + * @example + * // Is 10 July 1989 after 11 February 1987? + * const result = isAfter(new Date(1989, 6, 10), new Date(1987, 1, 11)) + * //=> true + */ +function isAfter(date, dateToCompare) { + return +(0, _index.toDate)(date) > +(0, _index.toDate)(dateToCompare); +} diff --git a/node_modules/date-fns/isAfter.d.cts b/node_modules/date-fns/isAfter.d.cts new file mode 100644 index 0000000000000000000000000000000000000000..d12e340fbda3c44ca123c80bb0eadb4afa73a719 --- /dev/null +++ b/node_modules/date-fns/isAfter.d.cts @@ -0,0 +1,23 @@ +import type { DateArg } from "./types.ts"; +/** + * @name isAfter + * @category Common Helpers + * @summary Is the first date after the second one? + * + * @description + * Is the first date after the second one? + * + * @param date - The date that should be after the other one to return true + * @param dateToCompare - The date to compare with + * + * @returns The first date is after the second date + * + * @example + * // Is 10 July 1989 after 11 February 1987? + * const result = isAfter(new Date(1989, 6, 10), new Date(1987, 1, 11)) + * //=> true + */ +export declare function isAfter( + date: DateArg & {}, + dateToCompare: DateArg & {}, +): boolean; diff --git a/node_modules/date-fns/isAfter.d.ts b/node_modules/date-fns/isAfter.d.ts new file mode 100644 index 0000000000000000000000000000000000000000..d12e340fbda3c44ca123c80bb0eadb4afa73a719 --- /dev/null +++ b/node_modules/date-fns/isAfter.d.ts @@ -0,0 +1,23 @@ +import type { DateArg } from "./types.ts"; +/** + * @name isAfter + * @category Common Helpers + * @summary Is the first date after the second one? + * + * @description + * Is the first date after the second one? + * + * @param date - The date that should be after the other one to return true + * @param dateToCompare - The date to compare with + * + * @returns The first date is after the second date + * + * @example + * // Is 10 July 1989 after 11 February 1987? + * const result = isAfter(new Date(1989, 6, 10), new Date(1987, 1, 11)) + * //=> true + */ +export declare function isAfter( + date: DateArg & {}, + dateToCompare: DateArg & {}, +): boolean; diff --git a/node_modules/date-fns/isAfter.js b/node_modules/date-fns/isAfter.js new file mode 100644 index 0000000000000000000000000000000000000000..51c6b4ce16670ec8ffb9559b66c6be99889af90d --- /dev/null +++ b/node_modules/date-fns/isAfter.js @@ -0,0 +1,26 @@ +import { toDate } from "./toDate.js"; + +/** + * @name isAfter + * @category Common Helpers + * @summary Is the first date after the second one? + * + * @description + * Is the first date after the second one? + * + * @param date - The date that should be after the other one to return true + * @param dateToCompare - The date to compare with + * + * @returns The first date is after the second date + * + * @example + * // Is 10 July 1989 after 11 February 1987? + * const result = isAfter(new Date(1989, 6, 10), new Date(1987, 1, 11)) + * //=> true + */ +export function isAfter(date, dateToCompare) { + return +toDate(date) > +toDate(dateToCompare); +} + +// Fallback for modularized imports: +export default isAfter; diff --git a/node_modules/date-fns/isBefore.cjs b/node_modules/date-fns/isBefore.cjs new file mode 100644 index 0000000000000000000000000000000000000000..c3c44ee9e2e497f836a0ad63b92c98956370249a --- /dev/null +++ b/node_modules/date-fns/isBefore.cjs @@ -0,0 +1,25 @@ +"use strict"; +exports.isBefore = isBefore; +var _index = require("./toDate.cjs"); + +/** + * @name isBefore + * @category Common Helpers + * @summary Is the first date before the second one? + * + * @description + * Is the first date before the second one? + * + * @param date - The date that should be before the other one to return true + * @param dateToCompare - The date to compare with + * + * @returns The first date is before the second date + * + * @example + * // Is 10 July 1989 before 11 February 1987? + * const result = isBefore(new Date(1989, 6, 10), new Date(1987, 1, 11)) + * //=> false + */ +function isBefore(date, dateToCompare) { + return +(0, _index.toDate)(date) < +(0, _index.toDate)(dateToCompare); +} diff --git a/node_modules/date-fns/isBefore.d.cts b/node_modules/date-fns/isBefore.d.cts new file mode 100644 index 0000000000000000000000000000000000000000..c4e4a6f9207f94ed856404659c4cfdecc994368f --- /dev/null +++ b/node_modules/date-fns/isBefore.d.cts @@ -0,0 +1,23 @@ +import type { DateArg } from "./types.ts"; +/** + * @name isBefore + * @category Common Helpers + * @summary Is the first date before the second one? + * + * @description + * Is the first date before the second one? + * + * @param date - The date that should be before the other one to return true + * @param dateToCompare - The date to compare with + * + * @returns The first date is before the second date + * + * @example + * // Is 10 July 1989 before 11 February 1987? + * const result = isBefore(new Date(1989, 6, 10), new Date(1987, 1, 11)) + * //=> false + */ +export declare function isBefore( + date: DateArg & {}, + dateToCompare: DateArg & {}, +): boolean; diff --git a/node_modules/date-fns/isBefore.d.ts b/node_modules/date-fns/isBefore.d.ts new file mode 100644 index 0000000000000000000000000000000000000000..c4e4a6f9207f94ed856404659c4cfdecc994368f --- /dev/null +++ b/node_modules/date-fns/isBefore.d.ts @@ -0,0 +1,23 @@ +import type { DateArg } from "./types.ts"; +/** + * @name isBefore + * @category Common Helpers + * @summary Is the first date before the second one? + * + * @description + * Is the first date before the second one? + * + * @param date - The date that should be before the other one to return true + * @param dateToCompare - The date to compare with + * + * @returns The first date is before the second date + * + * @example + * // Is 10 July 1989 before 11 February 1987? + * const result = isBefore(new Date(1989, 6, 10), new Date(1987, 1, 11)) + * //=> false + */ +export declare function isBefore( + date: DateArg & {}, + dateToCompare: DateArg & {}, +): boolean; diff --git a/node_modules/date-fns/isBefore.js b/node_modules/date-fns/isBefore.js new file mode 100644 index 0000000000000000000000000000000000000000..a0be06608ce5da9035e167254e20bd04282bf0c0 --- /dev/null +++ b/node_modules/date-fns/isBefore.js @@ -0,0 +1,26 @@ +import { toDate } from "./toDate.js"; + +/** + * @name isBefore + * @category Common Helpers + * @summary Is the first date before the second one? + * + * @description + * Is the first date before the second one? + * + * @param date - The date that should be before the other one to return true + * @param dateToCompare - The date to compare with + * + * @returns The first date is before the second date + * + * @example + * // Is 10 July 1989 before 11 February 1987? + * const result = isBefore(new Date(1989, 6, 10), new Date(1987, 1, 11)) + * //=> false + */ +export function isBefore(date, dateToCompare) { + return +toDate(date) < +toDate(dateToCompare); +} + +// Fallback for modularized imports: +export default isBefore; diff --git a/node_modules/date-fns/isDate.cjs b/node_modules/date-fns/isDate.cjs new file mode 100644 index 0000000000000000000000000000000000000000..57fa9248dc39bdc8858751e9478d738a5c2494e0 --- /dev/null +++ b/node_modules/date-fns/isDate.cjs @@ -0,0 +1,40 @@ +"use strict"; +exports.isDate = isDate; /** + * @name isDate + * @category Common Helpers + * @summary Is the given value a date? + * + * @description + * Returns true if the given value is an instance of Date. The function works for dates transferred across iframes. + * + * @param value - The value to check + * + * @returns True if the given value is a date + * + * @example + * // For a valid date: + * const result = isDate(new Date()) + * //=> true + * + * @example + * // For an invalid date: + * const result = isDate(new Date(NaN)) + * //=> true + * + * @example + * // For some value: + * const result = isDate('2014-02-31') + * //=> false + * + * @example + * // For an object: + * const result = isDate({}) + * //=> false + */ +function isDate(value) { + return ( + value instanceof Date || + (typeof value === "object" && + Object.prototype.toString.call(value) === "[object Date]") + ); +} diff --git a/node_modules/date-fns/isDate.d.cts b/node_modules/date-fns/isDate.d.cts new file mode 100644 index 0000000000000000000000000000000000000000..a01e8e038a135cc7b005bae60b783087488b7520 --- /dev/null +++ b/node_modules/date-fns/isDate.d.cts @@ -0,0 +1,33 @@ +/** + * @name isDate + * @category Common Helpers + * @summary Is the given value a date? + * + * @description + * Returns true if the given value is an instance of Date. The function works for dates transferred across iframes. + * + * @param value - The value to check + * + * @returns True if the given value is a date + * + * @example + * // For a valid date: + * const result = isDate(new Date()) + * //=> true + * + * @example + * // For an invalid date: + * const result = isDate(new Date(NaN)) + * //=> true + * + * @example + * // For some value: + * const result = isDate('2014-02-31') + * //=> false + * + * @example + * // For an object: + * const result = isDate({}) + * //=> false + */ +export declare function isDate(value: unknown): value is Date; diff --git a/node_modules/date-fns/isDate.d.ts b/node_modules/date-fns/isDate.d.ts new file mode 100644 index 0000000000000000000000000000000000000000..a01e8e038a135cc7b005bae60b783087488b7520 --- /dev/null +++ b/node_modules/date-fns/isDate.d.ts @@ -0,0 +1,33 @@ +/** + * @name isDate + * @category Common Helpers + * @summary Is the given value a date? + * + * @description + * Returns true if the given value is an instance of Date. The function works for dates transferred across iframes. + * + * @param value - The value to check + * + * @returns True if the given value is a date + * + * @example + * // For a valid date: + * const result = isDate(new Date()) + * //=> true + * + * @example + * // For an invalid date: + * const result = isDate(new Date(NaN)) + * //=> true + * + * @example + * // For some value: + * const result = isDate('2014-02-31') + * //=> false + * + * @example + * // For an object: + * const result = isDate({}) + * //=> false + */ +export declare function isDate(value: unknown): value is Date; diff --git a/node_modules/date-fns/isDate.js b/node_modules/date-fns/isDate.js new file mode 100644 index 0000000000000000000000000000000000000000..7bb848e2c810cb11c4f1505ccbd5668aef0d4cc8 --- /dev/null +++ b/node_modules/date-fns/isDate.js @@ -0,0 +1,42 @@ +/** + * @name isDate + * @category Common Helpers + * @summary Is the given value a date? + * + * @description + * Returns true if the given value is an instance of Date. The function works for dates transferred across iframes. + * + * @param value - The value to check + * + * @returns True if the given value is a date + * + * @example + * // For a valid date: + * const result = isDate(new Date()) + * //=> true + * + * @example + * // For an invalid date: + * const result = isDate(new Date(NaN)) + * //=> true + * + * @example + * // For some value: + * const result = isDate('2014-02-31') + * //=> false + * + * @example + * // For an object: + * const result = isDate({}) + * //=> false + */ +export function isDate(value) { + return ( + value instanceof Date || + (typeof value === "object" && + Object.prototype.toString.call(value) === "[object Date]") + ); +} + +// Fallback for modularized imports: +export default isDate; diff --git a/node_modules/date-fns/isEqual.cjs b/node_modules/date-fns/isEqual.cjs new file mode 100644 index 0000000000000000000000000000000000000000..4a30e7b6ab0293f3d823ba4bc27bb413a68a0685 --- /dev/null +++ b/node_modules/date-fns/isEqual.cjs @@ -0,0 +1,28 @@ +"use strict"; +exports.isEqual = isEqual; +var _index = require("./toDate.cjs"); + +/** + * @name isEqual + * @category Common Helpers + * @summary Are the given dates equal? + * + * @description + * Are the given dates equal? + * + * @param dateLeft - The first date to compare + * @param dateRight - The second date to compare + * + * @returns The dates are equal + * + * @example + * // Are 2 July 2014 06:30:45.000 and 2 July 2014 06:30:45.500 equal? + * const result = isEqual( + * new Date(2014, 6, 2, 6, 30, 45, 0), + * new Date(2014, 6, 2, 6, 30, 45, 500) + * ) + * //=> false + */ +function isEqual(leftDate, rightDate) { + return +(0, _index.toDate)(leftDate) === +(0, _index.toDate)(rightDate); +} diff --git a/node_modules/date-fns/isEqual.d.cts b/node_modules/date-fns/isEqual.d.cts new file mode 100644 index 0000000000000000000000000000000000000000..656954f66a926d346c60e2b77e7cee3df6045e38 --- /dev/null +++ b/node_modules/date-fns/isEqual.d.cts @@ -0,0 +1,26 @@ +import type { DateArg } from "./types.ts"; +/** + * @name isEqual + * @category Common Helpers + * @summary Are the given dates equal? + * + * @description + * Are the given dates equal? + * + * @param dateLeft - The first date to compare + * @param dateRight - The second date to compare + * + * @returns The dates are equal + * + * @example + * // Are 2 July 2014 06:30:45.000 and 2 July 2014 06:30:45.500 equal? + * const result = isEqual( + * new Date(2014, 6, 2, 6, 30, 45, 0), + * new Date(2014, 6, 2, 6, 30, 45, 500) + * ) + * //=> false + */ +export declare function isEqual( + leftDate: DateArg & {}, + rightDate: DateArg & {}, +): boolean; diff --git a/node_modules/date-fns/isEqual.d.ts b/node_modules/date-fns/isEqual.d.ts new file mode 100644 index 0000000000000000000000000000000000000000..656954f66a926d346c60e2b77e7cee3df6045e38 --- /dev/null +++ b/node_modules/date-fns/isEqual.d.ts @@ -0,0 +1,26 @@ +import type { DateArg } from "./types.ts"; +/** + * @name isEqual + * @category Common Helpers + * @summary Are the given dates equal? + * + * @description + * Are the given dates equal? + * + * @param dateLeft - The first date to compare + * @param dateRight - The second date to compare + * + * @returns The dates are equal + * + * @example + * // Are 2 July 2014 06:30:45.000 and 2 July 2014 06:30:45.500 equal? + * const result = isEqual( + * new Date(2014, 6, 2, 6, 30, 45, 0), + * new Date(2014, 6, 2, 6, 30, 45, 500) + * ) + * //=> false + */ +export declare function isEqual( + leftDate: DateArg & {}, + rightDate: DateArg & {}, +): boolean; diff --git a/node_modules/date-fns/isEqual.js b/node_modules/date-fns/isEqual.js new file mode 100644 index 0000000000000000000000000000000000000000..bd077c84001dd2a28b26ad8d93a055c0c5c843c3 --- /dev/null +++ b/node_modules/date-fns/isEqual.js @@ -0,0 +1,29 @@ +import { toDate } from "./toDate.js"; + +/** + * @name isEqual + * @category Common Helpers + * @summary Are the given dates equal? + * + * @description + * Are the given dates equal? + * + * @param dateLeft - The first date to compare + * @param dateRight - The second date to compare + * + * @returns The dates are equal + * + * @example + * // Are 2 July 2014 06:30:45.000 and 2 July 2014 06:30:45.500 equal? + * const result = isEqual( + * new Date(2014, 6, 2, 6, 30, 45, 0), + * new Date(2014, 6, 2, 6, 30, 45, 500) + * ) + * //=> false + */ +export function isEqual(leftDate, rightDate) { + return +toDate(leftDate) === +toDate(rightDate); +} + +// Fallback for modularized imports: +export default isEqual; diff --git a/node_modules/date-fns/isExists.cjs b/node_modules/date-fns/isExists.cjs new file mode 100644 index 0000000000000000000000000000000000000000..ffa830bb5aa688d92df265693086615aee2d5afe --- /dev/null +++ b/node_modules/date-fns/isExists.cjs @@ -0,0 +1,33 @@ +"use strict"; +exports.isExists = isExists; /** + * @name isExists + * @category Common Helpers + * @summary Is the given date exists? + * + * @description + * Checks if the given arguments convert to an existing date. + * + * @param year - The year of the date to check + * @param month - The month of the date to check + * @param day - The day of the date to check + * + * @returns `true` if the date exists + * + * @example + * // For the valid date: + * const result = isExists(2018, 0, 31) + * //=> true + * + * @example + * // For the invalid date: + * const result = isExists(2018, 1, 31) + * //=> false + */ +function isExists(year, month, day) { + const date = new Date(year, month, day); + return ( + date.getFullYear() === year && + date.getMonth() === month && + date.getDate() === day + ); +} diff --git a/node_modules/date-fns/isExists.d.cts b/node_modules/date-fns/isExists.d.cts new file mode 100644 index 0000000000000000000000000000000000000000..3aba27b705da8aaed3e06521d8d671a464d1fb17 --- /dev/null +++ b/node_modules/date-fns/isExists.d.cts @@ -0,0 +1,29 @@ +/** + * @name isExists + * @category Common Helpers + * @summary Is the given date exists? + * + * @description + * Checks if the given arguments convert to an existing date. + * + * @param year - The year of the date to check + * @param month - The month of the date to check + * @param day - The day of the date to check + * + * @returns `true` if the date exists + * + * @example + * // For the valid date: + * const result = isExists(2018, 0, 31) + * //=> true + * + * @example + * // For the invalid date: + * const result = isExists(2018, 1, 31) + * //=> false + */ +export declare function isExists( + year: number, + month: number, + day: number, +): boolean; diff --git a/node_modules/date-fns/isExists.d.ts b/node_modules/date-fns/isExists.d.ts new file mode 100644 index 0000000000000000000000000000000000000000..3aba27b705da8aaed3e06521d8d671a464d1fb17 --- /dev/null +++ b/node_modules/date-fns/isExists.d.ts @@ -0,0 +1,29 @@ +/** + * @name isExists + * @category Common Helpers + * @summary Is the given date exists? + * + * @description + * Checks if the given arguments convert to an existing date. + * + * @param year - The year of the date to check + * @param month - The month of the date to check + * @param day - The day of the date to check + * + * @returns `true` if the date exists + * + * @example + * // For the valid date: + * const result = isExists(2018, 0, 31) + * //=> true + * + * @example + * // For the invalid date: + * const result = isExists(2018, 1, 31) + * //=> false + */ +export declare function isExists( + year: number, + month: number, + day: number, +): boolean; diff --git a/node_modules/date-fns/isExists.js b/node_modules/date-fns/isExists.js new file mode 100644 index 0000000000000000000000000000000000000000..d6e968600509c07861e69dba992f52dee1b0ccf5 --- /dev/null +++ b/node_modules/date-fns/isExists.js @@ -0,0 +1,35 @@ +/** + * @name isExists + * @category Common Helpers + * @summary Is the given date exists? + * + * @description + * Checks if the given arguments convert to an existing date. + * + * @param year - The year of the date to check + * @param month - The month of the date to check + * @param day - The day of the date to check + * + * @returns `true` if the date exists + * + * @example + * // For the valid date: + * const result = isExists(2018, 0, 31) + * //=> true + * + * @example + * // For the invalid date: + * const result = isExists(2018, 1, 31) + * //=> false + */ +export function isExists(year, month, day) { + const date = new Date(year, month, day); + return ( + date.getFullYear() === year && + date.getMonth() === month && + date.getDate() === day + ); +} + +// Fallback for modularized imports: +export default isExists; diff --git a/node_modules/date-fns/isFirstDayOfMonth.cjs b/node_modules/date-fns/isFirstDayOfMonth.cjs new file mode 100644 index 0000000000000000000000000000000000000000..f47495db8d12f25a06badd54505021ee65985920 --- /dev/null +++ b/node_modules/date-fns/isFirstDayOfMonth.cjs @@ -0,0 +1,29 @@ +"use strict"; +exports.isFirstDayOfMonth = isFirstDayOfMonth; +var _index = require("./toDate.cjs"); + +/** + * The {@link isFirstDayOfMonth} function options. + */ + +/** + * @name isFirstDayOfMonth + * @category Month Helpers + * @summary Is the given date the first day of a month? + * + * @description + * Is the given date the first day of a month? + * + * @param date - The date to check + * @param options - An object with options + * + * @returns The date is the first day of a month + * + * @example + * // Is 1 September 2014 the first day of a month? + * const result = isFirstDayOfMonth(new Date(2014, 8, 1)) + * //=> true + */ +function isFirstDayOfMonth(date, options) { + return (0, _index.toDate)(date, options?.in).getDate() === 1; +} diff --git a/node_modules/date-fns/isFirstDayOfMonth.d.cts b/node_modules/date-fns/isFirstDayOfMonth.d.cts new file mode 100644 index 0000000000000000000000000000000000000000..16cba612594fc43c98202a6827edbe044fae25d1 --- /dev/null +++ b/node_modules/date-fns/isFirstDayOfMonth.d.cts @@ -0,0 +1,27 @@ +import type { ContextOptions, DateArg } from "./types.ts"; +/** + * The {@link isFirstDayOfMonth} function options. + */ +export interface IsFirstDayOfMonthOptions extends ContextOptions {} +/** + * @name isFirstDayOfMonth + * @category Month Helpers + * @summary Is the given date the first day of a month? + * + * @description + * Is the given date the first day of a month? + * + * @param date - The date to check + * @param options - An object with options + * + * @returns The date is the first day of a month + * + * @example + * // Is 1 September 2014 the first day of a month? + * const result = isFirstDayOfMonth(new Date(2014, 8, 1)) + * //=> true + */ +export declare function isFirstDayOfMonth( + date: DateArg & {}, + options?: IsFirstDayOfMonthOptions | undefined, +): boolean; diff --git a/node_modules/date-fns/isFirstDayOfMonth.d.ts b/node_modules/date-fns/isFirstDayOfMonth.d.ts new file mode 100644 index 0000000000000000000000000000000000000000..16cba612594fc43c98202a6827edbe044fae25d1 --- /dev/null +++ b/node_modules/date-fns/isFirstDayOfMonth.d.ts @@ -0,0 +1,27 @@ +import type { ContextOptions, DateArg } from "./types.ts"; +/** + * The {@link isFirstDayOfMonth} function options. + */ +export interface IsFirstDayOfMonthOptions extends ContextOptions {} +/** + * @name isFirstDayOfMonth + * @category Month Helpers + * @summary Is the given date the first day of a month? + * + * @description + * Is the given date the first day of a month? + * + * @param date - The date to check + * @param options - An object with options + * + * @returns The date is the first day of a month + * + * @example + * // Is 1 September 2014 the first day of a month? + * const result = isFirstDayOfMonth(new Date(2014, 8, 1)) + * //=> true + */ +export declare function isFirstDayOfMonth( + date: DateArg & {}, + options?: IsFirstDayOfMonthOptions | undefined, +): boolean; diff --git a/node_modules/date-fns/isFirstDayOfMonth.js b/node_modules/date-fns/isFirstDayOfMonth.js new file mode 100644 index 0000000000000000000000000000000000000000..a898c0eb9ca38ccca15136c4bcd8e88e666da77c --- /dev/null +++ b/node_modules/date-fns/isFirstDayOfMonth.js @@ -0,0 +1,30 @@ +import { toDate } from "./toDate.js"; + +/** + * The {@link isFirstDayOfMonth} function options. + */ + +/** + * @name isFirstDayOfMonth + * @category Month Helpers + * @summary Is the given date the first day of a month? + * + * @description + * Is the given date the first day of a month? + * + * @param date - The date to check + * @param options - An object with options + * + * @returns The date is the first day of a month + * + * @example + * // Is 1 September 2014 the first day of a month? + * const result = isFirstDayOfMonth(new Date(2014, 8, 1)) + * //=> true + */ +export function isFirstDayOfMonth(date, options) { + return toDate(date, options?.in).getDate() === 1; +} + +// Fallback for modularized imports: +export default isFirstDayOfMonth; diff --git a/node_modules/date-fns/isFriday.cjs b/node_modules/date-fns/isFriday.cjs new file mode 100644 index 0000000000000000000000000000000000000000..65cb681021803e8b25a18bfc884b36f24920bfc0 --- /dev/null +++ b/node_modules/date-fns/isFriday.cjs @@ -0,0 +1,29 @@ +"use strict"; +exports.isFriday = isFriday; +var _index = require("./toDate.cjs"); + +/** + * The {@link isFriday} function options. + */ + +/** + * @name isFriday + * @category Weekday Helpers + * @summary Is the given date Friday? + * + * @description + * Is the given date Friday? + * + * @param date - The date to check + * @param options - An object with options + * + * @returns The date is Friday + * + * @example + * // Is 26 September 2014 Friday? + * const result = isFriday(new Date(2014, 8, 26)) + * //=> true + */ +function isFriday(date, options) { + return (0, _index.toDate)(date, options?.in).getDay() === 5; +} diff --git a/node_modules/date-fns/isFriday.d.cts b/node_modules/date-fns/isFriday.d.cts new file mode 100644 index 0000000000000000000000000000000000000000..a546f6d5914f7cade6e34151a80e2c8756104b4b --- /dev/null +++ b/node_modules/date-fns/isFriday.d.cts @@ -0,0 +1,27 @@ +import type { ContextOptions, DateArg } from "./types.ts"; +/** + * The {@link isFriday} function options. + */ +export interface IsFridayOptions extends ContextOptions {} +/** + * @name isFriday + * @category Weekday Helpers + * @summary Is the given date Friday? + * + * @description + * Is the given date Friday? + * + * @param date - The date to check + * @param options - An object with options + * + * @returns The date is Friday + * + * @example + * // Is 26 September 2014 Friday? + * const result = isFriday(new Date(2014, 8, 26)) + * //=> true + */ +export declare function isFriday( + date: DateArg & {}, + options?: IsFridayOptions | undefined, +): boolean; diff --git a/node_modules/date-fns/isFriday.d.ts b/node_modules/date-fns/isFriday.d.ts new file mode 100644 index 0000000000000000000000000000000000000000..a546f6d5914f7cade6e34151a80e2c8756104b4b --- /dev/null +++ b/node_modules/date-fns/isFriday.d.ts @@ -0,0 +1,27 @@ +import type { ContextOptions, DateArg } from "./types.ts"; +/** + * The {@link isFriday} function options. + */ +export interface IsFridayOptions extends ContextOptions {} +/** + * @name isFriday + * @category Weekday Helpers + * @summary Is the given date Friday? + * + * @description + * Is the given date Friday? + * + * @param date - The date to check + * @param options - An object with options + * + * @returns The date is Friday + * + * @example + * // Is 26 September 2014 Friday? + * const result = isFriday(new Date(2014, 8, 26)) + * //=> true + */ +export declare function isFriday( + date: DateArg & {}, + options?: IsFridayOptions | undefined, +): boolean; diff --git a/node_modules/date-fns/isFriday.js b/node_modules/date-fns/isFriday.js new file mode 100644 index 0000000000000000000000000000000000000000..61ac39bf829f79f2979d333e5e6af503cb503d7b --- /dev/null +++ b/node_modules/date-fns/isFriday.js @@ -0,0 +1,30 @@ +import { toDate } from "./toDate.js"; + +/** + * The {@link isFriday} function options. + */ + +/** + * @name isFriday + * @category Weekday Helpers + * @summary Is the given date Friday? + * + * @description + * Is the given date Friday? + * + * @param date - The date to check + * @param options - An object with options + * + * @returns The date is Friday + * + * @example + * // Is 26 September 2014 Friday? + * const result = isFriday(new Date(2014, 8, 26)) + * //=> true + */ +export function isFriday(date, options) { + return toDate(date, options?.in).getDay() === 5; +} + +// Fallback for modularized imports: +export default isFriday; diff --git a/node_modules/date-fns/isFuture.cjs b/node_modules/date-fns/isFuture.cjs new file mode 100644 index 0000000000000000000000000000000000000000..4514531583cee25b4cdc2f23b15f8c2f2daf1306 --- /dev/null +++ b/node_modules/date-fns/isFuture.cjs @@ -0,0 +1,25 @@ +"use strict"; +exports.isFuture = isFuture; +var _index = require("./toDate.cjs"); + +/** + * @name isFuture + * @category Common Helpers + * @summary Is the given date in the future? + * @pure false + * + * @description + * Is the given date in the future? + * + * @param date - The date to check + * + * @returns The date is in the future + * + * @example + * // If today is 6 October 2014, is 31 December 2014 in the future? + * const result = isFuture(new Date(2014, 11, 31)) + * //=> true + */ +function isFuture(date) { + return +(0, _index.toDate)(date) > Date.now(); +} diff --git a/node_modules/date-fns/isFuture.d.cts b/node_modules/date-fns/isFuture.d.cts new file mode 100644 index 0000000000000000000000000000000000000000..e7c3f7c80fa6e96d7b8283ba9ff10d2e05dcdfcd --- /dev/null +++ b/node_modules/date-fns/isFuture.d.cts @@ -0,0 +1,20 @@ +import type { DateArg } from "./types.ts"; +/** + * @name isFuture + * @category Common Helpers + * @summary Is the given date in the future? + * @pure false + * + * @description + * Is the given date in the future? + * + * @param date - The date to check + * + * @returns The date is in the future + * + * @example + * // If today is 6 October 2014, is 31 December 2014 in the future? + * const result = isFuture(new Date(2014, 11, 31)) + * //=> true + */ +export declare function isFuture(date: DateArg & {}): boolean; diff --git a/node_modules/date-fns/isFuture.d.ts b/node_modules/date-fns/isFuture.d.ts new file mode 100644 index 0000000000000000000000000000000000000000..e7c3f7c80fa6e96d7b8283ba9ff10d2e05dcdfcd --- /dev/null +++ b/node_modules/date-fns/isFuture.d.ts @@ -0,0 +1,20 @@ +import type { DateArg } from "./types.ts"; +/** + * @name isFuture + * @category Common Helpers + * @summary Is the given date in the future? + * @pure false + * + * @description + * Is the given date in the future? + * + * @param date - The date to check + * + * @returns The date is in the future + * + * @example + * // If today is 6 October 2014, is 31 December 2014 in the future? + * const result = isFuture(new Date(2014, 11, 31)) + * //=> true + */ +export declare function isFuture(date: DateArg & {}): boolean; diff --git a/node_modules/date-fns/isFuture.js b/node_modules/date-fns/isFuture.js new file mode 100644 index 0000000000000000000000000000000000000000..907deafe720cf99612af65766850264aad25dd6b --- /dev/null +++ b/node_modules/date-fns/isFuture.js @@ -0,0 +1,26 @@ +import { toDate } from "./toDate.js"; + +/** + * @name isFuture + * @category Common Helpers + * @summary Is the given date in the future? + * @pure false + * + * @description + * Is the given date in the future? + * + * @param date - The date to check + * + * @returns The date is in the future + * + * @example + * // If today is 6 October 2014, is 31 December 2014 in the future? + * const result = isFuture(new Date(2014, 11, 31)) + * //=> true + */ +export function isFuture(date) { + return +toDate(date) > Date.now(); +} + +// Fallback for modularized imports: +export default isFuture; diff --git a/node_modules/date-fns/isLastDayOfMonth.cjs b/node_modules/date-fns/isLastDayOfMonth.cjs new file mode 100644 index 0000000000000000000000000000000000000000..1d8fe19d74854ff96e8286679853de602628117c --- /dev/null +++ b/node_modules/date-fns/isLastDayOfMonth.cjs @@ -0,0 +1,31 @@ +"use strict"; +exports.isLastDayOfMonth = isLastDayOfMonth; +var _index = require("./endOfDay.cjs"); +var _index2 = require("./endOfMonth.cjs"); +var _index3 = require("./toDate.cjs"); + +/** + * @name isLastDayOfMonth + * @category Month Helpers + * @summary Is the given date the last day of a month? + * + * @description + * Is the given date the last day of a month? + * + * @param date - The date to check + * @param options - An object with options + * + * @returns The date is the last day of a month + * + * @example + * // Is 28 February 2014 the last day of a month? + * const result = isLastDayOfMonth(new Date(2014, 1, 28)) + * //=> true + */ +function isLastDayOfMonth(date, options) { + const _date = (0, _index3.toDate)(date, options?.in); + return ( + +(0, _index.endOfDay)(_date, options) === + +(0, _index2.endOfMonth)(_date, options) + ); +} diff --git a/node_modules/date-fns/isLastDayOfMonth.d.cts b/node_modules/date-fns/isLastDayOfMonth.d.cts new file mode 100644 index 0000000000000000000000000000000000000000..a460d7897abeee4ae728f130e27c6daf7ba72a81 --- /dev/null +++ b/node_modules/date-fns/isLastDayOfMonth.d.cts @@ -0,0 +1,24 @@ +import type { ContextOptions, DateArg } from "./types.ts"; +export interface IsLastDayOfMonthOptions extends ContextOptions {} +/** + * @name isLastDayOfMonth + * @category Month Helpers + * @summary Is the given date the last day of a month? + * + * @description + * Is the given date the last day of a month? + * + * @param date - The date to check + * @param options - An object with options + * + * @returns The date is the last day of a month + * + * @example + * // Is 28 February 2014 the last day of a month? + * const result = isLastDayOfMonth(new Date(2014, 1, 28)) + * //=> true + */ +export declare function isLastDayOfMonth( + date: DateArg & {}, + options?: IsLastDayOfMonthOptions | undefined, +): boolean; diff --git a/node_modules/date-fns/isLastDayOfMonth.d.ts b/node_modules/date-fns/isLastDayOfMonth.d.ts new file mode 100644 index 0000000000000000000000000000000000000000..a460d7897abeee4ae728f130e27c6daf7ba72a81 --- /dev/null +++ b/node_modules/date-fns/isLastDayOfMonth.d.ts @@ -0,0 +1,24 @@ +import type { ContextOptions, DateArg } from "./types.ts"; +export interface IsLastDayOfMonthOptions extends ContextOptions {} +/** + * @name isLastDayOfMonth + * @category Month Helpers + * @summary Is the given date the last day of a month? + * + * @description + * Is the given date the last day of a month? + * + * @param date - The date to check + * @param options - An object with options + * + * @returns The date is the last day of a month + * + * @example + * // Is 28 February 2014 the last day of a month? + * const result = isLastDayOfMonth(new Date(2014, 1, 28)) + * //=> true + */ +export declare function isLastDayOfMonth( + date: DateArg & {}, + options?: IsLastDayOfMonthOptions | undefined, +): boolean; diff --git a/node_modules/date-fns/isLastDayOfMonth.js b/node_modules/date-fns/isLastDayOfMonth.js new file mode 100644 index 0000000000000000000000000000000000000000..5e958a8af0c485cdb00d734814892d7694d2ad40 --- /dev/null +++ b/node_modules/date-fns/isLastDayOfMonth.js @@ -0,0 +1,29 @@ +import { endOfDay } from "./endOfDay.js"; +import { endOfMonth } from "./endOfMonth.js"; +import { toDate } from "./toDate.js"; + +/** + * @name isLastDayOfMonth + * @category Month Helpers + * @summary Is the given date the last day of a month? + * + * @description + * Is the given date the last day of a month? + * + * @param date - The date to check + * @param options - An object with options + * + * @returns The date is the last day of a month + * + * @example + * // Is 28 February 2014 the last day of a month? + * const result = isLastDayOfMonth(new Date(2014, 1, 28)) + * //=> true + */ +export function isLastDayOfMonth(date, options) { + const _date = toDate(date, options?.in); + return +endOfDay(_date, options) === +endOfMonth(_date, options); +} + +// Fallback for modularized imports: +export default isLastDayOfMonth; diff --git a/node_modules/date-fns/isLeapYear.cjs b/node_modules/date-fns/isLeapYear.cjs new file mode 100644 index 0000000000000000000000000000000000000000..aab111a4626feefdb3c6034136d1b0f88ecb1530 --- /dev/null +++ b/node_modules/date-fns/isLeapYear.cjs @@ -0,0 +1,27 @@ +"use strict"; +exports.isLeapYear = isLeapYear; +var _index = require("./toDate.cjs"); + +/** + * @name isLeapYear + * @category Year Helpers + * @summary Is the given date in the leap year? + * + * @description + * Is the given date in the leap year? + * + * @param date - The date to check + * @param options - The options object + * + * @returns The date is in the leap year + * + * @example + * // Is 1 September 2012 in the leap year? + * const result = isLeapYear(new Date(2012, 8, 1)) + * //=> true + */ +function isLeapYear(date, options) { + const _date = (0, _index.toDate)(date, options?.in); + const year = _date.getFullYear(); + return year % 400 === 0 || (year % 4 === 0 && year % 100 !== 0); +} diff --git a/node_modules/date-fns/isLeapYear.d.cts b/node_modules/date-fns/isLeapYear.d.cts new file mode 100644 index 0000000000000000000000000000000000000000..77757d0dcf56e5cbcb7fa13433109ef4f6b04264 --- /dev/null +++ b/node_modules/date-fns/isLeapYear.d.cts @@ -0,0 +1,24 @@ +import type { ContextOptions, DateArg } from "./types.ts"; +export interface IsLeapYearOptions extends ContextOptions {} +/** + * @name isLeapYear + * @category Year Helpers + * @summary Is the given date in the leap year? + * + * @description + * Is the given date in the leap year? + * + * @param date - The date to check + * @param options - The options object + * + * @returns The date is in the leap year + * + * @example + * // Is 1 September 2012 in the leap year? + * const result = isLeapYear(new Date(2012, 8, 1)) + * //=> true + */ +export declare function isLeapYear( + date: DateArg & {}, + options?: IsLeapYearOptions | undefined, +): boolean; diff --git a/node_modules/date-fns/isLeapYear.d.ts b/node_modules/date-fns/isLeapYear.d.ts new file mode 100644 index 0000000000000000000000000000000000000000..77757d0dcf56e5cbcb7fa13433109ef4f6b04264 --- /dev/null +++ b/node_modules/date-fns/isLeapYear.d.ts @@ -0,0 +1,24 @@ +import type { ContextOptions, DateArg } from "./types.ts"; +export interface IsLeapYearOptions extends ContextOptions {} +/** + * @name isLeapYear + * @category Year Helpers + * @summary Is the given date in the leap year? + * + * @description + * Is the given date in the leap year? + * + * @param date - The date to check + * @param options - The options object + * + * @returns The date is in the leap year + * + * @example + * // Is 1 September 2012 in the leap year? + * const result = isLeapYear(new Date(2012, 8, 1)) + * //=> true + */ +export declare function isLeapYear( + date: DateArg & {}, + options?: IsLeapYearOptions | undefined, +): boolean; diff --git a/node_modules/date-fns/isLeapYear.js b/node_modules/date-fns/isLeapYear.js new file mode 100644 index 0000000000000000000000000000000000000000..420f6763db35b9c5f1e6ded7b43741437fe143e0 --- /dev/null +++ b/node_modules/date-fns/isLeapYear.js @@ -0,0 +1,28 @@ +import { toDate } from "./toDate.js"; + +/** + * @name isLeapYear + * @category Year Helpers + * @summary Is the given date in the leap year? + * + * @description + * Is the given date in the leap year? + * + * @param date - The date to check + * @param options - The options object + * + * @returns The date is in the leap year + * + * @example + * // Is 1 September 2012 in the leap year? + * const result = isLeapYear(new Date(2012, 8, 1)) + * //=> true + */ +export function isLeapYear(date, options) { + const _date = toDate(date, options?.in); + const year = _date.getFullYear(); + return year % 400 === 0 || (year % 4 === 0 && year % 100 !== 0); +} + +// Fallback for modularized imports: +export default isLeapYear; diff --git a/node_modules/date-fns/isMatch.cjs b/node_modules/date-fns/isMatch.cjs new file mode 100644 index 0000000000000000000000000000000000000000..bbd4bea20f23812ed38c060a7b4721112db59bab --- /dev/null +++ b/node_modules/date-fns/isMatch.cjs @@ -0,0 +1,298 @@ +"use strict"; +exports.isMatch = isMatch; +var _index = require("./isValid.cjs"); +var _index2 = require("./parse.cjs"); + +/** + * The {@link isMatch} function options. + */ + +/** + * @name isMatch + * @category Common Helpers + * @summary validates the date string against given formats + * + * @description + * Return the true if given date is string correct against the given format else + * will return false. + * + * > ⚠️ Please note that the `format` tokens differ from Moment.js and other libraries. + * > See: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md + * + * The characters in the format string wrapped between two single quotes characters (') are escaped. + * Two single quotes in a row, whether inside or outside a quoted sequence, represent a 'real' single quote. + * + * Format of the format string is based on Unicode Technical Standard #35: + * https://www.unicode.org/reports/tr35/tr35-dates.html#Date_Field_Symbol_Table + * with a few additions (see note 5 below the table). + * + * Not all tokens are compatible. Combinations that don't make sense or could lead to bugs are prohibited + * and will throw `RangeError`. For example usage of 24-hour format token with AM/PM token will throw an exception: + * + * ```javascript + * isMatch('23 AM', 'HH a') + * //=> RangeError: The format string mustn't contain `HH` and `a` at the same time + * ``` + * + * See the compatibility table: https://docs.google.com/spreadsheets/d/e/2PACX-1vQOPU3xUhplll6dyoMmVUXHKl_8CRDs6_ueLmex3SoqwhuolkuN3O05l4rqx5h1dKX8eb46Ul-CCSrq/pubhtml?gid=0&single=true + * + * Accepted format string patterns: + * | Unit |Prior| Pattern | Result examples | Notes | + * |---------------------------------|-----|---------|-----------------------------------|-------| + * | Era | 140 | G..GGG | AD, BC | | + * | | | GGGG | Anno Domini, Before Christ | 2 | + * | | | GGGGG | A, B | | + * | Calendar year | 130 | y | 44, 1, 1900, 2017, 9999 | 4 | + * | | | yo | 44th, 1st, 1900th, 9999999th | 4,5 | + * | | | yy | 44, 01, 00, 17 | 4 | + * | | | yyy | 044, 001, 123, 999 | 4 | + * | | | yyyy | 0044, 0001, 1900, 2017 | 4 | + * | | | yyyyy | ... | 2,4 | + * | Local week-numbering year | 130 | Y | 44, 1, 1900, 2017, 9000 | 4 | + * | | | Yo | 44th, 1st, 1900th, 9999999th | 4,5 | + * | | | YY | 44, 01, 00, 17 | 4,6 | + * | | | YYY | 044, 001, 123, 999 | 4 | + * | | | YYYY | 0044, 0001, 1900, 2017 | 4,6 | + * | | | YYYYY | ... | 2,4 | + * | ISO week-numbering year | 130 | R | -43, 1, 1900, 2017, 9999, -9999 | 4,5 | + * | | | RR | -43, 01, 00, 17 | 4,5 | + * | | | RRR | -043, 001, 123, 999, -999 | 4,5 | + * | | | RRRR | -0043, 0001, 2017, 9999, -9999 | 4,5 | + * | | | RRRRR | ... | 2,4,5 | + * | Extended year | 130 | u | -43, 1, 1900, 2017, 9999, -999 | 4 | + * | | | uu | -43, 01, 99, -99 | 4 | + * | | | uuu | -043, 001, 123, 999, -999 | 4 | + * | | | uuuu | -0043, 0001, 2017, 9999, -9999 | 4 | + * | | | uuuuu | ... | 2,4 | + * | Quarter (formatting) | 120 | Q | 1, 2, 3, 4 | | + * | | | Qo | 1st, 2nd, 3rd, 4th | 5 | + * | | | QQ | 01, 02, 03, 04 | | + * | | | QQQ | Q1, Q2, Q3, Q4 | | + * | | | QQQQ | 1st quarter, 2nd quarter, ... | 2 | + * | | | QQQQQ | 1, 2, 3, 4 | 4 | + * | Quarter (stand-alone) | 120 | q | 1, 2, 3, 4 | | + * | | | qo | 1st, 2nd, 3rd, 4th | 5 | + * | | | qq | 01, 02, 03, 04 | | + * | | | qqq | Q1, Q2, Q3, Q4 | | + * | | | qqqq | 1st quarter, 2nd quarter, ... | 2 | + * | | | qqqqq | 1, 2, 3, 4 | 3 | + * | Month (formatting) | 110 | M | 1, 2, ..., 12 | | + * | | | Mo | 1st, 2nd, ..., 12th | 5 | + * | | | MM | 01, 02, ..., 12 | | + * | | | MMM | Jan, Feb, ..., Dec | | + * | | | MMMM | January, February, ..., December | 2 | + * | | | MMMMM | J, F, ..., D | | + * | Month (stand-alone) | 110 | L | 1, 2, ..., 12 | | + * | | | Lo | 1st, 2nd, ..., 12th | 5 | + * | | | LL | 01, 02, ..., 12 | | + * | | | LLL | Jan, Feb, ..., Dec | | + * | | | LLLL | January, February, ..., December | 2 | + * | | | LLLLL | J, F, ..., D | | + * | Local week of year | 100 | w | 1, 2, ..., 53 | | + * | | | wo | 1st, 2nd, ..., 53th | 5 | + * | | | ww | 01, 02, ..., 53 | | + * | ISO week of year | 100 | I | 1, 2, ..., 53 | 5 | + * | | | Io | 1st, 2nd, ..., 53th | 5 | + * | | | II | 01, 02, ..., 53 | 5 | + * | Day of month | 90 | d | 1, 2, ..., 31 | | + * | | | do | 1st, 2nd, ..., 31st | 5 | + * | | | dd | 01, 02, ..., 31 | | + * | Day of year | 90 | D | 1, 2, ..., 365, 366 | 7 | + * | | | Do | 1st, 2nd, ..., 365th, 366th | 5 | + * | | | DD | 01, 02, ..., 365, 366 | 7 | + * | | | DDD | 001, 002, ..., 365, 366 | | + * | | | DDDD | ... | 2 | + * | Day of week (formatting) | 90 | E..EEE | Mon, Tue, Wed, ..., Su | | + * | | | EEEE | Monday, Tuesday, ..., Sunday | 2 | + * | | | EEEEE | M, T, W, T, F, S, S | | + * | | | EEEEEE | Mo, Tu, We, Th, Fr, Sa, Su | | + * | ISO day of week (formatting) | 90 | i | 1, 2, 3, ..., 7 | 5 | + * | | | io | 1st, 2nd, ..., 7th | 5 | + * | | | ii | 01, 02, ..., 07 | 5 | + * | | | iii | Mon, Tue, Wed, ..., Su | 5 | + * | | | iiii | Monday, Tuesday, ..., Sunday | 2,5 | + * | | | iiiii | M, T, W, T, F, S, S | 5 | + * | | | iiiiii | Mo, Tu, We, Th, Fr, Sa, Su | 5 | + * | Local day of week (formatting) | 90 | e | 2, 3, 4, ..., 1 | | + * | | | eo | 2nd, 3rd, ..., 1st | 5 | + * | | | ee | 02, 03, ..., 01 | | + * | | | eee | Mon, Tue, Wed, ..., Su | | + * | | | eeee | Monday, Tuesday, ..., Sunday | 2 | + * | | | eeeee | M, T, W, T, F, S, S | | + * | | | eeeeee | Mo, Tu, We, Th, Fr, Sa, Su | | + * | Local day of week (stand-alone) | 90 | c | 2, 3, 4, ..., 1 | | + * | | | co | 2nd, 3rd, ..., 1st | 5 | + * | | | cc | 02, 03, ..., 01 | | + * | | | ccc | Mon, Tue, Wed, ..., Su | | + * | | | cccc | Monday, Tuesday, ..., Sunday | 2 | + * | | | ccccc | M, T, W, T, F, S, S | | + * | | | cccccc | Mo, Tu, We, Th, Fr, Sa, Su | | + * | AM, PM | 80 | a..aaa | AM, PM | | + * | | | aaaa | a.m., p.m. | 2 | + * | | | aaaaa | a, p | | + * | AM, PM, noon, midnight | 80 | b..bbb | AM, PM, noon, midnight | | + * | | | bbbb | a.m., p.m., noon, midnight | 2 | + * | | | bbbbb | a, p, n, mi | | + * | Flexible day period | 80 | B..BBB | at night, in the morning, ... | | + * | | | BBBB | at night, in the morning, ... | 2 | + * | | | BBBBB | at night, in the morning, ... | | + * | Hour [1-12] | 70 | h | 1, 2, ..., 11, 12 | | + * | | | ho | 1st, 2nd, ..., 11th, 12th | 5 | + * | | | hh | 01, 02, ..., 11, 12 | | + * | Hour [0-23] | 70 | H | 0, 1, 2, ..., 23 | | + * | | | Ho | 0th, 1st, 2nd, ..., 23rd | 5 | + * | | | HH | 00, 01, 02, ..., 23 | | + * | Hour [0-11] | 70 | K | 1, 2, ..., 11, 0 | | + * | | | Ko | 1st, 2nd, ..., 11th, 0th | 5 | + * | | | KK | 01, 02, ..., 11, 00 | | + * | Hour [1-24] | 70 | k | 24, 1, 2, ..., 23 | | + * | | | ko | 24th, 1st, 2nd, ..., 23rd | 5 | + * | | | kk | 24, 01, 02, ..., 23 | | + * | Minute | 60 | m | 0, 1, ..., 59 | | + * | | | mo | 0th, 1st, ..., 59th | 5 | + * | | | mm | 00, 01, ..., 59 | | + * | Second | 50 | s | 0, 1, ..., 59 | | + * | | | so | 0th, 1st, ..., 59th | 5 | + * | | | ss | 00, 01, ..., 59 | | + * | Seconds timestamp | 40 | t | 512969520 | | + * | | | tt | ... | 2 | + * | Fraction of second | 30 | S | 0, 1, ..., 9 | | + * | | | SS | 00, 01, ..., 99 | | + * | | | SSS | 000, 001, ..., 999 | | + * | | | SSSS | ... | 2 | + * | Milliseconds timestamp | 20 | T | 512969520900 | | + * | | | TT | ... | 2 | + * | Timezone (ISO-8601 w/ Z) | 10 | X | -08, +0530, Z | | + * | | | XX | -0800, +0530, Z | | + * | | | XXX | -08:00, +05:30, Z | | + * | | | XXXX | -0800, +0530, Z, +123456 | 2 | + * | | | XXXXX | -08:00, +05:30, Z, +12:34:56 | | + * | Timezone (ISO-8601 w/o Z) | 10 | x | -08, +0530, +00 | | + * | | | xx | -0800, +0530, +0000 | | + * | | | xxx | -08:00, +05:30, +00:00 | 2 | + * | | | xxxx | -0800, +0530, +0000, +123456 | | + * | | | xxxxx | -08:00, +05:30, +00:00, +12:34:56 | | + * | Long localized date | NA | P | 05/29/1453 | 5,8 | + * | | | PP | May 29, 1453 | | + * | | | PPP | May 29th, 1453 | | + * | | | PPPP | Sunday, May 29th, 1453 | 2,5,8 | + * | Long localized time | NA | p | 12:00 AM | 5,8 | + * | | | pp | 12:00:00 AM | | + * | Combination of date and time | NA | Pp | 05/29/1453, 12:00 AM | | + * | | | PPpp | May 29, 1453, 12:00:00 AM | | + * | | | PPPpp | May 29th, 1453 at ... | | + * | | | PPPPpp | Sunday, May 29th, 1453 at ... | 2,5,8 | + * Notes: + * 1. "Formatting" units (e.g. formatting quarter) in the default en-US locale + * are the same as "stand-alone" units, but are different in some languages. + * "Formatting" units are declined according to the rules of the language + * in the context of a date. "Stand-alone" units are always nominative singular. + * In `format` function, they will produce different result: + * + * `format(new Date(2017, 10, 6), 'do LLLL', {locale: cs}) //=> '6. listopad'` + * + * `format(new Date(2017, 10, 6), 'do MMMM', {locale: cs}) //=> '6. listopadu'` + * + * `isMatch` will try to match both formatting and stand-alone units interchangeably. + * + * 2. Any sequence of the identical letters is a pattern, unless it is escaped by + * the single quote characters (see below). + * If the sequence is longer than listed in table: + * - for numerical units (`yyyyyyyy`) `isMatch` will try to match a number + * as wide as the sequence + * - for text units (`MMMMMMMM`) `isMatch` will try to match the widest variation of the unit. + * These variations are marked with "2" in the last column of the table. + * + * 3. `QQQQQ` and `qqqqq` could be not strictly numerical in some locales. + * These tokens represent the shortest form of the quarter. + * + * 4. The main difference between `y` and `u` patterns are B.C. years: + * + * | Year | `y` | `u` | + * |------|-----|-----| + * | AC 1 | 1 | 1 | + * | BC 1 | 1 | 0 | + * | BC 2 | 2 | -1 | + * + * Also `yy` will try to guess the century of two digit year by proximity with `referenceDate`: + * + * `isMatch('50', 'yy') //=> true` + * + * `isMatch('75', 'yy') //=> true` + * + * while `uu` will use the year as is: + * + * `isMatch('50', 'uu') //=> true` + * + * `isMatch('75', 'uu') //=> true` + * + * The same difference is true for local and ISO week-numbering years (`Y` and `R`), + * except local week-numbering years are dependent on `options.weekStartsOn` + * and `options.firstWeekContainsDate` (compare [setISOWeekYear](https://date-fns.org/docs/setISOWeekYear) + * and [setWeekYear](https://date-fns.org/docs/setWeekYear)). + * + * 5. These patterns are not in the Unicode Technical Standard #35: + * - `i`: ISO day of week + * - `I`: ISO week of year + * - `R`: ISO week-numbering year + * - `o`: ordinal number modifier + * - `P`: long localized date + * - `p`: long localized time + * + * 6. `YY` and `YYYY` tokens represent week-numbering years but they are often confused with years. + * You should enable `options.useAdditionalWeekYearTokens` to use them. See: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md + * + * 7. `D` and `DD` tokens represent days of the year but they are often confused with days of the month. + * You should enable `options.useAdditionalDayOfYearTokens` to use them. See: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md + * + * 8. `P+` tokens do not have a defined priority since they are merely aliases to other tokens based + * on the given locale. + * + * using `en-US` locale: `P` => `MM/dd/yyyy` + * using `en-US` locale: `p` => `hh:mm a` + * using `pt-BR` locale: `P` => `dd/MM/yyyy` + * using `pt-BR` locale: `p` => `HH:mm` + * + * Values will be checked in the descending order of its unit's priority. + * Units of an equal priority overwrite each other in the order of appearance. + * + * If no values of higher priority are matched (e.g. when matching string 'January 1st' without a year), + * the values will be taken from today's using `new Date()` date which works as a context of parsing. + * + * The result may vary by locale. + * + * If `formatString` matches with `dateString` but does not provides tokens, `referenceDate` will be returned. + * + * @param dateStr - The date string to verify + * @param format - The string of tokens + * @param options - An object with options. + * see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md + * see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md + * + * @returns Is format string a match for date string? + * + * @throws `options.locale` must contain `match` property + * @throws use `yyyy` instead of `YYYY` for formatting years; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md + * @throws use `yy` instead of `YY` for formatting years; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md + * @throws use `d` instead of `D` for formatting days of the month; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md + * @throws use `dd` instead of `DD` for formatting days of the month; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md + * @throws format string contains an unescaped latin alphabet character + * + * @example + * // Match 11 February 2014 from middle-endian format: + * const result = isMatch('02/11/2014', 'MM/dd/yyyy') + * //=> true + * + * @example + * // Match 28th of February in Esperanto locale in the context of 2010 year: + * import eo from 'date-fns/locale/eo' + * const result = isMatch('28-a de februaro', "do 'de' MMMM", { + * locale: eo + * }) + * //=> true + */ +function isMatch(dateStr, formatStr, options) { + return (0, _index.isValid)( + (0, _index2.parse)(dateStr, formatStr, new Date(), options), + ); +} diff --git a/node_modules/date-fns/isMatch.d.cts b/node_modules/date-fns/isMatch.d.cts new file mode 100644 index 0000000000000000000000000000000000000000..b63490a43dcd84c34cbed591ad6b50c2696985ce --- /dev/null +++ b/node_modules/date-fns/isMatch.d.cts @@ -0,0 +1,303 @@ +import type { + AdditionalTokensOptions, + FirstWeekContainsDateOptions, + LocalizedOptions, + WeekOptions, +} from "./types.ts"; +/** + * The {@link isMatch} function options. + */ +export interface IsMatchOptions + extends LocalizedOptions<"options" | "match" | "formatLong">, + WeekOptions, + FirstWeekContainsDateOptions, + AdditionalTokensOptions {} +/** + * @name isMatch + * @category Common Helpers + * @summary validates the date string against given formats + * + * @description + * Return the true if given date is string correct against the given format else + * will return false. + * + * > ⚠️ Please note that the `format` tokens differ from Moment.js and other libraries. + * > See: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md + * + * The characters in the format string wrapped between two single quotes characters (') are escaped. + * Two single quotes in a row, whether inside or outside a quoted sequence, represent a 'real' single quote. + * + * Format of the format string is based on Unicode Technical Standard #35: + * https://www.unicode.org/reports/tr35/tr35-dates.html#Date_Field_Symbol_Table + * with a few additions (see note 5 below the table). + * + * Not all tokens are compatible. Combinations that don't make sense or could lead to bugs are prohibited + * and will throw `RangeError`. For example usage of 24-hour format token with AM/PM token will throw an exception: + * + * ```javascript + * isMatch('23 AM', 'HH a') + * //=> RangeError: The format string mustn't contain `HH` and `a` at the same time + * ``` + * + * See the compatibility table: https://docs.google.com/spreadsheets/d/e/2PACX-1vQOPU3xUhplll6dyoMmVUXHKl_8CRDs6_ueLmex3SoqwhuolkuN3O05l4rqx5h1dKX8eb46Ul-CCSrq/pubhtml?gid=0&single=true + * + * Accepted format string patterns: + * | Unit |Prior| Pattern | Result examples | Notes | + * |---------------------------------|-----|---------|-----------------------------------|-------| + * | Era | 140 | G..GGG | AD, BC | | + * | | | GGGG | Anno Domini, Before Christ | 2 | + * | | | GGGGG | A, B | | + * | Calendar year | 130 | y | 44, 1, 1900, 2017, 9999 | 4 | + * | | | yo | 44th, 1st, 1900th, 9999999th | 4,5 | + * | | | yy | 44, 01, 00, 17 | 4 | + * | | | yyy | 044, 001, 123, 999 | 4 | + * | | | yyyy | 0044, 0001, 1900, 2017 | 4 | + * | | | yyyyy | ... | 2,4 | + * | Local week-numbering year | 130 | Y | 44, 1, 1900, 2017, 9000 | 4 | + * | | | Yo | 44th, 1st, 1900th, 9999999th | 4,5 | + * | | | YY | 44, 01, 00, 17 | 4,6 | + * | | | YYY | 044, 001, 123, 999 | 4 | + * | | | YYYY | 0044, 0001, 1900, 2017 | 4,6 | + * | | | YYYYY | ... | 2,4 | + * | ISO week-numbering year | 130 | R | -43, 1, 1900, 2017, 9999, -9999 | 4,5 | + * | | | RR | -43, 01, 00, 17 | 4,5 | + * | | | RRR | -043, 001, 123, 999, -999 | 4,5 | + * | | | RRRR | -0043, 0001, 2017, 9999, -9999 | 4,5 | + * | | | RRRRR | ... | 2,4,5 | + * | Extended year | 130 | u | -43, 1, 1900, 2017, 9999, -999 | 4 | + * | | | uu | -43, 01, 99, -99 | 4 | + * | | | uuu | -043, 001, 123, 999, -999 | 4 | + * | | | uuuu | -0043, 0001, 2017, 9999, -9999 | 4 | + * | | | uuuuu | ... | 2,4 | + * | Quarter (formatting) | 120 | Q | 1, 2, 3, 4 | | + * | | | Qo | 1st, 2nd, 3rd, 4th | 5 | + * | | | QQ | 01, 02, 03, 04 | | + * | | | QQQ | Q1, Q2, Q3, Q4 | | + * | | | QQQQ | 1st quarter, 2nd quarter, ... | 2 | + * | | | QQQQQ | 1, 2, 3, 4 | 4 | + * | Quarter (stand-alone) | 120 | q | 1, 2, 3, 4 | | + * | | | qo | 1st, 2nd, 3rd, 4th | 5 | + * | | | qq | 01, 02, 03, 04 | | + * | | | qqq | Q1, Q2, Q3, Q4 | | + * | | | qqqq | 1st quarter, 2nd quarter, ... | 2 | + * | | | qqqqq | 1, 2, 3, 4 | 3 | + * | Month (formatting) | 110 | M | 1, 2, ..., 12 | | + * | | | Mo | 1st, 2nd, ..., 12th | 5 | + * | | | MM | 01, 02, ..., 12 | | + * | | | MMM | Jan, Feb, ..., Dec | | + * | | | MMMM | January, February, ..., December | 2 | + * | | | MMMMM | J, F, ..., D | | + * | Month (stand-alone) | 110 | L | 1, 2, ..., 12 | | + * | | | Lo | 1st, 2nd, ..., 12th | 5 | + * | | | LL | 01, 02, ..., 12 | | + * | | | LLL | Jan, Feb, ..., Dec | | + * | | | LLLL | January, February, ..., December | 2 | + * | | | LLLLL | J, F, ..., D | | + * | Local week of year | 100 | w | 1, 2, ..., 53 | | + * | | | wo | 1st, 2nd, ..., 53th | 5 | + * | | | ww | 01, 02, ..., 53 | | + * | ISO week of year | 100 | I | 1, 2, ..., 53 | 5 | + * | | | Io | 1st, 2nd, ..., 53th | 5 | + * | | | II | 01, 02, ..., 53 | 5 | + * | Day of month | 90 | d | 1, 2, ..., 31 | | + * | | | do | 1st, 2nd, ..., 31st | 5 | + * | | | dd | 01, 02, ..., 31 | | + * | Day of year | 90 | D | 1, 2, ..., 365, 366 | 7 | + * | | | Do | 1st, 2nd, ..., 365th, 366th | 5 | + * | | | DD | 01, 02, ..., 365, 366 | 7 | + * | | | DDD | 001, 002, ..., 365, 366 | | + * | | | DDDD | ... | 2 | + * | Day of week (formatting) | 90 | E..EEE | Mon, Tue, Wed, ..., Su | | + * | | | EEEE | Monday, Tuesday, ..., Sunday | 2 | + * | | | EEEEE | M, T, W, T, F, S, S | | + * | | | EEEEEE | Mo, Tu, We, Th, Fr, Sa, Su | | + * | ISO day of week (formatting) | 90 | i | 1, 2, 3, ..., 7 | 5 | + * | | | io | 1st, 2nd, ..., 7th | 5 | + * | | | ii | 01, 02, ..., 07 | 5 | + * | | | iii | Mon, Tue, Wed, ..., Su | 5 | + * | | | iiii | Monday, Tuesday, ..., Sunday | 2,5 | + * | | | iiiii | M, T, W, T, F, S, S | 5 | + * | | | iiiiii | Mo, Tu, We, Th, Fr, Sa, Su | 5 | + * | Local day of week (formatting) | 90 | e | 2, 3, 4, ..., 1 | | + * | | | eo | 2nd, 3rd, ..., 1st | 5 | + * | | | ee | 02, 03, ..., 01 | | + * | | | eee | Mon, Tue, Wed, ..., Su | | + * | | | eeee | Monday, Tuesday, ..., Sunday | 2 | + * | | | eeeee | M, T, W, T, F, S, S | | + * | | | eeeeee | Mo, Tu, We, Th, Fr, Sa, Su | | + * | Local day of week (stand-alone) | 90 | c | 2, 3, 4, ..., 1 | | + * | | | co | 2nd, 3rd, ..., 1st | 5 | + * | | | cc | 02, 03, ..., 01 | | + * | | | ccc | Mon, Tue, Wed, ..., Su | | + * | | | cccc | Monday, Tuesday, ..., Sunday | 2 | + * | | | ccccc | M, T, W, T, F, S, S | | + * | | | cccccc | Mo, Tu, We, Th, Fr, Sa, Su | | + * | AM, PM | 80 | a..aaa | AM, PM | | + * | | | aaaa | a.m., p.m. | 2 | + * | | | aaaaa | a, p | | + * | AM, PM, noon, midnight | 80 | b..bbb | AM, PM, noon, midnight | | + * | | | bbbb | a.m., p.m., noon, midnight | 2 | + * | | | bbbbb | a, p, n, mi | | + * | Flexible day period | 80 | B..BBB | at night, in the morning, ... | | + * | | | BBBB | at night, in the morning, ... | 2 | + * | | | BBBBB | at night, in the morning, ... | | + * | Hour [1-12] | 70 | h | 1, 2, ..., 11, 12 | | + * | | | ho | 1st, 2nd, ..., 11th, 12th | 5 | + * | | | hh | 01, 02, ..., 11, 12 | | + * | Hour [0-23] | 70 | H | 0, 1, 2, ..., 23 | | + * | | | Ho | 0th, 1st, 2nd, ..., 23rd | 5 | + * | | | HH | 00, 01, 02, ..., 23 | | + * | Hour [0-11] | 70 | K | 1, 2, ..., 11, 0 | | + * | | | Ko | 1st, 2nd, ..., 11th, 0th | 5 | + * | | | KK | 01, 02, ..., 11, 00 | | + * | Hour [1-24] | 70 | k | 24, 1, 2, ..., 23 | | + * | | | ko | 24th, 1st, 2nd, ..., 23rd | 5 | + * | | | kk | 24, 01, 02, ..., 23 | | + * | Minute | 60 | m | 0, 1, ..., 59 | | + * | | | mo | 0th, 1st, ..., 59th | 5 | + * | | | mm | 00, 01, ..., 59 | | + * | Second | 50 | s | 0, 1, ..., 59 | | + * | | | so | 0th, 1st, ..., 59th | 5 | + * | | | ss | 00, 01, ..., 59 | | + * | Seconds timestamp | 40 | t | 512969520 | | + * | | | tt | ... | 2 | + * | Fraction of second | 30 | S | 0, 1, ..., 9 | | + * | | | SS | 00, 01, ..., 99 | | + * | | | SSS | 000, 001, ..., 999 | | + * | | | SSSS | ... | 2 | + * | Milliseconds timestamp | 20 | T | 512969520900 | | + * | | | TT | ... | 2 | + * | Timezone (ISO-8601 w/ Z) | 10 | X | -08, +0530, Z | | + * | | | XX | -0800, +0530, Z | | + * | | | XXX | -08:00, +05:30, Z | | + * | | | XXXX | -0800, +0530, Z, +123456 | 2 | + * | | | XXXXX | -08:00, +05:30, Z, +12:34:56 | | + * | Timezone (ISO-8601 w/o Z) | 10 | x | -08, +0530, +00 | | + * | | | xx | -0800, +0530, +0000 | | + * | | | xxx | -08:00, +05:30, +00:00 | 2 | + * | | | xxxx | -0800, +0530, +0000, +123456 | | + * | | | xxxxx | -08:00, +05:30, +00:00, +12:34:56 | | + * | Long localized date | NA | P | 05/29/1453 | 5,8 | + * | | | PP | May 29, 1453 | | + * | | | PPP | May 29th, 1453 | | + * | | | PPPP | Sunday, May 29th, 1453 | 2,5,8 | + * | Long localized time | NA | p | 12:00 AM | 5,8 | + * | | | pp | 12:00:00 AM | | + * | Combination of date and time | NA | Pp | 05/29/1453, 12:00 AM | | + * | | | PPpp | May 29, 1453, 12:00:00 AM | | + * | | | PPPpp | May 29th, 1453 at ... | | + * | | | PPPPpp | Sunday, May 29th, 1453 at ... | 2,5,8 | + * Notes: + * 1. "Formatting" units (e.g. formatting quarter) in the default en-US locale + * are the same as "stand-alone" units, but are different in some languages. + * "Formatting" units are declined according to the rules of the language + * in the context of a date. "Stand-alone" units are always nominative singular. + * In `format` function, they will produce different result: + * + * `format(new Date(2017, 10, 6), 'do LLLL', {locale: cs}) //=> '6. listopad'` + * + * `format(new Date(2017, 10, 6), 'do MMMM', {locale: cs}) //=> '6. listopadu'` + * + * `isMatch` will try to match both formatting and stand-alone units interchangeably. + * + * 2. Any sequence of the identical letters is a pattern, unless it is escaped by + * the single quote characters (see below). + * If the sequence is longer than listed in table: + * - for numerical units (`yyyyyyyy`) `isMatch` will try to match a number + * as wide as the sequence + * - for text units (`MMMMMMMM`) `isMatch` will try to match the widest variation of the unit. + * These variations are marked with "2" in the last column of the table. + * + * 3. `QQQQQ` and `qqqqq` could be not strictly numerical in some locales. + * These tokens represent the shortest form of the quarter. + * + * 4. The main difference between `y` and `u` patterns are B.C. years: + * + * | Year | `y` | `u` | + * |------|-----|-----| + * | AC 1 | 1 | 1 | + * | BC 1 | 1 | 0 | + * | BC 2 | 2 | -1 | + * + * Also `yy` will try to guess the century of two digit year by proximity with `referenceDate`: + * + * `isMatch('50', 'yy') //=> true` + * + * `isMatch('75', 'yy') //=> true` + * + * while `uu` will use the year as is: + * + * `isMatch('50', 'uu') //=> true` + * + * `isMatch('75', 'uu') //=> true` + * + * The same difference is true for local and ISO week-numbering years (`Y` and `R`), + * except local week-numbering years are dependent on `options.weekStartsOn` + * and `options.firstWeekContainsDate` (compare [setISOWeekYear](https://date-fns.org/docs/setISOWeekYear) + * and [setWeekYear](https://date-fns.org/docs/setWeekYear)). + * + * 5. These patterns are not in the Unicode Technical Standard #35: + * - `i`: ISO day of week + * - `I`: ISO week of year + * - `R`: ISO week-numbering year + * - `o`: ordinal number modifier + * - `P`: long localized date + * - `p`: long localized time + * + * 6. `YY` and `YYYY` tokens represent week-numbering years but they are often confused with years. + * You should enable `options.useAdditionalWeekYearTokens` to use them. See: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md + * + * 7. `D` and `DD` tokens represent days of the year but they are often confused with days of the month. + * You should enable `options.useAdditionalDayOfYearTokens` to use them. See: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md + * + * 8. `P+` tokens do not have a defined priority since they are merely aliases to other tokens based + * on the given locale. + * + * using `en-US` locale: `P` => `MM/dd/yyyy` + * using `en-US` locale: `p` => `hh:mm a` + * using `pt-BR` locale: `P` => `dd/MM/yyyy` + * using `pt-BR` locale: `p` => `HH:mm` + * + * Values will be checked in the descending order of its unit's priority. + * Units of an equal priority overwrite each other in the order of appearance. + * + * If no values of higher priority are matched (e.g. when matching string 'January 1st' without a year), + * the values will be taken from today's using `new Date()` date which works as a context of parsing. + * + * The result may vary by locale. + * + * If `formatString` matches with `dateString` but does not provides tokens, `referenceDate` will be returned. + * + * @param dateStr - The date string to verify + * @param format - The string of tokens + * @param options - An object with options. + * see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md + * see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md + * + * @returns Is format string a match for date string? + * + * @throws `options.locale` must contain `match` property + * @throws use `yyyy` instead of `YYYY` for formatting years; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md + * @throws use `yy` instead of `YY` for formatting years; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md + * @throws use `d` instead of `D` for formatting days of the month; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md + * @throws use `dd` instead of `DD` for formatting days of the month; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md + * @throws format string contains an unescaped latin alphabet character + * + * @example + * // Match 11 February 2014 from middle-endian format: + * const result = isMatch('02/11/2014', 'MM/dd/yyyy') + * //=> true + * + * @example + * // Match 28th of February in Esperanto locale in the context of 2010 year: + * import eo from 'date-fns/locale/eo' + * const result = isMatch('28-a de februaro', "do 'de' MMMM", { + * locale: eo + * }) + * //=> true + */ +export declare function isMatch( + dateStr: string, + formatStr: string, + options?: IsMatchOptions, +): boolean; diff --git a/node_modules/date-fns/isMatch.d.ts b/node_modules/date-fns/isMatch.d.ts new file mode 100644 index 0000000000000000000000000000000000000000..b63490a43dcd84c34cbed591ad6b50c2696985ce --- /dev/null +++ b/node_modules/date-fns/isMatch.d.ts @@ -0,0 +1,303 @@ +import type { + AdditionalTokensOptions, + FirstWeekContainsDateOptions, + LocalizedOptions, + WeekOptions, +} from "./types.ts"; +/** + * The {@link isMatch} function options. + */ +export interface IsMatchOptions + extends LocalizedOptions<"options" | "match" | "formatLong">, + WeekOptions, + FirstWeekContainsDateOptions, + AdditionalTokensOptions {} +/** + * @name isMatch + * @category Common Helpers + * @summary validates the date string against given formats + * + * @description + * Return the true if given date is string correct against the given format else + * will return false. + * + * > ⚠️ Please note that the `format` tokens differ from Moment.js and other libraries. + * > See: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md + * + * The characters in the format string wrapped between two single quotes characters (') are escaped. + * Two single quotes in a row, whether inside or outside a quoted sequence, represent a 'real' single quote. + * + * Format of the format string is based on Unicode Technical Standard #35: + * https://www.unicode.org/reports/tr35/tr35-dates.html#Date_Field_Symbol_Table + * with a few additions (see note 5 below the table). + * + * Not all tokens are compatible. Combinations that don't make sense or could lead to bugs are prohibited + * and will throw `RangeError`. For example usage of 24-hour format token with AM/PM token will throw an exception: + * + * ```javascript + * isMatch('23 AM', 'HH a') + * //=> RangeError: The format string mustn't contain `HH` and `a` at the same time + * ``` + * + * See the compatibility table: https://docs.google.com/spreadsheets/d/e/2PACX-1vQOPU3xUhplll6dyoMmVUXHKl_8CRDs6_ueLmex3SoqwhuolkuN3O05l4rqx5h1dKX8eb46Ul-CCSrq/pubhtml?gid=0&single=true + * + * Accepted format string patterns: + * | Unit |Prior| Pattern | Result examples | Notes | + * |---------------------------------|-----|---------|-----------------------------------|-------| + * | Era | 140 | G..GGG | AD, BC | | + * | | | GGGG | Anno Domini, Before Christ | 2 | + * | | | GGGGG | A, B | | + * | Calendar year | 130 | y | 44, 1, 1900, 2017, 9999 | 4 | + * | | | yo | 44th, 1st, 1900th, 9999999th | 4,5 | + * | | | yy | 44, 01, 00, 17 | 4 | + * | | | yyy | 044, 001, 123, 999 | 4 | + * | | | yyyy | 0044, 0001, 1900, 2017 | 4 | + * | | | yyyyy | ... | 2,4 | + * | Local week-numbering year | 130 | Y | 44, 1, 1900, 2017, 9000 | 4 | + * | | | Yo | 44th, 1st, 1900th, 9999999th | 4,5 | + * | | | YY | 44, 01, 00, 17 | 4,6 | + * | | | YYY | 044, 001, 123, 999 | 4 | + * | | | YYYY | 0044, 0001, 1900, 2017 | 4,6 | + * | | | YYYYY | ... | 2,4 | + * | ISO week-numbering year | 130 | R | -43, 1, 1900, 2017, 9999, -9999 | 4,5 | + * | | | RR | -43, 01, 00, 17 | 4,5 | + * | | | RRR | -043, 001, 123, 999, -999 | 4,5 | + * | | | RRRR | -0043, 0001, 2017, 9999, -9999 | 4,5 | + * | | | RRRRR | ... | 2,4,5 | + * | Extended year | 130 | u | -43, 1, 1900, 2017, 9999, -999 | 4 | + * | | | uu | -43, 01, 99, -99 | 4 | + * | | | uuu | -043, 001, 123, 999, -999 | 4 | + * | | | uuuu | -0043, 0001, 2017, 9999, -9999 | 4 | + * | | | uuuuu | ... | 2,4 | + * | Quarter (formatting) | 120 | Q | 1, 2, 3, 4 | | + * | | | Qo | 1st, 2nd, 3rd, 4th | 5 | + * | | | QQ | 01, 02, 03, 04 | | + * | | | QQQ | Q1, Q2, Q3, Q4 | | + * | | | QQQQ | 1st quarter, 2nd quarter, ... | 2 | + * | | | QQQQQ | 1, 2, 3, 4 | 4 | + * | Quarter (stand-alone) | 120 | q | 1, 2, 3, 4 | | + * | | | qo | 1st, 2nd, 3rd, 4th | 5 | + * | | | qq | 01, 02, 03, 04 | | + * | | | qqq | Q1, Q2, Q3, Q4 | | + * | | | qqqq | 1st quarter, 2nd quarter, ... | 2 | + * | | | qqqqq | 1, 2, 3, 4 | 3 | + * | Month (formatting) | 110 | M | 1, 2, ..., 12 | | + * | | | Mo | 1st, 2nd, ..., 12th | 5 | + * | | | MM | 01, 02, ..., 12 | | + * | | | MMM | Jan, Feb, ..., Dec | | + * | | | MMMM | January, February, ..., December | 2 | + * | | | MMMMM | J, F, ..., D | | + * | Month (stand-alone) | 110 | L | 1, 2, ..., 12 | | + * | | | Lo | 1st, 2nd, ..., 12th | 5 | + * | | | LL | 01, 02, ..., 12 | | + * | | | LLL | Jan, Feb, ..., Dec | | + * | | | LLLL | January, February, ..., December | 2 | + * | | | LLLLL | J, F, ..., D | | + * | Local week of year | 100 | w | 1, 2, ..., 53 | | + * | | | wo | 1st, 2nd, ..., 53th | 5 | + * | | | ww | 01, 02, ..., 53 | | + * | ISO week of year | 100 | I | 1, 2, ..., 53 | 5 | + * | | | Io | 1st, 2nd, ..., 53th | 5 | + * | | | II | 01, 02, ..., 53 | 5 | + * | Day of month | 90 | d | 1, 2, ..., 31 | | + * | | | do | 1st, 2nd, ..., 31st | 5 | + * | | | dd | 01, 02, ..., 31 | | + * | Day of year | 90 | D | 1, 2, ..., 365, 366 | 7 | + * | | | Do | 1st, 2nd, ..., 365th, 366th | 5 | + * | | | DD | 01, 02, ..., 365, 366 | 7 | + * | | | DDD | 001, 002, ..., 365, 366 | | + * | | | DDDD | ... | 2 | + * | Day of week (formatting) | 90 | E..EEE | Mon, Tue, Wed, ..., Su | | + * | | | EEEE | Monday, Tuesday, ..., Sunday | 2 | + * | | | EEEEE | M, T, W, T, F, S, S | | + * | | | EEEEEE | Mo, Tu, We, Th, Fr, Sa, Su | | + * | ISO day of week (formatting) | 90 | i | 1, 2, 3, ..., 7 | 5 | + * | | | io | 1st, 2nd, ..., 7th | 5 | + * | | | ii | 01, 02, ..., 07 | 5 | + * | | | iii | Mon, Tue, Wed, ..., Su | 5 | + * | | | iiii | Monday, Tuesday, ..., Sunday | 2,5 | + * | | | iiiii | M, T, W, T, F, S, S | 5 | + * | | | iiiiii | Mo, Tu, We, Th, Fr, Sa, Su | 5 | + * | Local day of week (formatting) | 90 | e | 2, 3, 4, ..., 1 | | + * | | | eo | 2nd, 3rd, ..., 1st | 5 | + * | | | ee | 02, 03, ..., 01 | | + * | | | eee | Mon, Tue, Wed, ..., Su | | + * | | | eeee | Monday, Tuesday, ..., Sunday | 2 | + * | | | eeeee | M, T, W, T, F, S, S | | + * | | | eeeeee | Mo, Tu, We, Th, Fr, Sa, Su | | + * | Local day of week (stand-alone) | 90 | c | 2, 3, 4, ..., 1 | | + * | | | co | 2nd, 3rd, ..., 1st | 5 | + * | | | cc | 02, 03, ..., 01 | | + * | | | ccc | Mon, Tue, Wed, ..., Su | | + * | | | cccc | Monday, Tuesday, ..., Sunday | 2 | + * | | | ccccc | M, T, W, T, F, S, S | | + * | | | cccccc | Mo, Tu, We, Th, Fr, Sa, Su | | + * | AM, PM | 80 | a..aaa | AM, PM | | + * | | | aaaa | a.m., p.m. | 2 | + * | | | aaaaa | a, p | | + * | AM, PM, noon, midnight | 80 | b..bbb | AM, PM, noon, midnight | | + * | | | bbbb | a.m., p.m., noon, midnight | 2 | + * | | | bbbbb | a, p, n, mi | | + * | Flexible day period | 80 | B..BBB | at night, in the morning, ... | | + * | | | BBBB | at night, in the morning, ... | 2 | + * | | | BBBBB | at night, in the morning, ... | | + * | Hour [1-12] | 70 | h | 1, 2, ..., 11, 12 | | + * | | | ho | 1st, 2nd, ..., 11th, 12th | 5 | + * | | | hh | 01, 02, ..., 11, 12 | | + * | Hour [0-23] | 70 | H | 0, 1, 2, ..., 23 | | + * | | | Ho | 0th, 1st, 2nd, ..., 23rd | 5 | + * | | | HH | 00, 01, 02, ..., 23 | | + * | Hour [0-11] | 70 | K | 1, 2, ..., 11, 0 | | + * | | | Ko | 1st, 2nd, ..., 11th, 0th | 5 | + * | | | KK | 01, 02, ..., 11, 00 | | + * | Hour [1-24] | 70 | k | 24, 1, 2, ..., 23 | | + * | | | ko | 24th, 1st, 2nd, ..., 23rd | 5 | + * | | | kk | 24, 01, 02, ..., 23 | | + * | Minute | 60 | m | 0, 1, ..., 59 | | + * | | | mo | 0th, 1st, ..., 59th | 5 | + * | | | mm | 00, 01, ..., 59 | | + * | Second | 50 | s | 0, 1, ..., 59 | | + * | | | so | 0th, 1st, ..., 59th | 5 | + * | | | ss | 00, 01, ..., 59 | | + * | Seconds timestamp | 40 | t | 512969520 | | + * | | | tt | ... | 2 | + * | Fraction of second | 30 | S | 0, 1, ..., 9 | | + * | | | SS | 00, 01, ..., 99 | | + * | | | SSS | 000, 001, ..., 999 | | + * | | | SSSS | ... | 2 | + * | Milliseconds timestamp | 20 | T | 512969520900 | | + * | | | TT | ... | 2 | + * | Timezone (ISO-8601 w/ Z) | 10 | X | -08, +0530, Z | | + * | | | XX | -0800, +0530, Z | | + * | | | XXX | -08:00, +05:30, Z | | + * | | | XXXX | -0800, +0530, Z, +123456 | 2 | + * | | | XXXXX | -08:00, +05:30, Z, +12:34:56 | | + * | Timezone (ISO-8601 w/o Z) | 10 | x | -08, +0530, +00 | | + * | | | xx | -0800, +0530, +0000 | | + * | | | xxx | -08:00, +05:30, +00:00 | 2 | + * | | | xxxx | -0800, +0530, +0000, +123456 | | + * | | | xxxxx | -08:00, +05:30, +00:00, +12:34:56 | | + * | Long localized date | NA | P | 05/29/1453 | 5,8 | + * | | | PP | May 29, 1453 | | + * | | | PPP | May 29th, 1453 | | + * | | | PPPP | Sunday, May 29th, 1453 | 2,5,8 | + * | Long localized time | NA | p | 12:00 AM | 5,8 | + * | | | pp | 12:00:00 AM | | + * | Combination of date and time | NA | Pp | 05/29/1453, 12:00 AM | | + * | | | PPpp | May 29, 1453, 12:00:00 AM | | + * | | | PPPpp | May 29th, 1453 at ... | | + * | | | PPPPpp | Sunday, May 29th, 1453 at ... | 2,5,8 | + * Notes: + * 1. "Formatting" units (e.g. formatting quarter) in the default en-US locale + * are the same as "stand-alone" units, but are different in some languages. + * "Formatting" units are declined according to the rules of the language + * in the context of a date. "Stand-alone" units are always nominative singular. + * In `format` function, they will produce different result: + * + * `format(new Date(2017, 10, 6), 'do LLLL', {locale: cs}) //=> '6. listopad'` + * + * `format(new Date(2017, 10, 6), 'do MMMM', {locale: cs}) //=> '6. listopadu'` + * + * `isMatch` will try to match both formatting and stand-alone units interchangeably. + * + * 2. Any sequence of the identical letters is a pattern, unless it is escaped by + * the single quote characters (see below). + * If the sequence is longer than listed in table: + * - for numerical units (`yyyyyyyy`) `isMatch` will try to match a number + * as wide as the sequence + * - for text units (`MMMMMMMM`) `isMatch` will try to match the widest variation of the unit. + * These variations are marked with "2" in the last column of the table. + * + * 3. `QQQQQ` and `qqqqq` could be not strictly numerical in some locales. + * These tokens represent the shortest form of the quarter. + * + * 4. The main difference between `y` and `u` patterns are B.C. years: + * + * | Year | `y` | `u` | + * |------|-----|-----| + * | AC 1 | 1 | 1 | + * | BC 1 | 1 | 0 | + * | BC 2 | 2 | -1 | + * + * Also `yy` will try to guess the century of two digit year by proximity with `referenceDate`: + * + * `isMatch('50', 'yy') //=> true` + * + * `isMatch('75', 'yy') //=> true` + * + * while `uu` will use the year as is: + * + * `isMatch('50', 'uu') //=> true` + * + * `isMatch('75', 'uu') //=> true` + * + * The same difference is true for local and ISO week-numbering years (`Y` and `R`), + * except local week-numbering years are dependent on `options.weekStartsOn` + * and `options.firstWeekContainsDate` (compare [setISOWeekYear](https://date-fns.org/docs/setISOWeekYear) + * and [setWeekYear](https://date-fns.org/docs/setWeekYear)). + * + * 5. These patterns are not in the Unicode Technical Standard #35: + * - `i`: ISO day of week + * - `I`: ISO week of year + * - `R`: ISO week-numbering year + * - `o`: ordinal number modifier + * - `P`: long localized date + * - `p`: long localized time + * + * 6. `YY` and `YYYY` tokens represent week-numbering years but they are often confused with years. + * You should enable `options.useAdditionalWeekYearTokens` to use them. See: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md + * + * 7. `D` and `DD` tokens represent days of the year but they are often confused with days of the month. + * You should enable `options.useAdditionalDayOfYearTokens` to use them. See: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md + * + * 8. `P+` tokens do not have a defined priority since they are merely aliases to other tokens based + * on the given locale. + * + * using `en-US` locale: `P` => `MM/dd/yyyy` + * using `en-US` locale: `p` => `hh:mm a` + * using `pt-BR` locale: `P` => `dd/MM/yyyy` + * using `pt-BR` locale: `p` => `HH:mm` + * + * Values will be checked in the descending order of its unit's priority. + * Units of an equal priority overwrite each other in the order of appearance. + * + * If no values of higher priority are matched (e.g. when matching string 'January 1st' without a year), + * the values will be taken from today's using `new Date()` date which works as a context of parsing. + * + * The result may vary by locale. + * + * If `formatString` matches with `dateString` but does not provides tokens, `referenceDate` will be returned. + * + * @param dateStr - The date string to verify + * @param format - The string of tokens + * @param options - An object with options. + * see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md + * see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md + * + * @returns Is format string a match for date string? + * + * @throws `options.locale` must contain `match` property + * @throws use `yyyy` instead of `YYYY` for formatting years; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md + * @throws use `yy` instead of `YY` for formatting years; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md + * @throws use `d` instead of `D` for formatting days of the month; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md + * @throws use `dd` instead of `DD` for formatting days of the month; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md + * @throws format string contains an unescaped latin alphabet character + * + * @example + * // Match 11 February 2014 from middle-endian format: + * const result = isMatch('02/11/2014', 'MM/dd/yyyy') + * //=> true + * + * @example + * // Match 28th of February in Esperanto locale in the context of 2010 year: + * import eo from 'date-fns/locale/eo' + * const result = isMatch('28-a de februaro', "do 'de' MMMM", { + * locale: eo + * }) + * //=> true + */ +export declare function isMatch( + dateStr: string, + formatStr: string, + options?: IsMatchOptions, +): boolean; diff --git a/node_modules/date-fns/isMatch.js b/node_modules/date-fns/isMatch.js new file mode 100644 index 0000000000000000000000000000000000000000..9ea576e772506992e456bdb9cfe6f0709354783c --- /dev/null +++ b/node_modules/date-fns/isMatch.js @@ -0,0 +1,297 @@ +import { isValid } from "./isValid.js"; +import { parse } from "./parse.js"; + +/** + * The {@link isMatch} function options. + */ + +/** + * @name isMatch + * @category Common Helpers + * @summary validates the date string against given formats + * + * @description + * Return the true if given date is string correct against the given format else + * will return false. + * + * > ⚠️ Please note that the `format` tokens differ from Moment.js and other libraries. + * > See: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md + * + * The characters in the format string wrapped between two single quotes characters (') are escaped. + * Two single quotes in a row, whether inside or outside a quoted sequence, represent a 'real' single quote. + * + * Format of the format string is based on Unicode Technical Standard #35: + * https://www.unicode.org/reports/tr35/tr35-dates.html#Date_Field_Symbol_Table + * with a few additions (see note 5 below the table). + * + * Not all tokens are compatible. Combinations that don't make sense or could lead to bugs are prohibited + * and will throw `RangeError`. For example usage of 24-hour format token with AM/PM token will throw an exception: + * + * ```javascript + * isMatch('23 AM', 'HH a') + * //=> RangeError: The format string mustn't contain `HH` and `a` at the same time + * ``` + * + * See the compatibility table: https://docs.google.com/spreadsheets/d/e/2PACX-1vQOPU3xUhplll6dyoMmVUXHKl_8CRDs6_ueLmex3SoqwhuolkuN3O05l4rqx5h1dKX8eb46Ul-CCSrq/pubhtml?gid=0&single=true + * + * Accepted format string patterns: + * | Unit |Prior| Pattern | Result examples | Notes | + * |---------------------------------|-----|---------|-----------------------------------|-------| + * | Era | 140 | G..GGG | AD, BC | | + * | | | GGGG | Anno Domini, Before Christ | 2 | + * | | | GGGGG | A, B | | + * | Calendar year | 130 | y | 44, 1, 1900, 2017, 9999 | 4 | + * | | | yo | 44th, 1st, 1900th, 9999999th | 4,5 | + * | | | yy | 44, 01, 00, 17 | 4 | + * | | | yyy | 044, 001, 123, 999 | 4 | + * | | | yyyy | 0044, 0001, 1900, 2017 | 4 | + * | | | yyyyy | ... | 2,4 | + * | Local week-numbering year | 130 | Y | 44, 1, 1900, 2017, 9000 | 4 | + * | | | Yo | 44th, 1st, 1900th, 9999999th | 4,5 | + * | | | YY | 44, 01, 00, 17 | 4,6 | + * | | | YYY | 044, 001, 123, 999 | 4 | + * | | | YYYY | 0044, 0001, 1900, 2017 | 4,6 | + * | | | YYYYY | ... | 2,4 | + * | ISO week-numbering year | 130 | R | -43, 1, 1900, 2017, 9999, -9999 | 4,5 | + * | | | RR | -43, 01, 00, 17 | 4,5 | + * | | | RRR | -043, 001, 123, 999, -999 | 4,5 | + * | | | RRRR | -0043, 0001, 2017, 9999, -9999 | 4,5 | + * | | | RRRRR | ... | 2,4,5 | + * | Extended year | 130 | u | -43, 1, 1900, 2017, 9999, -999 | 4 | + * | | | uu | -43, 01, 99, -99 | 4 | + * | | | uuu | -043, 001, 123, 999, -999 | 4 | + * | | | uuuu | -0043, 0001, 2017, 9999, -9999 | 4 | + * | | | uuuuu | ... | 2,4 | + * | Quarter (formatting) | 120 | Q | 1, 2, 3, 4 | | + * | | | Qo | 1st, 2nd, 3rd, 4th | 5 | + * | | | QQ | 01, 02, 03, 04 | | + * | | | QQQ | Q1, Q2, Q3, Q4 | | + * | | | QQQQ | 1st quarter, 2nd quarter, ... | 2 | + * | | | QQQQQ | 1, 2, 3, 4 | 4 | + * | Quarter (stand-alone) | 120 | q | 1, 2, 3, 4 | | + * | | | qo | 1st, 2nd, 3rd, 4th | 5 | + * | | | qq | 01, 02, 03, 04 | | + * | | | qqq | Q1, Q2, Q3, Q4 | | + * | | | qqqq | 1st quarter, 2nd quarter, ... | 2 | + * | | | qqqqq | 1, 2, 3, 4 | 3 | + * | Month (formatting) | 110 | M | 1, 2, ..., 12 | | + * | | | Mo | 1st, 2nd, ..., 12th | 5 | + * | | | MM | 01, 02, ..., 12 | | + * | | | MMM | Jan, Feb, ..., Dec | | + * | | | MMMM | January, February, ..., December | 2 | + * | | | MMMMM | J, F, ..., D | | + * | Month (stand-alone) | 110 | L | 1, 2, ..., 12 | | + * | | | Lo | 1st, 2nd, ..., 12th | 5 | + * | | | LL | 01, 02, ..., 12 | | + * | | | LLL | Jan, Feb, ..., Dec | | + * | | | LLLL | January, February, ..., December | 2 | + * | | | LLLLL | J, F, ..., D | | + * | Local week of year | 100 | w | 1, 2, ..., 53 | | + * | | | wo | 1st, 2nd, ..., 53th | 5 | + * | | | ww | 01, 02, ..., 53 | | + * | ISO week of year | 100 | I | 1, 2, ..., 53 | 5 | + * | | | Io | 1st, 2nd, ..., 53th | 5 | + * | | | II | 01, 02, ..., 53 | 5 | + * | Day of month | 90 | d | 1, 2, ..., 31 | | + * | | | do | 1st, 2nd, ..., 31st | 5 | + * | | | dd | 01, 02, ..., 31 | | + * | Day of year | 90 | D | 1, 2, ..., 365, 366 | 7 | + * | | | Do | 1st, 2nd, ..., 365th, 366th | 5 | + * | | | DD | 01, 02, ..., 365, 366 | 7 | + * | | | DDD | 001, 002, ..., 365, 366 | | + * | | | DDDD | ... | 2 | + * | Day of week (formatting) | 90 | E..EEE | Mon, Tue, Wed, ..., Su | | + * | | | EEEE | Monday, Tuesday, ..., Sunday | 2 | + * | | | EEEEE | M, T, W, T, F, S, S | | + * | | | EEEEEE | Mo, Tu, We, Th, Fr, Sa, Su | | + * | ISO day of week (formatting) | 90 | i | 1, 2, 3, ..., 7 | 5 | + * | | | io | 1st, 2nd, ..., 7th | 5 | + * | | | ii | 01, 02, ..., 07 | 5 | + * | | | iii | Mon, Tue, Wed, ..., Su | 5 | + * | | | iiii | Monday, Tuesday, ..., Sunday | 2,5 | + * | | | iiiii | M, T, W, T, F, S, S | 5 | + * | | | iiiiii | Mo, Tu, We, Th, Fr, Sa, Su | 5 | + * | Local day of week (formatting) | 90 | e | 2, 3, 4, ..., 1 | | + * | | | eo | 2nd, 3rd, ..., 1st | 5 | + * | | | ee | 02, 03, ..., 01 | | + * | | | eee | Mon, Tue, Wed, ..., Su | | + * | | | eeee | Monday, Tuesday, ..., Sunday | 2 | + * | | | eeeee | M, T, W, T, F, S, S | | + * | | | eeeeee | Mo, Tu, We, Th, Fr, Sa, Su | | + * | Local day of week (stand-alone) | 90 | c | 2, 3, 4, ..., 1 | | + * | | | co | 2nd, 3rd, ..., 1st | 5 | + * | | | cc | 02, 03, ..., 01 | | + * | | | ccc | Mon, Tue, Wed, ..., Su | | + * | | | cccc | Monday, Tuesday, ..., Sunday | 2 | + * | | | ccccc | M, T, W, T, F, S, S | | + * | | | cccccc | Mo, Tu, We, Th, Fr, Sa, Su | | + * | AM, PM | 80 | a..aaa | AM, PM | | + * | | | aaaa | a.m., p.m. | 2 | + * | | | aaaaa | a, p | | + * | AM, PM, noon, midnight | 80 | b..bbb | AM, PM, noon, midnight | | + * | | | bbbb | a.m., p.m., noon, midnight | 2 | + * | | | bbbbb | a, p, n, mi | | + * | Flexible day period | 80 | B..BBB | at night, in the morning, ... | | + * | | | BBBB | at night, in the morning, ... | 2 | + * | | | BBBBB | at night, in the morning, ... | | + * | Hour [1-12] | 70 | h | 1, 2, ..., 11, 12 | | + * | | | ho | 1st, 2nd, ..., 11th, 12th | 5 | + * | | | hh | 01, 02, ..., 11, 12 | | + * | Hour [0-23] | 70 | H | 0, 1, 2, ..., 23 | | + * | | | Ho | 0th, 1st, 2nd, ..., 23rd | 5 | + * | | | HH | 00, 01, 02, ..., 23 | | + * | Hour [0-11] | 70 | K | 1, 2, ..., 11, 0 | | + * | | | Ko | 1st, 2nd, ..., 11th, 0th | 5 | + * | | | KK | 01, 02, ..., 11, 00 | | + * | Hour [1-24] | 70 | k | 24, 1, 2, ..., 23 | | + * | | | ko | 24th, 1st, 2nd, ..., 23rd | 5 | + * | | | kk | 24, 01, 02, ..., 23 | | + * | Minute | 60 | m | 0, 1, ..., 59 | | + * | | | mo | 0th, 1st, ..., 59th | 5 | + * | | | mm | 00, 01, ..., 59 | | + * | Second | 50 | s | 0, 1, ..., 59 | | + * | | | so | 0th, 1st, ..., 59th | 5 | + * | | | ss | 00, 01, ..., 59 | | + * | Seconds timestamp | 40 | t | 512969520 | | + * | | | tt | ... | 2 | + * | Fraction of second | 30 | S | 0, 1, ..., 9 | | + * | | | SS | 00, 01, ..., 99 | | + * | | | SSS | 000, 001, ..., 999 | | + * | | | SSSS | ... | 2 | + * | Milliseconds timestamp | 20 | T | 512969520900 | | + * | | | TT | ... | 2 | + * | Timezone (ISO-8601 w/ Z) | 10 | X | -08, +0530, Z | | + * | | | XX | -0800, +0530, Z | | + * | | | XXX | -08:00, +05:30, Z | | + * | | | XXXX | -0800, +0530, Z, +123456 | 2 | + * | | | XXXXX | -08:00, +05:30, Z, +12:34:56 | | + * | Timezone (ISO-8601 w/o Z) | 10 | x | -08, +0530, +00 | | + * | | | xx | -0800, +0530, +0000 | | + * | | | xxx | -08:00, +05:30, +00:00 | 2 | + * | | | xxxx | -0800, +0530, +0000, +123456 | | + * | | | xxxxx | -08:00, +05:30, +00:00, +12:34:56 | | + * | Long localized date | NA | P | 05/29/1453 | 5,8 | + * | | | PP | May 29, 1453 | | + * | | | PPP | May 29th, 1453 | | + * | | | PPPP | Sunday, May 29th, 1453 | 2,5,8 | + * | Long localized time | NA | p | 12:00 AM | 5,8 | + * | | | pp | 12:00:00 AM | | + * | Combination of date and time | NA | Pp | 05/29/1453, 12:00 AM | | + * | | | PPpp | May 29, 1453, 12:00:00 AM | | + * | | | PPPpp | May 29th, 1453 at ... | | + * | | | PPPPpp | Sunday, May 29th, 1453 at ... | 2,5,8 | + * Notes: + * 1. "Formatting" units (e.g. formatting quarter) in the default en-US locale + * are the same as "stand-alone" units, but are different in some languages. + * "Formatting" units are declined according to the rules of the language + * in the context of a date. "Stand-alone" units are always nominative singular. + * In `format` function, they will produce different result: + * + * `format(new Date(2017, 10, 6), 'do LLLL', {locale: cs}) //=> '6. listopad'` + * + * `format(new Date(2017, 10, 6), 'do MMMM', {locale: cs}) //=> '6. listopadu'` + * + * `isMatch` will try to match both formatting and stand-alone units interchangeably. + * + * 2. Any sequence of the identical letters is a pattern, unless it is escaped by + * the single quote characters (see below). + * If the sequence is longer than listed in table: + * - for numerical units (`yyyyyyyy`) `isMatch` will try to match a number + * as wide as the sequence + * - for text units (`MMMMMMMM`) `isMatch` will try to match the widest variation of the unit. + * These variations are marked with "2" in the last column of the table. + * + * 3. `QQQQQ` and `qqqqq` could be not strictly numerical in some locales. + * These tokens represent the shortest form of the quarter. + * + * 4. The main difference between `y` and `u` patterns are B.C. years: + * + * | Year | `y` | `u` | + * |------|-----|-----| + * | AC 1 | 1 | 1 | + * | BC 1 | 1 | 0 | + * | BC 2 | 2 | -1 | + * + * Also `yy` will try to guess the century of two digit year by proximity with `referenceDate`: + * + * `isMatch('50', 'yy') //=> true` + * + * `isMatch('75', 'yy') //=> true` + * + * while `uu` will use the year as is: + * + * `isMatch('50', 'uu') //=> true` + * + * `isMatch('75', 'uu') //=> true` + * + * The same difference is true for local and ISO week-numbering years (`Y` and `R`), + * except local week-numbering years are dependent on `options.weekStartsOn` + * and `options.firstWeekContainsDate` (compare [setISOWeekYear](https://date-fns.org/docs/setISOWeekYear) + * and [setWeekYear](https://date-fns.org/docs/setWeekYear)). + * + * 5. These patterns are not in the Unicode Technical Standard #35: + * - `i`: ISO day of week + * - `I`: ISO week of year + * - `R`: ISO week-numbering year + * - `o`: ordinal number modifier + * - `P`: long localized date + * - `p`: long localized time + * + * 6. `YY` and `YYYY` tokens represent week-numbering years but they are often confused with years. + * You should enable `options.useAdditionalWeekYearTokens` to use them. See: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md + * + * 7. `D` and `DD` tokens represent days of the year but they are often confused with days of the month. + * You should enable `options.useAdditionalDayOfYearTokens` to use them. See: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md + * + * 8. `P+` tokens do not have a defined priority since they are merely aliases to other tokens based + * on the given locale. + * + * using `en-US` locale: `P` => `MM/dd/yyyy` + * using `en-US` locale: `p` => `hh:mm a` + * using `pt-BR` locale: `P` => `dd/MM/yyyy` + * using `pt-BR` locale: `p` => `HH:mm` + * + * Values will be checked in the descending order of its unit's priority. + * Units of an equal priority overwrite each other in the order of appearance. + * + * If no values of higher priority are matched (e.g. when matching string 'January 1st' without a year), + * the values will be taken from today's using `new Date()` date which works as a context of parsing. + * + * The result may vary by locale. + * + * If `formatString` matches with `dateString` but does not provides tokens, `referenceDate` will be returned. + * + * @param dateStr - The date string to verify + * @param format - The string of tokens + * @param options - An object with options. + * see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md + * see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md + * + * @returns Is format string a match for date string? + * + * @throws `options.locale` must contain `match` property + * @throws use `yyyy` instead of `YYYY` for formatting years; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md + * @throws use `yy` instead of `YY` for formatting years; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md + * @throws use `d` instead of `D` for formatting days of the month; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md + * @throws use `dd` instead of `DD` for formatting days of the month; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md + * @throws format string contains an unescaped latin alphabet character + * + * @example + * // Match 11 February 2014 from middle-endian format: + * const result = isMatch('02/11/2014', 'MM/dd/yyyy') + * //=> true + * + * @example + * // Match 28th of February in Esperanto locale in the context of 2010 year: + * import eo from 'date-fns/locale/eo' + * const result = isMatch('28-a de februaro', "do 'de' MMMM", { + * locale: eo + * }) + * //=> true + */ +export function isMatch(dateStr, formatStr, options) { + return isValid(parse(dateStr, formatStr, new Date(), options)); +} + +// Fallback for modularized imports: +export default isMatch; diff --git a/node_modules/date-fns/isMonday.cjs b/node_modules/date-fns/isMonday.cjs new file mode 100644 index 0000000000000000000000000000000000000000..61a97b60482ff003a6f41da4121aff975d6a15ef --- /dev/null +++ b/node_modules/date-fns/isMonday.cjs @@ -0,0 +1,29 @@ +"use strict"; +exports.isMonday = isMonday; +var _index = require("./toDate.cjs"); + +/** + * The {@link isMonday} function options. + */ + +/** + * @name isMonday + * @category Weekday Helpers + * @summary Is the given date Monday? + * + * @description + * Is the given date Monday? + * + * @param date - The date to check + * @param options - An object with options + * + * @returns The date is Monday + * + * @example + * // Is 22 September 2014 Monday? + * const result = isMonday(new Date(2014, 8, 22)) + * //=> true + */ +function isMonday(date, options) { + return (0, _index.toDate)(date, options?.in).getDay() === 1; +} diff --git a/node_modules/date-fns/isMonday.d.cts b/node_modules/date-fns/isMonday.d.cts new file mode 100644 index 0000000000000000000000000000000000000000..5cb6ff0008fcc27f631687be5141fbecf8b5bfe6 --- /dev/null +++ b/node_modules/date-fns/isMonday.d.cts @@ -0,0 +1,27 @@ +import type { ContextOptions, DateArg } from "./types.ts"; +/** + * The {@link isMonday} function options. + */ +export interface IsMondayOptions extends ContextOptions {} +/** + * @name isMonday + * @category Weekday Helpers + * @summary Is the given date Monday? + * + * @description + * Is the given date Monday? + * + * @param date - The date to check + * @param options - An object with options + * + * @returns The date is Monday + * + * @example + * // Is 22 September 2014 Monday? + * const result = isMonday(new Date(2014, 8, 22)) + * //=> true + */ +export declare function isMonday( + date: DateArg & {}, + options?: IsMondayOptions | undefined, +): boolean; diff --git a/node_modules/date-fns/isMonday.d.ts b/node_modules/date-fns/isMonday.d.ts new file mode 100644 index 0000000000000000000000000000000000000000..5cb6ff0008fcc27f631687be5141fbecf8b5bfe6 --- /dev/null +++ b/node_modules/date-fns/isMonday.d.ts @@ -0,0 +1,27 @@ +import type { ContextOptions, DateArg } from "./types.ts"; +/** + * The {@link isMonday} function options. + */ +export interface IsMondayOptions extends ContextOptions {} +/** + * @name isMonday + * @category Weekday Helpers + * @summary Is the given date Monday? + * + * @description + * Is the given date Monday? + * + * @param date - The date to check + * @param options - An object with options + * + * @returns The date is Monday + * + * @example + * // Is 22 September 2014 Monday? + * const result = isMonday(new Date(2014, 8, 22)) + * //=> true + */ +export declare function isMonday( + date: DateArg & {}, + options?: IsMondayOptions | undefined, +): boolean; diff --git a/node_modules/date-fns/isMonday.js b/node_modules/date-fns/isMonday.js new file mode 100644 index 0000000000000000000000000000000000000000..bd6e2fc6e64ab76ff46754f3173fed06cc115c97 --- /dev/null +++ b/node_modules/date-fns/isMonday.js @@ -0,0 +1,30 @@ +import { toDate } from "./toDate.js"; + +/** + * The {@link isMonday} function options. + */ + +/** + * @name isMonday + * @category Weekday Helpers + * @summary Is the given date Monday? + * + * @description + * Is the given date Monday? + * + * @param date - The date to check + * @param options - An object with options + * + * @returns The date is Monday + * + * @example + * // Is 22 September 2014 Monday? + * const result = isMonday(new Date(2014, 8, 22)) + * //=> true + */ +export function isMonday(date, options) { + return toDate(date, options?.in).getDay() === 1; +} + +// Fallback for modularized imports: +export default isMonday; diff --git a/node_modules/date-fns/isPast.cjs b/node_modules/date-fns/isPast.cjs new file mode 100644 index 0000000000000000000000000000000000000000..03f9abf78f906f2aa8c9ff5eefeb921ed2f6485b --- /dev/null +++ b/node_modules/date-fns/isPast.cjs @@ -0,0 +1,25 @@ +"use strict"; +exports.isPast = isPast; +var _index = require("./toDate.cjs"); + +/** + * @name isPast + * @category Common Helpers + * @summary Is the given date in the past? + * @pure false + * + * @description + * Is the given date in the past? + * + * @param date - The date to check + * + * @returns The date is in the past + * + * @example + * // If today is 6 October 2014, is 2 July 2014 in the past? + * const result = isPast(new Date(2014, 6, 2)) + * //=> true + */ +function isPast(date) { + return +(0, _index.toDate)(date) < Date.now(); +} diff --git a/node_modules/date-fns/isPast.d.cts b/node_modules/date-fns/isPast.d.cts new file mode 100644 index 0000000000000000000000000000000000000000..aa2b22513273c1e5eed867b0c8f936755e25b62a --- /dev/null +++ b/node_modules/date-fns/isPast.d.cts @@ -0,0 +1,20 @@ +import type { DateArg } from "./types.ts"; +/** + * @name isPast + * @category Common Helpers + * @summary Is the given date in the past? + * @pure false + * + * @description + * Is the given date in the past? + * + * @param date - The date to check + * + * @returns The date is in the past + * + * @example + * // If today is 6 October 2014, is 2 July 2014 in the past? + * const result = isPast(new Date(2014, 6, 2)) + * //=> true + */ +export declare function isPast(date: DateArg & {}): boolean; diff --git a/node_modules/date-fns/isPast.d.ts b/node_modules/date-fns/isPast.d.ts new file mode 100644 index 0000000000000000000000000000000000000000..aa2b22513273c1e5eed867b0c8f936755e25b62a --- /dev/null +++ b/node_modules/date-fns/isPast.d.ts @@ -0,0 +1,20 @@ +import type { DateArg } from "./types.ts"; +/** + * @name isPast + * @category Common Helpers + * @summary Is the given date in the past? + * @pure false + * + * @description + * Is the given date in the past? + * + * @param date - The date to check + * + * @returns The date is in the past + * + * @example + * // If today is 6 October 2014, is 2 July 2014 in the past? + * const result = isPast(new Date(2014, 6, 2)) + * //=> true + */ +export declare function isPast(date: DateArg & {}): boolean; diff --git a/node_modules/date-fns/isPast.js b/node_modules/date-fns/isPast.js new file mode 100644 index 0000000000000000000000000000000000000000..60d9647943b6bd1aea04b119b4b887b8bd833825 --- /dev/null +++ b/node_modules/date-fns/isPast.js @@ -0,0 +1,26 @@ +import { toDate } from "./toDate.js"; + +/** + * @name isPast + * @category Common Helpers + * @summary Is the given date in the past? + * @pure false + * + * @description + * Is the given date in the past? + * + * @param date - The date to check + * + * @returns The date is in the past + * + * @example + * // If today is 6 October 2014, is 2 July 2014 in the past? + * const result = isPast(new Date(2014, 6, 2)) + * //=> true + */ +export function isPast(date) { + return +toDate(date) < Date.now(); +} + +// Fallback for modularized imports: +export default isPast; diff --git a/node_modules/date-fns/isSameDay.cjs b/node_modules/date-fns/isSameDay.cjs new file mode 100644 index 0000000000000000000000000000000000000000..908b707cada7ca90ca30cf4661e2084c4a4ef1c0 --- /dev/null +++ b/node_modules/date-fns/isSameDay.cjs @@ -0,0 +1,48 @@ +"use strict"; +exports.isSameDay = isSameDay; +var _index = require("./_lib/normalizeDates.cjs"); +var _index2 = require("./startOfDay.cjs"); + +/** + * The {@link isSameDay} function options. + */ + +/** + * @name isSameDay + * @category Day Helpers + * @summary Are the given dates in the same day (and year and month)? + * + * @description + * Are the given dates in the same day (and year and month)? + * + * @param laterDate - The first date to check + * @param earlierDate - The second date to check + * @param options - An object with options + * + * @returns The dates are in the same day (and year and month) + * + * @example + * // Are 4 September 06:00:00 and 4 September 18:00:00 in the same day? + * const result = isSameDay(new Date(2014, 8, 4, 6, 0), new Date(2014, 8, 4, 18, 0)) + * //=> true + * + * @example + * // Are 4 September and 4 October in the same day? + * const result = isSameDay(new Date(2014, 8, 4), new Date(2014, 9, 4)) + * //=> false + * + * @example + * // Are 4 September, 2014 and 4 September, 2015 in the same day? + * const result = isSameDay(new Date(2014, 8, 4), new Date(2015, 8, 4)) + * //=> false + */ +function isSameDay(laterDate, earlierDate, options) { + const [dateLeft_, dateRight_] = (0, _index.normalizeDates)( + options?.in, + laterDate, + earlierDate, + ); + return ( + +(0, _index2.startOfDay)(dateLeft_) === +(0, _index2.startOfDay)(dateRight_) + ); +} diff --git a/node_modules/date-fns/isSameDay.d.cts b/node_modules/date-fns/isSameDay.d.cts new file mode 100644 index 0000000000000000000000000000000000000000..1d5a82c543d4949ac7782403f7ed14eabc4589e5 --- /dev/null +++ b/node_modules/date-fns/isSameDay.d.cts @@ -0,0 +1,39 @@ +import type { ContextOptions, DateArg } from "./types.ts"; +/** + * The {@link isSameDay} function options. + */ +export interface IsSameDayOptions extends ContextOptions {} +/** + * @name isSameDay + * @category Day Helpers + * @summary Are the given dates in the same day (and year and month)? + * + * @description + * Are the given dates in the same day (and year and month)? + * + * @param laterDate - The first date to check + * @param earlierDate - The second date to check + * @param options - An object with options + * + * @returns The dates are in the same day (and year and month) + * + * @example + * // Are 4 September 06:00:00 and 4 September 18:00:00 in the same day? + * const result = isSameDay(new Date(2014, 8, 4, 6, 0), new Date(2014, 8, 4, 18, 0)) + * //=> true + * + * @example + * // Are 4 September and 4 October in the same day? + * const result = isSameDay(new Date(2014, 8, 4), new Date(2014, 9, 4)) + * //=> false + * + * @example + * // Are 4 September, 2014 and 4 September, 2015 in the same day? + * const result = isSameDay(new Date(2014, 8, 4), new Date(2015, 8, 4)) + * //=> false + */ +export declare function isSameDay( + laterDate: DateArg & {}, + earlierDate: DateArg & {}, + options?: IsSameDayOptions | undefined, +): boolean; diff --git a/node_modules/date-fns/isSameDay.d.ts b/node_modules/date-fns/isSameDay.d.ts new file mode 100644 index 0000000000000000000000000000000000000000..1d5a82c543d4949ac7782403f7ed14eabc4589e5 --- /dev/null +++ b/node_modules/date-fns/isSameDay.d.ts @@ -0,0 +1,39 @@ +import type { ContextOptions, DateArg } from "./types.ts"; +/** + * The {@link isSameDay} function options. + */ +export interface IsSameDayOptions extends ContextOptions {} +/** + * @name isSameDay + * @category Day Helpers + * @summary Are the given dates in the same day (and year and month)? + * + * @description + * Are the given dates in the same day (and year and month)? + * + * @param laterDate - The first date to check + * @param earlierDate - The second date to check + * @param options - An object with options + * + * @returns The dates are in the same day (and year and month) + * + * @example + * // Are 4 September 06:00:00 and 4 September 18:00:00 in the same day? + * const result = isSameDay(new Date(2014, 8, 4, 6, 0), new Date(2014, 8, 4, 18, 0)) + * //=> true + * + * @example + * // Are 4 September and 4 October in the same day? + * const result = isSameDay(new Date(2014, 8, 4), new Date(2014, 9, 4)) + * //=> false + * + * @example + * // Are 4 September, 2014 and 4 September, 2015 in the same day? + * const result = isSameDay(new Date(2014, 8, 4), new Date(2015, 8, 4)) + * //=> false + */ +export declare function isSameDay( + laterDate: DateArg & {}, + earlierDate: DateArg & {}, + options?: IsSameDayOptions | undefined, +): boolean; diff --git a/node_modules/date-fns/isSameDay.js b/node_modules/date-fns/isSameDay.js new file mode 100644 index 0000000000000000000000000000000000000000..79ed297a0c3415fb13081cd0ba58e49452587a8b --- /dev/null +++ b/node_modules/date-fns/isSameDay.js @@ -0,0 +1,47 @@ +import { normalizeDates } from "./_lib/normalizeDates.js"; +import { startOfDay } from "./startOfDay.js"; + +/** + * The {@link isSameDay} function options. + */ + +/** + * @name isSameDay + * @category Day Helpers + * @summary Are the given dates in the same day (and year and month)? + * + * @description + * Are the given dates in the same day (and year and month)? + * + * @param laterDate - The first date to check + * @param earlierDate - The second date to check + * @param options - An object with options + * + * @returns The dates are in the same day (and year and month) + * + * @example + * // Are 4 September 06:00:00 and 4 September 18:00:00 in the same day? + * const result = isSameDay(new Date(2014, 8, 4, 6, 0), new Date(2014, 8, 4, 18, 0)) + * //=> true + * + * @example + * // Are 4 September and 4 October in the same day? + * const result = isSameDay(new Date(2014, 8, 4), new Date(2014, 9, 4)) + * //=> false + * + * @example + * // Are 4 September, 2014 and 4 September, 2015 in the same day? + * const result = isSameDay(new Date(2014, 8, 4), new Date(2015, 8, 4)) + * //=> false + */ +export function isSameDay(laterDate, earlierDate, options) { + const [dateLeft_, dateRight_] = normalizeDates( + options?.in, + laterDate, + earlierDate, + ); + return +startOfDay(dateLeft_) === +startOfDay(dateRight_); +} + +// Fallback for modularized imports: +export default isSameDay; diff --git a/node_modules/date-fns/isSameHour.cjs b/node_modules/date-fns/isSameHour.cjs new file mode 100644 index 0000000000000000000000000000000000000000..89c231d8e73d37452862fbfeca8dbf2ff17fda18 --- /dev/null +++ b/node_modules/date-fns/isSameHour.cjs @@ -0,0 +1,44 @@ +"use strict"; +exports.isSameHour = isSameHour; +var _index = require("./_lib/normalizeDates.cjs"); +var _index2 = require("./startOfHour.cjs"); + +/** + * The {@link isSameHour} function options. + */ + +/** + * @name isSameHour + * @category Hour Helpers + * @summary Are the given dates in the same hour (and same day)? + * + * @description + * Are the given dates in the same hour (and same day)? + * + * @param dateLeft - The first date to check + * @param dateRight - The second date to check + * @param options - An object with options + * + * @returns The dates are in the same hour (and same day) + * + * @example + * // Are 4 September 2014 06:00:00 and 4 September 06:30:00 in the same hour? + * const result = isSameHour(new Date(2014, 8, 4, 6, 0), new Date(2014, 8, 4, 6, 30)) + * //=> true + * + * @example + * // Are 4 September 2014 06:00:00 and 5 September 06:00:00 in the same hour? + * const result = isSameHour(new Date(2014, 8, 4, 6, 0), new Date(2014, 8, 5, 6, 0)) + * //=> false + */ +function isSameHour(dateLeft, dateRight, options) { + const [dateLeft_, dateRight_] = (0, _index.normalizeDates)( + options?.in, + dateLeft, + dateRight, + ); + return ( + +(0, _index2.startOfHour)(dateLeft_) === + +(0, _index2.startOfHour)(dateRight_) + ); +} diff --git a/node_modules/date-fns/isSameHour.d.cts b/node_modules/date-fns/isSameHour.d.cts new file mode 100644 index 0000000000000000000000000000000000000000..51c5de041bc1ab956862cdd614cecc99d871d848 --- /dev/null +++ b/node_modules/date-fns/isSameHour.d.cts @@ -0,0 +1,34 @@ +import type { ContextOptions, DateArg } from "./types.ts"; +/** + * The {@link isSameHour} function options. + */ +export interface IsSameHourOptions extends ContextOptions {} +/** + * @name isSameHour + * @category Hour Helpers + * @summary Are the given dates in the same hour (and same day)? + * + * @description + * Are the given dates in the same hour (and same day)? + * + * @param dateLeft - The first date to check + * @param dateRight - The second date to check + * @param options - An object with options + * + * @returns The dates are in the same hour (and same day) + * + * @example + * // Are 4 September 2014 06:00:00 and 4 September 06:30:00 in the same hour? + * const result = isSameHour(new Date(2014, 8, 4, 6, 0), new Date(2014, 8, 4, 6, 30)) + * //=> true + * + * @example + * // Are 4 September 2014 06:00:00 and 5 September 06:00:00 in the same hour? + * const result = isSameHour(new Date(2014, 8, 4, 6, 0), new Date(2014, 8, 5, 6, 0)) + * //=> false + */ +export declare function isSameHour( + dateLeft: DateArg & {}, + dateRight: DateArg & {}, + options?: IsSameHourOptions | undefined, +): boolean; diff --git a/node_modules/date-fns/isSameHour.d.ts b/node_modules/date-fns/isSameHour.d.ts new file mode 100644 index 0000000000000000000000000000000000000000..51c5de041bc1ab956862cdd614cecc99d871d848 --- /dev/null +++ b/node_modules/date-fns/isSameHour.d.ts @@ -0,0 +1,34 @@ +import type { ContextOptions, DateArg } from "./types.ts"; +/** + * The {@link isSameHour} function options. + */ +export interface IsSameHourOptions extends ContextOptions {} +/** + * @name isSameHour + * @category Hour Helpers + * @summary Are the given dates in the same hour (and same day)? + * + * @description + * Are the given dates in the same hour (and same day)? + * + * @param dateLeft - The first date to check + * @param dateRight - The second date to check + * @param options - An object with options + * + * @returns The dates are in the same hour (and same day) + * + * @example + * // Are 4 September 2014 06:00:00 and 4 September 06:30:00 in the same hour? + * const result = isSameHour(new Date(2014, 8, 4, 6, 0), new Date(2014, 8, 4, 6, 30)) + * //=> true + * + * @example + * // Are 4 September 2014 06:00:00 and 5 September 06:00:00 in the same hour? + * const result = isSameHour(new Date(2014, 8, 4, 6, 0), new Date(2014, 8, 5, 6, 0)) + * //=> false + */ +export declare function isSameHour( + dateLeft: DateArg & {}, + dateRight: DateArg & {}, + options?: IsSameHourOptions | undefined, +): boolean; diff --git a/node_modules/date-fns/isSameHour.js b/node_modules/date-fns/isSameHour.js new file mode 100644 index 0000000000000000000000000000000000000000..3dff707e97c0557dda6b03798662a98f7c41fb18 --- /dev/null +++ b/node_modules/date-fns/isSameHour.js @@ -0,0 +1,42 @@ +import { normalizeDates } from "./_lib/normalizeDates.js"; +import { startOfHour } from "./startOfHour.js"; + +/** + * The {@link isSameHour} function options. + */ + +/** + * @name isSameHour + * @category Hour Helpers + * @summary Are the given dates in the same hour (and same day)? + * + * @description + * Are the given dates in the same hour (and same day)? + * + * @param dateLeft - The first date to check + * @param dateRight - The second date to check + * @param options - An object with options + * + * @returns The dates are in the same hour (and same day) + * + * @example + * // Are 4 September 2014 06:00:00 and 4 September 06:30:00 in the same hour? + * const result = isSameHour(new Date(2014, 8, 4, 6, 0), new Date(2014, 8, 4, 6, 30)) + * //=> true + * + * @example + * // Are 4 September 2014 06:00:00 and 5 September 06:00:00 in the same hour? + * const result = isSameHour(new Date(2014, 8, 4, 6, 0), new Date(2014, 8, 5, 6, 0)) + * //=> false + */ +export function isSameHour(dateLeft, dateRight, options) { + const [dateLeft_, dateRight_] = normalizeDates( + options?.in, + dateLeft, + dateRight, + ); + return +startOfHour(dateLeft_) === +startOfHour(dateRight_); +} + +// Fallback for modularized imports: +export default isSameHour; diff --git a/node_modules/date-fns/isSameISOWeek.cjs b/node_modules/date-fns/isSameISOWeek.cjs new file mode 100644 index 0000000000000000000000000000000000000000..fa6514e961ccaf43074409d25bf828b96ae2addb --- /dev/null +++ b/node_modules/date-fns/isSameISOWeek.cjs @@ -0,0 +1,40 @@ +"use strict"; +exports.isSameISOWeek = isSameISOWeek; +var _index = require("./isSameWeek.cjs"); + +/** + * The {@link isSameISOWeek} function options. + */ + +/** + * @name isSameISOWeek + * @category ISO Week Helpers + * @summary Are the given dates in the same ISO week (and year)? + * + * @description + * Are the given dates in the same ISO week (and year)? + * + * ISO week-numbering year: http://en.wikipedia.org/wiki/ISO_week_date + * + * @param laterDate - The first date to check + * @param earlierDate - The second date to check + * @param options - An object with options + * + * @returns The dates are in the same ISO week (and year) + * + * @example + * // Are 1 September 2014 and 7 September 2014 in the same ISO week? + * const result = isSameISOWeek(new Date(2014, 8, 1), new Date(2014, 8, 7)) + * //=> true + * + * @example + * // Are 1 September 2014 and 1 September 2015 in the same ISO week? + * const result = isSameISOWeek(new Date(2014, 8, 1), new Date(2015, 8, 1)) + * //=> false + */ +function isSameISOWeek(laterDate, earlierDate, options) { + return (0, _index.isSameWeek)(laterDate, earlierDate, { + ...options, + weekStartsOn: 1, + }); +} diff --git a/node_modules/date-fns/isSameISOWeek.d.cts b/node_modules/date-fns/isSameISOWeek.d.cts new file mode 100644 index 0000000000000000000000000000000000000000..eda8e5781424913ac7a43fe2c028dfb2c4fb33b3 --- /dev/null +++ b/node_modules/date-fns/isSameISOWeek.d.cts @@ -0,0 +1,36 @@ +import type { ContextOptions, DateArg } from "./types.ts"; +/** + * The {@link isSameISOWeek} function options. + */ +export interface IsSameISOWeekOptions extends ContextOptions {} +/** + * @name isSameISOWeek + * @category ISO Week Helpers + * @summary Are the given dates in the same ISO week (and year)? + * + * @description + * Are the given dates in the same ISO week (and year)? + * + * ISO week-numbering year: http://en.wikipedia.org/wiki/ISO_week_date + * + * @param laterDate - The first date to check + * @param earlierDate - The second date to check + * @param options - An object with options + * + * @returns The dates are in the same ISO week (and year) + * + * @example + * // Are 1 September 2014 and 7 September 2014 in the same ISO week? + * const result = isSameISOWeek(new Date(2014, 8, 1), new Date(2014, 8, 7)) + * //=> true + * + * @example + * // Are 1 September 2014 and 1 September 2015 in the same ISO week? + * const result = isSameISOWeek(new Date(2014, 8, 1), new Date(2015, 8, 1)) + * //=> false + */ +export declare function isSameISOWeek( + laterDate: DateArg & {}, + earlierDate: DateArg & {}, + options?: IsSameISOWeekOptions | undefined, +): boolean; diff --git a/node_modules/date-fns/isSameISOWeek.d.ts b/node_modules/date-fns/isSameISOWeek.d.ts new file mode 100644 index 0000000000000000000000000000000000000000..eda8e5781424913ac7a43fe2c028dfb2c4fb33b3 --- /dev/null +++ b/node_modules/date-fns/isSameISOWeek.d.ts @@ -0,0 +1,36 @@ +import type { ContextOptions, DateArg } from "./types.ts"; +/** + * The {@link isSameISOWeek} function options. + */ +export interface IsSameISOWeekOptions extends ContextOptions {} +/** + * @name isSameISOWeek + * @category ISO Week Helpers + * @summary Are the given dates in the same ISO week (and year)? + * + * @description + * Are the given dates in the same ISO week (and year)? + * + * ISO week-numbering year: http://en.wikipedia.org/wiki/ISO_week_date + * + * @param laterDate - The first date to check + * @param earlierDate - The second date to check + * @param options - An object with options + * + * @returns The dates are in the same ISO week (and year) + * + * @example + * // Are 1 September 2014 and 7 September 2014 in the same ISO week? + * const result = isSameISOWeek(new Date(2014, 8, 1), new Date(2014, 8, 7)) + * //=> true + * + * @example + * // Are 1 September 2014 and 1 September 2015 in the same ISO week? + * const result = isSameISOWeek(new Date(2014, 8, 1), new Date(2015, 8, 1)) + * //=> false + */ +export declare function isSameISOWeek( + laterDate: DateArg & {}, + earlierDate: DateArg & {}, + options?: IsSameISOWeekOptions | undefined, +): boolean; diff --git a/node_modules/date-fns/isSameISOWeek.js b/node_modules/date-fns/isSameISOWeek.js new file mode 100644 index 0000000000000000000000000000000000000000..607a6731761eb92b5367298491b2a985b8aa3814 --- /dev/null +++ b/node_modules/date-fns/isSameISOWeek.js @@ -0,0 +1,38 @@ +import { isSameWeek } from "./isSameWeek.js"; + +/** + * The {@link isSameISOWeek} function options. + */ + +/** + * @name isSameISOWeek + * @category ISO Week Helpers + * @summary Are the given dates in the same ISO week (and year)? + * + * @description + * Are the given dates in the same ISO week (and year)? + * + * ISO week-numbering year: http://en.wikipedia.org/wiki/ISO_week_date + * + * @param laterDate - The first date to check + * @param earlierDate - The second date to check + * @param options - An object with options + * + * @returns The dates are in the same ISO week (and year) + * + * @example + * // Are 1 September 2014 and 7 September 2014 in the same ISO week? + * const result = isSameISOWeek(new Date(2014, 8, 1), new Date(2014, 8, 7)) + * //=> true + * + * @example + * // Are 1 September 2014 and 1 September 2015 in the same ISO week? + * const result = isSameISOWeek(new Date(2014, 8, 1), new Date(2015, 8, 1)) + * //=> false + */ +export function isSameISOWeek(laterDate, earlierDate, options) { + return isSameWeek(laterDate, earlierDate, { ...options, weekStartsOn: 1 }); +} + +// Fallback for modularized imports: +export default isSameISOWeek; diff --git a/node_modules/date-fns/isSameISOWeekYear.cjs b/node_modules/date-fns/isSameISOWeekYear.cjs new file mode 100644 index 0000000000000000000000000000000000000000..5b0d83d19adc47d9ed118eb87812de0227e369ee --- /dev/null +++ b/node_modules/date-fns/isSameISOWeekYear.cjs @@ -0,0 +1,42 @@ +"use strict"; +exports.isSameISOWeekYear = isSameISOWeekYear; +var _index = require("./startOfISOWeekYear.cjs"); + +var _index2 = require("./_lib/normalizeDates.cjs"); + +/** + * The {@link isSameISOWeekYear} function options. + */ + +/** + * @name isSameISOWeekYear + * @category ISO Week-Numbering Year Helpers + * @summary Are the given dates in the same ISO week-numbering year? + * + * @description + * Are the given dates in the same ISO week-numbering year? + * + * ISO week-numbering year: http://en.wikipedia.org/wiki/ISO_week_date + * + * @param laterDate - The first date to check + * @param earlierDate - The second date to check + * @param options - An object with options + * + * @returns The dates are in the same ISO week-numbering year + * + * @example + * // Are 29 December 2003 and 2 January 2005 in the same ISO week-numbering year? + * const result = isSameISOWeekYear(new Date(2003, 11, 29), new Date(2005, 0, 2)) + * //=> true + */ +function isSameISOWeekYear(laterDate, earlierDate, options) { + const [laterDate_, earlierDate_] = (0, _index2.normalizeDates)( + options?.in, + laterDate, + earlierDate, + ); + return ( + +(0, _index.startOfISOWeekYear)(laterDate_) === + +(0, _index.startOfISOWeekYear)(earlierDate_) + ); +} diff --git a/node_modules/date-fns/isSameISOWeekYear.d.cts b/node_modules/date-fns/isSameISOWeekYear.d.cts new file mode 100644 index 0000000000000000000000000000000000000000..64a0562af2bcde713635f762068a19e25ea5f4a7 --- /dev/null +++ b/node_modules/date-fns/isSameISOWeekYear.d.cts @@ -0,0 +1,31 @@ +import type { ContextOptions, DateArg } from "./types.ts"; +/** + * The {@link isSameISOWeekYear} function options. + */ +export interface IsSameISOWeekYearOptions extends ContextOptions {} +/** + * @name isSameISOWeekYear + * @category ISO Week-Numbering Year Helpers + * @summary Are the given dates in the same ISO week-numbering year? + * + * @description + * Are the given dates in the same ISO week-numbering year? + * + * ISO week-numbering year: http://en.wikipedia.org/wiki/ISO_week_date + * + * @param laterDate - The first date to check + * @param earlierDate - The second date to check + * @param options - An object with options + * + * @returns The dates are in the same ISO week-numbering year + * + * @example + * // Are 29 December 2003 and 2 January 2005 in the same ISO week-numbering year? + * const result = isSameISOWeekYear(new Date(2003, 11, 29), new Date(2005, 0, 2)) + * //=> true + */ +export declare function isSameISOWeekYear( + laterDate: DateArg & {}, + earlierDate: DateArg & {}, + options?: IsSameISOWeekYearOptions | undefined, +): boolean; diff --git a/node_modules/date-fns/isSameISOWeekYear.d.ts b/node_modules/date-fns/isSameISOWeekYear.d.ts new file mode 100644 index 0000000000000000000000000000000000000000..64a0562af2bcde713635f762068a19e25ea5f4a7 --- /dev/null +++ b/node_modules/date-fns/isSameISOWeekYear.d.ts @@ -0,0 +1,31 @@ +import type { ContextOptions, DateArg } from "./types.ts"; +/** + * The {@link isSameISOWeekYear} function options. + */ +export interface IsSameISOWeekYearOptions extends ContextOptions {} +/** + * @name isSameISOWeekYear + * @category ISO Week-Numbering Year Helpers + * @summary Are the given dates in the same ISO week-numbering year? + * + * @description + * Are the given dates in the same ISO week-numbering year? + * + * ISO week-numbering year: http://en.wikipedia.org/wiki/ISO_week_date + * + * @param laterDate - The first date to check + * @param earlierDate - The second date to check + * @param options - An object with options + * + * @returns The dates are in the same ISO week-numbering year + * + * @example + * // Are 29 December 2003 and 2 January 2005 in the same ISO week-numbering year? + * const result = isSameISOWeekYear(new Date(2003, 11, 29), new Date(2005, 0, 2)) + * //=> true + */ +export declare function isSameISOWeekYear( + laterDate: DateArg & {}, + earlierDate: DateArg & {}, + options?: IsSameISOWeekYearOptions | undefined, +): boolean; diff --git a/node_modules/date-fns/isSameISOWeekYear.js b/node_modules/date-fns/isSameISOWeekYear.js new file mode 100644 index 0000000000000000000000000000000000000000..bd1659bc122f883b23a79177c6c938ec513f86f8 --- /dev/null +++ b/node_modules/date-fns/isSameISOWeekYear.js @@ -0,0 +1,40 @@ +import { startOfISOWeekYear } from "./startOfISOWeekYear.js"; + +import { normalizeDates } from "./_lib/normalizeDates.js"; + +/** + * The {@link isSameISOWeekYear} function options. + */ + +/** + * @name isSameISOWeekYear + * @category ISO Week-Numbering Year Helpers + * @summary Are the given dates in the same ISO week-numbering year? + * + * @description + * Are the given dates in the same ISO week-numbering year? + * + * ISO week-numbering year: http://en.wikipedia.org/wiki/ISO_week_date + * + * @param laterDate - The first date to check + * @param earlierDate - The second date to check + * @param options - An object with options + * + * @returns The dates are in the same ISO week-numbering year + * + * @example + * // Are 29 December 2003 and 2 January 2005 in the same ISO week-numbering year? + * const result = isSameISOWeekYear(new Date(2003, 11, 29), new Date(2005, 0, 2)) + * //=> true + */ +export function isSameISOWeekYear(laterDate, earlierDate, options) { + const [laterDate_, earlierDate_] = normalizeDates( + options?.in, + laterDate, + earlierDate, + ); + return +startOfISOWeekYear(laterDate_) === +startOfISOWeekYear(earlierDate_); +} + +// Fallback for modularized imports: +export default isSameISOWeekYear; diff --git a/node_modules/date-fns/isSameMinute.cjs b/node_modules/date-fns/isSameMinute.cjs new file mode 100644 index 0000000000000000000000000000000000000000..438757a022ab35bab456412abd7c65e63912c78a --- /dev/null +++ b/node_modules/date-fns/isSameMinute.cjs @@ -0,0 +1,39 @@ +"use strict"; +exports.isSameMinute = isSameMinute; +var _index = require("./startOfMinute.cjs"); + +/** + * @name isSameMinute + * @category Minute Helpers + * @summary Are the given dates in the same minute (and hour and day)? + * + * @description + * Are the given dates in the same minute (and hour and day)? + * + * @param laterDate - The first date to check + * @param earlierDate - The second date to check + * + * @returns The dates are in the same minute (and hour and day) + * + * @example + * // Are 4 September 2014 06:30:00 and 4 September 2014 06:30:15 in the same minute? + * const result = isSameMinute( + * new Date(2014, 8, 4, 6, 30), + * new Date(2014, 8, 4, 6, 30, 15) + * ) + * //=> true + * + * @example + * // Are 4 September 2014 06:30:00 and 5 September 2014 06:30:00 in the same minute? + * const result = isSameMinute( + * new Date(2014, 8, 4, 6, 30), + * new Date(2014, 8, 5, 6, 30) + * ) + * //=> false + */ +function isSameMinute(laterDate, earlierDate) { + return ( + +(0, _index.startOfMinute)(laterDate) === + +(0, _index.startOfMinute)(earlierDate) + ); +} diff --git a/node_modules/date-fns/isSameMinute.d.cts b/node_modules/date-fns/isSameMinute.d.cts new file mode 100644 index 0000000000000000000000000000000000000000..dd680a8c1a3db04930c39fbb162ce839545582fe --- /dev/null +++ b/node_modules/date-fns/isSameMinute.d.cts @@ -0,0 +1,34 @@ +import type { DateArg } from "./types.ts"; +/** + * @name isSameMinute + * @category Minute Helpers + * @summary Are the given dates in the same minute (and hour and day)? + * + * @description + * Are the given dates in the same minute (and hour and day)? + * + * @param laterDate - The first date to check + * @param earlierDate - The second date to check + * + * @returns The dates are in the same minute (and hour and day) + * + * @example + * // Are 4 September 2014 06:30:00 and 4 September 2014 06:30:15 in the same minute? + * const result = isSameMinute( + * new Date(2014, 8, 4, 6, 30), + * new Date(2014, 8, 4, 6, 30, 15) + * ) + * //=> true + * + * @example + * // Are 4 September 2014 06:30:00 and 5 September 2014 06:30:00 in the same minute? + * const result = isSameMinute( + * new Date(2014, 8, 4, 6, 30), + * new Date(2014, 8, 5, 6, 30) + * ) + * //=> false + */ +export declare function isSameMinute( + laterDate: DateArg & {}, + earlierDate: DateArg & {}, +): boolean; diff --git a/node_modules/date-fns/isSameMinute.d.ts b/node_modules/date-fns/isSameMinute.d.ts new file mode 100644 index 0000000000000000000000000000000000000000..dd680a8c1a3db04930c39fbb162ce839545582fe --- /dev/null +++ b/node_modules/date-fns/isSameMinute.d.ts @@ -0,0 +1,34 @@ +import type { DateArg } from "./types.ts"; +/** + * @name isSameMinute + * @category Minute Helpers + * @summary Are the given dates in the same minute (and hour and day)? + * + * @description + * Are the given dates in the same minute (and hour and day)? + * + * @param laterDate - The first date to check + * @param earlierDate - The second date to check + * + * @returns The dates are in the same minute (and hour and day) + * + * @example + * // Are 4 September 2014 06:30:00 and 4 September 2014 06:30:15 in the same minute? + * const result = isSameMinute( + * new Date(2014, 8, 4, 6, 30), + * new Date(2014, 8, 4, 6, 30, 15) + * ) + * //=> true + * + * @example + * // Are 4 September 2014 06:30:00 and 5 September 2014 06:30:00 in the same minute? + * const result = isSameMinute( + * new Date(2014, 8, 4, 6, 30), + * new Date(2014, 8, 5, 6, 30) + * ) + * //=> false + */ +export declare function isSameMinute( + laterDate: DateArg & {}, + earlierDate: DateArg & {}, +): boolean; diff --git a/node_modules/date-fns/isSameMinute.js b/node_modules/date-fns/isSameMinute.js new file mode 100644 index 0000000000000000000000000000000000000000..7aea375b41d1ee3b9e0523ec42f1ad0403a660a7 --- /dev/null +++ b/node_modules/date-fns/isSameMinute.js @@ -0,0 +1,37 @@ +import { startOfMinute } from "./startOfMinute.js"; + +/** + * @name isSameMinute + * @category Minute Helpers + * @summary Are the given dates in the same minute (and hour and day)? + * + * @description + * Are the given dates in the same minute (and hour and day)? + * + * @param laterDate - The first date to check + * @param earlierDate - The second date to check + * + * @returns The dates are in the same minute (and hour and day) + * + * @example + * // Are 4 September 2014 06:30:00 and 4 September 2014 06:30:15 in the same minute? + * const result = isSameMinute( + * new Date(2014, 8, 4, 6, 30), + * new Date(2014, 8, 4, 6, 30, 15) + * ) + * //=> true + * + * @example + * // Are 4 September 2014 06:30:00 and 5 September 2014 06:30:00 in the same minute? + * const result = isSameMinute( + * new Date(2014, 8, 4, 6, 30), + * new Date(2014, 8, 5, 6, 30) + * ) + * //=> false + */ +export function isSameMinute(laterDate, earlierDate) { + return +startOfMinute(laterDate) === +startOfMinute(earlierDate); +} + +// Fallback for modularized imports: +export default isSameMinute; diff --git a/node_modules/date-fns/isSameMonth.cjs b/node_modules/date-fns/isSameMonth.cjs new file mode 100644 index 0000000000000000000000000000000000000000..e0b59d0b938f5a323b4e242b57f76bd2267d613c --- /dev/null +++ b/node_modules/date-fns/isSameMonth.cjs @@ -0,0 +1,43 @@ +"use strict"; +exports.isSameMonth = isSameMonth; +var _index = require("./_lib/normalizeDates.cjs"); + +/** + * The {@link isSameMonth} function options. + */ + +/** + * @name isSameMonth + * @category Month Helpers + * @summary Are the given dates in the same month (and year)? + * + * @description + * Are the given dates in the same month (and year)? + * + * @param laterDate - The first date to check + * @param earlierDate - The second date to check + * @param options - An object with options + * + * @returns The dates are in the same month (and year) + * + * @example + * // Are 2 September 2014 and 25 September 2014 in the same month? + * const result = isSameMonth(new Date(2014, 8, 2), new Date(2014, 8, 25)) + * //=> true + * + * @example + * // Are 2 September 2014 and 25 September 2015 in the same month? + * const result = isSameMonth(new Date(2014, 8, 2), new Date(2015, 8, 25)) + * //=> false + */ +function isSameMonth(laterDate, earlierDate, options) { + const [laterDate_, earlierDate_] = (0, _index.normalizeDates)( + options?.in, + laterDate, + earlierDate, + ); + return ( + laterDate_.getFullYear() === earlierDate_.getFullYear() && + laterDate_.getMonth() === earlierDate_.getMonth() + ); +} diff --git a/node_modules/date-fns/isSameMonth.d.cts b/node_modules/date-fns/isSameMonth.d.cts new file mode 100644 index 0000000000000000000000000000000000000000..657affe7515397aac0cbc9fc7b3a8a7a2644999c --- /dev/null +++ b/node_modules/date-fns/isSameMonth.d.cts @@ -0,0 +1,34 @@ +import type { ContextOptions, DateArg } from "./types.ts"; +/** + * The {@link isSameMonth} function options. + */ +export interface IsSameMonthOptions extends ContextOptions {} +/** + * @name isSameMonth + * @category Month Helpers + * @summary Are the given dates in the same month (and year)? + * + * @description + * Are the given dates in the same month (and year)? + * + * @param laterDate - The first date to check + * @param earlierDate - The second date to check + * @param options - An object with options + * + * @returns The dates are in the same month (and year) + * + * @example + * // Are 2 September 2014 and 25 September 2014 in the same month? + * const result = isSameMonth(new Date(2014, 8, 2), new Date(2014, 8, 25)) + * //=> true + * + * @example + * // Are 2 September 2014 and 25 September 2015 in the same month? + * const result = isSameMonth(new Date(2014, 8, 2), new Date(2015, 8, 25)) + * //=> false + */ +export declare function isSameMonth( + laterDate: DateArg & {}, + earlierDate: DateArg & {}, + options?: IsSameMonthOptions | undefined, +): boolean; diff --git a/node_modules/date-fns/isSameMonth.d.ts b/node_modules/date-fns/isSameMonth.d.ts new file mode 100644 index 0000000000000000000000000000000000000000..657affe7515397aac0cbc9fc7b3a8a7a2644999c --- /dev/null +++ b/node_modules/date-fns/isSameMonth.d.ts @@ -0,0 +1,34 @@ +import type { ContextOptions, DateArg } from "./types.ts"; +/** + * The {@link isSameMonth} function options. + */ +export interface IsSameMonthOptions extends ContextOptions {} +/** + * @name isSameMonth + * @category Month Helpers + * @summary Are the given dates in the same month (and year)? + * + * @description + * Are the given dates in the same month (and year)? + * + * @param laterDate - The first date to check + * @param earlierDate - The second date to check + * @param options - An object with options + * + * @returns The dates are in the same month (and year) + * + * @example + * // Are 2 September 2014 and 25 September 2014 in the same month? + * const result = isSameMonth(new Date(2014, 8, 2), new Date(2014, 8, 25)) + * //=> true + * + * @example + * // Are 2 September 2014 and 25 September 2015 in the same month? + * const result = isSameMonth(new Date(2014, 8, 2), new Date(2015, 8, 25)) + * //=> false + */ +export declare function isSameMonth( + laterDate: DateArg & {}, + earlierDate: DateArg & {}, + options?: IsSameMonthOptions | undefined, +): boolean; diff --git a/node_modules/date-fns/isSameMonth.js b/node_modules/date-fns/isSameMonth.js new file mode 100644 index 0000000000000000000000000000000000000000..73624df47a8ec708802fdba463e085e9d11305d5 --- /dev/null +++ b/node_modules/date-fns/isSameMonth.js @@ -0,0 +1,44 @@ +import { normalizeDates } from "./_lib/normalizeDates.js"; + +/** + * The {@link isSameMonth} function options. + */ + +/** + * @name isSameMonth + * @category Month Helpers + * @summary Are the given dates in the same month (and year)? + * + * @description + * Are the given dates in the same month (and year)? + * + * @param laterDate - The first date to check + * @param earlierDate - The second date to check + * @param options - An object with options + * + * @returns The dates are in the same month (and year) + * + * @example + * // Are 2 September 2014 and 25 September 2014 in the same month? + * const result = isSameMonth(new Date(2014, 8, 2), new Date(2014, 8, 25)) + * //=> true + * + * @example + * // Are 2 September 2014 and 25 September 2015 in the same month? + * const result = isSameMonth(new Date(2014, 8, 2), new Date(2015, 8, 25)) + * //=> false + */ +export function isSameMonth(laterDate, earlierDate, options) { + const [laterDate_, earlierDate_] = normalizeDates( + options?.in, + laterDate, + earlierDate, + ); + return ( + laterDate_.getFullYear() === earlierDate_.getFullYear() && + laterDate_.getMonth() === earlierDate_.getMonth() + ); +} + +// Fallback for modularized imports: +export default isSameMonth; diff --git a/node_modules/date-fns/isSameQuarter.cjs b/node_modules/date-fns/isSameQuarter.cjs new file mode 100644 index 0000000000000000000000000000000000000000..e8e220156846b813963614149a5edb787fc57eac --- /dev/null +++ b/node_modules/date-fns/isSameQuarter.cjs @@ -0,0 +1,44 @@ +"use strict"; +exports.isSameQuarter = isSameQuarter; +var _index = require("./_lib/normalizeDates.cjs"); +var _index2 = require("./startOfQuarter.cjs"); + +/** + * The {@link isSameQuarter} function options. + */ + +/** + * @name isSameQuarter + * @category Quarter Helpers + * @summary Are the given dates in the same quarter (and year)? + * + * @description + * Are the given dates in the same quarter (and year)? + * + * @param laterDate - The first date to check + * @param earlierDate - The second date to check + * @param options - An object with options + * + * @returns The dates are in the same quarter (and year) + * + * @example + * // Are 1 January 2014 and 8 March 2014 in the same quarter? + * const result = isSameQuarter(new Date(2014, 0, 1), new Date(2014, 2, 8)) + * //=> true + * + * @example + * // Are 1 January 2014 and 1 January 2015 in the same quarter? + * const result = isSameQuarter(new Date(2014, 0, 1), new Date(2015, 0, 1)) + * //=> false + */ +function isSameQuarter(laterDate, earlierDate, options) { + const [dateLeft_, dateRight_] = (0, _index.normalizeDates)( + options?.in, + laterDate, + earlierDate, + ); + return ( + +(0, _index2.startOfQuarter)(dateLeft_) === + +(0, _index2.startOfQuarter)(dateRight_) + ); +} diff --git a/node_modules/date-fns/isSameQuarter.d.cts b/node_modules/date-fns/isSameQuarter.d.cts new file mode 100644 index 0000000000000000000000000000000000000000..14df8bccb54a7feb9aab8d0709a82e5477a62615 --- /dev/null +++ b/node_modules/date-fns/isSameQuarter.d.cts @@ -0,0 +1,34 @@ +import type { ContextOptions, DateArg } from "./types.ts"; +/** + * The {@link isSameQuarter} function options. + */ +export interface IsSameQuarterOptions extends ContextOptions {} +/** + * @name isSameQuarter + * @category Quarter Helpers + * @summary Are the given dates in the same quarter (and year)? + * + * @description + * Are the given dates in the same quarter (and year)? + * + * @param laterDate - The first date to check + * @param earlierDate - The second date to check + * @param options - An object with options + * + * @returns The dates are in the same quarter (and year) + * + * @example + * // Are 1 January 2014 and 8 March 2014 in the same quarter? + * const result = isSameQuarter(new Date(2014, 0, 1), new Date(2014, 2, 8)) + * //=> true + * + * @example + * // Are 1 January 2014 and 1 January 2015 in the same quarter? + * const result = isSameQuarter(new Date(2014, 0, 1), new Date(2015, 0, 1)) + * //=> false + */ +export declare function isSameQuarter( + laterDate: DateArg & {}, + earlierDate: DateArg & {}, + options?: IsSameQuarterOptions | undefined, +): boolean; diff --git a/node_modules/date-fns/isSameQuarter.d.ts b/node_modules/date-fns/isSameQuarter.d.ts new file mode 100644 index 0000000000000000000000000000000000000000..14df8bccb54a7feb9aab8d0709a82e5477a62615 --- /dev/null +++ b/node_modules/date-fns/isSameQuarter.d.ts @@ -0,0 +1,34 @@ +import type { ContextOptions, DateArg } from "./types.ts"; +/** + * The {@link isSameQuarter} function options. + */ +export interface IsSameQuarterOptions extends ContextOptions {} +/** + * @name isSameQuarter + * @category Quarter Helpers + * @summary Are the given dates in the same quarter (and year)? + * + * @description + * Are the given dates in the same quarter (and year)? + * + * @param laterDate - The first date to check + * @param earlierDate - The second date to check + * @param options - An object with options + * + * @returns The dates are in the same quarter (and year) + * + * @example + * // Are 1 January 2014 and 8 March 2014 in the same quarter? + * const result = isSameQuarter(new Date(2014, 0, 1), new Date(2014, 2, 8)) + * //=> true + * + * @example + * // Are 1 January 2014 and 1 January 2015 in the same quarter? + * const result = isSameQuarter(new Date(2014, 0, 1), new Date(2015, 0, 1)) + * //=> false + */ +export declare function isSameQuarter( + laterDate: DateArg & {}, + earlierDate: DateArg & {}, + options?: IsSameQuarterOptions | undefined, +): boolean; diff --git a/node_modules/date-fns/isSameQuarter.js b/node_modules/date-fns/isSameQuarter.js new file mode 100644 index 0000000000000000000000000000000000000000..aeaac819b261dfa7b712949c846522866d0100ac --- /dev/null +++ b/node_modules/date-fns/isSameQuarter.js @@ -0,0 +1,42 @@ +import { normalizeDates } from "./_lib/normalizeDates.js"; +import { startOfQuarter } from "./startOfQuarter.js"; + +/** + * The {@link isSameQuarter} function options. + */ + +/** + * @name isSameQuarter + * @category Quarter Helpers + * @summary Are the given dates in the same quarter (and year)? + * + * @description + * Are the given dates in the same quarter (and year)? + * + * @param laterDate - The first date to check + * @param earlierDate - The second date to check + * @param options - An object with options + * + * @returns The dates are in the same quarter (and year) + * + * @example + * // Are 1 January 2014 and 8 March 2014 in the same quarter? + * const result = isSameQuarter(new Date(2014, 0, 1), new Date(2014, 2, 8)) + * //=> true + * + * @example + * // Are 1 January 2014 and 1 January 2015 in the same quarter? + * const result = isSameQuarter(new Date(2014, 0, 1), new Date(2015, 0, 1)) + * //=> false + */ +export function isSameQuarter(laterDate, earlierDate, options) { + const [dateLeft_, dateRight_] = normalizeDates( + options?.in, + laterDate, + earlierDate, + ); + return +startOfQuarter(dateLeft_) === +startOfQuarter(dateRight_); +} + +// Fallback for modularized imports: +export default isSameQuarter; diff --git a/node_modules/date-fns/isSameSecond.cjs b/node_modules/date-fns/isSameSecond.cjs new file mode 100644 index 0000000000000000000000000000000000000000..0d345383722ee97fcc397752fa17096dfa82b65d --- /dev/null +++ b/node_modules/date-fns/isSameSecond.cjs @@ -0,0 +1,47 @@ +"use strict"; +exports.isSameSecond = isSameSecond; +var _index = require("./startOfSecond.cjs"); + +/** + * @name isSameSecond + * @category Second Helpers + * @summary Are the given dates in the same second (and hour and day)? + * + * @description + * Are the given dates in the same second (and hour and day)? + * + * @param laterDate - The first date to check + * @param earlierDate - The second date to check + * + * @returns The dates are in the same second (and hour and day) + * + * @example + * // Are 4 September 2014 06:30:15.000 and 4 September 2014 06:30.15.500 in the same second? + * const result = isSameSecond( + * new Date(2014, 8, 4, 6, 30, 15), + * new Date(2014, 8, 4, 6, 30, 15, 500) + * ) + * //=> true + * + * @example + * // Are 4 September 2014 06:00:15.000 and 4 September 2014 06:01.15.000 in the same second? + * const result = isSameSecond( + * new Date(2014, 8, 4, 6, 0, 15), + * new Date(2014, 8, 4, 6, 1, 15) + * ) + * //=> false + * + * @example + * // Are 4 September 2014 06:00:15.000 and 5 September 2014 06:00.15.000 in the same second? + * const result = isSameSecond( + * new Date(2014, 8, 4, 6, 0, 15), + * new Date(2014, 8, 5, 6, 0, 15) + * ) + * //=> false + */ +function isSameSecond(laterDate, earlierDate) { + return ( + +(0, _index.startOfSecond)(laterDate) === + +(0, _index.startOfSecond)(earlierDate) + ); +} diff --git a/node_modules/date-fns/isSameSecond.d.cts b/node_modules/date-fns/isSameSecond.d.cts new file mode 100644 index 0000000000000000000000000000000000000000..1a77997e280b788ecf5b2aa4afc14e33445d0312 --- /dev/null +++ b/node_modules/date-fns/isSameSecond.d.cts @@ -0,0 +1,42 @@ +import type { DateArg } from "./types.ts"; +/** + * @name isSameSecond + * @category Second Helpers + * @summary Are the given dates in the same second (and hour and day)? + * + * @description + * Are the given dates in the same second (and hour and day)? + * + * @param laterDate - The first date to check + * @param earlierDate - The second date to check + * + * @returns The dates are in the same second (and hour and day) + * + * @example + * // Are 4 September 2014 06:30:15.000 and 4 September 2014 06:30.15.500 in the same second? + * const result = isSameSecond( + * new Date(2014, 8, 4, 6, 30, 15), + * new Date(2014, 8, 4, 6, 30, 15, 500) + * ) + * //=> true + * + * @example + * // Are 4 September 2014 06:00:15.000 and 4 September 2014 06:01.15.000 in the same second? + * const result = isSameSecond( + * new Date(2014, 8, 4, 6, 0, 15), + * new Date(2014, 8, 4, 6, 1, 15) + * ) + * //=> false + * + * @example + * // Are 4 September 2014 06:00:15.000 and 5 September 2014 06:00.15.000 in the same second? + * const result = isSameSecond( + * new Date(2014, 8, 4, 6, 0, 15), + * new Date(2014, 8, 5, 6, 0, 15) + * ) + * //=> false + */ +export declare function isSameSecond( + laterDate: DateArg & {}, + earlierDate: DateArg & {}, +): boolean; diff --git a/node_modules/date-fns/isSameSecond.d.ts b/node_modules/date-fns/isSameSecond.d.ts new file mode 100644 index 0000000000000000000000000000000000000000..1a77997e280b788ecf5b2aa4afc14e33445d0312 --- /dev/null +++ b/node_modules/date-fns/isSameSecond.d.ts @@ -0,0 +1,42 @@ +import type { DateArg } from "./types.ts"; +/** + * @name isSameSecond + * @category Second Helpers + * @summary Are the given dates in the same second (and hour and day)? + * + * @description + * Are the given dates in the same second (and hour and day)? + * + * @param laterDate - The first date to check + * @param earlierDate - The second date to check + * + * @returns The dates are in the same second (and hour and day) + * + * @example + * // Are 4 September 2014 06:30:15.000 and 4 September 2014 06:30.15.500 in the same second? + * const result = isSameSecond( + * new Date(2014, 8, 4, 6, 30, 15), + * new Date(2014, 8, 4, 6, 30, 15, 500) + * ) + * //=> true + * + * @example + * // Are 4 September 2014 06:00:15.000 and 4 September 2014 06:01.15.000 in the same second? + * const result = isSameSecond( + * new Date(2014, 8, 4, 6, 0, 15), + * new Date(2014, 8, 4, 6, 1, 15) + * ) + * //=> false + * + * @example + * // Are 4 September 2014 06:00:15.000 and 5 September 2014 06:00.15.000 in the same second? + * const result = isSameSecond( + * new Date(2014, 8, 4, 6, 0, 15), + * new Date(2014, 8, 5, 6, 0, 15) + * ) + * //=> false + */ +export declare function isSameSecond( + laterDate: DateArg & {}, + earlierDate: DateArg & {}, +): boolean; diff --git a/node_modules/date-fns/isSameSecond.js b/node_modules/date-fns/isSameSecond.js new file mode 100644 index 0000000000000000000000000000000000000000..ff73e687e1d42ea2b153fe760a7d6d58aec02324 --- /dev/null +++ b/node_modules/date-fns/isSameSecond.js @@ -0,0 +1,45 @@ +import { startOfSecond } from "./startOfSecond.js"; + +/** + * @name isSameSecond + * @category Second Helpers + * @summary Are the given dates in the same second (and hour and day)? + * + * @description + * Are the given dates in the same second (and hour and day)? + * + * @param laterDate - The first date to check + * @param earlierDate - The second date to check + * + * @returns The dates are in the same second (and hour and day) + * + * @example + * // Are 4 September 2014 06:30:15.000 and 4 September 2014 06:30.15.500 in the same second? + * const result = isSameSecond( + * new Date(2014, 8, 4, 6, 30, 15), + * new Date(2014, 8, 4, 6, 30, 15, 500) + * ) + * //=> true + * + * @example + * // Are 4 September 2014 06:00:15.000 and 4 September 2014 06:01.15.000 in the same second? + * const result = isSameSecond( + * new Date(2014, 8, 4, 6, 0, 15), + * new Date(2014, 8, 4, 6, 1, 15) + * ) + * //=> false + * + * @example + * // Are 4 September 2014 06:00:15.000 and 5 September 2014 06:00.15.000 in the same second? + * const result = isSameSecond( + * new Date(2014, 8, 4, 6, 0, 15), + * new Date(2014, 8, 5, 6, 0, 15) + * ) + * //=> false + */ +export function isSameSecond(laterDate, earlierDate) { + return +startOfSecond(laterDate) === +startOfSecond(earlierDate); +} + +// Fallback for modularized imports: +export default isSameSecond; diff --git a/node_modules/date-fns/isSameWeek.cjs b/node_modules/date-fns/isSameWeek.cjs new file mode 100644 index 0000000000000000000000000000000000000000..31e7843a8044b04edea70f50472b5ede8aed310a --- /dev/null +++ b/node_modules/date-fns/isSameWeek.cjs @@ -0,0 +1,52 @@ +"use strict"; +exports.isSameWeek = isSameWeek; +var _index = require("./_lib/normalizeDates.cjs"); +var _index2 = require("./startOfWeek.cjs"); + +/** + * The {@link isSameWeek} function options. + */ + +/** + * @name isSameWeek + * @category Week Helpers + * @summary Are the given dates in the same week (and month and year)? + * + * @description + * Are the given dates in the same week (and month and year)? + * + * @param laterDate - The first date to check + * @param earlierDate - The second date to check + * @param options - An object with options + * + * @returns The dates are in the same week (and month and year) + * + * @example + * // Are 31 August 2014 and 4 September 2014 in the same week? + * const result = isSameWeek(new Date(2014, 7, 31), new Date(2014, 8, 4)) + * //=> true + * + * @example + * // If week starts with Monday, + * // are 31 August 2014 and 4 September 2014 in the same week? + * const result = isSameWeek(new Date(2014, 7, 31), new Date(2014, 8, 4), { + * weekStartsOn: 1 + * }) + * //=> false + * + * @example + * // Are 1 January 2014 and 1 January 2015 in the same week? + * const result = isSameWeek(new Date(2014, 0, 1), new Date(2015, 0, 1)) + * //=> false + */ +function isSameWeek(laterDate, earlierDate, options) { + const [laterDate_, earlierDate_] = (0, _index.normalizeDates)( + options?.in, + laterDate, + earlierDate, + ); + return ( + +(0, _index2.startOfWeek)(laterDate_, options) === + +(0, _index2.startOfWeek)(earlierDate_, options) + ); +} diff --git a/node_modules/date-fns/isSameWeek.d.cts b/node_modules/date-fns/isSameWeek.d.cts new file mode 100644 index 0000000000000000000000000000000000000000..66fa48108b4ec0664223bd4f4bbf3282deac0c12 --- /dev/null +++ b/node_modules/date-fns/isSameWeek.d.cts @@ -0,0 +1,46 @@ +import type { LocalizedOptions, WeekOptions } from "./types.ts"; +import type { ContextOptions, DateArg } from "./types.ts"; +/** + * The {@link isSameWeek} function options. + */ +export interface IsSameWeekOptions + extends WeekOptions, + LocalizedOptions<"options">, + ContextOptions {} +/** + * @name isSameWeek + * @category Week Helpers + * @summary Are the given dates in the same week (and month and year)? + * + * @description + * Are the given dates in the same week (and month and year)? + * + * @param laterDate - The first date to check + * @param earlierDate - The second date to check + * @param options - An object with options + * + * @returns The dates are in the same week (and month and year) + * + * @example + * // Are 31 August 2014 and 4 September 2014 in the same week? + * const result = isSameWeek(new Date(2014, 7, 31), new Date(2014, 8, 4)) + * //=> true + * + * @example + * // If week starts with Monday, + * // are 31 August 2014 and 4 September 2014 in the same week? + * const result = isSameWeek(new Date(2014, 7, 31), new Date(2014, 8, 4), { + * weekStartsOn: 1 + * }) + * //=> false + * + * @example + * // Are 1 January 2014 and 1 January 2015 in the same week? + * const result = isSameWeek(new Date(2014, 0, 1), new Date(2015, 0, 1)) + * //=> false + */ +export declare function isSameWeek( + laterDate: DateArg & {}, + earlierDate: DateArg & {}, + options?: IsSameWeekOptions, +): boolean; diff --git a/node_modules/date-fns/isSameWeek.d.ts b/node_modules/date-fns/isSameWeek.d.ts new file mode 100644 index 0000000000000000000000000000000000000000..66fa48108b4ec0664223bd4f4bbf3282deac0c12 --- /dev/null +++ b/node_modules/date-fns/isSameWeek.d.ts @@ -0,0 +1,46 @@ +import type { LocalizedOptions, WeekOptions } from "./types.ts"; +import type { ContextOptions, DateArg } from "./types.ts"; +/** + * The {@link isSameWeek} function options. + */ +export interface IsSameWeekOptions + extends WeekOptions, + LocalizedOptions<"options">, + ContextOptions {} +/** + * @name isSameWeek + * @category Week Helpers + * @summary Are the given dates in the same week (and month and year)? + * + * @description + * Are the given dates in the same week (and month and year)? + * + * @param laterDate - The first date to check + * @param earlierDate - The second date to check + * @param options - An object with options + * + * @returns The dates are in the same week (and month and year) + * + * @example + * // Are 31 August 2014 and 4 September 2014 in the same week? + * const result = isSameWeek(new Date(2014, 7, 31), new Date(2014, 8, 4)) + * //=> true + * + * @example + * // If week starts with Monday, + * // are 31 August 2014 and 4 September 2014 in the same week? + * const result = isSameWeek(new Date(2014, 7, 31), new Date(2014, 8, 4), { + * weekStartsOn: 1 + * }) + * //=> false + * + * @example + * // Are 1 January 2014 and 1 January 2015 in the same week? + * const result = isSameWeek(new Date(2014, 0, 1), new Date(2015, 0, 1)) + * //=> false + */ +export declare function isSameWeek( + laterDate: DateArg & {}, + earlierDate: DateArg & {}, + options?: IsSameWeekOptions, +): boolean; diff --git a/node_modules/date-fns/isSameWeek.js b/node_modules/date-fns/isSameWeek.js new file mode 100644 index 0000000000000000000000000000000000000000..24d8573f28a748c488641c8a2c37ba4e19d80354 --- /dev/null +++ b/node_modules/date-fns/isSameWeek.js @@ -0,0 +1,52 @@ +import { normalizeDates } from "./_lib/normalizeDates.js"; +import { startOfWeek } from "./startOfWeek.js"; + +/** + * The {@link isSameWeek} function options. + */ + +/** + * @name isSameWeek + * @category Week Helpers + * @summary Are the given dates in the same week (and month and year)? + * + * @description + * Are the given dates in the same week (and month and year)? + * + * @param laterDate - The first date to check + * @param earlierDate - The second date to check + * @param options - An object with options + * + * @returns The dates are in the same week (and month and year) + * + * @example + * // Are 31 August 2014 and 4 September 2014 in the same week? + * const result = isSameWeek(new Date(2014, 7, 31), new Date(2014, 8, 4)) + * //=> true + * + * @example + * // If week starts with Monday, + * // are 31 August 2014 and 4 September 2014 in the same week? + * const result = isSameWeek(new Date(2014, 7, 31), new Date(2014, 8, 4), { + * weekStartsOn: 1 + * }) + * //=> false + * + * @example + * // Are 1 January 2014 and 1 January 2015 in the same week? + * const result = isSameWeek(new Date(2014, 0, 1), new Date(2015, 0, 1)) + * //=> false + */ +export function isSameWeek(laterDate, earlierDate, options) { + const [laterDate_, earlierDate_] = normalizeDates( + options?.in, + laterDate, + earlierDate, + ); + return ( + +startOfWeek(laterDate_, options) === +startOfWeek(earlierDate_, options) + ); +} + +// Fallback for modularized imports: +export default isSameWeek; diff --git a/node_modules/date-fns/isSameYear.cjs b/node_modules/date-fns/isSameYear.cjs new file mode 100644 index 0000000000000000000000000000000000000000..eb1e49b6367157d5a6e5d3c34e60e186306742ff --- /dev/null +++ b/node_modules/date-fns/isSameYear.cjs @@ -0,0 +1,35 @@ +"use strict"; +exports.isSameYear = isSameYear; +var _index = require("./_lib/normalizeDates.cjs"); + +/** + * The {@link isSameYear} function options. + */ + +/** + * @name isSameYear + * @category Year Helpers + * @summary Are the given dates in the same year? + * + * @description + * Are the given dates in the same year? + * + * @param laterDate - The first date to check + * @param earlierDate - The second date to check + * @param options - An object with options + * + * @returns The dates are in the same year + * + * @example + * // Are 2 September 2014 and 25 September 2014 in the same year? + * const result = isSameYear(new Date(2014, 8, 2), new Date(2014, 8, 25)) + * //=> true + */ +function isSameYear(laterDate, earlierDate, options) { + const [laterDate_, earlierDate_] = (0, _index.normalizeDates)( + options?.in, + laterDate, + earlierDate, + ); + return laterDate_.getFullYear() === earlierDate_.getFullYear(); +} diff --git a/node_modules/date-fns/isSameYear.d.cts b/node_modules/date-fns/isSameYear.d.cts new file mode 100644 index 0000000000000000000000000000000000000000..abab6d5ac605466f993a40bd11a8e5a56d355225 --- /dev/null +++ b/node_modules/date-fns/isSameYear.d.cts @@ -0,0 +1,29 @@ +import type { ContextOptions, DateArg } from "./types.ts"; +/** + * The {@link isSameYear} function options. + */ +export interface IsSameYearOptions extends ContextOptions {} +/** + * @name isSameYear + * @category Year Helpers + * @summary Are the given dates in the same year? + * + * @description + * Are the given dates in the same year? + * + * @param laterDate - The first date to check + * @param earlierDate - The second date to check + * @param options - An object with options + * + * @returns The dates are in the same year + * + * @example + * // Are 2 September 2014 and 25 September 2014 in the same year? + * const result = isSameYear(new Date(2014, 8, 2), new Date(2014, 8, 25)) + * //=> true + */ +export declare function isSameYear( + laterDate: DateArg & {}, + earlierDate: DateArg & {}, + options?: IsSameYearOptions | undefined, +): boolean; diff --git a/node_modules/date-fns/isSameYear.d.ts b/node_modules/date-fns/isSameYear.d.ts new file mode 100644 index 0000000000000000000000000000000000000000..abab6d5ac605466f993a40bd11a8e5a56d355225 --- /dev/null +++ b/node_modules/date-fns/isSameYear.d.ts @@ -0,0 +1,29 @@ +import type { ContextOptions, DateArg } from "./types.ts"; +/** + * The {@link isSameYear} function options. + */ +export interface IsSameYearOptions extends ContextOptions {} +/** + * @name isSameYear + * @category Year Helpers + * @summary Are the given dates in the same year? + * + * @description + * Are the given dates in the same year? + * + * @param laterDate - The first date to check + * @param earlierDate - The second date to check + * @param options - An object with options + * + * @returns The dates are in the same year + * + * @example + * // Are 2 September 2014 and 25 September 2014 in the same year? + * const result = isSameYear(new Date(2014, 8, 2), new Date(2014, 8, 25)) + * //=> true + */ +export declare function isSameYear( + laterDate: DateArg & {}, + earlierDate: DateArg & {}, + options?: IsSameYearOptions | undefined, +): boolean; diff --git a/node_modules/date-fns/isSameYear.js b/node_modules/date-fns/isSameYear.js new file mode 100644 index 0000000000000000000000000000000000000000..54272873d14f189e6b82f7b28c6e0d50278d1139 --- /dev/null +++ b/node_modules/date-fns/isSameYear.js @@ -0,0 +1,36 @@ +import { normalizeDates } from "./_lib/normalizeDates.js"; + +/** + * The {@link isSameYear} function options. + */ + +/** + * @name isSameYear + * @category Year Helpers + * @summary Are the given dates in the same year? + * + * @description + * Are the given dates in the same year? + * + * @param laterDate - The first date to check + * @param earlierDate - The second date to check + * @param options - An object with options + * + * @returns The dates are in the same year + * + * @example + * // Are 2 September 2014 and 25 September 2014 in the same year? + * const result = isSameYear(new Date(2014, 8, 2), new Date(2014, 8, 25)) + * //=> true + */ +export function isSameYear(laterDate, earlierDate, options) { + const [laterDate_, earlierDate_] = normalizeDates( + options?.in, + laterDate, + earlierDate, + ); + return laterDate_.getFullYear() === earlierDate_.getFullYear(); +} + +// Fallback for modularized imports: +export default isSameYear; diff --git a/node_modules/date-fns/isSaturday.cjs b/node_modules/date-fns/isSaturday.cjs new file mode 100644 index 0000000000000000000000000000000000000000..3fe7301c4f5237e85af340ab19d3fb450cc10632 --- /dev/null +++ b/node_modules/date-fns/isSaturday.cjs @@ -0,0 +1,29 @@ +"use strict"; +exports.isSaturday = isSaturday; +var _index = require("./toDate.cjs"); + +/** + * The {@link isSaturday} function options. + */ + +/** + * @name isSaturday + * @category Weekday Helpers + * @summary Is the given date Saturday? + * + * @description + * Is the given date Saturday? + * + * @param date - The date to check + * @param options - An object with options + * + * @returns The date is Saturday + * + * @example + * // Is 27 September 2014 Saturday? + * const result = isSaturday(new Date(2014, 8, 27)) + * //=> true + */ +function isSaturday(date, options) { + return (0, _index.toDate)(date, options?.in).getDay() === 6; +} diff --git a/node_modules/date-fns/isSaturday.d.cts b/node_modules/date-fns/isSaturday.d.cts new file mode 100644 index 0000000000000000000000000000000000000000..92c23ca6e549d507cda78508a29738df293b8c45 --- /dev/null +++ b/node_modules/date-fns/isSaturday.d.cts @@ -0,0 +1,27 @@ +import type { ContextOptions, DateArg } from "./types.ts"; +/** + * The {@link isSaturday} function options. + */ +export interface IsSaturdayOptions extends ContextOptions {} +/** + * @name isSaturday + * @category Weekday Helpers + * @summary Is the given date Saturday? + * + * @description + * Is the given date Saturday? + * + * @param date - The date to check + * @param options - An object with options + * + * @returns The date is Saturday + * + * @example + * // Is 27 September 2014 Saturday? + * const result = isSaturday(new Date(2014, 8, 27)) + * //=> true + */ +export declare function isSaturday( + date: DateArg & {}, + options?: IsSaturdayOptions | undefined, +): boolean; diff --git a/node_modules/date-fns/isSaturday.d.ts b/node_modules/date-fns/isSaturday.d.ts new file mode 100644 index 0000000000000000000000000000000000000000..92c23ca6e549d507cda78508a29738df293b8c45 --- /dev/null +++ b/node_modules/date-fns/isSaturday.d.ts @@ -0,0 +1,27 @@ +import type { ContextOptions, DateArg } from "./types.ts"; +/** + * The {@link isSaturday} function options. + */ +export interface IsSaturdayOptions extends ContextOptions {} +/** + * @name isSaturday + * @category Weekday Helpers + * @summary Is the given date Saturday? + * + * @description + * Is the given date Saturday? + * + * @param date - The date to check + * @param options - An object with options + * + * @returns The date is Saturday + * + * @example + * // Is 27 September 2014 Saturday? + * const result = isSaturday(new Date(2014, 8, 27)) + * //=> true + */ +export declare function isSaturday( + date: DateArg & {}, + options?: IsSaturdayOptions | undefined, +): boolean; diff --git a/node_modules/date-fns/isSaturday.js b/node_modules/date-fns/isSaturday.js new file mode 100644 index 0000000000000000000000000000000000000000..d8080a8bbfcbd7837595d7ab82012aae569b58f0 --- /dev/null +++ b/node_modules/date-fns/isSaturday.js @@ -0,0 +1,30 @@ +import { toDate } from "./toDate.js"; + +/** + * The {@link isSaturday} function options. + */ + +/** + * @name isSaturday + * @category Weekday Helpers + * @summary Is the given date Saturday? + * + * @description + * Is the given date Saturday? + * + * @param date - The date to check + * @param options - An object with options + * + * @returns The date is Saturday + * + * @example + * // Is 27 September 2014 Saturday? + * const result = isSaturday(new Date(2014, 8, 27)) + * //=> true + */ +export function isSaturday(date, options) { + return toDate(date, options?.in).getDay() === 6; +} + +// Fallback for modularized imports: +export default isSaturday; diff --git a/node_modules/date-fns/isSunday.cjs b/node_modules/date-fns/isSunday.cjs new file mode 100644 index 0000000000000000000000000000000000000000..65c56346aeb694d0657fc431a968ad18446a4db3 --- /dev/null +++ b/node_modules/date-fns/isSunday.cjs @@ -0,0 +1,29 @@ +"use strict"; +exports.isSunday = isSunday; +var _index = require("./toDate.cjs"); + +/** + * The {@link isSunday} function options. + */ + +/** + * @name isSunday + * @category Weekday Helpers + * @summary Is the given date Sunday? + * + * @description + * Is the given date Sunday? + * + * @param date - The date to check + * @param options - The options object + * + * @returns The date is Sunday + * + * @example + * // Is 21 September 2014 Sunday? + * const result = isSunday(new Date(2014, 8, 21)) + * //=> true + */ +function isSunday(date, options) { + return (0, _index.toDate)(date, options?.in).getDay() === 0; +} diff --git a/node_modules/date-fns/isSunday.d.cts b/node_modules/date-fns/isSunday.d.cts new file mode 100644 index 0000000000000000000000000000000000000000..662ad016923a2518a65d437b2bae6ecc53a826df --- /dev/null +++ b/node_modules/date-fns/isSunday.d.cts @@ -0,0 +1,27 @@ +import type { ContextOptions, DateArg } from "./types.ts"; +/** + * The {@link isSunday} function options. + */ +export interface IsSundayOptions extends ContextOptions {} +/** + * @name isSunday + * @category Weekday Helpers + * @summary Is the given date Sunday? + * + * @description + * Is the given date Sunday? + * + * @param date - The date to check + * @param options - The options object + * + * @returns The date is Sunday + * + * @example + * // Is 21 September 2014 Sunday? + * const result = isSunday(new Date(2014, 8, 21)) + * //=> true + */ +export declare function isSunday( + date: DateArg & {}, + options?: IsSundayOptions | undefined, +): boolean; diff --git a/node_modules/date-fns/isSunday.d.ts b/node_modules/date-fns/isSunday.d.ts new file mode 100644 index 0000000000000000000000000000000000000000..662ad016923a2518a65d437b2bae6ecc53a826df --- /dev/null +++ b/node_modules/date-fns/isSunday.d.ts @@ -0,0 +1,27 @@ +import type { ContextOptions, DateArg } from "./types.ts"; +/** + * The {@link isSunday} function options. + */ +export interface IsSundayOptions extends ContextOptions {} +/** + * @name isSunday + * @category Weekday Helpers + * @summary Is the given date Sunday? + * + * @description + * Is the given date Sunday? + * + * @param date - The date to check + * @param options - The options object + * + * @returns The date is Sunday + * + * @example + * // Is 21 September 2014 Sunday? + * const result = isSunday(new Date(2014, 8, 21)) + * //=> true + */ +export declare function isSunday( + date: DateArg & {}, + options?: IsSundayOptions | undefined, +): boolean; diff --git a/node_modules/date-fns/isSunday.js b/node_modules/date-fns/isSunday.js new file mode 100644 index 0000000000000000000000000000000000000000..bbc919bb3b1f4bd89e8ea8a770919cb310b984ac --- /dev/null +++ b/node_modules/date-fns/isSunday.js @@ -0,0 +1,30 @@ +import { toDate } from "./toDate.js"; + +/** + * The {@link isSunday} function options. + */ + +/** + * @name isSunday + * @category Weekday Helpers + * @summary Is the given date Sunday? + * + * @description + * Is the given date Sunday? + * + * @param date - The date to check + * @param options - The options object + * + * @returns The date is Sunday + * + * @example + * // Is 21 September 2014 Sunday? + * const result = isSunday(new Date(2014, 8, 21)) + * //=> true + */ +export function isSunday(date, options) { + return toDate(date, options?.in).getDay() === 0; +} + +// Fallback for modularized imports: +export default isSunday; diff --git a/node_modules/date-fns/isThisHour.cjs b/node_modules/date-fns/isThisHour.cjs new file mode 100644 index 0000000000000000000000000000000000000000..d092211bb3d9b108078bdbc44aadc270abdbdfc0 --- /dev/null +++ b/node_modules/date-fns/isThisHour.cjs @@ -0,0 +1,36 @@ +"use strict"; +exports.isThisHour = isThisHour; +var _index = require("./constructNow.cjs"); +var _index2 = require("./isSameHour.cjs"); +var _index3 = require("./toDate.cjs"); + +/** + * The {@link isThisHour} function options. + */ + +/** + * @name isThisHour + * @category Hour Helpers + * @summary Is the given date in the same hour as the current date? + * @pure false + * + * @description + * Is the given date in the same hour as the current date? + * + * @param date - The date to check + * @param options - An object with options + * + * @returns The date is in this hour + * + * @example + * // If now is 25 September 2014 18:30:15.500, + * // is 25 September 2014 18:00:00 in this hour? + * const result = isThisHour(new Date(2014, 8, 25, 18)) + * //=> true + */ +function isThisHour(date, options) { + return (0, _index2.isSameHour)( + (0, _index3.toDate)(date, options?.in), + (0, _index.constructNow)(options?.in || date), + ); +} diff --git a/node_modules/date-fns/isThisHour.d.cts b/node_modules/date-fns/isThisHour.d.cts new file mode 100644 index 0000000000000000000000000000000000000000..ba500f0dc91d9c39b1381cc09a1bda0b4a50ef83 --- /dev/null +++ b/node_modules/date-fns/isThisHour.d.cts @@ -0,0 +1,29 @@ +import type { ContextOptions, DateArg } from "./types.ts"; +/** + * The {@link isThisHour} function options. + */ +export interface IsThisHourOptions extends ContextOptions {} +/** + * @name isThisHour + * @category Hour Helpers + * @summary Is the given date in the same hour as the current date? + * @pure false + * + * @description + * Is the given date in the same hour as the current date? + * + * @param date - The date to check + * @param options - An object with options + * + * @returns The date is in this hour + * + * @example + * // If now is 25 September 2014 18:30:15.500, + * // is 25 September 2014 18:00:00 in this hour? + * const result = isThisHour(new Date(2014, 8, 25, 18)) + * //=> true + */ +export declare function isThisHour( + date: DateArg & {}, + options?: IsThisHourOptions, +): boolean; diff --git a/node_modules/date-fns/isThisHour.d.ts b/node_modules/date-fns/isThisHour.d.ts new file mode 100644 index 0000000000000000000000000000000000000000..ba500f0dc91d9c39b1381cc09a1bda0b4a50ef83 --- /dev/null +++ b/node_modules/date-fns/isThisHour.d.ts @@ -0,0 +1,29 @@ +import type { ContextOptions, DateArg } from "./types.ts"; +/** + * The {@link isThisHour} function options. + */ +export interface IsThisHourOptions extends ContextOptions {} +/** + * @name isThisHour + * @category Hour Helpers + * @summary Is the given date in the same hour as the current date? + * @pure false + * + * @description + * Is the given date in the same hour as the current date? + * + * @param date - The date to check + * @param options - An object with options + * + * @returns The date is in this hour + * + * @example + * // If now is 25 September 2014 18:30:15.500, + * // is 25 September 2014 18:00:00 in this hour? + * const result = isThisHour(new Date(2014, 8, 25, 18)) + * //=> true + */ +export declare function isThisHour( + date: DateArg & {}, + options?: IsThisHourOptions, +): boolean; diff --git a/node_modules/date-fns/isThisHour.js b/node_modules/date-fns/isThisHour.js new file mode 100644 index 0000000000000000000000000000000000000000..53d07a13c6966c5c152793c005dbddf7652c1923 --- /dev/null +++ b/node_modules/date-fns/isThisHour.js @@ -0,0 +1,37 @@ +import { constructNow } from "./constructNow.js"; +import { isSameHour } from "./isSameHour.js"; +import { toDate } from "./toDate.js"; + +/** + * The {@link isThisHour} function options. + */ + +/** + * @name isThisHour + * @category Hour Helpers + * @summary Is the given date in the same hour as the current date? + * @pure false + * + * @description + * Is the given date in the same hour as the current date? + * + * @param date - The date to check + * @param options - An object with options + * + * @returns The date is in this hour + * + * @example + * // If now is 25 September 2014 18:30:15.500, + * // is 25 September 2014 18:00:00 in this hour? + * const result = isThisHour(new Date(2014, 8, 25, 18)) + * //=> true + */ +export function isThisHour(date, options) { + return isSameHour( + toDate(date, options?.in), + constructNow(options?.in || date), + ); +} + +// Fallback for modularized imports: +export default isThisHour; diff --git a/node_modules/date-fns/isThisISOWeek.cjs b/node_modules/date-fns/isThisISOWeek.cjs new file mode 100644 index 0000000000000000000000000000000000000000..73b8f55addb21f41460d465a50ec68536d5a461b --- /dev/null +++ b/node_modules/date-fns/isThisISOWeek.cjs @@ -0,0 +1,37 @@ +"use strict"; +exports.isThisISOWeek = isThisISOWeek; +var _index = require("./constructFrom.cjs"); +var _index2 = require("./constructNow.cjs"); +var _index3 = require("./isSameISOWeek.cjs"); + +/** + * The {@link isThisISOWeek} function options. + */ + +/** + * @name isThisISOWeek + * @category ISO Week Helpers + * @summary Is the given date in the same ISO week as the current date? + * @pure false + * + * @description + * Is the given date in the same ISO week as the current date? + * + * ISO week-numbering year: http://en.wikipedia.org/wiki/ISO_week_date + * + * @param date - The date to check + * @param options - An object with options + * + * @returns The date is in this ISO week + * + * @example + * // If today is 25 September 2014, is 22 September 2014 in this ISO week? + * const result = isThisISOWeek(new Date(2014, 8, 22)) + * //=> true + */ +function isThisISOWeek(date, options) { + return (0, _index3.isSameISOWeek)( + (0, _index.constructFrom)(options?.in || date, date), + (0, _index2.constructNow)(options?.in || date), + ); +} diff --git a/node_modules/date-fns/isThisISOWeek.d.cts b/node_modules/date-fns/isThisISOWeek.d.cts new file mode 100644 index 0000000000000000000000000000000000000000..51c31a82d47cad3a87b7e3f91c9356a6821a43e3 --- /dev/null +++ b/node_modules/date-fns/isThisISOWeek.d.cts @@ -0,0 +1,30 @@ +import type { ContextOptions, DateArg } from "./types.ts"; +/** + * The {@link isThisISOWeek} function options. + */ +export interface IsThisISOWeekOptions extends ContextOptions {} +/** + * @name isThisISOWeek + * @category ISO Week Helpers + * @summary Is the given date in the same ISO week as the current date? + * @pure false + * + * @description + * Is the given date in the same ISO week as the current date? + * + * ISO week-numbering year: http://en.wikipedia.org/wiki/ISO_week_date + * + * @param date - The date to check + * @param options - An object with options + * + * @returns The date is in this ISO week + * + * @example + * // If today is 25 September 2014, is 22 September 2014 in this ISO week? + * const result = isThisISOWeek(new Date(2014, 8, 22)) + * //=> true + */ +export declare function isThisISOWeek( + date: DateArg & {}, + options?: IsThisISOWeekOptions | undefined, +): boolean; diff --git a/node_modules/date-fns/isThisISOWeek.d.ts b/node_modules/date-fns/isThisISOWeek.d.ts new file mode 100644 index 0000000000000000000000000000000000000000..51c31a82d47cad3a87b7e3f91c9356a6821a43e3 --- /dev/null +++ b/node_modules/date-fns/isThisISOWeek.d.ts @@ -0,0 +1,30 @@ +import type { ContextOptions, DateArg } from "./types.ts"; +/** + * The {@link isThisISOWeek} function options. + */ +export interface IsThisISOWeekOptions extends ContextOptions {} +/** + * @name isThisISOWeek + * @category ISO Week Helpers + * @summary Is the given date in the same ISO week as the current date? + * @pure false + * + * @description + * Is the given date in the same ISO week as the current date? + * + * ISO week-numbering year: http://en.wikipedia.org/wiki/ISO_week_date + * + * @param date - The date to check + * @param options - An object with options + * + * @returns The date is in this ISO week + * + * @example + * // If today is 25 September 2014, is 22 September 2014 in this ISO week? + * const result = isThisISOWeek(new Date(2014, 8, 22)) + * //=> true + */ +export declare function isThisISOWeek( + date: DateArg & {}, + options?: IsThisISOWeekOptions | undefined, +): boolean; diff --git a/node_modules/date-fns/isThisISOWeek.js b/node_modules/date-fns/isThisISOWeek.js new file mode 100644 index 0000000000000000000000000000000000000000..aad1e699ac56f038f6b2b01a5d04b099bf83e2d3 --- /dev/null +++ b/node_modules/date-fns/isThisISOWeek.js @@ -0,0 +1,38 @@ +import { constructFrom } from "./constructFrom.js"; +import { constructNow } from "./constructNow.js"; +import { isSameISOWeek } from "./isSameISOWeek.js"; + +/** + * The {@link isThisISOWeek} function options. + */ + +/** + * @name isThisISOWeek + * @category ISO Week Helpers + * @summary Is the given date in the same ISO week as the current date? + * @pure false + * + * @description + * Is the given date in the same ISO week as the current date? + * + * ISO week-numbering year: http://en.wikipedia.org/wiki/ISO_week_date + * + * @param date - The date to check + * @param options - An object with options + * + * @returns The date is in this ISO week + * + * @example + * // If today is 25 September 2014, is 22 September 2014 in this ISO week? + * const result = isThisISOWeek(new Date(2014, 8, 22)) + * //=> true + */ +export function isThisISOWeek(date, options) { + return isSameISOWeek( + constructFrom(options?.in || date, date), + constructNow(options?.in || date), + ); +} + +// Fallback for modularized imports: +export default isThisISOWeek; diff --git a/node_modules/date-fns/isThisMinute.cjs b/node_modules/date-fns/isThisMinute.cjs new file mode 100644 index 0000000000000000000000000000000000000000..c3b8393dab44fdc263ca33499b869a1ddcda390a --- /dev/null +++ b/node_modules/date-fns/isThisMinute.cjs @@ -0,0 +1,28 @@ +"use strict"; +exports.isThisMinute = isThisMinute; +var _index = require("./constructNow.cjs"); +var _index2 = require("./isSameMinute.cjs"); + +/** + * @name isThisMinute + * @category Minute Helpers + * @summary Is the given date in the same minute as the current date? + * @pure false + * + * @description + * Is the given date in the same minute as the current date? + * + * @param date - The date to check + * + * @returns The date is in this minute + * + * @example + * // If now is 25 September 2014 18:30:15.500, + * // is 25 September 2014 18:30:00 in this minute? + * const result = isThisMinute(new Date(2014, 8, 25, 18, 30)) + * //=> true + */ + +function isThisMinute(date) { + return (0, _index2.isSameMinute)(date, (0, _index.constructNow)(date)); +} diff --git a/node_modules/date-fns/isThisMinute.d.cts b/node_modules/date-fns/isThisMinute.d.cts new file mode 100644 index 0000000000000000000000000000000000000000..e004959e5043efdf97fed781ae204421668a55eb --- /dev/null +++ b/node_modules/date-fns/isThisMinute.d.cts @@ -0,0 +1,21 @@ +import type { DateArg } from "./types.ts"; +/** + * @name isThisMinute + * @category Minute Helpers + * @summary Is the given date in the same minute as the current date? + * @pure false + * + * @description + * Is the given date in the same minute as the current date? + * + * @param date - The date to check + * + * @returns The date is in this minute + * + * @example + * // If now is 25 September 2014 18:30:15.500, + * // is 25 September 2014 18:30:00 in this minute? + * const result = isThisMinute(new Date(2014, 8, 25, 18, 30)) + * //=> true + */ +export declare function isThisMinute(date: DateArg & {}): boolean; diff --git a/node_modules/date-fns/isThisMinute.d.ts b/node_modules/date-fns/isThisMinute.d.ts new file mode 100644 index 0000000000000000000000000000000000000000..e004959e5043efdf97fed781ae204421668a55eb --- /dev/null +++ b/node_modules/date-fns/isThisMinute.d.ts @@ -0,0 +1,21 @@ +import type { DateArg } from "./types.ts"; +/** + * @name isThisMinute + * @category Minute Helpers + * @summary Is the given date in the same minute as the current date? + * @pure false + * + * @description + * Is the given date in the same minute as the current date? + * + * @param date - The date to check + * + * @returns The date is in this minute + * + * @example + * // If now is 25 September 2014 18:30:15.500, + * // is 25 September 2014 18:30:00 in this minute? + * const result = isThisMinute(new Date(2014, 8, 25, 18, 30)) + * //=> true + */ +export declare function isThisMinute(date: DateArg & {}): boolean; diff --git a/node_modules/date-fns/isThisMinute.js b/node_modules/date-fns/isThisMinute.js new file mode 100644 index 0000000000000000000000000000000000000000..6f4b7eecb643fbd76b1bb326b0db0836c19a9112 --- /dev/null +++ b/node_modules/date-fns/isThisMinute.js @@ -0,0 +1,29 @@ +import { constructNow } from "./constructNow.js"; +import { isSameMinute } from "./isSameMinute.js"; + +/** + * @name isThisMinute + * @category Minute Helpers + * @summary Is the given date in the same minute as the current date? + * @pure false + * + * @description + * Is the given date in the same minute as the current date? + * + * @param date - The date to check + * + * @returns The date is in this minute + * + * @example + * // If now is 25 September 2014 18:30:15.500, + * // is 25 September 2014 18:30:00 in this minute? + * const result = isThisMinute(new Date(2014, 8, 25, 18, 30)) + * //=> true + */ + +export function isThisMinute(date) { + return isSameMinute(date, constructNow(date)); +} + +// Fallback for modularized imports: +export default isThisMinute; diff --git a/node_modules/date-fns/isThisMonth.cjs b/node_modules/date-fns/isThisMonth.cjs new file mode 100644 index 0000000000000000000000000000000000000000..29147827e2a3adefc5612014c3fbadf6d45cc446 --- /dev/null +++ b/node_modules/date-fns/isThisMonth.cjs @@ -0,0 +1,35 @@ +"use strict"; +exports.isThisMonth = isThisMonth; +var _index = require("./constructFrom.cjs"); +var _index2 = require("./constructNow.cjs"); +var _index3 = require("./isSameMonth.cjs"); + +/** + * The {@link isThisMonth} function options. + */ + +/** + * @name isThisMonth + * @category Month Helpers + * @summary Is the given date in the same month as the current date? + * @pure false + * + * @description + * Is the given date in the same month as the current date? + * + * @param date - The date to check + * @param options - An object with options + * + * @returns The date is in this month + * + * @example + * // If today is 25 September 2014, is 15 September 2014 in this month? + * const result = isThisMonth(new Date(2014, 8, 15)) + * //=> true + */ +function isThisMonth(date, options) { + return (0, _index3.isSameMonth)( + (0, _index.constructFrom)(options?.in || date, date), + (0, _index2.constructNow)(options?.in || date), + ); +} diff --git a/node_modules/date-fns/isThisMonth.d.cts b/node_modules/date-fns/isThisMonth.d.cts new file mode 100644 index 0000000000000000000000000000000000000000..0d2d069a8480a0a637f7f1a1e86ee88ec56d4ad1 --- /dev/null +++ b/node_modules/date-fns/isThisMonth.d.cts @@ -0,0 +1,28 @@ +import type { ContextOptions, DateArg } from "./types.ts"; +/** + * The {@link isThisMonth} function options. + */ +export interface IsThisMonthOptions extends ContextOptions {} +/** + * @name isThisMonth + * @category Month Helpers + * @summary Is the given date in the same month as the current date? + * @pure false + * + * @description + * Is the given date in the same month as the current date? + * + * @param date - The date to check + * @param options - An object with options + * + * @returns The date is in this month + * + * @example + * // If today is 25 September 2014, is 15 September 2014 in this month? + * const result = isThisMonth(new Date(2014, 8, 15)) + * //=> true + */ +export declare function isThisMonth( + date: DateArg & {}, + options?: IsThisMonthOptions | undefined, +): boolean; diff --git a/node_modules/date-fns/isThisMonth.d.ts b/node_modules/date-fns/isThisMonth.d.ts new file mode 100644 index 0000000000000000000000000000000000000000..0d2d069a8480a0a637f7f1a1e86ee88ec56d4ad1 --- /dev/null +++ b/node_modules/date-fns/isThisMonth.d.ts @@ -0,0 +1,28 @@ +import type { ContextOptions, DateArg } from "./types.ts"; +/** + * The {@link isThisMonth} function options. + */ +export interface IsThisMonthOptions extends ContextOptions {} +/** + * @name isThisMonth + * @category Month Helpers + * @summary Is the given date in the same month as the current date? + * @pure false + * + * @description + * Is the given date in the same month as the current date? + * + * @param date - The date to check + * @param options - An object with options + * + * @returns The date is in this month + * + * @example + * // If today is 25 September 2014, is 15 September 2014 in this month? + * const result = isThisMonth(new Date(2014, 8, 15)) + * //=> true + */ +export declare function isThisMonth( + date: DateArg & {}, + options?: IsThisMonthOptions | undefined, +): boolean; diff --git a/node_modules/date-fns/isThisMonth.js b/node_modules/date-fns/isThisMonth.js new file mode 100644 index 0000000000000000000000000000000000000000..59f5af38847ce5c423747d5bc3103db677686083 --- /dev/null +++ b/node_modules/date-fns/isThisMonth.js @@ -0,0 +1,36 @@ +import { constructFrom } from "./constructFrom.js"; +import { constructNow } from "./constructNow.js"; +import { isSameMonth } from "./isSameMonth.js"; + +/** + * The {@link isThisMonth} function options. + */ + +/** + * @name isThisMonth + * @category Month Helpers + * @summary Is the given date in the same month as the current date? + * @pure false + * + * @description + * Is the given date in the same month as the current date? + * + * @param date - The date to check + * @param options - An object with options + * + * @returns The date is in this month + * + * @example + * // If today is 25 September 2014, is 15 September 2014 in this month? + * const result = isThisMonth(new Date(2014, 8, 15)) + * //=> true + */ +export function isThisMonth(date, options) { + return isSameMonth( + constructFrom(options?.in || date, date), + constructNow(options?.in || date), + ); +} + +// Fallback for modularized imports: +export default isThisMonth;