@formatjs/intl-relativetimeformat 9.4.1 → 10.0.0
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/lib/supported-locales.d.ts.map +1 -1
- package/lib/supported-locales.js +1 -1
- package/locale-data/ar-AE.js +1 -1
- package/locale-data/{ca-ES-VALENCIA.d.ts → be-tarask.d.ts} +0 -0
- package/locale-data/be-tarask.js +6 -0
- package/locale-data/bs-Latn.js +1 -1
- package/locale-data/bs.js +1 -1
- package/locale-data/{en-US-POSIX.d.ts → ca-ES-valencia.d.ts} +0 -0
- package/locale-data/{ca-ES-VALENCIA.js → ca-ES-valencia.js} +1 -1
- package/locale-data/doi.js +1 -1
- package/locale-data/dsb.js +1 -1
- package/locale-data/el-CY.js +1 -1
- package/locale-data/el.js +1 -1
- package/locale-data/en-CA.js +1 -1
- package/locale-data/en-PH.js +1 -1
- package/locale-data/es-EA.js +1 -1
- package/locale-data/es-GQ.js +1 -1
- package/locale-data/es-IC.js +1 -1
- package/locale-data/es-PH.js +1 -1
- package/locale-data/es-US.js +1 -1
- package/locale-data/es.js +1 -1
- package/locale-data/eu.js +1 -1
- package/locale-data/ff-Adlm-BF.js +1 -1
- package/locale-data/ff-Adlm-CM.js +1 -1
- package/locale-data/ff-Adlm-GH.js +1 -1
- package/locale-data/ff-Adlm-GM.js +1 -1
- package/locale-data/ff-Adlm-GW.js +1 -1
- package/locale-data/ff-Adlm-LR.js +1 -1
- package/locale-data/ff-Adlm-MR.js +1 -1
- package/locale-data/ff-Adlm-NE.js +1 -1
- package/locale-data/ff-Adlm-NG.js +1 -1
- package/locale-data/ff-Adlm-SL.js +1 -1
- package/locale-data/ff-Adlm-SN.js +1 -1
- package/locale-data/ff-Adlm.js +1 -1
- package/locale-data/fil.js +1 -1
- package/locale-data/he.js +1 -1
- package/locale-data/hsb.js +1 -1
- package/locale-data/ia.js +1 -1
- package/locale-data/id.js +1 -1
- package/locale-data/is.js +1 -1
- package/locale-data/jv.js +1 -1
- package/locale-data/kgp.d.ts +1 -0
- package/locale-data/kgp.js +6 -0
- package/locale-data/mai.js +1 -1
- package/locale-data/mni-Beng.js +1 -1
- package/locale-data/mni.js +1 -1
- package/locale-data/nb-SJ.js +1 -1
- package/locale-data/nb.js +1 -1
- package/locale-data/nn.js +1 -1
- package/locale-data/no.js +1 -1
- package/locale-data/sc.d.ts +1 -0
- package/locale-data/sc.js +6 -0
- package/locale-data/sr-Cyrl-BA.js +1 -1
- package/locale-data/sr-Cyrl-ME.js +1 -1
- package/locale-data/sr-Cyrl-XK.js +1 -1
- package/locale-data/sr-Cyrl.js +1 -1
- package/locale-data/sr-Latn-BA.js +1 -1
- package/locale-data/sr-Latn-ME.js +1 -1
- package/locale-data/sr-Latn-XK.js +1 -1
- package/locale-data/sr-Latn.js +1 -1
- package/locale-data/sr.js +1 -1
- package/locale-data/ti-ER.js +1 -1
- package/locale-data/ti.js +1 -1
- package/locale-data/und.d.ts +1 -0
- package/locale-data/und.js +6 -0
- package/locale-data/yrl-CO.d.ts +1 -0
- package/locale-data/yrl-CO.js +6 -0
- package/locale-data/yrl-VE.d.ts +1 -0
- package/locale-data/yrl-VE.js +6 -0
- package/locale-data/yrl.d.ts +1 -0
- package/locale-data/yrl.js +6 -0
- package/package.json +3 -3
- package/polyfill.iife.js +48 -142
- package/supported-locales.d.ts.map +1 -1
- package/supported-locales.js +1 -1
- package/locale-data/en-US-POSIX.js +0 -6
package/polyfill.iife.js
CHANGED
|
@@ -10,26 +10,39 @@
|
|
|
10
10
|
};
|
|
11
11
|
var __commonJS = function(cb, mod) {
|
|
12
12
|
return function __require() {
|
|
13
|
-
return mod || (0, cb[
|
|
13
|
+
return mod || (0, cb[__getOwnPropNames(cb)[0]])((mod = { exports: {} }).exports, mod), mod.exports;
|
|
14
14
|
};
|
|
15
15
|
};
|
|
16
|
-
var __reExport = function(target, module, desc) {
|
|
16
|
+
var __reExport = function(target, module, copyDefault, desc) {
|
|
17
17
|
if (module && typeof module === "object" || typeof module === "function")
|
|
18
18
|
for (var keys = __getOwnPropNames(module), i = 0, n = keys.length, key; i < n; i++) {
|
|
19
19
|
key = keys[i];
|
|
20
|
-
if (!__hasOwnProp.call(target, key) && key !== "default")
|
|
20
|
+
if (!__hasOwnProp.call(target, key) && (copyDefault || key !== "default"))
|
|
21
21
|
__defProp(target, key, { get: function(k) {
|
|
22
22
|
return module[k];
|
|
23
23
|
}.bind(null, key), enumerable: !(desc = __getOwnPropDesc(module, key)) || desc.enumerable });
|
|
24
24
|
}
|
|
25
25
|
return target;
|
|
26
26
|
};
|
|
27
|
-
var
|
|
28
|
-
return __reExport(__markAsModule(__defProp(module != null ? __create(__getProtoOf(module)) : {}, "default",
|
|
27
|
+
var __toESM = function(module, isNodeMode) {
|
|
28
|
+
return __reExport(__markAsModule(__defProp(module != null ? __create(__getProtoOf(module)) : {}, "default", !isNodeMode && module && module.__esModule ? { get: function() {
|
|
29
29
|
return module.default;
|
|
30
30
|
}, enumerable: true } : { value: module, enumerable: true })), module);
|
|
31
31
|
};
|
|
32
32
|
|
|
33
|
+
// bazel-out/darwin-fastbuild/bin/packages/intl-localematcher/abstract/CanonicalizeLocaleList.js
|
|
34
|
+
var require_CanonicalizeLocaleList = __commonJS({
|
|
35
|
+
"bazel-out/darwin-fastbuild/bin/packages/intl-localematcher/abstract/CanonicalizeLocaleList.js": function(exports) {
|
|
36
|
+
"use strict";
|
|
37
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
38
|
+
exports.CanonicalizeLocaleList = void 0;
|
|
39
|
+
function CanonicalizeLocaleList2(locales) {
|
|
40
|
+
return Intl.getCanonicalLocales(locales);
|
|
41
|
+
}
|
|
42
|
+
exports.CanonicalizeLocaleList = CanonicalizeLocaleList2;
|
|
43
|
+
}
|
|
44
|
+
});
|
|
45
|
+
|
|
33
46
|
// bazel-out/darwin-fastbuild/bin/packages/intl-localematcher/abstract/utils.js
|
|
34
47
|
var require_utils = __commonJS({
|
|
35
48
|
"bazel-out/darwin-fastbuild/bin/packages/intl-localematcher/abstract/utils.js": function(exports) {
|
|
@@ -114,14 +127,18 @@
|
|
|
114
127
|
var utils_1 = require_utils();
|
|
115
128
|
function BestFitMatcher(availableLocales, requestedLocales, getDefaultLocale) {
|
|
116
129
|
var minimizedAvailableLocaleMap = {};
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
var minimizedAvailableLocales = new Set();
|
|
130
|
+
var availableLocaleMap = {};
|
|
131
|
+
var canonicalizedLocaleMap = {};
|
|
132
|
+
var minimizedAvailableLocales = /* @__PURE__ */ new Set();
|
|
121
133
|
availableLocales.forEach(function(locale2) {
|
|
122
134
|
var minimizedLocale = new Intl.Locale(locale2).minimize().toString();
|
|
135
|
+
var canonicalizedLocale = Intl.getCanonicalLocales(locale2)[0] || locale2;
|
|
123
136
|
minimizedAvailableLocaleMap[minimizedLocale] = locale2;
|
|
137
|
+
availableLocaleMap[locale2] = locale2;
|
|
138
|
+
canonicalizedLocaleMap[canonicalizedLocale] = locale2;
|
|
124
139
|
minimizedAvailableLocales.add(minimizedLocale);
|
|
140
|
+
minimizedAvailableLocales.add(locale2);
|
|
141
|
+
minimizedAvailableLocales.add(canonicalizedLocale);
|
|
125
142
|
});
|
|
126
143
|
var foundLocale;
|
|
127
144
|
for (var _i = 0, requestedLocales_1 = requestedLocales; _i < requestedLocales_1.length; _i++) {
|
|
@@ -147,8 +164,11 @@
|
|
|
147
164
|
}
|
|
148
165
|
foundLocale = (0, BestAvailableLocale_1.BestAvailableLocale)(minimizedAvailableLocales, maximizedRequestedLocale);
|
|
149
166
|
}
|
|
167
|
+
if (!foundLocale) {
|
|
168
|
+
return { locale: getDefaultLocale() };
|
|
169
|
+
}
|
|
150
170
|
return {
|
|
151
|
-
locale: foundLocale
|
|
171
|
+
locale: availableLocaleMap[foundLocale] || canonicalizedLocaleMap[foundLocale] || minimizedAvailableLocaleMap[foundLocale] || foundLocale
|
|
152
172
|
};
|
|
153
173
|
}
|
|
154
174
|
exports.BestFitMatcher = BestFitMatcher;
|
|
@@ -213,7 +233,7 @@
|
|
|
213
233
|
var BestFitMatcher_1 = require_BestFitMatcher();
|
|
214
234
|
var utils_1 = require_utils();
|
|
215
235
|
var UnicodeExtensionValue_1 = require_UnicodeExtensionValue();
|
|
216
|
-
function
|
|
236
|
+
function ResolveLocale2(availableLocales, requestedLocales, options, relevantExtensionKeys, localeData, getDefaultLocale) {
|
|
217
237
|
var matcher = options.localeMatcher;
|
|
218
238
|
var r;
|
|
219
239
|
if (matcher === "lookup") {
|
|
@@ -275,7 +295,7 @@
|
|
|
275
295
|
result.locale = foundLocale;
|
|
276
296
|
return result;
|
|
277
297
|
}
|
|
278
|
-
exports.ResolveLocale =
|
|
298
|
+
exports.ResolveLocale = ResolveLocale2;
|
|
279
299
|
}
|
|
280
300
|
});
|
|
281
301
|
|
|
@@ -309,13 +329,14 @@
|
|
|
309
329
|
"use strict";
|
|
310
330
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
311
331
|
exports.ResolveLocale = exports.LookupSupportedLocales = exports.match = void 0;
|
|
332
|
+
var CanonicalizeLocaleList_1 = require_CanonicalizeLocaleList();
|
|
312
333
|
var ResolveLocale_1 = require_ResolveLocale();
|
|
313
334
|
function match2(requestedLocales, availableLocales, defaultLocale, opts) {
|
|
314
335
|
var locales = availableLocales.reduce(function(all, l) {
|
|
315
336
|
all.add(l);
|
|
316
337
|
return all;
|
|
317
|
-
}, new Set());
|
|
318
|
-
return (0, ResolveLocale_1.ResolveLocale)(locales, requestedLocales, {
|
|
338
|
+
}, /* @__PURE__ */ new Set());
|
|
339
|
+
return (0, ResolveLocale_1.ResolveLocale)(locales, (0, CanonicalizeLocaleList_1.CanonicalizeLocaleList)(requestedLocales), {
|
|
319
340
|
localeMatcher: (opts === null || opts === void 0 ? void 0 : opts.algorithm) || "best fit"
|
|
320
341
|
}, [], {}, function() {
|
|
321
342
|
return defaultLocale;
|
|
@@ -395,7 +416,7 @@
|
|
|
395
416
|
// bazel-out/darwin-fastbuild/bin/packages/ecma402-abstract/lib/CoerceOptionsToObject.js
|
|
396
417
|
function CoerceOptionsToObject(options) {
|
|
397
418
|
if (typeof options === "undefined") {
|
|
398
|
-
return Object.create(null);
|
|
419
|
+
return /* @__PURE__ */ Object.create(null);
|
|
399
420
|
}
|
|
400
421
|
return ToObject(options);
|
|
401
422
|
}
|
|
@@ -426,57 +447,6 @@
|
|
|
426
447
|
return fallback;
|
|
427
448
|
}
|
|
428
449
|
|
|
429
|
-
// bazel-out/darwin-fastbuild/bin/packages/ecma402-abstract/lib/IsSanctionedSimpleUnitIdentifier.js
|
|
430
|
-
var SANCTIONED_UNITS = [
|
|
431
|
-
"angle-degree",
|
|
432
|
-
"area-acre",
|
|
433
|
-
"area-hectare",
|
|
434
|
-
"concentr-percent",
|
|
435
|
-
"digital-bit",
|
|
436
|
-
"digital-byte",
|
|
437
|
-
"digital-gigabit",
|
|
438
|
-
"digital-gigabyte",
|
|
439
|
-
"digital-kilobit",
|
|
440
|
-
"digital-kilobyte",
|
|
441
|
-
"digital-megabit",
|
|
442
|
-
"digital-megabyte",
|
|
443
|
-
"digital-petabyte",
|
|
444
|
-
"digital-terabit",
|
|
445
|
-
"digital-terabyte",
|
|
446
|
-
"duration-day",
|
|
447
|
-
"duration-hour",
|
|
448
|
-
"duration-millisecond",
|
|
449
|
-
"duration-minute",
|
|
450
|
-
"duration-month",
|
|
451
|
-
"duration-second",
|
|
452
|
-
"duration-week",
|
|
453
|
-
"duration-year",
|
|
454
|
-
"length-centimeter",
|
|
455
|
-
"length-foot",
|
|
456
|
-
"length-inch",
|
|
457
|
-
"length-kilometer",
|
|
458
|
-
"length-meter",
|
|
459
|
-
"length-mile-scandinavian",
|
|
460
|
-
"length-mile",
|
|
461
|
-
"length-millimeter",
|
|
462
|
-
"length-yard",
|
|
463
|
-
"mass-gram",
|
|
464
|
-
"mass-kilogram",
|
|
465
|
-
"mass-ounce",
|
|
466
|
-
"mass-pound",
|
|
467
|
-
"mass-stone",
|
|
468
|
-
"temperature-celsius",
|
|
469
|
-
"temperature-fahrenheit",
|
|
470
|
-
"volume-fluid-ounce",
|
|
471
|
-
"volume-gallon",
|
|
472
|
-
"volume-liter",
|
|
473
|
-
"volume-milliliter"
|
|
474
|
-
];
|
|
475
|
-
function removeUnitNamespace(unit) {
|
|
476
|
-
return unit.slice(unit.indexOf("-") + 1);
|
|
477
|
-
}
|
|
478
|
-
var SIMPLE_UNITS = SANCTIONED_UNITS.map(removeUnitNamespace);
|
|
479
|
-
|
|
480
450
|
// bazel-out/darwin-fastbuild/bin/packages/ecma402-abstract/lib/utils.js
|
|
481
451
|
function invariant(condition, message, Err) {
|
|
482
452
|
if (Err === void 0) {
|
|
@@ -487,16 +457,6 @@
|
|
|
487
457
|
}
|
|
488
458
|
}
|
|
489
459
|
|
|
490
|
-
// bazel-out/darwin-fastbuild/bin/packages/ecma402-abstract/lib/regex.generated.js
|
|
491
|
-
var S_UNICODE_REGEX = /[\$\+<->\^`\|~\xA2-\xA6\xA8\xA9\xAC\xAE-\xB1\xB4\xB8\xD7\xF7\u02C2-\u02C5\u02D2-\u02DF\u02E5-\u02EB\u02ED\u02EF-\u02FF\u0375\u0384\u0385\u03F6\u0482\u058D-\u058F\u0606-\u0608\u060B\u060E\u060F\u06DE\u06E9\u06FD\u06FE\u07F6\u07FE\u07FF\u09F2\u09F3\u09FA\u09FB\u0AF1\u0B70\u0BF3-\u0BFA\u0C7F\u0D4F\u0D79\u0E3F\u0F01-\u0F03\u0F13\u0F15-\u0F17\u0F1A-\u0F1F\u0F34\u0F36\u0F38\u0FBE-\u0FC5\u0FC7-\u0FCC\u0FCE\u0FCF\u0FD5-\u0FD8\u109E\u109F\u1390-\u1399\u166D\u17DB\u1940\u19DE-\u19FF\u1B61-\u1B6A\u1B74-\u1B7C\u1FBD\u1FBF-\u1FC1\u1FCD-\u1FCF\u1FDD-\u1FDF\u1FED-\u1FEF\u1FFD\u1FFE\u2044\u2052\u207A-\u207C\u208A-\u208C\u20A0-\u20BF\u2100\u2101\u2103-\u2106\u2108\u2109\u2114\u2116-\u2118\u211E-\u2123\u2125\u2127\u2129\u212E\u213A\u213B\u2140-\u2144\u214A-\u214D\u214F\u218A\u218B\u2190-\u2307\u230C-\u2328\u232B-\u2426\u2440-\u244A\u249C-\u24E9\u2500-\u2767\u2794-\u27C4\u27C7-\u27E5\u27F0-\u2982\u2999-\u29D7\u29DC-\u29FB\u29FE-\u2B73\u2B76-\u2B95\u2B97-\u2BFF\u2CE5-\u2CEA\u2E50\u2E51\u2E80-\u2E99\u2E9B-\u2EF3\u2F00-\u2FD5\u2FF0-\u2FFB\u3004\u3012\u3013\u3020\u3036\u3037\u303E\u303F\u309B\u309C\u3190\u3191\u3196-\u319F\u31C0-\u31E3\u3200-\u321E\u322A-\u3247\u3250\u3260-\u327F\u328A-\u32B0\u32C0-\u33FF\u4DC0-\u4DFF\uA490-\uA4C6\uA700-\uA716\uA720\uA721\uA789\uA78A\uA828-\uA82B\uA836-\uA839\uAA77-\uAA79\uAB5B\uAB6A\uAB6B\uFB29\uFBB2-\uFBC1\uFDFC\uFDFD\uFE62\uFE64-\uFE66\uFE69\uFF04\uFF0B\uFF1C-\uFF1E\uFF3E\uFF40\uFF5C\uFF5E\uFFE0-\uFFE6\uFFE8-\uFFEE\uFFFC\uFFFD]|\uD800[\uDD37-\uDD3F\uDD79-\uDD89\uDD8C-\uDD8E\uDD90-\uDD9C\uDDA0\uDDD0-\uDDFC]|\uD802[\uDC77\uDC78\uDEC8]|\uD805\uDF3F|\uD807[\uDFD5-\uDFF1]|\uD81A[\uDF3C-\uDF3F\uDF45]|\uD82F\uDC9C|\uD834[\uDC00-\uDCF5\uDD00-\uDD26\uDD29-\uDD64\uDD6A-\uDD6C\uDD83\uDD84\uDD8C-\uDDA9\uDDAE-\uDDE8\uDE00-\uDE41\uDE45\uDF00-\uDF56]|\uD835[\uDEC1\uDEDB\uDEFB\uDF15\uDF35\uDF4F\uDF6F\uDF89\uDFA9\uDFC3]|\uD836[\uDC00-\uDDFF\uDE37-\uDE3A\uDE6D-\uDE74\uDE76-\uDE83\uDE85\uDE86]|\uD838[\uDD4F\uDEFF]|\uD83B[\uDCAC\uDCB0\uDD2E\uDEF0\uDEF1]|\uD83C[\uDC00-\uDC2B\uDC30-\uDC93\uDCA0-\uDCAE\uDCB1-\uDCBF\uDCC1-\uDCCF\uDCD1-\uDCF5\uDD0D-\uDDAD\uDDE6-\uDE02\uDE10-\uDE3B\uDE40-\uDE48\uDE50\uDE51\uDE60-\uDE65\uDF00-\uDFFF]|\uD83D[\uDC00-\uDED7\uDEE0-\uDEEC\uDEF0-\uDEFC\uDF00-\uDF73\uDF80-\uDFD8\uDFE0-\uDFEB]|\uD83E[\uDC00-\uDC0B\uDC10-\uDC47\uDC50-\uDC59\uDC60-\uDC87\uDC90-\uDCAD\uDCB0\uDCB1\uDD00-\uDD78\uDD7A-\uDDCB\uDDCD-\uDE53\uDE60-\uDE6D\uDE70-\uDE74\uDE78-\uDE7A\uDE80-\uDE86\uDE90-\uDEA8\uDEB0-\uDEB6\uDEC0-\uDEC2\uDED0-\uDED6\uDF00-\uDF92\uDF94-\uDFCA]/;
|
|
492
|
-
|
|
493
|
-
// bazel-out/darwin-fastbuild/bin/packages/ecma402-abstract/lib/NumberFormat/format_to_parts.js
|
|
494
|
-
var CARET_S_UNICODE_REGEX = new RegExp("^".concat(S_UNICODE_REGEX.source));
|
|
495
|
-
var S_DOLLAR_UNICODE_REGEX = new RegExp("".concat(S_UNICODE_REGEX.source, "$"));
|
|
496
|
-
|
|
497
|
-
// bazel-out/darwin-fastbuild/bin/packages/ecma402-abstract/lib/NumberFormat/InitializeNumberFormat.js
|
|
498
|
-
var import_intl_localematcher = __toModule(require_intl_localematcher());
|
|
499
|
-
|
|
500
460
|
// bazel-out/darwin-fastbuild/bin/packages/ecma402-abstract/lib/PartitionPattern.js
|
|
501
461
|
function PartitionPattern(pattern) {
|
|
502
462
|
var result = [];
|
|
@@ -530,7 +490,7 @@
|
|
|
530
490
|
}
|
|
531
491
|
|
|
532
492
|
// bazel-out/darwin-fastbuild/bin/packages/ecma402-abstract/lib/SupportedLocales.js
|
|
533
|
-
var
|
|
493
|
+
var import_intl_localematcher = __toESM(require_intl_localematcher());
|
|
534
494
|
function SupportedLocales(availableLocales, requestedLocales, options) {
|
|
535
495
|
var matcher = "best fit";
|
|
536
496
|
if (options !== void 0) {
|
|
@@ -538,60 +498,20 @@
|
|
|
538
498
|
matcher = GetOption(options, "localeMatcher", "string", ["lookup", "best fit"], "best fit");
|
|
539
499
|
}
|
|
540
500
|
if (matcher === "best fit") {
|
|
541
|
-
return (0,
|
|
501
|
+
return (0, import_intl_localematcher.LookupSupportedLocales)(availableLocales, requestedLocales);
|
|
542
502
|
}
|
|
543
|
-
return (0,
|
|
544
|
-
}
|
|
545
|
-
|
|
546
|
-
// node_modules/tslib/tslib.es6.js
|
|
547
|
-
var extendStatics = function(d, b) {
|
|
548
|
-
extendStatics = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(d2, b2) {
|
|
549
|
-
d2.__proto__ = b2;
|
|
550
|
-
} || function(d2, b2) {
|
|
551
|
-
for (var p in b2)
|
|
552
|
-
if (Object.prototype.hasOwnProperty.call(b2, p))
|
|
553
|
-
d2[p] = b2[p];
|
|
554
|
-
};
|
|
555
|
-
return extendStatics(d, b);
|
|
556
|
-
};
|
|
557
|
-
function __extends(d, b) {
|
|
558
|
-
if (typeof b !== "function" && b !== null)
|
|
559
|
-
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
|
|
560
|
-
extendStatics(d, b);
|
|
561
|
-
function __() {
|
|
562
|
-
this.constructor = d;
|
|
563
|
-
}
|
|
564
|
-
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
503
|
+
return (0, import_intl_localematcher.LookupSupportedLocales)(availableLocales, requestedLocales);
|
|
565
504
|
}
|
|
566
505
|
|
|
567
|
-
// bazel-out/darwin-fastbuild/bin/packages/ecma402-abstract/lib/data.js
|
|
568
|
-
var MissingLocaleDataError = function(_super) {
|
|
569
|
-
__extends(MissingLocaleDataError2, _super);
|
|
570
|
-
function MissingLocaleDataError2() {
|
|
571
|
-
var _this = _super !== null && _super.apply(this, arguments) || this;
|
|
572
|
-
_this.type = "MISSING_LOCALE_DATA";
|
|
573
|
-
return _this;
|
|
574
|
-
}
|
|
575
|
-
return MissingLocaleDataError2;
|
|
576
|
-
}(Error);
|
|
577
|
-
|
|
578
|
-
// bazel-out/darwin-fastbuild/bin/packages/ecma402-abstract/lib/types/date-time.js
|
|
579
|
-
var RangePatternType;
|
|
580
|
-
(function(RangePatternType2) {
|
|
581
|
-
RangePatternType2["startRange"] = "startRange";
|
|
582
|
-
RangePatternType2["shared"] = "shared";
|
|
583
|
-
RangePatternType2["endRange"] = "endRange";
|
|
584
|
-
})(RangePatternType || (RangePatternType = {}));
|
|
585
|
-
|
|
586
506
|
// bazel-out/darwin-fastbuild/bin/packages/intl-relativetimeformat/lib/abstract/InitializeRelativeTimeFormat.js
|
|
587
|
-
var
|
|
507
|
+
var import_intl_localematcher2 = __toESM(require_intl_localematcher());
|
|
588
508
|
var NUMBERING_SYSTEM_REGEX = /^[a-z0-9]{3,8}(-[a-z0-9]{3,8})*$/i;
|
|
589
509
|
function InitializeRelativeTimeFormat(rtf, locales, options, _a) {
|
|
590
510
|
var getInternalSlots2 = _a.getInternalSlots, availableLocales = _a.availableLocales, relevantExtensionKeys = _a.relevantExtensionKeys, localeData = _a.localeData, getDefaultLocale = _a.getDefaultLocale;
|
|
591
511
|
var internalSlots = getInternalSlots2(rtf);
|
|
592
512
|
internalSlots.initializedRelativeTimeFormat = true;
|
|
593
513
|
var requestedLocales = CanonicalizeLocaleList(locales);
|
|
594
|
-
var opt = Object.create(null);
|
|
514
|
+
var opt = /* @__PURE__ */ Object.create(null);
|
|
595
515
|
var opts = CoerceOptionsToObject(options);
|
|
596
516
|
var matcher = GetOption(opts, "localeMatcher", "string", ["best fit", "lookup"], "best fit");
|
|
597
517
|
opt.localeMatcher = matcher;
|
|
@@ -602,7 +522,7 @@
|
|
|
602
522
|
}
|
|
603
523
|
}
|
|
604
524
|
opt.nu = numberingSystem;
|
|
605
|
-
var r = (0,
|
|
525
|
+
var r = (0, import_intl_localematcher2.ResolveLocale)(availableLocales, requestedLocales, opt, relevantExtensionKeys, localeData, getDefaultLocale);
|
|
606
526
|
var locale = r.locale, nu = r.nu;
|
|
607
527
|
internalSlots.locale = locale;
|
|
608
528
|
internalSlots.style = GetOption(opts, "style", "string", ["long", "narrow", "short"], "long");
|
|
@@ -715,11 +635,11 @@
|
|
|
715
635
|
}
|
|
716
636
|
|
|
717
637
|
// bazel-out/darwin-fastbuild/bin/packages/intl-relativetimeformat/lib/get_internal_slots.js
|
|
718
|
-
var internalSlotMap = new WeakMap();
|
|
638
|
+
var internalSlotMap = /* @__PURE__ */ new WeakMap();
|
|
719
639
|
function getInternalSlots(x) {
|
|
720
640
|
var internalSlots = internalSlotMap.get(x);
|
|
721
641
|
if (!internalSlots) {
|
|
722
|
-
internalSlots = Object.create(null);
|
|
642
|
+
internalSlots = /* @__PURE__ */ Object.create(null);
|
|
723
643
|
internalSlotMap.set(x, internalSlots);
|
|
724
644
|
}
|
|
725
645
|
return internalSlots;
|
|
@@ -802,7 +722,7 @@
|
|
|
802
722
|
return RelativeTimeFormat2.__defaultLocale;
|
|
803
723
|
};
|
|
804
724
|
RelativeTimeFormat2.localeData = {};
|
|
805
|
-
RelativeTimeFormat2.availableLocales = new Set();
|
|
725
|
+
RelativeTimeFormat2.availableLocales = /* @__PURE__ */ new Set();
|
|
806
726
|
RelativeTimeFormat2.__defaultLocale = "";
|
|
807
727
|
RelativeTimeFormat2.relevantExtensionKeys = ["nu"];
|
|
808
728
|
RelativeTimeFormat2.polyfilled = true;
|
|
@@ -834,10 +754,10 @@
|
|
|
834
754
|
}
|
|
835
755
|
|
|
836
756
|
// bazel-out/darwin-fastbuild/bin/packages/intl-relativetimeformat/lib/should-polyfill.js
|
|
837
|
-
var
|
|
757
|
+
var import_intl_localematcher3 = __toESM(require_intl_localematcher());
|
|
838
758
|
|
|
839
759
|
// bazel-out/darwin-fastbuild/bin/packages/intl-relativetimeformat/lib/supported-locales.js
|
|
840
|
-
var supportedLocales = ["af-NA", "af", "agq", "ak", "am", "ar-AE", "ar-BH", "ar-DJ", "ar-DZ", "ar-EG", "ar-EH", "ar-ER", "ar-IL", "ar-IQ", "ar-JO", "ar-KM", "ar-KW", "ar-LB", "ar-LY", "ar-MA", "ar-MR", "ar-OM", "ar-PS", "ar-QA", "ar-SA", "ar-SD", "ar-SO", "ar-SS", "ar-SY", "ar-TD", "ar-TN", "ar-YE", "ar", "as", "asa", "ast", "az-Cyrl", "az-Latn", "az", "bas", "be", "bem", "bez", "bg", "bm", "bn-IN", "bn", "bo-IN", "bo", "br", "brx", "bs-Cyrl", "bs-Latn", "bs", "ca-AD", "ca-ES-
|
|
760
|
+
var supportedLocales = ["af-NA", "af", "agq", "ak", "am", "ar-AE", "ar-BH", "ar-DJ", "ar-DZ", "ar-EG", "ar-EH", "ar-ER", "ar-IL", "ar-IQ", "ar-JO", "ar-KM", "ar-KW", "ar-LB", "ar-LY", "ar-MA", "ar-MR", "ar-OM", "ar-PS", "ar-QA", "ar-SA", "ar-SD", "ar-SO", "ar-SS", "ar-SY", "ar-TD", "ar-TN", "ar-YE", "ar", "as", "asa", "ast", "az-Cyrl", "az-Latn", "az", "bas", "be-tarask", "be", "bem", "bez", "bg", "bm", "bn-IN", "bn", "bo-IN", "bo", "br", "brx", "bs-Cyrl", "bs-Latn", "bs", "ca-AD", "ca-ES-valencia", "ca-FR", "ca-IT", "ca", "ccp-IN", "ccp", "ce", "ceb", "cgg", "chr", "ckb-IR", "ckb", "cs", "cy", "da-GL", "da", "dav", "de-AT", "de-BE", "de-CH", "de-IT", "de-LI", "de-LU", "de", "dje", "doi", "dsb", "dua", "dyo", "dz", "ebu", "ee-TG", "ee", "el-CY", "el", "en-001", "en-150", "en-AE", "en-AG", "en-AI", "en-AS", "en-AT", "en-AU", "en-BB", "en-BE", "en-BI", "en-BM", "en-BS", "en-BW", "en-BZ", "en-CA", "en-CC", "en-CH", "en-CK", "en-CM", "en-CX", "en-CY", "en-DE", "en-DG", "en-DK", "en-DM", "en-ER", "en-FI", "en-FJ", "en-FK", "en-FM", "en-GB", "en-GD", "en-GG", "en-GH", "en-GI", "en-GM", "en-GU", "en-GY", "en-HK", "en-IE", "en-IL", "en-IM", "en-IN", "en-IO", "en-JE", "en-JM", "en-KE", "en-KI", "en-KN", "en-KY", "en-LC", "en-LR", "en-LS", "en-MG", "en-MH", "en-MO", "en-MP", "en-MS", "en-MT", "en-MU", "en-MW", "en-MY", "en-NA", "en-NF", "en-NG", "en-NL", "en-NR", "en-NU", "en-NZ", "en-PG", "en-PH", "en-PK", "en-PN", "en-PR", "en-PW", "en-RW", "en-SB", "en-SC", "en-SD", "en-SE", "en-SG", "en-SH", "en-SI", "en-SL", "en-SS", "en-SX", "en-SZ", "en-TC", "en-TK", "en-TO", "en-TT", "en-TV", "en-TZ", "en-UG", "en-UM", "en-VC", "en-VG", "en-VI", "en-VU", "en-WS", "en-ZA", "en-ZM", "en-ZW", "en", "eo", "es-419", "es-AR", "es-BO", "es-BR", "es-BZ", "es-CL", "es-CO", "es-CR", "es-CU", "es-DO", "es-EA", "es-EC", "es-GQ", "es-GT", "es-HN", "es-IC", "es-MX", "es-NI", "es-PA", "es-PE", "es-PH", "es-PR", "es-PY", "es-SV", "es-US", "es-UY", "es-VE", "es", "et", "eu", "ewo", "fa-AF", "fa", "ff-Adlm-BF", "ff-Adlm-CM", "ff-Adlm-GH", "ff-Adlm-GM", "ff-Adlm-GW", "ff-Adlm-LR", "ff-Adlm-MR", "ff-Adlm-NE", "ff-Adlm-NG", "ff-Adlm-SL", "ff-Adlm-SN", "ff-Adlm", "ff-Latn-BF", "ff-Latn-CM", "ff-Latn-GH", "ff-Latn-GM", "ff-Latn-GN", "ff-Latn-GW", "ff-Latn-LR", "ff-Latn-MR", "ff-Latn-NE", "ff-Latn-NG", "ff-Latn-SL", "ff-Latn", "ff", "fi", "fil", "fo-DK", "fo", "fr-BE", "fr-BF", "fr-BI", "fr-BJ", "fr-BL", "fr-CA", "fr-CD", "fr-CF", "fr-CG", "fr-CH", "fr-CI", "fr-CM", "fr-DJ", "fr-DZ", "fr-GA", "fr-GF", "fr-GN", "fr-GP", "fr-GQ", "fr-HT", "fr-KM", "fr-LU", "fr-MA", "fr-MC", "fr-MF", "fr-MG", "fr-ML", "fr-MQ", "fr-MR", "fr-MU", "fr-NC", "fr-NE", "fr-PF", "fr-PM", "fr-RE", "fr-RW", "fr-SC", "fr-SN", "fr-SY", "fr-TD", "fr-TG", "fr-TN", "fr-VU", "fr-WF", "fr-YT", "fr", "fur", "fy", "ga-GB", "ga", "gd", "gl", "gsw-FR", "gsw-LI", "gsw", "gu", "guz", "gv", "ha-GH", "ha-NE", "ha", "haw", "he", "hi", "hr-BA", "hr", "hsb", "hu", "hy", "ia", "id", "ig", "ii", "is", "it-CH", "it-SM", "it-VA", "it", "ja", "jgo", "jmc", "jv", "ka", "kab", "kam", "kde", "kea", "kgp", "khq", "ki", "kk", "kkj", "kl", "kln", "km", "kn", "ko-KP", "ko", "kok", "ks-Arab", "ks", "ksb", "ksf", "ksh", "ku", "kw", "ky", "lag", "lb", "lg", "lkt", "ln-AO", "ln-CF", "ln-CG", "ln", "lo", "lrc-IQ", "lrc", "lt", "lu", "luo", "luy", "lv", "mai", "mas-TZ", "mas", "mer", "mfe", "mg", "mgh", "mgo", "mi", "mk", "ml", "mn", "mni-Beng", "mni", "mr", "ms-BN", "ms-ID", "ms-SG", "ms", "mt", "mua", "my", "mzn", "naq", "nb-SJ", "nb", "nd", "nds-NL", "nds", "ne-IN", "ne", "nl-AW", "nl-BE", "nl-BQ", "nl-CW", "nl-SR", "nl-SX", "nl", "nmg", "nn", "nnh", "no", "nus", "nyn", "om-KE", "om", "or", "os-RU", "os", "pa-Arab", "pa-Guru", "pa", "pcm", "pl", "ps-PK", "ps", "pt-AO", "pt-CH", "pt-CV", "pt-GQ", "pt-GW", "pt-LU", "pt-MO", "pt-MZ", "pt-PT", "pt-ST", "pt-TL", "pt", "qu-BO", "qu-EC", "qu", "rm", "rn", "ro-MD", "ro", "rof", "ru-BY", "ru-KG", "ru-KZ", "ru-MD", "ru-UA", "ru", "rw", "rwk", "sa", "sah", "saq", "sat-Olck", "sat", "sbp", "sc", "sd-Arab", "sd-Deva", "sd", "se-FI", "se-SE", "se", "seh", "ses", "sg", "shi-Latn", "shi-Tfng", "shi", "si", "sk", "sl", "smn", "sn", "so-DJ", "so-ET", "so-KE", "so", "sq-MK", "sq-XK", "sq", "sr-Cyrl-BA", "sr-Cyrl-ME", "sr-Cyrl-XK", "sr-Cyrl", "sr-Latn-BA", "sr-Latn-ME", "sr-Latn-XK", "sr-Latn", "sr", "su-Latn", "su", "sv-AX", "sv-FI", "sv", "sw-CD", "sw-KE", "sw-UG", "sw", "ta-LK", "ta-MY", "ta-SG", "ta", "te", "teo-KE", "teo", "tg", "th", "ti-ER", "ti", "tk", "to", "tr-CY", "tr", "tt", "twq", "tzm", "ug", "uk", "und", "ur-IN", "ur", "uz-Arab", "uz-Cyrl", "uz-Latn", "uz", "vai-Latn", "vai-Vaii", "vai", "vi", "vun", "wae", "wo", "xh", "xog", "yav", "yi", "yo-BJ", "yo", "yrl-CO", "yrl-VE", "yrl", "yue-Hans", "yue-Hant", "yue", "zgh", "zh-Hans-HK", "zh-Hans-MO", "zh-Hans-SG", "zh-Hans", "zh-Hant-HK", "zh-Hant-MO", "zh-Hant", "zh", "zu"];
|
|
841
761
|
|
|
842
762
|
// bazel-out/darwin-fastbuild/bin/packages/intl-relativetimeformat/lib/should-polyfill.js
|
|
843
763
|
function supportedLocalesOf(locale) {
|
|
@@ -861,7 +781,7 @@
|
|
|
861
781
|
locale = "en";
|
|
862
782
|
}
|
|
863
783
|
if (!("RelativeTimeFormat" in Intl) || !supportedLocalesOf(locale) || !hasResolvedOptionsNumberingSystem(locale)) {
|
|
864
|
-
return (0,
|
|
784
|
+
return (0, import_intl_localematcher3.match)([locale], supportedLocales, "en");
|
|
865
785
|
}
|
|
866
786
|
}
|
|
867
787
|
|
|
@@ -875,18 +795,4 @@
|
|
|
875
795
|
});
|
|
876
796
|
}
|
|
877
797
|
})();
|
|
878
|
-
/*! *****************************************************************************
|
|
879
|
-
Copyright (c) Microsoft Corporation.
|
|
880
|
-
|
|
881
|
-
Permission to use, copy, modify, and/or distribute this software for any
|
|
882
|
-
purpose with or without fee is hereby granted.
|
|
883
|
-
|
|
884
|
-
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
|
|
885
|
-
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
|
|
886
|
-
AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
|
|
887
|
-
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
|
|
888
|
-
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
|
889
|
-
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
890
|
-
PERFORMANCE OF THIS SOFTWARE.
|
|
891
|
-
***************************************************************************** */
|
|
892
798
|
//# sourceMappingURL=polyfill.iife.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"supported-locales.d.ts","sourceRoot":"","sources":["../../../../../packages/intl-relativetimeformat/supported-locales.ts"],"names":[],"mappings":"AACA,eAAO,MAAM,gBAAgB,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"supported-locales.d.ts","sourceRoot":"","sources":["../../../../../packages/intl-relativetimeformat/supported-locales.ts"],"names":[],"mappings":"AACA,eAAO,MAAM,gBAAgB,EAAE,MAAM,EAAsqI,CAAA"}
|
package/supported-locales.js
CHANGED
|
@@ -2,4 +2,4 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.supportedLocales = void 0;
|
|
4
4
|
// This file is generated from supported-locales-gen.ts
|
|
5
|
-
exports.supportedLocales = ["af-NA", "af", "agq", "ak", "am", "ar-AE", "ar-BH", "ar-DJ", "ar-DZ", "ar-EG", "ar-EH", "ar-ER", "ar-IL", "ar-IQ", "ar-JO", "ar-KM", "ar-KW", "ar-LB", "ar-LY", "ar-MA", "ar-MR", "ar-OM", "ar-PS", "ar-QA", "ar-SA", "ar-SD", "ar-SO", "ar-SS", "ar-SY", "ar-TD", "ar-TN", "ar-YE", "ar", "as", "asa", "ast", "az-Cyrl", "az-Latn", "az", "bas", "be", "bem", "bez", "bg", "bm", "bn-IN", "bn", "bo-IN", "bo", "br", "brx", "bs-Cyrl", "bs-Latn", "bs", "ca-AD", "ca-ES-
|
|
5
|
+
exports.supportedLocales = ["af-NA", "af", "agq", "ak", "am", "ar-AE", "ar-BH", "ar-DJ", "ar-DZ", "ar-EG", "ar-EH", "ar-ER", "ar-IL", "ar-IQ", "ar-JO", "ar-KM", "ar-KW", "ar-LB", "ar-LY", "ar-MA", "ar-MR", "ar-OM", "ar-PS", "ar-QA", "ar-SA", "ar-SD", "ar-SO", "ar-SS", "ar-SY", "ar-TD", "ar-TN", "ar-YE", "ar", "as", "asa", "ast", "az-Cyrl", "az-Latn", "az", "bas", "be-tarask", "be", "bem", "bez", "bg", "bm", "bn-IN", "bn", "bo-IN", "bo", "br", "brx", "bs-Cyrl", "bs-Latn", "bs", "ca-AD", "ca-ES-valencia", "ca-FR", "ca-IT", "ca", "ccp-IN", "ccp", "ce", "ceb", "cgg", "chr", "ckb-IR", "ckb", "cs", "cy", "da-GL", "da", "dav", "de-AT", "de-BE", "de-CH", "de-IT", "de-LI", "de-LU", "de", "dje", "doi", "dsb", "dua", "dyo", "dz", "ebu", "ee-TG", "ee", "el-CY", "el", "en-001", "en-150", "en-AE", "en-AG", "en-AI", "en-AS", "en-AT", "en-AU", "en-BB", "en-BE", "en-BI", "en-BM", "en-BS", "en-BW", "en-BZ", "en-CA", "en-CC", "en-CH", "en-CK", "en-CM", "en-CX", "en-CY", "en-DE", "en-DG", "en-DK", "en-DM", "en-ER", "en-FI", "en-FJ", "en-FK", "en-FM", "en-GB", "en-GD", "en-GG", "en-GH", "en-GI", "en-GM", "en-GU", "en-GY", "en-HK", "en-IE", "en-IL", "en-IM", "en-IN", "en-IO", "en-JE", "en-JM", "en-KE", "en-KI", "en-KN", "en-KY", "en-LC", "en-LR", "en-LS", "en-MG", "en-MH", "en-MO", "en-MP", "en-MS", "en-MT", "en-MU", "en-MW", "en-MY", "en-NA", "en-NF", "en-NG", "en-NL", "en-NR", "en-NU", "en-NZ", "en-PG", "en-PH", "en-PK", "en-PN", "en-PR", "en-PW", "en-RW", "en-SB", "en-SC", "en-SD", "en-SE", "en-SG", "en-SH", "en-SI", "en-SL", "en-SS", "en-SX", "en-SZ", "en-TC", "en-TK", "en-TO", "en-TT", "en-TV", "en-TZ", "en-UG", "en-UM", "en-VC", "en-VG", "en-VI", "en-VU", "en-WS", "en-ZA", "en-ZM", "en-ZW", "en", "eo", "es-419", "es-AR", "es-BO", "es-BR", "es-BZ", "es-CL", "es-CO", "es-CR", "es-CU", "es-DO", "es-EA", "es-EC", "es-GQ", "es-GT", "es-HN", "es-IC", "es-MX", "es-NI", "es-PA", "es-PE", "es-PH", "es-PR", "es-PY", "es-SV", "es-US", "es-UY", "es-VE", "es", "et", "eu", "ewo", "fa-AF", "fa", "ff-Adlm-BF", "ff-Adlm-CM", "ff-Adlm-GH", "ff-Adlm-GM", "ff-Adlm-GW", "ff-Adlm-LR", "ff-Adlm-MR", "ff-Adlm-NE", "ff-Adlm-NG", "ff-Adlm-SL", "ff-Adlm-SN", "ff-Adlm", "ff-Latn-BF", "ff-Latn-CM", "ff-Latn-GH", "ff-Latn-GM", "ff-Latn-GN", "ff-Latn-GW", "ff-Latn-LR", "ff-Latn-MR", "ff-Latn-NE", "ff-Latn-NG", "ff-Latn-SL", "ff-Latn", "ff", "fi", "fil", "fo-DK", "fo", "fr-BE", "fr-BF", "fr-BI", "fr-BJ", "fr-BL", "fr-CA", "fr-CD", "fr-CF", "fr-CG", "fr-CH", "fr-CI", "fr-CM", "fr-DJ", "fr-DZ", "fr-GA", "fr-GF", "fr-GN", "fr-GP", "fr-GQ", "fr-HT", "fr-KM", "fr-LU", "fr-MA", "fr-MC", "fr-MF", "fr-MG", "fr-ML", "fr-MQ", "fr-MR", "fr-MU", "fr-NC", "fr-NE", "fr-PF", "fr-PM", "fr-RE", "fr-RW", "fr-SC", "fr-SN", "fr-SY", "fr-TD", "fr-TG", "fr-TN", "fr-VU", "fr-WF", "fr-YT", "fr", "fur", "fy", "ga-GB", "ga", "gd", "gl", "gsw-FR", "gsw-LI", "gsw", "gu", "guz", "gv", "ha-GH", "ha-NE", "ha", "haw", "he", "hi", "hr-BA", "hr", "hsb", "hu", "hy", "ia", "id", "ig", "ii", "is", "it-CH", "it-SM", "it-VA", "it", "ja", "jgo", "jmc", "jv", "ka", "kab", "kam", "kde", "kea", "kgp", "khq", "ki", "kk", "kkj", "kl", "kln", "km", "kn", "ko-KP", "ko", "kok", "ks-Arab", "ks", "ksb", "ksf", "ksh", "ku", "kw", "ky", "lag", "lb", "lg", "lkt", "ln-AO", "ln-CF", "ln-CG", "ln", "lo", "lrc-IQ", "lrc", "lt", "lu", "luo", "luy", "lv", "mai", "mas-TZ", "mas", "mer", "mfe", "mg", "mgh", "mgo", "mi", "mk", "ml", "mn", "mni-Beng", "mni", "mr", "ms-BN", "ms-ID", "ms-SG", "ms", "mt", "mua", "my", "mzn", "naq", "nb-SJ", "nb", "nd", "nds-NL", "nds", "ne-IN", "ne", "nl-AW", "nl-BE", "nl-BQ", "nl-CW", "nl-SR", "nl-SX", "nl", "nmg", "nn", "nnh", "no", "nus", "nyn", "om-KE", "om", "or", "os-RU", "os", "pa-Arab", "pa-Guru", "pa", "pcm", "pl", "ps-PK", "ps", "pt-AO", "pt-CH", "pt-CV", "pt-GQ", "pt-GW", "pt-LU", "pt-MO", "pt-MZ", "pt-PT", "pt-ST", "pt-TL", "pt", "qu-BO", "qu-EC", "qu", "rm", "rn", "ro-MD", "ro", "rof", "ru-BY", "ru-KG", "ru-KZ", "ru-MD", "ru-UA", "ru", "rw", "rwk", "sa", "sah", "saq", "sat-Olck", "sat", "sbp", "sc", "sd-Arab", "sd-Deva", "sd", "se-FI", "se-SE", "se", "seh", "ses", "sg", "shi-Latn", "shi-Tfng", "shi", "si", "sk", "sl", "smn", "sn", "so-DJ", "so-ET", "so-KE", "so", "sq-MK", "sq-XK", "sq", "sr-Cyrl-BA", "sr-Cyrl-ME", "sr-Cyrl-XK", "sr-Cyrl", "sr-Latn-BA", "sr-Latn-ME", "sr-Latn-XK", "sr-Latn", "sr", "su-Latn", "su", "sv-AX", "sv-FI", "sv", "sw-CD", "sw-KE", "sw-UG", "sw", "ta-LK", "ta-MY", "ta-SG", "ta", "te", "teo-KE", "teo", "tg", "th", "ti-ER", "ti", "tk", "to", "tr-CY", "tr", "tt", "twq", "tzm", "ug", "uk", "und", "ur-IN", "ur", "uz-Arab", "uz-Cyrl", "uz-Latn", "uz", "vai-Latn", "vai-Vaii", "vai", "vi", "vun", "wae", "wo", "xh", "xog", "yav", "yi", "yo-BJ", "yo", "yrl-CO", "yrl-VE", "yrl", "yue-Hans", "yue-Hant", "yue", "zgh", "zh-Hans-HK", "zh-Hans-MO", "zh-Hans-SG", "zh-Hans", "zh-Hant-HK", "zh-Hant-MO", "zh-Hant", "zh", "zu"];
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
/* @generated */
|
|
2
|
-
// prettier-ignore
|
|
3
|
-
if (Intl.RelativeTimeFormat && typeof Intl.RelativeTimeFormat.__addLocaleData === 'function') {
|
|
4
|
-
Intl.RelativeTimeFormat.__addLocaleData({"data":{"nu":["latn"],"year":{"0":"this year","1":"next year","future":{"one":"in {0} year","other":"in {0} years"},"past":{"one":"{0} year ago","other":"{0} years ago"},"-1":"last year"},"year-short":{"0":"this yr.","1":"next yr.","future":{"one":"in {0} yr.","other":"in {0} yr."},"past":{"one":"{0} yr. ago","other":"{0} yr. ago"},"-1":"last yr."},"year-narrow":{"0":"this yr.","1":"next yr.","future":{"one":"in {0} yr.","other":"in {0} yr."},"past":{"one":"{0} yr. ago","other":"{0} yr. ago"},"-1":"last yr."},"quarter":{"0":"this quarter","1":"next quarter","future":{"one":"in {0} quarter","other":"in {0} quarters"},"past":{"one":"{0} quarter ago","other":"{0} quarters ago"},"-1":"last quarter"},"quarter-short":{"0":"this qtr.","1":"next qtr.","future":{"one":"in {0} qtr.","other":"in {0} qtrs."},"past":{"one":"{0} qtr. ago","other":"{0} qtrs. ago"},"-1":"last qtr."},"quarter-narrow":{"0":"this qtr.","1":"next qtr.","future":{"one":"in {0} qtr.","other":"in {0} qtrs."},"past":{"one":"{0} qtr. ago","other":"{0} qtrs. ago"},"-1":"last qtr."},"month":{"0":"this month","1":"next month","future":{"one":"in {0} month","other":"in {0} months"},"past":{"one":"{0} month ago","other":"{0} months ago"},"-1":"last month"},"month-short":{"0":"this mo.","1":"next mo.","future":{"one":"in {0} mo.","other":"in {0} mo."},"past":{"one":"{0} mo. ago","other":"{0} mo. ago"},"-1":"last mo."},"month-narrow":{"0":"this mo.","1":"next mo.","future":{"one":"in {0} mo.","other":"in {0} mo."},"past":{"one":"{0} mo. ago","other":"{0} mo. ago"},"-1":"last mo."},"week":{"0":"this week","1":"next week","future":{"one":"in {0} week","other":"in {0} weeks"},"past":{"one":"{0} week ago","other":"{0} weeks ago"},"-1":"last week"},"week-short":{"0":"this wk.","1":"next wk.","future":{"one":"in {0} wk.","other":"in {0} wk."},"past":{"one":"{0} wk. ago","other":"{0} wk. ago"},"-1":"last wk."},"week-narrow":{"0":"this wk.","1":"next wk.","future":{"one":"in {0} wk.","other":"in {0} wk."},"past":{"one":"{0} wk. ago","other":"{0} wk. ago"},"-1":"last wk."},"day":{"0":"today","1":"tomorrow","future":{"one":"in {0} day","other":"in {0} days"},"past":{"one":"{0} day ago","other":"{0} days ago"},"-1":"yesterday"},"day-short":{"0":"today","1":"tomorrow","future":{"one":"in {0} day","other":"in {0} days"},"past":{"one":"{0} day ago","other":"{0} days ago"},"-1":"yesterday"},"day-narrow":{"0":"today","1":"tomorrow","future":{"one":"in {0} day","other":"in {0} days"},"past":{"one":"{0} day ago","other":"{0} days ago"},"-1":"yesterday"},"hour":{"0":"this hour","future":{"one":"in {0} hour","other":"in {0} hours"},"past":{"one":"{0} hour ago","other":"{0} hours ago"}},"hour-short":{"0":"this hour","future":{"one":"in {0} hr.","other":"in {0} hr."},"past":{"one":"{0} hr. ago","other":"{0} hr. ago"}},"hour-narrow":{"0":"this hour","future":{"one":"in {0} hr.","other":"in {0} hr."},"past":{"one":"{0} hr. ago","other":"{0} hr. ago"}},"minute":{"0":"this minute","future":{"one":"in {0} minute","other":"in {0} minutes"},"past":{"one":"{0} minute ago","other":"{0} minutes ago"}},"minute-short":{"0":"this minute","future":{"one":"in {0} min.","other":"in {0} min."},"past":{"one":"{0} min. ago","other":"{0} min. ago"}},"minute-narrow":{"0":"this minute","future":{"one":"in {0} min.","other":"in {0} min."},"past":{"one":"{0} min. ago","other":"{0} min. ago"}},"second":{"0":"now","future":{"one":"in {0} second","other":"in {0} seconds"},"past":{"one":"{0} second ago","other":"{0} seconds ago"}},"second-short":{"0":"now","future":{"one":"in {0} sec.","other":"in {0} sec."},"past":{"one":"{0} sec. ago","other":"{0} sec. ago"}},"second-narrow":{"0":"now","future":{"one":"in {0} sec.","other":"in {0} sec."},"past":{"one":"{0} sec. ago","other":"{0} sec. ago"}}},"locale":"en-US-POSIX"}
|
|
5
|
-
)
|
|
6
|
-
}
|