luigi12345 commited on
Commit
f65e195
1 Parent(s): ce18baa

68988f70529412895b9b3c394a6258070a9659db154564fdf6340d4929982b1d

Browse files
Files changed (50) hide show
  1. workersss/Autovideos-worker/shy-hill-f5c2/node_modules/date-fns/formatDuration.js +105 -0
  2. workersss/Autovideos-worker/shy-hill-f5c2/node_modules/date-fns/formatDuration.mjs +104 -0
  3. workersss/Autovideos-worker/shy-hill-f5c2/node_modules/date-fns/formatISO.d.mts +46 -0
  4. workersss/Autovideos-worker/shy-hill-f5c2/node_modules/date-fns/formatISO.d.ts +46 -0
  5. workersss/Autovideos-worker/shy-hill-f5c2/node_modules/date-fns/formatISO.js +109 -0
  6. workersss/Autovideos-worker/shy-hill-f5c2/node_modules/date-fns/formatISO.mjs +106 -0
  7. workersss/Autovideos-worker/shy-hill-f5c2/node_modules/date-fns/formatISO9075.d.mts +46 -0
  8. workersss/Autovideos-worker/shy-hill-f5c2/node_modules/date-fns/formatISO9075.d.ts +46 -0
  9. workersss/Autovideos-worker/shy-hill-f5c2/node_modules/date-fns/formatISO9075.js +88 -0
  10. workersss/Autovideos-worker/shy-hill-f5c2/node_modules/date-fns/formatISO9075.mjs +88 -0
  11. workersss/Autovideos-worker/shy-hill-f5c2/node_modules/date-fns/formatISODuration.d.mts +26 -0
  12. workersss/Autovideos-worker/shy-hill-f5c2/node_modules/date-fns/formatISODuration.d.ts +26 -0
  13. workersss/Autovideos-worker/shy-hill-f5c2/node_modules/date-fns/formatISODuration.js +39 -0
  14. workersss/Autovideos-worker/shy-hill-f5c2/node_modules/date-fns/formatISODuration.mjs +39 -0
  15. workersss/Autovideos-worker/shy-hill-f5c2/node_modules/date-fns/formatRFC3339.d.mts +40 -0
  16. workersss/Autovideos-worker/shy-hill-f5c2/node_modules/date-fns/formatRFC3339.d.ts +40 -0
  17. workersss/Autovideos-worker/shy-hill-f5c2/node_modules/date-fns/formatRFC3339.js +86 -0
  18. workersss/Autovideos-worker/shy-hill-f5c2/node_modules/date-fns/formatRFC3339.mjs +83 -0
  19. workersss/Autovideos-worker/shy-hill-f5c2/node_modules/date-fns/formatRFC7231.d.mts +25 -0
  20. workersss/Autovideos-worker/shy-hill-f5c2/node_modules/date-fns/formatRFC7231.d.ts +25 -0
  21. workersss/Autovideos-worker/shy-hill-f5c2/node_modules/date-fns/formatRFC7231.js +64 -0
  22. workersss/Autovideos-worker/shy-hill-f5c2/node_modules/date-fns/formatRFC7231.mjs +65 -0
  23. workersss/Autovideos-worker/shy-hill-f5c2/node_modules/date-fns/formatRelative.d.mts +50 -0
  24. workersss/Autovideos-worker/shy-hill-f5c2/node_modules/date-fns/formatRelative.d.ts +50 -0
  25. workersss/Autovideos-worker/shy-hill-f5c2/node_modules/date-fns/formatRelative.js +93 -0
  26. workersss/Autovideos-worker/shy-hill-f5c2/node_modules/date-fns/formatRelative.mjs +91 -0
  27. workersss/Autovideos-worker/shy-hill-f5c2/node_modules/date-fns/fp/_lib/convertToFP.d.mts +17 -0
  28. workersss/Autovideos-worker/shy-hill-f5c2/node_modules/date-fns/fp/_lib/convertToFP.d.ts +17 -0
  29. workersss/Autovideos-worker/shy-hill-f5c2/node_modules/date-fns/fp/_lib/convertToFP.js +20 -0
  30. workersss/Autovideos-worker/shy-hill-f5c2/node_modules/date-fns/fp/_lib/convertToFP.mjs +17 -0
  31. workersss/Autovideos-worker/shy-hill-f5c2/node_modules/date-fns/fp/add.d.mts +5 -0
  32. workersss/Autovideos-worker/shy-hill-f5c2/node_modules/date-fns/fp/add.d.ts +5 -0
  33. workersss/Autovideos-worker/shy-hill-f5c2/node_modules/date-fns/fp/add.js +7 -0
  34. workersss/Autovideos-worker/shy-hill-f5c2/node_modules/date-fns/fp/add.mjs +8 -0
  35. workersss/Autovideos-worker/shy-hill-f5c2/node_modules/date-fns/fp/addBusinessDays.d.mts +5 -0
  36. workersss/Autovideos-worker/shy-hill-f5c2/node_modules/date-fns/fp/addBusinessDays.d.ts +5 -0
  37. workersss/Autovideos-worker/shy-hill-f5c2/node_modules/date-fns/fp/addBusinessDays.js +10 -0
  38. workersss/Autovideos-worker/shy-hill-f5c2/node_modules/date-fns/fp/addBusinessDays.mjs +8 -0
  39. workersss/Autovideos-worker/shy-hill-f5c2/node_modules/date-fns/fp/addDays.d.mts +5 -0
  40. workersss/Autovideos-worker/shy-hill-f5c2/node_modules/date-fns/fp/addDays.d.ts +5 -0
  41. workersss/Autovideos-worker/shy-hill-f5c2/node_modules/date-fns/fp/addDays.js +7 -0
  42. workersss/Autovideos-worker/shy-hill-f5c2/node_modules/date-fns/fp/addDays.mjs +8 -0
  43. workersss/Autovideos-worker/shy-hill-f5c2/node_modules/date-fns/fp/addHours.d.mts +5 -0
  44. workersss/Autovideos-worker/shy-hill-f5c2/node_modules/date-fns/fp/addHours.d.ts +5 -0
  45. workersss/Autovideos-worker/shy-hill-f5c2/node_modules/date-fns/fp/addHours.js +10 -0
  46. workersss/Autovideos-worker/shy-hill-f5c2/node_modules/date-fns/fp/addHours.mjs +8 -0
  47. workersss/Autovideos-worker/shy-hill-f5c2/node_modules/date-fns/fp/addISOWeekYears.d.mts +5 -0
  48. workersss/Autovideos-worker/shy-hill-f5c2/node_modules/date-fns/fp/addISOWeekYears.d.ts +5 -0
  49. workersss/Autovideos-worker/shy-hill-f5c2/node_modules/date-fns/fp/addISOWeekYears.js +10 -0
  50. workersss/Autovideos-worker/shy-hill-f5c2/node_modules/date-fns/fp/addISOWeekYears.mjs +8 -0
workersss/Autovideos-worker/shy-hill-f5c2/node_modules/date-fns/formatDuration.js ADDED
@@ -0,0 +1,105 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ "use strict";
2
+ exports.formatDuration = formatDuration;
3
+
4
+ var _index = require("./_lib/defaultLocale.js");
5
+ var _index2 = require("./_lib/defaultOptions.js");
6
+
7
+ /**
8
+ * The {@link formatDuration} function options.
9
+ */
10
+
11
+ const defaultFormat = [
12
+ "years",
13
+ "months",
14
+ "weeks",
15
+ "days",
16
+ "hours",
17
+ "minutes",
18
+ "seconds",
19
+ ];
20
+
21
+ /**
22
+ * @name formatDuration
23
+ * @category Common Helpers
24
+ * @summary Formats a duration in human-readable format
25
+ *
26
+ * @description
27
+ * Return human-readable duration string i.e. "9 months 2 days"
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 duration - The duration to format
32
+ * @param options - An object with options.
33
+ *
34
+ * @returns The formatted date string
35
+ *
36
+ * @example
37
+ * // Format full duration
38
+ * formatDuration({
39
+ * years: 2,
40
+ * months: 9,
41
+ * weeks: 1,
42
+ * days: 7,
43
+ * hours: 5,
44
+ * minutes: 9,
45
+ * seconds: 30
46
+ * })
47
+ * //=> '2 years 9 months 1 week 7 days 5 hours 9 minutes 30 seconds'
48
+ *
49
+ * @example
50
+ * // Format partial duration
51
+ * formatDuration({ months: 9, days: 2 })
52
+ * //=> '9 months 2 days'
53
+ *
54
+ * @example
55
+ * // Customize the format
56
+ * formatDuration(
57
+ * {
58
+ * years: 2,
59
+ * months: 9,
60
+ * weeks: 1,
61
+ * days: 7,
62
+ * hours: 5,
63
+ * minutes: 9,
64
+ * seconds: 30
65
+ * },
66
+ * { format: ['months', 'weeks'] }
67
+ * ) === '9 months 1 week'
68
+ *
69
+ * @example
70
+ * // Customize the zeros presence
71
+ * formatDuration({ years: 0, months: 9 })
72
+ * //=> '9 months'
73
+ * formatDuration({ years: 0, months: 9 }, { zero: true })
74
+ * //=> '0 years 9 months'
75
+ *
76
+ * @example
77
+ * // Customize the delimiter
78
+ * formatDuration({ years: 2, months: 9, weeks: 3 }, { delimiter: ', ' })
79
+ * //=> '2 years, 9 months, 3 weeks'
80
+ */
81
+ function formatDuration(duration, options) {
82
+ const defaultOptions = (0, _index2.getDefaultOptions)();
83
+ const locale =
84
+ options?.locale ?? defaultOptions.locale ?? _index.defaultLocale;
85
+ const format = options?.format ?? defaultFormat;
86
+ const zero = options?.zero ?? false;
87
+ const delimiter = options?.delimiter ?? " ";
88
+
89
+ if (!locale.formatDistance) {
90
+ return "";
91
+ }
92
+
93
+ const result = format
94
+ .reduce((acc, unit) => {
95
+ const token = `x${unit.replace(/(^.)/, (m) => m.toUpperCase())}`;
96
+ const value = duration[unit];
97
+ if (value !== undefined && (zero || duration[unit])) {
98
+ return acc.concat(locale.formatDistance(token, value));
99
+ }
100
+ return acc;
101
+ }, [])
102
+ .join(delimiter);
103
+
104
+ return result;
105
+ }
workersss/Autovideos-worker/shy-hill-f5c2/node_modules/date-fns/formatDuration.mjs ADDED
@@ -0,0 +1,104 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import { defaultLocale } from "./_lib/defaultLocale.mjs";
2
+ import { getDefaultOptions } from "./_lib/defaultOptions.mjs";
3
+
4
+ /**
5
+ * The {@link formatDuration} function options.
6
+ */
7
+
8
+ const defaultFormat = [
9
+ "years",
10
+ "months",
11
+ "weeks",
12
+ "days",
13
+ "hours",
14
+ "minutes",
15
+ "seconds",
16
+ ];
17
+
18
+ /**
19
+ * @name formatDuration
20
+ * @category Common Helpers
21
+ * @summary Formats a duration in human-readable format
22
+ *
23
+ * @description
24
+ * Return human-readable duration string i.e. "9 months 2 days"
25
+ *
26
+ * @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).
27
+ *
28
+ * @param duration - The duration to format
29
+ * @param options - An object with options.
30
+ *
31
+ * @returns The formatted date string
32
+ *
33
+ * @example
34
+ * // Format full duration
35
+ * formatDuration({
36
+ * years: 2,
37
+ * months: 9,
38
+ * weeks: 1,
39
+ * days: 7,
40
+ * hours: 5,
41
+ * minutes: 9,
42
+ * seconds: 30
43
+ * })
44
+ * //=> '2 years 9 months 1 week 7 days 5 hours 9 minutes 30 seconds'
45
+ *
46
+ * @example
47
+ * // Format partial duration
48
+ * formatDuration({ months: 9, days: 2 })
49
+ * //=> '9 months 2 days'
50
+ *
51
+ * @example
52
+ * // Customize the format
53
+ * formatDuration(
54
+ * {
55
+ * years: 2,
56
+ * months: 9,
57
+ * weeks: 1,
58
+ * days: 7,
59
+ * hours: 5,
60
+ * minutes: 9,
61
+ * seconds: 30
62
+ * },
63
+ * { format: ['months', 'weeks'] }
64
+ * ) === '9 months 1 week'
65
+ *
66
+ * @example
67
+ * // Customize the zeros presence
68
+ * formatDuration({ years: 0, months: 9 })
69
+ * //=> '9 months'
70
+ * formatDuration({ years: 0, months: 9 }, { zero: true })
71
+ * //=> '0 years 9 months'
72
+ *
73
+ * @example
74
+ * // Customize the delimiter
75
+ * formatDuration({ years: 2, months: 9, weeks: 3 }, { delimiter: ', ' })
76
+ * //=> '2 years, 9 months, 3 weeks'
77
+ */
78
+ export function formatDuration(duration, options) {
79
+ const defaultOptions = getDefaultOptions();
80
+ const locale = options?.locale ?? defaultOptions.locale ?? defaultLocale;
81
+ const format = options?.format ?? defaultFormat;
82
+ const zero = options?.zero ?? false;
83
+ const delimiter = options?.delimiter ?? " ";
84
+
85
+ if (!locale.formatDistance) {
86
+ return "";
87
+ }
88
+
89
+ const result = format
90
+ .reduce((acc, unit) => {
91
+ const token = `x${unit.replace(/(^.)/, (m) => m.toUpperCase())}`;
92
+ const value = duration[unit];
93
+ if (value !== undefined && (zero || duration[unit])) {
94
+ return acc.concat(locale.formatDistance(token, value));
95
+ }
96
+ return acc;
97
+ }, [])
98
+ .join(delimiter);
99
+
100
+ return result;
101
+ }
102
+
103
+ // Fallback for modularized imports:
104
+ export default formatDuration;
workersss/Autovideos-worker/shy-hill-f5c2/node_modules/date-fns/formatISO.d.mts ADDED
@@ -0,0 +1,46 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import type { ISOFormatOptions } from "./types.js";
2
+ /**
3
+ * The {@link formatISO} function options.
4
+ */
5
+ export interface FormatISOOptions extends ISOFormatOptions {}
6
+ /**
7
+ * @name formatISO
8
+ * @category Common Helpers
9
+ * @summary Format the date according to the ISO 8601 standard (https://support.sas.com/documentation/cdl/en/lrdict/64316/HTML/default/viewer.htm#a003169814.htm).
10
+ *
11
+ * @description
12
+ * Return the formatted date string in ISO 8601 format. Options may be passed to control the parts and notations of the date.
13
+ *
14
+ * @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).
15
+ *
16
+ * @param date - The original date
17
+ * @param options - An object with options.
18
+ *
19
+ * @returns The formatted date string (in loca.l time zone)
20
+ *
21
+ * @throws `date` must not be Invalid Date
22
+ *
23
+ * @example
24
+ * // Represent 18 September 2019 in ISO 8601 format (local time zone is UTC):
25
+ * const result = formatISO(new Date(2019, 8, 18, 19, 0, 52))
26
+ * //=> '2019-09-18T19:00:52Z'
27
+ *
28
+ * @example
29
+ * // Represent 18 September 2019 in ISO 8601, short format (local time zone is UTC):
30
+ * const result = formatISO(new Date(2019, 8, 18, 19, 0, 52), { format: 'basic' })
31
+ * //=> '20190918T190052'
32
+ *
33
+ * @example
34
+ * // Represent 18 September 2019 in ISO 8601 format, date only:
35
+ * const result = formatISO(new Date(2019, 8, 18, 19, 0, 52), { representation: 'date' })
36
+ * //=> '2019-09-18'
37
+ *
38
+ * @example
39
+ * // Represent 18 September 2019 in ISO 8601 format, time only (local time zone is UTC):
40
+ * const result = formatISO(new Date(2019, 8, 18, 19, 0, 52), { representation: 'time' })
41
+ * //=> '19:00:52Z'
42
+ */
43
+ export declare function formatISO<DateType extends Date>(
44
+ date: DateType | number | string,
45
+ options?: FormatISOOptions,
46
+ ): string;
workersss/Autovideos-worker/shy-hill-f5c2/node_modules/date-fns/formatISO.d.ts ADDED
@@ -0,0 +1,46 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import type { ISOFormatOptions } from "./types.js";
2
+ /**
3
+ * The {@link formatISO} function options.
4
+ */
5
+ export interface FormatISOOptions extends ISOFormatOptions {}
6
+ /**
7
+ * @name formatISO
8
+ * @category Common Helpers
9
+ * @summary Format the date according to the ISO 8601 standard (https://support.sas.com/documentation/cdl/en/lrdict/64316/HTML/default/viewer.htm#a003169814.htm).
10
+ *
11
+ * @description
12
+ * Return the formatted date string in ISO 8601 format. Options may be passed to control the parts and notations of the date.
13
+ *
14
+ * @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).
15
+ *
16
+ * @param date - The original date
17
+ * @param options - An object with options.
18
+ *
19
+ * @returns The formatted date string (in loca.l time zone)
20
+ *
21
+ * @throws `date` must not be Invalid Date
22
+ *
23
+ * @example
24
+ * // Represent 18 September 2019 in ISO 8601 format (local time zone is UTC):
25
+ * const result = formatISO(new Date(2019, 8, 18, 19, 0, 52))
26
+ * //=> '2019-09-18T19:00:52Z'
27
+ *
28
+ * @example
29
+ * // Represent 18 September 2019 in ISO 8601, short format (local time zone is UTC):
30
+ * const result = formatISO(new Date(2019, 8, 18, 19, 0, 52), { format: 'basic' })
31
+ * //=> '20190918T190052'
32
+ *
33
+ * @example
34
+ * // Represent 18 September 2019 in ISO 8601 format, date only:
35
+ * const result = formatISO(new Date(2019, 8, 18, 19, 0, 52), { representation: 'date' })
36
+ * //=> '2019-09-18'
37
+ *
38
+ * @example
39
+ * // Represent 18 September 2019 in ISO 8601 format, time only (local time zone is UTC):
40
+ * const result = formatISO(new Date(2019, 8, 18, 19, 0, 52), { representation: 'time' })
41
+ * //=> '19:00:52Z'
42
+ */
43
+ export declare function formatISO<DateType extends Date>(
44
+ date: DateType | number | string,
45
+ options?: FormatISOOptions,
46
+ ): string;
workersss/Autovideos-worker/shy-hill-f5c2/node_modules/date-fns/formatISO.js ADDED
@@ -0,0 +1,109 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ "use strict";
2
+ exports.formatISO = formatISO;
3
+ var _index = require("./toDate.js");
4
+
5
+ var _index2 = require("./_lib/addLeadingZeros.js");
6
+
7
+ /**
8
+ * The {@link formatISO} function options.
9
+ */
10
+
11
+ /**
12
+ * @name formatISO
13
+ * @category Common Helpers
14
+ * @summary Format the date according to the ISO 8601 standard (https://support.sas.com/documentation/cdl/en/lrdict/64316/HTML/default/viewer.htm#a003169814.htm).
15
+ *
16
+ * @description
17
+ * Return the formatted date string in ISO 8601 format. Options may be passed to control the parts and notations of the date.
18
+ *
19
+ * @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).
20
+ *
21
+ * @param date - The original date
22
+ * @param options - An object with options.
23
+ *
24
+ * @returns The formatted date string (in loca.l time zone)
25
+ *
26
+ * @throws `date` must not be Invalid Date
27
+ *
28
+ * @example
29
+ * // Represent 18 September 2019 in ISO 8601 format (local time zone is UTC):
30
+ * const result = formatISO(new Date(2019, 8, 18, 19, 0, 52))
31
+ * //=> '2019-09-18T19:00:52Z'
32
+ *
33
+ * @example
34
+ * // Represent 18 September 2019 in ISO 8601, short format (local time zone is UTC):
35
+ * const result = formatISO(new Date(2019, 8, 18, 19, 0, 52), { format: 'basic' })
36
+ * //=> '20190918T190052'
37
+ *
38
+ * @example
39
+ * // Represent 18 September 2019 in ISO 8601 format, date only:
40
+ * const result = formatISO(new Date(2019, 8, 18, 19, 0, 52), { representation: 'date' })
41
+ * //=> '2019-09-18'
42
+ *
43
+ * @example
44
+ * // Represent 18 September 2019 in ISO 8601 format, time only (local time zone is UTC):
45
+ * const result = formatISO(new Date(2019, 8, 18, 19, 0, 52), { representation: 'time' })
46
+ * //=> '19:00:52Z'
47
+ */
48
+ function formatISO(date, options) {
49
+ const _date = (0, _index.toDate)(date);
50
+
51
+ if (isNaN(_date.getTime())) {
52
+ throw new RangeError("Invalid time value");
53
+ }
54
+
55
+ const format = options?.format ?? "extended";
56
+ const representation = options?.representation ?? "complete";
57
+
58
+ let result = "";
59
+ let tzOffset = "";
60
+
61
+ const dateDelimiter = format === "extended" ? "-" : "";
62
+ const timeDelimiter = format === "extended" ? ":" : "";
63
+
64
+ // Representation is either 'date' or 'complete'
65
+ if (representation !== "time") {
66
+ const day = (0, _index2.addLeadingZeros)(_date.getDate(), 2);
67
+ const month = (0, _index2.addLeadingZeros)(_date.getMonth() + 1, 2);
68
+ const year = (0, _index2.addLeadingZeros)(_date.getFullYear(), 4);
69
+
70
+ // yyyyMMdd or yyyy-MM-dd.
71
+ result = `${year}${dateDelimiter}${month}${dateDelimiter}${day}`;
72
+ }
73
+
74
+ // Representation is either 'time' or 'complete'
75
+ if (representation !== "date") {
76
+ // Add the timezone.
77
+ const offset = _date.getTimezoneOffset();
78
+
79
+ if (offset !== 0) {
80
+ const absoluteOffset = Math.abs(offset);
81
+ const hourOffset = (0, _index2.addLeadingZeros)(
82
+ Math.trunc(absoluteOffset / 60),
83
+ 2,
84
+ );
85
+ const minuteOffset = (0, _index2.addLeadingZeros)(absoluteOffset % 60, 2);
86
+ // If less than 0, the sign is +, because it is ahead of time.
87
+ const sign = offset < 0 ? "+" : "-";
88
+
89
+ tzOffset = `${sign}${hourOffset}:${minuteOffset}`;
90
+ } else {
91
+ tzOffset = "Z";
92
+ }
93
+
94
+ const hour = (0, _index2.addLeadingZeros)(_date.getHours(), 2);
95
+ const minute = (0, _index2.addLeadingZeros)(_date.getMinutes(), 2);
96
+ const second = (0, _index2.addLeadingZeros)(_date.getSeconds(), 2);
97
+
98
+ // If there's also date, separate it with time with 'T'
99
+ const separator = result === "" ? "" : "T";
100
+
101
+ // Creates a time string consisting of hour, minute, and second, separated by delimiters, if defined.
102
+ const time = [hour, minute, second].join(timeDelimiter);
103
+
104
+ // HHmmss or HH:mm:ss.
105
+ result = `${result}${separator}${time}${tzOffset}`;
106
+ }
107
+
108
+ return result;
109
+ }
workersss/Autovideos-worker/shy-hill-f5c2/node_modules/date-fns/formatISO.mjs ADDED
@@ -0,0 +1,106 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import { toDate } from "./toDate.mjs";
2
+ import { addLeadingZeros } from "./_lib/addLeadingZeros.mjs";
3
+
4
+ /**
5
+ * The {@link formatISO} function options.
6
+ */
7
+
8
+ /**
9
+ * @name formatISO
10
+ * @category Common Helpers
11
+ * @summary Format the date according to the ISO 8601 standard (https://support.sas.com/documentation/cdl/en/lrdict/64316/HTML/default/viewer.htm#a003169814.htm).
12
+ *
13
+ * @description
14
+ * Return the formatted date string in ISO 8601 format. Options may be passed to control the parts and notations of the date.
15
+ *
16
+ * @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).
17
+ *
18
+ * @param date - The original date
19
+ * @param options - An object with options.
20
+ *
21
+ * @returns The formatted date string (in loca.l time zone)
22
+ *
23
+ * @throws `date` must not be Invalid Date
24
+ *
25
+ * @example
26
+ * // Represent 18 September 2019 in ISO 8601 format (local time zone is UTC):
27
+ * const result = formatISO(new Date(2019, 8, 18, 19, 0, 52))
28
+ * //=> '2019-09-18T19:00:52Z'
29
+ *
30
+ * @example
31
+ * // Represent 18 September 2019 in ISO 8601, short format (local time zone is UTC):
32
+ * const result = formatISO(new Date(2019, 8, 18, 19, 0, 52), { format: 'basic' })
33
+ * //=> '20190918T190052'
34
+ *
35
+ * @example
36
+ * // Represent 18 September 2019 in ISO 8601 format, date only:
37
+ * const result = formatISO(new Date(2019, 8, 18, 19, 0, 52), { representation: 'date' })
38
+ * //=> '2019-09-18'
39
+ *
40
+ * @example
41
+ * // Represent 18 September 2019 in ISO 8601 format, time only (local time zone is UTC):
42
+ * const result = formatISO(new Date(2019, 8, 18, 19, 0, 52), { representation: 'time' })
43
+ * //=> '19:00:52Z'
44
+ */
45
+ export function formatISO(date, options) {
46
+ const _date = toDate(date);
47
+
48
+ if (isNaN(_date.getTime())) {
49
+ throw new RangeError("Invalid time value");
50
+ }
51
+
52
+ const format = options?.format ?? "extended";
53
+ const representation = options?.representation ?? "complete";
54
+
55
+ let result = "";
56
+ let tzOffset = "";
57
+
58
+ const dateDelimiter = format === "extended" ? "-" : "";
59
+ const timeDelimiter = format === "extended" ? ":" : "";
60
+
61
+ // Representation is either 'date' or 'complete'
62
+ if (representation !== "time") {
63
+ const day = addLeadingZeros(_date.getDate(), 2);
64
+ const month = addLeadingZeros(_date.getMonth() + 1, 2);
65
+ const year = addLeadingZeros(_date.getFullYear(), 4);
66
+
67
+ // yyyyMMdd or yyyy-MM-dd.
68
+ result = `${year}${dateDelimiter}${month}${dateDelimiter}${day}`;
69
+ }
70
+
71
+ // Representation is either 'time' or 'complete'
72
+ if (representation !== "date") {
73
+ // Add the timezone.
74
+ const offset = _date.getTimezoneOffset();
75
+
76
+ if (offset !== 0) {
77
+ const absoluteOffset = Math.abs(offset);
78
+ const hourOffset = addLeadingZeros(Math.trunc(absoluteOffset / 60), 2);
79
+ const minuteOffset = addLeadingZeros(absoluteOffset % 60, 2);
80
+ // If less than 0, the sign is +, because it is ahead of time.
81
+ const sign = offset < 0 ? "+" : "-";
82
+
83
+ tzOffset = `${sign}${hourOffset}:${minuteOffset}`;
84
+ } else {
85
+ tzOffset = "Z";
86
+ }
87
+
88
+ const hour = addLeadingZeros(_date.getHours(), 2);
89
+ const minute = addLeadingZeros(_date.getMinutes(), 2);
90
+ const second = addLeadingZeros(_date.getSeconds(), 2);
91
+
92
+ // If there's also date, separate it with time with 'T'
93
+ const separator = result === "" ? "" : "T";
94
+
95
+ // Creates a time string consisting of hour, minute, and second, separated by delimiters, if defined.
96
+ const time = [hour, minute, second].join(timeDelimiter);
97
+
98
+ // HHmmss or HH:mm:ss.
99
+ result = `${result}${separator}${time}${tzOffset}`;
100
+ }
101
+
102
+ return result;
103
+ }
104
+
105
+ // Fallback for modularized imports:
106
+ export default formatISO;
workersss/Autovideos-worker/shy-hill-f5c2/node_modules/date-fns/formatISO9075.d.mts ADDED
@@ -0,0 +1,46 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import type { ISOFormatOptions } from "./types.js";
2
+ /**
3
+ * The {@link formatISO9075} function options.
4
+ */
5
+ export interface FormatISO9075Options extends ISOFormatOptions {}
6
+ /**
7
+ * @name formatISO9075
8
+ * @category Common Helpers
9
+ * @summary Format the date according to the ISO 9075 standard (https://dev.mysql.com/doc/refman/5.7/en/date-and-time-functions.html#function_get-format).
10
+ *
11
+ * @description
12
+ * Return the formatted date string in ISO 9075 format. Options may be passed to control the parts and notations of the date.
13
+ *
14
+ * @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).
15
+ *
16
+ * @param date - The original date
17
+ * @param options - An object with options.
18
+ *
19
+ * @returns The formatted date string
20
+ *
21
+ * @throws `date` must not be Invalid Date
22
+ *
23
+ * @example
24
+ * // Represent 18 September 2019 in ISO 9075 format:
25
+ * const result = formatISO9075(new Date(2019, 8, 18, 19, 0, 52))
26
+ * //=> '2019-09-18 19:00:52'
27
+ *
28
+ * @example
29
+ * // Represent 18 September 2019 in ISO 9075, short format:
30
+ * const result = formatISO9075(new Date(2019, 8, 18, 19, 0, 52), { format: 'basic' })
31
+ * //=> '20190918 190052'
32
+ *
33
+ * @example
34
+ * // Represent 18 September 2019 in ISO 9075 format, date only:
35
+ * const result = formatISO9075(new Date(2019, 8, 18, 19, 0, 52), { representation: 'date' })
36
+ * //=> '2019-09-18'
37
+ *
38
+ * @example
39
+ * // Represent 18 September 2019 in ISO 9075 format, time only:
40
+ * const result = formatISO9075(new Date(2019, 8, 18, 19, 0, 52), { representation: 'time' })
41
+ * //=> '19:00:52'
42
+ */
43
+ export declare function formatISO9075<DateType extends Date>(
44
+ date: DateType | number | string,
45
+ options?: FormatISO9075Options,
46
+ ): string;
workersss/Autovideos-worker/shy-hill-f5c2/node_modules/date-fns/formatISO9075.d.ts ADDED
@@ -0,0 +1,46 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import type { ISOFormatOptions } from "./types.js";
2
+ /**
3
+ * The {@link formatISO9075} function options.
4
+ */
5
+ export interface FormatISO9075Options extends ISOFormatOptions {}
6
+ /**
7
+ * @name formatISO9075
8
+ * @category Common Helpers
9
+ * @summary Format the date according to the ISO 9075 standard (https://dev.mysql.com/doc/refman/5.7/en/date-and-time-functions.html#function_get-format).
10
+ *
11
+ * @description
12
+ * Return the formatted date string in ISO 9075 format. Options may be passed to control the parts and notations of the date.
13
+ *
14
+ * @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).
15
+ *
16
+ * @param date - The original date
17
+ * @param options - An object with options.
18
+ *
19
+ * @returns The formatted date string
20
+ *
21
+ * @throws `date` must not be Invalid Date
22
+ *
23
+ * @example
24
+ * // Represent 18 September 2019 in ISO 9075 format:
25
+ * const result = formatISO9075(new Date(2019, 8, 18, 19, 0, 52))
26
+ * //=> '2019-09-18 19:00:52'
27
+ *
28
+ * @example
29
+ * // Represent 18 September 2019 in ISO 9075, short format:
30
+ * const result = formatISO9075(new Date(2019, 8, 18, 19, 0, 52), { format: 'basic' })
31
+ * //=> '20190918 190052'
32
+ *
33
+ * @example
34
+ * // Represent 18 September 2019 in ISO 9075 format, date only:
35
+ * const result = formatISO9075(new Date(2019, 8, 18, 19, 0, 52), { representation: 'date' })
36
+ * //=> '2019-09-18'
37
+ *
38
+ * @example
39
+ * // Represent 18 September 2019 in ISO 9075 format, time only:
40
+ * const result = formatISO9075(new Date(2019, 8, 18, 19, 0, 52), { representation: 'time' })
41
+ * //=> '19:00:52'
42
+ */
43
+ export declare function formatISO9075<DateType extends Date>(
44
+ date: DateType | number | string,
45
+ options?: FormatISO9075Options,
46
+ ): string;
workersss/Autovideos-worker/shy-hill-f5c2/node_modules/date-fns/formatISO9075.js ADDED
@@ -0,0 +1,88 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ "use strict";
2
+ exports.formatISO9075 = formatISO9075;
3
+ var _index = require("./isValid.js");
4
+ var _index2 = require("./toDate.js");
5
+
6
+ var _index3 = require("./_lib/addLeadingZeros.js");
7
+
8
+ /**
9
+ * The {@link formatISO9075} function options.
10
+ */
11
+
12
+ /**
13
+ * @name formatISO9075
14
+ * @category Common Helpers
15
+ * @summary Format the date according to the ISO 9075 standard (https://dev.mysql.com/doc/refman/5.7/en/date-and-time-functions.html#function_get-format).
16
+ *
17
+ * @description
18
+ * Return the formatted date string in ISO 9075 format. Options may be passed to control the parts and notations of the date.
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 date - The original date
23
+ * @param options - An object with options.
24
+ *
25
+ * @returns The formatted date string
26
+ *
27
+ * @throws `date` must not be Invalid Date
28
+ *
29
+ * @example
30
+ * // Represent 18 September 2019 in ISO 9075 format:
31
+ * const result = formatISO9075(new Date(2019, 8, 18, 19, 0, 52))
32
+ * //=> '2019-09-18 19:00:52'
33
+ *
34
+ * @example
35
+ * // Represent 18 September 2019 in ISO 9075, short format:
36
+ * const result = formatISO9075(new Date(2019, 8, 18, 19, 0, 52), { format: 'basic' })
37
+ * //=> '20190918 190052'
38
+ *
39
+ * @example
40
+ * // Represent 18 September 2019 in ISO 9075 format, date only:
41
+ * const result = formatISO9075(new Date(2019, 8, 18, 19, 0, 52), { representation: 'date' })
42
+ * //=> '2019-09-18'
43
+ *
44
+ * @example
45
+ * // Represent 18 September 2019 in ISO 9075 format, time only:
46
+ * const result = formatISO9075(new Date(2019, 8, 18, 19, 0, 52), { representation: 'time' })
47
+ * //=> '19:00:52'
48
+ */
49
+ function formatISO9075(date, options) {
50
+ const _date = (0, _index2.toDate)(date);
51
+
52
+ if (!(0, _index.isValid)(_date)) {
53
+ throw new RangeError("Invalid time value");
54
+ }
55
+
56
+ const format = options?.format ?? "extended";
57
+ const representation = options?.representation ?? "complete";
58
+
59
+ let result = "";
60
+
61
+ const dateDelimiter = format === "extended" ? "-" : "";
62
+ const timeDelimiter = format === "extended" ? ":" : "";
63
+
64
+ // Representation is either 'date' or 'complete'
65
+ if (representation !== "time") {
66
+ const day = (0, _index3.addLeadingZeros)(_date.getDate(), 2);
67
+ const month = (0, _index3.addLeadingZeros)(_date.getMonth() + 1, 2);
68
+ const year = (0, _index3.addLeadingZeros)(_date.getFullYear(), 4);
69
+
70
+ // yyyyMMdd or yyyy-MM-dd.
71
+ result = `${year}${dateDelimiter}${month}${dateDelimiter}${day}`;
72
+ }
73
+
74
+ // Representation is either 'time' or 'complete'
75
+ if (representation !== "date") {
76
+ const hour = (0, _index3.addLeadingZeros)(_date.getHours(), 2);
77
+ const minute = (0, _index3.addLeadingZeros)(_date.getMinutes(), 2);
78
+ const second = (0, _index3.addLeadingZeros)(_date.getSeconds(), 2);
79
+
80
+ // If there's also date, separate it with time with a space
81
+ const separator = result === "" ? "" : " ";
82
+
83
+ // HHmmss or HH:mm:ss.
84
+ result = `${result}${separator}${hour}${timeDelimiter}${minute}${timeDelimiter}${second}`;
85
+ }
86
+
87
+ return result;
88
+ }
workersss/Autovideos-worker/shy-hill-f5c2/node_modules/date-fns/formatISO9075.mjs ADDED
@@ -0,0 +1,88 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import { isValid } from "./isValid.mjs";
2
+ import { toDate } from "./toDate.mjs";
3
+ import { addLeadingZeros } from "./_lib/addLeadingZeros.mjs";
4
+
5
+ /**
6
+ * The {@link formatISO9075} function options.
7
+ */
8
+
9
+ /**
10
+ * @name formatISO9075
11
+ * @category Common Helpers
12
+ * @summary Format the date according to the ISO 9075 standard (https://dev.mysql.com/doc/refman/5.7/en/date-and-time-functions.html#function_get-format).
13
+ *
14
+ * @description
15
+ * Return the formatted date string in ISO 9075 format. Options may be passed to control the parts and notations of the date.
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 date - The original date
20
+ * @param options - An object with options.
21
+ *
22
+ * @returns The formatted date string
23
+ *
24
+ * @throws `date` must not be Invalid Date
25
+ *
26
+ * @example
27
+ * // Represent 18 September 2019 in ISO 9075 format:
28
+ * const result = formatISO9075(new Date(2019, 8, 18, 19, 0, 52))
29
+ * //=> '2019-09-18 19:00:52'
30
+ *
31
+ * @example
32
+ * // Represent 18 September 2019 in ISO 9075, short format:
33
+ * const result = formatISO9075(new Date(2019, 8, 18, 19, 0, 52), { format: 'basic' })
34
+ * //=> '20190918 190052'
35
+ *
36
+ * @example
37
+ * // Represent 18 September 2019 in ISO 9075 format, date only:
38
+ * const result = formatISO9075(new Date(2019, 8, 18, 19, 0, 52), { representation: 'date' })
39
+ * //=> '2019-09-18'
40
+ *
41
+ * @example
42
+ * // Represent 18 September 2019 in ISO 9075 format, time only:
43
+ * const result = formatISO9075(new Date(2019, 8, 18, 19, 0, 52), { representation: 'time' })
44
+ * //=> '19:00:52'
45
+ */
46
+ export function formatISO9075(date, options) {
47
+ const _date = toDate(date);
48
+
49
+ if (!isValid(_date)) {
50
+ throw new RangeError("Invalid time value");
51
+ }
52
+
53
+ const format = options?.format ?? "extended";
54
+ const representation = options?.representation ?? "complete";
55
+
56
+ let result = "";
57
+
58
+ const dateDelimiter = format === "extended" ? "-" : "";
59
+ const timeDelimiter = format === "extended" ? ":" : "";
60
+
61
+ // Representation is either 'date' or 'complete'
62
+ if (representation !== "time") {
63
+ const day = addLeadingZeros(_date.getDate(), 2);
64
+ const month = addLeadingZeros(_date.getMonth() + 1, 2);
65
+ const year = addLeadingZeros(_date.getFullYear(), 4);
66
+
67
+ // yyyyMMdd or yyyy-MM-dd.
68
+ result = `${year}${dateDelimiter}${month}${dateDelimiter}${day}`;
69
+ }
70
+
71
+ // Representation is either 'time' or 'complete'
72
+ if (representation !== "date") {
73
+ const hour = addLeadingZeros(_date.getHours(), 2);
74
+ const minute = addLeadingZeros(_date.getMinutes(), 2);
75
+ const second = addLeadingZeros(_date.getSeconds(), 2);
76
+
77
+ // If there's also date, separate it with time with a space
78
+ const separator = result === "" ? "" : " ";
79
+
80
+ // HHmmss or HH:mm:ss.
81
+ result = `${result}${separator}${hour}${timeDelimiter}${minute}${timeDelimiter}${second}`;
82
+ }
83
+
84
+ return result;
85
+ }
86
+
87
+ // Fallback for modularized imports:
88
+ export default formatISO9075;
workersss/Autovideos-worker/shy-hill-f5c2/node_modules/date-fns/formatISODuration.d.mts ADDED
@@ -0,0 +1,26 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import type { Duration } from "./types.js";
2
+ /**
3
+ * @name formatISODuration
4
+ * @category Common Helpers
5
+ * @summary Format a duration object according as ISO 8601 duration string
6
+ *
7
+ * @description
8
+ * Format a duration object according to the ISO 8601 duration standard (https://www.digi.com/resources/documentation/digidocs//90001488-13/reference/r_iso_8601_duration_format.htm)
9
+ *
10
+ * @param duration - The duration to format
11
+ *
12
+ * @returns The ISO 8601 duration string
13
+ *
14
+ * @example
15
+ * // Format the given duration as ISO 8601 string
16
+ * const result = formatISODuration({
17
+ * years: 39,
18
+ * months: 2,
19
+ * days: 20,
20
+ * hours: 7,
21
+ * minutes: 5,
22
+ * seconds: 0
23
+ * })
24
+ * //=> 'P39Y2M20DT0H0M0S'
25
+ */
26
+ export declare function formatISODuration(duration: Duration): string;
workersss/Autovideos-worker/shy-hill-f5c2/node_modules/date-fns/formatISODuration.d.ts ADDED
@@ -0,0 +1,26 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import type { Duration } from "./types.js";
2
+ /**
3
+ * @name formatISODuration
4
+ * @category Common Helpers
5
+ * @summary Format a duration object according as ISO 8601 duration string
6
+ *
7
+ * @description
8
+ * Format a duration object according to the ISO 8601 duration standard (https://www.digi.com/resources/documentation/digidocs//90001488-13/reference/r_iso_8601_duration_format.htm)
9
+ *
10
+ * @param duration - The duration to format
11
+ *
12
+ * @returns The ISO 8601 duration string
13
+ *
14
+ * @example
15
+ * // Format the given duration as ISO 8601 string
16
+ * const result = formatISODuration({
17
+ * years: 39,
18
+ * months: 2,
19
+ * days: 20,
20
+ * hours: 7,
21
+ * minutes: 5,
22
+ * seconds: 0
23
+ * })
24
+ * //=> 'P39Y2M20DT0H0M0S'
25
+ */
26
+ export declare function formatISODuration(duration: Duration): string;
workersss/Autovideos-worker/shy-hill-f5c2/node_modules/date-fns/formatISODuration.js ADDED
@@ -0,0 +1,39 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ "use strict";
2
+ exports.formatISODuration = formatISODuration;
3
+
4
+ /**
5
+ * @name formatISODuration
6
+ * @category Common Helpers
7
+ * @summary Format a duration object according as ISO 8601 duration string
8
+ *
9
+ * @description
10
+ * Format a duration object according to the ISO 8601 duration standard (https://www.digi.com/resources/documentation/digidocs//90001488-13/reference/r_iso_8601_duration_format.htm)
11
+ *
12
+ * @param duration - The duration to format
13
+ *
14
+ * @returns The ISO 8601 duration string
15
+ *
16
+ * @example
17
+ * // Format the given duration as ISO 8601 string
18
+ * const result = formatISODuration({
19
+ * years: 39,
20
+ * months: 2,
21
+ * days: 20,
22
+ * hours: 7,
23
+ * minutes: 5,
24
+ * seconds: 0
25
+ * })
26
+ * //=> 'P39Y2M20DT0H0M0S'
27
+ */
28
+ function formatISODuration(duration) {
29
+ const {
30
+ years = 0,
31
+ months = 0,
32
+ days = 0,
33
+ hours = 0,
34
+ minutes = 0,
35
+ seconds = 0,
36
+ } = duration;
37
+
38
+ return `P${years}Y${months}M${days}DT${hours}H${minutes}M${seconds}S`;
39
+ }
workersss/Autovideos-worker/shy-hill-f5c2/node_modules/date-fns/formatISODuration.mjs ADDED
@@ -0,0 +1,39 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /**
2
+ * @name formatISODuration
3
+ * @category Common Helpers
4
+ * @summary Format a duration object according as ISO 8601 duration string
5
+ *
6
+ * @description
7
+ * Format a duration object according to the ISO 8601 duration standard (https://www.digi.com/resources/documentation/digidocs//90001488-13/reference/r_iso_8601_duration_format.htm)
8
+ *
9
+ * @param duration - The duration to format
10
+ *
11
+ * @returns The ISO 8601 duration string
12
+ *
13
+ * @example
14
+ * // Format the given duration as ISO 8601 string
15
+ * const result = formatISODuration({
16
+ * years: 39,
17
+ * months: 2,
18
+ * days: 20,
19
+ * hours: 7,
20
+ * minutes: 5,
21
+ * seconds: 0
22
+ * })
23
+ * //=> 'P39Y2M20DT0H0M0S'
24
+ */
25
+ export function formatISODuration(duration) {
26
+ const {
27
+ years = 0,
28
+ months = 0,
29
+ days = 0,
30
+ hours = 0,
31
+ minutes = 0,
32
+ seconds = 0,
33
+ } = duration;
34
+
35
+ return `P${years}Y${months}M${days}DT${hours}H${minutes}M${seconds}S`;
36
+ }
37
+
38
+ // Fallback for modularized imports:
39
+ export default formatISODuration;
workersss/Autovideos-worker/shy-hill-f5c2/node_modules/date-fns/formatRFC3339.d.mts ADDED
@@ -0,0 +1,40 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /**
2
+ * The {@link formatRFC3339} function options.
3
+ */
4
+ export interface FormatRFC3339Options {
5
+ /** The number of digits after the decimal point after seconds, defaults to 0 */
6
+ fractionDigits?: 0 | 1 | 2 | 3;
7
+ }
8
+ /**
9
+ * @name formatRFC3339
10
+ * @category Common Helpers
11
+ * @summary Format the date according to the RFC 3339 standard (https://tools.ietf.org/html/rfc3339#section-5.6).
12
+ *
13
+ * @description
14
+ * Return the formatted date string in RFC 3339 format. Options may be passed to control the parts and notations of the date.
15
+ *
16
+ * @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).
17
+ *
18
+ * @param date - The original date
19
+ * @param options - An object with options.
20
+ *
21
+ * @returns The formatted date string
22
+ *
23
+ * @throws `date` must not be Invalid Date
24
+ *
25
+ * @example
26
+ * // Represent 18 September 2019 in RFC 3339 format:
27
+ * formatRFC3339(new Date(2019, 8, 18, 19, 0, 52))
28
+ * //=> '2019-09-18T19:00:52Z'
29
+ *
30
+ * @example
31
+ * // Represent 18 September 2019 in RFC 3339 format, 3 digits of second fraction
32
+ * formatRFC3339(new Date(2019, 8, 18, 19, 0, 52, 234), {
33
+ * fractionDigits: 3
34
+ * })
35
+ * //=> '2019-09-18T19:00:52.234Z'
36
+ */
37
+ export declare function formatRFC3339<DateType extends Date>(
38
+ date: DateType | number | string,
39
+ options?: FormatRFC3339Options,
40
+ ): string;
workersss/Autovideos-worker/shy-hill-f5c2/node_modules/date-fns/formatRFC3339.d.ts ADDED
@@ -0,0 +1,40 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /**
2
+ * The {@link formatRFC3339} function options.
3
+ */
4
+ export interface FormatRFC3339Options {
5
+ /** The number of digits after the decimal point after seconds, defaults to 0 */
6
+ fractionDigits?: 0 | 1 | 2 | 3;
7
+ }
8
+ /**
9
+ * @name formatRFC3339
10
+ * @category Common Helpers
11
+ * @summary Format the date according to the RFC 3339 standard (https://tools.ietf.org/html/rfc3339#section-5.6).
12
+ *
13
+ * @description
14
+ * Return the formatted date string in RFC 3339 format. Options may be passed to control the parts and notations of the date.
15
+ *
16
+ * @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).
17
+ *
18
+ * @param date - The original date
19
+ * @param options - An object with options.
20
+ *
21
+ * @returns The formatted date string
22
+ *
23
+ * @throws `date` must not be Invalid Date
24
+ *
25
+ * @example
26
+ * // Represent 18 September 2019 in RFC 3339 format:
27
+ * formatRFC3339(new Date(2019, 8, 18, 19, 0, 52))
28
+ * //=> '2019-09-18T19:00:52Z'
29
+ *
30
+ * @example
31
+ * // Represent 18 September 2019 in RFC 3339 format, 3 digits of second fraction
32
+ * formatRFC3339(new Date(2019, 8, 18, 19, 0, 52, 234), {
33
+ * fractionDigits: 3
34
+ * })
35
+ * //=> '2019-09-18T19:00:52.234Z'
36
+ */
37
+ export declare function formatRFC3339<DateType extends Date>(
38
+ date: DateType | number | string,
39
+ options?: FormatRFC3339Options,
40
+ ): string;
workersss/Autovideos-worker/shy-hill-f5c2/node_modules/date-fns/formatRFC3339.js ADDED
@@ -0,0 +1,86 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ "use strict";
2
+ exports.formatRFC3339 = formatRFC3339;
3
+ var _index = require("./isValid.js");
4
+ var _index2 = require("./toDate.js");
5
+ var _index3 = require("./_lib/addLeadingZeros.js");
6
+
7
+ /**
8
+ * The {@link formatRFC3339} function options.
9
+ */
10
+
11
+ /**
12
+ * @name formatRFC3339
13
+ * @category Common Helpers
14
+ * @summary Format the date according to the RFC 3339 standard (https://tools.ietf.org/html/rfc3339#section-5.6).
15
+ *
16
+ * @description
17
+ * Return the formatted date string in RFC 3339 format. Options may be passed to control the parts and notations of the date.
18
+ *
19
+ * @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).
20
+ *
21
+ * @param date - The original date
22
+ * @param options - An object with options.
23
+ *
24
+ * @returns The formatted date string
25
+ *
26
+ * @throws `date` must not be Invalid Date
27
+ *
28
+ * @example
29
+ * // Represent 18 September 2019 in RFC 3339 format:
30
+ * formatRFC3339(new Date(2019, 8, 18, 19, 0, 52))
31
+ * //=> '2019-09-18T19:00:52Z'
32
+ *
33
+ * @example
34
+ * // Represent 18 September 2019 in RFC 3339 format, 3 digits of second fraction
35
+ * formatRFC3339(new Date(2019, 8, 18, 19, 0, 52, 234), {
36
+ * fractionDigits: 3
37
+ * })
38
+ * //=> '2019-09-18T19:00:52.234Z'
39
+ */
40
+ function formatRFC3339(date, options) {
41
+ const _date = (0, _index2.toDate)(date);
42
+
43
+ if (!(0, _index.isValid)(_date)) {
44
+ throw new RangeError("Invalid time value");
45
+ }
46
+
47
+ const fractionDigits = options?.fractionDigits ?? 0;
48
+
49
+ const day = (0, _index3.addLeadingZeros)(_date.getDate(), 2);
50
+ const month = (0, _index3.addLeadingZeros)(_date.getMonth() + 1, 2);
51
+ const year = _date.getFullYear();
52
+
53
+ const hour = (0, _index3.addLeadingZeros)(_date.getHours(), 2);
54
+ const minute = (0, _index3.addLeadingZeros)(_date.getMinutes(), 2);
55
+ const second = (0, _index3.addLeadingZeros)(_date.getSeconds(), 2);
56
+
57
+ let fractionalSecond = "";
58
+ if (fractionDigits > 0) {
59
+ const milliseconds = _date.getMilliseconds();
60
+ const fractionalSeconds = Math.trunc(
61
+ milliseconds * Math.pow(10, fractionDigits - 3),
62
+ );
63
+ fractionalSecond =
64
+ "." + (0, _index3.addLeadingZeros)(fractionalSeconds, fractionDigits);
65
+ }
66
+
67
+ let offset = "";
68
+ const tzOffset = _date.getTimezoneOffset();
69
+
70
+ if (tzOffset !== 0) {
71
+ const absoluteOffset = Math.abs(tzOffset);
72
+ const hourOffset = (0, _index3.addLeadingZeros)(
73
+ Math.trunc(absoluteOffset / 60),
74
+ 2,
75
+ );
76
+ const minuteOffset = (0, _index3.addLeadingZeros)(absoluteOffset % 60, 2);
77
+ // If less than 0, the sign is +, because it is ahead of time.
78
+ const sign = tzOffset < 0 ? "+" : "-";
79
+
80
+ offset = `${sign}${hourOffset}:${minuteOffset}`;
81
+ } else {
82
+ offset = "Z";
83
+ }
84
+
85
+ return `${year}-${month}-${day}T${hour}:${minute}:${second}${fractionalSecond}${offset}`;
86
+ }
workersss/Autovideos-worker/shy-hill-f5c2/node_modules/date-fns/formatRFC3339.mjs ADDED
@@ -0,0 +1,83 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import { isValid } from "./isValid.mjs";
2
+ import { toDate } from "./toDate.mjs";
3
+ import { addLeadingZeros } from "./_lib/addLeadingZeros.mjs";
4
+
5
+ /**
6
+ * The {@link formatRFC3339} function options.
7
+ */
8
+
9
+ /**
10
+ * @name formatRFC3339
11
+ * @category Common Helpers
12
+ * @summary Format the date according to the RFC 3339 standard (https://tools.ietf.org/html/rfc3339#section-5.6).
13
+ *
14
+ * @description
15
+ * Return the formatted date string in RFC 3339 format. Options may be passed to control the parts and notations of the date.
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 date - The original date
20
+ * @param options - An object with options.
21
+ *
22
+ * @returns The formatted date string
23
+ *
24
+ * @throws `date` must not be Invalid Date
25
+ *
26
+ * @example
27
+ * // Represent 18 September 2019 in RFC 3339 format:
28
+ * formatRFC3339(new Date(2019, 8, 18, 19, 0, 52))
29
+ * //=> '2019-09-18T19:00:52Z'
30
+ *
31
+ * @example
32
+ * // Represent 18 September 2019 in RFC 3339 format, 3 digits of second fraction
33
+ * formatRFC3339(new Date(2019, 8, 18, 19, 0, 52, 234), {
34
+ * fractionDigits: 3
35
+ * })
36
+ * //=> '2019-09-18T19:00:52.234Z'
37
+ */
38
+ export function formatRFC3339(date, options) {
39
+ const _date = toDate(date);
40
+
41
+ if (!isValid(_date)) {
42
+ throw new RangeError("Invalid time value");
43
+ }
44
+
45
+ const fractionDigits = options?.fractionDigits ?? 0;
46
+
47
+ const day = addLeadingZeros(_date.getDate(), 2);
48
+ const month = addLeadingZeros(_date.getMonth() + 1, 2);
49
+ const year = _date.getFullYear();
50
+
51
+ const hour = addLeadingZeros(_date.getHours(), 2);
52
+ const minute = addLeadingZeros(_date.getMinutes(), 2);
53
+ const second = addLeadingZeros(_date.getSeconds(), 2);
54
+
55
+ let fractionalSecond = "";
56
+ if (fractionDigits > 0) {
57
+ const milliseconds = _date.getMilliseconds();
58
+ const fractionalSeconds = Math.trunc(
59
+ milliseconds * Math.pow(10, fractionDigits - 3),
60
+ );
61
+ fractionalSecond = "." + addLeadingZeros(fractionalSeconds, fractionDigits);
62
+ }
63
+
64
+ let offset = "";
65
+ const tzOffset = _date.getTimezoneOffset();
66
+
67
+ if (tzOffset !== 0) {
68
+ const absoluteOffset = Math.abs(tzOffset);
69
+ const hourOffset = addLeadingZeros(Math.trunc(absoluteOffset / 60), 2);
70
+ const minuteOffset = addLeadingZeros(absoluteOffset % 60, 2);
71
+ // If less than 0, the sign is +, because it is ahead of time.
72
+ const sign = tzOffset < 0 ? "+" : "-";
73
+
74
+ offset = `${sign}${hourOffset}:${minuteOffset}`;
75
+ } else {
76
+ offset = "Z";
77
+ }
78
+
79
+ return `${year}-${month}-${day}T${hour}:${minute}:${second}${fractionalSecond}${offset}`;
80
+ }
81
+
82
+ // Fallback for modularized imports:
83
+ export default formatRFC3339;
workersss/Autovideos-worker/shy-hill-f5c2/node_modules/date-fns/formatRFC7231.d.mts ADDED
@@ -0,0 +1,25 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /**
2
+ * @name formatRFC7231
3
+ * @category Common Helpers
4
+ * @summary Format the date according to the RFC 7231 standard (https://tools.ietf.org/html/rfc7231#section-7.1.1.1).
5
+ *
6
+ * @description
7
+ * Return the formatted date string in RFC 7231 format.
8
+ * The result will always be in UTC timezone.
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 date - The original date
13
+ *
14
+ * @returns The formatted date string
15
+ *
16
+ * @throws `date` must not be Invalid Date
17
+ *
18
+ * @example
19
+ * // Represent 18 September 2019 in RFC 7231 format:
20
+ * const result = formatRFC7231(new Date(2019, 8, 18, 19, 0, 52))
21
+ * //=> 'Wed, 18 Sep 2019 19:00:52 GMT'
22
+ */
23
+ export declare function formatRFC7231<DateType extends Date>(
24
+ date: DateType | number | string,
25
+ ): string;
workersss/Autovideos-worker/shy-hill-f5c2/node_modules/date-fns/formatRFC7231.d.ts ADDED
@@ -0,0 +1,25 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /**
2
+ * @name formatRFC7231
3
+ * @category Common Helpers
4
+ * @summary Format the date according to the RFC 7231 standard (https://tools.ietf.org/html/rfc7231#section-7.1.1.1).
5
+ *
6
+ * @description
7
+ * Return the formatted date string in RFC 7231 format.
8
+ * The result will always be in UTC timezone.
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 date - The original date
13
+ *
14
+ * @returns The formatted date string
15
+ *
16
+ * @throws `date` must not be Invalid Date
17
+ *
18
+ * @example
19
+ * // Represent 18 September 2019 in RFC 7231 format:
20
+ * const result = formatRFC7231(new Date(2019, 8, 18, 19, 0, 52))
21
+ * //=> 'Wed, 18 Sep 2019 19:00:52 GMT'
22
+ */
23
+ export declare function formatRFC7231<DateType extends Date>(
24
+ date: DateType | number | string,
25
+ ): string;
workersss/Autovideos-worker/shy-hill-f5c2/node_modules/date-fns/formatRFC7231.js ADDED
@@ -0,0 +1,64 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ "use strict";
2
+ exports.formatRFC7231 = formatRFC7231;
3
+ var _index = require("./isValid.js");
4
+ var _index2 = require("./toDate.js");
5
+ var _index3 = require("./_lib/addLeadingZeros.js");
6
+
7
+ const days = ["Sun", "Mon", "Tue", "Wed", "Thu", "Fri", "Sat"];
8
+
9
+ const months = [
10
+ "Jan",
11
+ "Feb",
12
+ "Mar",
13
+ "Apr",
14
+ "May",
15
+ "Jun",
16
+ "Jul",
17
+ "Aug",
18
+ "Sep",
19
+ "Oct",
20
+ "Nov",
21
+ "Dec",
22
+ ];
23
+
24
+ /**
25
+ * @name formatRFC7231
26
+ * @category Common Helpers
27
+ * @summary Format the date according to the RFC 7231 standard (https://tools.ietf.org/html/rfc7231#section-7.1.1.1).
28
+ *
29
+ * @description
30
+ * Return the formatted date string in RFC 7231 format.
31
+ * The result will always be in UTC timezone.
32
+ *
33
+ * @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).
34
+ *
35
+ * @param date - The original date
36
+ *
37
+ * @returns The formatted date string
38
+ *
39
+ * @throws `date` must not be Invalid Date
40
+ *
41
+ * @example
42
+ * // Represent 18 September 2019 in RFC 7231 format:
43
+ * const result = formatRFC7231(new Date(2019, 8, 18, 19, 0, 52))
44
+ * //=> 'Wed, 18 Sep 2019 19:00:52 GMT'
45
+ */
46
+ function formatRFC7231(date) {
47
+ const _date = (0, _index2.toDate)(date);
48
+
49
+ if (!(0, _index.isValid)(_date)) {
50
+ throw new RangeError("Invalid time value");
51
+ }
52
+
53
+ const dayName = days[_date.getUTCDay()];
54
+ const dayOfMonth = (0, _index3.addLeadingZeros)(_date.getUTCDate(), 2);
55
+ const monthName = months[_date.getUTCMonth()];
56
+ const year = _date.getUTCFullYear();
57
+
58
+ const hour = (0, _index3.addLeadingZeros)(_date.getUTCHours(), 2);
59
+ const minute = (0, _index3.addLeadingZeros)(_date.getUTCMinutes(), 2);
60
+ const second = (0, _index3.addLeadingZeros)(_date.getUTCSeconds(), 2);
61
+
62
+ // Result variables.
63
+ return `${dayName}, ${dayOfMonth} ${monthName} ${year} ${hour}:${minute}:${second} GMT`;
64
+ }
workersss/Autovideos-worker/shy-hill-f5c2/node_modules/date-fns/formatRFC7231.mjs ADDED
@@ -0,0 +1,65 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import { isValid } from "./isValid.mjs";
2
+ import { toDate } from "./toDate.mjs";
3
+ import { addLeadingZeros } from "./_lib/addLeadingZeros.mjs";
4
+
5
+ const days = ["Sun", "Mon", "Tue", "Wed", "Thu", "Fri", "Sat"];
6
+
7
+ const months = [
8
+ "Jan",
9
+ "Feb",
10
+ "Mar",
11
+ "Apr",
12
+ "May",
13
+ "Jun",
14
+ "Jul",
15
+ "Aug",
16
+ "Sep",
17
+ "Oct",
18
+ "Nov",
19
+ "Dec",
20
+ ];
21
+
22
+ /**
23
+ * @name formatRFC7231
24
+ * @category Common Helpers
25
+ * @summary Format the date according to the RFC 7231 standard (https://tools.ietf.org/html/rfc7231#section-7.1.1.1).
26
+ *
27
+ * @description
28
+ * Return the formatted date string in RFC 7231 format.
29
+ * The result will always be in UTC timezone.
30
+ *
31
+ * @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).
32
+ *
33
+ * @param date - The original date
34
+ *
35
+ * @returns The formatted date string
36
+ *
37
+ * @throws `date` must not be Invalid Date
38
+ *
39
+ * @example
40
+ * // Represent 18 September 2019 in RFC 7231 format:
41
+ * const result = formatRFC7231(new Date(2019, 8, 18, 19, 0, 52))
42
+ * //=> 'Wed, 18 Sep 2019 19:00:52 GMT'
43
+ */
44
+ export function formatRFC7231(date) {
45
+ const _date = toDate(date);
46
+
47
+ if (!isValid(_date)) {
48
+ throw new RangeError("Invalid time value");
49
+ }
50
+
51
+ const dayName = days[_date.getUTCDay()];
52
+ const dayOfMonth = addLeadingZeros(_date.getUTCDate(), 2);
53
+ const monthName = months[_date.getUTCMonth()];
54
+ const year = _date.getUTCFullYear();
55
+
56
+ const hour = addLeadingZeros(_date.getUTCHours(), 2);
57
+ const minute = addLeadingZeros(_date.getUTCMinutes(), 2);
58
+ const second = addLeadingZeros(_date.getUTCSeconds(), 2);
59
+
60
+ // Result variables.
61
+ return `${dayName}, ${dayOfMonth} ${monthName} ${year} ${hour}:${minute}:${second} GMT`;
62
+ }
63
+
64
+ // Fallback for modularized imports:
65
+ export default formatRFC7231;
workersss/Autovideos-worker/shy-hill-f5c2/node_modules/date-fns/formatRelative.d.mts ADDED
@@ -0,0 +1,50 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import type { LocalizedOptions, WeekOptions } from "./types.js";
2
+ /**
3
+ * The {@link formatRelative} function options.
4
+ */
5
+ export interface FormatRelativeOptions
6
+ extends LocalizedOptions<
7
+ "options" | "localize" | "formatLong" | "formatRelative"
8
+ >,
9
+ WeekOptions {}
10
+ /**
11
+ * @name formatRelative
12
+ * @category Common Helpers
13
+ * @summary Represent the date in words relative to the given base date.
14
+ *
15
+ * @description
16
+ * Represent the date in words relative to the given base date.
17
+ *
18
+ * | Distance to the base date | Result |
19
+ * |---------------------------|---------------------------|
20
+ * | Previous 6 days | last Sunday at 04:30 AM |
21
+ * | Last day | yesterday at 04:30 AM |
22
+ * | Same day | today at 04:30 AM |
23
+ * | Next day | tomorrow at 04:30 AM |
24
+ * | Next 6 days | Sunday at 04:30 AM |
25
+ * | Other | 12/31/2017 |
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
+ * @param baseDate - The date to compare with
31
+ * @param options - An object with options
32
+ *
33
+ * @returns The date in words
34
+ *
35
+ * @throws `date` must not be Invalid Date
36
+ * @throws `baseDate` must not be Invalid Date
37
+ * @throws `options.locale` must contain `localize` property
38
+ * @throws `options.locale` must contain `formatLong` property
39
+ * @throws `options.locale` must contain `formatRelative` property
40
+ *
41
+ * @example
42
+ * // Represent the date of 6 days ago in words relative to the given base date. In this example, today is Wednesday
43
+ * const result = formatRelative(subDays(new Date(), 6), new Date())
44
+ * //=> "last Thursday at 12:45 AM"
45
+ */
46
+ export declare function formatRelative<DateType extends Date>(
47
+ date: DateType | number | string,
48
+ baseDate: DateType | number | string,
49
+ options?: FormatRelativeOptions,
50
+ ): string;
workersss/Autovideos-worker/shy-hill-f5c2/node_modules/date-fns/formatRelative.d.ts ADDED
@@ -0,0 +1,50 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import type { LocalizedOptions, WeekOptions } from "./types.js";
2
+ /**
3
+ * The {@link formatRelative} function options.
4
+ */
5
+ export interface FormatRelativeOptions
6
+ extends LocalizedOptions<
7
+ "options" | "localize" | "formatLong" | "formatRelative"
8
+ >,
9
+ WeekOptions {}
10
+ /**
11
+ * @name formatRelative
12
+ * @category Common Helpers
13
+ * @summary Represent the date in words relative to the given base date.
14
+ *
15
+ * @description
16
+ * Represent the date in words relative to the given base date.
17
+ *
18
+ * | Distance to the base date | Result |
19
+ * |---------------------------|---------------------------|
20
+ * | Previous 6 days | last Sunday at 04:30 AM |
21
+ * | Last day | yesterday at 04:30 AM |
22
+ * | Same day | today at 04:30 AM |
23
+ * | Next day | tomorrow at 04:30 AM |
24
+ * | Next 6 days | Sunday at 04:30 AM |
25
+ * | Other | 12/31/2017 |
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
+ * @param baseDate - The date to compare with
31
+ * @param options - An object with options
32
+ *
33
+ * @returns The date in words
34
+ *
35
+ * @throws `date` must not be Invalid Date
36
+ * @throws `baseDate` must not be Invalid Date
37
+ * @throws `options.locale` must contain `localize` property
38
+ * @throws `options.locale` must contain `formatLong` property
39
+ * @throws `options.locale` must contain `formatRelative` property
40
+ *
41
+ * @example
42
+ * // Represent the date of 6 days ago in words relative to the given base date. In this example, today is Wednesday
43
+ * const result = formatRelative(subDays(new Date(), 6), new Date())
44
+ * //=> "last Thursday at 12:45 AM"
45
+ */
46
+ export declare function formatRelative<DateType extends Date>(
47
+ date: DateType | number | string,
48
+ baseDate: DateType | number | string,
49
+ options?: FormatRelativeOptions,
50
+ ): string;
workersss/Autovideos-worker/shy-hill-f5c2/node_modules/date-fns/formatRelative.js ADDED
@@ -0,0 +1,93 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ "use strict";
2
+ exports.formatRelative = formatRelative;
3
+ var _index = require("./differenceInCalendarDays.js");
4
+ var _index2 = require("./format.js");
5
+
6
+ var _index3 = require("./toDate.js");
7
+
8
+ var _index4 = require("./_lib/defaultLocale.js");
9
+ var _index5 = require("./_lib/defaultOptions.js");
10
+
11
+ /**
12
+ * The {@link formatRelative} function options.
13
+ */
14
+
15
+ /**
16
+ * @name formatRelative
17
+ * @category Common Helpers
18
+ * @summary Represent the date in words relative to the given base date.
19
+ *
20
+ * @description
21
+ * Represent the date in words relative to the given base date.
22
+ *
23
+ * | Distance to the base date | Result |
24
+ * |---------------------------|---------------------------|
25
+ * | Previous 6 days | last Sunday at 04:30 AM |
26
+ * | Last day | yesterday at 04:30 AM |
27
+ * | Same day | today at 04:30 AM |
28
+ * | Next day | tomorrow at 04:30 AM |
29
+ * | Next 6 days | Sunday at 04:30 AM |
30
+ * | Other | 12/31/2017 |
31
+ *
32
+ * @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).
33
+ *
34
+ * @param date - The date to format
35
+ * @param baseDate - The date to compare with
36
+ * @param options - An object with options
37
+ *
38
+ * @returns The date in words
39
+ *
40
+ * @throws `date` must not be Invalid Date
41
+ * @throws `baseDate` must not be Invalid Date
42
+ * @throws `options.locale` must contain `localize` property
43
+ * @throws `options.locale` must contain `formatLong` property
44
+ * @throws `options.locale` must contain `formatRelative` property
45
+ *
46
+ * @example
47
+ * // Represent the date of 6 days ago in words relative to the given base date. In this example, today is Wednesday
48
+ * const result = formatRelative(subDays(new Date(), 6), new Date())
49
+ * //=> "last Thursday at 12:45 AM"
50
+ */
51
+ function formatRelative(date, baseDate, options) {
52
+ const _date = (0, _index3.toDate)(date);
53
+ const _baseDate = (0, _index3.toDate)(baseDate);
54
+
55
+ const defaultOptions = (0, _index5.getDefaultOptions)();
56
+ const locale =
57
+ options?.locale ?? defaultOptions.locale ?? _index4.defaultLocale;
58
+ const weekStartsOn =
59
+ options?.weekStartsOn ??
60
+ options?.locale?.options?.weekStartsOn ??
61
+ defaultOptions.weekStartsOn ??
62
+ defaultOptions.locale?.options?.weekStartsOn ??
63
+ 0;
64
+
65
+ const diff = (0, _index.differenceInCalendarDays)(_date, _baseDate);
66
+
67
+ if (isNaN(diff)) {
68
+ throw new RangeError("Invalid time value");
69
+ }
70
+
71
+ let token;
72
+ if (diff < -6) {
73
+ token = "other";
74
+ } else if (diff < -1) {
75
+ token = "lastWeek";
76
+ } else if (diff < 0) {
77
+ token = "yesterday";
78
+ } else if (diff < 1) {
79
+ token = "today";
80
+ } else if (diff < 2) {
81
+ token = "tomorrow";
82
+ } else if (diff < 7) {
83
+ token = "nextWeek";
84
+ } else {
85
+ token = "other";
86
+ }
87
+
88
+ const formatStr = locale.formatRelative(token, _date, _baseDate, {
89
+ locale,
90
+ weekStartsOn,
91
+ });
92
+ return (0, _index2.format)(_date, formatStr, { locale, weekStartsOn });
93
+ }
workersss/Autovideos-worker/shy-hill-f5c2/node_modules/date-fns/formatRelative.mjs ADDED
@@ -0,0 +1,91 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import { differenceInCalendarDays } from "./differenceInCalendarDays.mjs";
2
+ import { format } from "./format.mjs";
3
+ import { toDate } from "./toDate.mjs";
4
+ import { defaultLocale } from "./_lib/defaultLocale.mjs";
5
+ import { getDefaultOptions } from "./_lib/defaultOptions.mjs";
6
+
7
+ /**
8
+ * The {@link formatRelative} function options.
9
+ */
10
+
11
+ /**
12
+ * @name formatRelative
13
+ * @category Common Helpers
14
+ * @summary Represent the date in words relative to the given base date.
15
+ *
16
+ * @description
17
+ * Represent the date in words relative to the given base date.
18
+ *
19
+ * | Distance to the base date | Result |
20
+ * |---------------------------|---------------------------|
21
+ * | Previous 6 days | last Sunday at 04:30 AM |
22
+ * | Last day | yesterday at 04:30 AM |
23
+ * | Same day | today at 04:30 AM |
24
+ * | Next day | tomorrow at 04:30 AM |
25
+ * | Next 6 days | Sunday at 04:30 AM |
26
+ * | Other | 12/31/2017 |
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
+ * @param baseDate - The date to compare with
32
+ * @param options - An object with options
33
+ *
34
+ * @returns The date in words
35
+ *
36
+ * @throws `date` must not be Invalid Date
37
+ * @throws `baseDate` must not be Invalid Date
38
+ * @throws `options.locale` must contain `localize` property
39
+ * @throws `options.locale` must contain `formatLong` property
40
+ * @throws `options.locale` must contain `formatRelative` property
41
+ *
42
+ * @example
43
+ * // Represent the date of 6 days ago in words relative to the given base date. In this example, today is Wednesday
44
+ * const result = formatRelative(subDays(new Date(), 6), new Date())
45
+ * //=> "last Thursday at 12:45 AM"
46
+ */
47
+ export function formatRelative(date, baseDate, options) {
48
+ const _date = toDate(date);
49
+ const _baseDate = toDate(baseDate);
50
+
51
+ const defaultOptions = getDefaultOptions();
52
+ const locale = options?.locale ?? defaultOptions.locale ?? defaultLocale;
53
+ const weekStartsOn =
54
+ options?.weekStartsOn ??
55
+ options?.locale?.options?.weekStartsOn ??
56
+ defaultOptions.weekStartsOn ??
57
+ defaultOptions.locale?.options?.weekStartsOn ??
58
+ 0;
59
+
60
+ const diff = differenceInCalendarDays(_date, _baseDate);
61
+
62
+ if (isNaN(diff)) {
63
+ throw new RangeError("Invalid time value");
64
+ }
65
+
66
+ let token;
67
+ if (diff < -6) {
68
+ token = "other";
69
+ } else if (diff < -1) {
70
+ token = "lastWeek";
71
+ } else if (diff < 0) {
72
+ token = "yesterday";
73
+ } else if (diff < 1) {
74
+ token = "today";
75
+ } else if (diff < 2) {
76
+ token = "tomorrow";
77
+ } else if (diff < 7) {
78
+ token = "nextWeek";
79
+ } else {
80
+ token = "other";
81
+ }
82
+
83
+ const formatStr = locale.formatRelative(token, _date, _baseDate, {
84
+ locale,
85
+ weekStartsOn,
86
+ });
87
+ return format(_date, formatStr, { locale, weekStartsOn });
88
+ }
89
+
90
+ // Fallback for modularized imports:
91
+ export default formatRelative;
workersss/Autovideos-worker/shy-hill-f5c2/node_modules/date-fns/fp/_lib/convertToFP.d.mts ADDED
@@ -0,0 +1,17 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import type { FPArity, FPFn, FPFnInput } from "../types";
2
+ /**
3
+ * Converts a function to a curried function that accepts arguments in reverse
4
+ * order.
5
+ *
6
+ * @param fn - The function to convert to FP
7
+ * @param arity - The arity of the function
8
+ * @param curriedArgs - The curried arguments
9
+ *
10
+ * @returns FP version of the function
11
+ *
12
+ * @private
13
+ */
14
+ export declare function convertToFP<
15
+ Fn extends FPFnInput,
16
+ Arity extends FPArity,
17
+ >(fn: Fn, arity: Arity, curriedArgs?: unknown[]): FPFn<Fn, Arity>;
workersss/Autovideos-worker/shy-hill-f5c2/node_modules/date-fns/fp/_lib/convertToFP.d.ts ADDED
@@ -0,0 +1,17 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import type { FPArity, FPFn, FPFnInput } from "../types";
2
+ /**
3
+ * Converts a function to a curried function that accepts arguments in reverse
4
+ * order.
5
+ *
6
+ * @param fn - The function to convert to FP
7
+ * @param arity - The arity of the function
8
+ * @param curriedArgs - The curried arguments
9
+ *
10
+ * @returns FP version of the function
11
+ *
12
+ * @private
13
+ */
14
+ export declare function convertToFP<
15
+ Fn extends FPFnInput,
16
+ Arity extends FPArity,
17
+ >(fn: Fn, arity: Arity, curriedArgs?: unknown[]): FPFn<Fn, Arity>;
workersss/Autovideos-worker/shy-hill-f5c2/node_modules/date-fns/fp/_lib/convertToFP.js ADDED
@@ -0,0 +1,20 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ "use strict";
2
+ exports.convertToFP = convertToFP;
3
+
4
+ /**
5
+ * Converts a function to a curried function that accepts arguments in reverse
6
+ * order.
7
+ *
8
+ * @param fn - The function to convert to FP
9
+ * @param arity - The arity of the function
10
+ * @param curriedArgs - The curried arguments
11
+ *
12
+ * @returns FP version of the function
13
+ *
14
+ * @private
15
+ */
16
+ function convertToFP(fn, arity, curriedArgs = []) {
17
+ return curriedArgs.length >= arity
18
+ ? fn(...curriedArgs.slice(0, arity).reverse())
19
+ : (...args) => convertToFP(fn, arity, curriedArgs.concat(args));
20
+ }
workersss/Autovideos-worker/shy-hill-f5c2/node_modules/date-fns/fp/_lib/convertToFP.mjs ADDED
@@ -0,0 +1,17 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /**
2
+ * Converts a function to a curried function that accepts arguments in reverse
3
+ * order.
4
+ *
5
+ * @param fn - The function to convert to FP
6
+ * @param arity - The arity of the function
7
+ * @param curriedArgs - The curried arguments
8
+ *
9
+ * @returns FP version of the function
10
+ *
11
+ * @private
12
+ */
13
+ export function convertToFP(fn, arity, curriedArgs = []) {
14
+ return curriedArgs.length >= arity
15
+ ? fn(...curriedArgs.slice(0, arity).reverse())
16
+ : (...args) => convertToFP(fn, arity, curriedArgs.concat(args));
17
+ }
workersss/Autovideos-worker/shy-hill-f5c2/node_modules/date-fns/fp/add.d.mts ADDED
@@ -0,0 +1,5 @@
 
 
 
 
 
 
1
+ export declare const add: import("./types.js").FPFn2<
2
+ Date,
3
+ import("../fp.js").Duration,
4
+ string | number | Date
5
+ >;
workersss/Autovideos-worker/shy-hill-f5c2/node_modules/date-fns/fp/add.d.ts ADDED
@@ -0,0 +1,5 @@
 
 
 
 
 
 
1
+ export declare const add: import("./types.js").FPFn2<
2
+ Date,
3
+ import("../fp.js").Duration,
4
+ string | number | Date
5
+ >;
workersss/Autovideos-worker/shy-hill-f5c2/node_modules/date-fns/fp/add.js ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
1
+ "use strict";
2
+ exports.add = void 0;
3
+
4
+ var _index = require("../add.js");
5
+ var _index2 = require("./_lib/convertToFP.js"); // This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it.
6
+
7
+ const add = (exports.add = (0, _index2.convertToFP)(_index.add, 2));
workersss/Autovideos-worker/shy-hill-f5c2/node_modules/date-fns/fp/add.mjs ADDED
@@ -0,0 +1,8 @@
 
 
 
 
 
 
 
 
 
1
+ // This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it.
2
+ import { add as fn } from "../add.mjs";
3
+ import { convertToFP } from "./_lib/convertToFP.mjs";
4
+
5
+ export const add = convertToFP(fn, 2);
6
+
7
+ // Fallback for modularized imports:
8
+ export default add;
workersss/Autovideos-worker/shy-hill-f5c2/node_modules/date-fns/fp/addBusinessDays.d.mts ADDED
@@ -0,0 +1,5 @@
 
 
 
 
 
 
1
+ export declare const addBusinessDays: import("./types.js").FPFn2<
2
+ Date,
3
+ number,
4
+ string | number | Date
5
+ >;
workersss/Autovideos-worker/shy-hill-f5c2/node_modules/date-fns/fp/addBusinessDays.d.ts ADDED
@@ -0,0 +1,5 @@
 
 
 
 
 
 
1
+ export declare const addBusinessDays: import("./types.js").FPFn2<
2
+ Date,
3
+ number,
4
+ string | number | Date
5
+ >;
workersss/Autovideos-worker/shy-hill-f5c2/node_modules/date-fns/fp/addBusinessDays.js ADDED
@@ -0,0 +1,10 @@
 
 
 
 
 
 
 
 
 
 
 
1
+ "use strict";
2
+ exports.addBusinessDays = void 0;
3
+
4
+ var _index = require("../addBusinessDays.js");
5
+ var _index2 = require("./_lib/convertToFP.js"); // This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it.
6
+
7
+ const addBusinessDays = (exports.addBusinessDays = (0, _index2.convertToFP)(
8
+ _index.addBusinessDays,
9
+ 2,
10
+ ));
workersss/Autovideos-worker/shy-hill-f5c2/node_modules/date-fns/fp/addBusinessDays.mjs ADDED
@@ -0,0 +1,8 @@
 
 
 
 
 
 
 
 
 
1
+ // This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it.
2
+ import { addBusinessDays as fn } from "../addBusinessDays.mjs";
3
+ import { convertToFP } from "./_lib/convertToFP.mjs";
4
+
5
+ export const addBusinessDays = convertToFP(fn, 2);
6
+
7
+ // Fallback for modularized imports:
8
+ export default addBusinessDays;
workersss/Autovideos-worker/shy-hill-f5c2/node_modules/date-fns/fp/addDays.d.mts ADDED
@@ -0,0 +1,5 @@
 
 
 
 
 
 
1
+ export declare const addDays: import("./types.js").FPFn2<
2
+ Date,
3
+ number,
4
+ string | number | Date
5
+ >;
workersss/Autovideos-worker/shy-hill-f5c2/node_modules/date-fns/fp/addDays.d.ts ADDED
@@ -0,0 +1,5 @@
 
 
 
 
 
 
1
+ export declare const addDays: import("./types.js").FPFn2<
2
+ Date,
3
+ number,
4
+ string | number | Date
5
+ >;
workersss/Autovideos-worker/shy-hill-f5c2/node_modules/date-fns/fp/addDays.js ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
1
+ "use strict";
2
+ exports.addDays = void 0;
3
+
4
+ var _index = require("../addDays.js");
5
+ var _index2 = require("./_lib/convertToFP.js"); // This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it.
6
+
7
+ const addDays = (exports.addDays = (0, _index2.convertToFP)(_index.addDays, 2));
workersss/Autovideos-worker/shy-hill-f5c2/node_modules/date-fns/fp/addDays.mjs ADDED
@@ -0,0 +1,8 @@
 
 
 
 
 
 
 
 
 
1
+ // This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it.
2
+ import { addDays as fn } from "../addDays.mjs";
3
+ import { convertToFP } from "./_lib/convertToFP.mjs";
4
+
5
+ export const addDays = convertToFP(fn, 2);
6
+
7
+ // Fallback for modularized imports:
8
+ export default addDays;
workersss/Autovideos-worker/shy-hill-f5c2/node_modules/date-fns/fp/addHours.d.mts ADDED
@@ -0,0 +1,5 @@
 
 
 
 
 
 
1
+ export declare const addHours: import("./types.js").FPFn2<
2
+ Date,
3
+ number,
4
+ string | number | Date
5
+ >;
workersss/Autovideos-worker/shy-hill-f5c2/node_modules/date-fns/fp/addHours.d.ts ADDED
@@ -0,0 +1,5 @@
 
 
 
 
 
 
1
+ export declare const addHours: import("./types.js").FPFn2<
2
+ Date,
3
+ number,
4
+ string | number | Date
5
+ >;
workersss/Autovideos-worker/shy-hill-f5c2/node_modules/date-fns/fp/addHours.js ADDED
@@ -0,0 +1,10 @@
 
 
 
 
 
 
 
 
 
 
 
1
+ "use strict";
2
+ exports.addHours = void 0;
3
+
4
+ var _index = require("../addHours.js");
5
+ var _index2 = require("./_lib/convertToFP.js"); // This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it.
6
+
7
+ const addHours = (exports.addHours = (0, _index2.convertToFP)(
8
+ _index.addHours,
9
+ 2,
10
+ ));
workersss/Autovideos-worker/shy-hill-f5c2/node_modules/date-fns/fp/addHours.mjs ADDED
@@ -0,0 +1,8 @@
 
 
 
 
 
 
 
 
 
1
+ // This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it.
2
+ import { addHours as fn } from "../addHours.mjs";
3
+ import { convertToFP } from "./_lib/convertToFP.mjs";
4
+
5
+ export const addHours = convertToFP(fn, 2);
6
+
7
+ // Fallback for modularized imports:
8
+ export default addHours;
workersss/Autovideos-worker/shy-hill-f5c2/node_modules/date-fns/fp/addISOWeekYears.d.mts ADDED
@@ -0,0 +1,5 @@
 
 
 
 
 
 
1
+ export declare const addISOWeekYears: import("./types.js").FPFn2<
2
+ Date,
3
+ number,
4
+ string | number | Date
5
+ >;
workersss/Autovideos-worker/shy-hill-f5c2/node_modules/date-fns/fp/addISOWeekYears.d.ts ADDED
@@ -0,0 +1,5 @@
 
 
 
 
 
 
1
+ export declare const addISOWeekYears: import("./types.js").FPFn2<
2
+ Date,
3
+ number,
4
+ string | number | Date
5
+ >;
workersss/Autovideos-worker/shy-hill-f5c2/node_modules/date-fns/fp/addISOWeekYears.js ADDED
@@ -0,0 +1,10 @@
 
 
 
 
 
 
 
 
 
 
 
1
+ "use strict";
2
+ exports.addISOWeekYears = void 0;
3
+
4
+ var _index = require("../addISOWeekYears.js");
5
+ var _index2 = require("./_lib/convertToFP.js"); // This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it.
6
+
7
+ const addISOWeekYears = (exports.addISOWeekYears = (0, _index2.convertToFP)(
8
+ _index.addISOWeekYears,
9
+ 2,
10
+ ));
workersss/Autovideos-worker/shy-hill-f5c2/node_modules/date-fns/fp/addISOWeekYears.mjs ADDED
@@ -0,0 +1,8 @@
 
 
 
 
 
 
 
 
 
1
+ // This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it.
2
+ import { addISOWeekYears as fn } from "../addISOWeekYears.mjs";
3
+ import { convertToFP } from "./_lib/convertToFP.mjs";
4
+
5
+ export const addISOWeekYears = convertToFP(fn, 2);
6
+
7
+ // Fallback for modularized imports:
8
+ export default addISOWeekYears;