@formatjs/intl-relativetimeformat 7.3.6 → 8.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 (550) hide show
  1. package/index.d.ts.map +1 -1
  2. package/index.js +12 -24
  3. package/lib/index.d.ts.map +1 -1
  4. package/lib/index.js +13 -25
  5. package/locale-data/af-NA.js +1 -1
  6. package/locale-data/af.js +1 -1
  7. package/locale-data/agq.js +1 -1
  8. package/locale-data/ak.js +1 -1
  9. package/locale-data/am.js +1 -1
  10. package/locale-data/ar-AE.js +1 -1
  11. package/locale-data/ar-BH.js +1 -1
  12. package/locale-data/ar-DJ.js +1 -1
  13. package/locale-data/ar-DZ.js +1 -1
  14. package/locale-data/ar-EG.js +1 -1
  15. package/locale-data/ar-EH.js +1 -1
  16. package/locale-data/ar-ER.js +1 -1
  17. package/locale-data/ar-IL.js +1 -1
  18. package/locale-data/ar-IQ.js +1 -1
  19. package/locale-data/ar-JO.js +1 -1
  20. package/locale-data/ar-KM.js +1 -1
  21. package/locale-data/ar-KW.js +1 -1
  22. package/locale-data/ar-LB.js +1 -1
  23. package/locale-data/ar-LY.js +1 -1
  24. package/locale-data/ar-MA.js +1 -1
  25. package/locale-data/ar-MR.js +1 -1
  26. package/locale-data/ar-OM.js +1 -1
  27. package/locale-data/ar-PS.js +1 -1
  28. package/locale-data/ar-QA.js +1 -1
  29. package/locale-data/ar-SA.js +1 -1
  30. package/locale-data/ar-SD.js +1 -1
  31. package/locale-data/ar-SO.js +1 -1
  32. package/locale-data/ar-SS.js +1 -1
  33. package/locale-data/ar-SY.js +1 -1
  34. package/locale-data/ar-TD.js +1 -1
  35. package/locale-data/ar-TN.js +1 -1
  36. package/locale-data/ar-YE.js +1 -1
  37. package/locale-data/ar.js +1 -1
  38. package/locale-data/as.js +1 -1
  39. package/locale-data/asa.js +1 -1
  40. package/locale-data/ast.js +1 -1
  41. package/locale-data/az-Cyrl.js +1 -1
  42. package/locale-data/az-Latn.js +1 -1
  43. package/locale-data/az.js +1 -1
  44. package/locale-data/bas.js +1 -1
  45. package/locale-data/be.js +1 -1
  46. package/locale-data/bem.js +1 -1
  47. package/locale-data/bez.js +1 -1
  48. package/locale-data/bg.js +1 -1
  49. package/locale-data/bm.js +1 -1
  50. package/locale-data/bn-IN.js +1 -1
  51. package/locale-data/bn.js +1 -1
  52. package/locale-data/bo-IN.js +1 -1
  53. package/locale-data/bo.js +1 -1
  54. package/locale-data/br.js +1 -1
  55. package/locale-data/brx.js +1 -1
  56. package/locale-data/bs-Cyrl.js +1 -1
  57. package/locale-data/bs-Latn.js +1 -1
  58. package/locale-data/bs.js +1 -1
  59. package/locale-data/ca-AD.js +1 -1
  60. package/locale-data/ca-ES-VALENCIA.js +1 -1
  61. package/locale-data/ca-FR.js +1 -1
  62. package/locale-data/ca-IT.js +1 -1
  63. package/locale-data/ca.js +1 -1
  64. package/locale-data/ccp-IN.js +1 -1
  65. package/locale-data/ccp.js +1 -1
  66. package/locale-data/ce.js +1 -1
  67. package/locale-data/ceb.js +1 -1
  68. package/locale-data/cgg.js +1 -1
  69. package/locale-data/chr.js +1 -1
  70. package/locale-data/ckb-IR.js +1 -1
  71. package/locale-data/ckb.js +1 -1
  72. package/locale-data/cs.js +1 -1
  73. package/locale-data/cu.js +1 -1
  74. package/locale-data/cy.js +1 -1
  75. package/locale-data/da-GL.js +1 -1
  76. package/locale-data/da.js +1 -1
  77. package/locale-data/dav.js +1 -1
  78. package/locale-data/de-AT.js +1 -1
  79. package/locale-data/de-BE.js +1 -1
  80. package/locale-data/de-CH.js +1 -1
  81. package/locale-data/de-IT.js +1 -1
  82. package/locale-data/de-LI.js +1 -1
  83. package/locale-data/de-LU.js +1 -1
  84. package/locale-data/de.js +1 -1
  85. package/locale-data/dje.js +1 -1
  86. package/locale-data/dsb.js +1 -1
  87. package/locale-data/dua.js +1 -1
  88. package/locale-data/dyo.js +1 -1
  89. package/locale-data/dz.js +1 -1
  90. package/locale-data/ebu.js +1 -1
  91. package/locale-data/ee-TG.js +1 -1
  92. package/locale-data/ee.js +1 -1
  93. package/locale-data/el-CY.js +1 -1
  94. package/locale-data/el.js +1 -1
  95. package/locale-data/en-001.js +1 -1
  96. package/locale-data/en-150.js +1 -1
  97. package/locale-data/en-AE.js +1 -1
  98. package/locale-data/en-AG.js +1 -1
  99. package/locale-data/en-AI.js +1 -1
  100. package/locale-data/en-AS.js +1 -1
  101. package/locale-data/en-AT.js +1 -1
  102. package/locale-data/en-AU.js +1 -1
  103. package/locale-data/en-BB.js +1 -1
  104. package/locale-data/en-BE.js +1 -1
  105. package/locale-data/en-BI.js +1 -1
  106. package/locale-data/en-BM.js +1 -1
  107. package/locale-data/en-BS.js +1 -1
  108. package/locale-data/en-BW.js +1 -1
  109. package/locale-data/en-BZ.js +1 -1
  110. package/locale-data/en-CA.js +1 -1
  111. package/locale-data/en-CC.js +1 -1
  112. package/locale-data/en-CH.js +1 -1
  113. package/locale-data/en-CK.js +1 -1
  114. package/locale-data/en-CM.js +1 -1
  115. package/locale-data/en-CX.js +1 -1
  116. package/locale-data/en-CY.js +1 -1
  117. package/locale-data/en-DE.js +1 -1
  118. package/locale-data/en-DG.js +1 -1
  119. package/locale-data/en-DK.js +1 -1
  120. package/locale-data/en-DM.js +1 -1
  121. package/locale-data/en-ER.js +1 -1
  122. package/locale-data/en-FI.js +1 -1
  123. package/locale-data/en-FJ.js +1 -1
  124. package/locale-data/en-FK.js +1 -1
  125. package/locale-data/en-FM.js +1 -1
  126. package/locale-data/en-GB.js +1 -1
  127. package/locale-data/en-GD.js +1 -1
  128. package/locale-data/en-GG.js +1 -1
  129. package/locale-data/en-GH.js +1 -1
  130. package/locale-data/en-GI.js +1 -1
  131. package/locale-data/en-GM.js +1 -1
  132. package/locale-data/en-GU.js +1 -1
  133. package/locale-data/en-GY.js +1 -1
  134. package/locale-data/en-HK.js +1 -1
  135. package/locale-data/en-IE.js +1 -1
  136. package/locale-data/en-IL.js +1 -1
  137. package/locale-data/en-IM.js +1 -1
  138. package/locale-data/en-IN.js +1 -1
  139. package/locale-data/en-IO.js +1 -1
  140. package/locale-data/en-JE.js +1 -1
  141. package/locale-data/en-JM.js +1 -1
  142. package/locale-data/en-KE.js +1 -1
  143. package/locale-data/en-KI.js +1 -1
  144. package/locale-data/en-KN.js +1 -1
  145. package/locale-data/en-KY.js +1 -1
  146. package/locale-data/en-LC.js +1 -1
  147. package/locale-data/en-LR.js +1 -1
  148. package/locale-data/en-LS.js +1 -1
  149. package/locale-data/en-MG.js +1 -1
  150. package/locale-data/en-MH.js +1 -1
  151. package/locale-data/en-MO.js +1 -1
  152. package/locale-data/en-MP.js +1 -1
  153. package/locale-data/en-MS.js +1 -1
  154. package/locale-data/en-MT.js +1 -1
  155. package/locale-data/en-MU.js +1 -1
  156. package/locale-data/en-MW.js +1 -1
  157. package/locale-data/en-MY.js +1 -1
  158. package/locale-data/en-NA.js +1 -1
  159. package/locale-data/en-NF.js +1 -1
  160. package/locale-data/en-NG.js +1 -1
  161. package/locale-data/en-NL.js +1 -1
  162. package/locale-data/en-NR.js +1 -1
  163. package/locale-data/en-NU.js +1 -1
  164. package/locale-data/en-NZ.js +1 -1
  165. package/locale-data/en-PG.js +1 -1
  166. package/locale-data/en-PH.js +1 -1
  167. package/locale-data/en-PK.js +1 -1
  168. package/locale-data/en-PN.js +1 -1
  169. package/locale-data/en-PR.js +1 -1
  170. package/locale-data/en-PW.js +1 -1
  171. package/locale-data/en-RW.js +1 -1
  172. package/locale-data/en-SB.js +1 -1
  173. package/locale-data/en-SC.js +1 -1
  174. package/locale-data/en-SD.js +1 -1
  175. package/locale-data/en-SE.js +1 -1
  176. package/locale-data/en-SG.js +1 -1
  177. package/locale-data/en-SH.js +1 -1
  178. package/locale-data/en-SI.js +1 -1
  179. package/locale-data/en-SL.js +1 -1
  180. package/locale-data/en-SS.js +1 -1
  181. package/locale-data/en-SX.js +1 -1
  182. package/locale-data/en-SZ.js +1 -1
  183. package/locale-data/en-TC.js +1 -1
  184. package/locale-data/en-TK.js +1 -1
  185. package/locale-data/en-TO.js +1 -1
  186. package/locale-data/en-TT.js +1 -1
  187. package/locale-data/en-TV.js +1 -1
  188. package/locale-data/en-TZ.js +1 -1
  189. package/locale-data/en-UG.js +1 -1
  190. package/locale-data/en-UM.js +1 -1
  191. package/locale-data/en-US.js +1 -1
  192. package/locale-data/en-VC.js +1 -1
  193. package/locale-data/en-VG.js +1 -1
  194. package/locale-data/en-VI.js +1 -1
  195. package/locale-data/en-VU.js +1 -1
  196. package/locale-data/en-WS.js +1 -1
  197. package/locale-data/en-ZA.js +1 -1
  198. package/locale-data/en-ZM.js +1 -1
  199. package/locale-data/en-ZW.js +1 -1
  200. package/locale-data/en.js +1 -1
  201. package/locale-data/eo.js +1 -1
  202. package/locale-data/es-419.js +1 -1
  203. package/locale-data/es-AR.js +1 -1
  204. package/locale-data/es-BO.js +1 -1
  205. package/locale-data/es-BR.js +1 -1
  206. package/locale-data/es-BZ.js +1 -1
  207. package/locale-data/es-CL.js +1 -1
  208. package/locale-data/es-CO.js +1 -1
  209. package/locale-data/es-CR.js +1 -1
  210. package/locale-data/es-CU.js +1 -1
  211. package/locale-data/es-DO.js +1 -1
  212. package/locale-data/es-EA.js +1 -1
  213. package/locale-data/es-EC.js +1 -1
  214. package/locale-data/es-GQ.js +1 -1
  215. package/locale-data/es-GT.js +1 -1
  216. package/locale-data/es-HN.js +1 -1
  217. package/locale-data/es-IC.js +1 -1
  218. package/locale-data/es-MX.js +1 -1
  219. package/locale-data/es-NI.js +1 -1
  220. package/locale-data/es-PA.js +1 -1
  221. package/locale-data/es-PE.js +1 -1
  222. package/locale-data/es-PH.js +1 -1
  223. package/locale-data/es-PR.js +1 -1
  224. package/locale-data/es-PY.js +1 -1
  225. package/locale-data/es-SV.js +1 -1
  226. package/locale-data/es-US.js +1 -1
  227. package/locale-data/es-UY.js +1 -1
  228. package/locale-data/es-VE.js +1 -1
  229. package/locale-data/es.js +1 -1
  230. package/locale-data/et.js +1 -1
  231. package/locale-data/eu.js +1 -1
  232. package/locale-data/ewo.js +1 -1
  233. package/locale-data/fa-AF.js +1 -1
  234. package/locale-data/fa.js +1 -1
  235. package/locale-data/ff-Latn-BF.js +1 -1
  236. package/locale-data/ff-Latn-CM.js +1 -1
  237. package/locale-data/ff-Latn-GH.js +1 -1
  238. package/locale-data/ff-Latn-GM.js +1 -1
  239. package/locale-data/ff-Latn-GN.js +1 -1
  240. package/locale-data/ff-Latn-GW.js +1 -1
  241. package/locale-data/ff-Latn-LR.js +1 -1
  242. package/locale-data/ff-Latn-MR.js +1 -1
  243. package/locale-data/ff-Latn-NE.js +1 -1
  244. package/locale-data/ff-Latn-NG.js +1 -1
  245. package/locale-data/ff-Latn-SL.js +1 -1
  246. package/locale-data/ff-Latn.js +1 -1
  247. package/locale-data/ff.js +1 -1
  248. package/locale-data/fi.js +1 -1
  249. package/locale-data/fil.js +1 -1
  250. package/locale-data/fo-DK.js +1 -1
  251. package/locale-data/fo.js +1 -1
  252. package/locale-data/fr-BE.js +1 -1
  253. package/locale-data/fr-BF.js +1 -1
  254. package/locale-data/fr-BI.js +1 -1
  255. package/locale-data/fr-BJ.js +1 -1
  256. package/locale-data/fr-BL.js +1 -1
  257. package/locale-data/fr-CA.js +1 -1
  258. package/locale-data/fr-CD.js +1 -1
  259. package/locale-data/fr-CF.js +1 -1
  260. package/locale-data/fr-CG.js +1 -1
  261. package/locale-data/fr-CH.js +1 -1
  262. package/locale-data/fr-CI.js +1 -1
  263. package/locale-data/fr-CM.js +1 -1
  264. package/locale-data/fr-DJ.js +1 -1
  265. package/locale-data/fr-DZ.js +1 -1
  266. package/locale-data/fr-GA.js +1 -1
  267. package/locale-data/fr-GF.js +1 -1
  268. package/locale-data/fr-GN.js +1 -1
  269. package/locale-data/fr-GP.js +1 -1
  270. package/locale-data/fr-GQ.js +1 -1
  271. package/locale-data/fr-HT.js +1 -1
  272. package/locale-data/fr-KM.js +1 -1
  273. package/locale-data/fr-LU.js +1 -1
  274. package/locale-data/fr-MA.js +1 -1
  275. package/locale-data/fr-MC.js +1 -1
  276. package/locale-data/fr-MF.js +1 -1
  277. package/locale-data/fr-MG.js +1 -1
  278. package/locale-data/fr-ML.js +1 -1
  279. package/locale-data/fr-MQ.js +1 -1
  280. package/locale-data/fr-MR.js +1 -1
  281. package/locale-data/fr-MU.js +1 -1
  282. package/locale-data/fr-NC.js +1 -1
  283. package/locale-data/fr-NE.js +1 -1
  284. package/locale-data/fr-PF.js +1 -1
  285. package/locale-data/fr-PM.js +1 -1
  286. package/locale-data/fr-RE.js +1 -1
  287. package/locale-data/fr-RW.js +1 -1
  288. package/locale-data/fr-SC.js +1 -1
  289. package/locale-data/fr-SN.js +1 -1
  290. package/locale-data/fr-SY.js +1 -1
  291. package/locale-data/fr-TD.js +1 -1
  292. package/locale-data/fr-TG.js +1 -1
  293. package/locale-data/fr-TN.js +1 -1
  294. package/locale-data/fr-VU.js +1 -1
  295. package/locale-data/fr-WF.js +1 -1
  296. package/locale-data/fr-YT.js +1 -1
  297. package/locale-data/fr.js +1 -1
  298. package/locale-data/fur.js +1 -1
  299. package/locale-data/fy.js +1 -1
  300. package/locale-data/ga-GB.js +1 -1
  301. package/locale-data/ga.js +1 -1
  302. package/locale-data/gd.js +1 -1
  303. package/locale-data/gl.js +1 -1
  304. package/locale-data/gsw-FR.js +1 -1
  305. package/locale-data/gsw-LI.js +1 -1
  306. package/locale-data/gsw.js +1 -1
  307. package/locale-data/gu.js +1 -1
  308. package/locale-data/guz.js +1 -1
  309. package/locale-data/gv.js +1 -1
  310. package/locale-data/ha-GH.js +1 -1
  311. package/locale-data/ha-NE.js +1 -1
  312. package/locale-data/ha.js +1 -1
  313. package/locale-data/haw.js +1 -1
  314. package/locale-data/he.js +1 -1
  315. package/locale-data/hi.js +1 -1
  316. package/locale-data/hr-BA.js +1 -1
  317. package/locale-data/hr.js +1 -1
  318. package/locale-data/hsb.js +1 -1
  319. package/locale-data/hu.js +1 -1
  320. package/locale-data/hy.js +1 -1
  321. package/locale-data/ia.js +1 -1
  322. package/locale-data/id.js +1 -1
  323. package/locale-data/ig.js +1 -1
  324. package/locale-data/ii.js +1 -1
  325. package/locale-data/is.js +1 -1
  326. package/locale-data/it-CH.js +1 -1
  327. package/locale-data/it-SM.js +1 -1
  328. package/locale-data/it-VA.js +1 -1
  329. package/locale-data/it.js +1 -1
  330. package/locale-data/ja.js +1 -1
  331. package/locale-data/jgo.js +1 -1
  332. package/locale-data/jmc.js +1 -1
  333. package/locale-data/jv.js +1 -1
  334. package/locale-data/ka.js +1 -1
  335. package/locale-data/kab.js +1 -1
  336. package/locale-data/kam.js +1 -1
  337. package/locale-data/kde.js +1 -1
  338. package/locale-data/kea.js +1 -1
  339. package/locale-data/khq.js +1 -1
  340. package/locale-data/ki.js +1 -1
  341. package/locale-data/kk.js +1 -1
  342. package/locale-data/kkj.js +1 -1
  343. package/locale-data/kl.js +1 -1
  344. package/locale-data/kln.js +1 -1
  345. package/locale-data/km.js +1 -1
  346. package/locale-data/kn.js +1 -1
  347. package/locale-data/ko-KP.js +1 -1
  348. package/locale-data/ko.js +1 -1
  349. package/locale-data/kok.js +1 -1
  350. package/locale-data/ks.js +1 -1
  351. package/locale-data/ksb.js +1 -1
  352. package/locale-data/ksf.js +1 -1
  353. package/locale-data/ksh.js +1 -1
  354. package/locale-data/ku.js +1 -1
  355. package/locale-data/kw.js +1 -1
  356. package/locale-data/ky.js +1 -1
  357. package/locale-data/lag.js +1 -1
  358. package/locale-data/lb.js +1 -1
  359. package/locale-data/lg.js +1 -1
  360. package/locale-data/lkt.js +1 -1
  361. package/locale-data/ln-AO.js +1 -1
  362. package/locale-data/ln-CF.js +1 -1
  363. package/locale-data/ln-CG.js +1 -1
  364. package/locale-data/ln.js +1 -1
  365. package/locale-data/lo.js +1 -1
  366. package/locale-data/lrc-IQ.js +1 -1
  367. package/locale-data/lrc.js +1 -1
  368. package/locale-data/lt.js +1 -1
  369. package/locale-data/lu.js +1 -1
  370. package/locale-data/luo.js +1 -1
  371. package/locale-data/luy.js +1 -1
  372. package/locale-data/lv.js +1 -1
  373. package/locale-data/mas-TZ.js +1 -1
  374. package/locale-data/mas.js +1 -1
  375. package/locale-data/mer.js +1 -1
  376. package/locale-data/mfe.js +1 -1
  377. package/locale-data/mg.js +1 -1
  378. package/locale-data/mgh.js +1 -1
  379. package/locale-data/mgo.js +1 -1
  380. package/locale-data/mi.js +1 -1
  381. package/locale-data/mk.js +1 -1
  382. package/locale-data/ml.js +1 -1
  383. package/locale-data/mn.js +1 -1
  384. package/locale-data/mr.js +1 -1
  385. package/locale-data/ms-BN.js +1 -1
  386. package/locale-data/ms-SG.js +1 -1
  387. package/locale-data/ms.js +1 -1
  388. package/locale-data/mt.js +1 -1
  389. package/locale-data/mua.js +1 -1
  390. package/locale-data/my.js +1 -1
  391. package/locale-data/mzn.js +1 -1
  392. package/locale-data/naq.js +1 -1
  393. package/locale-data/nb-SJ.js +1 -1
  394. package/locale-data/nb.js +1 -1
  395. package/locale-data/nd.js +1 -1
  396. package/locale-data/nds-NL.js +1 -1
  397. package/locale-data/nds.js +1 -1
  398. package/locale-data/ne-IN.js +1 -1
  399. package/locale-data/ne.js +1 -1
  400. package/locale-data/nl-AW.js +1 -1
  401. package/locale-data/nl-BE.js +1 -1
  402. package/locale-data/nl-BQ.js +1 -1
  403. package/locale-data/nl-CW.js +1 -1
  404. package/locale-data/nl-SR.js +1 -1
  405. package/locale-data/nl-SX.js +1 -1
  406. package/locale-data/nl.js +1 -1
  407. package/locale-data/nmg.js +1 -1
  408. package/locale-data/nn.js +1 -1
  409. package/locale-data/nnh.js +1 -1
  410. package/locale-data/nus.js +1 -1
  411. package/locale-data/nyn.js +1 -1
  412. package/locale-data/om-KE.js +1 -1
  413. package/locale-data/om.js +1 -1
  414. package/locale-data/or.js +1 -1
  415. package/locale-data/os-RU.js +1 -1
  416. package/locale-data/os.js +1 -1
  417. package/locale-data/pa-Arab.js +1 -1
  418. package/locale-data/pa-Guru.js +1 -1
  419. package/locale-data/pa.js +1 -1
  420. package/locale-data/pl.js +1 -1
  421. package/locale-data/prg.js +1 -1
  422. package/locale-data/ps-PK.js +1 -1
  423. package/locale-data/ps.js +1 -1
  424. package/locale-data/pt-AO.js +1 -1
  425. package/locale-data/pt-CH.js +1 -1
  426. package/locale-data/pt-CV.js +1 -1
  427. package/locale-data/pt-GQ.js +1 -1
  428. package/locale-data/pt-GW.js +1 -1
  429. package/locale-data/pt-LU.js +1 -1
  430. package/locale-data/pt-MO.js +1 -1
  431. package/locale-data/pt-MZ.js +1 -1
  432. package/locale-data/pt-PT.js +1 -1
  433. package/locale-data/pt-ST.js +1 -1
  434. package/locale-data/pt-TL.js +1 -1
  435. package/locale-data/pt.js +1 -1
  436. package/locale-data/qu-BO.js +1 -1
  437. package/locale-data/qu-EC.js +1 -1
  438. package/locale-data/qu.js +1 -1
  439. package/locale-data/rm.js +1 -1
  440. package/locale-data/rn.js +1 -1
  441. package/locale-data/ro-MD.js +1 -1
  442. package/locale-data/ro.js +1 -1
  443. package/locale-data/rof.js +1 -1
  444. package/locale-data/ru-BY.js +1 -1
  445. package/locale-data/ru-KG.js +1 -1
  446. package/locale-data/ru-KZ.js +1 -1
  447. package/locale-data/ru-MD.js +1 -1
  448. package/locale-data/ru-UA.js +1 -1
  449. package/locale-data/ru.js +1 -1
  450. package/locale-data/rw.js +1 -1
  451. package/locale-data/rwk.js +1 -1
  452. package/locale-data/sah.js +1 -1
  453. package/locale-data/saq.js +1 -1
  454. package/locale-data/sbp.js +1 -1
  455. package/locale-data/sd.js +1 -1
  456. package/locale-data/se-FI.js +1 -1
  457. package/locale-data/se-SE.js +1 -1
  458. package/locale-data/se.js +1 -1
  459. package/locale-data/seh.js +1 -1
  460. package/locale-data/ses.js +1 -1
  461. package/locale-data/sg.js +1 -1
  462. package/locale-data/shi-Latn.js +1 -1
  463. package/locale-data/shi-Tfng.js +1 -1
  464. package/locale-data/shi.js +1 -1
  465. package/locale-data/si.js +1 -1
  466. package/locale-data/sk.js +1 -1
  467. package/locale-data/sl.js +1 -1
  468. package/locale-data/smn.js +1 -1
  469. package/locale-data/sn.js +1 -1
  470. package/locale-data/so-DJ.js +1 -1
  471. package/locale-data/so-ET.js +1 -1
  472. package/locale-data/so-KE.js +1 -1
  473. package/locale-data/so.js +1 -1
  474. package/locale-data/sq-MK.js +1 -1
  475. package/locale-data/sq-XK.js +1 -1
  476. package/locale-data/sq.js +1 -1
  477. package/locale-data/sr-Cyrl-BA.js +1 -1
  478. package/locale-data/sr-Cyrl-ME.js +1 -1
  479. package/locale-data/sr-Cyrl-XK.js +1 -1
  480. package/locale-data/sr-Cyrl.js +1 -1
  481. package/locale-data/sr-Latn-BA.js +1 -1
  482. package/locale-data/sr-Latn-ME.js +1 -1
  483. package/locale-data/sr-Latn-XK.js +1 -1
  484. package/locale-data/sr-Latn.js +1 -1
  485. package/locale-data/sr.js +1 -1
  486. package/locale-data/sv-AX.js +1 -1
  487. package/locale-data/sv-FI.js +1 -1
  488. package/locale-data/sv.js +1 -1
  489. package/locale-data/sw-CD.js +1 -1
  490. package/locale-data/sw-KE.js +1 -1
  491. package/locale-data/sw-UG.js +1 -1
  492. package/locale-data/sw.js +1 -1
  493. package/locale-data/ta-LK.js +1 -1
  494. package/locale-data/ta-MY.js +1 -1
  495. package/locale-data/ta-SG.js +1 -1
  496. package/locale-data/ta.js +1 -1
  497. package/locale-data/te.js +1 -1
  498. package/locale-data/teo-KE.js +1 -1
  499. package/locale-data/teo.js +1 -1
  500. package/locale-data/tg.js +1 -1
  501. package/locale-data/th.js +1 -1
  502. package/locale-data/ti-ER.js +1 -1
  503. package/locale-data/ti.js +1 -1
  504. package/locale-data/tk.js +1 -1
  505. package/locale-data/to.js +1 -1
  506. package/locale-data/tr-CY.js +1 -1
  507. package/locale-data/tr.js +1 -1
  508. package/locale-data/tt.js +1 -1
  509. package/locale-data/twq.js +1 -1
  510. package/locale-data/tzm.js +1 -1
  511. package/locale-data/ug.js +1 -1
  512. package/locale-data/uk.js +1 -1
  513. package/locale-data/ur-IN.js +1 -1
  514. package/locale-data/ur.js +1 -1
  515. package/locale-data/uz-Arab.js +1 -1
  516. package/locale-data/uz-Cyrl.js +1 -1
  517. package/locale-data/uz-Latn.js +1 -1
  518. package/locale-data/uz.js +1 -1
  519. package/locale-data/vai-Latn.js +1 -1
  520. package/locale-data/vai-Vaii.js +1 -1
  521. package/locale-data/vai.js +1 -1
  522. package/locale-data/vi.js +1 -1
  523. package/locale-data/vo.js +1 -1
  524. package/locale-data/vun.js +1 -1
  525. package/locale-data/wae.js +1 -1
  526. package/locale-data/wo.js +1 -1
  527. package/locale-data/xh.js +1 -1
  528. package/locale-data/xog.js +1 -1
  529. package/locale-data/yav.js +1 -1
  530. package/locale-data/yi.js +1 -1
  531. package/locale-data/yo-BJ.js +1 -1
  532. package/locale-data/yo.js +1 -1
  533. package/locale-data/yue-Hans.js +1 -1
  534. package/locale-data/yue-Hant.js +1 -1
  535. package/locale-data/yue.js +1 -1
  536. package/locale-data/zgh.js +1 -1
  537. package/locale-data/zh-Hans-HK.js +1 -1
  538. package/locale-data/zh-Hans-MO.js +1 -1
  539. package/locale-data/zh-Hans-SG.js +1 -1
  540. package/locale-data/zh-Hans.js +1 -1
  541. package/locale-data/zh-Hant-HK.js +1 -1
  542. package/locale-data/zh-Hant-MO.js +1 -1
  543. package/locale-data/zh-Hant.js +1 -1
  544. package/locale-data/zh.js +1 -1
  545. package/locale-data/zu.js +1 -1
  546. package/package.json +2 -2
  547. package/polyfill-locales.js +541 -543
  548. package/polyfill.umd.js +666 -730
  549. package/polyfill.umd.min.js +1 -15
  550. package/locale-data/root.js +0 -6
@@ -1,15 +1 @@
1
- !function(e){"function"==typeof define&&define.amd?define(e):e()}((function(){"use strict";
2
- /*! *****************************************************************************
3
- Copyright (c) Microsoft Corporation.
4
-
5
- Permission to use, copy, modify, and/or distribute this software for any
6
- purpose with or without fee is hereby granted.
7
-
8
- THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
9
- REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
10
- AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
11
- INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
12
- LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
13
- OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
14
- PERFORMANCE OF THIS SOFTWARE.
15
- ***************************************************************************** */var e=function(t,r){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])})(t,r)},t=function(){return(t=Object.assign||function e(t){for(var r,n=1,o=arguments.length;n<o;n++)for(var a in r=arguments[n])Object.prototype.hasOwnProperty.call(r,a)&&(t[a]=r[a]);return t}).apply(this,arguments)},r=/-u(?:-[0-9a-z]{2,8})+/gi;function n(e,t,r){if(void 0===r&&(r=Error),!e)throw new r(t)}function o(e){return Intl.getCanonicalLocales(e)}function a(e){if("symbol"==typeof e)throw TypeError("Cannot convert a Symbol value to a string");return String(e)}function i(e){if(null==e)throw new TypeError("undefined/null cannot be converted to object");return Object(e)}function l(e){return null===e?"Null":void 0===e?"Undefined":"function"==typeof e||"object"==typeof e?"Object":"number"==typeof e?"Number":"boolean"==typeof e?"Boolean":"string"==typeof e?"String":"symbol"==typeof e?"Symbol":"bigint"==typeof e?"BigInt":void 0}function u(e,t,r,n,o){var i=e[t];if(void 0!==i){if("boolean"!==r&&"string"!==r)throw new TypeError("invalid type");if("boolean"===r&&(i=Boolean(i)),"string"===r&&(i=a(i)),void 0!==n&&!n.filter((function(e){return e==i})).length)throw new RangeError(i+" is not within "+n.join(", "));return i}return o}function c(e,t){for(var r=t;;){if(~e.indexOf(r))return r;var n=r.lastIndexOf("-");if(!~n)return;n>=2&&"-"===r[n-2]&&(n-=2),r=r.slice(0,n)}}function f(e,t){n(2===t.length,"key must have 2 elements");var r=e.length,o="-"+t+"-",a=e.indexOf(o);if(-1!==a){for(var i=a+4,l=i,u=i,c=!1;!c;){var f=e.indexOf("-",u);2==(-1===f?r-u:f-u)?c=!0:-1===f?(l=r,c=!0):(l=f,u=f+1)}return e.slice(i,l)}if(-1!==(a=e.indexOf(o="-"+t))&&a+3===r)return""}function s(e,t,r,o){var i=o.getInternalSlots;if(n("Number"===l(t),"value must be number, instead got "+typeof t,TypeError),n("String"===l(r),"unit must be number, instead got "+typeof t,TypeError),isNaN(t)||!isFinite(t))throw new RangeError("Invalid value "+t);var u=function c(e){if(n("String"===l(e),"unit must be a string"),"seconds"===e)return"second";if("minutes"===e)return"minute";if("hours"===e)return"hour";if("days"===e)return"day";if("weeks"===e)return"week";if("months"===e)return"month";if("quarters"===e)return"quarter";if("years"===e)return"year";if("second"!==e&&"minute"!==e&&"hour"!==e&&"day"!==e&&"week"!==e&&"month"!==e&&"quarter"!==e&&"year"!==e)throw new RangeError("invalid unit");return e}(r),f=i(e),s=f.fields,v=f.style,p=f.pluralRules,y=f.numberFormat,d=u;"short"===v?d=u+"-short":"narrow"===v&&(d=u+"-narrow"),d in s||(d=u);var b=s[d];if("auto"===f.numeric&&a(t)in b)return[{type:"literal",value:b[a(t)]}];var h="future";(function g(e,t){return Object.is?Object.is(e,t):e===t?0!==e||1/e==1/t:e!=e&&t!=t}(t,-0)||t<0)&&(h="past");var m=b[h],w="function"==typeof y.formatToParts?y.formatToParts(Math.abs(t)):[{type:"literal",value:y.format(Math.abs(t)),unit:r}];return function O(e,t,r){for(var o=function a(e){for(var t=[],r=e.indexOf("{"),o=0,a=0,i=e.length;r<e.length&&r>-1;)n((o=e.indexOf("}",r))>r,"Invalid pattern "+e),r>a&&t.push({type:"literal",value:e.substring(a,r)}),t.push({type:e.substring(r+1,o),value:void 0}),r=e.indexOf("{",a=o+1);return a<i&&t.push({type:"literal",value:e.substring(a,i)}),t}(e),i=[],l=0,u=o;l<u.length;l++){var c=u[l];if("literal"===c.type)i.push({type:"literal",value:c.value});else{n("0"===c.type,"Malformed pattern "+e);for(var f=0,s=r;f<s.length;f++){var v=s[f];i.push({type:v.type,value:v.value,unit:t})}}}return i}(m[p.select(t)],u,w)}var v=/^[a-z0-9]{3,8}(-[a-z0-9]{3,8})*$/i,p=function(t){function r(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="MISSING_LOCALE_DATA",e}return function n(t,r){function n(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)}(r,t),r}(Error);function y(e){return"MISSING_LOCALE_DATA"===e.type}function d(e,r,n){void 0===n&&(n=function(e,r){return t(t({},e),r)});var o=function a(e){for(var t=[e],r=e.split("-"),n=r.length;n>1;n--)t.push(r.slice(0,n-1).join("-"));return t}(e),i=o.map((function(e){return r.data[e]})).filter(Boolean);if(!i.length)throw new p('Missing locale data for "'+e+'", lookup hierarchy: '+o.join(", "));return i.reverse(),i.reduce(n,{})}var b=new WeakMap;function h(e){var t=b.get(e);return t||(t=Object.create(null),b.set(e,t)),t}var g=function(){function e(t,a){if(!(this&&this instanceof e?this.constructor:void 0))throw new TypeError("Intl.RelativeTimeFormat must be called with 'new'");return function l(e,t,a,s){var p=s.availableLocales,y=s.relevantExtensionKeys,d=s.localeData,b=s.getDefaultLocale,h=(0,s.getInternalSlots)(e);h.initializedRelativeTimeFormat=!0;var g=o(t),m=Object.create(null),w=void 0===a?Object.create(null):i(a),O=u(w,"localeMatcher","string",["best fit","lookup"],"best fit");m.localeMatcher=O;var j=u(w,"numberingSystem","string",void 0,void 0);if(void 0!==j&&!v.test(j))throw new RangeError("Invalid numbering system "+j);m.nu=j;var T=function L(e,t,o,a,i,l){for(var u,s=(u="lookup"===o.localeMatcher?function v(e,t,n){for(var o={locale:""},a=0,i=t;a<i.length;a++){var l=i[a],u=l.replace(r,""),f=c(e,u);if(f)return o.locale=f,l!==u&&(o.extension=l.slice(u.length+1,l.length)),o}return o.locale=n(),o}(e,t,l):function p(e,t,n){for(var o={locale:""},a=0,i=t;a<i.length;a++){var l=i[a],u=l.replace(r,""),f=c(e,u);if(f)return o.locale=f,l!==u&&(o.extension=l.slice(u.length+1,l.length)),o}return o.locale=n(),o}(e,t,l)).locale,y={locale:"",dataLocale:s},d="-u",b=0,h=a;b<h.length;b++){var g=h[b];n(s in i,"Missing locale data for "+s);var m=i[s];n("object"==typeof m&&null!==m,"locale data "+g+" must be an object");var w=m[g];n(Array.isArray(w),"keyLocaleData for "+g+" must be an array");var O=w[0];n("string"==typeof O||null===O,"value must be string or null but got "+typeof O+" in key "+g);var j="";if(u.extension){var T=f(u.extension,g);void 0!==T&&(""!==T?~w.indexOf(T)&&(j="-"+g+"-"+(O=T)):~T.indexOf("true")&&(O="true",j="-"+g))}if(g in o){var L=o[g];n("string"==typeof L||null==L,"optionsValue must be String, Undefined or Null"),~w.indexOf(L)&&L!==O&&(O=L,j="")}y[g]=O,d+=j}if(d.length>2){var E=s.indexOf("-x-");if(-1===E)s+=d;else{var x=s.slice(0,E),I=s.slice(E,s.length);s=x+d+I}s=Intl.getCanonicalLocales(s)[0]}return y.locale=s,y}(p,g,m,y,d,b),E=T.locale,x=T.nu;h.locale=E,h.style=u(w,"style","string",["long","narrow","short"],"long"),h.numeric=u(w,"numeric","string",["always","auto"],"always");var I=d[E];return n(!!I,"Missing locale data for "+E),h.fields=I,h.numberFormat=new Intl.NumberFormat(t),h.pluralRules=new Intl.PluralRules(t),h.numberingSystem=x,e}(this,t,a,{getInternalSlots:h,availableLocales:e.availableLocales,relevantExtensionKeys:e.relevantExtensionKeys,localeData:e.localeData,getDefaultLocale:e.getDefaultLocale})}return e.prototype.format=function(e,t){if("object"!=typeof this)throw new TypeError("format was called on a non-object");if(!h(this).initializedRelativeTimeFormat)throw new TypeError("format was called on a invalid context");return s(this,Number(e),a(t),{getInternalSlots:h}).map((function(e){return e.value})).join("")},e.prototype.formatToParts=function(e,t){if("object"!=typeof this)throw new TypeError("formatToParts was called on a non-object");if(!h(this).initializedRelativeTimeFormat)throw new TypeError("formatToParts was called on a invalid context");return s(this,Number(e),a(t),{getInternalSlots:h})},e.prototype.resolvedOptions=function(){if("object"!=typeof this)throw new TypeError("resolvedOptions was called on a non-object");var e=h(this);if(!e.initializedRelativeTimeFormat)throw new TypeError("resolvedOptions was called on a invalid context");return{locale:e.locale,style:e.style,numeric:e.numeric,numberingSystem:e.numberingSystem}},e.supportedLocalesOf=function(t,n){return function a(e,t,n){return void 0!==n&&u(n=i(n),"localeMatcher","string",["lookup","best fit"],"best fit"),function o(e,t){for(var n=[],o=0,a=t;o<a.length;o++){var i=c(e,a[o].replace(r,""));i&&n.push(i)}return n}(e,t)}(e.availableLocales,o(t),n)},e.__addLocaleData=function(){for(var t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];for(var n=function(t){t.availableLocales.forEach((function(r){try{e.localeData[r]=d(r,t)}catch(e){if(y(e))return;throw e}}))},o=0,a=t;o<a.length;o++){var i=a[o];n(i)}e.availableLocales=Object.keys(e.localeData),e.__defaultLocale||(e.__defaultLocale=e.availableLocales[0])},e.getDefaultLocale=function(){return e.__defaultLocale},e.localeData={},e.availableLocales=[],e.__defaultLocale="en",e.relevantExtensionKeys=["nu"],e.polyfilled=!0,e}();try{"undefined"!=typeof Symbol&&Object.defineProperty(g.prototype,Symbol.toStringTag,{value:"Intl.RelativeTimeFormat",writable:!1,enumerable:!1,configurable:!0}),Object.defineProperty(g.prototype.constructor,"length",{value:0,writable:!1,enumerable:!1,configurable:!0}),Object.defineProperty(g.supportedLocalesOf,"length",{value:1,writable:!1,enumerable:!1,configurable:!0})}catch(e){}(function m(){return"undefined"==typeof Intl||!("RelativeTimeFormat"in Intl)})()&&Object.defineProperty(Intl,"RelativeTimeFormat",{value:g,writable:!0,enumerable:!1,configurable:!0})}));
1
+ !function(e){"function"==typeof define&&define.amd?define(e):e()}((function(){"use strict";var e=/-u(?:-[0-9a-z]{2,8})+/gi;function t(e,t,n){if(void 0===n&&(n=Error),!e)throw new n(t)}function n(e){return Intl.getCanonicalLocales(e)}function r(e){if("symbol"==typeof e)throw TypeError("Cannot convert a Symbol value to a string");return String(e)}function a(e){if(null==e)throw new TypeError("undefined/null cannot be converted to object");return Object(e)}function o(e){return null===e?"Null":void 0===e?"Undefined":"function"==typeof e||"object"==typeof e?"Object":"number"==typeof e?"Number":"boolean"==typeof e?"Boolean":"string"==typeof e?"String":"symbol"==typeof e?"Symbol":"bigint"==typeof e?"BigInt":void 0}function i(e,t,n,a,o){var i=e[t];if(void 0!==i){if("boolean"!==n&&"string"!==n)throw new TypeError("invalid type");if("boolean"===n&&(i=Boolean(i)),"string"===n&&(i=r(i)),void 0!==a&&!a.filter((function(e){return e==i})).length)throw new RangeError(i+" is not within "+a.join(", "));return i}return o}function l(e,t){for(var n=t;;){if(e.has(n))return n;var r=n.lastIndexOf("-");if(!~r)return;r>=2&&"-"===n[r-2]&&(r-=2),n=n.slice(0,r)}}function u(e,n){t(2===n.length,"key must have 2 elements");var r=e.length,a="-"+n+"-",o=e.indexOf(a);if(-1!==o){for(var i=o+4,l=i,u=i,f=!1;!f;){var s=e.indexOf("-",u);2==(-1===s?r-u:s-u)?f=!0:-1===s?(l=r,f=!0):(l=s,u=s+1)}return e.slice(i,l)}if(-1!==(o=e.indexOf(a="-"+n))&&o+3===r)return""}function f(e,n,a,i){var l=i.getInternalSlots;if(t("Number"===o(n),"value must be number, instead got "+typeof n,TypeError),t("String"===o(a),"unit must be number, instead got "+typeof n,TypeError),isNaN(n)||!isFinite(n))throw new RangeError("Invalid value "+n);var u=function f(e){if(t("String"===o(e),"unit must be a string"),"seconds"===e)return"second";if("minutes"===e)return"minute";if("hours"===e)return"hour";if("days"===e)return"day";if("weeks"===e)return"week";if("months"===e)return"month";if("quarters"===e)return"quarter";if("years"===e)return"year";if("second"!==e&&"minute"!==e&&"hour"!==e&&"day"!==e&&"week"!==e&&"month"!==e&&"quarter"!==e&&"year"!==e)throw new RangeError("invalid unit");return e}(a),s=l(e),c=s.fields,v=s.style,d=s.pluralRules,m=s.numberFormat,y=u;"short"===v?y=u+"-short":"narrow"===v&&(y=u+"-narrow"),y in c||(y=u);var b=c[y];if("auto"===s.numeric&&r(n)in b)return[{type:"literal",value:b[r(n)]}];var p="future";(function g(e,t){return Object.is?Object.is(e,t):e===t?0!==e||1/e==1/t:e!=e&&t!=t}(n,-0)||n<0)&&(p="past");var h=b[p],w="function"==typeof m.formatToParts?m.formatToParts(Math.abs(n)):[{type:"literal",value:m.format(Math.abs(n)),unit:a}];return function L(e,n,r){for(var a=function o(e){for(var n=[],r=e.indexOf("{"),a=0,o=0,i=e.length;r<e.length&&r>-1;)t((a=e.indexOf("}",r))>r,"Invalid pattern "+e),r>o&&n.push({type:"literal",value:e.substring(o,r)}),n.push({type:e.substring(r+1,a),value:void 0}),r=e.indexOf("{",o=a+1);return o<i&&n.push({type:"literal",value:e.substring(o,i)}),n}(e),i=[],l=0,u=a;l<u.length;l++){var f=u[l];if("literal"===f.type)i.push({type:"literal",value:f.value});else{t("0"===f.type,"Malformed pattern "+e);for(var s=0,c=r;s<c.length;s++){var v=c[s];i.push({type:v.type,value:v.value,unit:n})}}}return i}(h[d.select(n)],u,w)}var s=/^[a-z0-9]{3,8}(-[a-z0-9]{3,8})*$/i,c=new WeakMap;function v(e){var t=c.get(e);return t||(t=Object.create(null),c.set(e,t)),t}var d=function(){function o(r,f){if(!(this&&this instanceof o?this.constructor:void 0))throw new TypeError("Intl.RelativeTimeFormat must be called with 'new'");return function c(r,o,f,v){var d=v.availableLocales,m=v.relevantExtensionKeys,y=v.localeData,b=v.getDefaultLocale,p=(0,v.getInternalSlots)(r);p.initializedRelativeTimeFormat=!0;var g=n(o),h=Object.create(null),w=void 0===f?Object.create(null):a(f),L=i(w,"localeMatcher","string",["best fit","lookup"],"best fit");h.localeMatcher=L;var O=i(w,"numberingSystem","string",void 0,void 0);if(void 0!==O&&!s.test(O))throw new RangeError("Invalid numbering system "+O);h.nu=O;var T=function S(n,r,a,o,i,f){for(var s,c=(s="lookup"===a.localeMatcher?function v(t,n,r){for(var a={locale:""},o=0,i=n;o<i.length;o++){var u=i[o],f=u.replace(e,""),s=l(t,f);if(s)return a.locale=s,u!==f&&(a.extension=u.slice(f.length+1,u.length)),a}return a.locale=r(),a}(n,r,f):function d(t,n,r){var a,o={},i=new Set;t.forEach((function(e){var t=new Intl.Locale(e).minimize().toString();o[t]=e,i.add(t)}));for(var u=0,f=n;u<f.length;u++){var s=f[u];if(a)break;var c=s.replace(e,"");if(t.has(c)){a=c;break}if(i.has(c)){a=o[c];break}var v=new Intl.Locale(c),d=v.maximize().toString(),m=v.minimize().toString();if(i.has(m)){a=o[m];break}a=l(i,d)}return{locale:a||r()}}(n,r,f)).locale,m={locale:"",dataLocale:c},y="-u",b=0,p=o;b<p.length;b++){var g=p[b];t(c in i,"Missing locale data for "+c);var h=i[c];t("object"==typeof h&&null!==h,"locale data "+g+" must be an object");var w=h[g];t(Array.isArray(w),"keyLocaleData for "+g+" must be an array");var L=w[0];t("string"==typeof L||null===L,"value must be string or null but got "+typeof L+" in key "+g);var O="";if(s.extension){var T=u(s.extension,g);void 0!==T&&(""!==T?~w.indexOf(T)&&(O="-"+g+"-"+(L=T)):~T.indexOf("true")&&(L="true",O="-"+g))}if(g in a){var S=a[g];t("string"==typeof S||null==S,"optionsValue must be String, Undefined or Null"),~w.indexOf(S)&&S!==L&&(L=S,O="")}m[g]=L,y+=O}if(y.length>2){var j=c.indexOf("-x-");if(-1===j)c+=y;else{var x=c.slice(0,j),E=c.slice(j,c.length);c=x+y+E}c=Intl.getCanonicalLocales(c)[0]}return m.locale=c,m}(d,g,h,m,y,b),j=T.nu;p.locale=T.locale,p.style=i(w,"style","string",["long","narrow","short"],"long"),p.numeric=i(w,"numeric","string",["always","auto"],"always");var x=y[T.dataLocale];return t(!!x,"Missing locale data for "+T.dataLocale),p.fields=x,p.numberFormat=new Intl.NumberFormat(o),p.pluralRules=new Intl.PluralRules(o),p.numberingSystem=j,r}(this,r,f,{getInternalSlots:v,availableLocales:o.availableLocales,relevantExtensionKeys:o.relevantExtensionKeys,localeData:o.localeData,getDefaultLocale:o.getDefaultLocale})}return o.prototype.format=function(e,t){if("object"!=typeof this)throw new TypeError("format was called on a non-object");if(!v(this).initializedRelativeTimeFormat)throw new TypeError("format was called on a invalid context");return f(this,Number(e),r(t),{getInternalSlots:v}).map((function(e){return e.value})).join("")},o.prototype.formatToParts=function(e,t){if("object"!=typeof this)throw new TypeError("formatToParts was called on a non-object");if(!v(this).initializedRelativeTimeFormat)throw new TypeError("formatToParts was called on a invalid context");return f(this,Number(e),r(t),{getInternalSlots:v})},o.prototype.resolvedOptions=function(){if("object"!=typeof this)throw new TypeError("resolvedOptions was called on a non-object");var e=v(this);if(!e.initializedRelativeTimeFormat)throw new TypeError("resolvedOptions was called on a invalid context");return{locale:e.locale,style:e.style,numeric:e.numeric,numberingSystem:e.numberingSystem}},o.supportedLocalesOf=function(t,r){return function u(t,n,r){return void 0!==r&&i(r=a(r),"localeMatcher","string",["lookup","best fit"],"best fit"),function o(t,n){for(var r=[],a=0,o=n;a<o.length;a++){var i=l(t,o[a].replace(e,""));i&&r.push(i)}return r}(t,n)}(o.availableLocales,n(t),r)},o.__addLocaleData=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];for(var n=0,r=e;n<r.length;n++){var a=r[n],i=a.data,l=a.locale,u=new Intl.Locale(l).minimize().toString();o.localeData[l]=o.localeData[u]=i,o.availableLocales.add(u),o.availableLocales.add(l),o.__defaultLocale||(o.__defaultLocale=u)}},o.getDefaultLocale=function(){return o.__defaultLocale},o.localeData={},o.availableLocales=new Set,o.__defaultLocale="",o.relevantExtensionKeys=["nu"],o.polyfilled=!0,o}();try{"undefined"!=typeof Symbol&&Object.defineProperty(d.prototype,Symbol.toStringTag,{value:"Intl.RelativeTimeFormat",writable:!1,enumerable:!1,configurable:!0}),Object.defineProperty(d.prototype.constructor,"length",{value:0,writable:!1,enumerable:!1,configurable:!0}),Object.defineProperty(d.supportedLocalesOf,"length",{value:1,writable:!1,enumerable:!1,configurable:!0})}catch(e){}(function m(){return"undefined"==typeof Intl||!("RelativeTimeFormat"in Intl)})()&&Object.defineProperty(Intl,"RelativeTimeFormat",{value:d,writable:!0,enumerable:!1,configurable:!0})}));
@@ -1,6 +0,0 @@
1
- /* @generated */
2
- // prettier-ignore
3
- if (Intl.RelativeTimeFormat && typeof Intl.RelativeTimeFormat.__addLocaleData === 'function') {
4
- Intl.RelativeTimeFormat.__addLocaleData({"data":{"root":{"nu":["latn"],"year":{"0":"this year","1":"next year","future":{"other":"+{0} y"},"past":{"other":"-{0} y"},"-1":"last year"},"year-short":{"0":"this year","1":"next year","future":{"other":"+{0} y"},"past":{"other":"-{0} y"},"-1":"last year"},"year-narrow":{"0":"this year","1":"next year","future":{"other":"+{0} y"},"past":{"other":"-{0} y"},"-1":"last year"},"quarter":{"0":"this quarter","1":"next quarter","future":{"other":"+{0} Q"},"past":{"other":"-{0} Q"},"-1":"last quarter"},"quarter-short":{"0":"this quarter","1":"next quarter","future":{"other":"+{0} Q"},"past":{"other":"-{0} Q"},"-1":"last quarter"},"quarter-narrow":{"0":"this quarter","1":"next quarter","future":{"other":"+{0} Q"},"past":{"other":"-{0} Q"},"-1":"last quarter"},"month":{"0":"this month","1":"next month","future":{"other":"+{0} m"},"past":{"other":"-{0} m"},"-1":"last month"},"month-short":{"0":"this month","1":"next month","future":{"other":"+{0} m"},"past":{"other":"-{0} m"},"-1":"last month"},"month-narrow":{"0":"this month","1":"next month","future":{"other":"+{0} m"},"past":{"other":"-{0} m"},"-1":"last month"},"week":{"0":"this week","1":"next week","future":{"other":"+{0} w"},"past":{"other":"-{0} w"},"-1":"last week"},"week-short":{"0":"this week","1":"next week","future":{"other":"+{0} w"},"past":{"other":"-{0} w"},"-1":"last week"},"week-narrow":{"0":"this week","1":"next week","future":{"other":"+{0} w"},"past":{"other":"-{0} w"},"-1":"last week"},"day":{"0":"today","1":"tomorrow","future":{"other":"+{0} d"},"past":{"other":"-{0} d"},"-1":"yesterday"},"day-short":{"0":"today","1":"tomorrow","future":{"other":"+{0} d"},"past":{"other":"-{0} d"},"-1":"yesterday"},"day-narrow":{"0":"today","1":"tomorrow","future":{"other":"+{0} d"},"past":{"other":"-{0} d"},"-1":"yesterday"},"hour":{"0":"this hour","future":{"other":"+{0} h"},"past":{"other":"-{0} h"}},"hour-short":{"0":"this hour","future":{"other":"+{0} h"},"past":{"other":"-{0} h"}},"hour-narrow":{"0":"this hour","future":{"other":"+{0} h"},"past":{"other":"-{0} h"}},"minute":{"0":"this minute","future":{"other":"+{0} min"},"past":{"other":"-{0} min"}},"minute-short":{"0":"this minute","future":{"other":"+{0} min"},"past":{"other":"-{0} min"}},"minute-narrow":{"0":"this minute","future":{"other":"+{0} min"},"past":{"other":"-{0} min"}},"second":{"0":"now","future":{"other":"+{0} s"},"past":{"other":"-{0} s"}},"second-short":{"0":"now","future":{"other":"+{0} s"},"past":{"other":"-{0} s"}},"second-narrow":{"0":"now","future":{"other":"+{0} s"},"past":{"other":"-{0} s"}}}},"availableLocales":["root"]}
5
- )
6
- }