@formatjs/intl-pluralrules 5.1.8 → 5.1.9
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/package.json +3 -3
- package/polyfill.iife.js +37 -37
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@formatjs/intl-pluralrules",
|
|
3
|
-
"version": "5.1.
|
|
3
|
+
"version": "5.1.9",
|
|
4
4
|
"description": "Polyfill for Intl.PluralRules",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"polyfill",
|
|
@@ -25,8 +25,8 @@
|
|
|
25
25
|
"tslib": "^2.4.0"
|
|
26
26
|
},
|
|
27
27
|
"devDependencies": {
|
|
28
|
-
"@formatjs/intl-getcanonicallocales": "2.0
|
|
29
|
-
"@formatjs/intl-locale": "3.0
|
|
28
|
+
"@formatjs/intl-getcanonicallocales": "2.1.0",
|
|
29
|
+
"@formatjs/intl-locale": "3.1.0"
|
|
30
30
|
},
|
|
31
31
|
"bugs": {
|
|
32
32
|
"url": "https://github.com/formatjs/formatjs/issues"
|
package/polyfill.iife.js
CHANGED
|
@@ -21,9 +21,9 @@
|
|
|
21
21
|
mod
|
|
22
22
|
));
|
|
23
23
|
|
|
24
|
-
// ../../../../../../../../execroot/formatjs/bazel-out/
|
|
24
|
+
// ../../../../../../../../execroot/formatjs/bazel-out/darwin-fastbuild/bin/node_modules/.aspect_rules_js/tslib@2.4.0/node_modules/tslib/tslib.js
|
|
25
25
|
var require_tslib = __commonJS({
|
|
26
|
-
"../../../../../../../../execroot/formatjs/bazel-out/
|
|
26
|
+
"../../../../../../../../execroot/formatjs/bazel-out/darwin-fastbuild/bin/node_modules/.aspect_rules_js/tslib@2.4.0/node_modules/tslib/tslib.js"(exports, module) {
|
|
27
27
|
var __extends2;
|
|
28
28
|
var __assign2;
|
|
29
29
|
var __rest2;
|
|
@@ -461,7 +461,7 @@
|
|
|
461
461
|
}
|
|
462
462
|
});
|
|
463
463
|
|
|
464
|
-
// ../../../../../../../../execroot/formatjs/bazel-out/
|
|
464
|
+
// ../../../../../../../../execroot/formatjs/bazel-out/darwin-fastbuild/bin/node_modules/.aspect_rules_js/tslib@2.4.0/node_modules/tslib/modules/index.js
|
|
465
465
|
var import_tslib = __toESM(require_tslib(), 1);
|
|
466
466
|
var {
|
|
467
467
|
__extends,
|
|
@@ -491,12 +491,12 @@
|
|
|
491
491
|
__classPrivateFieldIn
|
|
492
492
|
} = import_tslib.default;
|
|
493
493
|
|
|
494
|
-
// ../../../../../../../../execroot/formatjs/bazel-out/
|
|
494
|
+
// ../../../../../../../../execroot/formatjs/bazel-out/darwin-fastbuild/bin/node_modules/.aspect_rules_js/@formatjs+ecma402-abstract@0.0.0/node_modules/@formatjs/ecma402-abstract/lib/CanonicalizeLocaleList.js
|
|
495
495
|
function CanonicalizeLocaleList(locales) {
|
|
496
496
|
return Intl.getCanonicalLocales(locales);
|
|
497
497
|
}
|
|
498
498
|
|
|
499
|
-
// ../../../../../../../../execroot/formatjs/bazel-out/
|
|
499
|
+
// ../../../../../../../../execroot/formatjs/bazel-out/darwin-fastbuild/bin/node_modules/.aspect_rules_js/@formatjs+ecma402-abstract@0.0.0/node_modules/@formatjs/ecma402-abstract/lib/262.js
|
|
500
500
|
function ToString(o) {
|
|
501
501
|
if (typeof o === "symbol") {
|
|
502
502
|
throw TypeError("Cannot convert a Symbol value to a string");
|
|
@@ -568,7 +568,7 @@
|
|
|
568
568
|
var MS_PER_MINUTE = MS_PER_SECOND * SECONDS_PER_MINUTE;
|
|
569
569
|
var MS_PER_HOUR = MS_PER_MINUTE * MINUTES_PER_HOUR;
|
|
570
570
|
|
|
571
|
-
// ../../../../../../../../execroot/formatjs/bazel-out/
|
|
571
|
+
// ../../../../../../../../execroot/formatjs/bazel-out/darwin-fastbuild/bin/node_modules/.aspect_rules_js/@formatjs+ecma402-abstract@0.0.0/node_modules/@formatjs/ecma402-abstract/lib/CoerceOptionsToObject.js
|
|
572
572
|
function CoerceOptionsToObject(options) {
|
|
573
573
|
if (typeof options === "undefined") {
|
|
574
574
|
return /* @__PURE__ */ Object.create(null);
|
|
@@ -576,7 +576,7 @@
|
|
|
576
576
|
return ToObject(options);
|
|
577
577
|
}
|
|
578
578
|
|
|
579
|
-
// ../../../../../../../../execroot/formatjs/bazel-out/
|
|
579
|
+
// ../../../../../../../../execroot/formatjs/bazel-out/darwin-fastbuild/bin/node_modules/.aspect_rules_js/@formatjs+ecma402-abstract@0.0.0/node_modules/@formatjs/ecma402-abstract/lib/DefaultNumberOption.js
|
|
580
580
|
function DefaultNumberOption(val, min, max, fallback) {
|
|
581
581
|
if (val !== void 0) {
|
|
582
582
|
val = Number(val);
|
|
@@ -588,13 +588,13 @@
|
|
|
588
588
|
return fallback;
|
|
589
589
|
}
|
|
590
590
|
|
|
591
|
-
// ../../../../../../../../execroot/formatjs/bazel-out/
|
|
591
|
+
// ../../../../../../../../execroot/formatjs/bazel-out/darwin-fastbuild/bin/node_modules/.aspect_rules_js/@formatjs+ecma402-abstract@0.0.0/node_modules/@formatjs/ecma402-abstract/lib/GetNumberOption.js
|
|
592
592
|
function GetNumberOption(options, property, minimum, maximum, fallback) {
|
|
593
593
|
var val = options[property];
|
|
594
594
|
return DefaultNumberOption(val, minimum, maximum, fallback);
|
|
595
595
|
}
|
|
596
596
|
|
|
597
|
-
// ../../../../../../../../execroot/formatjs/bazel-out/
|
|
597
|
+
// ../../../../../../../../execroot/formatjs/bazel-out/darwin-fastbuild/bin/node_modules/.aspect_rules_js/@formatjs+ecma402-abstract@0.0.0/node_modules/@formatjs/ecma402-abstract/lib/GetOption.js
|
|
598
598
|
function GetOption(opts, prop, type, values, fallback) {
|
|
599
599
|
if (typeof opts !== "object") {
|
|
600
600
|
throw new TypeError("Options must be an object");
|
|
@@ -620,7 +620,7 @@
|
|
|
620
620
|
return fallback;
|
|
621
621
|
}
|
|
622
622
|
|
|
623
|
-
// ../../../../../../../../execroot/formatjs/bazel-out/
|
|
623
|
+
// ../../../../../../../../execroot/formatjs/bazel-out/darwin-fastbuild/bin/node_modules/.aspect_rules_js/@formatjs+ecma402-abstract@0.0.0/node_modules/@formatjs/ecma402-abstract/lib/IsSanctionedSimpleUnitIdentifier.js
|
|
624
624
|
var SANCTIONED_UNITS = [
|
|
625
625
|
"angle-degree",
|
|
626
626
|
"area-acre",
|
|
@@ -671,7 +671,7 @@
|
|
|
671
671
|
}
|
|
672
672
|
var SIMPLE_UNITS = SANCTIONED_UNITS.map(removeUnitNamespace);
|
|
673
673
|
|
|
674
|
-
// ../../../../../../../../execroot/formatjs/bazel-out/
|
|
674
|
+
// ../../../../../../../../execroot/formatjs/bazel-out/darwin-fastbuild/bin/node_modules/.aspect_rules_js/@formatjs+ecma402-abstract@0.0.0/node_modules/@formatjs/ecma402-abstract/lib/utils.js
|
|
675
675
|
function getMagnitude(x) {
|
|
676
676
|
return Math.floor(Math.log(x) * Math.LOG10E);
|
|
677
677
|
}
|
|
@@ -694,7 +694,7 @@
|
|
|
694
694
|
}
|
|
695
695
|
}
|
|
696
696
|
|
|
697
|
-
// ../../../../../../../../execroot/formatjs/bazel-out/
|
|
697
|
+
// ../../../../../../../../execroot/formatjs/bazel-out/darwin-fastbuild/bin/node_modules/.aspect_rules_js/@formatjs+ecma402-abstract@0.0.0/node_modules/@formatjs/ecma402-abstract/lib/NumberFormat/ToRawPrecision.js
|
|
698
698
|
function ToRawPrecision(x, minPrecision, maxPrecision) {
|
|
699
699
|
var p = maxPrecision;
|
|
700
700
|
var m;
|
|
@@ -752,7 +752,7 @@
|
|
|
752
752
|
}
|
|
753
753
|
}
|
|
754
754
|
|
|
755
|
-
// ../../../../../../../../execroot/formatjs/bazel-out/
|
|
755
|
+
// ../../../../../../../../execroot/formatjs/bazel-out/darwin-fastbuild/bin/node_modules/.aspect_rules_js/@formatjs+ecma402-abstract@0.0.0/node_modules/@formatjs/ecma402-abstract/lib/NumberFormat/ToRawFixed.js
|
|
756
756
|
function ToRawFixed(x, minFraction, maxFraction) {
|
|
757
757
|
var f = maxFraction;
|
|
758
758
|
var n = Math.round(x * Math.pow(10, f));
|
|
@@ -792,7 +792,7 @@
|
|
|
792
792
|
return { formattedString: m, roundedNumber: xFinal, integerDigitsCount: int };
|
|
793
793
|
}
|
|
794
794
|
|
|
795
|
-
// ../../../../../../../../execroot/formatjs/bazel-out/
|
|
795
|
+
// ../../../../../../../../execroot/formatjs/bazel-out/darwin-fastbuild/bin/node_modules/.aspect_rules_js/@formatjs+ecma402-abstract@0.0.0/node_modules/@formatjs/ecma402-abstract/lib/NumberFormat/FormatNumericToString.js
|
|
796
796
|
function FormatNumericToString(intlObject, x) {
|
|
797
797
|
var isNegative = x < 0 || SameValue(x, -0);
|
|
798
798
|
if (isNegative) {
|
|
@@ -828,19 +828,19 @@
|
|
|
828
828
|
return { roundedNumber: x, formattedString: string };
|
|
829
829
|
}
|
|
830
830
|
|
|
831
|
-
// ../../../../../../../../execroot/formatjs/bazel-out/
|
|
831
|
+
// ../../../../../../../../execroot/formatjs/bazel-out/darwin-fastbuild/bin/node_modules/.aspect_rules_js/@formatjs+ecma402-abstract@0.0.0/node_modules/@formatjs/ecma402-abstract/lib/regex.generated.js
|
|
832
832
|
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]/;
|
|
833
833
|
|
|
834
|
-
// ../../../../../../../../execroot/formatjs/bazel-out/
|
|
834
|
+
// ../../../../../../../../execroot/formatjs/bazel-out/darwin-fastbuild/bin/node_modules/.aspect_rules_js/@formatjs+ecma402-abstract@0.0.0/node_modules/@formatjs/ecma402-abstract/lib/NumberFormat/format_to_parts.js
|
|
835
835
|
var CARET_S_UNICODE_REGEX = new RegExp("^".concat(S_UNICODE_REGEX.source));
|
|
836
836
|
var S_DOLLAR_UNICODE_REGEX = new RegExp("".concat(S_UNICODE_REGEX.source, "$"));
|
|
837
837
|
|
|
838
|
-
// ../../../../../../../../execroot/formatjs/bazel-out/
|
|
838
|
+
// ../../../../../../../../execroot/formatjs/bazel-out/darwin-fastbuild/bin/node_modules/.aspect_rules_js/@formatjs+intl-localematcher@0.0.0/node_modules/@formatjs/intl-localematcher/lib/abstract/CanonicalizeLocaleList.js
|
|
839
839
|
function CanonicalizeLocaleList2(locales) {
|
|
840
840
|
return Intl.getCanonicalLocales(locales);
|
|
841
841
|
}
|
|
842
842
|
|
|
843
|
-
// ../../../../../../../../execroot/formatjs/bazel-out/
|
|
843
|
+
// ../../../../../../../../execroot/formatjs/bazel-out/darwin-fastbuild/bin/node_modules/.aspect_rules_js/@formatjs+intl-localematcher@0.0.0/node_modules/@formatjs/intl-localematcher/lib/abstract/utils.js
|
|
844
844
|
var UNICODE_EXTENSION_SEQUENCE_REGEX = /-u(?:-[0-9a-z]{2,8})+/gi;
|
|
845
845
|
function invariant2(condition, message, Err) {
|
|
846
846
|
if (Err === void 0) {
|
|
@@ -851,7 +851,7 @@
|
|
|
851
851
|
}
|
|
852
852
|
}
|
|
853
853
|
|
|
854
|
-
// ../../../../../../../../execroot/formatjs/bazel-out/
|
|
854
|
+
// ../../../../../../../../execroot/formatjs/bazel-out/darwin-fastbuild/bin/node_modules/.aspect_rules_js/@formatjs+intl-localematcher@0.0.0/node_modules/@formatjs/intl-localematcher/lib/abstract/BestAvailableLocale.js
|
|
855
855
|
function BestAvailableLocale(availableLocales, locale) {
|
|
856
856
|
var candidate = locale;
|
|
857
857
|
while (true) {
|
|
@@ -869,7 +869,7 @@
|
|
|
869
869
|
}
|
|
870
870
|
}
|
|
871
871
|
|
|
872
|
-
// ../../../../../../../../execroot/formatjs/bazel-out/
|
|
872
|
+
// ../../../../../../../../execroot/formatjs/bazel-out/darwin-fastbuild/bin/node_modules/.aspect_rules_js/@formatjs+intl-localematcher@0.0.0/node_modules/@formatjs/intl-localematcher/lib/abstract/LookupMatcher.js
|
|
873
873
|
function LookupMatcher(availableLocales, requestedLocales, getDefaultLocale) {
|
|
874
874
|
var result = { locale: "" };
|
|
875
875
|
for (var _i = 0, requestedLocales_1 = requestedLocales; _i < requestedLocales_1.length; _i++) {
|
|
@@ -888,7 +888,7 @@
|
|
|
888
888
|
return result;
|
|
889
889
|
}
|
|
890
890
|
|
|
891
|
-
// ../../../../../../../../execroot/formatjs/bazel-out/
|
|
891
|
+
// ../../../../../../../../execroot/formatjs/bazel-out/darwin-fastbuild/bin/node_modules/.aspect_rules_js/@formatjs+intl-localematcher@0.0.0/node_modules/@formatjs/intl-localematcher/lib/abstract/BestFitMatcher.js
|
|
892
892
|
function BestFitMatcher(availableLocales, requestedLocales, getDefaultLocale) {
|
|
893
893
|
var minimizedAvailableLocaleMap = {};
|
|
894
894
|
var availableLocaleMap = {};
|
|
@@ -936,7 +936,7 @@
|
|
|
936
936
|
};
|
|
937
937
|
}
|
|
938
938
|
|
|
939
|
-
// ../../../../../../../../execroot/formatjs/bazel-out/
|
|
939
|
+
// ../../../../../../../../execroot/formatjs/bazel-out/darwin-fastbuild/bin/node_modules/.aspect_rules_js/@formatjs+intl-localematcher@0.0.0/node_modules/@formatjs/intl-localematcher/lib/abstract/UnicodeExtensionValue.js
|
|
940
940
|
function UnicodeExtensionValue(extension, key) {
|
|
941
941
|
invariant2(key.length === 2, "key must have 2 elements");
|
|
942
942
|
var size = extension.length;
|
|
@@ -975,7 +975,7 @@
|
|
|
975
975
|
return void 0;
|
|
976
976
|
}
|
|
977
977
|
|
|
978
|
-
// ../../../../../../../../execroot/formatjs/bazel-out/
|
|
978
|
+
// ../../../../../../../../execroot/formatjs/bazel-out/darwin-fastbuild/bin/node_modules/.aspect_rules_js/@formatjs+intl-localematcher@0.0.0/node_modules/@formatjs/intl-localematcher/lib/abstract/ResolveLocale.js
|
|
979
979
|
function ResolveLocale(availableLocales, requestedLocales, options, relevantExtensionKeys, localeData, getDefaultLocale) {
|
|
980
980
|
var matcher = options.localeMatcher;
|
|
981
981
|
var r;
|
|
@@ -1039,7 +1039,7 @@
|
|
|
1039
1039
|
return result;
|
|
1040
1040
|
}
|
|
1041
1041
|
|
|
1042
|
-
// ../../../../../../../../execroot/formatjs/bazel-out/
|
|
1042
|
+
// ../../../../../../../../execroot/formatjs/bazel-out/darwin-fastbuild/bin/node_modules/.aspect_rules_js/@formatjs+intl-localematcher@0.0.0/node_modules/@formatjs/intl-localematcher/lib/abstract/LookupSupportedLocales.js
|
|
1043
1043
|
function LookupSupportedLocales(availableLocales, requestedLocales) {
|
|
1044
1044
|
var subset = [];
|
|
1045
1045
|
for (var _i = 0, requestedLocales_1 = requestedLocales; _i < requestedLocales_1.length; _i++) {
|
|
@@ -1053,7 +1053,7 @@
|
|
|
1053
1053
|
return subset;
|
|
1054
1054
|
}
|
|
1055
1055
|
|
|
1056
|
-
// ../../../../../../../../execroot/formatjs/bazel-out/
|
|
1056
|
+
// ../../../../../../../../execroot/formatjs/bazel-out/darwin-fastbuild/bin/node_modules/.aspect_rules_js/@formatjs+intl-localematcher@0.0.0/node_modules/@formatjs/intl-localematcher/lib/index.js
|
|
1057
1057
|
function match(requestedLocales, availableLocales, defaultLocale, opts) {
|
|
1058
1058
|
var locales = availableLocales.reduce(function(all, l) {
|
|
1059
1059
|
all.add(l);
|
|
@@ -1066,7 +1066,7 @@
|
|
|
1066
1066
|
}).locale;
|
|
1067
1067
|
}
|
|
1068
1068
|
|
|
1069
|
-
// ../../../../../../../../execroot/formatjs/bazel-out/
|
|
1069
|
+
// ../../../../../../../../execroot/formatjs/bazel-out/darwin-fastbuild/bin/node_modules/.aspect_rules_js/@formatjs+ecma402-abstract@0.0.0/node_modules/@formatjs/ecma402-abstract/lib/NumberFormat/SetNumberFormatDigitOptions.js
|
|
1070
1070
|
function SetNumberFormatDigitOptions(internalSlots, opts, mnfdDefault, mxfdDefault, notation) {
|
|
1071
1071
|
var mnid = GetNumberOption(opts, "minimumIntegerDigits", 1, 21, 1);
|
|
1072
1072
|
var mnfd = opts.minimumFractionDigits;
|
|
@@ -1133,7 +1133,7 @@
|
|
|
1133
1133
|
}
|
|
1134
1134
|
}
|
|
1135
1135
|
|
|
1136
|
-
// ../../../../../../../../execroot/formatjs/bazel-out/
|
|
1136
|
+
// ../../../../../../../../execroot/formatjs/bazel-out/darwin-fastbuild/bin/node_modules/.aspect_rules_js/@formatjs+ecma402-abstract@0.0.0/node_modules/@formatjs/ecma402-abstract/lib/SupportedLocales.js
|
|
1137
1137
|
function SupportedLocales(availableLocales, requestedLocales, options) {
|
|
1138
1138
|
var matcher = "best fit";
|
|
1139
1139
|
if (options !== void 0) {
|
|
@@ -1146,7 +1146,7 @@
|
|
|
1146
1146
|
return LookupSupportedLocales(availableLocales, requestedLocales);
|
|
1147
1147
|
}
|
|
1148
1148
|
|
|
1149
|
-
// ../../../../../../../../execroot/formatjs/bazel-out/
|
|
1149
|
+
// ../../../../../../../../execroot/formatjs/bazel-out/darwin-fastbuild/bin/node_modules/.aspect_rules_js/@formatjs+ecma402-abstract@0.0.0/node_modules/@formatjs/ecma402-abstract/lib/data.js
|
|
1150
1150
|
var MissingLocaleDataError = function(_super) {
|
|
1151
1151
|
__extends(MissingLocaleDataError2, _super);
|
|
1152
1152
|
function MissingLocaleDataError2() {
|
|
@@ -1157,7 +1157,7 @@
|
|
|
1157
1157
|
return MissingLocaleDataError2;
|
|
1158
1158
|
}(Error);
|
|
1159
1159
|
|
|
1160
|
-
// ../../../../../../../../execroot/formatjs/bazel-out/
|
|
1160
|
+
// ../../../../../../../../execroot/formatjs/bazel-out/darwin-fastbuild/bin/node_modules/.aspect_rules_js/@formatjs+ecma402-abstract@0.0.0/node_modules/@formatjs/ecma402-abstract/lib/types/date-time.js
|
|
1161
1161
|
var RangePatternType;
|
|
1162
1162
|
(function(RangePatternType2) {
|
|
1163
1163
|
RangePatternType2["startRange"] = "startRange";
|
|
@@ -1165,7 +1165,7 @@
|
|
|
1165
1165
|
RangePatternType2["endRange"] = "endRange";
|
|
1166
1166
|
})(RangePatternType || (RangePatternType = {}));
|
|
1167
1167
|
|
|
1168
|
-
// ../../../../../../../../execroot/formatjs/bazel-out/
|
|
1168
|
+
// ../../../../../../../../execroot/formatjs/bazel-out/darwin-fastbuild/bin/packages/intl-pluralrules/lib/abstract/InitializePluralRules.js
|
|
1169
1169
|
function InitializePluralRules(pl, locales, options, _a) {
|
|
1170
1170
|
var availableLocales = _a.availableLocales, relevantExtensionKeys = _a.relevantExtensionKeys, localeData = _a.localeData, getDefaultLocale = _a.getDefaultLocale, getInternalSlots2 = _a.getInternalSlots;
|
|
1171
1171
|
var requestedLocales = CanonicalizeLocaleList(locales);
|
|
@@ -1182,7 +1182,7 @@
|
|
|
1182
1182
|
return pl;
|
|
1183
1183
|
}
|
|
1184
1184
|
|
|
1185
|
-
// ../../../../../../../../execroot/formatjs/bazel-out/
|
|
1185
|
+
// ../../../../../../../../execroot/formatjs/bazel-out/darwin-fastbuild/bin/packages/intl-pluralrules/lib/abstract/GetOperands.js
|
|
1186
1186
|
function GetOperands(s) {
|
|
1187
1187
|
invariant(typeof s === "string", "GetOperands should have been called with a string");
|
|
1188
1188
|
var n = ToNumber(s);
|
|
@@ -1223,7 +1223,7 @@
|
|
|
1223
1223
|
};
|
|
1224
1224
|
}
|
|
1225
1225
|
|
|
1226
|
-
// ../../../../../../../../execroot/formatjs/bazel-out/
|
|
1226
|
+
// ../../../../../../../../execroot/formatjs/bazel-out/darwin-fastbuild/bin/packages/intl-pluralrules/lib/abstract/ResolvePlural.js
|
|
1227
1227
|
function ResolvePlural(pl, n, _a) {
|
|
1228
1228
|
var getInternalSlots2 = _a.getInternalSlots, PluralRuleSelect2 = _a.PluralRuleSelect;
|
|
1229
1229
|
var internalSlots = getInternalSlots2(pl);
|
|
@@ -1240,7 +1240,7 @@
|
|
|
1240
1240
|
return PluralRuleSelect2(locale, type, n, operands);
|
|
1241
1241
|
}
|
|
1242
1242
|
|
|
1243
|
-
// ../../../../../../../../execroot/formatjs/bazel-out/
|
|
1243
|
+
// ../../../../../../../../execroot/formatjs/bazel-out/darwin-fastbuild/bin/packages/intl-pluralrules/lib/get_internal_slots.js
|
|
1244
1244
|
var internalSlotMap = /* @__PURE__ */ new WeakMap();
|
|
1245
1245
|
function getInternalSlots(x) {
|
|
1246
1246
|
var internalSlots = internalSlotMap.get(x);
|
|
@@ -1251,7 +1251,7 @@
|
|
|
1251
1251
|
return internalSlots;
|
|
1252
1252
|
}
|
|
1253
1253
|
|
|
1254
|
-
// ../../../../../../../../execroot/formatjs/bazel-out/
|
|
1254
|
+
// ../../../../../../../../execroot/formatjs/bazel-out/darwin-fastbuild/bin/packages/intl-pluralrules/lib/index.js
|
|
1255
1255
|
function validateInstance(instance, method) {
|
|
1256
1256
|
if (!(instance instanceof PluralRules)) {
|
|
1257
1257
|
throw new TypeError("Method Intl.PluralRules.prototype.".concat(method, " called on incompatible receiver ").concat(String(instance)));
|
|
@@ -1365,10 +1365,10 @@
|
|
|
1365
1365
|
} catch (ex) {
|
|
1366
1366
|
}
|
|
1367
1367
|
|
|
1368
|
-
// ../../../../../../../../execroot/formatjs/bazel-out/
|
|
1368
|
+
// ../../../../../../../../execroot/formatjs/bazel-out/darwin-fastbuild/bin/packages/intl-pluralrules/lib/supported-locales.generated.js
|
|
1369
1369
|
var supportedLocales = ["af", "ak", "am", "an", "ar", "ars", "as", "asa", "ast", "az", "bal", "be", "bem", "bez", "bg", "bho", "bm", "bn", "bo", "br", "brx", "bs", "ca", "ce", "ceb", "cgg", "chr", "ckb", "cs", "cy", "da", "de", "doi", "dsb", "dv", "dz", "ee", "el", "en", "eo", "es", "et", "eu", "fa", "ff", "fi", "fil", "fo", "fr", "fur", "fy", "ga", "gd", "gl", "gsw", "gu", "guw", "gv", "ha", "haw", "he", "hi", "hnj", "hr", "hsb", "hu", "hy", "ia", "id", "ig", "ii", "io", "is", "it", "iu", "ja", "jbo", "jgo", "jmc", "jv", "jw", "ka", "kab", "kaj", "kcg", "kde", "kea", "kk", "kkj", "kl", "km", "kn", "ko", "ks", "ksb", "ksh", "ku", "kw", "ky", "lag", "lb", "lg", "lij", "lkt", "ln", "lo", "lt", "lv", "mas", "mg", "mgo", "mk", "ml", "mn", "mo", "mr", "ms", "mt", "my", "nah", "naq", "nb", "nd", "ne", "nl", "nn", "nnh", "no", "nqo", "nr", "nso", "ny", "nyn", "om", "or", "os", "osa", "pa", "pap", "pcm", "pl", "prg", "ps", "pt", "pt-PT", "rm", "ro", "rof", "ru", "rwk", "sah", "saq", "sat", "sc", "scn", "sd", "sdh", "se", "seh", "ses", "sg", "sh", "shi", "si", "sk", "sl", "sma", "smi", "smj", "smn", "sms", "sn", "so", "sq", "sr", "ss", "ssy", "st", "su", "sv", "sw", "syr", "ta", "te", "teo", "th", "ti", "tig", "tk", "tl", "tn", "to", "tpi", "tr", "ts", "tzm", "ug", "uk", "und", "ur", "uz", "ve", "vi", "vo", "vun", "wa", "wae", "wo", "xh", "xog", "yi", "yo", "yue", "zh", "zu"];
|
|
1370
1370
|
|
|
1371
|
-
// ../../../../../../../../execroot/formatjs/bazel-out/
|
|
1371
|
+
// ../../../../../../../../execroot/formatjs/bazel-out/darwin-fastbuild/bin/packages/intl-pluralrules/lib/should-polyfill.js
|
|
1372
1372
|
function supportedLocalesOf(locale) {
|
|
1373
1373
|
if (!locale) {
|
|
1374
1374
|
return true;
|
|
@@ -1385,7 +1385,7 @@
|
|
|
1385
1385
|
}
|
|
1386
1386
|
}
|
|
1387
1387
|
|
|
1388
|
-
// ../../../../../../../../execroot/formatjs/bazel-out/
|
|
1388
|
+
// ../../../../../../../../execroot/formatjs/bazel-out/darwin-fastbuild/bin/packages/intl-pluralrules/lib/polyfill.js
|
|
1389
1389
|
if (shouldPolyfill()) {
|
|
1390
1390
|
Object.defineProperty(Intl, "PluralRules", {
|
|
1391
1391
|
value: PluralRules,
|