Spaces:
Configuration error
Configuration error
luigi12345
commited on
Commit
•
53a6fff
1
Parent(s):
f9d57df
15d2d3bf2319ac6f3045bdcb7e53200ff6da66be1a147599f69fef412483ca5c
Browse files- workersss/Autovideos-worker/shy-hill-f5c2/node_modules/date-fns/hoursToMinutes.js +26 -0
- workersss/Autovideos-worker/shy-hill-f5c2/node_modules/date-fns/hoursToMinutes.mjs +27 -0
- workersss/Autovideos-worker/shy-hill-f5c2/node_modules/date-fns/hoursToSeconds.d.mts +20 -0
- workersss/Autovideos-worker/shy-hill-f5c2/node_modules/date-fns/hoursToSeconds.d.ts +20 -0
- workersss/Autovideos-worker/shy-hill-f5c2/node_modules/date-fns/hoursToSeconds.js +26 -0
- workersss/Autovideos-worker/shy-hill-f5c2/node_modules/date-fns/hoursToSeconds.mjs +27 -0
- workersss/Autovideos-worker/shy-hill-f5c2/node_modules/date-fns/index.d.mts +246 -0
- workersss/Autovideos-worker/shy-hill-f5c2/node_modules/date-fns/index.d.ts +246 -0
- workersss/Autovideos-worker/shy-hill-f5c2/node_modules/date-fns/index.js +2697 -0
- workersss/Autovideos-worker/shy-hill-f5c2/node_modules/date-fns/index.mjs +246 -0
- workersss/Autovideos-worker/shy-hill-f5c2/node_modules/date-fns/interval.d.mts +33 -0
- workersss/Autovideos-worker/shy-hill-f5c2/node_modules/date-fns/interval.d.ts +33 -0
- workersss/Autovideos-worker/shy-hill-f5c2/node_modules/date-fns/interval.js +40 -0
- workersss/Autovideos-worker/shy-hill-f5c2/node_modules/date-fns/interval.mjs +41 -0
- workersss/Autovideos-worker/shy-hill-f5c2/node_modules/date-fns/intervalToDuration.d.mts +26 -0
- workersss/Autovideos-worker/shy-hill-f5c2/node_modules/date-fns/intervalToDuration.d.ts +26 -0
- workersss/Autovideos-worker/shy-hill-f5c2/node_modules/date-fns/intervalToDuration.js +77 -0
- workersss/Autovideos-worker/shy-hill-f5c2/node_modules/date-fns/intervalToDuration.mjs +70 -0
- workersss/Autovideos-worker/shy-hill-f5c2/node_modules/date-fns/intlFormat.d.mts +119 -0
- workersss/Autovideos-worker/shy-hill-f5c2/node_modules/date-fns/intlFormat.d.ts +119 -0
- workersss/Autovideos-worker/shy-hill-f5c2/node_modules/date-fns/intlFormat.js +125 -0
- workersss/Autovideos-worker/shy-hill-f5c2/node_modules/date-fns/intlFormat.mjs +126 -0
- workersss/Autovideos-worker/shy-hill-f5c2/node_modules/date-fns/intlFormatDistance.d.mts +133 -0
- workersss/Autovideos-worker/shy-hill-f5c2/node_modules/date-fns/intlFormatDistance.d.ts +133 -0
- workersss/Autovideos-worker/shy-hill-f5c2/node_modules/date-fns/intlFormatDistance.js +198 -0
- workersss/Autovideos-worker/shy-hill-f5c2/node_modules/date-fns/intlFormatDistance.mjs +206 -0
- workersss/Autovideos-worker/shy-hill-f5c2/node_modules/date-fns/isAfter.d.mts +24 -0
- workersss/Autovideos-worker/shy-hill-f5c2/node_modules/date-fns/isAfter.d.ts +24 -0
- workersss/Autovideos-worker/shy-hill-f5c2/node_modules/date-fns/isAfter.js +29 -0
- workersss/Autovideos-worker/shy-hill-f5c2/node_modules/date-fns/isAfter.mjs +30 -0
- workersss/Autovideos-worker/shy-hill-f5c2/node_modules/date-fns/isBefore.d.mts +24 -0
- workersss/Autovideos-worker/shy-hill-f5c2/node_modules/date-fns/isBefore.d.ts +24 -0
- workersss/Autovideos-worker/shy-hill-f5c2/node_modules/date-fns/isBefore.js +29 -0
- workersss/Autovideos-worker/shy-hill-f5c2/node_modules/date-fns/isBefore.mjs +30 -0
- workersss/Autovideos-worker/shy-hill-f5c2/node_modules/date-fns/isDate.d.mts +33 -0
- workersss/Autovideos-worker/shy-hill-f5c2/node_modules/date-fns/isDate.d.ts +33 -0
- workersss/Autovideos-worker/shy-hill-f5c2/node_modules/date-fns/isDate.js +40 -0
- workersss/Autovideos-worker/shy-hill-f5c2/node_modules/date-fns/isDate.mjs +42 -0
- workersss/Autovideos-worker/shy-hill-f5c2/node_modules/date-fns/isEqual.d.mts +27 -0
- workersss/Autovideos-worker/shy-hill-f5c2/node_modules/date-fns/isEqual.d.ts +27 -0
- workersss/Autovideos-worker/shy-hill-f5c2/node_modules/date-fns/isEqual.js +32 -0
- workersss/Autovideos-worker/shy-hill-f5c2/node_modules/date-fns/isEqual.mjs +33 -0
- workersss/Autovideos-worker/shy-hill-f5c2/node_modules/date-fns/isExists.d.mts +29 -0
- workersss/Autovideos-worker/shy-hill-f5c2/node_modules/date-fns/isExists.d.ts +29 -0
- workersss/Autovideos-worker/shy-hill-f5c2/node_modules/date-fns/isExists.js +33 -0
- workersss/Autovideos-worker/shy-hill-f5c2/node_modules/date-fns/isExists.mjs +35 -0
- workersss/Autovideos-worker/shy-hill-f5c2/node_modules/date-fns/isFirstDayOfMonth.d.mts +22 -0
- workersss/Autovideos-worker/shy-hill-f5c2/node_modules/date-fns/isFirstDayOfMonth.d.ts +22 -0
- workersss/Autovideos-worker/shy-hill-f5c2/node_modules/date-fns/isFirstDayOfMonth.js +26 -0
- workersss/Autovideos-worker/shy-hill-f5c2/node_modules/date-fns/isFirstDayOfMonth.mjs +27 -0
workersss/Autovideos-worker/shy-hill-f5c2/node_modules/date-fns/hoursToMinutes.js
ADDED
@@ -0,0 +1,26 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
"use strict";
|
2 |
+
exports.hoursToMinutes = hoursToMinutes;
|
3 |
+
var _index = require("./constants.js");
|
4 |
+
|
5 |
+
/**
|
6 |
+
* @name hoursToMinutes
|
7 |
+
* @category Conversion Helpers
|
8 |
+
* @summary Convert hours to minutes.
|
9 |
+
*
|
10 |
+
* @description
|
11 |
+
* Convert a number of hours to a full number of minutes.
|
12 |
+
*
|
13 |
+
* @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).
|
14 |
+
*
|
15 |
+
* @param hours - number of hours to be converted
|
16 |
+
*
|
17 |
+
* @returns The number of hours converted in minutes
|
18 |
+
*
|
19 |
+
* @example
|
20 |
+
* // Convert 2 hours to minutes:
|
21 |
+
* const result = hoursToMinutes(2)
|
22 |
+
* //=> 120
|
23 |
+
*/
|
24 |
+
function hoursToMinutes(hours) {
|
25 |
+
return Math.trunc(hours * _index.minutesInHour);
|
26 |
+
}
|
workersss/Autovideos-worker/shy-hill-f5c2/node_modules/date-fns/hoursToMinutes.mjs
ADDED
@@ -0,0 +1,27 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
import { minutesInHour } from "./constants.mjs";
|
2 |
+
|
3 |
+
/**
|
4 |
+
* @name hoursToMinutes
|
5 |
+
* @category Conversion Helpers
|
6 |
+
* @summary Convert hours to minutes.
|
7 |
+
*
|
8 |
+
* @description
|
9 |
+
* Convert a number of hours to a full number of minutes.
|
10 |
+
*
|
11 |
+
* @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).
|
12 |
+
*
|
13 |
+
* @param hours - number of hours to be converted
|
14 |
+
*
|
15 |
+
* @returns The number of hours converted in minutes
|
16 |
+
*
|
17 |
+
* @example
|
18 |
+
* // Convert 2 hours to minutes:
|
19 |
+
* const result = hoursToMinutes(2)
|
20 |
+
* //=> 120
|
21 |
+
*/
|
22 |
+
export function hoursToMinutes(hours) {
|
23 |
+
return Math.trunc(hours * minutesInHour);
|
24 |
+
}
|
25 |
+
|
26 |
+
// Fallback for modularized imports:
|
27 |
+
export default hoursToMinutes;
|
workersss/Autovideos-worker/shy-hill-f5c2/node_modules/date-fns/hoursToSeconds.d.mts
ADDED
@@ -0,0 +1,20 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
/**
|
2 |
+
* @name hoursToSeconds
|
3 |
+
* @category Conversion Helpers
|
4 |
+
* @summary Convert hours to seconds.
|
5 |
+
*
|
6 |
+
* @description
|
7 |
+
* Convert a number of hours to a full number of seconds.
|
8 |
+
*
|
9 |
+
* @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).
|
10 |
+
*
|
11 |
+
* @param hours - The number of hours to be converted
|
12 |
+
*
|
13 |
+
* @returns The number of hours converted in seconds
|
14 |
+
*
|
15 |
+
* @example
|
16 |
+
* // Convert 2 hours to seconds:
|
17 |
+
* const result = hoursToSeconds(2)
|
18 |
+
* //=> 7200
|
19 |
+
*/
|
20 |
+
export declare function hoursToSeconds(hours: number): number;
|
workersss/Autovideos-worker/shy-hill-f5c2/node_modules/date-fns/hoursToSeconds.d.ts
ADDED
@@ -0,0 +1,20 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
/**
|
2 |
+
* @name hoursToSeconds
|
3 |
+
* @category Conversion Helpers
|
4 |
+
* @summary Convert hours to seconds.
|
5 |
+
*
|
6 |
+
* @description
|
7 |
+
* Convert a number of hours to a full number of seconds.
|
8 |
+
*
|
9 |
+
* @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).
|
10 |
+
*
|
11 |
+
* @param hours - The number of hours to be converted
|
12 |
+
*
|
13 |
+
* @returns The number of hours converted in seconds
|
14 |
+
*
|
15 |
+
* @example
|
16 |
+
* // Convert 2 hours to seconds:
|
17 |
+
* const result = hoursToSeconds(2)
|
18 |
+
* //=> 7200
|
19 |
+
*/
|
20 |
+
export declare function hoursToSeconds(hours: number): number;
|
workersss/Autovideos-worker/shy-hill-f5c2/node_modules/date-fns/hoursToSeconds.js
ADDED
@@ -0,0 +1,26 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
"use strict";
|
2 |
+
exports.hoursToSeconds = hoursToSeconds;
|
3 |
+
var _index = require("./constants.js");
|
4 |
+
|
5 |
+
/**
|
6 |
+
* @name hoursToSeconds
|
7 |
+
* @category Conversion Helpers
|
8 |
+
* @summary Convert hours to seconds.
|
9 |
+
*
|
10 |
+
* @description
|
11 |
+
* Convert a number of hours to a full number of seconds.
|
12 |
+
*
|
13 |
+
* @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).
|
14 |
+
*
|
15 |
+
* @param hours - The number of hours to be converted
|
16 |
+
*
|
17 |
+
* @returns The number of hours converted in seconds
|
18 |
+
*
|
19 |
+
* @example
|
20 |
+
* // Convert 2 hours to seconds:
|
21 |
+
* const result = hoursToSeconds(2)
|
22 |
+
* //=> 7200
|
23 |
+
*/
|
24 |
+
function hoursToSeconds(hours) {
|
25 |
+
return Math.trunc(hours * _index.secondsInHour);
|
26 |
+
}
|
workersss/Autovideos-worker/shy-hill-f5c2/node_modules/date-fns/hoursToSeconds.mjs
ADDED
@@ -0,0 +1,27 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
import { secondsInHour } from "./constants.mjs";
|
2 |
+
|
3 |
+
/**
|
4 |
+
* @name hoursToSeconds
|
5 |
+
* @category Conversion Helpers
|
6 |
+
* @summary Convert hours to seconds.
|
7 |
+
*
|
8 |
+
* @description
|
9 |
+
* Convert a number of hours to a full number of seconds.
|
10 |
+
*
|
11 |
+
* @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).
|
12 |
+
*
|
13 |
+
* @param hours - The number of hours to be converted
|
14 |
+
*
|
15 |
+
* @returns The number of hours converted in seconds
|
16 |
+
*
|
17 |
+
* @example
|
18 |
+
* // Convert 2 hours to seconds:
|
19 |
+
* const result = hoursToSeconds(2)
|
20 |
+
* //=> 7200
|
21 |
+
*/
|
22 |
+
export function hoursToSeconds(hours) {
|
23 |
+
return Math.trunc(hours * secondsInHour);
|
24 |
+
}
|
25 |
+
|
26 |
+
// Fallback for modularized imports:
|
27 |
+
export default hoursToSeconds;
|
workersss/Autovideos-worker/shy-hill-f5c2/node_modules/date-fns/index.d.mts
ADDED
@@ -0,0 +1,246 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
export * from "./add.js";
|
2 |
+
export * from "./addBusinessDays.js";
|
3 |
+
export * from "./addDays.js";
|
4 |
+
export * from "./addHours.js";
|
5 |
+
export * from "./addISOWeekYears.js";
|
6 |
+
export * from "./addMilliseconds.js";
|
7 |
+
export * from "./addMinutes.js";
|
8 |
+
export * from "./addMonths.js";
|
9 |
+
export * from "./addQuarters.js";
|
10 |
+
export * from "./addSeconds.js";
|
11 |
+
export * from "./addWeeks.js";
|
12 |
+
export * from "./addYears.js";
|
13 |
+
export * from "./areIntervalsOverlapping.js";
|
14 |
+
export * from "./clamp.js";
|
15 |
+
export * from "./closestIndexTo.js";
|
16 |
+
export * from "./closestTo.js";
|
17 |
+
export * from "./compareAsc.js";
|
18 |
+
export * from "./compareDesc.js";
|
19 |
+
export * from "./constructFrom.js";
|
20 |
+
export * from "./constructNow.js";
|
21 |
+
export * from "./daysToWeeks.js";
|
22 |
+
export * from "./differenceInBusinessDays.js";
|
23 |
+
export * from "./differenceInCalendarDays.js";
|
24 |
+
export * from "./differenceInCalendarISOWeekYears.js";
|
25 |
+
export * from "./differenceInCalendarISOWeeks.js";
|
26 |
+
export * from "./differenceInCalendarMonths.js";
|
27 |
+
export * from "./differenceInCalendarQuarters.js";
|
28 |
+
export * from "./differenceInCalendarWeeks.js";
|
29 |
+
export * from "./differenceInCalendarYears.js";
|
30 |
+
export * from "./differenceInDays.js";
|
31 |
+
export * from "./differenceInHours.js";
|
32 |
+
export * from "./differenceInISOWeekYears.js";
|
33 |
+
export * from "./differenceInMilliseconds.js";
|
34 |
+
export * from "./differenceInMinutes.js";
|
35 |
+
export * from "./differenceInMonths.js";
|
36 |
+
export * from "./differenceInQuarters.js";
|
37 |
+
export * from "./differenceInSeconds.js";
|
38 |
+
export * from "./differenceInWeeks.js";
|
39 |
+
export * from "./differenceInYears.js";
|
40 |
+
export * from "./eachDayOfInterval.js";
|
41 |
+
export * from "./eachHourOfInterval.js";
|
42 |
+
export * from "./eachMinuteOfInterval.js";
|
43 |
+
export * from "./eachMonthOfInterval.js";
|
44 |
+
export * from "./eachQuarterOfInterval.js";
|
45 |
+
export * from "./eachWeekOfInterval.js";
|
46 |
+
export * from "./eachWeekendOfInterval.js";
|
47 |
+
export * from "./eachWeekendOfMonth.js";
|
48 |
+
export * from "./eachWeekendOfYear.js";
|
49 |
+
export * from "./eachYearOfInterval.js";
|
50 |
+
export * from "./endOfDay.js";
|
51 |
+
export * from "./endOfDecade.js";
|
52 |
+
export * from "./endOfHour.js";
|
53 |
+
export * from "./endOfISOWeek.js";
|
54 |
+
export * from "./endOfISOWeekYear.js";
|
55 |
+
export * from "./endOfMinute.js";
|
56 |
+
export * from "./endOfMonth.js";
|
57 |
+
export * from "./endOfQuarter.js";
|
58 |
+
export * from "./endOfSecond.js";
|
59 |
+
export * from "./endOfToday.js";
|
60 |
+
export * from "./endOfTomorrow.js";
|
61 |
+
export * from "./endOfWeek.js";
|
62 |
+
export * from "./endOfYear.js";
|
63 |
+
export * from "./endOfYesterday.js";
|
64 |
+
export * from "./format.js";
|
65 |
+
export * from "./formatDistance.js";
|
66 |
+
export * from "./formatDistanceStrict.js";
|
67 |
+
export * from "./formatDistanceToNow.js";
|
68 |
+
export * from "./formatDistanceToNowStrict.js";
|
69 |
+
export * from "./formatDuration.js";
|
70 |
+
export * from "./formatISO.js";
|
71 |
+
export * from "./formatISO9075.js";
|
72 |
+
export * from "./formatISODuration.js";
|
73 |
+
export * from "./formatRFC3339.js";
|
74 |
+
export * from "./formatRFC7231.js";
|
75 |
+
export * from "./formatRelative.js";
|
76 |
+
export * from "./fromUnixTime.js";
|
77 |
+
export * from "./getDate.js";
|
78 |
+
export * from "./getDay.js";
|
79 |
+
export * from "./getDayOfYear.js";
|
80 |
+
export * from "./getDaysInMonth.js";
|
81 |
+
export * from "./getDaysInYear.js";
|
82 |
+
export * from "./getDecade.js";
|
83 |
+
export * from "./getDefaultOptions.js";
|
84 |
+
export * from "./getHours.js";
|
85 |
+
export * from "./getISODay.js";
|
86 |
+
export * from "./getISOWeek.js";
|
87 |
+
export * from "./getISOWeekYear.js";
|
88 |
+
export * from "./getISOWeeksInYear.js";
|
89 |
+
export * from "./getMilliseconds.js";
|
90 |
+
export * from "./getMinutes.js";
|
91 |
+
export * from "./getMonth.js";
|
92 |
+
export * from "./getOverlappingDaysInIntervals.js";
|
93 |
+
export * from "./getQuarter.js";
|
94 |
+
export * from "./getSeconds.js";
|
95 |
+
export * from "./getTime.js";
|
96 |
+
export * from "./getUnixTime.js";
|
97 |
+
export * from "./getWeek.js";
|
98 |
+
export * from "./getWeekOfMonth.js";
|
99 |
+
export * from "./getWeekYear.js";
|
100 |
+
export * from "./getWeeksInMonth.js";
|
101 |
+
export * from "./getYear.js";
|
102 |
+
export * from "./hoursToMilliseconds.js";
|
103 |
+
export * from "./hoursToMinutes.js";
|
104 |
+
export * from "./hoursToSeconds.js";
|
105 |
+
export * from "./interval.js";
|
106 |
+
export * from "./intervalToDuration.js";
|
107 |
+
export * from "./intlFormat.js";
|
108 |
+
export * from "./intlFormatDistance.js";
|
109 |
+
export * from "./isAfter.js";
|
110 |
+
export * from "./isBefore.js";
|
111 |
+
export * from "./isDate.js";
|
112 |
+
export * from "./isEqual.js";
|
113 |
+
export * from "./isExists.js";
|
114 |
+
export * from "./isFirstDayOfMonth.js";
|
115 |
+
export * from "./isFriday.js";
|
116 |
+
export * from "./isFuture.js";
|
117 |
+
export * from "./isLastDayOfMonth.js";
|
118 |
+
export * from "./isLeapYear.js";
|
119 |
+
export * from "./isMatch.js";
|
120 |
+
export * from "./isMonday.js";
|
121 |
+
export * from "./isPast.js";
|
122 |
+
export * from "./isSameDay.js";
|
123 |
+
export * from "./isSameHour.js";
|
124 |
+
export * from "./isSameISOWeek.js";
|
125 |
+
export * from "./isSameISOWeekYear.js";
|
126 |
+
export * from "./isSameMinute.js";
|
127 |
+
export * from "./isSameMonth.js";
|
128 |
+
export * from "./isSameQuarter.js";
|
129 |
+
export * from "./isSameSecond.js";
|
130 |
+
export * from "./isSameWeek.js";
|
131 |
+
export * from "./isSameYear.js";
|
132 |
+
export * from "./isSaturday.js";
|
133 |
+
export * from "./isSunday.js";
|
134 |
+
export * from "./isThisHour.js";
|
135 |
+
export * from "./isThisISOWeek.js";
|
136 |
+
export * from "./isThisMinute.js";
|
137 |
+
export * from "./isThisMonth.js";
|
138 |
+
export * from "./isThisQuarter.js";
|
139 |
+
export * from "./isThisSecond.js";
|
140 |
+
export * from "./isThisWeek.js";
|
141 |
+
export * from "./isThisYear.js";
|
142 |
+
export * from "./isThursday.js";
|
143 |
+
export * from "./isToday.js";
|
144 |
+
export * from "./isTomorrow.js";
|
145 |
+
export * from "./isTuesday.js";
|
146 |
+
export * from "./isValid.js";
|
147 |
+
export * from "./isWednesday.js";
|
148 |
+
export * from "./isWeekend.js";
|
149 |
+
export * from "./isWithinInterval.js";
|
150 |
+
export * from "./isYesterday.js";
|
151 |
+
export * from "./lastDayOfDecade.js";
|
152 |
+
export * from "./lastDayOfISOWeek.js";
|
153 |
+
export * from "./lastDayOfISOWeekYear.js";
|
154 |
+
export * from "./lastDayOfMonth.js";
|
155 |
+
export * from "./lastDayOfQuarter.js";
|
156 |
+
export * from "./lastDayOfWeek.js";
|
157 |
+
export * from "./lastDayOfYear.js";
|
158 |
+
export * from "./lightFormat.js";
|
159 |
+
export * from "./max.js";
|
160 |
+
export * from "./milliseconds.js";
|
161 |
+
export * from "./millisecondsToHours.js";
|
162 |
+
export * from "./millisecondsToMinutes.js";
|
163 |
+
export * from "./millisecondsToSeconds.js";
|
164 |
+
export * from "./min.js";
|
165 |
+
export * from "./minutesToHours.js";
|
166 |
+
export * from "./minutesToMilliseconds.js";
|
167 |
+
export * from "./minutesToSeconds.js";
|
168 |
+
export * from "./monthsToQuarters.js";
|
169 |
+
export * from "./monthsToYears.js";
|
170 |
+
export * from "./nextDay.js";
|
171 |
+
export * from "./nextFriday.js";
|
172 |
+
export * from "./nextMonday.js";
|
173 |
+
export * from "./nextSaturday.js";
|
174 |
+
export * from "./nextSunday.js";
|
175 |
+
export * from "./nextThursday.js";
|
176 |
+
export * from "./nextTuesday.js";
|
177 |
+
export * from "./nextWednesday.js";
|
178 |
+
export * from "./parse.js";
|
179 |
+
export * from "./parseISO.js";
|
180 |
+
export * from "./parseJSON.js";
|
181 |
+
export * from "./previousDay.js";
|
182 |
+
export * from "./previousFriday.js";
|
183 |
+
export * from "./previousMonday.js";
|
184 |
+
export * from "./previousSaturday.js";
|
185 |
+
export * from "./previousSunday.js";
|
186 |
+
export * from "./previousThursday.js";
|
187 |
+
export * from "./previousTuesday.js";
|
188 |
+
export * from "./previousWednesday.js";
|
189 |
+
export * from "./quartersToMonths.js";
|
190 |
+
export * from "./quartersToYears.js";
|
191 |
+
export * from "./roundToNearestHours.js";
|
192 |
+
export * from "./roundToNearestMinutes.js";
|
193 |
+
export * from "./secondsToHours.js";
|
194 |
+
export * from "./secondsToMilliseconds.js";
|
195 |
+
export * from "./secondsToMinutes.js";
|
196 |
+
export * from "./set.js";
|
197 |
+
export * from "./setDate.js";
|
198 |
+
export * from "./setDay.js";
|
199 |
+
export * from "./setDayOfYear.js";
|
200 |
+
export * from "./setDefaultOptions.js";
|
201 |
+
export * from "./setHours.js";
|
202 |
+
export * from "./setISODay.js";
|
203 |
+
export * from "./setISOWeek.js";
|
204 |
+
export * from "./setISOWeekYear.js";
|
205 |
+
export * from "./setMilliseconds.js";
|
206 |
+
export * from "./setMinutes.js";
|
207 |
+
export * from "./setMonth.js";
|
208 |
+
export * from "./setQuarter.js";
|
209 |
+
export * from "./setSeconds.js";
|
210 |
+
export * from "./setWeek.js";
|
211 |
+
export * from "./setWeekYear.js";
|
212 |
+
export * from "./setYear.js";
|
213 |
+
export * from "./startOfDay.js";
|
214 |
+
export * from "./startOfDecade.js";
|
215 |
+
export * from "./startOfHour.js";
|
216 |
+
export * from "./startOfISOWeek.js";
|
217 |
+
export * from "./startOfISOWeekYear.js";
|
218 |
+
export * from "./startOfMinute.js";
|
219 |
+
export * from "./startOfMonth.js";
|
220 |
+
export * from "./startOfQuarter.js";
|
221 |
+
export * from "./startOfSecond.js";
|
222 |
+
export * from "./startOfToday.js";
|
223 |
+
export * from "./startOfTomorrow.js";
|
224 |
+
export * from "./startOfWeek.js";
|
225 |
+
export * from "./startOfWeekYear.js";
|
226 |
+
export * from "./startOfYear.js";
|
227 |
+
export * from "./startOfYesterday.js";
|
228 |
+
export * from "./sub.js";
|
229 |
+
export * from "./subBusinessDays.js";
|
230 |
+
export * from "./subDays.js";
|
231 |
+
export * from "./subHours.js";
|
232 |
+
export * from "./subISOWeekYears.js";
|
233 |
+
export * from "./subMilliseconds.js";
|
234 |
+
export * from "./subMinutes.js";
|
235 |
+
export * from "./subMonths.js";
|
236 |
+
export * from "./subQuarters.js";
|
237 |
+
export * from "./subSeconds.js";
|
238 |
+
export * from "./subWeeks.js";
|
239 |
+
export * from "./subYears.js";
|
240 |
+
export * from "./toDate.js";
|
241 |
+
export * from "./transpose.js";
|
242 |
+
export * from "./weeksToDays.js";
|
243 |
+
export * from "./yearsToDays.js";
|
244 |
+
export * from "./yearsToMonths.js";
|
245 |
+
export * from "./yearsToQuarters.js";
|
246 |
+
export type * from "./types.js";
|
workersss/Autovideos-worker/shy-hill-f5c2/node_modules/date-fns/index.d.ts
ADDED
@@ -0,0 +1,246 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
export * from "./add.js";
|
2 |
+
export * from "./addBusinessDays.js";
|
3 |
+
export * from "./addDays.js";
|
4 |
+
export * from "./addHours.js";
|
5 |
+
export * from "./addISOWeekYears.js";
|
6 |
+
export * from "./addMilliseconds.js";
|
7 |
+
export * from "./addMinutes.js";
|
8 |
+
export * from "./addMonths.js";
|
9 |
+
export * from "./addQuarters.js";
|
10 |
+
export * from "./addSeconds.js";
|
11 |
+
export * from "./addWeeks.js";
|
12 |
+
export * from "./addYears.js";
|
13 |
+
export * from "./areIntervalsOverlapping.js";
|
14 |
+
export * from "./clamp.js";
|
15 |
+
export * from "./closestIndexTo.js";
|
16 |
+
export * from "./closestTo.js";
|
17 |
+
export * from "./compareAsc.js";
|
18 |
+
export * from "./compareDesc.js";
|
19 |
+
export * from "./constructFrom.js";
|
20 |
+
export * from "./constructNow.js";
|
21 |
+
export * from "./daysToWeeks.js";
|
22 |
+
export * from "./differenceInBusinessDays.js";
|
23 |
+
export * from "./differenceInCalendarDays.js";
|
24 |
+
export * from "./differenceInCalendarISOWeekYears.js";
|
25 |
+
export * from "./differenceInCalendarISOWeeks.js";
|
26 |
+
export * from "./differenceInCalendarMonths.js";
|
27 |
+
export * from "./differenceInCalendarQuarters.js";
|
28 |
+
export * from "./differenceInCalendarWeeks.js";
|
29 |
+
export * from "./differenceInCalendarYears.js";
|
30 |
+
export * from "./differenceInDays.js";
|
31 |
+
export * from "./differenceInHours.js";
|
32 |
+
export * from "./differenceInISOWeekYears.js";
|
33 |
+
export * from "./differenceInMilliseconds.js";
|
34 |
+
export * from "./differenceInMinutes.js";
|
35 |
+
export * from "./differenceInMonths.js";
|
36 |
+
export * from "./differenceInQuarters.js";
|
37 |
+
export * from "./differenceInSeconds.js";
|
38 |
+
export * from "./differenceInWeeks.js";
|
39 |
+
export * from "./differenceInYears.js";
|
40 |
+
export * from "./eachDayOfInterval.js";
|
41 |
+
export * from "./eachHourOfInterval.js";
|
42 |
+
export * from "./eachMinuteOfInterval.js";
|
43 |
+
export * from "./eachMonthOfInterval.js";
|
44 |
+
export * from "./eachQuarterOfInterval.js";
|
45 |
+
export * from "./eachWeekOfInterval.js";
|
46 |
+
export * from "./eachWeekendOfInterval.js";
|
47 |
+
export * from "./eachWeekendOfMonth.js";
|
48 |
+
export * from "./eachWeekendOfYear.js";
|
49 |
+
export * from "./eachYearOfInterval.js";
|
50 |
+
export * from "./endOfDay.js";
|
51 |
+
export * from "./endOfDecade.js";
|
52 |
+
export * from "./endOfHour.js";
|
53 |
+
export * from "./endOfISOWeek.js";
|
54 |
+
export * from "./endOfISOWeekYear.js";
|
55 |
+
export * from "./endOfMinute.js";
|
56 |
+
export * from "./endOfMonth.js";
|
57 |
+
export * from "./endOfQuarter.js";
|
58 |
+
export * from "./endOfSecond.js";
|
59 |
+
export * from "./endOfToday.js";
|
60 |
+
export * from "./endOfTomorrow.js";
|
61 |
+
export * from "./endOfWeek.js";
|
62 |
+
export * from "./endOfYear.js";
|
63 |
+
export * from "./endOfYesterday.js";
|
64 |
+
export * from "./format.js";
|
65 |
+
export * from "./formatDistance.js";
|
66 |
+
export * from "./formatDistanceStrict.js";
|
67 |
+
export * from "./formatDistanceToNow.js";
|
68 |
+
export * from "./formatDistanceToNowStrict.js";
|
69 |
+
export * from "./formatDuration.js";
|
70 |
+
export * from "./formatISO.js";
|
71 |
+
export * from "./formatISO9075.js";
|
72 |
+
export * from "./formatISODuration.js";
|
73 |
+
export * from "./formatRFC3339.js";
|
74 |
+
export * from "./formatRFC7231.js";
|
75 |
+
export * from "./formatRelative.js";
|
76 |
+
export * from "./fromUnixTime.js";
|
77 |
+
export * from "./getDate.js";
|
78 |
+
export * from "./getDay.js";
|
79 |
+
export * from "./getDayOfYear.js";
|
80 |
+
export * from "./getDaysInMonth.js";
|
81 |
+
export * from "./getDaysInYear.js";
|
82 |
+
export * from "./getDecade.js";
|
83 |
+
export * from "./getDefaultOptions.js";
|
84 |
+
export * from "./getHours.js";
|
85 |
+
export * from "./getISODay.js";
|
86 |
+
export * from "./getISOWeek.js";
|
87 |
+
export * from "./getISOWeekYear.js";
|
88 |
+
export * from "./getISOWeeksInYear.js";
|
89 |
+
export * from "./getMilliseconds.js";
|
90 |
+
export * from "./getMinutes.js";
|
91 |
+
export * from "./getMonth.js";
|
92 |
+
export * from "./getOverlappingDaysInIntervals.js";
|
93 |
+
export * from "./getQuarter.js";
|
94 |
+
export * from "./getSeconds.js";
|
95 |
+
export * from "./getTime.js";
|
96 |
+
export * from "./getUnixTime.js";
|
97 |
+
export * from "./getWeek.js";
|
98 |
+
export * from "./getWeekOfMonth.js";
|
99 |
+
export * from "./getWeekYear.js";
|
100 |
+
export * from "./getWeeksInMonth.js";
|
101 |
+
export * from "./getYear.js";
|
102 |
+
export * from "./hoursToMilliseconds.js";
|
103 |
+
export * from "./hoursToMinutes.js";
|
104 |
+
export * from "./hoursToSeconds.js";
|
105 |
+
export * from "./interval.js";
|
106 |
+
export * from "./intervalToDuration.js";
|
107 |
+
export * from "./intlFormat.js";
|
108 |
+
export * from "./intlFormatDistance.js";
|
109 |
+
export * from "./isAfter.js";
|
110 |
+
export * from "./isBefore.js";
|
111 |
+
export * from "./isDate.js";
|
112 |
+
export * from "./isEqual.js";
|
113 |
+
export * from "./isExists.js";
|
114 |
+
export * from "./isFirstDayOfMonth.js";
|
115 |
+
export * from "./isFriday.js";
|
116 |
+
export * from "./isFuture.js";
|
117 |
+
export * from "./isLastDayOfMonth.js";
|
118 |
+
export * from "./isLeapYear.js";
|
119 |
+
export * from "./isMatch.js";
|
120 |
+
export * from "./isMonday.js";
|
121 |
+
export * from "./isPast.js";
|
122 |
+
export * from "./isSameDay.js";
|
123 |
+
export * from "./isSameHour.js";
|
124 |
+
export * from "./isSameISOWeek.js";
|
125 |
+
export * from "./isSameISOWeekYear.js";
|
126 |
+
export * from "./isSameMinute.js";
|
127 |
+
export * from "./isSameMonth.js";
|
128 |
+
export * from "./isSameQuarter.js";
|
129 |
+
export * from "./isSameSecond.js";
|
130 |
+
export * from "./isSameWeek.js";
|
131 |
+
export * from "./isSameYear.js";
|
132 |
+
export * from "./isSaturday.js";
|
133 |
+
export * from "./isSunday.js";
|
134 |
+
export * from "./isThisHour.js";
|
135 |
+
export * from "./isThisISOWeek.js";
|
136 |
+
export * from "./isThisMinute.js";
|
137 |
+
export * from "./isThisMonth.js";
|
138 |
+
export * from "./isThisQuarter.js";
|
139 |
+
export * from "./isThisSecond.js";
|
140 |
+
export * from "./isThisWeek.js";
|
141 |
+
export * from "./isThisYear.js";
|
142 |
+
export * from "./isThursday.js";
|
143 |
+
export * from "./isToday.js";
|
144 |
+
export * from "./isTomorrow.js";
|
145 |
+
export * from "./isTuesday.js";
|
146 |
+
export * from "./isValid.js";
|
147 |
+
export * from "./isWednesday.js";
|
148 |
+
export * from "./isWeekend.js";
|
149 |
+
export * from "./isWithinInterval.js";
|
150 |
+
export * from "./isYesterday.js";
|
151 |
+
export * from "./lastDayOfDecade.js";
|
152 |
+
export * from "./lastDayOfISOWeek.js";
|
153 |
+
export * from "./lastDayOfISOWeekYear.js";
|
154 |
+
export * from "./lastDayOfMonth.js";
|
155 |
+
export * from "./lastDayOfQuarter.js";
|
156 |
+
export * from "./lastDayOfWeek.js";
|
157 |
+
export * from "./lastDayOfYear.js";
|
158 |
+
export * from "./lightFormat.js";
|
159 |
+
export * from "./max.js";
|
160 |
+
export * from "./milliseconds.js";
|
161 |
+
export * from "./millisecondsToHours.js";
|
162 |
+
export * from "./millisecondsToMinutes.js";
|
163 |
+
export * from "./millisecondsToSeconds.js";
|
164 |
+
export * from "./min.js";
|
165 |
+
export * from "./minutesToHours.js";
|
166 |
+
export * from "./minutesToMilliseconds.js";
|
167 |
+
export * from "./minutesToSeconds.js";
|
168 |
+
export * from "./monthsToQuarters.js";
|
169 |
+
export * from "./monthsToYears.js";
|
170 |
+
export * from "./nextDay.js";
|
171 |
+
export * from "./nextFriday.js";
|
172 |
+
export * from "./nextMonday.js";
|
173 |
+
export * from "./nextSaturday.js";
|
174 |
+
export * from "./nextSunday.js";
|
175 |
+
export * from "./nextThursday.js";
|
176 |
+
export * from "./nextTuesday.js";
|
177 |
+
export * from "./nextWednesday.js";
|
178 |
+
export * from "./parse.js";
|
179 |
+
export * from "./parseISO.js";
|
180 |
+
export * from "./parseJSON.js";
|
181 |
+
export * from "./previousDay.js";
|
182 |
+
export * from "./previousFriday.js";
|
183 |
+
export * from "./previousMonday.js";
|
184 |
+
export * from "./previousSaturday.js";
|
185 |
+
export * from "./previousSunday.js";
|
186 |
+
export * from "./previousThursday.js";
|
187 |
+
export * from "./previousTuesday.js";
|
188 |
+
export * from "./previousWednesday.js";
|
189 |
+
export * from "./quartersToMonths.js";
|
190 |
+
export * from "./quartersToYears.js";
|
191 |
+
export * from "./roundToNearestHours.js";
|
192 |
+
export * from "./roundToNearestMinutes.js";
|
193 |
+
export * from "./secondsToHours.js";
|
194 |
+
export * from "./secondsToMilliseconds.js";
|
195 |
+
export * from "./secondsToMinutes.js";
|
196 |
+
export * from "./set.js";
|
197 |
+
export * from "./setDate.js";
|
198 |
+
export * from "./setDay.js";
|
199 |
+
export * from "./setDayOfYear.js";
|
200 |
+
export * from "./setDefaultOptions.js";
|
201 |
+
export * from "./setHours.js";
|
202 |
+
export * from "./setISODay.js";
|
203 |
+
export * from "./setISOWeek.js";
|
204 |
+
export * from "./setISOWeekYear.js";
|
205 |
+
export * from "./setMilliseconds.js";
|
206 |
+
export * from "./setMinutes.js";
|
207 |
+
export * from "./setMonth.js";
|
208 |
+
export * from "./setQuarter.js";
|
209 |
+
export * from "./setSeconds.js";
|
210 |
+
export * from "./setWeek.js";
|
211 |
+
export * from "./setWeekYear.js";
|
212 |
+
export * from "./setYear.js";
|
213 |
+
export * from "./startOfDay.js";
|
214 |
+
export * from "./startOfDecade.js";
|
215 |
+
export * from "./startOfHour.js";
|
216 |
+
export * from "./startOfISOWeek.js";
|
217 |
+
export * from "./startOfISOWeekYear.js";
|
218 |
+
export * from "./startOfMinute.js";
|
219 |
+
export * from "./startOfMonth.js";
|
220 |
+
export * from "./startOfQuarter.js";
|
221 |
+
export * from "./startOfSecond.js";
|
222 |
+
export * from "./startOfToday.js";
|
223 |
+
export * from "./startOfTomorrow.js";
|
224 |
+
export * from "./startOfWeek.js";
|
225 |
+
export * from "./startOfWeekYear.js";
|
226 |
+
export * from "./startOfYear.js";
|
227 |
+
export * from "./startOfYesterday.js";
|
228 |
+
export * from "./sub.js";
|
229 |
+
export * from "./subBusinessDays.js";
|
230 |
+
export * from "./subDays.js";
|
231 |
+
export * from "./subHours.js";
|
232 |
+
export * from "./subISOWeekYears.js";
|
233 |
+
export * from "./subMilliseconds.js";
|
234 |
+
export * from "./subMinutes.js";
|
235 |
+
export * from "./subMonths.js";
|
236 |
+
export * from "./subQuarters.js";
|
237 |
+
export * from "./subSeconds.js";
|
238 |
+
export * from "./subWeeks.js";
|
239 |
+
export * from "./subYears.js";
|
240 |
+
export * from "./toDate.js";
|
241 |
+
export * from "./transpose.js";
|
242 |
+
export * from "./weeksToDays.js";
|
243 |
+
export * from "./yearsToDays.js";
|
244 |
+
export * from "./yearsToMonths.js";
|
245 |
+
export * from "./yearsToQuarters.js";
|
246 |
+
export type * from "./types.js";
|
workersss/Autovideos-worker/shy-hill-f5c2/node_modules/date-fns/index.js
ADDED
@@ -0,0 +1,2697 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
"use strict";
|
2 |
+
|
3 |
+
var _index = require("./add.js");
|
4 |
+
Object.keys(_index).forEach(function (key) {
|
5 |
+
if (key === "default" || key === "__esModule") return;
|
6 |
+
if (key in exports && exports[key] === _index[key]) return;
|
7 |
+
Object.defineProperty(exports, key, {
|
8 |
+
enumerable: true,
|
9 |
+
get: function () {
|
10 |
+
return _index[key];
|
11 |
+
},
|
12 |
+
});
|
13 |
+
});
|
14 |
+
var _index2 = require("./addBusinessDays.js");
|
15 |
+
Object.keys(_index2).forEach(function (key) {
|
16 |
+
if (key === "default" || key === "__esModule") return;
|
17 |
+
if (key in exports && exports[key] === _index2[key]) return;
|
18 |
+
Object.defineProperty(exports, key, {
|
19 |
+
enumerable: true,
|
20 |
+
get: function () {
|
21 |
+
return _index2[key];
|
22 |
+
},
|
23 |
+
});
|
24 |
+
});
|
25 |
+
var _index3 = require("./addDays.js");
|
26 |
+
Object.keys(_index3).forEach(function (key) {
|
27 |
+
if (key === "default" || key === "__esModule") return;
|
28 |
+
if (key in exports && exports[key] === _index3[key]) return;
|
29 |
+
Object.defineProperty(exports, key, {
|
30 |
+
enumerable: true,
|
31 |
+
get: function () {
|
32 |
+
return _index3[key];
|
33 |
+
},
|
34 |
+
});
|
35 |
+
});
|
36 |
+
var _index4 = require("./addHours.js");
|
37 |
+
Object.keys(_index4).forEach(function (key) {
|
38 |
+
if (key === "default" || key === "__esModule") return;
|
39 |
+
if (key in exports && exports[key] === _index4[key]) return;
|
40 |
+
Object.defineProperty(exports, key, {
|
41 |
+
enumerable: true,
|
42 |
+
get: function () {
|
43 |
+
return _index4[key];
|
44 |
+
},
|
45 |
+
});
|
46 |
+
});
|
47 |
+
var _index5 = require("./addISOWeekYears.js");
|
48 |
+
Object.keys(_index5).forEach(function (key) {
|
49 |
+
if (key === "default" || key === "__esModule") return;
|
50 |
+
if (key in exports && exports[key] === _index5[key]) return;
|
51 |
+
Object.defineProperty(exports, key, {
|
52 |
+
enumerable: true,
|
53 |
+
get: function () {
|
54 |
+
return _index5[key];
|
55 |
+
},
|
56 |
+
});
|
57 |
+
});
|
58 |
+
var _index6 = require("./addMilliseconds.js");
|
59 |
+
Object.keys(_index6).forEach(function (key) {
|
60 |
+
if (key === "default" || key === "__esModule") return;
|
61 |
+
if (key in exports && exports[key] === _index6[key]) return;
|
62 |
+
Object.defineProperty(exports, key, {
|
63 |
+
enumerable: true,
|
64 |
+
get: function () {
|
65 |
+
return _index6[key];
|
66 |
+
},
|
67 |
+
});
|
68 |
+
});
|
69 |
+
var _index7 = require("./addMinutes.js");
|
70 |
+
Object.keys(_index7).forEach(function (key) {
|
71 |
+
if (key === "default" || key === "__esModule") return;
|
72 |
+
if (key in exports && exports[key] === _index7[key]) return;
|
73 |
+
Object.defineProperty(exports, key, {
|
74 |
+
enumerable: true,
|
75 |
+
get: function () {
|
76 |
+
return _index7[key];
|
77 |
+
},
|
78 |
+
});
|
79 |
+
});
|
80 |
+
var _index8 = require("./addMonths.js");
|
81 |
+
Object.keys(_index8).forEach(function (key) {
|
82 |
+
if (key === "default" || key === "__esModule") return;
|
83 |
+
if (key in exports && exports[key] === _index8[key]) return;
|
84 |
+
Object.defineProperty(exports, key, {
|
85 |
+
enumerable: true,
|
86 |
+
get: function () {
|
87 |
+
return _index8[key];
|
88 |
+
},
|
89 |
+
});
|
90 |
+
});
|
91 |
+
var _index9 = require("./addQuarters.js");
|
92 |
+
Object.keys(_index9).forEach(function (key) {
|
93 |
+
if (key === "default" || key === "__esModule") return;
|
94 |
+
if (key in exports && exports[key] === _index9[key]) return;
|
95 |
+
Object.defineProperty(exports, key, {
|
96 |
+
enumerable: true,
|
97 |
+
get: function () {
|
98 |
+
return _index9[key];
|
99 |
+
},
|
100 |
+
});
|
101 |
+
});
|
102 |
+
var _index10 = require("./addSeconds.js");
|
103 |
+
Object.keys(_index10).forEach(function (key) {
|
104 |
+
if (key === "default" || key === "__esModule") return;
|
105 |
+
if (key in exports && exports[key] === _index10[key]) return;
|
106 |
+
Object.defineProperty(exports, key, {
|
107 |
+
enumerable: true,
|
108 |
+
get: function () {
|
109 |
+
return _index10[key];
|
110 |
+
},
|
111 |
+
});
|
112 |
+
});
|
113 |
+
var _index11 = require("./addWeeks.js");
|
114 |
+
Object.keys(_index11).forEach(function (key) {
|
115 |
+
if (key === "default" || key === "__esModule") return;
|
116 |
+
if (key in exports && exports[key] === _index11[key]) return;
|
117 |
+
Object.defineProperty(exports, key, {
|
118 |
+
enumerable: true,
|
119 |
+
get: function () {
|
120 |
+
return _index11[key];
|
121 |
+
},
|
122 |
+
});
|
123 |
+
});
|
124 |
+
var _index12 = require("./addYears.js");
|
125 |
+
Object.keys(_index12).forEach(function (key) {
|
126 |
+
if (key === "default" || key === "__esModule") return;
|
127 |
+
if (key in exports && exports[key] === _index12[key]) return;
|
128 |
+
Object.defineProperty(exports, key, {
|
129 |
+
enumerable: true,
|
130 |
+
get: function () {
|
131 |
+
return _index12[key];
|
132 |
+
},
|
133 |
+
});
|
134 |
+
});
|
135 |
+
var _index13 = require("./areIntervalsOverlapping.js");
|
136 |
+
Object.keys(_index13).forEach(function (key) {
|
137 |
+
if (key === "default" || key === "__esModule") return;
|
138 |
+
if (key in exports && exports[key] === _index13[key]) return;
|
139 |
+
Object.defineProperty(exports, key, {
|
140 |
+
enumerable: true,
|
141 |
+
get: function () {
|
142 |
+
return _index13[key];
|
143 |
+
},
|
144 |
+
});
|
145 |
+
});
|
146 |
+
var _index14 = require("./clamp.js");
|
147 |
+
Object.keys(_index14).forEach(function (key) {
|
148 |
+
if (key === "default" || key === "__esModule") return;
|
149 |
+
if (key in exports && exports[key] === _index14[key]) return;
|
150 |
+
Object.defineProperty(exports, key, {
|
151 |
+
enumerable: true,
|
152 |
+
get: function () {
|
153 |
+
return _index14[key];
|
154 |
+
},
|
155 |
+
});
|
156 |
+
});
|
157 |
+
var _index15 = require("./closestIndexTo.js");
|
158 |
+
Object.keys(_index15).forEach(function (key) {
|
159 |
+
if (key === "default" || key === "__esModule") return;
|
160 |
+
if (key in exports && exports[key] === _index15[key]) return;
|
161 |
+
Object.defineProperty(exports, key, {
|
162 |
+
enumerable: true,
|
163 |
+
get: function () {
|
164 |
+
return _index15[key];
|
165 |
+
},
|
166 |
+
});
|
167 |
+
});
|
168 |
+
var _index16 = require("./closestTo.js");
|
169 |
+
Object.keys(_index16).forEach(function (key) {
|
170 |
+
if (key === "default" || key === "__esModule") return;
|
171 |
+
if (key in exports && exports[key] === _index16[key]) return;
|
172 |
+
Object.defineProperty(exports, key, {
|
173 |
+
enumerable: true,
|
174 |
+
get: function () {
|
175 |
+
return _index16[key];
|
176 |
+
},
|
177 |
+
});
|
178 |
+
});
|
179 |
+
var _index17 = require("./compareAsc.js");
|
180 |
+
Object.keys(_index17).forEach(function (key) {
|
181 |
+
if (key === "default" || key === "__esModule") return;
|
182 |
+
if (key in exports && exports[key] === _index17[key]) return;
|
183 |
+
Object.defineProperty(exports, key, {
|
184 |
+
enumerable: true,
|
185 |
+
get: function () {
|
186 |
+
return _index17[key];
|
187 |
+
},
|
188 |
+
});
|
189 |
+
});
|
190 |
+
var _index18 = require("./compareDesc.js");
|
191 |
+
Object.keys(_index18).forEach(function (key) {
|
192 |
+
if (key === "default" || key === "__esModule") return;
|
193 |
+
if (key in exports && exports[key] === _index18[key]) return;
|
194 |
+
Object.defineProperty(exports, key, {
|
195 |
+
enumerable: true,
|
196 |
+
get: function () {
|
197 |
+
return _index18[key];
|
198 |
+
},
|
199 |
+
});
|
200 |
+
});
|
201 |
+
var _index19 = require("./constructFrom.js");
|
202 |
+
Object.keys(_index19).forEach(function (key) {
|
203 |
+
if (key === "default" || key === "__esModule") return;
|
204 |
+
if (key in exports && exports[key] === _index19[key]) return;
|
205 |
+
Object.defineProperty(exports, key, {
|
206 |
+
enumerable: true,
|
207 |
+
get: function () {
|
208 |
+
return _index19[key];
|
209 |
+
},
|
210 |
+
});
|
211 |
+
});
|
212 |
+
var _index20 = require("./constructNow.js");
|
213 |
+
Object.keys(_index20).forEach(function (key) {
|
214 |
+
if (key === "default" || key === "__esModule") return;
|
215 |
+
if (key in exports && exports[key] === _index20[key]) return;
|
216 |
+
Object.defineProperty(exports, key, {
|
217 |
+
enumerable: true,
|
218 |
+
get: function () {
|
219 |
+
return _index20[key];
|
220 |
+
},
|
221 |
+
});
|
222 |
+
});
|
223 |
+
var _index21 = require("./daysToWeeks.js");
|
224 |
+
Object.keys(_index21).forEach(function (key) {
|
225 |
+
if (key === "default" || key === "__esModule") return;
|
226 |
+
if (key in exports && exports[key] === _index21[key]) return;
|
227 |
+
Object.defineProperty(exports, key, {
|
228 |
+
enumerable: true,
|
229 |
+
get: function () {
|
230 |
+
return _index21[key];
|
231 |
+
},
|
232 |
+
});
|
233 |
+
});
|
234 |
+
var _index22 = require("./differenceInBusinessDays.js");
|
235 |
+
Object.keys(_index22).forEach(function (key) {
|
236 |
+
if (key === "default" || key === "__esModule") return;
|
237 |
+
if (key in exports && exports[key] === _index22[key]) return;
|
238 |
+
Object.defineProperty(exports, key, {
|
239 |
+
enumerable: true,
|
240 |
+
get: function () {
|
241 |
+
return _index22[key];
|
242 |
+
},
|
243 |
+
});
|
244 |
+
});
|
245 |
+
var _index23 = require("./differenceInCalendarDays.js");
|
246 |
+
Object.keys(_index23).forEach(function (key) {
|
247 |
+
if (key === "default" || key === "__esModule") return;
|
248 |
+
if (key in exports && exports[key] === _index23[key]) return;
|
249 |
+
Object.defineProperty(exports, key, {
|
250 |
+
enumerable: true,
|
251 |
+
get: function () {
|
252 |
+
return _index23[key];
|
253 |
+
},
|
254 |
+
});
|
255 |
+
});
|
256 |
+
var _index24 = require("./differenceInCalendarISOWeekYears.js");
|
257 |
+
Object.keys(_index24).forEach(function (key) {
|
258 |
+
if (key === "default" || key === "__esModule") return;
|
259 |
+
if (key in exports && exports[key] === _index24[key]) return;
|
260 |
+
Object.defineProperty(exports, key, {
|
261 |
+
enumerable: true,
|
262 |
+
get: function () {
|
263 |
+
return _index24[key];
|
264 |
+
},
|
265 |
+
});
|
266 |
+
});
|
267 |
+
var _index25 = require("./differenceInCalendarISOWeeks.js");
|
268 |
+
Object.keys(_index25).forEach(function (key) {
|
269 |
+
if (key === "default" || key === "__esModule") return;
|
270 |
+
if (key in exports && exports[key] === _index25[key]) return;
|
271 |
+
Object.defineProperty(exports, key, {
|
272 |
+
enumerable: true,
|
273 |
+
get: function () {
|
274 |
+
return _index25[key];
|
275 |
+
},
|
276 |
+
});
|
277 |
+
});
|
278 |
+
var _index26 = require("./differenceInCalendarMonths.js");
|
279 |
+
Object.keys(_index26).forEach(function (key) {
|
280 |
+
if (key === "default" || key === "__esModule") return;
|
281 |
+
if (key in exports && exports[key] === _index26[key]) return;
|
282 |
+
Object.defineProperty(exports, key, {
|
283 |
+
enumerable: true,
|
284 |
+
get: function () {
|
285 |
+
return _index26[key];
|
286 |
+
},
|
287 |
+
});
|
288 |
+
});
|
289 |
+
var _index27 = require("./differenceInCalendarQuarters.js");
|
290 |
+
Object.keys(_index27).forEach(function (key) {
|
291 |
+
if (key === "default" || key === "__esModule") return;
|
292 |
+
if (key in exports && exports[key] === _index27[key]) return;
|
293 |
+
Object.defineProperty(exports, key, {
|
294 |
+
enumerable: true,
|
295 |
+
get: function () {
|
296 |
+
return _index27[key];
|
297 |
+
},
|
298 |
+
});
|
299 |
+
});
|
300 |
+
var _index28 = require("./differenceInCalendarWeeks.js");
|
301 |
+
Object.keys(_index28).forEach(function (key) {
|
302 |
+
if (key === "default" || key === "__esModule") return;
|
303 |
+
if (key in exports && exports[key] === _index28[key]) return;
|
304 |
+
Object.defineProperty(exports, key, {
|
305 |
+
enumerable: true,
|
306 |
+
get: function () {
|
307 |
+
return _index28[key];
|
308 |
+
},
|
309 |
+
});
|
310 |
+
});
|
311 |
+
var _index29 = require("./differenceInCalendarYears.js");
|
312 |
+
Object.keys(_index29).forEach(function (key) {
|
313 |
+
if (key === "default" || key === "__esModule") return;
|
314 |
+
if (key in exports && exports[key] === _index29[key]) return;
|
315 |
+
Object.defineProperty(exports, key, {
|
316 |
+
enumerable: true,
|
317 |
+
get: function () {
|
318 |
+
return _index29[key];
|
319 |
+
},
|
320 |
+
});
|
321 |
+
});
|
322 |
+
var _index30 = require("./differenceInDays.js");
|
323 |
+
Object.keys(_index30).forEach(function (key) {
|
324 |
+
if (key === "default" || key === "__esModule") return;
|
325 |
+
if (key in exports && exports[key] === _index30[key]) return;
|
326 |
+
Object.defineProperty(exports, key, {
|
327 |
+
enumerable: true,
|
328 |
+
get: function () {
|
329 |
+
return _index30[key];
|
330 |
+
},
|
331 |
+
});
|
332 |
+
});
|
333 |
+
var _index31 = require("./differenceInHours.js");
|
334 |
+
Object.keys(_index31).forEach(function (key) {
|
335 |
+
if (key === "default" || key === "__esModule") return;
|
336 |
+
if (key in exports && exports[key] === _index31[key]) return;
|
337 |
+
Object.defineProperty(exports, key, {
|
338 |
+
enumerable: true,
|
339 |
+
get: function () {
|
340 |
+
return _index31[key];
|
341 |
+
},
|
342 |
+
});
|
343 |
+
});
|
344 |
+
var _index32 = require("./differenceInISOWeekYears.js");
|
345 |
+
Object.keys(_index32).forEach(function (key) {
|
346 |
+
if (key === "default" || key === "__esModule") return;
|
347 |
+
if (key in exports && exports[key] === _index32[key]) return;
|
348 |
+
Object.defineProperty(exports, key, {
|
349 |
+
enumerable: true,
|
350 |
+
get: function () {
|
351 |
+
return _index32[key];
|
352 |
+
},
|
353 |
+
});
|
354 |
+
});
|
355 |
+
var _index33 = require("./differenceInMilliseconds.js");
|
356 |
+
Object.keys(_index33).forEach(function (key) {
|
357 |
+
if (key === "default" || key === "__esModule") return;
|
358 |
+
if (key in exports && exports[key] === _index33[key]) return;
|
359 |
+
Object.defineProperty(exports, key, {
|
360 |
+
enumerable: true,
|
361 |
+
get: function () {
|
362 |
+
return _index33[key];
|
363 |
+
},
|
364 |
+
});
|
365 |
+
});
|
366 |
+
var _index34 = require("./differenceInMinutes.js");
|
367 |
+
Object.keys(_index34).forEach(function (key) {
|
368 |
+
if (key === "default" || key === "__esModule") return;
|
369 |
+
if (key in exports && exports[key] === _index34[key]) return;
|
370 |
+
Object.defineProperty(exports, key, {
|
371 |
+
enumerable: true,
|
372 |
+
get: function () {
|
373 |
+
return _index34[key];
|
374 |
+
},
|
375 |
+
});
|
376 |
+
});
|
377 |
+
var _index35 = require("./differenceInMonths.js");
|
378 |
+
Object.keys(_index35).forEach(function (key) {
|
379 |
+
if (key === "default" || key === "__esModule") return;
|
380 |
+
if (key in exports && exports[key] === _index35[key]) return;
|
381 |
+
Object.defineProperty(exports, key, {
|
382 |
+
enumerable: true,
|
383 |
+
get: function () {
|
384 |
+
return _index35[key];
|
385 |
+
},
|
386 |
+
});
|
387 |
+
});
|
388 |
+
var _index36 = require("./differenceInQuarters.js");
|
389 |
+
Object.keys(_index36).forEach(function (key) {
|
390 |
+
if (key === "default" || key === "__esModule") return;
|
391 |
+
if (key in exports && exports[key] === _index36[key]) return;
|
392 |
+
Object.defineProperty(exports, key, {
|
393 |
+
enumerable: true,
|
394 |
+
get: function () {
|
395 |
+
return _index36[key];
|
396 |
+
},
|
397 |
+
});
|
398 |
+
});
|
399 |
+
var _index37 = require("./differenceInSeconds.js");
|
400 |
+
Object.keys(_index37).forEach(function (key) {
|
401 |
+
if (key === "default" || key === "__esModule") return;
|
402 |
+
if (key in exports && exports[key] === _index37[key]) return;
|
403 |
+
Object.defineProperty(exports, key, {
|
404 |
+
enumerable: true,
|
405 |
+
get: function () {
|
406 |
+
return _index37[key];
|
407 |
+
},
|
408 |
+
});
|
409 |
+
});
|
410 |
+
var _index38 = require("./differenceInWeeks.js");
|
411 |
+
Object.keys(_index38).forEach(function (key) {
|
412 |
+
if (key === "default" || key === "__esModule") return;
|
413 |
+
if (key in exports && exports[key] === _index38[key]) return;
|
414 |
+
Object.defineProperty(exports, key, {
|
415 |
+
enumerable: true,
|
416 |
+
get: function () {
|
417 |
+
return _index38[key];
|
418 |
+
},
|
419 |
+
});
|
420 |
+
});
|
421 |
+
var _index39 = require("./differenceInYears.js");
|
422 |
+
Object.keys(_index39).forEach(function (key) {
|
423 |
+
if (key === "default" || key === "__esModule") return;
|
424 |
+
if (key in exports && exports[key] === _index39[key]) return;
|
425 |
+
Object.defineProperty(exports, key, {
|
426 |
+
enumerable: true,
|
427 |
+
get: function () {
|
428 |
+
return _index39[key];
|
429 |
+
},
|
430 |
+
});
|
431 |
+
});
|
432 |
+
var _index40 = require("./eachDayOfInterval.js");
|
433 |
+
Object.keys(_index40).forEach(function (key) {
|
434 |
+
if (key === "default" || key === "__esModule") return;
|
435 |
+
if (key in exports && exports[key] === _index40[key]) return;
|
436 |
+
Object.defineProperty(exports, key, {
|
437 |
+
enumerable: true,
|
438 |
+
get: function () {
|
439 |
+
return _index40[key];
|
440 |
+
},
|
441 |
+
});
|
442 |
+
});
|
443 |
+
var _index41 = require("./eachHourOfInterval.js");
|
444 |
+
Object.keys(_index41).forEach(function (key) {
|
445 |
+
if (key === "default" || key === "__esModule") return;
|
446 |
+
if (key in exports && exports[key] === _index41[key]) return;
|
447 |
+
Object.defineProperty(exports, key, {
|
448 |
+
enumerable: true,
|
449 |
+
get: function () {
|
450 |
+
return _index41[key];
|
451 |
+
},
|
452 |
+
});
|
453 |
+
});
|
454 |
+
var _index42 = require("./eachMinuteOfInterval.js");
|
455 |
+
Object.keys(_index42).forEach(function (key) {
|
456 |
+
if (key === "default" || key === "__esModule") return;
|
457 |
+
if (key in exports && exports[key] === _index42[key]) return;
|
458 |
+
Object.defineProperty(exports, key, {
|
459 |
+
enumerable: true,
|
460 |
+
get: function () {
|
461 |
+
return _index42[key];
|
462 |
+
},
|
463 |
+
});
|
464 |
+
});
|
465 |
+
var _index43 = require("./eachMonthOfInterval.js");
|
466 |
+
Object.keys(_index43).forEach(function (key) {
|
467 |
+
if (key === "default" || key === "__esModule") return;
|
468 |
+
if (key in exports && exports[key] === _index43[key]) return;
|
469 |
+
Object.defineProperty(exports, key, {
|
470 |
+
enumerable: true,
|
471 |
+
get: function () {
|
472 |
+
return _index43[key];
|
473 |
+
},
|
474 |
+
});
|
475 |
+
});
|
476 |
+
var _index44 = require("./eachQuarterOfInterval.js");
|
477 |
+
Object.keys(_index44).forEach(function (key) {
|
478 |
+
if (key === "default" || key === "__esModule") return;
|
479 |
+
if (key in exports && exports[key] === _index44[key]) return;
|
480 |
+
Object.defineProperty(exports, key, {
|
481 |
+
enumerable: true,
|
482 |
+
get: function () {
|
483 |
+
return _index44[key];
|
484 |
+
},
|
485 |
+
});
|
486 |
+
});
|
487 |
+
var _index45 = require("./eachWeekOfInterval.js");
|
488 |
+
Object.keys(_index45).forEach(function (key) {
|
489 |
+
if (key === "default" || key === "__esModule") return;
|
490 |
+
if (key in exports && exports[key] === _index45[key]) return;
|
491 |
+
Object.defineProperty(exports, key, {
|
492 |
+
enumerable: true,
|
493 |
+
get: function () {
|
494 |
+
return _index45[key];
|
495 |
+
},
|
496 |
+
});
|
497 |
+
});
|
498 |
+
var _index46 = require("./eachWeekendOfInterval.js");
|
499 |
+
Object.keys(_index46).forEach(function (key) {
|
500 |
+
if (key === "default" || key === "__esModule") return;
|
501 |
+
if (key in exports && exports[key] === _index46[key]) return;
|
502 |
+
Object.defineProperty(exports, key, {
|
503 |
+
enumerable: true,
|
504 |
+
get: function () {
|
505 |
+
return _index46[key];
|
506 |
+
},
|
507 |
+
});
|
508 |
+
});
|
509 |
+
var _index47 = require("./eachWeekendOfMonth.js");
|
510 |
+
Object.keys(_index47).forEach(function (key) {
|
511 |
+
if (key === "default" || key === "__esModule") return;
|
512 |
+
if (key in exports && exports[key] === _index47[key]) return;
|
513 |
+
Object.defineProperty(exports, key, {
|
514 |
+
enumerable: true,
|
515 |
+
get: function () {
|
516 |
+
return _index47[key];
|
517 |
+
},
|
518 |
+
});
|
519 |
+
});
|
520 |
+
var _index48 = require("./eachWeekendOfYear.js");
|
521 |
+
Object.keys(_index48).forEach(function (key) {
|
522 |
+
if (key === "default" || key === "__esModule") return;
|
523 |
+
if (key in exports && exports[key] === _index48[key]) return;
|
524 |
+
Object.defineProperty(exports, key, {
|
525 |
+
enumerable: true,
|
526 |
+
get: function () {
|
527 |
+
return _index48[key];
|
528 |
+
},
|
529 |
+
});
|
530 |
+
});
|
531 |
+
var _index49 = require("./eachYearOfInterval.js");
|
532 |
+
Object.keys(_index49).forEach(function (key) {
|
533 |
+
if (key === "default" || key === "__esModule") return;
|
534 |
+
if (key in exports && exports[key] === _index49[key]) return;
|
535 |
+
Object.defineProperty(exports, key, {
|
536 |
+
enumerable: true,
|
537 |
+
get: function () {
|
538 |
+
return _index49[key];
|
539 |
+
},
|
540 |
+
});
|
541 |
+
});
|
542 |
+
var _index50 = require("./endOfDay.js");
|
543 |
+
Object.keys(_index50).forEach(function (key) {
|
544 |
+
if (key === "default" || key === "__esModule") return;
|
545 |
+
if (key in exports && exports[key] === _index50[key]) return;
|
546 |
+
Object.defineProperty(exports, key, {
|
547 |
+
enumerable: true,
|
548 |
+
get: function () {
|
549 |
+
return _index50[key];
|
550 |
+
},
|
551 |
+
});
|
552 |
+
});
|
553 |
+
var _index51 = require("./endOfDecade.js");
|
554 |
+
Object.keys(_index51).forEach(function (key) {
|
555 |
+
if (key === "default" || key === "__esModule") return;
|
556 |
+
if (key in exports && exports[key] === _index51[key]) return;
|
557 |
+
Object.defineProperty(exports, key, {
|
558 |
+
enumerable: true,
|
559 |
+
get: function () {
|
560 |
+
return _index51[key];
|
561 |
+
},
|
562 |
+
});
|
563 |
+
});
|
564 |
+
var _index52 = require("./endOfHour.js");
|
565 |
+
Object.keys(_index52).forEach(function (key) {
|
566 |
+
if (key === "default" || key === "__esModule") return;
|
567 |
+
if (key in exports && exports[key] === _index52[key]) return;
|
568 |
+
Object.defineProperty(exports, key, {
|
569 |
+
enumerable: true,
|
570 |
+
get: function () {
|
571 |
+
return _index52[key];
|
572 |
+
},
|
573 |
+
});
|
574 |
+
});
|
575 |
+
var _index53 = require("./endOfISOWeek.js");
|
576 |
+
Object.keys(_index53).forEach(function (key) {
|
577 |
+
if (key === "default" || key === "__esModule") return;
|
578 |
+
if (key in exports && exports[key] === _index53[key]) return;
|
579 |
+
Object.defineProperty(exports, key, {
|
580 |
+
enumerable: true,
|
581 |
+
get: function () {
|
582 |
+
return _index53[key];
|
583 |
+
},
|
584 |
+
});
|
585 |
+
});
|
586 |
+
var _index54 = require("./endOfISOWeekYear.js");
|
587 |
+
Object.keys(_index54).forEach(function (key) {
|
588 |
+
if (key === "default" || key === "__esModule") return;
|
589 |
+
if (key in exports && exports[key] === _index54[key]) return;
|
590 |
+
Object.defineProperty(exports, key, {
|
591 |
+
enumerable: true,
|
592 |
+
get: function () {
|
593 |
+
return _index54[key];
|
594 |
+
},
|
595 |
+
});
|
596 |
+
});
|
597 |
+
var _index55 = require("./endOfMinute.js");
|
598 |
+
Object.keys(_index55).forEach(function (key) {
|
599 |
+
if (key === "default" || key === "__esModule") return;
|
600 |
+
if (key in exports && exports[key] === _index55[key]) return;
|
601 |
+
Object.defineProperty(exports, key, {
|
602 |
+
enumerable: true,
|
603 |
+
get: function () {
|
604 |
+
return _index55[key];
|
605 |
+
},
|
606 |
+
});
|
607 |
+
});
|
608 |
+
var _index56 = require("./endOfMonth.js");
|
609 |
+
Object.keys(_index56).forEach(function (key) {
|
610 |
+
if (key === "default" || key === "__esModule") return;
|
611 |
+
if (key in exports && exports[key] === _index56[key]) return;
|
612 |
+
Object.defineProperty(exports, key, {
|
613 |
+
enumerable: true,
|
614 |
+
get: function () {
|
615 |
+
return _index56[key];
|
616 |
+
},
|
617 |
+
});
|
618 |
+
});
|
619 |
+
var _index57 = require("./endOfQuarter.js");
|
620 |
+
Object.keys(_index57).forEach(function (key) {
|
621 |
+
if (key === "default" || key === "__esModule") return;
|
622 |
+
if (key in exports && exports[key] === _index57[key]) return;
|
623 |
+
Object.defineProperty(exports, key, {
|
624 |
+
enumerable: true,
|
625 |
+
get: function () {
|
626 |
+
return _index57[key];
|
627 |
+
},
|
628 |
+
});
|
629 |
+
});
|
630 |
+
var _index58 = require("./endOfSecond.js");
|
631 |
+
Object.keys(_index58).forEach(function (key) {
|
632 |
+
if (key === "default" || key === "__esModule") return;
|
633 |
+
if (key in exports && exports[key] === _index58[key]) return;
|
634 |
+
Object.defineProperty(exports, key, {
|
635 |
+
enumerable: true,
|
636 |
+
get: function () {
|
637 |
+
return _index58[key];
|
638 |
+
},
|
639 |
+
});
|
640 |
+
});
|
641 |
+
var _index59 = require("./endOfToday.js");
|
642 |
+
Object.keys(_index59).forEach(function (key) {
|
643 |
+
if (key === "default" || key === "__esModule") return;
|
644 |
+
if (key in exports && exports[key] === _index59[key]) return;
|
645 |
+
Object.defineProperty(exports, key, {
|
646 |
+
enumerable: true,
|
647 |
+
get: function () {
|
648 |
+
return _index59[key];
|
649 |
+
},
|
650 |
+
});
|
651 |
+
});
|
652 |
+
var _index60 = require("./endOfTomorrow.js");
|
653 |
+
Object.keys(_index60).forEach(function (key) {
|
654 |
+
if (key === "default" || key === "__esModule") return;
|
655 |
+
if (key in exports && exports[key] === _index60[key]) return;
|
656 |
+
Object.defineProperty(exports, key, {
|
657 |
+
enumerable: true,
|
658 |
+
get: function () {
|
659 |
+
return _index60[key];
|
660 |
+
},
|
661 |
+
});
|
662 |
+
});
|
663 |
+
var _index61 = require("./endOfWeek.js");
|
664 |
+
Object.keys(_index61).forEach(function (key) {
|
665 |
+
if (key === "default" || key === "__esModule") return;
|
666 |
+
if (key in exports && exports[key] === _index61[key]) return;
|
667 |
+
Object.defineProperty(exports, key, {
|
668 |
+
enumerable: true,
|
669 |
+
get: function () {
|
670 |
+
return _index61[key];
|
671 |
+
},
|
672 |
+
});
|
673 |
+
});
|
674 |
+
var _index62 = require("./endOfYear.js");
|
675 |
+
Object.keys(_index62).forEach(function (key) {
|
676 |
+
if (key === "default" || key === "__esModule") return;
|
677 |
+
if (key in exports && exports[key] === _index62[key]) return;
|
678 |
+
Object.defineProperty(exports, key, {
|
679 |
+
enumerable: true,
|
680 |
+
get: function () {
|
681 |
+
return _index62[key];
|
682 |
+
},
|
683 |
+
});
|
684 |
+
});
|
685 |
+
var _index63 = require("./endOfYesterday.js");
|
686 |
+
Object.keys(_index63).forEach(function (key) {
|
687 |
+
if (key === "default" || key === "__esModule") return;
|
688 |
+
if (key in exports && exports[key] === _index63[key]) return;
|
689 |
+
Object.defineProperty(exports, key, {
|
690 |
+
enumerable: true,
|
691 |
+
get: function () {
|
692 |
+
return _index63[key];
|
693 |
+
},
|
694 |
+
});
|
695 |
+
});
|
696 |
+
var _index64 = require("./format.js");
|
697 |
+
Object.keys(_index64).forEach(function (key) {
|
698 |
+
if (key === "default" || key === "__esModule") return;
|
699 |
+
if (key in exports && exports[key] === _index64[key]) return;
|
700 |
+
Object.defineProperty(exports, key, {
|
701 |
+
enumerable: true,
|
702 |
+
get: function () {
|
703 |
+
return _index64[key];
|
704 |
+
},
|
705 |
+
});
|
706 |
+
});
|
707 |
+
var _index65 = require("./formatDistance.js");
|
708 |
+
Object.keys(_index65).forEach(function (key) {
|
709 |
+
if (key === "default" || key === "__esModule") return;
|
710 |
+
if (key in exports && exports[key] === _index65[key]) return;
|
711 |
+
Object.defineProperty(exports, key, {
|
712 |
+
enumerable: true,
|
713 |
+
get: function () {
|
714 |
+
return _index65[key];
|
715 |
+
},
|
716 |
+
});
|
717 |
+
});
|
718 |
+
var _index66 = require("./formatDistanceStrict.js");
|
719 |
+
Object.keys(_index66).forEach(function (key) {
|
720 |
+
if (key === "default" || key === "__esModule") return;
|
721 |
+
if (key in exports && exports[key] === _index66[key]) return;
|
722 |
+
Object.defineProperty(exports, key, {
|
723 |
+
enumerable: true,
|
724 |
+
get: function () {
|
725 |
+
return _index66[key];
|
726 |
+
},
|
727 |
+
});
|
728 |
+
});
|
729 |
+
var _index67 = require("./formatDistanceToNow.js");
|
730 |
+
Object.keys(_index67).forEach(function (key) {
|
731 |
+
if (key === "default" || key === "__esModule") return;
|
732 |
+
if (key in exports && exports[key] === _index67[key]) return;
|
733 |
+
Object.defineProperty(exports, key, {
|
734 |
+
enumerable: true,
|
735 |
+
get: function () {
|
736 |
+
return _index67[key];
|
737 |
+
},
|
738 |
+
});
|
739 |
+
});
|
740 |
+
var _index68 = require("./formatDistanceToNowStrict.js");
|
741 |
+
Object.keys(_index68).forEach(function (key) {
|
742 |
+
if (key === "default" || key === "__esModule") return;
|
743 |
+
if (key in exports && exports[key] === _index68[key]) return;
|
744 |
+
Object.defineProperty(exports, key, {
|
745 |
+
enumerable: true,
|
746 |
+
get: function () {
|
747 |
+
return _index68[key];
|
748 |
+
},
|
749 |
+
});
|
750 |
+
});
|
751 |
+
var _index69 = require("./formatDuration.js");
|
752 |
+
Object.keys(_index69).forEach(function (key) {
|
753 |
+
if (key === "default" || key === "__esModule") return;
|
754 |
+
if (key in exports && exports[key] === _index69[key]) return;
|
755 |
+
Object.defineProperty(exports, key, {
|
756 |
+
enumerable: true,
|
757 |
+
get: function () {
|
758 |
+
return _index69[key];
|
759 |
+
},
|
760 |
+
});
|
761 |
+
});
|
762 |
+
var _index70 = require("./formatISO.js");
|
763 |
+
Object.keys(_index70).forEach(function (key) {
|
764 |
+
if (key === "default" || key === "__esModule") return;
|
765 |
+
if (key in exports && exports[key] === _index70[key]) return;
|
766 |
+
Object.defineProperty(exports, key, {
|
767 |
+
enumerable: true,
|
768 |
+
get: function () {
|
769 |
+
return _index70[key];
|
770 |
+
},
|
771 |
+
});
|
772 |
+
});
|
773 |
+
var _index71 = require("./formatISO9075.js");
|
774 |
+
Object.keys(_index71).forEach(function (key) {
|
775 |
+
if (key === "default" || key === "__esModule") return;
|
776 |
+
if (key in exports && exports[key] === _index71[key]) return;
|
777 |
+
Object.defineProperty(exports, key, {
|
778 |
+
enumerable: true,
|
779 |
+
get: function () {
|
780 |
+
return _index71[key];
|
781 |
+
},
|
782 |
+
});
|
783 |
+
});
|
784 |
+
var _index72 = require("./formatISODuration.js");
|
785 |
+
Object.keys(_index72).forEach(function (key) {
|
786 |
+
if (key === "default" || key === "__esModule") return;
|
787 |
+
if (key in exports && exports[key] === _index72[key]) return;
|
788 |
+
Object.defineProperty(exports, key, {
|
789 |
+
enumerable: true,
|
790 |
+
get: function () {
|
791 |
+
return _index72[key];
|
792 |
+
},
|
793 |
+
});
|
794 |
+
});
|
795 |
+
var _index73 = require("./formatRFC3339.js");
|
796 |
+
Object.keys(_index73).forEach(function (key) {
|
797 |
+
if (key === "default" || key === "__esModule") return;
|
798 |
+
if (key in exports && exports[key] === _index73[key]) return;
|
799 |
+
Object.defineProperty(exports, key, {
|
800 |
+
enumerable: true,
|
801 |
+
get: function () {
|
802 |
+
return _index73[key];
|
803 |
+
},
|
804 |
+
});
|
805 |
+
});
|
806 |
+
var _index74 = require("./formatRFC7231.js");
|
807 |
+
Object.keys(_index74).forEach(function (key) {
|
808 |
+
if (key === "default" || key === "__esModule") return;
|
809 |
+
if (key in exports && exports[key] === _index74[key]) return;
|
810 |
+
Object.defineProperty(exports, key, {
|
811 |
+
enumerable: true,
|
812 |
+
get: function () {
|
813 |
+
return _index74[key];
|
814 |
+
},
|
815 |
+
});
|
816 |
+
});
|
817 |
+
var _index75 = require("./formatRelative.js");
|
818 |
+
Object.keys(_index75).forEach(function (key) {
|
819 |
+
if (key === "default" || key === "__esModule") return;
|
820 |
+
if (key in exports && exports[key] === _index75[key]) return;
|
821 |
+
Object.defineProperty(exports, key, {
|
822 |
+
enumerable: true,
|
823 |
+
get: function () {
|
824 |
+
return _index75[key];
|
825 |
+
},
|
826 |
+
});
|
827 |
+
});
|
828 |
+
var _index76 = require("./fromUnixTime.js");
|
829 |
+
Object.keys(_index76).forEach(function (key) {
|
830 |
+
if (key === "default" || key === "__esModule") return;
|
831 |
+
if (key in exports && exports[key] === _index76[key]) return;
|
832 |
+
Object.defineProperty(exports, key, {
|
833 |
+
enumerable: true,
|
834 |
+
get: function () {
|
835 |
+
return _index76[key];
|
836 |
+
},
|
837 |
+
});
|
838 |
+
});
|
839 |
+
var _index77 = require("./getDate.js");
|
840 |
+
Object.keys(_index77).forEach(function (key) {
|
841 |
+
if (key === "default" || key === "__esModule") return;
|
842 |
+
if (key in exports && exports[key] === _index77[key]) return;
|
843 |
+
Object.defineProperty(exports, key, {
|
844 |
+
enumerable: true,
|
845 |
+
get: function () {
|
846 |
+
return _index77[key];
|
847 |
+
},
|
848 |
+
});
|
849 |
+
});
|
850 |
+
var _index78 = require("./getDay.js");
|
851 |
+
Object.keys(_index78).forEach(function (key) {
|
852 |
+
if (key === "default" || key === "__esModule") return;
|
853 |
+
if (key in exports && exports[key] === _index78[key]) return;
|
854 |
+
Object.defineProperty(exports, key, {
|
855 |
+
enumerable: true,
|
856 |
+
get: function () {
|
857 |
+
return _index78[key];
|
858 |
+
},
|
859 |
+
});
|
860 |
+
});
|
861 |
+
var _index79 = require("./getDayOfYear.js");
|
862 |
+
Object.keys(_index79).forEach(function (key) {
|
863 |
+
if (key === "default" || key === "__esModule") return;
|
864 |
+
if (key in exports && exports[key] === _index79[key]) return;
|
865 |
+
Object.defineProperty(exports, key, {
|
866 |
+
enumerable: true,
|
867 |
+
get: function () {
|
868 |
+
return _index79[key];
|
869 |
+
},
|
870 |
+
});
|
871 |
+
});
|
872 |
+
var _index80 = require("./getDaysInMonth.js");
|
873 |
+
Object.keys(_index80).forEach(function (key) {
|
874 |
+
if (key === "default" || key === "__esModule") return;
|
875 |
+
if (key in exports && exports[key] === _index80[key]) return;
|
876 |
+
Object.defineProperty(exports, key, {
|
877 |
+
enumerable: true,
|
878 |
+
get: function () {
|
879 |
+
return _index80[key];
|
880 |
+
},
|
881 |
+
});
|
882 |
+
});
|
883 |
+
var _index81 = require("./getDaysInYear.js");
|
884 |
+
Object.keys(_index81).forEach(function (key) {
|
885 |
+
if (key === "default" || key === "__esModule") return;
|
886 |
+
if (key in exports && exports[key] === _index81[key]) return;
|
887 |
+
Object.defineProperty(exports, key, {
|
888 |
+
enumerable: true,
|
889 |
+
get: function () {
|
890 |
+
return _index81[key];
|
891 |
+
},
|
892 |
+
});
|
893 |
+
});
|
894 |
+
var _index82 = require("./getDecade.js");
|
895 |
+
Object.keys(_index82).forEach(function (key) {
|
896 |
+
if (key === "default" || key === "__esModule") return;
|
897 |
+
if (key in exports && exports[key] === _index82[key]) return;
|
898 |
+
Object.defineProperty(exports, key, {
|
899 |
+
enumerable: true,
|
900 |
+
get: function () {
|
901 |
+
return _index82[key];
|
902 |
+
},
|
903 |
+
});
|
904 |
+
});
|
905 |
+
var _index83 = require("./getDefaultOptions.js");
|
906 |
+
Object.keys(_index83).forEach(function (key) {
|
907 |
+
if (key === "default" || key === "__esModule") return;
|
908 |
+
if (key in exports && exports[key] === _index83[key]) return;
|
909 |
+
Object.defineProperty(exports, key, {
|
910 |
+
enumerable: true,
|
911 |
+
get: function () {
|
912 |
+
return _index83[key];
|
913 |
+
},
|
914 |
+
});
|
915 |
+
});
|
916 |
+
var _index84 = require("./getHours.js");
|
917 |
+
Object.keys(_index84).forEach(function (key) {
|
918 |
+
if (key === "default" || key === "__esModule") return;
|
919 |
+
if (key in exports && exports[key] === _index84[key]) return;
|
920 |
+
Object.defineProperty(exports, key, {
|
921 |
+
enumerable: true,
|
922 |
+
get: function () {
|
923 |
+
return _index84[key];
|
924 |
+
},
|
925 |
+
});
|
926 |
+
});
|
927 |
+
var _index85 = require("./getISODay.js");
|
928 |
+
Object.keys(_index85).forEach(function (key) {
|
929 |
+
if (key === "default" || key === "__esModule") return;
|
930 |
+
if (key in exports && exports[key] === _index85[key]) return;
|
931 |
+
Object.defineProperty(exports, key, {
|
932 |
+
enumerable: true,
|
933 |
+
get: function () {
|
934 |
+
return _index85[key];
|
935 |
+
},
|
936 |
+
});
|
937 |
+
});
|
938 |
+
var _index86 = require("./getISOWeek.js");
|
939 |
+
Object.keys(_index86).forEach(function (key) {
|
940 |
+
if (key === "default" || key === "__esModule") return;
|
941 |
+
if (key in exports && exports[key] === _index86[key]) return;
|
942 |
+
Object.defineProperty(exports, key, {
|
943 |
+
enumerable: true,
|
944 |
+
get: function () {
|
945 |
+
return _index86[key];
|
946 |
+
},
|
947 |
+
});
|
948 |
+
});
|
949 |
+
var _index87 = require("./getISOWeekYear.js");
|
950 |
+
Object.keys(_index87).forEach(function (key) {
|
951 |
+
if (key === "default" || key === "__esModule") return;
|
952 |
+
if (key in exports && exports[key] === _index87[key]) return;
|
953 |
+
Object.defineProperty(exports, key, {
|
954 |
+
enumerable: true,
|
955 |
+
get: function () {
|
956 |
+
return _index87[key];
|
957 |
+
},
|
958 |
+
});
|
959 |
+
});
|
960 |
+
var _index88 = require("./getISOWeeksInYear.js");
|
961 |
+
Object.keys(_index88).forEach(function (key) {
|
962 |
+
if (key === "default" || key === "__esModule") return;
|
963 |
+
if (key in exports && exports[key] === _index88[key]) return;
|
964 |
+
Object.defineProperty(exports, key, {
|
965 |
+
enumerable: true,
|
966 |
+
get: function () {
|
967 |
+
return _index88[key];
|
968 |
+
},
|
969 |
+
});
|
970 |
+
});
|
971 |
+
var _index89 = require("./getMilliseconds.js");
|
972 |
+
Object.keys(_index89).forEach(function (key) {
|
973 |
+
if (key === "default" || key === "__esModule") return;
|
974 |
+
if (key in exports && exports[key] === _index89[key]) return;
|
975 |
+
Object.defineProperty(exports, key, {
|
976 |
+
enumerable: true,
|
977 |
+
get: function () {
|
978 |
+
return _index89[key];
|
979 |
+
},
|
980 |
+
});
|
981 |
+
});
|
982 |
+
var _index90 = require("./getMinutes.js");
|
983 |
+
Object.keys(_index90).forEach(function (key) {
|
984 |
+
if (key === "default" || key === "__esModule") return;
|
985 |
+
if (key in exports && exports[key] === _index90[key]) return;
|
986 |
+
Object.defineProperty(exports, key, {
|
987 |
+
enumerable: true,
|
988 |
+
get: function () {
|
989 |
+
return _index90[key];
|
990 |
+
},
|
991 |
+
});
|
992 |
+
});
|
993 |
+
var _index91 = require("./getMonth.js");
|
994 |
+
Object.keys(_index91).forEach(function (key) {
|
995 |
+
if (key === "default" || key === "__esModule") return;
|
996 |
+
if (key in exports && exports[key] === _index91[key]) return;
|
997 |
+
Object.defineProperty(exports, key, {
|
998 |
+
enumerable: true,
|
999 |
+
get: function () {
|
1000 |
+
return _index91[key];
|
1001 |
+
},
|
1002 |
+
});
|
1003 |
+
});
|
1004 |
+
var _index92 = require("./getOverlappingDaysInIntervals.js");
|
1005 |
+
Object.keys(_index92).forEach(function (key) {
|
1006 |
+
if (key === "default" || key === "__esModule") return;
|
1007 |
+
if (key in exports && exports[key] === _index92[key]) return;
|
1008 |
+
Object.defineProperty(exports, key, {
|
1009 |
+
enumerable: true,
|
1010 |
+
get: function () {
|
1011 |
+
return _index92[key];
|
1012 |
+
},
|
1013 |
+
});
|
1014 |
+
});
|
1015 |
+
var _index93 = require("./getQuarter.js");
|
1016 |
+
Object.keys(_index93).forEach(function (key) {
|
1017 |
+
if (key === "default" || key === "__esModule") return;
|
1018 |
+
if (key in exports && exports[key] === _index93[key]) return;
|
1019 |
+
Object.defineProperty(exports, key, {
|
1020 |
+
enumerable: true,
|
1021 |
+
get: function () {
|
1022 |
+
return _index93[key];
|
1023 |
+
},
|
1024 |
+
});
|
1025 |
+
});
|
1026 |
+
var _index94 = require("./getSeconds.js");
|
1027 |
+
Object.keys(_index94).forEach(function (key) {
|
1028 |
+
if (key === "default" || key === "__esModule") return;
|
1029 |
+
if (key in exports && exports[key] === _index94[key]) return;
|
1030 |
+
Object.defineProperty(exports, key, {
|
1031 |
+
enumerable: true,
|
1032 |
+
get: function () {
|
1033 |
+
return _index94[key];
|
1034 |
+
},
|
1035 |
+
});
|
1036 |
+
});
|
1037 |
+
var _index95 = require("./getTime.js");
|
1038 |
+
Object.keys(_index95).forEach(function (key) {
|
1039 |
+
if (key === "default" || key === "__esModule") return;
|
1040 |
+
if (key in exports && exports[key] === _index95[key]) return;
|
1041 |
+
Object.defineProperty(exports, key, {
|
1042 |
+
enumerable: true,
|
1043 |
+
get: function () {
|
1044 |
+
return _index95[key];
|
1045 |
+
},
|
1046 |
+
});
|
1047 |
+
});
|
1048 |
+
var _index96 = require("./getUnixTime.js");
|
1049 |
+
Object.keys(_index96).forEach(function (key) {
|
1050 |
+
if (key === "default" || key === "__esModule") return;
|
1051 |
+
if (key in exports && exports[key] === _index96[key]) return;
|
1052 |
+
Object.defineProperty(exports, key, {
|
1053 |
+
enumerable: true,
|
1054 |
+
get: function () {
|
1055 |
+
return _index96[key];
|
1056 |
+
},
|
1057 |
+
});
|
1058 |
+
});
|
1059 |
+
var _index97 = require("./getWeek.js");
|
1060 |
+
Object.keys(_index97).forEach(function (key) {
|
1061 |
+
if (key === "default" || key === "__esModule") return;
|
1062 |
+
if (key in exports && exports[key] === _index97[key]) return;
|
1063 |
+
Object.defineProperty(exports, key, {
|
1064 |
+
enumerable: true,
|
1065 |
+
get: function () {
|
1066 |
+
return _index97[key];
|
1067 |
+
},
|
1068 |
+
});
|
1069 |
+
});
|
1070 |
+
var _index98 = require("./getWeekOfMonth.js");
|
1071 |
+
Object.keys(_index98).forEach(function (key) {
|
1072 |
+
if (key === "default" || key === "__esModule") return;
|
1073 |
+
if (key in exports && exports[key] === _index98[key]) return;
|
1074 |
+
Object.defineProperty(exports, key, {
|
1075 |
+
enumerable: true,
|
1076 |
+
get: function () {
|
1077 |
+
return _index98[key];
|
1078 |
+
},
|
1079 |
+
});
|
1080 |
+
});
|
1081 |
+
var _index99 = require("./getWeekYear.js");
|
1082 |
+
Object.keys(_index99).forEach(function (key) {
|
1083 |
+
if (key === "default" || key === "__esModule") return;
|
1084 |
+
if (key in exports && exports[key] === _index99[key]) return;
|
1085 |
+
Object.defineProperty(exports, key, {
|
1086 |
+
enumerable: true,
|
1087 |
+
get: function () {
|
1088 |
+
return _index99[key];
|
1089 |
+
},
|
1090 |
+
});
|
1091 |
+
});
|
1092 |
+
var _index100 = require("./getWeeksInMonth.js");
|
1093 |
+
Object.keys(_index100).forEach(function (key) {
|
1094 |
+
if (key === "default" || key === "__esModule") return;
|
1095 |
+
if (key in exports && exports[key] === _index100[key]) return;
|
1096 |
+
Object.defineProperty(exports, key, {
|
1097 |
+
enumerable: true,
|
1098 |
+
get: function () {
|
1099 |
+
return _index100[key];
|
1100 |
+
},
|
1101 |
+
});
|
1102 |
+
});
|
1103 |
+
var _index101 = require("./getYear.js");
|
1104 |
+
Object.keys(_index101).forEach(function (key) {
|
1105 |
+
if (key === "default" || key === "__esModule") return;
|
1106 |
+
if (key in exports && exports[key] === _index101[key]) return;
|
1107 |
+
Object.defineProperty(exports, key, {
|
1108 |
+
enumerable: true,
|
1109 |
+
get: function () {
|
1110 |
+
return _index101[key];
|
1111 |
+
},
|
1112 |
+
});
|
1113 |
+
});
|
1114 |
+
var _index102 = require("./hoursToMilliseconds.js");
|
1115 |
+
Object.keys(_index102).forEach(function (key) {
|
1116 |
+
if (key === "default" || key === "__esModule") return;
|
1117 |
+
if (key in exports && exports[key] === _index102[key]) return;
|
1118 |
+
Object.defineProperty(exports, key, {
|
1119 |
+
enumerable: true,
|
1120 |
+
get: function () {
|
1121 |
+
return _index102[key];
|
1122 |
+
},
|
1123 |
+
});
|
1124 |
+
});
|
1125 |
+
var _index103 = require("./hoursToMinutes.js");
|
1126 |
+
Object.keys(_index103).forEach(function (key) {
|
1127 |
+
if (key === "default" || key === "__esModule") return;
|
1128 |
+
if (key in exports && exports[key] === _index103[key]) return;
|
1129 |
+
Object.defineProperty(exports, key, {
|
1130 |
+
enumerable: true,
|
1131 |
+
get: function () {
|
1132 |
+
return _index103[key];
|
1133 |
+
},
|
1134 |
+
});
|
1135 |
+
});
|
1136 |
+
var _index104 = require("./hoursToSeconds.js");
|
1137 |
+
Object.keys(_index104).forEach(function (key) {
|
1138 |
+
if (key === "default" || key === "__esModule") return;
|
1139 |
+
if (key in exports && exports[key] === _index104[key]) return;
|
1140 |
+
Object.defineProperty(exports, key, {
|
1141 |
+
enumerable: true,
|
1142 |
+
get: function () {
|
1143 |
+
return _index104[key];
|
1144 |
+
},
|
1145 |
+
});
|
1146 |
+
});
|
1147 |
+
var _index105 = require("./interval.js");
|
1148 |
+
Object.keys(_index105).forEach(function (key) {
|
1149 |
+
if (key === "default" || key === "__esModule") return;
|
1150 |
+
if (key in exports && exports[key] === _index105[key]) return;
|
1151 |
+
Object.defineProperty(exports, key, {
|
1152 |
+
enumerable: true,
|
1153 |
+
get: function () {
|
1154 |
+
return _index105[key];
|
1155 |
+
},
|
1156 |
+
});
|
1157 |
+
});
|
1158 |
+
var _index106 = require("./intervalToDuration.js");
|
1159 |
+
Object.keys(_index106).forEach(function (key) {
|
1160 |
+
if (key === "default" || key === "__esModule") return;
|
1161 |
+
if (key in exports && exports[key] === _index106[key]) return;
|
1162 |
+
Object.defineProperty(exports, key, {
|
1163 |
+
enumerable: true,
|
1164 |
+
get: function () {
|
1165 |
+
return _index106[key];
|
1166 |
+
},
|
1167 |
+
});
|
1168 |
+
});
|
1169 |
+
var _index107 = require("./intlFormat.js");
|
1170 |
+
Object.keys(_index107).forEach(function (key) {
|
1171 |
+
if (key === "default" || key === "__esModule") return;
|
1172 |
+
if (key in exports && exports[key] === _index107[key]) return;
|
1173 |
+
Object.defineProperty(exports, key, {
|
1174 |
+
enumerable: true,
|
1175 |
+
get: function () {
|
1176 |
+
return _index107[key];
|
1177 |
+
},
|
1178 |
+
});
|
1179 |
+
});
|
1180 |
+
var _index108 = require("./intlFormatDistance.js");
|
1181 |
+
Object.keys(_index108).forEach(function (key) {
|
1182 |
+
if (key === "default" || key === "__esModule") return;
|
1183 |
+
if (key in exports && exports[key] === _index108[key]) return;
|
1184 |
+
Object.defineProperty(exports, key, {
|
1185 |
+
enumerable: true,
|
1186 |
+
get: function () {
|
1187 |
+
return _index108[key];
|
1188 |
+
},
|
1189 |
+
});
|
1190 |
+
});
|
1191 |
+
var _index109 = require("./isAfter.js");
|
1192 |
+
Object.keys(_index109).forEach(function (key) {
|
1193 |
+
if (key === "default" || key === "__esModule") return;
|
1194 |
+
if (key in exports && exports[key] === _index109[key]) return;
|
1195 |
+
Object.defineProperty(exports, key, {
|
1196 |
+
enumerable: true,
|
1197 |
+
get: function () {
|
1198 |
+
return _index109[key];
|
1199 |
+
},
|
1200 |
+
});
|
1201 |
+
});
|
1202 |
+
var _index110 = require("./isBefore.js");
|
1203 |
+
Object.keys(_index110).forEach(function (key) {
|
1204 |
+
if (key === "default" || key === "__esModule") return;
|
1205 |
+
if (key in exports && exports[key] === _index110[key]) return;
|
1206 |
+
Object.defineProperty(exports, key, {
|
1207 |
+
enumerable: true,
|
1208 |
+
get: function () {
|
1209 |
+
return _index110[key];
|
1210 |
+
},
|
1211 |
+
});
|
1212 |
+
});
|
1213 |
+
var _index111 = require("./isDate.js");
|
1214 |
+
Object.keys(_index111).forEach(function (key) {
|
1215 |
+
if (key === "default" || key === "__esModule") return;
|
1216 |
+
if (key in exports && exports[key] === _index111[key]) return;
|
1217 |
+
Object.defineProperty(exports, key, {
|
1218 |
+
enumerable: true,
|
1219 |
+
get: function () {
|
1220 |
+
return _index111[key];
|
1221 |
+
},
|
1222 |
+
});
|
1223 |
+
});
|
1224 |
+
var _index112 = require("./isEqual.js");
|
1225 |
+
Object.keys(_index112).forEach(function (key) {
|
1226 |
+
if (key === "default" || key === "__esModule") return;
|
1227 |
+
if (key in exports && exports[key] === _index112[key]) return;
|
1228 |
+
Object.defineProperty(exports, key, {
|
1229 |
+
enumerable: true,
|
1230 |
+
get: function () {
|
1231 |
+
return _index112[key];
|
1232 |
+
},
|
1233 |
+
});
|
1234 |
+
});
|
1235 |
+
var _index113 = require("./isExists.js");
|
1236 |
+
Object.keys(_index113).forEach(function (key) {
|
1237 |
+
if (key === "default" || key === "__esModule") return;
|
1238 |
+
if (key in exports && exports[key] === _index113[key]) return;
|
1239 |
+
Object.defineProperty(exports, key, {
|
1240 |
+
enumerable: true,
|
1241 |
+
get: function () {
|
1242 |
+
return _index113[key];
|
1243 |
+
},
|
1244 |
+
});
|
1245 |
+
});
|
1246 |
+
var _index114 = require("./isFirstDayOfMonth.js");
|
1247 |
+
Object.keys(_index114).forEach(function (key) {
|
1248 |
+
if (key === "default" || key === "__esModule") return;
|
1249 |
+
if (key in exports && exports[key] === _index114[key]) return;
|
1250 |
+
Object.defineProperty(exports, key, {
|
1251 |
+
enumerable: true,
|
1252 |
+
get: function () {
|
1253 |
+
return _index114[key];
|
1254 |
+
},
|
1255 |
+
});
|
1256 |
+
});
|
1257 |
+
var _index115 = require("./isFriday.js");
|
1258 |
+
Object.keys(_index115).forEach(function (key) {
|
1259 |
+
if (key === "default" || key === "__esModule") return;
|
1260 |
+
if (key in exports && exports[key] === _index115[key]) return;
|
1261 |
+
Object.defineProperty(exports, key, {
|
1262 |
+
enumerable: true,
|
1263 |
+
get: function () {
|
1264 |
+
return _index115[key];
|
1265 |
+
},
|
1266 |
+
});
|
1267 |
+
});
|
1268 |
+
var _index116 = require("./isFuture.js");
|
1269 |
+
Object.keys(_index116).forEach(function (key) {
|
1270 |
+
if (key === "default" || key === "__esModule") return;
|
1271 |
+
if (key in exports && exports[key] === _index116[key]) return;
|
1272 |
+
Object.defineProperty(exports, key, {
|
1273 |
+
enumerable: true,
|
1274 |
+
get: function () {
|
1275 |
+
return _index116[key];
|
1276 |
+
},
|
1277 |
+
});
|
1278 |
+
});
|
1279 |
+
var _index117 = require("./isLastDayOfMonth.js");
|
1280 |
+
Object.keys(_index117).forEach(function (key) {
|
1281 |
+
if (key === "default" || key === "__esModule") return;
|
1282 |
+
if (key in exports && exports[key] === _index117[key]) return;
|
1283 |
+
Object.defineProperty(exports, key, {
|
1284 |
+
enumerable: true,
|
1285 |
+
get: function () {
|
1286 |
+
return _index117[key];
|
1287 |
+
},
|
1288 |
+
});
|
1289 |
+
});
|
1290 |
+
var _index118 = require("./isLeapYear.js");
|
1291 |
+
Object.keys(_index118).forEach(function (key) {
|
1292 |
+
if (key === "default" || key === "__esModule") return;
|
1293 |
+
if (key in exports && exports[key] === _index118[key]) return;
|
1294 |
+
Object.defineProperty(exports, key, {
|
1295 |
+
enumerable: true,
|
1296 |
+
get: function () {
|
1297 |
+
return _index118[key];
|
1298 |
+
},
|
1299 |
+
});
|
1300 |
+
});
|
1301 |
+
var _index119 = require("./isMatch.js");
|
1302 |
+
Object.keys(_index119).forEach(function (key) {
|
1303 |
+
if (key === "default" || key === "__esModule") return;
|
1304 |
+
if (key in exports && exports[key] === _index119[key]) return;
|
1305 |
+
Object.defineProperty(exports, key, {
|
1306 |
+
enumerable: true,
|
1307 |
+
get: function () {
|
1308 |
+
return _index119[key];
|
1309 |
+
},
|
1310 |
+
});
|
1311 |
+
});
|
1312 |
+
var _index120 = require("./isMonday.js");
|
1313 |
+
Object.keys(_index120).forEach(function (key) {
|
1314 |
+
if (key === "default" || key === "__esModule") return;
|
1315 |
+
if (key in exports && exports[key] === _index120[key]) return;
|
1316 |
+
Object.defineProperty(exports, key, {
|
1317 |
+
enumerable: true,
|
1318 |
+
get: function () {
|
1319 |
+
return _index120[key];
|
1320 |
+
},
|
1321 |
+
});
|
1322 |
+
});
|
1323 |
+
var _index121 = require("./isPast.js");
|
1324 |
+
Object.keys(_index121).forEach(function (key) {
|
1325 |
+
if (key === "default" || key === "__esModule") return;
|
1326 |
+
if (key in exports && exports[key] === _index121[key]) return;
|
1327 |
+
Object.defineProperty(exports, key, {
|
1328 |
+
enumerable: true,
|
1329 |
+
get: function () {
|
1330 |
+
return _index121[key];
|
1331 |
+
},
|
1332 |
+
});
|
1333 |
+
});
|
1334 |
+
var _index122 = require("./isSameDay.js");
|
1335 |
+
Object.keys(_index122).forEach(function (key) {
|
1336 |
+
if (key === "default" || key === "__esModule") return;
|
1337 |
+
if (key in exports && exports[key] === _index122[key]) return;
|
1338 |
+
Object.defineProperty(exports, key, {
|
1339 |
+
enumerable: true,
|
1340 |
+
get: function () {
|
1341 |
+
return _index122[key];
|
1342 |
+
},
|
1343 |
+
});
|
1344 |
+
});
|
1345 |
+
var _index123 = require("./isSameHour.js");
|
1346 |
+
Object.keys(_index123).forEach(function (key) {
|
1347 |
+
if (key === "default" || key === "__esModule") return;
|
1348 |
+
if (key in exports && exports[key] === _index123[key]) return;
|
1349 |
+
Object.defineProperty(exports, key, {
|
1350 |
+
enumerable: true,
|
1351 |
+
get: function () {
|
1352 |
+
return _index123[key];
|
1353 |
+
},
|
1354 |
+
});
|
1355 |
+
});
|
1356 |
+
var _index124 = require("./isSameISOWeek.js");
|
1357 |
+
Object.keys(_index124).forEach(function (key) {
|
1358 |
+
if (key === "default" || key === "__esModule") return;
|
1359 |
+
if (key in exports && exports[key] === _index124[key]) return;
|
1360 |
+
Object.defineProperty(exports, key, {
|
1361 |
+
enumerable: true,
|
1362 |
+
get: function () {
|
1363 |
+
return _index124[key];
|
1364 |
+
},
|
1365 |
+
});
|
1366 |
+
});
|
1367 |
+
var _index125 = require("./isSameISOWeekYear.js");
|
1368 |
+
Object.keys(_index125).forEach(function (key) {
|
1369 |
+
if (key === "default" || key === "__esModule") return;
|
1370 |
+
if (key in exports && exports[key] === _index125[key]) return;
|
1371 |
+
Object.defineProperty(exports, key, {
|
1372 |
+
enumerable: true,
|
1373 |
+
get: function () {
|
1374 |
+
return _index125[key];
|
1375 |
+
},
|
1376 |
+
});
|
1377 |
+
});
|
1378 |
+
var _index126 = require("./isSameMinute.js");
|
1379 |
+
Object.keys(_index126).forEach(function (key) {
|
1380 |
+
if (key === "default" || key === "__esModule") return;
|
1381 |
+
if (key in exports && exports[key] === _index126[key]) return;
|
1382 |
+
Object.defineProperty(exports, key, {
|
1383 |
+
enumerable: true,
|
1384 |
+
get: function () {
|
1385 |
+
return _index126[key];
|
1386 |
+
},
|
1387 |
+
});
|
1388 |
+
});
|
1389 |
+
var _index127 = require("./isSameMonth.js");
|
1390 |
+
Object.keys(_index127).forEach(function (key) {
|
1391 |
+
if (key === "default" || key === "__esModule") return;
|
1392 |
+
if (key in exports && exports[key] === _index127[key]) return;
|
1393 |
+
Object.defineProperty(exports, key, {
|
1394 |
+
enumerable: true,
|
1395 |
+
get: function () {
|
1396 |
+
return _index127[key];
|
1397 |
+
},
|
1398 |
+
});
|
1399 |
+
});
|
1400 |
+
var _index128 = require("./isSameQuarter.js");
|
1401 |
+
Object.keys(_index128).forEach(function (key) {
|
1402 |
+
if (key === "default" || key === "__esModule") return;
|
1403 |
+
if (key in exports && exports[key] === _index128[key]) return;
|
1404 |
+
Object.defineProperty(exports, key, {
|
1405 |
+
enumerable: true,
|
1406 |
+
get: function () {
|
1407 |
+
return _index128[key];
|
1408 |
+
},
|
1409 |
+
});
|
1410 |
+
});
|
1411 |
+
var _index129 = require("./isSameSecond.js");
|
1412 |
+
Object.keys(_index129).forEach(function (key) {
|
1413 |
+
if (key === "default" || key === "__esModule") return;
|
1414 |
+
if (key in exports && exports[key] === _index129[key]) return;
|
1415 |
+
Object.defineProperty(exports, key, {
|
1416 |
+
enumerable: true,
|
1417 |
+
get: function () {
|
1418 |
+
return _index129[key];
|
1419 |
+
},
|
1420 |
+
});
|
1421 |
+
});
|
1422 |
+
var _index130 = require("./isSameWeek.js");
|
1423 |
+
Object.keys(_index130).forEach(function (key) {
|
1424 |
+
if (key === "default" || key === "__esModule") return;
|
1425 |
+
if (key in exports && exports[key] === _index130[key]) return;
|
1426 |
+
Object.defineProperty(exports, key, {
|
1427 |
+
enumerable: true,
|
1428 |
+
get: function () {
|
1429 |
+
return _index130[key];
|
1430 |
+
},
|
1431 |
+
});
|
1432 |
+
});
|
1433 |
+
var _index131 = require("./isSameYear.js");
|
1434 |
+
Object.keys(_index131).forEach(function (key) {
|
1435 |
+
if (key === "default" || key === "__esModule") return;
|
1436 |
+
if (key in exports && exports[key] === _index131[key]) return;
|
1437 |
+
Object.defineProperty(exports, key, {
|
1438 |
+
enumerable: true,
|
1439 |
+
get: function () {
|
1440 |
+
return _index131[key];
|
1441 |
+
},
|
1442 |
+
});
|
1443 |
+
});
|
1444 |
+
var _index132 = require("./isSaturday.js");
|
1445 |
+
Object.keys(_index132).forEach(function (key) {
|
1446 |
+
if (key === "default" || key === "__esModule") return;
|
1447 |
+
if (key in exports && exports[key] === _index132[key]) return;
|
1448 |
+
Object.defineProperty(exports, key, {
|
1449 |
+
enumerable: true,
|
1450 |
+
get: function () {
|
1451 |
+
return _index132[key];
|
1452 |
+
},
|
1453 |
+
});
|
1454 |
+
});
|
1455 |
+
var _index133 = require("./isSunday.js");
|
1456 |
+
Object.keys(_index133).forEach(function (key) {
|
1457 |
+
if (key === "default" || key === "__esModule") return;
|
1458 |
+
if (key in exports && exports[key] === _index133[key]) return;
|
1459 |
+
Object.defineProperty(exports, key, {
|
1460 |
+
enumerable: true,
|
1461 |
+
get: function () {
|
1462 |
+
return _index133[key];
|
1463 |
+
},
|
1464 |
+
});
|
1465 |
+
});
|
1466 |
+
var _index134 = require("./isThisHour.js");
|
1467 |
+
Object.keys(_index134).forEach(function (key) {
|
1468 |
+
if (key === "default" || key === "__esModule") return;
|
1469 |
+
if (key in exports && exports[key] === _index134[key]) return;
|
1470 |
+
Object.defineProperty(exports, key, {
|
1471 |
+
enumerable: true,
|
1472 |
+
get: function () {
|
1473 |
+
return _index134[key];
|
1474 |
+
},
|
1475 |
+
});
|
1476 |
+
});
|
1477 |
+
var _index135 = require("./isThisISOWeek.js");
|
1478 |
+
Object.keys(_index135).forEach(function (key) {
|
1479 |
+
if (key === "default" || key === "__esModule") return;
|
1480 |
+
if (key in exports && exports[key] === _index135[key]) return;
|
1481 |
+
Object.defineProperty(exports, key, {
|
1482 |
+
enumerable: true,
|
1483 |
+
get: function () {
|
1484 |
+
return _index135[key];
|
1485 |
+
},
|
1486 |
+
});
|
1487 |
+
});
|
1488 |
+
var _index136 = require("./isThisMinute.js");
|
1489 |
+
Object.keys(_index136).forEach(function (key) {
|
1490 |
+
if (key === "default" || key === "__esModule") return;
|
1491 |
+
if (key in exports && exports[key] === _index136[key]) return;
|
1492 |
+
Object.defineProperty(exports, key, {
|
1493 |
+
enumerable: true,
|
1494 |
+
get: function () {
|
1495 |
+
return _index136[key];
|
1496 |
+
},
|
1497 |
+
});
|
1498 |
+
});
|
1499 |
+
var _index137 = require("./isThisMonth.js");
|
1500 |
+
Object.keys(_index137).forEach(function (key) {
|
1501 |
+
if (key === "default" || key === "__esModule") return;
|
1502 |
+
if (key in exports && exports[key] === _index137[key]) return;
|
1503 |
+
Object.defineProperty(exports, key, {
|
1504 |
+
enumerable: true,
|
1505 |
+
get: function () {
|
1506 |
+
return _index137[key];
|
1507 |
+
},
|
1508 |
+
});
|
1509 |
+
});
|
1510 |
+
var _index138 = require("./isThisQuarter.js");
|
1511 |
+
Object.keys(_index138).forEach(function (key) {
|
1512 |
+
if (key === "default" || key === "__esModule") return;
|
1513 |
+
if (key in exports && exports[key] === _index138[key]) return;
|
1514 |
+
Object.defineProperty(exports, key, {
|
1515 |
+
enumerable: true,
|
1516 |
+
get: function () {
|
1517 |
+
return _index138[key];
|
1518 |
+
},
|
1519 |
+
});
|
1520 |
+
});
|
1521 |
+
var _index139 = require("./isThisSecond.js");
|
1522 |
+
Object.keys(_index139).forEach(function (key) {
|
1523 |
+
if (key === "default" || key === "__esModule") return;
|
1524 |
+
if (key in exports && exports[key] === _index139[key]) return;
|
1525 |
+
Object.defineProperty(exports, key, {
|
1526 |
+
enumerable: true,
|
1527 |
+
get: function () {
|
1528 |
+
return _index139[key];
|
1529 |
+
},
|
1530 |
+
});
|
1531 |
+
});
|
1532 |
+
var _index140 = require("./isThisWeek.js");
|
1533 |
+
Object.keys(_index140).forEach(function (key) {
|
1534 |
+
if (key === "default" || key === "__esModule") return;
|
1535 |
+
if (key in exports && exports[key] === _index140[key]) return;
|
1536 |
+
Object.defineProperty(exports, key, {
|
1537 |
+
enumerable: true,
|
1538 |
+
get: function () {
|
1539 |
+
return _index140[key];
|
1540 |
+
},
|
1541 |
+
});
|
1542 |
+
});
|
1543 |
+
var _index141 = require("./isThisYear.js");
|
1544 |
+
Object.keys(_index141).forEach(function (key) {
|
1545 |
+
if (key === "default" || key === "__esModule") return;
|
1546 |
+
if (key in exports && exports[key] === _index141[key]) return;
|
1547 |
+
Object.defineProperty(exports, key, {
|
1548 |
+
enumerable: true,
|
1549 |
+
get: function () {
|
1550 |
+
return _index141[key];
|
1551 |
+
},
|
1552 |
+
});
|
1553 |
+
});
|
1554 |
+
var _index142 = require("./isThursday.js");
|
1555 |
+
Object.keys(_index142).forEach(function (key) {
|
1556 |
+
if (key === "default" || key === "__esModule") return;
|
1557 |
+
if (key in exports && exports[key] === _index142[key]) return;
|
1558 |
+
Object.defineProperty(exports, key, {
|
1559 |
+
enumerable: true,
|
1560 |
+
get: function () {
|
1561 |
+
return _index142[key];
|
1562 |
+
},
|
1563 |
+
});
|
1564 |
+
});
|
1565 |
+
var _index143 = require("./isToday.js");
|
1566 |
+
Object.keys(_index143).forEach(function (key) {
|
1567 |
+
if (key === "default" || key === "__esModule") return;
|
1568 |
+
if (key in exports && exports[key] === _index143[key]) return;
|
1569 |
+
Object.defineProperty(exports, key, {
|
1570 |
+
enumerable: true,
|
1571 |
+
get: function () {
|
1572 |
+
return _index143[key];
|
1573 |
+
},
|
1574 |
+
});
|
1575 |
+
});
|
1576 |
+
var _index144 = require("./isTomorrow.js");
|
1577 |
+
Object.keys(_index144).forEach(function (key) {
|
1578 |
+
if (key === "default" || key === "__esModule") return;
|
1579 |
+
if (key in exports && exports[key] === _index144[key]) return;
|
1580 |
+
Object.defineProperty(exports, key, {
|
1581 |
+
enumerable: true,
|
1582 |
+
get: function () {
|
1583 |
+
return _index144[key];
|
1584 |
+
},
|
1585 |
+
});
|
1586 |
+
});
|
1587 |
+
var _index145 = require("./isTuesday.js");
|
1588 |
+
Object.keys(_index145).forEach(function (key) {
|
1589 |
+
if (key === "default" || key === "__esModule") return;
|
1590 |
+
if (key in exports && exports[key] === _index145[key]) return;
|
1591 |
+
Object.defineProperty(exports, key, {
|
1592 |
+
enumerable: true,
|
1593 |
+
get: function () {
|
1594 |
+
return _index145[key];
|
1595 |
+
},
|
1596 |
+
});
|
1597 |
+
});
|
1598 |
+
var _index146 = require("./isValid.js");
|
1599 |
+
Object.keys(_index146).forEach(function (key) {
|
1600 |
+
if (key === "default" || key === "__esModule") return;
|
1601 |
+
if (key in exports && exports[key] === _index146[key]) return;
|
1602 |
+
Object.defineProperty(exports, key, {
|
1603 |
+
enumerable: true,
|
1604 |
+
get: function () {
|
1605 |
+
return _index146[key];
|
1606 |
+
},
|
1607 |
+
});
|
1608 |
+
});
|
1609 |
+
var _index147 = require("./isWednesday.js");
|
1610 |
+
Object.keys(_index147).forEach(function (key) {
|
1611 |
+
if (key === "default" || key === "__esModule") return;
|
1612 |
+
if (key in exports && exports[key] === _index147[key]) return;
|
1613 |
+
Object.defineProperty(exports, key, {
|
1614 |
+
enumerable: true,
|
1615 |
+
get: function () {
|
1616 |
+
return _index147[key];
|
1617 |
+
},
|
1618 |
+
});
|
1619 |
+
});
|
1620 |
+
var _index148 = require("./isWeekend.js");
|
1621 |
+
Object.keys(_index148).forEach(function (key) {
|
1622 |
+
if (key === "default" || key === "__esModule") return;
|
1623 |
+
if (key in exports && exports[key] === _index148[key]) return;
|
1624 |
+
Object.defineProperty(exports, key, {
|
1625 |
+
enumerable: true,
|
1626 |
+
get: function () {
|
1627 |
+
return _index148[key];
|
1628 |
+
},
|
1629 |
+
});
|
1630 |
+
});
|
1631 |
+
var _index149 = require("./isWithinInterval.js");
|
1632 |
+
Object.keys(_index149).forEach(function (key) {
|
1633 |
+
if (key === "default" || key === "__esModule") return;
|
1634 |
+
if (key in exports && exports[key] === _index149[key]) return;
|
1635 |
+
Object.defineProperty(exports, key, {
|
1636 |
+
enumerable: true,
|
1637 |
+
get: function () {
|
1638 |
+
return _index149[key];
|
1639 |
+
},
|
1640 |
+
});
|
1641 |
+
});
|
1642 |
+
var _index150 = require("./isYesterday.js");
|
1643 |
+
Object.keys(_index150).forEach(function (key) {
|
1644 |
+
if (key === "default" || key === "__esModule") return;
|
1645 |
+
if (key in exports && exports[key] === _index150[key]) return;
|
1646 |
+
Object.defineProperty(exports, key, {
|
1647 |
+
enumerable: true,
|
1648 |
+
get: function () {
|
1649 |
+
return _index150[key];
|
1650 |
+
},
|
1651 |
+
});
|
1652 |
+
});
|
1653 |
+
var _index151 = require("./lastDayOfDecade.js");
|
1654 |
+
Object.keys(_index151).forEach(function (key) {
|
1655 |
+
if (key === "default" || key === "__esModule") return;
|
1656 |
+
if (key in exports && exports[key] === _index151[key]) return;
|
1657 |
+
Object.defineProperty(exports, key, {
|
1658 |
+
enumerable: true,
|
1659 |
+
get: function () {
|
1660 |
+
return _index151[key];
|
1661 |
+
},
|
1662 |
+
});
|
1663 |
+
});
|
1664 |
+
var _index152 = require("./lastDayOfISOWeek.js");
|
1665 |
+
Object.keys(_index152).forEach(function (key) {
|
1666 |
+
if (key === "default" || key === "__esModule") return;
|
1667 |
+
if (key in exports && exports[key] === _index152[key]) return;
|
1668 |
+
Object.defineProperty(exports, key, {
|
1669 |
+
enumerable: true,
|
1670 |
+
get: function () {
|
1671 |
+
return _index152[key];
|
1672 |
+
},
|
1673 |
+
});
|
1674 |
+
});
|
1675 |
+
var _index153 = require("./lastDayOfISOWeekYear.js");
|
1676 |
+
Object.keys(_index153).forEach(function (key) {
|
1677 |
+
if (key === "default" || key === "__esModule") return;
|
1678 |
+
if (key in exports && exports[key] === _index153[key]) return;
|
1679 |
+
Object.defineProperty(exports, key, {
|
1680 |
+
enumerable: true,
|
1681 |
+
get: function () {
|
1682 |
+
return _index153[key];
|
1683 |
+
},
|
1684 |
+
});
|
1685 |
+
});
|
1686 |
+
var _index154 = require("./lastDayOfMonth.js");
|
1687 |
+
Object.keys(_index154).forEach(function (key) {
|
1688 |
+
if (key === "default" || key === "__esModule") return;
|
1689 |
+
if (key in exports && exports[key] === _index154[key]) return;
|
1690 |
+
Object.defineProperty(exports, key, {
|
1691 |
+
enumerable: true,
|
1692 |
+
get: function () {
|
1693 |
+
return _index154[key];
|
1694 |
+
},
|
1695 |
+
});
|
1696 |
+
});
|
1697 |
+
var _index155 = require("./lastDayOfQuarter.js");
|
1698 |
+
Object.keys(_index155).forEach(function (key) {
|
1699 |
+
if (key === "default" || key === "__esModule") return;
|
1700 |
+
if (key in exports && exports[key] === _index155[key]) return;
|
1701 |
+
Object.defineProperty(exports, key, {
|
1702 |
+
enumerable: true,
|
1703 |
+
get: function () {
|
1704 |
+
return _index155[key];
|
1705 |
+
},
|
1706 |
+
});
|
1707 |
+
});
|
1708 |
+
var _index156 = require("./lastDayOfWeek.js");
|
1709 |
+
Object.keys(_index156).forEach(function (key) {
|
1710 |
+
if (key === "default" || key === "__esModule") return;
|
1711 |
+
if (key in exports && exports[key] === _index156[key]) return;
|
1712 |
+
Object.defineProperty(exports, key, {
|
1713 |
+
enumerable: true,
|
1714 |
+
get: function () {
|
1715 |
+
return _index156[key];
|
1716 |
+
},
|
1717 |
+
});
|
1718 |
+
});
|
1719 |
+
var _index157 = require("./lastDayOfYear.js");
|
1720 |
+
Object.keys(_index157).forEach(function (key) {
|
1721 |
+
if (key === "default" || key === "__esModule") return;
|
1722 |
+
if (key in exports && exports[key] === _index157[key]) return;
|
1723 |
+
Object.defineProperty(exports, key, {
|
1724 |
+
enumerable: true,
|
1725 |
+
get: function () {
|
1726 |
+
return _index157[key];
|
1727 |
+
},
|
1728 |
+
});
|
1729 |
+
});
|
1730 |
+
var _index158 = require("./lightFormat.js");
|
1731 |
+
Object.keys(_index158).forEach(function (key) {
|
1732 |
+
if (key === "default" || key === "__esModule") return;
|
1733 |
+
if (key in exports && exports[key] === _index158[key]) return;
|
1734 |
+
Object.defineProperty(exports, key, {
|
1735 |
+
enumerable: true,
|
1736 |
+
get: function () {
|
1737 |
+
return _index158[key];
|
1738 |
+
},
|
1739 |
+
});
|
1740 |
+
});
|
1741 |
+
var _index159 = require("./max.js");
|
1742 |
+
Object.keys(_index159).forEach(function (key) {
|
1743 |
+
if (key === "default" || key === "__esModule") return;
|
1744 |
+
if (key in exports && exports[key] === _index159[key]) return;
|
1745 |
+
Object.defineProperty(exports, key, {
|
1746 |
+
enumerable: true,
|
1747 |
+
get: function () {
|
1748 |
+
return _index159[key];
|
1749 |
+
},
|
1750 |
+
});
|
1751 |
+
});
|
1752 |
+
var _index160 = require("./milliseconds.js");
|
1753 |
+
Object.keys(_index160).forEach(function (key) {
|
1754 |
+
if (key === "default" || key === "__esModule") return;
|
1755 |
+
if (key in exports && exports[key] === _index160[key]) return;
|
1756 |
+
Object.defineProperty(exports, key, {
|
1757 |
+
enumerable: true,
|
1758 |
+
get: function () {
|
1759 |
+
return _index160[key];
|
1760 |
+
},
|
1761 |
+
});
|
1762 |
+
});
|
1763 |
+
var _index161 = require("./millisecondsToHours.js");
|
1764 |
+
Object.keys(_index161).forEach(function (key) {
|
1765 |
+
if (key === "default" || key === "__esModule") return;
|
1766 |
+
if (key in exports && exports[key] === _index161[key]) return;
|
1767 |
+
Object.defineProperty(exports, key, {
|
1768 |
+
enumerable: true,
|
1769 |
+
get: function () {
|
1770 |
+
return _index161[key];
|
1771 |
+
},
|
1772 |
+
});
|
1773 |
+
});
|
1774 |
+
var _index162 = require("./millisecondsToMinutes.js");
|
1775 |
+
Object.keys(_index162).forEach(function (key) {
|
1776 |
+
if (key === "default" || key === "__esModule") return;
|
1777 |
+
if (key in exports && exports[key] === _index162[key]) return;
|
1778 |
+
Object.defineProperty(exports, key, {
|
1779 |
+
enumerable: true,
|
1780 |
+
get: function () {
|
1781 |
+
return _index162[key];
|
1782 |
+
},
|
1783 |
+
});
|
1784 |
+
});
|
1785 |
+
var _index163 = require("./millisecondsToSeconds.js");
|
1786 |
+
Object.keys(_index163).forEach(function (key) {
|
1787 |
+
if (key === "default" || key === "__esModule") return;
|
1788 |
+
if (key in exports && exports[key] === _index163[key]) return;
|
1789 |
+
Object.defineProperty(exports, key, {
|
1790 |
+
enumerable: true,
|
1791 |
+
get: function () {
|
1792 |
+
return _index163[key];
|
1793 |
+
},
|
1794 |
+
});
|
1795 |
+
});
|
1796 |
+
var _index164 = require("./min.js");
|
1797 |
+
Object.keys(_index164).forEach(function (key) {
|
1798 |
+
if (key === "default" || key === "__esModule") return;
|
1799 |
+
if (key in exports && exports[key] === _index164[key]) return;
|
1800 |
+
Object.defineProperty(exports, key, {
|
1801 |
+
enumerable: true,
|
1802 |
+
get: function () {
|
1803 |
+
return _index164[key];
|
1804 |
+
},
|
1805 |
+
});
|
1806 |
+
});
|
1807 |
+
var _index165 = require("./minutesToHours.js");
|
1808 |
+
Object.keys(_index165).forEach(function (key) {
|
1809 |
+
if (key === "default" || key === "__esModule") return;
|
1810 |
+
if (key in exports && exports[key] === _index165[key]) return;
|
1811 |
+
Object.defineProperty(exports, key, {
|
1812 |
+
enumerable: true,
|
1813 |
+
get: function () {
|
1814 |
+
return _index165[key];
|
1815 |
+
},
|
1816 |
+
});
|
1817 |
+
});
|
1818 |
+
var _index166 = require("./minutesToMilliseconds.js");
|
1819 |
+
Object.keys(_index166).forEach(function (key) {
|
1820 |
+
if (key === "default" || key === "__esModule") return;
|
1821 |
+
if (key in exports && exports[key] === _index166[key]) return;
|
1822 |
+
Object.defineProperty(exports, key, {
|
1823 |
+
enumerable: true,
|
1824 |
+
get: function () {
|
1825 |
+
return _index166[key];
|
1826 |
+
},
|
1827 |
+
});
|
1828 |
+
});
|
1829 |
+
var _index167 = require("./minutesToSeconds.js");
|
1830 |
+
Object.keys(_index167).forEach(function (key) {
|
1831 |
+
if (key === "default" || key === "__esModule") return;
|
1832 |
+
if (key in exports && exports[key] === _index167[key]) return;
|
1833 |
+
Object.defineProperty(exports, key, {
|
1834 |
+
enumerable: true,
|
1835 |
+
get: function () {
|
1836 |
+
return _index167[key];
|
1837 |
+
},
|
1838 |
+
});
|
1839 |
+
});
|
1840 |
+
var _index168 = require("./monthsToQuarters.js");
|
1841 |
+
Object.keys(_index168).forEach(function (key) {
|
1842 |
+
if (key === "default" || key === "__esModule") return;
|
1843 |
+
if (key in exports && exports[key] === _index168[key]) return;
|
1844 |
+
Object.defineProperty(exports, key, {
|
1845 |
+
enumerable: true,
|
1846 |
+
get: function () {
|
1847 |
+
return _index168[key];
|
1848 |
+
},
|
1849 |
+
});
|
1850 |
+
});
|
1851 |
+
var _index169 = require("./monthsToYears.js");
|
1852 |
+
Object.keys(_index169).forEach(function (key) {
|
1853 |
+
if (key === "default" || key === "__esModule") return;
|
1854 |
+
if (key in exports && exports[key] === _index169[key]) return;
|
1855 |
+
Object.defineProperty(exports, key, {
|
1856 |
+
enumerable: true,
|
1857 |
+
get: function () {
|
1858 |
+
return _index169[key];
|
1859 |
+
},
|
1860 |
+
});
|
1861 |
+
});
|
1862 |
+
var _index170 = require("./nextDay.js");
|
1863 |
+
Object.keys(_index170).forEach(function (key) {
|
1864 |
+
if (key === "default" || key === "__esModule") return;
|
1865 |
+
if (key in exports && exports[key] === _index170[key]) return;
|
1866 |
+
Object.defineProperty(exports, key, {
|
1867 |
+
enumerable: true,
|
1868 |
+
get: function () {
|
1869 |
+
return _index170[key];
|
1870 |
+
},
|
1871 |
+
});
|
1872 |
+
});
|
1873 |
+
var _index171 = require("./nextFriday.js");
|
1874 |
+
Object.keys(_index171).forEach(function (key) {
|
1875 |
+
if (key === "default" || key === "__esModule") return;
|
1876 |
+
if (key in exports && exports[key] === _index171[key]) return;
|
1877 |
+
Object.defineProperty(exports, key, {
|
1878 |
+
enumerable: true,
|
1879 |
+
get: function () {
|
1880 |
+
return _index171[key];
|
1881 |
+
},
|
1882 |
+
});
|
1883 |
+
});
|
1884 |
+
var _index172 = require("./nextMonday.js");
|
1885 |
+
Object.keys(_index172).forEach(function (key) {
|
1886 |
+
if (key === "default" || key === "__esModule") return;
|
1887 |
+
if (key in exports && exports[key] === _index172[key]) return;
|
1888 |
+
Object.defineProperty(exports, key, {
|
1889 |
+
enumerable: true,
|
1890 |
+
get: function () {
|
1891 |
+
return _index172[key];
|
1892 |
+
},
|
1893 |
+
});
|
1894 |
+
});
|
1895 |
+
var _index173 = require("./nextSaturday.js");
|
1896 |
+
Object.keys(_index173).forEach(function (key) {
|
1897 |
+
if (key === "default" || key === "__esModule") return;
|
1898 |
+
if (key in exports && exports[key] === _index173[key]) return;
|
1899 |
+
Object.defineProperty(exports, key, {
|
1900 |
+
enumerable: true,
|
1901 |
+
get: function () {
|
1902 |
+
return _index173[key];
|
1903 |
+
},
|
1904 |
+
});
|
1905 |
+
});
|
1906 |
+
var _index174 = require("./nextSunday.js");
|
1907 |
+
Object.keys(_index174).forEach(function (key) {
|
1908 |
+
if (key === "default" || key === "__esModule") return;
|
1909 |
+
if (key in exports && exports[key] === _index174[key]) return;
|
1910 |
+
Object.defineProperty(exports, key, {
|
1911 |
+
enumerable: true,
|
1912 |
+
get: function () {
|
1913 |
+
return _index174[key];
|
1914 |
+
},
|
1915 |
+
});
|
1916 |
+
});
|
1917 |
+
var _index175 = require("./nextThursday.js");
|
1918 |
+
Object.keys(_index175).forEach(function (key) {
|
1919 |
+
if (key === "default" || key === "__esModule") return;
|
1920 |
+
if (key in exports && exports[key] === _index175[key]) return;
|
1921 |
+
Object.defineProperty(exports, key, {
|
1922 |
+
enumerable: true,
|
1923 |
+
get: function () {
|
1924 |
+
return _index175[key];
|
1925 |
+
},
|
1926 |
+
});
|
1927 |
+
});
|
1928 |
+
var _index176 = require("./nextTuesday.js");
|
1929 |
+
Object.keys(_index176).forEach(function (key) {
|
1930 |
+
if (key === "default" || key === "__esModule") return;
|
1931 |
+
if (key in exports && exports[key] === _index176[key]) return;
|
1932 |
+
Object.defineProperty(exports, key, {
|
1933 |
+
enumerable: true,
|
1934 |
+
get: function () {
|
1935 |
+
return _index176[key];
|
1936 |
+
},
|
1937 |
+
});
|
1938 |
+
});
|
1939 |
+
var _index177 = require("./nextWednesday.js");
|
1940 |
+
Object.keys(_index177).forEach(function (key) {
|
1941 |
+
if (key === "default" || key === "__esModule") return;
|
1942 |
+
if (key in exports && exports[key] === _index177[key]) return;
|
1943 |
+
Object.defineProperty(exports, key, {
|
1944 |
+
enumerable: true,
|
1945 |
+
get: function () {
|
1946 |
+
return _index177[key];
|
1947 |
+
},
|
1948 |
+
});
|
1949 |
+
});
|
1950 |
+
var _index178 = require("./parse.js");
|
1951 |
+
Object.keys(_index178).forEach(function (key) {
|
1952 |
+
if (key === "default" || key === "__esModule") return;
|
1953 |
+
if (key in exports && exports[key] === _index178[key]) return;
|
1954 |
+
Object.defineProperty(exports, key, {
|
1955 |
+
enumerable: true,
|
1956 |
+
get: function () {
|
1957 |
+
return _index178[key];
|
1958 |
+
},
|
1959 |
+
});
|
1960 |
+
});
|
1961 |
+
var _index179 = require("./parseISO.js");
|
1962 |
+
Object.keys(_index179).forEach(function (key) {
|
1963 |
+
if (key === "default" || key === "__esModule") return;
|
1964 |
+
if (key in exports && exports[key] === _index179[key]) return;
|
1965 |
+
Object.defineProperty(exports, key, {
|
1966 |
+
enumerable: true,
|
1967 |
+
get: function () {
|
1968 |
+
return _index179[key];
|
1969 |
+
},
|
1970 |
+
});
|
1971 |
+
});
|
1972 |
+
var _index180 = require("./parseJSON.js");
|
1973 |
+
Object.keys(_index180).forEach(function (key) {
|
1974 |
+
if (key === "default" || key === "__esModule") return;
|
1975 |
+
if (key in exports && exports[key] === _index180[key]) return;
|
1976 |
+
Object.defineProperty(exports, key, {
|
1977 |
+
enumerable: true,
|
1978 |
+
get: function () {
|
1979 |
+
return _index180[key];
|
1980 |
+
},
|
1981 |
+
});
|
1982 |
+
});
|
1983 |
+
var _index181 = require("./previousDay.js");
|
1984 |
+
Object.keys(_index181).forEach(function (key) {
|
1985 |
+
if (key === "default" || key === "__esModule") return;
|
1986 |
+
if (key in exports && exports[key] === _index181[key]) return;
|
1987 |
+
Object.defineProperty(exports, key, {
|
1988 |
+
enumerable: true,
|
1989 |
+
get: function () {
|
1990 |
+
return _index181[key];
|
1991 |
+
},
|
1992 |
+
});
|
1993 |
+
});
|
1994 |
+
var _index182 = require("./previousFriday.js");
|
1995 |
+
Object.keys(_index182).forEach(function (key) {
|
1996 |
+
if (key === "default" || key === "__esModule") return;
|
1997 |
+
if (key in exports && exports[key] === _index182[key]) return;
|
1998 |
+
Object.defineProperty(exports, key, {
|
1999 |
+
enumerable: true,
|
2000 |
+
get: function () {
|
2001 |
+
return _index182[key];
|
2002 |
+
},
|
2003 |
+
});
|
2004 |
+
});
|
2005 |
+
var _index183 = require("./previousMonday.js");
|
2006 |
+
Object.keys(_index183).forEach(function (key) {
|
2007 |
+
if (key === "default" || key === "__esModule") return;
|
2008 |
+
if (key in exports && exports[key] === _index183[key]) return;
|
2009 |
+
Object.defineProperty(exports, key, {
|
2010 |
+
enumerable: true,
|
2011 |
+
get: function () {
|
2012 |
+
return _index183[key];
|
2013 |
+
},
|
2014 |
+
});
|
2015 |
+
});
|
2016 |
+
var _index184 = require("./previousSaturday.js");
|
2017 |
+
Object.keys(_index184).forEach(function (key) {
|
2018 |
+
if (key === "default" || key === "__esModule") return;
|
2019 |
+
if (key in exports && exports[key] === _index184[key]) return;
|
2020 |
+
Object.defineProperty(exports, key, {
|
2021 |
+
enumerable: true,
|
2022 |
+
get: function () {
|
2023 |
+
return _index184[key];
|
2024 |
+
},
|
2025 |
+
});
|
2026 |
+
});
|
2027 |
+
var _index185 = require("./previousSunday.js");
|
2028 |
+
Object.keys(_index185).forEach(function (key) {
|
2029 |
+
if (key === "default" || key === "__esModule") return;
|
2030 |
+
if (key in exports && exports[key] === _index185[key]) return;
|
2031 |
+
Object.defineProperty(exports, key, {
|
2032 |
+
enumerable: true,
|
2033 |
+
get: function () {
|
2034 |
+
return _index185[key];
|
2035 |
+
},
|
2036 |
+
});
|
2037 |
+
});
|
2038 |
+
var _index186 = require("./previousThursday.js");
|
2039 |
+
Object.keys(_index186).forEach(function (key) {
|
2040 |
+
if (key === "default" || key === "__esModule") return;
|
2041 |
+
if (key in exports && exports[key] === _index186[key]) return;
|
2042 |
+
Object.defineProperty(exports, key, {
|
2043 |
+
enumerable: true,
|
2044 |
+
get: function () {
|
2045 |
+
return _index186[key];
|
2046 |
+
},
|
2047 |
+
});
|
2048 |
+
});
|
2049 |
+
var _index187 = require("./previousTuesday.js");
|
2050 |
+
Object.keys(_index187).forEach(function (key) {
|
2051 |
+
if (key === "default" || key === "__esModule") return;
|
2052 |
+
if (key in exports && exports[key] === _index187[key]) return;
|
2053 |
+
Object.defineProperty(exports, key, {
|
2054 |
+
enumerable: true,
|
2055 |
+
get: function () {
|
2056 |
+
return _index187[key];
|
2057 |
+
},
|
2058 |
+
});
|
2059 |
+
});
|
2060 |
+
var _index188 = require("./previousWednesday.js");
|
2061 |
+
Object.keys(_index188).forEach(function (key) {
|
2062 |
+
if (key === "default" || key === "__esModule") return;
|
2063 |
+
if (key in exports && exports[key] === _index188[key]) return;
|
2064 |
+
Object.defineProperty(exports, key, {
|
2065 |
+
enumerable: true,
|
2066 |
+
get: function () {
|
2067 |
+
return _index188[key];
|
2068 |
+
},
|
2069 |
+
});
|
2070 |
+
});
|
2071 |
+
var _index189 = require("./quartersToMonths.js");
|
2072 |
+
Object.keys(_index189).forEach(function (key) {
|
2073 |
+
if (key === "default" || key === "__esModule") return;
|
2074 |
+
if (key in exports && exports[key] === _index189[key]) return;
|
2075 |
+
Object.defineProperty(exports, key, {
|
2076 |
+
enumerable: true,
|
2077 |
+
get: function () {
|
2078 |
+
return _index189[key];
|
2079 |
+
},
|
2080 |
+
});
|
2081 |
+
});
|
2082 |
+
var _index190 = require("./quartersToYears.js");
|
2083 |
+
Object.keys(_index190).forEach(function (key) {
|
2084 |
+
if (key === "default" || key === "__esModule") return;
|
2085 |
+
if (key in exports && exports[key] === _index190[key]) return;
|
2086 |
+
Object.defineProperty(exports, key, {
|
2087 |
+
enumerable: true,
|
2088 |
+
get: function () {
|
2089 |
+
return _index190[key];
|
2090 |
+
},
|
2091 |
+
});
|
2092 |
+
});
|
2093 |
+
var _index191 = require("./roundToNearestHours.js");
|
2094 |
+
Object.keys(_index191).forEach(function (key) {
|
2095 |
+
if (key === "default" || key === "__esModule") return;
|
2096 |
+
if (key in exports && exports[key] === _index191[key]) return;
|
2097 |
+
Object.defineProperty(exports, key, {
|
2098 |
+
enumerable: true,
|
2099 |
+
get: function () {
|
2100 |
+
return _index191[key];
|
2101 |
+
},
|
2102 |
+
});
|
2103 |
+
});
|
2104 |
+
var _index192 = require("./roundToNearestMinutes.js");
|
2105 |
+
Object.keys(_index192).forEach(function (key) {
|
2106 |
+
if (key === "default" || key === "__esModule") return;
|
2107 |
+
if (key in exports && exports[key] === _index192[key]) return;
|
2108 |
+
Object.defineProperty(exports, key, {
|
2109 |
+
enumerable: true,
|
2110 |
+
get: function () {
|
2111 |
+
return _index192[key];
|
2112 |
+
},
|
2113 |
+
});
|
2114 |
+
});
|
2115 |
+
var _index193 = require("./secondsToHours.js");
|
2116 |
+
Object.keys(_index193).forEach(function (key) {
|
2117 |
+
if (key === "default" || key === "__esModule") return;
|
2118 |
+
if (key in exports && exports[key] === _index193[key]) return;
|
2119 |
+
Object.defineProperty(exports, key, {
|
2120 |
+
enumerable: true,
|
2121 |
+
get: function () {
|
2122 |
+
return _index193[key];
|
2123 |
+
},
|
2124 |
+
});
|
2125 |
+
});
|
2126 |
+
var _index194 = require("./secondsToMilliseconds.js");
|
2127 |
+
Object.keys(_index194).forEach(function (key) {
|
2128 |
+
if (key === "default" || key === "__esModule") return;
|
2129 |
+
if (key in exports && exports[key] === _index194[key]) return;
|
2130 |
+
Object.defineProperty(exports, key, {
|
2131 |
+
enumerable: true,
|
2132 |
+
get: function () {
|
2133 |
+
return _index194[key];
|
2134 |
+
},
|
2135 |
+
});
|
2136 |
+
});
|
2137 |
+
var _index195 = require("./secondsToMinutes.js");
|
2138 |
+
Object.keys(_index195).forEach(function (key) {
|
2139 |
+
if (key === "default" || key === "__esModule") return;
|
2140 |
+
if (key in exports && exports[key] === _index195[key]) return;
|
2141 |
+
Object.defineProperty(exports, key, {
|
2142 |
+
enumerable: true,
|
2143 |
+
get: function () {
|
2144 |
+
return _index195[key];
|
2145 |
+
},
|
2146 |
+
});
|
2147 |
+
});
|
2148 |
+
var _index196 = require("./set.js");
|
2149 |
+
Object.keys(_index196).forEach(function (key) {
|
2150 |
+
if (key === "default" || key === "__esModule") return;
|
2151 |
+
if (key in exports && exports[key] === _index196[key]) return;
|
2152 |
+
Object.defineProperty(exports, key, {
|
2153 |
+
enumerable: true,
|
2154 |
+
get: function () {
|
2155 |
+
return _index196[key];
|
2156 |
+
},
|
2157 |
+
});
|
2158 |
+
});
|
2159 |
+
var _index197 = require("./setDate.js");
|
2160 |
+
Object.keys(_index197).forEach(function (key) {
|
2161 |
+
if (key === "default" || key === "__esModule") return;
|
2162 |
+
if (key in exports && exports[key] === _index197[key]) return;
|
2163 |
+
Object.defineProperty(exports, key, {
|
2164 |
+
enumerable: true,
|
2165 |
+
get: function () {
|
2166 |
+
return _index197[key];
|
2167 |
+
},
|
2168 |
+
});
|
2169 |
+
});
|
2170 |
+
var _index198 = require("./setDay.js");
|
2171 |
+
Object.keys(_index198).forEach(function (key) {
|
2172 |
+
if (key === "default" || key === "__esModule") return;
|
2173 |
+
if (key in exports && exports[key] === _index198[key]) return;
|
2174 |
+
Object.defineProperty(exports, key, {
|
2175 |
+
enumerable: true,
|
2176 |
+
get: function () {
|
2177 |
+
return _index198[key];
|
2178 |
+
},
|
2179 |
+
});
|
2180 |
+
});
|
2181 |
+
var _index199 = require("./setDayOfYear.js");
|
2182 |
+
Object.keys(_index199).forEach(function (key) {
|
2183 |
+
if (key === "default" || key === "__esModule") return;
|
2184 |
+
if (key in exports && exports[key] === _index199[key]) return;
|
2185 |
+
Object.defineProperty(exports, key, {
|
2186 |
+
enumerable: true,
|
2187 |
+
get: function () {
|
2188 |
+
return _index199[key];
|
2189 |
+
},
|
2190 |
+
});
|
2191 |
+
});
|
2192 |
+
var _index200 = require("./setDefaultOptions.js");
|
2193 |
+
Object.keys(_index200).forEach(function (key) {
|
2194 |
+
if (key === "default" || key === "__esModule") return;
|
2195 |
+
if (key in exports && exports[key] === _index200[key]) return;
|
2196 |
+
Object.defineProperty(exports, key, {
|
2197 |
+
enumerable: true,
|
2198 |
+
get: function () {
|
2199 |
+
return _index200[key];
|
2200 |
+
},
|
2201 |
+
});
|
2202 |
+
});
|
2203 |
+
var _index201 = require("./setHours.js");
|
2204 |
+
Object.keys(_index201).forEach(function (key) {
|
2205 |
+
if (key === "default" || key === "__esModule") return;
|
2206 |
+
if (key in exports && exports[key] === _index201[key]) return;
|
2207 |
+
Object.defineProperty(exports, key, {
|
2208 |
+
enumerable: true,
|
2209 |
+
get: function () {
|
2210 |
+
return _index201[key];
|
2211 |
+
},
|
2212 |
+
});
|
2213 |
+
});
|
2214 |
+
var _index202 = require("./setISODay.js");
|
2215 |
+
Object.keys(_index202).forEach(function (key) {
|
2216 |
+
if (key === "default" || key === "__esModule") return;
|
2217 |
+
if (key in exports && exports[key] === _index202[key]) return;
|
2218 |
+
Object.defineProperty(exports, key, {
|
2219 |
+
enumerable: true,
|
2220 |
+
get: function () {
|
2221 |
+
return _index202[key];
|
2222 |
+
},
|
2223 |
+
});
|
2224 |
+
});
|
2225 |
+
var _index203 = require("./setISOWeek.js");
|
2226 |
+
Object.keys(_index203).forEach(function (key) {
|
2227 |
+
if (key === "default" || key === "__esModule") return;
|
2228 |
+
if (key in exports && exports[key] === _index203[key]) return;
|
2229 |
+
Object.defineProperty(exports, key, {
|
2230 |
+
enumerable: true,
|
2231 |
+
get: function () {
|
2232 |
+
return _index203[key];
|
2233 |
+
},
|
2234 |
+
});
|
2235 |
+
});
|
2236 |
+
var _index204 = require("./setISOWeekYear.js");
|
2237 |
+
Object.keys(_index204).forEach(function (key) {
|
2238 |
+
if (key === "default" || key === "__esModule") return;
|
2239 |
+
if (key in exports && exports[key] === _index204[key]) return;
|
2240 |
+
Object.defineProperty(exports, key, {
|
2241 |
+
enumerable: true,
|
2242 |
+
get: function () {
|
2243 |
+
return _index204[key];
|
2244 |
+
},
|
2245 |
+
});
|
2246 |
+
});
|
2247 |
+
var _index205 = require("./setMilliseconds.js");
|
2248 |
+
Object.keys(_index205).forEach(function (key) {
|
2249 |
+
if (key === "default" || key === "__esModule") return;
|
2250 |
+
if (key in exports && exports[key] === _index205[key]) return;
|
2251 |
+
Object.defineProperty(exports, key, {
|
2252 |
+
enumerable: true,
|
2253 |
+
get: function () {
|
2254 |
+
return _index205[key];
|
2255 |
+
},
|
2256 |
+
});
|
2257 |
+
});
|
2258 |
+
var _index206 = require("./setMinutes.js");
|
2259 |
+
Object.keys(_index206).forEach(function (key) {
|
2260 |
+
if (key === "default" || key === "__esModule") return;
|
2261 |
+
if (key in exports && exports[key] === _index206[key]) return;
|
2262 |
+
Object.defineProperty(exports, key, {
|
2263 |
+
enumerable: true,
|
2264 |
+
get: function () {
|
2265 |
+
return _index206[key];
|
2266 |
+
},
|
2267 |
+
});
|
2268 |
+
});
|
2269 |
+
var _index207 = require("./setMonth.js");
|
2270 |
+
Object.keys(_index207).forEach(function (key) {
|
2271 |
+
if (key === "default" || key === "__esModule") return;
|
2272 |
+
if (key in exports && exports[key] === _index207[key]) return;
|
2273 |
+
Object.defineProperty(exports, key, {
|
2274 |
+
enumerable: true,
|
2275 |
+
get: function () {
|
2276 |
+
return _index207[key];
|
2277 |
+
},
|
2278 |
+
});
|
2279 |
+
});
|
2280 |
+
var _index208 = require("./setQuarter.js");
|
2281 |
+
Object.keys(_index208).forEach(function (key) {
|
2282 |
+
if (key === "default" || key === "__esModule") return;
|
2283 |
+
if (key in exports && exports[key] === _index208[key]) return;
|
2284 |
+
Object.defineProperty(exports, key, {
|
2285 |
+
enumerable: true,
|
2286 |
+
get: function () {
|
2287 |
+
return _index208[key];
|
2288 |
+
},
|
2289 |
+
});
|
2290 |
+
});
|
2291 |
+
var _index209 = require("./setSeconds.js");
|
2292 |
+
Object.keys(_index209).forEach(function (key) {
|
2293 |
+
if (key === "default" || key === "__esModule") return;
|
2294 |
+
if (key in exports && exports[key] === _index209[key]) return;
|
2295 |
+
Object.defineProperty(exports, key, {
|
2296 |
+
enumerable: true,
|
2297 |
+
get: function () {
|
2298 |
+
return _index209[key];
|
2299 |
+
},
|
2300 |
+
});
|
2301 |
+
});
|
2302 |
+
var _index210 = require("./setWeek.js");
|
2303 |
+
Object.keys(_index210).forEach(function (key) {
|
2304 |
+
if (key === "default" || key === "__esModule") return;
|
2305 |
+
if (key in exports && exports[key] === _index210[key]) return;
|
2306 |
+
Object.defineProperty(exports, key, {
|
2307 |
+
enumerable: true,
|
2308 |
+
get: function () {
|
2309 |
+
return _index210[key];
|
2310 |
+
},
|
2311 |
+
});
|
2312 |
+
});
|
2313 |
+
var _index211 = require("./setWeekYear.js");
|
2314 |
+
Object.keys(_index211).forEach(function (key) {
|
2315 |
+
if (key === "default" || key === "__esModule") return;
|
2316 |
+
if (key in exports && exports[key] === _index211[key]) return;
|
2317 |
+
Object.defineProperty(exports, key, {
|
2318 |
+
enumerable: true,
|
2319 |
+
get: function () {
|
2320 |
+
return _index211[key];
|
2321 |
+
},
|
2322 |
+
});
|
2323 |
+
});
|
2324 |
+
var _index212 = require("./setYear.js");
|
2325 |
+
Object.keys(_index212).forEach(function (key) {
|
2326 |
+
if (key === "default" || key === "__esModule") return;
|
2327 |
+
if (key in exports && exports[key] === _index212[key]) return;
|
2328 |
+
Object.defineProperty(exports, key, {
|
2329 |
+
enumerable: true,
|
2330 |
+
get: function () {
|
2331 |
+
return _index212[key];
|
2332 |
+
},
|
2333 |
+
});
|
2334 |
+
});
|
2335 |
+
var _index213 = require("./startOfDay.js");
|
2336 |
+
Object.keys(_index213).forEach(function (key) {
|
2337 |
+
if (key === "default" || key === "__esModule") return;
|
2338 |
+
if (key in exports && exports[key] === _index213[key]) return;
|
2339 |
+
Object.defineProperty(exports, key, {
|
2340 |
+
enumerable: true,
|
2341 |
+
get: function () {
|
2342 |
+
return _index213[key];
|
2343 |
+
},
|
2344 |
+
});
|
2345 |
+
});
|
2346 |
+
var _index214 = require("./startOfDecade.js");
|
2347 |
+
Object.keys(_index214).forEach(function (key) {
|
2348 |
+
if (key === "default" || key === "__esModule") return;
|
2349 |
+
if (key in exports && exports[key] === _index214[key]) return;
|
2350 |
+
Object.defineProperty(exports, key, {
|
2351 |
+
enumerable: true,
|
2352 |
+
get: function () {
|
2353 |
+
return _index214[key];
|
2354 |
+
},
|
2355 |
+
});
|
2356 |
+
});
|
2357 |
+
var _index215 = require("./startOfHour.js");
|
2358 |
+
Object.keys(_index215).forEach(function (key) {
|
2359 |
+
if (key === "default" || key === "__esModule") return;
|
2360 |
+
if (key in exports && exports[key] === _index215[key]) return;
|
2361 |
+
Object.defineProperty(exports, key, {
|
2362 |
+
enumerable: true,
|
2363 |
+
get: function () {
|
2364 |
+
return _index215[key];
|
2365 |
+
},
|
2366 |
+
});
|
2367 |
+
});
|
2368 |
+
var _index216 = require("./startOfISOWeek.js");
|
2369 |
+
Object.keys(_index216).forEach(function (key) {
|
2370 |
+
if (key === "default" || key === "__esModule") return;
|
2371 |
+
if (key in exports && exports[key] === _index216[key]) return;
|
2372 |
+
Object.defineProperty(exports, key, {
|
2373 |
+
enumerable: true,
|
2374 |
+
get: function () {
|
2375 |
+
return _index216[key];
|
2376 |
+
},
|
2377 |
+
});
|
2378 |
+
});
|
2379 |
+
var _index217 = require("./startOfISOWeekYear.js");
|
2380 |
+
Object.keys(_index217).forEach(function (key) {
|
2381 |
+
if (key === "default" || key === "__esModule") return;
|
2382 |
+
if (key in exports && exports[key] === _index217[key]) return;
|
2383 |
+
Object.defineProperty(exports, key, {
|
2384 |
+
enumerable: true,
|
2385 |
+
get: function () {
|
2386 |
+
return _index217[key];
|
2387 |
+
},
|
2388 |
+
});
|
2389 |
+
});
|
2390 |
+
var _index218 = require("./startOfMinute.js");
|
2391 |
+
Object.keys(_index218).forEach(function (key) {
|
2392 |
+
if (key === "default" || key === "__esModule") return;
|
2393 |
+
if (key in exports && exports[key] === _index218[key]) return;
|
2394 |
+
Object.defineProperty(exports, key, {
|
2395 |
+
enumerable: true,
|
2396 |
+
get: function () {
|
2397 |
+
return _index218[key];
|
2398 |
+
},
|
2399 |
+
});
|
2400 |
+
});
|
2401 |
+
var _index219 = require("./startOfMonth.js");
|
2402 |
+
Object.keys(_index219).forEach(function (key) {
|
2403 |
+
if (key === "default" || key === "__esModule") return;
|
2404 |
+
if (key in exports && exports[key] === _index219[key]) return;
|
2405 |
+
Object.defineProperty(exports, key, {
|
2406 |
+
enumerable: true,
|
2407 |
+
get: function () {
|
2408 |
+
return _index219[key];
|
2409 |
+
},
|
2410 |
+
});
|
2411 |
+
});
|
2412 |
+
var _index220 = require("./startOfQuarter.js");
|
2413 |
+
Object.keys(_index220).forEach(function (key) {
|
2414 |
+
if (key === "default" || key === "__esModule") return;
|
2415 |
+
if (key in exports && exports[key] === _index220[key]) return;
|
2416 |
+
Object.defineProperty(exports, key, {
|
2417 |
+
enumerable: true,
|
2418 |
+
get: function () {
|
2419 |
+
return _index220[key];
|
2420 |
+
},
|
2421 |
+
});
|
2422 |
+
});
|
2423 |
+
var _index221 = require("./startOfSecond.js");
|
2424 |
+
Object.keys(_index221).forEach(function (key) {
|
2425 |
+
if (key === "default" || key === "__esModule") return;
|
2426 |
+
if (key in exports && exports[key] === _index221[key]) return;
|
2427 |
+
Object.defineProperty(exports, key, {
|
2428 |
+
enumerable: true,
|
2429 |
+
get: function () {
|
2430 |
+
return _index221[key];
|
2431 |
+
},
|
2432 |
+
});
|
2433 |
+
});
|
2434 |
+
var _index222 = require("./startOfToday.js");
|
2435 |
+
Object.keys(_index222).forEach(function (key) {
|
2436 |
+
if (key === "default" || key === "__esModule") return;
|
2437 |
+
if (key in exports && exports[key] === _index222[key]) return;
|
2438 |
+
Object.defineProperty(exports, key, {
|
2439 |
+
enumerable: true,
|
2440 |
+
get: function () {
|
2441 |
+
return _index222[key];
|
2442 |
+
},
|
2443 |
+
});
|
2444 |
+
});
|
2445 |
+
var _index223 = require("./startOfTomorrow.js");
|
2446 |
+
Object.keys(_index223).forEach(function (key) {
|
2447 |
+
if (key === "default" || key === "__esModule") return;
|
2448 |
+
if (key in exports && exports[key] === _index223[key]) return;
|
2449 |
+
Object.defineProperty(exports, key, {
|
2450 |
+
enumerable: true,
|
2451 |
+
get: function () {
|
2452 |
+
return _index223[key];
|
2453 |
+
},
|
2454 |
+
});
|
2455 |
+
});
|
2456 |
+
var _index224 = require("./startOfWeek.js");
|
2457 |
+
Object.keys(_index224).forEach(function (key) {
|
2458 |
+
if (key === "default" || key === "__esModule") return;
|
2459 |
+
if (key in exports && exports[key] === _index224[key]) return;
|
2460 |
+
Object.defineProperty(exports, key, {
|
2461 |
+
enumerable: true,
|
2462 |
+
get: function () {
|
2463 |
+
return _index224[key];
|
2464 |
+
},
|
2465 |
+
});
|
2466 |
+
});
|
2467 |
+
var _index225 = require("./startOfWeekYear.js");
|
2468 |
+
Object.keys(_index225).forEach(function (key) {
|
2469 |
+
if (key === "default" || key === "__esModule") return;
|
2470 |
+
if (key in exports && exports[key] === _index225[key]) return;
|
2471 |
+
Object.defineProperty(exports, key, {
|
2472 |
+
enumerable: true,
|
2473 |
+
get: function () {
|
2474 |
+
return _index225[key];
|
2475 |
+
},
|
2476 |
+
});
|
2477 |
+
});
|
2478 |
+
var _index226 = require("./startOfYear.js");
|
2479 |
+
Object.keys(_index226).forEach(function (key) {
|
2480 |
+
if (key === "default" || key === "__esModule") return;
|
2481 |
+
if (key in exports && exports[key] === _index226[key]) return;
|
2482 |
+
Object.defineProperty(exports, key, {
|
2483 |
+
enumerable: true,
|
2484 |
+
get: function () {
|
2485 |
+
return _index226[key];
|
2486 |
+
},
|
2487 |
+
});
|
2488 |
+
});
|
2489 |
+
var _index227 = require("./startOfYesterday.js");
|
2490 |
+
Object.keys(_index227).forEach(function (key) {
|
2491 |
+
if (key === "default" || key === "__esModule") return;
|
2492 |
+
if (key in exports && exports[key] === _index227[key]) return;
|
2493 |
+
Object.defineProperty(exports, key, {
|
2494 |
+
enumerable: true,
|
2495 |
+
get: function () {
|
2496 |
+
return _index227[key];
|
2497 |
+
},
|
2498 |
+
});
|
2499 |
+
});
|
2500 |
+
var _index228 = require("./sub.js");
|
2501 |
+
Object.keys(_index228).forEach(function (key) {
|
2502 |
+
if (key === "default" || key === "__esModule") return;
|
2503 |
+
if (key in exports && exports[key] === _index228[key]) return;
|
2504 |
+
Object.defineProperty(exports, key, {
|
2505 |
+
enumerable: true,
|
2506 |
+
get: function () {
|
2507 |
+
return _index228[key];
|
2508 |
+
},
|
2509 |
+
});
|
2510 |
+
});
|
2511 |
+
var _index229 = require("./subBusinessDays.js");
|
2512 |
+
Object.keys(_index229).forEach(function (key) {
|
2513 |
+
if (key === "default" || key === "__esModule") return;
|
2514 |
+
if (key in exports && exports[key] === _index229[key]) return;
|
2515 |
+
Object.defineProperty(exports, key, {
|
2516 |
+
enumerable: true,
|
2517 |
+
get: function () {
|
2518 |
+
return _index229[key];
|
2519 |
+
},
|
2520 |
+
});
|
2521 |
+
});
|
2522 |
+
var _index230 = require("./subDays.js");
|
2523 |
+
Object.keys(_index230).forEach(function (key) {
|
2524 |
+
if (key === "default" || key === "__esModule") return;
|
2525 |
+
if (key in exports && exports[key] === _index230[key]) return;
|
2526 |
+
Object.defineProperty(exports, key, {
|
2527 |
+
enumerable: true,
|
2528 |
+
get: function () {
|
2529 |
+
return _index230[key];
|
2530 |
+
},
|
2531 |
+
});
|
2532 |
+
});
|
2533 |
+
var _index231 = require("./subHours.js");
|
2534 |
+
Object.keys(_index231).forEach(function (key) {
|
2535 |
+
if (key === "default" || key === "__esModule") return;
|
2536 |
+
if (key in exports && exports[key] === _index231[key]) return;
|
2537 |
+
Object.defineProperty(exports, key, {
|
2538 |
+
enumerable: true,
|
2539 |
+
get: function () {
|
2540 |
+
return _index231[key];
|
2541 |
+
},
|
2542 |
+
});
|
2543 |
+
});
|
2544 |
+
var _index232 = require("./subISOWeekYears.js");
|
2545 |
+
Object.keys(_index232).forEach(function (key) {
|
2546 |
+
if (key === "default" || key === "__esModule") return;
|
2547 |
+
if (key in exports && exports[key] === _index232[key]) return;
|
2548 |
+
Object.defineProperty(exports, key, {
|
2549 |
+
enumerable: true,
|
2550 |
+
get: function () {
|
2551 |
+
return _index232[key];
|
2552 |
+
},
|
2553 |
+
});
|
2554 |
+
});
|
2555 |
+
var _index233 = require("./subMilliseconds.js");
|
2556 |
+
Object.keys(_index233).forEach(function (key) {
|
2557 |
+
if (key === "default" || key === "__esModule") return;
|
2558 |
+
if (key in exports && exports[key] === _index233[key]) return;
|
2559 |
+
Object.defineProperty(exports, key, {
|
2560 |
+
enumerable: true,
|
2561 |
+
get: function () {
|
2562 |
+
return _index233[key];
|
2563 |
+
},
|
2564 |
+
});
|
2565 |
+
});
|
2566 |
+
var _index234 = require("./subMinutes.js");
|
2567 |
+
Object.keys(_index234).forEach(function (key) {
|
2568 |
+
if (key === "default" || key === "__esModule") return;
|
2569 |
+
if (key in exports && exports[key] === _index234[key]) return;
|
2570 |
+
Object.defineProperty(exports, key, {
|
2571 |
+
enumerable: true,
|
2572 |
+
get: function () {
|
2573 |
+
return _index234[key];
|
2574 |
+
},
|
2575 |
+
});
|
2576 |
+
});
|
2577 |
+
var _index235 = require("./subMonths.js");
|
2578 |
+
Object.keys(_index235).forEach(function (key) {
|
2579 |
+
if (key === "default" || key === "__esModule") return;
|
2580 |
+
if (key in exports && exports[key] === _index235[key]) return;
|
2581 |
+
Object.defineProperty(exports, key, {
|
2582 |
+
enumerable: true,
|
2583 |
+
get: function () {
|
2584 |
+
return _index235[key];
|
2585 |
+
},
|
2586 |
+
});
|
2587 |
+
});
|
2588 |
+
var _index236 = require("./subQuarters.js");
|
2589 |
+
Object.keys(_index236).forEach(function (key) {
|
2590 |
+
if (key === "default" || key === "__esModule") return;
|
2591 |
+
if (key in exports && exports[key] === _index236[key]) return;
|
2592 |
+
Object.defineProperty(exports, key, {
|
2593 |
+
enumerable: true,
|
2594 |
+
get: function () {
|
2595 |
+
return _index236[key];
|
2596 |
+
},
|
2597 |
+
});
|
2598 |
+
});
|
2599 |
+
var _index237 = require("./subSeconds.js");
|
2600 |
+
Object.keys(_index237).forEach(function (key) {
|
2601 |
+
if (key === "default" || key === "__esModule") return;
|
2602 |
+
if (key in exports && exports[key] === _index237[key]) return;
|
2603 |
+
Object.defineProperty(exports, key, {
|
2604 |
+
enumerable: true,
|
2605 |
+
get: function () {
|
2606 |
+
return _index237[key];
|
2607 |
+
},
|
2608 |
+
});
|
2609 |
+
});
|
2610 |
+
var _index238 = require("./subWeeks.js");
|
2611 |
+
Object.keys(_index238).forEach(function (key) {
|
2612 |
+
if (key === "default" || key === "__esModule") return;
|
2613 |
+
if (key in exports && exports[key] === _index238[key]) return;
|
2614 |
+
Object.defineProperty(exports, key, {
|
2615 |
+
enumerable: true,
|
2616 |
+
get: function () {
|
2617 |
+
return _index238[key];
|
2618 |
+
},
|
2619 |
+
});
|
2620 |
+
});
|
2621 |
+
var _index239 = require("./subYears.js");
|
2622 |
+
Object.keys(_index239).forEach(function (key) {
|
2623 |
+
if (key === "default" || key === "__esModule") return;
|
2624 |
+
if (key in exports && exports[key] === _index239[key]) return;
|
2625 |
+
Object.defineProperty(exports, key, {
|
2626 |
+
enumerable: true,
|
2627 |
+
get: function () {
|
2628 |
+
return _index239[key];
|
2629 |
+
},
|
2630 |
+
});
|
2631 |
+
});
|
2632 |
+
var _index240 = require("./toDate.js");
|
2633 |
+
Object.keys(_index240).forEach(function (key) {
|
2634 |
+
if (key === "default" || key === "__esModule") return;
|
2635 |
+
if (key in exports && exports[key] === _index240[key]) return;
|
2636 |
+
Object.defineProperty(exports, key, {
|
2637 |
+
enumerable: true,
|
2638 |
+
get: function () {
|
2639 |
+
return _index240[key];
|
2640 |
+
},
|
2641 |
+
});
|
2642 |
+
});
|
2643 |
+
var _index241 = require("./transpose.js");
|
2644 |
+
Object.keys(_index241).forEach(function (key) {
|
2645 |
+
if (key === "default" || key === "__esModule") return;
|
2646 |
+
if (key in exports && exports[key] === _index241[key]) return;
|
2647 |
+
Object.defineProperty(exports, key, {
|
2648 |
+
enumerable: true,
|
2649 |
+
get: function () {
|
2650 |
+
return _index241[key];
|
2651 |
+
},
|
2652 |
+
});
|
2653 |
+
});
|
2654 |
+
var _index242 = require("./weeksToDays.js");
|
2655 |
+
Object.keys(_index242).forEach(function (key) {
|
2656 |
+
if (key === "default" || key === "__esModule") return;
|
2657 |
+
if (key in exports && exports[key] === _index242[key]) return;
|
2658 |
+
Object.defineProperty(exports, key, {
|
2659 |
+
enumerable: true,
|
2660 |
+
get: function () {
|
2661 |
+
return _index242[key];
|
2662 |
+
},
|
2663 |
+
});
|
2664 |
+
});
|
2665 |
+
var _index243 = require("./yearsToDays.js");
|
2666 |
+
Object.keys(_index243).forEach(function (key) {
|
2667 |
+
if (key === "default" || key === "__esModule") return;
|
2668 |
+
if (key in exports && exports[key] === _index243[key]) return;
|
2669 |
+
Object.defineProperty(exports, key, {
|
2670 |
+
enumerable: true,
|
2671 |
+
get: function () {
|
2672 |
+
return _index243[key];
|
2673 |
+
},
|
2674 |
+
});
|
2675 |
+
});
|
2676 |
+
var _index244 = require("./yearsToMonths.js");
|
2677 |
+
Object.keys(_index244).forEach(function (key) {
|
2678 |
+
if (key === "default" || key === "__esModule") return;
|
2679 |
+
if (key in exports && exports[key] === _index244[key]) return;
|
2680 |
+
Object.defineProperty(exports, key, {
|
2681 |
+
enumerable: true,
|
2682 |
+
get: function () {
|
2683 |
+
return _index244[key];
|
2684 |
+
},
|
2685 |
+
});
|
2686 |
+
});
|
2687 |
+
var _index245 = require("./yearsToQuarters.js");
|
2688 |
+
Object.keys(_index245).forEach(function (key) {
|
2689 |
+
if (key === "default" || key === "__esModule") return;
|
2690 |
+
if (key in exports && exports[key] === _index245[key]) return;
|
2691 |
+
Object.defineProperty(exports, key, {
|
2692 |
+
enumerable: true,
|
2693 |
+
get: function () {
|
2694 |
+
return _index245[key];
|
2695 |
+
},
|
2696 |
+
});
|
2697 |
+
});
|
workersss/Autovideos-worker/shy-hill-f5c2/node_modules/date-fns/index.mjs
ADDED
@@ -0,0 +1,246 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
// This file is generated automatically by `scripts/build/indices.ts`. Please, don't change it.
|
2 |
+
export * from "./add.mjs";
|
3 |
+
export * from "./addBusinessDays.mjs";
|
4 |
+
export * from "./addDays.mjs";
|
5 |
+
export * from "./addHours.mjs";
|
6 |
+
export * from "./addISOWeekYears.mjs";
|
7 |
+
export * from "./addMilliseconds.mjs";
|
8 |
+
export * from "./addMinutes.mjs";
|
9 |
+
export * from "./addMonths.mjs";
|
10 |
+
export * from "./addQuarters.mjs";
|
11 |
+
export * from "./addSeconds.mjs";
|
12 |
+
export * from "./addWeeks.mjs";
|
13 |
+
export * from "./addYears.mjs";
|
14 |
+
export * from "./areIntervalsOverlapping.mjs";
|
15 |
+
export * from "./clamp.mjs";
|
16 |
+
export * from "./closestIndexTo.mjs";
|
17 |
+
export * from "./closestTo.mjs";
|
18 |
+
export * from "./compareAsc.mjs";
|
19 |
+
export * from "./compareDesc.mjs";
|
20 |
+
export * from "./constructFrom.mjs";
|
21 |
+
export * from "./constructNow.mjs";
|
22 |
+
export * from "./daysToWeeks.mjs";
|
23 |
+
export * from "./differenceInBusinessDays.mjs";
|
24 |
+
export * from "./differenceInCalendarDays.mjs";
|
25 |
+
export * from "./differenceInCalendarISOWeekYears.mjs";
|
26 |
+
export * from "./differenceInCalendarISOWeeks.mjs";
|
27 |
+
export * from "./differenceInCalendarMonths.mjs";
|
28 |
+
export * from "./differenceInCalendarQuarters.mjs";
|
29 |
+
export * from "./differenceInCalendarWeeks.mjs";
|
30 |
+
export * from "./differenceInCalendarYears.mjs";
|
31 |
+
export * from "./differenceInDays.mjs";
|
32 |
+
export * from "./differenceInHours.mjs";
|
33 |
+
export * from "./differenceInISOWeekYears.mjs";
|
34 |
+
export * from "./differenceInMilliseconds.mjs";
|
35 |
+
export * from "./differenceInMinutes.mjs";
|
36 |
+
export * from "./differenceInMonths.mjs";
|
37 |
+
export * from "./differenceInQuarters.mjs";
|
38 |
+
export * from "./differenceInSeconds.mjs";
|
39 |
+
export * from "./differenceInWeeks.mjs";
|
40 |
+
export * from "./differenceInYears.mjs";
|
41 |
+
export * from "./eachDayOfInterval.mjs";
|
42 |
+
export * from "./eachHourOfInterval.mjs";
|
43 |
+
export * from "./eachMinuteOfInterval.mjs";
|
44 |
+
export * from "./eachMonthOfInterval.mjs";
|
45 |
+
export * from "./eachQuarterOfInterval.mjs";
|
46 |
+
export * from "./eachWeekOfInterval.mjs";
|
47 |
+
export * from "./eachWeekendOfInterval.mjs";
|
48 |
+
export * from "./eachWeekendOfMonth.mjs";
|
49 |
+
export * from "./eachWeekendOfYear.mjs";
|
50 |
+
export * from "./eachYearOfInterval.mjs";
|
51 |
+
export * from "./endOfDay.mjs";
|
52 |
+
export * from "./endOfDecade.mjs";
|
53 |
+
export * from "./endOfHour.mjs";
|
54 |
+
export * from "./endOfISOWeek.mjs";
|
55 |
+
export * from "./endOfISOWeekYear.mjs";
|
56 |
+
export * from "./endOfMinute.mjs";
|
57 |
+
export * from "./endOfMonth.mjs";
|
58 |
+
export * from "./endOfQuarter.mjs";
|
59 |
+
export * from "./endOfSecond.mjs";
|
60 |
+
export * from "./endOfToday.mjs";
|
61 |
+
export * from "./endOfTomorrow.mjs";
|
62 |
+
export * from "./endOfWeek.mjs";
|
63 |
+
export * from "./endOfYear.mjs";
|
64 |
+
export * from "./endOfYesterday.mjs";
|
65 |
+
export * from "./format.mjs";
|
66 |
+
export * from "./formatDistance.mjs";
|
67 |
+
export * from "./formatDistanceStrict.mjs";
|
68 |
+
export * from "./formatDistanceToNow.mjs";
|
69 |
+
export * from "./formatDistanceToNowStrict.mjs";
|
70 |
+
export * from "./formatDuration.mjs";
|
71 |
+
export * from "./formatISO.mjs";
|
72 |
+
export * from "./formatISO9075.mjs";
|
73 |
+
export * from "./formatISODuration.mjs";
|
74 |
+
export * from "./formatRFC3339.mjs";
|
75 |
+
export * from "./formatRFC7231.mjs";
|
76 |
+
export * from "./formatRelative.mjs";
|
77 |
+
export * from "./fromUnixTime.mjs";
|
78 |
+
export * from "./getDate.mjs";
|
79 |
+
export * from "./getDay.mjs";
|
80 |
+
export * from "./getDayOfYear.mjs";
|
81 |
+
export * from "./getDaysInMonth.mjs";
|
82 |
+
export * from "./getDaysInYear.mjs";
|
83 |
+
export * from "./getDecade.mjs";
|
84 |
+
export * from "./getDefaultOptions.mjs";
|
85 |
+
export * from "./getHours.mjs";
|
86 |
+
export * from "./getISODay.mjs";
|
87 |
+
export * from "./getISOWeek.mjs";
|
88 |
+
export * from "./getISOWeekYear.mjs";
|
89 |
+
export * from "./getISOWeeksInYear.mjs";
|
90 |
+
export * from "./getMilliseconds.mjs";
|
91 |
+
export * from "./getMinutes.mjs";
|
92 |
+
export * from "./getMonth.mjs";
|
93 |
+
export * from "./getOverlappingDaysInIntervals.mjs";
|
94 |
+
export * from "./getQuarter.mjs";
|
95 |
+
export * from "./getSeconds.mjs";
|
96 |
+
export * from "./getTime.mjs";
|
97 |
+
export * from "./getUnixTime.mjs";
|
98 |
+
export * from "./getWeek.mjs";
|
99 |
+
export * from "./getWeekOfMonth.mjs";
|
100 |
+
export * from "./getWeekYear.mjs";
|
101 |
+
export * from "./getWeeksInMonth.mjs";
|
102 |
+
export * from "./getYear.mjs";
|
103 |
+
export * from "./hoursToMilliseconds.mjs";
|
104 |
+
export * from "./hoursToMinutes.mjs";
|
105 |
+
export * from "./hoursToSeconds.mjs";
|
106 |
+
export * from "./interval.mjs";
|
107 |
+
export * from "./intervalToDuration.mjs";
|
108 |
+
export * from "./intlFormat.mjs";
|
109 |
+
export * from "./intlFormatDistance.mjs";
|
110 |
+
export * from "./isAfter.mjs";
|
111 |
+
export * from "./isBefore.mjs";
|
112 |
+
export * from "./isDate.mjs";
|
113 |
+
export * from "./isEqual.mjs";
|
114 |
+
export * from "./isExists.mjs";
|
115 |
+
export * from "./isFirstDayOfMonth.mjs";
|
116 |
+
export * from "./isFriday.mjs";
|
117 |
+
export * from "./isFuture.mjs";
|
118 |
+
export * from "./isLastDayOfMonth.mjs";
|
119 |
+
export * from "./isLeapYear.mjs";
|
120 |
+
export * from "./isMatch.mjs";
|
121 |
+
export * from "./isMonday.mjs";
|
122 |
+
export * from "./isPast.mjs";
|
123 |
+
export * from "./isSameDay.mjs";
|
124 |
+
export * from "./isSameHour.mjs";
|
125 |
+
export * from "./isSameISOWeek.mjs";
|
126 |
+
export * from "./isSameISOWeekYear.mjs";
|
127 |
+
export * from "./isSameMinute.mjs";
|
128 |
+
export * from "./isSameMonth.mjs";
|
129 |
+
export * from "./isSameQuarter.mjs";
|
130 |
+
export * from "./isSameSecond.mjs";
|
131 |
+
export * from "./isSameWeek.mjs";
|
132 |
+
export * from "./isSameYear.mjs";
|
133 |
+
export * from "./isSaturday.mjs";
|
134 |
+
export * from "./isSunday.mjs";
|
135 |
+
export * from "./isThisHour.mjs";
|
136 |
+
export * from "./isThisISOWeek.mjs";
|
137 |
+
export * from "./isThisMinute.mjs";
|
138 |
+
export * from "./isThisMonth.mjs";
|
139 |
+
export * from "./isThisQuarter.mjs";
|
140 |
+
export * from "./isThisSecond.mjs";
|
141 |
+
export * from "./isThisWeek.mjs";
|
142 |
+
export * from "./isThisYear.mjs";
|
143 |
+
export * from "./isThursday.mjs";
|
144 |
+
export * from "./isToday.mjs";
|
145 |
+
export * from "./isTomorrow.mjs";
|
146 |
+
export * from "./isTuesday.mjs";
|
147 |
+
export * from "./isValid.mjs";
|
148 |
+
export * from "./isWednesday.mjs";
|
149 |
+
export * from "./isWeekend.mjs";
|
150 |
+
export * from "./isWithinInterval.mjs";
|
151 |
+
export * from "./isYesterday.mjs";
|
152 |
+
export * from "./lastDayOfDecade.mjs";
|
153 |
+
export * from "./lastDayOfISOWeek.mjs";
|
154 |
+
export * from "./lastDayOfISOWeekYear.mjs";
|
155 |
+
export * from "./lastDayOfMonth.mjs";
|
156 |
+
export * from "./lastDayOfQuarter.mjs";
|
157 |
+
export * from "./lastDayOfWeek.mjs";
|
158 |
+
export * from "./lastDayOfYear.mjs";
|
159 |
+
export * from "./lightFormat.mjs";
|
160 |
+
export * from "./max.mjs";
|
161 |
+
export * from "./milliseconds.mjs";
|
162 |
+
export * from "./millisecondsToHours.mjs";
|
163 |
+
export * from "./millisecondsToMinutes.mjs";
|
164 |
+
export * from "./millisecondsToSeconds.mjs";
|
165 |
+
export * from "./min.mjs";
|
166 |
+
export * from "./minutesToHours.mjs";
|
167 |
+
export * from "./minutesToMilliseconds.mjs";
|
168 |
+
export * from "./minutesToSeconds.mjs";
|
169 |
+
export * from "./monthsToQuarters.mjs";
|
170 |
+
export * from "./monthsToYears.mjs";
|
171 |
+
export * from "./nextDay.mjs";
|
172 |
+
export * from "./nextFriday.mjs";
|
173 |
+
export * from "./nextMonday.mjs";
|
174 |
+
export * from "./nextSaturday.mjs";
|
175 |
+
export * from "./nextSunday.mjs";
|
176 |
+
export * from "./nextThursday.mjs";
|
177 |
+
export * from "./nextTuesday.mjs";
|
178 |
+
export * from "./nextWednesday.mjs";
|
179 |
+
export * from "./parse.mjs";
|
180 |
+
export * from "./parseISO.mjs";
|
181 |
+
export * from "./parseJSON.mjs";
|
182 |
+
export * from "./previousDay.mjs";
|
183 |
+
export * from "./previousFriday.mjs";
|
184 |
+
export * from "./previousMonday.mjs";
|
185 |
+
export * from "./previousSaturday.mjs";
|
186 |
+
export * from "./previousSunday.mjs";
|
187 |
+
export * from "./previousThursday.mjs";
|
188 |
+
export * from "./previousTuesday.mjs";
|
189 |
+
export * from "./previousWednesday.mjs";
|
190 |
+
export * from "./quartersToMonths.mjs";
|
191 |
+
export * from "./quartersToYears.mjs";
|
192 |
+
export * from "./roundToNearestHours.mjs";
|
193 |
+
export * from "./roundToNearestMinutes.mjs";
|
194 |
+
export * from "./secondsToHours.mjs";
|
195 |
+
export * from "./secondsToMilliseconds.mjs";
|
196 |
+
export * from "./secondsToMinutes.mjs";
|
197 |
+
export * from "./set.mjs";
|
198 |
+
export * from "./setDate.mjs";
|
199 |
+
export * from "./setDay.mjs";
|
200 |
+
export * from "./setDayOfYear.mjs";
|
201 |
+
export * from "./setDefaultOptions.mjs";
|
202 |
+
export * from "./setHours.mjs";
|
203 |
+
export * from "./setISODay.mjs";
|
204 |
+
export * from "./setISOWeek.mjs";
|
205 |
+
export * from "./setISOWeekYear.mjs";
|
206 |
+
export * from "./setMilliseconds.mjs";
|
207 |
+
export * from "./setMinutes.mjs";
|
208 |
+
export * from "./setMonth.mjs";
|
209 |
+
export * from "./setQuarter.mjs";
|
210 |
+
export * from "./setSeconds.mjs";
|
211 |
+
export * from "./setWeek.mjs";
|
212 |
+
export * from "./setWeekYear.mjs";
|
213 |
+
export * from "./setYear.mjs";
|
214 |
+
export * from "./startOfDay.mjs";
|
215 |
+
export * from "./startOfDecade.mjs";
|
216 |
+
export * from "./startOfHour.mjs";
|
217 |
+
export * from "./startOfISOWeek.mjs";
|
218 |
+
export * from "./startOfISOWeekYear.mjs";
|
219 |
+
export * from "./startOfMinute.mjs";
|
220 |
+
export * from "./startOfMonth.mjs";
|
221 |
+
export * from "./startOfQuarter.mjs";
|
222 |
+
export * from "./startOfSecond.mjs";
|
223 |
+
export * from "./startOfToday.mjs";
|
224 |
+
export * from "./startOfTomorrow.mjs";
|
225 |
+
export * from "./startOfWeek.mjs";
|
226 |
+
export * from "./startOfWeekYear.mjs";
|
227 |
+
export * from "./startOfYear.mjs";
|
228 |
+
export * from "./startOfYesterday.mjs";
|
229 |
+
export * from "./sub.mjs";
|
230 |
+
export * from "./subBusinessDays.mjs";
|
231 |
+
export * from "./subDays.mjs";
|
232 |
+
export * from "./subHours.mjs";
|
233 |
+
export * from "./subISOWeekYears.mjs";
|
234 |
+
export * from "./subMilliseconds.mjs";
|
235 |
+
export * from "./subMinutes.mjs";
|
236 |
+
export * from "./subMonths.mjs";
|
237 |
+
export * from "./subQuarters.mjs";
|
238 |
+
export * from "./subSeconds.mjs";
|
239 |
+
export * from "./subWeeks.mjs";
|
240 |
+
export * from "./subYears.mjs";
|
241 |
+
export * from "./toDate.mjs";
|
242 |
+
export * from "./transpose.mjs";
|
243 |
+
export * from "./weeksToDays.mjs";
|
244 |
+
export * from "./yearsToDays.mjs";
|
245 |
+
export * from "./yearsToMonths.mjs";
|
246 |
+
export * from "./yearsToQuarters.mjs";
|
workersss/Autovideos-worker/shy-hill-f5c2/node_modules/date-fns/interval.d.mts
ADDED
@@ -0,0 +1,33 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
import type { NormalizedInterval } from "./types.js";
|
2 |
+
/**
|
3 |
+
* The {@link interval} function options.
|
4 |
+
*/
|
5 |
+
export interface IntervalOptions {
|
6 |
+
/** Asserts that the interval is positive (start is after the end). */
|
7 |
+
assertPositive?: boolean;
|
8 |
+
}
|
9 |
+
/**
|
10 |
+
* @name interval
|
11 |
+
* @category Interval Helpers
|
12 |
+
* @summary Creates an interval object and validates its values.
|
13 |
+
*
|
14 |
+
* @description
|
15 |
+
* Creates a normalized interval object and validates its values. If the interval is invalid, an exception is thrown.
|
16 |
+
*
|
17 |
+
* @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).
|
18 |
+
*
|
19 |
+
* @param start - The start of the interval.
|
20 |
+
* @param end - The end of the interval.
|
21 |
+
* @param options - The options object.
|
22 |
+
*
|
23 |
+
* @throws `Start date is invalid` when `start` is invalid.
|
24 |
+
* @throws `End date is invalid` when `end` is invalid.
|
25 |
+
* @throws `End date must be after start date` when end is before `start` and `options.assertPositive` is true.
|
26 |
+
*
|
27 |
+
* @returns The normalized and validated interval object.
|
28 |
+
*/
|
29 |
+
export declare function interval<DateType extends Date>(
|
30 |
+
start: DateType | number | string,
|
31 |
+
end: DateType | number | string,
|
32 |
+
options?: IntervalOptions,
|
33 |
+
): NormalizedInterval<DateType>;
|
workersss/Autovideos-worker/shy-hill-f5c2/node_modules/date-fns/interval.d.ts
ADDED
@@ -0,0 +1,33 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
import type { NormalizedInterval } from "./types.js";
|
2 |
+
/**
|
3 |
+
* The {@link interval} function options.
|
4 |
+
*/
|
5 |
+
export interface IntervalOptions {
|
6 |
+
/** Asserts that the interval is positive (start is after the end). */
|
7 |
+
assertPositive?: boolean;
|
8 |
+
}
|
9 |
+
/**
|
10 |
+
* @name interval
|
11 |
+
* @category Interval Helpers
|
12 |
+
* @summary Creates an interval object and validates its values.
|
13 |
+
*
|
14 |
+
* @description
|
15 |
+
* Creates a normalized interval object and validates its values. If the interval is invalid, an exception is thrown.
|
16 |
+
*
|
17 |
+
* @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).
|
18 |
+
*
|
19 |
+
* @param start - The start of the interval.
|
20 |
+
* @param end - The end of the interval.
|
21 |
+
* @param options - The options object.
|
22 |
+
*
|
23 |
+
* @throws `Start date is invalid` when `start` is invalid.
|
24 |
+
* @throws `End date is invalid` when `end` is invalid.
|
25 |
+
* @throws `End date must be after start date` when end is before `start` and `options.assertPositive` is true.
|
26 |
+
*
|
27 |
+
* @returns The normalized and validated interval object.
|
28 |
+
*/
|
29 |
+
export declare function interval<DateType extends Date>(
|
30 |
+
start: DateType | number | string,
|
31 |
+
end: DateType | number | string,
|
32 |
+
options?: IntervalOptions,
|
33 |
+
): NormalizedInterval<DateType>;
|
workersss/Autovideos-worker/shy-hill-f5c2/node_modules/date-fns/interval.js
ADDED
@@ -0,0 +1,40 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
"use strict";
|
2 |
+
exports.interval = interval;
|
3 |
+
var _index = require("./toDate.js");
|
4 |
+
|
5 |
+
/**
|
6 |
+
* The {@link interval} function options.
|
7 |
+
*/
|
8 |
+
|
9 |
+
/**
|
10 |
+
* @name interval
|
11 |
+
* @category Interval Helpers
|
12 |
+
* @summary Creates an interval object and validates its values.
|
13 |
+
*
|
14 |
+
* @description
|
15 |
+
* Creates a normalized interval object and validates its values. If the interval is invalid, an exception is thrown.
|
16 |
+
*
|
17 |
+
* @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).
|
18 |
+
*
|
19 |
+
* @param start - The start of the interval.
|
20 |
+
* @param end - The end of the interval.
|
21 |
+
* @param options - The options object.
|
22 |
+
*
|
23 |
+
* @throws `Start date is invalid` when `start` is invalid.
|
24 |
+
* @throws `End date is invalid` when `end` is invalid.
|
25 |
+
* @throws `End date must be after start date` when end is before `start` and `options.assertPositive` is true.
|
26 |
+
*
|
27 |
+
* @returns The normalized and validated interval object.
|
28 |
+
*/
|
29 |
+
function interval(start, end, options) {
|
30 |
+
const _start = (0, _index.toDate)(start);
|
31 |
+
if (isNaN(+_start)) throw new TypeError("Start date is invalid");
|
32 |
+
|
33 |
+
const _end = (0, _index.toDate)(end);
|
34 |
+
if (isNaN(+_end)) throw new TypeError("End date is invalid");
|
35 |
+
|
36 |
+
if (options?.assertPositive && +_start > +_end)
|
37 |
+
throw new TypeError("End date must be after start date");
|
38 |
+
|
39 |
+
return { start: _start, end: _end };
|
40 |
+
}
|
workersss/Autovideos-worker/shy-hill-f5c2/node_modules/date-fns/interval.mjs
ADDED
@@ -0,0 +1,41 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
import { toDate } from "./toDate.mjs";
|
2 |
+
|
3 |
+
/**
|
4 |
+
* The {@link interval} function options.
|
5 |
+
*/
|
6 |
+
|
7 |
+
/**
|
8 |
+
* @name interval
|
9 |
+
* @category Interval Helpers
|
10 |
+
* @summary Creates an interval object and validates its values.
|
11 |
+
*
|
12 |
+
* @description
|
13 |
+
* Creates a normalized interval object and validates its values. If the interval is invalid, an exception is thrown.
|
14 |
+
*
|
15 |
+
* @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).
|
16 |
+
*
|
17 |
+
* @param start - The start of the interval.
|
18 |
+
* @param end - The end of the interval.
|
19 |
+
* @param options - The options object.
|
20 |
+
*
|
21 |
+
* @throws `Start date is invalid` when `start` is invalid.
|
22 |
+
* @throws `End date is invalid` when `end` is invalid.
|
23 |
+
* @throws `End date must be after start date` when end is before `start` and `options.assertPositive` is true.
|
24 |
+
*
|
25 |
+
* @returns The normalized and validated interval object.
|
26 |
+
*/
|
27 |
+
export function interval(start, end, options) {
|
28 |
+
const _start = toDate(start);
|
29 |
+
if (isNaN(+_start)) throw new TypeError("Start date is invalid");
|
30 |
+
|
31 |
+
const _end = toDate(end);
|
32 |
+
if (isNaN(+_end)) throw new TypeError("End date is invalid");
|
33 |
+
|
34 |
+
if (options?.assertPositive && +_start > +_end)
|
35 |
+
throw new TypeError("End date must be after start date");
|
36 |
+
|
37 |
+
return { start: _start, end: _end };
|
38 |
+
}
|
39 |
+
|
40 |
+
// Fallback for modularized imports:
|
41 |
+
export default interval;
|
workersss/Autovideos-worker/shy-hill-f5c2/node_modules/date-fns/intervalToDuration.d.mts
ADDED
@@ -0,0 +1,26 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
import type { Duration, Interval } from "./types.js";
|
2 |
+
/**
|
3 |
+
* @name intervalToDuration
|
4 |
+
* @category Common Helpers
|
5 |
+
* @summary Convert interval to duration
|
6 |
+
*
|
7 |
+
* @description
|
8 |
+
* Convert a interval object to a duration object.
|
9 |
+
*
|
10 |
+
* @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).
|
11 |
+
*
|
12 |
+
* @param interval - The interval to convert to duration
|
13 |
+
*
|
14 |
+
* @returns The duration object
|
15 |
+
*
|
16 |
+
* @example
|
17 |
+
* // Get the duration between January 15, 1929 and April 4, 1968.
|
18 |
+
* intervalToDuration({
|
19 |
+
* start: new Date(1929, 0, 15, 12, 0, 0),
|
20 |
+
* end: new Date(1968, 3, 4, 19, 5, 0)
|
21 |
+
* })
|
22 |
+
* // => { years: 39, months: 2, days: 20, hours: 7, minutes: 5, seconds: 0 }
|
23 |
+
*/
|
24 |
+
export declare function intervalToDuration<DateType extends Date>(
|
25 |
+
interval: Interval<DateType>,
|
26 |
+
): Duration;
|
workersss/Autovideos-worker/shy-hill-f5c2/node_modules/date-fns/intervalToDuration.d.ts
ADDED
@@ -0,0 +1,26 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
import type { Duration, Interval } from "./types.js";
|
2 |
+
/**
|
3 |
+
* @name intervalToDuration
|
4 |
+
* @category Common Helpers
|
5 |
+
* @summary Convert interval to duration
|
6 |
+
*
|
7 |
+
* @description
|
8 |
+
* Convert a interval object to a duration object.
|
9 |
+
*
|
10 |
+
* @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).
|
11 |
+
*
|
12 |
+
* @param interval - The interval to convert to duration
|
13 |
+
*
|
14 |
+
* @returns The duration object
|
15 |
+
*
|
16 |
+
* @example
|
17 |
+
* // Get the duration between January 15, 1929 and April 4, 1968.
|
18 |
+
* intervalToDuration({
|
19 |
+
* start: new Date(1929, 0, 15, 12, 0, 0),
|
20 |
+
* end: new Date(1968, 3, 4, 19, 5, 0)
|
21 |
+
* })
|
22 |
+
* // => { years: 39, months: 2, days: 20, hours: 7, minutes: 5, seconds: 0 }
|
23 |
+
*/
|
24 |
+
export declare function intervalToDuration<DateType extends Date>(
|
25 |
+
interval: Interval<DateType>,
|
26 |
+
): Duration;
|
workersss/Autovideos-worker/shy-hill-f5c2/node_modules/date-fns/intervalToDuration.js
ADDED
@@ -0,0 +1,77 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
"use strict";
|
2 |
+
exports.intervalToDuration = intervalToDuration;
|
3 |
+
var _index = require("./add.js");
|
4 |
+
var _index2 = require("./differenceInDays.js");
|
5 |
+
var _index3 = require("./differenceInHours.js");
|
6 |
+
var _index4 = require("./differenceInMinutes.js");
|
7 |
+
var _index5 = require("./differenceInMonths.js");
|
8 |
+
var _index6 = require("./differenceInSeconds.js");
|
9 |
+
var _index7 = require("./differenceInYears.js");
|
10 |
+
var _index8 = require("./toDate.js");
|
11 |
+
|
12 |
+
/**
|
13 |
+
* @name intervalToDuration
|
14 |
+
* @category Common Helpers
|
15 |
+
* @summary Convert interval to duration
|
16 |
+
*
|
17 |
+
* @description
|
18 |
+
* Convert a interval object to a duration object.
|
19 |
+
*
|
20 |
+
* @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).
|
21 |
+
*
|
22 |
+
* @param interval - The interval to convert to duration
|
23 |
+
*
|
24 |
+
* @returns The duration object
|
25 |
+
*
|
26 |
+
* @example
|
27 |
+
* // Get the duration between January 15, 1929 and April 4, 1968.
|
28 |
+
* intervalToDuration({
|
29 |
+
* start: new Date(1929, 0, 15, 12, 0, 0),
|
30 |
+
* end: new Date(1968, 3, 4, 19, 5, 0)
|
31 |
+
* })
|
32 |
+
* // => { years: 39, months: 2, days: 20, hours: 7, minutes: 5, seconds: 0 }
|
33 |
+
*/
|
34 |
+
function intervalToDuration(interval) {
|
35 |
+
const start = (0, _index8.toDate)(interval.start);
|
36 |
+
const end = (0, _index8.toDate)(interval.end);
|
37 |
+
|
38 |
+
const duration = {};
|
39 |
+
|
40 |
+
const years = (0, _index7.differenceInYears)(end, start);
|
41 |
+
if (years) duration.years = years;
|
42 |
+
|
43 |
+
const remainingMonths = (0, _index.add)(start, { years: duration.years });
|
44 |
+
|
45 |
+
const months = (0, _index5.differenceInMonths)(end, remainingMonths);
|
46 |
+
if (months) duration.months = months;
|
47 |
+
|
48 |
+
const remainingDays = (0, _index.add)(remainingMonths, {
|
49 |
+
months: duration.months,
|
50 |
+
});
|
51 |
+
|
52 |
+
const days = (0, _index2.differenceInDays)(end, remainingDays);
|
53 |
+
if (days) duration.days = days;
|
54 |
+
|
55 |
+
const remainingHours = (0, _index.add)(remainingDays, {
|
56 |
+
days: duration.days,
|
57 |
+
});
|
58 |
+
|
59 |
+
const hours = (0, _index3.differenceInHours)(end, remainingHours);
|
60 |
+
if (hours) duration.hours = hours;
|
61 |
+
|
62 |
+
const remainingMinutes = (0, _index.add)(remainingHours, {
|
63 |
+
hours: duration.hours,
|
64 |
+
});
|
65 |
+
|
66 |
+
const minutes = (0, _index4.differenceInMinutes)(end, remainingMinutes);
|
67 |
+
if (minutes) duration.minutes = minutes;
|
68 |
+
|
69 |
+
const remainingSeconds = (0, _index.add)(remainingMinutes, {
|
70 |
+
minutes: duration.minutes,
|
71 |
+
});
|
72 |
+
|
73 |
+
const seconds = (0, _index6.differenceInSeconds)(end, remainingSeconds);
|
74 |
+
if (seconds) duration.seconds = seconds;
|
75 |
+
|
76 |
+
return duration;
|
77 |
+
}
|
workersss/Autovideos-worker/shy-hill-f5c2/node_modules/date-fns/intervalToDuration.mjs
ADDED
@@ -0,0 +1,70 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
import { add } from "./add.mjs";
|
2 |
+
import { differenceInDays } from "./differenceInDays.mjs";
|
3 |
+
import { differenceInHours } from "./differenceInHours.mjs";
|
4 |
+
import { differenceInMinutes } from "./differenceInMinutes.mjs";
|
5 |
+
import { differenceInMonths } from "./differenceInMonths.mjs";
|
6 |
+
import { differenceInSeconds } from "./differenceInSeconds.mjs";
|
7 |
+
import { differenceInYears } from "./differenceInYears.mjs";
|
8 |
+
import { toDate } from "./toDate.mjs";
|
9 |
+
|
10 |
+
/**
|
11 |
+
* @name intervalToDuration
|
12 |
+
* @category Common Helpers
|
13 |
+
* @summary Convert interval to duration
|
14 |
+
*
|
15 |
+
* @description
|
16 |
+
* Convert a interval object to a duration object.
|
17 |
+
*
|
18 |
+
* @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).
|
19 |
+
*
|
20 |
+
* @param interval - The interval to convert to duration
|
21 |
+
*
|
22 |
+
* @returns The duration object
|
23 |
+
*
|
24 |
+
* @example
|
25 |
+
* // Get the duration between January 15, 1929 and April 4, 1968.
|
26 |
+
* intervalToDuration({
|
27 |
+
* start: new Date(1929, 0, 15, 12, 0, 0),
|
28 |
+
* end: new Date(1968, 3, 4, 19, 5, 0)
|
29 |
+
* })
|
30 |
+
* // => { years: 39, months: 2, days: 20, hours: 7, minutes: 5, seconds: 0 }
|
31 |
+
*/
|
32 |
+
export function intervalToDuration(interval) {
|
33 |
+
const start = toDate(interval.start);
|
34 |
+
const end = toDate(interval.end);
|
35 |
+
|
36 |
+
const duration = {};
|
37 |
+
|
38 |
+
const years = differenceInYears(end, start);
|
39 |
+
if (years) duration.years = years;
|
40 |
+
|
41 |
+
const remainingMonths = add(start, { years: duration.years });
|
42 |
+
|
43 |
+
const months = differenceInMonths(end, remainingMonths);
|
44 |
+
if (months) duration.months = months;
|
45 |
+
|
46 |
+
const remainingDays = add(remainingMonths, { months: duration.months });
|
47 |
+
|
48 |
+
const days = differenceInDays(end, remainingDays);
|
49 |
+
if (days) duration.days = days;
|
50 |
+
|
51 |
+
const remainingHours = add(remainingDays, { days: duration.days });
|
52 |
+
|
53 |
+
const hours = differenceInHours(end, remainingHours);
|
54 |
+
if (hours) duration.hours = hours;
|
55 |
+
|
56 |
+
const remainingMinutes = add(remainingHours, { hours: duration.hours });
|
57 |
+
|
58 |
+
const minutes = differenceInMinutes(end, remainingMinutes);
|
59 |
+
if (minutes) duration.minutes = minutes;
|
60 |
+
|
61 |
+
const remainingSeconds = add(remainingMinutes, { minutes: duration.minutes });
|
62 |
+
|
63 |
+
const seconds = differenceInSeconds(end, remainingSeconds);
|
64 |
+
if (seconds) duration.seconds = seconds;
|
65 |
+
|
66 |
+
return duration;
|
67 |
+
}
|
68 |
+
|
69 |
+
// Fallback for modularized imports:
|
70 |
+
export default intervalToDuration;
|
workersss/Autovideos-worker/shy-hill-f5c2/node_modules/date-fns/intlFormat.d.mts
ADDED
@@ -0,0 +1,119 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
/**
|
2 |
+
* The locale string (see: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl#locales_argument).
|
3 |
+
*/
|
4 |
+
export type IntlFormatLocale = Intl.ResolvedDateTimeFormatOptions["locale"];
|
5 |
+
/**
|
6 |
+
* The format options (see: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/DateTimeFormat/DateTimeFormat#options)
|
7 |
+
*/
|
8 |
+
export type IntlFormatFormatOptions = Intl.DateTimeFormatOptions;
|
9 |
+
/**
|
10 |
+
* The locale options.
|
11 |
+
*/
|
12 |
+
export interface IntlFormatLocaleOptions {
|
13 |
+
/** The locale(s) to use (see: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl#locales_argument) */
|
14 |
+
locale: IntlFormatLocale | IntlFormatLocale[];
|
15 |
+
}
|
16 |
+
/**
|
17 |
+
* @name intlFormat
|
18 |
+
* @category Common Helpers
|
19 |
+
* @summary Format the date with Intl.DateTimeFormat (https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/DateTimeFormat).
|
20 |
+
*
|
21 |
+
* @description
|
22 |
+
* Return the formatted date string in the given format.
|
23 |
+
* The method uses [`Intl.DateTimeFormat`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/DateTimeFormat) inside.
|
24 |
+
* formatOptions are the same as [`Intl.DateTimeFormat` options](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/DateTimeFormat#using_options)
|
25 |
+
*
|
26 |
+
* > ⚠️ Please note that before Node version 13.0.0, only the locale data for en-US is available by default.
|
27 |
+
*
|
28 |
+
* @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).
|
29 |
+
*
|
30 |
+
* @param date - The date to format
|
31 |
+
*
|
32 |
+
* @returns The formatted date string
|
33 |
+
*
|
34 |
+
* @throws `date` must not be Invalid Date
|
35 |
+
*
|
36 |
+
* @example
|
37 |
+
* // Represent 4 October 2019 in middle-endian format:
|
38 |
+
* const result = intlFormat(new Date(2019, 9, 4, 12, 30, 13, 456))
|
39 |
+
* //=> 10/4/2019
|
40 |
+
*/
|
41 |
+
export declare function intlFormat<DateType extends Date>(
|
42 |
+
date: DateType | number | string,
|
43 |
+
): string;
|
44 |
+
/**
|
45 |
+
* @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).
|
46 |
+
*
|
47 |
+
* @param date - The date to format
|
48 |
+
* @param localeOptions - An object with locale
|
49 |
+
*
|
50 |
+
* @returns The formatted date string
|
51 |
+
*
|
52 |
+
* @throws `date` must not be Invalid Date
|
53 |
+
*
|
54 |
+
* @example
|
55 |
+
* // Represent 4 October 2019 in Korean.
|
56 |
+
* // Convert the date with locale's options.
|
57 |
+
* const result = intlFormat(new Date(2019, 9, 4, 12, 30, 13, 456), {
|
58 |
+
* locale: 'ko-KR',
|
59 |
+
* })
|
60 |
+
* //=> 2019. 10. 4.
|
61 |
+
*/
|
62 |
+
export declare function intlFormat<DateType extends Date>(
|
63 |
+
date: DateType | number | string,
|
64 |
+
localeOptions: IntlFormatLocaleOptions,
|
65 |
+
): string;
|
66 |
+
/**
|
67 |
+
* @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).
|
68 |
+
*
|
69 |
+
* @param date - The date to format
|
70 |
+
* @param formatOptions - The format options
|
71 |
+
*
|
72 |
+
* @returns The formatted date string
|
73 |
+
*
|
74 |
+
* @throws `date` must not be Invalid Date
|
75 |
+
*
|
76 |
+
* @example
|
77 |
+
* // Represent 4 October 2019.
|
78 |
+
* // Convert the date with format's options.
|
79 |
+
* const result = intlFormat.default(new Date(2019, 9, 4, 12, 30, 13, 456), {
|
80 |
+
* year: 'numeric',
|
81 |
+
* month: 'numeric',
|
82 |
+
* day: 'numeric',
|
83 |
+
* hour: 'numeric',
|
84 |
+
* })
|
85 |
+
* //=> 10/4/2019, 12 PM
|
86 |
+
*/
|
87 |
+
export declare function intlFormat<DateType extends Date>(
|
88 |
+
date: DateType | number | string,
|
89 |
+
formatOptions: IntlFormatFormatOptions,
|
90 |
+
): string;
|
91 |
+
/**
|
92 |
+
* @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).
|
93 |
+
*
|
94 |
+
* @param date - The date to format
|
95 |
+
* @param formatOptions - The format options
|
96 |
+
* @param localeOptions - An object with locale
|
97 |
+
*
|
98 |
+
* @returns The formatted date string
|
99 |
+
*
|
100 |
+
* @throws `date` must not be Invalid Date
|
101 |
+
*
|
102 |
+
* @example
|
103 |
+
* // Represent 4 October 2019 in German.
|
104 |
+
* // Convert the date with format's options and locale's options.
|
105 |
+
* const result = intlFormat(new Date(2019, 9, 4, 12, 30, 13, 456), {
|
106 |
+
* weekday: 'long',
|
107 |
+
* year: 'numeric',
|
108 |
+
* month: 'long',
|
109 |
+
* day: 'numeric',
|
110 |
+
* }, {
|
111 |
+
* locale: 'de-DE',
|
112 |
+
* })
|
113 |
+
* //=> Freitag, 4. Oktober 2019
|
114 |
+
*/
|
115 |
+
export declare function intlFormat<DateType extends Date>(
|
116 |
+
date: DateType | number | string,
|
117 |
+
formatOptions: IntlFormatFormatOptions,
|
118 |
+
localeOptions: IntlFormatLocaleOptions,
|
119 |
+
): string;
|
workersss/Autovideos-worker/shy-hill-f5c2/node_modules/date-fns/intlFormat.d.ts
ADDED
@@ -0,0 +1,119 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
/**
|
2 |
+
* The locale string (see: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl#locales_argument).
|
3 |
+
*/
|
4 |
+
export type IntlFormatLocale = Intl.ResolvedDateTimeFormatOptions["locale"];
|
5 |
+
/**
|
6 |
+
* The format options (see: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/DateTimeFormat/DateTimeFormat#options)
|
7 |
+
*/
|
8 |
+
export type IntlFormatFormatOptions = Intl.DateTimeFormatOptions;
|
9 |
+
/**
|
10 |
+
* The locale options.
|
11 |
+
*/
|
12 |
+
export interface IntlFormatLocaleOptions {
|
13 |
+
/** The locale(s) to use (see: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl#locales_argument) */
|
14 |
+
locale: IntlFormatLocale | IntlFormatLocale[];
|
15 |
+
}
|
16 |
+
/**
|
17 |
+
* @name intlFormat
|
18 |
+
* @category Common Helpers
|
19 |
+
* @summary Format the date with Intl.DateTimeFormat (https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/DateTimeFormat).
|
20 |
+
*
|
21 |
+
* @description
|
22 |
+
* Return the formatted date string in the given format.
|
23 |
+
* The method uses [`Intl.DateTimeFormat`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/DateTimeFormat) inside.
|
24 |
+
* formatOptions are the same as [`Intl.DateTimeFormat` options](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/DateTimeFormat#using_options)
|
25 |
+
*
|
26 |
+
* > ⚠️ Please note that before Node version 13.0.0, only the locale data for en-US is available by default.
|
27 |
+
*
|
28 |
+
* @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).
|
29 |
+
*
|
30 |
+
* @param date - The date to format
|
31 |
+
*
|
32 |
+
* @returns The formatted date string
|
33 |
+
*
|
34 |
+
* @throws `date` must not be Invalid Date
|
35 |
+
*
|
36 |
+
* @example
|
37 |
+
* // Represent 4 October 2019 in middle-endian format:
|
38 |
+
* const result = intlFormat(new Date(2019, 9, 4, 12, 30, 13, 456))
|
39 |
+
* //=> 10/4/2019
|
40 |
+
*/
|
41 |
+
export declare function intlFormat<DateType extends Date>(
|
42 |
+
date: DateType | number | string,
|
43 |
+
): string;
|
44 |
+
/**
|
45 |
+
* @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).
|
46 |
+
*
|
47 |
+
* @param date - The date to format
|
48 |
+
* @param localeOptions - An object with locale
|
49 |
+
*
|
50 |
+
* @returns The formatted date string
|
51 |
+
*
|
52 |
+
* @throws `date` must not be Invalid Date
|
53 |
+
*
|
54 |
+
* @example
|
55 |
+
* // Represent 4 October 2019 in Korean.
|
56 |
+
* // Convert the date with locale's options.
|
57 |
+
* const result = intlFormat(new Date(2019, 9, 4, 12, 30, 13, 456), {
|
58 |
+
* locale: 'ko-KR',
|
59 |
+
* })
|
60 |
+
* //=> 2019. 10. 4.
|
61 |
+
*/
|
62 |
+
export declare function intlFormat<DateType extends Date>(
|
63 |
+
date: DateType | number | string,
|
64 |
+
localeOptions: IntlFormatLocaleOptions,
|
65 |
+
): string;
|
66 |
+
/**
|
67 |
+
* @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).
|
68 |
+
*
|
69 |
+
* @param date - The date to format
|
70 |
+
* @param formatOptions - The format options
|
71 |
+
*
|
72 |
+
* @returns The formatted date string
|
73 |
+
*
|
74 |
+
* @throws `date` must not be Invalid Date
|
75 |
+
*
|
76 |
+
* @example
|
77 |
+
* // Represent 4 October 2019.
|
78 |
+
* // Convert the date with format's options.
|
79 |
+
* const result = intlFormat.default(new Date(2019, 9, 4, 12, 30, 13, 456), {
|
80 |
+
* year: 'numeric',
|
81 |
+
* month: 'numeric',
|
82 |
+
* day: 'numeric',
|
83 |
+
* hour: 'numeric',
|
84 |
+
* })
|
85 |
+
* //=> 10/4/2019, 12 PM
|
86 |
+
*/
|
87 |
+
export declare function intlFormat<DateType extends Date>(
|
88 |
+
date: DateType | number | string,
|
89 |
+
formatOptions: IntlFormatFormatOptions,
|
90 |
+
): string;
|
91 |
+
/**
|
92 |
+
* @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).
|
93 |
+
*
|
94 |
+
* @param date - The date to format
|
95 |
+
* @param formatOptions - The format options
|
96 |
+
* @param localeOptions - An object with locale
|
97 |
+
*
|
98 |
+
* @returns The formatted date string
|
99 |
+
*
|
100 |
+
* @throws `date` must not be Invalid Date
|
101 |
+
*
|
102 |
+
* @example
|
103 |
+
* // Represent 4 October 2019 in German.
|
104 |
+
* // Convert the date with format's options and locale's options.
|
105 |
+
* const result = intlFormat(new Date(2019, 9, 4, 12, 30, 13, 456), {
|
106 |
+
* weekday: 'long',
|
107 |
+
* year: 'numeric',
|
108 |
+
* month: 'long',
|
109 |
+
* day: 'numeric',
|
110 |
+
* }, {
|
111 |
+
* locale: 'de-DE',
|
112 |
+
* })
|
113 |
+
* //=> Freitag, 4. Oktober 2019
|
114 |
+
*/
|
115 |
+
export declare function intlFormat<DateType extends Date>(
|
116 |
+
date: DateType | number | string,
|
117 |
+
formatOptions: IntlFormatFormatOptions,
|
118 |
+
localeOptions: IntlFormatLocaleOptions,
|
119 |
+
): string;
|
workersss/Autovideos-worker/shy-hill-f5c2/node_modules/date-fns/intlFormat.js
ADDED
@@ -0,0 +1,125 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
"use strict";
|
2 |
+
exports.intlFormat = intlFormat;
|
3 |
+
var _index = require("./toDate.js");
|
4 |
+
|
5 |
+
/**
|
6 |
+
* The locale string (see: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl#locales_argument).
|
7 |
+
*/
|
8 |
+
|
9 |
+
/**
|
10 |
+
* The format options (see: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/DateTimeFormat/DateTimeFormat#options)
|
11 |
+
*/
|
12 |
+
|
13 |
+
/**
|
14 |
+
* The locale options.
|
15 |
+
*/
|
16 |
+
|
17 |
+
/**
|
18 |
+
* @name intlFormat
|
19 |
+
* @category Common Helpers
|
20 |
+
* @summary Format the date with Intl.DateTimeFormat (https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/DateTimeFormat).
|
21 |
+
*
|
22 |
+
* @description
|
23 |
+
* Return the formatted date string in the given format.
|
24 |
+
* The method uses [`Intl.DateTimeFormat`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/DateTimeFormat) inside.
|
25 |
+
* formatOptions are the same as [`Intl.DateTimeFormat` options](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/DateTimeFormat#using_options)
|
26 |
+
*
|
27 |
+
* > ⚠️ Please note that before Node version 13.0.0, only the locale data for en-US is available by default.
|
28 |
+
*
|
29 |
+
* @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).
|
30 |
+
*
|
31 |
+
* @param date - The date to format
|
32 |
+
*
|
33 |
+
* @returns The formatted date string
|
34 |
+
*
|
35 |
+
* @throws `date` must not be Invalid Date
|
36 |
+
*
|
37 |
+
* @example
|
38 |
+
* // Represent 4 October 2019 in middle-endian format:
|
39 |
+
* const result = intlFormat(new Date(2019, 9, 4, 12, 30, 13, 456))
|
40 |
+
* //=> 10/4/2019
|
41 |
+
*/
|
42 |
+
|
43 |
+
/**
|
44 |
+
* @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).
|
45 |
+
*
|
46 |
+
* @param date - The date to format
|
47 |
+
* @param localeOptions - An object with locale
|
48 |
+
*
|
49 |
+
* @returns The formatted date string
|
50 |
+
*
|
51 |
+
* @throws `date` must not be Invalid Date
|
52 |
+
*
|
53 |
+
* @example
|
54 |
+
* // Represent 4 October 2019 in Korean.
|
55 |
+
* // Convert the date with locale's options.
|
56 |
+
* const result = intlFormat(new Date(2019, 9, 4, 12, 30, 13, 456), {
|
57 |
+
* locale: 'ko-KR',
|
58 |
+
* })
|
59 |
+
* //=> 2019. 10. 4.
|
60 |
+
*/
|
61 |
+
|
62 |
+
/**
|
63 |
+
* @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).
|
64 |
+
*
|
65 |
+
* @param date - The date to format
|
66 |
+
* @param formatOptions - The format options
|
67 |
+
*
|
68 |
+
* @returns The formatted date string
|
69 |
+
*
|
70 |
+
* @throws `date` must not be Invalid Date
|
71 |
+
*
|
72 |
+
* @example
|
73 |
+
* // Represent 4 October 2019.
|
74 |
+
* // Convert the date with format's options.
|
75 |
+
* const result = intlFormat.default(new Date(2019, 9, 4, 12, 30, 13, 456), {
|
76 |
+
* year: 'numeric',
|
77 |
+
* month: 'numeric',
|
78 |
+
* day: 'numeric',
|
79 |
+
* hour: 'numeric',
|
80 |
+
* })
|
81 |
+
* //=> 10/4/2019, 12 PM
|
82 |
+
*/
|
83 |
+
|
84 |
+
/**
|
85 |
+
* @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).
|
86 |
+
*
|
87 |
+
* @param date - The date to format
|
88 |
+
* @param formatOptions - The format options
|
89 |
+
* @param localeOptions - An object with locale
|
90 |
+
*
|
91 |
+
* @returns The formatted date string
|
92 |
+
*
|
93 |
+
* @throws `date` must not be Invalid Date
|
94 |
+
*
|
95 |
+
* @example
|
96 |
+
* // Represent 4 October 2019 in German.
|
97 |
+
* // Convert the date with format's options and locale's options.
|
98 |
+
* const result = intlFormat(new Date(2019, 9, 4, 12, 30, 13, 456), {
|
99 |
+
* weekday: 'long',
|
100 |
+
* year: 'numeric',
|
101 |
+
* month: 'long',
|
102 |
+
* day: 'numeric',
|
103 |
+
* }, {
|
104 |
+
* locale: 'de-DE',
|
105 |
+
* })
|
106 |
+
* //=> Freitag, 4. Oktober 2019
|
107 |
+
*/
|
108 |
+
|
109 |
+
function intlFormat(date, formatOrLocale, localeOptions) {
|
110 |
+
let formatOptions;
|
111 |
+
|
112 |
+
if (isFormatOptions(formatOrLocale)) {
|
113 |
+
formatOptions = formatOrLocale;
|
114 |
+
} else {
|
115 |
+
localeOptions = formatOrLocale;
|
116 |
+
}
|
117 |
+
|
118 |
+
return new Intl.DateTimeFormat(localeOptions?.locale, formatOptions).format(
|
119 |
+
(0, _index.toDate)(date),
|
120 |
+
);
|
121 |
+
}
|
122 |
+
|
123 |
+
function isFormatOptions(opts) {
|
124 |
+
return opts !== undefined && !("locale" in opts);
|
125 |
+
}
|
workersss/Autovideos-worker/shy-hill-f5c2/node_modules/date-fns/intlFormat.mjs
ADDED
@@ -0,0 +1,126 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
import { toDate } from "./toDate.mjs";
|
2 |
+
|
3 |
+
/**
|
4 |
+
* The locale string (see: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl#locales_argument).
|
5 |
+
*/
|
6 |
+
|
7 |
+
/**
|
8 |
+
* The format options (see: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/DateTimeFormat/DateTimeFormat#options)
|
9 |
+
*/
|
10 |
+
|
11 |
+
/**
|
12 |
+
* The locale options.
|
13 |
+
*/
|
14 |
+
|
15 |
+
/**
|
16 |
+
* @name intlFormat
|
17 |
+
* @category Common Helpers
|
18 |
+
* @summary Format the date with Intl.DateTimeFormat (https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/DateTimeFormat).
|
19 |
+
*
|
20 |
+
* @description
|
21 |
+
* Return the formatted date string in the given format.
|
22 |
+
* The method uses [`Intl.DateTimeFormat`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/DateTimeFormat) inside.
|
23 |
+
* formatOptions are the same as [`Intl.DateTimeFormat` options](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/DateTimeFormat#using_options)
|
24 |
+
*
|
25 |
+
* > ⚠️ Please note that before Node version 13.0.0, only the locale data for en-US is available by default.
|
26 |
+
*
|
27 |
+
* @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).
|
28 |
+
*
|
29 |
+
* @param date - The date to format
|
30 |
+
*
|
31 |
+
* @returns The formatted date string
|
32 |
+
*
|
33 |
+
* @throws `date` must not be Invalid Date
|
34 |
+
*
|
35 |
+
* @example
|
36 |
+
* // Represent 4 October 2019 in middle-endian format:
|
37 |
+
* const result = intlFormat(new Date(2019, 9, 4, 12, 30, 13, 456))
|
38 |
+
* //=> 10/4/2019
|
39 |
+
*/
|
40 |
+
|
41 |
+
/**
|
42 |
+
* @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).
|
43 |
+
*
|
44 |
+
* @param date - The date to format
|
45 |
+
* @param localeOptions - An object with locale
|
46 |
+
*
|
47 |
+
* @returns The formatted date string
|
48 |
+
*
|
49 |
+
* @throws `date` must not be Invalid Date
|
50 |
+
*
|
51 |
+
* @example
|
52 |
+
* // Represent 4 October 2019 in Korean.
|
53 |
+
* // Convert the date with locale's options.
|
54 |
+
* const result = intlFormat(new Date(2019, 9, 4, 12, 30, 13, 456), {
|
55 |
+
* locale: 'ko-KR',
|
56 |
+
* })
|
57 |
+
* //=> 2019. 10. 4.
|
58 |
+
*/
|
59 |
+
|
60 |
+
/**
|
61 |
+
* @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).
|
62 |
+
*
|
63 |
+
* @param date - The date to format
|
64 |
+
* @param formatOptions - The format options
|
65 |
+
*
|
66 |
+
* @returns The formatted date string
|
67 |
+
*
|
68 |
+
* @throws `date` must not be Invalid Date
|
69 |
+
*
|
70 |
+
* @example
|
71 |
+
* // Represent 4 October 2019.
|
72 |
+
* // Convert the date with format's options.
|
73 |
+
* const result = intlFormat.default(new Date(2019, 9, 4, 12, 30, 13, 456), {
|
74 |
+
* year: 'numeric',
|
75 |
+
* month: 'numeric',
|
76 |
+
* day: 'numeric',
|
77 |
+
* hour: 'numeric',
|
78 |
+
* })
|
79 |
+
* //=> 10/4/2019, 12 PM
|
80 |
+
*/
|
81 |
+
|
82 |
+
/**
|
83 |
+
* @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).
|
84 |
+
*
|
85 |
+
* @param date - The date to format
|
86 |
+
* @param formatOptions - The format options
|
87 |
+
* @param localeOptions - An object with locale
|
88 |
+
*
|
89 |
+
* @returns The formatted date string
|
90 |
+
*
|
91 |
+
* @throws `date` must not be Invalid Date
|
92 |
+
*
|
93 |
+
* @example
|
94 |
+
* // Represent 4 October 2019 in German.
|
95 |
+
* // Convert the date with format's options and locale's options.
|
96 |
+
* const result = intlFormat(new Date(2019, 9, 4, 12, 30, 13, 456), {
|
97 |
+
* weekday: 'long',
|
98 |
+
* year: 'numeric',
|
99 |
+
* month: 'long',
|
100 |
+
* day: 'numeric',
|
101 |
+
* }, {
|
102 |
+
* locale: 'de-DE',
|
103 |
+
* })
|
104 |
+
* //=> Freitag, 4. Oktober 2019
|
105 |
+
*/
|
106 |
+
|
107 |
+
export function intlFormat(date, formatOrLocale, localeOptions) {
|
108 |
+
let formatOptions;
|
109 |
+
|
110 |
+
if (isFormatOptions(formatOrLocale)) {
|
111 |
+
formatOptions = formatOrLocale;
|
112 |
+
} else {
|
113 |
+
localeOptions = formatOrLocale;
|
114 |
+
}
|
115 |
+
|
116 |
+
return new Intl.DateTimeFormat(localeOptions?.locale, formatOptions).format(
|
117 |
+
toDate(date),
|
118 |
+
);
|
119 |
+
}
|
120 |
+
|
121 |
+
function isFormatOptions(opts) {
|
122 |
+
return opts !== undefined && !("locale" in opts);
|
123 |
+
}
|
124 |
+
|
125 |
+
// Fallback for modularized imports:
|
126 |
+
export default intlFormat;
|
workersss/Autovideos-worker/shy-hill-f5c2/node_modules/date-fns/intlFormatDistance.d.mts
ADDED
@@ -0,0 +1,133 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
/**
|
2 |
+
* The {@link intlFormatDistance} function options.
|
3 |
+
*/
|
4 |
+
export interface IntlFormatDistanceOptions {
|
5 |
+
/** Force the distance unit */
|
6 |
+
unit?: IntlFormatDistanceUnit;
|
7 |
+
/** The locale(s) to use (see: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl#locales_argument) */
|
8 |
+
locale?:
|
9 |
+
| Intl.UnicodeBCP47LocaleIdentifier
|
10 |
+
| Intl.UnicodeBCP47LocaleIdentifier[];
|
11 |
+
/** The locale matching algorithm to use. Other value: 'lookup'. 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) */
|
12 |
+
localeMatcher?: Intl.RelativeTimeFormatLocaleMatcher;
|
13 |
+
/** The output message format. The values are 'auto' (e.g. `yesterday`), 'always'(e.g. `1 day ago`) */
|
14 |
+
numeric?: Intl.RelativeTimeFormatNumeric;
|
15 |
+
/** The length of the result. The values are: 'long' (e.g. `1 month`), 'short' (e.g. 'in 1 mo.'), 'narrow' (e.g. 'in 1 mo.'). The narrow one could be similar to the short one for some locales. */
|
16 |
+
style?: Intl.RelativeTimeFormatStyle;
|
17 |
+
}
|
18 |
+
/**
|
19 |
+
* The unit used to format the distance in {@link intlFormatDistance}.
|
20 |
+
*/
|
21 |
+
export type IntlFormatDistanceUnit =
|
22 |
+
| "year"
|
23 |
+
| "quarter"
|
24 |
+
| "month"
|
25 |
+
| "week"
|
26 |
+
| "day"
|
27 |
+
| "hour"
|
28 |
+
| "minute"
|
29 |
+
| "second";
|
30 |
+
/**
|
31 |
+
* @name intlFormatDistance
|
32 |
+
* @category Common Helpers
|
33 |
+
* @summary Formats distance between two dates in a human-readable format
|
34 |
+
* @description
|
35 |
+
* The function calculates the difference between two dates and formats it as a human-readable string.
|
36 |
+
*
|
37 |
+
* 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`.
|
38 |
+
*
|
39 |
+
* You can also specify a unit to force using it regardless of the distance to get a result like `123456 hours`.
|
40 |
+
*
|
41 |
+
* See the table below for the unit picking logic:
|
42 |
+
*
|
43 |
+
* | Distance between dates | Result (past) | Result (future) |
|
44 |
+
* | ---------------------- | -------------- | --------------- |
|
45 |
+
* | 0 seconds | now | now |
|
46 |
+
* | 1-59 seconds | X seconds ago | in X seconds |
|
47 |
+
* | 1-59 minutes | X minutes ago | in X minutes |
|
48 |
+
* | 1-23 hours | X hours ago | in X hours |
|
49 |
+
* | 1 day | yesterday | tomorrow |
|
50 |
+
* | 2-6 days | X days ago | in X days |
|
51 |
+
* | 7 days | last week | next week |
|
52 |
+
* | 8 days-1 month | X weeks ago | in X weeks |
|
53 |
+
* | 1 month | last month | next month |
|
54 |
+
* | 2-3 months | X months ago | in X months |
|
55 |
+
* | 1 quarter | last quarter | next quarter |
|
56 |
+
* | 2-3 quarters | X quarters ago | in X quarters |
|
57 |
+
* | 1 year | last year | next year |
|
58 |
+
* | 2+ years | X years ago | in X years |
|
59 |
+
*
|
60 |
+
* @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).
|
61 |
+
*
|
62 |
+
* @param date - The date
|
63 |
+
* @param baseDate - The date to compare with.
|
64 |
+
* @param options - An object with options.
|
65 |
+
* 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)
|
66 |
+
* The narrow one could be similar to the short one for some locales.
|
67 |
+
*
|
68 |
+
* @returns The distance in words according to language-sensitive relative time formatting.
|
69 |
+
*
|
70 |
+
* @throws `date` must not be Invalid Date
|
71 |
+
* @throws `baseDate` must not be Invalid Date
|
72 |
+
* @throws `options.unit` must not be invalid Unit
|
73 |
+
* @throws `options.locale` must not be invalid locale
|
74 |
+
* @throws `options.localeMatcher` must not be invalid localeMatcher
|
75 |
+
* @throws `options.numeric` must not be invalid numeric
|
76 |
+
* @throws `options.style` must not be invalid style
|
77 |
+
*
|
78 |
+
* @example
|
79 |
+
* // What is the distance between the dates when the fist date is after the second?
|
80 |
+
* intlFormatDistance(
|
81 |
+
* new Date(1986, 3, 4, 11, 30, 0),
|
82 |
+
* new Date(1986, 3, 4, 10, 30, 0)
|
83 |
+
* )
|
84 |
+
* //=> 'in 1 hour'
|
85 |
+
*
|
86 |
+
* // What is the distance between the dates when the fist date is before the second?
|
87 |
+
* intlFormatDistance(
|
88 |
+
* new Date(1986, 3, 4, 10, 30, 0),
|
89 |
+
* new Date(1986, 3, 4, 11, 30, 0)
|
90 |
+
* )
|
91 |
+
* //=> '1 hour ago'
|
92 |
+
*
|
93 |
+
* @example
|
94 |
+
* // Use the unit option to force the function to output the result in quarters. Without setting it, the example would return "next year"
|
95 |
+
* intlFormatDistance(
|
96 |
+
* new Date(1987, 6, 4, 10, 30, 0),
|
97 |
+
* new Date(1986, 3, 4, 10, 30, 0),
|
98 |
+
* { unit: 'quarter' }
|
99 |
+
* )
|
100 |
+
* //=> 'in 5 quarters'
|
101 |
+
*
|
102 |
+
* @example
|
103 |
+
* // Use the locale option to get the result in Spanish. Without setting it, the example would return "in 1 hour".
|
104 |
+
* intlFormatDistance(
|
105 |
+
* new Date(1986, 3, 4, 11, 30, 0),
|
106 |
+
* new Date(1986, 3, 4, 10, 30, 0),
|
107 |
+
* { locale: 'es' }
|
108 |
+
* )
|
109 |
+
* //=> 'dentro de 1 hora'
|
110 |
+
*
|
111 |
+
* @example
|
112 |
+
* // Use the numeric option to force the function to use numeric values. Without setting it, the example would return "tomorrow".
|
113 |
+
* intlFormatDistance(
|
114 |
+
* new Date(1986, 3, 5, 11, 30, 0),
|
115 |
+
* new Date(1986, 3, 4, 11, 30, 0),
|
116 |
+
* { numeric: 'always' }
|
117 |
+
* )
|
118 |
+
* //=> 'in 1 day'
|
119 |
+
*
|
120 |
+
* @example
|
121 |
+
* // Use the style option to force the function to use short values. Without setting it, the example would return "in 2 years".
|
122 |
+
* intlFormatDistance(
|
123 |
+
* new Date(1988, 3, 4, 11, 30, 0),
|
124 |
+
* new Date(1986, 3, 4, 11, 30, 0),
|
125 |
+
* { style: 'short' }
|
126 |
+
* )
|
127 |
+
* //=> 'in 2 yr'
|
128 |
+
*/
|
129 |
+
export declare function intlFormatDistance<DateType extends Date>(
|
130 |
+
date: DateType | number | string,
|
131 |
+
baseDate: DateType | number | string,
|
132 |
+
options?: IntlFormatDistanceOptions,
|
133 |
+
): string;
|
workersss/Autovideos-worker/shy-hill-f5c2/node_modules/date-fns/intlFormatDistance.d.ts
ADDED
@@ -0,0 +1,133 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
/**
|
2 |
+
* The {@link intlFormatDistance} function options.
|
3 |
+
*/
|
4 |
+
export interface IntlFormatDistanceOptions {
|
5 |
+
/** Force the distance unit */
|
6 |
+
unit?: IntlFormatDistanceUnit;
|
7 |
+
/** The locale(s) to use (see: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl#locales_argument) */
|
8 |
+
locale?:
|
9 |
+
| Intl.UnicodeBCP47LocaleIdentifier
|
10 |
+
| Intl.UnicodeBCP47LocaleIdentifier[];
|
11 |
+
/** The locale matching algorithm to use. Other value: 'lookup'. 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) */
|
12 |
+
localeMatcher?: Intl.RelativeTimeFormatLocaleMatcher;
|
13 |
+
/** The output message format. The values are 'auto' (e.g. `yesterday`), 'always'(e.g. `1 day ago`) */
|
14 |
+
numeric?: Intl.RelativeTimeFormatNumeric;
|
15 |
+
/** The length of the result. The values are: 'long' (e.g. `1 month`), 'short' (e.g. 'in 1 mo.'), 'narrow' (e.g. 'in 1 mo.'). The narrow one could be similar to the short one for some locales. */
|
16 |
+
style?: Intl.RelativeTimeFormatStyle;
|
17 |
+
}
|
18 |
+
/**
|
19 |
+
* The unit used to format the distance in {@link intlFormatDistance}.
|
20 |
+
*/
|
21 |
+
export type IntlFormatDistanceUnit =
|
22 |
+
| "year"
|
23 |
+
| "quarter"
|
24 |
+
| "month"
|
25 |
+
| "week"
|
26 |
+
| "day"
|
27 |
+
| "hour"
|
28 |
+
| "minute"
|
29 |
+
| "second";
|
30 |
+
/**
|
31 |
+
* @name intlFormatDistance
|
32 |
+
* @category Common Helpers
|
33 |
+
* @summary Formats distance between two dates in a human-readable format
|
34 |
+
* @description
|
35 |
+
* The function calculates the difference between two dates and formats it as a human-readable string.
|
36 |
+
*
|
37 |
+
* 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`.
|
38 |
+
*
|
39 |
+
* You can also specify a unit to force using it regardless of the distance to get a result like `123456 hours`.
|
40 |
+
*
|
41 |
+
* See the table below for the unit picking logic:
|
42 |
+
*
|
43 |
+
* | Distance between dates | Result (past) | Result (future) |
|
44 |
+
* | ---------------------- | -------------- | --------------- |
|
45 |
+
* | 0 seconds | now | now |
|
46 |
+
* | 1-59 seconds | X seconds ago | in X seconds |
|
47 |
+
* | 1-59 minutes | X minutes ago | in X minutes |
|
48 |
+
* | 1-23 hours | X hours ago | in X hours |
|
49 |
+
* | 1 day | yesterday | tomorrow |
|
50 |
+
* | 2-6 days | X days ago | in X days |
|
51 |
+
* | 7 days | last week | next week |
|
52 |
+
* | 8 days-1 month | X weeks ago | in X weeks |
|
53 |
+
* | 1 month | last month | next month |
|
54 |
+
* | 2-3 months | X months ago | in X months |
|
55 |
+
* | 1 quarter | last quarter | next quarter |
|
56 |
+
* | 2-3 quarters | X quarters ago | in X quarters |
|
57 |
+
* | 1 year | last year | next year |
|
58 |
+
* | 2+ years | X years ago | in X years |
|
59 |
+
*
|
60 |
+
* @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).
|
61 |
+
*
|
62 |
+
* @param date - The date
|
63 |
+
* @param baseDate - The date to compare with.
|
64 |
+
* @param options - An object with options.
|
65 |
+
* 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)
|
66 |
+
* The narrow one could be similar to the short one for some locales.
|
67 |
+
*
|
68 |
+
* @returns The distance in words according to language-sensitive relative time formatting.
|
69 |
+
*
|
70 |
+
* @throws `date` must not be Invalid Date
|
71 |
+
* @throws `baseDate` must not be Invalid Date
|
72 |
+
* @throws `options.unit` must not be invalid Unit
|
73 |
+
* @throws `options.locale` must not be invalid locale
|
74 |
+
* @throws `options.localeMatcher` must not be invalid localeMatcher
|
75 |
+
* @throws `options.numeric` must not be invalid numeric
|
76 |
+
* @throws `options.style` must not be invalid style
|
77 |
+
*
|
78 |
+
* @example
|
79 |
+
* // What is the distance between the dates when the fist date is after the second?
|
80 |
+
* intlFormatDistance(
|
81 |
+
* new Date(1986, 3, 4, 11, 30, 0),
|
82 |
+
* new Date(1986, 3, 4, 10, 30, 0)
|
83 |
+
* )
|
84 |
+
* //=> 'in 1 hour'
|
85 |
+
*
|
86 |
+
* // What is the distance between the dates when the fist date is before the second?
|
87 |
+
* intlFormatDistance(
|
88 |
+
* new Date(1986, 3, 4, 10, 30, 0),
|
89 |
+
* new Date(1986, 3, 4, 11, 30, 0)
|
90 |
+
* )
|
91 |
+
* //=> '1 hour ago'
|
92 |
+
*
|
93 |
+
* @example
|
94 |
+
* // Use the unit option to force the function to output the result in quarters. Without setting it, the example would return "next year"
|
95 |
+
* intlFormatDistance(
|
96 |
+
* new Date(1987, 6, 4, 10, 30, 0),
|
97 |
+
* new Date(1986, 3, 4, 10, 30, 0),
|
98 |
+
* { unit: 'quarter' }
|
99 |
+
* )
|
100 |
+
* //=> 'in 5 quarters'
|
101 |
+
*
|
102 |
+
* @example
|
103 |
+
* // Use the locale option to get the result in Spanish. Without setting it, the example would return "in 1 hour".
|
104 |
+
* intlFormatDistance(
|
105 |
+
* new Date(1986, 3, 4, 11, 30, 0),
|
106 |
+
* new Date(1986, 3, 4, 10, 30, 0),
|
107 |
+
* { locale: 'es' }
|
108 |
+
* )
|
109 |
+
* //=> 'dentro de 1 hora'
|
110 |
+
*
|
111 |
+
* @example
|
112 |
+
* // Use the numeric option to force the function to use numeric values. Without setting it, the example would return "tomorrow".
|
113 |
+
* intlFormatDistance(
|
114 |
+
* new Date(1986, 3, 5, 11, 30, 0),
|
115 |
+
* new Date(1986, 3, 4, 11, 30, 0),
|
116 |
+
* { numeric: 'always' }
|
117 |
+
* )
|
118 |
+
* //=> 'in 1 day'
|
119 |
+
*
|
120 |
+
* @example
|
121 |
+
* // Use the style option to force the function to use short values. Without setting it, the example would return "in 2 years".
|
122 |
+
* intlFormatDistance(
|
123 |
+
* new Date(1988, 3, 4, 11, 30, 0),
|
124 |
+
* new Date(1986, 3, 4, 11, 30, 0),
|
125 |
+
* { style: 'short' }
|
126 |
+
* )
|
127 |
+
* //=> 'in 2 yr'
|
128 |
+
*/
|
129 |
+
export declare function intlFormatDistance<DateType extends Date>(
|
130 |
+
date: DateType | number | string,
|
131 |
+
baseDate: DateType | number | string,
|
132 |
+
options?: IntlFormatDistanceOptions,
|
133 |
+
): string;
|
workersss/Autovideos-worker/shy-hill-f5c2/node_modules/date-fns/intlFormatDistance.js
ADDED
@@ -0,0 +1,198 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
"use strict";
|
2 |
+
exports.intlFormatDistance = intlFormatDistance;
|
3 |
+
var _index = require("./constants.js");
|
4 |
+
|
5 |
+
var _index2 = require("./differenceInCalendarDays.js");
|
6 |
+
var _index3 = require("./differenceInCalendarMonths.js");
|
7 |
+
var _index4 = require("./differenceInCalendarQuarters.js");
|
8 |
+
var _index5 = require("./differenceInCalendarWeeks.js");
|
9 |
+
var _index6 = require("./differenceInCalendarYears.js");
|
10 |
+
var _index7 = require("./differenceInHours.js");
|
11 |
+
var _index8 = require("./differenceInMinutes.js");
|
12 |
+
var _index9 = require("./differenceInSeconds.js");
|
13 |
+
var _index10 = require("./toDate.js");
|
14 |
+
|
15 |
+
/**
|
16 |
+
* The {@link intlFormatDistance} function options.
|
17 |
+
*/
|
18 |
+
|
19 |
+
/**
|
20 |
+
* The unit used to format the distance in {@link intlFormatDistance}.
|
21 |
+
*/
|
22 |
+
|
23 |
+
/**
|
24 |
+
* @name intlFormatDistance
|
25 |
+
* @category Common Helpers
|
26 |
+
* @summary Formats distance between two dates in a human-readable format
|
27 |
+
* @description
|
28 |
+
* The function calculates the difference between two dates and formats it as a human-readable string.
|
29 |
+
*
|
30 |
+
* 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`.
|
31 |
+
*
|
32 |
+
* You can also specify a unit to force using it regardless of the distance to get a result like `123456 hours`.
|
33 |
+
*
|
34 |
+
* See the table below for the unit picking logic:
|
35 |
+
*
|
36 |
+
* | Distance between dates | Result (past) | Result (future) |
|
37 |
+
* | ---------------------- | -------------- | --------------- |
|
38 |
+
* | 0 seconds | now | now |
|
39 |
+
* | 1-59 seconds | X seconds ago | in X seconds |
|
40 |
+
* | 1-59 minutes | X minutes ago | in X minutes |
|
41 |
+
* | 1-23 hours | X hours ago | in X hours |
|
42 |
+
* | 1 day | yesterday | tomorrow |
|
43 |
+
* | 2-6 days | X days ago | in X days |
|
44 |
+
* | 7 days | last week | next week |
|
45 |
+
* | 8 days-1 month | X weeks ago | in X weeks |
|
46 |
+
* | 1 month | last month | next month |
|
47 |
+
* | 2-3 months | X months ago | in X months |
|
48 |
+
* | 1 quarter | last quarter | next quarter |
|
49 |
+
* | 2-3 quarters | X quarters ago | in X quarters |
|
50 |
+
* | 1 year | last year | next year |
|
51 |
+
* | 2+ years | X years ago | in X years |
|
52 |
+
*
|
53 |
+
* @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).
|
54 |
+
*
|
55 |
+
* @param date - The date
|
56 |
+
* @param baseDate - The date to compare with.
|
57 |
+
* @param options - An object with options.
|
58 |
+
* 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)
|
59 |
+
* The narrow one could be similar to the short one for some locales.
|
60 |
+
*
|
61 |
+
* @returns The distance in words according to language-sensitive relative time formatting.
|
62 |
+
*
|
63 |
+
* @throws `date` must not be Invalid Date
|
64 |
+
* @throws `baseDate` must not be Invalid Date
|
65 |
+
* @throws `options.unit` must not be invalid Unit
|
66 |
+
* @throws `options.locale` must not be invalid locale
|
67 |
+
* @throws `options.localeMatcher` must not be invalid localeMatcher
|
68 |
+
* @throws `options.numeric` must not be invalid numeric
|
69 |
+
* @throws `options.style` must not be invalid style
|
70 |
+
*
|
71 |
+
* @example
|
72 |
+
* // What is the distance between the dates when the fist date is after the second?
|
73 |
+
* intlFormatDistance(
|
74 |
+
* new Date(1986, 3, 4, 11, 30, 0),
|
75 |
+
* new Date(1986, 3, 4, 10, 30, 0)
|
76 |
+
* )
|
77 |
+
* //=> 'in 1 hour'
|
78 |
+
*
|
79 |
+
* // What is the distance between the dates when the fist date is before the second?
|
80 |
+
* intlFormatDistance(
|
81 |
+
* new Date(1986, 3, 4, 10, 30, 0),
|
82 |
+
* new Date(1986, 3, 4, 11, 30, 0)
|
83 |
+
* )
|
84 |
+
* //=> '1 hour ago'
|
85 |
+
*
|
86 |
+
* @example
|
87 |
+
* // Use the unit option to force the function to output the result in quarters. Without setting it, the example would return "next year"
|
88 |
+
* intlFormatDistance(
|
89 |
+
* new Date(1987, 6, 4, 10, 30, 0),
|
90 |
+
* new Date(1986, 3, 4, 10, 30, 0),
|
91 |
+
* { unit: 'quarter' }
|
92 |
+
* )
|
93 |
+
* //=> 'in 5 quarters'
|
94 |
+
*
|
95 |
+
* @example
|
96 |
+
* // Use the locale option to get the result in Spanish. Without setting it, the example would return "in 1 hour".
|
97 |
+
* intlFormatDistance(
|
98 |
+
* new Date(1986, 3, 4, 11, 30, 0),
|
99 |
+
* new Date(1986, 3, 4, 10, 30, 0),
|
100 |
+
* { locale: 'es' }
|
101 |
+
* )
|
102 |
+
* //=> 'dentro de 1 hora'
|
103 |
+
*
|
104 |
+
* @example
|
105 |
+
* // Use the numeric option to force the function to use numeric values. Without setting it, the example would return "tomorrow".
|
106 |
+
* intlFormatDistance(
|
107 |
+
* new Date(1986, 3, 5, 11, 30, 0),
|
108 |
+
* new Date(1986, 3, 4, 11, 30, 0),
|
109 |
+
* { numeric: 'always' }
|
110 |
+
* )
|
111 |
+
* //=> 'in 1 day'
|
112 |
+
*
|
113 |
+
* @example
|
114 |
+
* // Use the style option to force the function to use short values. Without setting it, the example would return "in 2 years".
|
115 |
+
* intlFormatDistance(
|
116 |
+
* new Date(1988, 3, 4, 11, 30, 0),
|
117 |
+
* new Date(1986, 3, 4, 11, 30, 0),
|
118 |
+
* { style: 'short' }
|
119 |
+
* )
|
120 |
+
* //=> 'in 2 yr'
|
121 |
+
*/
|
122 |
+
function intlFormatDistance(date, baseDate, options) {
|
123 |
+
let value = 0;
|
124 |
+
let unit;
|
125 |
+
const dateLeft = (0, _index10.toDate)(date);
|
126 |
+
const dateRight = (0, _index10.toDate)(baseDate);
|
127 |
+
|
128 |
+
if (!options?.unit) {
|
129 |
+
// Get the unit based on diffInSeconds calculations if no unit is specified
|
130 |
+
const diffInSeconds = (0, _index9.differenceInSeconds)(dateLeft, dateRight); // The smallest unit
|
131 |
+
|
132 |
+
if (Math.abs(diffInSeconds) < _index.secondsInMinute) {
|
133 |
+
value = (0, _index9.differenceInSeconds)(dateLeft, dateRight);
|
134 |
+
unit = "second";
|
135 |
+
} else if (Math.abs(diffInSeconds) < _index.secondsInHour) {
|
136 |
+
value = (0, _index8.differenceInMinutes)(dateLeft, dateRight);
|
137 |
+
unit = "minute";
|
138 |
+
} else if (
|
139 |
+
Math.abs(diffInSeconds) < _index.secondsInDay &&
|
140 |
+
Math.abs((0, _index2.differenceInCalendarDays)(dateLeft, dateRight)) < 1
|
141 |
+
) {
|
142 |
+
value = (0, _index7.differenceInHours)(dateLeft, dateRight);
|
143 |
+
unit = "hour";
|
144 |
+
} else if (
|
145 |
+
Math.abs(diffInSeconds) < _index.secondsInWeek &&
|
146 |
+
(value = (0, _index2.differenceInCalendarDays)(dateLeft, dateRight)) &&
|
147 |
+
Math.abs(value) < 7
|
148 |
+
) {
|
149 |
+
unit = "day";
|
150 |
+
} else if (Math.abs(diffInSeconds) < _index.secondsInMonth) {
|
151 |
+
value = (0, _index5.differenceInCalendarWeeks)(dateLeft, dateRight);
|
152 |
+
unit = "week";
|
153 |
+
} else if (Math.abs(diffInSeconds) < _index.secondsInQuarter) {
|
154 |
+
value = (0, _index3.differenceInCalendarMonths)(dateLeft, dateRight);
|
155 |
+
unit = "month";
|
156 |
+
} else if (Math.abs(diffInSeconds) < _index.secondsInYear) {
|
157 |
+
if ((0, _index4.differenceInCalendarQuarters)(dateLeft, dateRight) < 4) {
|
158 |
+
// To filter out cases that are less than a year but match 4 quarters
|
159 |
+
value = (0, _index4.differenceInCalendarQuarters)(dateLeft, dateRight);
|
160 |
+
unit = "quarter";
|
161 |
+
} else {
|
162 |
+
value = (0, _index6.differenceInCalendarYears)(dateLeft, dateRight);
|
163 |
+
unit = "year";
|
164 |
+
}
|
165 |
+
} else {
|
166 |
+
value = (0, _index6.differenceInCalendarYears)(dateLeft, dateRight);
|
167 |
+
unit = "year";
|
168 |
+
}
|
169 |
+
} else {
|
170 |
+
// Get the value if unit is specified
|
171 |
+
unit = options?.unit;
|
172 |
+
if (unit === "second") {
|
173 |
+
value = (0, _index9.differenceInSeconds)(dateLeft, dateRight);
|
174 |
+
} else if (unit === "minute") {
|
175 |
+
value = (0, _index8.differenceInMinutes)(dateLeft, dateRight);
|
176 |
+
} else if (unit === "hour") {
|
177 |
+
value = (0, _index7.differenceInHours)(dateLeft, dateRight);
|
178 |
+
} else if (unit === "day") {
|
179 |
+
value = (0, _index2.differenceInCalendarDays)(dateLeft, dateRight);
|
180 |
+
} else if (unit === "week") {
|
181 |
+
value = (0, _index5.differenceInCalendarWeeks)(dateLeft, dateRight);
|
182 |
+
} else if (unit === "month") {
|
183 |
+
value = (0, _index3.differenceInCalendarMonths)(dateLeft, dateRight);
|
184 |
+
} else if (unit === "quarter") {
|
185 |
+
value = (0, _index4.differenceInCalendarQuarters)(dateLeft, dateRight);
|
186 |
+
} else if (unit === "year") {
|
187 |
+
value = (0, _index6.differenceInCalendarYears)(dateLeft, dateRight);
|
188 |
+
}
|
189 |
+
}
|
190 |
+
|
191 |
+
const rtf = new Intl.RelativeTimeFormat(options?.locale, {
|
192 |
+
localeMatcher: options?.localeMatcher,
|
193 |
+
numeric: options?.numeric || "auto",
|
194 |
+
style: options?.style,
|
195 |
+
});
|
196 |
+
|
197 |
+
return rtf.format(value, unit);
|
198 |
+
}
|
workersss/Autovideos-worker/shy-hill-f5c2/node_modules/date-fns/intlFormatDistance.mjs
ADDED
@@ -0,0 +1,206 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
import {
|
2 |
+
secondsInDay,
|
3 |
+
secondsInHour,
|
4 |
+
secondsInMinute,
|
5 |
+
secondsInMonth,
|
6 |
+
secondsInQuarter,
|
7 |
+
secondsInWeek,
|
8 |
+
secondsInYear,
|
9 |
+
} from "./constants.mjs";
|
10 |
+
import { differenceInCalendarDays } from "./differenceInCalendarDays.mjs";
|
11 |
+
import { differenceInCalendarMonths } from "./differenceInCalendarMonths.mjs";
|
12 |
+
import { differenceInCalendarQuarters } from "./differenceInCalendarQuarters.mjs";
|
13 |
+
import { differenceInCalendarWeeks } from "./differenceInCalendarWeeks.mjs";
|
14 |
+
import { differenceInCalendarYears } from "./differenceInCalendarYears.mjs";
|
15 |
+
import { differenceInHours } from "./differenceInHours.mjs";
|
16 |
+
import { differenceInMinutes } from "./differenceInMinutes.mjs";
|
17 |
+
import { differenceInSeconds } from "./differenceInSeconds.mjs";
|
18 |
+
import { toDate } from "./toDate.mjs";
|
19 |
+
|
20 |
+
/**
|
21 |
+
* The {@link intlFormatDistance} function options.
|
22 |
+
*/
|
23 |
+
|
24 |
+
/**
|
25 |
+
* The unit used to format the distance in {@link intlFormatDistance}.
|
26 |
+
*/
|
27 |
+
|
28 |
+
/**
|
29 |
+
* @name intlFormatDistance
|
30 |
+
* @category Common Helpers
|
31 |
+
* @summary Formats distance between two dates in a human-readable format
|
32 |
+
* @description
|
33 |
+
* The function calculates the difference between two dates and formats it as a human-readable string.
|
34 |
+
*
|
35 |
+
* 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`.
|
36 |
+
*
|
37 |
+
* You can also specify a unit to force using it regardless of the distance to get a result like `123456 hours`.
|
38 |
+
*
|
39 |
+
* See the table below for the unit picking logic:
|
40 |
+
*
|
41 |
+
* | Distance between dates | Result (past) | Result (future) |
|
42 |
+
* | ---------------------- | -------------- | --------------- |
|
43 |
+
* | 0 seconds | now | now |
|
44 |
+
* | 1-59 seconds | X seconds ago | in X seconds |
|
45 |
+
* | 1-59 minutes | X minutes ago | in X minutes |
|
46 |
+
* | 1-23 hours | X hours ago | in X hours |
|
47 |
+
* | 1 day | yesterday | tomorrow |
|
48 |
+
* | 2-6 days | X days ago | in X days |
|
49 |
+
* | 7 days | last week | next week |
|
50 |
+
* | 8 days-1 month | X weeks ago | in X weeks |
|
51 |
+
* | 1 month | last month | next month |
|
52 |
+
* | 2-3 months | X months ago | in X months |
|
53 |
+
* | 1 quarter | last quarter | next quarter |
|
54 |
+
* | 2-3 quarters | X quarters ago | in X quarters |
|
55 |
+
* | 1 year | last year | next year |
|
56 |
+
* | 2+ years | X years ago | in X years |
|
57 |
+
*
|
58 |
+
* @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).
|
59 |
+
*
|
60 |
+
* @param date - The date
|
61 |
+
* @param baseDate - The date to compare with.
|
62 |
+
* @param options - An object with options.
|
63 |
+
* 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)
|
64 |
+
* The narrow one could be similar to the short one for some locales.
|
65 |
+
*
|
66 |
+
* @returns The distance in words according to language-sensitive relative time formatting.
|
67 |
+
*
|
68 |
+
* @throws `date` must not be Invalid Date
|
69 |
+
* @throws `baseDate` must not be Invalid Date
|
70 |
+
* @throws `options.unit` must not be invalid Unit
|
71 |
+
* @throws `options.locale` must not be invalid locale
|
72 |
+
* @throws `options.localeMatcher` must not be invalid localeMatcher
|
73 |
+
* @throws `options.numeric` must not be invalid numeric
|
74 |
+
* @throws `options.style` must not be invalid style
|
75 |
+
*
|
76 |
+
* @example
|
77 |
+
* // What is the distance between the dates when the fist date is after the second?
|
78 |
+
* intlFormatDistance(
|
79 |
+
* new Date(1986, 3, 4, 11, 30, 0),
|
80 |
+
* new Date(1986, 3, 4, 10, 30, 0)
|
81 |
+
* )
|
82 |
+
* //=> 'in 1 hour'
|
83 |
+
*
|
84 |
+
* // What is the distance between the dates when the fist date is before the second?
|
85 |
+
* intlFormatDistance(
|
86 |
+
* new Date(1986, 3, 4, 10, 30, 0),
|
87 |
+
* new Date(1986, 3, 4, 11, 30, 0)
|
88 |
+
* )
|
89 |
+
* //=> '1 hour ago'
|
90 |
+
*
|
91 |
+
* @example
|
92 |
+
* // Use the unit option to force the function to output the result in quarters. Without setting it, the example would return "next year"
|
93 |
+
* intlFormatDistance(
|
94 |
+
* new Date(1987, 6, 4, 10, 30, 0),
|
95 |
+
* new Date(1986, 3, 4, 10, 30, 0),
|
96 |
+
* { unit: 'quarter' }
|
97 |
+
* )
|
98 |
+
* //=> 'in 5 quarters'
|
99 |
+
*
|
100 |
+
* @example
|
101 |
+
* // Use the locale option to get the result in Spanish. Without setting it, the example would return "in 1 hour".
|
102 |
+
* intlFormatDistance(
|
103 |
+
* new Date(1986, 3, 4, 11, 30, 0),
|
104 |
+
* new Date(1986, 3, 4, 10, 30, 0),
|
105 |
+
* { locale: 'es' }
|
106 |
+
* )
|
107 |
+
* //=> 'dentro de 1 hora'
|
108 |
+
*
|
109 |
+
* @example
|
110 |
+
* // Use the numeric option to force the function to use numeric values. Without setting it, the example would return "tomorrow".
|
111 |
+
* intlFormatDistance(
|
112 |
+
* new Date(1986, 3, 5, 11, 30, 0),
|
113 |
+
* new Date(1986, 3, 4, 11, 30, 0),
|
114 |
+
* { numeric: 'always' }
|
115 |
+
* )
|
116 |
+
* //=> 'in 1 day'
|
117 |
+
*
|
118 |
+
* @example
|
119 |
+
* // Use the style option to force the function to use short values. Without setting it, the example would return "in 2 years".
|
120 |
+
* intlFormatDistance(
|
121 |
+
* new Date(1988, 3, 4, 11, 30, 0),
|
122 |
+
* new Date(1986, 3, 4, 11, 30, 0),
|
123 |
+
* { style: 'short' }
|
124 |
+
* )
|
125 |
+
* //=> 'in 2 yr'
|
126 |
+
*/
|
127 |
+
export function intlFormatDistance(date, baseDate, options) {
|
128 |
+
let value = 0;
|
129 |
+
let unit;
|
130 |
+
const dateLeft = toDate(date);
|
131 |
+
const dateRight = toDate(baseDate);
|
132 |
+
|
133 |
+
if (!options?.unit) {
|
134 |
+
// Get the unit based on diffInSeconds calculations if no unit is specified
|
135 |
+
const diffInSeconds = differenceInSeconds(dateLeft, dateRight); // The smallest unit
|
136 |
+
|
137 |
+
if (Math.abs(diffInSeconds) < secondsInMinute) {
|
138 |
+
value = differenceInSeconds(dateLeft, dateRight);
|
139 |
+
unit = "second";
|
140 |
+
} else if (Math.abs(diffInSeconds) < secondsInHour) {
|
141 |
+
value = differenceInMinutes(dateLeft, dateRight);
|
142 |
+
unit = "minute";
|
143 |
+
} else if (
|
144 |
+
Math.abs(diffInSeconds) < secondsInDay &&
|
145 |
+
Math.abs(differenceInCalendarDays(dateLeft, dateRight)) < 1
|
146 |
+
) {
|
147 |
+
value = differenceInHours(dateLeft, dateRight);
|
148 |
+
unit = "hour";
|
149 |
+
} else if (
|
150 |
+
Math.abs(diffInSeconds) < secondsInWeek &&
|
151 |
+
(value = differenceInCalendarDays(dateLeft, dateRight)) &&
|
152 |
+
Math.abs(value) < 7
|
153 |
+
) {
|
154 |
+
unit = "day";
|
155 |
+
} else if (Math.abs(diffInSeconds) < secondsInMonth) {
|
156 |
+
value = differenceInCalendarWeeks(dateLeft, dateRight);
|
157 |
+
unit = "week";
|
158 |
+
} else if (Math.abs(diffInSeconds) < secondsInQuarter) {
|
159 |
+
value = differenceInCalendarMonths(dateLeft, dateRight);
|
160 |
+
unit = "month";
|
161 |
+
} else if (Math.abs(diffInSeconds) < secondsInYear) {
|
162 |
+
if (differenceInCalendarQuarters(dateLeft, dateRight) < 4) {
|
163 |
+
// To filter out cases that are less than a year but match 4 quarters
|
164 |
+
value = differenceInCalendarQuarters(dateLeft, dateRight);
|
165 |
+
unit = "quarter";
|
166 |
+
} else {
|
167 |
+
value = differenceInCalendarYears(dateLeft, dateRight);
|
168 |
+
unit = "year";
|
169 |
+
}
|
170 |
+
} else {
|
171 |
+
value = differenceInCalendarYears(dateLeft, dateRight);
|
172 |
+
unit = "year";
|
173 |
+
}
|
174 |
+
} else {
|
175 |
+
// Get the value if unit is specified
|
176 |
+
unit = options?.unit;
|
177 |
+
if (unit === "second") {
|
178 |
+
value = differenceInSeconds(dateLeft, dateRight);
|
179 |
+
} else if (unit === "minute") {
|
180 |
+
value = differenceInMinutes(dateLeft, dateRight);
|
181 |
+
} else if (unit === "hour") {
|
182 |
+
value = differenceInHours(dateLeft, dateRight);
|
183 |
+
} else if (unit === "day") {
|
184 |
+
value = differenceInCalendarDays(dateLeft, dateRight);
|
185 |
+
} else if (unit === "week") {
|
186 |
+
value = differenceInCalendarWeeks(dateLeft, dateRight);
|
187 |
+
} else if (unit === "month") {
|
188 |
+
value = differenceInCalendarMonths(dateLeft, dateRight);
|
189 |
+
} else if (unit === "quarter") {
|
190 |
+
value = differenceInCalendarQuarters(dateLeft, dateRight);
|
191 |
+
} else if (unit === "year") {
|
192 |
+
value = differenceInCalendarYears(dateLeft, dateRight);
|
193 |
+
}
|
194 |
+
}
|
195 |
+
|
196 |
+
const rtf = new Intl.RelativeTimeFormat(options?.locale, {
|
197 |
+
localeMatcher: options?.localeMatcher,
|
198 |
+
numeric: options?.numeric || "auto",
|
199 |
+
style: options?.style,
|
200 |
+
});
|
201 |
+
|
202 |
+
return rtf.format(value, unit);
|
203 |
+
}
|
204 |
+
|
205 |
+
// Fallback for modularized imports:
|
206 |
+
export default intlFormatDistance;
|
workersss/Autovideos-worker/shy-hill-f5c2/node_modules/date-fns/isAfter.d.mts
ADDED
@@ -0,0 +1,24 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
/**
|
2 |
+
* @name isAfter
|
3 |
+
* @category Common Helpers
|
4 |
+
* @summary Is the first date after the second one?
|
5 |
+
*
|
6 |
+
* @description
|
7 |
+
* Is the first date after the second one?
|
8 |
+
*
|
9 |
+
* @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).
|
10 |
+
*
|
11 |
+
* @param date - The date that should be after the other one to return true
|
12 |
+
* @param dateToCompare - The date to compare with
|
13 |
+
*
|
14 |
+
* @returns The first date is after the second date
|
15 |
+
*
|
16 |
+
* @example
|
17 |
+
* // Is 10 July 1989 after 11 February 1987?
|
18 |
+
* const result = isAfter(new Date(1989, 6, 10), new Date(1987, 1, 11))
|
19 |
+
* //=> true
|
20 |
+
*/
|
21 |
+
export declare function isAfter<DateType extends Date>(
|
22 |
+
date: DateType | number | string,
|
23 |
+
dateToCompare: DateType | number | string,
|
24 |
+
): boolean;
|
workersss/Autovideos-worker/shy-hill-f5c2/node_modules/date-fns/isAfter.d.ts
ADDED
@@ -0,0 +1,24 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
/**
|
2 |
+
* @name isAfter
|
3 |
+
* @category Common Helpers
|
4 |
+
* @summary Is the first date after the second one?
|
5 |
+
*
|
6 |
+
* @description
|
7 |
+
* Is the first date after the second one?
|
8 |
+
*
|
9 |
+
* @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).
|
10 |
+
*
|
11 |
+
* @param date - The date that should be after the other one to return true
|
12 |
+
* @param dateToCompare - The date to compare with
|
13 |
+
*
|
14 |
+
* @returns The first date is after the second date
|
15 |
+
*
|
16 |
+
* @example
|
17 |
+
* // Is 10 July 1989 after 11 February 1987?
|
18 |
+
* const result = isAfter(new Date(1989, 6, 10), new Date(1987, 1, 11))
|
19 |
+
* //=> true
|
20 |
+
*/
|
21 |
+
export declare function isAfter<DateType extends Date>(
|
22 |
+
date: DateType | number | string,
|
23 |
+
dateToCompare: DateType | number | string,
|
24 |
+
): boolean;
|
workersss/Autovideos-worker/shy-hill-f5c2/node_modules/date-fns/isAfter.js
ADDED
@@ -0,0 +1,29 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
"use strict";
|
2 |
+
exports.isAfter = isAfter;
|
3 |
+
var _index = require("./toDate.js");
|
4 |
+
|
5 |
+
/**
|
6 |
+
* @name isAfter
|
7 |
+
* @category Common Helpers
|
8 |
+
* @summary Is the first date after the second one?
|
9 |
+
*
|
10 |
+
* @description
|
11 |
+
* Is the first date after the second one?
|
12 |
+
*
|
13 |
+
* @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).
|
14 |
+
*
|
15 |
+
* @param date - The date that should be after the other one to return true
|
16 |
+
* @param dateToCompare - The date to compare with
|
17 |
+
*
|
18 |
+
* @returns The first date is after the second date
|
19 |
+
*
|
20 |
+
* @example
|
21 |
+
* // Is 10 July 1989 after 11 February 1987?
|
22 |
+
* const result = isAfter(new Date(1989, 6, 10), new Date(1987, 1, 11))
|
23 |
+
* //=> true
|
24 |
+
*/
|
25 |
+
function isAfter(date, dateToCompare) {
|
26 |
+
const _date = (0, _index.toDate)(date);
|
27 |
+
const _dateToCompare = (0, _index.toDate)(dateToCompare);
|
28 |
+
return _date.getTime() > _dateToCompare.getTime();
|
29 |
+
}
|
workersss/Autovideos-worker/shy-hill-f5c2/node_modules/date-fns/isAfter.mjs
ADDED
@@ -0,0 +1,30 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
import { toDate } from "./toDate.mjs";
|
2 |
+
|
3 |
+
/**
|
4 |
+
* @name isAfter
|
5 |
+
* @category Common Helpers
|
6 |
+
* @summary Is the first date after the second one?
|
7 |
+
*
|
8 |
+
* @description
|
9 |
+
* Is the first date after the second one?
|
10 |
+
*
|
11 |
+
* @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).
|
12 |
+
*
|
13 |
+
* @param date - The date that should be after the other one to return true
|
14 |
+
* @param dateToCompare - The date to compare with
|
15 |
+
*
|
16 |
+
* @returns The first date is after the second date
|
17 |
+
*
|
18 |
+
* @example
|
19 |
+
* // Is 10 July 1989 after 11 February 1987?
|
20 |
+
* const result = isAfter(new Date(1989, 6, 10), new Date(1987, 1, 11))
|
21 |
+
* //=> true
|
22 |
+
*/
|
23 |
+
export function isAfter(date, dateToCompare) {
|
24 |
+
const _date = toDate(date);
|
25 |
+
const _dateToCompare = toDate(dateToCompare);
|
26 |
+
return _date.getTime() > _dateToCompare.getTime();
|
27 |
+
}
|
28 |
+
|
29 |
+
// Fallback for modularized imports:
|
30 |
+
export default isAfter;
|
workersss/Autovideos-worker/shy-hill-f5c2/node_modules/date-fns/isBefore.d.mts
ADDED
@@ -0,0 +1,24 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
/**
|
2 |
+
* @name isBefore
|
3 |
+
* @category Common Helpers
|
4 |
+
* @summary Is the first date before the second one?
|
5 |
+
*
|
6 |
+
* @description
|
7 |
+
* Is the first date before the second one?
|
8 |
+
*
|
9 |
+
* @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).
|
10 |
+
*
|
11 |
+
* @param date - The date that should be before the other one to return true
|
12 |
+
* @param dateToCompare - The date to compare with
|
13 |
+
*
|
14 |
+
* @returns The first date is before the second date
|
15 |
+
*
|
16 |
+
* @example
|
17 |
+
* // Is 10 July 1989 before 11 February 1987?
|
18 |
+
* const result = isBefore(new Date(1989, 6, 10), new Date(1987, 1, 11))
|
19 |
+
* //=> false
|
20 |
+
*/
|
21 |
+
export declare function isBefore<DateType extends Date>(
|
22 |
+
date: DateType | number | string,
|
23 |
+
dateToCompare: DateType | number | string,
|
24 |
+
): boolean;
|
workersss/Autovideos-worker/shy-hill-f5c2/node_modules/date-fns/isBefore.d.ts
ADDED
@@ -0,0 +1,24 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
/**
|
2 |
+
* @name isBefore
|
3 |
+
* @category Common Helpers
|
4 |
+
* @summary Is the first date before the second one?
|
5 |
+
*
|
6 |
+
* @description
|
7 |
+
* Is the first date before the second one?
|
8 |
+
*
|
9 |
+
* @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).
|
10 |
+
*
|
11 |
+
* @param date - The date that should be before the other one to return true
|
12 |
+
* @param dateToCompare - The date to compare with
|
13 |
+
*
|
14 |
+
* @returns The first date is before the second date
|
15 |
+
*
|
16 |
+
* @example
|
17 |
+
* // Is 10 July 1989 before 11 February 1987?
|
18 |
+
* const result = isBefore(new Date(1989, 6, 10), new Date(1987, 1, 11))
|
19 |
+
* //=> false
|
20 |
+
*/
|
21 |
+
export declare function isBefore<DateType extends Date>(
|
22 |
+
date: DateType | number | string,
|
23 |
+
dateToCompare: DateType | number | string,
|
24 |
+
): boolean;
|
workersss/Autovideos-worker/shy-hill-f5c2/node_modules/date-fns/isBefore.js
ADDED
@@ -0,0 +1,29 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
"use strict";
|
2 |
+
exports.isBefore = isBefore;
|
3 |
+
var _index = require("./toDate.js");
|
4 |
+
|
5 |
+
/**
|
6 |
+
* @name isBefore
|
7 |
+
* @category Common Helpers
|
8 |
+
* @summary Is the first date before the second one?
|
9 |
+
*
|
10 |
+
* @description
|
11 |
+
* Is the first date before the second one?
|
12 |
+
*
|
13 |
+
* @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).
|
14 |
+
*
|
15 |
+
* @param date - The date that should be before the other one to return true
|
16 |
+
* @param dateToCompare - The date to compare with
|
17 |
+
*
|
18 |
+
* @returns The first date is before the second date
|
19 |
+
*
|
20 |
+
* @example
|
21 |
+
* // Is 10 July 1989 before 11 February 1987?
|
22 |
+
* const result = isBefore(new Date(1989, 6, 10), new Date(1987, 1, 11))
|
23 |
+
* //=> false
|
24 |
+
*/
|
25 |
+
function isBefore(date, dateToCompare) {
|
26 |
+
const _date = (0, _index.toDate)(date);
|
27 |
+
const _dateToCompare = (0, _index.toDate)(dateToCompare);
|
28 |
+
return +_date < +_dateToCompare;
|
29 |
+
}
|
workersss/Autovideos-worker/shy-hill-f5c2/node_modules/date-fns/isBefore.mjs
ADDED
@@ -0,0 +1,30 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
import { toDate } from "./toDate.mjs";
|
2 |
+
|
3 |
+
/**
|
4 |
+
* @name isBefore
|
5 |
+
* @category Common Helpers
|
6 |
+
* @summary Is the first date before the second one?
|
7 |
+
*
|
8 |
+
* @description
|
9 |
+
* Is the first date before the second one?
|
10 |
+
*
|
11 |
+
* @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).
|
12 |
+
*
|
13 |
+
* @param date - The date that should be before the other one to return true
|
14 |
+
* @param dateToCompare - The date to compare with
|
15 |
+
*
|
16 |
+
* @returns The first date is before the second date
|
17 |
+
*
|
18 |
+
* @example
|
19 |
+
* // Is 10 July 1989 before 11 February 1987?
|
20 |
+
* const result = isBefore(new Date(1989, 6, 10), new Date(1987, 1, 11))
|
21 |
+
* //=> false
|
22 |
+
*/
|
23 |
+
export function isBefore(date, dateToCompare) {
|
24 |
+
const _date = toDate(date);
|
25 |
+
const _dateToCompare = toDate(dateToCompare);
|
26 |
+
return +_date < +_dateToCompare;
|
27 |
+
}
|
28 |
+
|
29 |
+
// Fallback for modularized imports:
|
30 |
+
export default isBefore;
|
workersss/Autovideos-worker/shy-hill-f5c2/node_modules/date-fns/isDate.d.mts
ADDED
@@ -0,0 +1,33 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
/**
|
2 |
+
* @name isDate
|
3 |
+
* @category Common Helpers
|
4 |
+
* @summary Is the given value a date?
|
5 |
+
*
|
6 |
+
* @description
|
7 |
+
* Returns true if the given value is an instance of Date. The function works for dates transferred across iframes.
|
8 |
+
*
|
9 |
+
* @param value - The value to check
|
10 |
+
*
|
11 |
+
* @returns True if the given value is a date
|
12 |
+
*
|
13 |
+
* @example
|
14 |
+
* // For a valid date:
|
15 |
+
* const result = isDate(new Date())
|
16 |
+
* //=> true
|
17 |
+
*
|
18 |
+
* @example
|
19 |
+
* // For an invalid date:
|
20 |
+
* const result = isDate(new Date(NaN))
|
21 |
+
* //=> true
|
22 |
+
*
|
23 |
+
* @example
|
24 |
+
* // For some value:
|
25 |
+
* const result = isDate('2014-02-31')
|
26 |
+
* //=> false
|
27 |
+
*
|
28 |
+
* @example
|
29 |
+
* // For an object:
|
30 |
+
* const result = isDate({})
|
31 |
+
* //=> false
|
32 |
+
*/
|
33 |
+
export declare function isDate(value: unknown): value is Date;
|
workersss/Autovideos-worker/shy-hill-f5c2/node_modules/date-fns/isDate.d.ts
ADDED
@@ -0,0 +1,33 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
/**
|
2 |
+
* @name isDate
|
3 |
+
* @category Common Helpers
|
4 |
+
* @summary Is the given value a date?
|
5 |
+
*
|
6 |
+
* @description
|
7 |
+
* Returns true if the given value is an instance of Date. The function works for dates transferred across iframes.
|
8 |
+
*
|
9 |
+
* @param value - The value to check
|
10 |
+
*
|
11 |
+
* @returns True if the given value is a date
|
12 |
+
*
|
13 |
+
* @example
|
14 |
+
* // For a valid date:
|
15 |
+
* const result = isDate(new Date())
|
16 |
+
* //=> true
|
17 |
+
*
|
18 |
+
* @example
|
19 |
+
* // For an invalid date:
|
20 |
+
* const result = isDate(new Date(NaN))
|
21 |
+
* //=> true
|
22 |
+
*
|
23 |
+
* @example
|
24 |
+
* // For some value:
|
25 |
+
* const result = isDate('2014-02-31')
|
26 |
+
* //=> false
|
27 |
+
*
|
28 |
+
* @example
|
29 |
+
* // For an object:
|
30 |
+
* const result = isDate({})
|
31 |
+
* //=> false
|
32 |
+
*/
|
33 |
+
export declare function isDate(value: unknown): value is Date;
|
workersss/Autovideos-worker/shy-hill-f5c2/node_modules/date-fns/isDate.js
ADDED
@@ -0,0 +1,40 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
"use strict";
|
2 |
+
exports.isDate = isDate; /**
|
3 |
+
* @name isDate
|
4 |
+
* @category Common Helpers
|
5 |
+
* @summary Is the given value a date?
|
6 |
+
*
|
7 |
+
* @description
|
8 |
+
* Returns true if the given value is an instance of Date. The function works for dates transferred across iframes.
|
9 |
+
*
|
10 |
+
* @param value - The value to check
|
11 |
+
*
|
12 |
+
* @returns True if the given value is a date
|
13 |
+
*
|
14 |
+
* @example
|
15 |
+
* // For a valid date:
|
16 |
+
* const result = isDate(new Date())
|
17 |
+
* //=> true
|
18 |
+
*
|
19 |
+
* @example
|
20 |
+
* // For an invalid date:
|
21 |
+
* const result = isDate(new Date(NaN))
|
22 |
+
* //=> true
|
23 |
+
*
|
24 |
+
* @example
|
25 |
+
* // For some value:
|
26 |
+
* const result = isDate('2014-02-31')
|
27 |
+
* //=> false
|
28 |
+
*
|
29 |
+
* @example
|
30 |
+
* // For an object:
|
31 |
+
* const result = isDate({})
|
32 |
+
* //=> false
|
33 |
+
*/
|
34 |
+
function isDate(value) {
|
35 |
+
return (
|
36 |
+
value instanceof Date ||
|
37 |
+
(typeof value === "object" &&
|
38 |
+
Object.prototype.toString.call(value) === "[object Date]")
|
39 |
+
);
|
40 |
+
}
|
workersss/Autovideos-worker/shy-hill-f5c2/node_modules/date-fns/isDate.mjs
ADDED
@@ -0,0 +1,42 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
/**
|
2 |
+
* @name isDate
|
3 |
+
* @category Common Helpers
|
4 |
+
* @summary Is the given value a date?
|
5 |
+
*
|
6 |
+
* @description
|
7 |
+
* Returns true if the given value is an instance of Date. The function works for dates transferred across iframes.
|
8 |
+
*
|
9 |
+
* @param value - The value to check
|
10 |
+
*
|
11 |
+
* @returns True if the given value is a date
|
12 |
+
*
|
13 |
+
* @example
|
14 |
+
* // For a valid date:
|
15 |
+
* const result = isDate(new Date())
|
16 |
+
* //=> true
|
17 |
+
*
|
18 |
+
* @example
|
19 |
+
* // For an invalid date:
|
20 |
+
* const result = isDate(new Date(NaN))
|
21 |
+
* //=> true
|
22 |
+
*
|
23 |
+
* @example
|
24 |
+
* // For some value:
|
25 |
+
* const result = isDate('2014-02-31')
|
26 |
+
* //=> false
|
27 |
+
*
|
28 |
+
* @example
|
29 |
+
* // For an object:
|
30 |
+
* const result = isDate({})
|
31 |
+
* //=> false
|
32 |
+
*/
|
33 |
+
export function isDate(value) {
|
34 |
+
return (
|
35 |
+
value instanceof Date ||
|
36 |
+
(typeof value === "object" &&
|
37 |
+
Object.prototype.toString.call(value) === "[object Date]")
|
38 |
+
);
|
39 |
+
}
|
40 |
+
|
41 |
+
// Fallback for modularized imports:
|
42 |
+
export default isDate;
|
workersss/Autovideos-worker/shy-hill-f5c2/node_modules/date-fns/isEqual.d.mts
ADDED
@@ -0,0 +1,27 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
/**
|
2 |
+
* @name isEqual
|
3 |
+
* @category Common Helpers
|
4 |
+
* @summary Are the given dates equal?
|
5 |
+
*
|
6 |
+
* @description
|
7 |
+
* Are the given dates equal?
|
8 |
+
*
|
9 |
+
* @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).
|
10 |
+
*
|
11 |
+
* @param dateLeft - The first date to compare
|
12 |
+
* @param dateRight - The second date to compare
|
13 |
+
*
|
14 |
+
* @returns The dates are equal
|
15 |
+
*
|
16 |
+
* @example
|
17 |
+
* // Are 2 July 2014 06:30:45.000 and 2 July 2014 06:30:45.500 equal?
|
18 |
+
* const result = isEqual(
|
19 |
+
* new Date(2014, 6, 2, 6, 30, 45, 0),
|
20 |
+
* new Date(2014, 6, 2, 6, 30, 45, 500)
|
21 |
+
* )
|
22 |
+
* //=> false
|
23 |
+
*/
|
24 |
+
export declare function isEqual<DateType extends Date>(
|
25 |
+
leftDate: DateType | number | string,
|
26 |
+
rightDate: DateType | number | string,
|
27 |
+
): boolean;
|
workersss/Autovideos-worker/shy-hill-f5c2/node_modules/date-fns/isEqual.d.ts
ADDED
@@ -0,0 +1,27 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
/**
|
2 |
+
* @name isEqual
|
3 |
+
* @category Common Helpers
|
4 |
+
* @summary Are the given dates equal?
|
5 |
+
*
|
6 |
+
* @description
|
7 |
+
* Are the given dates equal?
|
8 |
+
*
|
9 |
+
* @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).
|
10 |
+
*
|
11 |
+
* @param dateLeft - The first date to compare
|
12 |
+
* @param dateRight - The second date to compare
|
13 |
+
*
|
14 |
+
* @returns The dates are equal
|
15 |
+
*
|
16 |
+
* @example
|
17 |
+
* // Are 2 July 2014 06:30:45.000 and 2 July 2014 06:30:45.500 equal?
|
18 |
+
* const result = isEqual(
|
19 |
+
* new Date(2014, 6, 2, 6, 30, 45, 0),
|
20 |
+
* new Date(2014, 6, 2, 6, 30, 45, 500)
|
21 |
+
* )
|
22 |
+
* //=> false
|
23 |
+
*/
|
24 |
+
export declare function isEqual<DateType extends Date>(
|
25 |
+
leftDate: DateType | number | string,
|
26 |
+
rightDate: DateType | number | string,
|
27 |
+
): boolean;
|
workersss/Autovideos-worker/shy-hill-f5c2/node_modules/date-fns/isEqual.js
ADDED
@@ -0,0 +1,32 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
"use strict";
|
2 |
+
exports.isEqual = isEqual;
|
3 |
+
var _index = require("./toDate.js");
|
4 |
+
|
5 |
+
/**
|
6 |
+
* @name isEqual
|
7 |
+
* @category Common Helpers
|
8 |
+
* @summary Are the given dates equal?
|
9 |
+
*
|
10 |
+
* @description
|
11 |
+
* Are the given dates equal?
|
12 |
+
*
|
13 |
+
* @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).
|
14 |
+
*
|
15 |
+
* @param dateLeft - The first date to compare
|
16 |
+
* @param dateRight - The second date to compare
|
17 |
+
*
|
18 |
+
* @returns The dates are equal
|
19 |
+
*
|
20 |
+
* @example
|
21 |
+
* // Are 2 July 2014 06:30:45.000 and 2 July 2014 06:30:45.500 equal?
|
22 |
+
* const result = isEqual(
|
23 |
+
* new Date(2014, 6, 2, 6, 30, 45, 0),
|
24 |
+
* new Date(2014, 6, 2, 6, 30, 45, 500)
|
25 |
+
* )
|
26 |
+
* //=> false
|
27 |
+
*/
|
28 |
+
function isEqual(leftDate, rightDate) {
|
29 |
+
const _dateLeft = (0, _index.toDate)(leftDate);
|
30 |
+
const _dateRight = (0, _index.toDate)(rightDate);
|
31 |
+
return +_dateLeft === +_dateRight;
|
32 |
+
}
|
workersss/Autovideos-worker/shy-hill-f5c2/node_modules/date-fns/isEqual.mjs
ADDED
@@ -0,0 +1,33 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
import { toDate } from "./toDate.mjs";
|
2 |
+
|
3 |
+
/**
|
4 |
+
* @name isEqual
|
5 |
+
* @category Common Helpers
|
6 |
+
* @summary Are the given dates equal?
|
7 |
+
*
|
8 |
+
* @description
|
9 |
+
* Are the given dates equal?
|
10 |
+
*
|
11 |
+
* @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).
|
12 |
+
*
|
13 |
+
* @param dateLeft - The first date to compare
|
14 |
+
* @param dateRight - The second date to compare
|
15 |
+
*
|
16 |
+
* @returns The dates are equal
|
17 |
+
*
|
18 |
+
* @example
|
19 |
+
* // Are 2 July 2014 06:30:45.000 and 2 July 2014 06:30:45.500 equal?
|
20 |
+
* const result = isEqual(
|
21 |
+
* new Date(2014, 6, 2, 6, 30, 45, 0),
|
22 |
+
* new Date(2014, 6, 2, 6, 30, 45, 500)
|
23 |
+
* )
|
24 |
+
* //=> false
|
25 |
+
*/
|
26 |
+
export function isEqual(leftDate, rightDate) {
|
27 |
+
const _dateLeft = toDate(leftDate);
|
28 |
+
const _dateRight = toDate(rightDate);
|
29 |
+
return +_dateLeft === +_dateRight;
|
30 |
+
}
|
31 |
+
|
32 |
+
// Fallback for modularized imports:
|
33 |
+
export default isEqual;
|
workersss/Autovideos-worker/shy-hill-f5c2/node_modules/date-fns/isExists.d.mts
ADDED
@@ -0,0 +1,29 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
/**
|
2 |
+
* @name isExists
|
3 |
+
* @category Common Helpers
|
4 |
+
* @summary Is the given date exists?
|
5 |
+
*
|
6 |
+
* @description
|
7 |
+
* Checks if the given arguments convert to an existing date.
|
8 |
+
*
|
9 |
+
* @param year - The year of the date to check
|
10 |
+
* @param month - The month of the date to check
|
11 |
+
* @param day - The day of the date to check
|
12 |
+
*
|
13 |
+
* @returns `true` if the date exists
|
14 |
+
*
|
15 |
+
* @example
|
16 |
+
* // For the valid date:
|
17 |
+
* const result = isExists(2018, 0, 31)
|
18 |
+
* //=> true
|
19 |
+
*
|
20 |
+
* @example
|
21 |
+
* // For the invalid date:
|
22 |
+
* const result = isExists(2018, 1, 31)
|
23 |
+
* //=> false
|
24 |
+
*/
|
25 |
+
export declare function isExists(
|
26 |
+
year: number,
|
27 |
+
month: number,
|
28 |
+
day: number,
|
29 |
+
): boolean;
|
workersss/Autovideos-worker/shy-hill-f5c2/node_modules/date-fns/isExists.d.ts
ADDED
@@ -0,0 +1,29 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
/**
|
2 |
+
* @name isExists
|
3 |
+
* @category Common Helpers
|
4 |
+
* @summary Is the given date exists?
|
5 |
+
*
|
6 |
+
* @description
|
7 |
+
* Checks if the given arguments convert to an existing date.
|
8 |
+
*
|
9 |
+
* @param year - The year of the date to check
|
10 |
+
* @param month - The month of the date to check
|
11 |
+
* @param day - The day of the date to check
|
12 |
+
*
|
13 |
+
* @returns `true` if the date exists
|
14 |
+
*
|
15 |
+
* @example
|
16 |
+
* // For the valid date:
|
17 |
+
* const result = isExists(2018, 0, 31)
|
18 |
+
* //=> true
|
19 |
+
*
|
20 |
+
* @example
|
21 |
+
* // For the invalid date:
|
22 |
+
* const result = isExists(2018, 1, 31)
|
23 |
+
* //=> false
|
24 |
+
*/
|
25 |
+
export declare function isExists(
|
26 |
+
year: number,
|
27 |
+
month: number,
|
28 |
+
day: number,
|
29 |
+
): boolean;
|
workersss/Autovideos-worker/shy-hill-f5c2/node_modules/date-fns/isExists.js
ADDED
@@ -0,0 +1,33 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
"use strict";
|
2 |
+
exports.isExists = isExists; /**
|
3 |
+
* @name isExists
|
4 |
+
* @category Common Helpers
|
5 |
+
* @summary Is the given date exists?
|
6 |
+
*
|
7 |
+
* @description
|
8 |
+
* Checks if the given arguments convert to an existing date.
|
9 |
+
*
|
10 |
+
* @param year - The year of the date to check
|
11 |
+
* @param month - The month of the date to check
|
12 |
+
* @param day - The day of the date to check
|
13 |
+
*
|
14 |
+
* @returns `true` if the date exists
|
15 |
+
*
|
16 |
+
* @example
|
17 |
+
* // For the valid date:
|
18 |
+
* const result = isExists(2018, 0, 31)
|
19 |
+
* //=> true
|
20 |
+
*
|
21 |
+
* @example
|
22 |
+
* // For the invalid date:
|
23 |
+
* const result = isExists(2018, 1, 31)
|
24 |
+
* //=> false
|
25 |
+
*/
|
26 |
+
function isExists(year, month, day) {
|
27 |
+
const date = new Date(year, month, day);
|
28 |
+
return (
|
29 |
+
date.getFullYear() === year &&
|
30 |
+
date.getMonth() === month &&
|
31 |
+
date.getDate() === day
|
32 |
+
);
|
33 |
+
}
|
workersss/Autovideos-worker/shy-hill-f5c2/node_modules/date-fns/isExists.mjs
ADDED
@@ -0,0 +1,35 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
/**
|
2 |
+
* @name isExists
|
3 |
+
* @category Common Helpers
|
4 |
+
* @summary Is the given date exists?
|
5 |
+
*
|
6 |
+
* @description
|
7 |
+
* Checks if the given arguments convert to an existing date.
|
8 |
+
*
|
9 |
+
* @param year - The year of the date to check
|
10 |
+
* @param month - The month of the date to check
|
11 |
+
* @param day - The day of the date to check
|
12 |
+
*
|
13 |
+
* @returns `true` if the date exists
|
14 |
+
*
|
15 |
+
* @example
|
16 |
+
* // For the valid date:
|
17 |
+
* const result = isExists(2018, 0, 31)
|
18 |
+
* //=> true
|
19 |
+
*
|
20 |
+
* @example
|
21 |
+
* // For the invalid date:
|
22 |
+
* const result = isExists(2018, 1, 31)
|
23 |
+
* //=> false
|
24 |
+
*/
|
25 |
+
export function isExists(year, month, day) {
|
26 |
+
const date = new Date(year, month, day);
|
27 |
+
return (
|
28 |
+
date.getFullYear() === year &&
|
29 |
+
date.getMonth() === month &&
|
30 |
+
date.getDate() === day
|
31 |
+
);
|
32 |
+
}
|
33 |
+
|
34 |
+
// Fallback for modularized imports:
|
35 |
+
export default isExists;
|
workersss/Autovideos-worker/shy-hill-f5c2/node_modules/date-fns/isFirstDayOfMonth.d.mts
ADDED
@@ -0,0 +1,22 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
/**
|
2 |
+
* @name isFirstDayOfMonth
|
3 |
+
* @category Month Helpers
|
4 |
+
* @summary Is the given date the first day of a month?
|
5 |
+
*
|
6 |
+
* @description
|
7 |
+
* Is the given date the first day of a month?
|
8 |
+
*
|
9 |
+
* @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).
|
10 |
+
*
|
11 |
+
* @param date - The date to check
|
12 |
+
|
13 |
+
* @returns The date is the first day of a month
|
14 |
+
*
|
15 |
+
* @example
|
16 |
+
* // Is 1 September 2014 the first day of a month?
|
17 |
+
* const result = isFirstDayOfMonth(new Date(2014, 8, 1))
|
18 |
+
* //=> true
|
19 |
+
*/
|
20 |
+
export declare function isFirstDayOfMonth<DateType extends Date>(
|
21 |
+
date: DateType | number | string,
|
22 |
+
): boolean;
|
workersss/Autovideos-worker/shy-hill-f5c2/node_modules/date-fns/isFirstDayOfMonth.d.ts
ADDED
@@ -0,0 +1,22 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
/**
|
2 |
+
* @name isFirstDayOfMonth
|
3 |
+
* @category Month Helpers
|
4 |
+
* @summary Is the given date the first day of a month?
|
5 |
+
*
|
6 |
+
* @description
|
7 |
+
* Is the given date the first day of a month?
|
8 |
+
*
|
9 |
+
* @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).
|
10 |
+
*
|
11 |
+
* @param date - The date to check
|
12 |
+
|
13 |
+
* @returns The date is the first day of a month
|
14 |
+
*
|
15 |
+
* @example
|
16 |
+
* // Is 1 September 2014 the first day of a month?
|
17 |
+
* const result = isFirstDayOfMonth(new Date(2014, 8, 1))
|
18 |
+
* //=> true
|
19 |
+
*/
|
20 |
+
export declare function isFirstDayOfMonth<DateType extends Date>(
|
21 |
+
date: DateType | number | string,
|
22 |
+
): boolean;
|
workersss/Autovideos-worker/shy-hill-f5c2/node_modules/date-fns/isFirstDayOfMonth.js
ADDED
@@ -0,0 +1,26 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
"use strict";
|
2 |
+
exports.isFirstDayOfMonth = isFirstDayOfMonth;
|
3 |
+
var _index = require("./toDate.js");
|
4 |
+
|
5 |
+
/**
|
6 |
+
* @name isFirstDayOfMonth
|
7 |
+
* @category Month Helpers
|
8 |
+
* @summary Is the given date the first day of a month?
|
9 |
+
*
|
10 |
+
* @description
|
11 |
+
* Is the given date the first day of a month?
|
12 |
+
*
|
13 |
+
* @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).
|
14 |
+
*
|
15 |
+
* @param date - The date to check
|
16 |
+
|
17 |
+
* @returns The date is the first day of a month
|
18 |
+
*
|
19 |
+
* @example
|
20 |
+
* // Is 1 September 2014 the first day of a month?
|
21 |
+
* const result = isFirstDayOfMonth(new Date(2014, 8, 1))
|
22 |
+
* //=> true
|
23 |
+
*/
|
24 |
+
function isFirstDayOfMonth(date) {
|
25 |
+
return (0, _index.toDate)(date).getDate() === 1;
|
26 |
+
}
|
workersss/Autovideos-worker/shy-hill-f5c2/node_modules/date-fns/isFirstDayOfMonth.mjs
ADDED
@@ -0,0 +1,27 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
import { toDate } from "./toDate.mjs";
|
2 |
+
|
3 |
+
/**
|
4 |
+
* @name isFirstDayOfMonth
|
5 |
+
* @category Month Helpers
|
6 |
+
* @summary Is the given date the first day of a month?
|
7 |
+
*
|
8 |
+
* @description
|
9 |
+
* Is the given date the first day of a month?
|
10 |
+
*
|
11 |
+
* @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).
|
12 |
+
*
|
13 |
+
* @param date - The date to check
|
14 |
+
|
15 |
+
* @returns The date is the first day of a month
|
16 |
+
*
|
17 |
+
* @example
|
18 |
+
* // Is 1 September 2014 the first day of a month?
|
19 |
+
* const result = isFirstDayOfMonth(new Date(2014, 8, 1))
|
20 |
+
* //=> true
|
21 |
+
*/
|
22 |
+
export function isFirstDayOfMonth(date) {
|
23 |
+
return toDate(date).getDate() === 1;
|
24 |
+
}
|
25 |
+
|
26 |
+
// Fallback for modularized imports:
|
27 |
+
export default isFirstDayOfMonth;
|