@formatjs/intl-numberformat 8.10.3 → 8.12.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/lib/src/core.js CHANGED
@@ -1,4 +1,4 @@
1
- import { CanonicalizeLocaleList, FormatNumericRange, FormatNumericRangeToParts, FormatNumericToParts, InitializeNumberFormat, OrdinaryHasInstance, SupportedLocales, ToNumber, defineProperty, invariant, } from '@formatjs/ecma402-abstract';
1
+ import { CanonicalizeLocaleList, FormatNumericRange, FormatNumericRangeToParts, FormatNumericToParts, InitializeNumberFormat, OrdinaryHasInstance, SupportedLocales, ToNumber, createMemoizedPluralRules, defineProperty, invariant, } from '@formatjs/ecma402-abstract';
2
2
  import { currencyDigitsData } from './currency-digits.generated';
3
3
  import { numberingSystemNames } from './numbering-systems.generated';
4
4
  // eslint-disable-next-line import/no-cycle
@@ -42,7 +42,7 @@ export var NumberFormat = function (locales, options) {
42
42
  var dataLocale = internalSlots.dataLocale;
43
43
  var dataLocaleData = NumberFormat.localeData[dataLocale];
44
44
  invariant(dataLocaleData !== undefined, "Cannot load locale-dependent data for ".concat(dataLocale, "."));
45
- internalSlots.pl = new Intl.PluralRules(dataLocale, {
45
+ internalSlots.pl = createMemoizedPluralRules(dataLocale, {
46
46
  minimumFractionDigits: internalSlots.minimumFractionDigits,
47
47
  maximumFractionDigits: internalSlots.maximumFractionDigits,
48
48
  minimumIntegerDigits: internalSlots.minimumIntegerDigits,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@formatjs/intl-numberformat",
3
- "version": "8.10.3",
3
+ "version": "8.12.0",
4
4
  "description": "Ponyfill for ES2020 Intl.NumberFormat",
5
5
  "keywords": [
6
6
  "polyfill",
@@ -22,14 +22,14 @@
22
22
  "url": "git+https://github.com/formatjs/formatjs.git"
23
23
  },
24
24
  "dependencies": {
25
- "tslib": "^2.4.0",
26
- "@formatjs/intl-localematcher": "0.5.4",
27
- "@formatjs/ecma402-abstract": "2.0.0"
25
+ "tslib": "^2.7.0",
26
+ "@formatjs/ecma402-abstract": "2.2.0",
27
+ "@formatjs/intl-localematcher": "0.5.5"
28
28
  },
29
29
  "devDependencies": {
30
- "@formatjs/intl-pluralrules": "5.2.14",
31
- "@formatjs/intl-getcanonicallocales": "2.3.0",
32
- "@formatjs/intl-locale": "4.0.0"
30
+ "@formatjs/intl-pluralrules": "5.2.16",
31
+ "@formatjs/intl-getcanonicallocales": "2.3.1",
32
+ "@formatjs/intl-locale": "4.0.2"
33
33
  },
34
34
  "bugs": {
35
35
  "url": "https://github.com/formatjs/formatjs/issues"
package/polyfill.iife.js CHANGED
@@ -1,10 +1,10 @@
1
1
  (() => {
2
- // ../../../../../../../../execroot/formatjs/bazel-out/darwin_arm64-fastbuild/bin/node_modules/.aspect_rules_js/@formatjs+ecma402-abstract@0.0.0/node_modules/@formatjs/ecma402-abstract/lib/CanonicalizeLocaleList.js
2
+ // node_modules/.aspect_rules_js/@formatjs+ecma402-abstract@0.0.0/node_modules/@formatjs/ecma402-abstract/lib/CanonicalizeLocaleList.js
3
3
  function CanonicalizeLocaleList(locales) {
4
4
  return Intl.getCanonicalLocales(locales);
5
5
  }
6
6
 
7
- // ../../../../../../../../execroot/formatjs/bazel-out/darwin_arm64-fastbuild/bin/node_modules/.aspect_rules_js/@formatjs+ecma402-abstract@0.0.0/node_modules/@formatjs/ecma402-abstract/lib/262.js
7
+ // node_modules/.aspect_rules_js/@formatjs+ecma402-abstract@0.0.0/node_modules/@formatjs/ecma402-abstract/lib/262.js
8
8
  function ToString(o) {
9
9
  if (typeof o === "symbol") {
10
10
  throw TypeError("Cannot convert a Symbol value to a string");
@@ -76,7 +76,7 @@
76
76
  return Object.prototype.isPrototypeOf.call(P, O);
77
77
  }
78
78
 
79
- // ../../../../../../../../execroot/formatjs/bazel-out/darwin_arm64-fastbuild/bin/node_modules/.aspect_rules_js/@formatjs+ecma402-abstract@0.0.0/node_modules/@formatjs/ecma402-abstract/lib/CoerceOptionsToObject.js
79
+ // node_modules/.aspect_rules_js/@formatjs+ecma402-abstract@0.0.0/node_modules/@formatjs/ecma402-abstract/lib/CoerceOptionsToObject.js
80
80
  function CoerceOptionsToObject(options) {
81
81
  if (typeof options === "undefined") {
82
82
  return /* @__PURE__ */ Object.create(null);
@@ -84,7 +84,7 @@
84
84
  return ToObject(options);
85
85
  }
86
86
 
87
- // ../../../../../../../../execroot/formatjs/bazel-out/darwin_arm64-fastbuild/bin/node_modules/.aspect_rules_js/@formatjs+ecma402-abstract@0.0.0/node_modules/@formatjs/ecma402-abstract/lib/DefaultNumberOption.js
87
+ // node_modules/.aspect_rules_js/@formatjs+ecma402-abstract@0.0.0/node_modules/@formatjs/ecma402-abstract/lib/DefaultNumberOption.js
88
88
  function DefaultNumberOption(inputVal, min, max, fallback) {
89
89
  if (inputVal === void 0) {
90
90
  return fallback;
@@ -96,13 +96,13 @@
96
96
  return Math.floor(val);
97
97
  }
98
98
 
99
- // ../../../../../../../../execroot/formatjs/bazel-out/darwin_arm64-fastbuild/bin/node_modules/.aspect_rules_js/@formatjs+ecma402-abstract@0.0.0/node_modules/@formatjs/ecma402-abstract/lib/GetNumberOption.js
99
+ // node_modules/.aspect_rules_js/@formatjs+ecma402-abstract@0.0.0/node_modules/@formatjs/ecma402-abstract/lib/GetNumberOption.js
100
100
  function GetNumberOption(options, property, minimum, maximum, fallback) {
101
101
  var val = options[property];
102
102
  return DefaultNumberOption(val, minimum, maximum, fallback);
103
103
  }
104
104
 
105
- // ../../../../../../../../execroot/formatjs/bazel-out/darwin_arm64-fastbuild/bin/node_modules/.aspect_rules_js/@formatjs+ecma402-abstract@0.0.0/node_modules/@formatjs/ecma402-abstract/lib/GetOption.js
105
+ // node_modules/.aspect_rules_js/@formatjs+ecma402-abstract@0.0.0/node_modules/@formatjs/ecma402-abstract/lib/GetOption.js
106
106
  function GetOption(opts, prop, type, values, fallback) {
107
107
  if (typeof opts !== "object") {
108
108
  throw new TypeError("Options must be an object");
@@ -128,7 +128,7 @@
128
128
  return fallback;
129
129
  }
130
130
 
131
- // ../../../../../../../../execroot/formatjs/bazel-out/darwin_arm64-fastbuild/bin/node_modules/.aspect_rules_js/@formatjs+ecma402-abstract@0.0.0/node_modules/@formatjs/ecma402-abstract/lib/GetStringOrBooleanOption.js
131
+ // node_modules/.aspect_rules_js/@formatjs+ecma402-abstract@0.0.0/node_modules/@formatjs/ecma402-abstract/lib/GetStringOrBooleanOption.js
132
132
  function GetStringOrBooleanOption(opts, prop, values, trueValue, falsyValue, fallback) {
133
133
  var value = opts[prop];
134
134
  if (value === void 0) {
@@ -151,7 +151,7 @@
151
151
  return value;
152
152
  }
153
153
 
154
- // ../../../../../../../../execroot/formatjs/bazel-out/darwin_arm64-fastbuild/bin/node_modules/.aspect_rules_js/@formatjs+ecma402-abstract@0.0.0/node_modules/@formatjs/ecma402-abstract/lib/IsSanctionedSimpleUnitIdentifier.js
154
+ // node_modules/.aspect_rules_js/@formatjs+ecma402-abstract@0.0.0/node_modules/@formatjs/ecma402-abstract/lib/IsSanctionedSimpleUnitIdentifier.js
155
155
  var SANCTIONED_UNITS = [
156
156
  "angle-degree",
157
157
  "area-acre",
@@ -205,7 +205,7 @@
205
205
  return SIMPLE_UNITS.indexOf(unitIdentifier) > -1;
206
206
  }
207
207
 
208
- // ../../../../../../../../execroot/formatjs/bazel-out/darwin_arm64-fastbuild/bin/node_modules/.aspect_rules_js/@formatjs+ecma402-abstract@0.0.0/node_modules/@formatjs/ecma402-abstract/lib/IsWellFormedCurrencyCode.js
208
+ // node_modules/.aspect_rules_js/@formatjs+ecma402-abstract@0.0.0/node_modules/@formatjs/ecma402-abstract/lib/IsWellFormedCurrencyCode.js
209
209
  function toUpperCase(str) {
210
210
  return str.replace(/([a-z])/g, function(_, c) {
211
211
  return c.toUpperCase();
@@ -223,7 +223,7 @@
223
223
  return true;
224
224
  }
225
225
 
226
- // ../../../../../../../../execroot/formatjs/bazel-out/darwin_arm64-fastbuild/bin/node_modules/.aspect_rules_js/@formatjs+ecma402-abstract@0.0.0/node_modules/@formatjs/ecma402-abstract/lib/IsWellFormedUnitIdentifier.js
226
+ // node_modules/.aspect_rules_js/@formatjs+ecma402-abstract@0.0.0/node_modules/@formatjs/ecma402-abstract/lib/IsWellFormedUnitIdentifier.js
227
227
  function toLowerCase(str) {
228
228
  return str.replace(/([A-Z])/g, function(_, c) {
229
229
  return c.toLowerCase();
@@ -245,12 +245,111 @@
245
245
  return true;
246
246
  }
247
247
 
248
- // ../../../../../../../../execroot/formatjs/bazel-out/darwin_arm64-fastbuild/bin/node_modules/.aspect_rules_js/@formatjs+ecma402-abstract@0.0.0/node_modules/@formatjs/ecma402-abstract/lib/NumberFormat/CollapseNumberRange.js
248
+ // node_modules/.aspect_rules_js/@formatjs+ecma402-abstract@0.0.0/node_modules/@formatjs/ecma402-abstract/lib/NumberFormat/CollapseNumberRange.js
249
249
  function CollapseNumberRange(result) {
250
250
  return result;
251
251
  }
252
252
 
253
- // ../../../../../../../../execroot/formatjs/bazel-out/darwin_arm64-fastbuild/bin/node_modules/.aspect_rules_js/@formatjs+ecma402-abstract@0.0.0/node_modules/@formatjs/ecma402-abstract/lib/utils.js
253
+ // node_modules/.aspect_rules_js/tslib@2.7.0/node_modules/tslib/tslib.es6.mjs
254
+ var extendStatics = function(d, b) {
255
+ extendStatics = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(d2, b2) {
256
+ d2.__proto__ = b2;
257
+ } || function(d2, b2) {
258
+ for (var p in b2)
259
+ if (Object.prototype.hasOwnProperty.call(b2, p))
260
+ d2[p] = b2[p];
261
+ };
262
+ return extendStatics(d, b);
263
+ };
264
+ function __extends(d, b) {
265
+ if (typeof b !== "function" && b !== null)
266
+ throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
267
+ extendStatics(d, b);
268
+ function __() {
269
+ this.constructor = d;
270
+ }
271
+ d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
272
+ }
273
+ function __spreadArray(to, from, pack) {
274
+ if (pack || arguments.length === 2)
275
+ for (var i = 0, l = from.length, ar; i < l; i++) {
276
+ if (ar || !(i in from)) {
277
+ if (!ar)
278
+ ar = Array.prototype.slice.call(from, 0, i);
279
+ ar[i] = from[i];
280
+ }
281
+ }
282
+ return to.concat(ar || Array.prototype.slice.call(from));
283
+ }
284
+
285
+ // node_modules/.aspect_rules_js/@formatjs+fast-memoize@0.0.0/node_modules/@formatjs/fast-memoize/lib/index.js
286
+ function memoize(fn, options) {
287
+ var cache = options && options.cache ? options.cache : cacheDefault;
288
+ var serializer = options && options.serializer ? options.serializer : serializerDefault;
289
+ var strategy = options && options.strategy ? options.strategy : strategyDefault;
290
+ return strategy(fn, {
291
+ cache,
292
+ serializer
293
+ });
294
+ }
295
+ function isPrimitive(value) {
296
+ return value == null || typeof value === "number" || typeof value === "boolean";
297
+ }
298
+ function monadic(fn, cache, serializer, arg) {
299
+ var cacheKey = isPrimitive(arg) ? arg : serializer(arg);
300
+ var computedValue = cache.get(cacheKey);
301
+ if (typeof computedValue === "undefined") {
302
+ computedValue = fn.call(this, arg);
303
+ cache.set(cacheKey, computedValue);
304
+ }
305
+ return computedValue;
306
+ }
307
+ function variadic(fn, cache, serializer) {
308
+ var args = Array.prototype.slice.call(arguments, 3);
309
+ var cacheKey = serializer(args);
310
+ var computedValue = cache.get(cacheKey);
311
+ if (typeof computedValue === "undefined") {
312
+ computedValue = fn.apply(this, args);
313
+ cache.set(cacheKey, computedValue);
314
+ }
315
+ return computedValue;
316
+ }
317
+ function assemble(fn, context, strategy, cache, serialize) {
318
+ return strategy.bind(context, fn, cache, serialize);
319
+ }
320
+ function strategyDefault(fn, options) {
321
+ var strategy = fn.length === 1 ? monadic : variadic;
322
+ return assemble(fn, this, strategy, options.cache.create(), options.serializer);
323
+ }
324
+ function strategyVariadic(fn, options) {
325
+ return assemble(fn, this, variadic, options.cache.create(), options.serializer);
326
+ }
327
+ function strategyMonadic(fn, options) {
328
+ return assemble(fn, this, monadic, options.cache.create(), options.serializer);
329
+ }
330
+ var serializerDefault = function() {
331
+ return JSON.stringify(arguments);
332
+ };
333
+ function ObjectWithoutPrototypeCache() {
334
+ this.cache = /* @__PURE__ */ Object.create(null);
335
+ }
336
+ ObjectWithoutPrototypeCache.prototype.get = function(key) {
337
+ return this.cache[key];
338
+ };
339
+ ObjectWithoutPrototypeCache.prototype.set = function(key, value) {
340
+ this.cache[key] = value;
341
+ };
342
+ var cacheDefault = {
343
+ create: function create() {
344
+ return new ObjectWithoutPrototypeCache();
345
+ }
346
+ };
347
+ var strategies = {
348
+ variadic: strategyVariadic,
349
+ monadic: strategyMonadic
350
+ };
351
+
352
+ // node_modules/.aspect_rules_js/@formatjs+ecma402-abstract@0.0.0/node_modules/@formatjs/ecma402-abstract/lib/utils.js
254
353
  function getMagnitude(x) {
255
354
  return Math.floor(Math.log(x) * Math.LOG10E);
256
355
  }
@@ -281,8 +380,58 @@
281
380
  throw new Err(message);
282
381
  }
283
382
  }
383
+ var createMemoizedNumberFormat = memoize(function() {
384
+ var _a;
385
+ var args = [];
386
+ for (var _i = 0; _i < arguments.length; _i++) {
387
+ args[_i] = arguments[_i];
388
+ }
389
+ return new ((_a = Intl.NumberFormat).bind.apply(_a, __spreadArray([void 0], args, false)))();
390
+ }, {
391
+ strategy: strategies.variadic
392
+ });
393
+ var createMemoizedDateTimeFormat = memoize(function() {
394
+ var _a;
395
+ var args = [];
396
+ for (var _i = 0; _i < arguments.length; _i++) {
397
+ args[_i] = arguments[_i];
398
+ }
399
+ return new ((_a = Intl.DateTimeFormat).bind.apply(_a, __spreadArray([void 0], args, false)))();
400
+ }, {
401
+ strategy: strategies.variadic
402
+ });
403
+ var createMemoizedPluralRules = memoize(function() {
404
+ var _a;
405
+ var args = [];
406
+ for (var _i = 0; _i < arguments.length; _i++) {
407
+ args[_i] = arguments[_i];
408
+ }
409
+ return new ((_a = Intl.PluralRules).bind.apply(_a, __spreadArray([void 0], args, false)))();
410
+ }, {
411
+ strategy: strategies.variadic
412
+ });
413
+ var createMemoizedLocale = memoize(function() {
414
+ var _a;
415
+ var args = [];
416
+ for (var _i = 0; _i < arguments.length; _i++) {
417
+ args[_i] = arguments[_i];
418
+ }
419
+ return new ((_a = Intl.Locale).bind.apply(_a, __spreadArray([void 0], args, false)))();
420
+ }, {
421
+ strategy: strategies.variadic
422
+ });
423
+ var createMemoizedListFormat = memoize(function() {
424
+ var _a;
425
+ var args = [];
426
+ for (var _i = 0; _i < arguments.length; _i++) {
427
+ args[_i] = arguments[_i];
428
+ }
429
+ return new ((_a = Intl.ListFormat).bind.apply(_a, __spreadArray([void 0], args, false)))();
430
+ }, {
431
+ strategy: strategies.variadic
432
+ });
284
433
 
285
- // ../../../../../../../../execroot/formatjs/bazel-out/darwin_arm64-fastbuild/bin/node_modules/.aspect_rules_js/@formatjs+ecma402-abstract@0.0.0/node_modules/@formatjs/ecma402-abstract/lib/NumberFormat/ComputeExponentForMagnitude.js
434
+ // node_modules/.aspect_rules_js/@formatjs+ecma402-abstract@0.0.0/node_modules/@formatjs/ecma402-abstract/lib/NumberFormat/ComputeExponentForMagnitude.js
286
435
  function ComputeExponentForMagnitude(numberFormat, magnitude, _a) {
287
436
  var getInternalSlots2 = _a.getInternalSlots;
288
437
  var internalSlots = getInternalSlots2(numberFormat);
@@ -329,7 +478,7 @@
329
478
  }
330
479
  }
331
480
 
332
- // ../../../../../../../../execroot/formatjs/bazel-out/darwin_arm64-fastbuild/bin/node_modules/.aspect_rules_js/@formatjs+ecma402-abstract@0.0.0/node_modules/@formatjs/ecma402-abstract/lib/NumberFormat/ToRawPrecision.js
481
+ // node_modules/.aspect_rules_js/@formatjs+ecma402-abstract@0.0.0/node_modules/@formatjs/ecma402-abstract/lib/NumberFormat/ToRawPrecision.js
333
482
  function ToRawPrecision(x, minPrecision, maxPrecision) {
334
483
  var p = maxPrecision;
335
484
  var m;
@@ -387,7 +536,7 @@
387
536
  }
388
537
  }
389
538
 
390
- // ../../../../../../../../execroot/formatjs/bazel-out/darwin_arm64-fastbuild/bin/node_modules/.aspect_rules_js/@formatjs+ecma402-abstract@0.0.0/node_modules/@formatjs/ecma402-abstract/lib/NumberFormat/ToRawFixed.js
539
+ // node_modules/.aspect_rules_js/@formatjs+ecma402-abstract@0.0.0/node_modules/@formatjs/ecma402-abstract/lib/NumberFormat/ToRawFixed.js
391
540
  function ToRawFixed(x, minFraction, maxFraction) {
392
541
  var f = maxFraction;
393
542
  var n = Math.round(x * Math.pow(10, f));
@@ -427,7 +576,7 @@
427
576
  return { formattedString: m, roundedNumber: xFinal, integerDigitsCount: int };
428
577
  }
429
578
 
430
- // ../../../../../../../../execroot/formatjs/bazel-out/darwin_arm64-fastbuild/bin/node_modules/.aspect_rules_js/@formatjs+ecma402-abstract@0.0.0/node_modules/@formatjs/ecma402-abstract/lib/NumberFormat/FormatNumericToString.js
579
+ // node_modules/.aspect_rules_js/@formatjs+ecma402-abstract@0.0.0/node_modules/@formatjs/ecma402-abstract/lib/NumberFormat/FormatNumericToString.js
431
580
  function FormatNumericToString(intlObject, x) {
432
581
  var isNegative = x < 0 || SameValue(x, -0);
433
582
  if (isNegative) {
@@ -463,7 +612,7 @@
463
612
  return { roundedNumber: x, formattedString: string };
464
613
  }
465
614
 
466
- // ../../../../../../../../execroot/formatjs/bazel-out/darwin_arm64-fastbuild/bin/node_modules/.aspect_rules_js/@formatjs+ecma402-abstract@0.0.0/node_modules/@formatjs/ecma402-abstract/lib/NumberFormat/ComputeExponent.js
615
+ // node_modules/.aspect_rules_js/@formatjs+ecma402-abstract@0.0.0/node_modules/@formatjs/ecma402-abstract/lib/NumberFormat/ComputeExponent.js
467
616
  function ComputeExponent(numberFormat, x, _a) {
468
617
  var getInternalSlots2 = _a.getInternalSlots;
469
618
  if (x === 0) {
@@ -493,26 +642,16 @@
493
642
  ];
494
643
  }
495
644
 
496
- // ../../../../../../../../execroot/formatjs/bazel-out/darwin_arm64-fastbuild/bin/node_modules/.aspect_rules_js/@formatjs+ecma402-abstract@0.0.0/node_modules/@formatjs/ecma402-abstract/lib/NumberFormat/CurrencyDigits.js
645
+ // node_modules/.aspect_rules_js/@formatjs+ecma402-abstract@0.0.0/node_modules/@formatjs/ecma402-abstract/lib/NumberFormat/CurrencyDigits.js
497
646
  function CurrencyDigits(c, _a) {
498
647
  var currencyDigitsData2 = _a.currencyDigitsData;
499
648
  return HasOwnProperty(currencyDigitsData2, c) ? currencyDigitsData2[c] : 2;
500
649
  }
501
650
 
502
- // ../../../../../../../../execroot/formatjs/bazel-out/darwin_arm64-fastbuild/bin/node_modules/.aspect_rules_js/@formatjs+ecma402-abstract@0.0.0/node_modules/@formatjs/ecma402-abstract/lib/NumberFormat/FormatApproximately.js
503
- function FormatApproximately(numberFormat, result, _a) {
504
- var getInternalSlots2 = _a.getInternalSlots;
505
- var internalSlots = getInternalSlots2(numberFormat);
506
- var symbols = internalSlots.dataLocaleData.numbers.symbols[internalSlots.numberingSystem];
507
- var approximatelySign = symbols.approximatelySign;
508
- result.push({ type: "approximatelySign", value: approximatelySign });
509
- return result;
510
- }
511
-
512
- // ../../../../../../../../execroot/formatjs/bazel-out/darwin_arm64-fastbuild/bin/node_modules/.aspect_rules_js/@formatjs+ecma402-abstract@0.0.0/node_modules/@formatjs/ecma402-abstract/lib/regex.generated.js
651
+ // node_modules/.aspect_rules_js/@formatjs+ecma402-abstract@0.0.0/node_modules/@formatjs/ecma402-abstract/lib/regex.generated.js
513
652
  var S_UNICODE_REGEX = /[\$\+<->\^`\|~\xA2-\xA6\xA8\xA9\xAC\xAE-\xB1\xB4\xB8\xD7\xF7\u02C2-\u02C5\u02D2-\u02DF\u02E5-\u02EB\u02ED\u02EF-\u02FF\u0375\u0384\u0385\u03F6\u0482\u058D-\u058F\u0606-\u0608\u060B\u060E\u060F\u06DE\u06E9\u06FD\u06FE\u07F6\u07FE\u07FF\u09F2\u09F3\u09FA\u09FB\u0AF1\u0B70\u0BF3-\u0BFA\u0C7F\u0D4F\u0D79\u0E3F\u0F01-\u0F03\u0F13\u0F15-\u0F17\u0F1A-\u0F1F\u0F34\u0F36\u0F38\u0FBE-\u0FC5\u0FC7-\u0FCC\u0FCE\u0FCF\u0FD5-\u0FD8\u109E\u109F\u1390-\u1399\u166D\u17DB\u1940\u19DE-\u19FF\u1B61-\u1B6A\u1B74-\u1B7C\u1FBD\u1FBF-\u1FC1\u1FCD-\u1FCF\u1FDD-\u1FDF\u1FED-\u1FEF\u1FFD\u1FFE\u2044\u2052\u207A-\u207C\u208A-\u208C\u20A0-\u20BF\u2100\u2101\u2103-\u2106\u2108\u2109\u2114\u2116-\u2118\u211E-\u2123\u2125\u2127\u2129\u212E\u213A\u213B\u2140-\u2144\u214A-\u214D\u214F\u218A\u218B\u2190-\u2307\u230C-\u2328\u232B-\u2426\u2440-\u244A\u249C-\u24E9\u2500-\u2767\u2794-\u27C4\u27C7-\u27E5\u27F0-\u2982\u2999-\u29D7\u29DC-\u29FB\u29FE-\u2B73\u2B76-\u2B95\u2B97-\u2BFF\u2CE5-\u2CEA\u2E50\u2E51\u2E80-\u2E99\u2E9B-\u2EF3\u2F00-\u2FD5\u2FF0-\u2FFB\u3004\u3012\u3013\u3020\u3036\u3037\u303E\u303F\u309B\u309C\u3190\u3191\u3196-\u319F\u31C0-\u31E3\u3200-\u321E\u322A-\u3247\u3250\u3260-\u327F\u328A-\u32B0\u32C0-\u33FF\u4DC0-\u4DFF\uA490-\uA4C6\uA700-\uA716\uA720\uA721\uA789\uA78A\uA828-\uA82B\uA836-\uA839\uAA77-\uAA79\uAB5B\uAB6A\uAB6B\uFB29\uFBB2-\uFBC1\uFDFC\uFDFD\uFE62\uFE64-\uFE66\uFE69\uFF04\uFF0B\uFF1C-\uFF1E\uFF3E\uFF40\uFF5C\uFF5E\uFFE0-\uFFE6\uFFE8-\uFFEE\uFFFC\uFFFD]|\uD800[\uDD37-\uDD3F\uDD79-\uDD89\uDD8C-\uDD8E\uDD90-\uDD9C\uDDA0\uDDD0-\uDDFC]|\uD802[\uDC77\uDC78\uDEC8]|\uD805\uDF3F|\uD807[\uDFD5-\uDFF1]|\uD81A[\uDF3C-\uDF3F\uDF45]|\uD82F\uDC9C|\uD834[\uDC00-\uDCF5\uDD00-\uDD26\uDD29-\uDD64\uDD6A-\uDD6C\uDD83\uDD84\uDD8C-\uDDA9\uDDAE-\uDDE8\uDE00-\uDE41\uDE45\uDF00-\uDF56]|\uD835[\uDEC1\uDEDB\uDEFB\uDF15\uDF35\uDF4F\uDF6F\uDF89\uDFA9\uDFC3]|\uD836[\uDC00-\uDDFF\uDE37-\uDE3A\uDE6D-\uDE74\uDE76-\uDE83\uDE85\uDE86]|\uD838[\uDD4F\uDEFF]|\uD83B[\uDCAC\uDCB0\uDD2E\uDEF0\uDEF1]|\uD83C[\uDC00-\uDC2B\uDC30-\uDC93\uDCA0-\uDCAE\uDCB1-\uDCBF\uDCC1-\uDCCF\uDCD1-\uDCF5\uDD0D-\uDDAD\uDDE6-\uDE02\uDE10-\uDE3B\uDE40-\uDE48\uDE50\uDE51\uDE60-\uDE65\uDF00-\uDFFF]|\uD83D[\uDC00-\uDED7\uDEE0-\uDEEC\uDEF0-\uDEFC\uDF00-\uDF73\uDF80-\uDFD8\uDFE0-\uDFEB]|\uD83E[\uDC00-\uDC0B\uDC10-\uDC47\uDC50-\uDC59\uDC60-\uDC87\uDC90-\uDCAD\uDCB0\uDCB1\uDD00-\uDD78\uDD7A-\uDDCB\uDDCD-\uDE53\uDE60-\uDE6D\uDE70-\uDE74\uDE78-\uDE7A\uDE80-\uDE86\uDE90-\uDEA8\uDEB0-\uDEB6\uDEC0-\uDEC2\uDED0-\uDED6\uDF00-\uDF92\uDF94-\uDFCA]/;
514
653
 
515
- // ../../../../../../../../execroot/formatjs/bazel-out/darwin_arm64-fastbuild/bin/node_modules/.aspect_rules_js/@formatjs+ecma402-abstract@0.0.0/node_modules/@formatjs/ecma402-abstract/lib/NumberFormat/digit-mapping.generated.js
654
+ // node_modules/.aspect_rules_js/@formatjs+ecma402-abstract@0.0.0/node_modules/@formatjs/ecma402-abstract/lib/NumberFormat/digit-mapping.generated.js
516
655
  var digitMapping = {
517
656
  "adlm": [
518
657
  "\u{1E950}",
@@ -1296,7 +1435,7 @@
1296
1435
  ]
1297
1436
  };
1298
1437
 
1299
- // ../../../../../../../../execroot/formatjs/bazel-out/darwin_arm64-fastbuild/bin/node_modules/.aspect_rules_js/@formatjs+ecma402-abstract@0.0.0/node_modules/@formatjs/ecma402-abstract/lib/NumberFormat/format_to_parts.js
1438
+ // node_modules/.aspect_rules_js/@formatjs+ecma402-abstract@0.0.0/node_modules/@formatjs/ecma402-abstract/lib/NumberFormat/format_to_parts.js
1300
1439
  var CARET_S_UNICODE_REGEX = new RegExp("^".concat(S_UNICODE_REGEX.source));
1301
1440
  var S_DOLLAR_UNICODE_REGEX = new RegExp("".concat(S_UNICODE_REGEX.source, "$"));
1302
1441
  var CLDR_NUMBER_PATTERN = /[#0](?:[\.,][#0]+)*/g;
@@ -1598,7 +1737,17 @@
1598
1737
  return rules[pl.select(x)] || rules.other;
1599
1738
  }
1600
1739
 
1601
- // ../../../../../../../../execroot/formatjs/bazel-out/darwin_arm64-fastbuild/bin/node_modules/.aspect_rules_js/@formatjs+ecma402-abstract@0.0.0/node_modules/@formatjs/ecma402-abstract/lib/NumberFormat/PartitionNumberPattern.js
1740
+ // node_modules/.aspect_rules_js/@formatjs+ecma402-abstract@0.0.0/node_modules/@formatjs/ecma402-abstract/lib/NumberFormat/FormatApproximately.js
1741
+ function FormatApproximately(numberFormat, result, _a) {
1742
+ var getInternalSlots2 = _a.getInternalSlots;
1743
+ var internalSlots = getInternalSlots2(numberFormat);
1744
+ var symbols = internalSlots.dataLocaleData.numbers.symbols[internalSlots.numberingSystem];
1745
+ var approximatelySign = symbols.approximatelySign;
1746
+ result.push({ type: "approximatelySign", value: approximatelySign });
1747
+ return result;
1748
+ }
1749
+
1750
+ // node_modules/.aspect_rules_js/@formatjs+ecma402-abstract@0.0.0/node_modules/@formatjs/ecma402-abstract/lib/NumberFormat/PartitionNumberPattern.js
1602
1751
  function PartitionNumberPattern(numberFormat, x, _a) {
1603
1752
  var _b;
1604
1753
  var getInternalSlots2 = _a.getInternalSlots;
@@ -1662,7 +1811,7 @@
1662
1811
  return formatToParts({ roundedNumber: x, formattedString: n, exponent, magnitude, sign }, internalSlots.dataLocaleData, pl, internalSlots);
1663
1812
  }
1664
1813
 
1665
- // ../../../../../../../../execroot/formatjs/bazel-out/darwin_arm64-fastbuild/bin/node_modules/.aspect_rules_js/@formatjs+ecma402-abstract@0.0.0/node_modules/@formatjs/ecma402-abstract/lib/NumberFormat/PartitionNumberRangePattern.js
1814
+ // node_modules/.aspect_rules_js/@formatjs+ecma402-abstract@0.0.0/node_modules/@formatjs/ecma402-abstract/lib/NumberFormat/PartitionNumberRangePattern.js
1666
1815
  function PartitionNumberRangePattern(numberFormat, x, y, _a) {
1667
1816
  var getInternalSlots2 = _a.getInternalSlots;
1668
1817
  if (isNaN(x) || isNaN(y)) {
@@ -1690,7 +1839,7 @@
1690
1839
  return CollapseNumberRange(result);
1691
1840
  }
1692
1841
 
1693
- // ../../../../../../../../execroot/formatjs/bazel-out/darwin_arm64-fastbuild/bin/node_modules/.aspect_rules_js/@formatjs+ecma402-abstract@0.0.0/node_modules/@formatjs/ecma402-abstract/lib/NumberFormat/FormatNumericRange.js
1842
+ // node_modules/.aspect_rules_js/@formatjs+ecma402-abstract@0.0.0/node_modules/@formatjs/ecma402-abstract/lib/NumberFormat/FormatNumericRange.js
1694
1843
  function FormatNumericRange(numberFormat, x, y, _a) {
1695
1844
  var getInternalSlots2 = _a.getInternalSlots;
1696
1845
  var parts = PartitionNumberRangePattern(numberFormat, x, y, {
@@ -1701,7 +1850,7 @@
1701
1850
  }).join("");
1702
1851
  }
1703
1852
 
1704
- // ../../../../../../../../execroot/formatjs/bazel-out/darwin_arm64-fastbuild/bin/node_modules/.aspect_rules_js/@formatjs+ecma402-abstract@0.0.0/node_modules/@formatjs/ecma402-abstract/lib/NumberFormat/FormatNumericRangeToParts.js
1853
+ // node_modules/.aspect_rules_js/@formatjs+ecma402-abstract@0.0.0/node_modules/@formatjs/ecma402-abstract/lib/NumberFormat/FormatNumericRangeToParts.js
1705
1854
  function FormatNumericRangeToParts(numberFormat, x, y, _a) {
1706
1855
  var getInternalSlots2 = _a.getInternalSlots;
1707
1856
  var parts = PartitionNumberRangePattern(numberFormat, x, y, {
@@ -1717,7 +1866,7 @@
1717
1866
  });
1718
1867
  }
1719
1868
 
1720
- // ../../../../../../../../execroot/formatjs/bazel-out/darwin_arm64-fastbuild/bin/node_modules/.aspect_rules_js/@formatjs+ecma402-abstract@0.0.0/node_modules/@formatjs/ecma402-abstract/lib/NumberFormat/FormatNumericToParts.js
1869
+ // node_modules/.aspect_rules_js/@formatjs+ecma402-abstract@0.0.0/node_modules/@formatjs/ecma402-abstract/lib/NumberFormat/FormatNumericToParts.js
1721
1870
  function FormatNumericToParts(nf, x, implDetails) {
1722
1871
  var parts = PartitionNumberPattern(nf, x, implDetails);
1723
1872
  var result = ArrayCreate(0);
@@ -1731,44 +1880,12 @@
1731
1880
  return result;
1732
1881
  }
1733
1882
 
1734
- // ../../../../../../../../execroot/formatjs/bazel-out/darwin_arm64-fastbuild/bin/node_modules/.aspect_rules_js/@formatjs+intl-localematcher@0.0.0/node_modules/@formatjs/intl-localematcher/lib/abstract/CanonicalizeLocaleList.js
1883
+ // node_modules/.aspect_rules_js/@formatjs+intl-localematcher@0.0.0/node_modules/@formatjs/intl-localematcher/lib/abstract/CanonicalizeLocaleList.js
1735
1884
  function CanonicalizeLocaleList2(locales) {
1736
1885
  return Intl.getCanonicalLocales(locales);
1737
1886
  }
1738
1887
 
1739
- // ../../../../../../../../execroot/formatjs/bazel-out/darwin_arm64-fastbuild/bin/node_modules/.aspect_rules_js/tslib@2.4.0/node_modules/tslib/tslib.es6.js
1740
- var extendStatics = function(d, b) {
1741
- extendStatics = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(d2, b2) {
1742
- d2.__proto__ = b2;
1743
- } || function(d2, b2) {
1744
- for (var p in b2)
1745
- if (Object.prototype.hasOwnProperty.call(b2, p))
1746
- d2[p] = b2[p];
1747
- };
1748
- return extendStatics(d, b);
1749
- };
1750
- function __extends(d, b) {
1751
- if (typeof b !== "function" && b !== null)
1752
- throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
1753
- extendStatics(d, b);
1754
- function __() {
1755
- this.constructor = d;
1756
- }
1757
- d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
1758
- }
1759
- function __spreadArray(to, from, pack) {
1760
- if (pack || arguments.length === 2)
1761
- for (var i = 0, l = from.length, ar; i < l; i++) {
1762
- if (ar || !(i in from)) {
1763
- if (!ar)
1764
- ar = Array.prototype.slice.call(from, 0, i);
1765
- ar[i] = from[i];
1766
- }
1767
- }
1768
- return to.concat(ar || Array.prototype.slice.call(from));
1769
- }
1770
-
1771
- // ../../../../../../../../execroot/formatjs/bazel-out/darwin_arm64-fastbuild/bin/node_modules/.aspect_rules_js/@formatjs+intl-localematcher@0.0.0/node_modules/@formatjs/intl-localematcher/lib/abstract/languageMatching.js
1888
+ // node_modules/.aspect_rules_js/@formatjs+intl-localematcher@0.0.0/node_modules/@formatjs/intl-localematcher/lib/abstract/languageMatching.js
1772
1889
  var data = {
1773
1890
  supplemental: {
1774
1891
  languageMatching: {
@@ -4390,7 +4507,7 @@
4390
4507
  }
4391
4508
  };
4392
4509
 
4393
- // ../../../../../../../../execroot/formatjs/bazel-out/darwin_arm64-fastbuild/bin/node_modules/.aspect_rules_js/@formatjs+intl-localematcher@0.0.0/node_modules/@formatjs/intl-localematcher/lib/abstract/regions.generated.js
4510
+ // node_modules/.aspect_rules_js/@formatjs+intl-localematcher@0.0.0/node_modules/@formatjs/intl-localematcher/lib/abstract/regions.generated.js
4394
4511
  var regions = {
4395
4512
  "001": [
4396
4513
  "001",
@@ -5725,7 +5842,7 @@
5725
5842
  ]
5726
5843
  };
5727
5844
 
5728
- // ../../../../../../../../execroot/formatjs/bazel-out/darwin_arm64-fastbuild/bin/node_modules/.aspect_rules_js/@formatjs+intl-localematcher@0.0.0/node_modules/@formatjs/intl-localematcher/lib/abstract/utils.js
5845
+ // node_modules/.aspect_rules_js/@formatjs+intl-localematcher@0.0.0/node_modules/@formatjs/intl-localematcher/lib/abstract/utils.js
5729
5846
  var UNICODE_EXTENSION_SEQUENCE_REGEX = /-u(?:-[0-9a-z]{2,8})+/gi;
5730
5847
  function invariant2(condition, message, Err) {
5731
5848
  if (Err === void 0) {
@@ -5879,7 +5996,7 @@
5879
5996
  return result;
5880
5997
  }
5881
5998
 
5882
- // ../../../../../../../../execroot/formatjs/bazel-out/darwin_arm64-fastbuild/bin/node_modules/.aspect_rules_js/@formatjs+intl-localematcher@0.0.0/node_modules/@formatjs/intl-localematcher/lib/abstract/BestFitMatcher.js
5999
+ // node_modules/.aspect_rules_js/@formatjs+intl-localematcher@0.0.0/node_modules/@formatjs/intl-localematcher/lib/abstract/BestFitMatcher.js
5883
6000
  function BestFitMatcher(availableLocales, requestedLocales, getDefaultLocale) {
5884
6001
  var foundLocale;
5885
6002
  var extension;
@@ -5904,7 +6021,7 @@
5904
6021
  };
5905
6022
  }
5906
6023
 
5907
- // ../../../../../../../../execroot/formatjs/bazel-out/darwin_arm64-fastbuild/bin/node_modules/.aspect_rules_js/@formatjs+intl-localematcher@0.0.0/node_modules/@formatjs/intl-localematcher/lib/abstract/BestAvailableLocale.js
6024
+ // node_modules/.aspect_rules_js/@formatjs+intl-localematcher@0.0.0/node_modules/@formatjs/intl-localematcher/lib/abstract/BestAvailableLocale.js
5908
6025
  function BestAvailableLocale(availableLocales, locale) {
5909
6026
  var candidate = locale;
5910
6027
  while (true) {
@@ -5922,7 +6039,7 @@
5922
6039
  }
5923
6040
  }
5924
6041
 
5925
- // ../../../../../../../../execroot/formatjs/bazel-out/darwin_arm64-fastbuild/bin/node_modules/.aspect_rules_js/@formatjs+intl-localematcher@0.0.0/node_modules/@formatjs/intl-localematcher/lib/abstract/LookupMatcher.js
6042
+ // node_modules/.aspect_rules_js/@formatjs+intl-localematcher@0.0.0/node_modules/@formatjs/intl-localematcher/lib/abstract/LookupMatcher.js
5926
6043
  function LookupMatcher(availableLocales, requestedLocales, getDefaultLocale) {
5927
6044
  var result = { locale: "" };
5928
6045
  for (var _i = 0, requestedLocales_1 = requestedLocales; _i < requestedLocales_1.length; _i++) {
@@ -5941,7 +6058,7 @@
5941
6058
  return result;
5942
6059
  }
5943
6060
 
5944
- // ../../../../../../../../execroot/formatjs/bazel-out/darwin_arm64-fastbuild/bin/node_modules/.aspect_rules_js/@formatjs+intl-localematcher@0.0.0/node_modules/@formatjs/intl-localematcher/lib/abstract/UnicodeExtensionValue.js
6061
+ // node_modules/.aspect_rules_js/@formatjs+intl-localematcher@0.0.0/node_modules/@formatjs/intl-localematcher/lib/abstract/UnicodeExtensionValue.js
5945
6062
  function UnicodeExtensionValue(extension, key) {
5946
6063
  invariant2(key.length === 2, "key must have 2 elements");
5947
6064
  var size = extension.length;
@@ -5980,7 +6097,7 @@
5980
6097
  return void 0;
5981
6098
  }
5982
6099
 
5983
- // ../../../../../../../../execroot/formatjs/bazel-out/darwin_arm64-fastbuild/bin/node_modules/.aspect_rules_js/@formatjs+intl-localematcher@0.0.0/node_modules/@formatjs/intl-localematcher/lib/abstract/ResolveLocale.js
6100
+ // node_modules/.aspect_rules_js/@formatjs+intl-localematcher@0.0.0/node_modules/@formatjs/intl-localematcher/lib/abstract/ResolveLocale.js
5984
6101
  function ResolveLocale(availableLocales, requestedLocales, options, relevantExtensionKeys, localeData, getDefaultLocale) {
5985
6102
  var matcher = options.localeMatcher;
5986
6103
  var r;
@@ -6044,7 +6161,7 @@
6044
6161
  return result;
6045
6162
  }
6046
6163
 
6047
- // ../../../../../../../../execroot/formatjs/bazel-out/darwin_arm64-fastbuild/bin/node_modules/.aspect_rules_js/@formatjs+intl-localematcher@0.0.0/node_modules/@formatjs/intl-localematcher/lib/abstract/LookupSupportedLocales.js
6164
+ // node_modules/.aspect_rules_js/@formatjs+intl-localematcher@0.0.0/node_modules/@formatjs/intl-localematcher/lib/abstract/LookupSupportedLocales.js
6048
6165
  function LookupSupportedLocales(availableLocales, requestedLocales) {
6049
6166
  var subset = [];
6050
6167
  for (var _i = 0, requestedLocales_1 = requestedLocales; _i < requestedLocales_1.length; _i++) {
@@ -6058,7 +6175,7 @@
6058
6175
  return subset;
6059
6176
  }
6060
6177
 
6061
- // ../../../../../../../../execroot/formatjs/bazel-out/darwin_arm64-fastbuild/bin/node_modules/.aspect_rules_js/@formatjs+intl-localematcher@0.0.0/node_modules/@formatjs/intl-localematcher/lib/index.js
6178
+ // node_modules/.aspect_rules_js/@formatjs+intl-localematcher@0.0.0/node_modules/@formatjs/intl-localematcher/lib/index.js
6062
6179
  function match(requestedLocales, availableLocales, defaultLocale, opts) {
6063
6180
  return ResolveLocale(availableLocales, CanonicalizeLocaleList2(requestedLocales), {
6064
6181
  localeMatcher: (opts === null || opts === void 0 ? void 0 : opts.algorithm) || "best fit"
@@ -6067,7 +6184,7 @@
6067
6184
  }).locale;
6068
6185
  }
6069
6186
 
6070
- // ../../../../../../../../execroot/formatjs/bazel-out/darwin_arm64-fastbuild/bin/node_modules/.aspect_rules_js/@formatjs+ecma402-abstract@0.0.0/node_modules/@formatjs/ecma402-abstract/lib/NumberFormat/SetNumberFormatDigitOptions.js
6187
+ // node_modules/.aspect_rules_js/@formatjs+ecma402-abstract@0.0.0/node_modules/@formatjs/ecma402-abstract/lib/NumberFormat/SetNumberFormatDigitOptions.js
6071
6188
  function SetNumberFormatDigitOptions(internalSlots, opts, mnfdDefault, mxfdDefault, notation) {
6072
6189
  var mnid = GetNumberOption(opts, "minimumIntegerDigits", 1, 21, 1);
6073
6190
  var mnfd = opts.minimumFractionDigits;
@@ -6134,7 +6251,7 @@
6134
6251
  }
6135
6252
  }
6136
6253
 
6137
- // ../../../../../../../../execroot/formatjs/bazel-out/darwin_arm64-fastbuild/bin/node_modules/.aspect_rules_js/@formatjs+ecma402-abstract@0.0.0/node_modules/@formatjs/ecma402-abstract/lib/NumberFormat/SetNumberFormatUnitOptions.js
6254
+ // node_modules/.aspect_rules_js/@formatjs+ecma402-abstract@0.0.0/node_modules/@formatjs/ecma402-abstract/lib/NumberFormat/SetNumberFormatUnitOptions.js
6138
6255
  function SetNumberFormatUnitOptions(nf, options, _a) {
6139
6256
  if (options === void 0) {
6140
6257
  options = /* @__PURE__ */ Object.create(null);
@@ -6171,7 +6288,7 @@
6171
6288
  }
6172
6289
  }
6173
6290
 
6174
- // ../../../../../../../../execroot/formatjs/bazel-out/darwin_arm64-fastbuild/bin/node_modules/.aspect_rules_js/@formatjs+ecma402-abstract@0.0.0/node_modules/@formatjs/ecma402-abstract/lib/NumberFormat/InitializeNumberFormat.js
6291
+ // node_modules/.aspect_rules_js/@formatjs+ecma402-abstract@0.0.0/node_modules/@formatjs/ecma402-abstract/lib/NumberFormat/InitializeNumberFormat.js
6175
6292
  var VALID_ROUND_INCREMENT_VALUES = [
6176
6293
  1,
6177
6294
  2,
@@ -6266,7 +6383,7 @@
6266
6383
  return nf;
6267
6384
  }
6268
6385
 
6269
- // ../../../../../../../../execroot/formatjs/bazel-out/darwin_arm64-fastbuild/bin/node_modules/.aspect_rules_js/@formatjs+ecma402-abstract@0.0.0/node_modules/@formatjs/ecma402-abstract/lib/SupportedLocales.js
6386
+ // node_modules/.aspect_rules_js/@formatjs+ecma402-abstract@0.0.0/node_modules/@formatjs/ecma402-abstract/lib/SupportedLocales.js
6270
6387
  function SupportedLocales(availableLocales, requestedLocales, options) {
6271
6388
  var matcher = "best fit";
6272
6389
  if (options !== void 0) {
@@ -6279,7 +6396,7 @@
6279
6396
  return LookupSupportedLocales(Array.from(availableLocales), requestedLocales);
6280
6397
  }
6281
6398
 
6282
- // ../../../../../../../../execroot/formatjs/bazel-out/darwin_arm64-fastbuild/bin/node_modules/.aspect_rules_js/@formatjs+ecma402-abstract@0.0.0/node_modules/@formatjs/ecma402-abstract/lib/data.js
6399
+ // node_modules/.aspect_rules_js/@formatjs+ecma402-abstract@0.0.0/node_modules/@formatjs/ecma402-abstract/lib/data.js
6283
6400
  var MissingLocaleDataError = (
6284
6401
  /** @class */
6285
6402
  function(_super) {
@@ -6293,7 +6410,7 @@
6293
6410
  }(Error)
6294
6411
  );
6295
6412
 
6296
- // ../../../../../../../../execroot/formatjs/bazel-out/darwin_arm64-fastbuild/bin/node_modules/.aspect_rules_js/@formatjs+ecma402-abstract@0.0.0/node_modules/@formatjs/ecma402-abstract/lib/types/date-time.js
6413
+ // node_modules/.aspect_rules_js/@formatjs+ecma402-abstract@0.0.0/node_modules/@formatjs/ecma402-abstract/lib/types/date-time.js
6297
6414
  var RangePatternType;
6298
6415
  (function(RangePatternType2) {
6299
6416
  RangePatternType2["startRange"] = "startRange";
@@ -6301,7 +6418,7 @@
6301
6418
  RangePatternType2["endRange"] = "endRange";
6302
6419
  })(RangePatternType || (RangePatternType = {}));
6303
6420
 
6304
- // ../../../../../../../../execroot/formatjs/bazel-out/darwin_arm64-fastbuild/bin/packages/intl-numberformat/lib/src/currency-digits.generated.js
6421
+ // packages/intl-numberformat/src/currency-digits.generated.ts
6305
6422
  var currencyDigitsData = {
6306
6423
  "ADP": 0,
6307
6424
  "AFN": 0,
@@ -6378,13 +6495,13 @@
6378
6495
  "ZWD": 0
6379
6496
  };
6380
6497
 
6381
- // ../../../../../../../../execroot/formatjs/bazel-out/darwin_arm64-fastbuild/bin/packages/intl-numberformat/lib/src/numbering-systems.generated.js
6498
+ // packages/intl-numberformat/src/numbering-systems.generated.ts
6382
6499
  var numberingSystemNames = ["adlm", "ahom", "arab", "arabext", "armn", "armnlow", "bali", "beng", "bhks", "brah", "cakm", "cham", "cyrl", "deva", "diak", "ethi", "fullwide", "geor", "gong", "gonm", "grek", "greklow", "gujr", "guru", "hanidays", "hanidec", "hans", "hansfin", "hant", "hantfin", "hebr", "hmng", "hmnp", "java", "jpan", "jpanfin", "jpanyear", "kali", "kawi", "khmr", "knda", "lana", "lanatham", "laoo", "latn", "lepc", "limb", "mathbold", "mathdbl", "mathmono", "mathsanb", "mathsans", "mlym", "modi", "mong", "mroo", "mtei", "mymr", "mymrshan", "mymrtlng", "nagm", "newa", "nkoo", "olck", "orya", "osma", "rohg", "roman", "romanlow", "saur", "segment", "shrd", "sind", "sinh", "sora", "sund", "takr", "talu", "taml", "tamldec", "telu", "thai", "tibt", "tirh", "tnsa", "vaii", "wara", "wcho"];
6383
6500
 
6384
- // ../../../../../../../../execroot/formatjs/bazel-out/darwin_arm64-fastbuild/bin/packages/intl-numberformat/lib/src/get_internal_slots.js
6501
+ // packages/intl-numberformat/src/get_internal_slots.ts
6385
6502
  var internalSlotMap = /* @__PURE__ */ new WeakMap();
6386
6503
  function getInternalSlots(x) {
6387
- var internalSlots = internalSlotMap.get(x);
6504
+ let internalSlots = internalSlotMap.get(x);
6388
6505
  if (!internalSlots) {
6389
6506
  internalSlots = /* @__PURE__ */ Object.create(null);
6390
6507
  internalSlotMap.set(x, internalSlots);
@@ -6392,7 +6509,7 @@
6392
6509
  return internalSlots;
6393
6510
  }
6394
6511
 
6395
- // ../../../../../../../../execroot/formatjs/bazel-out/darwin_arm64-fastbuild/bin/packages/intl-numberformat/lib/src/core.js
6512
+ // packages/intl-numberformat/src/core.ts
6396
6513
  var RESOLVED_OPTIONS_KEYS = [
6397
6514
  "locale",
6398
6515
  "numberingSystem",
@@ -6424,11 +6541,14 @@
6424
6541
  currencyDigitsData,
6425
6542
  numberingSystemNames
6426
6543
  });
6427
- var internalSlots = getInternalSlots(this);
6428
- var dataLocale = internalSlots.dataLocale;
6429
- var dataLocaleData = NumberFormat.localeData[dataLocale];
6430
- invariant(dataLocaleData !== void 0, "Cannot load locale-dependent data for ".concat(dataLocale, "."));
6431
- internalSlots.pl = new Intl.PluralRules(dataLocale, {
6544
+ const internalSlots = getInternalSlots(this);
6545
+ const dataLocale = internalSlots.dataLocale;
6546
+ const dataLocaleData = NumberFormat.localeData[dataLocale];
6547
+ invariant(
6548
+ dataLocaleData !== void 0,
6549
+ `Cannot load locale-dependent data for ${dataLocale}.`
6550
+ );
6551
+ internalSlots.pl = createMemoizedPluralRules(dataLocale, {
6432
6552
  minimumFractionDigits: internalSlots.minimumFractionDigits,
6433
6553
  maximumFractionDigits: internalSlots.maximumFractionDigits,
6434
6554
  minimumIntegerDigits: internalSlots.minimumIntegerDigits,
@@ -6469,13 +6589,14 @@
6469
6589
  defineProperty(NumberFormat.prototype, "resolvedOptions", {
6470
6590
  value: function resolvedOptions() {
6471
6591
  if (typeof this !== "object" || !OrdinaryHasInstance(NumberFormat, this)) {
6472
- throw TypeError("Method Intl.NumberFormat.prototype.resolvedOptions called on incompatible receiver");
6592
+ throw TypeError(
6593
+ "Method Intl.NumberFormat.prototype.resolvedOptions called on incompatible receiver"
6594
+ );
6473
6595
  }
6474
- var internalSlots = getInternalSlots(this);
6475
- var ro = {};
6476
- for (var _i = 0, RESOLVED_OPTIONS_KEYS_1 = RESOLVED_OPTIONS_KEYS; _i < RESOLVED_OPTIONS_KEYS_1.length; _i++) {
6477
- var key = RESOLVED_OPTIONS_KEYS_1[_i];
6478
- var value = internalSlots[key];
6596
+ const internalSlots = getInternalSlots(this);
6597
+ const ro = {};
6598
+ for (const key of RESOLVED_OPTIONS_KEYS) {
6599
+ const value = internalSlots[key];
6479
6600
  if (value !== void 0) {
6480
6601
  ro[key] = value;
6481
6602
  }
@@ -6493,19 +6614,19 @@
6493
6614
  var formatDescriptor = {
6494
6615
  enumerable: false,
6495
6616
  configurable: true,
6496
- get: function() {
6617
+ get() {
6497
6618
  if (typeof this !== "object" || !OrdinaryHasInstance(NumberFormat, this)) {
6498
- throw TypeError("Intl.NumberFormat format property accessor called on incompatible receiver");
6619
+ throw TypeError(
6620
+ "Intl.NumberFormat format property accessor called on incompatible receiver"
6621
+ );
6499
6622
  }
6500
- var internalSlots = getInternalSlots(this);
6501
- var numberFormat = this;
6502
- var boundFormat = internalSlots.boundFormat;
6623
+ const internalSlots = getInternalSlots(this);
6624
+ const numberFormat = this;
6625
+ let boundFormat = internalSlots.boundFormat;
6503
6626
  if (boundFormat === void 0) {
6504
- boundFormat = function(value) {
6505
- var x = toNumeric(value);
6506
- return numberFormat.formatToParts(x).map(function(x2) {
6507
- return x2.value;
6508
- }).join("");
6627
+ boundFormat = (value) => {
6628
+ const x = toNumeric(value);
6629
+ return numberFormat.formatToParts(x).map((x2) => x2.value).join("");
6509
6630
  };
6510
6631
  try {
6511
6632
  Object.defineProperty(boundFormat, "name", {
@@ -6533,17 +6654,16 @@
6533
6654
  Object.defineProperty(NumberFormat.prototype, "format", formatDescriptor);
6534
6655
  defineProperty(NumberFormat, "supportedLocalesOf", {
6535
6656
  value: function supportedLocalesOf(locales, options) {
6536
- return SupportedLocales(NumberFormat.availableLocales, CanonicalizeLocaleList(locales), options);
6657
+ return SupportedLocales(
6658
+ NumberFormat.availableLocales,
6659
+ CanonicalizeLocaleList(locales),
6660
+ options
6661
+ );
6537
6662
  }
6538
6663
  });
6539
- NumberFormat.__addLocaleData = function __addLocaleData() {
6540
- var data2 = [];
6541
- for (var _i = 0; _i < arguments.length; _i++) {
6542
- data2[_i] = arguments[_i];
6543
- }
6544
- for (var _a = 0, data_1 = data2; _a < data_1.length; _a++) {
6545
- var _b = data_1[_a], d = _b.data, locale = _b.locale;
6546
- var minimizedLocale = new Intl.Locale(locale).minimize().toString();
6664
+ NumberFormat.__addLocaleData = function __addLocaleData(...data2) {
6665
+ for (const { data: d, locale } of data2) {
6666
+ const minimizedLocale = new Intl.Locale(locale).minimize().toString();
6547
6667
  NumberFormat.localeData[locale] = NumberFormat.localeData[minimizedLocale] = d;
6548
6668
  NumberFormat.availableLocales.add(minimizedLocale);
6549
6669
  NumberFormat.availableLocales.add(locale);
@@ -6553,21 +6673,22 @@
6553
6673
  }
6554
6674
  };
6555
6675
  NumberFormat.__addUnitData = function __addUnitData(locale, unitsData) {
6556
- var _a = NumberFormat.localeData, _b = locale, existingData = _a[_b];
6676
+ const { [locale]: existingData } = NumberFormat.localeData;
6557
6677
  if (!existingData) {
6558
- throw new Error('Locale data for "'.concat(locale, '" has not been loaded in NumberFormat. \nPlease __addLocaleData before adding additional unit data'));
6678
+ throw new Error(`Locale data for "${locale}" has not been loaded in NumberFormat.
6679
+ Please __addLocaleData before adding additional unit data`);
6559
6680
  }
6560
- for (var unit in unitsData.simple) {
6681
+ for (const unit in unitsData.simple) {
6561
6682
  existingData.units.simple[unit] = unitsData.simple[unit];
6562
6683
  }
6563
- for (var unit in unitsData.compound) {
6684
+ for (const unit in unitsData.compound) {
6564
6685
  existingData.units.compound[unit] = unitsData.compound[unit];
6565
6686
  }
6566
6687
  };
6567
6688
  NumberFormat.__defaultLocale = "";
6568
6689
  NumberFormat.localeData = {};
6569
6690
  NumberFormat.availableLocales = /* @__PURE__ */ new Set();
6570
- NumberFormat.getDefaultLocale = function() {
6691
+ NumberFormat.getDefaultLocale = () => {
6571
6692
  return NumberFormat.__defaultLocale;
6572
6693
  };
6573
6694
  NumberFormat.polyfilled = true;
@@ -6607,22 +6728,22 @@
6607
6728
  } catch (e) {
6608
6729
  }
6609
6730
 
6610
- // ../../../../../../../../execroot/formatjs/bazel-out/darwin_arm64-fastbuild/bin/packages/intl-numberformat/lib/src/to_locale_string.js
6731
+ // packages/intl-numberformat/src/to_locale_string.ts
6611
6732
  function toLocaleString(x, locales, options) {
6612
- var numberFormat = new NumberFormat(locales, options);
6733
+ const numberFormat = new NumberFormat(locales, options);
6613
6734
  return numberFormat.format(x);
6614
6735
  }
6615
6736
 
6616
- // ../../../../../../../../execroot/formatjs/bazel-out/darwin_arm64-fastbuild/bin/packages/intl-numberformat/lib/supported-locales.generated.js
6737
+ // packages/intl-numberformat/supported-locales.generated.ts
6617
6738
  var supportedLocales = ["af", "af-NA", "agq", "ak", "am", "ar", "ar-AE", "ar-BH", "ar-DJ", "ar-DZ", "ar-EG", "ar-EH", "ar-ER", "ar-IL", "ar-IQ", "ar-JO", "ar-KM", "ar-KW", "ar-LB", "ar-LY", "ar-MA", "ar-MR", "ar-OM", "ar-PS", "ar-QA", "ar-SA", "ar-SD", "ar-SO", "ar-SS", "ar-SY", "ar-TD", "ar-TN", "ar-YE", "as", "asa", "ast", "az", "az-Cyrl", "az-Latn", "bas", "be", "be-tarask", "bem", "bez", "bg", "bm", "bn", "bn-IN", "bo", "bo-IN", "br", "brx", "bs", "bs-Cyrl", "bs-Latn", "ca", "ca-AD", "ca-ES-valencia", "ca-FR", "ca-IT", "ccp", "ccp-IN", "ce", "ceb", "cgg", "chr", "ckb", "ckb-IR", "cs", "cy", "da", "da-GL", "dav", "de", "de-AT", "de-BE", "de-CH", "de-IT", "de-LI", "de-LU", "dje", "doi", "dsb", "dua", "dyo", "dz", "ebu", "ee", "ee-TG", "el", "el-CY", "en", "en-001", "en-150", "en-AE", "en-AG", "en-AI", "en-AS", "en-AT", "en-AU", "en-BB", "en-BE", "en-BI", "en-BM", "en-BS", "en-BW", "en-BZ", "en-CA", "en-CC", "en-CH", "en-CK", "en-CM", "en-CX", "en-CY", "en-DE", "en-DG", "en-DK", "en-DM", "en-ER", "en-FI", "en-FJ", "en-FK", "en-FM", "en-GB", "en-GD", "en-GG", "en-GH", "en-GI", "en-GM", "en-GU", "en-GY", "en-HK", "en-IE", "en-IL", "en-IM", "en-IN", "en-IO", "en-JE", "en-JM", "en-KE", "en-KI", "en-KN", "en-KY", "en-LC", "en-LR", "en-LS", "en-MG", "en-MH", "en-MO", "en-MP", "en-MS", "en-MT", "en-MU", "en-MW", "en-MY", "en-NA", "en-NF", "en-NG", "en-NL", "en-NR", "en-NU", "en-NZ", "en-PG", "en-PH", "en-PK", "en-PN", "en-PR", "en-PW", "en-RW", "en-SB", "en-SC", "en-SD", "en-SE", "en-SG", "en-SH", "en-SI", "en-SL", "en-SS", "en-SX", "en-SZ", "en-TC", "en-TK", "en-TO", "en-TT", "en-TV", "en-TZ", "en-UG", "en-UM", "en-VC", "en-VG", "en-VI", "en-VU", "en-WS", "en-ZA", "en-ZM", "en-ZW", "eo", "es", "es-419", "es-AR", "es-BO", "es-BR", "es-BZ", "es-CL", "es-CO", "es-CR", "es-CU", "es-DO", "es-EA", "es-EC", "es-GQ", "es-GT", "es-HN", "es-IC", "es-MX", "es-NI", "es-PA", "es-PE", "es-PH", "es-PR", "es-PY", "es-SV", "es-US", "es-UY", "es-VE", "et", "eu", "ewo", "fa", "fa-AF", "ff", "ff-Adlm", "ff-Adlm-BF", "ff-Adlm-CM", "ff-Adlm-GH", "ff-Adlm-GM", "ff-Adlm-GW", "ff-Adlm-LR", "ff-Adlm-MR", "ff-Adlm-NE", "ff-Adlm-NG", "ff-Adlm-SL", "ff-Adlm-SN", "ff-Latn", "ff-Latn-BF", "ff-Latn-CM", "ff-Latn-GH", "ff-Latn-GM", "ff-Latn-GN", "ff-Latn-GW", "ff-Latn-LR", "ff-Latn-MR", "ff-Latn-NE", "ff-Latn-NG", "ff-Latn-SL", "fi", "fil", "fo", "fo-DK", "fr", "fr-BE", "fr-BF", "fr-BI", "fr-BJ", "fr-BL", "fr-CA", "fr-CD", "fr-CF", "fr-CG", "fr-CH", "fr-CI", "fr-CM", "fr-DJ", "fr-DZ", "fr-GA", "fr-GF", "fr-GN", "fr-GP", "fr-GQ", "fr-HT", "fr-KM", "fr-LU", "fr-MA", "fr-MC", "fr-MF", "fr-MG", "fr-ML", "fr-MQ", "fr-MR", "fr-MU", "fr-NC", "fr-NE", "fr-PF", "fr-PM", "fr-RE", "fr-RW", "fr-SC", "fr-SN", "fr-SY", "fr-TD", "fr-TG", "fr-TN", "fr-VU", "fr-WF", "fr-YT", "fur", "fy", "ga", "ga-GB", "gd", "gl", "gsw", "gsw-FR", "gsw-LI", "gu", "guz", "gv", "ha", "ha-GH", "ha-NE", "haw", "he", "hi", "hr", "hr-BA", "hsb", "hu", "hy", "ia", "id", "ig", "ii", "is", "it", "it-CH", "it-SM", "it-VA", "ja", "jgo", "jmc", "jv", "ka", "kab", "kam", "kde", "kea", "kgp", "khq", "ki", "kk", "kkj", "kl", "kln", "km", "kn", "ko", "ko-KP", "kok", "ks", "ks-Arab", "ksb", "ksf", "ksh", "ku", "kw", "ky", "lag", "lb", "lg", "lkt", "ln", "ln-AO", "ln-CF", "ln-CG", "lo", "lrc", "lrc-IQ", "lt", "lu", "luo", "luy", "lv", "mai", "mas", "mas-TZ", "mer", "mfe", "mg", "mgh", "mgo", "mi", "mk", "ml", "mn", "mni", "mni-Beng", "mr", "ms", "ms-BN", "ms-ID", "ms-SG", "mt", "mua", "my", "mzn", "naq", "nb", "nb-SJ", "nd", "nds", "nds-NL", "ne", "ne-IN", "nl", "nl-AW", "nl-BE", "nl-BQ", "nl-CW", "nl-SR", "nl-SX", "nmg", "nn", "nnh", "no", "nus", "nyn", "om", "om-KE", "or", "os", "os-RU", "pa", "pa-Arab", "pa-Guru", "pcm", "pl", "ps", "ps-PK", "pt", "pt-AO", "pt-CH", "pt-CV", "pt-GQ", "pt-GW", "pt-LU", "pt-MO", "pt-MZ", "pt-PT", "pt-ST", "pt-TL", "qu", "qu-BO", "qu-EC", "rm", "rn", "ro", "ro-MD", "rof", "ru", "ru-BY", "ru-KG", "ru-KZ", "ru-MD", "ru-UA", "rw", "rwk", "sa", "sah", "saq", "sat", "sat-Olck", "sbp", "sc", "sd", "sd-Arab", "sd-Deva", "se", "se-FI", "se-SE", "seh", "ses", "sg", "shi", "shi-Latn", "shi-Tfng", "si", "sk", "sl", "smn", "sn", "so", "so-DJ", "so-ET", "so-KE", "sq", "sq-MK", "sq-XK", "sr", "sr-Cyrl", "sr-Cyrl-BA", "sr-Cyrl-ME", "sr-Cyrl-XK", "sr-Latn", "sr-Latn-BA", "sr-Latn-ME", "sr-Latn-XK", "su", "su-Latn", "sv", "sv-AX", "sv-FI", "sw", "sw-CD", "sw-KE", "sw-UG", "ta", "ta-LK", "ta-MY", "ta-SG", "te", "teo", "teo-KE", "tg", "th", "ti", "ti-ER", "tk", "to", "tr", "tr-CY", "tt", "twq", "tzm", "ug", "uk", "und", "ur", "ur-IN", "uz", "uz-Arab", "uz-Cyrl", "uz-Latn", "vai", "vai-Latn", "vai-Vaii", "vi", "vun", "wae", "wo", "xh", "xog", "yav", "yi", "yo", "yo-BJ", "yrl", "yrl-CO", "yrl-VE", "yue", "yue-Hans", "yue-Hant", "zgh", "zh", "zh-Hans", "zh-Hans-HK", "zh-Hans-MO", "zh-Hans-SG", "zh-Hant", "zh-Hant-HK", "zh-Hant-MO", "zu"];
6618
6739
 
6619
- // ../../../../../../../../execroot/formatjs/bazel-out/darwin_arm64-fastbuild/bin/packages/intl-numberformat/lib/should-polyfill.js
6740
+ // packages/intl-numberformat/should-polyfill.ts
6620
6741
  function onlySupportsEn() {
6621
6742
  return !Intl.NumberFormat.polyfilled && !Intl.NumberFormat.supportedLocalesOf(["es"]).length;
6622
6743
  }
6623
6744
  function supportsES2020() {
6624
6745
  try {
6625
- var s = new Intl.NumberFormat("en", {
6746
+ const s = new Intl.NumberFormat("en", {
6626
6747
  style: "unit",
6627
6748
  unit: "bit",
6628
6749
  unitDisplay: "long",
@@ -6638,7 +6759,7 @@
6638
6759
  }
6639
6760
  function supportsES2023() {
6640
6761
  try {
6641
- var s = new Intl.NumberFormat("en", {
6762
+ const s = new Intl.NumberFormat("en", {
6642
6763
  notation: "compact",
6643
6764
  minimumSignificantDigits: 3,
6644
6765
  maximumSignificantDigits: 3,
@@ -6656,19 +6777,16 @@
6656
6777
  if (!locale) {
6657
6778
  return true;
6658
6779
  }
6659
- var locales = Array.isArray(locale) ? locale : [locale];
6780
+ const locales = Array.isArray(locale) ? locale : [locale];
6660
6781
  return Intl.NumberFormat.supportedLocalesOf(locales).length === locales.length;
6661
6782
  }
6662
- function shouldPolyfill(locale) {
6663
- if (locale === void 0) {
6664
- locale = "en";
6665
- }
6783
+ function shouldPolyfill(locale = "en") {
6666
6784
  if (typeof Intl === "undefined" || !("NumberFormat" in Intl) || !supportsES2020() || !supportsES2023() || onlySupportsEn() || !supportedLocalesOf2(locale)) {
6667
6785
  return locale ? match([locale], supportedLocales, "en") : void 0;
6668
6786
  }
6669
6787
  }
6670
6788
 
6671
- // ../../../../../../../../execroot/formatjs/bazel-out/darwin_arm64-fastbuild/bin/packages/intl-numberformat/lib/polyfill.js
6789
+ // packages/intl-numberformat/polyfill.ts
6672
6790
  if (shouldPolyfill()) {
6673
6791
  defineProperty(Intl, "NumberFormat", { value: NumberFormat });
6674
6792
  defineProperty(Number.prototype, "toLocaleString", {
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.shouldPolyfill = void 0;
3
+ exports.shouldPolyfill = shouldPolyfill;
4
4
  var intl_localematcher_1 = require("@formatjs/intl-localematcher");
5
5
  var supported_locales_generated_1 = require("./supported-locales.generated");
6
6
  /**
@@ -79,4 +79,3 @@ function shouldPolyfill(locale) {
79
79
  return locale ? (0, intl_localematcher_1.match)([locale], supported_locales_generated_1.supportedLocales, 'en') : undefined;
80
80
  }
81
81
  }
82
- exports.shouldPolyfill = shouldPolyfill;
package/src/core.js CHANGED
@@ -46,7 +46,7 @@ exports.NumberFormat = function (locales, options) {
46
46
  var dataLocale = internalSlots.dataLocale;
47
47
  var dataLocaleData = exports.NumberFormat.localeData[dataLocale];
48
48
  (0, ecma402_abstract_1.invariant)(dataLocaleData !== undefined, "Cannot load locale-dependent data for ".concat(dataLocale, "."));
49
- internalSlots.pl = new Intl.PluralRules(dataLocale, {
49
+ internalSlots.pl = (0, ecma402_abstract_1.createMemoizedPluralRules)(dataLocale, {
50
50
  minimumFractionDigits: internalSlots.minimumFractionDigits,
51
51
  maximumFractionDigits: internalSlots.maximumFractionDigits,
52
52
  minimumIntegerDigits: internalSlots.minimumIntegerDigits,
@@ -1,6 +1,7 @@
1
1
  "use strict";
2
2
  // Type-only circular import
3
3
  Object.defineProperty(exports, "__esModule", { value: true });
4
+ exports.default = getInternalSlots;
4
5
  var internalSlotMap = new WeakMap();
5
6
  function getInternalSlots(x) {
6
7
  var internalSlots = internalSlotMap.get(x);
@@ -10,4 +11,3 @@ function getInternalSlots(x) {
10
11
  }
11
12
  return internalSlots;
12
13
  }
13
- exports.default = getInternalSlots;
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.toLocaleString = void 0;
3
+ exports.toLocaleString = toLocaleString;
4
4
  // eslint-disable-next-line import/no-cycle
5
5
  var core_1 = require("./core");
6
6
  /**
@@ -11,4 +11,3 @@ function toLocaleString(x, locales, options) {
11
11
  var numberFormat = new core_1.NumberFormat(locales, options);
12
12
  return numberFormat.format(x);
13
13
  }
14
- exports.toLocaleString = toLocaleString;