@formatjs/intl-relativetimeformat 12.4.0 → 13.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/index.d.ts +0 -8
- package/index.js +22 -126
- package/index.js.map +1 -1
- package/locale-data/{aa-DJ.js → ady-JO.js} +2 -2
- package/locale-data/{ab.js → ady-TR.js} +2 -2
- package/locale-data/{aa.js → ady.js} +2 -2
- package/locale-data/az-Latn.js +204 -204
- package/locale-data/az.js +204 -204
- package/locale-data/blo.js +300 -108
- package/locale-data/bn-IN.js +14 -14
- package/locale-data/bn.js +10 -10
- package/locale-data/br.js +4 -4
- package/locale-data/chr.js +112 -112
- package/locale-data/ckb-IR.js +12 -12
- package/locale-data/ckb.js +12 -12
- package/locale-data/cop.js +204 -204
- package/locale-data/cv.js +22 -22
- package/locale-data/he.js +68 -68
- package/locale-data/ig.js +92 -92
- package/locale-data/jv.js +38 -38
- package/locale-data/{aa-ER.js → kbd-TR.js} +2 -2
- package/locale-data/{an.js → kbd.js} +2 -2
- package/locale-data/kek.js +204 -204
- package/locale-data/ki.js +54 -54
- package/locale-data/kk-Arab.js +12 -12
- package/locale-data/kk-Cyrl.js +12 -12
- package/locale-data/kk-KZ.js +12 -12
- package/locale-data/kk.js +12 -12
- package/locale-data/kok-Deva.js +6 -6
- package/locale-data/kok.js +6 -6
- package/locale-data/ml.js +12 -12
- package/locale-data/nl-AW.js +8 -8
- package/locale-data/nl-BE.js +8 -8
- package/locale-data/nl-BQ.js +8 -8
- package/locale-data/nl-CW.js +8 -8
- package/locale-data/nl-SR.js +8 -8
- package/locale-data/nl-SX.js +8 -8
- package/locale-data/nl.js +8 -8
- package/locale-data/ps-PK.js +22 -22
- package/locale-data/ps.js +22 -22
- package/locale-data/sl.js +24 -24
- package/locale-data/sw-CD.js +8 -8
- package/locale-data/sw-KE.js +8 -8
- package/locale-data/sw-UG.js +8 -8
- package/locale-data/sw.js +8 -8
- package/locale-data/ur-IN.js +6 -6
- package/locale-data/ur.js +6 -6
- package/locale-data/vi.js +18 -18
- package/locale-data/yo-BJ.js +18 -18
- package/locale-data/yo.js +18 -18
- package/locale-data/zu.js +76 -76
- package/package.json +2 -2
- package/polyfill-force.js +22 -126
- package/polyfill-force.js.map +1 -1
- package/polyfill.iife.js +69 -271
- package/polyfill.js +30 -246
- package/polyfill.js.map +1 -1
- package/should-polyfill.d.ts +0 -2
- package/should-polyfill.js +7 -118
- package/should-polyfill.js.map +1 -1
- package/locale-data/ann.d.ts +0 -1
- package/locale-data/ann.js +0 -667
- package/locale-data/apc.d.ts +0 -1
- package/locale-data/apc.js +0 -667
- package/locale-data/arn.d.ts +0 -1
- package/locale-data/arn.js +0 -667
- package/locale-data/az-Arab-IQ.d.ts +0 -1
- package/locale-data/az-Arab-IQ.js +0 -667
- package/locale-data/az-Arab-TR.d.ts +0 -1
- package/locale-data/az-Arab-TR.js +0 -667
- package/locale-data/az-Arab.d.ts +0 -1
- package/locale-data/az-Arab.js +0 -667
- package/locale-data/bal-Arab.d.ts +0 -1
- package/locale-data/bal-Arab.js +0 -667
- package/locale-data/bal.d.ts +0 -1
- package/locale-data/bal.js +0 -667
- package/locale-data/bew.d.ts +0 -1
- package/locale-data/bew.js +0 -667
- package/locale-data/bgn-AE.d.ts +0 -1
- package/locale-data/bgn-AE.js +0 -667
- package/locale-data/bgn-AF.d.ts +0 -1
- package/locale-data/bgn-AF.js +0 -667
- package/locale-data/bgn-IR.d.ts +0 -1
- package/locale-data/bgn-IR.js +0 -667
- package/locale-data/bgn-OM.d.ts +0 -1
- package/locale-data/bgn-OM.js +0 -667
- package/locale-data/bgn.d.ts +0 -1
- package/locale-data/bgn.js +0 -667
- package/locale-data/blt.d.ts +0 -1
- package/locale-data/blt.js +0 -667
- package/locale-data/bm-Nkoo.d.ts +0 -1
- package/locale-data/bm-Nkoo.js +0 -667
- package/locale-data/bqi.d.ts +0 -1
- package/locale-data/bqi.js +0 -667
- package/locale-data/bss.d.ts +0 -1
- package/locale-data/bss.js +0 -673
- package/locale-data/byn.d.ts +0 -1
- package/locale-data/byn.js +0 -667
- package/locale-data/cad.d.ts +0 -1
- package/locale-data/cad.js +0 -667
- package/locale-data/cch.d.ts +0 -1
- package/locale-data/cch.js +0 -667
- package/locale-data/cho.d.ts +0 -1
- package/locale-data/cho.js +0 -667
- package/locale-data/cic.d.ts +0 -1
- package/locale-data/cic.js +0 -667
- package/locale-data/co.d.ts +0 -1
- package/locale-data/co.js +0 -667
- package/locale-data/cu.d.ts +0 -1
- package/locale-data/cu.js +0 -667
- package/locale-data/dv.d.ts +0 -1
- package/locale-data/dv.js +0 -667
- package/locale-data/en-Dsrt.d.ts +0 -1
- package/locale-data/en-Dsrt.js +0 -679
- package/locale-data/en-Shaw.d.ts +0 -1
- package/locale-data/en-Shaw.js +0 -667
- package/locale-data/frr.d.ts +0 -1
- package/locale-data/frr.js +0 -667
- package/locale-data/gez-ER.d.ts +0 -1
- package/locale-data/gez-ER.js +0 -667
- package/locale-data/gez.d.ts +0 -1
- package/locale-data/gez.js +0 -667
- package/locale-data/gn.d.ts +0 -1
- package/locale-data/gn.js +0 -667
- package/locale-data/ha-Arab-SD.d.ts +0 -1
- package/locale-data/ha-Arab-SD.js +0 -667
- package/locale-data/ha-Arab.d.ts +0 -1
- package/locale-data/ha-Arab.js +0 -667
- package/locale-data/hnj-Hmnp.d.ts +0 -1
- package/locale-data/hnj-Hmnp.js +0 -667
- package/locale-data/hnj.d.ts +0 -1
- package/locale-data/hnj.js +0 -667
- package/locale-data/ht.d.ts +0 -1
- package/locale-data/ht.js +0 -775
- package/locale-data/io.d.ts +0 -1
- package/locale-data/io.js +0 -667
- package/locale-data/iu-Latn.d.ts +0 -1
- package/locale-data/iu-Latn.js +0 -667
- package/locale-data/iu.d.ts +0 -1
- package/locale-data/iu.js +0 -667
- package/locale-data/jbo.d.ts +0 -1
- package/locale-data/jbo.js +0 -667
- package/locale-data/kaa-Cyrl.d.ts +0 -1
- package/locale-data/kaa-Cyrl.js +0 -667
- package/locale-data/kaa-Latn.d.ts +0 -1
- package/locale-data/kaa-Latn.js +0 -667
- package/locale-data/kaa.d.ts +0 -1
- package/locale-data/kaa.js +0 -667
- package/locale-data/kaj.d.ts +0 -1
- package/locale-data/kaj.js +0 -667
- package/locale-data/kcg.d.ts +0 -1
- package/locale-data/kcg.js +0 -667
- package/locale-data/ken.d.ts +0 -1
- package/locale-data/ken.js +0 -667
- package/locale-data/kpe-GN.d.ts +0 -1
- package/locale-data/kpe-GN.js +0 -667
- package/locale-data/kpe.d.ts +0 -1
- package/locale-data/kpe.js +0 -667
- package/locale-data/ku-Arab-IR.d.ts +0 -1
- package/locale-data/ku-Arab-IR.js +0 -667
- package/locale-data/ku-Arab.d.ts +0 -1
- package/locale-data/ku-Arab.js +0 -667
- package/locale-data/la.d.ts +0 -1
- package/locale-data/la.js +0 -667
- package/locale-data/ltg.d.ts +0 -1
- package/locale-data/ltg.js +0 -667
- package/locale-data/lzz.d.ts +0 -1
- package/locale-data/lzz.js +0 -667
- package/locale-data/mdf.d.ts +0 -1
- package/locale-data/mdf.js +0 -667
- package/locale-data/mhn.d.ts +0 -1
- package/locale-data/mhn.js +0 -667
- package/locale-data/mic.d.ts +0 -1
- package/locale-data/mic.js +0 -667
- package/locale-data/mn-Mong-MN.d.ts +0 -1
- package/locale-data/mn-Mong-MN.js +0 -667
- package/locale-data/mn-Mong.d.ts +0 -1
- package/locale-data/mn-Mong.js +0 -667
- package/locale-data/mni-Mtei.d.ts +0 -1
- package/locale-data/mni-Mtei.js +0 -667
- package/locale-data/moh.d.ts +0 -1
- package/locale-data/moh.js +0 -667
- package/locale-data/ms-Arab-BN.d.ts +0 -1
- package/locale-data/ms-Arab-BN.js +0 -667
- package/locale-data/ms-Arab.d.ts +0 -1
- package/locale-data/ms-Arab.js +0 -667
- package/locale-data/mus.d.ts +0 -1
- package/locale-data/mus.js +0 -667
- package/locale-data/mww-Hmnp.d.ts +0 -1
- package/locale-data/mww-Hmnp.js +0 -667
- package/locale-data/mww.d.ts +0 -1
- package/locale-data/mww.js +0 -667
- package/locale-data/myv.d.ts +0 -1
- package/locale-data/myv.js +0 -667
- package/locale-data/nr.d.ts +0 -1
- package/locale-data/nr.js +0 -667
- package/locale-data/nv.d.ts +0 -1
- package/locale-data/nv.js +0 -667
- package/locale-data/ny.d.ts +0 -1
- package/locale-data/ny.js +0 -667
- package/locale-data/oka-US.d.ts +0 -1
- package/locale-data/oka-US.js +0 -667
- package/locale-data/oka.d.ts +0 -1
- package/locale-data/oka.js +0 -667
- package/locale-data/osa.d.ts +0 -1
- package/locale-data/osa.js +0 -667
- package/locale-data/pap-AW.d.ts +0 -1
- package/locale-data/pap-AW.js +0 -667
- package/locale-data/pap.d.ts +0 -1
- package/locale-data/pap.js +0 -667
- package/locale-data/pi-Latn.d.ts +0 -1
- package/locale-data/pi-Latn.js +0 -667
- package/locale-data/pi.d.ts +0 -1
- package/locale-data/pi.js +0 -667
- package/locale-data/pis.d.ts +0 -1
- package/locale-data/pis.js +0 -667
- package/locale-data/rhg-Rohg-BD.d.ts +0 -1
- package/locale-data/rhg-Rohg-BD.js +0 -667
- package/locale-data/rhg-Rohg.d.ts +0 -1
- package/locale-data/rhg-Rohg.js +0 -667
- package/locale-data/rhg.d.ts +0 -1
- package/locale-data/rhg.js +0 -667
- package/locale-data/rif.d.ts +0 -1
- package/locale-data/rif.js +0 -667
- package/locale-data/sat-Deva.d.ts +0 -1
- package/locale-data/sat-Deva.js +0 -667
- package/locale-data/sdh-IQ.d.ts +0 -1
- package/locale-data/sdh-IQ.js +0 -667
- package/locale-data/sdh.d.ts +0 -1
- package/locale-data/sdh.js +0 -667
- package/locale-data/sgs.d.ts +0 -1
- package/locale-data/sgs.js +0 -667
- package/locale-data/sid.d.ts +0 -1
- package/locale-data/sid.js +0 -667
- package/locale-data/skr.d.ts +0 -1
- package/locale-data/skr.js +0 -667
- package/locale-data/sma-NO.d.ts +0 -1
- package/locale-data/sma-NO.js +0 -667
- package/locale-data/sma.d.ts +0 -1
- package/locale-data/sma.js +0 -667
- package/locale-data/smj-NO.d.ts +0 -1
- package/locale-data/smj-NO.js +0 -667
- package/locale-data/smj.d.ts +0 -1
- package/locale-data/smj.js +0 -667
- package/locale-data/sms.d.ts +0 -1
- package/locale-data/sms.js +0 -667
- package/locale-data/ss-SZ.d.ts +0 -1
- package/locale-data/ss-SZ.js +0 -667
- package/locale-data/ss.d.ts +0 -1
- package/locale-data/ss.js +0 -667
- package/locale-data/ssy.d.ts +0 -1
- package/locale-data/ssy.js +0 -667
- package/locale-data/suz-Deva.d.ts +0 -1
- package/locale-data/suz-Deva.js +0 -667
- package/locale-data/suz.d.ts +0 -1
- package/locale-data/suz.js +0 -667
- package/locale-data/tig.d.ts +0 -1
- package/locale-data/tig.js +0 -667
- package/locale-data/tpi.d.ts +0 -1
- package/locale-data/tpi.js +0 -667
- package/locale-data/trv.d.ts +0 -1
- package/locale-data/trv.js +0 -667
- package/locale-data/trw.d.ts +0 -1
- package/locale-data/trw.js +0 -667
- package/locale-data/ts.d.ts +0 -1
- package/locale-data/ts.js +0 -667
- package/locale-data/ve.d.ts +0 -1
- package/locale-data/ve.js +0 -667
- package/locale-data/vo.d.ts +0 -1
- package/locale-data/vo.js +0 -667
- package/locale-data/wa.d.ts +0 -1
- package/locale-data/wa.js +0 -667
- package/locale-data/wal.d.ts +0 -1
- package/locale-data/wal.js +0 -667
- package/locale-data/wbp.d.ts +0 -1
- package/locale-data/wbp.js +0 -667
- package/locale-data/zh-Latn.d.ts +0 -1
- package/locale-data/zh-Latn.js +0 -667
- /package/locale-data/{aa-DJ.d.ts → ady-JO.d.ts} +0 -0
- /package/locale-data/{aa-ER.d.ts → ady-TR.d.ts} +0 -0
- /package/locale-data/{aa.d.ts → ady.d.ts} +0 -0
- /package/locale-data/{ab.d.ts → kbd-TR.d.ts} +0 -0
- /package/locale-data/{an.d.ts → kbd.d.ts} +0 -0
package/polyfill.js
CHANGED
|
@@ -1,65 +1,45 @@
|
|
|
1
1
|
import { LookupSupportedLocales, ResolveLocale, match } from "@formatjs/intl-localematcher";
|
|
2
|
-
|
|
2
|
+
// node_modules/.aspect_rules_js/@formatjs_generated+cldr.supported-locales@0.0.0/node_modules/@formatjs_generated/cldr.supported-locales/default-content.js
|
|
3
3
|
const defaultContent = {
|
|
4
|
-
"
|
|
5
|
-
"ab": ["ab-GE"],
|
|
4
|
+
"ady": ["ady-RU"],
|
|
6
5
|
"af": ["af-ZA"],
|
|
7
6
|
"agq": ["agq-CM"],
|
|
8
7
|
"ak": ["ak-GH"],
|
|
9
8
|
"am": ["am-ET"],
|
|
10
|
-
"an": ["an-ES"],
|
|
11
|
-
"ann": ["ann-NG"],
|
|
12
|
-
"apc": ["apc-SY"],
|
|
13
9
|
"ar": ["ar-001"],
|
|
14
|
-
"arn": ["arn-CL"],
|
|
15
10
|
"as": ["as-IN"],
|
|
16
11
|
"asa": ["asa-TZ"],
|
|
17
12
|
"ast": ["ast-ES"],
|
|
18
|
-
"az-Arab": ["az-Arab-IR"],
|
|
19
13
|
"az-Cyrl": ["az-Cyrl-AZ"],
|
|
20
14
|
"az-Latn": ["az-Latn-AZ"],
|
|
21
15
|
"ba": ["ba-RU"],
|
|
22
|
-
"bal-Arab": ["bal-Arab-PK"],
|
|
23
16
|
"bal-Latn": ["bal-Latn-PK"],
|
|
24
17
|
"bas": ["bas-CM"],
|
|
25
18
|
"be": ["be-BY"],
|
|
26
19
|
"bem": ["bem-ZM"],
|
|
27
|
-
"bew": ["bew-ID"],
|
|
28
20
|
"bez": ["bez-TZ"],
|
|
29
21
|
"bg": ["bg-BG"],
|
|
30
22
|
"bgc": ["bgc-IN"],
|
|
31
|
-
"bgn": ["bgn-PK"],
|
|
32
23
|
"bho": ["bho-IN"],
|
|
33
24
|
"blo": ["blo-BJ"],
|
|
34
|
-
"blt": ["blt-VN"],
|
|
35
25
|
"bm": ["bm-ML"],
|
|
36
|
-
"bm-Nkoo": ["bm-Nkoo-ML"],
|
|
37
26
|
"bn": ["bn-BD"],
|
|
38
27
|
"bo": ["bo-CN"],
|
|
39
|
-
"bqi": ["bqi-IR"],
|
|
40
28
|
"br": ["br-FR"],
|
|
41
29
|
"brx": ["brx-IN"],
|
|
42
30
|
"bs-Cyrl": ["bs-Cyrl-BA"],
|
|
43
31
|
"bs-Latn": ["bs-Latn-BA"],
|
|
44
|
-
"bss": ["bss-CM"],
|
|
45
32
|
"bua": ["bua-RU"],
|
|
46
|
-
"byn": ["byn-ER"],
|
|
47
33
|
"ca": ["ca-ES"],
|
|
48
|
-
"cad": ["cad-US"],
|
|
49
|
-
"cch": ["cch-NG"],
|
|
50
34
|
"ccp": ["ccp-BD"],
|
|
51
35
|
"ce": ["ce-RU"],
|
|
52
36
|
"ceb": ["ceb-PH"],
|
|
53
37
|
"cgg": ["cgg-UG"],
|
|
54
|
-
"cho": ["cho-US"],
|
|
55
38
|
"chr": ["chr-US"],
|
|
56
|
-
"cic": ["cic-US"],
|
|
57
39
|
"ckb": ["ckb-IQ"],
|
|
58
|
-
"co": ["co-FR"],
|
|
59
40
|
"cop": ["cop-EG"],
|
|
60
41
|
"cs": ["cs-CZ"],
|
|
61
42
|
"csw": ["csw-CA"],
|
|
62
|
-
"cu": ["cu-RU"],
|
|
63
43
|
"cv": ["cv-RU"],
|
|
64
44
|
"cy": ["cy-GB"],
|
|
65
45
|
"da": ["da-DK"],
|
|
@@ -69,14 +49,11 @@ const defaultContent = {
|
|
|
69
49
|
"doi": ["doi-IN"],
|
|
70
50
|
"dsb": ["dsb-DE"],
|
|
71
51
|
"dua": ["dua-CM"],
|
|
72
|
-
"dv": ["dv-MV"],
|
|
73
52
|
"dyo": ["dyo-SN"],
|
|
74
53
|
"dz": ["dz-BT"],
|
|
75
54
|
"ebu": ["ebu-KE"],
|
|
76
55
|
"ee": ["ee-GH"],
|
|
77
56
|
"el": ["el-GR"],
|
|
78
|
-
"en-Dsrt": ["en-Dsrt-US"],
|
|
79
|
-
"en-Shaw": ["en-Shaw-GB"],
|
|
80
57
|
"en": ["en-US"],
|
|
81
58
|
"eo": ["eo-001"],
|
|
82
59
|
"es": ["es-ES"],
|
|
@@ -90,29 +67,23 @@ const defaultContent = {
|
|
|
90
67
|
"fil": ["fil-PH"],
|
|
91
68
|
"fo": ["fo-FO"],
|
|
92
69
|
"fr": ["fr-FR"],
|
|
93
|
-
"frr": ["frr-DE"],
|
|
94
70
|
"fur": ["fur-IT"],
|
|
95
71
|
"fy": ["fy-NL"],
|
|
96
72
|
"ga": ["ga-IE"],
|
|
97
73
|
"gaa": ["gaa-GH"],
|
|
98
74
|
"gd": ["gd-GB"],
|
|
99
|
-
"gez": ["gez-ET"],
|
|
100
75
|
"gl": ["gl-ES"],
|
|
101
|
-
"gn": ["gn-PY"],
|
|
102
76
|
"gsw": ["gsw-CH"],
|
|
103
77
|
"gu": ["gu-IN"],
|
|
104
78
|
"guz": ["guz-KE"],
|
|
105
79
|
"gv": ["gv-IM"],
|
|
106
|
-
"ha-Arab": ["ha-Arab-NG"],
|
|
107
80
|
"ha": ["ha-NG"],
|
|
108
81
|
"haw": ["haw-US"],
|
|
109
82
|
"he": ["he-IL"],
|
|
110
83
|
"hi": ["hi-IN"],
|
|
111
84
|
"hi-Latn": ["hi-Latn-IN"],
|
|
112
|
-
"hnj-Hmnp": ["hnj-Hmnp-US"],
|
|
113
85
|
"hr": ["hr-HR"],
|
|
114
86
|
"hsb": ["hsb-DE"],
|
|
115
|
-
"ht": ["ht-HT"],
|
|
116
87
|
"hu": ["hu-HU"],
|
|
117
88
|
"hy": ["hy-AM"],
|
|
118
89
|
"ia": ["ia-001"],
|
|
@@ -120,27 +91,19 @@ const defaultContent = {
|
|
|
120
91
|
"ie": ["ie-EE"],
|
|
121
92
|
"ig": ["ig-NG"],
|
|
122
93
|
"ii": ["ii-CN"],
|
|
123
|
-
"io": ["io-001"],
|
|
124
94
|
"is": ["is-IS"],
|
|
125
95
|
"it": ["it-IT"],
|
|
126
|
-
"iu": ["iu-CA"],
|
|
127
|
-
"iu-Latn": ["iu-Latn-CA"],
|
|
128
96
|
"ja": ["ja-JP"],
|
|
129
|
-
"jbo": ["jbo-001"],
|
|
130
97
|
"jgo": ["jgo-CM"],
|
|
131
98
|
"jmc": ["jmc-TZ"],
|
|
132
99
|
"jv": ["jv-ID"],
|
|
133
100
|
"ka": ["ka-GE"],
|
|
134
|
-
"kaa-Cyrl": ["kaa-Cyrl-UZ"],
|
|
135
|
-
"kaa-Latn": ["kaa-Latn-UZ"],
|
|
136
101
|
"kab": ["kab-DZ"],
|
|
137
|
-
"kaj": ["kaj-NG"],
|
|
138
102
|
"kam": ["kam-KE"],
|
|
139
|
-
"
|
|
103
|
+
"kbd": ["kbd-RU"],
|
|
140
104
|
"kde": ["kde-TZ"],
|
|
141
105
|
"kea": ["kea-CV"],
|
|
142
106
|
"kek": ["kek-GT"],
|
|
143
|
-
"ken": ["ken-CM"],
|
|
144
107
|
"kgp": ["kgp-BR"],
|
|
145
108
|
"khq": ["khq-ML"],
|
|
146
109
|
"ki": ["ki-KE"],
|
|
@@ -154,13 +117,11 @@ const defaultContent = {
|
|
|
154
117
|
"ko": ["ko-KR"],
|
|
155
118
|
"kok-Deva": ["kok-Deva-IN"],
|
|
156
119
|
"kok-Latn": ["kok-Latn-IN"],
|
|
157
|
-
"kpe": ["kpe-LR"],
|
|
158
120
|
"ks-Arab": ["ks-Arab-IN"],
|
|
159
121
|
"ks-Deva": ["ks-Deva-IN"],
|
|
160
122
|
"ksb": ["ksb-TZ"],
|
|
161
123
|
"ksf": ["ksf-CM"],
|
|
162
124
|
"ksh": ["ksh-DE"],
|
|
163
|
-
"ku-Arab": ["ku-Arab-IQ"],
|
|
164
125
|
"ku-Latn": ["ku-Latn-TR"],
|
|
165
126
|
"kw": ["kw-GB"],
|
|
166
127
|
"kxv-Deva": ["kxv-Deva-IN"],
|
|
@@ -168,7 +129,6 @@ const defaultContent = {
|
|
|
168
129
|
"kxv-Orya": ["kxv-Orya-IN"],
|
|
169
130
|
"kxv-Telu": ["kxv-Telu-IN"],
|
|
170
131
|
"ky": ["ky-KG"],
|
|
171
|
-
"la": ["la-VA"],
|
|
172
132
|
"lag": ["lag-TZ"],
|
|
173
133
|
"lb": ["lb-LU"],
|
|
174
134
|
"lg": ["lg-UG"],
|
|
@@ -180,39 +140,27 @@ const defaultContent = {
|
|
|
180
140
|
"lo": ["lo-LA"],
|
|
181
141
|
"lrc": ["lrc-IR"],
|
|
182
142
|
"lt": ["lt-LT"],
|
|
183
|
-
"ltg": ["ltg-LV"],
|
|
184
143
|
"lu": ["lu-CD"],
|
|
185
144
|
"luo": ["luo-KE"],
|
|
186
145
|
"luy": ["luy-KE"],
|
|
187
146
|
"lv": ["lv-LV"],
|
|
188
|
-
"lzz": ["lzz-TR"],
|
|
189
147
|
"mai": ["mai-IN"],
|
|
190
148
|
"mas": ["mas-KE"],
|
|
191
|
-
"mdf": ["mdf-RU"],
|
|
192
149
|
"mer": ["mer-KE"],
|
|
193
150
|
"mfe": ["mfe-MU"],
|
|
194
151
|
"mg": ["mg-MG"],
|
|
195
152
|
"mgh": ["mgh-MZ"],
|
|
196
153
|
"mgo": ["mgo-CM"],
|
|
197
|
-
"mhn": ["mhn-IT"],
|
|
198
154
|
"mi": ["mi-NZ"],
|
|
199
|
-
"mic": ["mic-CA"],
|
|
200
155
|
"mk": ["mk-MK"],
|
|
201
156
|
"ml": ["ml-IN"],
|
|
202
157
|
"mn": ["mn-MN"],
|
|
203
|
-
"mn-Mong": ["mn-Mong-CN"],
|
|
204
158
|
"mni-Beng": ["mni-Beng-IN"],
|
|
205
|
-
"mni-Mtei": ["mni-Mtei-IN"],
|
|
206
|
-
"moh": ["moh-CA"],
|
|
207
159
|
"mr": ["mr-IN"],
|
|
208
|
-
"ms-Arab": ["ms-Arab-MY"],
|
|
209
160
|
"ms": ["ms-MY"],
|
|
210
161
|
"mt": ["mt-MT"],
|
|
211
162
|
"mua": ["mua-CM"],
|
|
212
|
-
"mus": ["mus-US"],
|
|
213
|
-
"mww-Hmnp": ["mww-Hmnp-US"],
|
|
214
163
|
"my": ["my-MM"],
|
|
215
|
-
"myv": ["myv-RU"],
|
|
216
164
|
"mzn": ["mzn-IR"],
|
|
217
165
|
"naq": ["naq-NA"],
|
|
218
166
|
"nb": ["nb-NO"],
|
|
@@ -224,24 +172,16 @@ const defaultContent = {
|
|
|
224
172
|
"nn": ["nn-NO"],
|
|
225
173
|
"nnh": ["nnh-CM"],
|
|
226
174
|
"nqo": ["nqo-GN"],
|
|
227
|
-
"nr": ["nr-ZA"],
|
|
228
175
|
"nso": ["nso-ZA"],
|
|
229
176
|
"nus": ["nus-SS"],
|
|
230
|
-
"nv": ["nv-US"],
|
|
231
|
-
"ny": ["ny-MW"],
|
|
232
177
|
"nyn": ["nyn-UG"],
|
|
233
178
|
"oc": ["oc-FR"],
|
|
234
|
-
"oka": ["oka-CA"],
|
|
235
179
|
"om": ["om-ET"],
|
|
236
180
|
"or": ["or-IN"],
|
|
237
181
|
"os": ["os-GE"],
|
|
238
|
-
"osa": ["osa-US"],
|
|
239
182
|
"pa-Arab": ["pa-Arab-PK"],
|
|
240
183
|
"pa-Guru": ["pa-Guru-IN"],
|
|
241
|
-
"pap": ["pap-CW"],
|
|
242
184
|
"pcm": ["pcm-NG"],
|
|
243
|
-
"pi-Latn": ["pi-Latn-GB"],
|
|
244
|
-
"pis": ["pis-SB"],
|
|
245
185
|
"pl": ["pl-PL"],
|
|
246
186
|
"pms": ["pms-IT"],
|
|
247
187
|
"prg": ["prg-PL"],
|
|
@@ -250,8 +190,6 @@ const defaultContent = {
|
|
|
250
190
|
"qu": ["qu-PE"],
|
|
251
191
|
"quc": ["quc-GT"],
|
|
252
192
|
"raj": ["raj-IN"],
|
|
253
|
-
"rhg-Rohg": ["rhg-Rohg-MM"],
|
|
254
|
-
"rif": ["rif-MA"],
|
|
255
193
|
"rm": ["rm-CH"],
|
|
256
194
|
"rn": ["rn-BI"],
|
|
257
195
|
"ro": ["ro-RO"],
|
|
@@ -262,41 +200,30 @@ const defaultContent = {
|
|
|
262
200
|
"sa": ["sa-IN"],
|
|
263
201
|
"sah": ["sah-RU"],
|
|
264
202
|
"saq": ["saq-KE"],
|
|
265
|
-
"sat-Deva": ["sat-Deva-IN"],
|
|
266
203
|
"sat-Olck": ["sat-Olck-IN"],
|
|
267
204
|
"sbp": ["sbp-TZ"],
|
|
268
205
|
"sc": ["sc-IT"],
|
|
269
206
|
"scn": ["scn-IT"],
|
|
270
207
|
"sd-Arab": ["sd-Arab-PK"],
|
|
271
208
|
"sd-Deva": ["sd-Deva-IN"],
|
|
272
|
-
"sdh": ["sdh-IR"],
|
|
273
209
|
"se": ["se-NO"],
|
|
274
210
|
"seh": ["seh-MZ"],
|
|
275
211
|
"ses": ["ses-ML"],
|
|
276
212
|
"sg": ["sg-CF"],
|
|
277
|
-
"sgs": ["sgs-LT"],
|
|
278
213
|
"shi-Latn": ["shi-Latn-MA"],
|
|
279
214
|
"shi-Tfng": ["shi-Tfng-MA"],
|
|
280
215
|
"shn": ["shn-MM"],
|
|
281
216
|
"si": ["si-LK"],
|
|
282
|
-
"sid": ["sid-ET"],
|
|
283
217
|
"sk": ["sk-SK"],
|
|
284
|
-
"skr": ["skr-PK"],
|
|
285
218
|
"sl": ["sl-SI"],
|
|
286
|
-
"sma": ["sma-SE"],
|
|
287
|
-
"smj": ["smj-SE"],
|
|
288
219
|
"smn": ["smn-FI"],
|
|
289
|
-
"sms": ["sms-FI"],
|
|
290
220
|
"sn": ["sn-ZW"],
|
|
291
221
|
"so": ["so-SO"],
|
|
292
222
|
"sq": ["sq-AL"],
|
|
293
223
|
"sr-Cyrl": ["sr-Cyrl-RS"],
|
|
294
224
|
"sr-Latn": ["sr-Latn-RS"],
|
|
295
|
-
"ss": ["ss-ZA"],
|
|
296
|
-
"ssy": ["ssy-ER"],
|
|
297
225
|
"st": ["st-ZA"],
|
|
298
226
|
"su-Latn": ["su-Latn-ID"],
|
|
299
|
-
"suz-Deva": ["suz-Deva-NP"],
|
|
300
227
|
"suz-Sunu": ["suz-Sunu-NP"],
|
|
301
228
|
"sv": ["sv-SE"],
|
|
302
229
|
"sw": ["sw-TZ"],
|
|
@@ -308,16 +235,11 @@ const defaultContent = {
|
|
|
308
235
|
"tg": ["tg-TJ"],
|
|
309
236
|
"th": ["th-TH"],
|
|
310
237
|
"ti": ["ti-ET"],
|
|
311
|
-
"tig": ["tig-ER"],
|
|
312
238
|
"tk": ["tk-TM"],
|
|
313
239
|
"tn": ["tn-ZA"],
|
|
314
240
|
"to": ["to-TO"],
|
|
315
241
|
"tok": ["tok-001"],
|
|
316
|
-
"tpi": ["tpi-PG"],
|
|
317
242
|
"tr": ["tr-TR"],
|
|
318
|
-
"trv": ["trv-TW"],
|
|
319
|
-
"trw": ["trw-PK"],
|
|
320
|
-
"ts": ["ts-ZA"],
|
|
321
243
|
"tt": ["tt-RU"],
|
|
322
244
|
"twq": ["twq-NE"],
|
|
323
245
|
"tyv": ["tyv-RU"],
|
|
@@ -330,16 +252,11 @@ const defaultContent = {
|
|
|
330
252
|
"uz-Latn": ["uz-Latn-UZ"],
|
|
331
253
|
"vai-Latn": ["vai-Latn-LR"],
|
|
332
254
|
"vai-Vaii": ["vai-Vaii-LR"],
|
|
333
|
-
"ve": ["ve-ZA"],
|
|
334
255
|
"vec": ["vec-IT"],
|
|
335
256
|
"vi": ["vi-VN"],
|
|
336
257
|
"vmw": ["vmw-MZ"],
|
|
337
|
-
"vo": ["vo-001"],
|
|
338
258
|
"vun": ["vun-TZ"],
|
|
339
|
-
"wa": ["wa-BE"],
|
|
340
259
|
"wae": ["wae-CH"],
|
|
341
|
-
"wal": ["wal-ET"],
|
|
342
|
-
"wbp": ["wbp-AU"],
|
|
343
260
|
"wo": ["wo-SN"],
|
|
344
261
|
"xh": ["xh-ZA"],
|
|
345
262
|
"xnr": ["xnr-IN"],
|
|
@@ -354,11 +271,9 @@ const defaultContent = {
|
|
|
354
271
|
"zgh": ["zgh-MA"],
|
|
355
272
|
"zh-Hans": ["zh-Hans-CN"],
|
|
356
273
|
"zh-Hant": ["zh-Hant-TW"],
|
|
357
|
-
"zh-Latn": ["zh-Latn-CN"],
|
|
358
274
|
"zu": ["zu-ZA"]
|
|
359
275
|
};
|
|
360
|
-
|
|
361
|
-
//#region packages/ecma402-abstract/registerLocaleData.js
|
|
276
|
+
// packages/ecma402-abstract/registerLocaleData.js
|
|
362
277
|
const explicitLocales = /* @__PURE__ */ new WeakMap();
|
|
363
278
|
function registerLocaleData(locale, data, localeData, availableLocales) {
|
|
364
279
|
let loaded = explicitLocales.get(localeData);
|
|
@@ -386,8 +301,7 @@ function registerLocaleData(locale, data, localeData, availableLocales) {
|
|
|
386
301
|
}
|
|
387
302
|
}
|
|
388
303
|
}
|
|
389
|
-
|
|
390
|
-
//#region packages/ecma262-abstract/ToString.js
|
|
304
|
+
// packages/ecma262-abstract/ToString.js
|
|
391
305
|
/**
|
|
392
306
|
* https://tc39.es/ecma262/#sec-tostring
|
|
393
307
|
*/
|
|
@@ -395,8 +309,7 @@ function ToString(o) {
|
|
|
395
309
|
if (typeof o === "symbol") throw TypeError("Cannot convert a Symbol value to a string");
|
|
396
310
|
return String(o);
|
|
397
311
|
}
|
|
398
|
-
|
|
399
|
-
//#region packages/ecma402-abstract/CanonicalizeLocaleList.js
|
|
312
|
+
// packages/ecma402-abstract/CanonicalizeLocaleList.js
|
|
400
313
|
/**
|
|
401
314
|
* http://ecma-international.org/ecma-402/7.0/index.html#sec-canonicalizelocalelist
|
|
402
315
|
* @param locales
|
|
@@ -404,8 +317,7 @@ function ToString(o) {
|
|
|
404
317
|
function CanonicalizeLocaleList(locales) {
|
|
405
318
|
return Intl.getCanonicalLocales(locales);
|
|
406
319
|
}
|
|
407
|
-
|
|
408
|
-
//#region packages/ecma262-abstract/ToObject.js
|
|
320
|
+
// packages/ecma262-abstract/ToObject.js
|
|
409
321
|
/**
|
|
410
322
|
* https://tc39.es/ecma262/#sec-toobject
|
|
411
323
|
*/
|
|
@@ -413,8 +325,7 @@ function ToObject(arg) {
|
|
|
413
325
|
if (arg == null) throw new TypeError("undefined/null cannot be converted to object");
|
|
414
326
|
return Object(arg);
|
|
415
327
|
}
|
|
416
|
-
|
|
417
|
-
//#region packages/ecma402-abstract/GetOption.js
|
|
328
|
+
// packages/ecma402-abstract/GetOption.js
|
|
418
329
|
/**
|
|
419
330
|
* https://tc39.es/ecma402/#sec-getoption
|
|
420
331
|
* @param opts
|
|
@@ -435,8 +346,7 @@ function GetOption(opts, prop, type, values, fallback) {
|
|
|
435
346
|
}
|
|
436
347
|
return fallback;
|
|
437
348
|
}
|
|
438
|
-
|
|
439
|
-
//#region packages/ecma402-abstract/SupportedLocales.js
|
|
349
|
+
// packages/ecma402-abstract/SupportedLocales.js
|
|
440
350
|
/**
|
|
441
351
|
* https://tc39.es/ecma402/#sec-supportedlocales
|
|
442
352
|
* @param availableLocales
|
|
@@ -452,14 +362,12 @@ function SupportedLocales(availableLocales, requestedLocales, options) {
|
|
|
452
362
|
if (matcher === "best fit") return LookupSupportedLocales(Array.from(availableLocales), requestedLocales);
|
|
453
363
|
return LookupSupportedLocales(Array.from(availableLocales), requestedLocales);
|
|
454
364
|
}
|
|
455
|
-
|
|
456
|
-
//#region packages/ecma402-abstract/IsUnicodeLocaleIdentifierType.js
|
|
365
|
+
// packages/ecma402-abstract/IsUnicodeLocaleIdentifierType.js
|
|
457
366
|
/** Tests the Unicode locale identifier `type` grammar, not locale support. */
|
|
458
367
|
function IsUnicodeLocaleIdentifierType(value) {
|
|
459
368
|
return /^[a-z0-9]{3,8}(-[a-z0-9]{3,8})*(?![\s\S])/i.test(value);
|
|
460
369
|
}
|
|
461
|
-
|
|
462
|
-
//#region packages/ecma402-abstract/CoerceOptionsToObject.js
|
|
370
|
+
// packages/ecma402-abstract/CoerceOptionsToObject.js
|
|
463
371
|
/**
|
|
464
372
|
* https://tc39.es/ecma402/#sec-coerceoptionstoobject
|
|
465
373
|
* @param options
|
|
@@ -469,8 +377,7 @@ function CoerceOptionsToObject(options) {
|
|
|
469
377
|
if (typeof options === "undefined") return Object.create(null);
|
|
470
378
|
return ToObject(options);
|
|
471
379
|
}
|
|
472
|
-
|
|
473
|
-
//#region node_modules/.aspect_rules_js/@formatjs+fast-memoize@0.0.0/node_modules/@formatjs/fast-memoize/index.js
|
|
380
|
+
// node_modules/.aspect_rules_js/@formatjs+fast-memoize@0.0.0/node_modules/@formatjs/fast-memoize/index.js
|
|
474
381
|
function memoize(fn, options) {
|
|
475
382
|
const cache = options && options.cache ? options.cache : cacheDefault;
|
|
476
383
|
const serializer = options && options.serializer ? options.serializer : serializerDefault;
|
|
@@ -535,8 +442,7 @@ const strategies = {
|
|
|
535
442
|
variadic: strategyVariadic,
|
|
536
443
|
monadic: strategyMonadic
|
|
537
444
|
};
|
|
538
|
-
|
|
539
|
-
//#region packages/ecma402-abstract/utils.js
|
|
445
|
+
// packages/ecma402-abstract/utils.js
|
|
540
446
|
function defineProperty(target, name, { value }) {
|
|
541
447
|
Object.defineProperty(target, name, {
|
|
542
448
|
configurable: true,
|
|
@@ -560,8 +466,7 @@ function invariant(condition, message, Err = Error) {
|
|
|
560
466
|
const createMemoizedNumberFormat = memoize((...args) => new Intl.NumberFormat(...args), { strategy: strategies.variadic });
|
|
561
467
|
const createMemoizedPluralRules = memoize((...args) => new Intl.PluralRules(...args), { strategy: strategies.variadic });
|
|
562
468
|
memoize((...args) => new Intl.ListFormat(...args), { strategy: strategies.variadic });
|
|
563
|
-
|
|
564
|
-
//#region packages/ecma402-abstract/RelativeTimeFormat/InitializeRelativeTimeFormat.js
|
|
469
|
+
// packages/ecma402-abstract/RelativeTimeFormat/InitializeRelativeTimeFormat.js
|
|
565
470
|
function InitializeRelativeTimeFormat(rtf, locales, options, { getInternalSlots, availableLocales, relevantExtensionKeys, localeData, getDefaultLocale }) {
|
|
566
471
|
const internalSlots = getInternalSlots(rtf);
|
|
567
472
|
internalSlots.initializedRelativeTimeFormat = true;
|
|
@@ -593,8 +498,7 @@ function InitializeRelativeTimeFormat(rtf, locales, options, { getInternalSlots,
|
|
|
593
498
|
internalSlots.numberingSystem = nu;
|
|
594
499
|
return rtf;
|
|
595
500
|
}
|
|
596
|
-
|
|
597
|
-
//#region packages/ecma262-abstract/SameValue.js
|
|
501
|
+
// packages/ecma262-abstract/SameValue.js
|
|
598
502
|
/**
|
|
599
503
|
* https://www.ecma-international.org/ecma-262/11.0/index.html#sec-samevalue
|
|
600
504
|
*/
|
|
@@ -603,8 +507,7 @@ function SameValue(x, y) {
|
|
|
603
507
|
if (x === y) return x !== 0 || 1 / x === 1 / y;
|
|
604
508
|
return x !== x && y !== y;
|
|
605
509
|
}
|
|
606
|
-
|
|
607
|
-
//#region packages/ecma262-abstract/Type.js
|
|
510
|
+
// packages/ecma262-abstract/Type.js
|
|
608
511
|
/**
|
|
609
512
|
* https://www.ecma-international.org/ecma-262/11.0/index.html#sec-type
|
|
610
513
|
*/
|
|
@@ -618,8 +521,7 @@ function Type(x) {
|
|
|
618
521
|
if (typeof x === "symbol") return "Symbol";
|
|
619
522
|
if (typeof x === "bigint") return "BigInt";
|
|
620
523
|
}
|
|
621
|
-
|
|
622
|
-
//#region packages/ecma402-abstract/RelativeTimeFormat/SingularRelativeTimeUnit.js
|
|
524
|
+
// packages/ecma402-abstract/RelativeTimeFormat/SingularRelativeTimeUnit.js
|
|
623
525
|
/**
|
|
624
526
|
* https://tc39.es/proposal-intl-relative-time/#sec-singularrelativetimeunit
|
|
625
527
|
* @param unit
|
|
@@ -637,8 +539,7 @@ function SingularRelativeTimeUnit(unit) {
|
|
|
637
539
|
if (unit !== "second" && unit !== "minute" && unit !== "hour" && unit !== "day" && unit !== "week" && unit !== "month" && unit !== "quarter" && unit !== "year") throw new RangeError("invalid unit");
|
|
638
540
|
return unit;
|
|
639
541
|
}
|
|
640
|
-
|
|
641
|
-
//#region packages/ecma402-abstract/PartitionPattern.js
|
|
542
|
+
// packages/ecma402-abstract/PartitionPattern.js
|
|
642
543
|
/**
|
|
643
544
|
* Partition a pattern into a list of literals and placeholders
|
|
644
545
|
* https://tc39.es/ecma402/#sec-partitionpattern
|
|
@@ -670,8 +571,7 @@ function PartitionPattern(pattern) {
|
|
|
670
571
|
});
|
|
671
572
|
return result;
|
|
672
573
|
}
|
|
673
|
-
|
|
674
|
-
//#region packages/ecma402-abstract/RelativeTimeFormat/MakePartsList.js
|
|
574
|
+
// packages/ecma402-abstract/RelativeTimeFormat/MakePartsList.js
|
|
675
575
|
function MakePartsList(pattern, unit, parts) {
|
|
676
576
|
const patternParts = PartitionPattern(pattern);
|
|
677
577
|
const result = [];
|
|
@@ -689,8 +589,7 @@ function MakePartsList(pattern, unit, parts) {
|
|
|
689
589
|
}
|
|
690
590
|
return result;
|
|
691
591
|
}
|
|
692
|
-
|
|
693
|
-
//#region packages/ecma402-abstract/RelativeTimeFormat/PartitionRelativeTimePattern.js
|
|
592
|
+
// packages/ecma402-abstract/RelativeTimeFormat/PartitionRelativeTimePattern.js
|
|
694
593
|
function PartitionRelativeTimePattern(rtf, value, unit, { getInternalSlots }) {
|
|
695
594
|
invariant(Type(value) === "Number", `value must be number, instead got ${typeof value}`, TypeError);
|
|
696
595
|
invariant(Type(unit) === "String", `unit must be number, instead got ${typeof value}`, TypeError);
|
|
@@ -718,8 +617,7 @@ function PartitionRelativeTimePattern(rtf, value, unit, { getInternalSlots }) {
|
|
|
718
617
|
}];
|
|
719
618
|
return MakePartsList(po[pluralRules.select(value)] ?? po.other, resolvedUnit, fv);
|
|
720
619
|
}
|
|
721
|
-
|
|
722
|
-
//#region packages/intl-relativetimeformat/get_internal_slots.ts
|
|
620
|
+
// packages/intl-relativetimeformat/get_internal_slots.ts
|
|
723
621
|
const internalSlotMap = /* @__PURE__ */ new WeakMap();
|
|
724
622
|
function getInternalSlots(x) {
|
|
725
623
|
let internalSlots = internalSlotMap.get(x);
|
|
@@ -729,8 +627,7 @@ function getInternalSlots(x) {
|
|
|
729
627
|
}
|
|
730
628
|
return internalSlots;
|
|
731
629
|
}
|
|
732
|
-
|
|
733
|
-
//#region packages/intl-relativetimeformat/index.ts
|
|
630
|
+
// packages/intl-relativetimeformat/index.ts
|
|
734
631
|
var RelativeTimeFormat = class RelativeTimeFormat {
|
|
735
632
|
constructor(locales, options) {
|
|
736
633
|
return InitializeRelativeTimeFormat(this, locales, options, {
|
|
@@ -810,21 +707,16 @@ try {
|
|
|
810
707
|
configurable: true
|
|
811
708
|
});
|
|
812
709
|
} catch {}
|
|
813
|
-
|
|
814
|
-
//#region node_modules/.aspect_rules_js/@formatjs_generated+cldr.supported-locales@0.0.0/node_modules/@formatjs_generated/cldr.supported-locales/intl-relativetimeformat.js
|
|
710
|
+
// node_modules/.aspect_rules_js/@formatjs_generated+cldr.supported-locales@0.0.0/node_modules/@formatjs_generated/cldr.supported-locales/intl-relativetimeformat.js
|
|
815
711
|
const supportedLocales = [
|
|
816
|
-
"
|
|
817
|
-
"
|
|
818
|
-
"
|
|
819
|
-
"ab",
|
|
712
|
+
"ady",
|
|
713
|
+
"ady-JO",
|
|
714
|
+
"ady-TR",
|
|
820
715
|
"af",
|
|
821
716
|
"af-NA",
|
|
822
717
|
"agq",
|
|
823
718
|
"ak",
|
|
824
719
|
"am",
|
|
825
|
-
"an",
|
|
826
|
-
"ann",
|
|
827
|
-
"apc",
|
|
828
720
|
"ar",
|
|
829
721
|
"ar-AE",
|
|
830
722
|
"ar-BH",
|
|
@@ -853,73 +745,50 @@ const supportedLocales = [
|
|
|
853
745
|
"ar-TD",
|
|
854
746
|
"ar-TN",
|
|
855
747
|
"ar-YE",
|
|
856
|
-
"arn",
|
|
857
748
|
"as",
|
|
858
749
|
"asa",
|
|
859
750
|
"ast",
|
|
860
751
|
"az",
|
|
861
|
-
"az-Arab",
|
|
862
|
-
"az-Arab-IQ",
|
|
863
|
-
"az-Arab-TR",
|
|
864
752
|
"az-Cyrl",
|
|
865
753
|
"az-Latn",
|
|
866
754
|
"ba",
|
|
867
|
-
"bal",
|
|
868
|
-
"bal-Arab",
|
|
869
755
|
"bal-Latn",
|
|
870
756
|
"bas",
|
|
871
757
|
"be",
|
|
872
758
|
"be-tarask",
|
|
873
759
|
"bem",
|
|
874
|
-
"bew",
|
|
875
760
|
"bez",
|
|
876
761
|
"bg",
|
|
877
762
|
"bgc",
|
|
878
|
-
"bgn",
|
|
879
|
-
"bgn-AE",
|
|
880
|
-
"bgn-AF",
|
|
881
|
-
"bgn-IR",
|
|
882
|
-
"bgn-OM",
|
|
883
763
|
"bho",
|
|
884
764
|
"blo",
|
|
885
|
-
"blt",
|
|
886
765
|
"bm",
|
|
887
|
-
"bm-Nkoo",
|
|
888
766
|
"bn",
|
|
889
767
|
"bn-IN",
|
|
890
768
|
"bo",
|
|
891
769
|
"bo-IN",
|
|
892
|
-
"bqi",
|
|
893
770
|
"br",
|
|
894
771
|
"brx",
|
|
895
772
|
"bs",
|
|
896
773
|
"bs-Cyrl",
|
|
897
774
|
"bs-Latn",
|
|
898
|
-
"bss",
|
|
899
775
|
"bua",
|
|
900
|
-
"byn",
|
|
901
776
|
"ca",
|
|
902
777
|
"ca-AD",
|
|
903
778
|
"ca-ES-valencia",
|
|
904
779
|
"ca-FR",
|
|
905
780
|
"ca-IT",
|
|
906
|
-
"cad",
|
|
907
|
-
"cch",
|
|
908
781
|
"ccp",
|
|
909
782
|
"ccp-IN",
|
|
910
783
|
"ce",
|
|
911
784
|
"ceb",
|
|
912
785
|
"cgg",
|
|
913
|
-
"cho",
|
|
914
786
|
"chr",
|
|
915
|
-
"cic",
|
|
916
787
|
"ckb",
|
|
917
788
|
"ckb-IR",
|
|
918
|
-
"co",
|
|
919
789
|
"cop",
|
|
920
790
|
"cs",
|
|
921
791
|
"csw",
|
|
922
|
-
"cu",
|
|
923
792
|
"cv",
|
|
924
793
|
"cy",
|
|
925
794
|
"da",
|
|
@@ -936,7 +805,6 @@ const supportedLocales = [
|
|
|
936
805
|
"doi",
|
|
937
806
|
"dsb",
|
|
938
807
|
"dua",
|
|
939
|
-
"dv",
|
|
940
808
|
"dyo",
|
|
941
809
|
"dz",
|
|
942
810
|
"ebu",
|
|
@@ -973,7 +841,6 @@ const supportedLocales = [
|
|
|
973
841
|
"en-DG",
|
|
974
842
|
"en-DK",
|
|
975
843
|
"en-DM",
|
|
976
|
-
"en-Dsrt",
|
|
977
844
|
"en-EE",
|
|
978
845
|
"en-ER",
|
|
979
846
|
"en-ES",
|
|
@@ -1053,7 +920,6 @@ const supportedLocales = [
|
|
|
1053
920
|
"en-SS",
|
|
1054
921
|
"en-SX",
|
|
1055
922
|
"en-SZ",
|
|
1056
|
-
"en-Shaw",
|
|
1057
923
|
"en-TC",
|
|
1058
924
|
"en-TK",
|
|
1059
925
|
"en-TO",
|
|
@@ -1180,17 +1046,13 @@ const supportedLocales = [
|
|
|
1180
1046
|
"fr-VU",
|
|
1181
1047
|
"fr-WF",
|
|
1182
1048
|
"fr-YT",
|
|
1183
|
-
"frr",
|
|
1184
1049
|
"fur",
|
|
1185
1050
|
"fy",
|
|
1186
1051
|
"ga",
|
|
1187
1052
|
"ga-GB",
|
|
1188
1053
|
"gaa",
|
|
1189
1054
|
"gd",
|
|
1190
|
-
"gez",
|
|
1191
|
-
"gez-ER",
|
|
1192
1055
|
"gl",
|
|
1193
|
-
"gn",
|
|
1194
1056
|
"gsw",
|
|
1195
1057
|
"gsw-FR",
|
|
1196
1058
|
"gsw-LI",
|
|
@@ -1198,20 +1060,15 @@ const supportedLocales = [
|
|
|
1198
1060
|
"guz",
|
|
1199
1061
|
"gv",
|
|
1200
1062
|
"ha",
|
|
1201
|
-
"ha-Arab",
|
|
1202
|
-
"ha-Arab-SD",
|
|
1203
1063
|
"ha-GH",
|
|
1204
1064
|
"ha-NE",
|
|
1205
1065
|
"haw",
|
|
1206
1066
|
"he",
|
|
1207
1067
|
"hi",
|
|
1208
1068
|
"hi-Latn",
|
|
1209
|
-
"hnj",
|
|
1210
|
-
"hnj-Hmnp",
|
|
1211
1069
|
"hr",
|
|
1212
1070
|
"hr-BA",
|
|
1213
1071
|
"hsb",
|
|
1214
|
-
"ht",
|
|
1215
1072
|
"hu",
|
|
1216
1073
|
"hy",
|
|
1217
1074
|
"ia",
|
|
@@ -1219,31 +1076,23 @@ const supportedLocales = [
|
|
|
1219
1076
|
"ie",
|
|
1220
1077
|
"ig",
|
|
1221
1078
|
"ii",
|
|
1222
|
-
"io",
|
|
1223
1079
|
"is",
|
|
1224
1080
|
"it",
|
|
1225
1081
|
"it-CH",
|
|
1226
1082
|
"it-SM",
|
|
1227
1083
|
"it-VA",
|
|
1228
|
-
"iu",
|
|
1229
|
-
"iu-Latn",
|
|
1230
1084
|
"ja",
|
|
1231
|
-
"jbo",
|
|
1232
1085
|
"jgo",
|
|
1233
1086
|
"jmc",
|
|
1234
1087
|
"jv",
|
|
1235
1088
|
"ka",
|
|
1236
|
-
"kaa",
|
|
1237
|
-
"kaa-Cyrl",
|
|
1238
|
-
"kaa-Latn",
|
|
1239
1089
|
"kab",
|
|
1240
|
-
"kaj",
|
|
1241
1090
|
"kam",
|
|
1242
|
-
"
|
|
1091
|
+
"kbd",
|
|
1092
|
+
"kbd-TR",
|
|
1243
1093
|
"kde",
|
|
1244
1094
|
"kea",
|
|
1245
1095
|
"kek",
|
|
1246
|
-
"ken",
|
|
1247
1096
|
"kgp",
|
|
1248
1097
|
"khq",
|
|
1249
1098
|
"ki",
|
|
@@ -1262,8 +1111,6 @@ const supportedLocales = [
|
|
|
1262
1111
|
"kok",
|
|
1263
1112
|
"kok-Deva",
|
|
1264
1113
|
"kok-Latn",
|
|
1265
|
-
"kpe",
|
|
1266
|
-
"kpe-GN",
|
|
1267
1114
|
"ks",
|
|
1268
1115
|
"ks-Arab",
|
|
1269
1116
|
"ks-Deva",
|
|
@@ -1271,8 +1118,6 @@ const supportedLocales = [
|
|
|
1271
1118
|
"ksf",
|
|
1272
1119
|
"ksh",
|
|
1273
1120
|
"ku",
|
|
1274
|
-
"ku-Arab",
|
|
1275
|
-
"ku-Arab-IR",
|
|
1276
1121
|
"ku-Latn",
|
|
1277
1122
|
"ku-Latn-IQ",
|
|
1278
1123
|
"ku-Latn-SY",
|
|
@@ -1284,7 +1129,6 @@ const supportedLocales = [
|
|
|
1284
1129
|
"kxv-Orya",
|
|
1285
1130
|
"kxv-Telu",
|
|
1286
1131
|
"ky",
|
|
1287
|
-
"la",
|
|
1288
1132
|
"lag",
|
|
1289
1133
|
"lb",
|
|
1290
1134
|
"lg",
|
|
@@ -1300,47 +1144,32 @@ const supportedLocales = [
|
|
|
1300
1144
|
"lrc",
|
|
1301
1145
|
"lrc-IQ",
|
|
1302
1146
|
"lt",
|
|
1303
|
-
"ltg",
|
|
1304
1147
|
"lu",
|
|
1305
1148
|
"luo",
|
|
1306
1149
|
"luy",
|
|
1307
1150
|
"lv",
|
|
1308
|
-
"lzz",
|
|
1309
1151
|
"mai",
|
|
1310
1152
|
"mas",
|
|
1311
1153
|
"mas-TZ",
|
|
1312
|
-
"mdf",
|
|
1313
1154
|
"mer",
|
|
1314
1155
|
"mfe",
|
|
1315
1156
|
"mg",
|
|
1316
1157
|
"mgh",
|
|
1317
1158
|
"mgo",
|
|
1318
|
-
"mhn",
|
|
1319
1159
|
"mi",
|
|
1320
|
-
"mic",
|
|
1321
1160
|
"mk",
|
|
1322
1161
|
"ml",
|
|
1323
1162
|
"mn",
|
|
1324
|
-
"mn-Mong",
|
|
1325
|
-
"mn-Mong-MN",
|
|
1326
1163
|
"mni",
|
|
1327
1164
|
"mni-Beng",
|
|
1328
|
-
"mni-Mtei",
|
|
1329
|
-
"moh",
|
|
1330
1165
|
"mr",
|
|
1331
1166
|
"ms",
|
|
1332
|
-
"ms-Arab",
|
|
1333
|
-
"ms-Arab-BN",
|
|
1334
1167
|
"ms-BN",
|
|
1335
1168
|
"ms-ID",
|
|
1336
1169
|
"ms-SG",
|
|
1337
1170
|
"mt",
|
|
1338
1171
|
"mua",
|
|
1339
|
-
"mus",
|
|
1340
|
-
"mww",
|
|
1341
|
-
"mww-Hmnp",
|
|
1342
1172
|
"my",
|
|
1343
|
-
"myv",
|
|
1344
1173
|
"mzn",
|
|
1345
1174
|
"naq",
|
|
1346
1175
|
"nb",
|
|
@@ -1362,31 +1191,20 @@ const supportedLocales = [
|
|
|
1362
1191
|
"nnh",
|
|
1363
1192
|
"no",
|
|
1364
1193
|
"nqo",
|
|
1365
|
-
"nr",
|
|
1366
1194
|
"nso",
|
|
1367
1195
|
"nus",
|
|
1368
|
-
"nv",
|
|
1369
|
-
"ny",
|
|
1370
1196
|
"nyn",
|
|
1371
1197
|
"oc",
|
|
1372
1198
|
"oc-ES",
|
|
1373
|
-
"oka",
|
|
1374
|
-
"oka-US",
|
|
1375
1199
|
"om",
|
|
1376
1200
|
"om-KE",
|
|
1377
1201
|
"or",
|
|
1378
1202
|
"os",
|
|
1379
1203
|
"os-RU",
|
|
1380
|
-
"osa",
|
|
1381
1204
|
"pa",
|
|
1382
1205
|
"pa-Arab",
|
|
1383
1206
|
"pa-Guru",
|
|
1384
|
-
"pap",
|
|
1385
|
-
"pap-AW",
|
|
1386
1207
|
"pcm",
|
|
1387
|
-
"pi",
|
|
1388
|
-
"pi-Latn",
|
|
1389
|
-
"pis",
|
|
1390
1208
|
"pl",
|
|
1391
1209
|
"pms",
|
|
1392
1210
|
"prg",
|
|
@@ -1409,10 +1227,6 @@ const supportedLocales = [
|
|
|
1409
1227
|
"qu-EC",
|
|
1410
1228
|
"quc",
|
|
1411
1229
|
"raj",
|
|
1412
|
-
"rhg",
|
|
1413
|
-
"rhg-Rohg",
|
|
1414
|
-
"rhg-Rohg-BD",
|
|
1415
|
-
"rif",
|
|
1416
1230
|
"rm",
|
|
1417
1231
|
"rn",
|
|
1418
1232
|
"ro",
|
|
@@ -1430,7 +1244,6 @@ const supportedLocales = [
|
|
|
1430
1244
|
"sah",
|
|
1431
1245
|
"saq",
|
|
1432
1246
|
"sat",
|
|
1433
|
-
"sat-Deva",
|
|
1434
1247
|
"sat-Olck",
|
|
1435
1248
|
"sbp",
|
|
1436
1249
|
"sc",
|
|
@@ -1438,31 +1251,21 @@ const supportedLocales = [
|
|
|
1438
1251
|
"sd",
|
|
1439
1252
|
"sd-Arab",
|
|
1440
1253
|
"sd-Deva",
|
|
1441
|
-
"sdh",
|
|
1442
|
-
"sdh-IQ",
|
|
1443
1254
|
"se",
|
|
1444
1255
|
"se-FI",
|
|
1445
1256
|
"se-SE",
|
|
1446
1257
|
"seh",
|
|
1447
1258
|
"ses",
|
|
1448
1259
|
"sg",
|
|
1449
|
-
"sgs",
|
|
1450
1260
|
"shi",
|
|
1451
1261
|
"shi-Latn",
|
|
1452
1262
|
"shi-Tfng",
|
|
1453
1263
|
"shn",
|
|
1454
1264
|
"shn-TH",
|
|
1455
1265
|
"si",
|
|
1456
|
-
"sid",
|
|
1457
1266
|
"sk",
|
|
1458
|
-
"skr",
|
|
1459
1267
|
"sl",
|
|
1460
|
-
"sma",
|
|
1461
|
-
"sma-NO",
|
|
1462
|
-
"smj",
|
|
1463
|
-
"smj-NO",
|
|
1464
1268
|
"smn",
|
|
1465
|
-
"sms",
|
|
1466
1269
|
"sn",
|
|
1467
1270
|
"so",
|
|
1468
1271
|
"so-DJ",
|
|
@@ -1480,15 +1283,10 @@ const supportedLocales = [
|
|
|
1480
1283
|
"sr-Latn-BA",
|
|
1481
1284
|
"sr-Latn-ME",
|
|
1482
1285
|
"sr-Latn-XK",
|
|
1483
|
-
"ss",
|
|
1484
|
-
"ss-SZ",
|
|
1485
|
-
"ssy",
|
|
1486
1286
|
"st",
|
|
1487
1287
|
"st-LS",
|
|
1488
1288
|
"su",
|
|
1489
1289
|
"su-Latn",
|
|
1490
|
-
"suz",
|
|
1491
|
-
"suz-Deva",
|
|
1492
1290
|
"suz-Sunu",
|
|
1493
1291
|
"sv",
|
|
1494
1292
|
"sv-AX",
|
|
@@ -1511,18 +1309,13 @@ const supportedLocales = [
|
|
|
1511
1309
|
"th",
|
|
1512
1310
|
"ti",
|
|
1513
1311
|
"ti-ER",
|
|
1514
|
-
"tig",
|
|
1515
1312
|
"tk",
|
|
1516
1313
|
"tn",
|
|
1517
1314
|
"tn-BW",
|
|
1518
1315
|
"to",
|
|
1519
1316
|
"tok",
|
|
1520
|
-
"tpi",
|
|
1521
1317
|
"tr",
|
|
1522
1318
|
"tr-CY",
|
|
1523
|
-
"trv",
|
|
1524
|
-
"trw",
|
|
1525
|
-
"ts",
|
|
1526
1319
|
"tt",
|
|
1527
1320
|
"twq",
|
|
1528
1321
|
"tyv",
|
|
@@ -1539,16 +1332,11 @@ const supportedLocales = [
|
|
|
1539
1332
|
"vai",
|
|
1540
1333
|
"vai-Latn",
|
|
1541
1334
|
"vai-Vaii",
|
|
1542
|
-
"ve",
|
|
1543
1335
|
"vec",
|
|
1544
1336
|
"vi",
|
|
1545
1337
|
"vmw",
|
|
1546
|
-
"vo",
|
|
1547
1338
|
"vun",
|
|
1548
|
-
"wa",
|
|
1549
1339
|
"wae",
|
|
1550
|
-
"wal",
|
|
1551
|
-
"wbp",
|
|
1552
1340
|
"wo",
|
|
1553
1341
|
"xh",
|
|
1554
1342
|
"xnr",
|
|
@@ -1577,11 +1365,9 @@ const supportedLocales = [
|
|
|
1577
1365
|
"zh-Hant-HK",
|
|
1578
1366
|
"zh-Hant-MO",
|
|
1579
1367
|
"zh-Hant-MY",
|
|
1580
|
-
"zh-Latn",
|
|
1581
1368
|
"zu"
|
|
1582
1369
|
];
|
|
1583
|
-
|
|
1584
|
-
//#region packages/intl-relativetimeformat/should-polyfill.ts
|
|
1370
|
+
// packages/intl-relativetimeformat/should-polyfill.ts
|
|
1585
1371
|
function supportedLocalesOf(locale) {
|
|
1586
1372
|
if (!locale) return true;
|
|
1587
1373
|
const locales = Array.isArray(locale) ? locale : [locale];
|
|
@@ -1597,8 +1383,7 @@ function hasResolvedOptionsNumberingSystem(locale) {
|
|
|
1597
1383
|
function shouldPolyfill(locale = "en") {
|
|
1598
1384
|
if (typeof Intl === "undefined" || !("RelativeTimeFormat" in Intl) || !supportedLocalesOf(locale) || !hasResolvedOptionsNumberingSystem(locale)) return match([locale], supportedLocales, "en");
|
|
1599
1385
|
}
|
|
1600
|
-
|
|
1601
|
-
//#region packages/intl-relativetimeformat/polyfill.ts
|
|
1386
|
+
// packages/intl-relativetimeformat/polyfill.ts
|
|
1602
1387
|
const intl = ensureIntl();
|
|
1603
1388
|
if (shouldPolyfill()) {
|
|
1604
1389
|
defineProperty(intl, "RelativeTimeFormat", { value: RelativeTimeFormat });
|
|
@@ -1608,6 +1393,5 @@ if (shouldPolyfill()) {
|
|
|
1608
1393
|
delete globalThis.__FORMATJS_RELATIVETIMEFORMAT_DATA__;
|
|
1609
1394
|
}
|
|
1610
1395
|
}
|
|
1611
|
-
//#endregion
|
|
1612
1396
|
|
|
1613
1397
|
//# sourceMappingURL=polyfill.js.map
|