@formatjs/intl-listformat 8.4.0 → 9.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 +14 -110
- 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/en-IN.js +2 -2
- package/locale-data/he.js +2 -2
- package/locale-data/hi.js +4 -4
- 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 +36 -36
- package/locale-data/kok-Deva.js +8 -8
- package/locale-data/kok-Latn.js +12 -12
- package/locale-data/kok.js +8 -8
- package/locale-data/my.js +60 -60
- package/locale-data/to.js +24 -24
- package/package.json +2 -2
- package/polyfill-force.js +14 -110
- package/polyfill-force.js.map +1 -1
- package/polyfill.iife.js +61 -255
- package/polyfill.js +22 -230
- 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 -135
- package/locale-data/apc.d.ts +0 -1
- package/locale-data/apc.js +0 -135
- package/locale-data/arn.d.ts +0 -1
- package/locale-data/arn.js +0 -135
- package/locale-data/az-Arab-IQ.d.ts +0 -1
- package/locale-data/az-Arab-IQ.js +0 -135
- package/locale-data/az-Arab-TR.d.ts +0 -1
- package/locale-data/az-Arab-TR.js +0 -135
- package/locale-data/az-Arab.d.ts +0 -1
- package/locale-data/az-Arab.js +0 -135
- package/locale-data/bal-Arab.d.ts +0 -1
- package/locale-data/bal-Arab.js +0 -135
- package/locale-data/bal.d.ts +0 -1
- package/locale-data/bal.js +0 -135
- package/locale-data/bew.d.ts +0 -1
- package/locale-data/bew.js +0 -135
- package/locale-data/bgn-AE.d.ts +0 -1
- package/locale-data/bgn-AE.js +0 -135
- package/locale-data/bgn-AF.d.ts +0 -1
- package/locale-data/bgn-AF.js +0 -135
- package/locale-data/bgn-IR.d.ts +0 -1
- package/locale-data/bgn-IR.js +0 -135
- package/locale-data/bgn-OM.d.ts +0 -1
- package/locale-data/bgn-OM.js +0 -135
- package/locale-data/bgn.d.ts +0 -1
- package/locale-data/bgn.js +0 -135
- package/locale-data/blt.d.ts +0 -1
- package/locale-data/blt.js +0 -135
- package/locale-data/bm-Nkoo.d.ts +0 -1
- package/locale-data/bm-Nkoo.js +0 -135
- package/locale-data/bqi.d.ts +0 -1
- package/locale-data/bqi.js +0 -135
- package/locale-data/bss.d.ts +0 -1
- package/locale-data/bss.js +0 -135
- package/locale-data/byn.d.ts +0 -1
- package/locale-data/byn.js +0 -135
- package/locale-data/cad.d.ts +0 -1
- package/locale-data/cad.js +0 -135
- package/locale-data/cch.d.ts +0 -1
- package/locale-data/cch.js +0 -135
- package/locale-data/cho.d.ts +0 -1
- package/locale-data/cho.js +0 -135
- package/locale-data/cic.d.ts +0 -1
- package/locale-data/cic.js +0 -135
- package/locale-data/co.d.ts +0 -1
- package/locale-data/co.js +0 -135
- package/locale-data/cu.d.ts +0 -1
- package/locale-data/cu.js +0 -135
- package/locale-data/dv.d.ts +0 -1
- package/locale-data/dv.js +0 -135
- package/locale-data/en-Dsrt.d.ts +0 -1
- package/locale-data/en-Dsrt.js +0 -135
- package/locale-data/en-Shaw.d.ts +0 -1
- package/locale-data/en-Shaw.js +0 -135
- package/locale-data/frr.d.ts +0 -1
- package/locale-data/frr.js +0 -135
- package/locale-data/gez-ER.d.ts +0 -1
- package/locale-data/gez-ER.js +0 -135
- package/locale-data/gez.d.ts +0 -1
- package/locale-data/gez.js +0 -135
- package/locale-data/gn.d.ts +0 -1
- package/locale-data/gn.js +0 -135
- package/locale-data/ha-Arab-SD.d.ts +0 -1
- package/locale-data/ha-Arab-SD.js +0 -135
- package/locale-data/ha-Arab.d.ts +0 -1
- package/locale-data/ha-Arab.js +0 -135
- package/locale-data/hnj-Hmnp.d.ts +0 -1
- package/locale-data/hnj-Hmnp.js +0 -135
- package/locale-data/hnj.d.ts +0 -1
- package/locale-data/hnj.js +0 -135
- package/locale-data/ht.d.ts +0 -1
- package/locale-data/ht.js +0 -135
- package/locale-data/io.d.ts +0 -1
- package/locale-data/io.js +0 -135
- package/locale-data/iu-Latn.d.ts +0 -1
- package/locale-data/iu-Latn.js +0 -135
- package/locale-data/iu.d.ts +0 -1
- package/locale-data/iu.js +0 -135
- package/locale-data/jbo.d.ts +0 -1
- package/locale-data/jbo.js +0 -135
- package/locale-data/kaa-Cyrl.d.ts +0 -1
- package/locale-data/kaa-Cyrl.js +0 -135
- package/locale-data/kaa-Latn.d.ts +0 -1
- package/locale-data/kaa-Latn.js +0 -135
- package/locale-data/kaa.d.ts +0 -1
- package/locale-data/kaa.js +0 -135
- package/locale-data/kaj.d.ts +0 -1
- package/locale-data/kaj.js +0 -135
- package/locale-data/kcg.d.ts +0 -1
- package/locale-data/kcg.js +0 -135
- package/locale-data/ken.d.ts +0 -1
- package/locale-data/ken.js +0 -135
- package/locale-data/kpe-GN.d.ts +0 -1
- package/locale-data/kpe-GN.js +0 -135
- package/locale-data/kpe.d.ts +0 -1
- package/locale-data/kpe.js +0 -135
- package/locale-data/ku-Arab-IR.d.ts +0 -1
- package/locale-data/ku-Arab-IR.js +0 -135
- package/locale-data/ku-Arab.d.ts +0 -1
- package/locale-data/ku-Arab.js +0 -135
- package/locale-data/la.d.ts +0 -1
- package/locale-data/la.js +0 -135
- package/locale-data/ltg.d.ts +0 -1
- package/locale-data/ltg.js +0 -135
- package/locale-data/lzz.d.ts +0 -1
- package/locale-data/lzz.js +0 -135
- package/locale-data/mdf.d.ts +0 -1
- package/locale-data/mdf.js +0 -135
- package/locale-data/mhn.d.ts +0 -1
- package/locale-data/mhn.js +0 -135
- package/locale-data/mic.d.ts +0 -1
- package/locale-data/mic.js +0 -135
- package/locale-data/mn-Mong-MN.d.ts +0 -1
- package/locale-data/mn-Mong-MN.js +0 -135
- package/locale-data/mn-Mong.d.ts +0 -1
- package/locale-data/mn-Mong.js +0 -135
- package/locale-data/mni-Mtei.d.ts +0 -1
- package/locale-data/mni-Mtei.js +0 -135
- package/locale-data/moh.d.ts +0 -1
- package/locale-data/moh.js +0 -135
- package/locale-data/ms-Arab-BN.d.ts +0 -1
- package/locale-data/ms-Arab-BN.js +0 -135
- package/locale-data/ms-Arab.d.ts +0 -1
- package/locale-data/ms-Arab.js +0 -135
- package/locale-data/mus.d.ts +0 -1
- package/locale-data/mus.js +0 -135
- package/locale-data/mww-Hmnp.d.ts +0 -1
- package/locale-data/mww-Hmnp.js +0 -135
- package/locale-data/mww.d.ts +0 -1
- package/locale-data/mww.js +0 -135
- package/locale-data/myv.d.ts +0 -1
- package/locale-data/myv.js +0 -135
- package/locale-data/nr.d.ts +0 -1
- package/locale-data/nr.js +0 -135
- package/locale-data/nv.d.ts +0 -1
- package/locale-data/nv.js +0 -135
- package/locale-data/ny.d.ts +0 -1
- package/locale-data/ny.js +0 -135
- package/locale-data/oka-US.d.ts +0 -1
- package/locale-data/oka-US.js +0 -135
- package/locale-data/oka.d.ts +0 -1
- package/locale-data/oka.js +0 -135
- package/locale-data/osa.d.ts +0 -1
- package/locale-data/osa.js +0 -135
- package/locale-data/pap-AW.d.ts +0 -1
- package/locale-data/pap-AW.js +0 -135
- package/locale-data/pap.d.ts +0 -1
- package/locale-data/pap.js +0 -135
- package/locale-data/pi-Latn.d.ts +0 -1
- package/locale-data/pi-Latn.js +0 -135
- package/locale-data/pi.d.ts +0 -1
- package/locale-data/pi.js +0 -135
- package/locale-data/pis.d.ts +0 -1
- package/locale-data/pis.js +0 -135
- package/locale-data/rhg-Rohg-BD.d.ts +0 -1
- package/locale-data/rhg-Rohg-BD.js +0 -135
- package/locale-data/rhg-Rohg.d.ts +0 -1
- package/locale-data/rhg-Rohg.js +0 -135
- package/locale-data/rhg.d.ts +0 -1
- package/locale-data/rhg.js +0 -135
- package/locale-data/rif.d.ts +0 -1
- package/locale-data/rif.js +0 -135
- package/locale-data/sat-Deva.d.ts +0 -1
- package/locale-data/sat-Deva.js +0 -135
- package/locale-data/sdh-IQ.d.ts +0 -1
- package/locale-data/sdh-IQ.js +0 -135
- package/locale-data/sdh.d.ts +0 -1
- package/locale-data/sdh.js +0 -135
- package/locale-data/sgs.d.ts +0 -1
- package/locale-data/sgs.js +0 -135
- package/locale-data/sid.d.ts +0 -1
- package/locale-data/sid.js +0 -135
- package/locale-data/skr.d.ts +0 -1
- package/locale-data/skr.js +0 -135
- package/locale-data/sma-NO.d.ts +0 -1
- package/locale-data/sma-NO.js +0 -135
- package/locale-data/sma.d.ts +0 -1
- package/locale-data/sma.js +0 -135
- package/locale-data/smj-NO.d.ts +0 -1
- package/locale-data/smj-NO.js +0 -135
- package/locale-data/smj.d.ts +0 -1
- package/locale-data/smj.js +0 -135
- package/locale-data/sms.d.ts +0 -1
- package/locale-data/sms.js +0 -135
- package/locale-data/ss-SZ.d.ts +0 -1
- package/locale-data/ss-SZ.js +0 -135
- package/locale-data/ss.d.ts +0 -1
- package/locale-data/ss.js +0 -135
- package/locale-data/ssy.d.ts +0 -1
- package/locale-data/ssy.js +0 -135
- package/locale-data/suz-Deva.d.ts +0 -1
- package/locale-data/suz-Deva.js +0 -135
- package/locale-data/suz.d.ts +0 -1
- package/locale-data/suz.js +0 -135
- package/locale-data/tig.d.ts +0 -1
- package/locale-data/tig.js +0 -135
- package/locale-data/tpi.d.ts +0 -1
- package/locale-data/tpi.js +0 -135
- package/locale-data/trv.d.ts +0 -1
- package/locale-data/trv.js +0 -135
- package/locale-data/trw.d.ts +0 -1
- package/locale-data/trw.js +0 -135
- package/locale-data/ts.d.ts +0 -1
- package/locale-data/ts.js +0 -135
- package/locale-data/ve.d.ts +0 -1
- package/locale-data/ve.js +0 -135
- package/locale-data/vo.d.ts +0 -1
- package/locale-data/vo.js +0 -135
- package/locale-data/wa.d.ts +0 -1
- package/locale-data/wa.js +0 -135
- package/locale-data/wal.d.ts +0 -1
- package/locale-data/wal.js +0 -135
- package/locale-data/wbp.d.ts +0 -1
- package/locale-data/wbp.js +0 -135
- package/locale-data/zh-Latn.d.ts +0 -1
- package/locale-data/zh-Latn.js +0 -135
- /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.iife.js
CHANGED
|
@@ -1,64 +1,44 @@
|
|
|
1
|
-
|
|
1
|
+
// node_modules/.aspect_rules_js/@formatjs_generated+cldr.supported-locales@0.0.0/node_modules/@formatjs_generated/cldr.supported-locales/default-content.js
|
|
2
2
|
const defaultContent = {
|
|
3
|
-
"
|
|
4
|
-
"ab": ["ab-GE"],
|
|
3
|
+
"ady": ["ady-RU"],
|
|
5
4
|
"af": ["af-ZA"],
|
|
6
5
|
"agq": ["agq-CM"],
|
|
7
6
|
"ak": ["ak-GH"],
|
|
8
7
|
"am": ["am-ET"],
|
|
9
|
-
"an": ["an-ES"],
|
|
10
|
-
"ann": ["ann-NG"],
|
|
11
|
-
"apc": ["apc-SY"],
|
|
12
8
|
"ar": ["ar-001"],
|
|
13
|
-
"arn": ["arn-CL"],
|
|
14
9
|
"as": ["as-IN"],
|
|
15
10
|
"asa": ["asa-TZ"],
|
|
16
11
|
"ast": ["ast-ES"],
|
|
17
|
-
"az-Arab": ["az-Arab-IR"],
|
|
18
12
|
"az-Cyrl": ["az-Cyrl-AZ"],
|
|
19
13
|
"az-Latn": ["az-Latn-AZ"],
|
|
20
14
|
"ba": ["ba-RU"],
|
|
21
|
-
"bal-Arab": ["bal-Arab-PK"],
|
|
22
15
|
"bal-Latn": ["bal-Latn-PK"],
|
|
23
16
|
"bas": ["bas-CM"],
|
|
24
17
|
"be": ["be-BY"],
|
|
25
18
|
"bem": ["bem-ZM"],
|
|
26
|
-
"bew": ["bew-ID"],
|
|
27
19
|
"bez": ["bez-TZ"],
|
|
28
20
|
"bg": ["bg-BG"],
|
|
29
21
|
"bgc": ["bgc-IN"],
|
|
30
|
-
"bgn": ["bgn-PK"],
|
|
31
22
|
"bho": ["bho-IN"],
|
|
32
23
|
"blo": ["blo-BJ"],
|
|
33
|
-
"blt": ["blt-VN"],
|
|
34
24
|
"bm": ["bm-ML"],
|
|
35
|
-
"bm-Nkoo": ["bm-Nkoo-ML"],
|
|
36
25
|
"bn": ["bn-BD"],
|
|
37
26
|
"bo": ["bo-CN"],
|
|
38
|
-
"bqi": ["bqi-IR"],
|
|
39
27
|
"br": ["br-FR"],
|
|
40
28
|
"brx": ["brx-IN"],
|
|
41
29
|
"bs-Cyrl": ["bs-Cyrl-BA"],
|
|
42
30
|
"bs-Latn": ["bs-Latn-BA"],
|
|
43
|
-
"bss": ["bss-CM"],
|
|
44
31
|
"bua": ["bua-RU"],
|
|
45
|
-
"byn": ["byn-ER"],
|
|
46
32
|
"ca": ["ca-ES"],
|
|
47
|
-
"cad": ["cad-US"],
|
|
48
|
-
"cch": ["cch-NG"],
|
|
49
33
|
"ccp": ["ccp-BD"],
|
|
50
34
|
"ce": ["ce-RU"],
|
|
51
35
|
"ceb": ["ceb-PH"],
|
|
52
36
|
"cgg": ["cgg-UG"],
|
|
53
|
-
"cho": ["cho-US"],
|
|
54
37
|
"chr": ["chr-US"],
|
|
55
|
-
"cic": ["cic-US"],
|
|
56
38
|
"ckb": ["ckb-IQ"],
|
|
57
|
-
"co": ["co-FR"],
|
|
58
39
|
"cop": ["cop-EG"],
|
|
59
40
|
"cs": ["cs-CZ"],
|
|
60
41
|
"csw": ["csw-CA"],
|
|
61
|
-
"cu": ["cu-RU"],
|
|
62
42
|
"cv": ["cv-RU"],
|
|
63
43
|
"cy": ["cy-GB"],
|
|
64
44
|
"da": ["da-DK"],
|
|
@@ -68,14 +48,11 @@ const defaultContent = {
|
|
|
68
48
|
"doi": ["doi-IN"],
|
|
69
49
|
"dsb": ["dsb-DE"],
|
|
70
50
|
"dua": ["dua-CM"],
|
|
71
|
-
"dv": ["dv-MV"],
|
|
72
51
|
"dyo": ["dyo-SN"],
|
|
73
52
|
"dz": ["dz-BT"],
|
|
74
53
|
"ebu": ["ebu-KE"],
|
|
75
54
|
"ee": ["ee-GH"],
|
|
76
55
|
"el": ["el-GR"],
|
|
77
|
-
"en-Dsrt": ["en-Dsrt-US"],
|
|
78
|
-
"en-Shaw": ["en-Shaw-GB"],
|
|
79
56
|
"en": ["en-US"],
|
|
80
57
|
"eo": ["eo-001"],
|
|
81
58
|
"es": ["es-ES"],
|
|
@@ -89,29 +66,23 @@ const defaultContent = {
|
|
|
89
66
|
"fil": ["fil-PH"],
|
|
90
67
|
"fo": ["fo-FO"],
|
|
91
68
|
"fr": ["fr-FR"],
|
|
92
|
-
"frr": ["frr-DE"],
|
|
93
69
|
"fur": ["fur-IT"],
|
|
94
70
|
"fy": ["fy-NL"],
|
|
95
71
|
"ga": ["ga-IE"],
|
|
96
72
|
"gaa": ["gaa-GH"],
|
|
97
73
|
"gd": ["gd-GB"],
|
|
98
|
-
"gez": ["gez-ET"],
|
|
99
74
|
"gl": ["gl-ES"],
|
|
100
|
-
"gn": ["gn-PY"],
|
|
101
75
|
"gsw": ["gsw-CH"],
|
|
102
76
|
"gu": ["gu-IN"],
|
|
103
77
|
"guz": ["guz-KE"],
|
|
104
78
|
"gv": ["gv-IM"],
|
|
105
|
-
"ha-Arab": ["ha-Arab-NG"],
|
|
106
79
|
"ha": ["ha-NG"],
|
|
107
80
|
"haw": ["haw-US"],
|
|
108
81
|
"he": ["he-IL"],
|
|
109
82
|
"hi": ["hi-IN"],
|
|
110
83
|
"hi-Latn": ["hi-Latn-IN"],
|
|
111
|
-
"hnj-Hmnp": ["hnj-Hmnp-US"],
|
|
112
84
|
"hr": ["hr-HR"],
|
|
113
85
|
"hsb": ["hsb-DE"],
|
|
114
|
-
"ht": ["ht-HT"],
|
|
115
86
|
"hu": ["hu-HU"],
|
|
116
87
|
"hy": ["hy-AM"],
|
|
117
88
|
"ia": ["ia-001"],
|
|
@@ -119,27 +90,19 @@ const defaultContent = {
|
|
|
119
90
|
"ie": ["ie-EE"],
|
|
120
91
|
"ig": ["ig-NG"],
|
|
121
92
|
"ii": ["ii-CN"],
|
|
122
|
-
"io": ["io-001"],
|
|
123
93
|
"is": ["is-IS"],
|
|
124
94
|
"it": ["it-IT"],
|
|
125
|
-
"iu": ["iu-CA"],
|
|
126
|
-
"iu-Latn": ["iu-Latn-CA"],
|
|
127
95
|
"ja": ["ja-JP"],
|
|
128
|
-
"jbo": ["jbo-001"],
|
|
129
96
|
"jgo": ["jgo-CM"],
|
|
130
97
|
"jmc": ["jmc-TZ"],
|
|
131
98
|
"jv": ["jv-ID"],
|
|
132
99
|
"ka": ["ka-GE"],
|
|
133
|
-
"kaa-Cyrl": ["kaa-Cyrl-UZ"],
|
|
134
|
-
"kaa-Latn": ["kaa-Latn-UZ"],
|
|
135
100
|
"kab": ["kab-DZ"],
|
|
136
|
-
"kaj": ["kaj-NG"],
|
|
137
101
|
"kam": ["kam-KE"],
|
|
138
|
-
"
|
|
102
|
+
"kbd": ["kbd-RU"],
|
|
139
103
|
"kde": ["kde-TZ"],
|
|
140
104
|
"kea": ["kea-CV"],
|
|
141
105
|
"kek": ["kek-GT"],
|
|
142
|
-
"ken": ["ken-CM"],
|
|
143
106
|
"kgp": ["kgp-BR"],
|
|
144
107
|
"khq": ["khq-ML"],
|
|
145
108
|
"ki": ["ki-KE"],
|
|
@@ -153,13 +116,11 @@ const defaultContent = {
|
|
|
153
116
|
"ko": ["ko-KR"],
|
|
154
117
|
"kok-Deva": ["kok-Deva-IN"],
|
|
155
118
|
"kok-Latn": ["kok-Latn-IN"],
|
|
156
|
-
"kpe": ["kpe-LR"],
|
|
157
119
|
"ks-Arab": ["ks-Arab-IN"],
|
|
158
120
|
"ks-Deva": ["ks-Deva-IN"],
|
|
159
121
|
"ksb": ["ksb-TZ"],
|
|
160
122
|
"ksf": ["ksf-CM"],
|
|
161
123
|
"ksh": ["ksh-DE"],
|
|
162
|
-
"ku-Arab": ["ku-Arab-IQ"],
|
|
163
124
|
"ku-Latn": ["ku-Latn-TR"],
|
|
164
125
|
"kw": ["kw-GB"],
|
|
165
126
|
"kxv-Deva": ["kxv-Deva-IN"],
|
|
@@ -167,7 +128,6 @@ const defaultContent = {
|
|
|
167
128
|
"kxv-Orya": ["kxv-Orya-IN"],
|
|
168
129
|
"kxv-Telu": ["kxv-Telu-IN"],
|
|
169
130
|
"ky": ["ky-KG"],
|
|
170
|
-
"la": ["la-VA"],
|
|
171
131
|
"lag": ["lag-TZ"],
|
|
172
132
|
"lb": ["lb-LU"],
|
|
173
133
|
"lg": ["lg-UG"],
|
|
@@ -179,39 +139,27 @@ const defaultContent = {
|
|
|
179
139
|
"lo": ["lo-LA"],
|
|
180
140
|
"lrc": ["lrc-IR"],
|
|
181
141
|
"lt": ["lt-LT"],
|
|
182
|
-
"ltg": ["ltg-LV"],
|
|
183
142
|
"lu": ["lu-CD"],
|
|
184
143
|
"luo": ["luo-KE"],
|
|
185
144
|
"luy": ["luy-KE"],
|
|
186
145
|
"lv": ["lv-LV"],
|
|
187
|
-
"lzz": ["lzz-TR"],
|
|
188
146
|
"mai": ["mai-IN"],
|
|
189
147
|
"mas": ["mas-KE"],
|
|
190
|
-
"mdf": ["mdf-RU"],
|
|
191
148
|
"mer": ["mer-KE"],
|
|
192
149
|
"mfe": ["mfe-MU"],
|
|
193
150
|
"mg": ["mg-MG"],
|
|
194
151
|
"mgh": ["mgh-MZ"],
|
|
195
152
|
"mgo": ["mgo-CM"],
|
|
196
|
-
"mhn": ["mhn-IT"],
|
|
197
153
|
"mi": ["mi-NZ"],
|
|
198
|
-
"mic": ["mic-CA"],
|
|
199
154
|
"mk": ["mk-MK"],
|
|
200
155
|
"ml": ["ml-IN"],
|
|
201
156
|
"mn": ["mn-MN"],
|
|
202
|
-
"mn-Mong": ["mn-Mong-CN"],
|
|
203
157
|
"mni-Beng": ["mni-Beng-IN"],
|
|
204
|
-
"mni-Mtei": ["mni-Mtei-IN"],
|
|
205
|
-
"moh": ["moh-CA"],
|
|
206
158
|
"mr": ["mr-IN"],
|
|
207
|
-
"ms-Arab": ["ms-Arab-MY"],
|
|
208
159
|
"ms": ["ms-MY"],
|
|
209
160
|
"mt": ["mt-MT"],
|
|
210
161
|
"mua": ["mua-CM"],
|
|
211
|
-
"mus": ["mus-US"],
|
|
212
|
-
"mww-Hmnp": ["mww-Hmnp-US"],
|
|
213
162
|
"my": ["my-MM"],
|
|
214
|
-
"myv": ["myv-RU"],
|
|
215
163
|
"mzn": ["mzn-IR"],
|
|
216
164
|
"naq": ["naq-NA"],
|
|
217
165
|
"nb": ["nb-NO"],
|
|
@@ -223,24 +171,16 @@ const defaultContent = {
|
|
|
223
171
|
"nn": ["nn-NO"],
|
|
224
172
|
"nnh": ["nnh-CM"],
|
|
225
173
|
"nqo": ["nqo-GN"],
|
|
226
|
-
"nr": ["nr-ZA"],
|
|
227
174
|
"nso": ["nso-ZA"],
|
|
228
175
|
"nus": ["nus-SS"],
|
|
229
|
-
"nv": ["nv-US"],
|
|
230
|
-
"ny": ["ny-MW"],
|
|
231
176
|
"nyn": ["nyn-UG"],
|
|
232
177
|
"oc": ["oc-FR"],
|
|
233
|
-
"oka": ["oka-CA"],
|
|
234
178
|
"om": ["om-ET"],
|
|
235
179
|
"or": ["or-IN"],
|
|
236
180
|
"os": ["os-GE"],
|
|
237
|
-
"osa": ["osa-US"],
|
|
238
181
|
"pa-Arab": ["pa-Arab-PK"],
|
|
239
182
|
"pa-Guru": ["pa-Guru-IN"],
|
|
240
|
-
"pap": ["pap-CW"],
|
|
241
183
|
"pcm": ["pcm-NG"],
|
|
242
|
-
"pi-Latn": ["pi-Latn-GB"],
|
|
243
|
-
"pis": ["pis-SB"],
|
|
244
184
|
"pl": ["pl-PL"],
|
|
245
185
|
"pms": ["pms-IT"],
|
|
246
186
|
"prg": ["prg-PL"],
|
|
@@ -249,8 +189,6 @@ const defaultContent = {
|
|
|
249
189
|
"qu": ["qu-PE"],
|
|
250
190
|
"quc": ["quc-GT"],
|
|
251
191
|
"raj": ["raj-IN"],
|
|
252
|
-
"rhg-Rohg": ["rhg-Rohg-MM"],
|
|
253
|
-
"rif": ["rif-MA"],
|
|
254
192
|
"rm": ["rm-CH"],
|
|
255
193
|
"rn": ["rn-BI"],
|
|
256
194
|
"ro": ["ro-RO"],
|
|
@@ -261,41 +199,30 @@ const defaultContent = {
|
|
|
261
199
|
"sa": ["sa-IN"],
|
|
262
200
|
"sah": ["sah-RU"],
|
|
263
201
|
"saq": ["saq-KE"],
|
|
264
|
-
"sat-Deva": ["sat-Deva-IN"],
|
|
265
202
|
"sat-Olck": ["sat-Olck-IN"],
|
|
266
203
|
"sbp": ["sbp-TZ"],
|
|
267
204
|
"sc": ["sc-IT"],
|
|
268
205
|
"scn": ["scn-IT"],
|
|
269
206
|
"sd-Arab": ["sd-Arab-PK"],
|
|
270
207
|
"sd-Deva": ["sd-Deva-IN"],
|
|
271
|
-
"sdh": ["sdh-IR"],
|
|
272
208
|
"se": ["se-NO"],
|
|
273
209
|
"seh": ["seh-MZ"],
|
|
274
210
|
"ses": ["ses-ML"],
|
|
275
211
|
"sg": ["sg-CF"],
|
|
276
|
-
"sgs": ["sgs-LT"],
|
|
277
212
|
"shi-Latn": ["shi-Latn-MA"],
|
|
278
213
|
"shi-Tfng": ["shi-Tfng-MA"],
|
|
279
214
|
"shn": ["shn-MM"],
|
|
280
215
|
"si": ["si-LK"],
|
|
281
|
-
"sid": ["sid-ET"],
|
|
282
216
|
"sk": ["sk-SK"],
|
|
283
|
-
"skr": ["skr-PK"],
|
|
284
217
|
"sl": ["sl-SI"],
|
|
285
|
-
"sma": ["sma-SE"],
|
|
286
|
-
"smj": ["smj-SE"],
|
|
287
218
|
"smn": ["smn-FI"],
|
|
288
|
-
"sms": ["sms-FI"],
|
|
289
219
|
"sn": ["sn-ZW"],
|
|
290
220
|
"so": ["so-SO"],
|
|
291
221
|
"sq": ["sq-AL"],
|
|
292
222
|
"sr-Cyrl": ["sr-Cyrl-RS"],
|
|
293
223
|
"sr-Latn": ["sr-Latn-RS"],
|
|
294
|
-
"ss": ["ss-ZA"],
|
|
295
|
-
"ssy": ["ssy-ER"],
|
|
296
224
|
"st": ["st-ZA"],
|
|
297
225
|
"su-Latn": ["su-Latn-ID"],
|
|
298
|
-
"suz-Deva": ["suz-Deva-NP"],
|
|
299
226
|
"suz-Sunu": ["suz-Sunu-NP"],
|
|
300
227
|
"sv": ["sv-SE"],
|
|
301
228
|
"sw": ["sw-TZ"],
|
|
@@ -307,16 +234,11 @@ const defaultContent = {
|
|
|
307
234
|
"tg": ["tg-TJ"],
|
|
308
235
|
"th": ["th-TH"],
|
|
309
236
|
"ti": ["ti-ET"],
|
|
310
|
-
"tig": ["tig-ER"],
|
|
311
237
|
"tk": ["tk-TM"],
|
|
312
238
|
"tn": ["tn-ZA"],
|
|
313
239
|
"to": ["to-TO"],
|
|
314
240
|
"tok": ["tok-001"],
|
|
315
|
-
"tpi": ["tpi-PG"],
|
|
316
241
|
"tr": ["tr-TR"],
|
|
317
|
-
"trv": ["trv-TW"],
|
|
318
|
-
"trw": ["trw-PK"],
|
|
319
|
-
"ts": ["ts-ZA"],
|
|
320
242
|
"tt": ["tt-RU"],
|
|
321
243
|
"twq": ["twq-NE"],
|
|
322
244
|
"tyv": ["tyv-RU"],
|
|
@@ -329,16 +251,11 @@ const defaultContent = {
|
|
|
329
251
|
"uz-Latn": ["uz-Latn-UZ"],
|
|
330
252
|
"vai-Latn": ["vai-Latn-LR"],
|
|
331
253
|
"vai-Vaii": ["vai-Vaii-LR"],
|
|
332
|
-
"ve": ["ve-ZA"],
|
|
333
254
|
"vec": ["vec-IT"],
|
|
334
255
|
"vi": ["vi-VN"],
|
|
335
256
|
"vmw": ["vmw-MZ"],
|
|
336
|
-
"vo": ["vo-001"],
|
|
337
257
|
"vun": ["vun-TZ"],
|
|
338
|
-
"wa": ["wa-BE"],
|
|
339
258
|
"wae": ["wae-CH"],
|
|
340
|
-
"wal": ["wal-ET"],
|
|
341
|
-
"wbp": ["wbp-AU"],
|
|
342
259
|
"wo": ["wo-SN"],
|
|
343
260
|
"xh": ["xh-ZA"],
|
|
344
261
|
"xnr": ["xnr-IN"],
|
|
@@ -353,11 +270,9 @@ const defaultContent = {
|
|
|
353
270
|
"zgh": ["zgh-MA"],
|
|
354
271
|
"zh-Hans": ["zh-Hans-CN"],
|
|
355
272
|
"zh-Hant": ["zh-Hant-TW"],
|
|
356
|
-
"zh-Latn": ["zh-Latn-CN"],
|
|
357
273
|
"zu": ["zu-ZA"]
|
|
358
274
|
};
|
|
359
|
-
|
|
360
|
-
//#region packages/ecma402-abstract/registerLocaleData.js
|
|
275
|
+
// packages/ecma402-abstract/registerLocaleData.js
|
|
361
276
|
const explicitLocales = /* @__PURE__ */ new WeakMap();
|
|
362
277
|
function registerLocaleData(locale, data, localeData, availableLocales) {
|
|
363
278
|
let loaded = explicitLocales.get(localeData);
|
|
@@ -385,8 +300,7 @@ function registerLocaleData(locale, data, localeData, availableLocales) {
|
|
|
385
300
|
}
|
|
386
301
|
}
|
|
387
302
|
}
|
|
388
|
-
|
|
389
|
-
//#region packages/ecma402-abstract/CanonicalizeLocaleList.js
|
|
303
|
+
// packages/ecma402-abstract/CanonicalizeLocaleList.js
|
|
390
304
|
/**
|
|
391
305
|
* http://ecma-international.org/ecma-402/7.0/index.html#sec-canonicalizelocalelist
|
|
392
306
|
* @param locales
|
|
@@ -394,8 +308,7 @@ function registerLocaleData(locale, data, localeData, availableLocales) {
|
|
|
394
308
|
function CanonicalizeLocaleList$1(locales) {
|
|
395
309
|
return Intl.getCanonicalLocales(locales);
|
|
396
310
|
}
|
|
397
|
-
|
|
398
|
-
//#region packages/ecma262-abstract/ToString.js
|
|
311
|
+
// packages/ecma262-abstract/ToString.js
|
|
399
312
|
/**
|
|
400
313
|
* https://tc39.es/ecma262/#sec-tostring
|
|
401
314
|
*/
|
|
@@ -403,8 +316,7 @@ function ToString(o) {
|
|
|
403
316
|
if (typeof o === "symbol") throw TypeError("Cannot convert a Symbol value to a string");
|
|
404
317
|
return String(o);
|
|
405
318
|
}
|
|
406
|
-
|
|
407
|
-
//#region packages/ecma402-abstract/GetOption.js
|
|
319
|
+
// packages/ecma402-abstract/GetOption.js
|
|
408
320
|
/**
|
|
409
321
|
* https://tc39.es/ecma402/#sec-getoption
|
|
410
322
|
* @param opts
|
|
@@ -425,8 +337,7 @@ function GetOption(opts, prop, type, values, fallback) {
|
|
|
425
337
|
}
|
|
426
338
|
return fallback;
|
|
427
339
|
}
|
|
428
|
-
|
|
429
|
-
//#region packages/ecma402-abstract/GetOptionsObject.js
|
|
340
|
+
// packages/ecma402-abstract/GetOptionsObject.js
|
|
430
341
|
/**
|
|
431
342
|
* ECMA-262 §7.3.36 GetOptionsObject, steps 2–3.
|
|
432
343
|
* https://tc39.es/ecma262/#sec-getoptionsobject
|
|
@@ -439,8 +350,7 @@ function GetOptionsObject(options) {
|
|
|
439
350
|
if (options !== null && (typeof options === "object" || typeof options === "function")) return options;
|
|
440
351
|
throw new TypeError("Options must be an object");
|
|
441
352
|
}
|
|
442
|
-
|
|
443
|
-
//#region node_modules/.aspect_rules_js/@formatjs+fast-memoize@0.0.0/node_modules/@formatjs/fast-memoize/index.js
|
|
353
|
+
// node_modules/.aspect_rules_js/@formatjs+fast-memoize@0.0.0/node_modules/@formatjs/fast-memoize/index.js
|
|
444
354
|
function memoize(fn, options) {
|
|
445
355
|
const cache = options && options.cache ? options.cache : cacheDefault;
|
|
446
356
|
const serializer = options && options.serializer ? options.serializer : serializerDefault;
|
|
@@ -505,8 +415,7 @@ const strategies = {
|
|
|
505
415
|
variadic: strategyVariadic,
|
|
506
416
|
monadic: strategyMonadic
|
|
507
417
|
};
|
|
508
|
-
|
|
509
|
-
//#region packages/ecma402-abstract/utils.js
|
|
418
|
+
// packages/ecma402-abstract/utils.js
|
|
510
419
|
function setInternalSlot(map, pl, field, value) {
|
|
511
420
|
if (!map.get(pl)) map.set(pl, Object.create(null));
|
|
512
421
|
const slots = map.get(pl);
|
|
@@ -549,8 +458,7 @@ function invariant$1(condition, message, Err = Error) {
|
|
|
549
458
|
memoize((...args) => new Intl.NumberFormat(...args), { strategy: strategies.variadic });
|
|
550
459
|
memoize((...args) => new Intl.PluralRules(...args), { strategy: strategies.variadic });
|
|
551
460
|
memoize((...args) => new Intl.ListFormat(...args), { strategy: strategies.variadic });
|
|
552
|
-
|
|
553
|
-
//#region packages/ecma402-abstract/PartitionPattern.js
|
|
461
|
+
// packages/ecma402-abstract/PartitionPattern.js
|
|
554
462
|
/**
|
|
555
463
|
* Partition a pattern into a list of literals and placeholders
|
|
556
464
|
* https://tc39.es/ecma402/#sec-partitionpattern
|
|
@@ -582,8 +490,7 @@ function PartitionPattern(pattern) {
|
|
|
582
490
|
});
|
|
583
491
|
return result;
|
|
584
492
|
}
|
|
585
|
-
|
|
586
|
-
//#region node_modules/.aspect_rules_js/@formatjs+intl-localematcher@0.0.0/node_modules/@formatjs/intl-localematcher/index.js
|
|
493
|
+
// node_modules/.aspect_rules_js/@formatjs+intl-localematcher@0.0.0/node_modules/@formatjs/intl-localematcher/index.js
|
|
587
494
|
/**
|
|
588
495
|
* http://ecma-international.org/ecma-402/7.0/index.html#sec-canonicalizelocalelist
|
|
589
496
|
* @param locales
|
|
@@ -693,8 +600,12 @@ const matchingData = {
|
|
|
693
600
|
"ps|en": 30,
|
|
694
601
|
"qu|es": 30,
|
|
695
602
|
"rm|de": 20,
|
|
696
|
-
"rn|
|
|
697
|
-
"rw|
|
|
603
|
+
"rn|rw": 10,
|
|
604
|
+
"rw|rn": 10,
|
|
605
|
+
"rn|fr": 30,
|
|
606
|
+
"rn|en": 35,
|
|
607
|
+
"rw|en": 30,
|
|
608
|
+
"rw|fr": 35,
|
|
698
609
|
"sa|hi": 30,
|
|
699
610
|
"scn|it": 20,
|
|
700
611
|
"sd|en": 30,
|
|
@@ -1551,7 +1462,7 @@ const matchingData = {
|
|
|
1551
1462
|
"pt-BR",
|
|
1552
1463
|
"pt-PT"
|
|
1553
1464
|
],
|
|
1554
|
-
"cldrVersion": "
|
|
1465
|
+
"cldrVersion": "49",
|
|
1555
1466
|
"macroRegions": ["419"],
|
|
1556
1467
|
"canonicalAliases": {
|
|
1557
1468
|
"language": [
|
|
@@ -1665,7 +1576,6 @@ const matchingData = {
|
|
|
1665
1576
|
"ewe",
|
|
1666
1577
|
"fao",
|
|
1667
1578
|
"fas",
|
|
1668
|
-
"fat",
|
|
1669
1579
|
"fij",
|
|
1670
1580
|
"fin",
|
|
1671
1581
|
"fra",
|
|
@@ -1805,6 +1715,7 @@ const matchingData = {
|
|
|
1805
1715
|
"mof",
|
|
1806
1716
|
"mol",
|
|
1807
1717
|
"mon",
|
|
1718
|
+
"mrd",
|
|
1808
1719
|
"mri",
|
|
1809
1720
|
"msa",
|
|
1810
1721
|
"mst",
|
|
@@ -1886,6 +1797,7 @@ const matchingData = {
|
|
|
1886
1797
|
"sgl",
|
|
1887
1798
|
"sgn",
|
|
1888
1799
|
"sh",
|
|
1800
|
+
"shl",
|
|
1889
1801
|
"sin",
|
|
1890
1802
|
"skk",
|
|
1891
1803
|
"slk",
|
|
@@ -1980,6 +1892,7 @@ const matchingData = {
|
|
|
1980
1892
|
"yiy",
|
|
1981
1893
|
"yma",
|
|
1982
1894
|
"ymt",
|
|
1895
|
+
"yol",
|
|
1983
1896
|
"yor",
|
|
1984
1897
|
"yos",
|
|
1985
1898
|
"yuu",
|
|
@@ -2536,16 +2449,23 @@ function distance(desired, supported) {
|
|
|
2536
2449
|
/** ICU language/script/region distance, including fractional explicit-subtag ties. */
|
|
2537
2450
|
const findMatchingDistance = memoize((desired, supported) => distance(maximal(canonicalize(desired)), maximal(canonicalize(supported))), { serializer: (args) => `${args[0]}|${args[1]}` });
|
|
2538
2451
|
const supportedCache = /* @__PURE__ */ new WeakMap();
|
|
2452
|
+
const immutableLocaleLists = /* @__PURE__ */ new WeakSet();
|
|
2539
2453
|
let paradigms;
|
|
2454
|
+
function createLocaleListSnapshot(locales) {
|
|
2455
|
+
const snapshot = Object.freeze(Array.from(locales));
|
|
2456
|
+
immutableLocaleLists.add(snapshot);
|
|
2457
|
+
return snapshot;
|
|
2458
|
+
}
|
|
2540
2459
|
function equivalentKey(lsr) {
|
|
2541
2460
|
return `${lsr.language}|${lsr.script}|${lsr.region}`;
|
|
2542
2461
|
}
|
|
2543
2462
|
function prepare(locales) {
|
|
2463
|
+
const immutable = immutableLocaleLists.has(locales);
|
|
2544
2464
|
let result = supportedCache.get(locales);
|
|
2545
|
-
if (result && (result.original.length !== locales.length || result.original.some((tag, index) => tag !== locales[index]))) result = void 0;
|
|
2465
|
+
if (result && !immutable && (result.original.length !== locales.length || result.original.some((tag, index) => tag !== locales[index]))) result = void 0;
|
|
2546
2466
|
if (!result) {
|
|
2547
2467
|
result = {
|
|
2548
|
-
original: Array.from(locales),
|
|
2468
|
+
original: immutable ? locales : Array.from(locales),
|
|
2549
2469
|
tags: [],
|
|
2550
2470
|
raw: /* @__PURE__ */ new Map(),
|
|
2551
2471
|
orders: /* @__PURE__ */ new Map(),
|
|
@@ -2902,13 +2822,11 @@ const extensionAlias = {
|
|
|
2902
2822
|
"cnckg": "cnsha",
|
|
2903
2823
|
"cnhrb": "cnsha",
|
|
2904
2824
|
"cnkhg": "cnurc",
|
|
2905
|
-
"cst6cdt": "uschi",
|
|
2906
2825
|
"cuba": "cuhav",
|
|
2907
2826
|
"eet": "grath",
|
|
2908
2827
|
"egypt": "egcai",
|
|
2909
2828
|
"eire": "iedub",
|
|
2910
2829
|
"est": "papty",
|
|
2911
|
-
"est5edt": "usnyc",
|
|
2912
2830
|
"factory": "unk",
|
|
2913
2831
|
"gaza": "gazastrp",
|
|
2914
2832
|
"gmt0": "gmt",
|
|
@@ -2923,13 +2841,11 @@ const extensionAlias = {
|
|
|
2923
2841
|
"met": "bebru",
|
|
2924
2842
|
"mncoq": "mnuln",
|
|
2925
2843
|
"mst": "usphx",
|
|
2926
|
-
"mst7mdt": "usden",
|
|
2927
2844
|
"mxstis": "mxtij",
|
|
2928
2845
|
"navajo": "usden",
|
|
2929
2846
|
"poland": "plwaw",
|
|
2930
2847
|
"portugal": "ptlis",
|
|
2931
2848
|
"prc": "cnsha",
|
|
2932
|
-
"pst8pdt": "uslax",
|
|
2933
2849
|
"roc": "twtpe",
|
|
2934
2850
|
"rok": "krsel",
|
|
2935
2851
|
"turkey": "trist",
|
|
@@ -3055,22 +2971,28 @@ function UnicodeExtensionComponents(extension) {
|
|
|
3055
2971
|
};
|
|
3056
2972
|
}
|
|
3057
2973
|
const availableLocaleArrays = /* @__PURE__ */ new WeakMap();
|
|
3058
|
-
function localeArray(locales) {
|
|
2974
|
+
function localeArray(locales, bestFit) {
|
|
3059
2975
|
if (Array.isArray(locales)) return locales;
|
|
3060
2976
|
const available = locales;
|
|
3061
|
-
|
|
3062
|
-
if (cached?.length
|
|
2977
|
+
let cached = availableLocaleArrays.get(available);
|
|
2978
|
+
if (cached?.original.length !== available.size) cached = void 0;
|
|
2979
|
+
if (cached) {
|
|
2980
|
+
const original = cached.original;
|
|
3063
2981
|
let index = 0;
|
|
3064
|
-
for (const locale of available) if (
|
|
3065
|
-
|
|
3066
|
-
|
|
3067
|
-
return result;
|
|
2982
|
+
for (const locale of available) if (original[index++] !== locale) {
|
|
2983
|
+
cached = void 0;
|
|
2984
|
+
break;
|
|
3068
2985
|
}
|
|
3069
|
-
return cached;
|
|
3070
2986
|
}
|
|
3071
|
-
|
|
3072
|
-
|
|
3073
|
-
|
|
2987
|
+
if (!cached) {
|
|
2988
|
+
cached = {
|
|
2989
|
+
original: Array.from(available),
|
|
2990
|
+
snapshot: void 0
|
|
2991
|
+
};
|
|
2992
|
+
availableLocaleArrays.set(available, cached);
|
|
2993
|
+
}
|
|
2994
|
+
if (!bestFit) return cached.original;
|
|
2995
|
+
return cached.snapshot ??= createLocaleListSnapshot(cached.original);
|
|
3074
2996
|
}
|
|
3075
2997
|
/**
|
|
3076
2998
|
* https://tc39.es/ecma402/#sec-resolvelocale
|
|
@@ -3078,8 +3000,8 @@ function localeArray(locales) {
|
|
|
3078
3000
|
function ResolveLocale(availableLocales, requestedLocales, options, relevantExtensionKeys, localeData, getDefaultLocale) {
|
|
3079
3001
|
const matcher = options.localeMatcher;
|
|
3080
3002
|
let r;
|
|
3081
|
-
if (matcher === "lookup") r = LookupMatcher(localeArray(availableLocales), requestedLocales, getDefaultLocale);
|
|
3082
|
-
else r = BestFitMatcher(localeArray(availableLocales), requestedLocales, getDefaultLocale);
|
|
3003
|
+
if (matcher === "lookup") r = LookupMatcher(localeArray(availableLocales, false), requestedLocales, getDefaultLocale);
|
|
3004
|
+
else r = BestFitMatcher(localeArray(availableLocales, true), requestedLocales, getDefaultLocale);
|
|
3083
3005
|
if (r == null) r = {
|
|
3084
3006
|
locale: getDefaultLocale(),
|
|
3085
3007
|
extension: ""
|
|
@@ -3158,8 +3080,7 @@ function LookupSupportedLocales(availableLocales, requestedLocales) {
|
|
|
3158
3080
|
function match(requestedLocales, availableLocales, defaultLocale, opts) {
|
|
3159
3081
|
return ResolveLocale(availableLocales, CanonicalizeLocaleList(requestedLocales), { localeMatcher: opts?.algorithm || "best fit" }, [], {}, () => defaultLocale).locale;
|
|
3160
3082
|
}
|
|
3161
|
-
|
|
3162
|
-
//#region packages/ecma262-abstract/ToObject.js
|
|
3083
|
+
// packages/ecma262-abstract/ToObject.js
|
|
3163
3084
|
/**
|
|
3164
3085
|
* https://tc39.es/ecma262/#sec-toobject
|
|
3165
3086
|
*/
|
|
@@ -3167,8 +3088,7 @@ function ToObject(arg) {
|
|
|
3167
3088
|
if (arg == null) throw new TypeError("undefined/null cannot be converted to object");
|
|
3168
3089
|
return Object(arg);
|
|
3169
3090
|
}
|
|
3170
|
-
|
|
3171
|
-
//#region packages/ecma402-abstract/SupportedLocales.js
|
|
3091
|
+
// packages/ecma402-abstract/SupportedLocales.js
|
|
3172
3092
|
/**
|
|
3173
3093
|
* https://tc39.es/ecma402/#sec-supportedlocales
|
|
3174
3094
|
* @param availableLocales
|
|
@@ -3184,8 +3104,7 @@ function SupportedLocales(availableLocales, requestedLocales, options) {
|
|
|
3184
3104
|
if (matcher === "best fit") return LookupSupportedLocales(Array.from(availableLocales), requestedLocales);
|
|
3185
3105
|
return LookupSupportedLocales(Array.from(availableLocales), requestedLocales);
|
|
3186
3106
|
}
|
|
3187
|
-
|
|
3188
|
-
//#region packages/intl-listformat/index.ts
|
|
3107
|
+
// packages/intl-listformat/index.ts
|
|
3189
3108
|
function validateInstance(instance, method) {
|
|
3190
3109
|
if (!(instance instanceof ListFormat)) throw new TypeError(`Method Intl.ListFormat.prototype.${method} called on incompatible receiver ${String(instance)}`);
|
|
3191
3110
|
}
|
|
@@ -3371,21 +3290,16 @@ try {
|
|
|
3371
3290
|
configurable: true
|
|
3372
3291
|
});
|
|
3373
3292
|
} catch {}
|
|
3374
|
-
|
|
3375
|
-
//#region node_modules/.aspect_rules_js/@formatjs_generated+cldr.supported-locales@0.0.0/node_modules/@formatjs_generated/cldr.supported-locales/intl-listformat.js
|
|
3293
|
+
// node_modules/.aspect_rules_js/@formatjs_generated+cldr.supported-locales@0.0.0/node_modules/@formatjs_generated/cldr.supported-locales/intl-listformat.js
|
|
3376
3294
|
const supportedLocales = [
|
|
3377
|
-
"
|
|
3378
|
-
"
|
|
3379
|
-
"
|
|
3380
|
-
"ab",
|
|
3295
|
+
"ady",
|
|
3296
|
+
"ady-JO",
|
|
3297
|
+
"ady-TR",
|
|
3381
3298
|
"af",
|
|
3382
3299
|
"af-NA",
|
|
3383
3300
|
"agq",
|
|
3384
3301
|
"ak",
|
|
3385
3302
|
"am",
|
|
3386
|
-
"an",
|
|
3387
|
-
"ann",
|
|
3388
|
-
"apc",
|
|
3389
3303
|
"ar",
|
|
3390
3304
|
"ar-AE",
|
|
3391
3305
|
"ar-BH",
|
|
@@ -3414,73 +3328,50 @@ const supportedLocales = [
|
|
|
3414
3328
|
"ar-TD",
|
|
3415
3329
|
"ar-TN",
|
|
3416
3330
|
"ar-YE",
|
|
3417
|
-
"arn",
|
|
3418
3331
|
"as",
|
|
3419
3332
|
"asa",
|
|
3420
3333
|
"ast",
|
|
3421
3334
|
"az",
|
|
3422
|
-
"az-Arab",
|
|
3423
|
-
"az-Arab-IQ",
|
|
3424
|
-
"az-Arab-TR",
|
|
3425
3335
|
"az-Cyrl",
|
|
3426
3336
|
"az-Latn",
|
|
3427
3337
|
"ba",
|
|
3428
|
-
"bal",
|
|
3429
|
-
"bal-Arab",
|
|
3430
3338
|
"bal-Latn",
|
|
3431
3339
|
"bas",
|
|
3432
3340
|
"be",
|
|
3433
3341
|
"be-tarask",
|
|
3434
3342
|
"bem",
|
|
3435
|
-
"bew",
|
|
3436
3343
|
"bez",
|
|
3437
3344
|
"bg",
|
|
3438
3345
|
"bgc",
|
|
3439
|
-
"bgn",
|
|
3440
|
-
"bgn-AE",
|
|
3441
|
-
"bgn-AF",
|
|
3442
|
-
"bgn-IR",
|
|
3443
|
-
"bgn-OM",
|
|
3444
3346
|
"bho",
|
|
3445
3347
|
"blo",
|
|
3446
|
-
"blt",
|
|
3447
3348
|
"bm",
|
|
3448
|
-
"bm-Nkoo",
|
|
3449
3349
|
"bn",
|
|
3450
3350
|
"bn-IN",
|
|
3451
3351
|
"bo",
|
|
3452
3352
|
"bo-IN",
|
|
3453
|
-
"bqi",
|
|
3454
3353
|
"br",
|
|
3455
3354
|
"brx",
|
|
3456
3355
|
"bs",
|
|
3457
3356
|
"bs-Cyrl",
|
|
3458
3357
|
"bs-Latn",
|
|
3459
|
-
"bss",
|
|
3460
3358
|
"bua",
|
|
3461
|
-
"byn",
|
|
3462
3359
|
"ca",
|
|
3463
3360
|
"ca-AD",
|
|
3464
3361
|
"ca-ES-valencia",
|
|
3465
3362
|
"ca-FR",
|
|
3466
3363
|
"ca-IT",
|
|
3467
|
-
"cad",
|
|
3468
|
-
"cch",
|
|
3469
3364
|
"ccp",
|
|
3470
3365
|
"ccp-IN",
|
|
3471
3366
|
"ce",
|
|
3472
3367
|
"ceb",
|
|
3473
3368
|
"cgg",
|
|
3474
|
-
"cho",
|
|
3475
3369
|
"chr",
|
|
3476
|
-
"cic",
|
|
3477
3370
|
"ckb",
|
|
3478
3371
|
"ckb-IR",
|
|
3479
|
-
"co",
|
|
3480
3372
|
"cop",
|
|
3481
3373
|
"cs",
|
|
3482
3374
|
"csw",
|
|
3483
|
-
"cu",
|
|
3484
3375
|
"cv",
|
|
3485
3376
|
"cy",
|
|
3486
3377
|
"da",
|
|
@@ -3497,7 +3388,6 @@ const supportedLocales = [
|
|
|
3497
3388
|
"doi",
|
|
3498
3389
|
"dsb",
|
|
3499
3390
|
"dua",
|
|
3500
|
-
"dv",
|
|
3501
3391
|
"dyo",
|
|
3502
3392
|
"dz",
|
|
3503
3393
|
"ebu",
|
|
@@ -3534,7 +3424,6 @@ const supportedLocales = [
|
|
|
3534
3424
|
"en-DG",
|
|
3535
3425
|
"en-DK",
|
|
3536
3426
|
"en-DM",
|
|
3537
|
-
"en-Dsrt",
|
|
3538
3427
|
"en-EE",
|
|
3539
3428
|
"en-ER",
|
|
3540
3429
|
"en-ES",
|
|
@@ -3614,7 +3503,6 @@ const supportedLocales = [
|
|
|
3614
3503
|
"en-SS",
|
|
3615
3504
|
"en-SX",
|
|
3616
3505
|
"en-SZ",
|
|
3617
|
-
"en-Shaw",
|
|
3618
3506
|
"en-TC",
|
|
3619
3507
|
"en-TK",
|
|
3620
3508
|
"en-TO",
|
|
@@ -3741,17 +3629,13 @@ const supportedLocales = [
|
|
|
3741
3629
|
"fr-VU",
|
|
3742
3630
|
"fr-WF",
|
|
3743
3631
|
"fr-YT",
|
|
3744
|
-
"frr",
|
|
3745
3632
|
"fur",
|
|
3746
3633
|
"fy",
|
|
3747
3634
|
"ga",
|
|
3748
3635
|
"ga-GB",
|
|
3749
3636
|
"gaa",
|
|
3750
3637
|
"gd",
|
|
3751
|
-
"gez",
|
|
3752
|
-
"gez-ER",
|
|
3753
3638
|
"gl",
|
|
3754
|
-
"gn",
|
|
3755
3639
|
"gsw",
|
|
3756
3640
|
"gsw-FR",
|
|
3757
3641
|
"gsw-LI",
|
|
@@ -3759,20 +3643,15 @@ const supportedLocales = [
|
|
|
3759
3643
|
"guz",
|
|
3760
3644
|
"gv",
|
|
3761
3645
|
"ha",
|
|
3762
|
-
"ha-Arab",
|
|
3763
|
-
"ha-Arab-SD",
|
|
3764
3646
|
"ha-GH",
|
|
3765
3647
|
"ha-NE",
|
|
3766
3648
|
"haw",
|
|
3767
3649
|
"he",
|
|
3768
3650
|
"hi",
|
|
3769
3651
|
"hi-Latn",
|
|
3770
|
-
"hnj",
|
|
3771
|
-
"hnj-Hmnp",
|
|
3772
3652
|
"hr",
|
|
3773
3653
|
"hr-BA",
|
|
3774
3654
|
"hsb",
|
|
3775
|
-
"ht",
|
|
3776
3655
|
"hu",
|
|
3777
3656
|
"hy",
|
|
3778
3657
|
"ia",
|
|
@@ -3780,31 +3659,23 @@ const supportedLocales = [
|
|
|
3780
3659
|
"ie",
|
|
3781
3660
|
"ig",
|
|
3782
3661
|
"ii",
|
|
3783
|
-
"io",
|
|
3784
3662
|
"is",
|
|
3785
3663
|
"it",
|
|
3786
3664
|
"it-CH",
|
|
3787
3665
|
"it-SM",
|
|
3788
3666
|
"it-VA",
|
|
3789
|
-
"iu",
|
|
3790
|
-
"iu-Latn",
|
|
3791
3667
|
"ja",
|
|
3792
|
-
"jbo",
|
|
3793
3668
|
"jgo",
|
|
3794
3669
|
"jmc",
|
|
3795
3670
|
"jv",
|
|
3796
3671
|
"ka",
|
|
3797
|
-
"kaa",
|
|
3798
|
-
"kaa-Cyrl",
|
|
3799
|
-
"kaa-Latn",
|
|
3800
3672
|
"kab",
|
|
3801
|
-
"kaj",
|
|
3802
3673
|
"kam",
|
|
3803
|
-
"
|
|
3674
|
+
"kbd",
|
|
3675
|
+
"kbd-TR",
|
|
3804
3676
|
"kde",
|
|
3805
3677
|
"kea",
|
|
3806
3678
|
"kek",
|
|
3807
|
-
"ken",
|
|
3808
3679
|
"kgp",
|
|
3809
3680
|
"khq",
|
|
3810
3681
|
"ki",
|
|
@@ -3823,8 +3694,6 @@ const supportedLocales = [
|
|
|
3823
3694
|
"kok",
|
|
3824
3695
|
"kok-Deva",
|
|
3825
3696
|
"kok-Latn",
|
|
3826
|
-
"kpe",
|
|
3827
|
-
"kpe-GN",
|
|
3828
3697
|
"ks",
|
|
3829
3698
|
"ks-Arab",
|
|
3830
3699
|
"ks-Deva",
|
|
@@ -3832,8 +3701,6 @@ const supportedLocales = [
|
|
|
3832
3701
|
"ksf",
|
|
3833
3702
|
"ksh",
|
|
3834
3703
|
"ku",
|
|
3835
|
-
"ku-Arab",
|
|
3836
|
-
"ku-Arab-IR",
|
|
3837
3704
|
"ku-Latn",
|
|
3838
3705
|
"ku-Latn-IQ",
|
|
3839
3706
|
"ku-Latn-SY",
|
|
@@ -3845,7 +3712,6 @@ const supportedLocales = [
|
|
|
3845
3712
|
"kxv-Orya",
|
|
3846
3713
|
"kxv-Telu",
|
|
3847
3714
|
"ky",
|
|
3848
|
-
"la",
|
|
3849
3715
|
"lag",
|
|
3850
3716
|
"lb",
|
|
3851
3717
|
"lg",
|
|
@@ -3861,47 +3727,32 @@ const supportedLocales = [
|
|
|
3861
3727
|
"lrc",
|
|
3862
3728
|
"lrc-IQ",
|
|
3863
3729
|
"lt",
|
|
3864
|
-
"ltg",
|
|
3865
3730
|
"lu",
|
|
3866
3731
|
"luo",
|
|
3867
3732
|
"luy",
|
|
3868
3733
|
"lv",
|
|
3869
|
-
"lzz",
|
|
3870
3734
|
"mai",
|
|
3871
3735
|
"mas",
|
|
3872
3736
|
"mas-TZ",
|
|
3873
|
-
"mdf",
|
|
3874
3737
|
"mer",
|
|
3875
3738
|
"mfe",
|
|
3876
3739
|
"mg",
|
|
3877
3740
|
"mgh",
|
|
3878
3741
|
"mgo",
|
|
3879
|
-
"mhn",
|
|
3880
3742
|
"mi",
|
|
3881
|
-
"mic",
|
|
3882
3743
|
"mk",
|
|
3883
3744
|
"ml",
|
|
3884
3745
|
"mn",
|
|
3885
|
-
"mn-Mong",
|
|
3886
|
-
"mn-Mong-MN",
|
|
3887
3746
|
"mni",
|
|
3888
3747
|
"mni-Beng",
|
|
3889
|
-
"mni-Mtei",
|
|
3890
|
-
"moh",
|
|
3891
3748
|
"mr",
|
|
3892
3749
|
"ms",
|
|
3893
|
-
"ms-Arab",
|
|
3894
|
-
"ms-Arab-BN",
|
|
3895
3750
|
"ms-BN",
|
|
3896
3751
|
"ms-ID",
|
|
3897
3752
|
"ms-SG",
|
|
3898
3753
|
"mt",
|
|
3899
3754
|
"mua",
|
|
3900
|
-
"mus",
|
|
3901
|
-
"mww",
|
|
3902
|
-
"mww-Hmnp",
|
|
3903
3755
|
"my",
|
|
3904
|
-
"myv",
|
|
3905
3756
|
"mzn",
|
|
3906
3757
|
"naq",
|
|
3907
3758
|
"nb",
|
|
@@ -3923,31 +3774,20 @@ const supportedLocales = [
|
|
|
3923
3774
|
"nnh",
|
|
3924
3775
|
"no",
|
|
3925
3776
|
"nqo",
|
|
3926
|
-
"nr",
|
|
3927
3777
|
"nso",
|
|
3928
3778
|
"nus",
|
|
3929
|
-
"nv",
|
|
3930
|
-
"ny",
|
|
3931
3779
|
"nyn",
|
|
3932
3780
|
"oc",
|
|
3933
3781
|
"oc-ES",
|
|
3934
|
-
"oka",
|
|
3935
|
-
"oka-US",
|
|
3936
3782
|
"om",
|
|
3937
3783
|
"om-KE",
|
|
3938
3784
|
"or",
|
|
3939
3785
|
"os",
|
|
3940
3786
|
"os-RU",
|
|
3941
|
-
"osa",
|
|
3942
3787
|
"pa",
|
|
3943
3788
|
"pa-Arab",
|
|
3944
3789
|
"pa-Guru",
|
|
3945
|
-
"pap",
|
|
3946
|
-
"pap-AW",
|
|
3947
3790
|
"pcm",
|
|
3948
|
-
"pi",
|
|
3949
|
-
"pi-Latn",
|
|
3950
|
-
"pis",
|
|
3951
3791
|
"pl",
|
|
3952
3792
|
"pms",
|
|
3953
3793
|
"prg",
|
|
@@ -3970,10 +3810,6 @@ const supportedLocales = [
|
|
|
3970
3810
|
"qu-EC",
|
|
3971
3811
|
"quc",
|
|
3972
3812
|
"raj",
|
|
3973
|
-
"rhg",
|
|
3974
|
-
"rhg-Rohg",
|
|
3975
|
-
"rhg-Rohg-BD",
|
|
3976
|
-
"rif",
|
|
3977
3813
|
"rm",
|
|
3978
3814
|
"rn",
|
|
3979
3815
|
"ro",
|
|
@@ -3991,7 +3827,6 @@ const supportedLocales = [
|
|
|
3991
3827
|
"sah",
|
|
3992
3828
|
"saq",
|
|
3993
3829
|
"sat",
|
|
3994
|
-
"sat-Deva",
|
|
3995
3830
|
"sat-Olck",
|
|
3996
3831
|
"sbp",
|
|
3997
3832
|
"sc",
|
|
@@ -3999,31 +3834,21 @@ const supportedLocales = [
|
|
|
3999
3834
|
"sd",
|
|
4000
3835
|
"sd-Arab",
|
|
4001
3836
|
"sd-Deva",
|
|
4002
|
-
"sdh",
|
|
4003
|
-
"sdh-IQ",
|
|
4004
3837
|
"se",
|
|
4005
3838
|
"se-FI",
|
|
4006
3839
|
"se-SE",
|
|
4007
3840
|
"seh",
|
|
4008
3841
|
"ses",
|
|
4009
3842
|
"sg",
|
|
4010
|
-
"sgs",
|
|
4011
3843
|
"shi",
|
|
4012
3844
|
"shi-Latn",
|
|
4013
3845
|
"shi-Tfng",
|
|
4014
3846
|
"shn",
|
|
4015
3847
|
"shn-TH",
|
|
4016
3848
|
"si",
|
|
4017
|
-
"sid",
|
|
4018
3849
|
"sk",
|
|
4019
|
-
"skr",
|
|
4020
3850
|
"sl",
|
|
4021
|
-
"sma",
|
|
4022
|
-
"sma-NO",
|
|
4023
|
-
"smj",
|
|
4024
|
-
"smj-NO",
|
|
4025
3851
|
"smn",
|
|
4026
|
-
"sms",
|
|
4027
3852
|
"sn",
|
|
4028
3853
|
"so",
|
|
4029
3854
|
"so-DJ",
|
|
@@ -4041,15 +3866,10 @@ const supportedLocales = [
|
|
|
4041
3866
|
"sr-Latn-BA",
|
|
4042
3867
|
"sr-Latn-ME",
|
|
4043
3868
|
"sr-Latn-XK",
|
|
4044
|
-
"ss",
|
|
4045
|
-
"ss-SZ",
|
|
4046
|
-
"ssy",
|
|
4047
3869
|
"st",
|
|
4048
3870
|
"st-LS",
|
|
4049
3871
|
"su",
|
|
4050
3872
|
"su-Latn",
|
|
4051
|
-
"suz",
|
|
4052
|
-
"suz-Deva",
|
|
4053
3873
|
"suz-Sunu",
|
|
4054
3874
|
"sv",
|
|
4055
3875
|
"sv-AX",
|
|
@@ -4072,18 +3892,13 @@ const supportedLocales = [
|
|
|
4072
3892
|
"th",
|
|
4073
3893
|
"ti",
|
|
4074
3894
|
"ti-ER",
|
|
4075
|
-
"tig",
|
|
4076
3895
|
"tk",
|
|
4077
3896
|
"tn",
|
|
4078
3897
|
"tn-BW",
|
|
4079
3898
|
"to",
|
|
4080
3899
|
"tok",
|
|
4081
|
-
"tpi",
|
|
4082
3900
|
"tr",
|
|
4083
3901
|
"tr-CY",
|
|
4084
|
-
"trv",
|
|
4085
|
-
"trw",
|
|
4086
|
-
"ts",
|
|
4087
3902
|
"tt",
|
|
4088
3903
|
"twq",
|
|
4089
3904
|
"tyv",
|
|
@@ -4100,16 +3915,11 @@ const supportedLocales = [
|
|
|
4100
3915
|
"vai",
|
|
4101
3916
|
"vai-Latn",
|
|
4102
3917
|
"vai-Vaii",
|
|
4103
|
-
"ve",
|
|
4104
3918
|
"vec",
|
|
4105
3919
|
"vi",
|
|
4106
3920
|
"vmw",
|
|
4107
|
-
"vo",
|
|
4108
3921
|
"vun",
|
|
4109
|
-
"wa",
|
|
4110
3922
|
"wae",
|
|
4111
|
-
"wal",
|
|
4112
|
-
"wbp",
|
|
4113
3923
|
"wo",
|
|
4114
3924
|
"xh",
|
|
4115
3925
|
"xnr",
|
|
@@ -4138,11 +3948,9 @@ const supportedLocales = [
|
|
|
4138
3948
|
"zh-Hant-HK",
|
|
4139
3949
|
"zh-Hant-MO",
|
|
4140
3950
|
"zh-Hant-MY",
|
|
4141
|
-
"zh-Latn",
|
|
4142
3951
|
"zu"
|
|
4143
3952
|
];
|
|
4144
|
-
|
|
4145
|
-
//#region packages/intl-listformat/should-polyfill.ts
|
|
3953
|
+
// packages/intl-listformat/should-polyfill.ts
|
|
4146
3954
|
function supportedLocalesOf(locale) {
|
|
4147
3955
|
if (!locale) return true;
|
|
4148
3956
|
const locales = Array.isArray(locale) ? locale : [locale];
|
|
@@ -4151,8 +3959,7 @@ function supportedLocalesOf(locale) {
|
|
|
4151
3959
|
function shouldPolyfill(locale = "en") {
|
|
4152
3960
|
if (typeof Intl === "undefined" || !("ListFormat" in Intl) || !supportedLocalesOf(locale)) return locale ? match([locale], supportedLocales, "en") : void 0;
|
|
4153
3961
|
}
|
|
4154
|
-
|
|
4155
|
-
//#region packages/intl-listformat/polyfill.ts
|
|
3962
|
+
// packages/intl-listformat/polyfill.ts
|
|
4156
3963
|
const intl = ensureIntl();
|
|
4157
3964
|
if (shouldPolyfill()) {
|
|
4158
3965
|
defineProperty(intl, "ListFormat", { value: ListFormat });
|
|
@@ -4162,6 +3969,5 @@ if (shouldPolyfill()) {
|
|
|
4162
3969
|
delete globalThis.__FORMATJS_LISTFORMAT_DATA__;
|
|
4163
3970
|
}
|
|
4164
3971
|
}
|
|
4165
|
-
//#endregion
|
|
4166
3972
|
|
|
4167
3973
|
//# sourceMappingURL=polyfill.iife.js.map
|