Spaces:
Configuration error
Configuration error
luigi12345
commited on
Commit
•
71b7eb8
1
Parent(s):
f6f4a2d
7ad02a76216286c7776a5c938a8c352af3ff029703e89e5fc0a9688a1426e351
Browse files- workers1/auto3d/node_modules/date-fns/locale/ca.d.mts +10 -0
- workers1/auto3d/node_modules/date-fns/locale/ca.d.ts +10 -0
- workers1/auto3d/node_modules/date-fns/locale/ca.js +28 -0
- workers1/auto3d/node_modules/date-fns/locale/ca.mjs +29 -0
- workers1/auto3d/node_modules/date-fns/locale/ca/_lib/formatDistance.d.ts +2 -0
- workers1/auto3d/node_modules/date-fns/locale/ca/_lib/formatDistance.js +121 -0
- workers1/auto3d/node_modules/date-fns/locale/ca/_lib/formatDistance.mjs +117 -0
- workers1/auto3d/node_modules/date-fns/locale/ca/_lib/formatLong.d.mts +2 -0
- workers1/auto3d/node_modules/date-fns/locale/ca/_lib/formatLong.d.ts +2 -0
- workers1/auto3d/node_modules/date-fns/locale/ca/_lib/formatLong.js +41 -0
- workers1/auto3d/node_modules/date-fns/locale/ca/_lib/formatLong.mjs +39 -0
- workers1/auto3d/node_modules/date-fns/locale/ca/_lib/formatRelative.d.mts +2 -0
- workers1/auto3d/node_modules/date-fns/locale/ca/_lib/formatRelative.d.ts +2 -0
- workers1/auto3d/node_modules/date-fns/locale/ca/_lib/formatRelative.js +28 -0
- workers1/auto3d/node_modules/date-fns/locale/ca/_lib/formatRelative.mjs +24 -0
- workers1/auto3d/node_modules/date-fns/locale/ca/_lib/localize.d.mts +2 -0
- workers1/auto3d/node_modules/date-fns/locale/ca/_lib/localize.d.ts +2 -0
- workers1/auto3d/node_modules/date-fns/locale/ca/_lib/localize.js +234 -0
- workers1/auto3d/node_modules/date-fns/locale/ca/_lib/localize.mjs +232 -0
- workers1/auto3d/node_modules/date-fns/locale/ca/_lib/match.d.mts +2 -0
- workers1/auto3d/node_modules/date-fns/locale/ca/_lib/match.d.ts +2 -0
- workers1/auto3d/node_modules/date-fns/locale/ca/_lib/match.js +166 -0
- workers1/auto3d/node_modules/date-fns/locale/ca/_lib/match.mjs +163 -0
- workers1/auto3d/node_modules/date-fns/locale/ca/cdn.js +588 -0
- workers1/auto3d/node_modules/date-fns/locale/ca/cdn.js.map +1 -0
- workers1/auto3d/node_modules/date-fns/locale/ca/cdn.min.js +3 -0
- workers1/auto3d/node_modules/date-fns/locale/ca/cdn.min.js.map +10 -0
- workers1/auto3d/node_modules/date-fns/locale/cdn.js +0 -0
- workers1/auto3d/node_modules/date-fns/locale/cdn.js.map +0 -0
- workers1/auto3d/node_modules/date-fns/locale/cdn.min.js +0 -0
- workers1/auto3d/node_modules/date-fns/locale/cdn.min.js.map +0 -0
- workers1/auto3d/node_modules/date-fns/locale/ckb/_lib/formatDistance.d.mts +2 -0
- workers1/auto3d/node_modules/date-fns/locale/ckb/_lib/formatDistance.d.ts +2 -0
- workers1/auto3d/node_modules/date-fns/locale/ckb/_lib/formatDistance.js +105 -0
- workers1/auto3d/node_modules/date-fns/locale/ckb/_lib/formatDistance.mjs +101 -0
- workers1/auto3d/node_modules/date-fns/locale/ckb/_lib/formatLong.d.mts +2 -0
- workers1/auto3d/node_modules/date-fns/locale/ckb/_lib/formatLong.d.ts +2 -0
- workers1/auto3d/node_modules/date-fns/locale/ckb/_lib/formatLong.js +41 -0
- workers1/auto3d/node_modules/date-fns/locale/ckb/_lib/formatLong.mjs +39 -0
- workers1/auto3d/node_modules/date-fns/locale/ckb/_lib/formatRelative.d.mts +2 -0
- workers1/auto3d/node_modules/date-fns/locale/ckb/_lib/formatRelative.d.ts +2 -0
- workers1/auto3d/node_modules/date-fns/locale/ckb/_lib/formatRelative.js +15 -0
- workers1/auto3d/node_modules/date-fns/locale/ckb/_lib/formatRelative.mjs +11 -0
- workers1/auto3d/node_modules/date-fns/locale/ckb/_lib/localize.d.mts +2 -0
- workers1/auto3d/node_modules/date-fns/locale/ckb/_lib/localize.d.ts +2 -0
- workers1/auto3d/node_modules/date-fns/locale/ckb/_lib/localize.js +193 -0
- workers1/auto3d/node_modules/date-fns/locale/ckb/_lib/localize.mjs +190 -0
- workers1/auto3d/node_modules/date-fns/locale/ckb/_lib/match.d.mts +2 -0
- workers1/auto3d/node_modules/date-fns/locale/ckb/_lib/match.d.ts +2 -0
- workers1/auto3d/node_modules/date-fns/locale/ckb/_lib/match.js +140 -0
workers1/auto3d/node_modules/date-fns/locale/ca.d.mts
ADDED
@@ -0,0 +1,10 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
import type { Locale } from "./types.js";
|
2 |
+
/**
|
3 |
+
* @category Locales
|
4 |
+
* @summary Catalan locale.
|
5 |
+
* @language Catalan
|
6 |
+
* @iso-639-2 cat
|
7 |
+
* @author Guillermo Grau [@guigrpa](https://github.com/guigrpa)
|
8 |
+
* @author Alex Vizcaino [@avizcaino](https://github.com/avizcaino)
|
9 |
+
*/
|
10 |
+
export declare const ca: Locale;
|
workers1/auto3d/node_modules/date-fns/locale/ca.d.ts
ADDED
@@ -0,0 +1,10 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
import type { Locale } from "./types.js";
|
2 |
+
/**
|
3 |
+
* @category Locales
|
4 |
+
* @summary Catalan locale.
|
5 |
+
* @language Catalan
|
6 |
+
* @iso-639-2 cat
|
7 |
+
* @author Guillermo Grau [@guigrpa](https://github.com/guigrpa)
|
8 |
+
* @author Alex Vizcaino [@avizcaino](https://github.com/avizcaino)
|
9 |
+
*/
|
10 |
+
export declare const ca: Locale;
|
workers1/auto3d/node_modules/date-fns/locale/ca.js
ADDED
@@ -0,0 +1,28 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
"use strict";
|
2 |
+
exports.ca = void 0;
|
3 |
+
var _index = require("./ca/_lib/formatDistance.js");
|
4 |
+
var _index2 = require("./ca/_lib/formatLong.js");
|
5 |
+
var _index3 = require("./ca/_lib/formatRelative.js");
|
6 |
+
var _index4 = require("./ca/_lib/localize.js");
|
7 |
+
var _index5 = require("./ca/_lib/match.js");
|
8 |
+
|
9 |
+
/**
|
10 |
+
* @category Locales
|
11 |
+
* @summary Catalan locale.
|
12 |
+
* @language Catalan
|
13 |
+
* @iso-639-2 cat
|
14 |
+
* @author Guillermo Grau [@guigrpa](https://github.com/guigrpa)
|
15 |
+
* @author Alex Vizcaino [@avizcaino](https://github.com/avizcaino)
|
16 |
+
*/
|
17 |
+
const ca = (exports.ca = {
|
18 |
+
code: "ca",
|
19 |
+
formatDistance: _index.formatDistance,
|
20 |
+
formatLong: _index2.formatLong,
|
21 |
+
formatRelative: _index3.formatRelative,
|
22 |
+
localize: _index4.localize,
|
23 |
+
match: _index5.match,
|
24 |
+
options: {
|
25 |
+
weekStartsOn: 1 /* Monday */,
|
26 |
+
firstWeekContainsDate: 4,
|
27 |
+
},
|
28 |
+
});
|
workers1/auto3d/node_modules/date-fns/locale/ca.mjs
ADDED
@@ -0,0 +1,29 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
import { formatDistance } from "./ca/_lib/formatDistance.mjs";
|
2 |
+
import { formatLong } from "./ca/_lib/formatLong.mjs";
|
3 |
+
import { formatRelative } from "./ca/_lib/formatRelative.mjs";
|
4 |
+
import { localize } from "./ca/_lib/localize.mjs";
|
5 |
+
import { match } from "./ca/_lib/match.mjs";
|
6 |
+
|
7 |
+
/**
|
8 |
+
* @category Locales
|
9 |
+
* @summary Catalan locale.
|
10 |
+
* @language Catalan
|
11 |
+
* @iso-639-2 cat
|
12 |
+
* @author Guillermo Grau [@guigrpa](https://github.com/guigrpa)
|
13 |
+
* @author Alex Vizcaino [@avizcaino](https://github.com/avizcaino)
|
14 |
+
*/
|
15 |
+
export const ca = {
|
16 |
+
code: "ca",
|
17 |
+
formatDistance: formatDistance,
|
18 |
+
formatLong: formatLong,
|
19 |
+
formatRelative: formatRelative,
|
20 |
+
localize: localize,
|
21 |
+
match: match,
|
22 |
+
options: {
|
23 |
+
weekStartsOn: 1 /* Monday */,
|
24 |
+
firstWeekContainsDate: 4,
|
25 |
+
},
|
26 |
+
};
|
27 |
+
|
28 |
+
// Fallback for modularized imports:
|
29 |
+
export default ca;
|
workers1/auto3d/node_modules/date-fns/locale/ca/_lib/formatDistance.d.ts
ADDED
@@ -0,0 +1,2 @@
|
|
|
|
|
|
|
1 |
+
import type { FormatDistanceFn } from "../../types.js";
|
2 |
+
export declare const formatDistance: FormatDistanceFn;
|
workers1/auto3d/node_modules/date-fns/locale/ca/_lib/formatDistance.js
ADDED
@@ -0,0 +1,121 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
"use strict";
|
2 |
+
exports.formatDistance = void 0;
|
3 |
+
|
4 |
+
/**
|
5 |
+
* Davant de les xifres que es diuen amb vocal inicial, 1 i 11, s'apostrofen els articles el i la i la preposició de igual que si estiguessin escrits amb lletres.
|
6 |
+
* l'1 de juliol ('l'u')
|
7 |
+
* l'11 de novembre ('l'onze')
|
8 |
+
* l'11a clàusula del contracte ('l'onzena')
|
9 |
+
* la contractació d'11 jugadors ('d'onze')
|
10 |
+
* l'aval d'11.000 socis ('d'onze mil')
|
11 |
+
*
|
12 |
+
* Reference: https://aplicacions.llengua.gencat.cat/llc/AppJava/index.html?input_cercar=apostrofaci%25F3+davant+xifres&action=Principal&method=detall_completa&numPagina=1&idHit=11236&database=FITXES_PUB&tipusFont=Fitxes%20de%20l%27Optimot&idFont=11236&titol=apostrofaci%F3%20davant%20de%20xifres%20%2F%20apostrofaci%F3%20davant%20de%201%20i%2011&numeroResultat=1&clickLink=detall&tipusCerca=cerca.normes
|
13 |
+
*/
|
14 |
+
|
15 |
+
const formatDistanceLocale = {
|
16 |
+
lessThanXSeconds: {
|
17 |
+
one: "menys d'un segon",
|
18 |
+
eleven: "menys d'onze segons",
|
19 |
+
other: "menys de {{count}} segons",
|
20 |
+
},
|
21 |
+
|
22 |
+
xSeconds: {
|
23 |
+
one: "1 segon",
|
24 |
+
other: "{{count}} segons",
|
25 |
+
},
|
26 |
+
|
27 |
+
halfAMinute: "mig minut",
|
28 |
+
|
29 |
+
lessThanXMinutes: {
|
30 |
+
one: "menys d'un minut",
|
31 |
+
eleven: "menys d'onze minuts",
|
32 |
+
other: "menys de {{count}} minuts",
|
33 |
+
},
|
34 |
+
|
35 |
+
xMinutes: {
|
36 |
+
one: "1 minut",
|
37 |
+
other: "{{count}} minuts",
|
38 |
+
},
|
39 |
+
|
40 |
+
aboutXHours: {
|
41 |
+
one: "aproximadament una hora",
|
42 |
+
other: "aproximadament {{count}} hores",
|
43 |
+
},
|
44 |
+
|
45 |
+
xHours: {
|
46 |
+
one: "1 hora",
|
47 |
+
other: "{{count}} hores",
|
48 |
+
},
|
49 |
+
|
50 |
+
xDays: {
|
51 |
+
one: "1 dia",
|
52 |
+
other: "{{count}} dies",
|
53 |
+
},
|
54 |
+
|
55 |
+
aboutXWeeks: {
|
56 |
+
one: "aproximadament una setmana",
|
57 |
+
other: "aproximadament {{count}} setmanes",
|
58 |
+
},
|
59 |
+
|
60 |
+
xWeeks: {
|
61 |
+
one: "1 setmana",
|
62 |
+
other: "{{count}} setmanes",
|
63 |
+
},
|
64 |
+
|
65 |
+
aboutXMonths: {
|
66 |
+
one: "aproximadament un mes",
|
67 |
+
other: "aproximadament {{count}} mesos",
|
68 |
+
},
|
69 |
+
|
70 |
+
xMonths: {
|
71 |
+
one: "1 mes",
|
72 |
+
other: "{{count}} mesos",
|
73 |
+
},
|
74 |
+
|
75 |
+
aboutXYears: {
|
76 |
+
one: "aproximadament un any",
|
77 |
+
other: "aproximadament {{count}} anys",
|
78 |
+
},
|
79 |
+
|
80 |
+
xYears: {
|
81 |
+
one: "1 any",
|
82 |
+
other: "{{count}} anys",
|
83 |
+
},
|
84 |
+
|
85 |
+
overXYears: {
|
86 |
+
one: "més d'un any",
|
87 |
+
eleven: "més d'onze anys",
|
88 |
+
other: "més de {{count}} anys",
|
89 |
+
},
|
90 |
+
|
91 |
+
almostXYears: {
|
92 |
+
one: "gairebé un any",
|
93 |
+
other: "gairebé {{count}} anys",
|
94 |
+
},
|
95 |
+
};
|
96 |
+
|
97 |
+
const formatDistance = (token, count, options) => {
|
98 |
+
let result;
|
99 |
+
|
100 |
+
const tokenValue = formatDistanceLocale[token];
|
101 |
+
if (typeof tokenValue === "string") {
|
102 |
+
result = tokenValue;
|
103 |
+
} else if (count === 1) {
|
104 |
+
result = tokenValue.one;
|
105 |
+
} else if (count === 11 && tokenValue.eleven) {
|
106 |
+
result = tokenValue.eleven;
|
107 |
+
} else {
|
108 |
+
result = tokenValue.other.replace("{{count}}", String(count));
|
109 |
+
}
|
110 |
+
|
111 |
+
if (options?.addSuffix) {
|
112 |
+
if (options.comparison && options.comparison > 0) {
|
113 |
+
return "en " + result;
|
114 |
+
} else {
|
115 |
+
return "fa " + result;
|
116 |
+
}
|
117 |
+
}
|
118 |
+
|
119 |
+
return result;
|
120 |
+
};
|
121 |
+
exports.formatDistance = formatDistance;
|
workers1/auto3d/node_modules/date-fns/locale/ca/_lib/formatDistance.mjs
ADDED
@@ -0,0 +1,117 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
/**
|
2 |
+
* Davant de les xifres que es diuen amb vocal inicial, 1 i 11, s'apostrofen els articles el i la i la preposició de igual que si estiguessin escrits amb lletres.
|
3 |
+
* l'1 de juliol ('l'u')
|
4 |
+
* l'11 de novembre ('l'onze')
|
5 |
+
* l'11a clàusula del contracte ('l'onzena')
|
6 |
+
* la contractació d'11 jugadors ('d'onze')
|
7 |
+
* l'aval d'11.000 socis ('d'onze mil')
|
8 |
+
*
|
9 |
+
* Reference: https://aplicacions.llengua.gencat.cat/llc/AppJava/index.html?input_cercar=apostrofaci%25F3+davant+xifres&action=Principal&method=detall_completa&numPagina=1&idHit=11236&database=FITXES_PUB&tipusFont=Fitxes%20de%20l%27Optimot&idFont=11236&titol=apostrofaci%F3%20davant%20de%20xifres%20%2F%20apostrofaci%F3%20davant%20de%201%20i%2011&numeroResultat=1&clickLink=detall&tipusCerca=cerca.normes
|
10 |
+
*/
|
11 |
+
|
12 |
+
const formatDistanceLocale = {
|
13 |
+
lessThanXSeconds: {
|
14 |
+
one: "menys d'un segon",
|
15 |
+
eleven: "menys d'onze segons",
|
16 |
+
other: "menys de {{count}} segons",
|
17 |
+
},
|
18 |
+
|
19 |
+
xSeconds: {
|
20 |
+
one: "1 segon",
|
21 |
+
other: "{{count}} segons",
|
22 |
+
},
|
23 |
+
|
24 |
+
halfAMinute: "mig minut",
|
25 |
+
|
26 |
+
lessThanXMinutes: {
|
27 |
+
one: "menys d'un minut",
|
28 |
+
eleven: "menys d'onze minuts",
|
29 |
+
other: "menys de {{count}} minuts",
|
30 |
+
},
|
31 |
+
|
32 |
+
xMinutes: {
|
33 |
+
one: "1 minut",
|
34 |
+
other: "{{count}} minuts",
|
35 |
+
},
|
36 |
+
|
37 |
+
aboutXHours: {
|
38 |
+
one: "aproximadament una hora",
|
39 |
+
other: "aproximadament {{count}} hores",
|
40 |
+
},
|
41 |
+
|
42 |
+
xHours: {
|
43 |
+
one: "1 hora",
|
44 |
+
other: "{{count}} hores",
|
45 |
+
},
|
46 |
+
|
47 |
+
xDays: {
|
48 |
+
one: "1 dia",
|
49 |
+
other: "{{count}} dies",
|
50 |
+
},
|
51 |
+
|
52 |
+
aboutXWeeks: {
|
53 |
+
one: "aproximadament una setmana",
|
54 |
+
other: "aproximadament {{count}} setmanes",
|
55 |
+
},
|
56 |
+
|
57 |
+
xWeeks: {
|
58 |
+
one: "1 setmana",
|
59 |
+
other: "{{count}} setmanes",
|
60 |
+
},
|
61 |
+
|
62 |
+
aboutXMonths: {
|
63 |
+
one: "aproximadament un mes",
|
64 |
+
other: "aproximadament {{count}} mesos",
|
65 |
+
},
|
66 |
+
|
67 |
+
xMonths: {
|
68 |
+
one: "1 mes",
|
69 |
+
other: "{{count}} mesos",
|
70 |
+
},
|
71 |
+
|
72 |
+
aboutXYears: {
|
73 |
+
one: "aproximadament un any",
|
74 |
+
other: "aproximadament {{count}} anys",
|
75 |
+
},
|
76 |
+
|
77 |
+
xYears: {
|
78 |
+
one: "1 any",
|
79 |
+
other: "{{count}} anys",
|
80 |
+
},
|
81 |
+
|
82 |
+
overXYears: {
|
83 |
+
one: "més d'un any",
|
84 |
+
eleven: "més d'onze anys",
|
85 |
+
other: "més de {{count}} anys",
|
86 |
+
},
|
87 |
+
|
88 |
+
almostXYears: {
|
89 |
+
one: "gairebé un any",
|
90 |
+
other: "gairebé {{count}} anys",
|
91 |
+
},
|
92 |
+
};
|
93 |
+
|
94 |
+
export const formatDistance = (token, count, options) => {
|
95 |
+
let result;
|
96 |
+
|
97 |
+
const tokenValue = formatDistanceLocale[token];
|
98 |
+
if (typeof tokenValue === "string") {
|
99 |
+
result = tokenValue;
|
100 |
+
} else if (count === 1) {
|
101 |
+
result = tokenValue.one;
|
102 |
+
} else if (count === 11 && tokenValue.eleven) {
|
103 |
+
result = tokenValue.eleven;
|
104 |
+
} else {
|
105 |
+
result = tokenValue.other.replace("{{count}}", String(count));
|
106 |
+
}
|
107 |
+
|
108 |
+
if (options?.addSuffix) {
|
109 |
+
if (options.comparison && options.comparison > 0) {
|
110 |
+
return "en " + result;
|
111 |
+
} else {
|
112 |
+
return "fa " + result;
|
113 |
+
}
|
114 |
+
}
|
115 |
+
|
116 |
+
return result;
|
117 |
+
};
|
workers1/auto3d/node_modules/date-fns/locale/ca/_lib/formatLong.d.mts
ADDED
@@ -0,0 +1,2 @@
|
|
|
|
|
|
|
1 |
+
import type { FormatLong } from "../../types.js";
|
2 |
+
export declare const formatLong: FormatLong;
|
workers1/auto3d/node_modules/date-fns/locale/ca/_lib/formatLong.d.ts
ADDED
@@ -0,0 +1,2 @@
|
|
|
|
|
|
|
1 |
+
import type { FormatLong } from "../../types.js";
|
2 |
+
export declare const formatLong: FormatLong;
|
workers1/auto3d/node_modules/date-fns/locale/ca/_lib/formatLong.js
ADDED
@@ -0,0 +1,41 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
"use strict";
|
2 |
+
exports.formatLong = void 0;
|
3 |
+
var _index = require("../../_lib/buildFormatLongFn.js");
|
4 |
+
|
5 |
+
const dateFormats = {
|
6 |
+
full: "EEEE, d 'de' MMMM y",
|
7 |
+
long: "d 'de' MMMM y",
|
8 |
+
medium: "d MMM y",
|
9 |
+
short: "dd/MM/y",
|
10 |
+
};
|
11 |
+
|
12 |
+
const timeFormats = {
|
13 |
+
full: "HH:mm:ss zzzz",
|
14 |
+
long: "HH:mm:ss z",
|
15 |
+
medium: "HH:mm:ss",
|
16 |
+
short: "HH:mm",
|
17 |
+
};
|
18 |
+
|
19 |
+
const dateTimeFormats = {
|
20 |
+
full: "{{date}} 'a les' {{time}}",
|
21 |
+
long: "{{date}} 'a les' {{time}}",
|
22 |
+
medium: "{{date}}, {{time}}",
|
23 |
+
short: "{{date}}, {{time}}",
|
24 |
+
};
|
25 |
+
|
26 |
+
const formatLong = (exports.formatLong = {
|
27 |
+
date: (0, _index.buildFormatLongFn)({
|
28 |
+
formats: dateFormats,
|
29 |
+
defaultWidth: "full",
|
30 |
+
}),
|
31 |
+
|
32 |
+
time: (0, _index.buildFormatLongFn)({
|
33 |
+
formats: timeFormats,
|
34 |
+
defaultWidth: "full",
|
35 |
+
}),
|
36 |
+
|
37 |
+
dateTime: (0, _index.buildFormatLongFn)({
|
38 |
+
formats: dateTimeFormats,
|
39 |
+
defaultWidth: "full",
|
40 |
+
}),
|
41 |
+
});
|
workers1/auto3d/node_modules/date-fns/locale/ca/_lib/formatLong.mjs
ADDED
@@ -0,0 +1,39 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
import { buildFormatLongFn } from "../../_lib/buildFormatLongFn.mjs";
|
2 |
+
|
3 |
+
const dateFormats = {
|
4 |
+
full: "EEEE, d 'de' MMMM y",
|
5 |
+
long: "d 'de' MMMM y",
|
6 |
+
medium: "d MMM y",
|
7 |
+
short: "dd/MM/y",
|
8 |
+
};
|
9 |
+
|
10 |
+
const timeFormats = {
|
11 |
+
full: "HH:mm:ss zzzz",
|
12 |
+
long: "HH:mm:ss z",
|
13 |
+
medium: "HH:mm:ss",
|
14 |
+
short: "HH:mm",
|
15 |
+
};
|
16 |
+
|
17 |
+
const dateTimeFormats = {
|
18 |
+
full: "{{date}} 'a les' {{time}}",
|
19 |
+
long: "{{date}} 'a les' {{time}}",
|
20 |
+
medium: "{{date}}, {{time}}",
|
21 |
+
short: "{{date}}, {{time}}",
|
22 |
+
};
|
23 |
+
|
24 |
+
export const formatLong = {
|
25 |
+
date: buildFormatLongFn({
|
26 |
+
formats: dateFormats,
|
27 |
+
defaultWidth: "full",
|
28 |
+
}),
|
29 |
+
|
30 |
+
time: buildFormatLongFn({
|
31 |
+
formats: timeFormats,
|
32 |
+
defaultWidth: "full",
|
33 |
+
}),
|
34 |
+
|
35 |
+
dateTime: buildFormatLongFn({
|
36 |
+
formats: dateTimeFormats,
|
37 |
+
defaultWidth: "full",
|
38 |
+
}),
|
39 |
+
};
|
workers1/auto3d/node_modules/date-fns/locale/ca/_lib/formatRelative.d.mts
ADDED
@@ -0,0 +1,2 @@
|
|
|
|
|
|
|
1 |
+
import type { FormatRelativeFn } from "../../types.js";
|
2 |
+
export declare const formatRelative: FormatRelativeFn;
|
workers1/auto3d/node_modules/date-fns/locale/ca/_lib/formatRelative.d.ts
ADDED
@@ -0,0 +1,2 @@
|
|
|
|
|
|
|
1 |
+
import type { FormatRelativeFn } from "../../types.js";
|
2 |
+
export declare const formatRelative: FormatRelativeFn;
|
workers1/auto3d/node_modules/date-fns/locale/ca/_lib/formatRelative.js
ADDED
@@ -0,0 +1,28 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
"use strict";
|
2 |
+
exports.formatRelative = void 0;
|
3 |
+
|
4 |
+
const formatRelativeLocale = {
|
5 |
+
lastWeek: "'el' eeee 'passat a la' LT",
|
6 |
+
yesterday: "'ahir a la' p",
|
7 |
+
today: "'avui a la' p",
|
8 |
+
tomorrow: "'demà a la' p",
|
9 |
+
nextWeek: "eeee 'a la' p",
|
10 |
+
other: "P",
|
11 |
+
};
|
12 |
+
|
13 |
+
const formatRelativeLocalePlural = {
|
14 |
+
lastWeek: "'el' eeee 'passat a les' p",
|
15 |
+
yesterday: "'ahir a les' p",
|
16 |
+
today: "'avui a les' p",
|
17 |
+
tomorrow: "'demà a les' p",
|
18 |
+
nextWeek: "eeee 'a les' p",
|
19 |
+
other: "P",
|
20 |
+
};
|
21 |
+
|
22 |
+
const formatRelative = (token, date, _baseDate, _options) => {
|
23 |
+
if (date.getHours() !== 1) {
|
24 |
+
return formatRelativeLocalePlural[token];
|
25 |
+
}
|
26 |
+
return formatRelativeLocale[token];
|
27 |
+
};
|
28 |
+
exports.formatRelative = formatRelative;
|
workers1/auto3d/node_modules/date-fns/locale/ca/_lib/formatRelative.mjs
ADDED
@@ -0,0 +1,24 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
const formatRelativeLocale = {
|
2 |
+
lastWeek: "'el' eeee 'passat a la' LT",
|
3 |
+
yesterday: "'ahir a la' p",
|
4 |
+
today: "'avui a la' p",
|
5 |
+
tomorrow: "'demà a la' p",
|
6 |
+
nextWeek: "eeee 'a la' p",
|
7 |
+
other: "P",
|
8 |
+
};
|
9 |
+
|
10 |
+
const formatRelativeLocalePlural = {
|
11 |
+
lastWeek: "'el' eeee 'passat a les' p",
|
12 |
+
yesterday: "'ahir a les' p",
|
13 |
+
today: "'avui a les' p",
|
14 |
+
tomorrow: "'demà a les' p",
|
15 |
+
nextWeek: "eeee 'a les' p",
|
16 |
+
other: "P",
|
17 |
+
};
|
18 |
+
|
19 |
+
export const formatRelative = (token, date, _baseDate, _options) => {
|
20 |
+
if (date.getHours() !== 1) {
|
21 |
+
return formatRelativeLocalePlural[token];
|
22 |
+
}
|
23 |
+
return formatRelativeLocale[token];
|
24 |
+
};
|
workers1/auto3d/node_modules/date-fns/locale/ca/_lib/localize.d.mts
ADDED
@@ -0,0 +1,2 @@
|
|
|
|
|
|
|
1 |
+
import type { Localize } from "../../types.js";
|
2 |
+
export declare const localize: Localize;
|
workers1/auto3d/node_modules/date-fns/locale/ca/_lib/localize.d.ts
ADDED
@@ -0,0 +1,2 @@
|
|
|
|
|
|
|
1 |
+
import type { Localize } from "../../types.js";
|
2 |
+
export declare const localize: Localize;
|
workers1/auto3d/node_modules/date-fns/locale/ca/_lib/localize.js
ADDED
@@ -0,0 +1,234 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
"use strict";
|
2 |
+
exports.localize = void 0;
|
3 |
+
var _index = require("../../_lib/buildLocalizeFn.js");
|
4 |
+
|
5 |
+
/**
|
6 |
+
* General information
|
7 |
+
* Reference: https://aplicacions.llengua.gencat.cat
|
8 |
+
* Reference: https://www.uoc.edu/portal/ca/servei-linguistic/convencions/abreviacions/simbols/simbols-habituals.html
|
9 |
+
*/
|
10 |
+
|
11 |
+
/**
|
12 |
+
* Abans de Crist: https://aplicacions.llengua.gencat.cat/llc/AppJava/index.html?input_cercar=abans+de+crist&action=Principal&method=detall_completa&numPagina=1&idHit=6876&database=FITXES_PUB&tipusFont=Fitxes%20de%20l%27Optimot&idFont=6876&titol=abans%20de%20Crist%20(abreviatura)%20/%20abans%20de%20Crist%20(sigla)&numeroResultat=1&clickLink=detall&tipusCerca=cerca.fitxes
|
13 |
+
* Desprest de Crist: https://aplicacions.llengua.gencat.cat/llc/AppJava/index.html?input_cercar=despr%E9s+de+crist&action=Principal&method=detall_completa&numPagina=1&idHit=6879&database=FITXES_PUB&tipusFont=Fitxes%20de%20l%27Optimot&idFont=6879&titol=despr%E9s%20de%20Crist%20(sigla)%20/%20despr%E9s%20de%20Crist%20(abreviatura)&numeroResultat=1&clickLink=detall&tipusCerca=cerca.fitxes
|
14 |
+
*/
|
15 |
+
const eraValues = {
|
16 |
+
narrow: ["aC", "dC"],
|
17 |
+
abbreviated: ["a. de C.", "d. de C."],
|
18 |
+
wide: ["abans de Crist", "després de Crist"],
|
19 |
+
};
|
20 |
+
|
21 |
+
const quarterValues = {
|
22 |
+
narrow: ["1", "2", "3", "4"],
|
23 |
+
abbreviated: ["T1", "T2", "T3", "T4"],
|
24 |
+
wide: ["1r trimestre", "2n trimestre", "3r trimestre", "4t trimestre"],
|
25 |
+
};
|
26 |
+
|
27 |
+
/**
|
28 |
+
* Dins d'un text convé fer servir la forma sencera dels mesos, ja que sempre és més clar el mot sencer que l'abreviatura, encara que aquesta sigui força coneguda.
|
29 |
+
* Cal reservar, doncs, les abreviatures per a les llistes o classificacions, els gràfics, les taules o quadres estadístics, els textos publicitaris, etc.
|
30 |
+
*
|
31 |
+
* Reference: https://aplicacions.llengua.gencat.cat/llc/AppJava/index.html?input_cercar=abreviacions+mesos&action=Principal&method=detall_completa&numPagina=1&idHit=8402&database=FITXES_PUB&tipusFont=Fitxes%20de%20l%27Optimot&idFont=8402&titol=abreviatures%20dels%20mesos%20de%20l%27any&numeroResultat=5&clickLink=detall&tipusCerca=cerca.fitxes
|
32 |
+
*/
|
33 |
+
const monthValues = {
|
34 |
+
narrow: [
|
35 |
+
"GN",
|
36 |
+
"FB",
|
37 |
+
"MÇ",
|
38 |
+
"AB",
|
39 |
+
"MG",
|
40 |
+
"JN",
|
41 |
+
"JL",
|
42 |
+
"AG",
|
43 |
+
"ST",
|
44 |
+
"OC",
|
45 |
+
"NV",
|
46 |
+
"DS",
|
47 |
+
],
|
48 |
+
|
49 |
+
/**
|
50 |
+
* Les abreviatures dels mesos de l'any es formen seguint una de les normes generals de formació d'abreviatures.
|
51 |
+
* S'escriu la primera síl·laba i les consonants de la síl·laba següent anteriors a la primera vocal.
|
52 |
+
* Els mesos de març, maig i juny no s'abreugen perquè són paraules d'una sola síl·laba.
|
53 |
+
*/
|
54 |
+
abbreviated: [
|
55 |
+
"gen.",
|
56 |
+
"febr.",
|
57 |
+
"març",
|
58 |
+
"abr.",
|
59 |
+
"maig",
|
60 |
+
"juny",
|
61 |
+
"jul.",
|
62 |
+
"ag.",
|
63 |
+
"set.",
|
64 |
+
"oct.",
|
65 |
+
"nov.",
|
66 |
+
"des.",
|
67 |
+
],
|
68 |
+
|
69 |
+
wide: [
|
70 |
+
"gener",
|
71 |
+
"febrer",
|
72 |
+
"març",
|
73 |
+
"abril",
|
74 |
+
"maig",
|
75 |
+
"juny",
|
76 |
+
"juliol",
|
77 |
+
"agost",
|
78 |
+
"setembre",
|
79 |
+
"octubre",
|
80 |
+
"novembre",
|
81 |
+
"desembre",
|
82 |
+
],
|
83 |
+
};
|
84 |
+
|
85 |
+
/**
|
86 |
+
* Les abreviatures dels dies de la setmana comencen totes amb la lletra d.
|
87 |
+
* Tot seguit porten la consonant següent a la i, excepte en el cas de dimarts, dimecres i diumenge, en què aquesta consonant és la m i, per tant, hi podria haver confusió.
|
88 |
+
* Per evitar-ho, s'ha substituït la m per una t (en el cas de dimarts), una c (en el cas de dimecres) i una g (en el cas de diumenge), respectivament.
|
89 |
+
*
|
90 |
+
* Seguint la norma general d'ús de les abreviatures, les dels dies de la setmana sempre porten punt final.
|
91 |
+
* Igualment, van amb la primera lletra en majúscula quan la paraula sencera també hi aniria.
|
92 |
+
* En canvi, van amb la primera lletra en minúscula quan la inicial de la paraula sencera també hi aniria.
|
93 |
+
*
|
94 |
+
* Reference: https://aplicacions.llengua.gencat.cat/llc/AppJava/index.html?input_cercar=abreviatures+dies&action=Principal&method=detall_completa&numPagina=1&idHit=8387&database=FITXES_PUB&tipusFont=Fitxes%20de%20l%27Optimot&idFont=8387&titol=abreviatures%20dels%20dies%20de%20la%20setmana&numeroResultat=1&clickLink=detall&tipusCerca=cerca.tot
|
95 |
+
*/
|
96 |
+
const dayValues = {
|
97 |
+
narrow: ["dg.", "dl.", "dt.", "dm.", "dj.", "dv.", "ds."],
|
98 |
+
short: ["dg.", "dl.", "dt.", "dm.", "dj.", "dv.", "ds."],
|
99 |
+
abbreviated: ["dg.", "dl.", "dt.", "dm.", "dj.", "dv.", "ds."],
|
100 |
+
wide: [
|
101 |
+
"diumenge",
|
102 |
+
"dilluns",
|
103 |
+
"dimarts",
|
104 |
+
"dimecres",
|
105 |
+
"dijous",
|
106 |
+
"divendres",
|
107 |
+
"dissabte",
|
108 |
+
],
|
109 |
+
};
|
110 |
+
|
111 |
+
/**
|
112 |
+
* Reference: https://aplicacions.llengua.gencat.cat/llc/AppJava/index.html?action=Principal&method=detall&input_cercar=parts+del+dia&numPagina=1&database=FITXES_PUB&idFont=12801&idHit=12801&tipusFont=Fitxes+de+l%27Optimot&numeroResultat=1&databases_avansada=&categories_avansada=&clickLink=detall&titol=Nom+de+les+parts+del+dia&tematica=&tipusCerca=cerca.fitxes
|
113 |
+
*/
|
114 |
+
const dayPeriodValues = {
|
115 |
+
narrow: {
|
116 |
+
am: "am",
|
117 |
+
pm: "pm",
|
118 |
+
midnight: "mitjanit",
|
119 |
+
noon: "migdia",
|
120 |
+
morning: "matí",
|
121 |
+
afternoon: "tarda",
|
122 |
+
evening: "vespre",
|
123 |
+
night: "nit",
|
124 |
+
},
|
125 |
+
abbreviated: {
|
126 |
+
am: "a.m.",
|
127 |
+
pm: "p.m.",
|
128 |
+
midnight: "mitjanit",
|
129 |
+
noon: "migdia",
|
130 |
+
morning: "matí",
|
131 |
+
afternoon: "tarda",
|
132 |
+
evening: "vespre",
|
133 |
+
night: "nit",
|
134 |
+
},
|
135 |
+
wide: {
|
136 |
+
am: "ante meridiem",
|
137 |
+
pm: "post meridiem",
|
138 |
+
midnight: "mitjanit",
|
139 |
+
noon: "migdia",
|
140 |
+
morning: "matí",
|
141 |
+
afternoon: "tarda",
|
142 |
+
evening: "vespre",
|
143 |
+
night: "nit",
|
144 |
+
},
|
145 |
+
};
|
146 |
+
|
147 |
+
const formattingDayPeriodValues = {
|
148 |
+
narrow: {
|
149 |
+
am: "am",
|
150 |
+
pm: "pm",
|
151 |
+
midnight: "de la mitjanit",
|
152 |
+
noon: "del migdia",
|
153 |
+
morning: "del matí",
|
154 |
+
afternoon: "de la tarda",
|
155 |
+
evening: "del vespre",
|
156 |
+
night: "de la nit",
|
157 |
+
},
|
158 |
+
abbreviated: {
|
159 |
+
am: "AM",
|
160 |
+
pm: "PM",
|
161 |
+
midnight: "de la mitjanit",
|
162 |
+
noon: "del migdia",
|
163 |
+
morning: "del matí",
|
164 |
+
afternoon: "de la tarda",
|
165 |
+
evening: "del vespre",
|
166 |
+
night: "de la nit",
|
167 |
+
},
|
168 |
+
wide: {
|
169 |
+
am: "ante meridiem",
|
170 |
+
pm: "post meridiem",
|
171 |
+
midnight: "de la mitjanit",
|
172 |
+
noon: "del migdia",
|
173 |
+
morning: "del matí",
|
174 |
+
afternoon: "de la tarda",
|
175 |
+
evening: "del vespre",
|
176 |
+
night: "de la nit",
|
177 |
+
},
|
178 |
+
};
|
179 |
+
|
180 |
+
/**
|
181 |
+
* Quan van en singular, els nombres ordinals es representen, en forma d’abreviatura, amb la xifra seguida de l’última lletra del mot desplegat.
|
182 |
+
* És optatiu posar punt després de la lletra.
|
183 |
+
*
|
184 |
+
* Reference: https://aplicacions.llengua.gencat.cat/llc/AppJava/pdf/abrevia.pdf#page=18
|
185 |
+
*/
|
186 |
+
const ordinalNumber = (dirtyNumber, _options) => {
|
187 |
+
const number = Number(dirtyNumber);
|
188 |
+
const rem100 = number % 100;
|
189 |
+
if (rem100 > 20 || rem100 < 10) {
|
190 |
+
switch (rem100 % 10) {
|
191 |
+
case 1:
|
192 |
+
return number + "r";
|
193 |
+
case 2:
|
194 |
+
return number + "n";
|
195 |
+
case 3:
|
196 |
+
return number + "r";
|
197 |
+
case 4:
|
198 |
+
return number + "t";
|
199 |
+
}
|
200 |
+
}
|
201 |
+
return number + "è";
|
202 |
+
};
|
203 |
+
|
204 |
+
const localize = (exports.localize = {
|
205 |
+
ordinalNumber,
|
206 |
+
|
207 |
+
era: (0, _index.buildLocalizeFn)({
|
208 |
+
values: eraValues,
|
209 |
+
defaultWidth: "wide",
|
210 |
+
}),
|
211 |
+
|
212 |
+
quarter: (0, _index.buildLocalizeFn)({
|
213 |
+
values: quarterValues,
|
214 |
+
defaultWidth: "wide",
|
215 |
+
argumentCallback: (quarter) => quarter - 1,
|
216 |
+
}),
|
217 |
+
|
218 |
+
month: (0, _index.buildLocalizeFn)({
|
219 |
+
values: monthValues,
|
220 |
+
defaultWidth: "wide",
|
221 |
+
}),
|
222 |
+
|
223 |
+
day: (0, _index.buildLocalizeFn)({
|
224 |
+
values: dayValues,
|
225 |
+
defaultWidth: "wide",
|
226 |
+
}),
|
227 |
+
|
228 |
+
dayPeriod: (0, _index.buildLocalizeFn)({
|
229 |
+
values: dayPeriodValues,
|
230 |
+
defaultWidth: "wide",
|
231 |
+
formattingValues: formattingDayPeriodValues,
|
232 |
+
defaultFormattingWidth: "wide",
|
233 |
+
}),
|
234 |
+
});
|
workers1/auto3d/node_modules/date-fns/locale/ca/_lib/localize.mjs
ADDED
@@ -0,0 +1,232 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
import { buildLocalizeFn } from "../../_lib/buildLocalizeFn.mjs";
|
2 |
+
|
3 |
+
/**
|
4 |
+
* General information
|
5 |
+
* Reference: https://aplicacions.llengua.gencat.cat
|
6 |
+
* Reference: https://www.uoc.edu/portal/ca/servei-linguistic/convencions/abreviacions/simbols/simbols-habituals.html
|
7 |
+
*/
|
8 |
+
|
9 |
+
/**
|
10 |
+
* Abans de Crist: https://aplicacions.llengua.gencat.cat/llc/AppJava/index.html?input_cercar=abans+de+crist&action=Principal&method=detall_completa&numPagina=1&idHit=6876&database=FITXES_PUB&tipusFont=Fitxes%20de%20l%27Optimot&idFont=6876&titol=abans%20de%20Crist%20(abreviatura)%20/%20abans%20de%20Crist%20(sigla)&numeroResultat=1&clickLink=detall&tipusCerca=cerca.fitxes
|
11 |
+
* Desprest de Crist: https://aplicacions.llengua.gencat.cat/llc/AppJava/index.html?input_cercar=despr%E9s+de+crist&action=Principal&method=detall_completa&numPagina=1&idHit=6879&database=FITXES_PUB&tipusFont=Fitxes%20de%20l%27Optimot&idFont=6879&titol=despr%E9s%20de%20Crist%20(sigla)%20/%20despr%E9s%20de%20Crist%20(abreviatura)&numeroResultat=1&clickLink=detall&tipusCerca=cerca.fitxes
|
12 |
+
*/
|
13 |
+
const eraValues = {
|
14 |
+
narrow: ["aC", "dC"],
|
15 |
+
abbreviated: ["a. de C.", "d. de C."],
|
16 |
+
wide: ["abans de Crist", "després de Crist"],
|
17 |
+
};
|
18 |
+
|
19 |
+
const quarterValues = {
|
20 |
+
narrow: ["1", "2", "3", "4"],
|
21 |
+
abbreviated: ["T1", "T2", "T3", "T4"],
|
22 |
+
wide: ["1r trimestre", "2n trimestre", "3r trimestre", "4t trimestre"],
|
23 |
+
};
|
24 |
+
|
25 |
+
/**
|
26 |
+
* Dins d'un text convé fer servir la forma sencera dels mesos, ja que sempre és més clar el mot sencer que l'abreviatura, encara que aquesta sigui força coneguda.
|
27 |
+
* Cal reservar, doncs, les abreviatures per a les llistes o classificacions, els gràfics, les taules o quadres estadístics, els textos publicitaris, etc.
|
28 |
+
*
|
29 |
+
* Reference: https://aplicacions.llengua.gencat.cat/llc/AppJava/index.html?input_cercar=abreviacions+mesos&action=Principal&method=detall_completa&numPagina=1&idHit=8402&database=FITXES_PUB&tipusFont=Fitxes%20de%20l%27Optimot&idFont=8402&titol=abreviatures%20dels%20mesos%20de%20l%27any&numeroResultat=5&clickLink=detall&tipusCerca=cerca.fitxes
|
30 |
+
*/
|
31 |
+
const monthValues = {
|
32 |
+
narrow: [
|
33 |
+
"GN",
|
34 |
+
"FB",
|
35 |
+
"MÇ",
|
36 |
+
"AB",
|
37 |
+
"MG",
|
38 |
+
"JN",
|
39 |
+
"JL",
|
40 |
+
"AG",
|
41 |
+
"ST",
|
42 |
+
"OC",
|
43 |
+
"NV",
|
44 |
+
"DS",
|
45 |
+
],
|
46 |
+
|
47 |
+
/**
|
48 |
+
* Les abreviatures dels mesos de l'any es formen seguint una de les normes generals de formació d'abreviatures.
|
49 |
+
* S'escriu la primera síl·laba i les consonants de la síl·laba següent anteriors a la primera vocal.
|
50 |
+
* Els mesos de març, maig i juny no s'abreugen perquè són paraules d'una sola síl·laba.
|
51 |
+
*/
|
52 |
+
abbreviated: [
|
53 |
+
"gen.",
|
54 |
+
"febr.",
|
55 |
+
"març",
|
56 |
+
"abr.",
|
57 |
+
"maig",
|
58 |
+
"juny",
|
59 |
+
"jul.",
|
60 |
+
"ag.",
|
61 |
+
"set.",
|
62 |
+
"oct.",
|
63 |
+
"nov.",
|
64 |
+
"des.",
|
65 |
+
],
|
66 |
+
|
67 |
+
wide: [
|
68 |
+
"gener",
|
69 |
+
"febrer",
|
70 |
+
"març",
|
71 |
+
"abril",
|
72 |
+
"maig",
|
73 |
+
"juny",
|
74 |
+
"juliol",
|
75 |
+
"agost",
|
76 |
+
"setembre",
|
77 |
+
"octubre",
|
78 |
+
"novembre",
|
79 |
+
"desembre",
|
80 |
+
],
|
81 |
+
};
|
82 |
+
|
83 |
+
/**
|
84 |
+
* Les abreviatures dels dies de la setmana comencen totes amb la lletra d.
|
85 |
+
* Tot seguit porten la consonant següent a la i, excepte en el cas de dimarts, dimecres i diumenge, en què aquesta consonant és la m i, per tant, hi podria haver confusió.
|
86 |
+
* Per evitar-ho, s'ha substituït la m per una t (en el cas de dimarts), una c (en el cas de dimecres) i una g (en el cas de diumenge), respectivament.
|
87 |
+
*
|
88 |
+
* Seguint la norma general d'ús de les abreviatures, les dels dies de la setmana sempre porten punt final.
|
89 |
+
* Igualment, van amb la primera lletra en majúscula quan la paraula sencera també hi aniria.
|
90 |
+
* En canvi, van amb la primera lletra en minúscula quan la inicial de la paraula sencera també hi aniria.
|
91 |
+
*
|
92 |
+
* Reference: https://aplicacions.llengua.gencat.cat/llc/AppJava/index.html?input_cercar=abreviatures+dies&action=Principal&method=detall_completa&numPagina=1&idHit=8387&database=FITXES_PUB&tipusFont=Fitxes%20de%20l%27Optimot&idFont=8387&titol=abreviatures%20dels%20dies%20de%20la%20setmana&numeroResultat=1&clickLink=detall&tipusCerca=cerca.tot
|
93 |
+
*/
|
94 |
+
const dayValues = {
|
95 |
+
narrow: ["dg.", "dl.", "dt.", "dm.", "dj.", "dv.", "ds."],
|
96 |
+
short: ["dg.", "dl.", "dt.", "dm.", "dj.", "dv.", "ds."],
|
97 |
+
abbreviated: ["dg.", "dl.", "dt.", "dm.", "dj.", "dv.", "ds."],
|
98 |
+
wide: [
|
99 |
+
"diumenge",
|
100 |
+
"dilluns",
|
101 |
+
"dimarts",
|
102 |
+
"dimecres",
|
103 |
+
"dijous",
|
104 |
+
"divendres",
|
105 |
+
"dissabte",
|
106 |
+
],
|
107 |
+
};
|
108 |
+
|
109 |
+
/**
|
110 |
+
* Reference: https://aplicacions.llengua.gencat.cat/llc/AppJava/index.html?action=Principal&method=detall&input_cercar=parts+del+dia&numPagina=1&database=FITXES_PUB&idFont=12801&idHit=12801&tipusFont=Fitxes+de+l%27Optimot&numeroResultat=1&databases_avansada=&categories_avansada=&clickLink=detall&titol=Nom+de+les+parts+del+dia&tematica=&tipusCerca=cerca.fitxes
|
111 |
+
*/
|
112 |
+
const dayPeriodValues = {
|
113 |
+
narrow: {
|
114 |
+
am: "am",
|
115 |
+
pm: "pm",
|
116 |
+
midnight: "mitjanit",
|
117 |
+
noon: "migdia",
|
118 |
+
morning: "matí",
|
119 |
+
afternoon: "tarda",
|
120 |
+
evening: "vespre",
|
121 |
+
night: "nit",
|
122 |
+
},
|
123 |
+
abbreviated: {
|
124 |
+
am: "a.m.",
|
125 |
+
pm: "p.m.",
|
126 |
+
midnight: "mitjanit",
|
127 |
+
noon: "migdia",
|
128 |
+
morning: "matí",
|
129 |
+
afternoon: "tarda",
|
130 |
+
evening: "vespre",
|
131 |
+
night: "nit",
|
132 |
+
},
|
133 |
+
wide: {
|
134 |
+
am: "ante meridiem",
|
135 |
+
pm: "post meridiem",
|
136 |
+
midnight: "mitjanit",
|
137 |
+
noon: "migdia",
|
138 |
+
morning: "matí",
|
139 |
+
afternoon: "tarda",
|
140 |
+
evening: "vespre",
|
141 |
+
night: "nit",
|
142 |
+
},
|
143 |
+
};
|
144 |
+
|
145 |
+
const formattingDayPeriodValues = {
|
146 |
+
narrow: {
|
147 |
+
am: "am",
|
148 |
+
pm: "pm",
|
149 |
+
midnight: "de la mitjanit",
|
150 |
+
noon: "del migdia",
|
151 |
+
morning: "del matí",
|
152 |
+
afternoon: "de la tarda",
|
153 |
+
evening: "del vespre",
|
154 |
+
night: "de la nit",
|
155 |
+
},
|
156 |
+
abbreviated: {
|
157 |
+
am: "AM",
|
158 |
+
pm: "PM",
|
159 |
+
midnight: "de la mitjanit",
|
160 |
+
noon: "del migdia",
|
161 |
+
morning: "del matí",
|
162 |
+
afternoon: "de la tarda",
|
163 |
+
evening: "del vespre",
|
164 |
+
night: "de la nit",
|
165 |
+
},
|
166 |
+
wide: {
|
167 |
+
am: "ante meridiem",
|
168 |
+
pm: "post meridiem",
|
169 |
+
midnight: "de la mitjanit",
|
170 |
+
noon: "del migdia",
|
171 |
+
morning: "del matí",
|
172 |
+
afternoon: "de la tarda",
|
173 |
+
evening: "del vespre",
|
174 |
+
night: "de la nit",
|
175 |
+
},
|
176 |
+
};
|
177 |
+
|
178 |
+
/**
|
179 |
+
* Quan van en singular, els nombres ordinals es representen, en forma d’abreviatura, amb la xifra seguida de l’última lletra del mot desplegat.
|
180 |
+
* És optatiu posar punt després de la lletra.
|
181 |
+
*
|
182 |
+
* Reference: https://aplicacions.llengua.gencat.cat/llc/AppJava/pdf/abrevia.pdf#page=18
|
183 |
+
*/
|
184 |
+
const ordinalNumber = (dirtyNumber, _options) => {
|
185 |
+
const number = Number(dirtyNumber);
|
186 |
+
const rem100 = number % 100;
|
187 |
+
if (rem100 > 20 || rem100 < 10) {
|
188 |
+
switch (rem100 % 10) {
|
189 |
+
case 1:
|
190 |
+
return number + "r";
|
191 |
+
case 2:
|
192 |
+
return number + "n";
|
193 |
+
case 3:
|
194 |
+
return number + "r";
|
195 |
+
case 4:
|
196 |
+
return number + "t";
|
197 |
+
}
|
198 |
+
}
|
199 |
+
return number + "è";
|
200 |
+
};
|
201 |
+
|
202 |
+
export const localize = {
|
203 |
+
ordinalNumber,
|
204 |
+
|
205 |
+
era: buildLocalizeFn({
|
206 |
+
values: eraValues,
|
207 |
+
defaultWidth: "wide",
|
208 |
+
}),
|
209 |
+
|
210 |
+
quarter: buildLocalizeFn({
|
211 |
+
values: quarterValues,
|
212 |
+
defaultWidth: "wide",
|
213 |
+
argumentCallback: (quarter) => quarter - 1,
|
214 |
+
}),
|
215 |
+
|
216 |
+
month: buildLocalizeFn({
|
217 |
+
values: monthValues,
|
218 |
+
defaultWidth: "wide",
|
219 |
+
}),
|
220 |
+
|
221 |
+
day: buildLocalizeFn({
|
222 |
+
values: dayValues,
|
223 |
+
defaultWidth: "wide",
|
224 |
+
}),
|
225 |
+
|
226 |
+
dayPeriod: buildLocalizeFn({
|
227 |
+
values: dayPeriodValues,
|
228 |
+
defaultWidth: "wide",
|
229 |
+
formattingValues: formattingDayPeriodValues,
|
230 |
+
defaultFormattingWidth: "wide",
|
231 |
+
}),
|
232 |
+
};
|
workers1/auto3d/node_modules/date-fns/locale/ca/_lib/match.d.mts
ADDED
@@ -0,0 +1,2 @@
|
|
|
|
|
|
|
1 |
+
import type { Match } from "../../types.js";
|
2 |
+
export declare const match: Match;
|
workers1/auto3d/node_modules/date-fns/locale/ca/_lib/match.d.ts
ADDED
@@ -0,0 +1,2 @@
|
|
|
|
|
|
|
1 |
+
import type { Match } from "../../types.js";
|
2 |
+
export declare const match: Match;
|
workers1/auto3d/node_modules/date-fns/locale/ca/_lib/match.js
ADDED
@@ -0,0 +1,166 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
"use strict";
|
2 |
+
exports.match = void 0;
|
3 |
+
|
4 |
+
var _index = require("../../_lib/buildMatchFn.js");
|
5 |
+
var _index2 = require("../../_lib/buildMatchPatternFn.js");
|
6 |
+
|
7 |
+
const matchOrdinalNumberPattern = /^(\d+)(è|r|n|r|t)?/i;
|
8 |
+
const parseOrdinalNumberPattern = /\d+/i;
|
9 |
+
|
10 |
+
const matchEraPatterns = {
|
11 |
+
narrow: /^(aC|dC)/i,
|
12 |
+
abbreviated: /^(a. de C.|d. de C.)/i,
|
13 |
+
wide: /^(abans de Crist|despr[eé]s de Crist)/i,
|
14 |
+
};
|
15 |
+
const parseEraPatterns = {
|
16 |
+
narrow: [/^aC/i, /^dC/i],
|
17 |
+
abbreviated: [/^(a. de C.)/i, /^(d. de C.)/i],
|
18 |
+
wide: [/^(abans de Crist)/i, /^(despr[eé]s de Crist)/i],
|
19 |
+
};
|
20 |
+
|
21 |
+
const matchQuarterPatterns = {
|
22 |
+
narrow: /^[1234]/i,
|
23 |
+
abbreviated: /^T[1234]/i,
|
24 |
+
wide: /^[1234](è|r|n|r|t)? trimestre/i,
|
25 |
+
};
|
26 |
+
const parseQuarterPatterns = {
|
27 |
+
any: [/1/i, /2/i, /3/i, /4/i],
|
28 |
+
};
|
29 |
+
|
30 |
+
const matchMonthPatterns = {
|
31 |
+
narrow: /^(GN|FB|MÇ|AB|MG|JN|JL|AG|ST|OC|NV|DS)/i,
|
32 |
+
abbreviated:
|
33 |
+
/^(gen.|febr.|març|abr.|maig|juny|jul.|ag.|set.|oct.|nov.|des.)/i,
|
34 |
+
wide: /^(gener|febrer|març|abril|maig|juny|juliol|agost|setembre|octubre|novembre|desembre)/i,
|
35 |
+
};
|
36 |
+
const parseMonthPatterns = {
|
37 |
+
narrow: [
|
38 |
+
/^GN/i,
|
39 |
+
/^FB/i,
|
40 |
+
/^MÇ/i,
|
41 |
+
/^AB/i,
|
42 |
+
/^MG/i,
|
43 |
+
/^JN/i,
|
44 |
+
/^JL/i,
|
45 |
+
/^AG/i,
|
46 |
+
/^ST/i,
|
47 |
+
/^OC/i,
|
48 |
+
/^NV/i,
|
49 |
+
/^DS/i,
|
50 |
+
],
|
51 |
+
|
52 |
+
abbreviated: [
|
53 |
+
/^gen./i,
|
54 |
+
/^febr./i,
|
55 |
+
/^març/i,
|
56 |
+
/^abr./i,
|
57 |
+
/^maig/i,
|
58 |
+
/^juny/i,
|
59 |
+
/^jul./i,
|
60 |
+
/^ag./i,
|
61 |
+
/^set./i,
|
62 |
+
/^oct./i,
|
63 |
+
/^nov./i,
|
64 |
+
/^des./i,
|
65 |
+
],
|
66 |
+
|
67 |
+
wide: [
|
68 |
+
/^gener/i,
|
69 |
+
/^febrer/i,
|
70 |
+
/^març/i,
|
71 |
+
/^abril/i,
|
72 |
+
/^maig/i,
|
73 |
+
/^juny/i,
|
74 |
+
/^juliol/i,
|
75 |
+
/^agost/i,
|
76 |
+
/^setembre/i,
|
77 |
+
/^octubre/i,
|
78 |
+
/^novembre/i,
|
79 |
+
/^desembre/i,
|
80 |
+
],
|
81 |
+
};
|
82 |
+
|
83 |
+
const matchDayPatterns = {
|
84 |
+
narrow: /^(dg\.|dl\.|dt\.|dm\.|dj\.|dv\.|ds\.)/i,
|
85 |
+
short: /^(dg\.|dl\.|dt\.|dm\.|dj\.|dv\.|ds\.)/i,
|
86 |
+
abbreviated: /^(dg\.|dl\.|dt\.|dm\.|dj\.|dv\.|ds\.)/i,
|
87 |
+
wide: /^(diumenge|dilluns|dimarts|dimecres|dijous|divendres|dissabte)/i,
|
88 |
+
};
|
89 |
+
const parseDayPatterns = {
|
90 |
+
narrow: [/^dg./i, /^dl./i, /^dt./i, /^dm./i, /^dj./i, /^dv./i, /^ds./i],
|
91 |
+
|
92 |
+
abbreviated: [/^dg./i, /^dl./i, /^dt./i, /^dm./i, /^dj./i, /^dv./i, /^ds./i],
|
93 |
+
|
94 |
+
wide: [
|
95 |
+
/^diumenge/i,
|
96 |
+
/^dilluns/i,
|
97 |
+
/^dimarts/i,
|
98 |
+
/^dimecres/i,
|
99 |
+
/^dijous/i,
|
100 |
+
/^divendres/i,
|
101 |
+
/^disssabte/i,
|
102 |
+
],
|
103 |
+
};
|
104 |
+
|
105 |
+
const matchDayPeriodPatterns = {
|
106 |
+
narrow: /^(a|p|mn|md|(del|de la) (matí|tarda|vespre|nit))/i,
|
107 |
+
abbreviated:
|
108 |
+
/^([ap]\.?\s?m\.?|mitjanit|migdia|(del|de la) (matí|tarda|vespre|nit))/i,
|
109 |
+
wide: /^(ante meridiem|post meridiem|mitjanit|migdia|(del|de la) (matí|tarda|vespre|nit))/i,
|
110 |
+
};
|
111 |
+
const parseDayPeriodPatterns = {
|
112 |
+
any: {
|
113 |
+
am: /^a/i,
|
114 |
+
pm: /^p/i,
|
115 |
+
midnight: /^mitjanit/i,
|
116 |
+
noon: /^migdia/i,
|
117 |
+
morning: /matí/i,
|
118 |
+
afternoon: /tarda/i,
|
119 |
+
evening: /vespre/i,
|
120 |
+
night: /nit/i,
|
121 |
+
},
|
122 |
+
};
|
123 |
+
|
124 |
+
const match = (exports.match = {
|
125 |
+
ordinalNumber: (0, _index2.buildMatchPatternFn)({
|
126 |
+
matchPattern: matchOrdinalNumberPattern,
|
127 |
+
parsePattern: parseOrdinalNumberPattern,
|
128 |
+
valueCallback: (value) => parseInt(value, 10),
|
129 |
+
}),
|
130 |
+
|
131 |
+
era: (0, _index.buildMatchFn)({
|
132 |
+
matchPatterns: matchEraPatterns,
|
133 |
+
defaultMatchWidth: "wide",
|
134 |
+
parsePatterns: parseEraPatterns,
|
135 |
+
defaultParseWidth: "wide",
|
136 |
+
}),
|
137 |
+
|
138 |
+
quarter: (0, _index.buildMatchFn)({
|
139 |
+
matchPatterns: matchQuarterPatterns,
|
140 |
+
defaultMatchWidth: "wide",
|
141 |
+
parsePatterns: parseQuarterPatterns,
|
142 |
+
defaultParseWidth: "any",
|
143 |
+
valueCallback: (index) => index + 1,
|
144 |
+
}),
|
145 |
+
|
146 |
+
month: (0, _index.buildMatchFn)({
|
147 |
+
matchPatterns: matchMonthPatterns,
|
148 |
+
defaultMatchWidth: "wide",
|
149 |
+
parsePatterns: parseMonthPatterns,
|
150 |
+
defaultParseWidth: "wide",
|
151 |
+
}),
|
152 |
+
|
153 |
+
day: (0, _index.buildMatchFn)({
|
154 |
+
matchPatterns: matchDayPatterns,
|
155 |
+
defaultMatchWidth: "wide",
|
156 |
+
parsePatterns: parseDayPatterns,
|
157 |
+
defaultParseWidth: "wide",
|
158 |
+
}),
|
159 |
+
|
160 |
+
dayPeriod: (0, _index.buildMatchFn)({
|
161 |
+
matchPatterns: matchDayPeriodPatterns,
|
162 |
+
defaultMatchWidth: "wide",
|
163 |
+
parsePatterns: parseDayPeriodPatterns,
|
164 |
+
defaultParseWidth: "any",
|
165 |
+
}),
|
166 |
+
});
|
workers1/auto3d/node_modules/date-fns/locale/ca/_lib/match.mjs
ADDED
@@ -0,0 +1,163 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
import { buildMatchFn } from "../../_lib/buildMatchFn.mjs";
|
2 |
+
import { buildMatchPatternFn } from "../../_lib/buildMatchPatternFn.mjs";
|
3 |
+
|
4 |
+
const matchOrdinalNumberPattern = /^(\d+)(è|r|n|r|t)?/i;
|
5 |
+
const parseOrdinalNumberPattern = /\d+/i;
|
6 |
+
|
7 |
+
const matchEraPatterns = {
|
8 |
+
narrow: /^(aC|dC)/i,
|
9 |
+
abbreviated: /^(a. de C.|d. de C.)/i,
|
10 |
+
wide: /^(abans de Crist|despr[eé]s de Crist)/i,
|
11 |
+
};
|
12 |
+
const parseEraPatterns = {
|
13 |
+
narrow: [/^aC/i, /^dC/i],
|
14 |
+
abbreviated: [/^(a. de C.)/i, /^(d. de C.)/i],
|
15 |
+
wide: [/^(abans de Crist)/i, /^(despr[eé]s de Crist)/i],
|
16 |
+
};
|
17 |
+
|
18 |
+
const matchQuarterPatterns = {
|
19 |
+
narrow: /^[1234]/i,
|
20 |
+
abbreviated: /^T[1234]/i,
|
21 |
+
wide: /^[1234](è|r|n|r|t)? trimestre/i,
|
22 |
+
};
|
23 |
+
const parseQuarterPatterns = {
|
24 |
+
any: [/1/i, /2/i, /3/i, /4/i],
|
25 |
+
};
|
26 |
+
|
27 |
+
const matchMonthPatterns = {
|
28 |
+
narrow: /^(GN|FB|MÇ|AB|MG|JN|JL|AG|ST|OC|NV|DS)/i,
|
29 |
+
abbreviated:
|
30 |
+
/^(gen.|febr.|març|abr.|maig|juny|jul.|ag.|set.|oct.|nov.|des.)/i,
|
31 |
+
wide: /^(gener|febrer|març|abril|maig|juny|juliol|agost|setembre|octubre|novembre|desembre)/i,
|
32 |
+
};
|
33 |
+
const parseMonthPatterns = {
|
34 |
+
narrow: [
|
35 |
+
/^GN/i,
|
36 |
+
/^FB/i,
|
37 |
+
/^MÇ/i,
|
38 |
+
/^AB/i,
|
39 |
+
/^MG/i,
|
40 |
+
/^JN/i,
|
41 |
+
/^JL/i,
|
42 |
+
/^AG/i,
|
43 |
+
/^ST/i,
|
44 |
+
/^OC/i,
|
45 |
+
/^NV/i,
|
46 |
+
/^DS/i,
|
47 |
+
],
|
48 |
+
|
49 |
+
abbreviated: [
|
50 |
+
/^gen./i,
|
51 |
+
/^febr./i,
|
52 |
+
/^març/i,
|
53 |
+
/^abr./i,
|
54 |
+
/^maig/i,
|
55 |
+
/^juny/i,
|
56 |
+
/^jul./i,
|
57 |
+
/^ag./i,
|
58 |
+
/^set./i,
|
59 |
+
/^oct./i,
|
60 |
+
/^nov./i,
|
61 |
+
/^des./i,
|
62 |
+
],
|
63 |
+
|
64 |
+
wide: [
|
65 |
+
/^gener/i,
|
66 |
+
/^febrer/i,
|
67 |
+
/^març/i,
|
68 |
+
/^abril/i,
|
69 |
+
/^maig/i,
|
70 |
+
/^juny/i,
|
71 |
+
/^juliol/i,
|
72 |
+
/^agost/i,
|
73 |
+
/^setembre/i,
|
74 |
+
/^octubre/i,
|
75 |
+
/^novembre/i,
|
76 |
+
/^desembre/i,
|
77 |
+
],
|
78 |
+
};
|
79 |
+
|
80 |
+
const matchDayPatterns = {
|
81 |
+
narrow: /^(dg\.|dl\.|dt\.|dm\.|dj\.|dv\.|ds\.)/i,
|
82 |
+
short: /^(dg\.|dl\.|dt\.|dm\.|dj\.|dv\.|ds\.)/i,
|
83 |
+
abbreviated: /^(dg\.|dl\.|dt\.|dm\.|dj\.|dv\.|ds\.)/i,
|
84 |
+
wide: /^(diumenge|dilluns|dimarts|dimecres|dijous|divendres|dissabte)/i,
|
85 |
+
};
|
86 |
+
const parseDayPatterns = {
|
87 |
+
narrow: [/^dg./i, /^dl./i, /^dt./i, /^dm./i, /^dj./i, /^dv./i, /^ds./i],
|
88 |
+
|
89 |
+
abbreviated: [/^dg./i, /^dl./i, /^dt./i, /^dm./i, /^dj./i, /^dv./i, /^ds./i],
|
90 |
+
|
91 |
+
wide: [
|
92 |
+
/^diumenge/i,
|
93 |
+
/^dilluns/i,
|
94 |
+
/^dimarts/i,
|
95 |
+
/^dimecres/i,
|
96 |
+
/^dijous/i,
|
97 |
+
/^divendres/i,
|
98 |
+
/^disssabte/i,
|
99 |
+
],
|
100 |
+
};
|
101 |
+
|
102 |
+
const matchDayPeriodPatterns = {
|
103 |
+
narrow: /^(a|p|mn|md|(del|de la) (matí|tarda|vespre|nit))/i,
|
104 |
+
abbreviated:
|
105 |
+
/^([ap]\.?\s?m\.?|mitjanit|migdia|(del|de la) (matí|tarda|vespre|nit))/i,
|
106 |
+
wide: /^(ante meridiem|post meridiem|mitjanit|migdia|(del|de la) (matí|tarda|vespre|nit))/i,
|
107 |
+
};
|
108 |
+
const parseDayPeriodPatterns = {
|
109 |
+
any: {
|
110 |
+
am: /^a/i,
|
111 |
+
pm: /^p/i,
|
112 |
+
midnight: /^mitjanit/i,
|
113 |
+
noon: /^migdia/i,
|
114 |
+
morning: /matí/i,
|
115 |
+
afternoon: /tarda/i,
|
116 |
+
evening: /vespre/i,
|
117 |
+
night: /nit/i,
|
118 |
+
},
|
119 |
+
};
|
120 |
+
|
121 |
+
export const match = {
|
122 |
+
ordinalNumber: buildMatchPatternFn({
|
123 |
+
matchPattern: matchOrdinalNumberPattern,
|
124 |
+
parsePattern: parseOrdinalNumberPattern,
|
125 |
+
valueCallback: (value) => parseInt(value, 10),
|
126 |
+
}),
|
127 |
+
|
128 |
+
era: buildMatchFn({
|
129 |
+
matchPatterns: matchEraPatterns,
|
130 |
+
defaultMatchWidth: "wide",
|
131 |
+
parsePatterns: parseEraPatterns,
|
132 |
+
defaultParseWidth: "wide",
|
133 |
+
}),
|
134 |
+
|
135 |
+
quarter: buildMatchFn({
|
136 |
+
matchPatterns: matchQuarterPatterns,
|
137 |
+
defaultMatchWidth: "wide",
|
138 |
+
parsePatterns: parseQuarterPatterns,
|
139 |
+
defaultParseWidth: "any",
|
140 |
+
valueCallback: (index) => index + 1,
|
141 |
+
}),
|
142 |
+
|
143 |
+
month: buildMatchFn({
|
144 |
+
matchPatterns: matchMonthPatterns,
|
145 |
+
defaultMatchWidth: "wide",
|
146 |
+
parsePatterns: parseMonthPatterns,
|
147 |
+
defaultParseWidth: "wide",
|
148 |
+
}),
|
149 |
+
|
150 |
+
day: buildMatchFn({
|
151 |
+
matchPatterns: matchDayPatterns,
|
152 |
+
defaultMatchWidth: "wide",
|
153 |
+
parsePatterns: parseDayPatterns,
|
154 |
+
defaultParseWidth: "wide",
|
155 |
+
}),
|
156 |
+
|
157 |
+
dayPeriod: buildMatchFn({
|
158 |
+
matchPatterns: matchDayPeriodPatterns,
|
159 |
+
defaultMatchWidth: "wide",
|
160 |
+
parsePatterns: parseDayPeriodPatterns,
|
161 |
+
defaultParseWidth: "any",
|
162 |
+
}),
|
163 |
+
};
|
workers1/auto3d/node_modules/date-fns/locale/ca/cdn.js
ADDED
@@ -0,0 +1,588 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
function _typeof(o) {"@babel/helpers - typeof";return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) {return typeof o;} : function (o) {return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o;}, _typeof(o);}function ownKeys(e, r) {var t = Object.keys(e);if (Object.getOwnPropertySymbols) {var o = Object.getOwnPropertySymbols(e);r && (o = o.filter(function (r) {return Object.getOwnPropertyDescriptor(e, r).enumerable;})), t.push.apply(t, o);}return t;}function _objectSpread(e) {for (var r = 1; r < arguments.length; r++) {var t = null != arguments[r] ? arguments[r] : {};r % 2 ? ownKeys(Object(t), !0).forEach(function (r) {_defineProperty(e, r, t[r]);}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) {Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r));});}return e;}function _defineProperty(obj, key, value) {key = _toPropertyKey(key);if (key in obj) {Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true });} else {obj[key] = value;}return obj;}function _toPropertyKey(t) {var i = _toPrimitive(t, "string");return "symbol" == _typeof(i) ? i : String(i);}function _toPrimitive(t, r) {if ("object" != _typeof(t) || !t) return t;var e = t[Symbol.toPrimitive];if (void 0 !== e) {var i = e.call(t, r || "default");if ("object" != _typeof(i)) return i;throw new TypeError("@@toPrimitive must return a primitive value.");}return ("string" === r ? String : Number)(t);}(function (_window$dateFns) {var __defProp = Object.defineProperty;
|
2 |
+
var __export = function __export(target, all) {
|
3 |
+
for (var name in all)
|
4 |
+
__defProp(target, name, {
|
5 |
+
get: all[name],
|
6 |
+
enumerable: true,
|
7 |
+
configurable: true,
|
8 |
+
set: function set(newValue) {return all[name] = function () {return newValue;};}
|
9 |
+
});
|
10 |
+
};
|
11 |
+
|
12 |
+
// lib/locale/ca/_lib/formatDistance.mjs
|
13 |
+
var formatDistanceLocale = {
|
14 |
+
lessThanXSeconds: {
|
15 |
+
one: "menys d'un segon",
|
16 |
+
eleven: "menys d'onze segons",
|
17 |
+
other: "menys de {{count}} segons"
|
18 |
+
},
|
19 |
+
xSeconds: {
|
20 |
+
one: "1 segon",
|
21 |
+
other: "{{count}} segons"
|
22 |
+
},
|
23 |
+
halfAMinute: "mig minut",
|
24 |
+
lessThanXMinutes: {
|
25 |
+
one: "menys d'un minut",
|
26 |
+
eleven: "menys d'onze minuts",
|
27 |
+
other: "menys de {{count}} minuts"
|
28 |
+
},
|
29 |
+
xMinutes: {
|
30 |
+
one: "1 minut",
|
31 |
+
other: "{{count}} minuts"
|
32 |
+
},
|
33 |
+
aboutXHours: {
|
34 |
+
one: "aproximadament una hora",
|
35 |
+
other: "aproximadament {{count}} hores"
|
36 |
+
},
|
37 |
+
xHours: {
|
38 |
+
one: "1 hora",
|
39 |
+
other: "{{count}} hores"
|
40 |
+
},
|
41 |
+
xDays: {
|
42 |
+
one: "1 dia",
|
43 |
+
other: "{{count}} dies"
|
44 |
+
},
|
45 |
+
aboutXWeeks: {
|
46 |
+
one: "aproximadament una setmana",
|
47 |
+
other: "aproximadament {{count}} setmanes"
|
48 |
+
},
|
49 |
+
xWeeks: {
|
50 |
+
one: "1 setmana",
|
51 |
+
other: "{{count}} setmanes"
|
52 |
+
},
|
53 |
+
aboutXMonths: {
|
54 |
+
one: "aproximadament un mes",
|
55 |
+
other: "aproximadament {{count}} mesos"
|
56 |
+
},
|
57 |
+
xMonths: {
|
58 |
+
one: "1 mes",
|
59 |
+
other: "{{count}} mesos"
|
60 |
+
},
|
61 |
+
aboutXYears: {
|
62 |
+
one: "aproximadament un any",
|
63 |
+
other: "aproximadament {{count}} anys"
|
64 |
+
},
|
65 |
+
xYears: {
|
66 |
+
one: "1 any",
|
67 |
+
other: "{{count}} anys"
|
68 |
+
},
|
69 |
+
overXYears: {
|
70 |
+
one: "m\xE9s d'un any",
|
71 |
+
eleven: "m\xE9s d'onze anys",
|
72 |
+
other: "m\xE9s de {{count}} anys"
|
73 |
+
},
|
74 |
+
almostXYears: {
|
75 |
+
one: "gaireb\xE9 un any",
|
76 |
+
other: "gaireb\xE9 {{count}} anys"
|
77 |
+
}
|
78 |
+
};
|
79 |
+
var formatDistance = function formatDistance(token, count, options) {
|
80 |
+
var result;
|
81 |
+
var tokenValue = formatDistanceLocale[token];
|
82 |
+
if (typeof tokenValue === "string") {
|
83 |
+
result = tokenValue;
|
84 |
+
} else if (count === 1) {
|
85 |
+
result = tokenValue.one;
|
86 |
+
} else if (count === 11 && tokenValue.eleven) {
|
87 |
+
result = tokenValue.eleven;
|
88 |
+
} else {
|
89 |
+
result = tokenValue.other.replace("{{count}}", String(count));
|
90 |
+
}
|
91 |
+
if (options !== null && options !== void 0 && options.addSuffix) {
|
92 |
+
if (options.comparison && options.comparison > 0) {
|
93 |
+
return "en " + result;
|
94 |
+
} else {
|
95 |
+
return "fa " + result;
|
96 |
+
}
|
97 |
+
}
|
98 |
+
return result;
|
99 |
+
};
|
100 |
+
|
101 |
+
// lib/locale/_lib/buildFormatLongFn.mjs
|
102 |
+
function buildFormatLongFn(args) {
|
103 |
+
return function () {var options = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
|
104 |
+
var width = options.width ? String(options.width) : args.defaultWidth;
|
105 |
+
var format = args.formats[width] || args.formats[args.defaultWidth];
|
106 |
+
return format;
|
107 |
+
};
|
108 |
+
}
|
109 |
+
|
110 |
+
// lib/locale/ca/_lib/formatLong.mjs
|
111 |
+
var dateFormats = {
|
112 |
+
full: "EEEE, d 'de' MMMM y",
|
113 |
+
long: "d 'de' MMMM y",
|
114 |
+
medium: "d MMM y",
|
115 |
+
short: "dd/MM/y"
|
116 |
+
};
|
117 |
+
var timeFormats = {
|
118 |
+
full: "HH:mm:ss zzzz",
|
119 |
+
long: "HH:mm:ss z",
|
120 |
+
medium: "HH:mm:ss",
|
121 |
+
short: "HH:mm"
|
122 |
+
};
|
123 |
+
var dateTimeFormats = {
|
124 |
+
full: "{{date}} 'a les' {{time}}",
|
125 |
+
long: "{{date}} 'a les' {{time}}",
|
126 |
+
medium: "{{date}}, {{time}}",
|
127 |
+
short: "{{date}}, {{time}}"
|
128 |
+
};
|
129 |
+
var formatLong = {
|
130 |
+
date: buildFormatLongFn({
|
131 |
+
formats: dateFormats,
|
132 |
+
defaultWidth: "full"
|
133 |
+
}),
|
134 |
+
time: buildFormatLongFn({
|
135 |
+
formats: timeFormats,
|
136 |
+
defaultWidth: "full"
|
137 |
+
}),
|
138 |
+
dateTime: buildFormatLongFn({
|
139 |
+
formats: dateTimeFormats,
|
140 |
+
defaultWidth: "full"
|
141 |
+
})
|
142 |
+
};
|
143 |
+
|
144 |
+
// lib/locale/ca/_lib/formatRelative.mjs
|
145 |
+
var formatRelativeLocale = {
|
146 |
+
lastWeek: "'el' eeee 'passat a la' LT",
|
147 |
+
yesterday: "'ahir a la' p",
|
148 |
+
today: "'avui a la' p",
|
149 |
+
tomorrow: "'dem\xE0 a la' p",
|
150 |
+
nextWeek: "eeee 'a la' p",
|
151 |
+
other: "P"
|
152 |
+
};
|
153 |
+
var formatRelativeLocalePlural = {
|
154 |
+
lastWeek: "'el' eeee 'passat a les' p",
|
155 |
+
yesterday: "'ahir a les' p",
|
156 |
+
today: "'avui a les' p",
|
157 |
+
tomorrow: "'dem\xE0 a les' p",
|
158 |
+
nextWeek: "eeee 'a les' p",
|
159 |
+
other: "P"
|
160 |
+
};
|
161 |
+
var formatRelative = function formatRelative(token, date, _baseDate, _options) {
|
162 |
+
if (date.getHours() !== 1) {
|
163 |
+
return formatRelativeLocalePlural[token];
|
164 |
+
}
|
165 |
+
return formatRelativeLocale[token];
|
166 |
+
};
|
167 |
+
|
168 |
+
// lib/locale/_lib/buildLocalizeFn.mjs
|
169 |
+
function buildLocalizeFn(args) {
|
170 |
+
return function (value, options) {
|
171 |
+
var context = options !== null && options !== void 0 && options.context ? String(options.context) : "standalone";
|
172 |
+
var valuesArray;
|
173 |
+
if (context === "formatting" && args.formattingValues) {
|
174 |
+
var defaultWidth = args.defaultFormattingWidth || args.defaultWidth;
|
175 |
+
var width = options !== null && options !== void 0 && options.width ? String(options.width) : defaultWidth;
|
176 |
+
valuesArray = args.formattingValues[width] || args.formattingValues[defaultWidth];
|
177 |
+
} else {
|
178 |
+
var _defaultWidth = args.defaultWidth;
|
179 |
+
var _width = options !== null && options !== void 0 && options.width ? String(options.width) : args.defaultWidth;
|
180 |
+
valuesArray = args.values[_width] || args.values[_defaultWidth];
|
181 |
+
}
|
182 |
+
var index = args.argumentCallback ? args.argumentCallback(value) : value;
|
183 |
+
return valuesArray[index];
|
184 |
+
};
|
185 |
+
}
|
186 |
+
|
187 |
+
// lib/locale/ca/_lib/localize.mjs
|
188 |
+
var eraValues = {
|
189 |
+
narrow: ["aC", "dC"],
|
190 |
+
abbreviated: ["a. de C.", "d. de C."],
|
191 |
+
wide: ["abans de Crist", "despr\xE9s de Crist"]
|
192 |
+
};
|
193 |
+
var quarterValues = {
|
194 |
+
narrow: ["1", "2", "3", "4"],
|
195 |
+
abbreviated: ["T1", "T2", "T3", "T4"],
|
196 |
+
wide: ["1r trimestre", "2n trimestre", "3r trimestre", "4t trimestre"]
|
197 |
+
};
|
198 |
+
var monthValues = {
|
199 |
+
narrow: [
|
200 |
+
"GN",
|
201 |
+
"FB",
|
202 |
+
"M\xC7",
|
203 |
+
"AB",
|
204 |
+
"MG",
|
205 |
+
"JN",
|
206 |
+
"JL",
|
207 |
+
"AG",
|
208 |
+
"ST",
|
209 |
+
"OC",
|
210 |
+
"NV",
|
211 |
+
"DS"],
|
212 |
+
|
213 |
+
abbreviated: [
|
214 |
+
"gen.",
|
215 |
+
"febr.",
|
216 |
+
"mar\xE7",
|
217 |
+
"abr.",
|
218 |
+
"maig",
|
219 |
+
"juny",
|
220 |
+
"jul.",
|
221 |
+
"ag.",
|
222 |
+
"set.",
|
223 |
+
"oct.",
|
224 |
+
"nov.",
|
225 |
+
"des."],
|
226 |
+
|
227 |
+
wide: [
|
228 |
+
"gener",
|
229 |
+
"febrer",
|
230 |
+
"mar\xE7",
|
231 |
+
"abril",
|
232 |
+
"maig",
|
233 |
+
"juny",
|
234 |
+
"juliol",
|
235 |
+
"agost",
|
236 |
+
"setembre",
|
237 |
+
"octubre",
|
238 |
+
"novembre",
|
239 |
+
"desembre"]
|
240 |
+
|
241 |
+
};
|
242 |
+
var dayValues = {
|
243 |
+
narrow: ["dg.", "dl.", "dt.", "dm.", "dj.", "dv.", "ds."],
|
244 |
+
short: ["dg.", "dl.", "dt.", "dm.", "dj.", "dv.", "ds."],
|
245 |
+
abbreviated: ["dg.", "dl.", "dt.", "dm.", "dj.", "dv.", "ds."],
|
246 |
+
wide: [
|
247 |
+
"diumenge",
|
248 |
+
"dilluns",
|
249 |
+
"dimarts",
|
250 |
+
"dimecres",
|
251 |
+
"dijous",
|
252 |
+
"divendres",
|
253 |
+
"dissabte"]
|
254 |
+
|
255 |
+
};
|
256 |
+
var dayPeriodValues = {
|
257 |
+
narrow: {
|
258 |
+
am: "am",
|
259 |
+
pm: "pm",
|
260 |
+
midnight: "mitjanit",
|
261 |
+
noon: "migdia",
|
262 |
+
morning: "mat\xED",
|
263 |
+
afternoon: "tarda",
|
264 |
+
evening: "vespre",
|
265 |
+
night: "nit"
|
266 |
+
},
|
267 |
+
abbreviated: {
|
268 |
+
am: "a.m.",
|
269 |
+
pm: "p.m.",
|
270 |
+
midnight: "mitjanit",
|
271 |
+
noon: "migdia",
|
272 |
+
morning: "mat\xED",
|
273 |
+
afternoon: "tarda",
|
274 |
+
evening: "vespre",
|
275 |
+
night: "nit"
|
276 |
+
},
|
277 |
+
wide: {
|
278 |
+
am: "ante meridiem",
|
279 |
+
pm: "post meridiem",
|
280 |
+
midnight: "mitjanit",
|
281 |
+
noon: "migdia",
|
282 |
+
morning: "mat\xED",
|
283 |
+
afternoon: "tarda",
|
284 |
+
evening: "vespre",
|
285 |
+
night: "nit"
|
286 |
+
}
|
287 |
+
};
|
288 |
+
var formattingDayPeriodValues = {
|
289 |
+
narrow: {
|
290 |
+
am: "am",
|
291 |
+
pm: "pm",
|
292 |
+
midnight: "de la mitjanit",
|
293 |
+
noon: "del migdia",
|
294 |
+
morning: "del mat\xED",
|
295 |
+
afternoon: "de la tarda",
|
296 |
+
evening: "del vespre",
|
297 |
+
night: "de la nit"
|
298 |
+
},
|
299 |
+
abbreviated: {
|
300 |
+
am: "AM",
|
301 |
+
pm: "PM",
|
302 |
+
midnight: "de la mitjanit",
|
303 |
+
noon: "del migdia",
|
304 |
+
morning: "del mat\xED",
|
305 |
+
afternoon: "de la tarda",
|
306 |
+
evening: "del vespre",
|
307 |
+
night: "de la nit"
|
308 |
+
},
|
309 |
+
wide: {
|
310 |
+
am: "ante meridiem",
|
311 |
+
pm: "post meridiem",
|
312 |
+
midnight: "de la mitjanit",
|
313 |
+
noon: "del migdia",
|
314 |
+
morning: "del mat\xED",
|
315 |
+
afternoon: "de la tarda",
|
316 |
+
evening: "del vespre",
|
317 |
+
night: "de la nit"
|
318 |
+
}
|
319 |
+
};
|
320 |
+
var ordinalNumber = function ordinalNumber(dirtyNumber, _options) {
|
321 |
+
var number = Number(dirtyNumber);
|
322 |
+
var rem100 = number % 100;
|
323 |
+
if (rem100 > 20 || rem100 < 10) {
|
324 |
+
switch (rem100 % 10) {
|
325 |
+
case 1:
|
326 |
+
return number + "r";
|
327 |
+
case 2:
|
328 |
+
return number + "n";
|
329 |
+
case 3:
|
330 |
+
return number + "r";
|
331 |
+
case 4:
|
332 |
+
return number + "t";
|
333 |
+
}
|
334 |
+
}
|
335 |
+
return number + "\xE8";
|
336 |
+
};
|
337 |
+
var localize = {
|
338 |
+
ordinalNumber: ordinalNumber,
|
339 |
+
era: buildLocalizeFn({
|
340 |
+
values: eraValues,
|
341 |
+
defaultWidth: "wide"
|
342 |
+
}),
|
343 |
+
quarter: buildLocalizeFn({
|
344 |
+
values: quarterValues,
|
345 |
+
defaultWidth: "wide",
|
346 |
+
argumentCallback: function argumentCallback(quarter) {return quarter - 1;}
|
347 |
+
}),
|
348 |
+
month: buildLocalizeFn({
|
349 |
+
values: monthValues,
|
350 |
+
defaultWidth: "wide"
|
351 |
+
}),
|
352 |
+
day: buildLocalizeFn({
|
353 |
+
values: dayValues,
|
354 |
+
defaultWidth: "wide"
|
355 |
+
}),
|
356 |
+
dayPeriod: buildLocalizeFn({
|
357 |
+
values: dayPeriodValues,
|
358 |
+
defaultWidth: "wide",
|
359 |
+
formattingValues: formattingDayPeriodValues,
|
360 |
+
defaultFormattingWidth: "wide"
|
361 |
+
})
|
362 |
+
};
|
363 |
+
|
364 |
+
// lib/locale/_lib/buildMatchFn.mjs
|
365 |
+
function buildMatchFn(args) {
|
366 |
+
return function (string) {var options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
|
367 |
+
var width = options.width;
|
368 |
+
var matchPattern = width && args.matchPatterns[width] || args.matchPatterns[args.defaultMatchWidth];
|
369 |
+
var matchResult = string.match(matchPattern);
|
370 |
+
if (!matchResult) {
|
371 |
+
return null;
|
372 |
+
}
|
373 |
+
var matchedString = matchResult[0];
|
374 |
+
var parsePatterns = width && args.parsePatterns[width] || args.parsePatterns[args.defaultParseWidth];
|
375 |
+
var key = Array.isArray(parsePatterns) ? findIndex(parsePatterns, function (pattern) {return pattern.test(matchedString);}) : findKey(parsePatterns, function (pattern) {return pattern.test(matchedString);});
|
376 |
+
var value;
|
377 |
+
value = args.valueCallback ? args.valueCallback(key) : key;
|
378 |
+
value = options.valueCallback ? options.valueCallback(value) : value;
|
379 |
+
var rest = string.slice(matchedString.length);
|
380 |
+
return { value: value, rest: rest };
|
381 |
+
};
|
382 |
+
}
|
383 |
+
var findKey = function findKey(object, predicate) {
|
384 |
+
for (var key in object) {
|
385 |
+
if (Object.prototype.hasOwnProperty.call(object, key) && predicate(object[key])) {
|
386 |
+
return key;
|
387 |
+
}
|
388 |
+
}
|
389 |
+
return;
|
390 |
+
};
|
391 |
+
var findIndex = function findIndex(array, predicate) {
|
392 |
+
for (var key = 0; key < array.length; key++) {
|
393 |
+
if (predicate(array[key])) {
|
394 |
+
return key;
|
395 |
+
}
|
396 |
+
}
|
397 |
+
return;
|
398 |
+
};
|
399 |
+
|
400 |
+
// lib/locale/_lib/buildMatchPatternFn.mjs
|
401 |
+
function buildMatchPatternFn(args) {
|
402 |
+
return function (string) {var options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
|
403 |
+
var matchResult = string.match(args.matchPattern);
|
404 |
+
if (!matchResult)
|
405 |
+
return null;
|
406 |
+
var matchedString = matchResult[0];
|
407 |
+
var parseResult = string.match(args.parsePattern);
|
408 |
+
if (!parseResult)
|
409 |
+
return null;
|
410 |
+
var value = args.valueCallback ? args.valueCallback(parseResult[0]) : parseResult[0];
|
411 |
+
value = options.valueCallback ? options.valueCallback(value) : value;
|
412 |
+
var rest = string.slice(matchedString.length);
|
413 |
+
return { value: value, rest: rest };
|
414 |
+
};
|
415 |
+
}
|
416 |
+
|
417 |
+
// lib/locale/ca/_lib/match.mjs
|
418 |
+
var matchOrdinalNumberPattern = /^(\d+)(è|r|n|r|t)?/i;
|
419 |
+
var parseOrdinalNumberPattern = /\d+/i;
|
420 |
+
var matchEraPatterns = {
|
421 |
+
narrow: /^(aC|dC)/i,
|
422 |
+
abbreviated: /^(a. de C.|d. de C.)/i,
|
423 |
+
wide: /^(abans de Crist|despr[eé]s de Crist)/i
|
424 |
+
};
|
425 |
+
var parseEraPatterns = {
|
426 |
+
narrow: [/^aC/i, /^dC/i],
|
427 |
+
abbreviated: [/^(a. de C.)/i, /^(d. de C.)/i],
|
428 |
+
wide: [/^(abans de Crist)/i, /^(despr[eé]s de Crist)/i]
|
429 |
+
};
|
430 |
+
var matchQuarterPatterns = {
|
431 |
+
narrow: /^[1234]/i,
|
432 |
+
abbreviated: /^T[1234]/i,
|
433 |
+
wide: /^[1234](è|r|n|r|t)? trimestre/i
|
434 |
+
};
|
435 |
+
var parseQuarterPatterns = {
|
436 |
+
any: [/1/i, /2/i, /3/i, /4/i]
|
437 |
+
};
|
438 |
+
var matchMonthPatterns = {
|
439 |
+
narrow: /^(GN|FB|MÇ|AB|MG|JN|JL|AG|ST|OC|NV|DS)/i,
|
440 |
+
abbreviated: /^(gen.|febr.|març|abr.|maig|juny|jul.|ag.|set.|oct.|nov.|des.)/i,
|
441 |
+
wide: /^(gener|febrer|març|abril|maig|juny|juliol|agost|setembre|octubre|novembre|desembre)/i
|
442 |
+
};
|
443 |
+
var parseMonthPatterns = {
|
444 |
+
narrow: [
|
445 |
+
/^GN/i,
|
446 |
+
/^FB/i,
|
447 |
+
/^MÇ/i,
|
448 |
+
/^AB/i,
|
449 |
+
/^MG/i,
|
450 |
+
/^JN/i,
|
451 |
+
/^JL/i,
|
452 |
+
/^AG/i,
|
453 |
+
/^ST/i,
|
454 |
+
/^OC/i,
|
455 |
+
/^NV/i,
|
456 |
+
/^DS/i],
|
457 |
+
|
458 |
+
abbreviated: [
|
459 |
+
/^gen./i,
|
460 |
+
/^febr./i,
|
461 |
+
/^març/i,
|
462 |
+
/^abr./i,
|
463 |
+
/^maig/i,
|
464 |
+
/^juny/i,
|
465 |
+
/^jul./i,
|
466 |
+
/^ag./i,
|
467 |
+
/^set./i,
|
468 |
+
/^oct./i,
|
469 |
+
/^nov./i,
|
470 |
+
/^des./i],
|
471 |
+
|
472 |
+
wide: [
|
473 |
+
/^gener/i,
|
474 |
+
/^febrer/i,
|
475 |
+
/^març/i,
|
476 |
+
/^abril/i,
|
477 |
+
/^maig/i,
|
478 |
+
/^juny/i,
|
479 |
+
/^juliol/i,
|
480 |
+
/^agost/i,
|
481 |
+
/^setembre/i,
|
482 |
+
/^octubre/i,
|
483 |
+
/^novembre/i,
|
484 |
+
/^desembre/i]
|
485 |
+
|
486 |
+
};
|
487 |
+
var matchDayPatterns = {
|
488 |
+
narrow: /^(dg\.|dl\.|dt\.|dm\.|dj\.|dv\.|ds\.)/i,
|
489 |
+
short: /^(dg\.|dl\.|dt\.|dm\.|dj\.|dv\.|ds\.)/i,
|
490 |
+
abbreviated: /^(dg\.|dl\.|dt\.|dm\.|dj\.|dv\.|ds\.)/i,
|
491 |
+
wide: /^(diumenge|dilluns|dimarts|dimecres|dijous|divendres|dissabte)/i
|
492 |
+
};
|
493 |
+
var parseDayPatterns = {
|
494 |
+
narrow: [/^dg./i, /^dl./i, /^dt./i, /^dm./i, /^dj./i, /^dv./i, /^ds./i],
|
495 |
+
abbreviated: [/^dg./i, /^dl./i, /^dt./i, /^dm./i, /^dj./i, /^dv./i, /^ds./i],
|
496 |
+
wide: [
|
497 |
+
/^diumenge/i,
|
498 |
+
/^dilluns/i,
|
499 |
+
/^dimarts/i,
|
500 |
+
/^dimecres/i,
|
501 |
+
/^dijous/i,
|
502 |
+
/^divendres/i,
|
503 |
+
/^disssabte/i]
|
504 |
+
|
505 |
+
};
|
506 |
+
var matchDayPeriodPatterns = {
|
507 |
+
narrow: /^(a|p|mn|md|(del|de la) (matí|tarda|vespre|nit))/i,
|
508 |
+
abbreviated: /^([ap]\.?\s?m\.?|mitjanit|migdia|(del|de la) (matí|tarda|vespre|nit))/i,
|
509 |
+
wide: /^(ante meridiem|post meridiem|mitjanit|migdia|(del|de la) (matí|tarda|vespre|nit))/i
|
510 |
+
};
|
511 |
+
var parseDayPeriodPatterns = {
|
512 |
+
any: {
|
513 |
+
am: /^a/i,
|
514 |
+
pm: /^p/i,
|
515 |
+
midnight: /^mitjanit/i,
|
516 |
+
noon: /^migdia/i,
|
517 |
+
morning: /matí/i,
|
518 |
+
afternoon: /tarda/i,
|
519 |
+
evening: /vespre/i,
|
520 |
+
night: /nit/i
|
521 |
+
}
|
522 |
+
};
|
523 |
+
var match = {
|
524 |
+
ordinalNumber: buildMatchPatternFn({
|
525 |
+
matchPattern: matchOrdinalNumberPattern,
|
526 |
+
parsePattern: parseOrdinalNumberPattern,
|
527 |
+
valueCallback: function valueCallback(value) {return parseInt(value, 10);}
|
528 |
+
}),
|
529 |
+
era: buildMatchFn({
|
530 |
+
matchPatterns: matchEraPatterns,
|
531 |
+
defaultMatchWidth: "wide",
|
532 |
+
parsePatterns: parseEraPatterns,
|
533 |
+
defaultParseWidth: "wide"
|
534 |
+
}),
|
535 |
+
quarter: buildMatchFn({
|
536 |
+
matchPatterns: matchQuarterPatterns,
|
537 |
+
defaultMatchWidth: "wide",
|
538 |
+
parsePatterns: parseQuarterPatterns,
|
539 |
+
defaultParseWidth: "any",
|
540 |
+
valueCallback: function valueCallback(index) {return index + 1;}
|
541 |
+
}),
|
542 |
+
month: buildMatchFn({
|
543 |
+
matchPatterns: matchMonthPatterns,
|
544 |
+
defaultMatchWidth: "wide",
|
545 |
+
parsePatterns: parseMonthPatterns,
|
546 |
+
defaultParseWidth: "wide"
|
547 |
+
}),
|
548 |
+
day: buildMatchFn({
|
549 |
+
matchPatterns: matchDayPatterns,
|
550 |
+
defaultMatchWidth: "wide",
|
551 |
+
parsePatterns: parseDayPatterns,
|
552 |
+
defaultParseWidth: "wide"
|
553 |
+
}),
|
554 |
+
dayPeriod: buildMatchFn({
|
555 |
+
matchPatterns: matchDayPeriodPatterns,
|
556 |
+
defaultMatchWidth: "wide",
|
557 |
+
parsePatterns: parseDayPeriodPatterns,
|
558 |
+
defaultParseWidth: "any"
|
559 |
+
})
|
560 |
+
};
|
561 |
+
|
562 |
+
// lib/locale/ca.mjs
|
563 |
+
var ca = {
|
564 |
+
code: "ca",
|
565 |
+
formatDistance: formatDistance,
|
566 |
+
formatLong: formatLong,
|
567 |
+
formatRelative: formatRelative,
|
568 |
+
localize: localize,
|
569 |
+
match: match,
|
570 |
+
options: {
|
571 |
+
weekStartsOn: 1,
|
572 |
+
firstWeekContainsDate: 4
|
573 |
+
}
|
574 |
+
};
|
575 |
+
|
576 |
+
// lib/locale/ca/cdn.js
|
577 |
+
window.dateFns = _objectSpread(_objectSpread({},
|
578 |
+
window.dateFns), {}, {
|
579 |
+
locale: _objectSpread(_objectSpread({}, (_window$dateFns =
|
580 |
+
window.dateFns) === null || _window$dateFns === void 0 ? void 0 : _window$dateFns.locale), {}, {
|
581 |
+
ca: ca }) });
|
582 |
+
|
583 |
+
|
584 |
+
|
585 |
+
//# debugId=03DC9410A82E379164756e2164756e21
|
586 |
+
})();
|
587 |
+
|
588 |
+
//# sourceMappingURL=cdn.js.map
|
workers1/auto3d/node_modules/date-fns/locale/ca/cdn.js.map
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
{"version":3,"file":"cdn.js","names":["_window$dateFns","__defProp","Object","defineProperty","__export","target","all","name","get","enumerable","configurable","set","newValue","formatDistanceLocale","lessThanXSeconds","one","eleven","other","xSeconds","halfAMinute","lessThanXMinutes","xMinutes","aboutXHours","xHours","xDays","aboutXWeeks","xWeeks","aboutXMonths","xMonths","aboutXYears","xYears","overXYears","almostXYears","formatDistance","token","count","options","result","tokenValue","replace","String","addSuffix","comparison","buildFormatLongFn","args","arguments","length","undefined","width","defaultWidth","format","formats","dateFormats","full","long","medium","short","timeFormats","dateTimeFormats","formatLong","date","time","dateTime","formatRelativeLocale","lastWeek","yesterday","today","tomorrow","nextWeek","formatRelativeLocalePlural","formatRelative","_baseDate","_options","getHours","buildLocalizeFn","value","context","valuesArray","formattingValues","defaultFormattingWidth","values","index","argumentCallback","eraValues","narrow","abbreviated","wide","quarterValues","monthValues","dayValues","dayPeriodValues","am","pm","midnight","noon","morning","afternoon","evening","night","formattingDayPeriodValues","ordinalNumber","dirtyNumber","number","Number","rem100","localize","era","quarter","month","day","dayPeriod","buildMatchFn","string","matchPattern","matchPatterns","defaultMatchWidth","matchResult","match","matchedString","parsePatterns","defaultParseWidth","key","Array","isArray","findIndex","pattern","test","findKey","valueCallback","rest","slice","object","predicate","prototype","hasOwnProperty","call","array","buildMatchPatternFn","parseResult","parsePattern","matchOrdinalNumberPattern","parseOrdinalNumberPattern","matchEraPatterns","parseEraPatterns","matchQuarterPatterns","parseQuarterPatterns","any","matchMonthPatterns","parseMonthPatterns","matchDayPatterns","parseDayPatterns","matchDayPeriodPatterns","parseDayPeriodPatterns","parseInt","ca","code","weekStartsOn","firstWeekContainsDate","window","dateFns","_objectSpread","locale"],"sources":["cdn.js"],"sourcesContent":["(() => { var __defProp = Object.defineProperty;\nvar __export = (target, all) => {\n for (var name in all)\n __defProp(target, name, {\n get: all[name],\n enumerable: true,\n configurable: true,\n set: (newValue) => all[name] = () => newValue\n });\n};\n\n// lib/locale/ca/_lib/formatDistance.mjs\nvar formatDistanceLocale = {\n lessThanXSeconds: {\n one: \"menys d'un segon\",\n eleven: \"menys d'onze segons\",\n other: \"menys de {{count}} segons\"\n },\n xSeconds: {\n one: \"1 segon\",\n other: \"{{count}} segons\"\n },\n halfAMinute: \"mig minut\",\n lessThanXMinutes: {\n one: \"menys d'un minut\",\n eleven: \"menys d'onze minuts\",\n other: \"menys de {{count}} minuts\"\n },\n xMinutes: {\n one: \"1 minut\",\n other: \"{{count}} minuts\"\n },\n aboutXHours: {\n one: \"aproximadament una hora\",\n other: \"aproximadament {{count}} hores\"\n },\n xHours: {\n one: \"1 hora\",\n other: \"{{count}} hores\"\n },\n xDays: {\n one: \"1 dia\",\n other: \"{{count}} dies\"\n },\n aboutXWeeks: {\n one: \"aproximadament una setmana\",\n other: \"aproximadament {{count}} setmanes\"\n },\n xWeeks: {\n one: \"1 setmana\",\n other: \"{{count}} setmanes\"\n },\n aboutXMonths: {\n one: \"aproximadament un mes\",\n other: \"aproximadament {{count}} mesos\"\n },\n xMonths: {\n one: \"1 mes\",\n other: \"{{count}} mesos\"\n },\n aboutXYears: {\n one: \"aproximadament un any\",\n other: \"aproximadament {{count}} anys\"\n },\n xYears: {\n one: \"1 any\",\n other: \"{{count}} anys\"\n },\n overXYears: {\n one: \"m\\xE9s d'un any\",\n eleven: \"m\\xE9s d'onze anys\",\n other: \"m\\xE9s de {{count}} anys\"\n },\n almostXYears: {\n one: \"gaireb\\xE9 un any\",\n other: \"gaireb\\xE9 {{count}} anys\"\n }\n};\nvar formatDistance = (token, count, options) => {\n let result;\n const tokenValue = formatDistanceLocale[token];\n if (typeof tokenValue === \"string\") {\n result = tokenValue;\n } else if (count === 1) {\n result = tokenValue.one;\n } else if (count === 11 && tokenValue.eleven) {\n result = tokenValue.eleven;\n } else {\n result = tokenValue.other.replace(\"{{count}}\", String(count));\n }\n if (options?.addSuffix) {\n if (options.comparison && options.comparison > 0) {\n return \"en \" + result;\n } else {\n return \"fa \" + result;\n }\n }\n return result;\n};\n\n// lib/locale/_lib/buildFormatLongFn.mjs\nfunction buildFormatLongFn(args) {\n return (options = {}) => {\n const width = options.width ? String(options.width) : args.defaultWidth;\n const format = args.formats[width] || args.formats[args.defaultWidth];\n return format;\n };\n}\n\n// lib/locale/ca/_lib/formatLong.mjs\nvar dateFormats = {\n full: \"EEEE, d 'de' MMMM y\",\n long: \"d 'de' MMMM y\",\n medium: \"d MMM y\",\n short: \"dd/MM/y\"\n};\nvar timeFormats = {\n full: \"HH:mm:ss zzzz\",\n long: \"HH:mm:ss z\",\n medium: \"HH:mm:ss\",\n short: \"HH:mm\"\n};\nvar dateTimeFormats = {\n full: \"{{date}} 'a les' {{time}}\",\n long: \"{{date}} 'a les' {{time}}\",\n medium: \"{{date}}, {{time}}\",\n short: \"{{date}}, {{time}}\"\n};\nvar formatLong = {\n date: buildFormatLongFn({\n formats: dateFormats,\n defaultWidth: \"full\"\n }),\n time: buildFormatLongFn({\n formats: timeFormats,\n defaultWidth: \"full\"\n }),\n dateTime: buildFormatLongFn({\n formats: dateTimeFormats,\n defaultWidth: \"full\"\n })\n};\n\n// lib/locale/ca/_lib/formatRelative.mjs\nvar formatRelativeLocale = {\n lastWeek: \"'el' eeee 'passat a la' LT\",\n yesterday: \"'ahir a la' p\",\n today: \"'avui a la' p\",\n tomorrow: \"'dem\\xE0 a la' p\",\n nextWeek: \"eeee 'a la' p\",\n other: \"P\"\n};\nvar formatRelativeLocalePlural = {\n lastWeek: \"'el' eeee 'passat a les' p\",\n yesterday: \"'ahir a les' p\",\n today: \"'avui a les' p\",\n tomorrow: \"'dem\\xE0 a les' p\",\n nextWeek: \"eeee 'a les' p\",\n other: \"P\"\n};\nvar formatRelative = (token, date, _baseDate, _options) => {\n if (date.getHours() !== 1) {\n return formatRelativeLocalePlural[token];\n }\n return formatRelativeLocale[token];\n};\n\n// lib/locale/_lib/buildLocalizeFn.mjs\nfunction buildLocalizeFn(args) {\n return (value, options) => {\n const context = options?.context ? String(options.context) : \"standalone\";\n let valuesArray;\n if (context === \"formatting\" && args.formattingValues) {\n const defaultWidth = args.defaultFormattingWidth || args.defaultWidth;\n const width = options?.width ? String(options.width) : defaultWidth;\n valuesArray = args.formattingValues[width] || args.formattingValues[defaultWidth];\n } else {\n const defaultWidth = args.defaultWidth;\n const width = options?.width ? String(options.width) : args.defaultWidth;\n valuesArray = args.values[width] || args.values[defaultWidth];\n }\n const index = args.argumentCallback ? args.argumentCallback(value) : value;\n return valuesArray[index];\n };\n}\n\n// lib/locale/ca/_lib/localize.mjs\nvar eraValues = {\n narrow: [\"aC\", \"dC\"],\n abbreviated: [\"a. de C.\", \"d. de C.\"],\n wide: [\"abans de Crist\", \"despr\\xE9s de Crist\"]\n};\nvar quarterValues = {\n narrow: [\"1\", \"2\", \"3\", \"4\"],\n abbreviated: [\"T1\", \"T2\", \"T3\", \"T4\"],\n wide: [\"1r trimestre\", \"2n trimestre\", \"3r trimestre\", \"4t trimestre\"]\n};\nvar monthValues = {\n narrow: [\n \"GN\",\n \"FB\",\n \"M\\xC7\",\n \"AB\",\n \"MG\",\n \"JN\",\n \"JL\",\n \"AG\",\n \"ST\",\n \"OC\",\n \"NV\",\n \"DS\"\n ],\n abbreviated: [\n \"gen.\",\n \"febr.\",\n \"mar\\xE7\",\n \"abr.\",\n \"maig\",\n \"juny\",\n \"jul.\",\n \"ag.\",\n \"set.\",\n \"oct.\",\n \"nov.\",\n \"des.\"\n ],\n wide: [\n \"gener\",\n \"febrer\",\n \"mar\\xE7\",\n \"abril\",\n \"maig\",\n \"juny\",\n \"juliol\",\n \"agost\",\n \"setembre\",\n \"octubre\",\n \"novembre\",\n \"desembre\"\n ]\n};\nvar dayValues = {\n narrow: [\"dg.\", \"dl.\", \"dt.\", \"dm.\", \"dj.\", \"dv.\", \"ds.\"],\n short: [\"dg.\", \"dl.\", \"dt.\", \"dm.\", \"dj.\", \"dv.\", \"ds.\"],\n abbreviated: [\"dg.\", \"dl.\", \"dt.\", \"dm.\", \"dj.\", \"dv.\", \"ds.\"],\n wide: [\n \"diumenge\",\n \"dilluns\",\n \"dimarts\",\n \"dimecres\",\n \"dijous\",\n \"divendres\",\n \"dissabte\"\n ]\n};\nvar dayPeriodValues = {\n narrow: {\n am: \"am\",\n pm: \"pm\",\n midnight: \"mitjanit\",\n noon: \"migdia\",\n morning: \"mat\\xED\",\n afternoon: \"tarda\",\n evening: \"vespre\",\n night: \"nit\"\n },\n abbreviated: {\n am: \"a.m.\",\n pm: \"p.m.\",\n midnight: \"mitjanit\",\n noon: \"migdia\",\n morning: \"mat\\xED\",\n afternoon: \"tarda\",\n evening: \"vespre\",\n night: \"nit\"\n },\n wide: {\n am: \"ante meridiem\",\n pm: \"post meridiem\",\n midnight: \"mitjanit\",\n noon: \"migdia\",\n morning: \"mat\\xED\",\n afternoon: \"tarda\",\n evening: \"vespre\",\n night: \"nit\"\n }\n};\nvar formattingDayPeriodValues = {\n narrow: {\n am: \"am\",\n pm: \"pm\",\n midnight: \"de la mitjanit\",\n noon: \"del migdia\",\n morning: \"del mat\\xED\",\n afternoon: \"de la tarda\",\n evening: \"del vespre\",\n night: \"de la nit\"\n },\n abbreviated: {\n am: \"AM\",\n pm: \"PM\",\n midnight: \"de la mitjanit\",\n noon: \"del migdia\",\n morning: \"del mat\\xED\",\n afternoon: \"de la tarda\",\n evening: \"del vespre\",\n night: \"de la nit\"\n },\n wide: {\n am: \"ante meridiem\",\n pm: \"post meridiem\",\n midnight: \"de la mitjanit\",\n noon: \"del migdia\",\n morning: \"del mat\\xED\",\n afternoon: \"de la tarda\",\n evening: \"del vespre\",\n night: \"de la nit\"\n }\n};\nvar ordinalNumber = (dirtyNumber, _options) => {\n const number = Number(dirtyNumber);\n const rem100 = number % 100;\n if (rem100 > 20 || rem100 < 10) {\n switch (rem100 % 10) {\n case 1:\n return number + \"r\";\n case 2:\n return number + \"n\";\n case 3:\n return number + \"r\";\n case 4:\n return number + \"t\";\n }\n }\n return number + \"\\xE8\";\n};\nvar localize = {\n ordinalNumber,\n era: buildLocalizeFn({\n values: eraValues,\n defaultWidth: \"wide\"\n }),\n quarter: buildLocalizeFn({\n values: quarterValues,\n defaultWidth: \"wide\",\n argumentCallback: (quarter) => quarter - 1\n }),\n month: buildLocalizeFn({\n values: monthValues,\n defaultWidth: \"wide\"\n }),\n day: buildLocalizeFn({\n values: dayValues,\n defaultWidth: \"wide\"\n }),\n dayPeriod: buildLocalizeFn({\n values: dayPeriodValues,\n defaultWidth: \"wide\",\n formattingValues: formattingDayPeriodValues,\n defaultFormattingWidth: \"wide\"\n })\n};\n\n// lib/locale/_lib/buildMatchFn.mjs\nfunction buildMatchFn(args) {\n return (string, options = {}) => {\n const width = options.width;\n const matchPattern = width && args.matchPatterns[width] || args.matchPatterns[args.defaultMatchWidth];\n const matchResult = string.match(matchPattern);\n if (!matchResult) {\n return null;\n }\n const matchedString = matchResult[0];\n const parsePatterns = width && args.parsePatterns[width] || args.parsePatterns[args.defaultParseWidth];\n const key = Array.isArray(parsePatterns) ? findIndex(parsePatterns, (pattern) => pattern.test(matchedString)) : findKey(parsePatterns, (pattern) => pattern.test(matchedString));\n let value;\n value = args.valueCallback ? args.valueCallback(key) : key;\n value = options.valueCallback ? options.valueCallback(value) : value;\n const rest = string.slice(matchedString.length);\n return { value, rest };\n };\n}\nvar findKey = function(object, predicate) {\n for (const key in object) {\n if (Object.prototype.hasOwnProperty.call(object, key) && predicate(object[key])) {\n return key;\n }\n }\n return;\n};\nvar findIndex = function(array, predicate) {\n for (let key = 0;key < array.length; key++) {\n if (predicate(array[key])) {\n return key;\n }\n }\n return;\n};\n\n// lib/locale/_lib/buildMatchPatternFn.mjs\nfunction buildMatchPatternFn(args) {\n return (string, options = {}) => {\n const matchResult = string.match(args.matchPattern);\n if (!matchResult)\n return null;\n const matchedString = matchResult[0];\n const parseResult = string.match(args.parsePattern);\n if (!parseResult)\n return null;\n let value = args.valueCallback ? args.valueCallback(parseResult[0]) : parseResult[0];\n value = options.valueCallback ? options.valueCallback(value) : value;\n const rest = string.slice(matchedString.length);\n return { value, rest };\n };\n}\n\n// lib/locale/ca/_lib/match.mjs\nvar matchOrdinalNumberPattern = /^(\\d+)(è|r|n|r|t)?/i;\nvar parseOrdinalNumberPattern = /\\d+/i;\nvar matchEraPatterns = {\n narrow: /^(aC|dC)/i,\n abbreviated: /^(a. de C.|d. de C.)/i,\n wide: /^(abans de Crist|despr[eé]s de Crist)/i\n};\nvar parseEraPatterns = {\n narrow: [/^aC/i, /^dC/i],\n abbreviated: [/^(a. de C.)/i, /^(d. de C.)/i],\n wide: [/^(abans de Crist)/i, /^(despr[eé]s de Crist)/i]\n};\nvar matchQuarterPatterns = {\n narrow: /^[1234]/i,\n abbreviated: /^T[1234]/i,\n wide: /^[1234](è|r|n|r|t)? trimestre/i\n};\nvar parseQuarterPatterns = {\n any: [/1/i, /2/i, /3/i, /4/i]\n};\nvar matchMonthPatterns = {\n narrow: /^(GN|FB|MÇ|AB|MG|JN|JL|AG|ST|OC|NV|DS)/i,\n abbreviated: /^(gen.|febr.|març|abr.|maig|juny|jul.|ag.|set.|oct.|nov.|des.)/i,\n wide: /^(gener|febrer|març|abril|maig|juny|juliol|agost|setembre|octubre|novembre|desembre)/i\n};\nvar parseMonthPatterns = {\n narrow: [\n /^GN/i,\n /^FB/i,\n /^MÇ/i,\n /^AB/i,\n /^MG/i,\n /^JN/i,\n /^JL/i,\n /^AG/i,\n /^ST/i,\n /^OC/i,\n /^NV/i,\n /^DS/i\n ],\n abbreviated: [\n /^gen./i,\n /^febr./i,\n /^març/i,\n /^abr./i,\n /^maig/i,\n /^juny/i,\n /^jul./i,\n /^ag./i,\n /^set./i,\n /^oct./i,\n /^nov./i,\n /^des./i\n ],\n wide: [\n /^gener/i,\n /^febrer/i,\n /^març/i,\n /^abril/i,\n /^maig/i,\n /^juny/i,\n /^juliol/i,\n /^agost/i,\n /^setembre/i,\n /^octubre/i,\n /^novembre/i,\n /^desembre/i\n ]\n};\nvar matchDayPatterns = {\n narrow: /^(dg\\.|dl\\.|dt\\.|dm\\.|dj\\.|dv\\.|ds\\.)/i,\n short: /^(dg\\.|dl\\.|dt\\.|dm\\.|dj\\.|dv\\.|ds\\.)/i,\n abbreviated: /^(dg\\.|dl\\.|dt\\.|dm\\.|dj\\.|dv\\.|ds\\.)/i,\n wide: /^(diumenge|dilluns|dimarts|dimecres|dijous|divendres|dissabte)/i\n};\nvar parseDayPatterns = {\n narrow: [/^dg./i, /^dl./i, /^dt./i, /^dm./i, /^dj./i, /^dv./i, /^ds./i],\n abbreviated: [/^dg./i, /^dl./i, /^dt./i, /^dm./i, /^dj./i, /^dv./i, /^ds./i],\n wide: [\n /^diumenge/i,\n /^dilluns/i,\n /^dimarts/i,\n /^dimecres/i,\n /^dijous/i,\n /^divendres/i,\n /^disssabte/i\n ]\n};\nvar matchDayPeriodPatterns = {\n narrow: /^(a|p|mn|md|(del|de la) (matí|tarda|vespre|nit))/i,\n abbreviated: /^([ap]\\.?\\s?m\\.?|mitjanit|migdia|(del|de la) (matí|tarda|vespre|nit))/i,\n wide: /^(ante meridiem|post meridiem|mitjanit|migdia|(del|de la) (matí|tarda|vespre|nit))/i\n};\nvar parseDayPeriodPatterns = {\n any: {\n am: /^a/i,\n pm: /^p/i,\n midnight: /^mitjanit/i,\n noon: /^migdia/i,\n morning: /matí/i,\n afternoon: /tarda/i,\n evening: /vespre/i,\n night: /nit/i\n }\n};\nvar match = {\n ordinalNumber: buildMatchPatternFn({\n matchPattern: matchOrdinalNumberPattern,\n parsePattern: parseOrdinalNumberPattern,\n valueCallback: (value) => parseInt(value, 10)\n }),\n era: buildMatchFn({\n matchPatterns: matchEraPatterns,\n defaultMatchWidth: \"wide\",\n parsePatterns: parseEraPatterns,\n defaultParseWidth: \"wide\"\n }),\n quarter: buildMatchFn({\n matchPatterns: matchQuarterPatterns,\n defaultMatchWidth: \"wide\",\n parsePatterns: parseQuarterPatterns,\n defaultParseWidth: \"any\",\n valueCallback: (index) => index + 1\n }),\n month: buildMatchFn({\n matchPatterns: matchMonthPatterns,\n defaultMatchWidth: \"wide\",\n parsePatterns: parseMonthPatterns,\n defaultParseWidth: \"wide\"\n }),\n day: buildMatchFn({\n matchPatterns: matchDayPatterns,\n defaultMatchWidth: \"wide\",\n parsePatterns: parseDayPatterns,\n defaultParseWidth: \"wide\"\n }),\n dayPeriod: buildMatchFn({\n matchPatterns: matchDayPeriodPatterns,\n defaultMatchWidth: \"wide\",\n parsePatterns: parseDayPeriodPatterns,\n defaultParseWidth: \"any\"\n })\n};\n\n// lib/locale/ca.mjs\nvar ca = {\n code: \"ca\",\n formatDistance,\n formatLong,\n formatRelative,\n localize,\n match,\n options: {\n weekStartsOn: 1,\n firstWeekContainsDate: 4\n }\n};\n\n// lib/locale/ca/cdn.js\nwindow.dateFns = {\n ...window.dateFns,\n locale: {\n ...window.dateFns?.locale,\n ca\n }\n};\n\n//# debugId=03DC9410A82E379164756e2164756e21\n })();"],"mappings":"8lDAAA,CAAC,UAAAA,eAAA,EAAM,CAAE,IAAIC,SAAS,GAAGC,MAAM,CAACC,cAAc;EAC9C,IAAIC,QAAQ,GAAG,SAAXA,QAAQA,CAAIC,MAAM,EAAEC,GAAG,EAAK;IAC9B,KAAK,IAAIC,IAAI,IAAID,GAAG;IAClBL,SAAS,CAACI,MAAM,EAAEE,IAAI,EAAE;MACtBC,GAAG,EAAEF,GAAG,CAACC,IAAI,CAAC;MACdE,UAAU,EAAE,IAAI;MAChBC,YAAY,EAAE,IAAI;MAClBC,GAAG,EAAE,SAAAA,IAACC,QAAQ,UAAKN,GAAG,CAACC,IAAI,CAAC,GAAG,oBAAMK,QAAQ;IAC/C,CAAC,CAAC;EACN,CAAC;;EAED;EACA,IAAIC,oBAAoB,GAAG;IACzBC,gBAAgB,EAAE;MAChBC,GAAG,EAAE,kBAAkB;MACvBC,MAAM,EAAE,qBAAqB;MAC7BC,KAAK,EAAE;IACT,CAAC;IACDC,QAAQ,EAAE;MACRH,GAAG,EAAE,SAAS;MACdE,KAAK,EAAE;IACT,CAAC;IACDE,WAAW,EAAE,WAAW;IACxBC,gBAAgB,EAAE;MAChBL,GAAG,EAAE,kBAAkB;MACvBC,MAAM,EAAE,qBAAqB;MAC7BC,KAAK,EAAE;IACT,CAAC;IACDI,QAAQ,EAAE;MACRN,GAAG,EAAE,SAAS;MACdE,KAAK,EAAE;IACT,CAAC;IACDK,WAAW,EAAE;MACXP,GAAG,EAAE,yBAAyB;MAC9BE,KAAK,EAAE;IACT,CAAC;IACDM,MAAM,EAAE;MACNR,GAAG,EAAE,QAAQ;MACbE,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RY,KAAK,EAALA,KAAK;IACLjF,OAAO,EAAE;MACPwH,YAAY,EAAE,CAAC;MACfC,qBAAqB,EAAE;IACzB;EACF,CAAC;;EAED;EACAC,MAAM,CAACC,OAAO,GAAAC,aAAA,CAAAA,aAAA;EACTF,MAAM,CAACC,OAAO;IACjBE,MAAM,EAAAD,aAAA,CAAAA,aAAA,MAAAhK,eAAA;IACD8J,MAAM,CAACC,OAAO,cAAA/J,eAAA,uBAAdA,eAAA,CAAgBiK,MAAM;MACzBP,EAAE,EAAFA,EAAE,GACH,GACF;;;;EAED;AACC,CAAC,EAAE,CAAC","ignoreList":[]}
|
workers1/auto3d/node_modules/date-fns/locale/ca/cdn.min.js
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
var z=function(J){return z=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(H){return typeof H}:function(H){return H&&typeof Symbol=="function"&&H.constructor===Symbol&&H!==Symbol.prototype?"symbol":typeof H},z(J)},W=function(J,H){var Y=Object.keys(J);if(Object.getOwnPropertySymbols){var Z=Object.getOwnPropertySymbols(J);H&&(Z=Z.filter(function(x){return Object.getOwnPropertyDescriptor(J,x).enumerable})),Y.push.apply(Y,Z)}return Y},K=function(J){for(var H=1;H<arguments.length;H++){var Y=arguments[H]!=null?arguments[H]:{};H%2?W(Object(Y),!0).forEach(function(Z){GC(J,Z,Y[Z])}):Object.getOwnPropertyDescriptors?Object.defineProperties(J,Object.getOwnPropertyDescriptors(Y)):W(Object(Y)).forEach(function(Z){Object.defineProperty(J,Z,Object.getOwnPropertyDescriptor(Y,Z))})}return J},GC=function(J,H,Y){if(H=UC(H),H in J)Object.defineProperty(J,H,{value:Y,enumerable:!0,configurable:!0,writable:!0});else J[H]=Y;return J},UC=function(J){var H=BC(J,"string");return z(H)=="symbol"?H:String(H)},BC=function(J,H){if(z(J)!="object"||!J)return J;var Y=J[Symbol.toPrimitive];if(Y!==void 0){var Z=Y.call(J,H||"default");if(z(Z)!="object")return Z;throw new TypeError("@@toPrimitive must return a primitive value.")}return(H==="string"?String:Number)(J)};(function(J){var H=Object.defineProperty,Y=function C(B,U){for(var G in U)H(B,G,{get:U[G],enumerable:!0,configurable:!0,set:function T(X){return U[G]=function(){return X}}})},Z={lessThanXSeconds:{one:"menys d'un segon",eleven:"menys d'onze segons",other:"menys de {{count}} segons"},xSeconds:{one:"1 segon",other:"{{count}} segons"},halfAMinute:"mig minut",lessThanXMinutes:{one:"menys d'un minut",eleven:"menys d'onze minuts",other:"menys de {{count}} minuts"},xMinutes:{one:"1 minut",other:"{{count}} minuts"},aboutXHours:{one:"aproximadament una hora",other:"aproximadament {{count}} hores"},xHours:{one:"1 hora",other:"{{count}} hores"},xDays:{one:"1 dia",other:"{{count}} dies"},aboutXWeeks:{one:"aproximadament una setmana",other:"aproximadament {{count}} setmanes"},xWeeks:{one:"1 setmana",other:"{{count}} setmanes"},aboutXMonths:{one:"aproximadament un mes",other:"aproximadament {{count}} mesos"},xMonths:{one:"1 mes",other:"{{count}} mesos"},aboutXYears:{one:"aproximadament un any",other:"aproximadament {{count}} anys"},xYears:{one:"1 any",other:"{{count}} anys"},overXYears:{one:"m\xE9s d'un any",eleven:"m\xE9s d'onze anys",other:"m\xE9s de {{count}} anys"},almostXYears:{one:"gaireb\xE9 un any",other:"gaireb\xE9 {{count}} anys"}},x=function C(B,U,G){var T,X=Z[B];if(typeof X==="string")T=X;else if(U===1)T=X.one;else if(U===11&&X.eleven)T=X.eleven;else T=X.other.replace("{{count}}",String(U));if(G!==null&&G!==void 0&&G.addSuffix)if(G.comparison&&G.comparison>0)return"en "+T;else return"fa "+T;return T};function N(C){return function(){var B=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},U=B.width?String(B.width):C.defaultWidth,G=C.formats[U]||C.formats[C.defaultWidth];return G}}var $={full:"EEEE, d 'de' MMMM y",long:"d 'de' MMMM y",medium:"d MMM y",short:"dd/MM/y"},D={full:"HH:mm:ss zzzz",long:"HH:mm:ss z",medium:"HH:mm:ss",short:"HH:mm"},M={full:"{{date}} 'a les' {{time}}",long:"{{date}} 'a les' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},R={date:N({formats:$,defaultWidth:"full"}),time:N({formats:D,defaultWidth:"full"}),dateTime:N({formats:M,defaultWidth:"full"})},L={lastWeek:"'el' eeee 'passat a la' LT",yesterday:"'ahir a la' p",today:"'avui a la' p",tomorrow:"'dem\xE0 a la' p",nextWeek:"eeee 'a la' p",other:"P"},V={lastWeek:"'el' eeee 'passat a les' p",yesterday:"'ahir a les' p",today:"'avui a les' p",tomorrow:"'dem\xE0 a les' p",nextWeek:"eeee 'a les' p",other:"P"},j=function C(B,U,G,T){if(U.getHours()!==1)return V[B];return L[B]};function O(C){return function(B,U){var G=U!==null&&U!==void 0&&U.context?String(U.context):"standalone",T;if(G==="formatting"&&C.formattingValues){var X=C.defaultFormattingWidth||C.defaultWidth,E=U!==null&&U!==void 0&&U.width?String(U.width):X;T=C.formattingValues[E]||C.formattingValues[X]}else{var I=C.defaultWidth,A=U!==null&&U!==void 0&&U.width?String(U.width):C.defaultWidth;T=C.values[A]||C.values[I]}var Q=C.argumentCallback?C.argumentCallback(B):B;return T[Q]}}var f={narrow:["aC","dC"],abbreviated:["a. de C.","d. de C."],wide:["abans de Crist","despr\xE9s de Crist"]},w={narrow:["1","2","3","4"],abbreviated:["T1","T2","T3","T4"],wide:["1r trimestre","2n trimestre","3r trimestre","4t trimestre"]},v={narrow:["GN","FB","M\xC7","AB","MG","JN","JL","AG","ST","OC","NV","DS"],abbreviated:["gen.","febr.","mar\xE7","abr.","maig","juny","jul.","ag.","set.","oct.","nov.","des."],wide:["gener","febrer","mar\xE7","abril","maig","juny","juliol","agost","setembre","octubre","novembre","desembre"]},F={narrow:["dg.","dl.","dt.","dm.","dj.","dv.","ds."],short:["dg.","dl.","dt.","dm.","dj.","dv.","ds."],abbreviated:["dg.","dl.","dt.","dm.","dj.","dv.","ds."],wide:["diumenge","dilluns","dimarts","dimecres","dijous","divendres","dissabte"]},_={narrow:{am:"am",pm:"pm",midnight:"mitjanit",noon:"migdia",morning:"mat\xED",afternoon:"tarda",evening:"vespre",night:"nit"},abbreviated:{am:"a.m.",pm:"p.m.",midnight:"mitjanit",noon:"migdia",morning:"mat\xED",afternoon:"tarda",evening:"vespre",night:"nit"},wide:{am:"ante meridiem",pm:"post meridiem",midnight:"mitjanit",noon:"migdia",morning:"mat\xED",afternoon:"tarda",evening:"vespre",night:"nit"}},P={narrow:{am:"am",pm:"pm",midnight:"de la mitjanit",noon:"del migdia",morning:"del mat\xED",afternoon:"de la tarda",evening:"del vespre",night:"de la nit"},abbreviated:{am:"AM",pm:"PM",midnight:"de la mitjanit",noon:"del migdia",morning:"del mat\xED",afternoon:"de la tarda",evening:"del vespre",night:"de la nit"},wide:{am:"ante meridiem",pm:"post meridiem",midnight:"de la mitjanit",noon:"del migdia",morning:"del mat\xED",afternoon:"de la tarda",evening:"del vespre",night:"de la nit"}},h=function C(B,U){var G=Number(B),T=G%100;if(T>20||T<10)switch(T%10){case 1:return G+"r";case 2:return G+"n";case 3:return G+"r";case 4:return G+"t"}return G+"\xE8"},k={ordinalNumber:h,era:O({values:f,defaultWidth:"wide"}),quarter:O({values:w,defaultWidth:"wide",argumentCallback:function C(B){return B-1}}),month:O({values:v,defaultWidth:"wide"}),day:O({values:F,defaultWidth:"wide"}),dayPeriod:O({values:_,defaultWidth:"wide",formattingValues:P,defaultFormattingWidth:"wide"})};function q(C){return function(B){var U=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},G=U.width,T=G&&C.matchPatterns[G]||C.matchPatterns[C.defaultMatchWidth],X=B.match(T);if(!X)return null;var E=X[0],I=G&&C.parsePatterns[G]||C.parsePatterns[C.defaultParseWidth],A=Array.isArray(I)?m(I,function(S){return S.test(E)}):b(I,function(S){return S.test(E)}),Q;Q=C.valueCallback?C.valueCallback(A):A,Q=U.valueCallback?U.valueCallback(Q):Q;var CC=B.slice(E.length);return{value:Q,rest:CC}}}var b=function C(B,U){for(var G in B)if(Object.prototype.hasOwnProperty.call(B,G)&&U(B[G]))return G;return},m=function C(B,U){for(var G=0;G<B.length;G++)if(U(B[G]))return G;return};function c(C){return function(B){var U=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},G=B.match(C.matchPattern);if(!G)return null;var T=G[0],X=B.match(C.parsePattern);if(!X)return null;var E=C.valueCallback?C.valueCallback(X[0]):X[0];E=U.valueCallback?U.valueCallback(E):E;var I=B.slice(T.length);return{value:E,rest:I}}}var y=/^(\d+)(è|r|n|r|t)?/i,p=/\d+/i,g={narrow:/^(aC|dC)/i,abbreviated:/^(a. de C.|d. de C.)/i,wide:/^(abans de Crist|despr[eé]s de Crist)/i},d={narrow:[/^aC/i,/^dC/i],abbreviated:[/^(a. de C.)/i,/^(d. de C.)/i],wide:[/^(abans de Crist)/i,/^(despr[eé]s de Crist)/i]},u={narrow:/^[1234]/i,abbreviated:/^T[1234]/i,wide:/^[1234](è|r|n|r|t)? trimestre/i},l={any:[/1/i,/2/i,/3/i,/4/i]},i={narrow:/^(GN|FB|MÇ|AB|MG|JN|JL|AG|ST|OC|NV|DS)/i,abbreviated:/^(gen.|febr.|març|abr.|maig|juny|jul.|ag.|set.|oct.|nov.|des.)/i,wide:/^(gener|febrer|març|abril|maig|juny|juliol|agost|setembre|octubre|novembre|desembre)/i},n={narrow:[/^GN/i,/^FB/i,/^MÇ/i,/^AB/i,/^MG/i,/^JN/i,/^JL/i,/^AG/i,/^ST/i,/^OC/i,/^NV/i,/^DS/i],abbreviated:[/^gen./i,/^febr./i,/^març/i,/^abr./i,/^maig/i,/^juny/i,/^jul./i,/^ag./i,/^set./i,/^oct./i,/^nov./i,/^des./i],wide:[/^gener/i,/^febrer/i,/^març/i,/^abril/i,/^maig/i,/^juny/i,/^juliol/i,/^agost/i,/^setembre/i,/^octubre/i,/^novembre/i,/^desembre/i]},s={narrow:/^(dg\.|dl\.|dt\.|dm\.|dj\.|dv\.|ds\.)/i,short:/^(dg\.|dl\.|dt\.|dm\.|dj\.|dv\.|ds\.)/i,abbreviated:/^(dg\.|dl\.|dt\.|dm\.|dj\.|dv\.|ds\.)/i,wide:/^(diumenge|dilluns|dimarts|dimecres|dijous|divendres|dissabte)/i},o={narrow:[/^dg./i,/^dl./i,/^dt./i,/^dm./i,/^dj./i,/^dv./i,/^ds./i],abbreviated:[/^dg./i,/^dl./i,/^dt./i,/^dm./i,/^dj./i,/^dv./i,/^ds./i],wide:[/^diumenge/i,/^dilluns/i,/^dimarts/i,/^dimecres/i,/^dijous/i,/^divendres/i,/^disssabte/i]},r={narrow:/^(a|p|mn|md|(del|de la) (matí|tarda|vespre|nit))/i,abbreviated:/^([ap]\.?\s?m\.?|mitjanit|migdia|(del|de la) (matí|tarda|vespre|nit))/i,wide:/^(ante meridiem|post meridiem|mitjanit|migdia|(del|de la) (matí|tarda|vespre|nit))/i},a={any:{am:/^a/i,pm:/^p/i,midnight:/^mitjanit/i,noon:/^migdia/i,morning:/matí/i,afternoon:/tarda/i,evening:/vespre/i,night:/nit/i}},e={ordinalNumber:c({matchPattern:y,parsePattern:p,valueCallback:function C(B){return parseInt(B,10)}}),era:q({matchPatterns:g,defaultMatchWidth:"wide",parsePatterns:d,defaultParseWidth:"wide"}),quarter:q({matchPatterns:u,defaultMatchWidth:"wide",parsePatterns:l,defaultParseWidth:"any",valueCallback:function C(B){return B+1}}),month:q({matchPatterns:i,defaultMatchWidth:"wide",parsePatterns:n,defaultParseWidth:"wide"}),day:q({matchPatterns:s,defaultMatchWidth:"wide",parsePatterns:o,defaultParseWidth:"wide"}),dayPeriod:q({matchPatterns:r,defaultMatchWidth:"wide",parsePatterns:a,defaultParseWidth:"any"})},t={code:"ca",formatDistance:x,formatLong:R,formatRelative:j,localize:k,match:e,options:{weekStartsOn:1,firstWeekContainsDate:4}};window.dateFns=K(K({},window.dateFns),{},{locale:K(K({},(J=window.dateFns)===null||J===void 0?void 0:J.locale),{},{ca:t})})})();
|
2 |
+
|
3 |
+
//# debugId=EBB047E2DA13338564756e2164756e21
|
workers1/auto3d/node_modules/date-fns/locale/ca/cdn.min.js.map
ADDED
@@ -0,0 +1,10 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"version": 3,
|
3 |
+
"sources": ["lib/locale/ca/cdn.js"],
|
4 |
+
"sourcesContent": [
|
5 |
+
"function _typeof(o) {\"@babel/helpers - typeof\";return _typeof = \"function\" == typeof Symbol && \"symbol\" == typeof Symbol.iterator ? function (o) {return typeof o;} : function (o) {return o && \"function\" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? \"symbol\" : typeof o;}, _typeof(o);}function ownKeys(e, r) {var t = Object.keys(e);if (Object.getOwnPropertySymbols) {var o = Object.getOwnPropertySymbols(e);r && (o = o.filter(function (r) {return Object.getOwnPropertyDescriptor(e, r).enumerable;})), t.push.apply(t, o);}return t;}function _objectSpread(e) {for (var r = 1; r < arguments.length; r++) {var t = null != arguments[r] ? arguments[r] : {};r % 2 ? ownKeys(Object(t), !0).forEach(function (r) {_defineProperty(e, r, t[r]);}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) {Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r));});}return e;}function _defineProperty(obj, key, value) {key = _toPropertyKey(key);if (key in obj) {Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true });} else {obj[key] = value;}return obj;}function _toPropertyKey(t) {var i = _toPrimitive(t, \"string\");return \"symbol\" == _typeof(i) ? i : String(i);}function _toPrimitive(t, r) {if (\"object\" != _typeof(t) || !t) return t;var e = t[Symbol.toPrimitive];if (void 0 !== e) {var i = e.call(t, r || \"default\");if (\"object\" != _typeof(i)) return i;throw new TypeError(\"@@toPrimitive must return a primitive value.\");}return (\"string\" === r ? String : Number)(t);}(function (_window$dateFns) {var __defProp = Object.defineProperty;\n var __export = function __export(target, all) {\n for (var name in all)\n __defProp(target, name, {\n get: all[name],\n enumerable: true,\n configurable: true,\n set: function set(newValue) {return all[name] = function () {return newValue;};}\n });\n };\n\n // lib/locale/ca/_lib/formatDistance.mjs\n var formatDistanceLocale = {\n lessThanXSeconds: {\n one: \"menys d'un segon\",\n eleven: \"menys d'onze segons\",\n other: \"menys de {{count}} segons\"\n },\n xSeconds: {\n one: \"1 segon\",\n other: \"{{count}} segons\"\n },\n halfAMinute: \"mig minut\",\n lessThanXMinutes: {\n one: \"menys d'un minut\",\n eleven: \"menys d'onze minuts\",\n other: \"menys de {{count}} minuts\"\n },\n xMinutes: {\n one: \"1 minut\",\n other: \"{{count}} minuts\"\n },\n aboutXHours: {\n one: \"aproximadament una hora\",\n other: \"aproximadament {{count}} hores\"\n },\n xHours: {\n one: \"1 hora\",\n other: \"{{count}} hores\"\n },\n xDays: {\n one: \"1 dia\",\n other: \"{{count}} dies\"\n },\n aboutXWeeks: {\n one: \"aproximadament una setmana\",\n other: \"aproximadament {{count}} setmanes\"\n },\n xWeeks: {\n one: \"1 setmana\",\n other: \"{{count}} setmanes\"\n },\n aboutXMonths: {\n one: \"aproximadament un mes\",\n other: \"aproximadament {{count}} mesos\"\n },\n xMonths: {\n one: \"1 mes\",\n other: \"{{count}} mesos\"\n },\n aboutXYears: {\n one: \"aproximadament un any\",\n other: \"aproximadament {{count}} anys\"\n },\n xYears: {\n one: \"1 any\",\n other: \"{{count}} anys\"\n },\n overXYears: {\n one: \"m\\xE9s d'un any\",\n eleven: \"m\\xE9s d'onze anys\",\n other: \"m\\xE9s de {{count}} anys\"\n },\n almostXYears: {\n one: \"gaireb\\xE9 un any\",\n other: \"gaireb\\xE9 {{count}} anys\"\n }\n };\n var formatDistance = function formatDistance(token, count, options) {\n var result;\n var tokenValue = formatDistanceLocale[token];\n if (typeof tokenValue === \"string\") {\n result = tokenValue;\n } else if (count === 1) {\n result = tokenValue.one;\n } else if (count === 11 && tokenValue.eleven) {\n result = tokenValue.eleven;\n } else {\n result = tokenValue.other.replace(\"{{count}}\", String(count));\n }\n if (options !== null && options !== void 0 && options.addSuffix) {\n if (options.comparison && options.comparison > 0) {\n return \"en \" + result;\n } else {\n return \"fa \" + result;\n }\n }\n return result;\n };\n\n // lib/locale/_lib/buildFormatLongFn.mjs\n function buildFormatLongFn(args) {\n return function () {var options = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};\n var width = options.width ? String(options.width) : args.defaultWidth;\n var format = args.formats[width] || args.formats[args.defaultWidth];\n return format;\n };\n }\n\n // lib/locale/ca/_lib/formatLong.mjs\n var dateFormats = {\n full: \"EEEE, d 'de' MMMM y\",\n long: \"d 'de' MMMM y\",\n medium: \"d MMM y\",\n short: \"dd/MM/y\"\n };\n var timeFormats = {\n full: \"HH:mm:ss zzzz\",\n long: \"HH:mm:ss z\",\n medium: \"HH:mm:ss\",\n short: \"HH:mm\"\n };\n var dateTimeFormats = {\n full: \"{{date}} 'a les' {{time}}\",\n long: \"{{date}} 'a les' {{time}}\",\n medium: \"{{date}}, {{time}}\",\n short: \"{{date}}, {{time}}\"\n };\n var formatLong = {\n date: buildFormatLongFn({\n formats: dateFormats,\n defaultWidth: \"full\"\n }),\n time: buildFormatLongFn({\n formats: timeFormats,\n defaultWidth: \"full\"\n }),\n dateTime: buildFormatLongFn({\n formats: dateTimeFormats,\n defaultWidth: \"full\"\n })\n };\n\n // lib/locale/ca/_lib/formatRelative.mjs\n var formatRelativeLocale = {\n lastWeek: \"'el' eeee 'passat a la' LT\",\n yesterday: \"'ahir a la' p\",\n today: \"'avui a la' p\",\n tomorrow: \"'dem\\xE0 a la' p\",\n nextWeek: \"eeee 'a la' p\",\n other: \"P\"\n };\n var formatRelativeLocalePlural = {\n lastWeek: \"'el' eeee 'passat a les' p\",\n yesterday: \"'ahir a les' p\",\n today: \"'avui a les' p\",\n tomorrow: \"'dem\\xE0 a les' p\",\n nextWeek: \"eeee 'a les' p\",\n other: \"P\"\n };\n var formatRelative = function formatRelative(token, date, _baseDate, _options) {\n if (date.getHours() !== 1) {\n return formatRelativeLocalePlural[token];\n }\n return formatRelativeLocale[token];\n };\n\n // lib/locale/_lib/buildLocalizeFn.mjs\n function buildLocalizeFn(args) {\n return function (value, options) {\n var context = options !== null && options !== void 0 && options.context ? String(options.context) : \"standalone\";\n var valuesArray;\n if (context === \"formatting\" && args.formattingValues) {\n var defaultWidth = args.defaultFormattingWidth || args.defaultWidth;\n var width = options !== null && options !== void 0 && options.width ? String(options.width) : defaultWidth;\n valuesArray = args.formattingValues[width] || args.formattingValues[defaultWidth];\n } else {\n var _defaultWidth = args.defaultWidth;\n var _width = options !== null && options !== void 0 && options.width ? String(options.width) : args.defaultWidth;\n valuesArray = args.values[_width] || args.values[_defaultWidth];\n }\n var index = args.argumentCallback ? args.argumentCallback(value) : value;\n return valuesArray[index];\n };\n }\n\n // lib/locale/ca/_lib/localize.mjs\n var eraValues = {\n narrow: [\"aC\", \"dC\"],\n abbreviated: [\"a. de C.\", \"d. de C.\"],\n wide: [\"abans de Crist\", \"despr\\xE9s de Crist\"]\n };\n var quarterValues = {\n narrow: [\"1\", \"2\", \"3\", \"4\"],\n abbreviated: [\"T1\", \"T2\", \"T3\", \"T4\"],\n wide: [\"1r trimestre\", \"2n trimestre\", \"3r trimestre\", \"4t trimestre\"]\n };\n var monthValues = {\n narrow: [\n \"GN\",\n \"FB\",\n \"M\\xC7\",\n \"AB\",\n \"MG\",\n \"JN\",\n \"JL\",\n \"AG\",\n \"ST\",\n \"OC\",\n \"NV\",\n \"DS\"],\n\n abbreviated: [\n \"gen.\",\n \"febr.\",\n \"mar\\xE7\",\n \"abr.\",\n \"maig\",\n \"juny\",\n \"jul.\",\n \"ag.\",\n \"set.\",\n \"oct.\",\n \"nov.\",\n \"des.\"],\n\n wide: [\n \"gener\",\n \"febrer\",\n \"mar\\xE7\",\n \"abril\",\n \"maig\",\n \"juny\",\n \"juliol\",\n \"agost\",\n \"setembre\",\n \"octubre\",\n \"novembre\",\n \"desembre\"]\n\n };\n var dayValues = {\n narrow: [\"dg.\", \"dl.\", \"dt.\", \"dm.\", \"dj.\", \"dv.\", \"ds.\"],\n short: [\"dg.\", \"dl.\", \"dt.\", \"dm.\", \"dj.\", \"dv.\", \"ds.\"],\n abbreviated: [\"dg.\", \"dl.\", \"dt.\", \"dm.\", \"dj.\", \"dv.\", \"ds.\"],\n wide: [\n \"diumenge\",\n \"dilluns\",\n \"dimarts\",\n \"dimecres\",\n \"dijous\",\n \"divendres\",\n \"dissabte\"]\n\n };\n var dayPeriodValues = {\n narrow: {\n am: \"am\",\n pm: \"pm\",\n midnight: \"mitjanit\",\n noon: \"migdia\",\n morning: \"mat\\xED\",\n afternoon: \"tarda\",\n evening: \"vespre\",\n night: \"nit\"\n },\n abbreviated: {\n am: \"a.m.\",\n pm: \"p.m.\",\n midnight: \"mitjanit\",\n noon: \"migdia\",\n morning: \"mat\\xED\",\n afternoon: \"tarda\",\n evening: \"vespre\",\n night: \"nit\"\n },\n wide: {\n am: \"ante meridiem\",\n pm: \"post meridiem\",\n midnight: \"mitjanit\",\n noon: \"migdia\",\n morning: \"mat\\xED\",\n afternoon: \"tarda\",\n evening: \"vespre\",\n night: \"nit\"\n }\n };\n var formattingDayPeriodValues = {\n narrow: {\n am: \"am\",\n pm: \"pm\",\n midnight: \"de la mitjanit\",\n noon: \"del migdia\",\n morning: \"del mat\\xED\",\n afternoon: \"de la tarda\",\n evening: \"del vespre\",\n night: \"de la nit\"\n },\n abbreviated: {\n am: \"AM\",\n pm: \"PM\",\n midnight: \"de la mitjanit\",\n noon: \"del migdia\",\n morning: \"del mat\\xED\",\n afternoon: \"de la tarda\",\n evening: \"del vespre\",\n night: \"de la nit\"\n },\n wide: {\n am: \"ante meridiem\",\n pm: \"post meridiem\",\n midnight: \"de la mitjanit\",\n noon: \"del migdia\",\n morning: \"del mat\\xED\",\n afternoon: \"de la tarda\",\n evening: \"del vespre\",\n night: \"de la nit\"\n }\n };\n var ordinalNumber = function ordinalNumber(dirtyNumber, _options) {\n var number = Number(dirtyNumber);\n var rem100 = number % 100;\n if (rem100 > 20 || rem100 < 10) {\n switch (rem100 % 10) {\n case 1:\n return number + \"r\";\n case 2:\n return number + \"n\";\n case 3:\n return number + \"r\";\n case 4:\n return number + \"t\";\n }\n }\n return number + \"\\xE8\";\n };\n var localize = {\n ordinalNumber: ordinalNumber,\n era: buildLocalizeFn({\n values: eraValues,\n defaultWidth: \"wide\"\n }),\n quarter: buildLocalizeFn({\n values: quarterValues,\n defaultWidth: \"wide\",\n argumentCallback: function argumentCallback(quarter) {return quarter - 1;}\n }),\n month: buildLocalizeFn({\n values: monthValues,\n defaultWidth: \"wide\"\n }),\n day: buildLocalizeFn({\n values: dayValues,\n defaultWidth: \"wide\"\n }),\n dayPeriod: buildLocalizeFn({\n values: dayPeriodValues,\n defaultWidth: \"wide\",\n formattingValues: formattingDayPeriodValues,\n defaultFormattingWidth: \"wide\"\n })\n };\n\n // lib/locale/_lib/buildMatchFn.mjs\n function buildMatchFn(args) {\n return function (string) {var options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};\n var width = options.width;\n var matchPattern = width && args.matchPatterns[width] || args.matchPatterns[args.defaultMatchWidth];\n var matchResult = string.match(matchPattern);\n if (!matchResult) {\n return null;\n }\n var matchedString = matchResult[0];\n var parsePatterns = width && args.parsePatterns[width] || args.parsePatterns[args.defaultParseWidth];\n var key = Array.isArray(parsePatterns) ? findIndex(parsePatterns, function (pattern) {return pattern.test(matchedString);}) : findKey(parsePatterns, function (pattern) {return pattern.test(matchedString);});\n var value;\n value = args.valueCallback ? args.valueCallback(key) : key;\n value = options.valueCallback ? options.valueCallback(value) : value;\n var rest = string.slice(matchedString.length);\n return { value: value, rest: rest };\n };\n }\n var findKey = function findKey(object, predicate) {\n for (var key in object) {\n if (Object.prototype.hasOwnProperty.call(object, key) && predicate(object[key])) {\n return key;\n }\n }\n return;\n };\n var findIndex = function findIndex(array, predicate) {\n for (var key = 0; key < array.length; key++) {\n if (predicate(array[key])) {\n return key;\n }\n }\n return;\n };\n\n // lib/locale/_lib/buildMatchPatternFn.mjs\n function buildMatchPatternFn(args) {\n return function (string) {var options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};\n var matchResult = string.match(args.matchPattern);\n if (!matchResult)\n return null;\n var matchedString = matchResult[0];\n var parseResult = string.match(args.parsePattern);\n if (!parseResult)\n return null;\n var value = args.valueCallback ? args.valueCallback(parseResult[0]) : parseResult[0];\n value = options.valueCallback ? options.valueCallback(value) : value;\n var rest = string.slice(matchedString.length);\n return { value: value, rest: rest };\n };\n }\n\n // lib/locale/ca/_lib/match.mjs\n var matchOrdinalNumberPattern = /^(\\d+)(è|r|n|r|t)?/i;\n var parseOrdinalNumberPattern = /\\d+/i;\n var matchEraPatterns = {\n narrow: /^(aC|dC)/i,\n abbreviated: /^(a. de C.|d. de C.)/i,\n wide: /^(abans de Crist|despr[eé]s de Crist)/i\n };\n var parseEraPatterns = {\n narrow: [/^aC/i, /^dC/i],\n abbreviated: [/^(a. de C.)/i, /^(d. de C.)/i],\n wide: [/^(abans de Crist)/i, /^(despr[eé]s de Crist)/i]\n };\n var matchQuarterPatterns = {\n narrow: /^[1234]/i,\n abbreviated: /^T[1234]/i,\n wide: /^[1234](è|r|n|r|t)? trimestre/i\n };\n var parseQuarterPatterns = {\n any: [/1/i, /2/i, /3/i, /4/i]\n };\n var matchMonthPatterns = {\n narrow: /^(GN|FB|MÇ|AB|MG|JN|JL|AG|ST|OC|NV|DS)/i,\n abbreviated: /^(gen.|febr.|març|abr.|maig|juny|jul.|ag.|set.|oct.|nov.|des.)/i,\n wide: /^(gener|febrer|març|abril|maig|juny|juliol|agost|setembre|octubre|novembre|desembre)/i\n };\n var parseMonthPatterns = {\n narrow: [\n /^GN/i,\n /^FB/i,\n /^MÇ/i,\n /^AB/i,\n /^MG/i,\n /^JN/i,\n /^JL/i,\n /^AG/i,\n /^ST/i,\n /^OC/i,\n /^NV/i,\n /^DS/i],\n\n abbreviated: [\n /^gen./i,\n /^febr./i,\n /^març/i,\n /^abr./i,\n /^maig/i,\n /^juny/i,\n /^jul./i,\n /^ag./i,\n /^set./i,\n /^oct./i,\n /^nov./i,\n /^des./i],\n\n wide: [\n /^gener/i,\n /^febrer/i,\n /^març/i,\n /^abril/i,\n /^maig/i,\n /^juny/i,\n /^juliol/i,\n /^agost/i,\n /^setembre/i,\n /^octubre/i,\n /^novembre/i,\n /^desembre/i]\n\n };\n var matchDayPatterns = {\n narrow: /^(dg\\.|dl\\.|dt\\.|dm\\.|dj\\.|dv\\.|ds\\.)/i,\n short: /^(dg\\.|dl\\.|dt\\.|dm\\.|dj\\.|dv\\.|ds\\.)/i,\n abbreviated: /^(dg\\.|dl\\.|dt\\.|dm\\.|dj\\.|dv\\.|ds\\.)/i,\n wide: /^(diumenge|dilluns|dimarts|dimecres|dijous|divendres|dissabte)/i\n };\n var parseDayPatterns = {\n narrow: [/^dg./i, /^dl./i, /^dt./i, /^dm./i, /^dj./i, /^dv./i, /^ds./i],\n abbreviated: [/^dg./i, /^dl./i, /^dt./i, /^dm./i, /^dj./i, /^dv./i, /^ds./i],\n wide: [\n /^diumenge/i,\n /^dilluns/i,\n /^dimarts/i,\n /^dimecres/i,\n /^dijous/i,\n /^divendres/i,\n /^disssabte/i]\n\n };\n var matchDayPeriodPatterns = {\n narrow: /^(a|p|mn|md|(del|de la) (matí|tarda|vespre|nit))/i,\n abbreviated: /^([ap]\\.?\\s?m\\.?|mitjanit|migdia|(del|de la) (matí|tarda|vespre|nit))/i,\n wide: /^(ante meridiem|post meridiem|mitjanit|migdia|(del|de la) (matí|tarda|vespre|nit))/i\n };\n var parseDayPeriodPatterns = {\n any: {\n am: /^a/i,\n pm: /^p/i,\n midnight: /^mitjanit/i,\n noon: /^migdia/i,\n morning: /matí/i,\n afternoon: /tarda/i,\n evening: /vespre/i,\n night: /nit/i\n }\n };\n var match = {\n ordinalNumber: buildMatchPatternFn({\n matchPattern: matchOrdinalNumberPattern,\n parsePattern: parseOrdinalNumberPattern,\n valueCallback: function valueCallback(value) {return parseInt(value, 10);}\n }),\n era: buildMatchFn({\n matchPatterns: matchEraPatterns,\n defaultMatchWidth: \"wide\",\n parsePatterns: parseEraPatterns,\n defaultParseWidth: \"wide\"\n }),\n quarter: buildMatchFn({\n matchPatterns: matchQuarterPatterns,\n defaultMatchWidth: \"wide\",\n parsePatterns: parseQuarterPatterns,\n defaultParseWidth: \"any\",\n valueCallback: function valueCallback(index) {return index + 1;}\n }),\n month: buildMatchFn({\n matchPatterns: matchMonthPatterns,\n defaultMatchWidth: \"wide\",\n parsePatterns: parseMonthPatterns,\n defaultParseWidth: \"wide\"\n }),\n day: buildMatchFn({\n matchPatterns: matchDayPatterns,\n defaultMatchWidth: \"wide\",\n parsePatterns: parseDayPatterns,\n defaultParseWidth: \"wide\"\n }),\n dayPeriod: buildMatchFn({\n matchPatterns: matchDayPeriodPatterns,\n defaultMatchWidth: \"wide\",\n parsePatterns: parseDayPeriodPatterns,\n defaultParseWidth: \"any\"\n })\n };\n\n // lib/locale/ca.mjs\n var ca = {\n code: \"ca\",\n formatDistance: formatDistance,\n formatLong: formatLong,\n formatRelative: formatRelative,\n localize: localize,\n match: match,\n options: {\n weekStartsOn: 1,\n firstWeekContainsDate: 4\n }\n };\n\n // lib/locale/ca/cdn.js\n window.dateFns = _objectSpread(_objectSpread({},\n window.dateFns), {}, {\n locale: _objectSpread(_objectSpread({}, (_window$dateFns =\n window.dateFns) === null || _window$dateFns === void 0 ? void 0 : _window$dateFns.locale), {}, {\n ca: ca }) });\n\n\n\n //# debugId=03DC9410A82E379164756e2164756e21\n})();\n\n//# sourceMappingURL=cdn.js.map"
|
6 |
+
],
|
7 |
+
"mappings": "AAAA,IAAS,UAAO,CAAC,EAAG,CAA2B,OAAO,SAA+B,QAArB,mBAAkD,OAAO,UAA1B,iBAA8C,CAAC,EAAG,CAAC,cAAc,WAAe,CAAC,EAAG,CAAC,OAAO,UAA0B,QAArB,YAA+B,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
|
workers1/auto3d/node_modules/date-fns/locale/cdn.js
ADDED
The diff for this file is too large to render.
See raw diff
|
|
workers1/auto3d/node_modules/date-fns/locale/cdn.js.map
ADDED
The diff for this file is too large to render.
See raw diff
|
|
workers1/auto3d/node_modules/date-fns/locale/cdn.min.js
ADDED
The diff for this file is too large to render.
See raw diff
|
|
workers1/auto3d/node_modules/date-fns/locale/cdn.min.js.map
ADDED
The diff for this file is too large to render.
See raw diff
|
|
workers1/auto3d/node_modules/date-fns/locale/ckb/_lib/formatDistance.d.mts
ADDED
@@ -0,0 +1,2 @@
|
|
|
|
|
|
|
1 |
+
import type { FormatDistanceFn } from "../../types.js";
|
2 |
+
export declare const formatDistance: FormatDistanceFn;
|
workers1/auto3d/node_modules/date-fns/locale/ckb/_lib/formatDistance.d.ts
ADDED
@@ -0,0 +1,2 @@
|
|
|
|
|
|
|
1 |
+
import type { FormatDistanceFn } from "../../types.js";
|
2 |
+
export declare const formatDistance: FormatDistanceFn;
|
workers1/auto3d/node_modules/date-fns/locale/ckb/_lib/formatDistance.js
ADDED
@@ -0,0 +1,105 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
"use strict";
|
2 |
+
exports.formatDistance = void 0;
|
3 |
+
|
4 |
+
const formatDistanceLocale = {
|
5 |
+
lessThanXSeconds: {
|
6 |
+
one: "کەمتر لە یەک چرکە",
|
7 |
+
other: "کەمتر لە {{count}} چرکە",
|
8 |
+
},
|
9 |
+
|
10 |
+
xSeconds: {
|
11 |
+
one: "1 چرکە",
|
12 |
+
other: "{{count}} چرکە",
|
13 |
+
},
|
14 |
+
|
15 |
+
halfAMinute: "نیو کاتژمێر",
|
16 |
+
|
17 |
+
lessThanXMinutes: {
|
18 |
+
one: "کەمتر لە یەک خولەک",
|
19 |
+
other: "کەمتر لە {{count}} خولەک",
|
20 |
+
},
|
21 |
+
|
22 |
+
xMinutes: {
|
23 |
+
one: "1 خولەک",
|
24 |
+
other: "{{count}} خولەک",
|
25 |
+
},
|
26 |
+
|
27 |
+
aboutXHours: {
|
28 |
+
one: "دەوروبەری 1 کاتژمێر",
|
29 |
+
other: "دەوروبەری {{count}} کاتژمێر",
|
30 |
+
},
|
31 |
+
|
32 |
+
xHours: {
|
33 |
+
one: "1 کاتژمێر",
|
34 |
+
other: "{{count}} کاتژمێر",
|
35 |
+
},
|
36 |
+
|
37 |
+
xDays: {
|
38 |
+
one: "1 ڕۆژ",
|
39 |
+
other: "{{count}} ژۆژ",
|
40 |
+
},
|
41 |
+
|
42 |
+
aboutXWeeks: {
|
43 |
+
one: "دەوروبەری 1 هەفتە",
|
44 |
+
other: "دوروبەری {{count}} هەفتە",
|
45 |
+
},
|
46 |
+
|
47 |
+
xWeeks: {
|
48 |
+
one: "1 هەفتە",
|
49 |
+
other: "{{count}} هەفتە",
|
50 |
+
},
|
51 |
+
|
52 |
+
aboutXMonths: {
|
53 |
+
one: "داوروبەری 1 مانگ",
|
54 |
+
other: "دەوروبەری {{count}} مانگ",
|
55 |
+
},
|
56 |
+
|
57 |
+
xMonths: {
|
58 |
+
one: "1 مانگ",
|
59 |
+
other: "{{count}} مانگ",
|
60 |
+
},
|
61 |
+
|
62 |
+
aboutXYears: {
|
63 |
+
one: "دەوروبەری 1 ساڵ",
|
64 |
+
other: "دەوروبەری {{count}} ساڵ",
|
65 |
+
},
|
66 |
+
|
67 |
+
xYears: {
|
68 |
+
one: "1 ساڵ",
|
69 |
+
other: "{{count}} ساڵ",
|
70 |
+
},
|
71 |
+
|
72 |
+
overXYears: {
|
73 |
+
one: "زیاتر لە ساڵێک",
|
74 |
+
other: "زیاتر لە {{count}} ساڵ",
|
75 |
+
},
|
76 |
+
|
77 |
+
almostXYears: {
|
78 |
+
one: "بەنزیکەیی ساڵێک ",
|
79 |
+
other: "بەنزیکەیی {{count}} ساڵ",
|
80 |
+
},
|
81 |
+
};
|
82 |
+
|
83 |
+
const formatDistance = (token, count, options) => {
|
84 |
+
let result;
|
85 |
+
|
86 |
+
const tokenValue = formatDistanceLocale[token];
|
87 |
+
if (typeof tokenValue === "string") {
|
88 |
+
result = tokenValue;
|
89 |
+
} else if (count === 1) {
|
90 |
+
result = tokenValue.one;
|
91 |
+
} else {
|
92 |
+
result = tokenValue.other.replace("{{count}}", count.toString());
|
93 |
+
}
|
94 |
+
|
95 |
+
if (options?.addSuffix) {
|
96 |
+
if (options.comparison && options.comparison > 0) {
|
97 |
+
return "لە ماوەی " + result + "دا";
|
98 |
+
} else {
|
99 |
+
return result + "پێش ئێستا";
|
100 |
+
}
|
101 |
+
}
|
102 |
+
|
103 |
+
return result;
|
104 |
+
};
|
105 |
+
exports.formatDistance = formatDistance;
|
workers1/auto3d/node_modules/date-fns/locale/ckb/_lib/formatDistance.mjs
ADDED
@@ -0,0 +1,101 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
const formatDistanceLocale = {
|
2 |
+
lessThanXSeconds: {
|
3 |
+
one: "کەمتر لە یەک چرکە",
|
4 |
+
other: "کەمتر لە {{count}} چرکە",
|
5 |
+
},
|
6 |
+
|
7 |
+
xSeconds: {
|
8 |
+
one: "1 چرکە",
|
9 |
+
other: "{{count}} چرکە",
|
10 |
+
},
|
11 |
+
|
12 |
+
halfAMinute: "نیو کاتژمێر",
|
13 |
+
|
14 |
+
lessThanXMinutes: {
|
15 |
+
one: "کەمتر لە یەک خولەک",
|
16 |
+
other: "کەمتر لە {{count}} خولەک",
|
17 |
+
},
|
18 |
+
|
19 |
+
xMinutes: {
|
20 |
+
one: "1 خولەک",
|
21 |
+
other: "{{count}} خولەک",
|
22 |
+
},
|
23 |
+
|
24 |
+
aboutXHours: {
|
25 |
+
one: "دەوروبەری 1 کاتژمێر",
|
26 |
+
other: "دەوروبەری {{count}} کاتژمێر",
|
27 |
+
},
|
28 |
+
|
29 |
+
xHours: {
|
30 |
+
one: "1 کاتژمێر",
|
31 |
+
other: "{{count}} کاتژمێر",
|
32 |
+
},
|
33 |
+
|
34 |
+
xDays: {
|
35 |
+
one: "1 ڕۆژ",
|
36 |
+
other: "{{count}} ژۆژ",
|
37 |
+
},
|
38 |
+
|
39 |
+
aboutXWeeks: {
|
40 |
+
one: "دەوروبەری 1 هەفتە",
|
41 |
+
other: "دوروبەری {{count}} هەفتە",
|
42 |
+
},
|
43 |
+
|
44 |
+
xWeeks: {
|
45 |
+
one: "1 هەفتە",
|
46 |
+
other: "{{count}} هەفتە",
|
47 |
+
},
|
48 |
+
|
49 |
+
aboutXMonths: {
|
50 |
+
one: "داوروبەری 1 مانگ",
|
51 |
+
other: "دەوروبەری {{count}} مانگ",
|
52 |
+
},
|
53 |
+
|
54 |
+
xMonths: {
|
55 |
+
one: "1 مانگ",
|
56 |
+
other: "{{count}} مانگ",
|
57 |
+
},
|
58 |
+
|
59 |
+
aboutXYears: {
|
60 |
+
one: "دەوروبەری 1 ساڵ",
|
61 |
+
other: "دەوروبەری {{count}} ساڵ",
|
62 |
+
},
|
63 |
+
|
64 |
+
xYears: {
|
65 |
+
one: "1 ساڵ",
|
66 |
+
other: "{{count}} ساڵ",
|
67 |
+
},
|
68 |
+
|
69 |
+
overXYears: {
|
70 |
+
one: "زیاتر لە ساڵێک",
|
71 |
+
other: "زیاتر لە {{count}} ساڵ",
|
72 |
+
},
|
73 |
+
|
74 |
+
almostXYears: {
|
75 |
+
one: "بەنزیکەیی ساڵێک ",
|
76 |
+
other: "بەنزیکەیی {{count}} ساڵ",
|
77 |
+
},
|
78 |
+
};
|
79 |
+
|
80 |
+
export const formatDistance = (token, count, options) => {
|
81 |
+
let result;
|
82 |
+
|
83 |
+
const tokenValue = formatDistanceLocale[token];
|
84 |
+
if (typeof tokenValue === "string") {
|
85 |
+
result = tokenValue;
|
86 |
+
} else if (count === 1) {
|
87 |
+
result = tokenValue.one;
|
88 |
+
} else {
|
89 |
+
result = tokenValue.other.replace("{{count}}", count.toString());
|
90 |
+
}
|
91 |
+
|
92 |
+
if (options?.addSuffix) {
|
93 |
+
if (options.comparison && options.comparison > 0) {
|
94 |
+
return "لە ماوەی " + result + "دا";
|
95 |
+
} else {
|
96 |
+
return result + "پێش ئێستا";
|
97 |
+
}
|
98 |
+
}
|
99 |
+
|
100 |
+
return result;
|
101 |
+
};
|
workers1/auto3d/node_modules/date-fns/locale/ckb/_lib/formatLong.d.mts
ADDED
@@ -0,0 +1,2 @@
|
|
|
|
|
|
|
1 |
+
import type { FormatLong } from "../../types.js";
|
2 |
+
export declare const formatLong: FormatLong;
|
workers1/auto3d/node_modules/date-fns/locale/ckb/_lib/formatLong.d.ts
ADDED
@@ -0,0 +1,2 @@
|
|
|
|
|
|
|
1 |
+
import type { FormatLong } from "../../types.js";
|
2 |
+
export declare const formatLong: FormatLong;
|
workers1/auto3d/node_modules/date-fns/locale/ckb/_lib/formatLong.js
ADDED
@@ -0,0 +1,41 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
"use strict";
|
2 |
+
exports.formatLong = void 0;
|
3 |
+
var _index = require("../../_lib/buildFormatLongFn.js");
|
4 |
+
|
5 |
+
const dateFormats = {
|
6 |
+
full: "EEEE, MMMM do, y",
|
7 |
+
long: "MMMM do, y",
|
8 |
+
medium: "MMM d, y",
|
9 |
+
short: "MM/dd/yyyy",
|
10 |
+
};
|
11 |
+
|
12 |
+
const timeFormats = {
|
13 |
+
full: "h:mm:ss a zzzz",
|
14 |
+
long: "h:mm:ss a z",
|
15 |
+
medium: "h:mm:ss a",
|
16 |
+
short: "h:mm a",
|
17 |
+
};
|
18 |
+
|
19 |
+
const dateTimeFormats = {
|
20 |
+
full: "{{date}} 'کاتژمێر' {{time}}",
|
21 |
+
long: "{{date}} 'کاتژمێر' {{time}}",
|
22 |
+
medium: "{{date}}, {{time}}",
|
23 |
+
short: "{{date}}, {{time}}",
|
24 |
+
};
|
25 |
+
|
26 |
+
const formatLong = (exports.formatLong = {
|
27 |
+
date: (0, _index.buildFormatLongFn)({
|
28 |
+
formats: dateFormats,
|
29 |
+
defaultWidth: "full",
|
30 |
+
}),
|
31 |
+
|
32 |
+
time: (0, _index.buildFormatLongFn)({
|
33 |
+
formats: timeFormats,
|
34 |
+
defaultWidth: "full",
|
35 |
+
}),
|
36 |
+
|
37 |
+
dateTime: (0, _index.buildFormatLongFn)({
|
38 |
+
formats: dateTimeFormats,
|
39 |
+
defaultWidth: "full",
|
40 |
+
}),
|
41 |
+
});
|
workers1/auto3d/node_modules/date-fns/locale/ckb/_lib/formatLong.mjs
ADDED
@@ -0,0 +1,39 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
import { buildFormatLongFn } from "../../_lib/buildFormatLongFn.mjs";
|
2 |
+
|
3 |
+
const dateFormats = {
|
4 |
+
full: "EEEE, MMMM do, y",
|
5 |
+
long: "MMMM do, y",
|
6 |
+
medium: "MMM d, y",
|
7 |
+
short: "MM/dd/yyyy",
|
8 |
+
};
|
9 |
+
|
10 |
+
const timeFormats = {
|
11 |
+
full: "h:mm:ss a zzzz",
|
12 |
+
long: "h:mm:ss a z",
|
13 |
+
medium: "h:mm:ss a",
|
14 |
+
short: "h:mm a",
|
15 |
+
};
|
16 |
+
|
17 |
+
const dateTimeFormats = {
|
18 |
+
full: "{{date}} 'کاتژمێر' {{time}}",
|
19 |
+
long: "{{date}} 'کاتژمێر' {{time}}",
|
20 |
+
medium: "{{date}}, {{time}}",
|
21 |
+
short: "{{date}}, {{time}}",
|
22 |
+
};
|
23 |
+
|
24 |
+
export const formatLong = {
|
25 |
+
date: buildFormatLongFn({
|
26 |
+
formats: dateFormats,
|
27 |
+
defaultWidth: "full",
|
28 |
+
}),
|
29 |
+
|
30 |
+
time: buildFormatLongFn({
|
31 |
+
formats: timeFormats,
|
32 |
+
defaultWidth: "full",
|
33 |
+
}),
|
34 |
+
|
35 |
+
dateTime: buildFormatLongFn({
|
36 |
+
formats: dateTimeFormats,
|
37 |
+
defaultWidth: "full",
|
38 |
+
}),
|
39 |
+
};
|
workers1/auto3d/node_modules/date-fns/locale/ckb/_lib/formatRelative.d.mts
ADDED
@@ -0,0 +1,2 @@
|
|
|
|
|
|
|
1 |
+
import type { FormatRelativeFn } from "../../types.js";
|
2 |
+
export declare const formatRelative: FormatRelativeFn;
|
workers1/auto3d/node_modules/date-fns/locale/ckb/_lib/formatRelative.d.ts
ADDED
@@ -0,0 +1,2 @@
|
|
|
|
|
|
|
1 |
+
import type { FormatRelativeFn } from "../../types.js";
|
2 |
+
export declare const formatRelative: FormatRelativeFn;
|
workers1/auto3d/node_modules/date-fns/locale/ckb/_lib/formatRelative.js
ADDED
@@ -0,0 +1,15 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
"use strict";
|
2 |
+
exports.formatRelative = void 0;
|
3 |
+
|
4 |
+
const formatRelativeLocale = {
|
5 |
+
lastWeek: "'هەفتەی ڕابردوو' eeee 'کاتژمێر' p",
|
6 |
+
yesterday: "'دوێنێ کاتژمێر' p",
|
7 |
+
today: "'ئەمڕۆ کاتژمێر' p",
|
8 |
+
tomorrow: "'بەیانی کاتژمێر' p",
|
9 |
+
nextWeek: "eeee 'کاتژمێر' p",
|
10 |
+
other: "P",
|
11 |
+
};
|
12 |
+
|
13 |
+
const formatRelative = (token, _date, _baseDate, _options) =>
|
14 |
+
formatRelativeLocale[token];
|
15 |
+
exports.formatRelative = formatRelative;
|
workers1/auto3d/node_modules/date-fns/locale/ckb/_lib/formatRelative.mjs
ADDED
@@ -0,0 +1,11 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
const formatRelativeLocale = {
|
2 |
+
lastWeek: "'هەفتەی ڕابردوو' eeee 'کاتژمێر' p",
|
3 |
+
yesterday: "'دوێنێ کاتژمێر' p",
|
4 |
+
today: "'ئەمڕۆ کاتژمێر' p",
|
5 |
+
tomorrow: "'بەیانی کاتژمێر' p",
|
6 |
+
nextWeek: "eeee 'کاتژمێر' p",
|
7 |
+
other: "P",
|
8 |
+
};
|
9 |
+
|
10 |
+
export const formatRelative = (token, _date, _baseDate, _options) =>
|
11 |
+
formatRelativeLocale[token];
|
workers1/auto3d/node_modules/date-fns/locale/ckb/_lib/localize.d.mts
ADDED
@@ -0,0 +1,2 @@
|
|
|
|
|
|
|
1 |
+
import type { Localize } from "../../types.js";
|
2 |
+
export declare const localize: Localize;
|
workers1/auto3d/node_modules/date-fns/locale/ckb/_lib/localize.d.ts
ADDED
@@ -0,0 +1,2 @@
|
|
|
|
|
|
|
1 |
+
import type { Localize } from "../../types.js";
|
2 |
+
export declare const localize: Localize;
|
workers1/auto3d/node_modules/date-fns/locale/ckb/_lib/localize.js
ADDED
@@ -0,0 +1,193 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
"use strict";
|
2 |
+
exports.localize = void 0;
|
3 |
+
|
4 |
+
var _index = require("../../_lib/buildLocalizeFn.js");
|
5 |
+
|
6 |
+
const eraValues = {
|
7 |
+
narrow: ["پ", "د"],
|
8 |
+
abbreviated: ["پ-ز", "د-ز"],
|
9 |
+
wide: ["پێش زاین", "دوای زاین"],
|
10 |
+
};
|
11 |
+
|
12 |
+
const quarterValues = {
|
13 |
+
narrow: ["1", "2", "3", "4"],
|
14 |
+
abbreviated: ["چ1م", "چ2م", "چ3م", "چ4م"],
|
15 |
+
wide: ["چارەگی یەکەم", "چارەگی دووەم", "چارەگی سێیەم", "چارەگی چوارەم"],
|
16 |
+
};
|
17 |
+
|
18 |
+
// Note: in English, the names of days of the week and months are capitalized.
|
19 |
+
// If you are making a new locale based on this one, check if the same is true for the language you're working on.
|
20 |
+
// Generally, formatted dates should look like they are in the middle of a sentence,
|
21 |
+
// e.g. in Spanish language the weekdays and months should be in the lowercase.
|
22 |
+
const monthValues = {
|
23 |
+
narrow: [
|
24 |
+
"ک-د",
|
25 |
+
"ش",
|
26 |
+
"ئا",
|
27 |
+
"ن",
|
28 |
+
"م",
|
29 |
+
"ح",
|
30 |
+
"ت",
|
31 |
+
"ئا",
|
32 |
+
"ئە",
|
33 |
+
"تش-ی",
|
34 |
+
"تش-د",
|
35 |
+
"ک-ی",
|
36 |
+
],
|
37 |
+
|
38 |
+
abbreviated: [
|
39 |
+
"کان-دوو",
|
40 |
+
"شوب",
|
41 |
+
"ئاد",
|
42 |
+
"نیس",
|
43 |
+
"مایس",
|
44 |
+
"حوز",
|
45 |
+
"تەم",
|
46 |
+
"ئاب",
|
47 |
+
"ئەل",
|
48 |
+
"تش-یەک",
|
49 |
+
"تش-دوو",
|
50 |
+
"کان-یەک",
|
51 |
+
],
|
52 |
+
|
53 |
+
wide: [
|
54 |
+
"کانوونی دووەم",
|
55 |
+
"شوبات",
|
56 |
+
"ئادار",
|
57 |
+
"نیسان",
|
58 |
+
"مایس",
|
59 |
+
"حوزەیران",
|
60 |
+
"تەمموز",
|
61 |
+
"ئاب",
|
62 |
+
"ئەیلول",
|
63 |
+
"تشرینی یەکەم",
|
64 |
+
"تشرینی دووەم",
|
65 |
+
"کانوونی یەکەم",
|
66 |
+
],
|
67 |
+
};
|
68 |
+
|
69 |
+
const dayValues = {
|
70 |
+
narrow: ["ی-ش", "د-ش", "س-ش", "چ-ش", "پ-ش", "هە", "ش"],
|
71 |
+
short: ["یە-شە", "دوو-شە", "سێ-شە", "چو-شە", "پێ-شە", "هەی", "شە"],
|
72 |
+
abbreviated: [
|
73 |
+
"یەک-شەم",
|
74 |
+
"دوو-شەم",
|
75 |
+
"سێ-شەم",
|
76 |
+
"چوار-شەم",
|
77 |
+
"پێنج-شەم",
|
78 |
+
"هەینی",
|
79 |
+
"شەمە",
|
80 |
+
],
|
81 |
+
|
82 |
+
wide: [
|
83 |
+
"یەک شەمە",
|
84 |
+
"دوو شەمە",
|
85 |
+
"سێ شەمە",
|
86 |
+
"چوار شەمە",
|
87 |
+
"پێنج شەمە",
|
88 |
+
"هەینی",
|
89 |
+
"شەمە",
|
90 |
+
],
|
91 |
+
};
|
92 |
+
|
93 |
+
const dayPeriodValues = {
|
94 |
+
narrow: {
|
95 |
+
am: "پ",
|
96 |
+
pm: "د",
|
97 |
+
midnight: "ن-ش",
|
98 |
+
noon: "ن",
|
99 |
+
morning: "بەیانی",
|
100 |
+
afternoon: "دوای نیوەڕۆ",
|
101 |
+
evening: "ئێوارە",
|
102 |
+
night: "شەو",
|
103 |
+
},
|
104 |
+
abbreviated: {
|
105 |
+
am: "پ-ن",
|
106 |
+
pm: "د-ن",
|
107 |
+
midnight: "نیوە شەو",
|
108 |
+
noon: "نیوەڕۆ",
|
109 |
+
morning: "بەیانی",
|
110 |
+
afternoon: "دوای نیوەڕۆ",
|
111 |
+
evening: "ئێوارە",
|
112 |
+
night: "شەو",
|
113 |
+
},
|
114 |
+
wide: {
|
115 |
+
am: "پێش نیوەڕۆ",
|
116 |
+
pm: "دوای نیوەڕۆ",
|
117 |
+
midnight: "نیوە شەو",
|
118 |
+
noon: "نیوەڕۆ",
|
119 |
+
morning: "بەیانی",
|
120 |
+
afternoon: "دوای نیوەڕۆ",
|
121 |
+
evening: "ئێوارە",
|
122 |
+
night: "شەو",
|
123 |
+
},
|
124 |
+
};
|
125 |
+
|
126 |
+
const formattingDayPeriodValues = {
|
127 |
+
narrow: {
|
128 |
+
am: "پ",
|
129 |
+
pm: "د",
|
130 |
+
midnight: "ن-ش",
|
131 |
+
noon: "ن",
|
132 |
+
morning: "لە بەیانیدا",
|
133 |
+
afternoon: "لە دوای نیوەڕۆدا",
|
134 |
+
evening: "لە ئێوارەدا",
|
135 |
+
night: "لە شەودا",
|
136 |
+
},
|
137 |
+
abbreviated: {
|
138 |
+
am: "پ-ن",
|
139 |
+
pm: "د-ن",
|
140 |
+
midnight: "نیوە شەو",
|
141 |
+
noon: "نیوەڕۆ",
|
142 |
+
morning: "لە بەیانیدا",
|
143 |
+
afternoon: "لە دوای نیوەڕۆدا",
|
144 |
+
evening: "لە ئێوارەدا",
|
145 |
+
night: "لە شەودا",
|
146 |
+
},
|
147 |
+
wide: {
|
148 |
+
am: "پێش نیوەڕۆ",
|
149 |
+
pm: "دوای نیوەڕۆ",
|
150 |
+
midnight: "نیوە شەو",
|
151 |
+
noon: "نیوەڕۆ",
|
152 |
+
morning: "لە بەیانیدا",
|
153 |
+
afternoon: "لە دوای نیوەڕۆدا",
|
154 |
+
evening: "لە ئێوارەدا",
|
155 |
+
night: "لە شەودا",
|
156 |
+
},
|
157 |
+
};
|
158 |
+
|
159 |
+
const ordinalNumber = (dirtyNumber, _options) => {
|
160 |
+
return String(dirtyNumber);
|
161 |
+
};
|
162 |
+
|
163 |
+
const localize = (exports.localize = {
|
164 |
+
ordinalNumber,
|
165 |
+
|
166 |
+
era: (0, _index.buildLocalizeFn)({
|
167 |
+
values: eraValues,
|
168 |
+
defaultWidth: "wide",
|
169 |
+
}),
|
170 |
+
|
171 |
+
quarter: (0, _index.buildLocalizeFn)({
|
172 |
+
values: quarterValues,
|
173 |
+
defaultWidth: "wide",
|
174 |
+
argumentCallback: (quarter) => quarter - 1,
|
175 |
+
}),
|
176 |
+
|
177 |
+
month: (0, _index.buildLocalizeFn)({
|
178 |
+
values: monthValues,
|
179 |
+
defaultWidth: "wide",
|
180 |
+
}),
|
181 |
+
|
182 |
+
day: (0, _index.buildLocalizeFn)({
|
183 |
+
values: dayValues,
|
184 |
+
defaultWidth: "wide",
|
185 |
+
}),
|
186 |
+
|
187 |
+
dayPeriod: (0, _index.buildLocalizeFn)({
|
188 |
+
values: dayPeriodValues,
|
189 |
+
defaultWidth: "wide",
|
190 |
+
formattingValues: formattingDayPeriodValues,
|
191 |
+
defaultFormattingWidth: "wide",
|
192 |
+
}),
|
193 |
+
});
|
workers1/auto3d/node_modules/date-fns/locale/ckb/_lib/localize.mjs
ADDED
@@ -0,0 +1,190 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
import { buildLocalizeFn } from "../../_lib/buildLocalizeFn.mjs";
|
2 |
+
|
3 |
+
const eraValues = {
|
4 |
+
narrow: ["پ", "د"],
|
5 |
+
abbreviated: ["پ-ز", "د-ز"],
|
6 |
+
wide: ["پێش زاین", "دوای زاین"],
|
7 |
+
};
|
8 |
+
|
9 |
+
const quarterValues = {
|
10 |
+
narrow: ["1", "2", "3", "4"],
|
11 |
+
abbreviated: ["چ1م", "چ2م", "چ3م", "چ4م"],
|
12 |
+
wide: ["چارەگی یەکەم", "چارەگی دووەم", "چارەگی سێیەم", "چارەگی چوارەم"],
|
13 |
+
};
|
14 |
+
|
15 |
+
// Note: in English, the names of days of the week and months are capitalized.
|
16 |
+
// If you are making a new locale based on this one, check if the same is true for the language you're working on.
|
17 |
+
// Generally, formatted dates should look like they are in the middle of a sentence,
|
18 |
+
// e.g. in Spanish language the weekdays and months should be in the lowercase.
|
19 |
+
const monthValues = {
|
20 |
+
narrow: [
|
21 |
+
"ک-د",
|
22 |
+
"ش",
|
23 |
+
"ئا",
|
24 |
+
"ن",
|
25 |
+
"م",
|
26 |
+
"ح",
|
27 |
+
"ت",
|
28 |
+
"ئا",
|
29 |
+
"ئە",
|
30 |
+
"تش-ی",
|
31 |
+
"تش-د",
|
32 |
+
"ک-ی",
|
33 |
+
],
|
34 |
+
|
35 |
+
abbreviated: [
|
36 |
+
"کان-دوو",
|
37 |
+
"شوب",
|
38 |
+
"ئاد",
|
39 |
+
"نیس",
|
40 |
+
"مایس",
|
41 |
+
"حوز",
|
42 |
+
"تەم",
|
43 |
+
"ئاب",
|
44 |
+
"ئەل",
|
45 |
+
"تش-یەک",
|
46 |
+
"تش-دوو",
|
47 |
+
"کان-یەک",
|
48 |
+
],
|
49 |
+
|
50 |
+
wide: [
|
51 |
+
"کانوونی دووەم",
|
52 |
+
"شوبات",
|
53 |
+
"ئادار",
|
54 |
+
"نیسان",
|
55 |
+
"مایس",
|
56 |
+
"حوزەیران",
|
57 |
+
"تەمموز",
|
58 |
+
"ئاب",
|
59 |
+
"ئەیلول",
|
60 |
+
"تشرینی یەکەم",
|
61 |
+
"تشرینی دووەم",
|
62 |
+
"کانوونی یەکەم",
|
63 |
+
],
|
64 |
+
};
|
65 |
+
|
66 |
+
const dayValues = {
|
67 |
+
narrow: ["ی-ش", "د-ش", "س-ش", "چ-ش", "پ-ش", "هە", "ش"],
|
68 |
+
short: ["یە-شە", "دوو-شە", "سێ-شە", "چو-شە", "پێ-شە", "هەی", "شە"],
|
69 |
+
abbreviated: [
|
70 |
+
"یەک-شەم",
|
71 |
+
"دوو-شەم",
|
72 |
+
"سێ-شەم",
|
73 |
+
"چوار-شەم",
|
74 |
+
"پێنج-شەم",
|
75 |
+
"هەینی",
|
76 |
+
"شەمە",
|
77 |
+
],
|
78 |
+
|
79 |
+
wide: [
|
80 |
+
"یەک شەمە",
|
81 |
+
"دوو شەمە",
|
82 |
+
"سێ شەمە",
|
83 |
+
"چوار شەمە",
|
84 |
+
"پێنج شەمە",
|
85 |
+
"هەینی",
|
86 |
+
"شەمە",
|
87 |
+
],
|
88 |
+
};
|
89 |
+
|
90 |
+
const dayPeriodValues = {
|
91 |
+
narrow: {
|
92 |
+
am: "پ",
|
93 |
+
pm: "د",
|
94 |
+
midnight: "ن-ش",
|
95 |
+
noon: "ن",
|
96 |
+
morning: "بەیانی",
|
97 |
+
afternoon: "دوای نیوەڕۆ",
|
98 |
+
evening: "ئێوارە",
|
99 |
+
night: "شەو",
|
100 |
+
},
|
101 |
+
abbreviated: {
|
102 |
+
am: "پ-ن",
|
103 |
+
pm: "د-ن",
|
104 |
+
midnight: "نیوە شەو",
|
105 |
+
noon: "نیوەڕۆ",
|
106 |
+
morning: "بەیانی",
|
107 |
+
afternoon: "دوای نیوەڕۆ",
|
108 |
+
evening: "ئێوارە",
|
109 |
+
night: "شەو",
|
110 |
+
},
|
111 |
+
wide: {
|
112 |
+
am: "پێش نیوەڕۆ",
|
113 |
+
pm: "دوای نیوەڕۆ",
|
114 |
+
midnight: "نیوە شەو",
|
115 |
+
noon: "نیوەڕۆ",
|
116 |
+
morning: "بەیانی",
|
117 |
+
afternoon: "دوای نیوەڕۆ",
|
118 |
+
evening: "ئێوارە",
|
119 |
+
night: "شەو",
|
120 |
+
},
|
121 |
+
};
|
122 |
+
|
123 |
+
const formattingDayPeriodValues = {
|
124 |
+
narrow: {
|
125 |
+
am: "پ",
|
126 |
+
pm: "د",
|
127 |
+
midnight: "ن-ش",
|
128 |
+
noon: "ن",
|
129 |
+
morning: "لە بەیانیدا",
|
130 |
+
afternoon: "لە دوای نیوەڕۆدا",
|
131 |
+
evening: "لە ئێوارەدا",
|
132 |
+
night: "لە شەودا",
|
133 |
+
},
|
134 |
+
abbreviated: {
|
135 |
+
am: "پ-ن",
|
136 |
+
pm: "د-ن",
|
137 |
+
midnight: "نیوە شەو",
|
138 |
+
noon: "نیوەڕۆ",
|
139 |
+
morning: "لە بەیانیدا",
|
140 |
+
afternoon: "لە دوای نیوەڕۆدا",
|
141 |
+
evening: "لە ئێوارەدا",
|
142 |
+
night: "لە شەودا",
|
143 |
+
},
|
144 |
+
wide: {
|
145 |
+
am: "پێش نیوەڕۆ",
|
146 |
+
pm: "دوای نیوەڕۆ",
|
147 |
+
midnight: "نیوە شەو",
|
148 |
+
noon: "نیوەڕۆ",
|
149 |
+
morning: "لە بەیانیدا",
|
150 |
+
afternoon: "لە دوای نیوەڕۆدا",
|
151 |
+
evening: "لە ئێوارەدا",
|
152 |
+
night: "لە شەودا",
|
153 |
+
},
|
154 |
+
};
|
155 |
+
|
156 |
+
const ordinalNumber = (dirtyNumber, _options) => {
|
157 |
+
return String(dirtyNumber);
|
158 |
+
};
|
159 |
+
|
160 |
+
export const localize = {
|
161 |
+
ordinalNumber,
|
162 |
+
|
163 |
+
era: buildLocalizeFn({
|
164 |
+
values: eraValues,
|
165 |
+
defaultWidth: "wide",
|
166 |
+
}),
|
167 |
+
|
168 |
+
quarter: buildLocalizeFn({
|
169 |
+
values: quarterValues,
|
170 |
+
defaultWidth: "wide",
|
171 |
+
argumentCallback: (quarter) => quarter - 1,
|
172 |
+
}),
|
173 |
+
|
174 |
+
month: buildLocalizeFn({
|
175 |
+
values: monthValues,
|
176 |
+
defaultWidth: "wide",
|
177 |
+
}),
|
178 |
+
|
179 |
+
day: buildLocalizeFn({
|
180 |
+
values: dayValues,
|
181 |
+
defaultWidth: "wide",
|
182 |
+
}),
|
183 |
+
|
184 |
+
dayPeriod: buildLocalizeFn({
|
185 |
+
values: dayPeriodValues,
|
186 |
+
defaultWidth: "wide",
|
187 |
+
formattingValues: formattingDayPeriodValues,
|
188 |
+
defaultFormattingWidth: "wide",
|
189 |
+
}),
|
190 |
+
};
|
workers1/auto3d/node_modules/date-fns/locale/ckb/_lib/match.d.mts
ADDED
@@ -0,0 +1,2 @@
|
|
|
|
|
|
|
1 |
+
import type { Match } from "../../types.js";
|
2 |
+
export declare const match: Match;
|
workers1/auto3d/node_modules/date-fns/locale/ckb/_lib/match.d.ts
ADDED
@@ -0,0 +1,2 @@
|
|
|
|
|
|
|
1 |
+
import type { Match } from "../../types.js";
|
2 |
+
export declare const match: Match;
|
workers1/auto3d/node_modules/date-fns/locale/ckb/_lib/match.js
ADDED
@@ -0,0 +1,140 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
"use strict";
|
2 |
+
exports.match = void 0;
|
3 |
+
|
4 |
+
var _index = require("../../_lib/buildMatchFn.js");
|
5 |
+
var _index2 = require("../../_lib/buildMatchPatternFn.js");
|
6 |
+
|
7 |
+
const matchOrdinalNumberPattern = /^(\d+)(th|st|nd|rd)?/i;
|
8 |
+
const parseOrdinalNumberPattern = /\d+/i;
|
9 |
+
|
10 |
+
const matchEraPatterns = {
|
11 |
+
narrow: /^(پ|د)/i,
|
12 |
+
abbreviated: /^(پ-ز|د.ز)/i,
|
13 |
+
wide: /^(پێش زاین| دوای زاین)/i,
|
14 |
+
};
|
15 |
+
const parseEraPatterns = {
|
16 |
+
any: [/^د/g, /^پ/g],
|
17 |
+
};
|
18 |
+
|
19 |
+
const matchQuarterPatterns = {
|
20 |
+
narrow: /^[1234]/i,
|
21 |
+
abbreviated: /^م[1234]چ/i,
|
22 |
+
wide: /^(یەکەم|دووەم|سێیەم| چوارەم) (چارەگی)? quarter/i,
|
23 |
+
};
|
24 |
+
const parseQuarterPatterns = {
|
25 |
+
wide: [/چارەگی یەکەم/, /چارەگی دووەم/, /چارەگی سيیەم/, /چارەگی چوارەم/],
|
26 |
+
|
27 |
+
any: [/1/i, /2/i, /3/i, /4/i],
|
28 |
+
};
|
29 |
+
|
30 |
+
const matchMonthPatterns = {
|
31 |
+
narrow: /^(ک-د|ش|ئا|ن|م|ح|ت|ئە|تش-ی|تش-د|ک-ی)/i,
|
32 |
+
abbreviated:
|
33 |
+
/^(کان-دوو|شوب|ئاد|نیس|مایس|حوز|تەم|ئاب|ئەل|تش-یەک|تش-دوو|کان-یەک)/i,
|
34 |
+
wide: /^(کانوونی دووەم|شوبات|ئادار|نیسان|مایس|حوزەیران|تەمموز|ئاب|ئەیلول|تشرینی یەکەم|تشرینی دووەم|کانوونی یەکەم)/i,
|
35 |
+
};
|
36 |
+
const parseMonthPatterns = {
|
37 |
+
narrow: [
|
38 |
+
/^ک-د/i,
|
39 |
+
/^ش/i,
|
40 |
+
/^ئا/i,
|
41 |
+
/^ن/i,
|
42 |
+
/^م/i,
|
43 |
+
/^ح/i,
|
44 |
+
/^ت/i,
|
45 |
+
/^ئا/i,
|
46 |
+
/^ئە/i,
|
47 |
+
/^تش-ی/i,
|
48 |
+
/^تش-د/i,
|
49 |
+
/^ک-ی/i,
|
50 |
+
],
|
51 |
+
|
52 |
+
any: [
|
53 |
+
/^کان-دوو/i,
|
54 |
+
/^شوب/i,
|
55 |
+
/^ئاد/i,
|
56 |
+
/^نیس/i,
|
57 |
+
/^مایس/i,
|
58 |
+
/^حوز/i,
|
59 |
+
/^تەم/i,
|
60 |
+
/^ئاب/i,
|
61 |
+
/^ئەل/i,
|
62 |
+
/^تش-یەک/i,
|
63 |
+
/^تش-دوو/i,
|
64 |
+
/^|کان-یەک/i,
|
65 |
+
],
|
66 |
+
};
|
67 |
+
|
68 |
+
const matchDayPatterns = {
|
69 |
+
narrow: /^(ش|ی|د|س|چ|پ|هە)/i,
|
70 |
+
short: /^(یە-شە|دوو-شە|سێ-شە|چو-شە|پێ-شە|هە|شە)/i,
|
71 |
+
abbreviated: /^(یەک-شەم|دوو-شەم|سێ-شەم|چوار-شەم|پێنخ-شەم|هەینی|شەمە)/i,
|
72 |
+
wide: /^(یەک شەمە|دوو شەمە|سێ شەمە|چوار شەمە|پێنج شەمە|هەینی|شەمە)/i,
|
73 |
+
};
|
74 |
+
const parseDayPatterns = {
|
75 |
+
narrow: [/^s/i, /^m/i, /^t/i, /^w/i, /^t/i, /^f/i, /^s/i],
|
76 |
+
any: [/^su/i, /^m/i, /^tu/i, /^w/i, /^th/i, /^f/i, /^sa/i],
|
77 |
+
};
|
78 |
+
|
79 |
+
const matchDayPeriodPatterns = {
|
80 |
+
narrow: /^(پ|د|ن-ش|ن| (بەیانی|دوای نیوەڕۆ|ئێوارە|شەو))/i,
|
81 |
+
abbreviated: /^(پ-ن|د-ن|نیوە شەو|نیوەڕۆ|بەیانی|دوای نیوەڕۆ|ئێوارە|شەو)/,
|
82 |
+
wide: /^(پێش نیوەڕۆ|دوای نیوەڕۆ|نیوەڕۆ|نیوە شەو|لەبەیانیدا|لەدواینیوەڕۆدا|لە ئێوارەدا|لە شەودا)/,
|
83 |
+
any: /^(پ|د|بەیانی|نیوەڕۆ|ئێوارە|شەو)/,
|
84 |
+
};
|
85 |
+
const parseDayPeriodPatterns = {
|
86 |
+
any: {
|
87 |
+
am: /^د/i,
|
88 |
+
pm: /^پ/i,
|
89 |
+
midnight: /^ن-ش/i,
|
90 |
+
noon: /^ن/i,
|
91 |
+
morning: /بەیانی/i,
|
92 |
+
afternoon: /دواینیوەڕۆ/i,
|
93 |
+
evening: /ئێوارە/i,
|
94 |
+
night: /شەو/i,
|
95 |
+
},
|
96 |
+
};
|
97 |
+
|
98 |
+
const match = (exports.match = {
|
99 |
+
ordinalNumber: (0, _index2.buildMatchPatternFn)({
|
100 |
+
matchPattern: matchOrdinalNumberPattern,
|
101 |
+
parsePattern: parseOrdinalNumberPattern,
|
102 |
+
valueCallback: (value) => parseInt(value, 10),
|
103 |
+
}),
|
104 |
+
|
105 |
+
era: (0, _index.buildMatchFn)({
|
106 |
+
matchPatterns: matchEraPatterns,
|
107 |
+
defaultMatchWidth: "wide",
|
108 |
+
parsePatterns: parseEraPatterns,
|
109 |
+
defaultParseWidth: "any",
|
110 |
+
}),
|
111 |
+
|
112 |
+
quarter: (0, _index.buildMatchFn)({
|
113 |
+
matchPatterns: matchQuarterPatterns,
|
114 |
+
defaultMatchWidth: "wide",
|
115 |
+
parsePatterns: parseQuarterPatterns,
|
116 |
+
defaultParseWidth: "any",
|
117 |
+
valueCallback: (index) => index + 1,
|
118 |
+
}),
|
119 |
+
|
120 |
+
month: (0, _index.buildMatchFn)({
|
121 |
+
matchPatterns: matchMonthPatterns,
|
122 |
+
defaultMatchWidth: "wide",
|
123 |
+
parsePatterns: parseMonthPatterns,
|
124 |
+
defaultParseWidth: "any",
|
125 |
+
}),
|
126 |
+
|
127 |
+
day: (0, _index.buildMatchFn)({
|
128 |
+
matchPatterns: matchDayPatterns,
|
129 |
+
defaultMatchWidth: "wide",
|
130 |
+
parsePatterns: parseDayPatterns,
|
131 |
+
defaultParseWidth: "any",
|
132 |
+
}),
|
133 |
+
|
134 |
+
dayPeriod: (0, _index.buildMatchFn)({
|
135 |
+
matchPatterns: matchDayPeriodPatterns,
|
136 |
+
defaultMatchWidth: "any",
|
137 |
+
parsePatterns: parseDayPeriodPatterns,
|
138 |
+
defaultParseWidth: "any",
|
139 |
+
}),
|
140 |
+
});
|