@formatjs/intl-supportedvaluesof 2.3.0 → 2.3.2

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.
Files changed (42) hide show
  1. package/index.d.ts +60 -8
  2. package/index.js +1148 -2
  3. package/index.js.map +1 -0
  4. package/package.json +2 -3
  5. package/polyfill-force.d.ts +1 -1
  6. package/polyfill-force.js +1144 -1
  7. package/polyfill-force.js.map +1 -0
  8. package/polyfill.d.ts +1 -1
  9. package/polyfill.iife.js +289 -4361
  10. package/polyfill.js +1154 -9
  11. package/polyfill.js.map +1 -0
  12. package/should-polyfill.d.ts +5 -1
  13. package/should-polyfill.js +6 -1
  14. package/should-polyfill.js.map +1 -0
  15. package/src/calendars.generated.d.ts +0 -2
  16. package/src/calendars.generated.js +0 -23
  17. package/src/collations.generated.d.ts +0 -2
  18. package/src/collations.generated.js +0 -23
  19. package/src/currencies.generated.d.ts +0 -2
  20. package/src/currencies.generated.js +0 -311
  21. package/src/get-supported-calendars.d.ts +0 -8
  22. package/src/get-supported-calendars.js +0 -27
  23. package/src/get-supported-collations.d.ts +0 -8
  24. package/src/get-supported-collations.js +0 -23
  25. package/src/get-supported-currencies.d.ts +0 -8
  26. package/src/get-supported-currencies.js +0 -50
  27. package/src/get-supported-numbering-systems.d.ts +0 -7
  28. package/src/get-supported-numbering-systems.js +0 -28
  29. package/src/get-supported-timezones.d.ts +0 -8
  30. package/src/get-supported-timezones.js +0 -25
  31. package/src/get-supported-units.d.ts +0 -7
  32. package/src/get-supported-units.js +0 -28
  33. package/src/index.d.ts +0 -33
  34. package/src/index.js +0 -34
  35. package/src/memoize.d.ts +0 -9
  36. package/src/memoize.js +0 -10
  37. package/src/numbering-systems.generated.d.ts +0 -1
  38. package/src/numbering-systems.generated.js +0 -99
  39. package/src/timezones.generated.d.ts +0 -2
  40. package/src/timezones.generated.js +0 -431
  41. package/src/units.generated.d.ts +0 -2
  42. package/src/units.generated.js +0 -47
package/polyfill.iife.js CHANGED
@@ -1,4362 +1,290 @@
1
- (() => {
2
- var __defProp = Object.defineProperty;
3
- var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
4
- var __publicField = (obj, key, value) => {
5
- __defNormalProp(obj, typeof key !== "symbol" ? key + "" : key, value);
6
- return value;
7
- };
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
+ //#region packages/intl-supportedvaluesof/should-polyfill.ts
8
+ function shouldPolyfill() {
9
+ return !("supportedValuesOf" in Intl);
10
+ }
11
+ //#endregion
12
+ //#region node_modules/.aspect_rules_js/@formatjs+fast-memoize@0.0.0/node_modules/@formatjs/fast-memoize/index.js
13
+ function memoize(fn, options) {
14
+ const cache = options && options.cache ? options.cache : cacheDefault;
15
+ const serializer = options && options.serializer ? options.serializer : serializerDefault;
16
+ return (options && options.strategy ? options.strategy : strategyDefault)(fn, {
17
+ cache,
18
+ serializer
19
+ });
20
+ }
21
+ function isPrimitive(value) {
22
+ return value == null || typeof value === "number" || typeof value === "boolean";
23
+ }
24
+ function monadic(fn, cache, serializer, arg) {
25
+ const cacheKey = isPrimitive(arg) ? arg : serializer(arg);
26
+ let computedValue = cache.get(cacheKey);
27
+ if (typeof computedValue === "undefined") {
28
+ computedValue = fn.call(this, arg);
29
+ cache.set(cacheKey, computedValue);
30
+ }
31
+ return computedValue;
32
+ }
33
+ function variadic(fn, cache, serializer) {
34
+ const args = Array.prototype.slice.call(arguments, 3);
35
+ const cacheKey = serializer(args);
36
+ let computedValue = cache.get(cacheKey);
37
+ if (typeof computedValue === "undefined") {
38
+ computedValue = fn.apply(this, args);
39
+ cache.set(cacheKey, computedValue);
40
+ }
41
+ return computedValue;
42
+ }
43
+ function assemble(fn, context, strategy, cache, serialize) {
44
+ return strategy.bind(context, fn, cache, serialize);
45
+ }
46
+ function strategyDefault(fn, options) {
47
+ const strategy = fn.length === 1 ? monadic : variadic;
48
+ return assemble(fn, this, strategy, options.cache.create(), options.serializer);
49
+ }
50
+ function strategyVariadic(fn, options) {
51
+ return assemble(fn, this, variadic, options.cache.create(), options.serializer);
52
+ }
53
+ function strategyMonadic(fn, options) {
54
+ return assemble(fn, this, monadic, options.cache.create(), options.serializer);
55
+ }
56
+ const serializerDefault = function() {
57
+ return JSON.stringify(arguments);
58
+ };
59
+ var ObjectWithoutPrototypeCache = class {
60
+ constructor() {
61
+ this.cache = Object.create(null);
62
+ }
63
+ get(key) {
64
+ return this.cache[key];
65
+ }
66
+ set(key, value) {
67
+ this.cache[key] = value;
68
+ }
69
+ };
70
+ const cacheDefault = { create: function create() {
71
+ return new ObjectWithoutPrototypeCache();
72
+ } };
73
+ const strategies = {
74
+ variadic: strategyVariadic,
75
+ monadic: strategyMonadic
76
+ };
77
+ //#endregion
78
+ //#region packages/intl-supportedvaluesof/memoize.ts
79
+ /**
80
+ * Implementation: Memoized factory for Intl.DateTimeFormat instances
81
+ *
82
+ * Creates and caches DateTimeFormat instances to avoid repeated instantiation overhead.
83
+ * This is critical for performance since we test many candidate values against formatters.
84
+ *
85
+ * Uses variadic memoization strategy to handle varying numbers of constructor arguments.
86
+ */
87
+ const createMemoizedDateTimeFormat = memoize((...args) => new Intl.DateTimeFormat(...args), { strategy: strategies.variadic });
88
+ //#endregion
89
+ //#region packages/intl-supportedvaluesof/get-supported-calendars.ts
90
+ /**
91
+ * Implementation: Tests if a calendar is supported by attempting to create
92
+ * a DateTimeFormat with that calendar and verifying it was accepted.
93
+ *
94
+ * CLDR Data: Candidate values come from CLDR calendar types
95
+ */
96
+ function isSupportedCalendar(item) {
97
+ try {
98
+ return createMemoizedDateTimeFormat(`en-u-ca-${item}`).resolvedOptions().calendar === item;
99
+ } catch {}
100
+ return false;
101
+ }
102
+ /**
103
+ * ECMA-402 Spec: Returns supported calendar identifiers
104
+ * ECMA-402 Spec: Results must be sorted lexicographically
105
+ *
106
+ * Implementation: Filters CLDR list against actual runtime support
107
+ */
108
+ function getSupportedCalendars() {
109
+ return calendars.filter(isSupportedCalendar).sort();
110
+ }
111
+ //#endregion
112
+ //#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
+ function isSupportedCollation(collation) {
120
+ try {
121
+ return Intl.Collator(`en-u-co-${collation}`).resolvedOptions().collation === collation;
122
+ } catch {}
123
+ return false;
124
+ }
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
+ function getSupportedCollations() {
132
+ return collations.filter(isSupportedCollation).sort();
133
+ }
134
+ //#endregion
135
+ //#region packages/ecma402-abstract/utils.js
136
+ const createMemoizedNumberFormat = memoize((...args) => new Intl.NumberFormat(...args), { strategy: strategies.variadic });
137
+ memoize((...args) => new Intl.PluralRules(...args), { strategy: strategies.variadic });
138
+ memoize((...args) => new Intl.Locale(...args), { strategy: strategies.variadic });
139
+ memoize((...args) => new Intl.ListFormat(...args), { strategy: strategies.variadic });
140
+ //#endregion
141
+ //#region packages/intl-supportedvaluesof/get-supported-currencies.ts
142
+ /**
143
+ * Implementation: Tests if a currency is supported by attempting to create
144
+ * a NumberFormat with that currency and verifying it was accepted.
145
+ *
146
+ * CLDR Data: Candidate values come from CLDR currency codes (ISO 4217)
147
+ */
148
+ function isSupportedCurrency(currency) {
149
+ try {
150
+ const format = createMemoizedNumberFormat("en", {
151
+ style: "currency",
152
+ currencyDisplay: "name",
153
+ currency
154
+ }).format(123);
155
+ if (format.substring(0, 3) !== currency && format.substring(format.length - 3) !== currency) return true;
156
+ } catch {}
157
+ return false;
158
+ }
159
+ /**
160
+ * ECMA-402 Spec: Returns supported currency identifiers
161
+ * ECMA-402 Spec: Results must be sorted lexicographically
162
+ *
163
+ * Implementation: Filters CLDR list against actual runtime support
164
+ */
165
+ function getSupportedCurrencies() {
166
+ const ATOZ = "ABCDEFGHIJKLMNOPQRSTUVWXYZ";
167
+ const supportedCurrencies = [];
168
+ for (const currency of currencies) if (currency.length === 3) {
169
+ if (isSupportedCurrency(currency)) supportedCurrencies.push(currency);
170
+ } else if (currency.length === 5 && currency[3] === "~") {
171
+ const start = ATOZ.indexOf(currency[2]);
172
+ const end = ATOZ.indexOf(currency[4]);
173
+ for (let i = start; i <= end; i++) {
174
+ const currentCurrency = currency.substring(0, 2) + ATOZ[i];
175
+ if (isSupportedCurrency(currentCurrency)) supportedCurrencies.push(currentCurrency);
176
+ }
177
+ }
178
+ return supportedCurrencies.sort();
179
+ }
180
+ //#endregion
181
+ //#region packages/intl-supportedvaluesof/get-supported-numbering-systems.ts
182
+ /**
183
+ * Implementation: Tests if a numbering system is supported by attempting to create
184
+ * a NumberFormat with that numbering system and verifying it was accepted.
185
+ *
186
+ * CLDR Data: Candidate values come from CLDR numbering system types
187
+ */
188
+ function isSupportedNumberingSystem(system) {
189
+ try {
190
+ const numberFormat = createMemoizedNumberFormat(`en-u-nu-${system}`);
191
+ if (numberFormat.resolvedOptions().numberingSystem === system && system === "latn" || numberFormat.format(123) !== "123") return true;
192
+ } catch {}
193
+ return false;
194
+ }
195
+ /**
196
+ * ECMA-402 Spec: Returns supported numbering system identifiers
197
+ * ECMA-402 Spec: Results must be sorted lexicographically
198
+ *
199
+ * Implementation: Filters CLDR list against actual runtime support
200
+ */
201
+ function getSupportedNumberingSystems() {
202
+ return numberingSystemNames.filter(isSupportedNumberingSystem).sort();
203
+ }
204
+ //#endregion
205
+ //#region packages/intl-supportedvaluesof/get-supported-timezones.ts
206
+ /**
207
+ * Implementation: Tests if a timezone is supported by attempting to create
208
+ * a DateTimeFormat with that timezone and verifying it was accepted.
209
+ *
210
+ * CLDR Data: Candidate values come from IANA Time Zone Database
211
+ */
212
+ function isSupportedTimeZone(timeZone) {
213
+ try {
214
+ return createMemoizedDateTimeFormat("en", { timeZone }).resolvedOptions().timeZone === timeZone;
215
+ } catch {}
216
+ return false;
217
+ }
218
+ /**
219
+ * ECMA-402 Spec: Returns supported timezone identifiers
220
+ * ECMA-402 Spec: Results must be sorted lexicographically
221
+ *
222
+ * Implementation: Filters CLDR list against actual runtime support
223
+ */
224
+ function getSupportedTimeZones() {
225
+ return timezones.filter(isSupportedTimeZone).sort();
226
+ }
227
+ //#endregion
228
+ //#region packages/intl-supportedvaluesof/get-supported-units.ts
229
+ /**
230
+ * Implementation: Tests if a unit is supported by attempting to create
231
+ * a NumberFormat with that unit and verifying it was accepted.
232
+ *
233
+ * CLDR Data: Candidate values come from CLDR unit types
234
+ */
235
+ function isSupportedUnit(unit) {
236
+ try {
237
+ return createMemoizedNumberFormat("en", {
238
+ style: "unit",
239
+ unit
240
+ }).resolvedOptions().unit === unit;
241
+ } catch {}
242
+ return false;
243
+ }
244
+ /**
245
+ * ECMA-402 Spec: Returns supported unit identifiers
246
+ * ECMA-402 Spec: Results must be sorted lexicographically
247
+ *
248
+ * Implementation: Filters CLDR list against actual runtime support
249
+ */
250
+ function getSupportedUnits() {
251
+ return units.filter(isSupportedUnit).sort();
252
+ }
253
+ //#endregion
254
+ //#region packages/intl-supportedvaluesof/index.ts
255
+ /**
256
+ * ECMA-402 Spec: Intl.supportedValuesOf(key)
257
+ * https://tc39.es/ecma402/#sec-intl.supportedvaluesof
258
+ *
259
+ * Returns an array containing the supported calendar, collation, currency,
260
+ * numbering systems, time zone, or unit values supported by the implementation.
261
+ *
262
+ * Implementation: We validate candidate values from CLDR against the actual
263
+ * Intl formatters to determine runtime support rather than using static lists.
264
+ * This ensures accuracy across different JavaScript engines and runtimes.
265
+ *
266
+ * @param key - The category of values to return
267
+ * @returns A sorted array of unique string values
268
+ */
269
+ function supportedValuesOf(key) {
270
+ switch (key) {
271
+ case "calendar": return getSupportedCalendars();
272
+ case "collation": return getSupportedCollations();
273
+ case "currency": return getSupportedCurrencies();
274
+ case "numberingSystem": return getSupportedNumberingSystems();
275
+ case "timeZone": return getSupportedTimeZones();
276
+ case "unit": return getSupportedUnits();
277
+ default: throw RangeError("Invalid key: " + key);
278
+ }
279
+ }
280
+ //#endregion
281
+ //#region packages/intl-supportedvaluesof/polyfill.ts
282
+ if (shouldPolyfill()) Object.defineProperty(Intl, "supportedValuesOf", {
283
+ value: supportedValuesOf,
284
+ enumerable: true,
285
+ writable: false,
286
+ configurable: false
287
+ });
288
+ //#endregion
8
289
 
9
- // packages/intl-supportedvaluesof/should-polyfill.ts
10
- function shouldPolyfill() {
11
- return !("supportedValuesOf" in Intl);
12
- }
13
-
14
- // node_modules/.aspect_rules_js/@formatjs+fast-memoize@0.0.0/node_modules/@formatjs/fast-memoize/index.js
15
- function memoize(fn, options) {
16
- const cache = options && options.cache ? options.cache : cacheDefault;
17
- const serializer = options && options.serializer ? options.serializer : serializerDefault;
18
- const strategy = options && options.strategy ? options.strategy : strategyDefault;
19
- return strategy(fn, {
20
- cache,
21
- serializer
22
- });
23
- }
24
- function isPrimitive(value) {
25
- return value == null || typeof value === "number" || typeof value === "boolean";
26
- }
27
- function monadic(fn, cache, serializer, arg) {
28
- const cacheKey = isPrimitive(arg) ? arg : serializer(arg);
29
- let computedValue = cache.get(cacheKey);
30
- if (typeof computedValue === "undefined") {
31
- computedValue = fn.call(this, arg);
32
- cache.set(cacheKey, computedValue);
33
- }
34
- return computedValue;
35
- }
36
- function variadic(fn, cache, serializer) {
37
- const args = Array.prototype.slice.call(arguments, 3);
38
- const cacheKey = serializer(args);
39
- let computedValue = cache.get(cacheKey);
40
- if (typeof computedValue === "undefined") {
41
- computedValue = fn.apply(this, args);
42
- cache.set(cacheKey, computedValue);
43
- }
44
- return computedValue;
45
- }
46
- function assemble(fn, context, strategy, cache, serialize) {
47
- return strategy.bind(context, fn, cache, serialize);
48
- }
49
- function strategyDefault(fn, options) {
50
- const strategy = fn.length === 1 ? monadic : variadic;
51
- return assemble(fn, this, strategy, options.cache.create(), options.serializer);
52
- }
53
- function strategyVariadic(fn, options) {
54
- return assemble(fn, this, variadic, options.cache.create(), options.serializer);
55
- }
56
- function strategyMonadic(fn, options) {
57
- return assemble(fn, this, monadic, options.cache.create(), options.serializer);
58
- }
59
- var serializerDefault = function() {
60
- return JSON.stringify(arguments);
61
- };
62
- var ObjectWithoutPrototypeCache = class {
63
- constructor() {
64
- __publicField(this, "cache");
65
- this.cache = /* @__PURE__ */ Object.create(null);
66
- }
67
- get(key) {
68
- return this.cache[key];
69
- }
70
- set(key, value) {
71
- this.cache[key] = value;
72
- }
73
- };
74
- var cacheDefault = { create: function create() {
75
- return new ObjectWithoutPrototypeCache();
76
- } };
77
- var strategies = {
78
- variadic: strategyVariadic,
79
- monadic: strategyMonadic
80
- };
81
-
82
- // packages/intl-supportedvaluesof/src/memoize.ts
83
- var createMemoizedDateTimeFormat = memoize(
84
- (...args) => new Intl.DateTimeFormat(...args),
85
- {
86
- strategy: strategies.variadic
87
- }
88
- );
89
-
90
- // packages/intl-supportedvaluesof/src/calendars.generated.ts
91
- var calendars = ["buddhist", "chinese", "coptic", "dangi", "ethioaa", "ethiopic", "gregory", "hebrew", "indian", "islamic", "islamic-civil", "islamic-rgsa", "islamic-tbla", "islamic-umalqura", "islamicc", "iso8601", "japanese", "persian", "roc"];
92
-
93
- // packages/intl-supportedvaluesof/src/get-supported-calendars.ts
94
- function isSupportedCalendar(item) {
95
- try {
96
- const dateTimeFormat = createMemoizedDateTimeFormat(`en-u-ca-${item}`);
97
- const options = dateTimeFormat.resolvedOptions().calendar;
98
- return options === item;
99
- } catch {
100
- }
101
- return false;
102
- }
103
- function getSupportedCalendars() {
104
- return calendars.filter(isSupportedCalendar).sort();
105
- }
106
-
107
- // packages/intl-supportedvaluesof/src/collations.generated.ts
108
- var collations = ["big5han", "compat", "dict", "direct", "ducet", "emoji", "eor", "gb2312", "phonebk", "phonetic", "pinyin", "reformed", "search", "searchjl", "standard", "stroke", "trad", "unihan", "zhuyin"];
109
-
110
- // packages/intl-supportedvaluesof/src/get-supported-collations.ts
111
- function isSupportedCollation(collation) {
112
- try {
113
- return Intl.Collator(`en-u-co-${collation}`).resolvedOptions().collation === collation;
114
- } catch {
115
- }
116
- return false;
117
- }
118
- function getSupportedCollations() {
119
- return collations.filter(isSupportedCollation).sort();
120
- }
121
-
122
- // node_modules/.aspect_rules_js/@formatjs+bigdecimal@0.0.0/node_modules/@formatjs/bigdecimal/index.js
123
- var DIV_PRECISION = 40;
124
- var SpecialValue = function(SpecialValue2) {
125
- SpecialValue2[SpecialValue2["NONE"] = 0] = "NONE";
126
- SpecialValue2[SpecialValue2["NAN"] = 1] = "NAN";
127
- SpecialValue2[SpecialValue2["POSITIVE_INFINITY"] = 2] = "POSITIVE_INFINITY";
128
- SpecialValue2[SpecialValue2["NEGATIVE_INFINITY"] = 3] = "NEGATIVE_INFINITY";
129
- return SpecialValue2;
130
- }(SpecialValue || {});
131
- function removeTrailingZeros(mantissa, exponent) {
132
- if (mantissa === 0n)
133
- return [0n, 0];
134
- while (mantissa % 10n === 0n) {
135
- mantissa /= 10n;
136
- exponent++;
137
- }
138
- return [mantissa, exponent];
139
- }
140
- function bigintAbs(n) {
141
- return n < 0n ? -n : n;
142
- }
143
- function digitCount(n) {
144
- if (n === 0n)
145
- return 1;
146
- if (n < 0n)
147
- n = -n;
148
- let count = 0;
149
- const big15 = 1000000000000000n;
150
- while (n >= big15) {
151
- n /= big15;
152
- count += 15;
153
- }
154
- let r = Number(n);
155
- while (r >= 1) {
156
- r /= 10;
157
- count++;
158
- }
159
- return count;
160
- }
161
- var TEN_BIGINT = 10n;
162
- function bigintPow10(n) {
163
- if (n <= 0)
164
- return 1n;
165
- let result = 1n;
166
- let base = TEN_BIGINT;
167
- let exp = n;
168
- while (exp > 0) {
169
- if (exp & 1)
170
- result *= base;
171
- base *= base;
172
- exp >>= 1;
173
- }
174
- return result;
175
- }
176
- function parseDecimalString(s) {
177
- s = s.trim();
178
- if (s === "NaN") {
179
- return {
180
- mantissa: 0n,
181
- exponent: 0,
182
- special: SpecialValue.NAN,
183
- negativeZero: false
184
- };
185
- }
186
- if (s === "Infinity" || s === "+Infinity") {
187
- return {
188
- mantissa: 0n,
189
- exponent: 0,
190
- special: SpecialValue.POSITIVE_INFINITY,
191
- negativeZero: false
192
- };
193
- }
194
- if (s === "-Infinity") {
195
- return {
196
- mantissa: 0n,
197
- exponent: 0,
198
- special: SpecialValue.NEGATIVE_INFINITY,
199
- negativeZero: false
200
- };
201
- }
202
- let negative = false;
203
- let idx = 0;
204
- if (s[idx] === "-") {
205
- negative = true;
206
- idx++;
207
- } else if (s[idx] === "+") {
208
- idx++;
209
- }
210
- let eIdx = s.indexOf("e", idx);
211
- if (eIdx === -1)
212
- eIdx = s.indexOf("E", idx);
213
- let sciExp = 0;
214
- let numPart;
215
- if (eIdx !== -1) {
216
- sciExp = parseInt(s.substring(eIdx + 1), 10);
217
- numPart = s.substring(idx, eIdx);
218
- } else {
219
- numPart = s.substring(idx);
220
- }
221
- const dotIdx = numPart.indexOf(".");
222
- let intPart;
223
- let fracPart;
224
- if (dotIdx !== -1) {
225
- intPart = numPart.substring(0, dotIdx);
226
- fracPart = numPart.substring(dotIdx + 1);
227
- } else {
228
- intPart = numPart;
229
- fracPart = "";
230
- }
231
- const combined = intPart + fracPart;
232
- const exponent = sciExp - fracPart.length;
233
- if (combined === "" || combined === "0" || /^0+$/.test(combined)) {
234
- return {
235
- mantissa: 0n,
236
- exponent: 0,
237
- special: SpecialValue.NONE,
238
- negativeZero: negative
239
- };
240
- }
241
- let mantissa = BigInt(combined);
242
- if (negative)
243
- mantissa = -mantissa;
244
- const [normMantissa, normExponent] = removeTrailingZeros(mantissa, exponent);
245
- return {
246
- mantissa: normMantissa,
247
- exponent: normExponent,
248
- special: SpecialValue.NONE,
249
- negativeZero: false
250
- };
251
- }
252
- var BigDecimal = class _BigDecimal {
253
- constructor(value) {
254
- __publicField(this, "_mantissa");
255
- __publicField(this, "_exponent");
256
- __publicField(this, "_special");
257
- __publicField(this, "_negativeZero");
258
- if (typeof value === "bigint") {
259
- const [m, e] = removeTrailingZeros(value, 0);
260
- this._mantissa = m;
261
- this._exponent = e;
262
- this._special = SpecialValue.NONE;
263
- this._negativeZero = false;
264
- return;
265
- }
266
- if (typeof value === "number") {
267
- if (Number.isNaN(value)) {
268
- this._mantissa = 0n;
269
- this._exponent = 0;
270
- this._special = SpecialValue.NAN;
271
- this._negativeZero = false;
272
- return;
273
- }
274
- if (value === Infinity) {
275
- this._mantissa = 0n;
276
- this._exponent = 0;
277
- this._special = SpecialValue.POSITIVE_INFINITY;
278
- this._negativeZero = false;
279
- return;
280
- }
281
- if (value === -Infinity) {
282
- this._mantissa = 0n;
283
- this._exponent = 0;
284
- this._special = SpecialValue.NEGATIVE_INFINITY;
285
- this._negativeZero = false;
286
- return;
287
- }
288
- if (value === 0) {
289
- this._mantissa = 0n;
290
- this._exponent = 0;
291
- this._special = SpecialValue.NONE;
292
- this._negativeZero = Object.is(value, -0);
293
- return;
294
- }
295
- value = String(value);
296
- }
297
- const parsed = parseDecimalString(value);
298
- this._mantissa = parsed.mantissa;
299
- this._exponent = parsed.exponent;
300
- this._special = parsed.special;
301
- this._negativeZero = parsed.negativeZero;
302
- }
303
- // Private constructor for internal use
304
- static _create(mantissa, exponent, special, negativeZero) {
305
- const bd = Object.create(_BigDecimal.prototype);
306
- bd._mantissa = mantissa;
307
- bd._exponent = exponent;
308
- bd._special = special;
309
- bd._negativeZero = negativeZero;
310
- return bd;
311
- }
312
- // Auto-coerce to BigDecimal for decimal.js compat
313
- static _coerce(v) {
314
- return v instanceof _BigDecimal ? v : new _BigDecimal(v);
315
- }
316
- // --- Arithmetic ---
317
- times(y) {
318
- const other = _BigDecimal._coerce(y);
319
- if (this._special || other._special) {
320
- return this._specialArith(other, "times");
321
- }
322
- if (this._mantissa === 0n || other._mantissa === 0n) {
323
- const negZero = this._isSignNegative() ? !other._isSignNegative() : other._isSignNegative();
324
- return _BigDecimal._create(0n, 0, SpecialValue.NONE, negZero);
325
- }
326
- const m = this._mantissa * other._mantissa;
327
- const e = this._exponent + other._exponent;
328
- const [nm, ne] = removeTrailingZeros(m, e);
329
- return _BigDecimal._create(nm, ne, SpecialValue.NONE, false);
330
- }
331
- div(y) {
332
- const other = _BigDecimal._coerce(y);
333
- if (this._special || other._special) {
334
- return this._specialArith(other, "div");
335
- }
336
- if (other._mantissa === 0n) {
337
- if (this._mantissa === 0n) {
338
- return _BigDecimal._create(0n, 0, SpecialValue.NAN, false);
339
- }
340
- const neg = this._isSignNegative() !== other._isSignNegative();
341
- return _BigDecimal._create(0n, 0, neg ? SpecialValue.NEGATIVE_INFINITY : SpecialValue.POSITIVE_INFINITY, false);
342
- }
343
- if (this._mantissa === 0n) {
344
- const negZero = this._isSignNegative() !== other._isSignNegative();
345
- return _BigDecimal._create(0n, 0, SpecialValue.NONE, negZero);
346
- }
347
- const scaledNumerator = this._mantissa * bigintPow10(DIV_PRECISION);
348
- const quotient = scaledNumerator / other._mantissa;
349
- const newExponent = this._exponent - other._exponent - DIV_PRECISION;
350
- const [nm, ne] = removeTrailingZeros(quotient, newExponent);
351
- return _BigDecimal._create(nm, ne, SpecialValue.NONE, false);
352
- }
353
- plus(y) {
354
- const other = _BigDecimal._coerce(y);
355
- if (this._special || other._special) {
356
- return this._specialArith(other, "plus");
357
- }
358
- if (this._mantissa === 0n && other._mantissa === 0n) {
359
- const negZero = this._negativeZero && other._negativeZero;
360
- return _BigDecimal._create(0n, 0, SpecialValue.NONE, negZero);
361
- }
362
- if (this._mantissa === 0n)
363
- return other;
364
- if (other._mantissa === 0n)
365
- return this;
366
- let m1 = this._mantissa;
367
- let m2 = other._mantissa;
368
- const e1 = this._exponent;
369
- const e2 = other._exponent;
370
- const minE = Math.min(e1, e2);
371
- if (e1 > minE)
372
- m1 *= bigintPow10(e1 - minE);
373
- if (e2 > minE)
374
- m2 *= bigintPow10(e2 - minE);
375
- const sum = m1 + m2;
376
- if (sum === 0n) {
377
- return _BigDecimal._create(0n, 0, SpecialValue.NONE, false);
378
- }
379
- const [nm, ne] = removeTrailingZeros(sum, minE);
380
- return _BigDecimal._create(nm, ne, SpecialValue.NONE, false);
381
- }
382
- minus(y) {
383
- return this.plus(_BigDecimal._coerce(y).negated());
384
- }
385
- mod(y) {
386
- const other = _BigDecimal._coerce(y);
387
- if (this._special || other._special) {
388
- if (this._special === SpecialValue.NAN || other._special === SpecialValue.NAN) {
389
- return _BigDecimal._create(0n, 0, SpecialValue.NAN, false);
390
- }
391
- if (this._special === SpecialValue.POSITIVE_INFINITY || this._special === SpecialValue.NEGATIVE_INFINITY) {
392
- return _BigDecimal._create(0n, 0, SpecialValue.NAN, false);
393
- }
394
- if (other._special === SpecialValue.POSITIVE_INFINITY || other._special === SpecialValue.NEGATIVE_INFINITY) {
395
- return this;
396
- }
397
- }
398
- if (other._mantissa === 0n) {
399
- return _BigDecimal._create(0n, 0, SpecialValue.NAN, false);
400
- }
401
- if (this._mantissa === 0n) {
402
- return this;
403
- }
404
- let m1 = this._mantissa;
405
- let m2 = other._mantissa;
406
- const e1 = this._exponent;
407
- const e2 = other._exponent;
408
- const minE = Math.min(e1, e2);
409
- if (e1 > minE)
410
- m1 *= bigintPow10(e1 - minE);
411
- if (e2 > minE)
412
- m2 *= bigintPow10(e2 - minE);
413
- const remainder = m1 % m2;
414
- if (remainder === 0n) {
415
- return _BigDecimal._create(0n, 0, SpecialValue.NONE, false);
416
- }
417
- const [nm, ne] = removeTrailingZeros(remainder, minE);
418
- return _BigDecimal._create(nm, ne, SpecialValue.NONE, false);
419
- }
420
- abs() {
421
- if (this._special === SpecialValue.NAN)
422
- return this;
423
- if (this._special === SpecialValue.NEGATIVE_INFINITY) {
424
- return _BigDecimal._create(0n, 0, SpecialValue.POSITIVE_INFINITY, false);
425
- }
426
- return _BigDecimal._create(bigintAbs(this._mantissa), this._exponent, this._special, false);
427
- }
428
- negated() {
429
- if (this._special === SpecialValue.NAN)
430
- return this;
431
- if (this._special === SpecialValue.POSITIVE_INFINITY) {
432
- return _BigDecimal._create(0n, 0, SpecialValue.NEGATIVE_INFINITY, false);
433
- }
434
- if (this._special === SpecialValue.NEGATIVE_INFINITY) {
435
- return _BigDecimal._create(0n, 0, SpecialValue.POSITIVE_INFINITY, false);
436
- }
437
- if (this._mantissa === 0n) {
438
- return _BigDecimal._create(0n, 0, SpecialValue.NONE, !this._negativeZero);
439
- }
440
- return _BigDecimal._create(-this._mantissa, this._exponent, SpecialValue.NONE, false);
441
- }
442
- pow(n) {
443
- if (this._special === SpecialValue.NAN)
444
- return this;
445
- if (n === 0)
446
- return new _BigDecimal(1);
447
- if (n < 0) {
448
- return new _BigDecimal(1).div(this.pow(-n));
449
- }
450
- if (this._special === SpecialValue.POSITIVE_INFINITY)
451
- return this;
452
- if (this._special === SpecialValue.NEGATIVE_INFINITY) {
453
- return n % 2 === 0 ? _BigDecimal._create(0n, 0, SpecialValue.POSITIVE_INFINITY, false) : this;
454
- }
455
- if (this._mantissa === 0n)
456
- return new _BigDecimal(0);
457
- const m = this._mantissa ** BigInt(n);
458
- const e = this._exponent * n;
459
- const [nm, ne] = removeTrailingZeros(m, e);
460
- return _BigDecimal._create(nm, ne, SpecialValue.NONE, false);
461
- }
462
- floor() {
463
- if (this._special !== SpecialValue.NONE)
464
- return this;
465
- if (this._mantissa === 0n)
466
- return this;
467
- if (this._exponent >= 0)
468
- return this;
469
- const divisor = bigintPow10(-this._exponent);
470
- const m = this._mantissa;
471
- let q = m / divisor;
472
- if (m < 0n && m % divisor !== 0n) {
473
- q -= 1n;
474
- }
475
- if (q === 0n) {
476
- const negZero = this._mantissa < 0n;
477
- return _BigDecimal._create(0n, 0, SpecialValue.NONE, negZero);
478
- }
479
- const [nm, ne] = removeTrailingZeros(q, 0);
480
- return _BigDecimal._create(nm, ne, SpecialValue.NONE, false);
481
- }
482
- ceil() {
483
- if (this._special !== SpecialValue.NONE)
484
- return this;
485
- if (this._mantissa === 0n)
486
- return this;
487
- if (this._exponent >= 0)
488
- return this;
489
- const divisor = bigintPow10(-this._exponent);
490
- const m = this._mantissa;
491
- let q = m / divisor;
492
- if (m > 0n && m % divisor !== 0n) {
493
- q += 1n;
494
- }
495
- if (q === 0n) {
496
- return _BigDecimal._create(0n, 0, SpecialValue.NONE, false);
497
- }
498
- const [nm, ne] = removeTrailingZeros(q, 0);
499
- return _BigDecimal._create(nm, ne, SpecialValue.NONE, false);
500
- }
501
- log(base) {
502
- if (this._special === SpecialValue.NAN)
503
- return this;
504
- if (this._special === SpecialValue.NEGATIVE_INFINITY) {
505
- return _BigDecimal._create(0n, 0, SpecialValue.NAN, false);
506
- }
507
- if (this._special === SpecialValue.POSITIVE_INFINITY) {
508
- return _BigDecimal._create(0n, 0, SpecialValue.POSITIVE_INFINITY, false);
509
- }
510
- if (this._mantissa < 0n) {
511
- return _BigDecimal._create(0n, 0, SpecialValue.NAN, false);
512
- }
513
- if (this._mantissa === 0n) {
514
- return _BigDecimal._create(0n, 0, SpecialValue.NEGATIVE_INFINITY, false);
515
- }
516
- if (base === 10) {
517
- return this._log10();
518
- }
519
- const log10x = this._log10();
520
- const log10b = new _BigDecimal(Math.log10(base));
521
- return log10x.div(log10b);
522
- }
523
- _log10() {
524
- const absMantissa = bigintAbs(this._mantissa);
525
- const digits = digitCount(absMantissa);
526
- let log10Mantissa;
527
- if (digits <= 15) {
528
- log10Mantissa = Math.log10(Number(absMantissa));
529
- } else {
530
- const shift = digits - 17;
531
- const leading = absMantissa / bigintPow10(shift);
532
- log10Mantissa = Math.log10(Number(leading)) + shift;
533
- }
534
- const totalLog10 = log10Mantissa + this._exponent;
535
- return new _BigDecimal(totalLog10);
536
- }
537
- // --- Comparison ---
538
- eq(y) {
539
- const other = _BigDecimal._coerce(y);
540
- if (this._special === SpecialValue.NAN || other._special === SpecialValue.NAN)
541
- return false;
542
- if (this._special !== other._special)
543
- return false;
544
- if (this._special !== SpecialValue.NONE)
545
- return true;
546
- if (this._mantissa === 0n && other._mantissa === 0n)
547
- return true;
548
- return this._mantissa === other._mantissa && this._exponent === other._exponent;
549
- }
550
- _compareTo(other) {
551
- if (this._special === SpecialValue.NAN || other._special === SpecialValue.NAN) {
552
- return NaN;
553
- }
554
- if (this._special === SpecialValue.POSITIVE_INFINITY) {
555
- return other._special === SpecialValue.POSITIVE_INFINITY ? 0 : 1;
556
- }
557
- if (this._special === SpecialValue.NEGATIVE_INFINITY) {
558
- return other._special === SpecialValue.NEGATIVE_INFINITY ? 0 : -1;
559
- }
560
- if (other._special === SpecialValue.POSITIVE_INFINITY)
561
- return -1;
562
- if (other._special === SpecialValue.NEGATIVE_INFINITY)
563
- return 1;
564
- const thisZero = this._mantissa === 0n;
565
- const otherZero = other._mantissa === 0n;
566
- if (thisZero && otherZero)
567
- return 0;
568
- if (thisZero)
569
- return other._mantissa > 0n ? -1 : 1;
570
- if (otherZero)
571
- return this._mantissa > 0n ? 1 : -1;
572
- const thisNeg = this._mantissa < 0n;
573
- const otherNeg = other._mantissa < 0n;
574
- if (thisNeg !== otherNeg)
575
- return thisNeg ? -1 : 1;
576
- let m1 = this._mantissa;
577
- let m2 = other._mantissa;
578
- const e1 = this._exponent;
579
- const e2 = other._exponent;
580
- const minE = Math.min(e1, e2);
581
- if (e1 > minE)
582
- m1 *= bigintPow10(e1 - minE);
583
- if (e2 > minE)
584
- m2 *= bigintPow10(e2 - minE);
585
- if (m1 < m2)
586
- return -1;
587
- if (m1 > m2)
588
- return 1;
589
- return 0;
590
- }
591
- lessThan(y) {
592
- const c = this._compareTo(_BigDecimal._coerce(y));
593
- return c === -1;
594
- }
595
- greaterThan(y) {
596
- const c = this._compareTo(_BigDecimal._coerce(y));
597
- return c === 1;
598
- }
599
- lessThanOrEqualTo(y) {
600
- const c = this._compareTo(_BigDecimal._coerce(y));
601
- return c === 0 || c === -1;
602
- }
603
- greaterThanOrEqualTo(y) {
604
- const c = this._compareTo(_BigDecimal._coerce(y));
605
- return c === 0 || c === 1;
606
- }
607
- // --- Queries ---
608
- isZero() {
609
- return this._special === SpecialValue.NONE && this._mantissa === 0n;
610
- }
611
- isNaN() {
612
- return this._special === SpecialValue.NAN;
613
- }
614
- isFinite() {
615
- return this._special === SpecialValue.NONE;
616
- }
617
- isNegative() {
618
- if (this._special === SpecialValue.NAN)
619
- return false;
620
- if (this._special === SpecialValue.NEGATIVE_INFINITY)
621
- return true;
622
- if (this._special === SpecialValue.POSITIVE_INFINITY)
623
- return false;
624
- if (this._mantissa === 0n)
625
- return this._negativeZero;
626
- return this._mantissa < 0n;
627
- }
628
- isPositive() {
629
- if (this._special === SpecialValue.NAN)
630
- return false;
631
- if (this._special === SpecialValue.POSITIVE_INFINITY)
632
- return true;
633
- if (this._special === SpecialValue.NEGATIVE_INFINITY)
634
- return false;
635
- if (this._mantissa === 0n)
636
- return !this._negativeZero;
637
- return this._mantissa > 0n;
638
- }
639
- isInteger() {
640
- if (this._special !== SpecialValue.NONE)
641
- return false;
642
- if (this._mantissa === 0n)
643
- return true;
644
- return this._exponent >= 0;
645
- }
646
- // --- Conversion ---
647
- toJSON() {
648
- return this.toString();
649
- }
650
- toNumber() {
651
- if (this._special === SpecialValue.NAN)
652
- return NaN;
653
- if (this._special === SpecialValue.POSITIVE_INFINITY)
654
- return Infinity;
655
- if (this._special === SpecialValue.NEGATIVE_INFINITY)
656
- return -Infinity;
657
- if (this._mantissa === 0n)
658
- return this._negativeZero ? -0 : 0;
659
- return Number(this.toString());
660
- }
661
- toString() {
662
- if (this._special === SpecialValue.NAN)
663
- return "NaN";
664
- if (this._special === SpecialValue.POSITIVE_INFINITY)
665
- return "Infinity";
666
- if (this._special === SpecialValue.NEGATIVE_INFINITY)
667
- return "-Infinity";
668
- if (this._mantissa === 0n)
669
- return "0";
670
- const negative = this._mantissa < 0n;
671
- const absStr = bigintAbs(this._mantissa).toString();
672
- const prefix = negative ? "-" : "";
673
- if (this._exponent === 0) {
674
- return prefix + absStr;
675
- }
676
- if (this._exponent > 0) {
677
- return prefix + absStr + "0".repeat(this._exponent);
678
- }
679
- const decimalPlaces = -this._exponent;
680
- if (decimalPlaces < absStr.length) {
681
- const intPart = absStr.slice(0, absStr.length - decimalPlaces);
682
- const fracPart = absStr.slice(absStr.length - decimalPlaces);
683
- return prefix + intPart + "." + fracPart;
684
- } else {
685
- const leadingZeros = decimalPlaces - absStr.length;
686
- return prefix + "0." + "0".repeat(leadingZeros) + absStr;
687
- }
688
- }
689
- // --- Static ---
690
- static pow(base, exp) {
691
- const n = typeof exp === "number" ? exp : exp.toNumber();
692
- if (typeof base === "number" && base === 10) {
693
- return _BigDecimal._create(1n, n, SpecialValue.NONE, false);
694
- }
695
- const bd = base instanceof _BigDecimal ? base : new _BigDecimal(base);
696
- return bd.pow(n);
697
- }
698
- static set(_config) {
699
- }
700
- // --- Internal helpers ---
701
- _isSignNegative() {
702
- if (this._special === SpecialValue.NEGATIVE_INFINITY)
703
- return true;
704
- if (this._mantissa < 0n)
705
- return true;
706
- if (this._mantissa === 0n)
707
- return this._negativeZero;
708
- return false;
709
- }
710
- _specialArith(other, op) {
711
- const a = this._special;
712
- const b = other._special;
713
- if (a === SpecialValue.NAN || b === SpecialValue.NAN) {
714
- return _BigDecimal._create(0n, 0, SpecialValue.NAN, false);
715
- }
716
- const aNeg = this._isSignNegative();
717
- const bNeg = other._isSignNegative();
718
- const aInf = a === SpecialValue.POSITIVE_INFINITY || a === SpecialValue.NEGATIVE_INFINITY;
719
- const bInf = b === SpecialValue.POSITIVE_INFINITY || b === SpecialValue.NEGATIVE_INFINITY;
720
- if (op === "times") {
721
- if (aInf || bInf) {
722
- if (aInf && other._mantissa === 0n && !bInf || bInf && this._mantissa === 0n && !aInf) {
723
- return _BigDecimal._create(0n, 0, SpecialValue.NAN, false);
724
- }
725
- const neg = aNeg !== bNeg;
726
- return _BigDecimal._create(0n, 0, neg ? SpecialValue.NEGATIVE_INFINITY : SpecialValue.POSITIVE_INFINITY, false);
727
- }
728
- }
729
- if (op === "div") {
730
- if (aInf && bInf) {
731
- return _BigDecimal._create(0n, 0, SpecialValue.NAN, false);
732
- }
733
- if (aInf) {
734
- const neg = aNeg !== bNeg;
735
- return _BigDecimal._create(0n, 0, neg ? SpecialValue.NEGATIVE_INFINITY : SpecialValue.POSITIVE_INFINITY, false);
736
- }
737
- if (bInf) {
738
- const negZero = aNeg !== bNeg;
739
- return _BigDecimal._create(0n, 0, SpecialValue.NONE, negZero);
740
- }
741
- }
742
- if (op === "plus") {
743
- if (aInf && bInf) {
744
- if (aNeg !== bNeg) {
745
- return _BigDecimal._create(0n, 0, SpecialValue.NAN, false);
746
- }
747
- return this;
748
- }
749
- if (aInf)
750
- return this;
751
- if (bInf)
752
- return other;
753
- }
754
- return _BigDecimal._create(0n, 0, SpecialValue.NAN, false);
755
- }
756
- };
757
-
758
- // node_modules/.aspect_rules_js/@formatjs+ecma402-abstract@0.0.0/node_modules/@formatjs/ecma402-abstract/constants.js
759
- var TEN = new BigDecimal(10);
760
- var ZERO = new BigDecimal(0);
761
- var NEGATIVE_ZERO = new BigDecimal(-0);
762
-
763
- // node_modules/.aspect_rules_js/@formatjs+ecma402-abstract@0.0.0/node_modules/@formatjs/ecma402-abstract/utils.js
764
- var createMemoizedNumberFormat = memoize((...args) => new Intl.NumberFormat(...args), { strategy: strategies.variadic });
765
- var createMemoizedPluralRules = memoize((...args) => new Intl.PluralRules(...args), { strategy: strategies.variadic });
766
- var createMemoizedLocale = memoize((...args) => new Intl.Locale(...args), { strategy: strategies.variadic });
767
- var createMemoizedListFormat = memoize((...args) => new Intl.ListFormat(...args), { strategy: strategies.variadic });
768
-
769
- // node_modules/.aspect_rules_js/@formatjs+ecma402-abstract@0.0.0/node_modules/@formatjs/ecma402-abstract/262.js
770
- var MINUTES_PER_HOUR = 60;
771
- var SECONDS_PER_MINUTE = 60;
772
- var MS_PER_SECOND = 1e3;
773
- var MS_PER_MINUTE = MS_PER_SECOND * SECONDS_PER_MINUTE;
774
- var MS_PER_HOUR = MS_PER_MINUTE * MINUTES_PER_HOUR;
775
-
776
- // node_modules/.aspect_rules_js/@formatjs+ecma402-abstract@0.0.0/node_modules/@formatjs/ecma402-abstract/IsSanctionedSimpleUnitIdentifier.js
777
- var SANCTIONED_UNITS = [
778
- "angle-degree",
779
- "area-acre",
780
- "area-hectare",
781
- "concentr-percent",
782
- "digital-bit",
783
- "digital-byte",
784
- "digital-gigabit",
785
- "digital-gigabyte",
786
- "digital-kilobit",
787
- "digital-kilobyte",
788
- "digital-megabit",
789
- "digital-megabyte",
790
- "digital-petabyte",
791
- "digital-terabit",
792
- "digital-terabyte",
793
- "duration-day",
794
- "duration-hour",
795
- "duration-millisecond",
796
- "duration-minute",
797
- "duration-month",
798
- "duration-second",
799
- "duration-week",
800
- "duration-year",
801
- "length-centimeter",
802
- "length-foot",
803
- "length-inch",
804
- "length-kilometer",
805
- "length-meter",
806
- "length-mile-scandinavian",
807
- "length-mile",
808
- "length-millimeter",
809
- "length-yard",
810
- "mass-gram",
811
- "mass-kilogram",
812
- "mass-ounce",
813
- "mass-pound",
814
- "mass-stone",
815
- "temperature-celsius",
816
- "temperature-fahrenheit",
817
- "volume-fluid-ounce",
818
- "volume-gallon",
819
- "volume-liter",
820
- "volume-milliliter"
821
- ];
822
- function removeUnitNamespace(unit) {
823
- return unit.slice(unit.indexOf("-") + 1);
824
- }
825
- var SIMPLE_UNITS = SANCTIONED_UNITS.map(removeUnitNamespace);
826
-
827
- // node_modules/.aspect_rules_js/@formatjs+ecma402-abstract@0.0.0/node_modules/@formatjs/ecma402-abstract/NumberFormat/decimal-cache.js
828
- var getPowerOf10 = memoize((exponent) => {
829
- return BigDecimal.pow(10, exponent);
830
- });
831
-
832
- // node_modules/.aspect_rules_js/@formatjs+ecma402-abstract@0.0.0/node_modules/@formatjs/ecma402-abstract/regex.generated.js
833
- 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\u0888\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-\u20C1\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-\u2429\u2440-\u244A\u249C-\u24E9\u2500-\u2767\u2794-\u27C4\u27C7-\u27E5\u27F0-\u2982\u2999-\u29D7\u29DC-\u29FB\u29FE-\u2B73\u2B76-\u2BFF\u2CE5-\u2CEA\u2E50\u2E51\u2E80-\u2E99\u2E9B-\u2EF3\u2F00-\u2FD5\u2FF0-\u2FFF\u3004\u3012\u3013\u3020\u3036\u3037\u303E\u303F\u309B\u309C\u3190\u3191\u3196-\u319F\u31C0-\u31E5\u31EF\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-\uFBD2\uFD40-\uFD4F\uFD90\uFD91\uFDC8-\uFDCF\uFDFC-\uFDFF\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]|\uD803[\uDD8E\uDD8F\uDED1-\uDED8]|\uD805\uDF3F|\uD807[\uDFD5-\uDFF1]|\uD81A[\uDF3C-\uDF3F\uDF45]|\uD82F\uDC9C|\uD833[\uDC00-\uDCEF\uDCFA-\uDCFC\uDD00-\uDEB3\uDEBA-\uDED0\uDEE0-\uDEF0\uDF50-\uDFC3]|\uD834[\uDC00-\uDCF5\uDD00-\uDD26\uDD29-\uDD64\uDD6A-\uDD6C\uDD83\uDD84\uDD8C-\uDDA9\uDDAE-\uDDEA\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-\uDED8\uDEDC-\uDEEC\uDEF0-\uDEFC\uDF00-\uDFD9\uDFE0-\uDFEB\uDFF0]|\uD83E[\uDC00-\uDC0B\uDC10-\uDC47\uDC50-\uDC59\uDC60-\uDC87\uDC90-\uDCAD\uDCB0-\uDCBB\uDCC0\uDCC1\uDCD0-\uDCD8\uDD00-\uDE57\uDE60-\uDE6D\uDE70-\uDE7C\uDE80-\uDE8A\uDE8E-\uDEC6\uDEC8\uDECD-\uDEDC\uDEDF-\uDEEA\uDEEF-\uDEF8\uDF00-\uDF92\uDF94-\uDFEF\uDFFA]/;
834
-
835
- // node_modules/.aspect_rules_js/@formatjs+ecma402-abstract@0.0.0/node_modules/@formatjs/ecma402-abstract/NumberFormat/format_to_parts.js
836
- var CARET_S_UNICODE_REGEX = new RegExp(`^${S_UNICODE_REGEX.source}`);
837
- var S_DOLLAR_UNICODE_REGEX = new RegExp(`${S_UNICODE_REGEX.source}$`);
838
-
839
- // node_modules/.aspect_rules_js/@formatjs+intl-localematcher@0.0.0/node_modules/@formatjs/intl-localematcher/abstract/languageMatching.js
840
- var data = { supplemental: { languageMatching: { "written-new": [
841
- { paradigmLocales: { _locales: "en en_GB es es_419 pt_BR pt_PT" } },
842
- { $enUS: { _value: "AS+CA+GU+MH+MP+PH+PR+UM+US+VI" } },
843
- { $cnsar: { _value: "HK+MO" } },
844
- { $americas: { _value: "019" } },
845
- { $maghreb: { _value: "MA+DZ+TN+LY+MR+EH" } },
846
- { no: {
847
- _desired: "nb",
848
- _distance: "1"
849
- } },
850
- { bs: {
851
- _desired: "hr",
852
- _distance: "4"
853
- } },
854
- { bs: {
855
- _desired: "sh",
856
- _distance: "4"
857
- } },
858
- { hr: {
859
- _desired: "sh",
860
- _distance: "4"
861
- } },
862
- { sr: {
863
- _desired: "sh",
864
- _distance: "4"
865
- } },
866
- { aa: {
867
- _desired: "ssy",
868
- _distance: "4"
869
- } },
870
- { de: {
871
- _desired: "gsw",
872
- _distance: "4",
873
- _oneway: "true"
874
- } },
875
- { de: {
876
- _desired: "lb",
877
- _distance: "4",
878
- _oneway: "true"
879
- } },
880
- { no: {
881
- _desired: "da",
882
- _distance: "8"
883
- } },
884
- { nb: {
885
- _desired: "da",
886
- _distance: "8"
887
- } },
888
- { ru: {
889
- _desired: "ab",
890
- _distance: "30",
891
- _oneway: "true"
892
- } },
893
- { en: {
894
- _desired: "ach",
895
- _distance: "30",
896
- _oneway: "true"
897
- } },
898
- { nl: {
899
- _desired: "af",
900
- _distance: "20",
901
- _oneway: "true"
902
- } },
903
- { en: {
904
- _desired: "ak",
905
- _distance: "30",
906
- _oneway: "true"
907
- } },
908
- { en: {
909
- _desired: "am",
910
- _distance: "30",
911
- _oneway: "true"
912
- } },
913
- { es: {
914
- _desired: "ay",
915
- _distance: "20",
916
- _oneway: "true"
917
- } },
918
- { ru: {
919
- _desired: "az",
920
- _distance: "30",
921
- _oneway: "true"
922
- } },
923
- { ur: {
924
- _desired: "bal",
925
- _distance: "20",
926
- _oneway: "true"
927
- } },
928
- { ru: {
929
- _desired: "be",
930
- _distance: "20",
931
- _oneway: "true"
932
- } },
933
- { en: {
934
- _desired: "bem",
935
- _distance: "30",
936
- _oneway: "true"
937
- } },
938
- { hi: {
939
- _desired: "bh",
940
- _distance: "30",
941
- _oneway: "true"
942
- } },
943
- { en: {
944
- _desired: "bn",
945
- _distance: "30",
946
- _oneway: "true"
947
- } },
948
- { zh: {
949
- _desired: "bo",
950
- _distance: "20",
951
- _oneway: "true"
952
- } },
953
- { fr: {
954
- _desired: "br",
955
- _distance: "20",
956
- _oneway: "true"
957
- } },
958
- { es: {
959
- _desired: "ca",
960
- _distance: "20",
961
- _oneway: "true"
962
- } },
963
- { fil: {
964
- _desired: "ceb",
965
- _distance: "30",
966
- _oneway: "true"
967
- } },
968
- { en: {
969
- _desired: "chr",
970
- _distance: "20",
971
- _oneway: "true"
972
- } },
973
- { ar: {
974
- _desired: "ckb",
975
- _distance: "30",
976
- _oneway: "true"
977
- } },
978
- { fr: {
979
- _desired: "co",
980
- _distance: "20",
981
- _oneway: "true"
982
- } },
983
- { fr: {
984
- _desired: "crs",
985
- _distance: "20",
986
- _oneway: "true"
987
- } },
988
- { sk: {
989
- _desired: "cs",
990
- _distance: "20"
991
- } },
992
- { en: {
993
- _desired: "cy",
994
- _distance: "20",
995
- _oneway: "true"
996
- } },
997
- { en: {
998
- _desired: "ee",
999
- _distance: "30",
1000
- _oneway: "true"
1001
- } },
1002
- { en: {
1003
- _desired: "eo",
1004
- _distance: "30",
1005
- _oneway: "true"
1006
- } },
1007
- { es: {
1008
- _desired: "eu",
1009
- _distance: "20",
1010
- _oneway: "true"
1011
- } },
1012
- { da: {
1013
- _desired: "fo",
1014
- _distance: "20",
1015
- _oneway: "true"
1016
- } },
1017
- { nl: {
1018
- _desired: "fy",
1019
- _distance: "20",
1020
- _oneway: "true"
1021
- } },
1022
- { en: {
1023
- _desired: "ga",
1024
- _distance: "20",
1025
- _oneway: "true"
1026
- } },
1027
- { en: {
1028
- _desired: "gaa",
1029
- _distance: "30",
1030
- _oneway: "true"
1031
- } },
1032
- { en: {
1033
- _desired: "gd",
1034
- _distance: "20",
1035
- _oneway: "true"
1036
- } },
1037
- { es: {
1038
- _desired: "gl",
1039
- _distance: "20",
1040
- _oneway: "true"
1041
- } },
1042
- { es: {
1043
- _desired: "gn",
1044
- _distance: "20",
1045
- _oneway: "true"
1046
- } },
1047
- { hi: {
1048
- _desired: "gu",
1049
- _distance: "30",
1050
- _oneway: "true"
1051
- } },
1052
- { en: {
1053
- _desired: "ha",
1054
- _distance: "30",
1055
- _oneway: "true"
1056
- } },
1057
- { en: {
1058
- _desired: "haw",
1059
- _distance: "20",
1060
- _oneway: "true"
1061
- } },
1062
- { fr: {
1063
- _desired: "ht",
1064
- _distance: "20",
1065
- _oneway: "true"
1066
- } },
1067
- { ru: {
1068
- _desired: "hy",
1069
- _distance: "30",
1070
- _oneway: "true"
1071
- } },
1072
- { en: {
1073
- _desired: "ia",
1074
- _distance: "30",
1075
- _oneway: "true"
1076
- } },
1077
- { en: {
1078
- _desired: "ig",
1079
- _distance: "30",
1080
- _oneway: "true"
1081
- } },
1082
- { en: {
1083
- _desired: "is",
1084
- _distance: "20",
1085
- _oneway: "true"
1086
- } },
1087
- { id: {
1088
- _desired: "jv",
1089
- _distance: "20",
1090
- _oneway: "true"
1091
- } },
1092
- { en: {
1093
- _desired: "ka",
1094
- _distance: "30",
1095
- _oneway: "true"
1096
- } },
1097
- { fr: {
1098
- _desired: "kg",
1099
- _distance: "30",
1100
- _oneway: "true"
1101
- } },
1102
- { ru: {
1103
- _desired: "kk",
1104
- _distance: "30",
1105
- _oneway: "true"
1106
- } },
1107
- { en: {
1108
- _desired: "km",
1109
- _distance: "30",
1110
- _oneway: "true"
1111
- } },
1112
- { en: {
1113
- _desired: "kn",
1114
- _distance: "30",
1115
- _oneway: "true"
1116
- } },
1117
- { en: {
1118
- _desired: "kri",
1119
- _distance: "30",
1120
- _oneway: "true"
1121
- } },
1122
- { tr: {
1123
- _desired: "ku",
1124
- _distance: "30",
1125
- _oneway: "true"
1126
- } },
1127
- { ru: {
1128
- _desired: "ky",
1129
- _distance: "30",
1130
- _oneway: "true"
1131
- } },
1132
- { it: {
1133
- _desired: "la",
1134
- _distance: "20",
1135
- _oneway: "true"
1136
- } },
1137
- { en: {
1138
- _desired: "lg",
1139
- _distance: "30",
1140
- _oneway: "true"
1141
- } },
1142
- { fr: {
1143
- _desired: "ln",
1144
- _distance: "30",
1145
- _oneway: "true"
1146
- } },
1147
- { en: {
1148
- _desired: "lo",
1149
- _distance: "30",
1150
- _oneway: "true"
1151
- } },
1152
- { en: {
1153
- _desired: "loz",
1154
- _distance: "30",
1155
- _oneway: "true"
1156
- } },
1157
- { fr: {
1158
- _desired: "lua",
1159
- _distance: "30",
1160
- _oneway: "true"
1161
- } },
1162
- { hi: {
1163
- _desired: "mai",
1164
- _distance: "20",
1165
- _oneway: "true"
1166
- } },
1167
- { en: {
1168
- _desired: "mfe",
1169
- _distance: "30",
1170
- _oneway: "true"
1171
- } },
1172
- { fr: {
1173
- _desired: "mg",
1174
- _distance: "30",
1175
- _oneway: "true"
1176
- } },
1177
- { en: {
1178
- _desired: "mi",
1179
- _distance: "20",
1180
- _oneway: "true"
1181
- } },
1182
- { en: {
1183
- _desired: "ml",
1184
- _distance: "30",
1185
- _oneway: "true"
1186
- } },
1187
- { ru: {
1188
- _desired: "mn",
1189
- _distance: "30",
1190
- _oneway: "true"
1191
- } },
1192
- { hi: {
1193
- _desired: "mr",
1194
- _distance: "30",
1195
- _oneway: "true"
1196
- } },
1197
- { id: {
1198
- _desired: "ms",
1199
- _distance: "30",
1200
- _oneway: "true"
1201
- } },
1202
- { en: {
1203
- _desired: "mt",
1204
- _distance: "30",
1205
- _oneway: "true"
1206
- } },
1207
- { en: {
1208
- _desired: "my",
1209
- _distance: "30",
1210
- _oneway: "true"
1211
- } },
1212
- { en: {
1213
- _desired: "ne",
1214
- _distance: "30",
1215
- _oneway: "true"
1216
- } },
1217
- { nb: {
1218
- _desired: "nn",
1219
- _distance: "20"
1220
- } },
1221
- { no: {
1222
- _desired: "nn",
1223
- _distance: "20"
1224
- } },
1225
- { en: {
1226
- _desired: "nso",
1227
- _distance: "30",
1228
- _oneway: "true"
1229
- } },
1230
- { en: {
1231
- _desired: "ny",
1232
- _distance: "30",
1233
- _oneway: "true"
1234
- } },
1235
- { en: {
1236
- _desired: "nyn",
1237
- _distance: "30",
1238
- _oneway: "true"
1239
- } },
1240
- { fr: {
1241
- _desired: "oc",
1242
- _distance: "20",
1243
- _oneway: "true"
1244
- } },
1245
- { en: {
1246
- _desired: "om",
1247
- _distance: "30",
1248
- _oneway: "true"
1249
- } },
1250
- { en: {
1251
- _desired: "or",
1252
- _distance: "30",
1253
- _oneway: "true"
1254
- } },
1255
- { en: {
1256
- _desired: "pa",
1257
- _distance: "30",
1258
- _oneway: "true"
1259
- } },
1260
- { en: {
1261
- _desired: "pcm",
1262
- _distance: "20",
1263
- _oneway: "true"
1264
- } },
1265
- { en: {
1266
- _desired: "ps",
1267
- _distance: "30",
1268
- _oneway: "true"
1269
- } },
1270
- { es: {
1271
- _desired: "qu",
1272
- _distance: "30",
1273
- _oneway: "true"
1274
- } },
1275
- { de: {
1276
- _desired: "rm",
1277
- _distance: "20",
1278
- _oneway: "true"
1279
- } },
1280
- { en: {
1281
- _desired: "rn",
1282
- _distance: "30",
1283
- _oneway: "true"
1284
- } },
1285
- { fr: {
1286
- _desired: "rw",
1287
- _distance: "30",
1288
- _oneway: "true"
1289
- } },
1290
- { hi: {
1291
- _desired: "sa",
1292
- _distance: "30",
1293
- _oneway: "true"
1294
- } },
1295
- { en: {
1296
- _desired: "sd",
1297
- _distance: "30",
1298
- _oneway: "true"
1299
- } },
1300
- { en: {
1301
- _desired: "si",
1302
- _distance: "30",
1303
- _oneway: "true"
1304
- } },
1305
- { en: {
1306
- _desired: "sn",
1307
- _distance: "30",
1308
- _oneway: "true"
1309
- } },
1310
- { en: {
1311
- _desired: "so",
1312
- _distance: "30",
1313
- _oneway: "true"
1314
- } },
1315
- { en: {
1316
- _desired: "sq",
1317
- _distance: "30",
1318
- _oneway: "true"
1319
- } },
1320
- { en: {
1321
- _desired: "st",
1322
- _distance: "30",
1323
- _oneway: "true"
1324
- } },
1325
- { id: {
1326
- _desired: "su",
1327
- _distance: "20",
1328
- _oneway: "true"
1329
- } },
1330
- { en: {
1331
- _desired: "sw",
1332
- _distance: "30",
1333
- _oneway: "true"
1334
- } },
1335
- { en: {
1336
- _desired: "ta",
1337
- _distance: "30",
1338
- _oneway: "true"
1339
- } },
1340
- { en: {
1341
- _desired: "te",
1342
- _distance: "30",
1343
- _oneway: "true"
1344
- } },
1345
- { ru: {
1346
- _desired: "tg",
1347
- _distance: "30",
1348
- _oneway: "true"
1349
- } },
1350
- { en: {
1351
- _desired: "ti",
1352
- _distance: "30",
1353
- _oneway: "true"
1354
- } },
1355
- { ru: {
1356
- _desired: "tk",
1357
- _distance: "30",
1358
- _oneway: "true"
1359
- } },
1360
- { en: {
1361
- _desired: "tlh",
1362
- _distance: "30",
1363
- _oneway: "true"
1364
- } },
1365
- { en: {
1366
- _desired: "tn",
1367
- _distance: "30",
1368
- _oneway: "true"
1369
- } },
1370
- { en: {
1371
- _desired: "to",
1372
- _distance: "30",
1373
- _oneway: "true"
1374
- } },
1375
- { ru: {
1376
- _desired: "tt",
1377
- _distance: "30",
1378
- _oneway: "true"
1379
- } },
1380
- { en: {
1381
- _desired: "tum",
1382
- _distance: "30",
1383
- _oneway: "true"
1384
- } },
1385
- { zh: {
1386
- _desired: "ug",
1387
- _distance: "20",
1388
- _oneway: "true"
1389
- } },
1390
- { ru: {
1391
- _desired: "uk",
1392
- _distance: "20",
1393
- _oneway: "true"
1394
- } },
1395
- { en: {
1396
- _desired: "ur",
1397
- _distance: "30",
1398
- _oneway: "true"
1399
- } },
1400
- { ru: {
1401
- _desired: "uz",
1402
- _distance: "30",
1403
- _oneway: "true"
1404
- } },
1405
- { fr: {
1406
- _desired: "wo",
1407
- _distance: "30",
1408
- _oneway: "true"
1409
- } },
1410
- { en: {
1411
- _desired: "xh",
1412
- _distance: "30",
1413
- _oneway: "true"
1414
- } },
1415
- { en: {
1416
- _desired: "yi",
1417
- _distance: "30",
1418
- _oneway: "true"
1419
- } },
1420
- { en: {
1421
- _desired: "yo",
1422
- _distance: "30",
1423
- _oneway: "true"
1424
- } },
1425
- { zh: {
1426
- _desired: "za",
1427
- _distance: "20",
1428
- _oneway: "true"
1429
- } },
1430
- { en: {
1431
- _desired: "zu",
1432
- _distance: "30",
1433
- _oneway: "true"
1434
- } },
1435
- { ar: {
1436
- _desired: "aao",
1437
- _distance: "10",
1438
- _oneway: "true"
1439
- } },
1440
- { ar: {
1441
- _desired: "abh",
1442
- _distance: "10",
1443
- _oneway: "true"
1444
- } },
1445
- { ar: {
1446
- _desired: "abv",
1447
- _distance: "10",
1448
- _oneway: "true"
1449
- } },
1450
- { ar: {
1451
- _desired: "acm",
1452
- _distance: "10",
1453
- _oneway: "true"
1454
- } },
1455
- { ar: {
1456
- _desired: "acq",
1457
- _distance: "10",
1458
- _oneway: "true"
1459
- } },
1460
- { ar: {
1461
- _desired: "acw",
1462
- _distance: "10",
1463
- _oneway: "true"
1464
- } },
1465
- { ar: {
1466
- _desired: "acx",
1467
- _distance: "10",
1468
- _oneway: "true"
1469
- } },
1470
- { ar: {
1471
- _desired: "acy",
1472
- _distance: "10",
1473
- _oneway: "true"
1474
- } },
1475
- { ar: {
1476
- _desired: "adf",
1477
- _distance: "10",
1478
- _oneway: "true"
1479
- } },
1480
- { ar: {
1481
- _desired: "aeb",
1482
- _distance: "10",
1483
- _oneway: "true"
1484
- } },
1485
- { ar: {
1486
- _desired: "aec",
1487
- _distance: "10",
1488
- _oneway: "true"
1489
- } },
1490
- { ar: {
1491
- _desired: "afb",
1492
- _distance: "10",
1493
- _oneway: "true"
1494
- } },
1495
- { ar: {
1496
- _desired: "ajp",
1497
- _distance: "10",
1498
- _oneway: "true"
1499
- } },
1500
- { ar: {
1501
- _desired: "apc",
1502
- _distance: "10",
1503
- _oneway: "true"
1504
- } },
1505
- { ar: {
1506
- _desired: "apd",
1507
- _distance: "10",
1508
- _oneway: "true"
1509
- } },
1510
- { ar: {
1511
- _desired: "arq",
1512
- _distance: "10",
1513
- _oneway: "true"
1514
- } },
1515
- { ar: {
1516
- _desired: "ars",
1517
- _distance: "10",
1518
- _oneway: "true"
1519
- } },
1520
- { ar: {
1521
- _desired: "ary",
1522
- _distance: "10",
1523
- _oneway: "true"
1524
- } },
1525
- { ar: {
1526
- _desired: "arz",
1527
- _distance: "10",
1528
- _oneway: "true"
1529
- } },
1530
- { ar: {
1531
- _desired: "auz",
1532
- _distance: "10",
1533
- _oneway: "true"
1534
- } },
1535
- { ar: {
1536
- _desired: "avl",
1537
- _distance: "10",
1538
- _oneway: "true"
1539
- } },
1540
- { ar: {
1541
- _desired: "ayh",
1542
- _distance: "10",
1543
- _oneway: "true"
1544
- } },
1545
- { ar: {
1546
- _desired: "ayl",
1547
- _distance: "10",
1548
- _oneway: "true"
1549
- } },
1550
- { ar: {
1551
- _desired: "ayn",
1552
- _distance: "10",
1553
- _oneway: "true"
1554
- } },
1555
- { ar: {
1556
- _desired: "ayp",
1557
- _distance: "10",
1558
- _oneway: "true"
1559
- } },
1560
- { ar: {
1561
- _desired: "bbz",
1562
- _distance: "10",
1563
- _oneway: "true"
1564
- } },
1565
- { ar: {
1566
- _desired: "pga",
1567
- _distance: "10",
1568
- _oneway: "true"
1569
- } },
1570
- { ar: {
1571
- _desired: "shu",
1572
- _distance: "10",
1573
- _oneway: "true"
1574
- } },
1575
- { ar: {
1576
- _desired: "ssh",
1577
- _distance: "10",
1578
- _oneway: "true"
1579
- } },
1580
- { az: {
1581
- _desired: "azb",
1582
- _distance: "10",
1583
- _oneway: "true"
1584
- } },
1585
- { et: {
1586
- _desired: "vro",
1587
- _distance: "10",
1588
- _oneway: "true"
1589
- } },
1590
- { ff: {
1591
- _desired: "ffm",
1592
- _distance: "10",
1593
- _oneway: "true"
1594
- } },
1595
- { ff: {
1596
- _desired: "fub",
1597
- _distance: "10",
1598
- _oneway: "true"
1599
- } },
1600
- { ff: {
1601
- _desired: "fue",
1602
- _distance: "10",
1603
- _oneway: "true"
1604
- } },
1605
- { ff: {
1606
- _desired: "fuf",
1607
- _distance: "10",
1608
- _oneway: "true"
1609
- } },
1610
- { ff: {
1611
- _desired: "fuh",
1612
- _distance: "10",
1613
- _oneway: "true"
1614
- } },
1615
- { ff: {
1616
- _desired: "fui",
1617
- _distance: "10",
1618
- _oneway: "true"
1619
- } },
1620
- { ff: {
1621
- _desired: "fuq",
1622
- _distance: "10",
1623
- _oneway: "true"
1624
- } },
1625
- { ff: {
1626
- _desired: "fuv",
1627
- _distance: "10",
1628
- _oneway: "true"
1629
- } },
1630
- { gn: {
1631
- _desired: "gnw",
1632
- _distance: "10",
1633
- _oneway: "true"
1634
- } },
1635
- { gn: {
1636
- _desired: "gui",
1637
- _distance: "10",
1638
- _oneway: "true"
1639
- } },
1640
- { gn: {
1641
- _desired: "gun",
1642
- _distance: "10",
1643
- _oneway: "true"
1644
- } },
1645
- { gn: {
1646
- _desired: "nhd",
1647
- _distance: "10",
1648
- _oneway: "true"
1649
- } },
1650
- { iu: {
1651
- _desired: "ikt",
1652
- _distance: "10",
1653
- _oneway: "true"
1654
- } },
1655
- { kln: {
1656
- _desired: "enb",
1657
- _distance: "10",
1658
- _oneway: "true"
1659
- } },
1660
- { kln: {
1661
- _desired: "eyo",
1662
- _distance: "10",
1663
- _oneway: "true"
1664
- } },
1665
- { kln: {
1666
- _desired: "niq",
1667
- _distance: "10",
1668
- _oneway: "true"
1669
- } },
1670
- { kln: {
1671
- _desired: "oki",
1672
- _distance: "10",
1673
- _oneway: "true"
1674
- } },
1675
- { kln: {
1676
- _desired: "pko",
1677
- _distance: "10",
1678
- _oneway: "true"
1679
- } },
1680
- { kln: {
1681
- _desired: "sgc",
1682
- _distance: "10",
1683
- _oneway: "true"
1684
- } },
1685
- { kln: {
1686
- _desired: "tec",
1687
- _distance: "10",
1688
- _oneway: "true"
1689
- } },
1690
- { kln: {
1691
- _desired: "tuy",
1692
- _distance: "10",
1693
- _oneway: "true"
1694
- } },
1695
- { kok: {
1696
- _desired: "gom",
1697
- _distance: "10",
1698
- _oneway: "true"
1699
- } },
1700
- { kpe: {
1701
- _desired: "gkp",
1702
- _distance: "10",
1703
- _oneway: "true"
1704
- } },
1705
- { luy: {
1706
- _desired: "ida",
1707
- _distance: "10",
1708
- _oneway: "true"
1709
- } },
1710
- { luy: {
1711
- _desired: "lkb",
1712
- _distance: "10",
1713
- _oneway: "true"
1714
- } },
1715
- { luy: {
1716
- _desired: "lko",
1717
- _distance: "10",
1718
- _oneway: "true"
1719
- } },
1720
- { luy: {
1721
- _desired: "lks",
1722
- _distance: "10",
1723
- _oneway: "true"
1724
- } },
1725
- { luy: {
1726
- _desired: "lri",
1727
- _distance: "10",
1728
- _oneway: "true"
1729
- } },
1730
- { luy: {
1731
- _desired: "lrm",
1732
- _distance: "10",
1733
- _oneway: "true"
1734
- } },
1735
- { luy: {
1736
- _desired: "lsm",
1737
- _distance: "10",
1738
- _oneway: "true"
1739
- } },
1740
- { luy: {
1741
- _desired: "lto",
1742
- _distance: "10",
1743
- _oneway: "true"
1744
- } },
1745
- { luy: {
1746
- _desired: "lts",
1747
- _distance: "10",
1748
- _oneway: "true"
1749
- } },
1750
- { luy: {
1751
- _desired: "lwg",
1752
- _distance: "10",
1753
- _oneway: "true"
1754
- } },
1755
- { luy: {
1756
- _desired: "nle",
1757
- _distance: "10",
1758
- _oneway: "true"
1759
- } },
1760
- { luy: {
1761
- _desired: "nyd",
1762
- _distance: "10",
1763
- _oneway: "true"
1764
- } },
1765
- { luy: {
1766
- _desired: "rag",
1767
- _distance: "10",
1768
- _oneway: "true"
1769
- } },
1770
- { lv: {
1771
- _desired: "ltg",
1772
- _distance: "10",
1773
- _oneway: "true"
1774
- } },
1775
- { mg: {
1776
- _desired: "bhr",
1777
- _distance: "10",
1778
- _oneway: "true"
1779
- } },
1780
- { mg: {
1781
- _desired: "bjq",
1782
- _distance: "10",
1783
- _oneway: "true"
1784
- } },
1785
- { mg: {
1786
- _desired: "bmm",
1787
- _distance: "10",
1788
- _oneway: "true"
1789
- } },
1790
- { mg: {
1791
- _desired: "bzc",
1792
- _distance: "10",
1793
- _oneway: "true"
1794
- } },
1795
- { mg: {
1796
- _desired: "msh",
1797
- _distance: "10",
1798
- _oneway: "true"
1799
- } },
1800
- { mg: {
1801
- _desired: "skg",
1802
- _distance: "10",
1803
- _oneway: "true"
1804
- } },
1805
- { mg: {
1806
- _desired: "tdx",
1807
- _distance: "10",
1808
- _oneway: "true"
1809
- } },
1810
- { mg: {
1811
- _desired: "tkg",
1812
- _distance: "10",
1813
- _oneway: "true"
1814
- } },
1815
- { mg: {
1816
- _desired: "txy",
1817
- _distance: "10",
1818
- _oneway: "true"
1819
- } },
1820
- { mg: {
1821
- _desired: "xmv",
1822
- _distance: "10",
1823
- _oneway: "true"
1824
- } },
1825
- { mg: {
1826
- _desired: "xmw",
1827
- _distance: "10",
1828
- _oneway: "true"
1829
- } },
1830
- { mn: {
1831
- _desired: "mvf",
1832
- _distance: "10",
1833
- _oneway: "true"
1834
- } },
1835
- { ms: {
1836
- _desired: "bjn",
1837
- _distance: "10",
1838
- _oneway: "true"
1839
- } },
1840
- { ms: {
1841
- _desired: "btj",
1842
- _distance: "10",
1843
- _oneway: "true"
1844
- } },
1845
- { ms: {
1846
- _desired: "bve",
1847
- _distance: "10",
1848
- _oneway: "true"
1849
- } },
1850
- { ms: {
1851
- _desired: "bvu",
1852
- _distance: "10",
1853
- _oneway: "true"
1854
- } },
1855
- { ms: {
1856
- _desired: "coa",
1857
- _distance: "10",
1858
- _oneway: "true"
1859
- } },
1860
- { ms: {
1861
- _desired: "dup",
1862
- _distance: "10",
1863
- _oneway: "true"
1864
- } },
1865
- { ms: {
1866
- _desired: "hji",
1867
- _distance: "10",
1868
- _oneway: "true"
1869
- } },
1870
- { ms: {
1871
- _desired: "id",
1872
- _distance: "10",
1873
- _oneway: "true"
1874
- } },
1875
- { ms: {
1876
- _desired: "jak",
1877
- _distance: "10",
1878
- _oneway: "true"
1879
- } },
1880
- { ms: {
1881
- _desired: "jax",
1882
- _distance: "10",
1883
- _oneway: "true"
1884
- } },
1885
- { ms: {
1886
- _desired: "kvb",
1887
- _distance: "10",
1888
- _oneway: "true"
1889
- } },
1890
- { ms: {
1891
- _desired: "kvr",
1892
- _distance: "10",
1893
- _oneway: "true"
1894
- } },
1895
- { ms: {
1896
- _desired: "kxd",
1897
- _distance: "10",
1898
- _oneway: "true"
1899
- } },
1900
- { ms: {
1901
- _desired: "lce",
1902
- _distance: "10",
1903
- _oneway: "true"
1904
- } },
1905
- { ms: {
1906
- _desired: "lcf",
1907
- _distance: "10",
1908
- _oneway: "true"
1909
- } },
1910
- { ms: {
1911
- _desired: "liw",
1912
- _distance: "10",
1913
- _oneway: "true"
1914
- } },
1915
- { ms: {
1916
- _desired: "max",
1917
- _distance: "10",
1918
- _oneway: "true"
1919
- } },
1920
- { ms: {
1921
- _desired: "meo",
1922
- _distance: "10",
1923
- _oneway: "true"
1924
- } },
1925
- { ms: {
1926
- _desired: "mfa",
1927
- _distance: "10",
1928
- _oneway: "true"
1929
- } },
1930
- { ms: {
1931
- _desired: "mfb",
1932
- _distance: "10",
1933
- _oneway: "true"
1934
- } },
1935
- { ms: {
1936
- _desired: "min",
1937
- _distance: "10",
1938
- _oneway: "true"
1939
- } },
1940
- { ms: {
1941
- _desired: "mqg",
1942
- _distance: "10",
1943
- _oneway: "true"
1944
- } },
1945
- { ms: {
1946
- _desired: "msi",
1947
- _distance: "10",
1948
- _oneway: "true"
1949
- } },
1950
- { ms: {
1951
- _desired: "mui",
1952
- _distance: "10",
1953
- _oneway: "true"
1954
- } },
1955
- { ms: {
1956
- _desired: "orn",
1957
- _distance: "10",
1958
- _oneway: "true"
1959
- } },
1960
- { ms: {
1961
- _desired: "ors",
1962
- _distance: "10",
1963
- _oneway: "true"
1964
- } },
1965
- { ms: {
1966
- _desired: "pel",
1967
- _distance: "10",
1968
- _oneway: "true"
1969
- } },
1970
- { ms: {
1971
- _desired: "pse",
1972
- _distance: "10",
1973
- _oneway: "true"
1974
- } },
1975
- { ms: {
1976
- _desired: "tmw",
1977
- _distance: "10",
1978
- _oneway: "true"
1979
- } },
1980
- { ms: {
1981
- _desired: "urk",
1982
- _distance: "10",
1983
- _oneway: "true"
1984
- } },
1985
- { ms: {
1986
- _desired: "vkk",
1987
- _distance: "10",
1988
- _oneway: "true"
1989
- } },
1990
- { ms: {
1991
- _desired: "vkt",
1992
- _distance: "10",
1993
- _oneway: "true"
1994
- } },
1995
- { ms: {
1996
- _desired: "xmm",
1997
- _distance: "10",
1998
- _oneway: "true"
1999
- } },
2000
- { ms: {
2001
- _desired: "zlm",
2002
- _distance: "10",
2003
- _oneway: "true"
2004
- } },
2005
- { ms: {
2006
- _desired: "zmi",
2007
- _distance: "10",
2008
- _oneway: "true"
2009
- } },
2010
- { ne: {
2011
- _desired: "dty",
2012
- _distance: "10",
2013
- _oneway: "true"
2014
- } },
2015
- { om: {
2016
- _desired: "gax",
2017
- _distance: "10",
2018
- _oneway: "true"
2019
- } },
2020
- { om: {
2021
- _desired: "hae",
2022
- _distance: "10",
2023
- _oneway: "true"
2024
- } },
2025
- { om: {
2026
- _desired: "orc",
2027
- _distance: "10",
2028
- _oneway: "true"
2029
- } },
2030
- { or: {
2031
- _desired: "spv",
2032
- _distance: "10",
2033
- _oneway: "true"
2034
- } },
2035
- { ps: {
2036
- _desired: "pbt",
2037
- _distance: "10",
2038
- _oneway: "true"
2039
- } },
2040
- { ps: {
2041
- _desired: "pst",
2042
- _distance: "10",
2043
- _oneway: "true"
2044
- } },
2045
- { qu: {
2046
- _desired: "qub",
2047
- _distance: "10",
2048
- _oneway: "true"
2049
- } },
2050
- { qu: {
2051
- _desired: "qud",
2052
- _distance: "10",
2053
- _oneway: "true"
2054
- } },
2055
- { qu: {
2056
- _desired: "quf",
2057
- _distance: "10",
2058
- _oneway: "true"
2059
- } },
2060
- { qu: {
2061
- _desired: "qug",
2062
- _distance: "10",
2063
- _oneway: "true"
2064
- } },
2065
- { qu: {
2066
- _desired: "quh",
2067
- _distance: "10",
2068
- _oneway: "true"
2069
- } },
2070
- { qu: {
2071
- _desired: "quk",
2072
- _distance: "10",
2073
- _oneway: "true"
2074
- } },
2075
- { qu: {
2076
- _desired: "qul",
2077
- _distance: "10",
2078
- _oneway: "true"
2079
- } },
2080
- { qu: {
2081
- _desired: "qup",
2082
- _distance: "10",
2083
- _oneway: "true"
2084
- } },
2085
- { qu: {
2086
- _desired: "qur",
2087
- _distance: "10",
2088
- _oneway: "true"
2089
- } },
2090
- { qu: {
2091
- _desired: "qus",
2092
- _distance: "10",
2093
- _oneway: "true"
2094
- } },
2095
- { qu: {
2096
- _desired: "quw",
2097
- _distance: "10",
2098
- _oneway: "true"
2099
- } },
2100
- { qu: {
2101
- _desired: "qux",
2102
- _distance: "10",
2103
- _oneway: "true"
2104
- } },
2105
- { qu: {
2106
- _desired: "quy",
2107
- _distance: "10",
2108
- _oneway: "true"
2109
- } },
2110
- { qu: {
2111
- _desired: "qva",
2112
- _distance: "10",
2113
- _oneway: "true"
2114
- } },
2115
- { qu: {
2116
- _desired: "qvc",
2117
- _distance: "10",
2118
- _oneway: "true"
2119
- } },
2120
- { qu: {
2121
- _desired: "qve",
2122
- _distance: "10",
2123
- _oneway: "true"
2124
- } },
2125
- { qu: {
2126
- _desired: "qvh",
2127
- _distance: "10",
2128
- _oneway: "true"
2129
- } },
2130
- { qu: {
2131
- _desired: "qvi",
2132
- _distance: "10",
2133
- _oneway: "true"
2134
- } },
2135
- { qu: {
2136
- _desired: "qvj",
2137
- _distance: "10",
2138
- _oneway: "true"
2139
- } },
2140
- { qu: {
2141
- _desired: "qvl",
2142
- _distance: "10",
2143
- _oneway: "true"
2144
- } },
2145
- { qu: {
2146
- _desired: "qvm",
2147
- _distance: "10",
2148
- _oneway: "true"
2149
- } },
2150
- { qu: {
2151
- _desired: "qvn",
2152
- _distance: "10",
2153
- _oneway: "true"
2154
- } },
2155
- { qu: {
2156
- _desired: "qvo",
2157
- _distance: "10",
2158
- _oneway: "true"
2159
- } },
2160
- { qu: {
2161
- _desired: "qvp",
2162
- _distance: "10",
2163
- _oneway: "true"
2164
- } },
2165
- { qu: {
2166
- _desired: "qvs",
2167
- _distance: "10",
2168
- _oneway: "true"
2169
- } },
2170
- { qu: {
2171
- _desired: "qvw",
2172
- _distance: "10",
2173
- _oneway: "true"
2174
- } },
2175
- { qu: {
2176
- _desired: "qvz",
2177
- _distance: "10",
2178
- _oneway: "true"
2179
- } },
2180
- { qu: {
2181
- _desired: "qwa",
2182
- _distance: "10",
2183
- _oneway: "true"
2184
- } },
2185
- { qu: {
2186
- _desired: "qwc",
2187
- _distance: "10",
2188
- _oneway: "true"
2189
- } },
2190
- { qu: {
2191
- _desired: "qwh",
2192
- _distance: "10",
2193
- _oneway: "true"
2194
- } },
2195
- { qu: {
2196
- _desired: "qws",
2197
- _distance: "10",
2198
- _oneway: "true"
2199
- } },
2200
- { qu: {
2201
- _desired: "qxa",
2202
- _distance: "10",
2203
- _oneway: "true"
2204
- } },
2205
- { qu: {
2206
- _desired: "qxc",
2207
- _distance: "10",
2208
- _oneway: "true"
2209
- } },
2210
- { qu: {
2211
- _desired: "qxh",
2212
- _distance: "10",
2213
- _oneway: "true"
2214
- } },
2215
- { qu: {
2216
- _desired: "qxl",
2217
- _distance: "10",
2218
- _oneway: "true"
2219
- } },
2220
- { qu: {
2221
- _desired: "qxn",
2222
- _distance: "10",
2223
- _oneway: "true"
2224
- } },
2225
- { qu: {
2226
- _desired: "qxo",
2227
- _distance: "10",
2228
- _oneway: "true"
2229
- } },
2230
- { qu: {
2231
- _desired: "qxp",
2232
- _distance: "10",
2233
- _oneway: "true"
2234
- } },
2235
- { qu: {
2236
- _desired: "qxr",
2237
- _distance: "10",
2238
- _oneway: "true"
2239
- } },
2240
- { qu: {
2241
- _desired: "qxt",
2242
- _distance: "10",
2243
- _oneway: "true"
2244
- } },
2245
- { qu: {
2246
- _desired: "qxu",
2247
- _distance: "10",
2248
- _oneway: "true"
2249
- } },
2250
- { qu: {
2251
- _desired: "qxw",
2252
- _distance: "10",
2253
- _oneway: "true"
2254
- } },
2255
- { sc: {
2256
- _desired: "sdc",
2257
- _distance: "10",
2258
- _oneway: "true"
2259
- } },
2260
- { sc: {
2261
- _desired: "sdn",
2262
- _distance: "10",
2263
- _oneway: "true"
2264
- } },
2265
- { sc: {
2266
- _desired: "sro",
2267
- _distance: "10",
2268
- _oneway: "true"
2269
- } },
2270
- { sq: {
2271
- _desired: "aae",
2272
- _distance: "10",
2273
- _oneway: "true"
2274
- } },
2275
- { sq: {
2276
- _desired: "aat",
2277
- _distance: "10",
2278
- _oneway: "true"
2279
- } },
2280
- { sq: {
2281
- _desired: "aln",
2282
- _distance: "10",
2283
- _oneway: "true"
2284
- } },
2285
- { syr: {
2286
- _desired: "aii",
2287
- _distance: "10",
2288
- _oneway: "true"
2289
- } },
2290
- { uz: {
2291
- _desired: "uzs",
2292
- _distance: "10",
2293
- _oneway: "true"
2294
- } },
2295
- { yi: {
2296
- _desired: "yih",
2297
- _distance: "10",
2298
- _oneway: "true"
2299
- } },
2300
- { zh: {
2301
- _desired: "cdo",
2302
- _distance: "10",
2303
- _oneway: "true"
2304
- } },
2305
- { zh: {
2306
- _desired: "cjy",
2307
- _distance: "10",
2308
- _oneway: "true"
2309
- } },
2310
- { zh: {
2311
- _desired: "cpx",
2312
- _distance: "10",
2313
- _oneway: "true"
2314
- } },
2315
- { zh: {
2316
- _desired: "czh",
2317
- _distance: "10",
2318
- _oneway: "true"
2319
- } },
2320
- { zh: {
2321
- _desired: "czo",
2322
- _distance: "10",
2323
- _oneway: "true"
2324
- } },
2325
- { zh: {
2326
- _desired: "gan",
2327
- _distance: "10",
2328
- _oneway: "true"
2329
- } },
2330
- { zh: {
2331
- _desired: "hak",
2332
- _distance: "10",
2333
- _oneway: "true"
2334
- } },
2335
- { zh: {
2336
- _desired: "hsn",
2337
- _distance: "10",
2338
- _oneway: "true"
2339
- } },
2340
- { zh: {
2341
- _desired: "lzh",
2342
- _distance: "10",
2343
- _oneway: "true"
2344
- } },
2345
- { zh: {
2346
- _desired: "mnp",
2347
- _distance: "10",
2348
- _oneway: "true"
2349
- } },
2350
- { zh: {
2351
- _desired: "nan",
2352
- _distance: "10",
2353
- _oneway: "true"
2354
- } },
2355
- { zh: {
2356
- _desired: "wuu",
2357
- _distance: "10",
2358
- _oneway: "true"
2359
- } },
2360
- { zh: {
2361
- _desired: "yue",
2362
- _distance: "10",
2363
- _oneway: "true"
2364
- } },
2365
- { "*": {
2366
- _desired: "*",
2367
- _distance: "80"
2368
- } },
2369
- { "en-Latn": {
2370
- _desired: "am-Ethi",
2371
- _distance: "10",
2372
- _oneway: "true"
2373
- } },
2374
- { "ru-Cyrl": {
2375
- _desired: "az-Latn",
2376
- _distance: "10",
2377
- _oneway: "true"
2378
- } },
2379
- { "en-Latn": {
2380
- _desired: "bn-Beng",
2381
- _distance: "10",
2382
- _oneway: "true"
2383
- } },
2384
- { "zh-Hans": {
2385
- _desired: "bo-Tibt",
2386
- _distance: "10",
2387
- _oneway: "true"
2388
- } },
2389
- { "ru-Cyrl": {
2390
- _desired: "hy-Armn",
2391
- _distance: "10",
2392
- _oneway: "true"
2393
- } },
2394
- { "en-Latn": {
2395
- _desired: "ka-Geor",
2396
- _distance: "10",
2397
- _oneway: "true"
2398
- } },
2399
- { "en-Latn": {
2400
- _desired: "km-Khmr",
2401
- _distance: "10",
2402
- _oneway: "true"
2403
- } },
2404
- { "en-Latn": {
2405
- _desired: "kn-Knda",
2406
- _distance: "10",
2407
- _oneway: "true"
2408
- } },
2409
- { "en-Latn": {
2410
- _desired: "lo-Laoo",
2411
- _distance: "10",
2412
- _oneway: "true"
2413
- } },
2414
- { "en-Latn": {
2415
- _desired: "ml-Mlym",
2416
- _distance: "10",
2417
- _oneway: "true"
2418
- } },
2419
- { "en-Latn": {
2420
- _desired: "my-Mymr",
2421
- _distance: "10",
2422
- _oneway: "true"
2423
- } },
2424
- { "en-Latn": {
2425
- _desired: "ne-Deva",
2426
- _distance: "10",
2427
- _oneway: "true"
2428
- } },
2429
- { "en-Latn": {
2430
- _desired: "or-Orya",
2431
- _distance: "10",
2432
- _oneway: "true"
2433
- } },
2434
- { "en-Latn": {
2435
- _desired: "pa-Guru",
2436
- _distance: "10",
2437
- _oneway: "true"
2438
- } },
2439
- { "en-Latn": {
2440
- _desired: "ps-Arab",
2441
- _distance: "10",
2442
- _oneway: "true"
2443
- } },
2444
- { "en-Latn": {
2445
- _desired: "sd-Arab",
2446
- _distance: "10",
2447
- _oneway: "true"
2448
- } },
2449
- { "en-Latn": {
2450
- _desired: "si-Sinh",
2451
- _distance: "10",
2452
- _oneway: "true"
2453
- } },
2454
- { "en-Latn": {
2455
- _desired: "ta-Taml",
2456
- _distance: "10",
2457
- _oneway: "true"
2458
- } },
2459
- { "en-Latn": {
2460
- _desired: "te-Telu",
2461
- _distance: "10",
2462
- _oneway: "true"
2463
- } },
2464
- { "en-Latn": {
2465
- _desired: "ti-Ethi",
2466
- _distance: "10",
2467
- _oneway: "true"
2468
- } },
2469
- { "ru-Cyrl": {
2470
- _desired: "tk-Latn",
2471
- _distance: "10",
2472
- _oneway: "true"
2473
- } },
2474
- { "en-Latn": {
2475
- _desired: "ur-Arab",
2476
- _distance: "10",
2477
- _oneway: "true"
2478
- } },
2479
- { "ru-Cyrl": {
2480
- _desired: "uz-Latn",
2481
- _distance: "10",
2482
- _oneway: "true"
2483
- } },
2484
- { "en-Latn": {
2485
- _desired: "yi-Hebr",
2486
- _distance: "10",
2487
- _oneway: "true"
2488
- } },
2489
- { "sr-Cyrl": {
2490
- _desired: "sr-Latn",
2491
- _distance: "5"
2492
- } },
2493
- { "zh-Hans": {
2494
- _desired: "za-Latn",
2495
- _distance: "10",
2496
- _oneway: "true"
2497
- } },
2498
- { "zh-Hans": {
2499
- _desired: "zh-Hani",
2500
- _distance: "20",
2501
- _oneway: "true"
2502
- } },
2503
- { "zh-Hant": {
2504
- _desired: "zh-Hani",
2505
- _distance: "20",
2506
- _oneway: "true"
2507
- } },
2508
- { "ar-Arab": {
2509
- _desired: "ar-Latn",
2510
- _distance: "20",
2511
- _oneway: "true"
2512
- } },
2513
- { "bn-Beng": {
2514
- _desired: "bn-Latn",
2515
- _distance: "20",
2516
- _oneway: "true"
2517
- } },
2518
- { "gu-Gujr": {
2519
- _desired: "gu-Latn",
2520
- _distance: "20",
2521
- _oneway: "true"
2522
- } },
2523
- { "hi-Deva": {
2524
- _desired: "hi-Latn",
2525
- _distance: "20",
2526
- _oneway: "true"
2527
- } },
2528
- { "kn-Knda": {
2529
- _desired: "kn-Latn",
2530
- _distance: "20",
2531
- _oneway: "true"
2532
- } },
2533
- { "ml-Mlym": {
2534
- _desired: "ml-Latn",
2535
- _distance: "20",
2536
- _oneway: "true"
2537
- } },
2538
- { "mr-Deva": {
2539
- _desired: "mr-Latn",
2540
- _distance: "20",
2541
- _oneway: "true"
2542
- } },
2543
- { "ta-Taml": {
2544
- _desired: "ta-Latn",
2545
- _distance: "20",
2546
- _oneway: "true"
2547
- } },
2548
- { "te-Telu": {
2549
- _desired: "te-Latn",
2550
- _distance: "20",
2551
- _oneway: "true"
2552
- } },
2553
- { "zh-Hans": {
2554
- _desired: "zh-Latn",
2555
- _distance: "20",
2556
- _oneway: "true"
2557
- } },
2558
- { "ja-Jpan": {
2559
- _desired: "ja-Latn",
2560
- _distance: "5",
2561
- _oneway: "true"
2562
- } },
2563
- { "ja-Jpan": {
2564
- _desired: "ja-Hani",
2565
- _distance: "5",
2566
- _oneway: "true"
2567
- } },
2568
- { "ja-Jpan": {
2569
- _desired: "ja-Hira",
2570
- _distance: "5",
2571
- _oneway: "true"
2572
- } },
2573
- { "ja-Jpan": {
2574
- _desired: "ja-Kana",
2575
- _distance: "5",
2576
- _oneway: "true"
2577
- } },
2578
- { "ja-Jpan": {
2579
- _desired: "ja-Hrkt",
2580
- _distance: "5",
2581
- _oneway: "true"
2582
- } },
2583
- { "ja-Hrkt": {
2584
- _desired: "ja-Hira",
2585
- _distance: "5",
2586
- _oneway: "true"
2587
- } },
2588
- { "ja-Hrkt": {
2589
- _desired: "ja-Kana",
2590
- _distance: "5",
2591
- _oneway: "true"
2592
- } },
2593
- { "ko-Kore": {
2594
- _desired: "ko-Hani",
2595
- _distance: "5",
2596
- _oneway: "true"
2597
- } },
2598
- { "ko-Kore": {
2599
- _desired: "ko-Hang",
2600
- _distance: "5",
2601
- _oneway: "true"
2602
- } },
2603
- { "ko-Kore": {
2604
- _desired: "ko-Jamo",
2605
- _distance: "5",
2606
- _oneway: "true"
2607
- } },
2608
- { "ko-Hang": {
2609
- _desired: "ko-Jamo",
2610
- _distance: "5",
2611
- _oneway: "true"
2612
- } },
2613
- { "*-*": {
2614
- _desired: "*-*",
2615
- _distance: "50"
2616
- } },
2617
- { "ar-*-$maghreb": {
2618
- _desired: "ar-*-$maghreb",
2619
- _distance: "4"
2620
- } },
2621
- { "ar-*-$!maghreb": {
2622
- _desired: "ar-*-$!maghreb",
2623
- _distance: "4"
2624
- } },
2625
- { "ar-*-*": {
2626
- _desired: "ar-*-*",
2627
- _distance: "5"
2628
- } },
2629
- { "en-*-$enUS": {
2630
- _desired: "en-*-$enUS",
2631
- _distance: "4"
2632
- } },
2633
- { "en-*-GB": {
2634
- _desired: "en-*-$!enUS",
2635
- _distance: "3"
2636
- } },
2637
- { "en-*-$!enUS": {
2638
- _desired: "en-*-$!enUS",
2639
- _distance: "4"
2640
- } },
2641
- { "en-*-*": {
2642
- _desired: "en-*-*",
2643
- _distance: "5"
2644
- } },
2645
- { "es-*-$americas": {
2646
- _desired: "es-*-$americas",
2647
- _distance: "4"
2648
- } },
2649
- { "es-*-$!americas": {
2650
- _desired: "es-*-$!americas",
2651
- _distance: "4"
2652
- } },
2653
- { "es-*-*": {
2654
- _desired: "es-*-*",
2655
- _distance: "5"
2656
- } },
2657
- { "pt-*-$americas": {
2658
- _desired: "pt-*-$americas",
2659
- _distance: "4"
2660
- } },
2661
- { "pt-*-$!americas": {
2662
- _desired: "pt-*-$!americas",
2663
- _distance: "4"
2664
- } },
2665
- { "pt-*-*": {
2666
- _desired: "pt-*-*",
2667
- _distance: "5"
2668
- } },
2669
- { "zh-Hant-$cnsar": {
2670
- _desired: "zh-Hant-$cnsar",
2671
- _distance: "4"
2672
- } },
2673
- { "zh-Hant-$!cnsar": {
2674
- _desired: "zh-Hant-$!cnsar",
2675
- _distance: "4"
2676
- } },
2677
- { "zh-Hant-*": {
2678
- _desired: "zh-Hant-*",
2679
- _distance: "5"
2680
- } },
2681
- { "*-*-*": {
2682
- _desired: "*-*-*",
2683
- _distance: "4"
2684
- } }
2685
- ] } } };
2686
-
2687
- // node_modules/.aspect_rules_js/@formatjs+intl-localematcher@0.0.0/node_modules/@formatjs/intl-localematcher/abstract/regions.generated.js
2688
- var regions = {
2689
- "001": [
2690
- "001",
2691
- "001-status-grouping",
2692
- "002",
2693
- "005",
2694
- "009",
2695
- "011",
2696
- "013",
2697
- "014",
2698
- "015",
2699
- "017",
2700
- "018",
2701
- "019",
2702
- "021",
2703
- "029",
2704
- "030",
2705
- "034",
2706
- "035",
2707
- "039",
2708
- "053",
2709
- "054",
2710
- "057",
2711
- "061",
2712
- "142",
2713
- "143",
2714
- "145",
2715
- "150",
2716
- "151",
2717
- "154",
2718
- "155",
2719
- "AC",
2720
- "AD",
2721
- "AE",
2722
- "AF",
2723
- "AG",
2724
- "AI",
2725
- "AL",
2726
- "AM",
2727
- "AO",
2728
- "AQ",
2729
- "AR",
2730
- "AS",
2731
- "AT",
2732
- "AU",
2733
- "AW",
2734
- "AX",
2735
- "AZ",
2736
- "BA",
2737
- "BB",
2738
- "BD",
2739
- "BE",
2740
- "BF",
2741
- "BG",
2742
- "BH",
2743
- "BI",
2744
- "BJ",
2745
- "BL",
2746
- "BM",
2747
- "BN",
2748
- "BO",
2749
- "BQ",
2750
- "BR",
2751
- "BS",
2752
- "BT",
2753
- "BV",
2754
- "BW",
2755
- "BY",
2756
- "BZ",
2757
- "CA",
2758
- "CC",
2759
- "CD",
2760
- "CF",
2761
- "CG",
2762
- "CH",
2763
- "CI",
2764
- "CK",
2765
- "CL",
2766
- "CM",
2767
- "CN",
2768
- "CO",
2769
- "CP",
2770
- "CQ",
2771
- "CR",
2772
- "CU",
2773
- "CV",
2774
- "CW",
2775
- "CX",
2776
- "CY",
2777
- "CZ",
2778
- "DE",
2779
- "DG",
2780
- "DJ",
2781
- "DK",
2782
- "DM",
2783
- "DO",
2784
- "DZ",
2785
- "EA",
2786
- "EC",
2787
- "EE",
2788
- "EG",
2789
- "EH",
2790
- "ER",
2791
- "ES",
2792
- "ET",
2793
- "EU",
2794
- "EZ",
2795
- "FI",
2796
- "FJ",
2797
- "FK",
2798
- "FM",
2799
- "FO",
2800
- "FR",
2801
- "GA",
2802
- "GB",
2803
- "GD",
2804
- "GE",
2805
- "GF",
2806
- "GG",
2807
- "GH",
2808
- "GI",
2809
- "GL",
2810
- "GM",
2811
- "GN",
2812
- "GP",
2813
- "GQ",
2814
- "GR",
2815
- "GS",
2816
- "GT",
2817
- "GU",
2818
- "GW",
2819
- "GY",
2820
- "HK",
2821
- "HM",
2822
- "HN",
2823
- "HR",
2824
- "HT",
2825
- "HU",
2826
- "IC",
2827
- "ID",
2828
- "IE",
2829
- "IL",
2830
- "IM",
2831
- "IN",
2832
- "IO",
2833
- "IQ",
2834
- "IR",
2835
- "IS",
2836
- "IT",
2837
- "JE",
2838
- "JM",
2839
- "JO",
2840
- "JP",
2841
- "KE",
2842
- "KG",
2843
- "KH",
2844
- "KI",
2845
- "KM",
2846
- "KN",
2847
- "KP",
2848
- "KR",
2849
- "KW",
2850
- "KY",
2851
- "KZ",
2852
- "LA",
2853
- "LB",
2854
- "LC",
2855
- "LI",
2856
- "LK",
2857
- "LR",
2858
- "LS",
2859
- "LT",
2860
- "LU",
2861
- "LV",
2862
- "LY",
2863
- "MA",
2864
- "MC",
2865
- "MD",
2866
- "ME",
2867
- "MF",
2868
- "MG",
2869
- "MH",
2870
- "MK",
2871
- "ML",
2872
- "MM",
2873
- "MN",
2874
- "MO",
2875
- "MP",
2876
- "MQ",
2877
- "MR",
2878
- "MS",
2879
- "MT",
2880
- "MU",
2881
- "MV",
2882
- "MW",
2883
- "MX",
2884
- "MY",
2885
- "MZ",
2886
- "NA",
2887
- "NC",
2888
- "NE",
2889
- "NF",
2890
- "NG",
2891
- "NI",
2892
- "NL",
2893
- "NO",
2894
- "NP",
2895
- "NR",
2896
- "NU",
2897
- "NZ",
2898
- "OM",
2899
- "PA",
2900
- "PE",
2901
- "PF",
2902
- "PG",
2903
- "PH",
2904
- "PK",
2905
- "PL",
2906
- "PM",
2907
- "PN",
2908
- "PR",
2909
- "PS",
2910
- "PT",
2911
- "PW",
2912
- "PY",
2913
- "QA",
2914
- "QO",
2915
- "RE",
2916
- "RO",
2917
- "RS",
2918
- "RU",
2919
- "RW",
2920
- "SA",
2921
- "SB",
2922
- "SC",
2923
- "SD",
2924
- "SE",
2925
- "SG",
2926
- "SH",
2927
- "SI",
2928
- "SJ",
2929
- "SK",
2930
- "SL",
2931
- "SM",
2932
- "SN",
2933
- "SO",
2934
- "SR",
2935
- "SS",
2936
- "ST",
2937
- "SV",
2938
- "SX",
2939
- "SY",
2940
- "SZ",
2941
- "TA",
2942
- "TC",
2943
- "TD",
2944
- "TF",
2945
- "TG",
2946
- "TH",
2947
- "TJ",
2948
- "TK",
2949
- "TL",
2950
- "TM",
2951
- "TN",
2952
- "TO",
2953
- "TR",
2954
- "TT",
2955
- "TV",
2956
- "TW",
2957
- "TZ",
2958
- "UA",
2959
- "UG",
2960
- "UM",
2961
- "UN",
2962
- "US",
2963
- "UY",
2964
- "UZ",
2965
- "VA",
2966
- "VC",
2967
- "VE",
2968
- "VG",
2969
- "VI",
2970
- "VN",
2971
- "VU",
2972
- "WF",
2973
- "WS",
2974
- "XK",
2975
- "YE",
2976
- "YT",
2977
- "ZA",
2978
- "ZM",
2979
- "ZW"
2980
- ],
2981
- "002": [
2982
- "002",
2983
- "002-status-grouping",
2984
- "011",
2985
- "014",
2986
- "015",
2987
- "017",
2988
- "018",
2989
- "202",
2990
- "AO",
2991
- "BF",
2992
- "BI",
2993
- "BJ",
2994
- "BW",
2995
- "CD",
2996
- "CF",
2997
- "CG",
2998
- "CI",
2999
- "CM",
3000
- "CV",
3001
- "DJ",
3002
- "DZ",
3003
- "EA",
3004
- "EG",
3005
- "EH",
3006
- "ER",
3007
- "ET",
3008
- "GA",
3009
- "GH",
3010
- "GM",
3011
- "GN",
3012
- "GQ",
3013
- "GW",
3014
- "IC",
3015
- "IO",
3016
- "KE",
3017
- "KM",
3018
- "LR",
3019
- "LS",
3020
- "LY",
3021
- "MA",
3022
- "MG",
3023
- "ML",
3024
- "MR",
3025
- "MU",
3026
- "MW",
3027
- "MZ",
3028
- "NA",
3029
- "NE",
3030
- "NG",
3031
- "RE",
3032
- "RW",
3033
- "SC",
3034
- "SD",
3035
- "SH",
3036
- "SL",
3037
- "SN",
3038
- "SO",
3039
- "SS",
3040
- "ST",
3041
- "SZ",
3042
- "TD",
3043
- "TF",
3044
- "TG",
3045
- "TN",
3046
- "TZ",
3047
- "UG",
3048
- "YT",
3049
- "ZA",
3050
- "ZM",
3051
- "ZW"
3052
- ],
3053
- "003": [
3054
- "003",
3055
- "013",
3056
- "021",
3057
- "029",
3058
- "AG",
3059
- "AI",
3060
- "AW",
3061
- "BB",
3062
- "BL",
3063
- "BM",
3064
- "BQ",
3065
- "BS",
3066
- "BZ",
3067
- "CA",
3068
- "CR",
3069
- "CU",
3070
- "CW",
3071
- "DM",
3072
- "DO",
3073
- "GD",
3074
- "GL",
3075
- "GP",
3076
- "GT",
3077
- "HN",
3078
- "HT",
3079
- "JM",
3080
- "KN",
3081
- "KY",
3082
- "LC",
3083
- "MF",
3084
- "MQ",
3085
- "MS",
3086
- "MX",
3087
- "NI",
3088
- "PA",
3089
- "PM",
3090
- "PR",
3091
- "SV",
3092
- "SX",
3093
- "TC",
3094
- "TT",
3095
- "US",
3096
- "VC",
3097
- "VG",
3098
- "VI"
3099
- ],
3100
- "005": [
3101
- "005",
3102
- "AR",
3103
- "BO",
3104
- "BR",
3105
- "BV",
3106
- "CL",
3107
- "CO",
3108
- "EC",
3109
- "FK",
3110
- "GF",
3111
- "GS",
3112
- "GY",
3113
- "PE",
3114
- "PY",
3115
- "SR",
3116
- "UY",
3117
- "VE"
3118
- ],
3119
- "009": [
3120
- "009",
3121
- "053",
3122
- "054",
3123
- "057",
3124
- "061",
3125
- "AC",
3126
- "AQ",
3127
- "AS",
3128
- "AU",
3129
- "CC",
3130
- "CK",
3131
- "CP",
3132
- "CX",
3133
- "DG",
3134
- "FJ",
3135
- "FM",
3136
- "GU",
3137
- "HM",
3138
- "KI",
3139
- "MH",
3140
- "MP",
3141
- "NC",
3142
- "NF",
3143
- "NR",
3144
- "NU",
3145
- "NZ",
3146
- "PF",
3147
- "PG",
3148
- "PN",
3149
- "PW",
3150
- "QO",
3151
- "SB",
3152
- "TA",
3153
- "TK",
3154
- "TO",
3155
- "TV",
3156
- "UM",
3157
- "VU",
3158
- "WF",
3159
- "WS"
3160
- ],
3161
- "011": [
3162
- "011",
3163
- "BF",
3164
- "BJ",
3165
- "CI",
3166
- "CV",
3167
- "GH",
3168
- "GM",
3169
- "GN",
3170
- "GW",
3171
- "LR",
3172
- "ML",
3173
- "MR",
3174
- "NE",
3175
- "NG",
3176
- "SH",
3177
- "SL",
3178
- "SN",
3179
- "TG"
3180
- ],
3181
- "013": [
3182
- "013",
3183
- "BZ",
3184
- "CR",
3185
- "GT",
3186
- "HN",
3187
- "MX",
3188
- "NI",
3189
- "PA",
3190
- "SV"
3191
- ],
3192
- "014": [
3193
- "014",
3194
- "BI",
3195
- "DJ",
3196
- "ER",
3197
- "ET",
3198
- "IO",
3199
- "KE",
3200
- "KM",
3201
- "MG",
3202
- "MU",
3203
- "MW",
3204
- "MZ",
3205
- "RE",
3206
- "RW",
3207
- "SC",
3208
- "SO",
3209
- "SS",
3210
- "TF",
3211
- "TZ",
3212
- "UG",
3213
- "YT",
3214
- "ZM",
3215
- "ZW"
3216
- ],
3217
- "015": [
3218
- "015",
3219
- "DZ",
3220
- "EA",
3221
- "EG",
3222
- "EH",
3223
- "IC",
3224
- "LY",
3225
- "MA",
3226
- "SD",
3227
- "TN"
3228
- ],
3229
- "017": [
3230
- "017",
3231
- "AO",
3232
- "CD",
3233
- "CF",
3234
- "CG",
3235
- "CM",
3236
- "GA",
3237
- "GQ",
3238
- "ST",
3239
- "TD"
3240
- ],
3241
- "018": [
3242
- "018",
3243
- "BW",
3244
- "LS",
3245
- "NA",
3246
- "SZ",
3247
- "ZA"
3248
- ],
3249
- "019": [
3250
- "003",
3251
- "005",
3252
- "013",
3253
- "019",
3254
- "019-status-grouping",
3255
- "021",
3256
- "029",
3257
- "419",
3258
- "AG",
3259
- "AI",
3260
- "AR",
3261
- "AW",
3262
- "BB",
3263
- "BL",
3264
- "BM",
3265
- "BO",
3266
- "BQ",
3267
- "BR",
3268
- "BS",
3269
- "BV",
3270
- "BZ",
3271
- "CA",
3272
- "CL",
3273
- "CO",
3274
- "CR",
3275
- "CU",
3276
- "CW",
3277
- "DM",
3278
- "DO",
3279
- "EC",
3280
- "FK",
3281
- "GD",
3282
- "GF",
3283
- "GL",
3284
- "GP",
3285
- "GS",
3286
- "GT",
3287
- "GY",
3288
- "HN",
3289
- "HT",
3290
- "JM",
3291
- "KN",
3292
- "KY",
3293
- "LC",
3294
- "MF",
3295
- "MQ",
3296
- "MS",
3297
- "MX",
3298
- "NI",
3299
- "PA",
3300
- "PE",
3301
- "PM",
3302
- "PR",
3303
- "PY",
3304
- "SR",
3305
- "SV",
3306
- "SX",
3307
- "TC",
3308
- "TT",
3309
- "US",
3310
- "UY",
3311
- "VC",
3312
- "VE",
3313
- "VG",
3314
- "VI"
3315
- ],
3316
- "021": [
3317
- "021",
3318
- "BM",
3319
- "CA",
3320
- "GL",
3321
- "PM",
3322
- "US"
3323
- ],
3324
- "029": [
3325
- "029",
3326
- "AG",
3327
- "AI",
3328
- "AW",
3329
- "BB",
3330
- "BL",
3331
- "BQ",
3332
- "BS",
3333
- "CU",
3334
- "CW",
3335
- "DM",
3336
- "DO",
3337
- "GD",
3338
- "GP",
3339
- "HT",
3340
- "JM",
3341
- "KN",
3342
- "KY",
3343
- "LC",
3344
- "MF",
3345
- "MQ",
3346
- "MS",
3347
- "PR",
3348
- "SX",
3349
- "TC",
3350
- "TT",
3351
- "VC",
3352
- "VG",
3353
- "VI"
3354
- ],
3355
- "030": [
3356
- "030",
3357
- "CN",
3358
- "HK",
3359
- "JP",
3360
- "KP",
3361
- "KR",
3362
- "MN",
3363
- "MO",
3364
- "TW"
3365
- ],
3366
- "034": [
3367
- "034",
3368
- "AF",
3369
- "BD",
3370
- "BT",
3371
- "IN",
3372
- "IR",
3373
- "LK",
3374
- "MV",
3375
- "NP",
3376
- "PK"
3377
- ],
3378
- "035": [
3379
- "035",
3380
- "BN",
3381
- "ID",
3382
- "KH",
3383
- "LA",
3384
- "MM",
3385
- "MY",
3386
- "PH",
3387
- "SG",
3388
- "TH",
3389
- "TL",
3390
- "VN"
3391
- ],
3392
- "039": [
3393
- "039",
3394
- "AD",
3395
- "AL",
3396
- "BA",
3397
- "ES",
3398
- "GI",
3399
- "GR",
3400
- "HR",
3401
- "IT",
3402
- "ME",
3403
- "MK",
3404
- "MT",
3405
- "PT",
3406
- "RS",
3407
- "SI",
3408
- "SM",
3409
- "VA",
3410
- "XK"
3411
- ],
3412
- "053": [
3413
- "053",
3414
- "AU",
3415
- "CC",
3416
- "CX",
3417
- "HM",
3418
- "NF",
3419
- "NZ"
3420
- ],
3421
- "054": [
3422
- "054",
3423
- "FJ",
3424
- "NC",
3425
- "PG",
3426
- "SB",
3427
- "VU"
3428
- ],
3429
- "057": [
3430
- "057",
3431
- "FM",
3432
- "GU",
3433
- "KI",
3434
- "MH",
3435
- "MP",
3436
- "NR",
3437
- "PW",
3438
- "UM"
3439
- ],
3440
- "061": [
3441
- "061",
3442
- "AS",
3443
- "CK",
3444
- "NU",
3445
- "PF",
3446
- "PN",
3447
- "TK",
3448
- "TO",
3449
- "TV",
3450
- "WF",
3451
- "WS"
3452
- ],
3453
- "142": [
3454
- "030",
3455
- "034",
3456
- "035",
3457
- "142",
3458
- "143",
3459
- "145",
3460
- "AE",
3461
- "AF",
3462
- "AM",
3463
- "AZ",
3464
- "BD",
3465
- "BH",
3466
- "BN",
3467
- "BT",
3468
- "CN",
3469
- "CY",
3470
- "GE",
3471
- "HK",
3472
- "ID",
3473
- "IL",
3474
- "IN",
3475
- "IQ",
3476
- "IR",
3477
- "JO",
3478
- "JP",
3479
- "KG",
3480
- "KH",
3481
- "KP",
3482
- "KR",
3483
- "KW",
3484
- "KZ",
3485
- "LA",
3486
- "LB",
3487
- "LK",
3488
- "MM",
3489
- "MN",
3490
- "MO",
3491
- "MV",
3492
- "MY",
3493
- "NP",
3494
- "OM",
3495
- "PH",
3496
- "PK",
3497
- "PS",
3498
- "QA",
3499
- "SA",
3500
- "SG",
3501
- "SY",
3502
- "TH",
3503
- "TJ",
3504
- "TL",
3505
- "TM",
3506
- "TR",
3507
- "TW",
3508
- "UZ",
3509
- "VN",
3510
- "YE"
3511
- ],
3512
- "143": [
3513
- "143",
3514
- "KG",
3515
- "KZ",
3516
- "TJ",
3517
- "TM",
3518
- "UZ"
3519
- ],
3520
- "145": [
3521
- "145",
3522
- "AE",
3523
- "AM",
3524
- "AZ",
3525
- "BH",
3526
- "CY",
3527
- "GE",
3528
- "IL",
3529
- "IQ",
3530
- "JO",
3531
- "KW",
3532
- "LB",
3533
- "OM",
3534
- "PS",
3535
- "QA",
3536
- "SA",
3537
- "SY",
3538
- "TR",
3539
- "YE"
3540
- ],
3541
- "150": [
3542
- "039",
3543
- "150",
3544
- "151",
3545
- "154",
3546
- "155",
3547
- "AD",
3548
- "AL",
3549
- "AT",
3550
- "AX",
3551
- "BA",
3552
- "BE",
3553
- "BG",
3554
- "BY",
3555
- "CH",
3556
- "CQ",
3557
- "CZ",
3558
- "DE",
3559
- "DK",
3560
- "EE",
3561
- "ES",
3562
- "FI",
3563
- "FO",
3564
- "FR",
3565
- "GB",
3566
- "GG",
3567
- "GI",
3568
- "GR",
3569
- "HR",
3570
- "HU",
3571
- "IE",
3572
- "IM",
3573
- "IS",
3574
- "IT",
3575
- "JE",
3576
- "LI",
3577
- "LT",
3578
- "LU",
3579
- "LV",
3580
- "MC",
3581
- "MD",
3582
- "ME",
3583
- "MK",
3584
- "MT",
3585
- "NL",
3586
- "NO",
3587
- "PL",
3588
- "PT",
3589
- "RO",
3590
- "RS",
3591
- "RU",
3592
- "SE",
3593
- "SI",
3594
- "SJ",
3595
- "SK",
3596
- "SM",
3597
- "UA",
3598
- "VA",
3599
- "XK"
3600
- ],
3601
- "151": [
3602
- "151",
3603
- "BG",
3604
- "BY",
3605
- "CZ",
3606
- "HU",
3607
- "MD",
3608
- "PL",
3609
- "RO",
3610
- "RU",
3611
- "SK",
3612
- "UA"
3613
- ],
3614
- "154": [
3615
- "154",
3616
- "AX",
3617
- "CQ",
3618
- "DK",
3619
- "EE",
3620
- "FI",
3621
- "FO",
3622
- "GB",
3623
- "GG",
3624
- "IE",
3625
- "IM",
3626
- "IS",
3627
- "JE",
3628
- "LT",
3629
- "LV",
3630
- "NO",
3631
- "SE",
3632
- "SJ"
3633
- ],
3634
- "155": [
3635
- "155",
3636
- "AT",
3637
- "BE",
3638
- "CH",
3639
- "DE",
3640
- "FR",
3641
- "LI",
3642
- "LU",
3643
- "MC",
3644
- "NL"
3645
- ],
3646
- "202": [
3647
- "011",
3648
- "014",
3649
- "017",
3650
- "018",
3651
- "202",
3652
- "AO",
3653
- "BF",
3654
- "BI",
3655
- "BJ",
3656
- "BW",
3657
- "CD",
3658
- "CF",
3659
- "CG",
3660
- "CI",
3661
- "CM",
3662
- "CV",
3663
- "DJ",
3664
- "ER",
3665
- "ET",
3666
- "GA",
3667
- "GH",
3668
- "GM",
3669
- "GN",
3670
- "GQ",
3671
- "GW",
3672
- "IO",
3673
- "KE",
3674
- "KM",
3675
- "LR",
3676
- "LS",
3677
- "MG",
3678
- "ML",
3679
- "MR",
3680
- "MU",
3681
- "MW",
3682
- "MZ",
3683
- "NA",
3684
- "NE",
3685
- "NG",
3686
- "RE",
3687
- "RW",
3688
- "SC",
3689
- "SH",
3690
- "SL",
3691
- "SN",
3692
- "SO",
3693
- "SS",
3694
- "ST",
3695
- "SZ",
3696
- "TD",
3697
- "TF",
3698
- "TG",
3699
- "TZ",
3700
- "UG",
3701
- "YT",
3702
- "ZA",
3703
- "ZM",
3704
- "ZW"
3705
- ],
3706
- "419": [
3707
- "005",
3708
- "013",
3709
- "029",
3710
- "419",
3711
- "AG",
3712
- "AI",
3713
- "AR",
3714
- "AW",
3715
- "BB",
3716
- "BL",
3717
- "BO",
3718
- "BQ",
3719
- "BR",
3720
- "BS",
3721
- "BV",
3722
- "BZ",
3723
- "CL",
3724
- "CO",
3725
- "CR",
3726
- "CU",
3727
- "CW",
3728
- "DM",
3729
- "DO",
3730
- "EC",
3731
- "FK",
3732
- "GD",
3733
- "GF",
3734
- "GP",
3735
- "GS",
3736
- "GT",
3737
- "GY",
3738
- "HN",
3739
- "HT",
3740
- "JM",
3741
- "KN",
3742
- "KY",
3743
- "LC",
3744
- "MF",
3745
- "MQ",
3746
- "MS",
3747
- "MX",
3748
- "NI",
3749
- "PA",
3750
- "PE",
3751
- "PR",
3752
- "PY",
3753
- "SR",
3754
- "SV",
3755
- "SX",
3756
- "TC",
3757
- "TT",
3758
- "UY",
3759
- "VC",
3760
- "VE",
3761
- "VG",
3762
- "VI"
3763
- ],
3764
- EU: [
3765
- "AT",
3766
- "BE",
3767
- "BG",
3768
- "CY",
3769
- "CZ",
3770
- "DE",
3771
- "DK",
3772
- "EE",
3773
- "ES",
3774
- "EU",
3775
- "FI",
3776
- "FR",
3777
- "GR",
3778
- "HR",
3779
- "HU",
3780
- "IE",
3781
- "IT",
3782
- "LT",
3783
- "LU",
3784
- "LV",
3785
- "MT",
3786
- "NL",
3787
- "PL",
3788
- "PT",
3789
- "RO",
3790
- "SE",
3791
- "SI",
3792
- "SK"
3793
- ],
3794
- EZ: [
3795
- "AT",
3796
- "BE",
3797
- "CY",
3798
- "DE",
3799
- "EE",
3800
- "ES",
3801
- "EZ",
3802
- "FI",
3803
- "FR",
3804
- "GR",
3805
- "IE",
3806
- "IT",
3807
- "LT",
3808
- "LU",
3809
- "LV",
3810
- "MT",
3811
- "NL",
3812
- "PT",
3813
- "SI",
3814
- "SK"
3815
- ],
3816
- QO: [
3817
- "AC",
3818
- "AQ",
3819
- "CP",
3820
- "DG",
3821
- "QO",
3822
- "TA"
3823
- ],
3824
- UN: [
3825
- "AD",
3826
- "AE",
3827
- "AF",
3828
- "AG",
3829
- "AL",
3830
- "AM",
3831
- "AO",
3832
- "AR",
3833
- "AT",
3834
- "AU",
3835
- "AZ",
3836
- "BA",
3837
- "BB",
3838
- "BD",
3839
- "BE",
3840
- "BF",
3841
- "BG",
3842
- "BH",
3843
- "BI",
3844
- "BJ",
3845
- "BN",
3846
- "BO",
3847
- "BR",
3848
- "BS",
3849
- "BT",
3850
- "BW",
3851
- "BY",
3852
- "BZ",
3853
- "CA",
3854
- "CD",
3855
- "CF",
3856
- "CG",
3857
- "CH",
3858
- "CI",
3859
- "CL",
3860
- "CM",
3861
- "CN",
3862
- "CO",
3863
- "CR",
3864
- "CU",
3865
- "CV",
3866
- "CY",
3867
- "CZ",
3868
- "DE",
3869
- "DJ",
3870
- "DK",
3871
- "DM",
3872
- "DO",
3873
- "DZ",
3874
- "EC",
3875
- "EE",
3876
- "EG",
3877
- "ER",
3878
- "ES",
3879
- "ET",
3880
- "FI",
3881
- "FJ",
3882
- "FM",
3883
- "FR",
3884
- "GA",
3885
- "GB",
3886
- "GD",
3887
- "GE",
3888
- "GH",
3889
- "GM",
3890
- "GN",
3891
- "GQ",
3892
- "GR",
3893
- "GT",
3894
- "GW",
3895
- "GY",
3896
- "HN",
3897
- "HR",
3898
- "HT",
3899
- "HU",
3900
- "ID",
3901
- "IE",
3902
- "IL",
3903
- "IN",
3904
- "IQ",
3905
- "IR",
3906
- "IS",
3907
- "IT",
3908
- "JM",
3909
- "JO",
3910
- "JP",
3911
- "KE",
3912
- "KG",
3913
- "KH",
3914
- "KI",
3915
- "KM",
3916
- "KN",
3917
- "KP",
3918
- "KR",
3919
- "KW",
3920
- "KZ",
3921
- "LA",
3922
- "LB",
3923
- "LC",
3924
- "LI",
3925
- "LK",
3926
- "LR",
3927
- "LS",
3928
- "LT",
3929
- "LU",
3930
- "LV",
3931
- "LY",
3932
- "MA",
3933
- "MC",
3934
- "MD",
3935
- "ME",
3936
- "MG",
3937
- "MH",
3938
- "MK",
3939
- "ML",
3940
- "MM",
3941
- "MN",
3942
- "MR",
3943
- "MT",
3944
- "MU",
3945
- "MV",
3946
- "MW",
3947
- "MX",
3948
- "MY",
3949
- "MZ",
3950
- "NA",
3951
- "NE",
3952
- "NG",
3953
- "NI",
3954
- "NL",
3955
- "NO",
3956
- "NP",
3957
- "NR",
3958
- "NZ",
3959
- "OM",
3960
- "PA",
3961
- "PE",
3962
- "PG",
3963
- "PH",
3964
- "PK",
3965
- "PL",
3966
- "PT",
3967
- "PW",
3968
- "PY",
3969
- "QA",
3970
- "RO",
3971
- "RS",
3972
- "RU",
3973
- "RW",
3974
- "SA",
3975
- "SB",
3976
- "SC",
3977
- "SD",
3978
- "SE",
3979
- "SG",
3980
- "SI",
3981
- "SK",
3982
- "SL",
3983
- "SM",
3984
- "SN",
3985
- "SO",
3986
- "SR",
3987
- "SS",
3988
- "ST",
3989
- "SV",
3990
- "SY",
3991
- "SZ",
3992
- "TD",
3993
- "TG",
3994
- "TH",
3995
- "TJ",
3996
- "TL",
3997
- "TM",
3998
- "TN",
3999
- "TO",
4000
- "TR",
4001
- "TT",
4002
- "TV",
4003
- "TZ",
4004
- "UA",
4005
- "UG",
4006
- "UN",
4007
- "US",
4008
- "UY",
4009
- "UZ",
4010
- "VC",
4011
- "VE",
4012
- "VN",
4013
- "VU",
4014
- "WS",
4015
- "YE",
4016
- "ZA",
4017
- "ZM",
4018
- "ZW"
4019
- ]
4020
- };
4021
-
4022
- // node_modules/.aspect_rules_js/@formatjs+intl-localematcher@0.0.0/node_modules/@formatjs/intl-localematcher/abstract/utils.js
4023
- var PROCESSED_DATA;
4024
- function processData() {
4025
- if (!PROCESSED_DATA) {
4026
- const paradigmLocales = data.supplemental.languageMatching["written-new"][0]?.paradigmLocales?._locales.split(" ");
4027
- const matchVariables = data.supplemental.languageMatching["written-new"].slice(1, 5);
4028
- const data2 = data.supplemental.languageMatching["written-new"].slice(5);
4029
- const matches = data2.map((d) => {
4030
- const key = Object.keys(d)[0];
4031
- const value = d[key];
4032
- return {
4033
- supported: key,
4034
- desired: value._desired,
4035
- distance: +value._distance,
4036
- oneway: value.oneway === "true" ? true : false
4037
- };
4038
- }, {});
4039
- PROCESSED_DATA = {
4040
- matches,
4041
- matchVariables: matchVariables.reduce((all, d) => {
4042
- const key = Object.keys(d)[0];
4043
- const value = d[key];
4044
- all[key.slice(1)] = value._value.split("+");
4045
- return all;
4046
- }, {}),
4047
- paradigmLocales: [...paradigmLocales, ...paradigmLocales.map((l) => new Intl.Locale(l.replace(/_/g, "-")).maximize().toString())]
4048
- };
4049
- }
4050
- return PROCESSED_DATA;
4051
- }
4052
- function isMatched(locale, languageMatchInfoLocale, matchVariables) {
4053
- const [language, script, region] = languageMatchInfoLocale.split("-");
4054
- let matches = true;
4055
- if (region && region[0] === "$") {
4056
- const shouldInclude = region[1] !== "!";
4057
- const matchRegions = shouldInclude ? matchVariables[region.slice(1)] : matchVariables[region.slice(2)];
4058
- const expandedMatchedRegions = matchRegions.map((r) => regions[r] || [r]).reduce((all, list) => [...all, ...list], []);
4059
- matches && (matches = !(expandedMatchedRegions.indexOf(locale.region || "") > -1 != shouldInclude));
4060
- } else {
4061
- matches && (matches = locale.region ? region === "*" || region === locale.region : true);
4062
- }
4063
- matches && (matches = locale.script ? script === "*" || script === locale.script : true);
4064
- matches && (matches = locale.language ? language === "*" || language === locale.language : true);
4065
- return matches;
4066
- }
4067
- function serializeLSR(lsr) {
4068
- return [
4069
- lsr.language,
4070
- lsr.script,
4071
- lsr.region
4072
- ].filter(Boolean).join("-");
4073
- }
4074
- function findMatchingDistanceForLSR(desired, supported, data2) {
4075
- for (const d of data2.matches) {
4076
- let matches = isMatched(desired, d.desired, data2.matchVariables) && isMatched(supported, d.supported, data2.matchVariables);
4077
- if (!d.oneway && !matches) {
4078
- matches = isMatched(desired, d.supported, data2.matchVariables) && isMatched(supported, d.desired, data2.matchVariables);
4079
- }
4080
- if (matches) {
4081
- const distance = d.distance * 10;
4082
- if (data2.paradigmLocales.indexOf(serializeLSR(desired)) > -1 != data2.paradigmLocales.indexOf(serializeLSR(supported)) > -1) {
4083
- return distance - 1;
4084
- }
4085
- return distance;
4086
- }
4087
- }
4088
- throw new Error("No matching distance found");
4089
- }
4090
- function findMatchingDistanceImpl(desired, supported) {
4091
- const desiredLocale = new Intl.Locale(desired).maximize();
4092
- const supportedLocale = new Intl.Locale(supported).maximize();
4093
- const desiredLSR = {
4094
- language: desiredLocale.language,
4095
- script: desiredLocale.script || "",
4096
- region: desiredLocale.region || ""
4097
- };
4098
- const supportedLSR = {
4099
- language: supportedLocale.language,
4100
- script: supportedLocale.script || "",
4101
- region: supportedLocale.region || ""
4102
- };
4103
- let matchingDistance = 0;
4104
- const data2 = processData();
4105
- if (desiredLSR.language !== supportedLSR.language) {
4106
- matchingDistance += findMatchingDistanceForLSR({
4107
- language: desiredLocale.language,
4108
- script: "",
4109
- region: ""
4110
- }, {
4111
- language: supportedLocale.language,
4112
- script: "",
4113
- region: ""
4114
- }, data2);
4115
- }
4116
- if (desiredLSR.script !== supportedLSR.script) {
4117
- matchingDistance += findMatchingDistanceForLSR({
4118
- language: desiredLocale.language,
4119
- script: desiredLSR.script,
4120
- region: ""
4121
- }, {
4122
- language: supportedLocale.language,
4123
- script: supportedLSR.script,
4124
- region: ""
4125
- }, data2);
4126
- }
4127
- if (desiredLSR.region !== supportedLSR.region) {
4128
- matchingDistance += findMatchingDistanceForLSR(desiredLSR, supportedLSR, data2);
4129
- }
4130
- return matchingDistance;
4131
- }
4132
- var findMatchingDistance = memoize(findMatchingDistanceImpl, { serializer: (args) => `${args[0]}|${args[1]}` });
4133
-
4134
- // node_modules/.aspect_rules_js/@formatjs+ecma402-abstract@0.0.0/node_modules/@formatjs/ecma402-abstract/types/date-time.js
4135
- var RangePatternType = function(RangePatternType2) {
4136
- RangePatternType2["startRange"] = "startRange";
4137
- RangePatternType2["shared"] = "shared";
4138
- RangePatternType2["endRange"] = "endRange";
4139
- return RangePatternType2;
4140
- }({});
4141
-
4142
- // packages/intl-supportedvaluesof/src/currencies.generated.ts
4143
- var currencies = ["ADP", "AED", "AFA", "AFN", "ALK", "ALL", "AMD", "ANG", "AOA", "AOK", "AON", "AOR", "ARA", "ARL", "ARM", "ARP", "ARS", "ATS", "AUD", "AWG", "AZM", "AZN", "BAD", "BAM", "BAN", "BBD", "BDT", "BEC", "BEF", "BEL", "BGL", "BGM", "BGN", "BGO", "BHD", "BIF", "BMD", "BND", "BOB", "BOL", "BOP", "BOV", "BRB", "BRC", "BRE", "BRL", "BRN", "BRR", "BRZ", "BSD", "BTN", "BUK", "BWP", "BYB", "BYN", "BYR", "BZD", "CAD", "CDF", "CHE", "CHF", "CHW", "CLE", "CLF", "CLP", "CNH", "CNX", "CNY", "COP", "COU", "CRC", "CSD", "CSK", "CUC", "CUP", "CVE", "CYP", "CZK", "DDM", "DEM", "DJF", "DKK", "DOP", "DZD", "ECS", "ECV", "EEK", "EGP", "ERN", "ESA", "ESB", "ESP", "ETB", "EUR", "FIM", "FJD", "FKP", "FRF", "GBP", "GEK", "GEL", "GHC", "GHS", "GIP", "GMD", "GNF", "GNS", "GQE", "GRD", "GTQ", "GWE", "GWP", "GYD", "HKD", "HNL", "HRD", "HRK", "HTG", "HUF", "IDR", "IEP", "ILP", "ILR", "ILS", "INR", "IQD", "IRR", "ISJ", "ISK", "ITL", "JMD", "JOD", "JPY", "KES", "KGS", "KHR", "KMF", "KPW", "KRH", "KRO", "KRW", "KWD", "KYD", "KZT", "LAK", "LBP", "LKR", "LRD", "LSL", "LTL", "LTT", "LUC", "LUF", "LUL", "LVL", "LVR", "LYD", "MAD", "MAF", "MCF", "MDC", "MDL", "MGA", "MGF", "MKD", "MKN", "MLF", "MMK", "MNT", "MOP", "MRO", "MRU", "MTL", "MTP", "MUR", "MVP", "MVR", "MWK", "MXN", "MXP", "MXV", "MYR", "MZE", "MZM", "MZN", "NAD", "NGN", "NIC", "NIO", "NLG", "NOK", "NPR", "NZD", "OMR", "PAB", "PEI", "PEN", "PES", "PGK", "PHP", "PKR", "PLN", "PLZ", "PTE", "PYG", "QAR", "RHD", "ROL", "RON", "RSD", "RUB", "RUR", "RWF", "SAR", "SBD", "SCR", "SDD", "SDG", "SDP", "SEK", "SGD", "SHP", "SIT", "SKK", "SLE", "SLL", "SOS", "SRD", "SRG", "SSP", "STD", "STN", "SUR", "SVC", "SYP", "SZL", "THB", "TJR", "TJS", "TMM", "TMT", "TND", "TOP", "TPE", "TRL", "TRY", "TTD", "TWD", "TZS", "UAH", "UAK", "UGS", "UGX", "USD", "USN", "USS", "UYI", "UYP", "UYU", "UYW", "UZS", "VEB", "VED", "VEF", "VES", "VND", "VNN", "VUV", "WST", "XAF", "XAG", "XAU", "XBA", "XBB", "XBC", "XBD", "XCD", "XCG", "XDR", "XEU", "XFO", "XFU", "XOF", "XPD", "XPF", "XPT", "XRE", "XSU", "XTS", "XUA", "XXX", "YDD", "YER", "YUD", "YUM", "YUN", "YUR", "ZAL", "ZAR", "ZMK", "ZMW", "ZRN", "ZRZ", "ZWD", "ZWG", "ZWL", "ZWR"];
4144
-
4145
- // packages/intl-supportedvaluesof/src/get-supported-currencies.ts
4146
- function isSupportedCurrency(currency) {
4147
- try {
4148
- const numberFormat = createMemoizedNumberFormat("en", {
4149
- style: "currency",
4150
- currencyDisplay: "name",
4151
- currency
4152
- });
4153
- const format = numberFormat.format(123);
4154
- if (format.substring(0, 3) !== currency && format.substring(format.length - 3) !== currency) {
4155
- return true;
4156
- }
4157
- } catch {
4158
- }
4159
- return false;
4160
- }
4161
- function getSupportedCurrencies() {
4162
- const ATOZ = "ABCDEFGHIJKLMNOPQRSTUVWXYZ";
4163
- const supportedCurrencies = [];
4164
- for (const currency of currencies) {
4165
- if (currency.length === 3) {
4166
- if (isSupportedCurrency(currency)) {
4167
- supportedCurrencies.push(currency);
4168
- }
4169
- } else if (currency.length === 5 && currency[3] === "~") {
4170
- const start = ATOZ.indexOf(currency[2]);
4171
- const end = ATOZ.indexOf(currency[4]);
4172
- for (let i = start; i <= end; i++) {
4173
- const currentCurrency = currency.substring(0, 2) + ATOZ[i];
4174
- if (isSupportedCurrency(currentCurrency)) {
4175
- supportedCurrencies.push(currentCurrency);
4176
- }
4177
- }
4178
- }
4179
- }
4180
- return supportedCurrencies.sort();
4181
- }
4182
-
4183
- // packages/intl-supportedvaluesof/src/numbering-systems.generated.ts
4184
- var numberingSystemNames = [
4185
- "adlm",
4186
- "ahom",
4187
- "arab",
4188
- "arabext",
4189
- "armn",
4190
- "armnlow",
4191
- "bali",
4192
- "beng",
4193
- "bhks",
4194
- "brah",
4195
- "cakm",
4196
- "cham",
4197
- "cyrl",
4198
- "deva",
4199
- "diak",
4200
- "ethi",
4201
- "fullwide",
4202
- "gara",
4203
- "geor",
4204
- "gong",
4205
- "gonm",
4206
- "grek",
4207
- "greklow",
4208
- "gujr",
4209
- "gukh",
4210
- "guru",
4211
- "hanidays",
4212
- "hanidec",
4213
- "hans",
4214
- "hansfin",
4215
- "hant",
4216
- "hantfin",
4217
- "hebr",
4218
- "hmng",
4219
- "hmnp",
4220
- "java",
4221
- "jpan",
4222
- "jpanfin",
4223
- "jpanyear",
4224
- "kali",
4225
- "kawi",
4226
- "khmr",
4227
- "knda",
4228
- "krai",
4229
- "lana",
4230
- "lanatham",
4231
- "laoo",
4232
- "latn",
4233
- "lepc",
4234
- "limb",
4235
- "mathbold",
4236
- "mathdbl",
4237
- "mathmono",
4238
- "mathsanb",
4239
- "mathsans",
4240
- "mlym",
4241
- "modi",
4242
- "mong",
4243
- "mroo",
4244
- "mtei",
4245
- "mymr",
4246
- "mymrepka",
4247
- "mymrpao",
4248
- "mymrshan",
4249
- "mymrtlng",
4250
- "nagm",
4251
- "newa",
4252
- "nkoo",
4253
- "olck",
4254
- "onao",
4255
- "orya",
4256
- "osma",
4257
- "outlined",
4258
- "rohg",
4259
- "roman",
4260
- "romanlow",
4261
- "saur",
4262
- "segment",
4263
- "shrd",
4264
- "sind",
4265
- "sinh",
4266
- "sora",
4267
- "sund",
4268
- "sunu",
4269
- "takr",
4270
- "talu",
4271
- "taml",
4272
- "tamldec",
4273
- "telu",
4274
- "thai",
4275
- "tibt",
4276
- "tirh",
4277
- "tnsa",
4278
- "tols",
4279
- "vaii",
4280
- "wara",
4281
- "wcho"
4282
- ];
4283
-
4284
- // packages/intl-supportedvaluesof/src/get-supported-numbering-systems.ts
4285
- function isSupportedNumberingSystem(system) {
4286
- try {
4287
- const numberFormat = createMemoizedNumberFormat(`en-u-nu-${system}`);
4288
- const options = numberFormat.resolvedOptions().numberingSystem;
4289
- if (options === system && system === "latn" || numberFormat.format(123) !== "123") {
4290
- return true;
4291
- }
4292
- } catch {
4293
- }
4294
- return false;
4295
- }
4296
- function getSupportedNumberingSystems() {
4297
- return numberingSystemNames.filter(isSupportedNumberingSystem).sort();
4298
- }
4299
-
4300
- // packages/intl-supportedvaluesof/src/timezones.generated.ts
4301
- var timezones = ["Africa/Abidjan", "Africa/Accra", "Africa/Addis_Ababa", "Africa/Algiers", "Africa/Asmara", "Africa/Bamako", "Africa/Bangui", "Africa/Banjul", "Africa/Bissau", "Africa/Blantyre", "Africa/Brazzaville", "Africa/Bujumbura", "Africa/Cairo", "Africa/Casablanca", "Africa/Ceuta", "Africa/Conakry", "Africa/Dakar", "Africa/Dar_es_Salaam", "Africa/Djibouti", "Africa/Douala", "Africa/El_Aaiun", "Africa/Freetown", "Africa/Gaborone", "Africa/Harare", "Africa/Johannesburg", "Africa/Juba", "Africa/Kampala", "Africa/Khartoum", "Africa/Kigali", "Africa/Kinshasa", "Africa/Lagos", "Africa/Libreville", "Africa/Lome", "Africa/Luanda", "Africa/Lubumbashi", "Africa/Lusaka", "Africa/Malabo", "Africa/Maputo", "Africa/Maseru", "Africa/Mbabane", "Africa/Mogadishu", "Africa/Monrovia", "Africa/Nairobi", "Africa/Ndjamena", "Africa/Niamey", "Africa/Nouakchott", "Africa/Ouagadougou", "Africa/Porto-Novo", "Africa/Sao_Tome", "Africa/Tripoli", "Africa/Tunis", "Africa/Windhoek", "America/Adak", "America/Anchorage", "America/Anguilla", "America/Antigua", "America/Araguaina", "America/Argentina/Buenos_Aires", "America/Argentina/Catamarca", "America/Argentina/Cordoba", "America/Argentina/Jujuy", "America/Argentina/La_Rioja", "America/Argentina/Mendoza", "America/Argentina/Rio_Gallegos", "America/Argentina/Salta", "America/Argentina/San_Juan", "America/Argentina/San_Luis", "America/Argentina/Tucuman", "America/Argentina/Ushuaia", "America/Aruba", "America/Asuncion", "America/Atikokan", "America/Bahia_Banderas", "America/Bahia", "America/Barbados", "America/Belem", "America/Belize", "America/Blanc-Sablon", "America/Boa_Vista", "America/Bogota", "America/Boise", "America/Cambridge_Bay", "America/Campo_Grande", "America/Cancun", "America/Caracas", "America/Cayenne", "America/Cayman", "America/Chicago", "America/Chihuahua", "America/Ciudad_Juarez", "America/Costa_Rica", "America/Coyhaique", "America/Creston", "America/Cuiaba", "America/Curacao", "America/Danmarkshavn", "America/Dawson_Creek", "America/Dawson", "America/Denver", "America/Detroit", "America/Dominica", "America/Edmonton", "America/Eirunepe", "America/El_Salvador", "America/Fort_Nelson", "America/Fortaleza", "America/Glace_Bay", "America/Goose_Bay", "America/Grand_Turk", "America/Grenada", "America/Guadeloupe", "America/Guatemala", "America/Guayaquil", "America/Guyana", "America/Halifax", "America/Havana", "America/Hermosillo", "America/Indiana/Indianapolis", "America/Indiana/Knox", "America/Indiana/Marengo", "America/Indiana/Petersburg", "America/Indiana/Tell_City", "America/Indiana/Vevay", "America/Indiana/Vincennes", "America/Indiana/Winamac", "America/Inuvik", "America/Iqaluit", "America/Jamaica", "America/Juneau", "America/Kentucky/Louisville", "America/Kentucky/Monticello", "America/Kralendijk", "America/La_Paz", "America/Lima", "America/Los_Angeles", "America/Lower_Princes", "America/Maceio", "America/Managua", "America/Manaus", "America/Marigot", "America/Martinique", "America/Matamoros", "America/Mazatlan", "America/Menominee", "America/Merida", "America/Metlakatla", "America/Mexico_City", "America/Miquelon", "America/Moncton", "America/Monterrey", "America/Montevideo", "America/Montserrat", "America/Nassau", "America/New_York", "America/Nipigon", "America/Nome", "America/Noronha", "America/North_Dakota/Beulah", "America/North_Dakota/Center", "America/North_Dakota/New_Salem", "America/Nuuk", "America/Ojinaga", "America/Panama", "America/Pangnirtung", "America/Paramaribo", "America/Phoenix", "America/Port_of_Spain", "America/Port-au-Prince", "America/Porto_Velho", "America/Puerto_Rico", "America/Punta_Arenas", "America/Rainy_River", "America/Rankin_Inlet", "America/Recife", "America/Regina", "America/Resolute", "America/Rio_Branco", "America/Santarem", "America/Santiago", "America/Santo_Domingo", "America/Sao_Paulo", "America/Scoresbysund", "America/Sitka", "America/St_Barthelemy", "America/St_Johns", "America/St_Kitts", "America/St_Lucia", "America/St_Thomas", "America/St_Vincent", "America/Swift_Current", "America/Tegucigalpa", "America/Thule", "America/Thunder_Bay", "America/Tijuana", "America/Toronto", "America/Tortola", "America/Vancouver", "America/Whitehorse", "America/Winnipeg", "America/Yakutat", "America/Yellowknife", "Antarctica/Casey", "Antarctica/Davis", "Antarctica/DumontDUrville", "Antarctica/Macquarie", "Antarctica/Mawson", "Antarctica/McMurdo", "Antarctica/Palmer", "Antarctica/Rothera", "Antarctica/Syowa", "Antarctica/Troll", "Antarctica/Vostok", "Arctic/Longyearbyen", "Asia/Aden", "Asia/Almaty", "Asia/Amman", "Asia/Anadyr", "Asia/Aqtau", "Asia/Aqtobe", "Asia/Ashgabat", "Asia/Atyrau", "Asia/Baghdad", "Asia/Bahrain", "Asia/Baku", "Asia/Bangkok", "Asia/Barnaul", "Asia/Beirut", "Asia/Bishkek", "Asia/Brunei", "Asia/Chita", "Asia/Choibalsan", "Asia/Colombo", "Asia/Damascus", "Asia/Dhaka", "Asia/Dili", "Asia/Dubai", "Asia/Dushanbe", "Asia/Famagusta", "Asia/Gaza", "Asia/Hebron", "Asia/Ho_Chi_Minh", "Asia/Hong_Kong", "Asia/Hovd", "Asia/Irkutsk", "Asia/Jakarta", "Asia/Jayapura", "Asia/Jerusalem", "Asia/Kabul", "Asia/Kamchatka", "Asia/Karachi", "Asia/Kathmandu", "Asia/Khandyga", "Asia/Kolkata", "Asia/Krasnoyarsk", "Asia/Kuala_Lumpur", "Asia/Kuching", "Asia/Kuwait", "Asia/Macau", "Asia/Magadan", "Asia/Makassar", "Asia/Manila", "Asia/Muscat", "Asia/Nicosia", "Asia/Novokuznetsk", "Asia/Novosibirsk", "Asia/Omsk", "Asia/Oral", "Asia/Phnom_Penh", "Asia/Pontianak", "Asia/Pyongyang", "Asia/Qatar", "Asia/Qostanay", "Asia/Qyzylorda", "Asia/Riyadh", "Asia/Sakhalin", "Asia/Samarkand", "Asia/Seoul", "Asia/Shanghai", "Asia/Singapore", "Asia/Srednekolymsk", "Asia/Taipei", "Asia/Tashkent", "Asia/Tbilisi", "Asia/Tehran", "Asia/Thimphu", "Asia/Tokyo", "Asia/Tomsk", "Asia/Ulaanbaatar", "Asia/Urumqi", "Asia/Ust-Nera", "Asia/Vientiane", "Asia/Vladivostok", "Asia/Yakutsk", "Asia/Yangon", "Asia/Yekaterinburg", "Asia/Yerevan", "Atlantic/Azores", "Atlantic/Bermuda", "Atlantic/Canary", "Atlantic/Cape_Verde", "Atlantic/Faroe", "Atlantic/Madeira", "Atlantic/Reykjavik", "Atlantic/South_Georgia", "Atlantic/St_Helena", "Atlantic/Stanley", "Australia/Adelaide", "Australia/Brisbane", "Australia/Broken_Hill", "Australia/Currie", "Australia/Darwin", "Australia/Eucla", "Australia/Hobart", "Australia/Lindeman", "Australia/Lord_Howe", "Australia/Melbourne", "Australia/Perth", "Australia/Sydney", "Europe/Amsterdam", "Europe/Andorra", "Europe/Astrakhan", "Europe/Athens", "Europe/Belgrade", "Europe/Berlin", "Europe/Bratislava", "Europe/Brussels", "Europe/Bucharest", "Europe/Budapest", "Europe/Busingen", "Europe/Chisinau", "Europe/Copenhagen", "Europe/Dublin", "Europe/Gibraltar", "Europe/Guernsey", "Europe/Helsinki", "Europe/Isle_of_Man", "Europe/Istanbul", "Europe/Jersey", "Europe/Kaliningrad", "Europe/Kyiv", "Europe/Kirov", "Europe/Lisbon", "Europe/Ljubljana", "Europe/London", "Europe/Luxembourg", "Europe/Madrid", "Europe/Malta", "Europe/Mariehamn", "Europe/Minsk", "Europe/Monaco", "Europe/Moscow", "Europe/Oslo", "Europe/Paris", "Europe/Podgorica", "Europe/Prague", "Europe/Riga", "Europe/Rome", "Europe/Samara", "Europe/San_Marino", "Europe/Sarajevo", "Europe/Saratov", "Europe/Simferopol", "Europe/Skopje", "Europe/Sofia", "Europe/Stockholm", "Europe/Tallinn", "Europe/Tirane", "Europe/Ulyanovsk", "Europe/Uzhgorod", "Europe/Vaduz", "Europe/Vatican", "Europe/Vienna", "Europe/Vilnius", "Europe/Volgograd", "Europe/Warsaw", "Europe/Zagreb", "Europe/Zaporozhye", "Europe/Zurich", "Indian/Antananarivo", "Indian/Chagos", "Indian/Christmas", "Indian/Cocos", "Indian/Comoro", "Indian/Kerguelen", "Indian/Mahe", "Indian/Maldives", "Indian/Mauritius", "Indian/Mayotte", "Indian/Reunion", "Pacific/Apia", "Pacific/Auckland", "Pacific/Bougainville", "Pacific/Chatham", "Pacific/Chuuk", "Pacific/Easter", "Pacific/Efate", "Pacific/Kanton", "Pacific/Fakaofo", "Pacific/Fiji", "Pacific/Funafuti", "Pacific/Galapagos", "Pacific/Gambier", "Pacific/Guadalcanal", "Pacific/Guam", "Pacific/Honolulu", "Pacific/Kiritimati", "Pacific/Kosrae", "Pacific/Kwajalein", "Pacific/Majuro", "Pacific/Marquesas", "Pacific/Midway", "Pacific/Nauru", "Pacific/Niue", "Pacific/Norfolk", "Pacific/Noumea", "Pacific/Pago_Pago", "Pacific/Palau", "Pacific/Pitcairn", "Pacific/Pohnpei", "Pacific/Port_Moresby", "Pacific/Rarotonga", "Pacific/Saipan", "Pacific/Tahiti", "Pacific/Tarawa", "Pacific/Tongatapu", "Pacific/Wake", "Pacific/Wallis"];
4302
-
4303
- // packages/intl-supportedvaluesof/src/get-supported-timezones.ts
4304
- function isSupportedTimeZone(timeZone) {
4305
- try {
4306
- const formatter = createMemoizedDateTimeFormat("en", { timeZone });
4307
- return formatter.resolvedOptions().timeZone === timeZone;
4308
- } catch {
4309
- }
4310
- return false;
4311
- }
4312
- function getSupportedTimeZones() {
4313
- return timezones.filter(isSupportedTimeZone).sort();
4314
- }
4315
-
4316
- // packages/intl-supportedvaluesof/src/units.generated.ts
4317
- var units = ["degree", "acre", "hectare", "percent", "bit", "byte", "gigabit", "gigabyte", "kilobit", "kilobyte", "megabit", "megabyte", "petabyte", "terabit", "terabyte", "day", "hour", "millisecond", "minute", "month", "second", "week", "year", "centimeter", "foot", "inch", "kilometer", "meter", "mile-scandinavian", "mile", "millimeter", "yard", "gram", "kilogram", "ounce", "pound", "stone", "celsius", "fahrenheit", "fluid-ounce", "gallon", "liter", "milliliter"];
4318
-
4319
- // packages/intl-supportedvaluesof/src/get-supported-units.ts
4320
- function isSupportedUnit(unit) {
4321
- try {
4322
- const formatter = createMemoizedNumberFormat("en", { style: "unit", unit });
4323
- return formatter.resolvedOptions().unit === unit;
4324
- } catch {
4325
- }
4326
- return false;
4327
- }
4328
- function getSupportedUnits() {
4329
- return units.filter(isSupportedUnit).sort();
4330
- }
4331
-
4332
- // packages/intl-supportedvaluesof/src/index.ts
4333
- function supportedValuesOf(key) {
4334
- switch (key) {
4335
- case "calendar":
4336
- return getSupportedCalendars();
4337
- case "collation":
4338
- return getSupportedCollations();
4339
- case "currency":
4340
- return getSupportedCurrencies();
4341
- case "numberingSystem":
4342
- return getSupportedNumberingSystems();
4343
- case "timeZone":
4344
- return getSupportedTimeZones();
4345
- case "unit":
4346
- return getSupportedUnits();
4347
- default:
4348
- throw RangeError("Invalid key: " + key);
4349
- }
4350
- }
4351
-
4352
- // packages/intl-supportedvaluesof/polyfill.ts
4353
- if (shouldPolyfill()) {
4354
- Object.defineProperty(Intl, "supportedValuesOf", {
4355
- value: supportedValuesOf,
4356
- enumerable: true,
4357
- writable: false,
4358
- configurable: false
4359
- });
4360
- }
4361
- })();
4362
- //# sourceMappingURL=polyfill.iife.js.map
290
+ //# sourceMappingURL=polyfill.iife.js.map