@formatjs/intl-relativetimeformat 12.3.16 → 13.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (283) hide show
  1. package/index.d.ts +0 -8
  2. package/index.js +22 -127
  3. package/index.js.map +1 -1
  4. package/locale-data/{aa-DJ.js → ady-JO.js} +2 -2
  5. package/locale-data/{ab.js → ady-TR.js} +2 -2
  6. package/locale-data/{aa.js → ady.js} +2 -2
  7. package/locale-data/az-Latn.js +204 -204
  8. package/locale-data/az.js +204 -204
  9. package/locale-data/blo.js +300 -108
  10. package/locale-data/bn-IN.js +14 -14
  11. package/locale-data/bn.js +10 -10
  12. package/locale-data/br.js +4 -4
  13. package/locale-data/chr.js +112 -112
  14. package/locale-data/ckb-IR.js +12 -12
  15. package/locale-data/ckb.js +12 -12
  16. package/locale-data/cop.js +204 -204
  17. package/locale-data/cv.js +22 -22
  18. package/locale-data/he.js +68 -68
  19. package/locale-data/ig.js +92 -92
  20. package/locale-data/jv.js +38 -38
  21. package/locale-data/{aa-ER.js → kbd-TR.js} +2 -2
  22. package/locale-data/{an.js → kbd.js} +2 -2
  23. package/locale-data/kek.js +204 -204
  24. package/locale-data/ki.js +54 -54
  25. package/locale-data/kk-Arab.js +12 -12
  26. package/locale-data/kk-Cyrl.js +12 -12
  27. package/locale-data/kk-KZ.js +12 -12
  28. package/locale-data/kk.js +12 -12
  29. package/locale-data/kok-Deva.js +6 -6
  30. package/locale-data/kok.js +6 -6
  31. package/locale-data/ml.js +12 -12
  32. package/locale-data/nl-AW.js +8 -8
  33. package/locale-data/nl-BE.js +8 -8
  34. package/locale-data/nl-BQ.js +8 -8
  35. package/locale-data/nl-CW.js +8 -8
  36. package/locale-data/nl-SR.js +8 -8
  37. package/locale-data/nl-SX.js +8 -8
  38. package/locale-data/nl.js +8 -8
  39. package/locale-data/ps-PK.js +22 -22
  40. package/locale-data/ps.js +22 -22
  41. package/locale-data/sl.js +24 -24
  42. package/locale-data/sw-CD.js +8 -8
  43. package/locale-data/sw-KE.js +8 -8
  44. package/locale-data/sw-UG.js +8 -8
  45. package/locale-data/sw.js +8 -8
  46. package/locale-data/ur-IN.js +6 -6
  47. package/locale-data/ur.js +6 -6
  48. package/locale-data/vi.js +18 -18
  49. package/locale-data/yo-BJ.js +18 -18
  50. package/locale-data/yo.js +18 -18
  51. package/locale-data/zu.js +76 -76
  52. package/package.json +2 -2
  53. package/polyfill-force.js +22 -127
  54. package/polyfill-force.js.map +1 -1
  55. package/polyfill.iife.js +2105 -3687
  56. package/polyfill.js +30 -247
  57. package/polyfill.js.map +1 -1
  58. package/should-polyfill.d.ts +0 -2
  59. package/should-polyfill.js +7 -118
  60. package/should-polyfill.js.map +1 -1
  61. package/locale-data/ann.d.ts +0 -1
  62. package/locale-data/ann.js +0 -667
  63. package/locale-data/apc.d.ts +0 -1
  64. package/locale-data/apc.js +0 -667
  65. package/locale-data/arn.d.ts +0 -1
  66. package/locale-data/arn.js +0 -667
  67. package/locale-data/az-Arab-IQ.d.ts +0 -1
  68. package/locale-data/az-Arab-IQ.js +0 -667
  69. package/locale-data/az-Arab-TR.d.ts +0 -1
  70. package/locale-data/az-Arab-TR.js +0 -667
  71. package/locale-data/az-Arab.d.ts +0 -1
  72. package/locale-data/az-Arab.js +0 -667
  73. package/locale-data/bal-Arab.d.ts +0 -1
  74. package/locale-data/bal-Arab.js +0 -667
  75. package/locale-data/bal.d.ts +0 -1
  76. package/locale-data/bal.js +0 -667
  77. package/locale-data/bew.d.ts +0 -1
  78. package/locale-data/bew.js +0 -667
  79. package/locale-data/bgn-AE.d.ts +0 -1
  80. package/locale-data/bgn-AE.js +0 -667
  81. package/locale-data/bgn-AF.d.ts +0 -1
  82. package/locale-data/bgn-AF.js +0 -667
  83. package/locale-data/bgn-IR.d.ts +0 -1
  84. package/locale-data/bgn-IR.js +0 -667
  85. package/locale-data/bgn-OM.d.ts +0 -1
  86. package/locale-data/bgn-OM.js +0 -667
  87. package/locale-data/bgn.d.ts +0 -1
  88. package/locale-data/bgn.js +0 -667
  89. package/locale-data/blt.d.ts +0 -1
  90. package/locale-data/blt.js +0 -667
  91. package/locale-data/bm-Nkoo.d.ts +0 -1
  92. package/locale-data/bm-Nkoo.js +0 -667
  93. package/locale-data/bqi.d.ts +0 -1
  94. package/locale-data/bqi.js +0 -667
  95. package/locale-data/bss.d.ts +0 -1
  96. package/locale-data/bss.js +0 -673
  97. package/locale-data/byn.d.ts +0 -1
  98. package/locale-data/byn.js +0 -667
  99. package/locale-data/cad.d.ts +0 -1
  100. package/locale-data/cad.js +0 -667
  101. package/locale-data/cch.d.ts +0 -1
  102. package/locale-data/cch.js +0 -667
  103. package/locale-data/cho.d.ts +0 -1
  104. package/locale-data/cho.js +0 -667
  105. package/locale-data/cic.d.ts +0 -1
  106. package/locale-data/cic.js +0 -667
  107. package/locale-data/co.d.ts +0 -1
  108. package/locale-data/co.js +0 -667
  109. package/locale-data/cu.d.ts +0 -1
  110. package/locale-data/cu.js +0 -667
  111. package/locale-data/dv.d.ts +0 -1
  112. package/locale-data/dv.js +0 -667
  113. package/locale-data/en-Dsrt.d.ts +0 -1
  114. package/locale-data/en-Dsrt.js +0 -679
  115. package/locale-data/en-Shaw.d.ts +0 -1
  116. package/locale-data/en-Shaw.js +0 -667
  117. package/locale-data/frr.d.ts +0 -1
  118. package/locale-data/frr.js +0 -667
  119. package/locale-data/gez-ER.d.ts +0 -1
  120. package/locale-data/gez-ER.js +0 -667
  121. package/locale-data/gez.d.ts +0 -1
  122. package/locale-data/gez.js +0 -667
  123. package/locale-data/gn.d.ts +0 -1
  124. package/locale-data/gn.js +0 -667
  125. package/locale-data/ha-Arab-SD.d.ts +0 -1
  126. package/locale-data/ha-Arab-SD.js +0 -667
  127. package/locale-data/ha-Arab.d.ts +0 -1
  128. package/locale-data/ha-Arab.js +0 -667
  129. package/locale-data/hnj-Hmnp.d.ts +0 -1
  130. package/locale-data/hnj-Hmnp.js +0 -667
  131. package/locale-data/hnj.d.ts +0 -1
  132. package/locale-data/hnj.js +0 -667
  133. package/locale-data/ht.d.ts +0 -1
  134. package/locale-data/ht.js +0 -775
  135. package/locale-data/io.d.ts +0 -1
  136. package/locale-data/io.js +0 -667
  137. package/locale-data/iu-Latn.d.ts +0 -1
  138. package/locale-data/iu-Latn.js +0 -667
  139. package/locale-data/iu.d.ts +0 -1
  140. package/locale-data/iu.js +0 -667
  141. package/locale-data/jbo.d.ts +0 -1
  142. package/locale-data/jbo.js +0 -667
  143. package/locale-data/kaa-Cyrl.d.ts +0 -1
  144. package/locale-data/kaa-Cyrl.js +0 -667
  145. package/locale-data/kaa-Latn.d.ts +0 -1
  146. package/locale-data/kaa-Latn.js +0 -667
  147. package/locale-data/kaa.d.ts +0 -1
  148. package/locale-data/kaa.js +0 -667
  149. package/locale-data/kaj.d.ts +0 -1
  150. package/locale-data/kaj.js +0 -667
  151. package/locale-data/kcg.d.ts +0 -1
  152. package/locale-data/kcg.js +0 -667
  153. package/locale-data/ken.d.ts +0 -1
  154. package/locale-data/ken.js +0 -667
  155. package/locale-data/kpe-GN.d.ts +0 -1
  156. package/locale-data/kpe-GN.js +0 -667
  157. package/locale-data/kpe.d.ts +0 -1
  158. package/locale-data/kpe.js +0 -667
  159. package/locale-data/ku-Arab-IR.d.ts +0 -1
  160. package/locale-data/ku-Arab-IR.js +0 -667
  161. package/locale-data/ku-Arab.d.ts +0 -1
  162. package/locale-data/ku-Arab.js +0 -667
  163. package/locale-data/la.d.ts +0 -1
  164. package/locale-data/la.js +0 -667
  165. package/locale-data/ltg.d.ts +0 -1
  166. package/locale-data/ltg.js +0 -667
  167. package/locale-data/lzz.d.ts +0 -1
  168. package/locale-data/lzz.js +0 -667
  169. package/locale-data/mdf.d.ts +0 -1
  170. package/locale-data/mdf.js +0 -667
  171. package/locale-data/mhn.d.ts +0 -1
  172. package/locale-data/mhn.js +0 -667
  173. package/locale-data/mic.d.ts +0 -1
  174. package/locale-data/mic.js +0 -667
  175. package/locale-data/mn-Mong-MN.d.ts +0 -1
  176. package/locale-data/mn-Mong-MN.js +0 -667
  177. package/locale-data/mn-Mong.d.ts +0 -1
  178. package/locale-data/mn-Mong.js +0 -667
  179. package/locale-data/mni-Mtei.d.ts +0 -1
  180. package/locale-data/mni-Mtei.js +0 -667
  181. package/locale-data/moh.d.ts +0 -1
  182. package/locale-data/moh.js +0 -667
  183. package/locale-data/ms-Arab-BN.d.ts +0 -1
  184. package/locale-data/ms-Arab-BN.js +0 -667
  185. package/locale-data/ms-Arab.d.ts +0 -1
  186. package/locale-data/ms-Arab.js +0 -667
  187. package/locale-data/mus.d.ts +0 -1
  188. package/locale-data/mus.js +0 -667
  189. package/locale-data/mww-Hmnp.d.ts +0 -1
  190. package/locale-data/mww-Hmnp.js +0 -667
  191. package/locale-data/mww.d.ts +0 -1
  192. package/locale-data/mww.js +0 -667
  193. package/locale-data/myv.d.ts +0 -1
  194. package/locale-data/myv.js +0 -667
  195. package/locale-data/nr.d.ts +0 -1
  196. package/locale-data/nr.js +0 -667
  197. package/locale-data/nv.d.ts +0 -1
  198. package/locale-data/nv.js +0 -667
  199. package/locale-data/ny.d.ts +0 -1
  200. package/locale-data/ny.js +0 -667
  201. package/locale-data/oka-US.d.ts +0 -1
  202. package/locale-data/oka-US.js +0 -667
  203. package/locale-data/oka.d.ts +0 -1
  204. package/locale-data/oka.js +0 -667
  205. package/locale-data/osa.d.ts +0 -1
  206. package/locale-data/osa.js +0 -667
  207. package/locale-data/pap-AW.d.ts +0 -1
  208. package/locale-data/pap-AW.js +0 -667
  209. package/locale-data/pap.d.ts +0 -1
  210. package/locale-data/pap.js +0 -667
  211. package/locale-data/pi-Latn.d.ts +0 -1
  212. package/locale-data/pi-Latn.js +0 -667
  213. package/locale-data/pi.d.ts +0 -1
  214. package/locale-data/pi.js +0 -667
  215. package/locale-data/pis.d.ts +0 -1
  216. package/locale-data/pis.js +0 -667
  217. package/locale-data/rhg-Rohg-BD.d.ts +0 -1
  218. package/locale-data/rhg-Rohg-BD.js +0 -667
  219. package/locale-data/rhg-Rohg.d.ts +0 -1
  220. package/locale-data/rhg-Rohg.js +0 -667
  221. package/locale-data/rhg.d.ts +0 -1
  222. package/locale-data/rhg.js +0 -667
  223. package/locale-data/rif.d.ts +0 -1
  224. package/locale-data/rif.js +0 -667
  225. package/locale-data/sat-Deva.d.ts +0 -1
  226. package/locale-data/sat-Deva.js +0 -667
  227. package/locale-data/sdh-IQ.d.ts +0 -1
  228. package/locale-data/sdh-IQ.js +0 -667
  229. package/locale-data/sdh.d.ts +0 -1
  230. package/locale-data/sdh.js +0 -667
  231. package/locale-data/sgs.d.ts +0 -1
  232. package/locale-data/sgs.js +0 -667
  233. package/locale-data/sid.d.ts +0 -1
  234. package/locale-data/sid.js +0 -667
  235. package/locale-data/skr.d.ts +0 -1
  236. package/locale-data/skr.js +0 -667
  237. package/locale-data/sma-NO.d.ts +0 -1
  238. package/locale-data/sma-NO.js +0 -667
  239. package/locale-data/sma.d.ts +0 -1
  240. package/locale-data/sma.js +0 -667
  241. package/locale-data/smj-NO.d.ts +0 -1
  242. package/locale-data/smj-NO.js +0 -667
  243. package/locale-data/smj.d.ts +0 -1
  244. package/locale-data/smj.js +0 -667
  245. package/locale-data/sms.d.ts +0 -1
  246. package/locale-data/sms.js +0 -667
  247. package/locale-data/ss-SZ.d.ts +0 -1
  248. package/locale-data/ss-SZ.js +0 -667
  249. package/locale-data/ss.d.ts +0 -1
  250. package/locale-data/ss.js +0 -667
  251. package/locale-data/ssy.d.ts +0 -1
  252. package/locale-data/ssy.js +0 -667
  253. package/locale-data/suz-Deva.d.ts +0 -1
  254. package/locale-data/suz-Deva.js +0 -667
  255. package/locale-data/suz.d.ts +0 -1
  256. package/locale-data/suz.js +0 -667
  257. package/locale-data/tig.d.ts +0 -1
  258. package/locale-data/tig.js +0 -667
  259. package/locale-data/tpi.d.ts +0 -1
  260. package/locale-data/tpi.js +0 -667
  261. package/locale-data/trv.d.ts +0 -1
  262. package/locale-data/trv.js +0 -667
  263. package/locale-data/trw.d.ts +0 -1
  264. package/locale-data/trw.js +0 -667
  265. package/locale-data/ts.d.ts +0 -1
  266. package/locale-data/ts.js +0 -667
  267. package/locale-data/ve.d.ts +0 -1
  268. package/locale-data/ve.js +0 -667
  269. package/locale-data/vo.d.ts +0 -1
  270. package/locale-data/vo.js +0 -667
  271. package/locale-data/wa.d.ts +0 -1
  272. package/locale-data/wa.js +0 -667
  273. package/locale-data/wal.d.ts +0 -1
  274. package/locale-data/wal.js +0 -667
  275. package/locale-data/wbp.d.ts +0 -1
  276. package/locale-data/wbp.js +0 -667
  277. package/locale-data/zh-Latn.d.ts +0 -1
  278. package/locale-data/zh-Latn.js +0 -667
  279. /package/locale-data/{aa-DJ.d.ts → ady-JO.d.ts} +0 -0
  280. /package/locale-data/{aa-ER.d.ts → ady-TR.d.ts} +0 -0
  281. /package/locale-data/{aa.d.ts → ady.d.ts} +0 -0
  282. /package/locale-data/{ab.d.ts → kbd-TR.d.ts} +0 -0
  283. /package/locale-data/{an.d.ts → kbd.d.ts} +0 -0
package/index.d.ts CHANGED
@@ -1,14 +1,9 @@
1
- //#region packages/ecma402-abstract/types/core.d.ts
2
1
  type Locale = string;
3
2
  interface LocaleData<T> {
4
3
  data: T;
5
4
  locale: Locale;
6
5
  }
7
- //#endregion
8
- //#region packages/ecma402-abstract/types/plural-rules.d.ts
9
6
  type LDMLPluralRule = "zero" | "one" | "two" | "few" | "many" | "other";
10
- //#endregion
11
- //#region packages/ecma402-abstract/types/relative-time.d.ts
12
7
  interface FieldData {
13
8
  "0"?: string;
14
9
  "1"?: string;
@@ -26,8 +21,6 @@ type LocaleFieldsData = { [f in RelativeTimeField]?: FieldData; } & {
26
21
  };
27
22
  type RelativeTimeField = "second" | "second-short" | "second-narrow" | "minute" | "minute-short" | "minute-narrow" | "hour" | "hour-short" | "hour-narrow" | "day" | "day-short" | "day-narrow" | "week" | "week-short" | "week-narrow" | "month" | "month-short" | "month-narrow" | "quarter" | "quarter-short" | "quarter-narrow" | "year" | "year-short" | "year-narrow";
28
23
  type RelativeTimeLocaleData = LocaleData<LocaleFieldsData>;
29
- //#endregion
30
- //#region packages/intl-relativetimeformat/index.d.ts
31
24
  export default class RelativeTimeFormat {
32
25
  constructor(locales?: string | string[], options?: Intl.RelativeTimeFormatOptions);
33
26
  format(value: number, unit: Intl.RelativeTimeFormatUnit): string;
@@ -42,6 +35,5 @@ export default class RelativeTimeFormat {
42
35
  private static relevantExtensionKeys;
43
36
  static polyfilled: boolean;
44
37
  }
45
- //#endregion
46
38
  export {};
47
39
  //# sourceMappingURL=index.d.ts.map
package/index.js CHANGED
@@ -1,65 +1,45 @@
1
1
  import { LookupSupportedLocales, ResolveLocale } from "@formatjs/intl-localematcher";
2
- //#region node_modules/.aspect_rules_js/@formatjs_generated+cldr.supported-locales@0.0.0/node_modules/@formatjs_generated/cldr.supported-locales/default-content.js
2
+ // node_modules/.aspect_rules_js/@formatjs_generated+cldr.supported-locales@0.0.0/node_modules/@formatjs_generated/cldr.supported-locales/default-content.js
3
3
  const defaultContent = {
4
- "aa": ["aa-ET"],
5
- "ab": ["ab-GE"],
4
+ "ady": ["ady-RU"],
6
5
  "af": ["af-ZA"],
7
6
  "agq": ["agq-CM"],
8
7
  "ak": ["ak-GH"],
9
8
  "am": ["am-ET"],
10
- "an": ["an-ES"],
11
- "ann": ["ann-NG"],
12
- "apc": ["apc-SY"],
13
9
  "ar": ["ar-001"],
14
- "arn": ["arn-CL"],
15
10
  "as": ["as-IN"],
16
11
  "asa": ["asa-TZ"],
17
12
  "ast": ["ast-ES"],
18
- "az-Arab": ["az-Arab-IR"],
19
13
  "az-Cyrl": ["az-Cyrl-AZ"],
20
14
  "az-Latn": ["az-Latn-AZ"],
21
15
  "ba": ["ba-RU"],
22
- "bal-Arab": ["bal-Arab-PK"],
23
16
  "bal-Latn": ["bal-Latn-PK"],
24
17
  "bas": ["bas-CM"],
25
18
  "be": ["be-BY"],
26
19
  "bem": ["bem-ZM"],
27
- "bew": ["bew-ID"],
28
20
  "bez": ["bez-TZ"],
29
21
  "bg": ["bg-BG"],
30
22
  "bgc": ["bgc-IN"],
31
- "bgn": ["bgn-PK"],
32
23
  "bho": ["bho-IN"],
33
24
  "blo": ["blo-BJ"],
34
- "blt": ["blt-VN"],
35
25
  "bm": ["bm-ML"],
36
- "bm-Nkoo": ["bm-Nkoo-ML"],
37
26
  "bn": ["bn-BD"],
38
27
  "bo": ["bo-CN"],
39
- "bqi": ["bqi-IR"],
40
28
  "br": ["br-FR"],
41
29
  "brx": ["brx-IN"],
42
30
  "bs-Cyrl": ["bs-Cyrl-BA"],
43
31
  "bs-Latn": ["bs-Latn-BA"],
44
- "bss": ["bss-CM"],
45
32
  "bua": ["bua-RU"],
46
- "byn": ["byn-ER"],
47
33
  "ca": ["ca-ES"],
48
- "cad": ["cad-US"],
49
- "cch": ["cch-NG"],
50
34
  "ccp": ["ccp-BD"],
51
35
  "ce": ["ce-RU"],
52
36
  "ceb": ["ceb-PH"],
53
37
  "cgg": ["cgg-UG"],
54
- "cho": ["cho-US"],
55
38
  "chr": ["chr-US"],
56
- "cic": ["cic-US"],
57
39
  "ckb": ["ckb-IQ"],
58
- "co": ["co-FR"],
59
40
  "cop": ["cop-EG"],
60
41
  "cs": ["cs-CZ"],
61
42
  "csw": ["csw-CA"],
62
- "cu": ["cu-RU"],
63
43
  "cv": ["cv-RU"],
64
44
  "cy": ["cy-GB"],
65
45
  "da": ["da-DK"],
@@ -69,14 +49,11 @@ const defaultContent = {
69
49
  "doi": ["doi-IN"],
70
50
  "dsb": ["dsb-DE"],
71
51
  "dua": ["dua-CM"],
72
- "dv": ["dv-MV"],
73
52
  "dyo": ["dyo-SN"],
74
53
  "dz": ["dz-BT"],
75
54
  "ebu": ["ebu-KE"],
76
55
  "ee": ["ee-GH"],
77
56
  "el": ["el-GR"],
78
- "en-Dsrt": ["en-Dsrt-US"],
79
- "en-Shaw": ["en-Shaw-GB"],
80
57
  "en": ["en-US"],
81
58
  "eo": ["eo-001"],
82
59
  "es": ["es-ES"],
@@ -90,29 +67,23 @@ const defaultContent = {
90
67
  "fil": ["fil-PH"],
91
68
  "fo": ["fo-FO"],
92
69
  "fr": ["fr-FR"],
93
- "frr": ["frr-DE"],
94
70
  "fur": ["fur-IT"],
95
71
  "fy": ["fy-NL"],
96
72
  "ga": ["ga-IE"],
97
73
  "gaa": ["gaa-GH"],
98
74
  "gd": ["gd-GB"],
99
- "gez": ["gez-ET"],
100
75
  "gl": ["gl-ES"],
101
- "gn": ["gn-PY"],
102
76
  "gsw": ["gsw-CH"],
103
77
  "gu": ["gu-IN"],
104
78
  "guz": ["guz-KE"],
105
79
  "gv": ["gv-IM"],
106
- "ha-Arab": ["ha-Arab-NG"],
107
80
  "ha": ["ha-NG"],
108
81
  "haw": ["haw-US"],
109
82
  "he": ["he-IL"],
110
83
  "hi": ["hi-IN"],
111
84
  "hi-Latn": ["hi-Latn-IN"],
112
- "hnj-Hmnp": ["hnj-Hmnp-US"],
113
85
  "hr": ["hr-HR"],
114
86
  "hsb": ["hsb-DE"],
115
- "ht": ["ht-HT"],
116
87
  "hu": ["hu-HU"],
117
88
  "hy": ["hy-AM"],
118
89
  "ia": ["ia-001"],
@@ -120,27 +91,19 @@ const defaultContent = {
120
91
  "ie": ["ie-EE"],
121
92
  "ig": ["ig-NG"],
122
93
  "ii": ["ii-CN"],
123
- "io": ["io-001"],
124
94
  "is": ["is-IS"],
125
95
  "it": ["it-IT"],
126
- "iu": ["iu-CA"],
127
- "iu-Latn": ["iu-Latn-CA"],
128
96
  "ja": ["ja-JP"],
129
- "jbo": ["jbo-001"],
130
97
  "jgo": ["jgo-CM"],
131
98
  "jmc": ["jmc-TZ"],
132
99
  "jv": ["jv-ID"],
133
100
  "ka": ["ka-GE"],
134
- "kaa-Cyrl": ["kaa-Cyrl-UZ"],
135
- "kaa-Latn": ["kaa-Latn-UZ"],
136
101
  "kab": ["kab-DZ"],
137
- "kaj": ["kaj-NG"],
138
102
  "kam": ["kam-KE"],
139
- "kcg": ["kcg-NG"],
103
+ "kbd": ["kbd-RU"],
140
104
  "kde": ["kde-TZ"],
141
105
  "kea": ["kea-CV"],
142
106
  "kek": ["kek-GT"],
143
- "ken": ["ken-CM"],
144
107
  "kgp": ["kgp-BR"],
145
108
  "khq": ["khq-ML"],
146
109
  "ki": ["ki-KE"],
@@ -154,13 +117,11 @@ const defaultContent = {
154
117
  "ko": ["ko-KR"],
155
118
  "kok-Deva": ["kok-Deva-IN"],
156
119
  "kok-Latn": ["kok-Latn-IN"],
157
- "kpe": ["kpe-LR"],
158
120
  "ks-Arab": ["ks-Arab-IN"],
159
121
  "ks-Deva": ["ks-Deva-IN"],
160
122
  "ksb": ["ksb-TZ"],
161
123
  "ksf": ["ksf-CM"],
162
124
  "ksh": ["ksh-DE"],
163
- "ku-Arab": ["ku-Arab-IQ"],
164
125
  "ku-Latn": ["ku-Latn-TR"],
165
126
  "kw": ["kw-GB"],
166
127
  "kxv-Deva": ["kxv-Deva-IN"],
@@ -168,7 +129,6 @@ const defaultContent = {
168
129
  "kxv-Orya": ["kxv-Orya-IN"],
169
130
  "kxv-Telu": ["kxv-Telu-IN"],
170
131
  "ky": ["ky-KG"],
171
- "la": ["la-VA"],
172
132
  "lag": ["lag-TZ"],
173
133
  "lb": ["lb-LU"],
174
134
  "lg": ["lg-UG"],
@@ -180,39 +140,27 @@ const defaultContent = {
180
140
  "lo": ["lo-LA"],
181
141
  "lrc": ["lrc-IR"],
182
142
  "lt": ["lt-LT"],
183
- "ltg": ["ltg-LV"],
184
143
  "lu": ["lu-CD"],
185
144
  "luo": ["luo-KE"],
186
145
  "luy": ["luy-KE"],
187
146
  "lv": ["lv-LV"],
188
- "lzz": ["lzz-TR"],
189
147
  "mai": ["mai-IN"],
190
148
  "mas": ["mas-KE"],
191
- "mdf": ["mdf-RU"],
192
149
  "mer": ["mer-KE"],
193
150
  "mfe": ["mfe-MU"],
194
151
  "mg": ["mg-MG"],
195
152
  "mgh": ["mgh-MZ"],
196
153
  "mgo": ["mgo-CM"],
197
- "mhn": ["mhn-IT"],
198
154
  "mi": ["mi-NZ"],
199
- "mic": ["mic-CA"],
200
155
  "mk": ["mk-MK"],
201
156
  "ml": ["ml-IN"],
202
157
  "mn": ["mn-MN"],
203
- "mn-Mong": ["mn-Mong-CN"],
204
158
  "mni-Beng": ["mni-Beng-IN"],
205
- "mni-Mtei": ["mni-Mtei-IN"],
206
- "moh": ["moh-CA"],
207
159
  "mr": ["mr-IN"],
208
- "ms-Arab": ["ms-Arab-MY"],
209
160
  "ms": ["ms-MY"],
210
161
  "mt": ["mt-MT"],
211
162
  "mua": ["mua-CM"],
212
- "mus": ["mus-US"],
213
- "mww-Hmnp": ["mww-Hmnp-US"],
214
163
  "my": ["my-MM"],
215
- "myv": ["myv-RU"],
216
164
  "mzn": ["mzn-IR"],
217
165
  "naq": ["naq-NA"],
218
166
  "nb": ["nb-NO"],
@@ -224,24 +172,16 @@ const defaultContent = {
224
172
  "nn": ["nn-NO"],
225
173
  "nnh": ["nnh-CM"],
226
174
  "nqo": ["nqo-GN"],
227
- "nr": ["nr-ZA"],
228
175
  "nso": ["nso-ZA"],
229
176
  "nus": ["nus-SS"],
230
- "nv": ["nv-US"],
231
- "ny": ["ny-MW"],
232
177
  "nyn": ["nyn-UG"],
233
178
  "oc": ["oc-FR"],
234
- "oka": ["oka-CA"],
235
179
  "om": ["om-ET"],
236
180
  "or": ["or-IN"],
237
181
  "os": ["os-GE"],
238
- "osa": ["osa-US"],
239
182
  "pa-Arab": ["pa-Arab-PK"],
240
183
  "pa-Guru": ["pa-Guru-IN"],
241
- "pap": ["pap-CW"],
242
184
  "pcm": ["pcm-NG"],
243
- "pi-Latn": ["pi-Latn-GB"],
244
- "pis": ["pis-SB"],
245
185
  "pl": ["pl-PL"],
246
186
  "pms": ["pms-IT"],
247
187
  "prg": ["prg-PL"],
@@ -250,8 +190,6 @@ const defaultContent = {
250
190
  "qu": ["qu-PE"],
251
191
  "quc": ["quc-GT"],
252
192
  "raj": ["raj-IN"],
253
- "rhg-Rohg": ["rhg-Rohg-MM"],
254
- "rif": ["rif-MA"],
255
193
  "rm": ["rm-CH"],
256
194
  "rn": ["rn-BI"],
257
195
  "ro": ["ro-RO"],
@@ -262,41 +200,30 @@ const defaultContent = {
262
200
  "sa": ["sa-IN"],
263
201
  "sah": ["sah-RU"],
264
202
  "saq": ["saq-KE"],
265
- "sat-Deva": ["sat-Deva-IN"],
266
203
  "sat-Olck": ["sat-Olck-IN"],
267
204
  "sbp": ["sbp-TZ"],
268
205
  "sc": ["sc-IT"],
269
206
  "scn": ["scn-IT"],
270
207
  "sd-Arab": ["sd-Arab-PK"],
271
208
  "sd-Deva": ["sd-Deva-IN"],
272
- "sdh": ["sdh-IR"],
273
209
  "se": ["se-NO"],
274
210
  "seh": ["seh-MZ"],
275
211
  "ses": ["ses-ML"],
276
212
  "sg": ["sg-CF"],
277
- "sgs": ["sgs-LT"],
278
213
  "shi-Latn": ["shi-Latn-MA"],
279
214
  "shi-Tfng": ["shi-Tfng-MA"],
280
215
  "shn": ["shn-MM"],
281
216
  "si": ["si-LK"],
282
- "sid": ["sid-ET"],
283
217
  "sk": ["sk-SK"],
284
- "skr": ["skr-PK"],
285
218
  "sl": ["sl-SI"],
286
- "sma": ["sma-SE"],
287
- "smj": ["smj-SE"],
288
219
  "smn": ["smn-FI"],
289
- "sms": ["sms-FI"],
290
220
  "sn": ["sn-ZW"],
291
221
  "so": ["so-SO"],
292
222
  "sq": ["sq-AL"],
293
223
  "sr-Cyrl": ["sr-Cyrl-RS"],
294
224
  "sr-Latn": ["sr-Latn-RS"],
295
- "ss": ["ss-ZA"],
296
- "ssy": ["ssy-ER"],
297
225
  "st": ["st-ZA"],
298
226
  "su-Latn": ["su-Latn-ID"],
299
- "suz-Deva": ["suz-Deva-NP"],
300
227
  "suz-Sunu": ["suz-Sunu-NP"],
301
228
  "sv": ["sv-SE"],
302
229
  "sw": ["sw-TZ"],
@@ -308,16 +235,11 @@ const defaultContent = {
308
235
  "tg": ["tg-TJ"],
309
236
  "th": ["th-TH"],
310
237
  "ti": ["ti-ET"],
311
- "tig": ["tig-ER"],
312
238
  "tk": ["tk-TM"],
313
239
  "tn": ["tn-ZA"],
314
240
  "to": ["to-TO"],
315
241
  "tok": ["tok-001"],
316
- "tpi": ["tpi-PG"],
317
242
  "tr": ["tr-TR"],
318
- "trv": ["trv-TW"],
319
- "trw": ["trw-PK"],
320
- "ts": ["ts-ZA"],
321
243
  "tt": ["tt-RU"],
322
244
  "twq": ["twq-NE"],
323
245
  "tyv": ["tyv-RU"],
@@ -330,16 +252,11 @@ const defaultContent = {
330
252
  "uz-Latn": ["uz-Latn-UZ"],
331
253
  "vai-Latn": ["vai-Latn-LR"],
332
254
  "vai-Vaii": ["vai-Vaii-LR"],
333
- "ve": ["ve-ZA"],
334
255
  "vec": ["vec-IT"],
335
256
  "vi": ["vi-VN"],
336
257
  "vmw": ["vmw-MZ"],
337
- "vo": ["vo-001"],
338
258
  "vun": ["vun-TZ"],
339
- "wa": ["wa-BE"],
340
259
  "wae": ["wae-CH"],
341
- "wal": ["wal-ET"],
342
- "wbp": ["wbp-AU"],
343
260
  "wo": ["wo-SN"],
344
261
  "xh": ["xh-ZA"],
345
262
  "xnr": ["xnr-IN"],
@@ -354,11 +271,9 @@ const defaultContent = {
354
271
  "zgh": ["zgh-MA"],
355
272
  "zh-Hans": ["zh-Hans-CN"],
356
273
  "zh-Hant": ["zh-Hant-TW"],
357
- "zh-Latn": ["zh-Latn-CN"],
358
274
  "zu": ["zu-ZA"]
359
275
  };
360
- //#endregion
361
- //#region packages/ecma402-abstract/registerLocaleData.js
276
+ // packages/ecma402-abstract/registerLocaleData.js
362
277
  const explicitLocales = /* @__PURE__ */ new WeakMap();
363
278
  function registerLocaleData(locale, data, localeData, availableLocales) {
364
279
  let loaded = explicitLocales.get(localeData);
@@ -386,8 +301,7 @@ function registerLocaleData(locale, data, localeData, availableLocales) {
386
301
  }
387
302
  }
388
303
  }
389
- //#endregion
390
- //#region packages/ecma262-abstract/ToString.js
304
+ // packages/ecma262-abstract/ToString.js
391
305
  /**
392
306
  * https://tc39.es/ecma262/#sec-tostring
393
307
  */
@@ -395,8 +309,7 @@ function ToString(o) {
395
309
  if (typeof o === "symbol") throw TypeError("Cannot convert a Symbol value to a string");
396
310
  return String(o);
397
311
  }
398
- //#endregion
399
- //#region packages/ecma402-abstract/CanonicalizeLocaleList.js
312
+ // packages/ecma402-abstract/CanonicalizeLocaleList.js
400
313
  /**
401
314
  * http://ecma-international.org/ecma-402/7.0/index.html#sec-canonicalizelocalelist
402
315
  * @param locales
@@ -404,8 +317,7 @@ function ToString(o) {
404
317
  function CanonicalizeLocaleList(locales) {
405
318
  return Intl.getCanonicalLocales(locales);
406
319
  }
407
- //#endregion
408
- //#region packages/ecma262-abstract/ToObject.js
320
+ // packages/ecma262-abstract/ToObject.js
409
321
  /**
410
322
  * https://tc39.es/ecma262/#sec-toobject
411
323
  */
@@ -413,8 +325,7 @@ function ToObject(arg) {
413
325
  if (arg == null) throw new TypeError("undefined/null cannot be converted to object");
414
326
  return Object(arg);
415
327
  }
416
- //#endregion
417
- //#region packages/ecma402-abstract/GetOption.js
328
+ // packages/ecma402-abstract/GetOption.js
418
329
  /**
419
330
  * https://tc39.es/ecma402/#sec-getoption
420
331
  * @param opts
@@ -435,8 +346,7 @@ function GetOption(opts, prop, type, values, fallback) {
435
346
  }
436
347
  return fallback;
437
348
  }
438
- //#endregion
439
- //#region packages/ecma402-abstract/SupportedLocales.js
349
+ // packages/ecma402-abstract/SupportedLocales.js
440
350
  /**
441
351
  * https://tc39.es/ecma402/#sec-supportedlocales
442
352
  * @param availableLocales
@@ -452,14 +362,12 @@ function SupportedLocales(availableLocales, requestedLocales, options) {
452
362
  if (matcher === "best fit") return LookupSupportedLocales(Array.from(availableLocales), requestedLocales);
453
363
  return LookupSupportedLocales(Array.from(availableLocales), requestedLocales);
454
364
  }
455
- //#endregion
456
- //#region packages/ecma402-abstract/IsUnicodeLocaleIdentifierType.js
365
+ // packages/ecma402-abstract/IsUnicodeLocaleIdentifierType.js
457
366
  /** Tests the Unicode locale identifier `type` grammar, not locale support. */
458
367
  function IsUnicodeLocaleIdentifierType(value) {
459
368
  return /^[a-z0-9]{3,8}(-[a-z0-9]{3,8})*(?![\s\S])/i.test(value);
460
369
  }
461
- //#endregion
462
- //#region packages/ecma402-abstract/CoerceOptionsToObject.js
370
+ // packages/ecma402-abstract/CoerceOptionsToObject.js
463
371
  /**
464
372
  * https://tc39.es/ecma402/#sec-coerceoptionstoobject
465
373
  * @param options
@@ -469,8 +377,7 @@ function CoerceOptionsToObject(options) {
469
377
  if (typeof options === "undefined") return Object.create(null);
470
378
  return ToObject(options);
471
379
  }
472
- //#endregion
473
- //#region node_modules/.aspect_rules_js/@formatjs+fast-memoize@0.0.0/node_modules/@formatjs/fast-memoize/index.js
380
+ // node_modules/.aspect_rules_js/@formatjs+fast-memoize@0.0.0/node_modules/@formatjs/fast-memoize/index.js
474
381
  function memoize(fn, options) {
475
382
  const cache = options && options.cache ? options.cache : cacheDefault;
476
383
  const serializer = options && options.serializer ? options.serializer : serializerDefault;
@@ -535,16 +442,14 @@ const strategies = {
535
442
  variadic: strategyVariadic,
536
443
  monadic: strategyMonadic
537
444
  };
538
- //#endregion
539
- //#region packages/ecma402-abstract/utils.js
445
+ // packages/ecma402-abstract/utils.js
540
446
  function invariant(condition, message, Err = Error) {
541
447
  if (!condition) throw new Err(message);
542
448
  }
543
449
  const createMemoizedNumberFormat = memoize((...args) => new Intl.NumberFormat(...args), { strategy: strategies.variadic });
544
450
  const createMemoizedPluralRules = memoize((...args) => new Intl.PluralRules(...args), { strategy: strategies.variadic });
545
451
  memoize((...args) => new Intl.ListFormat(...args), { strategy: strategies.variadic });
546
- //#endregion
547
- //#region packages/ecma402-abstract/RelativeTimeFormat/InitializeRelativeTimeFormat.js
452
+ // packages/ecma402-abstract/RelativeTimeFormat/InitializeRelativeTimeFormat.js
548
453
  function InitializeRelativeTimeFormat(rtf, locales, options, { getInternalSlots, availableLocales, relevantExtensionKeys, localeData, getDefaultLocale }) {
549
454
  const internalSlots = getInternalSlots(rtf);
550
455
  internalSlots.initializedRelativeTimeFormat = true;
@@ -576,8 +481,7 @@ function InitializeRelativeTimeFormat(rtf, locales, options, { getInternalSlots,
576
481
  internalSlots.numberingSystem = nu;
577
482
  return rtf;
578
483
  }
579
- //#endregion
580
- //#region packages/ecma262-abstract/SameValue.js
484
+ // packages/ecma262-abstract/SameValue.js
581
485
  /**
582
486
  * https://www.ecma-international.org/ecma-262/11.0/index.html#sec-samevalue
583
487
  */
@@ -586,8 +490,7 @@ function SameValue(x, y) {
586
490
  if (x === y) return x !== 0 || 1 / x === 1 / y;
587
491
  return x !== x && y !== y;
588
492
  }
589
- //#endregion
590
- //#region packages/ecma262-abstract/Type.js
493
+ // packages/ecma262-abstract/Type.js
591
494
  /**
592
495
  * https://www.ecma-international.org/ecma-262/11.0/index.html#sec-type
593
496
  */
@@ -601,8 +504,7 @@ function Type(x) {
601
504
  if (typeof x === "symbol") return "Symbol";
602
505
  if (typeof x === "bigint") return "BigInt";
603
506
  }
604
- //#endregion
605
- //#region packages/ecma402-abstract/RelativeTimeFormat/SingularRelativeTimeUnit.js
507
+ // packages/ecma402-abstract/RelativeTimeFormat/SingularRelativeTimeUnit.js
606
508
  /**
607
509
  * https://tc39.es/proposal-intl-relative-time/#sec-singularrelativetimeunit
608
510
  * @param unit
@@ -620,8 +522,7 @@ function SingularRelativeTimeUnit(unit) {
620
522
  if (unit !== "second" && unit !== "minute" && unit !== "hour" && unit !== "day" && unit !== "week" && unit !== "month" && unit !== "quarter" && unit !== "year") throw new RangeError("invalid unit");
621
523
  return unit;
622
524
  }
623
- //#endregion
624
- //#region packages/ecma402-abstract/PartitionPattern.js
525
+ // packages/ecma402-abstract/PartitionPattern.js
625
526
  /**
626
527
  * Partition a pattern into a list of literals and placeholders
627
528
  * https://tc39.es/ecma402/#sec-partitionpattern
@@ -653,8 +554,7 @@ function PartitionPattern(pattern) {
653
554
  });
654
555
  return result;
655
556
  }
656
- //#endregion
657
- //#region packages/ecma402-abstract/RelativeTimeFormat/MakePartsList.js
557
+ // packages/ecma402-abstract/RelativeTimeFormat/MakePartsList.js
658
558
  function MakePartsList(pattern, unit, parts) {
659
559
  const patternParts = PartitionPattern(pattern);
660
560
  const result = [];
@@ -672,8 +572,7 @@ function MakePartsList(pattern, unit, parts) {
672
572
  }
673
573
  return result;
674
574
  }
675
- //#endregion
676
- //#region packages/ecma402-abstract/RelativeTimeFormat/PartitionRelativeTimePattern.js
575
+ // packages/ecma402-abstract/RelativeTimeFormat/PartitionRelativeTimePattern.js
677
576
  function PartitionRelativeTimePattern(rtf, value, unit, { getInternalSlots }) {
678
577
  invariant(Type(value) === "Number", `value must be number, instead got ${typeof value}`, TypeError);
679
578
  invariant(Type(unit) === "String", `unit must be number, instead got ${typeof value}`, TypeError);
@@ -701,8 +600,7 @@ function PartitionRelativeTimePattern(rtf, value, unit, { getInternalSlots }) {
701
600
  }];
702
601
  return MakePartsList(po[pluralRules.select(value)] ?? po.other, resolvedUnit, fv);
703
602
  }
704
- //#endregion
705
- //#region packages/intl-relativetimeformat/get_internal_slots.ts
603
+ // packages/intl-relativetimeformat/get_internal_slots.ts
706
604
  const internalSlotMap = /* @__PURE__ */ new WeakMap();
707
605
  function getInternalSlots(x) {
708
606
  let internalSlots = internalSlotMap.get(x);
@@ -712,11 +610,9 @@ function getInternalSlots(x) {
712
610
  }
713
611
  return internalSlots;
714
612
  }
715
- //#endregion
716
- //#region packages/intl-relativetimeformat/index.ts
613
+ // packages/intl-relativetimeformat/index.ts
717
614
  var RelativeTimeFormat = class RelativeTimeFormat {
718
615
  constructor(locales, options) {
719
- if (!(this && this instanceof RelativeTimeFormat ? this.constructor : void 0)) throw new TypeError("Intl.RelativeTimeFormat must be called with 'new'");
720
616
  return InitializeRelativeTimeFormat(this, locales, options, {
721
617
  getInternalSlots,
722
618
  availableLocales: RelativeTimeFormat.availableLocales,
@@ -794,7 +690,6 @@ try {
794
690
  configurable: true
795
691
  });
796
692
  } catch {}
797
- //#endregion
798
693
  export { RelativeTimeFormat as default };
799
694
 
800
695
  //# sourceMappingURL=index.js.map