@formatjs/intl-supportedvaluesof 2.3.9 → 2.3.10
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 +32 -28
- package/index.js +91 -22
- package/index.js.map +1 -1
- package/package.json +1 -1
- package/polyfill-force.d.ts +1 -1
- package/polyfill-force.js +91 -24
- package/polyfill-force.js.map +1 -1
- package/polyfill.d.ts +1 -1
- package/polyfill.iife.js +1021 -22
- package/polyfill.js +91 -22
- package/polyfill.js.map +1 -1
- package/should-polyfill.d.ts +1 -2
package/polyfill.iife.js
CHANGED
|
@@ -1,14 +1,17 @@
|
|
|
1
|
-
import { calendars } from "@formatjs_generated/cldr.supported-values/calendars.js";
|
|
2
|
-
import { collations } from "@formatjs_generated/cldr.supported-values/collations.js";
|
|
3
|
-
import { currencies } from "@formatjs_generated/cldr.supported-values/currencies.js";
|
|
4
|
-
import { numberingSystemNames } from "@formatjs_generated/cldr.number/numbering-systems.js";
|
|
5
|
-
import { timezones } from "@formatjs_generated/cldr.supported-values/timezones.js";
|
|
6
|
-
import { units } from "@formatjs_generated/cldr.supported-values/units.js";
|
|
7
1
|
//#region packages/intl-supportedvaluesof/should-polyfill.ts
|
|
8
2
|
function shouldPolyfill() {
|
|
9
3
|
return typeof Intl === "undefined" || !("supportedValuesOf" in Intl);
|
|
10
4
|
}
|
|
11
5
|
//#endregion
|
|
6
|
+
//#region packages/ecma262-abstract/ToString.js
|
|
7
|
+
/**
|
|
8
|
+
* https://tc39.es/ecma262/#sec-tostring
|
|
9
|
+
*/
|
|
10
|
+
function ToString(o) {
|
|
11
|
+
if (typeof o === "symbol") throw TypeError("Cannot convert a Symbol value to a string");
|
|
12
|
+
return String(o);
|
|
13
|
+
}
|
|
14
|
+
//#endregion
|
|
12
15
|
//#region node_modules/.aspect_rules_js/@formatjs+fast-memoize@0.0.0/node_modules/@formatjs/fast-memoize/index.js
|
|
13
16
|
function memoize(fn, options) {
|
|
14
17
|
const cache = options && options.cache ? options.cache : cacheDefault;
|
|
@@ -86,6 +89,29 @@ const strategies = {
|
|
|
86
89
|
*/
|
|
87
90
|
const createMemoizedDateTimeFormat = memoize((...args) => new Intl.DateTimeFormat(...args), { strategy: strategies.variadic });
|
|
88
91
|
//#endregion
|
|
92
|
+
//#region node_modules/.aspect_rules_js/@formatjs_generated+cldr.supported-values@0.0.0/node_modules/@formatjs_generated/cldr.supported-values/calendars.js
|
|
93
|
+
const calendars = [
|
|
94
|
+
"buddhist",
|
|
95
|
+
"chinese",
|
|
96
|
+
"coptic",
|
|
97
|
+
"dangi",
|
|
98
|
+
"ethioaa",
|
|
99
|
+
"ethiopic",
|
|
100
|
+
"gregory",
|
|
101
|
+
"hebrew",
|
|
102
|
+
"indian",
|
|
103
|
+
"islamic",
|
|
104
|
+
"islamic-civil",
|
|
105
|
+
"islamic-rgsa",
|
|
106
|
+
"islamic-tbla",
|
|
107
|
+
"islamic-umalqura",
|
|
108
|
+
"islamicc",
|
|
109
|
+
"iso8601",
|
|
110
|
+
"japanese",
|
|
111
|
+
"persian",
|
|
112
|
+
"roc"
|
|
113
|
+
];
|
|
114
|
+
//#endregion
|
|
89
115
|
//#region packages/intl-supportedvaluesof/get-supported-calendars.ts
|
|
90
116
|
/**
|
|
91
117
|
* Implementation: Tests if a calendar is supported by attempting to create
|
|
@@ -109,25 +135,74 @@ function getSupportedCalendars() {
|
|
|
109
135
|
return calendars.filter(isSupportedCalendar).sort();
|
|
110
136
|
}
|
|
111
137
|
//#endregion
|
|
138
|
+
//#region node_modules/.aspect_rules_js/@formatjs_generated+cldr.supported-values@0.0.0/node_modules/@formatjs_generated/cldr.supported-values/collations.js
|
|
139
|
+
const collations = [
|
|
140
|
+
"big5han",
|
|
141
|
+
"compat",
|
|
142
|
+
"dict",
|
|
143
|
+
"direct",
|
|
144
|
+
"ducet",
|
|
145
|
+
"emoji",
|
|
146
|
+
"eor",
|
|
147
|
+
"gb2312",
|
|
148
|
+
"phonebk",
|
|
149
|
+
"phonetic",
|
|
150
|
+
"pinyin",
|
|
151
|
+
"reformed",
|
|
152
|
+
"search",
|
|
153
|
+
"searchjl",
|
|
154
|
+
"standard",
|
|
155
|
+
"stroke",
|
|
156
|
+
"trad",
|
|
157
|
+
"unihan",
|
|
158
|
+
"zhuyin"
|
|
159
|
+
];
|
|
160
|
+
//#endregion
|
|
161
|
+
//#region node_modules/.aspect_rules_js/@formatjs_generated+cldr.collation@0.0.0/node_modules/@formatjs_generated/cldr.collation/locale-data.js
|
|
162
|
+
const collationCandidateLocales = {
|
|
163
|
+
"compat": ["ar"],
|
|
164
|
+
"trad": [
|
|
165
|
+
"bn",
|
|
166
|
+
"es",
|
|
167
|
+
"fi",
|
|
168
|
+
"kn",
|
|
169
|
+
"sa",
|
|
170
|
+
"sv",
|
|
171
|
+
"vi"
|
|
172
|
+
],
|
|
173
|
+
"digits-after": ["cs"],
|
|
174
|
+
"eor": [
|
|
175
|
+
"de",
|
|
176
|
+
"de-AT",
|
|
177
|
+
"en"
|
|
178
|
+
],
|
|
179
|
+
"phonebk": ["de", "de-AT"],
|
|
180
|
+
"private-kana": ["ja"],
|
|
181
|
+
"unihan": [
|
|
182
|
+
"ja",
|
|
183
|
+
"ko",
|
|
184
|
+
"zh",
|
|
185
|
+
"zh-Hant"
|
|
186
|
+
],
|
|
187
|
+
"searchjl": ["ko"],
|
|
188
|
+
"phonetic": ["ln"],
|
|
189
|
+
"emoji": ["en"],
|
|
190
|
+
"private-unihan": ["en"],
|
|
191
|
+
"dict": ["si"],
|
|
192
|
+
"pinyin": ["zh", "zh-Hant"],
|
|
193
|
+
"private-pinyin": ["zh", "zh-Hant"],
|
|
194
|
+
"stroke": ["zh", "zh-Hant"],
|
|
195
|
+
"zhuyin": ["zh", "zh-Hant"]
|
|
196
|
+
};
|
|
197
|
+
//#endregion
|
|
112
198
|
//#region packages/intl-supportedvaluesof/get-supported-collations.ts
|
|
113
|
-
/**
|
|
114
|
-
* Implementation: Tests if a collation is supported by attempting to create
|
|
115
|
-
* a Collator with that collation and verifying it was accepted.
|
|
116
|
-
*
|
|
117
|
-
* CLDR Data: Candidate values come from CLDR collation types
|
|
118
|
-
*/
|
|
119
199
|
function isSupportedCollation(collation) {
|
|
120
|
-
|
|
121
|
-
|
|
200
|
+
const candidates = collationCandidateLocales[collation] || ["en"];
|
|
201
|
+
for (const locale of candidates) try {
|
|
202
|
+
if (new Intl.Collator(`${locale}-u-co-${collation}`).resolvedOptions().collation === collation) return true;
|
|
122
203
|
} catch {}
|
|
123
204
|
return false;
|
|
124
205
|
}
|
|
125
|
-
/**
|
|
126
|
-
* ECMA-402 Spec: Returns supported collation identifiers
|
|
127
|
-
* ECMA-402 Spec: Results must be sorted lexicographically
|
|
128
|
-
*
|
|
129
|
-
* Implementation: Filters CLDR list against actual runtime support
|
|
130
|
-
*/
|
|
131
206
|
function getSupportedCollations() {
|
|
132
207
|
return collations.filter(isSupportedCollation).sort();
|
|
133
208
|
}
|
|
@@ -154,6 +229,317 @@ const createMemoizedNumberFormat = memoize((...args) => new Intl.NumberFormat(..
|
|
|
154
229
|
memoize((...args) => new Intl.PluralRules(...args), { strategy: strategies.variadic });
|
|
155
230
|
memoize((...args) => new Intl.ListFormat(...args), { strategy: strategies.variadic });
|
|
156
231
|
//#endregion
|
|
232
|
+
//#region node_modules/.aspect_rules_js/@formatjs_generated+cldr.supported-values@0.0.0/node_modules/@formatjs_generated/cldr.supported-values/currencies.js
|
|
233
|
+
const currencies = [
|
|
234
|
+
"ADP",
|
|
235
|
+
"AED",
|
|
236
|
+
"AFA",
|
|
237
|
+
"AFN",
|
|
238
|
+
"ALK",
|
|
239
|
+
"ALL",
|
|
240
|
+
"AMD",
|
|
241
|
+
"ANG",
|
|
242
|
+
"AOA",
|
|
243
|
+
"AOK",
|
|
244
|
+
"AON",
|
|
245
|
+
"AOR",
|
|
246
|
+
"ARA",
|
|
247
|
+
"ARL",
|
|
248
|
+
"ARM",
|
|
249
|
+
"ARP",
|
|
250
|
+
"ARS",
|
|
251
|
+
"ATS",
|
|
252
|
+
"AUD",
|
|
253
|
+
"AWG",
|
|
254
|
+
"AZM",
|
|
255
|
+
"AZN",
|
|
256
|
+
"BAD",
|
|
257
|
+
"BAM",
|
|
258
|
+
"BAN",
|
|
259
|
+
"BBD",
|
|
260
|
+
"BDT",
|
|
261
|
+
"BEC",
|
|
262
|
+
"BEF",
|
|
263
|
+
"BEL",
|
|
264
|
+
"BGL",
|
|
265
|
+
"BGM",
|
|
266
|
+
"BGN",
|
|
267
|
+
"BGO",
|
|
268
|
+
"BHD",
|
|
269
|
+
"BIF",
|
|
270
|
+
"BMD",
|
|
271
|
+
"BND",
|
|
272
|
+
"BOB",
|
|
273
|
+
"BOL",
|
|
274
|
+
"BOP",
|
|
275
|
+
"BOV",
|
|
276
|
+
"BRB",
|
|
277
|
+
"BRC",
|
|
278
|
+
"BRE",
|
|
279
|
+
"BRL",
|
|
280
|
+
"BRN",
|
|
281
|
+
"BRR",
|
|
282
|
+
"BRZ",
|
|
283
|
+
"BSD",
|
|
284
|
+
"BTN",
|
|
285
|
+
"BUK",
|
|
286
|
+
"BWP",
|
|
287
|
+
"BYB",
|
|
288
|
+
"BYN",
|
|
289
|
+
"BYR",
|
|
290
|
+
"BZD",
|
|
291
|
+
"CAD",
|
|
292
|
+
"CDF",
|
|
293
|
+
"CHE",
|
|
294
|
+
"CHF",
|
|
295
|
+
"CHW",
|
|
296
|
+
"CLE",
|
|
297
|
+
"CLF",
|
|
298
|
+
"CLP",
|
|
299
|
+
"CNH",
|
|
300
|
+
"CNX",
|
|
301
|
+
"CNY",
|
|
302
|
+
"COP",
|
|
303
|
+
"COU",
|
|
304
|
+
"CRC",
|
|
305
|
+
"CSD",
|
|
306
|
+
"CSK",
|
|
307
|
+
"CUC",
|
|
308
|
+
"CUP",
|
|
309
|
+
"CVE",
|
|
310
|
+
"CYP",
|
|
311
|
+
"CZK",
|
|
312
|
+
"DDM",
|
|
313
|
+
"DEM",
|
|
314
|
+
"DJF",
|
|
315
|
+
"DKK",
|
|
316
|
+
"DOP",
|
|
317
|
+
"DZD",
|
|
318
|
+
"ECS",
|
|
319
|
+
"ECV",
|
|
320
|
+
"EEK",
|
|
321
|
+
"EGP",
|
|
322
|
+
"ERN",
|
|
323
|
+
"ESA",
|
|
324
|
+
"ESB",
|
|
325
|
+
"ESP",
|
|
326
|
+
"ETB",
|
|
327
|
+
"EUR",
|
|
328
|
+
"FIM",
|
|
329
|
+
"FJD",
|
|
330
|
+
"FKP",
|
|
331
|
+
"FRF",
|
|
332
|
+
"GBP",
|
|
333
|
+
"GEK",
|
|
334
|
+
"GEL",
|
|
335
|
+
"GHC",
|
|
336
|
+
"GHS",
|
|
337
|
+
"GIP",
|
|
338
|
+
"GMD",
|
|
339
|
+
"GNF",
|
|
340
|
+
"GNS",
|
|
341
|
+
"GQE",
|
|
342
|
+
"GRD",
|
|
343
|
+
"GTQ",
|
|
344
|
+
"GWE",
|
|
345
|
+
"GWP",
|
|
346
|
+
"GYD",
|
|
347
|
+
"HKD",
|
|
348
|
+
"HNL",
|
|
349
|
+
"HRD",
|
|
350
|
+
"HRK",
|
|
351
|
+
"HTG",
|
|
352
|
+
"HUF",
|
|
353
|
+
"IDR",
|
|
354
|
+
"IEP",
|
|
355
|
+
"ILP",
|
|
356
|
+
"ILR",
|
|
357
|
+
"ILS",
|
|
358
|
+
"INR",
|
|
359
|
+
"IQD",
|
|
360
|
+
"IRR",
|
|
361
|
+
"ISJ",
|
|
362
|
+
"ISK",
|
|
363
|
+
"ITL",
|
|
364
|
+
"JMD",
|
|
365
|
+
"JOD",
|
|
366
|
+
"JPY",
|
|
367
|
+
"KES",
|
|
368
|
+
"KGS",
|
|
369
|
+
"KHR",
|
|
370
|
+
"KMF",
|
|
371
|
+
"KPW",
|
|
372
|
+
"KRH",
|
|
373
|
+
"KRO",
|
|
374
|
+
"KRW",
|
|
375
|
+
"KWD",
|
|
376
|
+
"KYD",
|
|
377
|
+
"KZT",
|
|
378
|
+
"LAK",
|
|
379
|
+
"LBP",
|
|
380
|
+
"LKR",
|
|
381
|
+
"LRD",
|
|
382
|
+
"LSL",
|
|
383
|
+
"LTL",
|
|
384
|
+
"LTT",
|
|
385
|
+
"LUC",
|
|
386
|
+
"LUF",
|
|
387
|
+
"LUL",
|
|
388
|
+
"LVL",
|
|
389
|
+
"LVR",
|
|
390
|
+
"LYD",
|
|
391
|
+
"MAD",
|
|
392
|
+
"MAF",
|
|
393
|
+
"MCF",
|
|
394
|
+
"MDC",
|
|
395
|
+
"MDL",
|
|
396
|
+
"MGA",
|
|
397
|
+
"MGF",
|
|
398
|
+
"MKD",
|
|
399
|
+
"MKN",
|
|
400
|
+
"MLF",
|
|
401
|
+
"MMK",
|
|
402
|
+
"MNT",
|
|
403
|
+
"MOP",
|
|
404
|
+
"MRO",
|
|
405
|
+
"MRU",
|
|
406
|
+
"MTL",
|
|
407
|
+
"MTP",
|
|
408
|
+
"MUR",
|
|
409
|
+
"MVP",
|
|
410
|
+
"MVR",
|
|
411
|
+
"MWK",
|
|
412
|
+
"MXN",
|
|
413
|
+
"MXP",
|
|
414
|
+
"MXV",
|
|
415
|
+
"MYR",
|
|
416
|
+
"MZE",
|
|
417
|
+
"MZM",
|
|
418
|
+
"MZN",
|
|
419
|
+
"NAD",
|
|
420
|
+
"NGN",
|
|
421
|
+
"NIC",
|
|
422
|
+
"NIO",
|
|
423
|
+
"NLG",
|
|
424
|
+
"NOK",
|
|
425
|
+
"NPR",
|
|
426
|
+
"NZD",
|
|
427
|
+
"OMR",
|
|
428
|
+
"PAB",
|
|
429
|
+
"PEI",
|
|
430
|
+
"PEN",
|
|
431
|
+
"PES",
|
|
432
|
+
"PGK",
|
|
433
|
+
"PHP",
|
|
434
|
+
"PKR",
|
|
435
|
+
"PLN",
|
|
436
|
+
"PLZ",
|
|
437
|
+
"PTE",
|
|
438
|
+
"PYG",
|
|
439
|
+
"QAR",
|
|
440
|
+
"RHD",
|
|
441
|
+
"ROL",
|
|
442
|
+
"RON",
|
|
443
|
+
"RSD",
|
|
444
|
+
"RUB",
|
|
445
|
+
"RUR",
|
|
446
|
+
"RWF",
|
|
447
|
+
"SAR",
|
|
448
|
+
"SBD",
|
|
449
|
+
"SCR",
|
|
450
|
+
"SDD",
|
|
451
|
+
"SDG",
|
|
452
|
+
"SDP",
|
|
453
|
+
"SEK",
|
|
454
|
+
"SGD",
|
|
455
|
+
"SHP",
|
|
456
|
+
"SIT",
|
|
457
|
+
"SKK",
|
|
458
|
+
"SLE",
|
|
459
|
+
"SLL",
|
|
460
|
+
"SOS",
|
|
461
|
+
"SRD",
|
|
462
|
+
"SRG",
|
|
463
|
+
"SSP",
|
|
464
|
+
"STD",
|
|
465
|
+
"STN",
|
|
466
|
+
"SUR",
|
|
467
|
+
"SVC",
|
|
468
|
+
"SYP",
|
|
469
|
+
"SZL",
|
|
470
|
+
"THB",
|
|
471
|
+
"TJR",
|
|
472
|
+
"TJS",
|
|
473
|
+
"TMM",
|
|
474
|
+
"TMT",
|
|
475
|
+
"TND",
|
|
476
|
+
"TOP",
|
|
477
|
+
"TPE",
|
|
478
|
+
"TRL",
|
|
479
|
+
"TRY",
|
|
480
|
+
"TTD",
|
|
481
|
+
"TWD",
|
|
482
|
+
"TZS",
|
|
483
|
+
"UAH",
|
|
484
|
+
"UAK",
|
|
485
|
+
"UGS",
|
|
486
|
+
"UGX",
|
|
487
|
+
"USD",
|
|
488
|
+
"USN",
|
|
489
|
+
"USS",
|
|
490
|
+
"UYI",
|
|
491
|
+
"UYP",
|
|
492
|
+
"UYU",
|
|
493
|
+
"UYW",
|
|
494
|
+
"UZS",
|
|
495
|
+
"VEB",
|
|
496
|
+
"VED",
|
|
497
|
+
"VEF",
|
|
498
|
+
"VES",
|
|
499
|
+
"VND",
|
|
500
|
+
"VNN",
|
|
501
|
+
"VUV",
|
|
502
|
+
"WST",
|
|
503
|
+
"XAF",
|
|
504
|
+
"XAG",
|
|
505
|
+
"XAU",
|
|
506
|
+
"XBA",
|
|
507
|
+
"XBB",
|
|
508
|
+
"XBC",
|
|
509
|
+
"XBD",
|
|
510
|
+
"XCD",
|
|
511
|
+
"XCG",
|
|
512
|
+
"XDR",
|
|
513
|
+
"XEU",
|
|
514
|
+
"XFO",
|
|
515
|
+
"XFU",
|
|
516
|
+
"XOF",
|
|
517
|
+
"XPD",
|
|
518
|
+
"XPF",
|
|
519
|
+
"XPT",
|
|
520
|
+
"XRE",
|
|
521
|
+
"XSU",
|
|
522
|
+
"XTS",
|
|
523
|
+
"XUA",
|
|
524
|
+
"XXX",
|
|
525
|
+
"YDD",
|
|
526
|
+
"YER",
|
|
527
|
+
"YUD",
|
|
528
|
+
"YUM",
|
|
529
|
+
"YUN",
|
|
530
|
+
"YUR",
|
|
531
|
+
"ZAL",
|
|
532
|
+
"ZAR",
|
|
533
|
+
"ZMK",
|
|
534
|
+
"ZMW",
|
|
535
|
+
"ZRN",
|
|
536
|
+
"ZRZ",
|
|
537
|
+
"ZWD",
|
|
538
|
+
"ZWG",
|
|
539
|
+
"ZWL",
|
|
540
|
+
"ZWR"
|
|
541
|
+
];
|
|
542
|
+
//#endregion
|
|
157
543
|
//#region packages/intl-supportedvaluesof/get-supported-currencies.ts
|
|
158
544
|
/**
|
|
159
545
|
* Implementation: Tests if a currency is supported by attempting to create
|
|
@@ -194,6 +580,107 @@ function getSupportedCurrencies() {
|
|
|
194
580
|
return supportedCurrencies.sort();
|
|
195
581
|
}
|
|
196
582
|
//#endregion
|
|
583
|
+
//#region node_modules/.aspect_rules_js/@formatjs_generated+cldr.number@0.0.0/node_modules/@formatjs_generated/cldr.number/numbering-systems.js
|
|
584
|
+
const numberingSystemNames = [
|
|
585
|
+
"adlm",
|
|
586
|
+
"ahom",
|
|
587
|
+
"arab",
|
|
588
|
+
"arabext",
|
|
589
|
+
"armn",
|
|
590
|
+
"armnlow",
|
|
591
|
+
"bali",
|
|
592
|
+
"beng",
|
|
593
|
+
"bhks",
|
|
594
|
+
"brah",
|
|
595
|
+
"cakm",
|
|
596
|
+
"cham",
|
|
597
|
+
"cyrl",
|
|
598
|
+
"deva",
|
|
599
|
+
"diak",
|
|
600
|
+
"ethi",
|
|
601
|
+
"fullwide",
|
|
602
|
+
"gara",
|
|
603
|
+
"geor",
|
|
604
|
+
"gong",
|
|
605
|
+
"gonm",
|
|
606
|
+
"grek",
|
|
607
|
+
"greklow",
|
|
608
|
+
"gujr",
|
|
609
|
+
"gukh",
|
|
610
|
+
"guru",
|
|
611
|
+
"hanidays",
|
|
612
|
+
"hanidec",
|
|
613
|
+
"hans",
|
|
614
|
+
"hansfin",
|
|
615
|
+
"hant",
|
|
616
|
+
"hantfin",
|
|
617
|
+
"hebr",
|
|
618
|
+
"hmng",
|
|
619
|
+
"hmnp",
|
|
620
|
+
"java",
|
|
621
|
+
"jpan",
|
|
622
|
+
"jpanfin",
|
|
623
|
+
"jpanyear",
|
|
624
|
+
"kali",
|
|
625
|
+
"kawi",
|
|
626
|
+
"khmr",
|
|
627
|
+
"knda",
|
|
628
|
+
"krai",
|
|
629
|
+
"lana",
|
|
630
|
+
"lanatham",
|
|
631
|
+
"laoo",
|
|
632
|
+
"latn",
|
|
633
|
+
"lepc",
|
|
634
|
+
"limb",
|
|
635
|
+
"mathbold",
|
|
636
|
+
"mathdbl",
|
|
637
|
+
"mathmono",
|
|
638
|
+
"mathsanb",
|
|
639
|
+
"mathsans",
|
|
640
|
+
"mlym",
|
|
641
|
+
"modi",
|
|
642
|
+
"mong",
|
|
643
|
+
"mroo",
|
|
644
|
+
"mtei",
|
|
645
|
+
"mymr",
|
|
646
|
+
"mymrepka",
|
|
647
|
+
"mymrpao",
|
|
648
|
+
"mymrshan",
|
|
649
|
+
"mymrtlng",
|
|
650
|
+
"nagm",
|
|
651
|
+
"newa",
|
|
652
|
+
"nkoo",
|
|
653
|
+
"olck",
|
|
654
|
+
"onao",
|
|
655
|
+
"orya",
|
|
656
|
+
"osma",
|
|
657
|
+
"outlined",
|
|
658
|
+
"rohg",
|
|
659
|
+
"roman",
|
|
660
|
+
"romanlow",
|
|
661
|
+
"saur",
|
|
662
|
+
"segment",
|
|
663
|
+
"shrd",
|
|
664
|
+
"sind",
|
|
665
|
+
"sinh",
|
|
666
|
+
"sora",
|
|
667
|
+
"sund",
|
|
668
|
+
"sunu",
|
|
669
|
+
"takr",
|
|
670
|
+
"talu",
|
|
671
|
+
"taml",
|
|
672
|
+
"tamldec",
|
|
673
|
+
"telu",
|
|
674
|
+
"thai",
|
|
675
|
+
"tibt",
|
|
676
|
+
"tirh",
|
|
677
|
+
"tnsa",
|
|
678
|
+
"tols",
|
|
679
|
+
"vaii",
|
|
680
|
+
"wara",
|
|
681
|
+
"wcho"
|
|
682
|
+
];
|
|
683
|
+
//#endregion
|
|
197
684
|
//#region packages/intl-supportedvaluesof/get-supported-numbering-systems.ts
|
|
198
685
|
/**
|
|
199
686
|
* Implementation: Tests if a numbering system is supported by attempting to create
|
|
@@ -218,6 +705,466 @@ function getSupportedNumberingSystems() {
|
|
|
218
705
|
return numberingSystemNames.filter(isSupportedNumberingSystem).sort();
|
|
219
706
|
}
|
|
220
707
|
//#endregion
|
|
708
|
+
//#region node_modules/.aspect_rules_js/@formatjs_generated+cldr.supported-values@0.0.0/node_modules/@formatjs_generated/cldr.supported-values/timezones.js
|
|
709
|
+
const timezones = [
|
|
710
|
+
"Africa/Abidjan",
|
|
711
|
+
"Africa/Accra",
|
|
712
|
+
"Africa/Addis_Ababa",
|
|
713
|
+
"Africa/Algiers",
|
|
714
|
+
"Africa/Asmara",
|
|
715
|
+
"Africa/Bamako",
|
|
716
|
+
"Africa/Bangui",
|
|
717
|
+
"Africa/Banjul",
|
|
718
|
+
"Africa/Bissau",
|
|
719
|
+
"Africa/Blantyre",
|
|
720
|
+
"Africa/Brazzaville",
|
|
721
|
+
"Africa/Bujumbura",
|
|
722
|
+
"Africa/Cairo",
|
|
723
|
+
"Africa/Casablanca",
|
|
724
|
+
"Africa/Ceuta",
|
|
725
|
+
"Africa/Conakry",
|
|
726
|
+
"Africa/Dakar",
|
|
727
|
+
"Africa/Dar_es_Salaam",
|
|
728
|
+
"Africa/Djibouti",
|
|
729
|
+
"Africa/Douala",
|
|
730
|
+
"Africa/El_Aaiun",
|
|
731
|
+
"Africa/Freetown",
|
|
732
|
+
"Africa/Gaborone",
|
|
733
|
+
"Africa/Harare",
|
|
734
|
+
"Africa/Johannesburg",
|
|
735
|
+
"Africa/Juba",
|
|
736
|
+
"Africa/Kampala",
|
|
737
|
+
"Africa/Khartoum",
|
|
738
|
+
"Africa/Kigali",
|
|
739
|
+
"Africa/Kinshasa",
|
|
740
|
+
"Africa/Lagos",
|
|
741
|
+
"Africa/Libreville",
|
|
742
|
+
"Africa/Lome",
|
|
743
|
+
"Africa/Luanda",
|
|
744
|
+
"Africa/Lubumbashi",
|
|
745
|
+
"Africa/Lusaka",
|
|
746
|
+
"Africa/Malabo",
|
|
747
|
+
"Africa/Maputo",
|
|
748
|
+
"Africa/Maseru",
|
|
749
|
+
"Africa/Mbabane",
|
|
750
|
+
"Africa/Mogadishu",
|
|
751
|
+
"Africa/Monrovia",
|
|
752
|
+
"Africa/Nairobi",
|
|
753
|
+
"Africa/Ndjamena",
|
|
754
|
+
"Africa/Niamey",
|
|
755
|
+
"Africa/Nouakchott",
|
|
756
|
+
"Africa/Ouagadougou",
|
|
757
|
+
"Africa/Porto-Novo",
|
|
758
|
+
"Africa/Sao_Tome",
|
|
759
|
+
"Africa/Tripoli",
|
|
760
|
+
"Africa/Tunis",
|
|
761
|
+
"Africa/Windhoek",
|
|
762
|
+
"America/Adak",
|
|
763
|
+
"America/Anchorage",
|
|
764
|
+
"America/Anguilla",
|
|
765
|
+
"America/Antigua",
|
|
766
|
+
"America/Araguaina",
|
|
767
|
+
"America/Argentina/Buenos_Aires",
|
|
768
|
+
"America/Argentina/Catamarca",
|
|
769
|
+
"America/Argentina/Cordoba",
|
|
770
|
+
"America/Argentina/Jujuy",
|
|
771
|
+
"America/Argentina/La_Rioja",
|
|
772
|
+
"America/Argentina/Mendoza",
|
|
773
|
+
"America/Argentina/Rio_Gallegos",
|
|
774
|
+
"America/Argentina/Salta",
|
|
775
|
+
"America/Argentina/San_Juan",
|
|
776
|
+
"America/Argentina/San_Luis",
|
|
777
|
+
"America/Argentina/Tucuman",
|
|
778
|
+
"America/Argentina/Ushuaia",
|
|
779
|
+
"America/Aruba",
|
|
780
|
+
"America/Asuncion",
|
|
781
|
+
"America/Atikokan",
|
|
782
|
+
"America/Bahia",
|
|
783
|
+
"America/Bahia_Banderas",
|
|
784
|
+
"America/Barbados",
|
|
785
|
+
"America/Belem",
|
|
786
|
+
"America/Belize",
|
|
787
|
+
"America/Blanc-Sablon",
|
|
788
|
+
"America/Boa_Vista",
|
|
789
|
+
"America/Bogota",
|
|
790
|
+
"America/Boise",
|
|
791
|
+
"America/Cambridge_Bay",
|
|
792
|
+
"America/Campo_Grande",
|
|
793
|
+
"America/Cancun",
|
|
794
|
+
"America/Caracas",
|
|
795
|
+
"America/Cayenne",
|
|
796
|
+
"America/Cayman",
|
|
797
|
+
"America/Chicago",
|
|
798
|
+
"America/Chihuahua",
|
|
799
|
+
"America/Ciudad_Juarez",
|
|
800
|
+
"America/Costa_Rica",
|
|
801
|
+
"America/Coyhaique",
|
|
802
|
+
"America/Creston",
|
|
803
|
+
"America/Cuiaba",
|
|
804
|
+
"America/Curacao",
|
|
805
|
+
"America/Danmarkshavn",
|
|
806
|
+
"America/Dawson",
|
|
807
|
+
"America/Dawson_Creek",
|
|
808
|
+
"America/Denver",
|
|
809
|
+
"America/Detroit",
|
|
810
|
+
"America/Dominica",
|
|
811
|
+
"America/Edmonton",
|
|
812
|
+
"America/Eirunepe",
|
|
813
|
+
"America/El_Salvador",
|
|
814
|
+
"America/Fort_Nelson",
|
|
815
|
+
"America/Fortaleza",
|
|
816
|
+
"America/Glace_Bay",
|
|
817
|
+
"America/Goose_Bay",
|
|
818
|
+
"America/Grand_Turk",
|
|
819
|
+
"America/Grenada",
|
|
820
|
+
"America/Guadeloupe",
|
|
821
|
+
"America/Guatemala",
|
|
822
|
+
"America/Guayaquil",
|
|
823
|
+
"America/Guyana",
|
|
824
|
+
"America/Halifax",
|
|
825
|
+
"America/Havana",
|
|
826
|
+
"America/Hermosillo",
|
|
827
|
+
"America/Indiana/Indianapolis",
|
|
828
|
+
"America/Indiana/Knox",
|
|
829
|
+
"America/Indiana/Marengo",
|
|
830
|
+
"America/Indiana/Petersburg",
|
|
831
|
+
"America/Indiana/Tell_City",
|
|
832
|
+
"America/Indiana/Vevay",
|
|
833
|
+
"America/Indiana/Vincennes",
|
|
834
|
+
"America/Indiana/Winamac",
|
|
835
|
+
"America/Inuvik",
|
|
836
|
+
"America/Iqaluit",
|
|
837
|
+
"America/Jamaica",
|
|
838
|
+
"America/Juneau",
|
|
839
|
+
"America/Kentucky/Louisville",
|
|
840
|
+
"America/Kentucky/Monticello",
|
|
841
|
+
"America/Kralendijk",
|
|
842
|
+
"America/La_Paz",
|
|
843
|
+
"America/Lima",
|
|
844
|
+
"America/Los_Angeles",
|
|
845
|
+
"America/Lower_Princes",
|
|
846
|
+
"America/Maceio",
|
|
847
|
+
"America/Managua",
|
|
848
|
+
"America/Manaus",
|
|
849
|
+
"America/Marigot",
|
|
850
|
+
"America/Martinique",
|
|
851
|
+
"America/Matamoros",
|
|
852
|
+
"America/Mazatlan",
|
|
853
|
+
"America/Menominee",
|
|
854
|
+
"America/Merida",
|
|
855
|
+
"America/Metlakatla",
|
|
856
|
+
"America/Mexico_City",
|
|
857
|
+
"America/Miquelon",
|
|
858
|
+
"America/Moncton",
|
|
859
|
+
"America/Monterrey",
|
|
860
|
+
"America/Montevideo",
|
|
861
|
+
"America/Montserrat",
|
|
862
|
+
"America/Nassau",
|
|
863
|
+
"America/New_York",
|
|
864
|
+
"America/Nipigon",
|
|
865
|
+
"America/Nome",
|
|
866
|
+
"America/Noronha",
|
|
867
|
+
"America/North_Dakota/Beulah",
|
|
868
|
+
"America/North_Dakota/Center",
|
|
869
|
+
"America/North_Dakota/New_Salem",
|
|
870
|
+
"America/Nuuk",
|
|
871
|
+
"America/Ojinaga",
|
|
872
|
+
"America/Panama",
|
|
873
|
+
"America/Pangnirtung",
|
|
874
|
+
"America/Paramaribo",
|
|
875
|
+
"America/Phoenix",
|
|
876
|
+
"America/Port-au-Prince",
|
|
877
|
+
"America/Port_of_Spain",
|
|
878
|
+
"America/Porto_Velho",
|
|
879
|
+
"America/Puerto_Rico",
|
|
880
|
+
"America/Punta_Arenas",
|
|
881
|
+
"America/Rainy_River",
|
|
882
|
+
"America/Rankin_Inlet",
|
|
883
|
+
"America/Recife",
|
|
884
|
+
"America/Regina",
|
|
885
|
+
"America/Resolute",
|
|
886
|
+
"America/Rio_Branco",
|
|
887
|
+
"America/Santarem",
|
|
888
|
+
"America/Santiago",
|
|
889
|
+
"America/Santo_Domingo",
|
|
890
|
+
"America/Sao_Paulo",
|
|
891
|
+
"America/Scoresbysund",
|
|
892
|
+
"America/Sitka",
|
|
893
|
+
"America/St_Barthelemy",
|
|
894
|
+
"America/St_Johns",
|
|
895
|
+
"America/St_Kitts",
|
|
896
|
+
"America/St_Lucia",
|
|
897
|
+
"America/St_Thomas",
|
|
898
|
+
"America/St_Vincent",
|
|
899
|
+
"America/Swift_Current",
|
|
900
|
+
"America/Tegucigalpa",
|
|
901
|
+
"America/Thule",
|
|
902
|
+
"America/Thunder_Bay",
|
|
903
|
+
"America/Tijuana",
|
|
904
|
+
"America/Toronto",
|
|
905
|
+
"America/Tortola",
|
|
906
|
+
"America/Vancouver",
|
|
907
|
+
"America/Whitehorse",
|
|
908
|
+
"America/Winnipeg",
|
|
909
|
+
"America/Yakutat",
|
|
910
|
+
"America/Yellowknife",
|
|
911
|
+
"Antarctica/Casey",
|
|
912
|
+
"Antarctica/Davis",
|
|
913
|
+
"Antarctica/DumontDUrville",
|
|
914
|
+
"Antarctica/Macquarie",
|
|
915
|
+
"Antarctica/Mawson",
|
|
916
|
+
"Antarctica/McMurdo",
|
|
917
|
+
"Antarctica/Palmer",
|
|
918
|
+
"Antarctica/Rothera",
|
|
919
|
+
"Antarctica/Syowa",
|
|
920
|
+
"Antarctica/Troll",
|
|
921
|
+
"Antarctica/Vostok",
|
|
922
|
+
"Arctic/Longyearbyen",
|
|
923
|
+
"Asia/Aden",
|
|
924
|
+
"Asia/Almaty",
|
|
925
|
+
"Asia/Amman",
|
|
926
|
+
"Asia/Anadyr",
|
|
927
|
+
"Asia/Aqtau",
|
|
928
|
+
"Asia/Aqtobe",
|
|
929
|
+
"Asia/Ashgabat",
|
|
930
|
+
"Asia/Atyrau",
|
|
931
|
+
"Asia/Baghdad",
|
|
932
|
+
"Asia/Bahrain",
|
|
933
|
+
"Asia/Baku",
|
|
934
|
+
"Asia/Bangkok",
|
|
935
|
+
"Asia/Barnaul",
|
|
936
|
+
"Asia/Beirut",
|
|
937
|
+
"Asia/Bishkek",
|
|
938
|
+
"Asia/Brunei",
|
|
939
|
+
"Asia/Chita",
|
|
940
|
+
"Asia/Choibalsan",
|
|
941
|
+
"Asia/Colombo",
|
|
942
|
+
"Asia/Damascus",
|
|
943
|
+
"Asia/Dhaka",
|
|
944
|
+
"Asia/Dili",
|
|
945
|
+
"Asia/Dubai",
|
|
946
|
+
"Asia/Dushanbe",
|
|
947
|
+
"Asia/Famagusta",
|
|
948
|
+
"Asia/Gaza",
|
|
949
|
+
"Asia/Hebron",
|
|
950
|
+
"Asia/Ho_Chi_Minh",
|
|
951
|
+
"Asia/Hong_Kong",
|
|
952
|
+
"Asia/Hovd",
|
|
953
|
+
"Asia/Irkutsk",
|
|
954
|
+
"Asia/Jakarta",
|
|
955
|
+
"Asia/Jayapura",
|
|
956
|
+
"Asia/Jerusalem",
|
|
957
|
+
"Asia/Kabul",
|
|
958
|
+
"Asia/Kamchatka",
|
|
959
|
+
"Asia/Karachi",
|
|
960
|
+
"Asia/Kathmandu",
|
|
961
|
+
"Asia/Khandyga",
|
|
962
|
+
"Asia/Kolkata",
|
|
963
|
+
"Asia/Krasnoyarsk",
|
|
964
|
+
"Asia/Kuala_Lumpur",
|
|
965
|
+
"Asia/Kuching",
|
|
966
|
+
"Asia/Kuwait",
|
|
967
|
+
"Asia/Macau",
|
|
968
|
+
"Asia/Magadan",
|
|
969
|
+
"Asia/Makassar",
|
|
970
|
+
"Asia/Manila",
|
|
971
|
+
"Asia/Muscat",
|
|
972
|
+
"Asia/Nicosia",
|
|
973
|
+
"Asia/Novokuznetsk",
|
|
974
|
+
"Asia/Novosibirsk",
|
|
975
|
+
"Asia/Omsk",
|
|
976
|
+
"Asia/Oral",
|
|
977
|
+
"Asia/Phnom_Penh",
|
|
978
|
+
"Asia/Pontianak",
|
|
979
|
+
"Asia/Pyongyang",
|
|
980
|
+
"Asia/Qatar",
|
|
981
|
+
"Asia/Qostanay",
|
|
982
|
+
"Asia/Qyzylorda",
|
|
983
|
+
"Asia/Riyadh",
|
|
984
|
+
"Asia/Sakhalin",
|
|
985
|
+
"Asia/Samarkand",
|
|
986
|
+
"Asia/Seoul",
|
|
987
|
+
"Asia/Shanghai",
|
|
988
|
+
"Asia/Singapore",
|
|
989
|
+
"Asia/Srednekolymsk",
|
|
990
|
+
"Asia/Taipei",
|
|
991
|
+
"Asia/Tashkent",
|
|
992
|
+
"Asia/Tbilisi",
|
|
993
|
+
"Asia/Tehran",
|
|
994
|
+
"Asia/Thimphu",
|
|
995
|
+
"Asia/Tokyo",
|
|
996
|
+
"Asia/Tomsk",
|
|
997
|
+
"Asia/Ulaanbaatar",
|
|
998
|
+
"Asia/Urumqi",
|
|
999
|
+
"Asia/Ust-Nera",
|
|
1000
|
+
"Asia/Vientiane",
|
|
1001
|
+
"Asia/Vladivostok",
|
|
1002
|
+
"Asia/Yakutsk",
|
|
1003
|
+
"Asia/Yangon",
|
|
1004
|
+
"Asia/Yekaterinburg",
|
|
1005
|
+
"Asia/Yerevan",
|
|
1006
|
+
"Atlantic/Azores",
|
|
1007
|
+
"Atlantic/Bermuda",
|
|
1008
|
+
"Atlantic/Canary",
|
|
1009
|
+
"Atlantic/Cape_Verde",
|
|
1010
|
+
"Atlantic/Faroe",
|
|
1011
|
+
"Atlantic/Madeira",
|
|
1012
|
+
"Atlantic/Reykjavik",
|
|
1013
|
+
"Atlantic/South_Georgia",
|
|
1014
|
+
"Atlantic/St_Helena",
|
|
1015
|
+
"Atlantic/Stanley",
|
|
1016
|
+
"Australia/Adelaide",
|
|
1017
|
+
"Australia/Brisbane",
|
|
1018
|
+
"Australia/Broken_Hill",
|
|
1019
|
+
"Australia/Currie",
|
|
1020
|
+
"Australia/Darwin",
|
|
1021
|
+
"Australia/Eucla",
|
|
1022
|
+
"Australia/Hobart",
|
|
1023
|
+
"Australia/Lindeman",
|
|
1024
|
+
"Australia/Lord_Howe",
|
|
1025
|
+
"Australia/Melbourne",
|
|
1026
|
+
"Australia/Perth",
|
|
1027
|
+
"Australia/Sydney",
|
|
1028
|
+
"Etc/GMT",
|
|
1029
|
+
"Etc/GMT+1",
|
|
1030
|
+
"Etc/GMT+10",
|
|
1031
|
+
"Etc/GMT+11",
|
|
1032
|
+
"Etc/GMT+12",
|
|
1033
|
+
"Etc/GMT+2",
|
|
1034
|
+
"Etc/GMT+3",
|
|
1035
|
+
"Etc/GMT+4",
|
|
1036
|
+
"Etc/GMT+5",
|
|
1037
|
+
"Etc/GMT+6",
|
|
1038
|
+
"Etc/GMT+7",
|
|
1039
|
+
"Etc/GMT+8",
|
|
1040
|
+
"Etc/GMT+9",
|
|
1041
|
+
"Etc/GMT-1",
|
|
1042
|
+
"Etc/GMT-10",
|
|
1043
|
+
"Etc/GMT-11",
|
|
1044
|
+
"Etc/GMT-12",
|
|
1045
|
+
"Etc/GMT-13",
|
|
1046
|
+
"Etc/GMT-14",
|
|
1047
|
+
"Etc/GMT-2",
|
|
1048
|
+
"Etc/GMT-3",
|
|
1049
|
+
"Etc/GMT-4",
|
|
1050
|
+
"Etc/GMT-5",
|
|
1051
|
+
"Etc/GMT-6",
|
|
1052
|
+
"Etc/GMT-7",
|
|
1053
|
+
"Etc/GMT-8",
|
|
1054
|
+
"Etc/GMT-9",
|
|
1055
|
+
"Etc/UTC",
|
|
1056
|
+
"Europe/Amsterdam",
|
|
1057
|
+
"Europe/Andorra",
|
|
1058
|
+
"Europe/Astrakhan",
|
|
1059
|
+
"Europe/Athens",
|
|
1060
|
+
"Europe/Belgrade",
|
|
1061
|
+
"Europe/Berlin",
|
|
1062
|
+
"Europe/Bratislava",
|
|
1063
|
+
"Europe/Brussels",
|
|
1064
|
+
"Europe/Bucharest",
|
|
1065
|
+
"Europe/Budapest",
|
|
1066
|
+
"Europe/Busingen",
|
|
1067
|
+
"Europe/Chisinau",
|
|
1068
|
+
"Europe/Copenhagen",
|
|
1069
|
+
"Europe/Dublin",
|
|
1070
|
+
"Europe/Gibraltar",
|
|
1071
|
+
"Europe/Guernsey",
|
|
1072
|
+
"Europe/Helsinki",
|
|
1073
|
+
"Europe/Isle_of_Man",
|
|
1074
|
+
"Europe/Istanbul",
|
|
1075
|
+
"Europe/Jersey",
|
|
1076
|
+
"Europe/Kaliningrad",
|
|
1077
|
+
"Europe/Kirov",
|
|
1078
|
+
"Europe/Kyiv",
|
|
1079
|
+
"Europe/Lisbon",
|
|
1080
|
+
"Europe/Ljubljana",
|
|
1081
|
+
"Europe/London",
|
|
1082
|
+
"Europe/Luxembourg",
|
|
1083
|
+
"Europe/Madrid",
|
|
1084
|
+
"Europe/Malta",
|
|
1085
|
+
"Europe/Mariehamn",
|
|
1086
|
+
"Europe/Minsk",
|
|
1087
|
+
"Europe/Monaco",
|
|
1088
|
+
"Europe/Moscow",
|
|
1089
|
+
"Europe/Oslo",
|
|
1090
|
+
"Europe/Paris",
|
|
1091
|
+
"Europe/Podgorica",
|
|
1092
|
+
"Europe/Prague",
|
|
1093
|
+
"Europe/Riga",
|
|
1094
|
+
"Europe/Rome",
|
|
1095
|
+
"Europe/Samara",
|
|
1096
|
+
"Europe/San_Marino",
|
|
1097
|
+
"Europe/Sarajevo",
|
|
1098
|
+
"Europe/Saratov",
|
|
1099
|
+
"Europe/Simferopol",
|
|
1100
|
+
"Europe/Skopje",
|
|
1101
|
+
"Europe/Sofia",
|
|
1102
|
+
"Europe/Stockholm",
|
|
1103
|
+
"Europe/Tallinn",
|
|
1104
|
+
"Europe/Tirane",
|
|
1105
|
+
"Europe/Ulyanovsk",
|
|
1106
|
+
"Europe/Uzhgorod",
|
|
1107
|
+
"Europe/Vaduz",
|
|
1108
|
+
"Europe/Vatican",
|
|
1109
|
+
"Europe/Vienna",
|
|
1110
|
+
"Europe/Vilnius",
|
|
1111
|
+
"Europe/Volgograd",
|
|
1112
|
+
"Europe/Warsaw",
|
|
1113
|
+
"Europe/Zagreb",
|
|
1114
|
+
"Europe/Zaporozhye",
|
|
1115
|
+
"Europe/Zurich",
|
|
1116
|
+
"Indian/Antananarivo",
|
|
1117
|
+
"Indian/Chagos",
|
|
1118
|
+
"Indian/Christmas",
|
|
1119
|
+
"Indian/Cocos",
|
|
1120
|
+
"Indian/Comoro",
|
|
1121
|
+
"Indian/Kerguelen",
|
|
1122
|
+
"Indian/Mahe",
|
|
1123
|
+
"Indian/Maldives",
|
|
1124
|
+
"Indian/Mauritius",
|
|
1125
|
+
"Indian/Mayotte",
|
|
1126
|
+
"Indian/Reunion",
|
|
1127
|
+
"Pacific/Apia",
|
|
1128
|
+
"Pacific/Auckland",
|
|
1129
|
+
"Pacific/Bougainville",
|
|
1130
|
+
"Pacific/Chatham",
|
|
1131
|
+
"Pacific/Chuuk",
|
|
1132
|
+
"Pacific/Easter",
|
|
1133
|
+
"Pacific/Efate",
|
|
1134
|
+
"Pacific/Fakaofo",
|
|
1135
|
+
"Pacific/Fiji",
|
|
1136
|
+
"Pacific/Funafuti",
|
|
1137
|
+
"Pacific/Galapagos",
|
|
1138
|
+
"Pacific/Gambier",
|
|
1139
|
+
"Pacific/Guadalcanal",
|
|
1140
|
+
"Pacific/Guam",
|
|
1141
|
+
"Pacific/Honolulu",
|
|
1142
|
+
"Pacific/Kanton",
|
|
1143
|
+
"Pacific/Kiritimati",
|
|
1144
|
+
"Pacific/Kosrae",
|
|
1145
|
+
"Pacific/Kwajalein",
|
|
1146
|
+
"Pacific/Majuro",
|
|
1147
|
+
"Pacific/Marquesas",
|
|
1148
|
+
"Pacific/Midway",
|
|
1149
|
+
"Pacific/Nauru",
|
|
1150
|
+
"Pacific/Niue",
|
|
1151
|
+
"Pacific/Norfolk",
|
|
1152
|
+
"Pacific/Noumea",
|
|
1153
|
+
"Pacific/Pago_Pago",
|
|
1154
|
+
"Pacific/Palau",
|
|
1155
|
+
"Pacific/Pitcairn",
|
|
1156
|
+
"Pacific/Pohnpei",
|
|
1157
|
+
"Pacific/Port_Moresby",
|
|
1158
|
+
"Pacific/Rarotonga",
|
|
1159
|
+
"Pacific/Saipan",
|
|
1160
|
+
"Pacific/Tahiti",
|
|
1161
|
+
"Pacific/Tarawa",
|
|
1162
|
+
"Pacific/Tongatapu",
|
|
1163
|
+
"Pacific/Wake",
|
|
1164
|
+
"Pacific/Wallis",
|
|
1165
|
+
"UTC"
|
|
1166
|
+
];
|
|
1167
|
+
//#endregion
|
|
221
1168
|
//#region packages/intl-supportedvaluesof/get-supported-timezones.ts
|
|
222
1169
|
/**
|
|
223
1170
|
* Implementation: Tests if a timezone is supported by attempting to create
|
|
@@ -241,6 +1188,55 @@ function getSupportedTimeZones() {
|
|
|
241
1188
|
return timezones.filter(isSupportedTimeZone).sort();
|
|
242
1189
|
}
|
|
243
1190
|
//#endregion
|
|
1191
|
+
//#region node_modules/.aspect_rules_js/@formatjs_generated+cldr.supported-values@0.0.0/node_modules/@formatjs_generated/cldr.supported-values/units.js
|
|
1192
|
+
const units = [
|
|
1193
|
+
"degree",
|
|
1194
|
+
"acre",
|
|
1195
|
+
"hectare",
|
|
1196
|
+
"percent",
|
|
1197
|
+
"bit",
|
|
1198
|
+
"byte",
|
|
1199
|
+
"gigabit",
|
|
1200
|
+
"gigabyte",
|
|
1201
|
+
"kilobit",
|
|
1202
|
+
"kilobyte",
|
|
1203
|
+
"megabit",
|
|
1204
|
+
"megabyte",
|
|
1205
|
+
"petabyte",
|
|
1206
|
+
"terabit",
|
|
1207
|
+
"terabyte",
|
|
1208
|
+
"day",
|
|
1209
|
+
"hour",
|
|
1210
|
+
"microsecond",
|
|
1211
|
+
"millisecond",
|
|
1212
|
+
"minute",
|
|
1213
|
+
"month",
|
|
1214
|
+
"nanosecond",
|
|
1215
|
+
"second",
|
|
1216
|
+
"week",
|
|
1217
|
+
"year",
|
|
1218
|
+
"centimeter",
|
|
1219
|
+
"foot",
|
|
1220
|
+
"inch",
|
|
1221
|
+
"kilometer",
|
|
1222
|
+
"meter",
|
|
1223
|
+
"mile-scandinavian",
|
|
1224
|
+
"mile",
|
|
1225
|
+
"millimeter",
|
|
1226
|
+
"yard",
|
|
1227
|
+
"gram",
|
|
1228
|
+
"kilogram",
|
|
1229
|
+
"ounce",
|
|
1230
|
+
"pound",
|
|
1231
|
+
"stone",
|
|
1232
|
+
"celsius",
|
|
1233
|
+
"fahrenheit",
|
|
1234
|
+
"fluid-ounce",
|
|
1235
|
+
"gallon",
|
|
1236
|
+
"liter",
|
|
1237
|
+
"milliliter"
|
|
1238
|
+
];
|
|
1239
|
+
//#endregion
|
|
244
1240
|
//#region packages/intl-supportedvaluesof/get-supported-units.ts
|
|
245
1241
|
/**
|
|
246
1242
|
* Implementation: Tests if a unit is supported by attempting to create
|
|
@@ -270,7 +1266,9 @@ function getSupportedUnits() {
|
|
|
270
1266
|
//#region packages/intl-supportedvaluesof/index.ts
|
|
271
1267
|
/**
|
|
272
1268
|
* ECMA-402 Spec: Intl.supportedValuesOf(key)
|
|
1269
|
+
* ECMA-402 §8.3.2 Intl.supportedValuesOf, step 1.
|
|
273
1270
|
* https://tc39.es/ecma402/#sec-intl.supportedvaluesof
|
|
1271
|
+
* https://github.com/tc39/ecma402/blob/b1c961988b9a07894b1dc3dc2b5626ea48387d61/spec/intl.html#L103
|
|
274
1272
|
*
|
|
275
1273
|
* Returns an array containing the supported calendar, collation, currency,
|
|
276
1274
|
* numbering systems, time zone, or unit values supported by the implementation.
|
|
@@ -282,7 +1280,8 @@ function getSupportedUnits() {
|
|
|
282
1280
|
* @param key - The category of values to return
|
|
283
1281
|
* @returns A sorted array of unique string values
|
|
284
1282
|
*/
|
|
285
|
-
|
|
1283
|
+
const supportedValuesOf = { supportedValuesOf(key) {
|
|
1284
|
+
key = ToString(key);
|
|
286
1285
|
switch (key) {
|
|
287
1286
|
case "calendar": return getSupportedCalendars();
|
|
288
1287
|
case "collation": return getSupportedCollations();
|
|
@@ -292,7 +1291,7 @@ function supportedValuesOf(key) {
|
|
|
292
1291
|
case "unit": return getSupportedUnits();
|
|
293
1292
|
default: throw RangeError("Invalid key: " + key);
|
|
294
1293
|
}
|
|
295
|
-
}
|
|
1294
|
+
} }.supportedValuesOf;
|
|
296
1295
|
//#endregion
|
|
297
1296
|
//#region packages/intl-supportedvaluesof/polyfill.ts
|
|
298
1297
|
const intl = ensureIntl();
|