@formatjs/intl-listformat 8.2.3 → 8.3.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.
Files changed (587) hide show
  1. package/index.d.ts +103 -68
  2. package/index.js +264 -84
  3. package/index.js.map +1 -0
  4. package/locale-data/af-NA.js +66 -0
  5. package/locale-data/af.js +66 -0
  6. package/locale-data/agq.js +66 -0
  7. package/locale-data/ak.js +66 -0
  8. package/locale-data/am.js +66 -0
  9. package/locale-data/ar-AE.js +66 -0
  10. package/locale-data/ar-BH.js +66 -0
  11. package/locale-data/ar-DJ.js +66 -0
  12. package/locale-data/ar-DZ.js +66 -0
  13. package/locale-data/ar-EG.js +66 -0
  14. package/locale-data/ar-EH.js +66 -0
  15. package/locale-data/ar-ER.js +66 -0
  16. package/locale-data/ar-IL.js +66 -0
  17. package/locale-data/ar-IQ.js +66 -0
  18. package/locale-data/ar-JO.js +66 -0
  19. package/locale-data/ar-KM.js +66 -0
  20. package/locale-data/ar-KW.js +66 -0
  21. package/locale-data/ar-LB.js +66 -0
  22. package/locale-data/ar-LY.js +66 -0
  23. package/locale-data/ar-MA.js +66 -0
  24. package/locale-data/ar-MR.js +66 -0
  25. package/locale-data/ar-OM.js +66 -0
  26. package/locale-data/ar-PS.js +66 -0
  27. package/locale-data/ar-QA.js +66 -0
  28. package/locale-data/ar-SA.js +66 -0
  29. package/locale-data/ar-SD.js +66 -0
  30. package/locale-data/ar-SO.js +66 -0
  31. package/locale-data/ar-SS.js +66 -0
  32. package/locale-data/ar-SY.js +66 -0
  33. package/locale-data/ar-TD.js +66 -0
  34. package/locale-data/ar-TN.js +66 -0
  35. package/locale-data/ar-YE.js +66 -0
  36. package/locale-data/ar.js +66 -0
  37. package/locale-data/as.js +66 -0
  38. package/locale-data/asa.js +66 -0
  39. package/locale-data/ast.js +66 -0
  40. package/locale-data/az-Cyrl.js +66 -0
  41. package/locale-data/az-Latn.js +66 -0
  42. package/locale-data/az.js +66 -0
  43. package/locale-data/bas.js +66 -0
  44. package/locale-data/be-tarask.js +66 -0
  45. package/locale-data/be.js +66 -0
  46. package/locale-data/bem.js +66 -0
  47. package/locale-data/bez.js +66 -0
  48. package/locale-data/bg.js +66 -0
  49. package/locale-data/bm.js +66 -0
  50. package/locale-data/bn-IN.js +66 -0
  51. package/locale-data/bn.js +66 -0
  52. package/locale-data/bo-IN.js +66 -0
  53. package/locale-data/bo.js +66 -0
  54. package/locale-data/br.js +66 -0
  55. package/locale-data/brx.js +66 -0
  56. package/locale-data/bs-Cyrl.js +66 -0
  57. package/locale-data/bs-Latn.js +66 -0
  58. package/locale-data/bs.js +66 -0
  59. package/locale-data/ca-AD.js +66 -0
  60. package/locale-data/ca-ES-valencia.js +66 -0
  61. package/locale-data/ca-FR.js +66 -0
  62. package/locale-data/ca-IT.js +66 -0
  63. package/locale-data/ca.js +66 -0
  64. package/locale-data/ccp-IN.js +66 -0
  65. package/locale-data/ccp.js +66 -0
  66. package/locale-data/ce.js +66 -0
  67. package/locale-data/ceb.js +66 -0
  68. package/locale-data/cgg.js +66 -0
  69. package/locale-data/chr.js +66 -0
  70. package/locale-data/ckb-IR.js +66 -0
  71. package/locale-data/ckb.js +66 -0
  72. package/locale-data/cs.js +66 -0
  73. package/locale-data/cy.js +66 -0
  74. package/locale-data/da-GL.js +66 -0
  75. package/locale-data/da.js +66 -0
  76. package/locale-data/dav.js +66 -0
  77. package/locale-data/de-AT.js +66 -0
  78. package/locale-data/de-BE.js +66 -0
  79. package/locale-data/de-CH.js +66 -0
  80. package/locale-data/de-IT.js +66 -0
  81. package/locale-data/de-LI.js +66 -0
  82. package/locale-data/de-LU.js +66 -0
  83. package/locale-data/de.js +66 -0
  84. package/locale-data/dje.js +66 -0
  85. package/locale-data/doi.js +66 -0
  86. package/locale-data/dsb.js +66 -0
  87. package/locale-data/dua.js +66 -0
  88. package/locale-data/dyo.js +66 -0
  89. package/locale-data/dz.js +66 -0
  90. package/locale-data/ebu.js +66 -0
  91. package/locale-data/ee-TG.js +66 -0
  92. package/locale-data/ee.js +66 -0
  93. package/locale-data/el-CY.js +66 -0
  94. package/locale-data/el.js +66 -0
  95. package/locale-data/en-001.js +66 -0
  96. package/locale-data/en-150.js +66 -0
  97. package/locale-data/en-AE.js +66 -0
  98. package/locale-data/en-AG.js +66 -0
  99. package/locale-data/en-AI.js +66 -0
  100. package/locale-data/en-AS.js +66 -0
  101. package/locale-data/en-AT.js +66 -0
  102. package/locale-data/en-AU.js +66 -0
  103. package/locale-data/en-BB.js +66 -0
  104. package/locale-data/en-BE.js +66 -0
  105. package/locale-data/en-BI.js +66 -0
  106. package/locale-data/en-BM.js +66 -0
  107. package/locale-data/en-BS.js +66 -0
  108. package/locale-data/en-BW.js +66 -0
  109. package/locale-data/en-BZ.js +66 -0
  110. package/locale-data/en-CA.js +66 -0
  111. package/locale-data/en-CC.js +66 -0
  112. package/locale-data/en-CH.js +66 -0
  113. package/locale-data/en-CK.js +66 -0
  114. package/locale-data/en-CM.js +66 -0
  115. package/locale-data/en-CX.js +66 -0
  116. package/locale-data/en-CY.js +66 -0
  117. package/locale-data/en-DE.js +66 -0
  118. package/locale-data/en-DG.js +66 -0
  119. package/locale-data/en-DK.js +66 -0
  120. package/locale-data/en-DM.js +66 -0
  121. package/locale-data/en-ER.js +66 -0
  122. package/locale-data/en-FI.js +66 -0
  123. package/locale-data/en-FJ.js +66 -0
  124. package/locale-data/en-FK.js +66 -0
  125. package/locale-data/en-FM.js +66 -0
  126. package/locale-data/en-GB.js +66 -0
  127. package/locale-data/en-GD.js +66 -0
  128. package/locale-data/en-GG.js +66 -0
  129. package/locale-data/en-GH.js +66 -0
  130. package/locale-data/en-GI.js +66 -0
  131. package/locale-data/en-GM.js +66 -0
  132. package/locale-data/en-GU.js +66 -0
  133. package/locale-data/en-GY.js +66 -0
  134. package/locale-data/en-HK.js +66 -0
  135. package/locale-data/en-IE.js +66 -0
  136. package/locale-data/en-IL.js +66 -0
  137. package/locale-data/en-IM.js +66 -0
  138. package/locale-data/en-IN.js +66 -0
  139. package/locale-data/en-IO.js +66 -0
  140. package/locale-data/en-JE.js +66 -0
  141. package/locale-data/en-JM.js +66 -0
  142. package/locale-data/en-KE.js +66 -0
  143. package/locale-data/en-KI.js +66 -0
  144. package/locale-data/en-KN.js +66 -0
  145. package/locale-data/en-KY.js +66 -0
  146. package/locale-data/en-LC.js +66 -0
  147. package/locale-data/en-LR.js +66 -0
  148. package/locale-data/en-LS.js +66 -0
  149. package/locale-data/en-MG.js +66 -0
  150. package/locale-data/en-MH.js +66 -0
  151. package/locale-data/en-MO.js +66 -0
  152. package/locale-data/en-MP.js +66 -0
  153. package/locale-data/en-MS.js +66 -0
  154. package/locale-data/en-MT.js +66 -0
  155. package/locale-data/en-MU.js +66 -0
  156. package/locale-data/en-MW.js +66 -0
  157. package/locale-data/en-MY.js +66 -0
  158. package/locale-data/en-NA.js +66 -0
  159. package/locale-data/en-NF.js +66 -0
  160. package/locale-data/en-NG.js +66 -0
  161. package/locale-data/en-NL.js +66 -0
  162. package/locale-data/en-NR.js +66 -0
  163. package/locale-data/en-NU.js +66 -0
  164. package/locale-data/en-NZ.js +66 -0
  165. package/locale-data/en-PG.js +66 -0
  166. package/locale-data/en-PH.js +66 -0
  167. package/locale-data/en-PK.js +66 -0
  168. package/locale-data/en-PN.js +66 -0
  169. package/locale-data/en-PR.js +66 -0
  170. package/locale-data/en-PW.js +66 -0
  171. package/locale-data/en-RW.js +66 -0
  172. package/locale-data/en-SB.js +66 -0
  173. package/locale-data/en-SC.js +66 -0
  174. package/locale-data/en-SD.js +66 -0
  175. package/locale-data/en-SE.js +66 -0
  176. package/locale-data/en-SG.js +66 -0
  177. package/locale-data/en-SH.js +66 -0
  178. package/locale-data/en-SI.js +66 -0
  179. package/locale-data/en-SL.js +66 -0
  180. package/locale-data/en-SS.js +66 -0
  181. package/locale-data/en-SX.js +66 -0
  182. package/locale-data/en-SZ.js +66 -0
  183. package/locale-data/en-TC.js +66 -0
  184. package/locale-data/en-TK.js +66 -0
  185. package/locale-data/en-TO.js +66 -0
  186. package/locale-data/en-TT.js +66 -0
  187. package/locale-data/en-TV.js +66 -0
  188. package/locale-data/en-TZ.js +66 -0
  189. package/locale-data/en-UG.js +66 -0
  190. package/locale-data/en-UM.js +66 -0
  191. package/locale-data/en-VC.js +66 -0
  192. package/locale-data/en-VG.js +66 -0
  193. package/locale-data/en-VI.js +66 -0
  194. package/locale-data/en-VU.js +66 -0
  195. package/locale-data/en-WS.js +66 -0
  196. package/locale-data/en-ZA.js +66 -0
  197. package/locale-data/en-ZM.js +66 -0
  198. package/locale-data/en-ZW.js +66 -0
  199. package/locale-data/en.js +66 -0
  200. package/locale-data/eo.js +66 -0
  201. package/locale-data/es-419.js +66 -0
  202. package/locale-data/es-AR.js +66 -0
  203. package/locale-data/es-BO.js +66 -0
  204. package/locale-data/es-BR.js +66 -0
  205. package/locale-data/es-BZ.js +66 -0
  206. package/locale-data/es-CL.js +66 -0
  207. package/locale-data/es-CO.js +66 -0
  208. package/locale-data/es-CR.js +66 -0
  209. package/locale-data/es-CU.js +66 -0
  210. package/locale-data/es-DO.js +66 -0
  211. package/locale-data/es-EA.js +66 -0
  212. package/locale-data/es-EC.js +66 -0
  213. package/locale-data/es-GQ.js +66 -0
  214. package/locale-data/es-GT.js +66 -0
  215. package/locale-data/es-HN.js +66 -0
  216. package/locale-data/es-IC.js +66 -0
  217. package/locale-data/es-MX.js +66 -0
  218. package/locale-data/es-NI.js +66 -0
  219. package/locale-data/es-PA.js +66 -0
  220. package/locale-data/es-PE.js +66 -0
  221. package/locale-data/es-PH.js +66 -0
  222. package/locale-data/es-PR.js +66 -0
  223. package/locale-data/es-PY.js +66 -0
  224. package/locale-data/es-SV.js +66 -0
  225. package/locale-data/es-US.js +66 -0
  226. package/locale-data/es-UY.js +66 -0
  227. package/locale-data/es-VE.js +66 -0
  228. package/locale-data/es.js +66 -0
  229. package/locale-data/et.js +66 -0
  230. package/locale-data/eu.js +66 -0
  231. package/locale-data/ewo.js +66 -0
  232. package/locale-data/fa-AF.js +66 -0
  233. package/locale-data/fa.js +66 -0
  234. package/locale-data/ff-Adlm-BF.js +66 -0
  235. package/locale-data/ff-Adlm-CM.js +66 -0
  236. package/locale-data/ff-Adlm-GH.js +66 -0
  237. package/locale-data/ff-Adlm-GM.js +66 -0
  238. package/locale-data/ff-Adlm-GW.js +66 -0
  239. package/locale-data/ff-Adlm-LR.js +66 -0
  240. package/locale-data/ff-Adlm-MR.js +66 -0
  241. package/locale-data/ff-Adlm-NE.js +66 -0
  242. package/locale-data/ff-Adlm-NG.js +66 -0
  243. package/locale-data/ff-Adlm-SL.js +66 -0
  244. package/locale-data/ff-Adlm-SN.js +66 -0
  245. package/locale-data/ff-Adlm.js +66 -0
  246. package/locale-data/ff-Latn-BF.js +66 -0
  247. package/locale-data/ff-Latn-CM.js +66 -0
  248. package/locale-data/ff-Latn-GH.js +66 -0
  249. package/locale-data/ff-Latn-GM.js +66 -0
  250. package/locale-data/ff-Latn-GN.js +66 -0
  251. package/locale-data/ff-Latn-GW.js +66 -0
  252. package/locale-data/ff-Latn-LR.js +66 -0
  253. package/locale-data/ff-Latn-MR.js +66 -0
  254. package/locale-data/ff-Latn-NE.js +66 -0
  255. package/locale-data/ff-Latn-NG.js +66 -0
  256. package/locale-data/ff-Latn-SL.js +66 -0
  257. package/locale-data/ff-Latn.js +66 -0
  258. package/locale-data/ff.js +66 -0
  259. package/locale-data/fi.js +66 -0
  260. package/locale-data/fil.js +66 -0
  261. package/locale-data/fo-DK.js +66 -0
  262. package/locale-data/fo.js +66 -0
  263. package/locale-data/fr-BE.js +66 -0
  264. package/locale-data/fr-BF.js +66 -0
  265. package/locale-data/fr-BI.js +66 -0
  266. package/locale-data/fr-BJ.js +66 -0
  267. package/locale-data/fr-BL.js +66 -0
  268. package/locale-data/fr-CA.js +66 -0
  269. package/locale-data/fr-CD.js +66 -0
  270. package/locale-data/fr-CF.js +66 -0
  271. package/locale-data/fr-CG.js +66 -0
  272. package/locale-data/fr-CH.js +66 -0
  273. package/locale-data/fr-CI.js +66 -0
  274. package/locale-data/fr-CM.js +66 -0
  275. package/locale-data/fr-DJ.js +66 -0
  276. package/locale-data/fr-DZ.js +66 -0
  277. package/locale-data/fr-GA.js +66 -0
  278. package/locale-data/fr-GF.js +66 -0
  279. package/locale-data/fr-GN.js +66 -0
  280. package/locale-data/fr-GP.js +66 -0
  281. package/locale-data/fr-GQ.js +66 -0
  282. package/locale-data/fr-HT.js +66 -0
  283. package/locale-data/fr-KM.js +66 -0
  284. package/locale-data/fr-LU.js +66 -0
  285. package/locale-data/fr-MA.js +66 -0
  286. package/locale-data/fr-MC.js +66 -0
  287. package/locale-data/fr-MF.js +66 -0
  288. package/locale-data/fr-MG.js +66 -0
  289. package/locale-data/fr-ML.js +66 -0
  290. package/locale-data/fr-MQ.js +66 -0
  291. package/locale-data/fr-MR.js +66 -0
  292. package/locale-data/fr-MU.js +66 -0
  293. package/locale-data/fr-NC.js +66 -0
  294. package/locale-data/fr-NE.js +66 -0
  295. package/locale-data/fr-PF.js +66 -0
  296. package/locale-data/fr-PM.js +66 -0
  297. package/locale-data/fr-RE.js +66 -0
  298. package/locale-data/fr-RW.js +66 -0
  299. package/locale-data/fr-SC.js +66 -0
  300. package/locale-data/fr-SN.js +66 -0
  301. package/locale-data/fr-SY.js +66 -0
  302. package/locale-data/fr-TD.js +66 -0
  303. package/locale-data/fr-TG.js +66 -0
  304. package/locale-data/fr-TN.js +66 -0
  305. package/locale-data/fr-VU.js +66 -0
  306. package/locale-data/fr-WF.js +66 -0
  307. package/locale-data/fr-YT.js +66 -0
  308. package/locale-data/fr.js +66 -0
  309. package/locale-data/fur.js +66 -0
  310. package/locale-data/fy.js +66 -0
  311. package/locale-data/ga-GB.js +66 -0
  312. package/locale-data/ga.js +66 -0
  313. package/locale-data/gd.js +66 -0
  314. package/locale-data/gl.js +66 -0
  315. package/locale-data/gsw-FR.js +66 -0
  316. package/locale-data/gsw-LI.js +66 -0
  317. package/locale-data/gsw.js +66 -0
  318. package/locale-data/gu.js +66 -0
  319. package/locale-data/guz.js +66 -0
  320. package/locale-data/gv.js +66 -0
  321. package/locale-data/ha-GH.js +66 -0
  322. package/locale-data/ha-NE.js +66 -0
  323. package/locale-data/ha.js +66 -0
  324. package/locale-data/haw.js +66 -0
  325. package/locale-data/he.js +66 -0
  326. package/locale-data/hi.js +66 -0
  327. package/locale-data/hr-BA.js +66 -0
  328. package/locale-data/hr.js +66 -0
  329. package/locale-data/hsb.js +66 -0
  330. package/locale-data/hu.js +66 -0
  331. package/locale-data/hy.js +66 -0
  332. package/locale-data/ia.js +66 -0
  333. package/locale-data/id.js +66 -0
  334. package/locale-data/ig.js +66 -0
  335. package/locale-data/ii.js +66 -0
  336. package/locale-data/is.js +66 -0
  337. package/locale-data/it-CH.js +66 -0
  338. package/locale-data/it-SM.js +66 -0
  339. package/locale-data/it-VA.js +66 -0
  340. package/locale-data/it.js +66 -0
  341. package/locale-data/ja.js +66 -0
  342. package/locale-data/jgo.js +66 -0
  343. package/locale-data/jmc.js +66 -0
  344. package/locale-data/jv.js +66 -0
  345. package/locale-data/ka.js +66 -0
  346. package/locale-data/kab.js +66 -0
  347. package/locale-data/kam.js +66 -0
  348. package/locale-data/kde.js +66 -0
  349. package/locale-data/kea.js +66 -0
  350. package/locale-data/kgp.js +66 -0
  351. package/locale-data/khq.js +66 -0
  352. package/locale-data/ki.js +66 -0
  353. package/locale-data/kk.js +66 -0
  354. package/locale-data/kkj.js +66 -0
  355. package/locale-data/kl.js +66 -0
  356. package/locale-data/kln.js +66 -0
  357. package/locale-data/km.js +66 -0
  358. package/locale-data/kn.js +66 -0
  359. package/locale-data/ko-KP.js +66 -0
  360. package/locale-data/ko.js +66 -0
  361. package/locale-data/kok.js +66 -0
  362. package/locale-data/ks-Arab.js +66 -0
  363. package/locale-data/ks.js +66 -0
  364. package/locale-data/ksb.js +66 -0
  365. package/locale-data/ksf.js +66 -0
  366. package/locale-data/ksh.js +66 -0
  367. package/locale-data/ku.js +66 -0
  368. package/locale-data/kw.js +66 -0
  369. package/locale-data/ky.js +66 -0
  370. package/locale-data/lag.js +66 -0
  371. package/locale-data/lb.js +66 -0
  372. package/locale-data/lg.js +66 -0
  373. package/locale-data/lkt.js +66 -0
  374. package/locale-data/ln-AO.js +66 -0
  375. package/locale-data/ln-CF.js +66 -0
  376. package/locale-data/ln-CG.js +66 -0
  377. package/locale-data/ln.js +66 -0
  378. package/locale-data/lo.js +66 -0
  379. package/locale-data/lrc-IQ.js +66 -0
  380. package/locale-data/lrc.js +66 -0
  381. package/locale-data/lt.js +66 -0
  382. package/locale-data/lu.js +66 -0
  383. package/locale-data/luo.js +66 -0
  384. package/locale-data/luy.js +66 -0
  385. package/locale-data/lv.js +66 -0
  386. package/locale-data/mai.js +66 -0
  387. package/locale-data/mas-TZ.js +66 -0
  388. package/locale-data/mas.js +66 -0
  389. package/locale-data/mer.js +66 -0
  390. package/locale-data/mfe.js +66 -0
  391. package/locale-data/mg.js +66 -0
  392. package/locale-data/mgh.js +66 -0
  393. package/locale-data/mgo.js +66 -0
  394. package/locale-data/mi.js +66 -0
  395. package/locale-data/mk.js +66 -0
  396. package/locale-data/ml.js +66 -0
  397. package/locale-data/mn.js +66 -0
  398. package/locale-data/mni-Beng.js +66 -0
  399. package/locale-data/mni.js +66 -0
  400. package/locale-data/mr.js +66 -0
  401. package/locale-data/ms-BN.js +66 -0
  402. package/locale-data/ms-ID.js +66 -0
  403. package/locale-data/ms-SG.js +66 -0
  404. package/locale-data/ms.js +66 -0
  405. package/locale-data/mt.js +66 -0
  406. package/locale-data/mua.js +66 -0
  407. package/locale-data/my.js +66 -0
  408. package/locale-data/mzn.js +66 -0
  409. package/locale-data/naq.js +66 -0
  410. package/locale-data/nb-SJ.js +66 -0
  411. package/locale-data/nb.js +66 -0
  412. package/locale-data/nd.js +66 -0
  413. package/locale-data/nds-NL.js +66 -0
  414. package/locale-data/nds.js +66 -0
  415. package/locale-data/ne-IN.js +66 -0
  416. package/locale-data/ne.js +66 -0
  417. package/locale-data/nl-AW.js +66 -0
  418. package/locale-data/nl-BE.js +66 -0
  419. package/locale-data/nl-BQ.js +66 -0
  420. package/locale-data/nl-CW.js +66 -0
  421. package/locale-data/nl-SR.js +66 -0
  422. package/locale-data/nl-SX.js +66 -0
  423. package/locale-data/nl.js +66 -0
  424. package/locale-data/nmg.js +66 -0
  425. package/locale-data/nn.js +66 -0
  426. package/locale-data/nnh.js +66 -0
  427. package/locale-data/no.js +66 -0
  428. package/locale-data/nus.js +66 -0
  429. package/locale-data/nyn.js +66 -0
  430. package/locale-data/om-KE.js +66 -0
  431. package/locale-data/om.js +66 -0
  432. package/locale-data/or.js +66 -0
  433. package/locale-data/os-RU.js +66 -0
  434. package/locale-data/os.js +66 -0
  435. package/locale-data/pa-Arab.js +66 -0
  436. package/locale-data/pa-Guru.js +66 -0
  437. package/locale-data/pa.js +66 -0
  438. package/locale-data/pcm.js +66 -0
  439. package/locale-data/pl.js +66 -0
  440. package/locale-data/ps-PK.js +66 -0
  441. package/locale-data/ps.js +66 -0
  442. package/locale-data/pt-AO.js +66 -0
  443. package/locale-data/pt-CH.js +66 -0
  444. package/locale-data/pt-CV.js +66 -0
  445. package/locale-data/pt-GQ.js +66 -0
  446. package/locale-data/pt-GW.js +66 -0
  447. package/locale-data/pt-LU.js +66 -0
  448. package/locale-data/pt-MO.js +66 -0
  449. package/locale-data/pt-MZ.js +66 -0
  450. package/locale-data/pt-PT.js +66 -0
  451. package/locale-data/pt-ST.js +66 -0
  452. package/locale-data/pt-TL.js +66 -0
  453. package/locale-data/pt.js +66 -0
  454. package/locale-data/qu-BO.js +66 -0
  455. package/locale-data/qu-EC.js +66 -0
  456. package/locale-data/qu.js +66 -0
  457. package/locale-data/rm.js +66 -0
  458. package/locale-data/rn.js +66 -0
  459. package/locale-data/ro-MD.js +66 -0
  460. package/locale-data/ro.js +66 -0
  461. package/locale-data/rof.js +66 -0
  462. package/locale-data/ru-BY.js +66 -0
  463. package/locale-data/ru-KG.js +66 -0
  464. package/locale-data/ru-KZ.js +66 -0
  465. package/locale-data/ru-MD.js +66 -0
  466. package/locale-data/ru-UA.js +66 -0
  467. package/locale-data/ru.js +66 -0
  468. package/locale-data/rw.js +66 -0
  469. package/locale-data/rwk.js +66 -0
  470. package/locale-data/sa.js +66 -0
  471. package/locale-data/sah.js +66 -0
  472. package/locale-data/saq.js +66 -0
  473. package/locale-data/sat-Olck.js +66 -0
  474. package/locale-data/sat.js +66 -0
  475. package/locale-data/sbp.js +66 -0
  476. package/locale-data/sc.js +66 -0
  477. package/locale-data/sd-Arab.js +66 -0
  478. package/locale-data/sd-Deva.js +66 -0
  479. package/locale-data/sd.js +66 -0
  480. package/locale-data/se-FI.js +66 -0
  481. package/locale-data/se-SE.js +66 -0
  482. package/locale-data/se.js +66 -0
  483. package/locale-data/seh.js +66 -0
  484. package/locale-data/ses.js +66 -0
  485. package/locale-data/sg.js +66 -0
  486. package/locale-data/shi-Latn.js +66 -0
  487. package/locale-data/shi-Tfng.js +66 -0
  488. package/locale-data/shi.js +66 -0
  489. package/locale-data/si.js +66 -0
  490. package/locale-data/sk.js +66 -0
  491. package/locale-data/sl.js +66 -0
  492. package/locale-data/smn.js +66 -0
  493. package/locale-data/sn.js +66 -0
  494. package/locale-data/so-DJ.js +66 -0
  495. package/locale-data/so-ET.js +66 -0
  496. package/locale-data/so-KE.js +66 -0
  497. package/locale-data/so.js +66 -0
  498. package/locale-data/sq-MK.js +66 -0
  499. package/locale-data/sq-XK.js +66 -0
  500. package/locale-data/sq.js +66 -0
  501. package/locale-data/sr-Cyrl-BA.js +66 -0
  502. package/locale-data/sr-Cyrl-ME.js +66 -0
  503. package/locale-data/sr-Cyrl-XK.js +66 -0
  504. package/locale-data/sr-Cyrl.js +66 -0
  505. package/locale-data/sr-Latn-BA.js +66 -0
  506. package/locale-data/sr-Latn-ME.js +66 -0
  507. package/locale-data/sr-Latn-XK.js +66 -0
  508. package/locale-data/sr-Latn.js +66 -0
  509. package/locale-data/sr.js +66 -0
  510. package/locale-data/su-Latn.js +66 -0
  511. package/locale-data/su.js +66 -0
  512. package/locale-data/sv-AX.js +66 -0
  513. package/locale-data/sv-FI.js +66 -0
  514. package/locale-data/sv.js +66 -0
  515. package/locale-data/sw-CD.js +66 -0
  516. package/locale-data/sw-KE.js +66 -0
  517. package/locale-data/sw-UG.js +66 -0
  518. package/locale-data/sw.js +66 -0
  519. package/locale-data/ta-LK.js +66 -0
  520. package/locale-data/ta-MY.js +66 -0
  521. package/locale-data/ta-SG.js +66 -0
  522. package/locale-data/ta.js +66 -0
  523. package/locale-data/te.js +66 -0
  524. package/locale-data/teo-KE.js +66 -0
  525. package/locale-data/teo.js +66 -0
  526. package/locale-data/tg.js +66 -0
  527. package/locale-data/th.js +66 -0
  528. package/locale-data/ti-ER.js +66 -0
  529. package/locale-data/ti.js +66 -0
  530. package/locale-data/tk.js +66 -0
  531. package/locale-data/to.js +66 -0
  532. package/locale-data/tr-CY.js +66 -0
  533. package/locale-data/tr.js +66 -0
  534. package/locale-data/tt.js +66 -0
  535. package/locale-data/twq.js +66 -0
  536. package/locale-data/tzm.js +66 -0
  537. package/locale-data/ug.js +66 -0
  538. package/locale-data/uk.js +66 -0
  539. package/locale-data/und.js +66 -0
  540. package/locale-data/ur-IN.js +66 -0
  541. package/locale-data/ur.js +66 -0
  542. package/locale-data/uz-Arab.js +66 -0
  543. package/locale-data/uz-Cyrl.js +66 -0
  544. package/locale-data/uz-Latn.js +66 -0
  545. package/locale-data/uz.js +66 -0
  546. package/locale-data/vai-Latn.js +66 -0
  547. package/locale-data/vai-Vaii.js +66 -0
  548. package/locale-data/vai.js +66 -0
  549. package/locale-data/vi.js +66 -0
  550. package/locale-data/vun.js +66 -0
  551. package/locale-data/wae.js +66 -0
  552. package/locale-data/wo.js +66 -0
  553. package/locale-data/xh.js +66 -0
  554. package/locale-data/xog.js +66 -0
  555. package/locale-data/yav.js +66 -0
  556. package/locale-data/yi.js +66 -0
  557. package/locale-data/yo-BJ.js +66 -0
  558. package/locale-data/yo.js +66 -0
  559. package/locale-data/yrl-CO.js +66 -0
  560. package/locale-data/yrl-VE.js +66 -0
  561. package/locale-data/yrl.js +66 -0
  562. package/locale-data/yue-Hans.js +66 -0
  563. package/locale-data/yue-Hant.js +66 -0
  564. package/locale-data/yue.js +66 -0
  565. package/locale-data/zgh.js +66 -0
  566. package/locale-data/zh-Hans-HK.js +66 -0
  567. package/locale-data/zh-Hans-MO.js +66 -0
  568. package/locale-data/zh-Hans-SG.js +66 -0
  569. package/locale-data/zh-Hans.js +66 -0
  570. package/locale-data/zh-Hant-HK.js +66 -0
  571. package/locale-data/zh-Hant-MO.js +66 -0
  572. package/locale-data/zh-Hant.js +66 -0
  573. package/locale-data/zh.js +66 -0
  574. package/locale-data/zu.js +66 -0
  575. package/package.json +4 -5
  576. package/polyfill-force.d.ts +1 -1
  577. package/polyfill-force.js +403 -1
  578. package/polyfill-force.js.map +1 -0
  579. package/polyfill.d.ts +1 -1
  580. package/polyfill.iife.js +4688 -7204
  581. package/polyfill.js +988 -2
  582. package/polyfill.js.map +1 -0
  583. package/should-polyfill.d.ts +5 -1
  584. package/should-polyfill.js +583 -8
  585. package/should-polyfill.js.map +1 -0
  586. package/supported-locales.generated.d.ts +0 -1
  587. package/supported-locales.generated.js +0 -573
package/polyfill.js CHANGED
@@ -1,5 +1,983 @@
1
- import ListFormat from "./index.js";
2
- import { shouldPolyfill } from "./should-polyfill.js";
1
+ import { LookupSupportedLocales, ResolveLocale, match } from "@formatjs/intl-localematcher";
2
+ //#region packages/ecma402-abstract/CanonicalizeLocaleList.js
3
+ /**
4
+ * http://ecma-international.org/ecma-402/7.0/index.html#sec-canonicalizelocalelist
5
+ * @param locales
6
+ */
7
+ function CanonicalizeLocaleList(locales) {
8
+ return Intl.getCanonicalLocales(locales);
9
+ }
10
+ //#endregion
11
+ //#region packages/ecma262-abstract/ToString.js
12
+ /**
13
+ * https://tc39.es/ecma262/#sec-tostring
14
+ */
15
+ function ToString(o) {
16
+ if (typeof o === "symbol") throw TypeError("Cannot convert a Symbol value to a string");
17
+ return String(o);
18
+ }
19
+ //#endregion
20
+ //#region packages/ecma402-abstract/GetOption.js
21
+ /**
22
+ * https://tc39.es/ecma402/#sec-getoption
23
+ * @param opts
24
+ * @param prop
25
+ * @param type
26
+ * @param values
27
+ * @param fallback
28
+ */
29
+ function GetOption(opts, prop, type, values, fallback) {
30
+ if (typeof opts !== "object") throw new TypeError("Options must be an object");
31
+ let value = opts[prop];
32
+ if (value !== void 0) {
33
+ if (type !== "boolean" && type !== "string") throw new TypeError("invalid type");
34
+ if (type === "boolean") value = Boolean(value);
35
+ if (type === "string") value = ToString(value);
36
+ if (values !== void 0 && !values.filter((val) => val == value).length) throw new RangeError(`${value} is not within ${values.join(", ")}`);
37
+ return value;
38
+ }
39
+ return fallback;
40
+ }
41
+ //#endregion
42
+ //#region packages/ecma402-abstract/GetOptionsObject.js
43
+ /**
44
+ * https://tc39.es/ecma402/#sec-getoptionsobject
45
+ * @param options
46
+ * @returns
47
+ */
48
+ function GetOptionsObject(options) {
49
+ if (typeof options === "undefined") return Object.create(null);
50
+ if (typeof options === "object") return options;
51
+ throw new TypeError("Options must be an object");
52
+ }
53
+ //#endregion
54
+ //#region node_modules/.aspect_rules_js/@formatjs+fast-memoize@0.0.0/node_modules/@formatjs/fast-memoize/index.js
55
+ function memoize(fn, options) {
56
+ const cache = options && options.cache ? options.cache : cacheDefault;
57
+ const serializer = options && options.serializer ? options.serializer : serializerDefault;
58
+ return (options && options.strategy ? options.strategy : strategyDefault)(fn, {
59
+ cache,
60
+ serializer
61
+ });
62
+ }
63
+ function isPrimitive(value) {
64
+ return value == null || typeof value === "number" || typeof value === "boolean";
65
+ }
66
+ function monadic(fn, cache, serializer, arg) {
67
+ const cacheKey = isPrimitive(arg) ? arg : serializer(arg);
68
+ let computedValue = cache.get(cacheKey);
69
+ if (typeof computedValue === "undefined") {
70
+ computedValue = fn.call(this, arg);
71
+ cache.set(cacheKey, computedValue);
72
+ }
73
+ return computedValue;
74
+ }
75
+ function variadic(fn, cache, serializer) {
76
+ const args = Array.prototype.slice.call(arguments, 3);
77
+ const cacheKey = serializer(args);
78
+ let computedValue = cache.get(cacheKey);
79
+ if (typeof computedValue === "undefined") {
80
+ computedValue = fn.apply(this, args);
81
+ cache.set(cacheKey, computedValue);
82
+ }
83
+ return computedValue;
84
+ }
85
+ function assemble(fn, context, strategy, cache, serialize) {
86
+ return strategy.bind(context, fn, cache, serialize);
87
+ }
88
+ function strategyDefault(fn, options) {
89
+ const strategy = fn.length === 1 ? monadic : variadic;
90
+ return assemble(fn, this, strategy, options.cache.create(), options.serializer);
91
+ }
92
+ function strategyVariadic(fn, options) {
93
+ return assemble(fn, this, variadic, options.cache.create(), options.serializer);
94
+ }
95
+ function strategyMonadic(fn, options) {
96
+ return assemble(fn, this, monadic, options.cache.create(), options.serializer);
97
+ }
98
+ const serializerDefault = function() {
99
+ return JSON.stringify(arguments);
100
+ };
101
+ var ObjectWithoutPrototypeCache = class {
102
+ constructor() {
103
+ this.cache = Object.create(null);
104
+ }
105
+ get(key) {
106
+ return this.cache[key];
107
+ }
108
+ set(key, value) {
109
+ this.cache[key] = value;
110
+ }
111
+ };
112
+ const cacheDefault = { create: function create() {
113
+ return new ObjectWithoutPrototypeCache();
114
+ } };
115
+ const strategies = {
116
+ variadic: strategyVariadic,
117
+ monadic: strategyMonadic
118
+ };
119
+ //#endregion
120
+ //#region packages/ecma402-abstract/utils.js
121
+ function setInternalSlot(map, pl, field, value) {
122
+ if (!map.get(pl)) map.set(pl, Object.create(null));
123
+ const slots = map.get(pl);
124
+ slots[field] = value;
125
+ }
126
+ function getInternalSlot(map, pl, field) {
127
+ return getMultiInternalSlots(map, pl, field)[field];
128
+ }
129
+ function getMultiInternalSlots(map, pl, ...fields) {
130
+ const slots = map.get(pl);
131
+ if (!slots) throw new TypeError(`${pl} InternalSlot has not been initialized`);
132
+ return fields.reduce((all, f) => {
133
+ all[f] = slots[f];
134
+ return all;
135
+ }, Object.create(null));
136
+ }
137
+ function isLiteralPart(patternPart) {
138
+ return patternPart.type === "literal";
139
+ }
140
+ function invariant(condition, message, Err = Error) {
141
+ if (!condition) throw new Err(message);
142
+ }
143
+ memoize((...args) => new Intl.NumberFormat(...args), { strategy: strategies.variadic });
144
+ memoize((...args) => new Intl.PluralRules(...args), { strategy: strategies.variadic });
145
+ memoize((...args) => new Intl.Locale(...args), { strategy: strategies.variadic });
146
+ memoize((...args) => new Intl.ListFormat(...args), { strategy: strategies.variadic });
147
+ //#endregion
148
+ //#region packages/ecma402-abstract/PartitionPattern.js
149
+ /**
150
+ * Partition a pattern into a list of literals and placeholders
151
+ * https://tc39.es/ecma402/#sec-partitionpattern
152
+ * @param pattern
153
+ */
154
+ function PartitionPattern(pattern) {
155
+ const result = [];
156
+ let beginIndex = pattern.indexOf("{");
157
+ let endIndex = 0;
158
+ let nextIndex = 0;
159
+ const length = pattern.length;
160
+ while (beginIndex < pattern.length && beginIndex > -1) {
161
+ endIndex = pattern.indexOf("}", beginIndex);
162
+ invariant(endIndex > beginIndex, `Invalid pattern ${pattern}`);
163
+ if (beginIndex > nextIndex) result.push({
164
+ type: "literal",
165
+ value: pattern.substring(nextIndex, beginIndex)
166
+ });
167
+ result.push({
168
+ type: pattern.substring(beginIndex + 1, endIndex),
169
+ value: void 0
170
+ });
171
+ nextIndex = endIndex + 1;
172
+ beginIndex = pattern.indexOf("{", nextIndex);
173
+ }
174
+ if (nextIndex < length) result.push({
175
+ type: "literal",
176
+ value: pattern.substring(nextIndex, length)
177
+ });
178
+ return result;
179
+ }
180
+ //#endregion
181
+ //#region packages/ecma262-abstract/ToObject.js
182
+ /**
183
+ * https://tc39.es/ecma262/#sec-toobject
184
+ */
185
+ function ToObject(arg) {
186
+ if (arg == null) throw new TypeError("undefined/null cannot be converted to object");
187
+ return Object(arg);
188
+ }
189
+ //#endregion
190
+ //#region packages/ecma402-abstract/SupportedLocales.js
191
+ /**
192
+ * https://tc39.es/ecma402/#sec-supportedlocales
193
+ * @param availableLocales
194
+ * @param requestedLocales
195
+ * @param options
196
+ */
197
+ function SupportedLocales(availableLocales, requestedLocales, options) {
198
+ let matcher = "best fit";
199
+ if (options !== void 0) {
200
+ options = ToObject(options);
201
+ matcher = GetOption(options, "localeMatcher", "string", ["lookup", "best fit"], "best fit");
202
+ }
203
+ if (matcher === "best fit") return LookupSupportedLocales(Array.from(availableLocales), requestedLocales);
204
+ return LookupSupportedLocales(Array.from(availableLocales), requestedLocales);
205
+ }
206
+ //#endregion
207
+ //#region packages/intl-listformat/index.ts
208
+ function validateInstance(instance, method) {
209
+ if (!(instance instanceof ListFormat)) throw new TypeError(`Method Intl.ListFormat.prototype.${method} called on incompatible receiver ${String(instance)}`);
210
+ }
211
+ /**
212
+ * https://tc39.es/proposal-intl-list-format/#sec-createstringlistfromiterable
213
+ * @param iterable list
214
+ */
215
+ function stringListFromIterable(iterable) {
216
+ if (typeof iterable !== "object") return [];
217
+ const elements = [];
218
+ const iterator = iterable[Symbol.iterator]();
219
+ let result;
220
+ while (true) {
221
+ result = iterator.next();
222
+ if (result.done) break;
223
+ if (typeof result.value !== "string") {
224
+ const nextValue = result.value;
225
+ throw new TypeError(`Iterable yielded ${nextValue} which is not a string`);
226
+ }
227
+ elements.push(result.value);
228
+ }
229
+ return elements;
230
+ }
231
+ function createPartsFromList(internalSlotMap, lf, list) {
232
+ const size = list.length;
233
+ if (size === 0) return [];
234
+ if (size === 2) return deconstructPattern(getInternalSlot(internalSlotMap, lf, "templatePair"), {
235
+ "0": {
236
+ type: "element",
237
+ value: list[0]
238
+ },
239
+ "1": {
240
+ type: "element",
241
+ value: list[1]
242
+ }
243
+ });
244
+ let parts = {
245
+ type: "element",
246
+ value: list[size - 1]
247
+ };
248
+ let i = size - 2;
249
+ while (i >= 0) {
250
+ let pattern;
251
+ if (i === 0) pattern = getInternalSlot(internalSlotMap, lf, "templateStart");
252
+ else if (i < size - 2) pattern = getInternalSlot(internalSlotMap, lf, "templateMiddle");
253
+ else pattern = getInternalSlot(internalSlotMap, lf, "templateEnd");
254
+ const head = {
255
+ type: "element",
256
+ value: list[i]
257
+ };
258
+ parts = deconstructPattern(pattern, {
259
+ "0": head,
260
+ "1": parts
261
+ });
262
+ i--;
263
+ }
264
+ return parts;
265
+ }
266
+ function deconstructPattern(pattern, placeables) {
267
+ const patternParts = PartitionPattern(pattern);
268
+ const result = [];
269
+ for (const patternPart of patternParts) {
270
+ const { type: part } = patternPart;
271
+ if (isLiteralPart(patternPart)) result.push({
272
+ type: "literal",
273
+ value: patternPart.value
274
+ });
275
+ else {
276
+ invariant(part in placeables, `${part} is missing from placables`);
277
+ const subst = placeables[part];
278
+ if (Array.isArray(subst)) result.push(...subst);
279
+ else result.push(subst);
280
+ }
281
+ }
282
+ return result;
283
+ }
284
+ var ListFormat = class ListFormat {
285
+ constructor(locales, options) {
286
+ if (!(this && this instanceof ListFormat ? this.constructor : void 0)) throw new TypeError("Intl.ListFormat must be called with 'new'");
287
+ setInternalSlot(ListFormat.__INTERNAL_SLOT_MAP__, this, "initializedListFormat", true);
288
+ const requestedLocales = CanonicalizeLocaleList(locales);
289
+ const opt = Object.create(null);
290
+ const opts = GetOptionsObject(options);
291
+ opt.localeMatcher = GetOption(opts, "localeMatcher", "string", ["best fit", "lookup"], "best fit");
292
+ const { localeData } = ListFormat;
293
+ const r = ResolveLocale(ListFormat.availableLocales, requestedLocales, opt, ListFormat.relevantExtensionKeys, localeData, ListFormat.getDefaultLocale);
294
+ setInternalSlot(ListFormat.__INTERNAL_SLOT_MAP__, this, "locale", r.locale);
295
+ const type = GetOption(opts, "type", "string", [
296
+ "conjunction",
297
+ "disjunction",
298
+ "unit"
299
+ ], "conjunction");
300
+ setInternalSlot(ListFormat.__INTERNAL_SLOT_MAP__, this, "type", type);
301
+ const style = GetOption(opts, "style", "string", [
302
+ "long",
303
+ "short",
304
+ "narrow"
305
+ ], "long");
306
+ setInternalSlot(ListFormat.__INTERNAL_SLOT_MAP__, this, "style", style);
307
+ const { dataLocale } = r;
308
+ const dataLocaleData = localeData[dataLocale];
309
+ invariant(!!dataLocaleData, `Missing locale data for ${dataLocale}`);
310
+ const templates = dataLocaleData[type][style];
311
+ setInternalSlot(ListFormat.__INTERNAL_SLOT_MAP__, this, "templatePair", templates.pair);
312
+ setInternalSlot(ListFormat.__INTERNAL_SLOT_MAP__, this, "templateStart", templates.start);
313
+ setInternalSlot(ListFormat.__INTERNAL_SLOT_MAP__, this, "templateMiddle", templates.middle);
314
+ setInternalSlot(ListFormat.__INTERNAL_SLOT_MAP__, this, "templateEnd", templates.end);
315
+ }
316
+ format(elements) {
317
+ validateInstance(this, "format");
318
+ let result = "";
319
+ const parts = createPartsFromList(ListFormat.__INTERNAL_SLOT_MAP__, this, stringListFromIterable(elements));
320
+ if (!Array.isArray(parts)) return parts.value;
321
+ for (const p of parts) result += p.value;
322
+ return result;
323
+ }
324
+ formatToParts(elements) {
325
+ validateInstance(this, "format");
326
+ const parts = createPartsFromList(ListFormat.__INTERNAL_SLOT_MAP__, this, stringListFromIterable(elements));
327
+ if (!Array.isArray(parts)) return [parts];
328
+ const result = [];
329
+ for (const part of parts) result.push({ ...part });
330
+ return result;
331
+ }
332
+ resolvedOptions() {
333
+ validateInstance(this, "resolvedOptions");
334
+ return {
335
+ locale: getInternalSlot(ListFormat.__INTERNAL_SLOT_MAP__, this, "locale"),
336
+ type: getInternalSlot(ListFormat.__INTERNAL_SLOT_MAP__, this, "type"),
337
+ style: getInternalSlot(ListFormat.__INTERNAL_SLOT_MAP__, this, "style")
338
+ };
339
+ }
340
+ static supportedLocalesOf(locales, options) {
341
+ return SupportedLocales(ListFormat.availableLocales, CanonicalizeLocaleList(locales), options);
342
+ }
343
+ static __addLocaleData(...data) {
344
+ for (const { data: d, locale } of data) {
345
+ const minimizedLocale = new Intl.Locale(locale).minimize().toString();
346
+ ListFormat.localeData[locale] = ListFormat.localeData[minimizedLocale] = d;
347
+ ListFormat.availableLocales.add(minimizedLocale);
348
+ ListFormat.availableLocales.add(locale);
349
+ if (!ListFormat.__defaultLocale) ListFormat.__defaultLocale = minimizedLocale;
350
+ }
351
+ }
352
+ static {
353
+ this.localeData = {};
354
+ }
355
+ static {
356
+ this.availableLocales = /* @__PURE__ */ new Set();
357
+ }
358
+ static {
359
+ this.__defaultLocale = "";
360
+ }
361
+ static getDefaultLocale() {
362
+ return ListFormat.__defaultLocale;
363
+ }
364
+ static {
365
+ this.relevantExtensionKeys = [];
366
+ }
367
+ static {
368
+ this.polyfilled = true;
369
+ }
370
+ static {
371
+ this.__INTERNAL_SLOT_MAP__ = /* @__PURE__ */ new WeakMap();
372
+ }
373
+ };
374
+ try {
375
+ if (typeof Symbol !== "undefined") Object.defineProperty(ListFormat.prototype, Symbol.toStringTag, {
376
+ value: "Intl.ListFormat",
377
+ writable: false,
378
+ enumerable: false,
379
+ configurable: true
380
+ });
381
+ Object.defineProperty(ListFormat.prototype.constructor, "length", {
382
+ value: 0,
383
+ writable: false,
384
+ enumerable: false,
385
+ configurable: true
386
+ });
387
+ Object.defineProperty(ListFormat.supportedLocalesOf, "length", {
388
+ value: 1,
389
+ writable: false,
390
+ enumerable: false,
391
+ configurable: true
392
+ });
393
+ } catch {}
394
+ //#endregion
395
+ //#region packages/intl-listformat/supported-locales.generated.ts
396
+ const supportedLocales = [
397
+ "af",
398
+ "af-NA",
399
+ "agq",
400
+ "ak",
401
+ "am",
402
+ "ar",
403
+ "ar-AE",
404
+ "ar-BH",
405
+ "ar-DJ",
406
+ "ar-DZ",
407
+ "ar-EG",
408
+ "ar-EH",
409
+ "ar-ER",
410
+ "ar-IL",
411
+ "ar-IQ",
412
+ "ar-JO",
413
+ "ar-KM",
414
+ "ar-KW",
415
+ "ar-LB",
416
+ "ar-LY",
417
+ "ar-MA",
418
+ "ar-MR",
419
+ "ar-OM",
420
+ "ar-PS",
421
+ "ar-QA",
422
+ "ar-SA",
423
+ "ar-SD",
424
+ "ar-SO",
425
+ "ar-SS",
426
+ "ar-SY",
427
+ "ar-TD",
428
+ "ar-TN",
429
+ "ar-YE",
430
+ "as",
431
+ "asa",
432
+ "ast",
433
+ "az",
434
+ "az-Cyrl",
435
+ "az-Latn",
436
+ "bas",
437
+ "be",
438
+ "be-tarask",
439
+ "bem",
440
+ "bez",
441
+ "bg",
442
+ "bm",
443
+ "bn",
444
+ "bn-IN",
445
+ "bo",
446
+ "bo-IN",
447
+ "br",
448
+ "brx",
449
+ "bs",
450
+ "bs-Cyrl",
451
+ "bs-Latn",
452
+ "ca",
453
+ "ca-AD",
454
+ "ca-ES-valencia",
455
+ "ca-FR",
456
+ "ca-IT",
457
+ "ccp",
458
+ "ccp-IN",
459
+ "ce",
460
+ "ceb",
461
+ "cgg",
462
+ "chr",
463
+ "ckb",
464
+ "ckb-IR",
465
+ "cs",
466
+ "cy",
467
+ "da",
468
+ "da-GL",
469
+ "dav",
470
+ "de",
471
+ "de-AT",
472
+ "de-BE",
473
+ "de-CH",
474
+ "de-IT",
475
+ "de-LI",
476
+ "de-LU",
477
+ "dje",
478
+ "doi",
479
+ "dsb",
480
+ "dua",
481
+ "dyo",
482
+ "dz",
483
+ "ebu",
484
+ "ee",
485
+ "ee-TG",
486
+ "el",
487
+ "el-CY",
488
+ "en",
489
+ "en-001",
490
+ "en-150",
491
+ "en-AE",
492
+ "en-AG",
493
+ "en-AI",
494
+ "en-AS",
495
+ "en-AT",
496
+ "en-AU",
497
+ "en-BB",
498
+ "en-BE",
499
+ "en-BI",
500
+ "en-BM",
501
+ "en-BS",
502
+ "en-BW",
503
+ "en-BZ",
504
+ "en-CA",
505
+ "en-CC",
506
+ "en-CH",
507
+ "en-CK",
508
+ "en-CM",
509
+ "en-CX",
510
+ "en-CY",
511
+ "en-DE",
512
+ "en-DG",
513
+ "en-DK",
514
+ "en-DM",
515
+ "en-ER",
516
+ "en-FI",
517
+ "en-FJ",
518
+ "en-FK",
519
+ "en-FM",
520
+ "en-GB",
521
+ "en-GD",
522
+ "en-GG",
523
+ "en-GH",
524
+ "en-GI",
525
+ "en-GM",
526
+ "en-GU",
527
+ "en-GY",
528
+ "en-HK",
529
+ "en-IE",
530
+ "en-IL",
531
+ "en-IM",
532
+ "en-IN",
533
+ "en-IO",
534
+ "en-JE",
535
+ "en-JM",
536
+ "en-KE",
537
+ "en-KI",
538
+ "en-KN",
539
+ "en-KY",
540
+ "en-LC",
541
+ "en-LR",
542
+ "en-LS",
543
+ "en-MG",
544
+ "en-MH",
545
+ "en-MO",
546
+ "en-MP",
547
+ "en-MS",
548
+ "en-MT",
549
+ "en-MU",
550
+ "en-MW",
551
+ "en-MY",
552
+ "en-NA",
553
+ "en-NF",
554
+ "en-NG",
555
+ "en-NL",
556
+ "en-NR",
557
+ "en-NU",
558
+ "en-NZ",
559
+ "en-PG",
560
+ "en-PH",
561
+ "en-PK",
562
+ "en-PN",
563
+ "en-PR",
564
+ "en-PW",
565
+ "en-RW",
566
+ "en-SB",
567
+ "en-SC",
568
+ "en-SD",
569
+ "en-SE",
570
+ "en-SG",
571
+ "en-SH",
572
+ "en-SI",
573
+ "en-SL",
574
+ "en-SS",
575
+ "en-SX",
576
+ "en-SZ",
577
+ "en-TC",
578
+ "en-TK",
579
+ "en-TO",
580
+ "en-TT",
581
+ "en-TV",
582
+ "en-TZ",
583
+ "en-UG",
584
+ "en-UM",
585
+ "en-VC",
586
+ "en-VG",
587
+ "en-VI",
588
+ "en-VU",
589
+ "en-WS",
590
+ "en-ZA",
591
+ "en-ZM",
592
+ "en-ZW",
593
+ "eo",
594
+ "es",
595
+ "es-419",
596
+ "es-AR",
597
+ "es-BO",
598
+ "es-BR",
599
+ "es-BZ",
600
+ "es-CL",
601
+ "es-CO",
602
+ "es-CR",
603
+ "es-CU",
604
+ "es-DO",
605
+ "es-EA",
606
+ "es-EC",
607
+ "es-GQ",
608
+ "es-GT",
609
+ "es-HN",
610
+ "es-IC",
611
+ "es-MX",
612
+ "es-NI",
613
+ "es-PA",
614
+ "es-PE",
615
+ "es-PH",
616
+ "es-PR",
617
+ "es-PY",
618
+ "es-SV",
619
+ "es-US",
620
+ "es-UY",
621
+ "es-VE",
622
+ "et",
623
+ "eu",
624
+ "ewo",
625
+ "fa",
626
+ "fa-AF",
627
+ "ff",
628
+ "ff-Adlm",
629
+ "ff-Adlm-BF",
630
+ "ff-Adlm-CM",
631
+ "ff-Adlm-GH",
632
+ "ff-Adlm-GM",
633
+ "ff-Adlm-GW",
634
+ "ff-Adlm-LR",
635
+ "ff-Adlm-MR",
636
+ "ff-Adlm-NE",
637
+ "ff-Adlm-NG",
638
+ "ff-Adlm-SL",
639
+ "ff-Adlm-SN",
640
+ "ff-Latn",
641
+ "ff-Latn-BF",
642
+ "ff-Latn-CM",
643
+ "ff-Latn-GH",
644
+ "ff-Latn-GM",
645
+ "ff-Latn-GN",
646
+ "ff-Latn-GW",
647
+ "ff-Latn-LR",
648
+ "ff-Latn-MR",
649
+ "ff-Latn-NE",
650
+ "ff-Latn-NG",
651
+ "ff-Latn-SL",
652
+ "fi",
653
+ "fil",
654
+ "fo",
655
+ "fo-DK",
656
+ "fr",
657
+ "fr-BE",
658
+ "fr-BF",
659
+ "fr-BI",
660
+ "fr-BJ",
661
+ "fr-BL",
662
+ "fr-CA",
663
+ "fr-CD",
664
+ "fr-CF",
665
+ "fr-CG",
666
+ "fr-CH",
667
+ "fr-CI",
668
+ "fr-CM",
669
+ "fr-DJ",
670
+ "fr-DZ",
671
+ "fr-GA",
672
+ "fr-GF",
673
+ "fr-GN",
674
+ "fr-GP",
675
+ "fr-GQ",
676
+ "fr-HT",
677
+ "fr-KM",
678
+ "fr-LU",
679
+ "fr-MA",
680
+ "fr-MC",
681
+ "fr-MF",
682
+ "fr-MG",
683
+ "fr-ML",
684
+ "fr-MQ",
685
+ "fr-MR",
686
+ "fr-MU",
687
+ "fr-NC",
688
+ "fr-NE",
689
+ "fr-PF",
690
+ "fr-PM",
691
+ "fr-RE",
692
+ "fr-RW",
693
+ "fr-SC",
694
+ "fr-SN",
695
+ "fr-SY",
696
+ "fr-TD",
697
+ "fr-TG",
698
+ "fr-TN",
699
+ "fr-VU",
700
+ "fr-WF",
701
+ "fr-YT",
702
+ "fur",
703
+ "fy",
704
+ "ga",
705
+ "ga-GB",
706
+ "gd",
707
+ "gl",
708
+ "gsw",
709
+ "gsw-FR",
710
+ "gsw-LI",
711
+ "gu",
712
+ "guz",
713
+ "gv",
714
+ "ha",
715
+ "ha-GH",
716
+ "ha-NE",
717
+ "haw",
718
+ "he",
719
+ "hi",
720
+ "hr",
721
+ "hr-BA",
722
+ "hsb",
723
+ "hu",
724
+ "hy",
725
+ "ia",
726
+ "id",
727
+ "ig",
728
+ "ii",
729
+ "is",
730
+ "it",
731
+ "it-CH",
732
+ "it-SM",
733
+ "it-VA",
734
+ "ja",
735
+ "jgo",
736
+ "jmc",
737
+ "jv",
738
+ "ka",
739
+ "kab",
740
+ "kam",
741
+ "kde",
742
+ "kea",
743
+ "kgp",
744
+ "khq",
745
+ "ki",
746
+ "kk",
747
+ "kkj",
748
+ "kl",
749
+ "kln",
750
+ "km",
751
+ "kn",
752
+ "ko",
753
+ "ko-KP",
754
+ "kok",
755
+ "ks",
756
+ "ks-Arab",
757
+ "ksb",
758
+ "ksf",
759
+ "ksh",
760
+ "ku",
761
+ "kw",
762
+ "ky",
763
+ "lag",
764
+ "lb",
765
+ "lg",
766
+ "lkt",
767
+ "ln",
768
+ "ln-AO",
769
+ "ln-CF",
770
+ "ln-CG",
771
+ "lo",
772
+ "lrc",
773
+ "lrc-IQ",
774
+ "lt",
775
+ "lu",
776
+ "luo",
777
+ "luy",
778
+ "lv",
779
+ "mai",
780
+ "mas",
781
+ "mas-TZ",
782
+ "mer",
783
+ "mfe",
784
+ "mg",
785
+ "mgh",
786
+ "mgo",
787
+ "mi",
788
+ "mk",
789
+ "ml",
790
+ "mn",
791
+ "mni",
792
+ "mni-Beng",
793
+ "mr",
794
+ "ms",
795
+ "ms-BN",
796
+ "ms-ID",
797
+ "ms-SG",
798
+ "mt",
799
+ "mua",
800
+ "my",
801
+ "mzn",
802
+ "naq",
803
+ "nb",
804
+ "nb-SJ",
805
+ "nd",
806
+ "nds",
807
+ "nds-NL",
808
+ "ne",
809
+ "ne-IN",
810
+ "nl",
811
+ "nl-AW",
812
+ "nl-BE",
813
+ "nl-BQ",
814
+ "nl-CW",
815
+ "nl-SR",
816
+ "nl-SX",
817
+ "nmg",
818
+ "nn",
819
+ "nnh",
820
+ "no",
821
+ "nus",
822
+ "nyn",
823
+ "om",
824
+ "om-KE",
825
+ "or",
826
+ "os",
827
+ "os-RU",
828
+ "pa",
829
+ "pa-Arab",
830
+ "pa-Guru",
831
+ "pcm",
832
+ "pl",
833
+ "ps",
834
+ "ps-PK",
835
+ "pt",
836
+ "pt-AO",
837
+ "pt-CH",
838
+ "pt-CV",
839
+ "pt-GQ",
840
+ "pt-GW",
841
+ "pt-LU",
842
+ "pt-MO",
843
+ "pt-MZ",
844
+ "pt-PT",
845
+ "pt-ST",
846
+ "pt-TL",
847
+ "qu",
848
+ "qu-BO",
849
+ "qu-EC",
850
+ "rm",
851
+ "rn",
852
+ "ro",
853
+ "ro-MD",
854
+ "rof",
855
+ "ru",
856
+ "ru-BY",
857
+ "ru-KG",
858
+ "ru-KZ",
859
+ "ru-MD",
860
+ "ru-UA",
861
+ "rw",
862
+ "rwk",
863
+ "sa",
864
+ "sah",
865
+ "saq",
866
+ "sat",
867
+ "sat-Olck",
868
+ "sbp",
869
+ "sc",
870
+ "sd",
871
+ "sd-Arab",
872
+ "sd-Deva",
873
+ "se",
874
+ "se-FI",
875
+ "se-SE",
876
+ "seh",
877
+ "ses",
878
+ "sg",
879
+ "shi",
880
+ "shi-Latn",
881
+ "shi-Tfng",
882
+ "si",
883
+ "sk",
884
+ "sl",
885
+ "smn",
886
+ "sn",
887
+ "so",
888
+ "so-DJ",
889
+ "so-ET",
890
+ "so-KE",
891
+ "sq",
892
+ "sq-MK",
893
+ "sq-XK",
894
+ "sr",
895
+ "sr-Cyrl",
896
+ "sr-Cyrl-BA",
897
+ "sr-Cyrl-ME",
898
+ "sr-Cyrl-XK",
899
+ "sr-Latn",
900
+ "sr-Latn-BA",
901
+ "sr-Latn-ME",
902
+ "sr-Latn-XK",
903
+ "su",
904
+ "su-Latn",
905
+ "sv",
906
+ "sv-AX",
907
+ "sv-FI",
908
+ "sw",
909
+ "sw-CD",
910
+ "sw-KE",
911
+ "sw-UG",
912
+ "ta",
913
+ "ta-LK",
914
+ "ta-MY",
915
+ "ta-SG",
916
+ "te",
917
+ "teo",
918
+ "teo-KE",
919
+ "tg",
920
+ "th",
921
+ "ti",
922
+ "ti-ER",
923
+ "tk",
924
+ "to",
925
+ "tr",
926
+ "tr-CY",
927
+ "tt",
928
+ "twq",
929
+ "tzm",
930
+ "ug",
931
+ "uk",
932
+ "und",
933
+ "ur",
934
+ "ur-IN",
935
+ "uz",
936
+ "uz-Arab",
937
+ "uz-Cyrl",
938
+ "uz-Latn",
939
+ "vai",
940
+ "vai-Latn",
941
+ "vai-Vaii",
942
+ "vi",
943
+ "vun",
944
+ "wae",
945
+ "wo",
946
+ "xh",
947
+ "xog",
948
+ "yav",
949
+ "yi",
950
+ "yo",
951
+ "yo-BJ",
952
+ "yrl",
953
+ "yrl-CO",
954
+ "yrl-VE",
955
+ "yue",
956
+ "yue-Hans",
957
+ "yue-Hant",
958
+ "zgh",
959
+ "zh",
960
+ "zh-Hans",
961
+ "zh-Hans-HK",
962
+ "zh-Hans-MO",
963
+ "zh-Hans-SG",
964
+ "zh-Hant",
965
+ "zh-Hant-HK",
966
+ "zh-Hant-MO",
967
+ "zu"
968
+ ];
969
+ //#endregion
970
+ //#region packages/intl-listformat/should-polyfill.ts
971
+ function supportedLocalesOf(locale) {
972
+ if (!locale) return true;
973
+ const locales = Array.isArray(locale) ? locale : [locale];
974
+ return Intl.ListFormat.supportedLocalesOf(locales).length === locales.length;
975
+ }
976
+ function shouldPolyfill(locale = "en") {
977
+ if (!("ListFormat" in Intl) || !supportedLocalesOf(locale)) return locale ? match([locale], supportedLocales, "en") : void 0;
978
+ }
979
+ //#endregion
980
+ //#region packages/intl-listformat/polyfill.ts
3
981
  if (shouldPolyfill()) {
4
982
  Object.defineProperty(Intl, "ListFormat", {
5
983
  value: ListFormat,
@@ -7,4 +985,12 @@ if (shouldPolyfill()) {
7
985
  enumerable: false,
8
986
  configurable: true
9
987
  });
988
+ const buf = globalThis.__FORMATJS_LISTFORMAT_DATA__;
989
+ if (buf) {
990
+ for (const d of buf) ListFormat.__addLocaleData(d);
991
+ delete globalThis.__FORMATJS_LISTFORMAT_DATA__;
992
+ }
10
993
  }
994
+ //#endregion
995
+
996
+ //# sourceMappingURL=polyfill.js.map