@formatjs/intl-datetimeformat 6.4.0 → 6.4.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,8 +1,9 @@
1
+ import { DateTimeFormat } from '@formatjs/ecma402-abstract';
1
2
  import { PartitionDateTimePattern } from './PartitionDateTimePattern';
2
3
  /**
3
4
  * https://tc39.es/ecma402/#sec-formatdatetime
4
5
  * @param dtf DateTimeFormat
5
6
  * @param x
6
7
  */
7
- export declare function FormatDateTime(dtf: Intl.DateTimeFormat, x: number, implDetails: Parameters<typeof PartitionDateTimePattern>[2]): string;
8
+ export declare function FormatDateTime(dtf: Intl.DateTimeFormat | DateTimeFormat, x: number, implDetails: Parameters<typeof PartitionDateTimePattern>[2]): string;
8
9
  //# sourceMappingURL=FormatDateTime.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"FormatDateTime.d.ts","sourceRoot":"","sources":["../../../src/abstract/FormatDateTime.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,wBAAwB,EAAC,MAAM,4BAA4B,CAAA;AAEnE;;;;GAIG;AACH,wBAAgB,cAAc,CAC5B,GAAG,EAAE,IAAI,CAAC,cAAc,EACxB,CAAC,EAAE,MAAM,EACT,WAAW,EAAE,UAAU,CAAC,OAAO,wBAAwB,CAAC,CAAC,CAAC,CAAC,UAQ5D"}
1
+ {"version":3,"file":"FormatDateTime.d.ts","sourceRoot":"","sources":["../../../src/abstract/FormatDateTime.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,cAAc,EAAC,MAAM,4BAA4B,CAAA;AACzD,OAAO,EAAC,wBAAwB,EAAC,MAAM,4BAA4B,CAAA;AAEnE;;;;GAIG;AACH,wBAAgB,cAAc,CAC5B,GAAG,EAAE,IAAI,CAAC,cAAc,GAAG,cAAc,EACzC,CAAC,EAAE,MAAM,EACT,WAAW,EAAE,UAAU,CAAC,OAAO,wBAAwB,CAAC,CAAC,CAAC,CAAC,UAQ5D"}
@@ -1,7 +1,7 @@
1
- import { IntlDateTimeFormatInternal, DateTimeFormatLocaleInternalData, IntlDateTimeFormatPart } from '@formatjs/ecma402-abstract';
1
+ import { IntlDateTimeFormatInternal, DateTimeFormatLocaleInternalData, IntlDateTimeFormatPart, DateTimeFormat } from '@formatjs/ecma402-abstract';
2
2
  import { ToLocalTimeImplDetails } from './ToLocalTime';
3
3
  export interface FormatDateTimePatternImplDetails {
4
- getInternalSlots(dtf: Intl.DateTimeFormat): IntlDateTimeFormatInternal;
4
+ getInternalSlots(dtf: Intl.DateTimeFormat | DateTimeFormat): IntlDateTimeFormatInternal;
5
5
  localeData: Record<string, DateTimeFormatLocaleInternalData>;
6
6
  getDefaultTimeZone(): string;
7
7
  }
@@ -10,5 +10,5 @@ export interface FormatDateTimePatternImplDetails {
10
10
  * @param dtf
11
11
  * @param x
12
12
  */
13
- export declare function FormatDateTimePattern(dtf: Intl.DateTimeFormat, patternParts: IntlDateTimeFormatPart[], x: number, { getInternalSlots, localeData, getDefaultTimeZone, tzData, }: FormatDateTimePatternImplDetails & ToLocalTimeImplDetails): IntlDateTimeFormatPart[];
13
+ export declare function FormatDateTimePattern(dtf: Intl.DateTimeFormat | DateTimeFormat, patternParts: IntlDateTimeFormatPart[], x: number, { getInternalSlots, localeData, getDefaultTimeZone, tzData, }: FormatDateTimePatternImplDetails & ToLocalTimeImplDetails): IntlDateTimeFormatPart[];
14
14
  //# sourceMappingURL=FormatDateTimePattern.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"FormatDateTimePattern.d.ts","sourceRoot":"","sources":["../../../src/abstract/FormatDateTimePattern.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,0BAA0B,EAC1B,gCAAgC,EAChC,sBAAsB,EAEvB,MAAM,4BAA4B,CAAA;AAGnC,OAAO,EAAc,sBAAsB,EAAC,MAAM,eAAe,CAAA;AAsCjE,MAAM,WAAW,gCAAgC;IAC/C,gBAAgB,CAAC,GAAG,EAAE,IAAI,CAAC,cAAc,GAAG,0BAA0B,CAAA;IACtE,UAAU,EAAE,MAAM,CAAC,MAAM,EAAE,gCAAgC,CAAC,CAAA;IAC5D,kBAAkB,IAAI,MAAM,CAAA;CAC7B;AAED;;;;GAIG;AACH,wBAAgB,qBAAqB,CACnC,GAAG,EAAE,IAAI,CAAC,cAAc,EACxB,YAAY,EAAE,sBAAsB,EAAE,EACtC,CAAC,EAAE,MAAM,EACT,EACE,gBAAgB,EAChB,UAAU,EACV,kBAAkB,EAClB,MAAM,GACP,EAAE,gCAAgC,GAAG,sBAAsB,GAC3D,sBAAsB,EAAE,CA0J1B"}
1
+ {"version":3,"file":"FormatDateTimePattern.d.ts","sourceRoot":"","sources":["../../../src/abstract/FormatDateTimePattern.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,0BAA0B,EAC1B,gCAAgC,EAChC,sBAAsB,EAEtB,cAAc,EACf,MAAM,4BAA4B,CAAA;AAGnC,OAAO,EAAc,sBAAsB,EAAC,MAAM,eAAe,CAAA;AAsCjE,MAAM,WAAW,gCAAgC;IAC/C,gBAAgB,CACd,GAAG,EAAE,IAAI,CAAC,cAAc,GAAG,cAAc,GACxC,0BAA0B,CAAA;IAC7B,UAAU,EAAE,MAAM,CAAC,MAAM,EAAE,gCAAgC,CAAC,CAAA;IAC5D,kBAAkB,IAAI,MAAM,CAAA;CAC7B;AAED;;;;GAIG;AACH,wBAAgB,qBAAqB,CACnC,GAAG,EAAE,IAAI,CAAC,cAAc,GAAG,cAAc,EACzC,YAAY,EAAE,sBAAsB,EAAE,EACtC,CAAC,EAAE,MAAM,EACT,EACE,gBAAgB,EAChB,UAAU,EACV,kBAAkB,EAClB,MAAM,GACP,EAAE,gCAAgC,GAAG,sBAAsB,GAC3D,sBAAsB,EAAE,CAyJ1B"}
@@ -74,7 +74,6 @@ export function FormatDateTimePattern(dtf, patternParts, x, _a) {
74
74
  else if (p === 'fractionalSecondDigits') {
75
75
  var v = Math.floor(tm.millisecond * Math.pow(10, ((fractionalSecondDigits || 0) - 3)));
76
76
  result.push({
77
- // @ts-expect-error Spec is not there yet
78
77
  type: 'fractionalSecond',
79
78
  value: nf3.format(v),
80
79
  });
@@ -5,8 +5,8 @@ import { IntlDateTimeFormatInternal, DateTimeFormatLocaleInternalData, DateTimeF
5
5
  * @param locales locales
6
6
  * @param opts options
7
7
  */
8
- export declare function InitializeDateTimeFormat(dtf: DateTimeFormat, locales: string | string[] | undefined, opts: Intl.DateTimeFormatOptions | undefined, { getInternalSlots, availableLocales, localeData, getDefaultLocale, getDefaultTimeZone, relevantExtensionKeys, tzData, uppercaseLinks, }: {
9
- getInternalSlots(dtf: DateTimeFormat): IntlDateTimeFormatInternal;
8
+ export declare function InitializeDateTimeFormat(dtf: Intl.DateTimeFormat | DateTimeFormat, locales: string | string[] | undefined, opts: Intl.DateTimeFormatOptions | undefined, { getInternalSlots, availableLocales, localeData, getDefaultLocale, getDefaultTimeZone, relevantExtensionKeys, tzData, uppercaseLinks, }: {
9
+ getInternalSlots(dtf: DateTimeFormat | Intl.DateTimeFormat): IntlDateTimeFormatInternal;
10
10
  availableLocales: Set<string>;
11
11
  getDefaultLocale(): string;
12
12
  getDefaultTimeZone(): string;
@@ -1 +1 @@
1
- {"version":3,"file":"InitializeDateTimeFormat.d.ts","sourceRoot":"","sources":["../../../src/abstract/InitializeDateTimeFormat.ts"],"names":[],"mappings":"AAAA,OAAO,EAEL,0BAA0B,EAC1B,gCAAgC,EAOhC,cAAc,IAAI,cAAc,EACjC,MAAM,4BAA4B,CAAA;AAkDnC;;;;;GAKG;AACH,wBAAgB,wBAAwB,CACtC,GAAG,EAAE,cAAc,EACnB,OAAO,EAAE,MAAM,GAAG,MAAM,EAAE,GAAG,SAAS,EACtC,IAAI,EAAE,IAAI,CAAC,qBAAqB,GAAG,SAAS,EAC5C,EACE,gBAAgB,EAChB,gBAAgB,EAChB,UAAU,EACV,gBAAgB,EAChB,kBAAkB,EAClB,qBAAqB,EACrB,MAAM,EACN,cAAc,GACf,EAAE;IACD,gBA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AE,gCAAgC,GAAG,SAAS,CAAC,CAAA;IACxE,MAAM,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAA;IAC/B,cAAc,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAA;CACvC,GACA,IAAI,CAAC,cAAc,CA2PrB"}
@@ -1,4 +1,4 @@
1
- import { IntlDateTimeFormatPart } from '@formatjs/ecma402-abstract';
1
+ import { DateTimeFormat, IntlDateTimeFormatPart } from '@formatjs/ecma402-abstract';
2
2
  import { ToLocalTimeImplDetails } from './ToLocalTime';
3
3
  import { FormatDateTimePatternImplDetails } from './FormatDateTimePattern';
4
4
  /**
@@ -6,5 +6,5 @@ import { FormatDateTimePatternImplDetails } from './FormatDateTimePattern';
6
6
  * @param dtf
7
7
  * @param x
8
8
  */
9
- export declare function PartitionDateTimePattern(dtf: Intl.DateTimeFormat, x: number, implDetails: ToLocalTimeImplDetails & FormatDateTimePatternImplDetails): IntlDateTimeFormatPart[];
9
+ export declare function PartitionDateTimePattern(dtf: Intl.DateTimeFormat | DateTimeFormat, x: number, implDetails: ToLocalTimeImplDetails & FormatDateTimePatternImplDetails): IntlDateTimeFormatPart[];
10
10
  //# sourceMappingURL=PartitionDateTimePattern.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"PartitionDateTimePattern.d.ts","sourceRoot":"","sources":["../../../src/abstract/PartitionDateTimePattern.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,sBAAsB,EAIvB,MAAM,4BAA4B,CAAA;AACnC,OAAO,EAAC,sBAAsB,EAAC,MAAM,eAAe,CAAA;AACpD,OAAO,EAEL,gCAAgC,EACjC,MAAM,yBAAyB,CAAA;AAEhC;;;;GAIG;AACH,wBAAgB,wBAAwB,CACtC,GAAG,EAAE,IAAI,CAAC,cAAc,EACxB,CAAC,EAAE,MAAM,EACT,WAAW,EAAE,sBAAsB,GAAG,gCAAgC,GACrE,sBAAsB,EAAE,CAkB1B"}
1
+ {"version":3,"file":"PartitionDateTimePattern.d.ts","sourceRoot":"","sources":["../../../src/abstract/PartitionDateTimePattern.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,cAAc,EACd,sBAAsB,EAIvB,MAAM,4BAA4B,CAAA;AACnC,OAAO,EAAC,sBAAsB,EAAC,MAAM,eAAe,CAAA;AACpD,OAAO,EAEL,gCAAgC,EACjC,MAAM,yBAAyB,CAAA;AAEhC;;;;GAIG;AACH,wBAAgB,wBAAwB,CACtC,GAAG,EAAE,IAAI,CAAC,cAAc,GAAG,cAAc,EACzC,CAAC,EAAE,MAAM,EACT,WAAW,EAAE,sBAAsB,GAAG,gCAAgC,GACrE,sBAAsB,EAAE,CAkB1B"}
@@ -12,14 +12,14 @@ export interface UnpackedData {
12
12
  */
13
13
  offsets: number[];
14
14
  }
15
- export declare type ZoneData = [
15
+ export type ZoneData = [
16
16
  number | string,
17
17
  number,
18
18
  number,
19
19
  number
20
20
  ];
21
- export declare type RawDateTimeLocaleData = LocaleData<RawDateTimeLocaleInternalData>;
22
- export declare type RawDateTimeLocaleInternalData = Omit<DateTimeFormatLocaleInternalData, 'dateFormat' | 'timeFormat' | 'dateTimeFormat' | 'formats' | 'intervalFormats'> & {
21
+ export type RawDateTimeLocaleData = LocaleData<RawDateTimeLocaleInternalData>;
22
+ export type RawDateTimeLocaleInternalData = Omit<DateTimeFormatLocaleInternalData, 'dateFormat' | 'timeFormat' | 'dateTimeFormat' | 'formats' | 'intervalFormats'> & {
23
23
  formats: Record<string, Record<string, string>>;
24
24
  dateFormat: {
25
25
  full: string;
@@ -41,7 +41,7 @@ export declare type RawDateTimeLocaleInternalData = Omit<DateTimeFormatLocaleInt
41
41
  short: string;
42
42
  };
43
43
  };
44
- export declare type TimeZoneNameData = Record<string, {
44
+ export type TimeZoneNameData = Record<string, {
45
45
  long?: [string, string];
46
46
  short?: [string, string];
47
47
  }>;
@@ -1 +1 @@
1
- {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../src/types.ts"],"names":[],"mappings":"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AM,CAAC;QAAC,IAAI,EAAE,MAAM,CAAC;QAAC,MAAM,EAAE,MAAM,CAAC;QAAC,KAAK,EAAE,MAAM,CAAA;KAAC,CAAA;IACvE,eAAe,EAAE,mBAAmB,CAAA;IACpC,cAAc,EAAE;QACd,IAAI,EAAE,MAAM,CAAA;QACZ,IAAI,EAAE,MAAM,CAAA;QACZ,MAAM,EAAE,MAAM,CAAA;QACd,KAAK,EAAE,MAAM,CAAA;KACd,CAAA;CACF,CAAA;AAED,MAAM,MAAM,gBAAgB,GAAG,MAAM,CACnC,MAAM,EACN;IACE,IAAI,CAAC,EAAE,CAAC,MAAM,EAAE,MAAM,CAAC,CAAA;IACvB,KAAK,CAAC,EAAE,CAAC,MAAM,EAAE,MAAM,CAAC,CAAA;CACzB,CACF,CAAA"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@formatjs/intl-datetimeformat",
3
- "version": "6.4.0",
3
+ "version": "6.4.2",
4
4
  "description": "Intl.DateTimeFormat polyfill",
5
5
  "main": "index.js",
6
6
  "types": "index.d.ts",
@@ -22,12 +22,12 @@
22
22
  },
23
23
  "homepage": "https://github.com/formatjs/formatjs#readme",
24
24
  "dependencies": {
25
- "@formatjs/ecma402-abstract": "1.14.0",
25
+ "@formatjs/ecma402-abstract": "1.14.2",
26
26
  "@formatjs/intl-localematcher": "0.2.31",
27
27
  "tslib": "2.4.0"
28
28
  },
29
29
  "devDependencies": {
30
30
  "@formatjs/intl-getcanonicallocales": "2.0.4",
31
- "@formatjs/intl-locale": "3.0.8"
31
+ "@formatjs/intl-locale": "3.0.10"
32
32
  }
33
33
  }
package/polyfill.iife.js CHANGED
@@ -1,5 +1,5 @@
1
1
  (() => {
2
- // ../../../../../../../../execroot/formatjs/bazel-out/darwin-fastbuild/bin/node_modules/.aspect_rules_js/tslib@2.4.0/node_modules/tslib/tslib.es6.js
2
+ // ../../../../../../../../execroot/formatjs/bazel-out/darwin_arm64-fastbuild/bin/node_modules/.aspect_rules_js/tslib@2.4.0/node_modules/tslib/tslib.es6.js
3
3
  var extendStatics = function(d, b) {
4
4
  extendStatics = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(d2, b2) {
5
5
  d2.__proto__ = b2;
@@ -44,12 +44,12 @@
44
44
  return t;
45
45
  }
46
46
 
47
- // ../../../../../../../../execroot/formatjs/bazel-out/darwin-fastbuild/bin/node_modules/.aspect_rules_js/@formatjs+ecma402-abstract@0.0.0/node_modules/@formatjs/ecma402-abstract/lib/CanonicalizeLocaleList.js
47
+ // ../../../../../../../../execroot/formatjs/bazel-out/darwin_arm64-fastbuild/bin/node_modules/.aspect_rules_js/@formatjs+ecma402-abstract@0.0.0/node_modules/@formatjs/ecma402-abstract/lib/CanonicalizeLocaleList.js
48
48
  function CanonicalizeLocaleList(locales) {
49
49
  return Intl.getCanonicalLocales(locales);
50
50
  }
51
51
 
52
- // ../../../../../../../../execroot/formatjs/bazel-out/darwin-fastbuild/bin/node_modules/.aspect_rules_js/@formatjs+ecma402-abstract@0.0.0/node_modules/@formatjs/ecma402-abstract/lib/CanonicalizeTimeZoneName.js
52
+ // ../../../../../../../../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/CanonicalizeTimeZoneName.js
53
53
  function CanonicalizeTimeZoneName(tz, _a) {
54
54
  var tzData = _a.tzData, uppercaseLinks = _a.uppercaseLinks;
55
55
  var uppercasedTz = tz.toUpperCase();
@@ -64,7 +64,7 @@
64
64
  return ianaTimeZone;
65
65
  }
66
66
 
67
- // ../../../../../../../../execroot/formatjs/bazel-out/darwin-fastbuild/bin/node_modules/.aspect_rules_js/@formatjs+ecma402-abstract@0.0.0/node_modules/@formatjs/ecma402-abstract/lib/262.js
67
+ // ../../../../../../../../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
68
68
  function ToString(o) {
69
69
  if (typeof o === "symbol") {
70
70
  throw TypeError("Cannot convert a Symbol value to a string");
@@ -315,7 +315,7 @@
315
315
  return mod(t, MS_PER_SECOND);
316
316
  }
317
317
 
318
- // ../../../../../../../../execroot/formatjs/bazel-out/darwin-fastbuild/bin/node_modules/.aspect_rules_js/@formatjs+ecma402-abstract@0.0.0/node_modules/@formatjs/ecma402-abstract/lib/DefaultNumberOption.js
318
+ // ../../../../../../../../execroot/formatjs/bazel-out/darwin_arm64-fastbuild/bin/node_modules/.aspect_rules_js/@formatjs+ecma402-abstract@0.0.0/node_modules/@formatjs/ecma402-abstract/lib/DefaultNumberOption.js
319
319
  function DefaultNumberOption(val, min, max, fallback) {
320
320
  if (val !== void 0) {
321
321
  val = Number(val);
@@ -327,13 +327,13 @@
327
327
  return fallback;
328
328
  }
329
329
 
330
- // ../../../../../../../../execroot/formatjs/bazel-out/darwin-fastbuild/bin/node_modules/.aspect_rules_js/@formatjs+ecma402-abstract@0.0.0/node_modules/@formatjs/ecma402-abstract/lib/GetNumberOption.js
330
+ // ../../../../../../../../execroot/formatjs/bazel-out/darwin_arm64-fastbuild/bin/node_modules/.aspect_rules_js/@formatjs+ecma402-abstract@0.0.0/node_modules/@formatjs/ecma402-abstract/lib/GetNumberOption.js
331
331
  function GetNumberOption(options, property, minimum, maximum, fallback) {
332
332
  var val = options[property];
333
333
  return DefaultNumberOption(val, minimum, maximum, fallback);
334
334
  }
335
335
 
336
- // ../../../../../../../../execroot/formatjs/bazel-out/darwin-fastbuild/bin/node_modules/.aspect_rules_js/@formatjs+ecma402-abstract@0.0.0/node_modules/@formatjs/ecma402-abstract/lib/GetOption.js
336
+ // ../../../../../../../../execroot/formatjs/bazel-out/darwin_arm64-fastbuild/bin/node_modules/.aspect_rules_js/@formatjs+ecma402-abstract@0.0.0/node_modules/@formatjs/ecma402-abstract/lib/GetOption.js
337
337
  function GetOption(opts, prop, type, values, fallback) {
338
338
  if (typeof opts !== "object") {
339
339
  throw new TypeError("Options must be an object");
@@ -359,7 +359,7 @@
359
359
  return fallback;
360
360
  }
361
361
 
362
- // ../../../../../../../../execroot/formatjs/bazel-out/darwin-fastbuild/bin/node_modules/.aspect_rules_js/@formatjs+ecma402-abstract@0.0.0/node_modules/@formatjs/ecma402-abstract/lib/IsSanctionedSimpleUnitIdentifier.js
362
+ // ../../../../../../../../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
363
363
  var SANCTIONED_UNITS = [
364
364
  "angle-degree",
365
365
  "area-acre",
@@ -410,7 +410,7 @@
410
410
  }
411
411
  var SIMPLE_UNITS = SANCTIONED_UNITS.map(removeUnitNamespace);
412
412
 
413
- // ../../../../../../../../execroot/formatjs/bazel-out/darwin-fastbuild/bin/node_modules/.aspect_rules_js/@formatjs+ecma402-abstract@0.0.0/node_modules/@formatjs/ecma402-abstract/lib/IsValidTimeZoneName.js
413
+ // ../../../../../../../../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/IsValidTimeZoneName.js
414
414
  function IsValidTimeZoneName(tz, _a) {
415
415
  var tzData = _a.tzData, uppercaseLinks = _a.uppercaseLinks;
416
416
  var uppercasedTz = tz.toUpperCase();
@@ -428,7 +428,7 @@
428
428
  return zoneNames.has(uppercasedTz) || linkNames.has(uppercasedTz);
429
429
  }
430
430
 
431
- // ../../../../../../../../execroot/formatjs/bazel-out/darwin-fastbuild/bin/node_modules/.aspect_rules_js/@formatjs+ecma402-abstract@0.0.0/node_modules/@formatjs/ecma402-abstract/lib/utils.js
431
+ // ../../../../../../../../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
432
432
  function defineProperty(target, name, _a) {
433
433
  var value = _a.value;
434
434
  Object.defineProperty(target, name, {
@@ -447,19 +447,19 @@
447
447
  }
448
448
  }
449
449
 
450
- // ../../../../../../../../execroot/formatjs/bazel-out/darwin-fastbuild/bin/node_modules/.aspect_rules_js/@formatjs+ecma402-abstract@0.0.0/node_modules/@formatjs/ecma402-abstract/lib/regex.generated.js
450
+ // ../../../../../../../../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
451
451
  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]/;
452
452
 
453
- // ../../../../../../../../execroot/formatjs/bazel-out/darwin-fastbuild/bin/node_modules/.aspect_rules_js/@formatjs+ecma402-abstract@0.0.0/node_modules/@formatjs/ecma402-abstract/lib/NumberFormat/format_to_parts.js
453
+ // ../../../../../../../../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
454
454
  var CARET_S_UNICODE_REGEX = new RegExp("^".concat(S_UNICODE_REGEX.source));
455
455
  var S_DOLLAR_UNICODE_REGEX = new RegExp("".concat(S_UNICODE_REGEX.source, "$"));
456
456
 
457
- // ../../../../../../../../execroot/formatjs/bazel-out/darwin-fastbuild/bin/node_modules/.aspect_rules_js/@formatjs+intl-localematcher@0.0.0/node_modules/@formatjs/intl-localematcher/lib/abstract/CanonicalizeLocaleList.js
457
+ // ../../../../../../../../execroot/formatjs/bazel-out/darwin_arm64-fastbuild/bin/node_modules/.aspect_rules_js/@formatjs+intl-localematcher@0.0.0/node_modules/@formatjs/intl-localematcher/lib/abstract/CanonicalizeLocaleList.js
458
458
  function CanonicalizeLocaleList2(locales) {
459
459
  return Intl.getCanonicalLocales(locales);
460
460
  }
461
461
 
462
- // ../../../../../../../../execroot/formatjs/bazel-out/darwin-fastbuild/bin/node_modules/.aspect_rules_js/@formatjs+intl-localematcher@0.0.0/node_modules/@formatjs/intl-localematcher/lib/abstract/utils.js
462
+ // ../../../../../../../../execroot/formatjs/bazel-out/darwin_arm64-fastbuild/bin/node_modules/.aspect_rules_js/@formatjs+intl-localematcher@0.0.0/node_modules/@formatjs/intl-localematcher/lib/abstract/utils.js
463
463
  var UNICODE_EXTENSION_SEQUENCE_REGEX = /-u(?:-[0-9a-z]{2,8})+/gi;
464
464
  function invariant2(condition, message, Err) {
465
465
  if (Err === void 0) {
@@ -470,7 +470,7 @@
470
470
  }
471
471
  }
472
472
 
473
- // ../../../../../../../../execroot/formatjs/bazel-out/darwin-fastbuild/bin/node_modules/.aspect_rules_js/@formatjs+intl-localematcher@0.0.0/node_modules/@formatjs/intl-localematcher/lib/abstract/BestAvailableLocale.js
473
+ // ../../../../../../../../execroot/formatjs/bazel-out/darwin_arm64-fastbuild/bin/node_modules/.aspect_rules_js/@formatjs+intl-localematcher@0.0.0/node_modules/@formatjs/intl-localematcher/lib/abstract/BestAvailableLocale.js
474
474
  function BestAvailableLocale(availableLocales, locale) {
475
475
  var candidate = locale;
476
476
  while (true) {
@@ -488,7 +488,7 @@
488
488
  }
489
489
  }
490
490
 
491
- // ../../../../../../../../execroot/formatjs/bazel-out/darwin-fastbuild/bin/node_modules/.aspect_rules_js/@formatjs+intl-localematcher@0.0.0/node_modules/@formatjs/intl-localematcher/lib/abstract/LookupMatcher.js
491
+ // ../../../../../../../../execroot/formatjs/bazel-out/darwin_arm64-fastbuild/bin/node_modules/.aspect_rules_js/@formatjs+intl-localematcher@0.0.0/node_modules/@formatjs/intl-localematcher/lib/abstract/LookupMatcher.js
492
492
  function LookupMatcher(availableLocales, requestedLocales, getDefaultLocale) {
493
493
  var result = { locale: "" };
494
494
  for (var _i = 0, requestedLocales_1 = requestedLocales; _i < requestedLocales_1.length; _i++) {
@@ -507,7 +507,7 @@
507
507
  return result;
508
508
  }
509
509
 
510
- // ../../../../../../../../execroot/formatjs/bazel-out/darwin-fastbuild/bin/node_modules/.aspect_rules_js/@formatjs+intl-localematcher@0.0.0/node_modules/@formatjs/intl-localematcher/lib/abstract/BestFitMatcher.js
510
+ // ../../../../../../../../execroot/formatjs/bazel-out/darwin_arm64-fastbuild/bin/node_modules/.aspect_rules_js/@formatjs+intl-localematcher@0.0.0/node_modules/@formatjs/intl-localematcher/lib/abstract/BestFitMatcher.js
511
511
  function BestFitMatcher(availableLocales, requestedLocales, getDefaultLocale) {
512
512
  var minimizedAvailableLocaleMap = {};
513
513
  var availableLocaleMap = {};
@@ -555,7 +555,7 @@
555
555
  };
556
556
  }
557
557
 
558
- // ../../../../../../../../execroot/formatjs/bazel-out/darwin-fastbuild/bin/node_modules/.aspect_rules_js/@formatjs+intl-localematcher@0.0.0/node_modules/@formatjs/intl-localematcher/lib/abstract/UnicodeExtensionValue.js
558
+ // ../../../../../../../../execroot/formatjs/bazel-out/darwin_arm64-fastbuild/bin/node_modules/.aspect_rules_js/@formatjs+intl-localematcher@0.0.0/node_modules/@formatjs/intl-localematcher/lib/abstract/UnicodeExtensionValue.js
559
559
  function UnicodeExtensionValue(extension, key) {
560
560
  invariant2(key.length === 2, "key must have 2 elements");
561
561
  var size = extension.length;
@@ -594,7 +594,7 @@
594
594
  return void 0;
595
595
  }
596
596
 
597
- // ../../../../../../../../execroot/formatjs/bazel-out/darwin-fastbuild/bin/node_modules/.aspect_rules_js/@formatjs+intl-localematcher@0.0.0/node_modules/@formatjs/intl-localematcher/lib/abstract/ResolveLocale.js
597
+ // ../../../../../../../../execroot/formatjs/bazel-out/darwin_arm64-fastbuild/bin/node_modules/.aspect_rules_js/@formatjs+intl-localematcher@0.0.0/node_modules/@formatjs/intl-localematcher/lib/abstract/ResolveLocale.js
598
598
  function ResolveLocale(availableLocales, requestedLocales, options, relevantExtensionKeys, localeData, getDefaultLocale) {
599
599
  var matcher = options.localeMatcher;
600
600
  var r;
@@ -658,7 +658,7 @@
658
658
  return result;
659
659
  }
660
660
 
661
- // ../../../../../../../../execroot/formatjs/bazel-out/darwin-fastbuild/bin/node_modules/.aspect_rules_js/@formatjs+intl-localematcher@0.0.0/node_modules/@formatjs/intl-localematcher/lib/abstract/LookupSupportedLocales.js
661
+ // ../../../../../../../../execroot/formatjs/bazel-out/darwin_arm64-fastbuild/bin/node_modules/.aspect_rules_js/@formatjs+intl-localematcher@0.0.0/node_modules/@formatjs/intl-localematcher/lib/abstract/LookupSupportedLocales.js
662
662
  function LookupSupportedLocales(availableLocales, requestedLocales) {
663
663
  var subset = [];
664
664
  for (var _i = 0, requestedLocales_1 = requestedLocales; _i < requestedLocales_1.length; _i++) {
@@ -672,7 +672,7 @@
672
672
  return subset;
673
673
  }
674
674
 
675
- // ../../../../../../../../execroot/formatjs/bazel-out/darwin-fastbuild/bin/node_modules/.aspect_rules_js/@formatjs+intl-localematcher@0.0.0/node_modules/@formatjs/intl-localematcher/lib/index.js
675
+ // ../../../../../../../../execroot/formatjs/bazel-out/darwin_arm64-fastbuild/bin/node_modules/.aspect_rules_js/@formatjs+intl-localematcher@0.0.0/node_modules/@formatjs/intl-localematcher/lib/index.js
676
676
  function match(requestedLocales, availableLocales, defaultLocale, opts) {
677
677
  var locales = availableLocales.reduce(function(all, l) {
678
678
  all.add(l);
@@ -685,7 +685,7 @@
685
685
  }).locale;
686
686
  }
687
687
 
688
- // ../../../../../../../../execroot/formatjs/bazel-out/darwin-fastbuild/bin/node_modules/.aspect_rules_js/@formatjs+ecma402-abstract@0.0.0/node_modules/@formatjs/ecma402-abstract/lib/PartitionPattern.js
688
+ // ../../../../../../../../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/PartitionPattern.js
689
689
  function PartitionPattern(pattern) {
690
690
  var result = [];
691
691
  var beginIndex = pattern.indexOf("{");
@@ -717,7 +717,7 @@
717
717
  return result;
718
718
  }
719
719
 
720
- // ../../../../../../../../execroot/formatjs/bazel-out/darwin-fastbuild/bin/node_modules/.aspect_rules_js/@formatjs+ecma402-abstract@0.0.0/node_modules/@formatjs/ecma402-abstract/lib/SupportedLocales.js
720
+ // ../../../../../../../../execroot/formatjs/bazel-out/darwin_arm64-fastbuild/bin/node_modules/.aspect_rules_js/@formatjs+ecma402-abstract@0.0.0/node_modules/@formatjs/ecma402-abstract/lib/SupportedLocales.js
721
721
  function SupportedLocales(availableLocales, requestedLocales, options) {
722
722
  var matcher = "best fit";
723
723
  if (options !== void 0) {
@@ -730,7 +730,7 @@
730
730
  return LookupSupportedLocales(availableLocales, requestedLocales);
731
731
  }
732
732
 
733
- // ../../../../../../../../execroot/formatjs/bazel-out/darwin-fastbuild/bin/node_modules/.aspect_rules_js/@formatjs+ecma402-abstract@0.0.0/node_modules/@formatjs/ecma402-abstract/lib/data.js
733
+ // ../../../../../../../../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
734
734
  var MissingLocaleDataError = function(_super) {
735
735
  __extends(MissingLocaleDataError2, _super);
736
736
  function MissingLocaleDataError2() {
@@ -741,7 +741,7 @@
741
741
  return MissingLocaleDataError2;
742
742
  }(Error);
743
743
 
744
- // ../../../../../../../../execroot/formatjs/bazel-out/darwin-fastbuild/bin/node_modules/.aspect_rules_js/@formatjs+ecma402-abstract@0.0.0/node_modules/@formatjs/ecma402-abstract/lib/types/date-time.js
744
+ // ../../../../../../../../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
745
745
  var RangePatternType;
746
746
  (function(RangePatternType2) {
747
747
  RangePatternType2["startRange"] = "startRange";
@@ -749,7 +749,7 @@
749
749
  RangePatternType2["endRange"] = "endRange";
750
750
  })(RangePatternType || (RangePatternType = {}));
751
751
 
752
- // ../../../../../../../../execroot/formatjs/bazel-out/darwin-fastbuild/bin/packages/intl-datetimeformat/lib/src/get_internal_slots.js
752
+ // ../../../../../../../../execroot/formatjs/bazel-out/darwin_arm64-fastbuild/bin/packages/intl-datetimeformat/lib/src/get_internal_slots.js
753
753
  var internalSlotMap = /* @__PURE__ */ new WeakMap();
754
754
  function getInternalSlots(x) {
755
755
  var internalSlots = internalSlotMap.get(x);
@@ -760,7 +760,7 @@
760
760
  return internalSlots;
761
761
  }
762
762
 
763
- // ../../../../../../../../execroot/formatjs/bazel-out/darwin-fastbuild/bin/packages/intl-datetimeformat/lib/src/data/links.js
763
+ // ../../../../../../../../execroot/formatjs/bazel-out/darwin_arm64-fastbuild/bin/packages/intl-datetimeformat/lib/src/data/links.js
764
764
  var links_default = {
765
765
  "Australia/ACT": "Australia/Sydney",
766
766
  "Australia/LHI": "Australia/Lord_Howe",
@@ -1007,7 +1007,7 @@
1007
1007
  "Pacific/Truk": "Pacific/Port_Moresby"
1008
1008
  };
1009
1009
 
1010
- // ../../../../../../../../execroot/formatjs/bazel-out/darwin-fastbuild/bin/packages/intl-datetimeformat/lib/src/packer.js
1010
+ // ../../../../../../../../execroot/formatjs/bazel-out/darwin_arm64-fastbuild/bin/packages/intl-datetimeformat/lib/src/packer.js
1011
1011
  function unpack(data) {
1012
1012
  var abbrvs = data.abbrvs.split("|");
1013
1013
  var offsets = data.offsets.split("|").map(function(n) {
@@ -1033,7 +1033,7 @@
1033
1033
  return zones;
1034
1034
  }
1035
1035
 
1036
- // ../../../../../../../../execroot/formatjs/bazel-out/darwin-fastbuild/bin/packages/intl-datetimeformat/lib/src/abstract/utils.js
1036
+ // ../../../../../../../../execroot/formatjs/bazel-out/darwin_arm64-fastbuild/bin/packages/intl-datetimeformat/lib/src/abstract/utils.js
1037
1037
  var DATE_TIME_PROPS = [
1038
1038
  "weekday",
1039
1039
  "era",
@@ -1056,7 +1056,7 @@
1056
1056
  var shortMorePenalty = 3;
1057
1057
  var offsetPenalty = 1;
1058
1058
 
1059
- // ../../../../../../../../execroot/formatjs/bazel-out/darwin-fastbuild/bin/packages/intl-datetimeformat/lib/src/abstract/ToLocalTime.js
1059
+ // ../../../../../../../../execroot/formatjs/bazel-out/darwin_arm64-fastbuild/bin/packages/intl-datetimeformat/lib/src/abstract/ToLocalTime.js
1060
1060
  function getApplicableZoneData(t, timeZone, tzData) {
1061
1061
  var _a;
1062
1062
  var zoneData = tzData[timeZone];
@@ -1099,7 +1099,7 @@
1099
1099
  };
1100
1100
  }
1101
1101
 
1102
- // ../../../../../../../../execroot/formatjs/bazel-out/darwin-fastbuild/bin/packages/intl-datetimeformat/lib/src/abstract/FormatDateTimePattern.js
1102
+ // ../../../../../../../../execroot/formatjs/bazel-out/darwin_arm64-fastbuild/bin/packages/intl-datetimeformat/lib/src/abstract/FormatDateTimePattern.js
1103
1103
  function pad(n) {
1104
1104
  if (n < 10) {
1105
1105
  return "0".concat(n);
@@ -1255,7 +1255,7 @@
1255
1255
  return result;
1256
1256
  }
1257
1257
 
1258
- // ../../../../../../../../execroot/formatjs/bazel-out/darwin-fastbuild/bin/packages/intl-datetimeformat/lib/src/abstract/PartitionDateTimePattern.js
1258
+ // ../../../../../../../../execroot/formatjs/bazel-out/darwin_arm64-fastbuild/bin/packages/intl-datetimeformat/lib/src/abstract/PartitionDateTimePattern.js
1259
1259
  function PartitionDateTimePattern(dtf, x, implDetails) {
1260
1260
  x = TimeClip(x);
1261
1261
  if (isNaN(x)) {
@@ -1267,7 +1267,7 @@
1267
1267
  return FormatDateTimePattern(dtf, PartitionPattern(pattern), x, implDetails);
1268
1268
  }
1269
1269
 
1270
- // ../../../../../../../../execroot/formatjs/bazel-out/darwin-fastbuild/bin/packages/intl-datetimeformat/lib/src/abstract/FormatDateTime.js
1270
+ // ../../../../../../../../execroot/formatjs/bazel-out/darwin_arm64-fastbuild/bin/packages/intl-datetimeformat/lib/src/abstract/FormatDateTime.js
1271
1271
  function FormatDateTime(dtf, x, implDetails) {
1272
1272
  var parts = PartitionDateTimePattern(dtf, x, implDetails);
1273
1273
  var result = "";
@@ -1278,7 +1278,7 @@
1278
1278
  return result;
1279
1279
  }
1280
1280
 
1281
- // ../../../../../../../../execroot/formatjs/bazel-out/darwin-fastbuild/bin/packages/intl-datetimeformat/lib/src/abstract/BasicFormatMatcher.js
1281
+ // ../../../../../../../../execroot/formatjs/bazel-out/darwin_arm64-fastbuild/bin/packages/intl-datetimeformat/lib/src/abstract/BasicFormatMatcher.js
1282
1282
  function BasicFormatMatcher(options, formats) {
1283
1283
  var bestScore = -Infinity;
1284
1284
  var bestFormat = formats[0];
@@ -1355,7 +1355,7 @@
1355
1355
  return __assign({}, bestFormat);
1356
1356
  }
1357
1357
 
1358
- // ../../../../../../../../execroot/formatjs/bazel-out/darwin-fastbuild/bin/packages/intl-datetimeformat/lib/src/abstract/skeleton.js
1358
+ // ../../../../../../../../execroot/formatjs/bazel-out/darwin_arm64-fastbuild/bin/packages/intl-datetimeformat/lib/src/abstract/skeleton.js
1359
1359
  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;
1360
1360
  var expPatternTrimmer = /^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g;
1361
1361
  function matchSkeletonPattern(match2, result) {
@@ -1608,7 +1608,7 @@
1608
1608
  ];
1609
1609
  }
1610
1610
 
1611
- // ../../../../../../../../execroot/formatjs/bazel-out/darwin-fastbuild/bin/packages/intl-datetimeformat/lib/src/abstract/BestFitFormatMatcher.js
1611
+ // ../../../../../../../../execroot/formatjs/bazel-out/darwin_arm64-fastbuild/bin/packages/intl-datetimeformat/lib/src/abstract/BestFitFormatMatcher.js
1612
1612
  function isNumericType(t) {
1613
1613
  return t === "numeric" || t === "2-digit";
1614
1614
  }
@@ -1690,7 +1690,7 @@
1690
1690
  return patternFormat;
1691
1691
  }
1692
1692
 
1693
- // ../../../../../../../../execroot/formatjs/bazel-out/darwin-fastbuild/bin/packages/intl-datetimeformat/lib/src/abstract/DateTimeStyleFormat.js
1693
+ // ../../../../../../../../execroot/formatjs/bazel-out/darwin_arm64-fastbuild/bin/packages/intl-datetimeformat/lib/src/abstract/DateTimeStyleFormat.js
1694
1694
  function DateTimeStyleFormat(dateStyle, timeStyle, dataLocaleData) {
1695
1695
  var dateFormat, timeFormat;
1696
1696
  if (timeStyle !== void 0) {
@@ -1729,7 +1729,7 @@
1729
1729
  return dateFormat;
1730
1730
  }
1731
1731
 
1732
- // ../../../../../../../../execroot/formatjs/bazel-out/darwin-fastbuild/bin/packages/intl-datetimeformat/lib/src/abstract/ToDateTimeOptions.js
1732
+ // ../../../../../../../../execroot/formatjs/bazel-out/darwin_arm64-fastbuild/bin/packages/intl-datetimeformat/lib/src/abstract/ToDateTimeOptions.js
1733
1733
  function ToDateTimeOptions(options, required, defaults) {
1734
1734
  if (options === void 0) {
1735
1735
  options = null;
@@ -1786,7 +1786,7 @@
1786
1786
  return options;
1787
1787
  }
1788
1788
 
1789
- // ../../../../../../../../execroot/formatjs/bazel-out/darwin-fastbuild/bin/packages/intl-datetimeformat/lib/src/abstract/InitializeDateTimeFormat.js
1789
+ // ../../../../../../../../execroot/formatjs/bazel-out/darwin_arm64-fastbuild/bin/packages/intl-datetimeformat/lib/src/abstract/InitializeDateTimeFormat.js
1790
1790
  function isTimeRelated(opt) {
1791
1791
  for (var _i = 0, _a = ["hour", "minute", "second"]; _i < _a.length; _i++) {
1792
1792
  var prop = _a[_i];
@@ -1948,7 +1948,7 @@
1948
1948
  return dtf;
1949
1949
  }
1950
1950
 
1951
- // ../../../../../../../../execroot/formatjs/bazel-out/darwin-fastbuild/bin/packages/intl-datetimeformat/lib/src/abstract/FormatDateTimeToParts.js
1951
+ // ../../../../../../../../execroot/formatjs/bazel-out/darwin_arm64-fastbuild/bin/packages/intl-datetimeformat/lib/src/abstract/FormatDateTimeToParts.js
1952
1952
  function FormatDateTimeToParts(dtf, x, implDetails) {
1953
1953
  var parts = PartitionDateTimePattern(dtf, x, implDetails);
1954
1954
  var result = ArrayCreate(0);
@@ -1962,7 +1962,7 @@
1962
1962
  return result;
1963
1963
  }
1964
1964
 
1965
- // ../../../../../../../../execroot/formatjs/bazel-out/darwin-fastbuild/bin/packages/intl-datetimeformat/lib/src/abstract/PartitionDateTimeRangePattern.js
1965
+ // ../../../../../../../../execroot/formatjs/bazel-out/darwin_arm64-fastbuild/bin/packages/intl-datetimeformat/lib/src/abstract/PartitionDateTimeRangePattern.js
1966
1966
  var TABLE_2_FIELDS = [
1967
1967
  "era",
1968
1968
  "year",
@@ -2075,7 +2075,7 @@
2075
2075
  return result;
2076
2076
  }
2077
2077
 
2078
- // ../../../../../../../../execroot/formatjs/bazel-out/darwin-fastbuild/bin/packages/intl-datetimeformat/lib/src/abstract/FormatDateTimeRangeToParts.js
2078
+ // ../../../../../../../../execroot/formatjs/bazel-out/darwin_arm64-fastbuild/bin/packages/intl-datetimeformat/lib/src/abstract/FormatDateTimeRangeToParts.js
2079
2079
  function FormatDateTimeRangeToParts(dtf, x, y, implDetails) {
2080
2080
  var parts = PartitionDateTimeRangePattern(dtf, x, y, implDetails);
2081
2081
  var result = new Array(0);
@@ -2090,7 +2090,7 @@
2090
2090
  return result;
2091
2091
  }
2092
2092
 
2093
- // ../../../../../../../../execroot/formatjs/bazel-out/darwin-fastbuild/bin/packages/intl-datetimeformat/lib/src/abstract/FormatDateTimeRange.js
2093
+ // ../../../../../../../../execroot/formatjs/bazel-out/darwin_arm64-fastbuild/bin/packages/intl-datetimeformat/lib/src/abstract/FormatDateTimeRange.js
2094
2094
  function FormatDateTimeRange(dtf, x, y, implDetails) {
2095
2095
  var parts = PartitionDateTimeRangePattern(dtf, x, y, implDetails);
2096
2096
  var result = "";
@@ -2101,7 +2101,7 @@
2101
2101
  return result;
2102
2102
  }
2103
2103
 
2104
- // ../../../../../../../../execroot/formatjs/bazel-out/darwin-fastbuild/bin/packages/intl-datetimeformat/lib/src/core.js
2104
+ // ../../../../../../../../execroot/formatjs/bazel-out/darwin_arm64-fastbuild/bin/packages/intl-datetimeformat/lib/src/core.js
2105
2105
  var UPPERCASED_LINKS = Object.keys(links_default).reduce(function(all, l) {
2106
2106
  all[l.toUpperCase()] = links_default[l];
2107
2107
  return all;
@@ -2375,10 +2375,10 @@
2375
2375
  } catch (e) {
2376
2376
  }
2377
2377
 
2378
- // ../../../../../../../../execroot/formatjs/bazel-out/darwin-fastbuild/bin/packages/intl-datetimeformat/lib/supported-locales.generated.js
2378
+ // ../../../../../../../../execroot/formatjs/bazel-out/darwin_arm64-fastbuild/bin/packages/intl-datetimeformat/lib/supported-locales.generated.js
2379
2379
  var supportedLocales = ["af", "af-NA", "agq", "ak", "am", "ar", "ar-AE", "ar-BH", "ar-DJ", "ar-DZ", "ar-EG", "ar-EH", "ar-ER", "ar-IL", "ar-IQ", "ar-JO", "ar-KM", "ar-KW", "ar-LB", "ar-LY", "ar-MA", "ar-MR", "ar-OM", "ar-PS", "ar-QA", "ar-SA", "ar-SD", "ar-SO", "ar-SS", "ar-SY", "ar-TD", "ar-TN", "ar-YE", "as", "asa", "ast", "az", "az-Cyrl", "az-Latn", "bas", "be", "be-tarask", "bem", "bez", "bg", "bm", "bn", "bn-IN", "bo", "bo-IN", "br", "brx", "bs", "bs-Cyrl", "bs-Latn", "ca", "ca-AD", "ca-ES-valencia", "ca-FR", "ca-IT", "ccp", "ccp-IN", "ce", "ceb", "cgg", "chr", "ckb", "ckb-IR", "cs", "cy", "da", "da-GL", "dav", "de", "de-AT", "de-BE", "de-CH", "de-IT", "de-LI", "de-LU", "dje", "doi", "dsb", "dua", "dyo", "dz", "ebu", "ee", "ee-TG", "el", "el-CY", "en", "en-001", "en-150", "en-AE", "en-AG", "en-AI", "en-AS", "en-AT", "en-AU", "en-BB", "en-BE", "en-BI", "en-BM", "en-BS", "en-BW", "en-BZ", "en-CA", "en-CC", "en-CH", "en-CK", "en-CM", "en-CX", "en-CY", "en-DE", "en-DG", "en-DK", "en-DM", "en-ER", "en-FI", "en-FJ", "en-FK", "en-FM", "en-GB", "en-GD", "en-GG", "en-GH", "en-GI", "en-GM", "en-GU", "en-GY", "en-HK", "en-IE", "en-IL", "en-IM", "en-IN", "en-IO", "en-JE", "en-JM", "en-KE", "en-KI", "en-KN", "en-KY", "en-LC", "en-LR", "en-LS", "en-MG", "en-MH", "en-MO", "en-MP", "en-MS", "en-MT", "en-MU", "en-MW", "en-MY", "en-NA", "en-NF", "en-NG", "en-NL", "en-NR", "en-NU", "en-NZ", "en-PG", "en-PH", "en-PK", "en-PN", "en-PR", "en-PW", "en-RW", "en-SB", "en-SC", "en-SD", "en-SE", "en-SG", "en-SH", "en-SI", "en-SL", "en-SS", "en-SX", "en-SZ", "en-TC", "en-TK", "en-TO", "en-TT", "en-TV", "en-TZ", "en-UG", "en-UM", "en-VC", "en-VG", "en-VI", "en-VU", "en-WS", "en-ZA", "en-ZM", "en-ZW", "eo", "es", "es-419", "es-AR", "es-BO", "es-BR", "es-BZ", "es-CL", "es-CO", "es-CR", "es-CU", "es-DO", "es-EA", "es-EC", "es-GQ", "es-GT", "es-HN", "es-IC", "es-MX", "es-NI", "es-PA", "es-PE", "es-PH", "es-PR", "es-PY", "es-SV", "es-US", "es-UY", "es-VE", "et", "eu", "ewo", "fa", "fa-AF", "ff", "ff-Adlm", "ff-Adlm-BF", "ff-Adlm-CM", "ff-Adlm-GH", "ff-Adlm-GM", "ff-Adlm-GW", "ff-Adlm-LR", "ff-Adlm-MR", "ff-Adlm-NE", "ff-Adlm-NG", "ff-Adlm-SL", "ff-Adlm-SN", "ff-Latn", "ff-Latn-BF", "ff-Latn-CM", "ff-Latn-GH", "ff-Latn-GM", "ff-Latn-GN", "ff-Latn-GW", "ff-Latn-LR", "ff-Latn-MR", "ff-Latn-NE", "ff-Latn-NG", "ff-Latn-SL", "fi", "fil", "fo", "fo-DK", "fr", "fr-BE", "fr-BF", "fr-BI", "fr-BJ", "fr-BL", "fr-CA", "fr-CD", "fr-CF", "fr-CG", "fr-CH", "fr-CI", "fr-CM", "fr-DJ", "fr-DZ", "fr-GA", "fr-GF", "fr-GN", "fr-GP", "fr-GQ", "fr-HT", "fr-KM", "fr-LU", "fr-MA", "fr-MC", "fr-MF", "fr-MG", "fr-ML", "fr-MQ", "fr-MR", "fr-MU", "fr-NC", "fr-NE", "fr-PF", "fr-PM", "fr-RE", "fr-RW", "fr-SC", "fr-SN", "fr-SY", "fr-TD", "fr-TG", "fr-TN", "fr-VU", "fr-WF", "fr-YT", "fur", "fy", "ga", "ga-GB", "gd", "gl", "gsw", "gsw-FR", "gsw-LI", "gu", "guz", "gv", "ha", "ha-GH", "ha-NE", "haw", "he", "hi", "hr", "hr-BA", "hsb", "hu", "hy", "ia", "id", "ig", "ii", "is", "it", "it-CH", "it-SM", "it-VA", "ja", "jgo", "jmc", "jv", "ka", "kab", "kam", "kde", "kea", "kgp", "khq", "ki", "kk", "kkj", "kl", "kln", "km", "kn", "ko", "ko-KP", "kok", "ks", "ks-Arab", "ksb", "ksf", "ksh", "ku", "kw", "ky", "lag", "lb", "lg", "lkt", "ln", "ln-AO", "ln-CF", "ln-CG", "lo", "lrc", "lrc-IQ", "lt", "lu", "luo", "luy", "lv", "mai", "mas", "mas-TZ", "mer", "mfe", "mg", "mgh", "mgo", "mi", "mk", "ml", "mn", "mni", "mni-Beng", "mr", "ms", "ms-BN", "ms-ID", "ms-SG", "mt", "mua", "my", "mzn", "naq", "nb", "nb-SJ", "nd", "nds", "nds-NL", "ne", "ne-IN", "nl", "nl-AW", "nl-BE", "nl-BQ", "nl-CW", "nl-SR", "nl-SX", "nmg", "nn", "nnh", "no", "nus", "nyn", "om", "om-KE", "or", "os", "os-RU", "pa", "pa-Arab", "pa-Guru", "pcm", "pl", "ps", "ps-PK", "pt", "pt-AO", "pt-CH", "pt-CV", "pt-GQ", "pt-GW", "pt-LU", "pt-MO", "pt-MZ", "pt-PT", "pt-ST", "pt-TL", "qu", "qu-BO", "qu-EC", "rm", "rn", "ro", "ro-MD", "rof", "ru", "ru-BY", "ru-KG", "ru-KZ", "ru-MD", "ru-UA", "rw", "rwk", "sa", "sah", "saq", "sat", "sat-Olck", "sbp", "sc", "sd", "sd-Arab", "sd-Deva", "se", "se-FI", "se-SE", "seh", "ses", "sg", "shi", "shi-Latn", "shi-Tfng", "si", "sk", "sl", "smn", "sn", "so", "so-DJ", "so-ET", "so-KE", "sq", "sq-MK", "sq-XK", "sr", "sr-Cyrl", "sr-Cyrl-BA", "sr-Cyrl-ME", "sr-Cyrl-XK", "sr-Latn", "sr-Latn-BA", "sr-Latn-ME", "sr-Latn-XK", "su", "su-Latn", "sv", "sv-AX", "sv-FI", "sw", "sw-CD", "sw-KE", "sw-UG", "ta", "ta-LK", "ta-MY", "ta-SG", "te", "teo", "teo-KE", "tg", "th", "ti", "ti-ER", "tk", "to", "tr", "tr-CY", "tt", "twq", "tzm", "ug", "uk", "und", "ur", "ur-IN", "uz", "uz-Arab", "uz-Cyrl", "uz-Latn", "vai", "vai-Latn", "vai-Vaii", "vi", "vun", "wae", "wo", "xh", "xog", "yav", "yi", "yo", "yo-BJ", "yrl", "yrl-CO", "yrl-VE", "yue", "yue-Hans", "yue-Hant", "zgh", "zh", "zh-Hans", "zh-Hans-HK", "zh-Hans-MO", "zh-Hans-SG", "zh-Hant", "zh-Hant-HK", "zh-Hant-MO", "zu"];
2380
2380
 
2381
- // ../../../../../../../../execroot/formatjs/bazel-out/darwin-fastbuild/bin/packages/intl-datetimeformat/lib/should-polyfill.js
2381
+ // ../../../../../../../../execroot/formatjs/bazel-out/darwin_arm64-fastbuild/bin/packages/intl-datetimeformat/lib/should-polyfill.js
2382
2382
  function supportsDateStyle() {
2383
2383
  try {
2384
2384
  return !!new Intl.DateTimeFormat(void 0, {
@@ -2424,7 +2424,7 @@
2424
2424
  }
2425
2425
  }
2426
2426
 
2427
- // ../../../../../../../../execroot/formatjs/bazel-out/darwin-fastbuild/bin/packages/intl-datetimeformat/lib/src/to_locale_string.js
2427
+ // ../../../../../../../../execroot/formatjs/bazel-out/darwin_arm64-fastbuild/bin/packages/intl-datetimeformat/lib/src/to_locale_string.js
2428
2428
  function toLocaleString(x, locales, options) {
2429
2429
  var dtf = new DateTimeFormat(locales, options);
2430
2430
  return dtf.format(x);
@@ -2438,7 +2438,7 @@
2438
2438
  return dtf.format(x);
2439
2439
  }
2440
2440
 
2441
- // ../../../../../../../../execroot/formatjs/bazel-out/darwin-fastbuild/bin/packages/intl-datetimeformat/lib/polyfill.js
2441
+ // ../../../../../../../../execroot/formatjs/bazel-out/darwin_arm64-fastbuild/bin/packages/intl-datetimeformat/lib/polyfill.js
2442
2442
  if (shouldPolyfill()) {
2443
2443
  defineProperty(Intl, "DateTimeFormat", { value: DateTimeFormat });
2444
2444
  defineProperty(Date.prototype, "toLocaleString", {
@@ -1,8 +1,9 @@
1
+ import { DateTimeFormat } from '@formatjs/ecma402-abstract';
1
2
  import { PartitionDateTimePattern } from './PartitionDateTimePattern';
2
3
  /**
3
4
  * https://tc39.es/ecma402/#sec-formatdatetime
4
5
  * @param dtf DateTimeFormat
5
6
  * @param x
6
7
  */
7
- export declare function FormatDateTime(dtf: Intl.DateTimeFormat, x: number, implDetails: Parameters<typeof PartitionDateTimePattern>[2]): string;
8
+ export declare function FormatDateTime(dtf: Intl.DateTimeFormat | DateTimeFormat, x: number, implDetails: Parameters<typeof PartitionDateTimePattern>[2]): string;
8
9
  //# sourceMappingURL=FormatDateTime.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"FormatDateTime.d.ts","sourceRoot":"","sources":["FormatDateTime.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,wBAAwB,EAAC,MAAM,4BAA4B,CAAA;AAEnE;;;;GAIG;AACH,wBAAgB,cAAc,CAC5B,GAAG,EAAE,IAAI,CAAC,cAAc,EACxB,CAAC,EAAE,MAAM,EACT,WAAW,EAAE,UAAU,CAAC,OAAO,wBAAwB,CAAC,CAAC,CAAC,CAAC,UAQ5D"}
1
+ {"version":3,"file":"FormatDateTime.d.ts","sourceRoot":"","sources":["FormatDateTime.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,cAAc,EAAC,MAAM,4BAA4B,CAAA;AACzD,OAAO,EAAC,wBAAwB,EAAC,MAAM,4BAA4B,CAAA;AAEnE;;;;GAIG;AACH,wBAAgB,cAAc,CAC5B,GAAG,EAAE,IAAI,CAAC,cAAc,GAAG,cAAc,EACzC,CAAC,EAAE,MAAM,EACT,WAAW,EAAE,UAAU,CAAC,OAAO,wBAAwB,CAAC,CAAC,CAAC,CAAC,UAQ5D"}
@@ -1,7 +1,7 @@
1
- import { IntlDateTimeFormatInternal, DateTimeFormatLocaleInternalData, IntlDateTimeFormatPart } from '@formatjs/ecma402-abstract';
1
+ import { IntlDateTimeFormatInternal, DateTimeFormatLocaleInternalData, IntlDateTimeFormatPart, DateTimeFormat } from '@formatjs/ecma402-abstract';
2
2
  import { ToLocalTimeImplDetails } from './ToLocalTime';
3
3
  export interface FormatDateTimePatternImplDetails {
4
- getInternalSlots(dtf: Intl.DateTimeFormat): IntlDateTimeFormatInternal;
4
+ getInternalSlots(dtf: Intl.DateTimeFormat | DateTimeFormat): IntlDateTimeFormatInternal;
5
5
  localeData: Record<string, DateTimeFormatLocaleInternalData>;
6
6
  getDefaultTimeZone(): string;
7
7
  }
@@ -10,5 +10,5 @@ export interface FormatDateTimePatternImplDetails {
10
10
  * @param dtf
11
11
  * @param x
12
12
  */
13
- export declare function FormatDateTimePattern(dtf: Intl.DateTimeFormat, patternParts: IntlDateTimeFormatPart[], x: number, { getInternalSlots, localeData, getDefaultTimeZone, tzData, }: FormatDateTimePatternImplDetails & ToLocalTimeImplDetails): IntlDateTimeFormatPart[];
13
+ export declare function FormatDateTimePattern(dtf: Intl.DateTimeFormat | DateTimeFormat, patternParts: IntlDateTimeFormatPart[], x: number, { getInternalSlots, localeData, getDefaultTimeZone, tzData, }: FormatDateTimePatternImplDetails & ToLocalTimeImplDetails): IntlDateTimeFormatPart[];
14
14
  //# sourceMappingURL=FormatDateTimePattern.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"FormatDateTimePattern.d.ts","sourceRoot":"","sources":["FormatDateTimePattern.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,0BAA0B,EAC1B,gCAAgC,EAChC,sBAAsB,EAEvB,MAAM,4BAA4B,CAAA;AAGnC,OAAO,EAAc,sBAAsB,EAAC,MAAM,eAAe,CAAA;AAsCjE,MAAM,WAAW,gCAAgC;IAC/C,gBAAgB,CAAC,GAAG,EAAE,IAAI,CAAC,cAAc,GAAG,0BAA0B,CAAA;IACtE,UAAU,EAAE,MAAM,CAAC,MAAM,EAAE,gCAAgC,CAAC,CAAA;IAC5D,kBAAkB,IAAI,MAAM,CAAA;CAC7B;AAED;;;;GAIG;AACH,wBAAgB,qBAAqB,CACnC,GAAG,EAAE,IAAI,CAAC,cAAc,EACxB,YAAY,EAAE,sBAAsB,EAAE,EACtC,CAAC,EAAE,MAAM,EACT,EACE,gBAAgB,EAChB,UAAU,EACV,kBAAkB,EAClB,MAAM,GACP,EAAE,gCAAgC,GAAG,sBAAsB,GAC3D,sBAAsB,EAAE,CA0J1B"}
1
+ {"version":3,"file":"FormatDateTimePattern.d.ts","sourceRoot":"","sources":["FormatDateTimePattern.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,0BAA0B,EAC1B,gCAAgC,EAChC,sBAAsB,EAEtB,cAAc,EACf,MAAM,4BAA4B,CAAA;AAGnC,OAAO,EAAc,sBAAsB,EAAC,MAAM,eAAe,CAAA;AAsCjE,MAAM,WAAW,gCAAgC;IAC/C,gBAAgB,CACd,GAAG,EAAE,IAAI,CAAC,cAAc,GAAG,cAAc,GACxC,0BAA0B,CAAA;IAC7B,UAAU,EAAE,MAAM,CAAC,MAAM,EAAE,gCAAgC,CAAC,CAAA;IAC5D,kBAAkB,IAAI,MAAM,CAAA;CAC7B;AAED;;;;GAIG;AACH,wBAAgB,qBAAqB,CACnC,GAAG,EAAE,IAAI,CAAC,cAAc,GAAG,cAAc,EACzC,YAAY,EAAE,sBAAsB,EAAE,EACtC,CAAC,EAAE,MAAM,EACT,EACE,gBAAgB,EAChB,UAAU,EACV,kBAAkB,EAClB,MAAM,GACP,EAAE,gCAAgC,GAAG,sBAAsB,GAC3D,sBAAsB,EAAE,CAyJ1B"}
@@ -77,7 +77,6 @@ function FormatDateTimePattern(dtf, patternParts, x, _a) {
77
77
  else if (p === 'fractionalSecondDigits') {
78
78
  var v = Math.floor(tm.millisecond * Math.pow(10, ((fractionalSecondDigits || 0) - 3)));
79
79
  result.push({
80
- // @ts-expect-error Spec is not there yet
81
80
  type: 'fractionalSecond',
82
81
  value: nf3.format(v),
83
82
  });
@@ -5,8 +5,8 @@ import { IntlDateTimeFormatInternal, DateTimeFormatLocaleInternalData, DateTimeF
5
5
  * @param locales locales
6
6
  * @param opts options
7
7
  */
8
- export declare function InitializeDateTimeFormat(dtf: DateTimeFormat, locales: string | string[] | undefined, opts: Intl.DateTimeFormatOptions | undefined, { getInternalSlots, availableLocales, localeData, getDefaultLocale, getDefaultTimeZone, relevantExtensionKeys, tzData, uppercaseLinks, }: {
9
- getInternalSlots(dtf: DateTimeFormat): IntlDateTimeFormatInternal;
8
+ export declare function InitializeDateTimeFormat(dtf: Intl.DateTimeFormat | DateTimeFormat, locales: string | string[] | undefined, opts: Intl.DateTimeFormatOptions | undefined, { getInternalSlots, availableLocales, localeData, getDefaultLocale, getDefaultTimeZone, relevantExtensionKeys, tzData, uppercaseLinks, }: {
9
+ getInternalSlots(dtf: DateTimeFormat | Intl.DateTimeFormat): IntlDateTimeFormatInternal;
10
10
  availableLocales: Set<string>;
11
11
  getDefaultLocale(): string;
12
12
  getDefaultTimeZone(): string;
@@ -1 +1 @@
1
- {"version":3,"file":"InitializeDateTimeFormat.d.ts","sourceRoot":"","sources":["InitializeDateTimeFormat.ts"],"names":[],"mappings":"AAAA,OAAO,EAEL,0BAA0B,EAC1B,gCAAgC,EAOhC,cAAc,IAAI,cAAc,EACjC,MAAM,4BAA4B,CAAA;AAkDnC;;;;;GAKG;AACH,wBAAgB,wBAAwB,CACtC,GAAG,EAAE,cAAc,EACnB,OAAO,EAAE,MAAM,GAAG,MAAM,EAAE,GAAG,SAAS,EACtC,IAAI,EAAE,IAAI,CAAC,qBAAqB,GAAG,SAAS,EAC5C,EACE,gBAAgB,EAChB,gBAAgB,EAChB,UAAU,EACV,gBAAgB,EAChB,kBAAkB,EAClB,qBAAqB,EACrB,MAAM,EACN,cAAc,GACf,EAAE;IACD,gBAAgB,CAAC,GAAG,EAAE,cAAc,GAAG,0BAA0B,CAAA;IACjE,gBAAgB,EAAE,GAAG,CAAC,MAAM,CAAC,CAAA;IAC7B,gBAAgB,IAAI,MAAM,CAAA;IAC1B,kBAAkB,IAAI,MAAM,CAAA;IAC5B,qBAAqB,EAAE,MAAM,EAAE,CAAA;IAC/B,UAAU,EAAE,MAAM,CAAC,MAAM,EAAE,gCAAgC,GAAG,SAAS,CAAC,CAAA;IACxE,MAAM,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAA;IAC/B,cAAc,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAA;CACvC,GACA,IAAI,CAAC,cAAc,CA2PrB"}
1
+ {"version":3,"file":"InitializeDateTimeFormat.d.ts","sourceRoot":"","sources":["InitializeDateTimeFormat.ts"],"names":[],"mappings":"AAAA,OAAO,EAEL,0BAA0B,EAC1B,gCAAgC,EAOhC,cAAc,IAAI,cAAc,EACjC,MAAM,4BAA4B,CAAA;AAkDnC;;;;;GAKG;AACH,wBAAgB,wBAAwB,CACtC,GAAG,EAAE,IAAI,CAAC,cAAc,GAAG,cAAc,EACzC,OAAO,EAAE,MAAM,GAAG,MAAM,EAAE,GAAG,SAAS,EACtC,IAAI,EAAE,IAAI,CAAC,qBAAqB,GAAG,SAAS,EAC5C,EACE,gBAAgB,EAChB,gBAAgB,EAChB,UAAU,EACV,gBAAgB,EAChB,kBAAkB,EAClB,qBAAqB,EACrB,MAAM,EACN,cAAc,GACf,EAAE;IACD,gBAAgB,CACd,GAAG,EAAE,cAAc,GAAG,IAAI,CAAC,cAAc,GACxC,0BAA0B,CAAA;IAC7B,gBAAgB,EAAE,GAAG,CAAC,MAAM,CAAC,CAAA;IAC7B,gBAAgB,IAAI,MAAM,CAAA;IAC1B,kBAAkB,IAAI,MAAM,CAAA;IAC5B,qBAAqB,EAAE,MAAM,EAAE,CAAA;IAC/B,UAAU,EAAE,MAAM,CAAC,MAAM,EAAE,gCAAgC,GAAG,SAAS,CAAC,CAAA;IACxE,MAAM,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAA;IAC/B,cAAc,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAA;CACvC,GACA,IAAI,CAAC,cAAc,CA2PrB"}
@@ -1,4 +1,4 @@
1
- import { IntlDateTimeFormatPart } from '@formatjs/ecma402-abstract';
1
+ import { DateTimeFormat, IntlDateTimeFormatPart } from '@formatjs/ecma402-abstract';
2
2
  import { ToLocalTimeImplDetails } from './ToLocalTime';
3
3
  import { FormatDateTimePatternImplDetails } from './FormatDateTimePattern';
4
4
  /**
@@ -6,5 +6,5 @@ import { FormatDateTimePatternImplDetails } from './FormatDateTimePattern';
6
6
  * @param dtf
7
7
  * @param x
8
8
  */
9
- export declare function PartitionDateTimePattern(dtf: Intl.DateTimeFormat, x: number, implDetails: ToLocalTimeImplDetails & FormatDateTimePatternImplDetails): IntlDateTimeFormatPart[];
9
+ export declare function PartitionDateTimePattern(dtf: Intl.DateTimeFormat | DateTimeFormat, x: number, implDetails: ToLocalTimeImplDetails & FormatDateTimePatternImplDetails): IntlDateTimeFormatPart[];
10
10
  //# sourceMappingURL=PartitionDateTimePattern.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"PartitionDateTimePattern.d.ts","sourceRoot":"","sources":["PartitionDateTimePattern.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,sBAAsB,EAIvB,MAAM,4BAA4B,CAAA;AACnC,OAAO,EAAC,sBAAsB,EAAC,MAAM,eAAe,CAAA;AACpD,OAAO,EAEL,gCAAgC,EACjC,MAAM,yBAAyB,CAAA;AAEhC;;;;GAIG;AACH,wBAAgB,wBAAwB,CACtC,GAAG,EAAE,IAAI,CAAC,cAAc,EACxB,CAAC,EAAE,MAAM,EACT,WAAW,EAAE,sBAAsB,GAAG,gCAAgC,GACrE,sBAAsB,EAAE,CAkB1B"}
1
+ {"version":3,"file":"PartitionDateTimePattern.d.ts","sourceRoot":"","sources":["PartitionDateTimePattern.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,cAAc,EACd,sBAAsB,EAIvB,MAAM,4BAA4B,CAAA;AACnC,OAAO,EAAC,sBAAsB,EAAC,MAAM,eAAe,CAAA;AACpD,OAAO,EAEL,gCAAgC,EACjC,MAAM,yBAAyB,CAAA;AAEhC;;;;GAIG;AACH,wBAAgB,wBAAwB,CACtC,GAAG,EAAE,IAAI,CAAC,cAAc,GAAG,cAAc,EACzC,CAAC,EAAE,MAAM,EACT,WAAW,EAAE,sBAAsB,GAAG,gCAAgC,GACrE,sBAAsB,EAAE,CAkB1B"}
package/src/types.d.ts CHANGED
@@ -12,14 +12,14 @@ export interface UnpackedData {
12
12
  */
13
13
  offsets: number[];
14
14
  }
15
- export declare type ZoneData = [
15
+ export type ZoneData = [
16
16
  number | string,
17
17
  number,
18
18
  number,
19
19
  number
20
20
  ];
21
- export declare type RawDateTimeLocaleData = LocaleData<RawDateTimeLocaleInternalData>;
22
- export declare type RawDateTimeLocaleInternalData = Omit<DateTimeFormatLocaleInternalData, 'dateFormat' | 'timeFormat' | 'dateTimeFormat' | 'formats' | 'intervalFormats'> & {
21
+ export type RawDateTimeLocaleData = LocaleData<RawDateTimeLocaleInternalData>;
22
+ export type RawDateTimeLocaleInternalData = Omit<DateTimeFormatLocaleInternalData, 'dateFormat' | 'timeFormat' | 'dateTimeFormat' | 'formats' | 'intervalFormats'> & {
23
23
  formats: Record<string, Record<string, string>>;
24
24
  dateFormat: {
25
25
  full: string;
@@ -41,7 +41,7 @@ export declare type RawDateTimeLocaleInternalData = Omit<DateTimeFormatLocaleInt
41
41
  short: string;
42
42
  };
43
43
  };
44
- export declare type TimeZoneNameData = Record<string, {
44
+ export type TimeZoneNameData = Record<string, {
45
45
  long?: [string, string];
46
46
  short?: [string, string];
47
47
  }>;
@@ -1 +1 @@
1
- {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["types.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,UAAU,EACV,gCAAgC,EAChC,mBAAmB,EACpB,MAAM,4BAA4B,CAAA;AAEnC,MAAM,WAAW,UAAU;IACzB,KAAK,EAAE,MAAM,EAAE,CAAA;IACf,MAAM,EAAE,MAAM,CAAA;IACd,OAAO,EAAE,MAAM,CAAA;CAChB;AAED,MAAM,WAAW,YAAY;IAC3B,KAAK,EAAE,MAAM,CAAC,MAAM,EAAE,QAAQ,EAAE,CAAC,CAAA;IACjC,MAAM,EAAE,MAAM,EAAE,CAAA;IAChB;;OAEG;IACH,OAAO,EAAE,MAAM,EAAE,CAAA;CAClB;AAED,oBAAY,QAAQ,GAAG;IAErB,MAAM,GAAG,MAAM;IAEf,MAAM;IAEN,MAAM;IAEN,MAAM;CACP,CAAA;AAED,oBAAY,qBAAqB,GAAG,UAAU,CAAC,6BAA6B,CAAC,CAAA;AAE7E,oBAAY,6BAA6B,GAAG,IAAI,CAC9C,gCAAgC,EAChC,YAAY,GAAG,YAAY,GAAG,gBAAgB,GAAG,SAAS,G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