react-intl 6.7.2 → 6.8.1

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.
@@ -1,17 +1,46 @@
1
1
  var ReactIntl = (() => {
2
2
  var __create = Object.create;
3
3
  var __defProp = Object.defineProperty;
4
+ var __defProps = Object.defineProperties;
4
5
  var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
6
+ var __getOwnPropDescs = Object.getOwnPropertyDescriptors;
5
7
  var __getOwnPropNames = Object.getOwnPropertyNames;
8
+ var __getOwnPropSymbols = Object.getOwnPropertySymbols;
6
9
  var __getProtoOf = Object.getPrototypeOf;
7
10
  var __hasOwnProp = Object.prototype.hasOwnProperty;
11
+ var __propIsEnum = Object.prototype.propertyIsEnumerable;
12
+ var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
13
+ var __spreadValues = (a, b) => {
14
+ for (var prop in b || (b = {}))
15
+ if (__hasOwnProp.call(b, prop))
16
+ __defNormalProp(a, prop, b[prop]);
17
+ if (__getOwnPropSymbols)
18
+ for (var prop of __getOwnPropSymbols(b)) {
19
+ if (__propIsEnum.call(b, prop))
20
+ __defNormalProp(a, prop, b[prop]);
21
+ }
22
+ return a;
23
+ };
24
+ var __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b));
8
25
  var __require = /* @__PURE__ */ ((x) => typeof require !== "undefined" ? require : typeof Proxy !== "undefined" ? new Proxy(x, {
9
26
  get: (a, b) => (typeof require !== "undefined" ? require : a)[b]
10
27
  }) : x)(function(x) {
11
28
  if (typeof require !== "undefined")
12
29
  return require.apply(this, arguments);
13
- throw new Error('Dynamic require of "' + x + '" is not supported');
30
+ throw Error('Dynamic require of "' + x + '" is not supported');
14
31
  });
32
+ var __objRest = (source, exclude) => {
33
+ var target = {};
34
+ for (var prop in source)
35
+ if (__hasOwnProp.call(source, prop) && exclude.indexOf(prop) < 0)
36
+ target[prop] = source[prop];
37
+ if (source != null && __getOwnPropSymbols)
38
+ for (var prop of __getOwnPropSymbols(source)) {
39
+ if (exclude.indexOf(prop) < 0 && __propIsEnum.call(source, prop))
40
+ target[prop] = source[prop];
41
+ }
42
+ return target;
43
+ };
15
44
  var __commonJS = (cb, mod) => function __require2() {
16
45
  return mod || (0, cb[__getOwnPropNames(cb)[0]])((mod = { exports: {} }).exports, mod), mod.exports;
17
46
  };
@@ -36,10 +65,14 @@ var ReactIntl = (() => {
36
65
  mod
37
66
  ));
38
67
  var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
68
+ var __publicField = (obj, key, value) => {
69
+ __defNormalProp(obj, typeof key !== "symbol" ? key + "" : key, value);
70
+ return value;
71
+ };
39
72
 
40
- // ../../../../../../../../execroot/formatjs/bazel-out/darwin_arm64-fastbuild/bin/node_modules/.aspect_rules_js/react-is@16.13.1/node_modules/react-is/cjs/react-is.development.js
73
+ // node_modules/.aspect_rules_js/react-is@16.13.1/node_modules/react-is/cjs/react-is.development.js
41
74
  var require_react_is_development = __commonJS({
42
- "../../../../../../../../execroot/formatjs/bazel-out/darwin_arm64-fastbuild/bin/node_modules/.aspect_rules_js/react-is@16.13.1/node_modules/react-is/cjs/react-is.development.js"(exports) {
75
+ "node_modules/.aspect_rules_js/react-is@16.13.1/node_modules/react-is/cjs/react-is.development.js"(exports) {
43
76
  "use strict";
44
77
  if (true) {
45
78
  (function() {
@@ -192,9 +225,9 @@ var ReactIntl = (() => {
192
225
  }
193
226
  });
194
227
 
195
- // ../../../../../../../../execroot/formatjs/bazel-out/darwin_arm64-fastbuild/bin/node_modules/.aspect_rules_js/react-is@16.13.1/node_modules/react-is/index.js
228
+ // node_modules/.aspect_rules_js/react-is@16.13.1/node_modules/react-is/index.js
196
229
  var require_react_is = __commonJS({
197
- "../../../../../../../../execroot/formatjs/bazel-out/darwin_arm64-fastbuild/bin/node_modules/.aspect_rules_js/react-is@16.13.1/node_modules/react-is/index.js"(exports, module) {
230
+ "node_modules/.aspect_rules_js/react-is@16.13.1/node_modules/react-is/index.js"(exports, module) {
198
231
  "use strict";
199
232
  if (false) {
200
233
  module.exports = null;
@@ -204,9 +237,9 @@ var ReactIntl = (() => {
204
237
  }
205
238
  });
206
239
 
207
- // ../../../../../../../../execroot/formatjs/bazel-out/darwin_arm64-fastbuild/bin/node_modules/.aspect_rules_js/hoist-non-react-statics@3.3.2/node_modules/hoist-non-react-statics/dist/hoist-non-react-statics.cjs.js
240
+ // node_modules/.aspect_rules_js/hoist-non-react-statics@3.3.2/node_modules/hoist-non-react-statics/dist/hoist-non-react-statics.cjs.js
208
241
  var require_hoist_non_react_statics_cjs = __commonJS({
209
- "../../../../../../../../execroot/formatjs/bazel-out/darwin_arm64-fastbuild/bin/node_modules/.aspect_rules_js/hoist-non-react-statics@3.3.2/node_modules/hoist-non-react-statics/dist/hoist-non-react-statics.cjs.js"(exports, module) {
242
+ "node_modules/.aspect_rules_js/hoist-non-react-statics@3.3.2/node_modules/hoist-non-react-statics/dist/hoist-non-react-statics.cjs.js"(exports, module) {
210
243
  "use strict";
211
244
  var reactIs = require_react_is();
212
245
  var REACT_STATICS = {
@@ -292,9 +325,9 @@ var ReactIntl = (() => {
292
325
  }
293
326
  });
294
327
 
295
- // ../../../../../../../../execroot/formatjs/bazel-out/darwin_arm64-fastbuild/bin/packages/react-intl/lib/index.js
296
- var lib_exports = {};
297
- __export(lib_exports, {
328
+ // packages/react-intl/index.ts
329
+ var react_intl_exports = {};
330
+ __export(react_intl_exports, {
298
331
  FormattedDate: () => FormattedDate,
299
332
  FormattedDateParts: () => FormattedDateParts,
300
333
  FormattedDateTimeRange: () => dateTimeRange_default,
@@ -309,7 +342,7 @@ var ReactIntl = (() => {
309
342
  FormattedTime: () => FormattedTime,
310
343
  FormattedTimeParts: () => FormattedTimeParts,
311
344
  IntlContext: () => Context,
312
- IntlProvider: () => provider_default,
345
+ IntlProvider: () => IntlProvider2,
313
346
  InvalidConfigError: () => InvalidConfigError,
314
347
  MessageFormatError: () => MessageFormatError,
315
348
  MissingDataError: () => MissingDataError,
@@ -326,79 +359,23 @@ var ReactIntl = (() => {
326
359
  useIntl: () => useIntl
327
360
  });
328
361
 
329
- // ../../../../../../../../execroot/formatjs/bazel-out/darwin_arm64-fastbuild/bin/node_modules/.aspect_rules_js/tslib@2.4.0/node_modules/tslib/tslib.es6.js
330
- var extendStatics = function(d, b) {
331
- extendStatics = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(d2, b2) {
332
- d2.__proto__ = b2;
333
- } || function(d2, b2) {
334
- for (var p in b2)
335
- if (Object.prototype.hasOwnProperty.call(b2, p))
336
- d2[p] = b2[p];
337
- };
338
- return extendStatics(d, b);
339
- };
340
- function __extends(d, b) {
341
- if (typeof b !== "function" && b !== null)
342
- throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
343
- extendStatics(d, b);
344
- function __() {
345
- this.constructor = d;
346
- }
347
- d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
348
- }
349
- var __assign = function() {
350
- __assign = Object.assign || function __assign2(t) {
351
- for (var s, i = 1, n = arguments.length; i < n; i++) {
352
- s = arguments[i];
353
- for (var p in s)
354
- if (Object.prototype.hasOwnProperty.call(s, p))
355
- t[p] = s[p];
356
- }
357
- return t;
358
- };
359
- return __assign.apply(this, arguments);
360
- };
361
- function __rest(s, e) {
362
- var t = {};
363
- for (var p in s)
364
- if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
365
- t[p] = s[p];
366
- if (s != null && typeof Object.getOwnPropertySymbols === "function")
367
- for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
368
- if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
369
- t[p[i]] = s[p[i]];
370
- }
371
- return t;
372
- }
373
- function __spreadArray(to, from, pack) {
374
- if (pack || arguments.length === 2)
375
- for (var i = 0, l = from.length, ar; i < l; i++) {
376
- if (ar || !(i in from)) {
377
- if (!ar)
378
- ar = Array.prototype.slice.call(from, 0, i);
379
- ar[i] = from[i];
380
- }
381
- }
382
- return to.concat(ar || Array.prototype.slice.call(from));
383
- }
384
-
385
- // ../../../../../../../../execroot/formatjs/bazel-out/darwin_arm64-fastbuild/bin/packages/react-intl/lib/src/components/createFormattedComponent.js
362
+ // packages/react-intl/src/components/createFormattedComponent.tsx
386
363
  var React4 = __toESM(window.React);
387
364
 
388
- // ../../../../../../../../execroot/formatjs/bazel-out/darwin_arm64-fastbuild/bin/packages/react-intl/lib/src/components/useIntl.js
365
+ // packages/react-intl/src/components/useIntl.ts
389
366
  var React3 = __toESM(window.React);
390
367
 
391
- // ../../../../../../../../execroot/formatjs/bazel-out/darwin_arm64-fastbuild/bin/packages/react-intl/lib/src/utils.js
368
+ // packages/react-intl/src/utils.ts
392
369
  var React = __toESM(window.React);
393
370
 
394
- // ../../../../../../../../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
371
+ // node_modules/.aspect_rules_js/@formatjs+ecma402-abstract@0.0.0/node_modules/@formatjs/ecma402-abstract/lib/262.js
395
372
  var MINUTES_PER_HOUR = 60;
396
373
  var SECONDS_PER_MINUTE = 60;
397
374
  var MS_PER_SECOND = 1e3;
398
375
  var MS_PER_MINUTE = MS_PER_SECOND * SECONDS_PER_MINUTE;
399
376
  var MS_PER_HOUR = MS_PER_MINUTE * MINUTES_PER_HOUR;
400
377
 
401
- // ../../../../../../../../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
378
+ // node_modules/.aspect_rules_js/@formatjs+ecma402-abstract@0.0.0/node_modules/@formatjs/ecma402-abstract/lib/IsSanctionedSimpleUnitIdentifier.js
402
379
  var SANCTIONED_UNITS = [
403
380
  "angle-degree",
404
381
  "area-acre",
@@ -449,7 +426,63 @@ var ReactIntl = (() => {
449
426
  }
450
427
  var SIMPLE_UNITS = SANCTIONED_UNITS.map(removeUnitNamespace);
451
428
 
452
- // ../../../../../../../../execroot/formatjs/bazel-out/darwin_arm64-fastbuild/bin/node_modules/.aspect_rules_js/@formatjs+fast-memoize@0.0.0/node_modules/@formatjs/fast-memoize/lib/index.js
429
+ // node_modules/.aspect_rules_js/tslib@2.8.0/node_modules/tslib/tslib.es6.mjs
430
+ var extendStatics = function(d, b) {
431
+ extendStatics = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(d2, b2) {
432
+ d2.__proto__ = b2;
433
+ } || function(d2, b2) {
434
+ for (var p in b2)
435
+ if (Object.prototype.hasOwnProperty.call(b2, p))
436
+ d2[p] = b2[p];
437
+ };
438
+ return extendStatics(d, b);
439
+ };
440
+ function __extends(d, b) {
441
+ if (typeof b !== "function" && b !== null)
442
+ throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
443
+ extendStatics(d, b);
444
+ function __() {
445
+ this.constructor = d;
446
+ }
447
+ d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
448
+ }
449
+ var __assign = function() {
450
+ __assign = Object.assign || function __assign2(t) {
451
+ for (var s, i = 1, n = arguments.length; i < n; i++) {
452
+ s = arguments[i];
453
+ for (var p in s)
454
+ if (Object.prototype.hasOwnProperty.call(s, p))
455
+ t[p] = s[p];
456
+ }
457
+ return t;
458
+ };
459
+ return __assign.apply(this, arguments);
460
+ };
461
+ function __rest(s, e) {
462
+ var t = {};
463
+ for (var p in s)
464
+ if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
465
+ t[p] = s[p];
466
+ if (s != null && typeof Object.getOwnPropertySymbols === "function")
467
+ for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
468
+ if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
469
+ t[p[i]] = s[p[i]];
470
+ }
471
+ return t;
472
+ }
473
+ function __spreadArray(to, from, pack) {
474
+ if (pack || arguments.length === 2)
475
+ for (var i = 0, l = from.length, ar; i < l; i++) {
476
+ if (ar || !(i in from)) {
477
+ if (!ar)
478
+ ar = Array.prototype.slice.call(from, 0, i);
479
+ ar[i] = from[i];
480
+ }
481
+ }
482
+ return to.concat(ar || Array.prototype.slice.call(from));
483
+ }
484
+
485
+ // node_modules/.aspect_rules_js/@formatjs+fast-memoize@0.0.0/node_modules/@formatjs/fast-memoize/lib/index.js
453
486
  function memoize(fn, options) {
454
487
  var cache = options && options.cache ? options.cache : cacheDefault;
455
488
  var serializer = options && options.serializer ? options.serializer : serializerDefault;
@@ -516,7 +549,7 @@ var ReactIntl = (() => {
516
549
  monadic: strategyMonadic
517
550
  };
518
551
 
519
- // ../../../../../../../../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
552
+ // node_modules/.aspect_rules_js/@formatjs+ecma402-abstract@0.0.0/node_modules/@formatjs/ecma402-abstract/lib/utils.js
520
553
  function invariant(condition, message, Err) {
521
554
  if (Err === void 0) {
522
555
  Err = Error;
@@ -576,14 +609,14 @@ var ReactIntl = (() => {
576
609
  strategy: strategies.variadic
577
610
  });
578
611
 
579
- // ../../../../../../../../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
612
+ // node_modules/.aspect_rules_js/@formatjs+ecma402-abstract@0.0.0/node_modules/@formatjs/ecma402-abstract/lib/regex.generated.js
580
613
  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]/;
581
614
 
582
- // ../../../../../../../../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
615
+ // node_modules/.aspect_rules_js/@formatjs+ecma402-abstract@0.0.0/node_modules/@formatjs/ecma402-abstract/lib/NumberFormat/format_to_parts.js
583
616
  var CARET_S_UNICODE_REGEX = new RegExp("^".concat(S_UNICODE_REGEX.source));
584
617
  var S_DOLLAR_UNICODE_REGEX = new RegExp("".concat(S_UNICODE_REGEX.source, "$"));
585
618
 
586
- // ../../../../../../../../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
619
+ // node_modules/.aspect_rules_js/@formatjs+ecma402-abstract@0.0.0/node_modules/@formatjs/ecma402-abstract/lib/data.js
587
620
  var MissingLocaleDataError = (
588
621
  /** @class */
589
622
  function(_super) {
@@ -597,7 +630,7 @@ var ReactIntl = (() => {
597
630
  }(Error)
598
631
  );
599
632
 
600
- // ../../../../../../../../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
633
+ // node_modules/.aspect_rules_js/@formatjs+ecma402-abstract@0.0.0/node_modules/@formatjs/ecma402-abstract/lib/types/date-time.js
601
634
  var RangePatternType;
602
635
  (function(RangePatternType2) {
603
636
  RangePatternType2["startRange"] = "startRange";
@@ -605,7 +638,7 @@ var ReactIntl = (() => {
605
638
  RangePatternType2["endRange"] = "endRange";
606
639
  })(RangePatternType || (RangePatternType = {}));
607
640
 
608
- // ../../../../../../../../execroot/formatjs/bazel-out/darwin_arm64-fastbuild/bin/node_modules/.aspect_rules_js/@formatjs+icu-messageformat-parser@0.0.0/node_modules/@formatjs/icu-messageformat-parser/lib/error.js
641
+ // node_modules/.aspect_rules_js/@formatjs+icu-messageformat-parser@0.0.0/node_modules/@formatjs/icu-messageformat-parser/lib/error.js
609
642
  var ErrorKind;
610
643
  (function(ErrorKind2) {
611
644
  ErrorKind2[ErrorKind2["EXPECT_ARGUMENT_CLOSING_BRACE"] = 1] = "EXPECT_ARGUMENT_CLOSING_BRACE";
@@ -636,7 +669,7 @@ var ReactIntl = (() => {
636
669
  ErrorKind2[ErrorKind2["UNCLOSED_TAG"] = 27] = "UNCLOSED_TAG";
637
670
  })(ErrorKind || (ErrorKind = {}));
638
671
 
639
- // ../../../../../../../../execroot/formatjs/bazel-out/darwin_arm64-fastbuild/bin/node_modules/.aspect_rules_js/@formatjs+icu-messageformat-parser@0.0.0/node_modules/@formatjs/icu-messageformat-parser/lib/types.js
672
+ // node_modules/.aspect_rules_js/@formatjs+icu-messageformat-parser@0.0.0/node_modules/@formatjs/icu-messageformat-parser/lib/types.js
640
673
  var TYPE;
641
674
  (function(TYPE2) {
642
675
  TYPE2[TYPE2["literal"] = 0] = "literal";
@@ -688,10 +721,10 @@ var ReactIntl = (() => {
688
721
  return !!(el && typeof el === "object" && el.type === SKELETON_TYPE.dateTime);
689
722
  }
690
723
 
691
- // ../../../../../../../../execroot/formatjs/bazel-out/darwin_arm64-fastbuild/bin/node_modules/.aspect_rules_js/@formatjs+icu-messageformat-parser@0.0.0/node_modules/@formatjs/icu-messageformat-parser/lib/regex.generated.js
724
+ // node_modules/.aspect_rules_js/@formatjs+icu-messageformat-parser@0.0.0/node_modules/@formatjs/icu-messageformat-parser/lib/regex.generated.js
692
725
  var SPACE_SEPARATOR_REGEX = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/;
693
726
 
694
- // ../../../../../../../../execroot/formatjs/bazel-out/darwin_arm64-fastbuild/bin/node_modules/.aspect_rules_js/@formatjs+icu-skeleton-parser@0.0.0/node_modules/@formatjs/icu-skeleton-parser/lib/date-time.js
727
+ // node_modules/.aspect_rules_js/@formatjs+icu-skeleton-parser@0.0.0/node_modules/@formatjs/icu-skeleton-parser/lib/date-time.js
695
728
  var DATE_TIME_REGEX = /(?:[Eec]{1,6}|G{1,5}|[Qq]{1,5}|(?:[yYur]+|U{1,5})|[ML]{1,5}|d{1,2}|D{1,3}|F{1}|[abB]{1,5}|[hkHK]{1,2}|w{1,2}|W{1}|m{1,2}|s{1,2}|[zZOvVxX]{1,4})(?=([^']*'[^']*')*[^']*$)/g;
696
729
  function parseDateTimeSkeleton(skeleton) {
697
730
  var result = {};
@@ -792,10 +825,10 @@ var ReactIntl = (() => {
792
825
  return result;
793
826
  }
794
827
 
795
- // ../../../../../../../../execroot/formatjs/bazel-out/darwin_arm64-fastbuild/bin/node_modules/.aspect_rules_js/@formatjs+icu-skeleton-parser@0.0.0/node_modules/@formatjs/icu-skeleton-parser/lib/regex.generated.js
828
+ // node_modules/.aspect_rules_js/@formatjs+icu-skeleton-parser@0.0.0/node_modules/@formatjs/icu-skeleton-parser/lib/regex.generated.js
796
829
  var WHITE_SPACE_REGEX = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
797
830
 
798
- // ../../../../../../../../execroot/formatjs/bazel-out/darwin_arm64-fastbuild/bin/node_modules/.aspect_rules_js/@formatjs+icu-skeleton-parser@0.0.0/node_modules/@formatjs/icu-skeleton-parser/lib/number.js
831
+ // node_modules/.aspect_rules_js/@formatjs+icu-skeleton-parser@0.0.0/node_modules/@formatjs/icu-skeleton-parser/lib/number.js
799
832
  function parseNumberSkeletonFromString(skeleton) {
800
833
  if (skeleton.length === 0) {
801
834
  throw new Error("Number skeleton cannot be empty");
@@ -1082,12 +1115,18 @@ var ReactIntl = (() => {
1082
1115
  return result;
1083
1116
  }
1084
1117
 
1085
- // ../../../../../../../../execroot/formatjs/bazel-out/darwin_arm64-fastbuild/bin/node_modules/.aspect_rules_js/@formatjs+icu-messageformat-parser@0.0.0/node_modules/@formatjs/icu-messageformat-parser/lib/time-data.generated.js
1118
+ // node_modules/.aspect_rules_js/@formatjs+icu-messageformat-parser@0.0.0/node_modules/@formatjs/icu-messageformat-parser/lib/time-data.generated.js
1086
1119
  var timeData = {
1087
1120
  "001": [
1088
1121
  "H",
1089
1122
  "h"
1090
1123
  ],
1124
+ "419": [
1125
+ "h",
1126
+ "H",
1127
+ "hB",
1128
+ "hb"
1129
+ ],
1091
1130
  "AC": [
1092
1131
  "H",
1093
1132
  "h",
@@ -1136,8 +1175,8 @@ var ReactIntl = (() => {
1136
1175
  "hB"
1137
1176
  ],
1138
1177
  "AR": [
1139
- "H",
1140
1178
  "h",
1179
+ "H",
1141
1180
  "hB",
1142
1181
  "hb"
1143
1182
  ],
@@ -1227,9 +1266,9 @@ var ReactIntl = (() => {
1227
1266
  "H"
1228
1267
  ],
1229
1268
  "BO": [
1269
+ "h",
1230
1270
  "H",
1231
1271
  "hB",
1232
- "h",
1233
1272
  "hb"
1234
1273
  ],
1235
1274
  "BQ": [
@@ -1306,8 +1345,8 @@ var ReactIntl = (() => {
1306
1345
  "hB"
1307
1346
  ],
1308
1347
  "CL": [
1309
- "H",
1310
1348
  "h",
1349
+ "H",
1311
1350
  "hB",
1312
1351
  "hb"
1313
1352
  ],
@@ -1332,14 +1371,14 @@ var ReactIntl = (() => {
1332
1371
  "H"
1333
1372
  ],
1334
1373
  "CR": [
1335
- "H",
1336
1374
  "h",
1375
+ "H",
1337
1376
  "hB",
1338
1377
  "hb"
1339
1378
  ],
1340
1379
  "CU": [
1341
- "H",
1342
1380
  "h",
1381
+ "H",
1343
1382
  "hB",
1344
1383
  "hb"
1345
1384
  ],
@@ -1408,9 +1447,9 @@ var ReactIntl = (() => {
1408
1447
  "hb"
1409
1448
  ],
1410
1449
  "EC": [
1450
+ "h",
1411
1451
  "H",
1412
1452
  "hB",
1413
- "h",
1414
1453
  "hb"
1415
1454
  ],
1416
1455
  "EE": [
@@ -1546,8 +1585,8 @@ var ReactIntl = (() => {
1546
1585
  "hB"
1547
1586
  ],
1548
1587
  "GT": [
1549
- "H",
1550
1588
  "h",
1589
+ "H",
1551
1590
  "hB",
1552
1591
  "hb"
1553
1592
  ],
@@ -1574,8 +1613,8 @@ var ReactIntl = (() => {
1574
1613
  "H"
1575
1614
  ],
1576
1615
  "HN": [
1577
- "H",
1578
1616
  "h",
1617
+ "H",
1579
1618
  "hB",
1580
1619
  "hb"
1581
1620
  ],
@@ -1889,8 +1928,8 @@ var ReactIntl = (() => {
1889
1928
  "hB"
1890
1929
  ],
1891
1930
  "MX": [
1892
- "H",
1893
1931
  "h",
1932
+ "H",
1894
1933
  "hB",
1895
1934
  "hb"
1896
1935
  ],
@@ -1930,8 +1969,8 @@ var ReactIntl = (() => {
1930
1969
  "hB"
1931
1970
  ],
1932
1971
  "NI": [
1933
- "H",
1934
1972
  "h",
1973
+ "H",
1935
1974
  "hB",
1936
1975
  "hb"
1937
1976
  ],
@@ -1979,9 +2018,9 @@ var ReactIntl = (() => {
1979
2018
  "hb"
1980
2019
  ],
1981
2020
  "PE": [
2021
+ "h",
1982
2022
  "H",
1983
2023
  "hB",
1984
- "h",
1985
2024
  "hb"
1986
2025
  ],
1987
2026
  "PF": [
@@ -2039,8 +2078,8 @@ var ReactIntl = (() => {
2039
2078
  "H"
2040
2079
  ],
2041
2080
  "PY": [
2042
- "H",
2043
2081
  "h",
2082
+ "H",
2044
2083
  "hB",
2045
2084
  "hb"
2046
2085
  ],
@@ -2153,8 +2192,8 @@ var ReactIntl = (() => {
2153
2192
  "hB"
2154
2193
  ],
2155
2194
  "SV": [
2156
- "H",
2157
2195
  "h",
2196
+ "H",
2158
2197
  "hB",
2159
2198
  "hb"
2160
2199
  ],
@@ -2276,8 +2315,8 @@ var ReactIntl = (() => {
2276
2315
  "hB"
2277
2316
  ],
2278
2317
  "UY": [
2279
- "H",
2280
2318
  "h",
2319
+ "H",
2281
2320
  "hB",
2282
2321
  "hb"
2283
2322
  ],
@@ -2385,24 +2424,12 @@ var ReactIntl = (() => {
2385
2424
  "H",
2386
2425
  "hB"
2387
2426
  ],
2388
- "es-BO": [
2389
- "H",
2390
- "h",
2391
- "hB",
2392
- "hb"
2393
- ],
2394
2427
  "es-BR": [
2395
2428
  "H",
2396
2429
  "h",
2397
2430
  "hB",
2398
2431
  "hb"
2399
2432
  ],
2400
- "es-EC": [
2401
- "H",
2402
- "h",
2403
- "hB",
2404
- "hb"
2405
- ],
2406
2433
  "es-ES": [
2407
2434
  "H",
2408
2435
  "h",
@@ -2415,12 +2442,6 @@ var ReactIntl = (() => {
2415
2442
  "hB",
2416
2443
  "hb"
2417
2444
  ],
2418
- "es-PE": [
2419
- "H",
2420
- "h",
2421
- "hB",
2422
- "hb"
2423
- ],
2424
2445
  "fr-CA": [
2425
2446
  "H",
2426
2447
  "h",
@@ -2493,7 +2514,7 @@ var ReactIntl = (() => {
2493
2514
  ]
2494
2515
  };
2495
2516
 
2496
- // ../../../../../../../../execroot/formatjs/bazel-out/darwin_arm64-fastbuild/bin/node_modules/.aspect_rules_js/@formatjs+icu-messageformat-parser@0.0.0/node_modules/@formatjs/icu-messageformat-parser/lib/date-time-pattern-generator.js
2517
+ // node_modules/.aspect_rules_js/@formatjs+icu-messageformat-parser@0.0.0/node_modules/@formatjs/icu-messageformat-parser/lib/date-time-pattern-generator.js
2497
2518
  function getBestPattern(skeleton, locale) {
2498
2519
  var skeletonCopy = "";
2499
2520
  for (var patternPos = 0; patternPos < skeleton.length; patternPos++) {
@@ -2555,7 +2576,7 @@ var ReactIntl = (() => {
2555
2576
  return hourCycles[0];
2556
2577
  }
2557
2578
 
2558
- // ../../../../../../../../execroot/formatjs/bazel-out/darwin_arm64-fastbuild/bin/node_modules/.aspect_rules_js/@formatjs+icu-messageformat-parser@0.0.0/node_modules/@formatjs/icu-messageformat-parser/lib/parser.js
2579
+ // node_modules/.aspect_rules_js/@formatjs+icu-messageformat-parser@0.0.0/node_modules/@formatjs/icu-messageformat-parser/lib/parser.js
2559
2580
  var _a;
2560
2581
  var SPACE_SEPARATOR_START_REGEX = new RegExp("^".concat(SPACE_SEPARATOR_REGEX.source, "*"));
2561
2582
  var SPACE_SEPARATOR_END_REGEX = new RegExp("".concat(SPACE_SEPARATOR_REGEX.source, "*$"));
@@ -3360,7 +3381,7 @@ var ReactIntl = (() => {
3360
3381
  return c >= 33 && c <= 35 || c === 36 || c >= 37 && c <= 39 || c === 40 || c === 41 || c === 42 || c === 43 || c === 44 || c === 45 || c >= 46 && c <= 47 || c >= 58 && c <= 59 || c >= 60 && c <= 62 || c >= 63 && c <= 64 || c === 91 || c === 92 || c === 93 || c === 94 || c === 96 || c === 123 || c === 124 || c === 125 || c === 126 || c === 161 || c >= 162 && c <= 165 || c === 166 || c === 167 || c === 169 || c === 171 || c === 172 || c === 174 || c === 176 || c === 177 || c === 182 || c === 187 || c === 191 || c === 215 || c === 247 || c >= 8208 && c <= 8213 || c >= 8214 && c <= 8215 || c === 8216 || c === 8217 || c === 8218 || c >= 8219 && c <= 8220 || c === 8221 || c === 8222 || c === 8223 || c >= 8224 && c <= 8231 || c >= 8240 && c <= 8248 || c === 8249 || c === 8250 || c >= 8251 && c <= 8254 || c >= 8257 && c <= 8259 || c === 8260 || c === 8261 || c === 8262 || c >= 8263 && c <= 8273 || c === 8274 || c === 8275 || c >= 8277 && c <= 8286 || c >= 8592 && c <= 8596 || c >= 8597 && c <= 8601 || c >= 8602 && c <= 8603 || c >= 8604 && c <= 8607 || c === 8608 || c >= 8609 && c <= 8610 || c === 8611 || c >= 8612 && c <= 8613 || c === 8614 || c >= 8615 && c <= 8621 || c === 8622 || c >= 8623 && c <= 8653 || c >= 8654 && c <= 8655 || c >= 8656 && c <= 8657 || c === 8658 || c === 8659 || c === 8660 || c >= 8661 && c <= 8691 || c >= 8692 && c <= 8959 || c >= 8960 && c <= 8967 || c === 8968 || c === 8969 || c === 8970 || c === 8971 || c >= 8972 && c <= 8991 || c >= 8992 && c <= 8993 || c >= 8994 && c <= 9e3 || c === 9001 || c === 9002 || c >= 9003 && c <= 9083 || c === 9084 || c >= 9085 && c <= 9114 || c >= 9115 && c <= 9139 || c >= 9140 && c <= 9179 || c >= 9180 && c <= 9185 || c >= 9186 && c <= 9254 || c >= 9255 && c <= 9279 || c >= 9280 && c <= 9290 || c >= 9291 && c <= 9311 || c >= 9472 && c <= 9654 || c === 9655 || c >= 9656 && c <= 9664 || c === 9665 || c >= 9666 && c <= 9719 || c >= 9720 && c <= 9727 || c >= 9728 && c <= 9838 || c === 9839 || c >= 9840 && c <= 10087 || c === 10088 || c === 10089 || c === 10090 || c === 10091 || c === 10092 || c === 10093 || c === 10094 || c === 10095 || c === 10096 || c === 10097 || c === 10098 || c === 10099 || c === 10100 || c === 10101 || c >= 10132 && c <= 10175 || c >= 10176 && c <= 10180 || c === 10181 || c === 10182 || c >= 10183 && c <= 10213 || c === 10214 || c === 10215 || c === 10216 || c === 10217 || c === 10218 || c === 10219 || c === 10220 || c === 10221 || c === 10222 || c === 10223 || c >= 10224 && c <= 10239 || c >= 10240 && c <= 10495 || c >= 10496 && c <= 10626 || c === 10627 || c === 10628 || c === 10629 || c === 10630 || c === 10631 || c === 10632 || c === 10633 || c === 10634 || c === 10635 || c === 10636 || c === 10637 || c === 10638 || c === 10639 || c === 10640 || c === 10641 || c === 10642 || c === 10643 || c === 10644 || c === 10645 || c === 10646 || c === 10647 || c === 10648 || c >= 10649 && c <= 10711 || c === 10712 || c === 10713 || c === 10714 || c === 10715 || c >= 10716 && c <= 10747 || c === 10748 || c === 10749 || c >= 10750 && c <= 11007 || c >= 11008 && c <= 11055 || c >= 11056 && c <= 11076 || c >= 11077 && c <= 11078 || c >= 11079 && c <= 11084 || c >= 11085 && c <= 11123 || c >= 11124 && c <= 11125 || c >= 11126 && c <= 11157 || c === 11158 || c >= 11159 && c <= 11263 || c >= 11776 && c <= 11777 || c === 11778 || c === 11779 || c === 11780 || c === 11781 || c >= 11782 && c <= 11784 || c === 11785 || c === 11786 || c === 11787 || c === 11788 || c === 11789 || c >= 11790 && c <= 11798 || c === 11799 || c >= 11800 && c <= 11801 || c === 11802 || c === 11803 || c === 11804 || c === 11805 || c >= 11806 && c <= 11807 || c === 11808 || c === 11809 || c === 11810 || c === 11811 || c === 11812 || c === 11813 || c === 11814 || c === 11815 || c === 11816 || c === 11817 || c >= 11818 && c <= 11822 || c === 11823 || c >= 11824 && c <= 11833 || c >= 11834 && c <= 11835 || c >= 11836 && c <= 11839 || c === 11840 || c === 11841 || c === 11842 || c >= 11843 && c <= 11855 || c >= 11856 && c <= 11857 || c === 11858 || c >= 11859 && c <= 11903 || c >= 12289 && c <= 12291 || c === 12296 || c === 12297 || c === 12298 || c === 12299 || c === 12300 || c === 12301 || c === 12302 || c === 12303 || c === 12304 || c === 12305 || c >= 12306 && c <= 12307 || c === 12308 || c === 12309 || c === 12310 || c === 12311 || c === 12312 || c === 12313 || c === 12314 || c === 12315 || c === 12316 || c === 12317 || c >= 12318 && c <= 12319 || c === 12320 || c === 12336 || c === 64830 || c === 64831 || c >= 65093 && c <= 65094;
3361
3382
  }
3362
3383
 
3363
- // ../../../../../../../../execroot/formatjs/bazel-out/darwin_arm64-fastbuild/bin/node_modules/.aspect_rules_js/@formatjs+icu-messageformat-parser@0.0.0/node_modules/@formatjs/icu-messageformat-parser/lib/index.js
3384
+ // node_modules/.aspect_rules_js/@formatjs+icu-messageformat-parser@0.0.0/node_modules/@formatjs/icu-messageformat-parser/lib/index.js
3364
3385
  function pruneLocation(els) {
3365
3386
  els.forEach(function(el) {
3366
3387
  delete el.location;
@@ -3396,7 +3417,7 @@ var ReactIntl = (() => {
3396
3417
  return result.val;
3397
3418
  }
3398
3419
 
3399
- // ../../../../../../../../execroot/formatjs/bazel-out/darwin_arm64-fastbuild/bin/node_modules/.aspect_rules_js/intl-messageformat@0.0.0/node_modules/intl-messageformat/lib/src/error.js
3420
+ // node_modules/.aspect_rules_js/intl-messageformat@0.0.0/node_modules/intl-messageformat/lib/src/error.js
3400
3421
  var ErrorCode;
3401
3422
  (function(ErrorCode2) {
3402
3423
  ErrorCode2["MISSING_VALUE"] = "MISSING_VALUE";
@@ -3450,7 +3471,7 @@ var ReactIntl = (() => {
3450
3471
  }(FormatError)
3451
3472
  );
3452
3473
 
3453
- // ../../../../../../../../execroot/formatjs/bazel-out/darwin_arm64-fastbuild/bin/node_modules/.aspect_rules_js/intl-messageformat@0.0.0/node_modules/intl-messageformat/lib/src/formatters.js
3474
+ // node_modules/.aspect_rules_js/intl-messageformat@0.0.0/node_modules/intl-messageformat/lib/src/formatters.js
3454
3475
  var PART_TYPE;
3455
3476
  (function(PART_TYPE2) {
3456
3477
  PART_TYPE2[PART_TYPE2["literal"] = 0] = "literal";
@@ -3590,7 +3611,7 @@ var ReactIntl = (() => {
3590
3611
  return mergeLiteral(result);
3591
3612
  }
3592
3613
 
3593
- // ../../../../../../../../execroot/formatjs/bazel-out/darwin_arm64-fastbuild/bin/node_modules/.aspect_rules_js/intl-messageformat@0.0.0/node_modules/intl-messageformat/lib/src/core.js
3614
+ // node_modules/.aspect_rules_js/intl-messageformat@0.0.0/node_modules/intl-messageformat/lib/src/core.js
3594
3615
  function mergeConfig(c1, c2) {
3595
3616
  if (!c2) {
3596
3617
  return c1;
@@ -3671,10 +3692,10 @@ var ReactIntl = (() => {
3671
3692
  /** @class */
3672
3693
  function() {
3673
3694
  function IntlMessageFormat2(message, locales, overrideFormats, opts) {
3674
- var _this = this;
3675
3695
  if (locales === void 0) {
3676
3696
  locales = IntlMessageFormat2.defaultLocale;
3677
3697
  }
3698
+ var _this = this;
3678
3699
  this.formatterCache = {
3679
3700
  number: {},
3680
3701
  dateTime: {},
@@ -3813,7 +3834,7 @@ var ReactIntl = (() => {
3813
3834
  }()
3814
3835
  );
3815
3836
 
3816
- // ../../../../../../../../execroot/formatjs/bazel-out/darwin_arm64-fastbuild/bin/node_modules/.aspect_rules_js/@formatjs+intl@0.0.0/node_modules/@formatjs/intl/lib/src/error.js
3837
+ // node_modules/.aspect_rules_js/@formatjs+intl@0.0.0/node_modules/@formatjs/intl/lib/src/error.js
3817
3838
  var IntlErrorCode;
3818
3839
  (function(IntlErrorCode2) {
3819
3840
  IntlErrorCode2["FORMAT_ERROR"] = "FORMAT_ERROR";
@@ -3910,7 +3931,7 @@ var ReactIntl = (() => {
3910
3931
  }(IntlError)
3911
3932
  );
3912
3933
 
3913
- // ../../../../../../../../execroot/formatjs/bazel-out/darwin_arm64-fastbuild/bin/node_modules/.aspect_rules_js/@formatjs+intl@0.0.0/node_modules/@formatjs/intl/lib/src/utils.js
3934
+ // node_modules/.aspect_rules_js/@formatjs+intl@0.0.0/node_modules/@formatjs/intl/lib/src/utils.js
3914
3935
  function filterProps(props, allowlist, defaults) {
3915
3936
  if (defaults === void 0) {
3916
3937
  defaults = {};
@@ -4067,7 +4088,7 @@ var ReactIntl = (() => {
4067
4088
  onError(new UnsupportedFormatterError("No ".concat(type, " format named: ").concat(name)));
4068
4089
  }
4069
4090
 
4070
- // ../../../../../../../../execroot/formatjs/bazel-out/darwin_arm64-fastbuild/bin/node_modules/.aspect_rules_js/@formatjs+intl@0.0.0/node_modules/@formatjs/intl/lib/src/message.js
4091
+ // node_modules/.aspect_rules_js/@formatjs+intl@0.0.0/node_modules/@formatjs/intl/lib/src/message.js
4071
4092
  function setTimeZoneInOptions(opts, timeZone) {
4072
4093
  return Object.keys(opts).reduce(function(all, k) {
4073
4094
  all[k] = __assign({ timeZone }, opts[k]);
@@ -4152,7 +4173,7 @@ var ReactIntl = (() => {
4152
4173
  return id;
4153
4174
  };
4154
4175
 
4155
- // ../../../../../../../../execroot/formatjs/bazel-out/darwin_arm64-fastbuild/bin/node_modules/.aspect_rules_js/@formatjs+intl@0.0.0/node_modules/@formatjs/intl/lib/src/dateTime.js
4176
+ // node_modules/.aspect_rules_js/@formatjs+intl@0.0.0/node_modules/@formatjs/intl/lib/src/dateTime.js
4156
4177
  var DATE_TIME_FORMAT_OPTIONS = [
4157
4178
  "formatMatcher",
4158
4179
  "timeZone",
@@ -4259,7 +4280,7 @@ var ReactIntl = (() => {
4259
4280
  return [];
4260
4281
  }
4261
4282
 
4262
- // ../../../../../../../../execroot/formatjs/bazel-out/darwin_arm64-fastbuild/bin/node_modules/.aspect_rules_js/@formatjs+intl@0.0.0/node_modules/@formatjs/intl/lib/src/displayName.js
4283
+ // node_modules/.aspect_rules_js/@formatjs+intl@0.0.0/node_modules/@formatjs/intl/lib/src/displayName.js
4263
4284
  var DISPLAY_NAMES_OPTONS = [
4264
4285
  "style",
4265
4286
  "type",
@@ -4280,7 +4301,7 @@ var ReactIntl = (() => {
4280
4301
  }
4281
4302
  }
4282
4303
 
4283
- // ../../../../../../../../execroot/formatjs/bazel-out/darwin_arm64-fastbuild/bin/node_modules/.aspect_rules_js/@formatjs+intl@0.0.0/node_modules/@formatjs/intl/lib/src/list.js
4304
+ // node_modules/.aspect_rules_js/@formatjs+intl@0.0.0/node_modules/@formatjs/intl/lib/src/list.js
4284
4305
  var LIST_FORMAT_OPTIONS = [
4285
4306
  "type",
4286
4307
  "style"
@@ -4335,7 +4356,7 @@ var ReactIntl = (() => {
4335
4356
  return values;
4336
4357
  }
4337
4358
 
4338
- // ../../../../../../../../execroot/formatjs/bazel-out/darwin_arm64-fastbuild/bin/node_modules/.aspect_rules_js/@formatjs+intl@0.0.0/node_modules/@formatjs/intl/lib/src/plural.js
4359
+ // node_modules/.aspect_rules_js/@formatjs+intl@0.0.0/node_modules/@formatjs/intl/lib/src/plural.js
4339
4360
  var PLURAL_FORMAT_OPTIONS = ["type"];
4340
4361
  function formatPlural(_a2, getPluralRules, value, options) {
4341
4362
  var locale = _a2.locale, onError = _a2.onError;
@@ -4354,7 +4375,7 @@ var ReactIntl = (() => {
4354
4375
  return "other";
4355
4376
  }
4356
4377
 
4357
- // ../../../../../../../../execroot/formatjs/bazel-out/darwin_arm64-fastbuild/bin/node_modules/.aspect_rules_js/@formatjs+intl@0.0.0/node_modules/@formatjs/intl/lib/src/relativeTime.js
4378
+ // node_modules/.aspect_rules_js/@formatjs+intl@0.0.0/node_modules/@formatjs/intl/lib/src/relativeTime.js
4358
4379
  var RELATIVE_TIME_FORMAT_OPTIONS = ["numeric", "style"];
4359
4380
  function getFormatter2(_a2, getRelativeTimeFormat, options) {
4360
4381
  var locale = _a2.locale, formats = _a2.formats, onError = _a2.onError;
@@ -4385,7 +4406,7 @@ var ReactIntl = (() => {
4385
4406
  return String(value);
4386
4407
  }
4387
4408
 
4388
- // ../../../../../../../../execroot/formatjs/bazel-out/darwin_arm64-fastbuild/bin/node_modules/.aspect_rules_js/@formatjs+intl@0.0.0/node_modules/@formatjs/intl/lib/src/number.js
4409
+ // node_modules/.aspect_rules_js/@formatjs+intl@0.0.0/node_modules/@formatjs/intl/lib/src/number.js
4389
4410
  var NUMBER_FORMAT_OPTIONS = [
4390
4411
  "style",
4391
4412
  "currency",
@@ -4445,7 +4466,7 @@ var ReactIntl = (() => {
4445
4466
  return [];
4446
4467
  }
4447
4468
 
4448
- // ../../../../../../../../execroot/formatjs/bazel-out/darwin_arm64-fastbuild/bin/node_modules/.aspect_rules_js/@formatjs+intl@0.0.0/node_modules/@formatjs/intl/lib/src/create-intl.js
4469
+ // node_modules/.aspect_rules_js/@formatjs+intl@0.0.0/node_modules/@formatjs/intl/lib/src/create-intl.js
4449
4470
  function messagesContainString(messages) {
4450
4471
  var firstMessage = messages ? messages[Object.keys(messages)[0]] : void 0;
4451
4472
  return typeof firstMessage === "string";
@@ -4491,11 +4512,16 @@ var ReactIntl = (() => {
4491
4512
  });
4492
4513
  }
4493
4514
 
4494
- // ../../../../../../../../execroot/formatjs/bazel-out/darwin_arm64-fastbuild/bin/packages/react-intl/lib/src/utils.js
4515
+ // packages/react-intl/src/utils.ts
4495
4516
  function invariantIntlContext(intl) {
4496
- invariant(intl, "[React Intl] Could not find required `intl` object. <IntlProvider> needs to exist in the component ancestry.");
4517
+ invariant(
4518
+ intl,
4519
+ "[React Intl] Could not find required `intl` object. <IntlProvider> needs to exist in the component ancestry."
4520
+ );
4497
4521
  }
4498
- var DEFAULT_INTL_CONFIG2 = __assign(__assign({}, DEFAULT_INTL_CONFIG), { textComponent: React.Fragment });
4522
+ var DEFAULT_INTL_CONFIG2 = __spreadProps(__spreadValues({}, DEFAULT_INTL_CONFIG), {
4523
+ textComponent: React.Fragment
4524
+ });
4499
4525
  function assignUniqueKeysToParts(formatXMLElementFn) {
4500
4526
  return function(parts) {
4501
4527
  return formatXMLElementFn(React.Children.toArray(parts));
@@ -4523,140 +4549,150 @@ var ReactIntl = (() => {
4523
4549
  return true;
4524
4550
  }
4525
4551
 
4526
- // ../../../../../../../../execroot/formatjs/bazel-out/darwin_arm64-fastbuild/bin/packages/react-intl/lib/src/components/injectIntl.js
4527
- var React2 = __toESM(window.React);
4552
+ // packages/react-intl/src/components/injectIntl.tsx
4528
4553
  var import_hoist_non_react_statics = __toESM(require_hoist_non_react_statics_cjs());
4554
+ var React2 = __toESM(window.React);
4529
4555
  function getDisplayName(Component) {
4530
4556
  return Component.displayName || Component.name || "Component";
4531
4557
  }
4532
- var IntlContext = typeof window !== "undefined" && !window.__REACT_INTL_BYPASS_GLOBAL_CONTEXT__ ? window.__REACT_INTL_CONTEXT__ || (window.__REACT_INTL_CONTEXT__ = React2.createContext(null)) : React2.createContext(null);
4533
- var IntlConsumer = IntlContext.Consumer;
4534
- var IntlProvider = IntlContext.Provider;
4558
+ var IntlContext = typeof window !== "undefined" && !window.__REACT_INTL_BYPASS_GLOBAL_CONTEXT__ ? window.__REACT_INTL_CONTEXT__ || (window.__REACT_INTL_CONTEXT__ = React2.createContext(
4559
+ null
4560
+ )) : React2.createContext(null);
4561
+ var { Consumer: IntlConsumer, Provider: IntlProvider } = IntlContext;
4535
4562
  var Provider = IntlProvider;
4536
4563
  var Context = IntlContext;
4537
4564
  function injectIntl(WrappedComponent, options) {
4538
- var _a2 = options || {}, _b = _a2.intlPropName, intlPropName = _b === void 0 ? "intl" : _b, _c = _a2.forwardRef, forwardRef2 = _c === void 0 ? false : _c, _d = _a2.enforceContext, enforceContext = _d === void 0 ? true : _d;
4539
- var WithIntl = function(props) {
4540
- return React2.createElement(IntlConsumer, null, function(intl) {
4541
- var _a3;
4542
- if (enforceContext) {
4543
- invariantIntlContext(intl);
4544
- }
4545
- var intlProp = (_a3 = {}, _a3[intlPropName] = intl, _a3);
4546
- return React2.createElement(WrappedComponent, __assign({}, props, intlProp, { ref: forwardRef2 ? props.forwardedRef : null }));
4547
- });
4548
- };
4549
- WithIntl.displayName = "injectIntl(".concat(getDisplayName(WrappedComponent), ")");
4565
+ const {
4566
+ intlPropName = "intl",
4567
+ forwardRef: forwardRef2 = false,
4568
+ enforceContext = true
4569
+ } = options || {};
4570
+ const WithIntl = (props) => React2.createElement(IntlConsumer, null, (intl) => {
4571
+ if (enforceContext) {
4572
+ invariantIntlContext(intl);
4573
+ }
4574
+ const intlProp = { [intlPropName]: intl };
4575
+ return React2.createElement(
4576
+ WrappedComponent,
4577
+ __spreadProps(__spreadValues(__spreadValues({}, props), intlProp), {
4578
+ ref: forwardRef2 ? props.forwardedRef : null
4579
+ })
4580
+ );
4581
+ });
4582
+ WithIntl.displayName = `injectIntl(${getDisplayName(WrappedComponent)})`;
4550
4583
  WithIntl.WrappedComponent = WrappedComponent;
4551
4584
  if (forwardRef2) {
4552
- return (0, import_hoist_non_react_statics.default)(React2.forwardRef(function(props, ref) {
4553
- return React2.createElement(WithIntl, __assign({}, props, { forwardedRef: ref }));
4554
- }), WrappedComponent);
4585
+ return (0, import_hoist_non_react_statics.default)(
4586
+ // @ts-expect-error
4587
+ React2.forwardRef((props, ref) => React2.createElement(WithIntl, __spreadProps(__spreadValues({}, props), { forwardedRef: ref }))),
4588
+ WrappedComponent
4589
+ );
4555
4590
  }
4556
4591
  return (0, import_hoist_non_react_statics.default)(WithIntl, WrappedComponent);
4557
4592
  }
4558
4593
 
4559
- // ../../../../../../../../execroot/formatjs/bazel-out/darwin_arm64-fastbuild/bin/packages/react-intl/lib/src/components/useIntl.js
4594
+ // packages/react-intl/src/components/useIntl.ts
4560
4595
  function useIntl() {
4561
- var intl = React3.useContext(Context);
4596
+ const intl = React3.useContext(Context);
4562
4597
  invariantIntlContext(intl);
4563
4598
  return intl;
4564
4599
  }
4565
4600
 
4566
- // ../../../../../../../../execroot/formatjs/bazel-out/darwin_arm64-fastbuild/bin/packages/react-intl/lib/src/components/createFormattedComponent.js
4567
- var DisplayName;
4568
- (function(DisplayName2) {
4601
+ // packages/react-intl/src/components/createFormattedComponent.tsx
4602
+ var DisplayName = /* @__PURE__ */ ((DisplayName2) => {
4569
4603
  DisplayName2["formatDate"] = "FormattedDate";
4570
4604
  DisplayName2["formatTime"] = "FormattedTime";
4571
4605
  DisplayName2["formatNumber"] = "FormattedNumber";
4572
4606
  DisplayName2["formatList"] = "FormattedList";
4573
4607
  DisplayName2["formatDisplayName"] = "FormattedDisplayName";
4574
- })(DisplayName || (DisplayName = {}));
4575
- var DisplayNameParts;
4576
- (function(DisplayNameParts2) {
4608
+ return DisplayName2;
4609
+ })(DisplayName || {});
4610
+ var DisplayNameParts = /* @__PURE__ */ ((DisplayNameParts2) => {
4577
4611
  DisplayNameParts2["formatDate"] = "FormattedDateParts";
4578
4612
  DisplayNameParts2["formatTime"] = "FormattedTimeParts";
4579
4613
  DisplayNameParts2["formatNumber"] = "FormattedNumberParts";
4580
4614
  DisplayNameParts2["formatList"] = "FormattedListParts";
4581
- })(DisplayNameParts || (DisplayNameParts = {}));
4582
- var FormattedNumberParts = function(props) {
4583
- var intl = useIntl();
4584
- var value = props.value, children = props.children, formatProps = __rest(props, ["value", "children"]);
4615
+ return DisplayNameParts2;
4616
+ })(DisplayNameParts || {});
4617
+ var FormattedNumberParts = (props) => {
4618
+ const intl = useIntl();
4619
+ const _a2 = props, { value, children } = _a2, formatProps = __objRest(_a2, ["value", "children"]);
4585
4620
  return children(intl.formatNumberToParts(value, formatProps));
4586
4621
  };
4587
4622
  FormattedNumberParts.displayName = "FormattedNumberParts";
4588
- var FormattedListParts = function(props) {
4589
- var intl = useIntl();
4590
- var value = props.value, children = props.children, formatProps = __rest(props, ["value", "children"]);
4623
+ var FormattedListParts = (props) => {
4624
+ const intl = useIntl();
4625
+ const _a2 = props, { value, children } = _a2, formatProps = __objRest(_a2, ["value", "children"]);
4591
4626
  return children(intl.formatListToParts(value, formatProps));
4592
4627
  };
4593
4628
  FormattedNumberParts.displayName = "FormattedNumberParts";
4594
4629
  function createFormattedDateTimePartsComponent(name) {
4595
- var ComponentParts = function(props) {
4596
- var intl = useIntl();
4597
- var value = props.value, children = props.children, formatProps = __rest(props, ["value", "children"]);
4598
- var date = typeof value === "string" ? new Date(value || 0) : value;
4599
- var formattedParts = name === "formatDate" ? intl.formatDateToParts(date, formatProps) : intl.formatTimeToParts(date, formatProps);
4630
+ const ComponentParts = (props) => {
4631
+ const intl = useIntl();
4632
+ const _a2 = props, { value, children } = _a2, formatProps = __objRest(_a2, ["value", "children"]);
4633
+ const date = typeof value === "string" ? new Date(value || 0) : value;
4634
+ const formattedParts = name === "formatDate" ? intl.formatDateToParts(date, formatProps) : intl.formatTimeToParts(date, formatProps);
4600
4635
  return children(formattedParts);
4601
4636
  };
4602
4637
  ComponentParts.displayName = DisplayNameParts[name];
4603
4638
  return ComponentParts;
4604
4639
  }
4605
4640
  function createFormattedComponent(name) {
4606
- var Component = function(props) {
4607
- var intl = useIntl();
4608
- var value = props.value, children = props.children, formatProps = __rest(
4609
- props,
4610
- ["value", "children"]
4611
- );
4612
- var formattedValue = intl[name](value, formatProps);
4641
+ const Component = (props) => {
4642
+ const intl = useIntl();
4643
+ const _a2 = props, { value, children } = _a2, formatProps = __objRest(_a2, ["value", "children"]);
4644
+ const formattedValue = intl[name](value, formatProps);
4613
4645
  if (typeof children === "function") {
4614
4646
  return children(formattedValue);
4615
4647
  }
4616
- var Text = intl.textComponent || React4.Fragment;
4648
+ const Text = intl.textComponent || React4.Fragment;
4617
4649
  return React4.createElement(Text, null, formattedValue);
4618
4650
  };
4619
4651
  Component.displayName = DisplayName[name];
4620
4652
  return Component;
4621
4653
  }
4622
4654
 
4623
- // ../../../../../../../../execroot/formatjs/bazel-out/darwin_arm64-fastbuild/bin/packages/react-intl/lib/src/components/provider.js
4655
+ // packages/react-intl/src/components/provider.tsx
4624
4656
  var React6 = __toESM(window.React);
4625
4657
 
4626
- // ../../../../../../../../execroot/formatjs/bazel-out/darwin_arm64-fastbuild/bin/packages/react-intl/lib/src/components/createIntl.js
4658
+ // packages/react-intl/src/components/createIntl.ts
4627
4659
  var React5 = __toESM(window.React);
4628
4660
  function assignUniqueKeysToFormatXMLElementFnArgument(values) {
4629
4661
  if (!values) {
4630
4662
  return values;
4631
4663
  }
4632
- return Object.keys(values).reduce(function(acc, k) {
4633
- var v = values[k];
4664
+ return Object.keys(values).reduce((acc, k) => {
4665
+ const v = values[k];
4634
4666
  acc[k] = isFormatXMLElementFn(v) ? assignUniqueKeysToParts(v) : v;
4635
4667
  return acc;
4636
4668
  }, {});
4637
4669
  }
4638
- var formatMessage2 = function(config, formatters, descriptor, rawValues) {
4639
- var rest = [];
4640
- for (var _i = 4; _i < arguments.length; _i++) {
4641
- rest[_i - 4] = arguments[_i];
4642
- }
4643
- var values = assignUniqueKeysToFormatXMLElementFnArgument(rawValues);
4644
- var chunks = formatMessage.apply(void 0, __spreadArray([
4670
+ var formatMessage2 = (config, formatters, descriptor, rawValues, ...rest) => {
4671
+ const values = assignUniqueKeysToFormatXMLElementFnArgument(rawValues);
4672
+ const chunks = formatMessage(
4645
4673
  config,
4646
4674
  formatters,
4647
4675
  descriptor,
4648
- values
4649
- ], rest, false));
4676
+ values,
4677
+ ...rest
4678
+ );
4650
4679
  if (Array.isArray(chunks)) {
4651
4680
  return React5.Children.toArray(chunks);
4652
4681
  }
4653
4682
  return chunks;
4654
4683
  };
4655
- var createIntl2 = function(_a2, cache) {
4656
- var rawDefaultRichTextElements = _a2.defaultRichTextElements, config = __rest(_a2, ["defaultRichTextElements"]);
4657
- var defaultRichTextElements = assignUniqueKeysToFormatXMLElementFnArgument(rawDefaultRichTextElements);
4658
- var coreIntl = createIntl(__assign(__assign(__assign({}, DEFAULT_INTL_CONFIG2), config), { defaultRichTextElements }), cache);
4659
- var resolvedConfig = {
4684
+ var createIntl2 = (_a2, cache) => {
4685
+ var _b = _a2, { defaultRichTextElements: rawDefaultRichTextElements } = _b, config = __objRest(_b, ["defaultRichTextElements"]);
4686
+ const defaultRichTextElements = assignUniqueKeysToFormatXMLElementFnArgument(
4687
+ rawDefaultRichTextElements
4688
+ );
4689
+ const coreIntl = createIntl(
4690
+ __spreadProps(__spreadValues(__spreadValues({}, DEFAULT_INTL_CONFIG2), config), {
4691
+ defaultRichTextElements
4692
+ }),
4693
+ cache
4694
+ );
4695
+ const resolvedConfig = {
4660
4696
  locale: coreIntl.locale,
4661
4697
  timeZone: coreIntl.timeZone,
4662
4698
  fallbackOnEmptyString: coreIntl.fallbackOnEmptyString,
@@ -4667,7 +4703,7 @@ var ReactIntl = (() => {
4667
4703
  onError: coreIntl.onError,
4668
4704
  defaultRichTextElements
4669
4705
  };
4670
- return __assign(__assign({}, coreIntl), {
4706
+ return __spreadProps(__spreadValues({}, coreIntl), {
4671
4707
  formatMessage: formatMessage2.bind(
4672
4708
  null,
4673
4709
  resolvedConfig,
@@ -4679,7 +4715,7 @@ var ReactIntl = (() => {
4679
4715
  });
4680
4716
  };
4681
4717
 
4682
- // ../../../../../../../../execroot/formatjs/bazel-out/darwin_arm64-fastbuild/bin/packages/react-intl/lib/src/components/provider.js
4718
+ // packages/react-intl/src/components/provider.tsx
4683
4719
  function processIntlConfig(config) {
4684
4720
  return {
4685
4721
  locale: config.locale,
@@ -4696,49 +4732,41 @@ var ReactIntl = (() => {
4696
4732
  defaultRichTextElements: config.defaultRichTextElements
4697
4733
  };
4698
4734
  }
4699
- var IntlProvider2 = (
4700
- /** @class */
4701
- function(_super) {
4702
- __extends(IntlProvider3, _super);
4703
- function IntlProvider3() {
4704
- var _this = _super !== null && _super.apply(this, arguments) || this;
4705
- _this.cache = createIntlCache();
4706
- _this.state = {
4707
- cache: _this.cache,
4708
- intl: createIntl2(processIntlConfig(_this.props), _this.cache),
4709
- prevConfig: processIntlConfig(_this.props)
4735
+ var IntlProvider2 = class extends React6.PureComponent {
4736
+ constructor() {
4737
+ super(...arguments);
4738
+ __publicField(this, "cache", createIntlCache());
4739
+ __publicField(this, "state", {
4740
+ cache: this.cache,
4741
+ intl: createIntl2(processIntlConfig(this.props), this.cache),
4742
+ prevConfig: processIntlConfig(this.props)
4743
+ });
4744
+ }
4745
+ static getDerivedStateFromProps(props, { prevConfig, cache }) {
4746
+ const config = processIntlConfig(props);
4747
+ if (!shallowEqual(prevConfig, config)) {
4748
+ return {
4749
+ intl: createIntl2(config, cache),
4750
+ prevConfig: config
4710
4751
  };
4711
- return _this;
4712
4752
  }
4713
- IntlProvider3.getDerivedStateFromProps = function(props, _a2) {
4714
- var prevConfig = _a2.prevConfig, cache = _a2.cache;
4715
- var config = processIntlConfig(props);
4716
- if (!shallowEqual(prevConfig, config)) {
4717
- return {
4718
- intl: createIntl2(config, cache),
4719
- prevConfig: config
4720
- };
4721
- }
4722
- return null;
4723
- };
4724
- IntlProvider3.prototype.render = function() {
4725
- invariantIntlContext(this.state.intl);
4726
- return React6.createElement(Provider, { value: this.state.intl }, this.props.children);
4727
- };
4728
- IntlProvider3.displayName = "IntlProvider";
4729
- IntlProvider3.defaultProps = DEFAULT_INTL_CONFIG2;
4730
- return IntlProvider3;
4731
- }(React6.PureComponent)
4732
- );
4733
- var provider_default = IntlProvider2;
4753
+ return null;
4754
+ }
4755
+ render() {
4756
+ invariantIntlContext(this.state.intl);
4757
+ return React6.createElement(Provider, { value: this.state.intl }, this.props.children);
4758
+ }
4759
+ };
4760
+ __publicField(IntlProvider2, "displayName", "IntlProvider");
4761
+ __publicField(IntlProvider2, "defaultProps", DEFAULT_INTL_CONFIG2);
4734
4762
 
4735
- // ../../../../../../../../execroot/formatjs/bazel-out/darwin_arm64-fastbuild/bin/packages/react-intl/lib/src/components/relative.js
4763
+ // packages/react-intl/src/components/relative.tsx
4736
4764
  var React7 = __toESM(window.React);
4737
4765
  var MINUTE = 60;
4738
4766
  var HOUR = 60 * 60;
4739
4767
  var DAY = 60 * 60 * 24;
4740
4768
  function selectUnit(seconds) {
4741
- var absValue = Math.abs(seconds);
4769
+ const absValue = Math.abs(seconds);
4742
4770
  if (absValue < MINUTE) {
4743
4771
  return "second";
4744
4772
  }
@@ -4780,16 +4808,13 @@ var ReactIntl = (() => {
4780
4808
  "minute",
4781
4809
  "hour"
4782
4810
  ];
4783
- function canIncrement(unit) {
4784
- if (unit === void 0) {
4785
- unit = "second";
4786
- }
4811
+ function canIncrement(unit = "second") {
4787
4812
  return INCREMENTABLE_UNITS.indexOf(unit) > -1;
4788
4813
  }
4789
- var SimpleFormattedRelativeTime = function(props) {
4790
- var _a2 = useIntl(), formatRelativeTime2 = _a2.formatRelativeTime, Text = _a2.textComponent;
4791
- var children = props.children, value = props.value, unit = props.unit, otherProps = __rest(props, ["children", "value", "unit"]);
4792
- var formattedRelativeTime = formatRelativeTime2(value || 0, unit, otherProps);
4814
+ var SimpleFormattedRelativeTime = (props) => {
4815
+ const { formatRelativeTime: formatRelativeTime2, textComponent: Text } = useIntl();
4816
+ const _a2 = props, { children, value, unit } = _a2, otherProps = __objRest(_a2, ["children", "value", "unit"]);
4817
+ const formattedRelativeTime = formatRelativeTime2(value || 0, unit, otherProps);
4793
4818
  if (typeof children === "function") {
4794
4819
  return children(formattedRelativeTime);
4795
4820
  }
@@ -4798,19 +4823,32 @@ var ReactIntl = (() => {
4798
4823
  }
4799
4824
  return React7.createElement(React7.Fragment, null, formattedRelativeTime);
4800
4825
  };
4801
- var FormattedRelativeTime = function(_a2) {
4802
- var _b = _a2.value, value = _b === void 0 ? 0 : _b, _c = _a2.unit, unit = _c === void 0 ? "second" : _c, updateIntervalInSeconds = _a2.updateIntervalInSeconds, otherProps = __rest(_a2, ["value", "unit", "updateIntervalInSeconds"]);
4803
- invariant(!updateIntervalInSeconds || !!(updateIntervalInSeconds && canIncrement(unit)), "Cannot schedule update with unit longer than hour");
4804
- var _d = React7.useState(), prevUnit = _d[0], setPrevUnit = _d[1];
4805
- var _e = React7.useState(0), prevValue = _e[0], setPrevValue = _e[1];
4806
- var _f = React7.useState(0), currentValueInSeconds = _f[0], setCurrentValueInSeconds = _f[1];
4807
- var updateTimer;
4826
+ var FormattedRelativeTime = (_a2) => {
4827
+ var _b = _a2, {
4828
+ value = 0,
4829
+ unit = "second",
4830
+ updateIntervalInSeconds
4831
+ } = _b, otherProps = __objRest(_b, [
4832
+ "value",
4833
+ "unit",
4834
+ "updateIntervalInSeconds"
4835
+ ]);
4836
+ invariant(
4837
+ !updateIntervalInSeconds || !!(updateIntervalInSeconds && canIncrement(unit)),
4838
+ "Cannot schedule update with unit longer than hour"
4839
+ );
4840
+ const [prevUnit, setPrevUnit] = React7.useState();
4841
+ const [prevValue, setPrevValue] = React7.useState(0);
4842
+ const [currentValueInSeconds, setCurrentValueInSeconds] = React7.useState(0);
4843
+ let updateTimer;
4808
4844
  if (unit !== prevUnit || value !== prevValue) {
4809
4845
  setPrevValue(value || 0);
4810
4846
  setPrevUnit(unit);
4811
- setCurrentValueInSeconds(canIncrement(unit) ? valueToSeconds(value, unit) : 0);
4847
+ setCurrentValueInSeconds(
4848
+ canIncrement(unit) ? valueToSeconds(value, unit) : 0
4849
+ );
4812
4850
  }
4813
- React7.useEffect(function() {
4851
+ React7.useEffect(() => {
4814
4852
  function clearUpdateTimer() {
4815
4853
  clearTimeout(updateTimer);
4816
4854
  }
@@ -4818,42 +4856,51 @@ var ReactIntl = (() => {
4818
4856
  if (!updateIntervalInSeconds || !canIncrement(unit)) {
4819
4857
  return clearUpdateTimer;
4820
4858
  }
4821
- var nextValueInSeconds = currentValueInSeconds - updateIntervalInSeconds;
4822
- var nextUnit = selectUnit(nextValueInSeconds);
4859
+ const nextValueInSeconds = currentValueInSeconds - updateIntervalInSeconds;
4860
+ const nextUnit = selectUnit(nextValueInSeconds);
4823
4861
  if (nextUnit === "day") {
4824
4862
  return clearUpdateTimer;
4825
4863
  }
4826
- var unitDuration2 = getDurationInSeconds(nextUnit);
4827
- var remainder = nextValueInSeconds % unitDuration2;
4828
- var prevInterestingValueInSeconds = nextValueInSeconds - remainder;
4829
- var nextInterestingValueInSeconds = prevInterestingValueInSeconds >= currentValueInSeconds ? prevInterestingValueInSeconds - unitDuration2 : prevInterestingValueInSeconds;
4830
- var delayInSeconds = Math.abs(nextInterestingValueInSeconds - currentValueInSeconds);
4864
+ const unitDuration = getDurationInSeconds(nextUnit);
4865
+ const remainder = nextValueInSeconds % unitDuration;
4866
+ const prevInterestingValueInSeconds = nextValueInSeconds - remainder;
4867
+ const nextInterestingValueInSeconds = prevInterestingValueInSeconds >= currentValueInSeconds ? prevInterestingValueInSeconds - unitDuration : prevInterestingValueInSeconds;
4868
+ const delayInSeconds = Math.abs(
4869
+ nextInterestingValueInSeconds - currentValueInSeconds
4870
+ );
4831
4871
  if (currentValueInSeconds !== nextInterestingValueInSeconds) {
4832
- updateTimer = setTimeout(function() {
4833
- return setCurrentValueInSeconds(nextInterestingValueInSeconds);
4834
- }, delayInSeconds * 1e3);
4872
+ updateTimer = setTimeout(
4873
+ () => setCurrentValueInSeconds(nextInterestingValueInSeconds),
4874
+ delayInSeconds * 1e3
4875
+ );
4835
4876
  }
4836
4877
  return clearUpdateTimer;
4837
4878
  }, [currentValueInSeconds, updateIntervalInSeconds, unit]);
4838
- var currentValue = value || 0;
4839
- var currentUnit = unit;
4879
+ let currentValue = value || 0;
4880
+ let currentUnit = unit;
4840
4881
  if (canIncrement(unit) && typeof currentValueInSeconds === "number" && updateIntervalInSeconds) {
4841
4882
  currentUnit = selectUnit(currentValueInSeconds);
4842
- var unitDuration = getDurationInSeconds(currentUnit);
4883
+ const unitDuration = getDurationInSeconds(currentUnit);
4843
4884
  currentValue = Math.round(currentValueInSeconds / unitDuration);
4844
4885
  }
4845
- return React7.createElement(SimpleFormattedRelativeTime, __assign({ value: currentValue, unit: currentUnit }, otherProps));
4886
+ return React7.createElement(
4887
+ SimpleFormattedRelativeTime,
4888
+ __spreadValues({
4889
+ value: currentValue,
4890
+ unit: currentUnit
4891
+ }, otherProps)
4892
+ );
4846
4893
  };
4847
4894
  FormattedRelativeTime.displayName = "FormattedRelativeTime";
4848
4895
  var relative_default = FormattedRelativeTime;
4849
4896
 
4850
- // ../../../../../../../../execroot/formatjs/bazel-out/darwin_arm64-fastbuild/bin/packages/react-intl/lib/src/components/plural.js
4897
+ // packages/react-intl/src/components/plural.tsx
4851
4898
  var React8 = __toESM(window.React);
4852
- var FormattedPlural = function(props) {
4853
- var _a2 = useIntl(), formatPlural2 = _a2.formatPlural, Text = _a2.textComponent;
4854
- var value = props.value, other = props.other, children = props.children;
4855
- var pluralCategory = formatPlural2(value, props);
4856
- var formattedPlural = props[pluralCategory] || other;
4899
+ var FormattedPlural = (props) => {
4900
+ const { formatPlural: formatPlural2, textComponent: Text } = useIntl();
4901
+ const { value, other, children } = props;
4902
+ const pluralCategory = formatPlural2(value, props);
4903
+ const formattedPlural = props[pluralCategory] || other;
4857
4904
  if (typeof children === "function") {
4858
4905
  return children(formattedPlural);
4859
4906
  }
@@ -4865,19 +4912,27 @@ var ReactIntl = (() => {
4865
4912
  FormattedPlural.displayName = "FormattedPlural";
4866
4913
  var plural_default = FormattedPlural;
4867
4914
 
4868
- // ../../../../../../../../execroot/formatjs/bazel-out/darwin_arm64-fastbuild/bin/packages/react-intl/lib/src/components/message.js
4915
+ // packages/react-intl/src/components/message.tsx
4869
4916
  var React9 = __toESM(window.React);
4870
4917
  function areEqual(prevProps, nextProps) {
4871
- var values = prevProps.values, otherProps = __rest(prevProps, ["values"]);
4872
- var nextValues = nextProps.values, nextOtherProps = __rest(nextProps, ["values"]);
4918
+ const _a2 = prevProps, { values } = _a2, otherProps = __objRest(_a2, ["values"]);
4919
+ const _b = nextProps, { values: nextValues } = _b, nextOtherProps = __objRest(_b, ["values"]);
4873
4920
  return shallowEqual(nextValues, values) && shallowEqual(otherProps, nextOtherProps);
4874
4921
  }
4875
4922
  function FormattedMessage(props) {
4876
- var intl = useIntl();
4877
- var formatMessage3 = intl.formatMessage, _a2 = intl.textComponent, Text = _a2 === void 0 ? React9.Fragment : _a2;
4878
- var id = props.id, description = props.description, defaultMessage = props.defaultMessage, values = props.values, children = props.children, _b = props.tagName, Component = _b === void 0 ? Text : _b, ignoreTag = props.ignoreTag;
4879
- var descriptor = { id, description, defaultMessage };
4880
- var nodes = formatMessage3(descriptor, values, {
4923
+ const intl = useIntl();
4924
+ const { formatMessage: formatMessage3, textComponent: Text = React9.Fragment } = intl;
4925
+ const {
4926
+ id,
4927
+ description,
4928
+ defaultMessage,
4929
+ values,
4930
+ children,
4931
+ tagName: Component = Text,
4932
+ ignoreTag
4933
+ } = props;
4934
+ const descriptor = { id, description, defaultMessage };
4935
+ let nodes = formatMessage3(descriptor, values, {
4881
4936
  ignoreTag
4882
4937
  });
4883
4938
  if (typeof children === "function") {
@@ -4889,26 +4944,29 @@ var ReactIntl = (() => {
4889
4944
  return React9.createElement(React9.Fragment, null, nodes);
4890
4945
  }
4891
4946
  FormattedMessage.displayName = "FormattedMessage";
4892
- var MemoizedFormattedMessage = React9.memo(FormattedMessage, areEqual);
4947
+ var MemoizedFormattedMessage = React9.memo(
4948
+ FormattedMessage,
4949
+ areEqual
4950
+ );
4893
4951
  MemoizedFormattedMessage.displayName = "MemoizedFormattedMessage";
4894
4952
  var message_default = MemoizedFormattedMessage;
4895
4953
 
4896
- // ../../../../../../../../execroot/formatjs/bazel-out/darwin_arm64-fastbuild/bin/packages/react-intl/lib/src/components/dateTimeRange.js
4954
+ // packages/react-intl/src/components/dateTimeRange.tsx
4897
4955
  var React10 = __toESM(window.React);
4898
- var FormattedDateTimeRange = function(props) {
4899
- var intl = useIntl();
4900
- var from = props.from, to = props.to, children = props.children, formatProps = __rest(props, ["from", "to", "children"]);
4901
- var formattedValue = intl.formatDateTimeRange(from, to, formatProps);
4956
+ var FormattedDateTimeRange = (props) => {
4957
+ const intl = useIntl();
4958
+ const _a2 = props, { from, to, children } = _a2, formatProps = __objRest(_a2, ["from", "to", "children"]);
4959
+ const formattedValue = intl.formatDateTimeRange(from, to, formatProps);
4902
4960
  if (typeof children === "function") {
4903
4961
  return children(formattedValue);
4904
4962
  }
4905
- var Text = intl.textComponent || React10.Fragment;
4963
+ const Text = intl.textComponent || React10.Fragment;
4906
4964
  return React10.createElement(Text, null, formattedValue);
4907
4965
  };
4908
4966
  FormattedDateTimeRange.displayName = "FormattedDateTimeRange";
4909
4967
  var dateTimeRange_default = FormattedDateTimeRange;
4910
4968
 
4911
- // ../../../../../../../../execroot/formatjs/bazel-out/darwin_arm64-fastbuild/bin/packages/react-intl/lib/index.js
4969
+ // packages/react-intl/index.ts
4912
4970
  function defineMessages(msgs) {
4913
4971
  return msgs;
4914
4972
  }
@@ -4922,7 +4980,7 @@ var ReactIntl = (() => {
4922
4980
  var FormattedDisplayName = createFormattedComponent("formatDisplayName");
4923
4981
  var FormattedDateParts = createFormattedDateTimePartsComponent("formatDate");
4924
4982
  var FormattedTimeParts = createFormattedDateTimePartsComponent("formatTime");
4925
- return __toCommonJS(lib_exports);
4983
+ return __toCommonJS(react_intl_exports);
4926
4984
  })();
4927
4985
  /*! Bundled license information:
4928
4986