@formatjs/intl-durationformat 0.12.0 → 0.12.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.
package/index.js CHANGED
@@ -1,6 +1,6 @@
1
1
  import { LookupSupportedLocales, ResolveLocale } from "@formatjs/intl-localematcher";
2
2
  import { BigDecimal, Decimal } from "@formatjs/bigdecimal";
3
- //#region node_modules/.aspect_rules_js/@formatjs_generated+cldr.number@0.0.0/node_modules/@formatjs_generated/cldr.number/numbering-systems.js
3
+ // node_modules/.aspect_rules_js/@formatjs_generated+cldr.number@0.0.0/node_modules/@formatjs_generated/cldr.number/numbering-systems.js
4
4
  const numberingSystemNames = [
5
5
  "adlm",
6
6
  "ahom",
@@ -100,14 +100,12 @@ const numberingSystemNames = [
100
100
  "wara",
101
101
  "wcho"
102
102
  ];
103
- //#endregion
104
- //#region packages/ecma402-abstract/IsUnicodeLocaleIdentifierType.js
103
+ // packages/ecma402-abstract/IsUnicodeLocaleIdentifierType.js
105
104
  /** Tests the Unicode locale identifier `type` grammar, not locale support. */
106
105
  function IsUnicodeLocaleIdentifierType(value) {
107
106
  return /^[a-z0-9]{3,8}(-[a-z0-9]{3,8})*(?![\s\S])/i.test(value);
108
107
  }
109
- //#endregion
110
- //#region packages/ecma262-abstract/OrdinaryHasInstance.js
108
+ // packages/ecma262-abstract/OrdinaryHasInstance.js
111
109
  function IsCallable(fn) {
112
110
  return typeof fn === "function";
113
111
  }
@@ -122,8 +120,7 @@ function OrdinaryHasInstance(C, O, internalSlots) {
122
120
  if (typeof P !== "object") throw new TypeError("OrdinaryHasInstance called on an object with an invalid prototype property.");
123
121
  return Object.prototype.isPrototypeOf.call(P, O);
124
122
  }
125
- //#endregion
126
- //#region packages/ecma262-abstract/ToObject.js
123
+ // packages/ecma262-abstract/ToObject.js
127
124
  /**
128
125
  * https://tc39.es/ecma262/#sec-toobject
129
126
  */
@@ -131,8 +128,7 @@ function ToObject(arg) {
131
128
  if (arg == null) throw new TypeError("undefined/null cannot be converted to object");
132
129
  return Object(arg);
133
130
  }
134
- //#endregion
135
- //#region packages/ecma402-abstract/CanonicalizeLocaleList.js
131
+ // packages/ecma402-abstract/CanonicalizeLocaleList.js
136
132
  /**
137
133
  * http://ecma-international.org/ecma-402/7.0/index.html#sec-canonicalizelocalelist
138
134
  * @param locales
@@ -140,8 +136,7 @@ function ToObject(arg) {
140
136
  function CanonicalizeLocaleList(locales) {
141
137
  return Intl.getCanonicalLocales(locales);
142
138
  }
143
- //#endregion
144
- //#region packages/ecma402-abstract/DefaultNumberOption.js
139
+ // packages/ecma402-abstract/DefaultNumberOption.js
145
140
  /**
146
141
  * ECMA-402 §9.2.13 DefaultNumberOption, step 2.
147
142
  * https://tc39.es/ecma402/#sec-defaultnumberoption
@@ -157,8 +152,7 @@ function DefaultNumberOption(inputVal, min, max, fallback) {
157
152
  if (isNaN(val) || val < min || val > max) throw new RangeError(`${val} is outside of range [${min}, ${max}]`);
158
153
  return Math.floor(val);
159
154
  }
160
- //#endregion
161
- //#region packages/ecma402-abstract/GetNumberOption.js
155
+ // packages/ecma402-abstract/GetNumberOption.js
162
156
  /**
163
157
  * https://tc39.es/ecma402/#sec-getnumberoption
164
158
  * @param options
@@ -171,8 +165,7 @@ function GetNumberOption(options, property, minimum, maximum, fallback) {
171
165
  const val = options[property];
172
166
  return DefaultNumberOption(val, minimum, maximum, fallback);
173
167
  }
174
- //#endregion
175
- //#region packages/ecma262-abstract/ToString.js
168
+ // packages/ecma262-abstract/ToString.js
176
169
  /**
177
170
  * https://tc39.es/ecma262/#sec-tostring
178
171
  */
@@ -180,8 +173,7 @@ function ToString(o) {
180
173
  if (typeof o === "symbol") throw TypeError("Cannot convert a Symbol value to a string");
181
174
  return String(o);
182
175
  }
183
- //#endregion
184
- //#region packages/ecma402-abstract/GetOption.js
176
+ // packages/ecma402-abstract/GetOption.js
185
177
  /**
186
178
  * https://tc39.es/ecma402/#sec-getoption
187
179
  * @param opts
@@ -202,8 +194,7 @@ function GetOption(opts, prop, type, values, fallback) {
202
194
  }
203
195
  return fallback;
204
196
  }
205
- //#endregion
206
- //#region packages/ecma402-abstract/SupportedLocales.js
197
+ // packages/ecma402-abstract/SupportedLocales.js
207
198
  /**
208
199
  * https://tc39.es/ecma402/#sec-supportedlocales
209
200
  * @param availableLocales
@@ -219,8 +210,7 @@ function SupportedLocales(availableLocales, requestedLocales, options) {
219
210
  if (matcher === "best fit") return LookupSupportedLocales(Array.from(availableLocales), requestedLocales);
220
211
  return LookupSupportedLocales(Array.from(availableLocales), requestedLocales);
221
212
  }
222
- //#endregion
223
- //#region node_modules/.aspect_rules_js/@formatjs+fast-memoize@0.0.0/node_modules/@formatjs/fast-memoize/index.js
213
+ // node_modules/.aspect_rules_js/@formatjs+fast-memoize@0.0.0/node_modules/@formatjs/fast-memoize/index.js
224
214
  function memoize(fn, options) {
225
215
  const cache = options && options.cache ? options.cache : cacheDefault;
226
216
  const serializer = options && options.serializer ? options.serializer : serializerDefault;
@@ -285,16 +275,14 @@ const strategies = {
285
275
  variadic: strategyVariadic,
286
276
  monadic: strategyMonadic
287
277
  };
288
- //#endregion
289
- //#region packages/ecma402-abstract/utils.js
278
+ // packages/ecma402-abstract/utils.js
290
279
  function invariant(condition, message, Err = Error) {
291
280
  if (!condition) throw new Err(message);
292
281
  }
293
282
  const createMemoizedNumberFormat = memoize((...args) => new Intl.NumberFormat(...args), { strategy: strategies.variadic });
294
283
  memoize((...args) => new Intl.PluralRules(...args), { strategy: strategies.variadic });
295
284
  const createMemoizedListFormat = memoize((...args) => new Intl.ListFormat(...args), { strategy: strategies.variadic });
296
- //#endregion
297
- //#region packages/ecma402-abstract/DurationFormat/GetDurationUnitOptions.js
285
+ // packages/ecma402-abstract/DurationFormat/GetDurationUnitOptions.js
298
286
  function GetDurationUnitOptions(unit, options, baseStyle, stylesList, digitalBase, prevStyle, twoDigitHours = false) {
299
287
  let style = GetOption(options, unit, "string", stylesList, void 0);
300
288
  let displayDefault = "always";
@@ -325,8 +313,7 @@ function GetDurationUnitOptions(unit, options, baseStyle, stylesList, digitalBas
325
313
  display
326
314
  };
327
315
  }
328
- //#endregion
329
- //#region packages/intl-durationformat/constants.ts
316
+ // packages/intl-durationformat/constants.ts
330
317
  const TABLE_2 = [
331
318
  {
332
319
  valueField: "years",
@@ -399,8 +386,7 @@ const TABLE_2 = [
399
386
  numberFormatUnit: "nanosecond"
400
387
  }
401
388
  ];
402
- //#endregion
403
- //#region packages/intl-durationformat/get_internal_slots.ts
389
+ // packages/intl-durationformat/get_internal_slots.ts
404
390
  const internalSlotMap = /* @__PURE__ */ new WeakMap();
405
391
  function getInternalSlots(x) {
406
392
  let internalSlots = internalSlotMap.get(x);
@@ -410,8 +396,7 @@ function getInternalSlots(x) {
410
396
  }
411
397
  return internalSlots;
412
398
  }
413
- //#endregion
414
- //#region packages/intl-durationformat/abstract/PartitionDurationFormatPattern.ts
399
+ // packages/intl-durationformat/abstract/PartitionDurationFormatPattern.ts
415
400
  function PartitionDurationFormatPattern(df, duration) {
416
401
  const result = [];
417
402
  let done = false;
@@ -518,8 +503,7 @@ function PartitionDurationFormatPattern(df, duration) {
518
503
  }
519
504
  return flattened;
520
505
  }
521
- //#endregion
522
- //#region packages/ecma402-abstract/DurationFormat/constants.js
506
+ // packages/ecma402-abstract/DurationFormat/constants.js
523
507
  const TABLE_1 = [
524
508
  "years",
525
509
  "months",
@@ -532,8 +516,7 @@ const TABLE_1 = [
532
516
  "microseconds",
533
517
  "nanoseconds"
534
518
  ];
535
- //#endregion
536
- //#region packages/ecma402-abstract/DurationFormat/DurationRecordSign.js
519
+ // packages/ecma402-abstract/DurationFormat/DurationRecordSign.js
537
520
  function DurationRecordSign(record) {
538
521
  for (const key of TABLE_1) {
539
522
  if (record[key] < 0) return -1;
@@ -541,8 +524,7 @@ function DurationRecordSign(record) {
541
524
  }
542
525
  return 0;
543
526
  }
544
- //#endregion
545
- //#region packages/ecma402-abstract/DurationFormat/IsValidDurationRecord.js
527
+ // packages/ecma402-abstract/DurationFormat/IsValidDurationRecord.js
546
528
  function IsValidDurationRecord(record) {
547
529
  const sign = DurationRecordSign(record);
548
530
  for (const key of TABLE_1) {
@@ -561,8 +543,7 @@ function IsValidDurationRecord(record) {
561
543
  const limit = BigInt(2 ** 53) * billion;
562
544
  return normalizedNanoseconds > -limit && normalizedNanoseconds < limit;
563
545
  }
564
- //#endregion
565
- //#region packages/ecma262-abstract/ToNumber.js
546
+ // packages/ecma262-abstract/ToNumber.js
566
547
  /**
567
548
  * ECMA-262 §7.1.4 ToNumber, steps 2, 8–10.
568
549
  * https://tc39.es/ecma262/#sec-tonumber
@@ -571,15 +552,13 @@ function IsValidDurationRecord(record) {
571
552
  function ToNumber(arg) {
572
553
  return new Decimal(+arg);
573
554
  }
574
- //#endregion
575
- //#region packages/ecma402-abstract/DurationFormat/ToIntegerIfIntegral.js
555
+ // packages/ecma402-abstract/DurationFormat/ToIntegerIfIntegral.js
576
556
  function ToIntegerIfIntegral(arg) {
577
557
  const number = ToNumber(arg);
578
558
  invariant(number.isInteger(), "Duration field is not an integer", RangeError);
579
559
  return number.isZero() ? 0 : number.toNumber();
580
560
  }
581
- //#endregion
582
- //#region packages/ecma402-abstract/DurationFormat/ToDurationRecord.js
561
+ // packages/ecma402-abstract/DurationFormat/ToDurationRecord.js
583
562
  function ToDurationRecord(input) {
584
563
  if ((typeof input !== "object" || input === null) && typeof input !== "function") {
585
564
  if (typeof input === "string") throw new RangeError("Invalid duration format");
@@ -620,8 +599,7 @@ function ToDurationRecord(input) {
620
599
  if (!IsValidDurationRecord(result)) throw new RangeError("Invalid duration format");
621
600
  return result;
622
601
  }
623
- //#endregion
624
- //#region packages/intl-durationformat/abstract/ToTemporalDurationRecord.ts
602
+ // packages/intl-durationformat/abstract/ToTemporalDurationRecord.ts
625
603
  const temporalDuration = globalThis.Temporal?.Duration;
626
604
  const durationFrom = temporalDuration?.from;
627
605
  const fields = [
@@ -653,23 +631,18 @@ function ToTemporalDurationRecord(input) {
653
631
  }
654
632
  return ToDurationRecord(input);
655
633
  }
656
- //#endregion
657
- //#region node_modules/.aspect_rules_js/@formatjs_generated+cldr.number@0.0.0/node_modules/@formatjs_generated/cldr.number/time-separators.js
634
+ // node_modules/.aspect_rules_js/@formatjs_generated+cldr.number@0.0.0/node_modules/@formatjs_generated/cldr.number/time-separators.js
658
635
  const TIME_SEPARATORS = {
659
636
  "default": ":",
660
637
  "localeData": {
661
- "aa": { "nu": ["latn"] },
662
- "aa-DJ": { "nu": ["latn"] },
663
- "aa-ER": { "nu": ["latn"] },
664
- "ab": { "nu": ["latn"] },
638
+ "ady": { "nu": ["latn"] },
639
+ "ady-JO": { "nu": ["latn"] },
640
+ "ady-TR": { "nu": ["latn"] },
665
641
  "af": { "nu": ["latn"] },
666
642
  "af-NA": { "nu": ["latn"] },
667
643
  "agq": { "nu": ["latn"] },
668
644
  "ak": { "nu": ["latn"] },
669
645
  "am": { "nu": ["latn"] },
670
- "an": { "nu": ["latn"] },
671
- "ann": { "nu": ["latn"] },
672
- "apc": { "nu": ["latn"] },
673
646
  "ar": { "nu": ["latn", "latn"] },
674
647
  "ar-AE": { "nu": ["latn", "latn"] },
675
648
  "ar-BH": { "nu": ["arab", "latn"] },
@@ -698,73 +671,50 @@ const TIME_SEPARATORS = {
698
671
  "ar-TD": { "nu": ["arab", "latn"] },
699
672
  "ar-TN": { "nu": ["latn", "latn"] },
700
673
  "ar-YE": { "nu": ["arab", "latn"] },
701
- "arn": { "nu": ["latn"] },
702
674
  "as": { "nu": ["beng"] },
703
675
  "asa": { "nu": ["latn"] },
704
676
  "ast": { "nu": ["latn"] },
705
677
  "az": { "nu": ["latn"] },
706
- "az-Arab": { "nu": ["arabext"] },
707
- "az-Arab-IQ": { "nu": ["arabext"] },
708
- "az-Arab-TR": { "nu": ["arabext"] },
709
678
  "az-Cyrl": { "nu": ["latn"] },
710
679
  "az-Latn": { "nu": ["latn"] },
711
680
  "ba": { "nu": ["latn"] },
712
- "bal": { "nu": ["latn"] },
713
- "bal-Arab": { "nu": ["latn"] },
714
681
  "bal-Latn": { "nu": ["latn"] },
715
682
  "bas": { "nu": ["latn"] },
716
683
  "be": { "nu": ["latn"] },
717
684
  "be-tarask": { "nu": ["latn"] },
718
685
  "bem": { "nu": ["latn"] },
719
- "bew": { "nu": ["latn"] },
720
686
  "bez": { "nu": ["latn"] },
721
687
  "bg": { "nu": ["latn"] },
722
688
  "bgc": { "nu": ["deva"] },
723
- "bgn": { "nu": ["arabext"] },
724
- "bgn-AE": { "nu": ["arabext"] },
725
- "bgn-AF": { "nu": ["arabext"] },
726
- "bgn-IR": { "nu": ["arabext"] },
727
- "bgn-OM": { "nu": ["arabext"] },
728
689
  "bho": { "nu": ["deva"] },
729
690
  "blo": { "nu": ["latn"] },
730
- "blt": { "nu": ["latn"] },
731
691
  "bm": { "nu": ["latn"] },
732
- "bm-Nkoo": { "nu": ["latn"] },
733
692
  "bn": { "nu": ["beng"] },
734
- "bn-IN": { "nu": ["beng"] },
693
+ "bn-IN": { "nu": ["latn"] },
735
694
  "bo": { "nu": ["latn"] },
736
695
  "bo-IN": { "nu": ["latn"] },
737
- "bqi": { "nu": ["latn"] },
738
696
  "br": { "nu": ["latn"] },
739
697
  "brx": { "nu": ["latn"] },
740
698
  "bs": { "nu": ["latn"] },
741
699
  "bs-Cyrl": { "nu": ["latn"] },
742
700
  "bs-Latn": { "nu": ["latn"] },
743
- "bss": { "nu": ["latn"] },
744
701
  "bua": { "nu": ["latn"] },
745
- "byn": { "nu": ["latn"] },
746
702
  "ca": { "nu": ["latn"] },
747
703
  "ca-AD": { "nu": ["latn"] },
748
704
  "ca-ES-valencia": { "nu": ["latn"] },
749
705
  "ca-FR": { "nu": ["latn"] },
750
706
  "ca-IT": { "nu": ["latn"] },
751
- "cad": { "nu": ["latn"] },
752
- "cch": { "nu": ["latn"] },
753
707
  "ccp": { "nu": ["cakm"] },
754
708
  "ccp-IN": { "nu": ["cakm"] },
755
709
  "ce": { "nu": ["latn"] },
756
710
  "ceb": { "nu": ["latn"] },
757
711
  "cgg": { "nu": ["latn"] },
758
- "cho": { "nu": ["latn"] },
759
712
  "chr": { "nu": ["latn"] },
760
- "cic": { "nu": ["latn"] },
761
713
  "ckb": { "nu": ["arab"] },
762
714
  "ckb-IR": { "nu": ["arab"] },
763
- "co": { "nu": ["latn"] },
764
715
  "cop": { "nu": ["latn"] },
765
716
  "cs": { "nu": ["latn"] },
766
717
  "csw": { "nu": ["latn"] },
767
- "cu": { "nu": ["latn"] },
768
718
  "cv": { "nu": ["latn"] },
769
719
  "cy": { "nu": ["latn"] },
770
720
  "da": {
@@ -787,7 +737,6 @@ const TIME_SEPARATORS = {
787
737
  "doi": { "nu": ["latn"] },
788
738
  "dsb": { "nu": ["latn"] },
789
739
  "dua": { "nu": ["latn"] },
790
- "dv": { "nu": ["latn"] },
791
740
  "dyo": { "nu": ["latn"] },
792
741
  "dz": { "nu": ["tibt"] },
793
742
  "ebu": { "nu": ["latn"] },
@@ -827,7 +776,6 @@ const TIME_SEPARATORS = {
827
776
  "separator": { "latn": "." }
828
777
  },
829
778
  "en-DM": { "nu": ["latn"] },
830
- "en-Dsrt": { "nu": ["latn"] },
831
779
  "en-EE": { "nu": ["latn"] },
832
780
  "en-ER": { "nu": ["latn"] },
833
781
  "en-ES": { "nu": ["latn"] },
@@ -910,7 +858,6 @@ const TIME_SEPARATORS = {
910
858
  "en-SS": { "nu": ["latn"] },
911
859
  "en-SX": { "nu": ["latn"] },
912
860
  "en-SZ": { "nu": ["latn"] },
913
- "en-Shaw": { "nu": ["latn"] },
914
861
  "en-TC": { "nu": ["latn"] },
915
862
  "en-TK": { "nu": ["latn"] },
916
863
  "en-TO": { "nu": ["latn"] },
@@ -1040,17 +987,13 @@ const TIME_SEPARATORS = {
1040
987
  "fr-VU": { "nu": ["latn"] },
1041
988
  "fr-WF": { "nu": ["latn"] },
1042
989
  "fr-YT": { "nu": ["latn"] },
1043
- "frr": { "nu": ["latn"] },
1044
990
  "fur": { "nu": ["latn"] },
1045
991
  "fy": { "nu": ["latn"] },
1046
992
  "ga": { "nu": ["latn"] },
1047
993
  "ga-GB": { "nu": ["latn"] },
1048
994
  "gaa": { "nu": ["latn"] },
1049
995
  "gd": { "nu": ["latn"] },
1050
- "gez": { "nu": ["latn"] },
1051
- "gez-ER": { "nu": ["latn"] },
1052
996
  "gl": { "nu": ["latn"] },
1053
- "gn": { "nu": ["latn"] },
1054
997
  "gsw": { "nu": ["latn"] },
1055
998
  "gsw-FR": { "nu": ["latn"] },
1056
999
  "gsw-LI": { "nu": ["latn"] },
@@ -1058,20 +1001,15 @@ const TIME_SEPARATORS = {
1058
1001
  "guz": { "nu": ["latn"] },
1059
1002
  "gv": { "nu": ["latn"] },
1060
1003
  "ha": { "nu": ["latn"] },
1061
- "ha-Arab": { "nu": ["latn"] },
1062
- "ha-Arab-SD": { "nu": ["latn"] },
1063
1004
  "ha-GH": { "nu": ["latn"] },
1064
1005
  "ha-NE": { "nu": ["latn"] },
1065
1006
  "haw": { "nu": ["latn"] },
1066
1007
  "he": { "nu": ["latn"] },
1067
1008
  "hi": { "nu": ["latn"] },
1068
1009
  "hi-Latn": { "nu": ["latn"] },
1069
- "hnj": { "nu": ["hmnp", "latn"] },
1070
- "hnj-Hmnp": { "nu": ["hmnp", "latn"] },
1071
1010
  "hr": { "nu": ["latn"] },
1072
1011
  "hr-BA": { "nu": ["latn"] },
1073
1012
  "hsb": { "nu": ["latn"] },
1074
- "ht": { "nu": ["latn"] },
1075
1013
  "hu": { "nu": ["latn"] },
1076
1014
  "hy": { "nu": ["latn"] },
1077
1015
  "ia": { "nu": ["latn"] },
@@ -1082,31 +1020,23 @@ const TIME_SEPARATORS = {
1082
1020
  "ie": { "nu": ["latn"] },
1083
1021
  "ig": { "nu": ["latn"] },
1084
1022
  "ii": { "nu": ["latn"] },
1085
- "io": { "nu": ["latn"] },
1086
1023
  "is": { "nu": ["latn"] },
1087
1024
  "it": { "nu": ["latn"] },
1088
1025
  "it-CH": { "nu": ["latn"] },
1089
1026
  "it-SM": { "nu": ["latn"] },
1090
1027
  "it-VA": { "nu": ["latn"] },
1091
- "iu": { "nu": ["latn"] },
1092
- "iu-Latn": { "nu": ["latn"] },
1093
1028
  "ja": { "nu": ["latn"] },
1094
- "jbo": { "nu": ["latn"] },
1095
1029
  "jgo": { "nu": ["latn"] },
1096
1030
  "jmc": { "nu": ["latn"] },
1097
1031
  "jv": { "nu": ["latn"] },
1098
1032
  "ka": { "nu": ["latn"] },
1099
- "kaa": { "nu": ["latn"] },
1100
- "kaa-Cyrl": { "nu": ["latn"] },
1101
- "kaa-Latn": { "nu": ["latn"] },
1102
1033
  "kab": { "nu": ["latn"] },
1103
- "kaj": { "nu": ["latn"] },
1104
1034
  "kam": { "nu": ["latn"] },
1105
- "kcg": { "nu": ["latn"] },
1035
+ "kbd": { "nu": ["latn"] },
1036
+ "kbd-TR": { "nu": ["latn"] },
1106
1037
  "kde": { "nu": ["latn"] },
1107
1038
  "kea": { "nu": ["latn"] },
1108
1039
  "kek": { "nu": ["latn"] },
1109
- "ken": { "nu": ["latn"] },
1110
1040
  "kgp": { "nu": ["latn"] },
1111
1041
  "khq": { "nu": ["latn"] },
1112
1042
  "ki": { "nu": ["latn"] },
@@ -1125,8 +1055,6 @@ const TIME_SEPARATORS = {
1125
1055
  "kok": { "nu": ["latn"] },
1126
1056
  "kok-Deva": { "nu": ["latn"] },
1127
1057
  "kok-Latn": { "nu": ["latn"] },
1128
- "kpe": { "nu": ["latn"] },
1129
- "kpe-GN": { "nu": ["latn"] },
1130
1058
  "ks": { "nu": ["arabext"] },
1131
1059
  "ks-Arab": { "nu": ["arabext"] },
1132
1060
  "ks-Deva": { "nu": ["latn"] },
@@ -1134,8 +1062,6 @@ const TIME_SEPARATORS = {
1134
1062
  "ksf": { "nu": ["latn"] },
1135
1063
  "ksh": { "nu": ["latn"] },
1136
1064
  "ku": { "nu": ["latn"] },
1137
- "ku-Arab": { "nu": ["latn"] },
1138
- "ku-Arab-IR": { "nu": ["latn"] },
1139
1065
  "ku-Latn": { "nu": ["latn"] },
1140
1066
  "ku-Latn-IQ": { "nu": ["latn"] },
1141
1067
  "ku-Latn-SY": { "nu": ["latn"] },
@@ -1147,7 +1073,6 @@ const TIME_SEPARATORS = {
1147
1073
  "kxv-Orya": { "nu": ["latn"] },
1148
1074
  "kxv-Telu": { "nu": ["latn"] },
1149
1075
  "ky": { "nu": ["latn"] },
1150
- "la": { "nu": ["latn"] },
1151
1076
  "lag": { "nu": ["latn"] },
1152
1077
  "lb": { "nu": ["latn"] },
1153
1078
  "lg": { "nu": ["latn"] },
@@ -1163,37 +1088,26 @@ const TIME_SEPARATORS = {
1163
1088
  "lrc": { "nu": ["arabext"] },
1164
1089
  "lrc-IQ": { "nu": ["arabext"] },
1165
1090
  "lt": { "nu": ["latn"] },
1166
- "ltg": { "nu": ["latn"] },
1167
1091
  "lu": { "nu": ["latn"] },
1168
1092
  "luo": { "nu": ["latn"] },
1169
1093
  "luy": { "nu": ["latn"] },
1170
1094
  "lv": { "nu": ["latn"] },
1171
- "lzz": { "nu": ["latn"] },
1172
1095
  "mai": { "nu": ["latn"] },
1173
1096
  "mas": { "nu": ["latn"] },
1174
1097
  "mas-TZ": { "nu": ["latn"] },
1175
- "mdf": { "nu": ["latn"] },
1176
1098
  "mer": { "nu": ["latn"] },
1177
1099
  "mfe": { "nu": ["latn"] },
1178
1100
  "mg": { "nu": ["latn"] },
1179
1101
  "mgh": { "nu": ["latn"] },
1180
1102
  "mgo": { "nu": ["latn"] },
1181
- "mhn": { "nu": ["latn"] },
1182
1103
  "mi": { "nu": ["latn"] },
1183
- "mic": { "nu": ["latn"] },
1184
1104
  "mk": { "nu": ["latn"] },
1185
1105
  "ml": { "nu": ["latn"] },
1186
1106
  "mn": { "nu": ["latn"] },
1187
- "mn-Mong": { "nu": ["latn"] },
1188
- "mn-Mong-MN": { "nu": ["latn"] },
1189
1107
  "mni": { "nu": ["beng"] },
1190
1108
  "mni-Beng": { "nu": ["beng"] },
1191
- "mni-Mtei": { "nu": ["mtei"] },
1192
- "moh": { "nu": ["latn"] },
1193
1109
  "mr": { "nu": ["deva"] },
1194
1110
  "ms": { "nu": ["latn"] },
1195
- "ms-Arab": { "nu": ["latn"] },
1196
- "ms-Arab-BN": { "nu": ["latn"] },
1197
1111
  "ms-BN": { "nu": ["latn"] },
1198
1112
  "ms-ID": {
1199
1113
  "nu": ["latn"],
@@ -1202,11 +1116,7 @@ const TIME_SEPARATORS = {
1202
1116
  "ms-SG": { "nu": ["latn"] },
1203
1117
  "mt": { "nu": ["latn"] },
1204
1118
  "mua": { "nu": ["latn"] },
1205
- "mus": { "nu": ["latn"] },
1206
- "mww": { "nu": ["hmnp", "latn"] },
1207
- "mww-Hmnp": { "nu": ["hmnp", "latn"] },
1208
1119
  "my": { "nu": ["mymr"] },
1209
- "myv": { "nu": ["latn"] },
1210
1120
  "mzn": { "nu": ["arabext"] },
1211
1121
  "naq": { "nu": ["latn"] },
1212
1122
  "nb": { "nu": ["latn"] },
@@ -1228,31 +1138,20 @@ const TIME_SEPARATORS = {
1228
1138
  "nnh": { "nu": ["latn"] },
1229
1139
  "no": { "nu": ["latn"] },
1230
1140
  "nqo": { "nu": ["nkoo"] },
1231
- "nr": { "nu": ["latn"] },
1232
1141
  "nso": { "nu": ["latn"] },
1233
1142
  "nus": { "nu": ["latn"] },
1234
- "nv": { "nu": ["latn"] },
1235
- "ny": { "nu": ["latn"] },
1236
1143
  "nyn": { "nu": ["latn"] },
1237
1144
  "oc": { "nu": ["latn"] },
1238
1145
  "oc-ES": { "nu": ["latn"] },
1239
- "oka": { "nu": ["latn"] },
1240
- "oka-US": { "nu": ["latn"] },
1241
1146
  "om": { "nu": ["latn"] },
1242
1147
  "om-KE": { "nu": ["latn"] },
1243
1148
  "or": { "nu": ["latn"] },
1244
1149
  "os": { "nu": ["latn"] },
1245
1150
  "os-RU": { "nu": ["latn"] },
1246
- "osa": { "nu": ["latn"] },
1247
1151
  "pa": { "nu": ["latn"] },
1248
1152
  "pa-Arab": { "nu": ["arabext"] },
1249
1153
  "pa-Guru": { "nu": ["latn"] },
1250
- "pap": { "nu": ["latn"] },
1251
- "pap-AW": { "nu": ["latn"] },
1252
1154
  "pcm": { "nu": ["latn"] },
1253
- "pi": { "nu": ["latn"] },
1254
- "pi-Latn": { "nu": ["latn"] },
1255
- "pis": { "nu": ["latn"] },
1256
1155
  "pl": { "nu": ["latn"] },
1257
1156
  "pms": { "nu": ["latn"] },
1258
1157
  "prg": { "nu": ["latn"] },
@@ -1275,10 +1174,6 @@ const TIME_SEPARATORS = {
1275
1174
  "qu-EC": { "nu": ["latn"] },
1276
1175
  "quc": { "nu": ["latn"] },
1277
1176
  "raj": { "nu": ["deva"] },
1278
- "rhg": { "nu": ["latn"] },
1279
- "rhg-Rohg": { "nu": ["latn"] },
1280
- "rhg-Rohg-BD": { "nu": ["latn"] },
1281
- "rif": { "nu": ["latn"] },
1282
1177
  "rm": { "nu": ["latn"] },
1283
1178
  "rn": { "nu": ["latn"] },
1284
1179
  "ro": { "nu": ["latn"] },
@@ -1296,7 +1191,6 @@ const TIME_SEPARATORS = {
1296
1191
  "sah": { "nu": ["latn"] },
1297
1192
  "saq": { "nu": ["latn"] },
1298
1193
  "sat": { "nu": ["olck"] },
1299
- "sat-Deva": { "nu": ["deva"] },
1300
1194
  "sat-Olck": { "nu": ["olck"] },
1301
1195
  "sbp": { "nu": ["latn"] },
1302
1196
  "sc": { "nu": ["latn"] },
@@ -1304,37 +1198,24 @@ const TIME_SEPARATORS = {
1304
1198
  "sd": { "nu": ["arab"] },
1305
1199
  "sd-Arab": { "nu": ["arab"] },
1306
1200
  "sd-Deva": { "nu": ["latn"] },
1307
- "sdh": { "nu": ["arab"] },
1308
- "sdh-IQ": { "nu": ["arab"] },
1309
1201
  "se": { "nu": ["latn"] },
1310
1202
  "se-FI": { "nu": ["latn"] },
1311
1203
  "se-SE": { "nu": ["latn"] },
1312
1204
  "seh": { "nu": ["latn"] },
1313
1205
  "ses": { "nu": ["latn"] },
1314
1206
  "sg": { "nu": ["latn"] },
1315
- "sgs": { "nu": ["latn"] },
1316
1207
  "shi": { "nu": ["latn"] },
1317
1208
  "shi-Latn": { "nu": ["latn"] },
1318
1209
  "shi-Tfng": { "nu": ["latn"] },
1319
1210
  "shn": { "nu": ["latn"] },
1320
1211
  "shn-TH": { "nu": ["latn"] },
1321
- "si": {
1322
- "nu": ["latn"],
1323
- "separator": { "latn": "." }
1324
- },
1325
- "sid": { "nu": ["latn"] },
1212
+ "si": { "nu": ["latn"] },
1326
1213
  "sk": { "nu": ["latn"] },
1327
- "skr": { "nu": ["latn"] },
1328
1214
  "sl": { "nu": ["latn"] },
1329
- "sma": { "nu": ["latn"] },
1330
- "sma-NO": { "nu": ["latn"] },
1331
- "smj": { "nu": ["latn"] },
1332
- "smj-NO": { "nu": ["latn"] },
1333
1215
  "smn": {
1334
1216
  "nu": ["latn"],
1335
1217
  "separator": { "latn": "." }
1336
1218
  },
1337
- "sms": { "nu": ["latn"] },
1338
1219
  "sn": { "nu": ["latn"] },
1339
1220
  "so": { "nu": ["latn"] },
1340
1221
  "so-DJ": { "nu": ["latn"] },
@@ -1352,9 +1233,6 @@ const TIME_SEPARATORS = {
1352
1233
  "sr-Latn-BA": { "nu": ["latn"] },
1353
1234
  "sr-Latn-ME": { "nu": ["latn"] },
1354
1235
  "sr-Latn-XK": { "nu": ["latn"] },
1355
- "ss": { "nu": ["latn"] },
1356
- "ss-SZ": { "nu": ["latn"] },
1357
- "ssy": { "nu": ["latn"] },
1358
1236
  "st": { "nu": ["latn"] },
1359
1237
  "st-LS": { "nu": ["latn"] },
1360
1238
  "su": {
@@ -1365,8 +1243,6 @@ const TIME_SEPARATORS = {
1365
1243
  "nu": ["latn"],
1366
1244
  "separator": { "latn": "." }
1367
1245
  },
1368
- "suz": { "nu": ["latn"] },
1369
- "suz-Deva": { "nu": ["latn"] },
1370
1246
  "suz-Sunu": { "nu": ["latn"] },
1371
1247
  "sv": { "nu": ["latn"] },
1372
1248
  "sv-AX": { "nu": ["latn"] },
@@ -1392,18 +1268,13 @@ const TIME_SEPARATORS = {
1392
1268
  "th": { "nu": ["latn"] },
1393
1269
  "ti": { "nu": ["latn"] },
1394
1270
  "ti-ER": { "nu": ["latn"] },
1395
- "tig": { "nu": ["latn"] },
1396
1271
  "tk": { "nu": ["latn"] },
1397
1272
  "tn": { "nu": ["latn"] },
1398
1273
  "tn-BW": { "nu": ["latn"] },
1399
1274
  "to": { "nu": ["latn"] },
1400
1275
  "tok": { "nu": ["latn"] },
1401
- "tpi": { "nu": ["latn"] },
1402
1276
  "tr": { "nu": ["latn"] },
1403
1277
  "tr-CY": { "nu": ["latn"] },
1404
- "trv": { "nu": ["latn"] },
1405
- "trw": { "nu": ["latn"] },
1406
- "ts": { "nu": ["latn"] },
1407
1278
  "tt": { "nu": ["latn"] },
1408
1279
  "twq": { "nu": ["latn"] },
1409
1280
  "tyv": { "nu": ["latn"] },
@@ -1429,16 +1300,11 @@ const TIME_SEPARATORS = {
1429
1300
  "vai": { "nu": ["latn"] },
1430
1301
  "vai-Latn": { "nu": ["latn"] },
1431
1302
  "vai-Vaii": { "nu": ["latn"] },
1432
- "ve": { "nu": ["latn"] },
1433
1303
  "vec": { "nu": ["latn"] },
1434
1304
  "vi": { "nu": ["latn"] },
1435
1305
  "vmw": { "nu": ["latn"] },
1436
- "vo": { "nu": ["latn"] },
1437
1306
  "vun": { "nu": ["latn"] },
1438
- "wa": { "nu": ["latn"] },
1439
1307
  "wae": { "nu": ["latn"] },
1440
- "wal": { "nu": ["latn"] },
1441
- "wbp": { "nu": ["latn"] },
1442
1308
  "wo": { "nu": ["latn"] },
1443
1309
  "xh": { "nu": ["latn"] },
1444
1310
  "xnr": { "nu": ["latn"] },
@@ -1467,12 +1333,10 @@ const TIME_SEPARATORS = {
1467
1333
  "zh-Hant-HK": { "nu": ["latn"] },
1468
1334
  "zh-Hant-MO": { "nu": ["latn"] },
1469
1335
  "zh-Hant-MY": { "nu": ["latn"] },
1470
- "zh-Latn": { "nu": ["latn"] },
1471
1336
  "zu": { "nu": ["latn"] }
1472
1337
  }
1473
1338
  };
1474
- //#endregion
1475
- //#region packages/intl-durationformat/core.ts
1339
+ // packages/intl-durationformat/core.ts
1476
1340
  const numberingSystemsByConstructor = /* @__PURE__ */ new WeakMap();
1477
1341
  function supportedNumberingSystems() {
1478
1342
  const NumberFormat = Intl.NumberFormat;
@@ -1762,7 +1626,6 @@ Object.defineProperty(DurationFormat.prototype, Symbol.toStringTag, {
1762
1626
  value: "Intl.DurationFormat",
1763
1627
  configurable: true
1764
1628
  });
1765
- //#endregion
1766
1629
  export { DurationFormat };
1767
1630
 
1768
1631
  //# sourceMappingURL=index.js.map