react-intl 5.23.0 → 5.24.3
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 +1 @@
|
|
|
1
|
-
{"version":3,"file":"provider.d.ts","sourceRoot":"","sources":["../../../../../../../../packages/react-intl/src/components/provider.tsx"],"names":[],"mappings":"AAMA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAQ9B,OAAO,EAAC,UAAU,EAAE,SAAS,EAAC,MAAM,UAAU,CAAA;AAC9C,OAAO,EAEL,SAAS,EAET,YAAY,EAEb,MAAM,gBAAgB,CAAA;AAQvB,UAAU,KAAK;IACb;;OAEG;IACH,KAAK,EAAE,SAAS,CAAA;IAChB;;OAEG;IACH,IAAI,CAAC,EAAE,SAAS,CAAA;IAChB;;;;OAIG;IACH,UAAU,EAAE,UAAU,CAAA;CACvB;AAkED;;;;GAIG;AACH,eAAO,MAAM,UAAU,EAAE,YAAY,
|
|
1
|
+
{"version":3,"file":"provider.d.ts","sourceRoot":"","sources":["../../../../../../../../packages/react-intl/src/components/provider.tsx"],"names":[],"mappings":"AAMA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAQ9B,OAAO,EAAC,UAAU,EAAE,SAAS,EAAC,MAAM,UAAU,CAAA;AAC9C,OAAO,EAEL,SAAS,EAET,YAAY,EAEb,MAAM,gBAAgB,CAAA;AAQvB,UAAU,KAAK;IACb;;OAEG;IACH,KAAK,EAAE,SAAS,CAAA;IAChB;;OAEG;IACH,IAAI,CAAC,EAAE,SAAS,CAAA;IAChB;;;;OAIG;IACH,UAAU,EAAE,UAAU,CAAA;CACvB;AAkED;;;;GAIG;AACH,eAAO,MAAM,UAAU,EAAE,YAAY,CACnC,KAAK,CAAC,SAAS,EACf,UAAU,EACV,SAAS,CAkCV,CAAA;AAED,MAAM,CAAC,OAAO,OAAO,YAAa,SAAQ,KAAK,CAAC,aAAa,CAG3D,KAAK,CAAC,iBAAiB,CAAC,UAAU,CAAC,EACnC,KAAK,CACN;IACC,MAAM,CAAC,WAAW,SAAiB;IACnC,MAAM,CAAC,YAAY,gLAAsB;IACzC,OAAO,CAAC,KAAK,CAA+B;IAC5C,KAAK,EAAE,KAAK,CAIX;IAED,MAAM,CAAC,wBAAwB,CAC7B,KAAK,EAAE,QAAQ,CAAC,UAAU,CAAC,EAC3B,EAAC,UAAU,EAAE,KAAK,EAAC,EAAE,KAAK,GACzB,OAAO,CAAC,KAAK,CAAC,GAAG,IAAI;IAWxB,MAAM,IAAI,GAAG,CAAC,OAAO;CAItB"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "react-intl",
|
|
3
|
-
"version": "5.
|
|
3
|
+
"version": "5.24.3",
|
|
4
4
|
"description": "Internationalize React apps. This library provides React components and an API to format dates, numbers, and strings, including pluralization and handling translations.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"intl",
|
|
@@ -128,15 +128,15 @@
|
|
|
128
128
|
"types": "index.d.ts",
|
|
129
129
|
"sideEffects": false,
|
|
130
130
|
"dependencies": {
|
|
131
|
-
"@formatjs/ecma402-abstract": "1.11.
|
|
132
|
-
"@formatjs/icu-messageformat-parser": "2.0.
|
|
133
|
-
"@formatjs/intl": "1.
|
|
134
|
-
"@formatjs/intl-displaynames": "5.
|
|
135
|
-
"@formatjs/intl-listformat": "6.
|
|
131
|
+
"@formatjs/ecma402-abstract": "1.11.1",
|
|
132
|
+
"@formatjs/icu-messageformat-parser": "2.0.16",
|
|
133
|
+
"@formatjs/intl": "1.18.3",
|
|
134
|
+
"@formatjs/intl-displaynames": "5.4.0",
|
|
135
|
+
"@formatjs/intl-listformat": "6.5.0",
|
|
136
136
|
"@types/hoist-non-react-statics": "^3.3.1",
|
|
137
137
|
"@types/react": "16 || 17",
|
|
138
138
|
"hoist-non-react-statics": "^3.3.2",
|
|
139
|
-
"intl-messageformat": "9.
|
|
139
|
+
"intl-messageformat": "9.11.2",
|
|
140
140
|
"tslib": "^2.1.0"
|
|
141
141
|
},
|
|
142
142
|
"peerDependencies": {
|
package/react-intl.iife.js
CHANGED
|
@@ -21,30 +21,34 @@ var ReactIntl = (function() {
|
|
|
21
21
|
});
|
|
22
22
|
var __commonJS = function(cb, mod) {
|
|
23
23
|
return function __require2() {
|
|
24
|
-
return mod || (0, cb[
|
|
24
|
+
return mod || (0, cb[__getOwnPropNames(cb)[0]])((mod = { exports: {} }).exports, mod), mod.exports;
|
|
25
25
|
};
|
|
26
26
|
};
|
|
27
27
|
var __export = function(target, all) {
|
|
28
|
-
__markAsModule(target);
|
|
29
28
|
for (var name in all)
|
|
30
29
|
__defProp(target, name, { get: all[name], enumerable: true });
|
|
31
30
|
};
|
|
32
|
-
var __reExport = function(target, module, desc) {
|
|
31
|
+
var __reExport = function(target, module, copyDefault, desc) {
|
|
33
32
|
if (module && typeof module === "object" || typeof module === "function")
|
|
34
33
|
for (var keys = __getOwnPropNames(module), i = 0, n = keys.length, key; i < n; i++) {
|
|
35
34
|
key = keys[i];
|
|
36
|
-
if (!__hasOwnProp.call(target, key) && key !== "default")
|
|
35
|
+
if (!__hasOwnProp.call(target, key) && (copyDefault || key !== "default"))
|
|
37
36
|
__defProp(target, key, { get: function(k) {
|
|
38
37
|
return module[k];
|
|
39
38
|
}.bind(null, key), enumerable: !(desc = __getOwnPropDesc(module, key)) || desc.enumerable });
|
|
40
39
|
}
|
|
41
40
|
return target;
|
|
42
41
|
};
|
|
43
|
-
var
|
|
44
|
-
return __reExport(__markAsModule(__defProp(module != null ? __create(__getProtoOf(module)) : {}, "default",
|
|
42
|
+
var __toESM = function(module, isNodeMode) {
|
|
43
|
+
return __reExport(__markAsModule(__defProp(module != null ? __create(__getProtoOf(module)) : {}, "default", !isNodeMode && module && module.__esModule ? { get: function() {
|
|
45
44
|
return module.default;
|
|
46
45
|
}, enumerable: true } : { value: module, enumerable: true })), module);
|
|
47
46
|
};
|
|
47
|
+
var __toCommonJS = /* @__PURE__ */ function(cache) {
|
|
48
|
+
return function(module, temp) {
|
|
49
|
+
return cache && cache.get(module) || (temp = __reExport(__markAsModule({}), module, 1), cache && cache.set(module, temp), temp);
|
|
50
|
+
};
|
|
51
|
+
}(typeof WeakMap !== "undefined" ? /* @__PURE__ */ new WeakMap() : 0);
|
|
48
52
|
|
|
49
53
|
// node_modules/hoist-non-react-statics/node_modules/react-is/cjs/react-is.development.js
|
|
50
54
|
var require_react_is_development = __commonJS({
|
|
@@ -263,7 +267,7 @@ var ReactIntl = (function() {
|
|
|
263
267
|
}
|
|
264
268
|
return TYPE_STATICS[component["$$typeof"]] || REACT_STATICS;
|
|
265
269
|
}
|
|
266
|
-
var
|
|
270
|
+
var defineProperty = Object.defineProperty;
|
|
267
271
|
var getOwnPropertyNames = Object.getOwnPropertyNames;
|
|
268
272
|
var getOwnPropertySymbols = Object.getOwnPropertySymbols;
|
|
269
273
|
var getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;
|
|
@@ -288,7 +292,7 @@ var ReactIntl = (function() {
|
|
|
288
292
|
if (!KNOWN_STATICS[key] && !(blacklist && blacklist[key]) && !(sourceStatics && sourceStatics[key]) && !(targetStatics && targetStatics[key])) {
|
|
289
293
|
var descriptor = getOwnPropertyDescriptor(sourceComponent, key);
|
|
290
294
|
try {
|
|
291
|
-
|
|
295
|
+
defineProperty(targetComponent, key, descriptor);
|
|
292
296
|
} catch (e) {
|
|
293
297
|
}
|
|
294
298
|
}
|
|
@@ -300,309 +304,6 @@ var ReactIntl = (function() {
|
|
|
300
304
|
}
|
|
301
305
|
});
|
|
302
306
|
|
|
303
|
-
// bazel-out/darwin-fastbuild/bin/packages/intl-localematcher/abstract/utils.js
|
|
304
|
-
var require_utils = __commonJS({
|
|
305
|
-
"bazel-out/darwin-fastbuild/bin/packages/intl-localematcher/abstract/utils.js": function(exports) {
|
|
306
|
-
"use strict";
|
|
307
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
308
|
-
exports.invariant = exports.UNICODE_EXTENSION_SEQUENCE_REGEX = void 0;
|
|
309
|
-
exports.UNICODE_EXTENSION_SEQUENCE_REGEX = /-u(?:-[0-9a-z]{2,8})+/gi;
|
|
310
|
-
function invariant2(condition, message, Err) {
|
|
311
|
-
if (Err === void 0) {
|
|
312
|
-
Err = Error;
|
|
313
|
-
}
|
|
314
|
-
if (!condition) {
|
|
315
|
-
throw new Err(message);
|
|
316
|
-
}
|
|
317
|
-
}
|
|
318
|
-
exports.invariant = invariant2;
|
|
319
|
-
}
|
|
320
|
-
});
|
|
321
|
-
|
|
322
|
-
// bazel-out/darwin-fastbuild/bin/packages/intl-localematcher/abstract/BestAvailableLocale.js
|
|
323
|
-
var require_BestAvailableLocale = __commonJS({
|
|
324
|
-
"bazel-out/darwin-fastbuild/bin/packages/intl-localematcher/abstract/BestAvailableLocale.js": function(exports) {
|
|
325
|
-
"use strict";
|
|
326
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
327
|
-
exports.BestAvailableLocale = void 0;
|
|
328
|
-
function BestAvailableLocale(availableLocales, locale) {
|
|
329
|
-
var candidate = locale;
|
|
330
|
-
while (true) {
|
|
331
|
-
if (availableLocales.has(candidate)) {
|
|
332
|
-
return candidate;
|
|
333
|
-
}
|
|
334
|
-
var pos = candidate.lastIndexOf("-");
|
|
335
|
-
if (!~pos) {
|
|
336
|
-
return void 0;
|
|
337
|
-
}
|
|
338
|
-
if (pos >= 2 && candidate[pos - 2] === "-") {
|
|
339
|
-
pos -= 2;
|
|
340
|
-
}
|
|
341
|
-
candidate = candidate.slice(0, pos);
|
|
342
|
-
}
|
|
343
|
-
}
|
|
344
|
-
exports.BestAvailableLocale = BestAvailableLocale;
|
|
345
|
-
}
|
|
346
|
-
});
|
|
347
|
-
|
|
348
|
-
// bazel-out/darwin-fastbuild/bin/packages/intl-localematcher/abstract/LookupMatcher.js
|
|
349
|
-
var require_LookupMatcher = __commonJS({
|
|
350
|
-
"bazel-out/darwin-fastbuild/bin/packages/intl-localematcher/abstract/LookupMatcher.js": function(exports) {
|
|
351
|
-
"use strict";
|
|
352
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
353
|
-
exports.LookupMatcher = void 0;
|
|
354
|
-
var utils_1 = require_utils();
|
|
355
|
-
var BestAvailableLocale_1 = require_BestAvailableLocale();
|
|
356
|
-
function LookupMatcher(availableLocales, requestedLocales, getDefaultLocale) {
|
|
357
|
-
var result = { locale: "" };
|
|
358
|
-
for (var _i = 0, requestedLocales_1 = requestedLocales; _i < requestedLocales_1.length; _i++) {
|
|
359
|
-
var locale = requestedLocales_1[_i];
|
|
360
|
-
var noExtensionLocale = locale.replace(utils_1.UNICODE_EXTENSION_SEQUENCE_REGEX, "");
|
|
361
|
-
var availableLocale = (0, BestAvailableLocale_1.BestAvailableLocale)(availableLocales, noExtensionLocale);
|
|
362
|
-
if (availableLocale) {
|
|
363
|
-
result.locale = availableLocale;
|
|
364
|
-
if (locale !== noExtensionLocale) {
|
|
365
|
-
result.extension = locale.slice(noExtensionLocale.length + 1, locale.length);
|
|
366
|
-
}
|
|
367
|
-
return result;
|
|
368
|
-
}
|
|
369
|
-
}
|
|
370
|
-
result.locale = getDefaultLocale();
|
|
371
|
-
return result;
|
|
372
|
-
}
|
|
373
|
-
exports.LookupMatcher = LookupMatcher;
|
|
374
|
-
}
|
|
375
|
-
});
|
|
376
|
-
|
|
377
|
-
// bazel-out/darwin-fastbuild/bin/packages/intl-localematcher/abstract/BestFitMatcher.js
|
|
378
|
-
var require_BestFitMatcher = __commonJS({
|
|
379
|
-
"bazel-out/darwin-fastbuild/bin/packages/intl-localematcher/abstract/BestFitMatcher.js": function(exports) {
|
|
380
|
-
"use strict";
|
|
381
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
382
|
-
exports.BestFitMatcher = void 0;
|
|
383
|
-
var BestAvailableLocale_1 = require_BestAvailableLocale();
|
|
384
|
-
var utils_1 = require_utils();
|
|
385
|
-
function BestFitMatcher(availableLocales, requestedLocales, getDefaultLocale) {
|
|
386
|
-
var minimizedAvailableLocaleMap = Array.from(availableLocales).reduce(function(all, l2) {
|
|
387
|
-
all[l2] = l2;
|
|
388
|
-
return all;
|
|
389
|
-
}, {});
|
|
390
|
-
var minimizedAvailableLocales = new Set();
|
|
391
|
-
availableLocales.forEach(function(locale2) {
|
|
392
|
-
var minimizedLocale = new Intl.Locale(locale2).minimize().toString();
|
|
393
|
-
minimizedAvailableLocaleMap[minimizedLocale] = locale2;
|
|
394
|
-
minimizedAvailableLocales.add(minimizedLocale);
|
|
395
|
-
});
|
|
396
|
-
var foundLocale;
|
|
397
|
-
for (var _i = 0, requestedLocales_1 = requestedLocales; _i < requestedLocales_1.length; _i++) {
|
|
398
|
-
var l = requestedLocales_1[_i];
|
|
399
|
-
if (foundLocale) {
|
|
400
|
-
break;
|
|
401
|
-
}
|
|
402
|
-
var noExtensionLocale = l.replace(utils_1.UNICODE_EXTENSION_SEQUENCE_REGEX, "");
|
|
403
|
-
if (availableLocales.has(noExtensionLocale)) {
|
|
404
|
-
foundLocale = noExtensionLocale;
|
|
405
|
-
break;
|
|
406
|
-
}
|
|
407
|
-
if (minimizedAvailableLocales.has(noExtensionLocale)) {
|
|
408
|
-
foundLocale = noExtensionLocale;
|
|
409
|
-
break;
|
|
410
|
-
}
|
|
411
|
-
var locale = new Intl.Locale(noExtensionLocale);
|
|
412
|
-
var maximizedRequestedLocale = locale.maximize().toString();
|
|
413
|
-
var minimizedRequestedLocale = locale.minimize().toString();
|
|
414
|
-
if (minimizedAvailableLocales.has(minimizedRequestedLocale)) {
|
|
415
|
-
foundLocale = minimizedRequestedLocale;
|
|
416
|
-
break;
|
|
417
|
-
}
|
|
418
|
-
foundLocale = (0, BestAvailableLocale_1.BestAvailableLocale)(minimizedAvailableLocales, maximizedRequestedLocale);
|
|
419
|
-
}
|
|
420
|
-
return {
|
|
421
|
-
locale: foundLocale && minimizedAvailableLocaleMap[foundLocale] || getDefaultLocale()
|
|
422
|
-
};
|
|
423
|
-
}
|
|
424
|
-
exports.BestFitMatcher = BestFitMatcher;
|
|
425
|
-
}
|
|
426
|
-
});
|
|
427
|
-
|
|
428
|
-
// bazel-out/darwin-fastbuild/bin/packages/intl-localematcher/abstract/UnicodeExtensionValue.js
|
|
429
|
-
var require_UnicodeExtensionValue = __commonJS({
|
|
430
|
-
"bazel-out/darwin-fastbuild/bin/packages/intl-localematcher/abstract/UnicodeExtensionValue.js": function(exports) {
|
|
431
|
-
"use strict";
|
|
432
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
433
|
-
exports.UnicodeExtensionValue = void 0;
|
|
434
|
-
var utils_1 = require_utils();
|
|
435
|
-
function UnicodeExtensionValue(extension, key) {
|
|
436
|
-
(0, utils_1.invariant)(key.length === 2, "key must have 2 elements");
|
|
437
|
-
var size = extension.length;
|
|
438
|
-
var searchValue = "-".concat(key, "-");
|
|
439
|
-
var pos = extension.indexOf(searchValue);
|
|
440
|
-
if (pos !== -1) {
|
|
441
|
-
var start = pos + 4;
|
|
442
|
-
var end = start;
|
|
443
|
-
var k = start;
|
|
444
|
-
var done = false;
|
|
445
|
-
while (!done) {
|
|
446
|
-
var e = extension.indexOf("-", k);
|
|
447
|
-
var len = void 0;
|
|
448
|
-
if (e === -1) {
|
|
449
|
-
len = size - k;
|
|
450
|
-
} else {
|
|
451
|
-
len = e - k;
|
|
452
|
-
}
|
|
453
|
-
if (len === 2) {
|
|
454
|
-
done = true;
|
|
455
|
-
} else if (e === -1) {
|
|
456
|
-
end = size;
|
|
457
|
-
done = true;
|
|
458
|
-
} else {
|
|
459
|
-
end = e;
|
|
460
|
-
k = e + 1;
|
|
461
|
-
}
|
|
462
|
-
}
|
|
463
|
-
return extension.slice(start, end);
|
|
464
|
-
}
|
|
465
|
-
searchValue = "-".concat(key);
|
|
466
|
-
pos = extension.indexOf(searchValue);
|
|
467
|
-
if (pos !== -1 && pos + 3 === size) {
|
|
468
|
-
return "";
|
|
469
|
-
}
|
|
470
|
-
return void 0;
|
|
471
|
-
}
|
|
472
|
-
exports.UnicodeExtensionValue = UnicodeExtensionValue;
|
|
473
|
-
}
|
|
474
|
-
});
|
|
475
|
-
|
|
476
|
-
// bazel-out/darwin-fastbuild/bin/packages/intl-localematcher/abstract/ResolveLocale.js
|
|
477
|
-
var require_ResolveLocale = __commonJS({
|
|
478
|
-
"bazel-out/darwin-fastbuild/bin/packages/intl-localematcher/abstract/ResolveLocale.js": function(exports) {
|
|
479
|
-
"use strict";
|
|
480
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
481
|
-
exports.ResolveLocale = void 0;
|
|
482
|
-
var LookupMatcher_1 = require_LookupMatcher();
|
|
483
|
-
var BestFitMatcher_1 = require_BestFitMatcher();
|
|
484
|
-
var utils_1 = require_utils();
|
|
485
|
-
var UnicodeExtensionValue_1 = require_UnicodeExtensionValue();
|
|
486
|
-
function ResolveLocale2(availableLocales, requestedLocales, options, relevantExtensionKeys, localeData, getDefaultLocale) {
|
|
487
|
-
var matcher = options.localeMatcher;
|
|
488
|
-
var r;
|
|
489
|
-
if (matcher === "lookup") {
|
|
490
|
-
r = (0, LookupMatcher_1.LookupMatcher)(availableLocales, requestedLocales, getDefaultLocale);
|
|
491
|
-
} else {
|
|
492
|
-
r = (0, BestFitMatcher_1.BestFitMatcher)(availableLocales, requestedLocales, getDefaultLocale);
|
|
493
|
-
}
|
|
494
|
-
var foundLocale = r.locale;
|
|
495
|
-
var result = { locale: "", dataLocale: foundLocale };
|
|
496
|
-
var supportedExtension = "-u";
|
|
497
|
-
for (var _i = 0, relevantExtensionKeys_1 = relevantExtensionKeys; _i < relevantExtensionKeys_1.length; _i++) {
|
|
498
|
-
var key = relevantExtensionKeys_1[_i];
|
|
499
|
-
(0, utils_1.invariant)(foundLocale in localeData, "Missing locale data for ".concat(foundLocale));
|
|
500
|
-
var foundLocaleData = localeData[foundLocale];
|
|
501
|
-
(0, utils_1.invariant)(typeof foundLocaleData === "object" && foundLocaleData !== null, "locale data ".concat(key, " must be an object"));
|
|
502
|
-
var keyLocaleData = foundLocaleData[key];
|
|
503
|
-
(0, utils_1.invariant)(Array.isArray(keyLocaleData), "keyLocaleData for ".concat(key, " must be an array"));
|
|
504
|
-
var value = keyLocaleData[0];
|
|
505
|
-
(0, utils_1.invariant)(typeof value === "string" || value === null, "value must be string or null but got ".concat(typeof value, " in key ").concat(key));
|
|
506
|
-
var supportedExtensionAddition = "";
|
|
507
|
-
if (r.extension) {
|
|
508
|
-
var requestedValue = (0, UnicodeExtensionValue_1.UnicodeExtensionValue)(r.extension, key);
|
|
509
|
-
if (requestedValue !== void 0) {
|
|
510
|
-
if (requestedValue !== "") {
|
|
511
|
-
if (~keyLocaleData.indexOf(requestedValue)) {
|
|
512
|
-
value = requestedValue;
|
|
513
|
-
supportedExtensionAddition = "-".concat(key, "-").concat(value);
|
|
514
|
-
}
|
|
515
|
-
} else if (~requestedValue.indexOf("true")) {
|
|
516
|
-
value = "true";
|
|
517
|
-
supportedExtensionAddition = "-".concat(key);
|
|
518
|
-
}
|
|
519
|
-
}
|
|
520
|
-
}
|
|
521
|
-
if (key in options) {
|
|
522
|
-
var optionsValue = options[key];
|
|
523
|
-
(0, utils_1.invariant)(typeof optionsValue === "string" || typeof optionsValue === "undefined" || optionsValue === null, "optionsValue must be String, Undefined or Null");
|
|
524
|
-
if (~keyLocaleData.indexOf(optionsValue)) {
|
|
525
|
-
if (optionsValue !== value) {
|
|
526
|
-
value = optionsValue;
|
|
527
|
-
supportedExtensionAddition = "";
|
|
528
|
-
}
|
|
529
|
-
}
|
|
530
|
-
}
|
|
531
|
-
result[key] = value;
|
|
532
|
-
supportedExtension += supportedExtensionAddition;
|
|
533
|
-
}
|
|
534
|
-
if (supportedExtension.length > 2) {
|
|
535
|
-
var privateIndex = foundLocale.indexOf("-x-");
|
|
536
|
-
if (privateIndex === -1) {
|
|
537
|
-
foundLocale = foundLocale + supportedExtension;
|
|
538
|
-
} else {
|
|
539
|
-
var preExtension = foundLocale.slice(0, privateIndex);
|
|
540
|
-
var postExtension = foundLocale.slice(privateIndex, foundLocale.length);
|
|
541
|
-
foundLocale = preExtension + supportedExtension + postExtension;
|
|
542
|
-
}
|
|
543
|
-
foundLocale = Intl.getCanonicalLocales(foundLocale)[0];
|
|
544
|
-
}
|
|
545
|
-
result.locale = foundLocale;
|
|
546
|
-
return result;
|
|
547
|
-
}
|
|
548
|
-
exports.ResolveLocale = ResolveLocale2;
|
|
549
|
-
}
|
|
550
|
-
});
|
|
551
|
-
|
|
552
|
-
// bazel-out/darwin-fastbuild/bin/packages/intl-localematcher/abstract/LookupSupportedLocales.js
|
|
553
|
-
var require_LookupSupportedLocales = __commonJS({
|
|
554
|
-
"bazel-out/darwin-fastbuild/bin/packages/intl-localematcher/abstract/LookupSupportedLocales.js": function(exports) {
|
|
555
|
-
"use strict";
|
|
556
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
557
|
-
exports.LookupSupportedLocales = void 0;
|
|
558
|
-
var utils_1 = require_utils();
|
|
559
|
-
var BestAvailableLocale_1 = require_BestAvailableLocale();
|
|
560
|
-
function LookupSupportedLocales2(availableLocales, requestedLocales) {
|
|
561
|
-
var subset = [];
|
|
562
|
-
for (var _i = 0, requestedLocales_1 = requestedLocales; _i < requestedLocales_1.length; _i++) {
|
|
563
|
-
var locale = requestedLocales_1[_i];
|
|
564
|
-
var noExtensionLocale = locale.replace(utils_1.UNICODE_EXTENSION_SEQUENCE_REGEX, "");
|
|
565
|
-
var availableLocale = (0, BestAvailableLocale_1.BestAvailableLocale)(availableLocales, noExtensionLocale);
|
|
566
|
-
if (availableLocale) {
|
|
567
|
-
subset.push(availableLocale);
|
|
568
|
-
}
|
|
569
|
-
}
|
|
570
|
-
return subset;
|
|
571
|
-
}
|
|
572
|
-
exports.LookupSupportedLocales = LookupSupportedLocales2;
|
|
573
|
-
}
|
|
574
|
-
});
|
|
575
|
-
|
|
576
|
-
// bazel-out/darwin-fastbuild/bin/packages/intl-localematcher/index.js
|
|
577
|
-
var require_intl_localematcher = __commonJS({
|
|
578
|
-
"bazel-out/darwin-fastbuild/bin/packages/intl-localematcher/index.js": function(exports) {
|
|
579
|
-
"use strict";
|
|
580
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
581
|
-
exports.ResolveLocale = exports.LookupSupportedLocales = exports.match = void 0;
|
|
582
|
-
var ResolveLocale_1 = require_ResolveLocale();
|
|
583
|
-
function match(requestedLocales, availableLocales, defaultLocale, opts) {
|
|
584
|
-
var locales = availableLocales.reduce(function(all, l) {
|
|
585
|
-
all.add(l);
|
|
586
|
-
return all;
|
|
587
|
-
}, new Set());
|
|
588
|
-
return (0, ResolveLocale_1.ResolveLocale)(locales, requestedLocales, {
|
|
589
|
-
localeMatcher: (opts === null || opts === void 0 ? void 0 : opts.algorithm) || "best fit"
|
|
590
|
-
}, [], {}, function() {
|
|
591
|
-
return defaultLocale;
|
|
592
|
-
}).locale;
|
|
593
|
-
}
|
|
594
|
-
exports.match = match;
|
|
595
|
-
var LookupSupportedLocales_1 = require_LookupSupportedLocales();
|
|
596
|
-
Object.defineProperty(exports, "LookupSupportedLocales", { enumerable: true, get: function() {
|
|
597
|
-
return LookupSupportedLocales_1.LookupSupportedLocales;
|
|
598
|
-
} });
|
|
599
|
-
var ResolveLocale_2 = require_ResolveLocale();
|
|
600
|
-
Object.defineProperty(exports, "ResolveLocale", { enumerable: true, get: function() {
|
|
601
|
-
return ResolveLocale_2.ResolveLocale;
|
|
602
|
-
} });
|
|
603
|
-
}
|
|
604
|
-
});
|
|
605
|
-
|
|
606
307
|
// bazel-out/darwin-fastbuild/bin/packages/react-intl/lib/index.js
|
|
607
308
|
var lib_exports = {};
|
|
608
309
|
__export(lib_exports, {
|
|
@@ -748,79 +449,21 @@ var ReactIntl = (function() {
|
|
|
748
449
|
ar[i] = from[i];
|
|
749
450
|
}
|
|
750
451
|
}
|
|
751
|
-
return to.concat(ar || from);
|
|
452
|
+
return to.concat(ar || Array.prototype.slice.call(from));
|
|
752
453
|
}
|
|
753
454
|
|
|
754
455
|
// bazel-out/darwin-fastbuild/bin/packages/react-intl/lib/src/components/createFormattedComponent.js
|
|
755
|
-
var React4 =
|
|
456
|
+
var React4 = __toESM(window.React);
|
|
756
457
|
|
|
757
458
|
// bazel-out/darwin-fastbuild/bin/packages/react-intl/lib/src/components/useIntl.js
|
|
758
|
-
var React3 =
|
|
459
|
+
var React3 = __toESM(window.React);
|
|
759
460
|
|
|
760
461
|
// bazel-out/darwin-fastbuild/bin/packages/react-intl/lib/src/components/injectIntl.js
|
|
761
|
-
var React2 =
|
|
762
|
-
var import_hoist_non_react_statics =
|
|
462
|
+
var React2 = __toESM(window.React);
|
|
463
|
+
var import_hoist_non_react_statics = __toESM(require_hoist_non_react_statics_cjs());
|
|
763
464
|
|
|
764
465
|
// bazel-out/darwin-fastbuild/bin/packages/react-intl/lib/src/utils.js
|
|
765
|
-
var React =
|
|
766
|
-
|
|
767
|
-
// bazel-out/darwin-fastbuild/bin/packages/ecma402-abstract/lib/262.js
|
|
768
|
-
var MINUTES_PER_HOUR = 60;
|
|
769
|
-
var SECONDS_PER_MINUTE = 60;
|
|
770
|
-
var MS_PER_SECOND = 1e3;
|
|
771
|
-
var MS_PER_MINUTE = MS_PER_SECOND * SECONDS_PER_MINUTE;
|
|
772
|
-
var MS_PER_HOUR = MS_PER_MINUTE * MINUTES_PER_HOUR;
|
|
773
|
-
|
|
774
|
-
// bazel-out/darwin-fastbuild/bin/packages/ecma402-abstract/lib/IsSanctionedSimpleUnitIdentifier.js
|
|
775
|
-
var SANCTIONED_UNITS = [
|
|
776
|
-
"angle-degree",
|
|
777
|
-
"area-acre",
|
|
778
|
-
"area-hectare",
|
|
779
|
-
"concentr-percent",
|
|
780
|
-
"digital-bit",
|
|
781
|
-
"digital-byte",
|
|
782
|
-
"digital-gigabit",
|
|
783
|
-
"digital-gigabyte",
|
|
784
|
-
"digital-kilobit",
|
|
785
|
-
"digital-kilobyte",
|
|
786
|
-
"digital-megabit",
|
|
787
|
-
"digital-megabyte",
|
|
788
|
-
"digital-petabyte",
|
|
789
|
-
"digital-terabit",
|
|
790
|
-
"digital-terabyte",
|
|
791
|
-
"duration-day",
|
|
792
|
-
"duration-hour",
|
|
793
|
-
"duration-millisecond",
|
|
794
|
-
"duration-minute",
|
|
795
|
-
"duration-month",
|
|
796
|
-
"duration-second",
|
|
797
|
-
"duration-week",
|
|
798
|
-
"duration-year",
|
|
799
|
-
"length-centimeter",
|
|
800
|
-
"length-foot",
|
|
801
|
-
"length-inch",
|
|
802
|
-
"length-kilometer",
|
|
803
|
-
"length-meter",
|
|
804
|
-
"length-mile-scandinavian",
|
|
805
|
-
"length-mile",
|
|
806
|
-
"length-millimeter",
|
|
807
|
-
"length-yard",
|
|
808
|
-
"mass-gram",
|
|
809
|
-
"mass-kilogram",
|
|
810
|
-
"mass-ounce",
|
|
811
|
-
"mass-pound",
|
|
812
|
-
"mass-stone",
|
|
813
|
-
"temperature-celsius",
|
|
814
|
-
"temperature-fahrenheit",
|
|
815
|
-
"volume-fluid-ounce",
|
|
816
|
-
"volume-gallon",
|
|
817
|
-
"volume-liter",
|
|
818
|
-
"volume-milliliter"
|
|
819
|
-
];
|
|
820
|
-
function removeUnitNamespace(unit) {
|
|
821
|
-
return unit.slice(unit.indexOf("-") + 1);
|
|
822
|
-
}
|
|
823
|
-
var SIMPLE_UNITS = SANCTIONED_UNITS.map(removeUnitNamespace);
|
|
466
|
+
var React = __toESM(window.React);
|
|
824
467
|
|
|
825
468
|
// bazel-out/darwin-fastbuild/bin/packages/ecma402-abstract/lib/utils.js
|
|
826
469
|
function invariant(condition, message, Err) {
|
|
@@ -832,38 +475,6 @@ var ReactIntl = (function() {
|
|
|
832
475
|
}
|
|
833
476
|
}
|
|
834
477
|
|
|
835
|
-
// bazel-out/darwin-fastbuild/bin/packages/ecma402-abstract/lib/regex.generated.js
|
|
836
|
-
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]/;
|
|
837
|
-
|
|
838
|
-
// bazel-out/darwin-fastbuild/bin/packages/ecma402-abstract/lib/NumberFormat/format_to_parts.js
|
|
839
|
-
var CARET_S_UNICODE_REGEX = new RegExp("^".concat(S_UNICODE_REGEX.source));
|
|
840
|
-
var S_DOLLAR_UNICODE_REGEX = new RegExp("".concat(S_UNICODE_REGEX.source, "$"));
|
|
841
|
-
|
|
842
|
-
// bazel-out/darwin-fastbuild/bin/packages/ecma402-abstract/lib/NumberFormat/InitializeNumberFormat.js
|
|
843
|
-
var import_intl_localematcher = __toModule(require_intl_localematcher());
|
|
844
|
-
|
|
845
|
-
// bazel-out/darwin-fastbuild/bin/packages/ecma402-abstract/lib/SupportedLocales.js
|
|
846
|
-
var import_intl_localematcher2 = __toModule(require_intl_localematcher());
|
|
847
|
-
|
|
848
|
-
// bazel-out/darwin-fastbuild/bin/packages/ecma402-abstract/lib/data.js
|
|
849
|
-
var MissingLocaleDataError = function(_super) {
|
|
850
|
-
__extends(MissingLocaleDataError2, _super);
|
|
851
|
-
function MissingLocaleDataError2() {
|
|
852
|
-
var _this = _super !== null && _super.apply(this, arguments) || this;
|
|
853
|
-
_this.type = "MISSING_LOCALE_DATA";
|
|
854
|
-
return _this;
|
|
855
|
-
}
|
|
856
|
-
return MissingLocaleDataError2;
|
|
857
|
-
}(Error);
|
|
858
|
-
|
|
859
|
-
// bazel-out/darwin-fastbuild/bin/packages/ecma402-abstract/lib/types/date-time.js
|
|
860
|
-
var RangePatternType;
|
|
861
|
-
(function(RangePatternType2) {
|
|
862
|
-
RangePatternType2["startRange"] = "startRange";
|
|
863
|
-
RangePatternType2["shared"] = "shared";
|
|
864
|
-
RangePatternType2["endRange"] = "endRange";
|
|
865
|
-
})(RangePatternType || (RangePatternType = {}));
|
|
866
|
-
|
|
867
478
|
// bazel-out/darwin-fastbuild/bin/packages/icu-messageformat-parser/lib/error.js
|
|
868
479
|
var ErrorKind;
|
|
869
480
|
(function(ErrorKind2) {
|
|
@@ -1880,7 +1491,7 @@ var ReactIntl = (function() {
|
|
|
1880
1491
|
var _a2;
|
|
1881
1492
|
var hasOtherClause = false;
|
|
1882
1493
|
var options = [];
|
|
1883
|
-
var parsedSelectors = new Set();
|
|
1494
|
+
var parsedSelectors = /* @__PURE__ */ new Set();
|
|
1884
1495
|
var selector = parsedFirstIdentifier.value, selectorLocation = parsedFirstIdentifier.location;
|
|
1885
1496
|
while (true) {
|
|
1886
1497
|
if (selector.length === 0) {
|
|
@@ -2167,7 +1778,7 @@ var ReactIntl = (function() {
|
|
|
2167
1778
|
return JSON.stringify(arguments);
|
|
2168
1779
|
};
|
|
2169
1780
|
function ObjectWithoutPrototypeCache() {
|
|
2170
|
-
this.cache = Object.create(null);
|
|
1781
|
+
this.cache = /* @__PURE__ */ Object.create(null);
|
|
2171
1782
|
}
|
|
2172
1783
|
ObjectWithoutPrototypeCache.prototype.get = function(key) {
|
|
2173
1784
|
return this.cache[key];
|
|
@@ -2250,7 +1861,7 @@ var ReactIntl = (function() {
|
|
|
2250
1861
|
function isFormatXMLElementFn(el) {
|
|
2251
1862
|
return typeof el === "function";
|
|
2252
1863
|
}
|
|
2253
|
-
function
|
|
1864
|
+
function formatToParts(els, locales, formatters, formats, values, currentPluralValue, originalMessage) {
|
|
2254
1865
|
if (els.length === 1 && isLiteralElement(els[0])) {
|
|
2255
1866
|
return [
|
|
2256
1867
|
{
|
|
@@ -2326,7 +1937,7 @@ var ReactIntl = (function() {
|
|
|
2326
1937
|
if (!isFormatXMLElementFn(formatFn)) {
|
|
2327
1938
|
throw new InvalidValueTypeError(value_1, "function", originalMessage);
|
|
2328
1939
|
}
|
|
2329
|
-
var parts =
|
|
1940
|
+
var parts = formatToParts(children, locales, formatters, formats, values, currentPluralValue);
|
|
2330
1941
|
var chunks = formatFn(parts.map(function(p) {
|
|
2331
1942
|
return p.value;
|
|
2332
1943
|
}));
|
|
@@ -2345,7 +1956,7 @@ var ReactIntl = (function() {
|
|
|
2345
1956
|
if (!opt) {
|
|
2346
1957
|
throw new InvalidValueError(el.value, value, Object.keys(el.options), originalMessage);
|
|
2347
1958
|
}
|
|
2348
|
-
result.push.apply(result,
|
|
1959
|
+
result.push.apply(result, formatToParts(opt.value, locales, formatters, formats, values));
|
|
2349
1960
|
continue;
|
|
2350
1961
|
}
|
|
2351
1962
|
if (isPluralElement(el)) {
|
|
@@ -2360,7 +1971,7 @@ var ReactIntl = (function() {
|
|
|
2360
1971
|
if (!opt) {
|
|
2361
1972
|
throw new InvalidValueError(el.value, value, Object.keys(el.options), originalMessage);
|
|
2362
1973
|
}
|
|
2363
|
-
result.push.apply(result,
|
|
1974
|
+
result.push.apply(result, formatToParts(opt.value, locales, formatters, formats, values, value - (el.offset || 0)));
|
|
2364
1975
|
continue;
|
|
2365
1976
|
}
|
|
2366
1977
|
}
|
|
@@ -2474,7 +2085,7 @@ var ReactIntl = (function() {
|
|
|
2474
2085
|
return result;
|
|
2475
2086
|
};
|
|
2476
2087
|
this.formatToParts = function(values) {
|
|
2477
|
-
return
|
|
2088
|
+
return formatToParts(_this.ast, _this.locales, _this.formatters, _this.formats, values, void 0, _this.message);
|
|
2478
2089
|
};
|
|
2479
2090
|
this.resolvedOptions = function() {
|
|
2480
2091
|
return {
|
|
@@ -3322,7 +2933,7 @@ var ReactIntl = (function() {
|
|
|
3322
2933
|
}
|
|
3323
2934
|
|
|
3324
2935
|
// bazel-out/darwin-fastbuild/bin/packages/react-intl/lib/src/components/provider.js
|
|
3325
|
-
var React5 =
|
|
2936
|
+
var React5 = __toESM(window.React);
|
|
3326
2937
|
function processIntlConfig(config) {
|
|
3327
2938
|
return {
|
|
3328
2939
|
locale: config.locale,
|
|
@@ -3414,7 +3025,7 @@ var ReactIntl = (function() {
|
|
|
3414
3025
|
var provider_default = IntlProvider2;
|
|
3415
3026
|
|
|
3416
3027
|
// bazel-out/darwin-fastbuild/bin/packages/react-intl/lib/src/components/relative.js
|
|
3417
|
-
var React6 =
|
|
3028
|
+
var React6 = __toESM(window.React);
|
|
3418
3029
|
var MINUTE = 60;
|
|
3419
3030
|
var HOUR = 60 * 60;
|
|
3420
3031
|
var DAY = 60 * 60 * 24;
|
|
@@ -3533,7 +3144,7 @@ var ReactIntl = (function() {
|
|
|
3533
3144
|
var relative_default = FormattedRelativeTime;
|
|
3534
3145
|
|
|
3535
3146
|
// bazel-out/darwin-fastbuild/bin/packages/react-intl/lib/src/components/plural.js
|
|
3536
|
-
var React7 =
|
|
3147
|
+
var React7 = __toESM(window.React);
|
|
3537
3148
|
var FormattedPlural = function(props) {
|
|
3538
3149
|
var _a2 = useIntl(), formatPlural2 = _a2.formatPlural, Text = _a2.textComponent;
|
|
3539
3150
|
var value = props.value, other = props.other, children = props.children;
|
|
@@ -3554,7 +3165,7 @@ var ReactIntl = (function() {
|
|
|
3554
3165
|
var plural_default = FormattedPlural;
|
|
3555
3166
|
|
|
3556
3167
|
// bazel-out/darwin-fastbuild/bin/packages/react-intl/lib/src/components/message.js
|
|
3557
|
-
var React8 =
|
|
3168
|
+
var React8 = __toESM(window.React);
|
|
3558
3169
|
function areEqual(prevProps, nextProps) {
|
|
3559
3170
|
var values = prevProps.values, otherProps = __rest(prevProps, ["values"]);
|
|
3560
3171
|
var nextValues = nextProps.values, nextOtherProps = __rest(nextProps, ["values"]);
|
|
@@ -3582,7 +3193,7 @@ var ReactIntl = (function() {
|
|
|
3582
3193
|
var message_default = MemoizedFormattedMessage;
|
|
3583
3194
|
|
|
3584
3195
|
// bazel-out/darwin-fastbuild/bin/packages/react-intl/lib/src/components/dateTimeRange.js
|
|
3585
|
-
var React9 =
|
|
3196
|
+
var React9 = __toESM(window.React);
|
|
3586
3197
|
var FormattedDateTimeRange = function(props) {
|
|
3587
3198
|
var intl = useIntl();
|
|
3588
3199
|
var from = props.from, to = props.to, children = props.children, formatProps = __rest(props, ["from", "to", "children"]);
|
|
@@ -3610,7 +3221,7 @@ var ReactIntl = (function() {
|
|
|
3610
3221
|
var FormattedDisplayName = createFormattedComponent("formatDisplayName");
|
|
3611
3222
|
var FormattedDateParts = createFormattedDateTimePartsComponent("formatDate");
|
|
3612
3223
|
var FormattedTimeParts = createFormattedDateTimePartsComponent("formatTime");
|
|
3613
|
-
return lib_exports;
|
|
3224
|
+
return __toCommonJS(lib_exports);
|
|
3614
3225
|
})();
|
|
3615
3226
|
/*! *****************************************************************************
|
|
3616
3227
|
Copyright (c) Microsoft Corporation.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"provider.d.ts","sourceRoot":"","sources":["../../../../../../../packages/react-intl/src/components/provider.tsx"],"names":[],"mappings":"AAMA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAQ9B,OAAO,EAAC,UAAU,EAAE,SAAS,EAAC,MAAM,UAAU,CAAA;AAC9C,OAAO,EAEL,SAAS,EAET,YAAY,EAEb,MAAM,gBAAgB,CAAA;AAQvB,UAAU,KAAK;IACb;;OAEG;IACH,KAAK,EAAE,SAAS,CAAA;IAChB;;OAEG;IACH,IAAI,CAAC,EAAE,SAAS,CAAA;IAChB;;;;OAIG;IACH,UAAU,EAAE,UAAU,CAAA;CACvB;AAkED;;;;GAIG;AACH,eAAO,MAAM,UAAU,EAAE,YAAY,
|
|
1
|
+
{"version":3,"file":"provider.d.ts","sourceRoot":"","sources":["../../../../../../../packages/react-intl/src/components/provider.tsx"],"names":[],"mappings":"AAMA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAQ9B,OAAO,EAAC,UAAU,EAAE,SAAS,EAAC,MAAM,UAAU,CAAA;AAC9C,OAAO,EAEL,SAAS,EAET,YAAY,EAEb,MAAM,gBAAgB,CAAA;AAQvB,UAAU,KAAK;IACb;;OAEG;IACH,KAAK,EAAE,SAAS,CAAA;IAChB;;OAEG;IACH,IAAI,CAAC,EAAE,SAAS,CAAA;IAChB;;;;OAIG;IACH,UAAU,EAAE,UAAU,CAAA;CACvB;AAkED;;;;GAIG;AACH,eAAO,MAAM,UAAU,EAAE,YAAY,CACnC,KAAK,CAAC,SAAS,EACf,UAAU,EACV,SAAS,CAkCV,CAAA;AAED,MAAM,CAAC,OAAO,OAAO,YAAa,SAAQ,KAAK,CAAC,aAAa,CAG3D,KAAK,CAAC,iBAAiB,CAAC,UAAU,CAAC,EACnC,KAAK,CACN;IACC,MAAM,CAAC,WAAW,SAAiB;IACnC,MAAM,CAAC,YAAY,gLAAsB;IACzC,OAAO,CAAC,KAAK,CAA+B;IAC5C,KAAK,EAAE,KAAK,CAIX;IAED,MAAM,CAAC,wBAAwB,CAC7B,KAAK,EAAE,QAAQ,CAAC,UAAU,CAAC,EAC3B,EAAC,UAAU,EAAE,KAAK,EAAC,EAAE,KAAK,GACzB,OAAO,CAAC,KAAK,CAAC,GAAG,IAAI;IAWxB,MAAM,IAAI,GAAG,CAAC,OAAO;CAItB"}
|