javascript-time-ago 2.5.2 → 2.5.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +11 -11
- package/bin/generate-load-all-locales.js +1 -1
- package/bin/generate-locale-messages.js +75 -47
- package/bundle/javascript-time-ago.js +1 -1
- package/bundle/javascript-time-ago.js.map +1 -1
- package/bundle/javascript-time-ago.min.js +1 -1
- package/bundle/javascript-time-ago.min.js.map +1 -1
- package/cache/index.cjs.js +1 -1
- package/commonjs/TimeAgo.js +4 -0
- package/commonjs/TimeAgo.js.map +1 -1
- package/index.d.ts +2 -2
- package/locale/af/package.json +7 -5
- package/locale/af.json.d.ts +4 -0
- package/locale/af.json.js +213 -0
- package/locale/am/package.json +7 -5
- package/locale/am.json.d.ts +4 -0
- package/locale/am.json.js +252 -0
- package/locale/ar/package.json +7 -5
- package/locale/ar-AE/package.json +7 -5
- package/locale/ar-AE.json.d.ts +4 -0
- package/locale/ar-AE.json.js +423 -0
- package/locale/ar.json.d.ts +4 -0
- package/locale/ar.json.js +423 -0
- package/locale/as/package.json +7 -5
- package/locale/as.json.d.ts +4 -0
- package/locale/as.json.js +165 -0
- package/locale/ast/package.json +7 -5
- package/locale/ast.json.d.ts +4 -0
- package/locale/ast.json.js +231 -0
- package/locale/az/package.json +7 -5
- package/locale/az.json.d.ts +4 -0
- package/locale/az.json.js +159 -0
- package/locale/be/package.json +7 -5
- package/locale/be.json.d.ts +4 -0
- package/locale/be.json.js +259 -0
- package/locale/bg/package.json +7 -5
- package/locale/bg.json.d.ts +4 -0
- package/locale/bg.json.js +219 -0
- package/locale/bn/package.json +7 -5
- package/locale/bn.json.d.ts +4 -0
- package/locale/bn.json.js +165 -0
- package/locale/br/package.json +7 -5
- package/locale/br.json.d.ts +4 -0
- package/locale/br.json.js +229 -0
- package/locale/brx/package.json +7 -5
- package/locale/brx.json.d.ts +4 -0
- package/locale/brx.json.js +159 -0
- package/locale/bs/package.json +7 -5
- package/locale/bs-Cyrl/package.json +7 -5
- package/locale/bs-Cyrl.json.d.ts +4 -0
- package/locale/bs-Cyrl.json.js +286 -0
- package/locale/bs.json.d.ts +4 -0
- package/locale/bs.json.js +238 -0
- package/locale/ca/package.json +7 -5
- package/locale/ca.json.d.ts +4 -0
- package/locale/ca.json.js +249 -0
- package/locale/ccp/package.json +7 -5
- package/locale/ccp.json.d.ts +4 -0
- package/locale/ccp.json.js +180 -0
- package/locale/ce/package.json +7 -5
- package/locale/ce.json.d.ts +4 -0
- package/locale/ce.json.js +165 -0
- package/locale/ceb/package.json +7 -5
- package/locale/ceb.json.d.ts +4 -0
- package/locale/ceb.json.js +159 -0
- package/locale/chr/package.json +7 -5
- package/locale/chr.json.d.ts +4 -0
- package/locale/chr.json.js +210 -0
- package/locale/cs/package.json +7 -5
- package/locale/cs.json.d.ts +4 -0
- package/locale/cs.json.js +270 -0
- package/locale/cy/package.json +7 -5
- package/locale/cy.json.d.ts +4 -0
- package/locale/cy.json.js +342 -0
- package/locale/da/package.json +7 -5
- package/locale/da.json.d.ts +4 -0
- package/locale/da.json.js +311 -0
- package/locale/de/package.json +7 -5
- package/locale/de.json.d.ts +4 -0
- package/locale/de.json.js +302 -0
- package/locale/dsb/package.json +7 -5
- package/locale/dsb.json.d.ts +4 -0
- package/locale/dsb.json.js +235 -0
- package/locale/dz/package.json +7 -5
- package/locale/dz.json.d.ts +4 -0
- package/locale/dz.json.js +165 -0
- package/locale/ee/package.json +7 -5
- package/locale/ee.json.d.ts +4 -0
- package/locale/ee.json.js +279 -0
- package/locale/el/package.json +7 -5
- package/locale/el.json +0 -10
- package/locale/el.json.d.ts +4 -0
- package/locale/el.json.js +248 -0
- package/locale/en/package.json +7 -5
- package/locale/en-001/package.json +7 -5
- package/locale/en-001.json.d.ts +4 -0
- package/locale/en-001.json.js +219 -0
- package/locale/en-150/package.json +7 -5
- package/locale/en-150.json.d.ts +4 -0
- package/locale/en-150.json.js +219 -0
- package/locale/en-AG/package.json +7 -5
- package/locale/en-AG.json.d.ts +4 -0
- package/locale/en-AG.json.js +219 -0
- package/locale/en-AI/package.json +7 -5
- package/locale/en-AI.json.d.ts +4 -0
- package/locale/en-AI.json.js +219 -0
- package/locale/en-AT/package.json +7 -5
- package/locale/en-AT.json.d.ts +4 -0
- package/locale/en-AT.json.js +219 -0
- package/locale/en-AU/package.json +7 -5
- package/locale/en-AU.json.d.ts +4 -0
- package/locale/en-AU.json.js +291 -0
- package/locale/en-BB/package.json +7 -5
- package/locale/en-BB.json.d.ts +4 -0
- package/locale/en-BB.json.js +219 -0
- package/locale/en-BE/package.json +7 -5
- package/locale/en-BE.json.d.ts +4 -0
- package/locale/en-BE.json.js +219 -0
- package/locale/en-BM/package.json +7 -5
- package/locale/en-BM.json.d.ts +4 -0
- package/locale/en-BM.json.js +219 -0
- package/locale/en-BS/package.json +7 -5
- package/locale/en-BS.json.d.ts +4 -0
- package/locale/en-BS.json.js +219 -0
- package/locale/en-BW/package.json +7 -5
- package/locale/en-BW.json.d.ts +4 -0
- package/locale/en-BW.json.js +219 -0
- package/locale/en-BZ/package.json +7 -5
- package/locale/en-BZ.json.d.ts +4 -0
- package/locale/en-BZ.json.js +219 -0
- package/locale/en-CA/package.json +7 -5
- package/locale/en-CA.json.d.ts +4 -0
- package/locale/en-CA.json.js +303 -0
- package/locale/en-CC/package.json +7 -5
- package/locale/en-CC.json.d.ts +4 -0
- package/locale/en-CC.json.js +219 -0
- package/locale/en-CH/package.json +7 -5
- package/locale/en-CH.json.d.ts +4 -0
- package/locale/en-CH.json.js +219 -0
- package/locale/en-CK/package.json +7 -5
- package/locale/en-CK.json.d.ts +4 -0
- package/locale/en-CK.json.js +219 -0
- package/locale/en-CM/package.json +7 -5
- package/locale/en-CM.json.d.ts +4 -0
- package/locale/en-CM.json.js +219 -0
- package/locale/en-CX/package.json +7 -5
- package/locale/en-CX.json.d.ts +4 -0
- package/locale/en-CX.json.js +219 -0
- package/locale/en-CY/package.json +7 -5
- package/locale/en-CY.json.d.ts +4 -0
- package/locale/en-CY.json.js +219 -0
- package/locale/en-DE/package.json +7 -5
- package/locale/en-DE.json.d.ts +4 -0
- package/locale/en-DE.json.js +219 -0
- package/locale/en-DG/package.json +7 -5
- package/locale/en-DG.json.d.ts +4 -0
- package/locale/en-DG.json.js +219 -0
- package/locale/en-DK/package.json +7 -5
- package/locale/en-DK.json.d.ts +4 -0
- package/locale/en-DK.json.js +219 -0
- package/locale/en-DM/package.json +7 -5
- package/locale/en-DM.json.d.ts +4 -0
- package/locale/en-DM.json.js +219 -0
- package/locale/en-ER/package.json +7 -5
- package/locale/en-ER.json.d.ts +4 -0
- package/locale/en-ER.json.js +219 -0
- package/locale/en-FI/package.json +7 -5
- package/locale/en-FI.json.d.ts +4 -0
- package/locale/en-FI.json.js +219 -0
- package/locale/en-FJ/package.json +7 -5
- package/locale/en-FJ.json.d.ts +4 -0
- package/locale/en-FJ.json.js +219 -0
- package/locale/en-FK/package.json +7 -5
- package/locale/en-FK.json.d.ts +4 -0
- package/locale/en-FK.json.js +219 -0
- package/locale/en-FM/package.json +7 -5
- package/locale/en-FM.json.d.ts +4 -0
- package/locale/en-FM.json.js +219 -0
- package/locale/en-GB/package.json +7 -5
- package/locale/en-GB.json.d.ts +4 -0
- package/locale/en-GB.json.js +219 -0
- package/locale/en-GD/package.json +7 -5
- package/locale/en-GD.json.d.ts +4 -0
- package/locale/en-GD.json.js +219 -0
- package/locale/en-GG/package.json +7 -5
- package/locale/en-GG.json.d.ts +4 -0
- package/locale/en-GG.json.js +219 -0
- package/locale/en-GH/package.json +7 -5
- package/locale/en-GH.json.d.ts +4 -0
- package/locale/en-GH.json.js +219 -0
- package/locale/en-GI/package.json +7 -5
- package/locale/en-GI.json.d.ts +4 -0
- package/locale/en-GI.json.js +219 -0
- package/locale/en-GM/package.json +7 -5
- package/locale/en-GM.json.d.ts +4 -0
- package/locale/en-GM.json.js +219 -0
- package/locale/en-GY/package.json +7 -5
- package/locale/en-GY.json.d.ts +4 -0
- package/locale/en-GY.json.js +219 -0
- package/locale/en-HK/package.json +7 -5
- package/locale/en-HK.json.d.ts +4 -0
- package/locale/en-HK.json.js +219 -0
- package/locale/en-IE/package.json +7 -5
- package/locale/en-IE.json.d.ts +4 -0
- package/locale/en-IE.json.js +219 -0
- package/locale/en-IL/package.json +7 -5
- package/locale/en-IL.json.d.ts +4 -0
- package/locale/en-IL.json.js +219 -0
- package/locale/en-IM/package.json +7 -5
- package/locale/en-IM.json.d.ts +4 -0
- package/locale/en-IM.json.js +219 -0
- package/locale/en-IN/package.json +7 -5
- package/locale/en-IN.json.d.ts +4 -0
- package/locale/en-IN.json.js +219 -0
- package/locale/en-IO/package.json +7 -5
- package/locale/en-IO.json.d.ts +4 -0
- package/locale/en-IO.json.js +219 -0
- package/locale/en-JE/package.json +7 -5
- package/locale/en-JE.json.d.ts +4 -0
- package/locale/en-JE.json.js +219 -0
- package/locale/en-JM/package.json +7 -5
- package/locale/en-JM.json.d.ts +4 -0
- package/locale/en-JM.json.js +219 -0
- package/locale/en-KE/package.json +7 -5
- package/locale/en-KE.json.d.ts +4 -0
- package/locale/en-KE.json.js +219 -0
- package/locale/en-KI/package.json +7 -5
- package/locale/en-KI.json.d.ts +4 -0
- package/locale/en-KI.json.js +219 -0
- package/locale/en-KN/package.json +7 -5
- package/locale/en-KN.json.d.ts +4 -0
- package/locale/en-KN.json.js +219 -0
- package/locale/en-KY/package.json +7 -5
- package/locale/en-KY.json.d.ts +4 -0
- package/locale/en-KY.json.js +219 -0
- package/locale/en-LC/package.json +7 -5
- package/locale/en-LC.json.d.ts +4 -0
- package/locale/en-LC.json.js +219 -0
- package/locale/en-LR/package.json +7 -5
- package/locale/en-LR.json.d.ts +4 -0
- package/locale/en-LR.json.js +219 -0
- package/locale/en-LS/package.json +7 -5
- package/locale/en-LS.json.d.ts +4 -0
- package/locale/en-LS.json.js +219 -0
- package/locale/en-MG/package.json +7 -5
- package/locale/en-MG.json.d.ts +4 -0
- package/locale/en-MG.json.js +219 -0
- package/locale/en-MO/package.json +7 -5
- package/locale/en-MO.json.d.ts +4 -0
- package/locale/en-MO.json.js +219 -0
- package/locale/en-MS/package.json +7 -5
- package/locale/en-MS.json.d.ts +4 -0
- package/locale/en-MS.json.js +219 -0
- package/locale/en-MT/package.json +7 -5
- package/locale/en-MT.json.d.ts +4 -0
- package/locale/en-MT.json.js +219 -0
- package/locale/en-MU/package.json +7 -5
- package/locale/en-MU.json.d.ts +4 -0
- package/locale/en-MU.json.js +219 -0
- package/locale/en-MV/package.json +7 -5
- package/locale/en-MV.json.d.ts +4 -0
- package/locale/en-MV.json.js +219 -0
- package/locale/en-MW/package.json +7 -5
- package/locale/en-MW.json.d.ts +4 -0
- package/locale/en-MW.json.js +219 -0
- package/locale/en-MY/package.json +7 -5
- package/locale/en-MY.json.d.ts +4 -0
- package/locale/en-MY.json.js +219 -0
- package/locale/en-NA/package.json +7 -5
- package/locale/en-NA.json.d.ts +4 -0
- package/locale/en-NA.json.js +219 -0
- package/locale/en-NF/package.json +7 -5
- package/locale/en-NF.json.d.ts +4 -0
- package/locale/en-NF.json.js +219 -0
- package/locale/en-NG/package.json +7 -5
- package/locale/en-NG.json.d.ts +4 -0
- package/locale/en-NG.json.js +219 -0
- package/locale/en-NL/package.json +7 -5
- package/locale/en-NL.json.d.ts +4 -0
- package/locale/en-NL.json.js +219 -0
- package/locale/en-NR/package.json +7 -5
- package/locale/en-NR.json.d.ts +4 -0
- package/locale/en-NR.json.js +219 -0
- package/locale/en-NU/package.json +7 -5
- package/locale/en-NU.json.d.ts +4 -0
- package/locale/en-NU.json.js +219 -0
- package/locale/en-NZ/package.json +7 -5
- package/locale/en-NZ.json.d.ts +4 -0
- package/locale/en-NZ.json.js +219 -0
- package/locale/en-PG/package.json +7 -5
- package/locale/en-PG.json.d.ts +4 -0
- package/locale/en-PG.json.js +219 -0
- package/locale/en-PK/package.json +7 -5
- package/locale/en-PK.json.d.ts +4 -0
- package/locale/en-PK.json.js +219 -0
- package/locale/en-PN/package.json +7 -5
- package/locale/en-PN.json.d.ts +4 -0
- package/locale/en-PN.json.js +219 -0
- package/locale/en-PW/package.json +7 -5
- package/locale/en-PW.json.d.ts +4 -0
- package/locale/en-PW.json.js +219 -0
- package/locale/en-RW/package.json +7 -5
- package/locale/en-RW.json.d.ts +4 -0
- package/locale/en-RW.json.js +219 -0
- package/locale/en-SB/package.json +7 -5
- package/locale/en-SB.json.d.ts +4 -0
- package/locale/en-SB.json.js +219 -0
- package/locale/en-SC/package.json +7 -5
- package/locale/en-SC.json.d.ts +4 -0
- package/locale/en-SC.json.js +219 -0
- package/locale/en-SD/package.json +7 -5
- package/locale/en-SD.json.d.ts +4 -0
- package/locale/en-SD.json.js +219 -0
- package/locale/en-SE/package.json +7 -5
- package/locale/en-SE.json.d.ts +4 -0
- package/locale/en-SE.json.js +219 -0
- package/locale/en-SG/package.json +7 -5
- package/locale/en-SG.json.d.ts +4 -0
- package/locale/en-SG.json.js +225 -0
- package/locale/en-SH/package.json +7 -5
- package/locale/en-SH.json.d.ts +4 -0
- package/locale/en-SH.json.js +219 -0
- package/locale/en-SI/package.json +7 -5
- package/locale/en-SI.json.d.ts +4 -0
- package/locale/en-SI.json.js +219 -0
- package/locale/en-SL/package.json +7 -5
- package/locale/en-SL.json.d.ts +4 -0
- package/locale/en-SL.json.js +219 -0
- package/locale/en-SS/package.json +7 -5
- package/locale/en-SS.json.d.ts +4 -0
- package/locale/en-SS.json.js +219 -0
- package/locale/en-SX/package.json +7 -5
- package/locale/en-SX.json.d.ts +4 -0
- package/locale/en-SX.json.js +219 -0
- package/locale/en-SZ/package.json +7 -5
- package/locale/en-SZ.json.d.ts +4 -0
- package/locale/en-SZ.json.js +219 -0
- package/locale/en-TC/package.json +7 -5
- package/locale/en-TC.json.d.ts +4 -0
- package/locale/en-TC.json.js +219 -0
- package/locale/en-TK/package.json +7 -5
- package/locale/en-TK.json.d.ts +4 -0
- package/locale/en-TK.json.js +219 -0
- package/locale/en-TO/package.json +7 -5
- package/locale/en-TO.json.d.ts +4 -0
- package/locale/en-TO.json.js +219 -0
- package/locale/en-TT/package.json +7 -5
- package/locale/en-TT.json.d.ts +4 -0
- package/locale/en-TT.json.js +219 -0
- package/locale/en-TV/package.json +7 -5
- package/locale/en-TV.json.d.ts +4 -0
- package/locale/en-TV.json.js +219 -0
- package/locale/en-TZ/package.json +7 -5
- package/locale/en-TZ.json.d.ts +4 -0
- package/locale/en-TZ.json.js +219 -0
- package/locale/en-UG/package.json +7 -5
- package/locale/en-UG.json.d.ts +4 -0
- package/locale/en-UG.json.js +219 -0
- package/locale/en-VC/package.json +7 -5
- package/locale/en-VC.json.d.ts +4 -0
- package/locale/en-VC.json.js +219 -0
- package/locale/en-VG/package.json +7 -5
- package/locale/en-VG.json.d.ts +4 -0
- package/locale/en-VG.json.js +219 -0
- package/locale/en-VU/package.json +7 -5
- package/locale/en-VU.json.d.ts +4 -0
- package/locale/en-VU.json.js +219 -0
- package/locale/en-WS/package.json +7 -5
- package/locale/en-WS.json.d.ts +4 -0
- package/locale/en-WS.json.js +219 -0
- package/locale/en-ZA/package.json +7 -5
- package/locale/en-ZA.json.d.ts +4 -0
- package/locale/en-ZA.json.js +219 -0
- package/locale/en-ZM/package.json +7 -5
- package/locale/en-ZM.json.d.ts +4 -0
- package/locale/en-ZM.json.js +219 -0
- package/locale/en-ZW/package.json +7 -5
- package/locale/en-ZW.json.d.ts +4 -0
- package/locale/en-ZW.json.js +219 -0
- package/locale/en.json +17 -27
- package/locale/en.json.d.ts +4 -0
- package/locale/en.json.js +290 -0
- package/locale/es/package.json +7 -5
- package/locale/es-419/package.json +7 -5
- package/locale/es-419.json.d.ts +4 -0
- package/locale/es-419.json.js +225 -0
- package/locale/es-AR/package.json +7 -5
- package/locale/es-AR.json.d.ts +4 -0
- package/locale/es-AR.json.js +213 -0
- package/locale/es-BO/package.json +7 -5
- package/locale/es-BO.json.d.ts +4 -0
- package/locale/es-BO.json.js +225 -0
- package/locale/es-BR/package.json +7 -5
- package/locale/es-BR.json.d.ts +4 -0
- package/locale/es-BR.json.js +225 -0
- package/locale/es-BZ/package.json +7 -5
- package/locale/es-BZ.json.d.ts +4 -0
- package/locale/es-BZ.json.js +225 -0
- package/locale/es-CL/package.json +7 -5
- package/locale/es-CL.json.d.ts +4 -0
- package/locale/es-CL.json.js +225 -0
- package/locale/es-CO/package.json +7 -5
- package/locale/es-CO.json.d.ts +4 -0
- package/locale/es-CO.json.js +225 -0
- package/locale/es-CR/package.json +7 -5
- package/locale/es-CR.json.d.ts +4 -0
- package/locale/es-CR.json.js +225 -0
- package/locale/es-CU/package.json +7 -5
- package/locale/es-CU.json.d.ts +4 -0
- package/locale/es-CU.json.js +225 -0
- package/locale/es-DO/package.json +7 -5
- package/locale/es-DO.json.d.ts +4 -0
- package/locale/es-DO.json.js +225 -0
- package/locale/es-EC/package.json +7 -5
- package/locale/es-EC.json.d.ts +4 -0
- package/locale/es-EC.json.js +225 -0
- package/locale/es-GT/package.json +7 -5
- package/locale/es-GT.json.d.ts +4 -0
- package/locale/es-GT.json.js +225 -0
- package/locale/es-HN/package.json +7 -5
- package/locale/es-HN.json.d.ts +4 -0
- package/locale/es-HN.json.js +225 -0
- package/locale/es-MX/package.json +7 -5
- package/locale/es-MX.json.d.ts +4 -0
- package/locale/es-MX.json.js +231 -0
- package/locale/es-NI/package.json +7 -5
- package/locale/es-NI.json.d.ts +4 -0
- package/locale/es-NI.json.js +225 -0
- package/locale/es-PA/package.json +7 -5
- package/locale/es-PA.json.d.ts +4 -0
- package/locale/es-PA.json.js +225 -0
- package/locale/es-PE/package.json +7 -5
- package/locale/es-PE.json.d.ts +4 -0
- package/locale/es-PE.json.js +225 -0
- package/locale/es-PR/package.json +7 -5
- package/locale/es-PR.json.d.ts +4 -0
- package/locale/es-PR.json.js +225 -0
- package/locale/es-PY/package.json +7 -5
- package/locale/es-PY.json.d.ts +4 -0
- package/locale/es-PY.json.js +225 -0
- package/locale/es-SV/package.json +7 -5
- package/locale/es-SV.json.d.ts +4 -0
- package/locale/es-SV.json.js +225 -0
- package/locale/es-US/package.json +7 -5
- package/locale/es-US.json.d.ts +4 -0
- package/locale/es-US.json.js +225 -0
- package/locale/es-UY/package.json +7 -5
- package/locale/es-UY.json.d.ts +4 -0
- package/locale/es-UY.json.js +225 -0
- package/locale/es-VE/package.json +7 -5
- package/locale/es-VE.json.d.ts +4 -0
- package/locale/es-VE.json.js +225 -0
- package/locale/es.json +0 -10
- package/locale/es.json.d.ts +4 -0
- package/locale/es.json.js +272 -0
- package/locale/et/package.json +7 -5
- package/locale/et.json.d.ts +4 -0
- package/locale/et.json.js +165 -0
- package/locale/eu/package.json +7 -5
- package/locale/eu.json.d.ts +4 -0
- package/locale/eu.json.js +165 -0
- package/locale/fa/package.json +7 -5
- package/locale/fa.json.d.ts +4 -0
- package/locale/fa.json.js +165 -0
- package/locale/ff-Adlm/package.json +7 -5
- package/locale/ff-Adlm.json.d.ts +4 -0
- package/locale/ff-Adlm.json.js +279 -0
- package/locale/fi/package.json +7 -5
- package/locale/fi.json.d.ts +4 -0
- package/locale/fi.json.js +192 -0
- package/locale/fil/package.json +7 -5
- package/locale/fil.json.d.ts +4 -0
- package/locale/fil.json.js +300 -0
- package/locale/fo/package.json +7 -5
- package/locale/fo.json.d.ts +4 -0
- package/locale/fo.json.js +201 -0
- package/locale/fr/package.json +7 -5
- package/locale/fr-CA/package.json +7 -5
- package/locale/fr-CA.json.d.ts +4 -0
- package/locale/fr-CA.json.js +210 -0
- package/locale/fr.json.d.ts +4 -0
- package/locale/fr.json.js +260 -0
- package/locale/fur/package.json +7 -5
- package/locale/fur.json.d.ts +4 -0
- package/locale/fur.json.js +273 -0
- package/locale/fy/package.json +7 -5
- package/locale/fy.json.d.ts +4 -0
- package/locale/fy.json.js +255 -0
- package/locale/ga/package.json +7 -5
- package/locale/ga.json.d.ts +4 -0
- package/locale/ga.json.js +269 -0
- package/locale/gd/package.json +7 -5
- package/locale/gd.json.d.ts +4 -0
- package/locale/gd.json.js +315 -0
- package/locale/gl/package.json +7 -5
- package/locale/gl.json.d.ts +4 -0
- package/locale/gl.json.js +249 -0
- package/locale/gu/package.json +7 -5
- package/locale/gu.json.d.ts +4 -0
- package/locale/gu.json.js +165 -0
- package/locale/ha/package.json +7 -5
- package/locale/ha.json.d.ts +4 -0
- package/locale/ha.json.js +222 -0
- package/locale/he/package.json +7 -5
- package/locale/he.json.d.ts +4 -0
- package/locale/he.json.js +362 -0
- package/locale/hi/package.json +7 -5
- package/locale/hi-Latn/package.json +7 -5
- package/locale/hi-Latn.json.d.ts +4 -0
- package/locale/hi-Latn.json.js +183 -0
- package/locale/hi.json.d.ts +4 -0
- package/locale/hi.json.js +195 -0
- package/locale/hr/package.json +7 -5
- package/locale/hr.json.d.ts +4 -0
- package/locale/hr.json.js +231 -0
- package/locale/hsb/package.json +7 -5
- package/locale/hsb.json.d.ts +4 -0
- package/locale/hsb.json.js +235 -0
- package/locale/hu/package.json +7 -5
- package/locale/hu.json.d.ts +4 -0
- package/locale/hu.json.js +165 -0
- package/locale/hy/package.json +7 -5
- package/locale/hy.json.d.ts +4 -0
- package/locale/hy.json.js +165 -0
- package/locale/ia/package.json +7 -5
- package/locale/ia.json.d.ts +4 -0
- package/locale/ia.json.js +219 -0
- package/locale/id/package.json +7 -5
- package/locale/id.json.d.ts +4 -0
- package/locale/id.json.js +200 -0
- package/locale/ig/package.json +7 -5
- package/locale/ig.json.d.ts +4 -0
- package/locale/ig.json.js +159 -0
- package/locale/is/package.json +7 -5
- package/locale/is.json.d.ts +4 -0
- package/locale/is.json.js +237 -0
- package/locale/it/package.json +7 -5
- package/locale/it.json.d.ts +4 -0
- package/locale/it.json.js +305 -0
- package/locale/ja/package.json +7 -5
- package/locale/ja.json.d.ts +4 -0
- package/locale/ja.json.js +165 -0
- package/locale/jgo/package.json +7 -5
- package/locale/jgo.json.d.ts +4 -0
- package/locale/jgo.json.js +159 -0
- package/locale/jv/package.json +7 -5
- package/locale/jv.json.d.ts +4 -0
- package/locale/jv.json.js +159 -0
- package/locale/ka/package.json +7 -5
- package/locale/ka.json.d.ts +4 -0
- package/locale/ka.json.js +165 -0
- package/locale/kea/package.json +7 -5
- package/locale/kea.json.d.ts +4 -0
- package/locale/kea.json.js +159 -0
- package/locale/kgp/package.json +7 -5
- package/locale/kgp.json.d.ts +4 -0
- package/locale/kgp.json.js +165 -0
- package/locale/kk/package.json +7 -5
- package/locale/kk.json.d.ts +4 -0
- package/locale/kk.json.js +165 -0
- package/locale/kl/package.json +7 -5
- package/locale/kl.json.d.ts +4 -0
- package/locale/kl.json.js +159 -0
- package/locale/km/package.json +7 -5
- package/locale/km.json.d.ts +4 -0
- package/locale/km.json.js +165 -0
- package/locale/kn/package.json +7 -5
- package/locale/kn.json.d.ts +4 -0
- package/locale/kn.json.js +306 -0
- package/locale/ko/package.json +7 -5
- package/locale/ko.json +0 -11
- package/locale/ko.json.d.ts +4 -0
- package/locale/ko.json.js +183 -0
- package/locale/kok/package.json +7 -5
- package/locale/kok.json.d.ts +4 -0
- package/locale/kok.json.js +159 -0
- package/locale/ksh/package.json +7 -5
- package/locale/ksh.json.d.ts +4 -0
- package/locale/ksh.json.js +189 -0
- package/locale/ku/package.json +7 -5
- package/locale/ku.json.d.ts +4 -0
- package/locale/ku.json.js +177 -0
- package/locale/ky/package.json +7 -5
- package/locale/ky.json.d.ts +4 -0
- package/locale/ky.json.js +165 -0
- package/locale/lb/package.json +7 -5
- package/locale/lb.json.d.ts +4 -0
- package/locale/lb.json.js +255 -0
- package/locale/lkt/package.json +7 -5
- package/locale/lkt.json.d.ts +4 -0
- package/locale/lkt.json.js +159 -0
- package/locale/lo/package.json +7 -5
- package/locale/lo.json.d.ts +4 -0
- package/locale/lo.json.js +165 -0
- package/locale/lt/package.json +7 -5
- package/locale/lt.json.d.ts +4 -0
- package/locale/lt.json.js +232 -0
- package/locale/lv/package.json +7 -5
- package/locale/lv.json.d.ts +4 -0
- package/locale/lv.json.js +231 -0
- package/locale/mk/package.json +7 -5
- package/locale/mk.json.d.ts +4 -0
- package/locale/mk.json.js +261 -0
- package/locale/ml/package.json +7 -5
- package/locale/ml.json.d.ts +4 -0
- package/locale/ml.json.js +165 -0
- package/locale/mn/package.json +7 -5
- package/locale/mn.json.d.ts +4 -0
- package/locale/mn.json.js +165 -0
- package/locale/mni/package.json +7 -5
- package/locale/mni.json.d.ts +4 -0
- package/locale/mni.json.js +159 -0
- package/locale/mr/package.json +7 -5
- package/locale/mr.json.d.ts +4 -0
- package/locale/mr.json.js +279 -0
- package/locale/ms/package.json +7 -5
- package/locale/ms.json.d.ts +4 -0
- package/locale/ms.json.js +165 -0
- package/locale/mt/package.json +7 -5
- package/locale/mt.json.d.ts +4 -0
- package/locale/mt.json.js +307 -0
- package/locale/my/package.json +7 -5
- package/locale/my.json.d.ts +4 -0
- package/locale/my.json.js +165 -0
- package/locale/mzn/package.json +7 -5
- package/locale/mzn.json.d.ts +4 -0
- package/locale/mzn.json.js +159 -0
- package/locale/nb/package.json +7 -5
- package/locale/nb.json.d.ts +4 -0
- package/locale/nb.json.js +201 -0
- package/locale/ne/package.json +7 -5
- package/locale/ne.json.d.ts +4 -0
- package/locale/ne.json.js +168 -0
- package/locale/nl/package.json +7 -5
- package/locale/nl.json.d.ts +4 -0
- package/locale/nl.json.js +302 -0
- package/locale/nn/package.json +7 -5
- package/locale/nn.json.d.ts +4 -0
- package/locale/nn.json.js +189 -0
- package/locale/no/package.json +7 -5
- package/locale/no.json.d.ts +4 -0
- package/locale/no.json.js +201 -0
- package/locale/or/package.json +7 -5
- package/locale/or.json.d.ts +4 -0
- package/locale/or.json.js +162 -0
- package/locale/pa/package.json +7 -5
- package/locale/pa.json.d.ts +4 -0
- package/locale/pa.json.js +267 -0
- package/locale/pcm/package.json +7 -5
- package/locale/pcm.json.d.ts +4 -0
- package/locale/pcm.json.js +159 -0
- package/locale/pl/package.json +7 -5
- package/locale/pl.json.d.ts +4 -0
- package/locale/pl.json.js +291 -0
- package/locale/ps/package.json +7 -5
- package/locale/ps-PK/package.json +7 -5
- package/locale/ps-PK.json.d.ts +4 -0
- package/locale/ps-PK.json.js +240 -0
- package/locale/ps.json.d.ts +4 -0
- package/locale/ps.json.js +240 -0
- package/locale/pt/package.json +7 -5
- package/locale/pt-AO/package.json +7 -5
- package/locale/pt-AO.json.d.ts +4 -0
- package/locale/pt-AO.json.js +249 -0
- package/locale/pt-CH/package.json +7 -5
- package/locale/pt-CH.json.d.ts +4 -0
- package/locale/pt-CH.json.js +249 -0
- package/locale/pt-CV/package.json +7 -5
- package/locale/pt-CV.json.d.ts +4 -0
- package/locale/pt-CV.json.js +249 -0
- package/locale/pt-GQ/package.json +7 -5
- package/locale/pt-GQ.json.d.ts +4 -0
- package/locale/pt-GQ.json.js +249 -0
- package/locale/pt-GW/package.json +7 -5
- package/locale/pt-GW.json.d.ts +4 -0
- package/locale/pt-GW.json.js +249 -0
- package/locale/pt-LU/package.json +7 -5
- package/locale/pt-LU.json.d.ts +4 -0
- package/locale/pt-LU.json.js +249 -0
- package/locale/pt-MO/package.json +7 -5
- package/locale/pt-MO.json.d.ts +4 -0
- package/locale/pt-MO.json.js +249 -0
- package/locale/pt-MZ/package.json +7 -5
- package/locale/pt-MZ.json.d.ts +4 -0
- package/locale/pt-MZ.json.js +249 -0
- package/locale/pt-PT/package.json +7 -5
- package/locale/pt-PT.json.d.ts +4 -0
- package/locale/pt-PT.json.js +249 -0
- package/locale/pt-ST/package.json +7 -5
- package/locale/pt-ST.json.d.ts +4 -0
- package/locale/pt-ST.json.js +249 -0
- package/locale/pt-TL/package.json +7 -5
- package/locale/pt-TL.json.d.ts +4 -0
- package/locale/pt-TL.json.js +249 -0
- package/locale/pt.json.d.ts +4 -0
- package/locale/pt.json.js +296 -0
- package/locale/qu/package.json +7 -5
- package/locale/qu.json.d.ts +4 -0
- package/locale/qu.json.js +159 -0
- package/locale/rm/package.json +7 -5
- package/locale/rm.json.d.ts +4 -0
- package/locale/rm.json.js +165 -0
- package/locale/ro/package.json +7 -5
- package/locale/ro.json.d.ts +4 -0
- package/locale/ro.json.js +325 -0
- package/locale/ru/package.json +7 -5
- package/locale/ru.json +20 -29
- package/locale/ru.json.d.ts +4 -0
- package/locale/ru.json.js +313 -0
- package/locale/sah/package.json +7 -5
- package/locale/sah.json.d.ts +4 -0
- package/locale/sah.json.js +165 -0
- package/locale/sc/package.json +7 -5
- package/locale/sc.json.d.ts +4 -0
- package/locale/sc.json.js +249 -0
- package/locale/sd/package.json +7 -5
- package/locale/sd.json.d.ts +4 -0
- package/locale/sd.json.js +162 -0
- package/locale/se/package.json +7 -5
- package/locale/se-FI/package.json +7 -5
- package/locale/se-FI.json.d.ts +4 -0
- package/locale/se-FI.json.js +270 -0
- package/locale/se.json.d.ts +4 -0
- package/locale/se.json.js +276 -0
- package/locale/si/package.json +7 -5
- package/locale/si.json.d.ts +4 -0
- package/locale/si.json.js +165 -0
- package/locale/sk/package.json +7 -5
- package/locale/sk.json.d.ts +4 -0
- package/locale/sk.json.js +237 -0
- package/locale/sl/package.json +7 -5
- package/locale/sl.json.d.ts +4 -0
- package/locale/sl.json.js +279 -0
- package/locale/so/package.json +7 -5
- package/locale/so.json.d.ts +4 -0
- package/locale/so.json.js +213 -0
- package/locale/sq/package.json +7 -5
- package/locale/sq.json.d.ts +4 -0
- package/locale/sq.json.js +243 -0
- package/locale/sr/package.json +7 -5
- package/locale/sr-Cyrl-BA/package.json +7 -5
- package/locale/sr-Cyrl-BA.json.d.ts +4 -0
- package/locale/sr-Cyrl-BA.json.js +214 -0
- package/locale/sr-Latn/package.json +7 -5
- package/locale/sr-Latn-BA/package.json +7 -5
- package/locale/sr-Latn-BA.json.d.ts +4 -0
- package/locale/sr-Latn-BA.json.js +214 -0
- package/locale/sr-Latn.json.d.ts +4 -0
- package/locale/sr-Latn.json.js +214 -0
- package/locale/sr.json.d.ts +4 -0
- package/locale/sr.json.js +214 -0
- package/locale/su/package.json +7 -5
- package/locale/su.json.d.ts +4 -0
- package/locale/su.json.js +159 -0
- package/locale/sv/package.json +7 -5
- package/locale/sv.json.d.ts +4 -0
- package/locale/sv.json.js +257 -0
- package/locale/sw/package.json +7 -5
- package/locale/sw.json.d.ts +4 -0
- package/locale/sw.json.js +255 -0
- package/locale/ta/package.json +7 -5
- package/locale/ta.json.d.ts +4 -0
- package/locale/ta.json.js +219 -0
- package/locale/te/package.json +7 -5
- package/locale/te.json.d.ts +4 -0
- package/locale/te.json.js +267 -0
- package/locale/tg/package.json +7 -5
- package/locale/tg.json.d.ts +4 -0
- package/locale/tg.json.js +159 -0
- package/locale/th/package.json +7 -5
- package/locale/th.json.d.ts +4 -0
- package/locale/th.json.js +165 -0
- package/locale/ti/package.json +7 -5
- package/locale/ti.json.d.ts +4 -0
- package/locale/ti.json.js +165 -0
- package/locale/tk/package.json +7 -5
- package/locale/tk.json.d.ts +4 -0
- package/locale/tk.json.js +159 -0
- package/locale/to/package.json +7 -5
- package/locale/to.json.d.ts +4 -0
- package/locale/to.json.js +165 -0
- package/locale/tr/package.json +7 -5
- package/locale/tr.json.d.ts +4 -0
- package/locale/tr.json.js +165 -0
- package/locale/tt/package.json +7 -5
- package/locale/tt.json.d.ts +4 -0
- package/locale/tt.json.js +159 -0
- package/locale/ug/package.json +7 -5
- package/locale/ug.json.d.ts +4 -0
- package/locale/ug.json.js +159 -0
- package/locale/uk/package.json +7 -5
- package/locale/uk.json.d.ts +4 -0
- package/locale/uk.json.js +242 -0
- package/locale/ur/package.json +7 -5
- package/locale/ur-IN/package.json +7 -5
- package/locale/ur-IN.json.d.ts +4 -0
- package/locale/ur-IN.json.js +204 -0
- package/locale/ur.json.d.ts +4 -0
- package/locale/ur.json.js +204 -0
- package/locale/uz/package.json +7 -5
- package/locale/uz-Cyrl/package.json +7 -5
- package/locale/uz-Cyrl.json.d.ts +4 -0
- package/locale/uz-Cyrl.json.js +159 -0
- package/locale/uz.json.d.ts +4 -0
- package/locale/uz.json.js +159 -0
- package/locale/vi/package.json +7 -5
- package/locale/vi.json.d.ts +4 -0
- package/locale/vi.json.js +165 -0
- package/locale/wae/package.json +7 -5
- package/locale/wae.json.d.ts +4 -0
- package/locale/wae.json.js +264 -0
- package/locale/wo/package.json +7 -5
- package/locale/wo.json.d.ts +4 -0
- package/locale/wo.json.js +159 -0
- package/locale/yi/package.json +7 -5
- package/locale/yi.json.d.ts +4 -0
- package/locale/yi.json.js +189 -0
- package/locale/yo/package.json +7 -5
- package/locale/yo-BJ/package.json +7 -5
- package/locale/yo-BJ.json.d.ts +4 -0
- package/locale/yo-BJ.json.js +165 -0
- package/locale/yo.json.d.ts +4 -0
- package/locale/yo.json.js +165 -0
- package/locale/yrl/package.json +7 -5
- package/locale/yrl.json.d.ts +4 -0
- package/locale/yrl.json.js +309 -0
- package/locale/yue/package.json +7 -5
- package/locale/yue-Hans/package.json +7 -5
- package/locale/yue-Hans.json.d.ts +4 -0
- package/locale/yue-Hans.json.js +165 -0
- package/locale/yue.json.d.ts +4 -0
- package/locale/yue.json.js +165 -0
- package/locale/zh/package.json +7 -5
- package/locale/zh-Hans-HK/package.json +7 -5
- package/locale/zh-Hans-HK.json.d.ts +4 -0
- package/locale/zh-Hans-HK.json.js +165 -0
- package/locale/zh-Hans-MO/package.json +7 -5
- package/locale/zh-Hans-MO.json.d.ts +4 -0
- package/locale/zh-Hans-MO.json.js +165 -0
- package/locale/zh-Hans-SG/package.json +7 -5
- package/locale/zh-Hans-SG.json.d.ts +4 -0
- package/locale/zh-Hans-SG.json.js +165 -0
- package/locale/zh-Hant/package.json +7 -5
- package/locale/zh-Hant-HK/package.json +7 -5
- package/locale/zh-Hant-HK.json.d.ts +4 -0
- package/locale/zh-Hant-HK.json.js +165 -0
- package/locale/zh-Hant-MO/package.json +7 -5
- package/locale/zh-Hant-MO.json.d.ts +4 -0
- package/locale/zh-Hant-MO.json.js +165 -0
- package/locale/zh-Hant.json.d.ts +4 -0
- package/locale/zh-Hant.json.js +165 -0
- package/locale/zh.json.d.ts +4 -0
- package/locale/zh.json.js +182 -0
- package/locale/zu/package.json +7 -5
- package/locale/zu.json.d.ts +4 -0
- package/locale/zu.json.js +279 -0
- package/modules/TimeAgo.js +4 -0
- package/modules/TimeAgo.js.map +1 -1
- package/package.json +2242 -562
- package/locale/af/index.cjs +0 -3
- package/locale/af/index.cjs.js +0 -3
- package/locale/af/index.js +0 -1
- package/locale/am/index.cjs +0 -3
- package/locale/am/index.cjs.js +0 -3
- package/locale/am/index.js +0 -1
- package/locale/ar/index.cjs +0 -3
- package/locale/ar/index.cjs.js +0 -3
- package/locale/ar/index.js +0 -1
- package/locale/ar-AE/index.cjs +0 -3
- package/locale/ar-AE/index.cjs.js +0 -3
- package/locale/ar-AE/index.js +0 -1
- package/locale/as/index.cjs +0 -3
- package/locale/as/index.cjs.js +0 -3
- package/locale/as/index.js +0 -1
- package/locale/ast/index.cjs +0 -3
- package/locale/ast/index.cjs.js +0 -3
- package/locale/ast/index.js +0 -1
- package/locale/az/index.cjs +0 -3
- package/locale/az/index.cjs.js +0 -3
- package/locale/az/index.js +0 -1
- package/locale/be/index.cjs +0 -3
- package/locale/be/index.cjs.js +0 -3
- package/locale/be/index.js +0 -1
- package/locale/bg/index.cjs +0 -3
- package/locale/bg/index.cjs.js +0 -3
- package/locale/bg/index.js +0 -1
- package/locale/bn/index.cjs +0 -3
- package/locale/bn/index.cjs.js +0 -3
- package/locale/bn/index.js +0 -1
- package/locale/br/index.cjs +0 -3
- package/locale/br/index.cjs.js +0 -3
- package/locale/br/index.js +0 -1
- package/locale/brx/index.cjs +0 -3
- package/locale/brx/index.cjs.js +0 -3
- package/locale/brx/index.js +0 -1
- package/locale/bs/index.cjs +0 -3
- package/locale/bs/index.cjs.js +0 -3
- package/locale/bs/index.js +0 -1
- package/locale/bs-Cyrl/index.cjs +0 -3
- package/locale/bs-Cyrl/index.cjs.js +0 -3
- package/locale/bs-Cyrl/index.js +0 -1
- package/locale/ca/index.cjs +0 -3
- package/locale/ca/index.cjs.js +0 -3
- package/locale/ca/index.js +0 -1
- package/locale/ccp/index.cjs +0 -3
- package/locale/ccp/index.cjs.js +0 -3
- package/locale/ccp/index.js +0 -1
- package/locale/ce/index.cjs +0 -3
- package/locale/ce/index.cjs.js +0 -3
- package/locale/ce/index.js +0 -1
- package/locale/ceb/index.cjs +0 -3
- package/locale/ceb/index.cjs.js +0 -3
- package/locale/ceb/index.js +0 -1
- package/locale/chr/index.cjs +0 -3
- package/locale/chr/index.cjs.js +0 -3
- package/locale/chr/index.js +0 -1
- package/locale/cs/index.cjs +0 -3
- package/locale/cs/index.cjs.js +0 -3
- package/locale/cs/index.js +0 -1
- package/locale/cy/index.cjs +0 -3
- package/locale/cy/index.cjs.js +0 -3
- package/locale/cy/index.js +0 -1
- package/locale/da/index.cjs +0 -3
- package/locale/da/index.cjs.js +0 -3
- package/locale/da/index.js +0 -1
- package/locale/de/index.cjs +0 -3
- package/locale/de/index.cjs.js +0 -3
- package/locale/de/index.js +0 -1
- package/locale/dsb/index.cjs +0 -3
- package/locale/dsb/index.cjs.js +0 -3
- package/locale/dsb/index.js +0 -1
- package/locale/dz/index.cjs +0 -3
- package/locale/dz/index.cjs.js +0 -3
- package/locale/dz/index.js +0 -1
- package/locale/ee/index.cjs +0 -3
- package/locale/ee/index.cjs.js +0 -3
- package/locale/ee/index.js +0 -1
- package/locale/el/index.cjs +0 -3
- package/locale/el/index.cjs.js +0 -3
- package/locale/el/index.js +0 -1
- package/locale/en/index.cjs +0 -3
- package/locale/en/index.cjs.js +0 -3
- package/locale/en/index.js +0 -1
- package/locale/en-001/index.cjs +0 -3
- package/locale/en-001/index.cjs.js +0 -3
- package/locale/en-001/index.js +0 -1
- package/locale/en-150/index.cjs +0 -3
- package/locale/en-150/index.cjs.js +0 -3
- package/locale/en-150/index.js +0 -1
- package/locale/en-AG/index.cjs +0 -3
- package/locale/en-AG/index.cjs.js +0 -3
- package/locale/en-AG/index.js +0 -1
- package/locale/en-AI/index.cjs +0 -3
- package/locale/en-AI/index.cjs.js +0 -3
- package/locale/en-AI/index.js +0 -1
- package/locale/en-AT/index.cjs +0 -3
- package/locale/en-AT/index.cjs.js +0 -3
- package/locale/en-AT/index.js +0 -1
- package/locale/en-AU/index.cjs +0 -3
- package/locale/en-AU/index.cjs.js +0 -3
- package/locale/en-AU/index.js +0 -1
- package/locale/en-BB/index.cjs +0 -3
- package/locale/en-BB/index.cjs.js +0 -3
- package/locale/en-BB/index.js +0 -1
- package/locale/en-BE/index.cjs +0 -3
- package/locale/en-BE/index.cjs.js +0 -3
- package/locale/en-BE/index.js +0 -1
- package/locale/en-BM/index.cjs +0 -3
- package/locale/en-BM/index.cjs.js +0 -3
- package/locale/en-BM/index.js +0 -1
- package/locale/en-BS/index.cjs +0 -3
- package/locale/en-BS/index.cjs.js +0 -3
- package/locale/en-BS/index.js +0 -1
- package/locale/en-BW/index.cjs +0 -3
- package/locale/en-BW/index.cjs.js +0 -3
- package/locale/en-BW/index.js +0 -1
- package/locale/en-BZ/index.cjs +0 -3
- package/locale/en-BZ/index.cjs.js +0 -3
- package/locale/en-BZ/index.js +0 -1
- package/locale/en-CA/index.cjs +0 -3
- package/locale/en-CA/index.cjs.js +0 -3
- package/locale/en-CA/index.js +0 -1
- package/locale/en-CC/index.cjs +0 -3
- package/locale/en-CC/index.cjs.js +0 -3
- package/locale/en-CC/index.js +0 -1
- package/locale/en-CH/index.cjs +0 -3
- package/locale/en-CH/index.cjs.js +0 -3
- package/locale/en-CH/index.js +0 -1
- package/locale/en-CK/index.cjs +0 -3
- package/locale/en-CK/index.cjs.js +0 -3
- package/locale/en-CK/index.js +0 -1
- package/locale/en-CM/index.cjs +0 -3
- package/locale/en-CM/index.cjs.js +0 -3
- package/locale/en-CM/index.js +0 -1
- package/locale/en-CX/index.cjs +0 -3
- package/locale/en-CX/index.cjs.js +0 -3
- package/locale/en-CX/index.js +0 -1
- package/locale/en-CY/index.cjs +0 -3
- package/locale/en-CY/index.cjs.js +0 -3
- package/locale/en-CY/index.js +0 -1
- package/locale/en-DE/index.cjs +0 -3
- package/locale/en-DE/index.cjs.js +0 -3
- package/locale/en-DE/index.js +0 -1
- package/locale/en-DG/index.cjs +0 -3
- package/locale/en-DG/index.cjs.js +0 -3
- package/locale/en-DG/index.js +0 -1
- package/locale/en-DK/index.cjs +0 -3
- package/locale/en-DK/index.cjs.js +0 -3
- package/locale/en-DK/index.js +0 -1
- package/locale/en-DM/index.cjs +0 -3
- package/locale/en-DM/index.cjs.js +0 -3
- package/locale/en-DM/index.js +0 -1
- package/locale/en-ER/index.cjs +0 -3
- package/locale/en-ER/index.cjs.js +0 -3
- package/locale/en-ER/index.js +0 -1
- package/locale/en-FI/index.cjs +0 -3
- package/locale/en-FI/index.cjs.js +0 -3
- package/locale/en-FI/index.js +0 -1
- package/locale/en-FJ/index.cjs +0 -3
- package/locale/en-FJ/index.cjs.js +0 -3
- package/locale/en-FJ/index.js +0 -1
- package/locale/en-FK/index.cjs +0 -3
- package/locale/en-FK/index.cjs.js +0 -3
- package/locale/en-FK/index.js +0 -1
- package/locale/en-FM/index.cjs +0 -3
- package/locale/en-FM/index.cjs.js +0 -3
- package/locale/en-FM/index.js +0 -1
- package/locale/en-GB/index.cjs +0 -3
- package/locale/en-GB/index.cjs.js +0 -3
- package/locale/en-GB/index.js +0 -1
- package/locale/en-GD/index.cjs +0 -3
- package/locale/en-GD/index.cjs.js +0 -3
- package/locale/en-GD/index.js +0 -1
- package/locale/en-GG/index.cjs +0 -3
- package/locale/en-GG/index.cjs.js +0 -3
- package/locale/en-GG/index.js +0 -1
- package/locale/en-GH/index.cjs +0 -3
- package/locale/en-GH/index.cjs.js +0 -3
- package/locale/en-GH/index.js +0 -1
- package/locale/en-GI/index.cjs +0 -3
- package/locale/en-GI/index.cjs.js +0 -3
- package/locale/en-GI/index.js +0 -1
- package/locale/en-GM/index.cjs +0 -3
- package/locale/en-GM/index.cjs.js +0 -3
- package/locale/en-GM/index.js +0 -1
- package/locale/en-GY/index.cjs +0 -3
- package/locale/en-GY/index.cjs.js +0 -3
- package/locale/en-GY/index.js +0 -1
- package/locale/en-HK/index.cjs +0 -3
- package/locale/en-HK/index.cjs.js +0 -3
- package/locale/en-HK/index.js +0 -1
- package/locale/en-IE/index.cjs +0 -3
- package/locale/en-IE/index.cjs.js +0 -3
- package/locale/en-IE/index.js +0 -1
- package/locale/en-IL/index.cjs +0 -3
- package/locale/en-IL/index.cjs.js +0 -3
- package/locale/en-IL/index.js +0 -1
- package/locale/en-IM/index.cjs +0 -3
- package/locale/en-IM/index.cjs.js +0 -3
- package/locale/en-IM/index.js +0 -1
- package/locale/en-IN/index.cjs +0 -3
- package/locale/en-IN/index.cjs.js +0 -3
- package/locale/en-IN/index.js +0 -1
- package/locale/en-IO/index.cjs +0 -3
- package/locale/en-IO/index.cjs.js +0 -3
- package/locale/en-IO/index.js +0 -1
- package/locale/en-JE/index.cjs +0 -3
- package/locale/en-JE/index.cjs.js +0 -3
- package/locale/en-JE/index.js +0 -1
- package/locale/en-JM/index.cjs +0 -3
- package/locale/en-JM/index.cjs.js +0 -3
- package/locale/en-JM/index.js +0 -1
- package/locale/en-KE/index.cjs +0 -3
- package/locale/en-KE/index.cjs.js +0 -3
- package/locale/en-KE/index.js +0 -1
- package/locale/en-KI/index.cjs +0 -3
- package/locale/en-KI/index.cjs.js +0 -3
- package/locale/en-KI/index.js +0 -1
- package/locale/en-KN/index.cjs +0 -3
- package/locale/en-KN/index.cjs.js +0 -3
- package/locale/en-KN/index.js +0 -1
- package/locale/en-KY/index.cjs +0 -3
- package/locale/en-KY/index.cjs.js +0 -3
- package/locale/en-KY/index.js +0 -1
- package/locale/en-LC/index.cjs +0 -3
- package/locale/en-LC/index.cjs.js +0 -3
- package/locale/en-LC/index.js +0 -1
- package/locale/en-LR/index.cjs +0 -3
- package/locale/en-LR/index.cjs.js +0 -3
- package/locale/en-LR/index.js +0 -1
- package/locale/en-LS/index.cjs +0 -3
- package/locale/en-LS/index.cjs.js +0 -3
- package/locale/en-LS/index.js +0 -1
- package/locale/en-MG/index.cjs +0 -3
- package/locale/en-MG/index.cjs.js +0 -3
- package/locale/en-MG/index.js +0 -1
- package/locale/en-MO/index.cjs +0 -3
- package/locale/en-MO/index.cjs.js +0 -3
- package/locale/en-MO/index.js +0 -1
- package/locale/en-MS/index.cjs +0 -3
- package/locale/en-MS/index.cjs.js +0 -3
- package/locale/en-MS/index.js +0 -1
- package/locale/en-MT/index.cjs +0 -3
- package/locale/en-MT/index.cjs.js +0 -3
- package/locale/en-MT/index.js +0 -1
- package/locale/en-MU/index.cjs +0 -3
- package/locale/en-MU/index.cjs.js +0 -3
- package/locale/en-MU/index.js +0 -1
- package/locale/en-MV/index.cjs +0 -3
- package/locale/en-MV/index.cjs.js +0 -3
- package/locale/en-MV/index.js +0 -1
- package/locale/en-MW/index.cjs +0 -3
- package/locale/en-MW/index.cjs.js +0 -3
- package/locale/en-MW/index.js +0 -1
- package/locale/en-MY/index.cjs +0 -3
- package/locale/en-MY/index.cjs.js +0 -3
- package/locale/en-MY/index.js +0 -1
- package/locale/en-NA/index.cjs +0 -3
- package/locale/en-NA/index.cjs.js +0 -3
- package/locale/en-NA/index.js +0 -1
- package/locale/en-NF/index.cjs +0 -3
- package/locale/en-NF/index.cjs.js +0 -3
- package/locale/en-NF/index.js +0 -1
- package/locale/en-NG/index.cjs +0 -3
- package/locale/en-NG/index.cjs.js +0 -3
- package/locale/en-NG/index.js +0 -1
- package/locale/en-NL/index.cjs +0 -3
- package/locale/en-NL/index.cjs.js +0 -3
- package/locale/en-NL/index.js +0 -1
- package/locale/en-NR/index.cjs +0 -3
- package/locale/en-NR/index.cjs.js +0 -3
- package/locale/en-NR/index.js +0 -1
- package/locale/en-NU/index.cjs +0 -3
- package/locale/en-NU/index.cjs.js +0 -3
- package/locale/en-NU/index.js +0 -1
- package/locale/en-NZ/index.cjs +0 -3
- package/locale/en-NZ/index.cjs.js +0 -3
- package/locale/en-NZ/index.js +0 -1
- package/locale/en-PG/index.cjs +0 -3
- package/locale/en-PG/index.cjs.js +0 -3
- package/locale/en-PG/index.js +0 -1
- package/locale/en-PK/index.cjs +0 -3
- package/locale/en-PK/index.cjs.js +0 -3
- package/locale/en-PK/index.js +0 -1
- package/locale/en-PN/index.cjs +0 -3
- package/locale/en-PN/index.cjs.js +0 -3
- package/locale/en-PN/index.js +0 -1
- package/locale/en-PW/index.cjs +0 -3
- package/locale/en-PW/index.cjs.js +0 -3
- package/locale/en-PW/index.js +0 -1
- package/locale/en-RW/index.cjs +0 -3
- package/locale/en-RW/index.cjs.js +0 -3
- package/locale/en-RW/index.js +0 -1
- package/locale/en-SB/index.cjs +0 -3
- package/locale/en-SB/index.cjs.js +0 -3
- package/locale/en-SB/index.js +0 -1
- package/locale/en-SC/index.cjs +0 -3
- package/locale/en-SC/index.cjs.js +0 -3
- package/locale/en-SC/index.js +0 -1
- package/locale/en-SD/index.cjs +0 -3
- package/locale/en-SD/index.cjs.js +0 -3
- package/locale/en-SD/index.js +0 -1
- package/locale/en-SE/index.cjs +0 -3
- package/locale/en-SE/index.cjs.js +0 -3
- package/locale/en-SE/index.js +0 -1
- package/locale/en-SG/index.cjs +0 -3
- package/locale/en-SG/index.cjs.js +0 -3
- package/locale/en-SG/index.js +0 -1
- package/locale/en-SH/index.cjs +0 -3
- package/locale/en-SH/index.cjs.js +0 -3
- package/locale/en-SH/index.js +0 -1
- package/locale/en-SI/index.cjs +0 -3
- package/locale/en-SI/index.cjs.js +0 -3
- package/locale/en-SI/index.js +0 -1
- package/locale/en-SL/index.cjs +0 -3
- package/locale/en-SL/index.cjs.js +0 -3
- package/locale/en-SL/index.js +0 -1
- package/locale/en-SS/index.cjs +0 -3
- package/locale/en-SS/index.cjs.js +0 -3
- package/locale/en-SS/index.js +0 -1
- package/locale/en-SX/index.cjs +0 -3
- package/locale/en-SX/index.cjs.js +0 -3
- package/locale/en-SX/index.js +0 -1
- package/locale/en-SZ/index.cjs +0 -3
- package/locale/en-SZ/index.cjs.js +0 -3
- package/locale/en-SZ/index.js +0 -1
- package/locale/en-TC/index.cjs +0 -3
- package/locale/en-TC/index.cjs.js +0 -3
- package/locale/en-TC/index.js +0 -1
- package/locale/en-TK/index.cjs +0 -3
- package/locale/en-TK/index.cjs.js +0 -3
- package/locale/en-TK/index.js +0 -1
- package/locale/en-TO/index.cjs +0 -3
- package/locale/en-TO/index.cjs.js +0 -3
- package/locale/en-TO/index.js +0 -1
- package/locale/en-TT/index.cjs +0 -3
- package/locale/en-TT/index.cjs.js +0 -3
- package/locale/en-TT/index.js +0 -1
- package/locale/en-TV/index.cjs +0 -3
- package/locale/en-TV/index.cjs.js +0 -3
- package/locale/en-TV/index.js +0 -1
- package/locale/en-TZ/index.cjs +0 -3
- package/locale/en-TZ/index.cjs.js +0 -3
- package/locale/en-TZ/index.js +0 -1
- package/locale/en-UG/index.cjs +0 -3
- package/locale/en-UG/index.cjs.js +0 -3
- package/locale/en-UG/index.js +0 -1
- package/locale/en-VC/index.cjs +0 -3
- package/locale/en-VC/index.cjs.js +0 -3
- package/locale/en-VC/index.js +0 -1
- package/locale/en-VG/index.cjs +0 -3
- package/locale/en-VG/index.cjs.js +0 -3
- package/locale/en-VG/index.js +0 -1
- package/locale/en-VU/index.cjs +0 -3
- package/locale/en-VU/index.cjs.js +0 -3
- package/locale/en-VU/index.js +0 -1
- package/locale/en-WS/index.cjs +0 -3
- package/locale/en-WS/index.cjs.js +0 -3
- package/locale/en-WS/index.js +0 -1
- package/locale/en-ZA/index.cjs +0 -3
- package/locale/en-ZA/index.cjs.js +0 -3
- package/locale/en-ZA/index.js +0 -1
- package/locale/en-ZM/index.cjs +0 -3
- package/locale/en-ZM/index.cjs.js +0 -3
- package/locale/en-ZM/index.js +0 -1
- package/locale/en-ZW/index.cjs +0 -3
- package/locale/en-ZW/index.cjs.js +0 -3
- package/locale/en-ZW/index.js +0 -1
- package/locale/es/index.cjs +0 -3
- package/locale/es/index.cjs.js +0 -3
- package/locale/es/index.js +0 -1
- package/locale/es-419/index.cjs +0 -3
- package/locale/es-419/index.cjs.js +0 -3
- package/locale/es-419/index.js +0 -1
- package/locale/es-AR/index.cjs +0 -3
- package/locale/es-AR/index.cjs.js +0 -3
- package/locale/es-AR/index.js +0 -1
- package/locale/es-BO/index.cjs +0 -3
- package/locale/es-BO/index.cjs.js +0 -3
- package/locale/es-BO/index.js +0 -1
- package/locale/es-BR/index.cjs +0 -3
- package/locale/es-BR/index.cjs.js +0 -3
- package/locale/es-BR/index.js +0 -1
- package/locale/es-BZ/index.cjs +0 -3
- package/locale/es-BZ/index.cjs.js +0 -3
- package/locale/es-BZ/index.js +0 -1
- package/locale/es-CL/index.cjs +0 -3
- package/locale/es-CL/index.cjs.js +0 -3
- package/locale/es-CL/index.js +0 -1
- package/locale/es-CO/index.cjs +0 -3
- package/locale/es-CO/index.cjs.js +0 -3
- package/locale/es-CO/index.js +0 -1
- package/locale/es-CR/index.cjs +0 -3
- package/locale/es-CR/index.cjs.js +0 -3
- package/locale/es-CR/index.js +0 -1
- package/locale/es-CU/index.cjs +0 -3
- package/locale/es-CU/index.cjs.js +0 -3
- package/locale/es-CU/index.js +0 -1
- package/locale/es-DO/index.cjs +0 -3
- package/locale/es-DO/index.cjs.js +0 -3
- package/locale/es-DO/index.js +0 -1
- package/locale/es-EC/index.cjs +0 -3
- package/locale/es-EC/index.cjs.js +0 -3
- package/locale/es-EC/index.js +0 -1
- package/locale/es-GT/index.cjs +0 -3
- package/locale/es-GT/index.cjs.js +0 -3
- package/locale/es-GT/index.js +0 -1
- package/locale/es-HN/index.cjs +0 -3
- package/locale/es-HN/index.cjs.js +0 -3
- package/locale/es-HN/index.js +0 -1
- package/locale/es-MX/index.cjs +0 -3
- package/locale/es-MX/index.cjs.js +0 -3
- package/locale/es-MX/index.js +0 -1
- package/locale/es-NI/index.cjs +0 -3
- package/locale/es-NI/index.cjs.js +0 -3
- package/locale/es-NI/index.js +0 -1
- package/locale/es-PA/index.cjs +0 -3
- package/locale/es-PA/index.cjs.js +0 -3
- package/locale/es-PA/index.js +0 -1
- package/locale/es-PE/index.cjs +0 -3
- package/locale/es-PE/index.cjs.js +0 -3
- package/locale/es-PE/index.js +0 -1
- package/locale/es-PR/index.cjs +0 -3
- package/locale/es-PR/index.cjs.js +0 -3
- package/locale/es-PR/index.js +0 -1
- package/locale/es-PY/index.cjs +0 -3
- package/locale/es-PY/index.cjs.js +0 -3
- package/locale/es-PY/index.js +0 -1
- package/locale/es-SV/index.cjs +0 -3
- package/locale/es-SV/index.cjs.js +0 -3
- package/locale/es-SV/index.js +0 -1
- package/locale/es-US/index.cjs +0 -3
- package/locale/es-US/index.cjs.js +0 -3
- package/locale/es-US/index.js +0 -1
- package/locale/es-UY/index.cjs +0 -3
- package/locale/es-UY/index.cjs.js +0 -3
- package/locale/es-UY/index.js +0 -1
- package/locale/es-VE/index.cjs +0 -3
- package/locale/es-VE/index.cjs.js +0 -3
- package/locale/es-VE/index.js +0 -1
- package/locale/et/index.cjs +0 -3
- package/locale/et/index.cjs.js +0 -3
- package/locale/et/index.js +0 -1
- package/locale/eu/index.cjs +0 -3
- package/locale/eu/index.cjs.js +0 -3
- package/locale/eu/index.js +0 -1
- package/locale/fa/index.cjs +0 -3
- package/locale/fa/index.cjs.js +0 -3
- package/locale/fa/index.js +0 -1
- package/locale/ff-Adlm/index.cjs +0 -3
- package/locale/ff-Adlm/index.cjs.js +0 -3
- package/locale/ff-Adlm/index.js +0 -1
- package/locale/fi/index.cjs +0 -3
- package/locale/fi/index.cjs.js +0 -3
- package/locale/fi/index.js +0 -1
- package/locale/fil/index.cjs +0 -3
- package/locale/fil/index.cjs.js +0 -3
- package/locale/fil/index.js +0 -1
- package/locale/fo/index.cjs +0 -3
- package/locale/fo/index.cjs.js +0 -3
- package/locale/fo/index.js +0 -1
- package/locale/fr/index.cjs +0 -3
- package/locale/fr/index.cjs.js +0 -3
- package/locale/fr/index.js +0 -1
- package/locale/fr-CA/index.cjs +0 -3
- package/locale/fr-CA/index.cjs.js +0 -3
- package/locale/fr-CA/index.js +0 -1
- package/locale/fur/index.cjs +0 -3
- package/locale/fur/index.cjs.js +0 -3
- package/locale/fur/index.js +0 -1
- package/locale/fy/index.cjs +0 -3
- package/locale/fy/index.cjs.js +0 -3
- package/locale/fy/index.js +0 -1
- package/locale/ga/index.cjs +0 -3
- package/locale/ga/index.cjs.js +0 -3
- package/locale/ga/index.js +0 -1
- package/locale/gd/index.cjs +0 -3
- package/locale/gd/index.cjs.js +0 -3
- package/locale/gd/index.js +0 -1
- package/locale/gl/index.cjs +0 -3
- package/locale/gl/index.cjs.js +0 -3
- package/locale/gl/index.js +0 -1
- package/locale/gu/index.cjs +0 -3
- package/locale/gu/index.cjs.js +0 -3
- package/locale/gu/index.js +0 -1
- package/locale/ha/index.cjs +0 -3
- package/locale/ha/index.cjs.js +0 -3
- package/locale/ha/index.js +0 -1
- package/locale/he/index.cjs +0 -3
- package/locale/he/index.cjs.js +0 -3
- package/locale/he/index.js +0 -1
- package/locale/hi/index.cjs +0 -3
- package/locale/hi/index.cjs.js +0 -3
- package/locale/hi/index.js +0 -1
- package/locale/hi-Latn/index.cjs +0 -3
- package/locale/hi-Latn/index.cjs.js +0 -3
- package/locale/hi-Latn/index.js +0 -1
- package/locale/hr/index.cjs +0 -3
- package/locale/hr/index.cjs.js +0 -3
- package/locale/hr/index.js +0 -1
- package/locale/hsb/index.cjs +0 -3
- package/locale/hsb/index.cjs.js +0 -3
- package/locale/hsb/index.js +0 -1
- package/locale/hu/index.cjs +0 -3
- package/locale/hu/index.cjs.js +0 -3
- package/locale/hu/index.js +0 -1
- package/locale/hy/index.cjs +0 -3
- package/locale/hy/index.cjs.js +0 -3
- package/locale/hy/index.js +0 -1
- package/locale/ia/index.cjs +0 -3
- package/locale/ia/index.cjs.js +0 -3
- package/locale/ia/index.js +0 -1
- package/locale/id/index.cjs +0 -3
- package/locale/id/index.cjs.js +0 -3
- package/locale/id/index.js +0 -1
- package/locale/ig/index.cjs +0 -3
- package/locale/ig/index.cjs.js +0 -3
- package/locale/ig/index.js +0 -1
- package/locale/is/index.cjs +0 -3
- package/locale/is/index.cjs.js +0 -3
- package/locale/is/index.js +0 -1
- package/locale/it/index.cjs +0 -3
- package/locale/it/index.cjs.js +0 -3
- package/locale/it/index.js +0 -1
- package/locale/ja/index.cjs +0 -3
- package/locale/ja/index.cjs.js +0 -3
- package/locale/ja/index.js +0 -1
- package/locale/jgo/index.cjs +0 -3
- package/locale/jgo/index.cjs.js +0 -3
- package/locale/jgo/index.js +0 -1
- package/locale/jv/index.cjs +0 -3
- package/locale/jv/index.cjs.js +0 -3
- package/locale/jv/index.js +0 -1
- package/locale/ka/index.cjs +0 -3
- package/locale/ka/index.cjs.js +0 -3
- package/locale/ka/index.js +0 -1
- package/locale/kea/index.cjs +0 -3
- package/locale/kea/index.cjs.js +0 -3
- package/locale/kea/index.js +0 -1
- package/locale/kgp/index.cjs +0 -3
- package/locale/kgp/index.cjs.js +0 -3
- package/locale/kgp/index.js +0 -1
- package/locale/kk/index.cjs +0 -3
- package/locale/kk/index.cjs.js +0 -3
- package/locale/kk/index.js +0 -1
- package/locale/kl/index.cjs +0 -3
- package/locale/kl/index.cjs.js +0 -3
- package/locale/kl/index.js +0 -1
- package/locale/km/index.cjs +0 -3
- package/locale/km/index.cjs.js +0 -3
- package/locale/km/index.js +0 -1
- package/locale/kn/index.cjs +0 -3
- package/locale/kn/index.cjs.js +0 -3
- package/locale/kn/index.js +0 -1
- package/locale/ko/index.cjs +0 -3
- package/locale/ko/index.cjs.js +0 -3
- package/locale/ko/index.js +0 -1
- package/locale/kok/index.cjs +0 -3
- package/locale/kok/index.cjs.js +0 -3
- package/locale/kok/index.js +0 -1
- package/locale/ksh/index.cjs +0 -3
- package/locale/ksh/index.cjs.js +0 -3
- package/locale/ksh/index.js +0 -1
- package/locale/ku/index.cjs +0 -3
- package/locale/ku/index.cjs.js +0 -3
- package/locale/ku/index.js +0 -1
- package/locale/ky/index.cjs +0 -3
- package/locale/ky/index.cjs.js +0 -3
- package/locale/ky/index.js +0 -1
- package/locale/lb/index.cjs +0 -3
- package/locale/lb/index.cjs.js +0 -3
- package/locale/lb/index.js +0 -1
- package/locale/lkt/index.cjs +0 -3
- package/locale/lkt/index.cjs.js +0 -3
- package/locale/lkt/index.js +0 -1
- package/locale/lo/index.cjs +0 -3
- package/locale/lo/index.cjs.js +0 -3
- package/locale/lo/index.js +0 -1
- package/locale/lt/index.cjs +0 -3
- package/locale/lt/index.cjs.js +0 -3
- package/locale/lt/index.js +0 -1
- package/locale/lv/index.cjs +0 -3
- package/locale/lv/index.cjs.js +0 -3
- package/locale/lv/index.js +0 -1
- package/locale/mk/index.cjs +0 -3
- package/locale/mk/index.cjs.js +0 -3
- package/locale/mk/index.js +0 -1
- package/locale/ml/index.cjs +0 -3
- package/locale/ml/index.cjs.js +0 -3
- package/locale/ml/index.js +0 -1
- package/locale/mn/index.cjs +0 -3
- package/locale/mn/index.cjs.js +0 -3
- package/locale/mn/index.js +0 -1
- package/locale/mni/index.cjs +0 -3
- package/locale/mni/index.cjs.js +0 -3
- package/locale/mni/index.js +0 -1
- package/locale/mr/index.cjs +0 -3
- package/locale/mr/index.cjs.js +0 -3
- package/locale/mr/index.js +0 -1
- package/locale/ms/index.cjs +0 -3
- package/locale/ms/index.cjs.js +0 -3
- package/locale/ms/index.js +0 -1
- package/locale/mt/index.cjs +0 -3
- package/locale/mt/index.cjs.js +0 -3
- package/locale/mt/index.js +0 -1
- package/locale/my/index.cjs +0 -3
- package/locale/my/index.cjs.js +0 -3
- package/locale/my/index.js +0 -1
- package/locale/mzn/index.cjs +0 -3
- package/locale/mzn/index.cjs.js +0 -3
- package/locale/mzn/index.js +0 -1
- package/locale/nb/index.cjs +0 -3
- package/locale/nb/index.cjs.js +0 -3
- package/locale/nb/index.js +0 -1
- package/locale/ne/index.cjs +0 -3
- package/locale/ne/index.cjs.js +0 -3
- package/locale/ne/index.js +0 -1
- package/locale/nl/index.cjs +0 -3
- package/locale/nl/index.cjs.js +0 -3
- package/locale/nl/index.js +0 -1
- package/locale/nn/index.cjs +0 -3
- package/locale/nn/index.cjs.js +0 -3
- package/locale/nn/index.js +0 -1
- package/locale/no/index.cjs +0 -3
- package/locale/no/index.cjs.js +0 -3
- package/locale/no/index.js +0 -1
- package/locale/or/index.cjs +0 -3
- package/locale/or/index.cjs.js +0 -3
- package/locale/or/index.js +0 -1
- package/locale/pa/index.cjs +0 -3
- package/locale/pa/index.cjs.js +0 -3
- package/locale/pa/index.js +0 -1
- package/locale/pcm/index.cjs +0 -3
- package/locale/pcm/index.cjs.js +0 -3
- package/locale/pcm/index.js +0 -1
- package/locale/pl/index.cjs +0 -3
- package/locale/pl/index.cjs.js +0 -3
- package/locale/pl/index.js +0 -1
- package/locale/ps/index.cjs +0 -3
- package/locale/ps/index.cjs.js +0 -3
- package/locale/ps/index.js +0 -1
- package/locale/ps-PK/index.cjs +0 -3
- package/locale/ps-PK/index.cjs.js +0 -3
- package/locale/ps-PK/index.js +0 -1
- package/locale/pt/index.cjs +0 -3
- package/locale/pt/index.cjs.js +0 -3
- package/locale/pt/index.js +0 -1
- package/locale/pt-AO/index.cjs +0 -3
- package/locale/pt-AO/index.cjs.js +0 -3
- package/locale/pt-AO/index.js +0 -1
- package/locale/pt-CH/index.cjs +0 -3
- package/locale/pt-CH/index.cjs.js +0 -3
- package/locale/pt-CH/index.js +0 -1
- package/locale/pt-CV/index.cjs +0 -3
- package/locale/pt-CV/index.cjs.js +0 -3
- package/locale/pt-CV/index.js +0 -1
- package/locale/pt-GQ/index.cjs +0 -3
- package/locale/pt-GQ/index.cjs.js +0 -3
- package/locale/pt-GQ/index.js +0 -1
- package/locale/pt-GW/index.cjs +0 -3
- package/locale/pt-GW/index.cjs.js +0 -3
- package/locale/pt-GW/index.js +0 -1
- package/locale/pt-LU/index.cjs +0 -3
- package/locale/pt-LU/index.cjs.js +0 -3
- package/locale/pt-LU/index.js +0 -1
- package/locale/pt-MO/index.cjs +0 -3
- package/locale/pt-MO/index.cjs.js +0 -3
- package/locale/pt-MO/index.js +0 -1
- package/locale/pt-MZ/index.cjs +0 -3
- package/locale/pt-MZ/index.cjs.js +0 -3
- package/locale/pt-MZ/index.js +0 -1
- package/locale/pt-PT/index.cjs +0 -3
- package/locale/pt-PT/index.cjs.js +0 -3
- package/locale/pt-PT/index.js +0 -1
- package/locale/pt-ST/index.cjs +0 -3
- package/locale/pt-ST/index.cjs.js +0 -3
- package/locale/pt-ST/index.js +0 -1
- package/locale/pt-TL/index.cjs +0 -3
- package/locale/pt-TL/index.cjs.js +0 -3
- package/locale/pt-TL/index.js +0 -1
- package/locale/qu/index.cjs +0 -3
- package/locale/qu/index.cjs.js +0 -3
- package/locale/qu/index.js +0 -1
- package/locale/rm/index.cjs +0 -3
- package/locale/rm/index.cjs.js +0 -3
- package/locale/rm/index.js +0 -1
- package/locale/ro/index.cjs +0 -3
- package/locale/ro/index.cjs.js +0 -3
- package/locale/ro/index.js +0 -1
- package/locale/ru/index.cjs +0 -3
- package/locale/ru/index.cjs.js +0 -3
- package/locale/ru/index.js +0 -1
- package/locale/sah/index.cjs +0 -3
- package/locale/sah/index.cjs.js +0 -3
- package/locale/sah/index.js +0 -1
- package/locale/sc/index.cjs +0 -3
- package/locale/sc/index.cjs.js +0 -3
- package/locale/sc/index.js +0 -1
- package/locale/sd/index.cjs +0 -3
- package/locale/sd/index.cjs.js +0 -3
- package/locale/sd/index.js +0 -1
- package/locale/se/index.cjs +0 -3
- package/locale/se/index.cjs.js +0 -3
- package/locale/se/index.js +0 -1
- package/locale/se-FI/index.cjs +0 -3
- package/locale/se-FI/index.cjs.js +0 -3
- package/locale/se-FI/index.js +0 -1
- package/locale/si/index.cjs +0 -3
- package/locale/si/index.cjs.js +0 -3
- package/locale/si/index.js +0 -1
- package/locale/sk/index.cjs +0 -3
- package/locale/sk/index.cjs.js +0 -3
- package/locale/sk/index.js +0 -1
- package/locale/sl/index.cjs +0 -3
- package/locale/sl/index.cjs.js +0 -3
- package/locale/sl/index.js +0 -1
- package/locale/so/index.cjs +0 -3
- package/locale/so/index.cjs.js +0 -3
- package/locale/so/index.js +0 -1
- package/locale/sq/index.cjs +0 -3
- package/locale/sq/index.cjs.js +0 -3
- package/locale/sq/index.js +0 -1
- package/locale/sr/index.cjs +0 -3
- package/locale/sr/index.cjs.js +0 -3
- package/locale/sr/index.js +0 -1
- package/locale/sr-Cyrl-BA/index.cjs +0 -3
- package/locale/sr-Cyrl-BA/index.cjs.js +0 -3
- package/locale/sr-Cyrl-BA/index.js +0 -1
- package/locale/sr-Latn/index.cjs +0 -3
- package/locale/sr-Latn/index.cjs.js +0 -3
- package/locale/sr-Latn/index.js +0 -1
- package/locale/sr-Latn-BA/index.cjs +0 -3
- package/locale/sr-Latn-BA/index.cjs.js +0 -3
- package/locale/sr-Latn-BA/index.js +0 -1
- package/locale/su/index.cjs +0 -3
- package/locale/su/index.cjs.js +0 -3
- package/locale/su/index.js +0 -1
- package/locale/sv/index.cjs +0 -3
- package/locale/sv/index.cjs.js +0 -3
- package/locale/sv/index.js +0 -1
- package/locale/sw/index.cjs +0 -3
- package/locale/sw/index.cjs.js +0 -3
- package/locale/sw/index.js +0 -1
- package/locale/ta/index.cjs +0 -3
- package/locale/ta/index.cjs.js +0 -3
- package/locale/ta/index.js +0 -1
- package/locale/te/index.cjs +0 -3
- package/locale/te/index.cjs.js +0 -3
- package/locale/te/index.js +0 -1
- package/locale/tg/index.cjs +0 -3
- package/locale/tg/index.cjs.js +0 -3
- package/locale/tg/index.js +0 -1
- package/locale/th/index.cjs +0 -3
- package/locale/th/index.cjs.js +0 -3
- package/locale/th/index.js +0 -1
- package/locale/ti/index.cjs +0 -3
- package/locale/ti/index.cjs.js +0 -3
- package/locale/ti/index.js +0 -1
- package/locale/tk/index.cjs +0 -3
- package/locale/tk/index.cjs.js +0 -3
- package/locale/tk/index.js +0 -1
- package/locale/to/index.cjs +0 -3
- package/locale/to/index.cjs.js +0 -3
- package/locale/to/index.js +0 -1
- package/locale/tr/index.cjs +0 -3
- package/locale/tr/index.cjs.js +0 -3
- package/locale/tr/index.js +0 -1
- package/locale/tt/index.cjs +0 -3
- package/locale/tt/index.cjs.js +0 -3
- package/locale/tt/index.js +0 -1
- package/locale/ug/index.cjs +0 -3
- package/locale/ug/index.cjs.js +0 -3
- package/locale/ug/index.js +0 -1
- package/locale/uk/index.cjs +0 -3
- package/locale/uk/index.cjs.js +0 -3
- package/locale/uk/index.js +0 -1
- package/locale/ur/index.cjs +0 -3
- package/locale/ur/index.cjs.js +0 -3
- package/locale/ur/index.js +0 -1
- package/locale/ur-IN/index.cjs +0 -3
- package/locale/ur-IN/index.cjs.js +0 -3
- package/locale/ur-IN/index.js +0 -1
- package/locale/uz/index.cjs +0 -3
- package/locale/uz/index.cjs.js +0 -3
- package/locale/uz/index.js +0 -1
- package/locale/uz-Cyrl/index.cjs +0 -3
- package/locale/uz-Cyrl/index.cjs.js +0 -3
- package/locale/uz-Cyrl/index.js +0 -1
- package/locale/vi/index.cjs +0 -3
- package/locale/vi/index.cjs.js +0 -3
- package/locale/vi/index.js +0 -1
- package/locale/wae/index.cjs +0 -3
- package/locale/wae/index.cjs.js +0 -3
- package/locale/wae/index.js +0 -1
- package/locale/wo/index.cjs +0 -3
- package/locale/wo/index.cjs.js +0 -3
- package/locale/wo/index.js +0 -1
- package/locale/yi/index.cjs +0 -3
- package/locale/yi/index.cjs.js +0 -3
- package/locale/yi/index.js +0 -1
- package/locale/yo/index.cjs +0 -3
- package/locale/yo/index.cjs.js +0 -3
- package/locale/yo/index.js +0 -1
- package/locale/yo-BJ/index.cjs +0 -3
- package/locale/yo-BJ/index.cjs.js +0 -3
- package/locale/yo-BJ/index.js +0 -1
- package/locale/yrl/index.cjs +0 -3
- package/locale/yrl/index.cjs.js +0 -3
- package/locale/yrl/index.js +0 -1
- package/locale/yue/index.cjs +0 -3
- package/locale/yue/index.cjs.js +0 -3
- package/locale/yue/index.js +0 -1
- package/locale/yue-Hans/index.cjs +0 -3
- package/locale/yue-Hans/index.cjs.js +0 -3
- package/locale/yue-Hans/index.js +0 -1
- package/locale/zh/index.cjs +0 -3
- package/locale/zh/index.cjs.js +0 -3
- package/locale/zh/index.js +0 -1
- package/locale/zh-Hans-HK/index.cjs +0 -3
- package/locale/zh-Hans-HK/index.cjs.js +0 -3
- package/locale/zh-Hans-HK/index.js +0 -1
- package/locale/zh-Hans-MO/index.cjs +0 -3
- package/locale/zh-Hans-MO/index.cjs.js +0 -3
- package/locale/zh-Hans-MO/index.js +0 -1
- package/locale/zh-Hans-SG/index.cjs +0 -3
- package/locale/zh-Hans-SG/index.cjs.js +0 -3
- package/locale/zh-Hans-SG/index.js +0 -1
- package/locale/zh-Hant/index.cjs +0 -3
- package/locale/zh-Hant/index.cjs.js +0 -3
- package/locale/zh-Hant/index.js +0 -1
- package/locale/zh-Hant-HK/index.cjs +0 -3
- package/locale/zh-Hant-HK/index.cjs.js +0 -3
- package/locale/zh-Hant-HK/index.js +0 -1
- package/locale/zh-Hant-MO/index.cjs +0 -3
- package/locale/zh-Hant-MO/index.cjs.js +0 -3
- package/locale/zh-Hant-MO/index.js +0 -1
- package/locale/zu/index.cjs +0 -3
- package/locale/zu/index.cjs.js +0 -3
- package/locale/zu/index.js +0 -1
package/README.md
CHANGED
|
@@ -37,7 +37,7 @@ If you're not using a bundler then use a [standalone version from a CDN](#cdn).
|
|
|
37
37
|
import TimeAgo from 'javascript-time-ago'
|
|
38
38
|
|
|
39
39
|
// English.
|
|
40
|
-
import en from 'javascript-time-ago/locale/en
|
|
40
|
+
import en from 'javascript-time-ago/locale/en'
|
|
41
41
|
|
|
42
42
|
TimeAgo.addDefaultLocale(en)
|
|
43
43
|
|
|
@@ -68,9 +68,9 @@ The `locale` argument of `new TimeAgo(locale)` constructor is matched against th
|
|
|
68
68
|
The "default language" is `"en"` by default, and can be set either by calling `addDefaultLocale()`:
|
|
69
69
|
|
|
70
70
|
```js
|
|
71
|
-
import ru from 'javascript-time-ago/locale/ru
|
|
72
|
-
import de from 'javascript-time-ago/locale/de
|
|
73
|
-
import es from 'javascript-time-ago/locale/es
|
|
71
|
+
import ru from 'javascript-time-ago/locale/ru'
|
|
72
|
+
import de from 'javascript-time-ago/locale/de'
|
|
73
|
+
import es from 'javascript-time-ago/locale/es'
|
|
74
74
|
|
|
75
75
|
TimeAgo.addLocale(ru)
|
|
76
76
|
TimeAgo.addLocale(de)
|
|
@@ -80,9 +80,9 @@ TimeAgo.addDefaultLocale(es)
|
|
|
80
80
|
or by calling `setDefaultLocale()`:
|
|
81
81
|
|
|
82
82
|
```js
|
|
83
|
-
import ru from 'javascript-time-ago/locale/ru
|
|
84
|
-
import de from 'javascript-time-ago/locale/de
|
|
85
|
-
import es from 'javascript-time-ago/locale/es
|
|
83
|
+
import ru from 'javascript-time-ago/locale/ru'
|
|
84
|
+
import de from 'javascript-time-ago/locale/de'
|
|
85
|
+
import es from 'javascript-time-ago/locale/es'
|
|
86
86
|
|
|
87
87
|
TimeAgo.addLocale(ru)
|
|
88
88
|
TimeAgo.addLocale(de)
|
|
@@ -115,7 +115,7 @@ An example of using Russian language:
|
|
|
115
115
|
import TimeAgo from 'javascript-time-ago'
|
|
116
116
|
|
|
117
117
|
// Russian.
|
|
118
|
-
import ru from 'javascript-time-ago/locale/ru
|
|
118
|
+
import ru from 'javascript-time-ago/locale/ru'
|
|
119
119
|
|
|
120
120
|
TimeAgo.addDefaultLocale(ru)
|
|
121
121
|
|
|
@@ -181,7 +181,7 @@ timeAgo.format(Date.now() - 1.5 * 60 * 1000, 'round')
|
|
|
181
181
|
* 1 hour ago
|
|
182
182
|
* 2 hours ago
|
|
183
183
|
* …
|
|
184
|
-
*
|
|
184
|
+
* 23 hours ago
|
|
185
185
|
* 1 day ago
|
|
186
186
|
* 2 days ago
|
|
187
187
|
* …
|
|
@@ -431,7 +431,7 @@ New labels can be added by calling `TimeAgo.addLabels()` function.
|
|
|
431
431
|
|
|
432
432
|
```js
|
|
433
433
|
import TimeAgo from 'javascript-time-ago'
|
|
434
|
-
import en from 'javascript-time-ago/locale/en
|
|
434
|
+
import en from 'javascript-time-ago/locale/en'
|
|
435
435
|
import { round } from 'javascript-time-ago/steps'
|
|
436
436
|
|
|
437
437
|
TimeAgo.addDefaultLocale(en)
|
|
@@ -938,4 +938,4 @@ On March 9th, 2020, GitHub, Inc. silently [banned](https://medium.com/@catamphet
|
|
|
938
938
|
|
|
939
939
|
## License
|
|
940
940
|
|
|
941
|
-
[MIT](LICENSE)
|
|
941
|
+
[MIT](LICENSE)
|
|
@@ -6,7 +6,7 @@ const locales = []
|
|
|
6
6
|
fs.readdirSync(path.resolve('./locale')).forEach((locale) => {
|
|
7
7
|
const localePath = path.resolve('./locale', locale)
|
|
8
8
|
if (fs.statSync(localePath).isDirectory()) {
|
|
9
|
-
if (fs.existsSync(path.resolve('./locale', locale, '
|
|
9
|
+
if (fs.existsSync(path.resolve('./locale', locale, 'package.json'))) {
|
|
10
10
|
locales.push(locale)
|
|
11
11
|
}
|
|
12
12
|
}
|
|
@@ -75,68 +75,90 @@ function writeLocaleDataFile(locale) {
|
|
|
75
75
|
throw new Error(`"now" label not found for locale "${locale}"`)
|
|
76
76
|
}
|
|
77
77
|
|
|
78
|
-
// Create the locale
|
|
78
|
+
// Create the locale `*.json` file.
|
|
79
79
|
fs.outputFileSync(
|
|
80
80
|
path.join(localesDirectory, `${locale}.json`),
|
|
81
81
|
JSON.stringify(localeData, null, '\t')
|
|
82
82
|
)
|
|
83
|
-
}
|
|
84
83
|
|
|
85
|
-
//
|
|
86
|
-
//
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
//
|
|
84
|
+
// Create the locale `*.json.js` file.
|
|
85
|
+
//
|
|
86
|
+
// Stupid Node.js can't even `import` JSON files.
|
|
87
|
+
// https://stackoverflow.com/questions/72348042/typeerror-err-unknown-file-extension-unknown-file-extension-json-for-node
|
|
88
|
+
// Using a `*.json.js` duplicate file workaround.
|
|
89
|
+
//
|
|
91
90
|
fs.outputFileSync(
|
|
92
|
-
path.join(
|
|
93
|
-
|
|
94
|
-
export { default } from '../${locale}.json'
|
|
95
|
-
`.trim()
|
|
91
|
+
path.join(localesDirectory, `${locale}.json.js`),
|
|
92
|
+
'export default ' + JSON.stringify(localeData, null, '\t')
|
|
96
93
|
)
|
|
97
94
|
|
|
98
|
-
// Create
|
|
95
|
+
// Create the locale `*.json.d.ts` file.
|
|
99
96
|
fs.outputFileSync(
|
|
100
|
-
path.join(
|
|
97
|
+
path.join(localesDirectory, `${locale}.json.d.ts`),
|
|
101
98
|
`
|
|
102
|
-
|
|
103
|
-
exports = module.exports = localeData
|
|
104
|
-
exports['default'] = localeData
|
|
105
|
-
`.trim()
|
|
106
|
-
)
|
|
99
|
+
import { LocaleData } from '../index';
|
|
107
100
|
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
// It only exists for compatibility with the software that doesn't like `*.cjs` file extension.
|
|
111
|
-
// https://gitlab.com/catamphetamine/libphonenumber-js/-/issues/61#note_950728292
|
|
112
|
-
fs.outputFileSync(
|
|
113
|
-
path.join(localeDirectory, 'index.cjs.js'),
|
|
114
|
-
`
|
|
115
|
-
var localeData = require('../${locale}.json')
|
|
116
|
-
exports = module.exports = localeData
|
|
117
|
-
exports['default'] = localeData
|
|
101
|
+
declare const localeData: LocaleData;
|
|
102
|
+
export default localeData;
|
|
118
103
|
`.trim()
|
|
119
104
|
)
|
|
105
|
+
}
|
|
106
|
+
|
|
107
|
+
// (deprecated)
|
|
108
|
+
// Creates a legacy-compatibility locale directory export.
|
|
109
|
+
function createLegacyCompatibilityLocaleFolder(locale) {
|
|
110
|
+
const localeDirectory = path.join(localesDirectory, locale)
|
|
111
|
+
|
|
112
|
+
// // Create a legacy-compatibility `index.js` file.
|
|
113
|
+
// fs.outputFileSync(
|
|
114
|
+
// path.join(localeDirectory, 'index.js'),
|
|
115
|
+
// `
|
|
116
|
+
// export { default } from '../${locale}.json.js'
|
|
117
|
+
// `.trim()
|
|
118
|
+
// )
|
|
119
|
+
|
|
120
|
+
// // Create a legacy-compatibility `index.cjs` file.
|
|
121
|
+
// fs.outputFileSync(
|
|
122
|
+
// path.join(localeDirectory, 'index.cjs'),
|
|
123
|
+
// `
|
|
124
|
+
// var localeData = require('../${locale}.json')
|
|
125
|
+
// exports = module.exports = localeData
|
|
126
|
+
// exports['default'] = localeData
|
|
127
|
+
// `.trim()
|
|
128
|
+
// )
|
|
129
|
+
|
|
130
|
+
// // Create a legacy-compatibility `index.cjs.js` file.
|
|
131
|
+
// // It's the same as `index.cjs`, just with an added `.js` file extension.
|
|
132
|
+
// // It only exists for compatibility with the software that doesn't like `*.cjs` file extension.
|
|
133
|
+
// // https://gitlab.com/catamphetamine/libphonenumber-js/-/issues/61#note_950728292
|
|
134
|
+
// fs.outputFileSync(
|
|
135
|
+
// path.join(localeDirectory, 'index.cjs.js'),
|
|
136
|
+
// `
|
|
137
|
+
// var localeData = require('../${locale}.json')
|
|
138
|
+
// exports = module.exports = localeData
|
|
139
|
+
// exports['default'] = localeData
|
|
140
|
+
// `.trim()
|
|
141
|
+
// )
|
|
120
142
|
|
|
121
143
|
// Create `package.json` for the legacy-compatibility locale directory.
|
|
122
144
|
fs.outputFileSync(
|
|
123
145
|
path.join(localeDirectory, 'package.json'),
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
146
|
+
JSON.stringify({
|
|
147
|
+
private: true,
|
|
148
|
+
name: `javascript-time-ago/locale/${locale}`,
|
|
149
|
+
main: `../${locale}.json`,
|
|
150
|
+
module: `../${locale}.json.js`,
|
|
151
|
+
types: `../${locale}.json.d.ts`,
|
|
152
|
+
type: 'module',
|
|
153
|
+
exports: {
|
|
154
|
+
'.': {
|
|
155
|
+
types: `../${locale}.json.d.ts`,
|
|
156
|
+
import: `../${locale}.json.js`,
|
|
157
|
+
require: `../${locale}.json`
|
|
158
|
+
}
|
|
159
|
+
},
|
|
160
|
+
sideEffects: false
|
|
161
|
+
}, null, '\t')
|
|
140
162
|
)
|
|
141
163
|
}
|
|
142
164
|
|
|
@@ -156,8 +178,14 @@ function addLocaleExports(ALL_LOCALES) {
|
|
|
156
178
|
packageJson.exports = {
|
|
157
179
|
...packageJson.exports,
|
|
158
180
|
...ALL_LOCALES.reduce((all, locale) => {
|
|
159
|
-
all[`./locale/${locale}`] =
|
|
160
|
-
|
|
181
|
+
all[`./locale/${locale}`] = {
|
|
182
|
+
import: `./locale/${locale}.json.js`,
|
|
183
|
+
require: `./locale/${locale}.json`
|
|
184
|
+
}
|
|
185
|
+
all[`./locale/${locale}.json`] = {
|
|
186
|
+
import: `./locale/${locale}.json.js`,
|
|
187
|
+
require: `./locale/${locale}.json`
|
|
188
|
+
}
|
|
161
189
|
return all
|
|
162
190
|
}, {})
|
|
163
191
|
}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
!function(t,e){"object"==typeof exports&&"undefined"!=typeof module?module.exports=e():"function"==typeof define&&define.amd?define(e):(t="undefined"!=typeof globalThis?globalThis:t||self).TimeAgo=e()}(this,(function(){"use strict";var t="en",e={},r={};function n(){return t}function o(t){return e[t]}function a(t){return e[t]?t:r[t.toLowerCase()]?r[t.toLowerCase()]:void 0}function i(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=e.localeMatcher||"lookup";switch(r){case"lookup":case"best fit":return u(t);default:throw new RangeError('Invalid "localeMatcher" option: '.concat(r))}}function u(t){var e=a(t);if(e)return e;for(var r=t.split("-");t.length>1;){r.pop();var n=a(t=r.join("-"));if(n)return n}}var c={af:function(t){return 1==t?"one":"other"},am:function(t){return t>=0&&t<=1?"one":"other"},ar:function(t){var e=String(t).split("."),r=Number(e[0])==t&&e[0].slice(-2);return 0==t?"zero":1==t?"one":2==t?"two":r>=3&&r<=10?"few":r>=11&&r<=99?"many":"other"},ast:function(t){var e=!String(t).split(".")[1];return 1==t&&e?"one":"other"},be:function(t){var e=String(t).split("."),r=Number(e[0])==t,n=r&&e[0].slice(-1),o=r&&e[0].slice(-2);return 1==n&&11!=o?"one":n>=2&&n<=4&&(o<12||o>14)?"few":r&&0==n||n>=5&&n<=9||o>=11&&o<=14?"many":"other"},br:function(t){var e=String(t).split("."),r=Number(e[0])==t,n=r&&e[0].slice(-1),o=r&&e[0].slice(-2),a=r&&e[0].slice(-6);return 1==n&&11!=o&&71!=o&&91!=o?"one":2==n&&12!=o&&72!=o&&92!=o?"two":(3==n||4==n||9==n)&&(o<10||o>19)&&(o<70||o>79)&&(o<90||o>99)?"few":0!=t&&r&&0==a?"many":"other"},bs:function(t){var e=String(t).split("."),r=e[0],n=e[1]||"",o=!e[1],a=r.slice(-1),i=r.slice(-2),u=n.slice(-1),c=n.slice(-2);return o&&1==a&&11!=i||1==u&&11!=c?"one":o&&a>=2&&a<=4&&(i<12||i>14)||u>=2&&u<=4&&(c<12||c>14)?"few":"other"},ceb:function(t){var e=String(t).split("."),r=e[0],n=e[1]||"",o=!e[1],a=r.slice(-1),i=n.slice(-1);return o&&(1==r||2==r||3==r)||o&&4!=a&&6!=a&&9!=a||!o&&4!=i&&6!=i&&9!=i?"one":"other"},cs:function(t){var e=String(t).split("."),r=e[0],n=!e[1];return 1==t&&n?"one":r>=2&&r<=4&&n?"few":n?"other":"many"},cy:function(t){return 0==t?"zero":1==t?"one":2==t?"two":3==t?"few":6==t?"many":"other"},da:function(t){var e=String(t).split("."),r=e[0],n=Number(e[0])==t;return 1!=t&&(n||0!=r&&1!=r)?"other":"one"},dsb:function(t){var e=String(t).split("."),r=e[0],n=e[1]||"",o=!e[1],a=r.slice(-2),i=n.slice(-2);return o&&1==a||1==i?"one":o&&2==a||2==i?"two":o&&(3==a||4==a)||3==i||4==i?"few":"other"},dz:function(t){return"other"},es:function(t){var e=String(t).split("."),r=e[0],n=!e[1],o=r.slice(-6);return 1==t?"one":0!=r&&0==o&&n?"many":"other"},ff:function(t){return t>=0&&t<2?"one":"other"},fr:function(t){var e=String(t).split("."),r=e[0],n=!e[1],o=r.slice(-6);return t>=0&&t<2?"one":0!=r&&0==o&&n?"many":"other"},ga:function(t){var e=String(t).split("."),r=Number(e[0])==t;return 1==t?"one":2==t?"two":r&&t>=3&&t<=6?"few":r&&t>=7&&t<=10?"many":"other"},gd:function(t){var e=String(t).split("."),r=Number(e[0])==t;return 1==t||11==t?"one":2==t||12==t?"two":r&&t>=3&&t<=10||r&&t>=13&&t<=19?"few":"other"},he:function(t){var e=String(t).split("."),r=e[0],n=!e[1],o=Number(e[0])==t,a=o&&e[0].slice(-1);return 1==t&&n?"one":2==r&&n?"two":n&&(t<0||t>10)&&o&&0==a?"many":"other"},is:function(t){var e=String(t).split("."),r=e[0],n=Number(e[0])==t,o=r.slice(-1),a=r.slice(-2);return n&&1==o&&11!=a||!n?"one":"other"},it:function(t){var e=String(t).split("."),r=e[0],n=!e[1],o=r.slice(-6);return 1==t&&n?"one":0!=r&&0==o&&n?"many":"other"},ksh:function(t){return 0==t?"zero":1==t?"one":"other"},lt:function(t){var e=String(t).split("."),r=e[1]||"",n=Number(e[0])==t,o=n&&e[0].slice(-1),a=n&&e[0].slice(-2);return 1==o&&(a<11||a>19)?"one":o>=2&&o<=9&&(a<11||a>19)?"few":0!=r?"many":"other"},lv:function(t){var e=String(t).split("."),r=e[1]||"",n=r.length,o=Number(e[0])==t,a=o&&e[0].slice(-1),i=o&&e[0].slice(-2),u=r.slice(-2),c=r.slice(-1);return o&&0==a||i>=11&&i<=19||2==n&&u>=11&&u<=19?"zero":1==a&&11!=i||2==n&&1==c&&11!=u||2!=n&&1==c?"one":"other"},mk:function(t){var e=String(t).split("."),r=e[0],n=e[1]||"",o=!e[1],a=r.slice(-1),i=r.slice(-2),u=n.slice(-1),c=n.slice(-2);return o&&1==a&&11!=i||1==u&&11!=c?"one":"other"},mt:function(t){var e=String(t).split("."),r=Number(e[0])==t&&e[0].slice(-2);return 1==t?"one":0==t||r>=2&&r<=10?"few":r>=11&&r<=19?"many":"other"},pa:function(t){return 0==t||1==t?"one":"other"},pl:function(t){var e=String(t).split("."),r=e[0],n=!e[1],o=r.slice(-1),a=r.slice(-2);return 1==t&&n?"one":n&&o>=2&&o<=4&&(a<12||a>14)?"few":n&&1!=r&&(0==o||1==o)||n&&o>=5&&o<=9||n&&a>=12&&a<=14?"many":"other"},pt:function(t){var e=String(t).split("."),r=e[0],n=!e[1],o=r.slice(-6);return 0==r||1==r?"one":0!=r&&0==o&&n?"many":"other"},ro:function(t){var e=String(t).split("."),r=!e[1],n=Number(e[0])==t&&e[0].slice(-2);return 1==t&&r?"one":!r||0==t||n>=2&&n<=19?"few":"other"},ru:function(t){var e=String(t).split("."),r=e[0],n=!e[1],o=r.slice(-1),a=r.slice(-2);return n&&1==o&&11!=a?"one":n&&o>=2&&o<=4&&(a<12||a>14)?"few":n&&0==o||n&&o>=5&&o<=9||n&&a>=11&&a<=14?"many":"other"},se:function(t){return 1==t?"one":2==t?"two":"other"},si:function(t){var e=String(t).split("."),r=e[0],n=e[1]||"";return 0==t||1==t||0==r&&1==n?"one":"other"},sl:function(t){var e=String(t).split("."),r=e[0],n=!e[1],o=r.slice(-2);return n&&1==o?"one":n&&2==o?"two":n&&(3==o||4==o)||!n?"few":"other"}};c.as=c.am,c.az=c.af,c.bg=c.af,c.bn=c.am,c.brx=c.af,c.ca=c.ast,c.ce=c.af,c.chr=c.af,c.de=c.ast,c.ee=c.af,c.el=c.af,c.en=c.ast,c.et=c.ast,c.eu=c.af,c.fa=c.am,c.fi=c.ast,c.fil=c.ceb,c.fo=c.af,c.fur=c.af,c.fy=c.ast,c.gl=c.ast,c.gu=c.am,c.ha=c.af,c.hi=c.am,c.hr=c.bs,c.hsb=c.dsb,c.hu=c.af,c.hy=c.ff,c.ia=c.ast,c.id=c.dz,c.ig=c.dz,c.ja=c.dz,c.jgo=c.af,c.jv=c.dz,c.ka=c.af,c.kea=c.dz,c.kk=c.af,c.kl=c.af,c.km=c.dz,c.kn=c.am,c.ko=c.dz,c.ku=c.af,c.ky=c.af,c.lb=c.af,c.lkt=c.dz,c.lo=c.dz,c.ml=c.af,c.mn=c.af,c.mr=c.af,c.ms=c.dz,c.my=c.dz,c.nb=c.af,c.ne=c.af,c.nl=c.ast,c.nn=c.af,c.no=c.af,c.or=c.af,c.pcm=c.am,c.ps=c.af,c.rm=c.af,c.sah=c.dz,c.sc=c.ast,c.sd=c.af,c.sk=c.cs,c.so=c.af,c.sq=c.af,c.sr=c.bs,c.su=c.dz,c.sv=c.ast,c.sw=c.ast,c.ta=c.af,c.te=c.af,c.th=c.dz,c.ti=c.pa,c.tk=c.af,c.to=c.dz,c.tr=c.af,c.ug=c.af,c.uk=c.ru,c.ur=c.ast,c.uz=c.af,c.vi=c.dz,c.wae=c.af,c.wo=c.dz,c.yi=c.ast,c.yo=c.dz,c.yue=c.dz,c.zh=c.dz,c.zu=c.am;var l=c;function f(t){return"pt-PT"===t?t:function(t){var e=t.match(s);if(!e)throw new TypeError("Invalid locale: ".concat(t));return e[1]}(t)}var s=/^([a-z0-9]+)/i;function p(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}var y=function(){function t(e,r){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t);var n=t.supportedLocalesOf(e);if(0===n.length)throw new RangeError("Unsupported locale: "+e);if(r&&"cardinal"!==r.type)throw new RangeError('Only "cardinal" "type" is supported');this.$=l[f(n[0])]}var e,r,n;return e=t,n=[{key:"supportedLocalesOf",value:function(t){return"string"==typeof t&&(t=[t]),t.filter((function(t){return l[f(t)]}))}}],(r=[{key:"select",value:function(t){return this.$(t)}}])&&p(e.prototype,r),n&&p(e,n),Object.defineProperty(e,"prototype",{writable:!1}),t}();function m(t){return(m="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function b(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function h(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?b(Object(r),!0).forEach((function(e){d(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):b(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function d(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function v(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null==r)return;var n,o,a=[],i=!0,u=!1;try{for(r=r.call(t);!(i=(n=r.next()).done)&&(a.push(n.value),!e||a.length!==e);i=!0);}catch(t){u=!0,o=t}finally{try{i||null==r.return||r.return()}finally{if(u)throw o}}return a}(t,e)||function(t,e){if(!t)return;if("string"==typeof t)return g(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);"Object"===r&&t.constructor&&(r=t.constructor.name);if("Map"===r||"Set"===r)return Array.from(t);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return g(t,e)}(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function g(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}function w(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function O(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}var j=["second","minute","hour","day","week","month","quarter","year"],S=["auto","always"],P=["long","short","narrow"],A=["lookup","best fit"],k=function(){function t(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};w(this,t);var a=r.numeric,u=r.style,c=r.styleFallback,l=r.localeMatcher;if(this.numeric="always",this.style="long",this.localeMatcher="lookup",void 0!==a){if(S.indexOf(a)<0)throw new RangeError('Invalid "numeric" option: '.concat(a));this.numeric=a}if(void 0!==u){if(P.indexOf(u)<0&&!c)throw new RangeError('Invalid "style" option: '.concat(u));this.style=u}if(void 0!==l){if(A.indexOf(l)<0)throw new RangeError('Invalid "localeMatcher" option: '.concat(l));this.localeMatcher=l}if("string"==typeof e&&(e=[e]),e.push(n()),this.locale=t.supportedLocalesOf(e,{localeMatcher:this.localeMatcher})[0],!this.locale)throw new Error("No supported locale was found");if(y.supportedLocalesOf(this.locale).length>0?this.pluralRules=new y(this.locale):console.warn('"'.concat(this.locale,'" locale is not supported')),"undefined"!=typeof Intl&&Intl.NumberFormat?(this.numberFormat=new Intl.NumberFormat(this.locale),this.numberingSystem=this.numberFormat.resolvedOptions().numberingSystem):this.numberingSystem="latn",this.locale=i(this.locale,{localeMatcher:this.localeMatcher}),c)for(var f=Object.keys(o(this.locale)),s=0,p=[this.style].concat(P,[f[0]]);s<p.length;s++){var m=p[s];if(f.indexOf(m)>=0){this.style=m;break}}}var e,r,a;return e=t,(r=[{key:"format",value:function(){var t=F(arguments),e=v(t,2),r=e[0],n=e[1];return this.getRule(r,n).replace("{0}",this.formatNumber(Math.abs(r)))}},{key:"formatToParts",value:function(){var t=F(arguments),e=v(t,2),r=e[0],n=e[1],o=this.getRule(r,n),a=o.indexOf("{0}");if(a<0)return[{type:"literal",value:o}];var i=[];return a>0&&i.push({type:"literal",value:o.slice(0,a)}),i=i.concat(this.formatNumberToParts(Math.abs(r)).map((function(t){return h(h({},t),{},{unit:n})}))),a+"{0}".length<o.length-1&&i.push({type:"literal",value:o.slice(a+"{0}".length)}),i}},{key:"getRule",value:function(t,e){var r=o(this.locale)[this.style][e];if("string"==typeof r)return r;if("auto"===this.numeric)if(-2===t||-1===t){var n=r["previous".concat(-1===t?"":"-"+Math.abs(t))];if(n)return n}else if(1===t||2===t){var a=r["next".concat(1===t?"":"-"+Math.abs(t))];if(a)return a}else if(0===t&&r.current)return r.current;var i,u=r[(i=t,i<0||0===i&&function(t){return 1/t==-1/0}(i)?"past":"future")];return"string"==typeof u?u:u[this.pluralRules&&this.pluralRules.select(Math.abs(t))||"other"]||u.other}},{key:"formatNumber",value:function(t){return this.numberFormat?this.numberFormat.format(t):String(t)}},{key:"formatNumberToParts",value:function(t){return this.numberFormat&&this.numberFormat.formatToParts?this.numberFormat.formatToParts(t):[{type:"integer",value:this.formatNumber(t)}]}},{key:"resolvedOptions",value:function(){return{locale:this.locale,style:this.style,numeric:this.numeric,numberingSystem:this.numberingSystem}}}])&&O(e.prototype,r),a&&O(e,a),Object.defineProperty(e,"prototype",{writable:!1}),t}();k.supportedLocalesOf=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if("string"==typeof t)t=[t];else if(!Array.isArray(t))throw new TypeError('Invalid "locales" argument');return t.filter((function(t){return i(t,e)}))},k.addLocale=function(t){if(!t)throw new Error("No locale data passed");e[t.locale]=t,r[t.locale.toLowerCase()]=t.locale},k.setDefaultLocale=function(e){t=e},k.getDefaultLocale=n,k.PluralRules=y;var D='Invalid "unit" argument';function T(t){if("symbol"===m(t))throw new TypeError(D);if("string"!=typeof t)throw new RangeError("".concat(D,": ").concat(t));if("s"===t[t.length-1]&&(t=t.slice(0,t.length-1)),j.indexOf(t)<0)throw new RangeError("".concat(D,": ").concat(t));return t}function E(t){if(t=Number(t),Number.isFinite&&!Number.isFinite(t))throw new RangeError("".concat('Invalid "number" argument',": ").concat(t));return t}function F(t){if(t.length<2)throw new TypeError('"unit" argument is required');return[E(t[0]),T(t[1])]}function I(t){return(I="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function N(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}var M=function(){function t(){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.cache={}}var e,r,n;return e=t,(r=[{key:"get",value:function(){for(var t=this.cache,e=arguments.length,r=new Array(e),n=0;n<e;n++)r[n]=arguments[n];for(var o=0,a=r;o<a.length;o++){var i=a[o];if("object"!==I(t))return;t=t[i]}return t}},{key:"put",value:function(){for(var t=arguments.length,e=new Array(t),r=0;r<t;r++)e[r]=arguments[r];for(var n=e.pop(),o=e.pop(),a=this.cache,i=0,u=e;i<u.length;i++){var c=u[i];"object"!==I(a[c])&&(a[c]={}),a=a[c]}return a[o]=n}}])&&N(e.prototype,r),n&&N(e,n),Object.defineProperty(e,"prototype",{writable:!1}),t}();function R(t){return(R="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function z(t,e){var r="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(r)return(r=r.call(t)).next.bind(r);if(Array.isArray(t)||(r=function(t,e){if(!t)return;if("string"==typeof t)return x(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);"Object"===r&&t.constructor&&(r=t.constructor.name);if("Map"===r||"Set"===r)return Array.from(t);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return x(t,e)}(t))||e&&t&&"number"==typeof t.length){r&&(t=r);var n=0;return function(){return n>=t.length?{done:!0}:{done:!1,value:t[n++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function x(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}function L(t,e){for(var r,n=z(t);!(r=n()).done;){var o=r.value;if(e(o))return o;for(var a=o.split("-");a.length>1;)if(a.pop(),e(o=a.join("-")))return o}throw new Error("No locale data has been registered for any of the locales: ".concat(t.join(", ")))}function C(t){return(C="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function U(t){return function(t){return void 0!==C(t)&&null!==t&&t.constructor===_}(t)&&(Array.isArray(t.steps)||Array.isArray(t.gradation)||Array.isArray(t.flavour)||"string"==typeof t.flavour||Array.isArray(t.labels)||"string"==typeof t.labels||Array.isArray(t.units)||"function"==typeof t.custom)}var _={}.constructor;var Y=60,$=3600,q=86400,V=7*q,J=2630016,B=31556952;function G(t){switch(t){case"second":return 1;case"minute":return Y;case"hour":return $;case"day":return q;case"week":return V;case"month":return J;case"year":return B}}function H(t){return void 0!==t.factor?t.factor:G(t.unit||t.formatAs)||1}function K(t){switch(t){case"floor":return Math.floor;default:return Math.round}}function Q(t){switch(t){case"floor":return 1;default:return.5}}function W(t){return(W="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function X(t,e){var r,n=e.prevStep,o=e.timestamp,a=e.now,i=e.future,u=e.round;return n&&(n.id||n.unit)&&(r=t["threshold_for_".concat(n.id||n.unit)]),void 0===r&&void 0!==t.threshold&&"function"==typeof(r=t.threshold)&&(r=r(a,i)),void 0===r&&(r=t.minTime),"object"===W(r)&&(r=n&&n.id&&void 0!==r[n.id]?r[n.id]:r.default),"function"==typeof r&&(r=r(o,{future:i,getMinTimeForUnit:function(t,e){return Z(t,e||n&&n.formatAs,{round:u})}})),void 0===r&&t.test&&(r=t.test(o,{now:a,future:i})?0:9007199254740991),void 0===r&&(n?t.formatAs&&n.formatAs&&(r=Z(t.formatAs,n.formatAs,{round:u})):r=0),void 0===r&&console.warn("[javascript-time-ago] A step should specify `minTime`:\n"+JSON.stringify(t,null,2)),r}function Z(t,e,r){var n,o=r.round,a=G(t);if(n=G("now"===e?t:e),void 0!==a&&void 0!==n)return a-n*(1-Q(o))}function tt(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function et(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?tt(Object(r),!0).forEach((function(e){rt(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):tt(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function rt(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function nt(t,e,r){var n=r.now,o=r.future,a=r.round,i=r.units,u=r.getNextStep,c=function(t,e,r){var n=r.now,o=r.future,a=r.round;if(0===t.length)return;var i=ot(t,e,{now:n,future:o||e<0,round:a});if(-1===i)return;var u=t[i];if(u.granularity){if(0===K(a)(Math.abs(e)/H(u)/u.granularity)*u.granularity&&i>0)return t[i-1]}return u}(t=function(t,e){return t.filter((function(t){var r=t.unit,n=t.formatAs;return!(r=r||n)||e.indexOf(r)>=0}))}(t,i),e,{now:n,future:o,round:a});return u?c?[t[t.indexOf(c)-1],c,t[t.indexOf(c)+1]]:[void 0,void 0,t[0]]:c}function ot(t,e,r){var n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0,o=X(t[n],et({prevStep:t[n-1],timestamp:r.now-1e3*e},r));return void 0===o||Math.abs(e)<o?n-1:n===t.length-1?n:ot(t,e,r,n+1)}function at(t,e,r){var n=r.now,o=r.round;if(G(t)){var a=1e3*G(t),i=e>n,u=Math.abs(e-n),c=K(o)(u/a)*a;return i?c>0?u-c+function(t,e){return(1-Q(t))*e+1}(o,a):u-c+1:-(u-c)+function(t,e){return Q(t)*e}(o,a)}}var it=31536e9;function ut(t,e,r){var n=r.prevStep,o=r.nextStep,a=r.now,i=r.future,u=r.round,c=t.getTime?t.getTime():t,l=function(t){return at(t,c,{now:a,round:u})},f=function(t,e,r){var n=r.now,o=r.future,a=r.round,i=r.prevStep;if(t){var u=function(t,e,r){var n=r.now,o=r.future,a=r.round,i=r.prevStep,u=X(t,{timestamp:e,now:n,future:o,round:a,prevStep:i});if(void 0===u)return;return o?e-1e3*u+1:0===u&&e===n?it:e+1e3*u}(t,e,{now:n,future:o,round:a,prevStep:i});if(void 0===u)return;return u-n}return o?e-n+1:it}(i?e:o,c,{future:i,now:a,round:u,prevStep:i?n:e});if(void 0!==f){var s;if(e&&(e.getTimeToNextUpdate&&(s=e.getTimeToNextUpdate(c,{getTimeToNextUpdateForUnit:l,getRoundFunction:K,now:a,future:i,round:u})),void 0===s)){var p=e.unit||e.formatAs;p&&(s=l(p))}return void 0===s?f:Math.min(s,f)}}var ct={};function lt(t){return ct[t]}function ft(t){if(!t)throw new Error("[javascript-time-ago] No locale data passed.");ct[t.locale]=t}var st={steps:[{formatAs:"now"},{formatAs:"second"},{formatAs:"minute"},{formatAs:"hour"},{formatAs:"day"},{formatAs:"week"},{formatAs:"month"},{formatAs:"year"}],labels:"long"};function pt(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function yt(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?pt(Object(r),!0).forEach((function(e){mt(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):pt(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function mt(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var bt=yt(yt({},st),{},{steps:st.steps.filter((function(t){return"second"!==t.formatAs}))}),ht=[{factor:1,unit:"now"},{threshold:1,threshold_for_now:45.5,factor:1,unit:"second"},{threshold:45.5,factor:Y,unit:"minute"},{threshold:150,granularity:5,factor:Y,unit:"minute"},{threshold:1350,factor:1800,unit:"half-hour"},{threshold:2550,threshold_for_minute:3150,factor:$,unit:"hour"},{threshold:73800,factor:q,unit:"day"},{threshold:475200,factor:V,unit:"week"},{threshold:2116800,factor:J,unit:"month"},{threshold:27615168,factor:B,unit:"year"}],dt={gradation:ht,flavour:"long",units:["now","minute","hour","day","week","month","year"]},vt={gradation:ht,flavour:"long-time",units:["now","minute","hour","day","week","month","year"]};function gt(t){return t instanceof Date?t:new Date(t)}var wt=[{formatAs:"second"},{formatAs:"minute"},{formatAs:"hour"}],Ot={},jt={minTime:function(t,e){return e.future,(0,e.getMinTimeForUnit)("day")},format:function(t,e){return Ot[e]||(Ot[e]={}),Ot[e].dayMonth||(Ot[e].dayMonth=new Intl.DateTimeFormat(e,{month:"short",day:"numeric"})),Ot[e].dayMonth.format(gt(t))}},St={minTime:function(t,e){return e.future?(t-(new Date(new Date(t).getFullYear(),0).getTime()-1))/1e3:(new Date(new Date(t).getFullYear()+1,0).getTime()-t)/1e3},format:function(t,e){return Ot[e]||(Ot[e]={}),Ot[e].dayMonthYear||(Ot[e].dayMonthYear=new Intl.DateTimeFormat(e,{year:"numeric",month:"short",day:"numeric"})),Ot[e].dayMonthYear.format(gt(t))}};"object"===("undefined"==typeof Intl?"undefined":R(Intl))&&"function"==typeof Intl.DateTimeFormat?wt.push(jt,St):wt.push({formatAs:"day"},{formatAs:"week"},{formatAs:"month"},{formatAs:"year"});var Pt={steps:wt,labels:["mini","short-time","narrow","short"]};function At(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function kt(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?At(Object(r),!0).forEach((function(e){Dt(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):At(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function Dt(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var Tt=kt(kt({},Pt),{},{steps:[{formatAs:"now"}].concat(Pt.steps)});function Et(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function Ft(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?Et(Object(r),!0).forEach((function(e){It(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):Et(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function It(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var Nt=Ft(Ft({},Pt),{},{steps:Pt.steps.filter((function(t){return"second"!==t.formatAs}))});function Mt(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function Rt(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?Mt(Object(r),!0).forEach((function(e){zt(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):Mt(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function zt(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var xt=Rt(Rt({},Nt),{},{steps:[{formatAs:"now"}].concat(Nt.steps)});function Lt(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function Ct(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?Lt(Object(r),!0).forEach((function(e){Ut(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):Lt(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function Ut(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var _t=Ct(Ct({},Pt),{},{steps:Pt.steps.filter((function(t){return"second"!==t.formatAs})).map((function(t){return"minute"===t.formatAs?Ct(Ct({},t),{},{minTime:Y}):t}))}),Yt={steps:[{formatAs:"second"},{formatAs:"minute"},{formatAs:"hour"},{formatAs:"day"},{formatAs:"month"},{formatAs:"year"}],labels:["mini","short-time","narrow","short"]};function $t(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function qt(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?$t(Object(r),!0).forEach((function(e){Vt(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):$t(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function Vt(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var Jt=qt(qt({},Yt),{},{steps:[{formatAs:"now"}].concat(Yt.steps)});function Bt(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function Gt(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?Bt(Object(r),!0).forEach((function(e){Ht(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):Bt(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function Ht(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var Kt=Gt(Gt({},Yt),{},{steps:Yt.steps.filter((function(t){return"second"!==t.formatAs}))});function Qt(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function Wt(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?Qt(Object(r),!0).forEach((function(e){Xt(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):Qt(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function Xt(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var Zt=Wt(Wt({},Kt),{},{steps:[{formatAs:"now"}].concat(Kt.steps)});function te(t){switch(t){case"default":case"round":return st;case"round-minute":return bt;case"approximate":return dt;case"time":case"approximate-time":return vt;case"mini":return Yt;case"mini-now":return Jt;case"mini-minute":return Kt;case"mini-minute-now":return Zt;case"twitter":return Pt;case"twitter-now":return Tt;case"twitter-minute":return Nt;case"twitter-minute-now":return xt;case"twitter-first-minute":return _t;default:return dt}}function ee(t){return(ee="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function re(t,e){var r="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(r)return(r=r.call(t)).next.bind(r);if(Array.isArray(t)||(r=oe(t))||e&&t&&"number"==typeof t.length){r&&(t=r);var n=0;return function(){return n>=t.length?{done:!0}:{done:!1,value:t[n++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function ne(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null==r)return;var n,o,a=[],i=!0,u=!1;try{for(r=r.call(t);!(i=(n=r.next()).done)&&(a.push(n.value),!e||a.length!==e);i=!0);}catch(t){u=!0,o=t}finally{try{i||null==r.return||r.return()}finally{if(u)throw o}}return a}(t,e)||oe(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function oe(t,e){if(t){if("string"==typeof t)return ae(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?ae(t,e):void 0}}function ae(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}function ie(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function ue(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}var ce,le=function(){function t(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=r.polyfill;ie(this,t),"string"==typeof e&&(e=[e]),this.locale=L(e.concat(t.getDefaultLocale()),lt),"undefined"!=typeof Intl&&Intl.NumberFormat&&(this.numberFormat=new Intl.NumberFormat(this.locale)),!1===n?(this.IntlRelativeTimeFormat=Intl.RelativeTimeFormat,this.IntlPluralRules=Intl.PluralRules):(this.IntlRelativeTimeFormat=k,this.IntlPluralRules=k.PluralRules),this.relativeTimeFormatCache=new M,this.pluralRulesCache=new M}var e,r,n;return e=t,(r=[{key:"format",value:function(t,e,r){var n;r||(e&&"string"!=typeof(n=e)&&!U(n)?(r=e,e=void 0):r={}),e||(e=bt),"string"==typeof e&&(e=te(e));var o,a=function(t){if(t.constructor===Date||"object"===ee(e=t)&&"function"==typeof e.getTime)return t.getTime();var e;if("number"==typeof t)return t;throw new Error("Unsupported relative time formatter input: ".concat(ee(t),", ").concat(t))}(t),i=this.getLabels(e.flavour||e.labels),u=i.labels,c=i.labelsType;void 0!==e.now&&(o=e.now),void 0===o&&void 0!==r.now&&(o=r.now),void 0===o&&(o=Date.now());var l=(o-a)/1e3,f=r.future||l<0,s=function(t,e,r,n){var o=t.now||e&&e.now;return o?"string"==typeof o?o:n?o.future:o.past:r&&r.second&&r.second.current?r.second.current:void 0}(u,lt(this.locale).now,lt(this.locale).long,f);if(e.custom){var p=e.custom({now:o,date:new Date(a),time:a,elapsed:l,locale:this.locale});if(void 0!==p)return p}var y=function(t,e,r){var n=Object.keys(e);return r&&n.push("now"),t&&(n=t.filter((function(t){return"now"===t||n.indexOf(t)>=0}))),n}(e.units,u,s),m=r.round||e.round,b=ne(nt(e.gradation||e.steps||bt.steps,l,{now:o,units:y,round:m,future:f,getNextStep:!0}),3),h=b[0],d=b[1],v=b[2],g=this.formatDateForStep(a,d,l,{labels:u,labelsType:c,nowLabel:s,now:o,future:f,round:m})||"";return r.getTimeToNextUpdate?[g,ut(a,d,{nextStep:v,prevStep:h,now:o,future:f,round:m})]:g}},{key:"formatDateForStep",value:function(t,e,r,n){var o=this,a=n.labels,i=n.labelsType,u=n.nowLabel,c=n.now,l=n.future,f=n.round;if(e){if(e.format)return e.format(t,this.locale,{formatAs:function(t,e){return o.formatValue(e,t,{labels:a,future:l})},now:c,future:l});var s=e.unit||e.formatAs;if(!s)throw new Error("[javascript-time-ago] Each step must define either `formatAs` or `format()`. Step: ".concat(JSON.stringify(e)));if("now"===s)return u;var p=Math.abs(r)/H(e);e.granularity&&(p=K(f)(p/e.granularity)*e.granularity);var y=-1*Math.sign(r)*K(f)(p);switch(0===y&&(y=l?0:-0),i){case"long":case"short":case"narrow":return this.getFormatter(i).format(y,s);default:return this.formatValue(y,s,{labels:a,future:l})}}}},{key:"formatValue",value:function(t,e,r){var n=r.labels,o=r.future;return this.getFormattingRule(n,e,t,{future:o}).replace("{0}",this.formatNumber(Math.abs(t)))}},{key:"getFormattingRule",value:function(t,e,r,n){var o=n.future;if(this.locale,"string"==typeof(t=t[e]))return t;var a=t[0===r?o?"future":"past":r<0?"past":"future"]||t;return"string"==typeof a?a:a[this.getPluralRules().select(Math.abs(r))]||a.other}},{key:"formatNumber",value:function(t){return this.numberFormat?this.numberFormat.format(t):String(t)}},{key:"getFormatter",value:function(t){return this.relativeTimeFormatCache.get(this.locale,t)||this.relativeTimeFormatCache.put(this.locale,t,new this.IntlRelativeTimeFormat(this.locale,{style:t}))}},{key:"getPluralRules",value:function(){return this.pluralRulesCache.get(this.locale)||this.pluralRulesCache.put(this.locale,new this.IntlPluralRules(this.locale))}},{key:"getLabels",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];"string"==typeof t&&(t=[t]),t=(t=t.map((function(t){switch(t){case"tiny":case"mini-time":return"mini";default:return t}}))).concat("long");for(var e,r=lt(this.locale),n=re(t);!(e=n()).done;){var o=e.value;if(r[o])return{labelsType:o,labels:r[o]}}}}])&&ue(e.prototype,r),n&&ue(e,n),Object.defineProperty(e,"prototype",{writable:!1}),t}(),fe="en";return le.getDefaultLocale=function(){return fe},le.setDefaultLocale=function(t){return fe=t},le.addDefaultLocale=function(t){if(ce)return console.error("[javascript-time-ago] `TimeAgo.addDefaultLocale()` can only be called once. To add other locales, use `TimeAgo.addLocale()`.");ce=!0,le.setDefaultLocale(t.locale),le.addLocale(t)},le.addLocale=function(t){ft(t),k.addLocale(t)},le.locale=le.addLocale,le.addLabels=function(t,e,r){var n=lt(t);n||(ft({locale:t}),n=lt(t)),n[e]=r},le}));
|
|
1
|
+
!function(t,e){"object"==typeof exports&&"undefined"!=typeof module?module.exports=e():"function"==typeof define&&define.amd?define(e):(t="undefined"!=typeof globalThis?globalThis:t||self).TimeAgo=e()}(this,(function(){"use strict";var t="en",e={},r={};function n(){return t}function o(t){return e[t]?t:r[t.toLowerCase()]?r[t.toLowerCase()]:void 0}function a(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=e.localeMatcher||"lookup";switch(r){case"lookup":case"best fit":return i(t);default:throw new RangeError('Invalid "localeMatcher" option: '.concat(r))}}function i(t){var e=o(t);if(e)return e;for(var r=t.split("-");t.length>1;){r.pop();var n=o(t=r.join("-"));if(n)return n}}var u={af:function(t){return 1==t?"one":"other"},am:function(t){return t>=0&&t<=1?"one":"other"},ar:function(t){var e=String(t).split("."),r=Number(e[0])==t&&e[0].slice(-2);return 0==t?"zero":1==t?"one":2==t?"two":r>=3&&r<=10?"few":r>=11&&r<=99?"many":"other"},ast:function(t){var e=!String(t).split(".")[1];return 1==t&&e?"one":"other"},be:function(t){var e=String(t).split("."),r=Number(e[0])==t,n=r&&e[0].slice(-1),o=r&&e[0].slice(-2);return 1==n&&11!=o?"one":n>=2&&n<=4&&(o<12||o>14)?"few":r&&0==n||n>=5&&n<=9||o>=11&&o<=14?"many":"other"},br:function(t){var e=String(t).split("."),r=Number(e[0])==t,n=r&&e[0].slice(-1),o=r&&e[0].slice(-2),a=r&&e[0].slice(-6);return 1==n&&11!=o&&71!=o&&91!=o?"one":2==n&&12!=o&&72!=o&&92!=o?"two":(3==n||4==n||9==n)&&(o<10||o>19)&&(o<70||o>79)&&(o<90||o>99)?"few":0!=t&&r&&0==a?"many":"other"},bs:function(t){var e=String(t).split("."),r=e[0],n=e[1]||"",o=!e[1],a=r.slice(-1),i=r.slice(-2),u=n.slice(-1),c=n.slice(-2);return o&&1==a&&11!=i||1==u&&11!=c?"one":o&&a>=2&&a<=4&&(i<12||i>14)||u>=2&&u<=4&&(c<12||c>14)?"few":"other"},ceb:function(t){var e=String(t).split("."),r=e[0],n=e[1]||"",o=!e[1],a=r.slice(-1),i=n.slice(-1);return o&&(1==r||2==r||3==r)||o&&4!=a&&6!=a&&9!=a||!o&&4!=i&&6!=i&&9!=i?"one":"other"},cs:function(t){var e=String(t).split("."),r=e[0],n=!e[1];return 1==t&&n?"one":r>=2&&r<=4&&n?"few":n?"other":"many"},cy:function(t){return 0==t?"zero":1==t?"one":2==t?"two":3==t?"few":6==t?"many":"other"},da:function(t){var e=String(t).split("."),r=e[0],n=Number(e[0])==t;return 1!=t&&(n||0!=r&&1!=r)?"other":"one"},dsb:function(t){var e=String(t).split("."),r=e[0],n=e[1]||"",o=!e[1],a=r.slice(-2),i=n.slice(-2);return o&&1==a||1==i?"one":o&&2==a||2==i?"two":o&&(3==a||4==a)||3==i||4==i?"few":"other"},dz:function(t){return"other"},es:function(t){var e=String(t).split("."),r=e[0],n=!e[1],o=r.slice(-6);return 1==t?"one":0!=r&&0==o&&n?"many":"other"},ff:function(t){return t>=0&&t<2?"one":"other"},fr:function(t){var e=String(t).split("."),r=e[0],n=!e[1],o=r.slice(-6);return t>=0&&t<2?"one":0!=r&&0==o&&n?"many":"other"},ga:function(t){var e=String(t).split("."),r=Number(e[0])==t;return 1==t?"one":2==t?"two":r&&t>=3&&t<=6?"few":r&&t>=7&&t<=10?"many":"other"},gd:function(t){var e=String(t).split("."),r=Number(e[0])==t;return 1==t||11==t?"one":2==t||12==t?"two":r&&t>=3&&t<=10||r&&t>=13&&t<=19?"few":"other"},he:function(t){var e=String(t).split("."),r=e[0],n=!e[1],o=Number(e[0])==t,a=o&&e[0].slice(-1);return 1==t&&n?"one":2==r&&n?"two":n&&(t<0||t>10)&&o&&0==a?"many":"other"},is:function(t){var e=String(t).split("."),r=e[0],n=Number(e[0])==t,o=r.slice(-1),a=r.slice(-2);return n&&1==o&&11!=a||!n?"one":"other"},it:function(t){var e=String(t).split("."),r=e[0],n=!e[1],o=r.slice(-6);return 1==t&&n?"one":0!=r&&0==o&&n?"many":"other"},ksh:function(t){return 0==t?"zero":1==t?"one":"other"},lt:function(t){var e=String(t).split("."),r=e[1]||"",n=Number(e[0])==t,o=n&&e[0].slice(-1),a=n&&e[0].slice(-2);return 1==o&&(a<11||a>19)?"one":o>=2&&o<=9&&(a<11||a>19)?"few":0!=r?"many":"other"},lv:function(t){var e=String(t).split("."),r=e[1]||"",n=r.length,o=Number(e[0])==t,a=o&&e[0].slice(-1),i=o&&e[0].slice(-2),u=r.slice(-2),c=r.slice(-1);return o&&0==a||i>=11&&i<=19||2==n&&u>=11&&u<=19?"zero":1==a&&11!=i||2==n&&1==c&&11!=u||2!=n&&1==c?"one":"other"},mk:function(t){var e=String(t).split("."),r=e[0],n=e[1]||"",o=!e[1],a=r.slice(-1),i=r.slice(-2),u=n.slice(-1),c=n.slice(-2);return o&&1==a&&11!=i||1==u&&11!=c?"one":"other"},mt:function(t){var e=String(t).split("."),r=Number(e[0])==t&&e[0].slice(-2);return 1==t?"one":0==t||r>=2&&r<=10?"few":r>=11&&r<=19?"many":"other"},pa:function(t){return 0==t||1==t?"one":"other"},pl:function(t){var e=String(t).split("."),r=e[0],n=!e[1],o=r.slice(-1),a=r.slice(-2);return 1==t&&n?"one":n&&o>=2&&o<=4&&(a<12||a>14)?"few":n&&1!=r&&(0==o||1==o)||n&&o>=5&&o<=9||n&&a>=12&&a<=14?"many":"other"},pt:function(t){var e=String(t).split("."),r=e[0],n=!e[1],o=r.slice(-6);return 0==r||1==r?"one":0!=r&&0==o&&n?"many":"other"},ro:function(t){var e=String(t).split("."),r=!e[1],n=Number(e[0])==t&&e[0].slice(-2);return 1==t&&r?"one":!r||0==t||n>=2&&n<=19?"few":"other"},ru:function(t){var e=String(t).split("."),r=e[0],n=!e[1],o=r.slice(-1),a=r.slice(-2);return n&&1==o&&11!=a?"one":n&&o>=2&&o<=4&&(a<12||a>14)?"few":n&&0==o||n&&o>=5&&o<=9||n&&a>=11&&a<=14?"many":"other"},se:function(t){return 1==t?"one":2==t?"two":"other"},si:function(t){var e=String(t).split("."),r=e[0],n=e[1]||"";return 0==t||1==t||0==r&&1==n?"one":"other"},sl:function(t){var e=String(t).split("."),r=e[0],n=!e[1],o=r.slice(-2);return n&&1==o?"one":n&&2==o?"two":n&&(3==o||4==o)||!n?"few":"other"}};u.as=u.am,u.az=u.af,u.bg=u.af,u.bn=u.am,u.brx=u.af,u.ca=u.ast,u.ce=u.af,u.chr=u.af,u.de=u.ast,u.ee=u.af,u.el=u.af,u.en=u.ast,u.et=u.ast,u.eu=u.af,u.fa=u.am,u.fi=u.ast,u.fil=u.ceb,u.fo=u.af,u.fur=u.af,u.fy=u.ast,u.gl=u.ast,u.gu=u.am,u.ha=u.af,u.hi=u.am,u.hr=u.bs,u.hsb=u.dsb,u.hu=u.af,u.hy=u.ff,u.ia=u.ast,u.id=u.dz,u.ig=u.dz,u.ja=u.dz,u.jgo=u.af,u.jv=u.dz,u.ka=u.af,u.kea=u.dz,u.kk=u.af,u.kl=u.af,u.km=u.dz,u.kn=u.am,u.ko=u.dz,u.ku=u.af,u.ky=u.af,u.lb=u.af,u.lkt=u.dz,u.lo=u.dz,u.ml=u.af,u.mn=u.af,u.mr=u.af,u.ms=u.dz,u.my=u.dz,u.nb=u.af,u.ne=u.af,u.nl=u.ast,u.nn=u.af,u.no=u.af,u.or=u.af,u.pcm=u.am,u.ps=u.af,u.rm=u.af,u.sah=u.dz,u.sc=u.ast,u.sd=u.af,u.sk=u.cs,u.so=u.af,u.sq=u.af,u.sr=u.bs,u.su=u.dz,u.sv=u.ast,u.sw=u.ast,u.ta=u.af,u.te=u.af,u.th=u.dz,u.ti=u.pa,u.tk=u.af,u.to=u.dz,u.tr=u.af,u.ug=u.af,u.uk=u.ru,u.ur=u.ast,u.uz=u.af,u.vi=u.dz,u.wae=u.af,u.wo=u.dz,u.yi=u.ast,u.yo=u.dz,u.yue=u.dz,u.zh=u.dz,u.zu=u.am;var c=u;function l(t){return"pt-PT"===t?t:function(t){var e=t.match(f);if(!e)throw new TypeError("Invalid locale: ".concat(t));return e[1]}(t)}var f=/^([a-z0-9]+)/i;function s(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}var p=function(){function t(e,r){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t);var n=t.supportedLocalesOf(e);if(0===n.length)throw new RangeError("Unsupported locale: "+e);if(r&&"cardinal"!==r.type)throw new RangeError('Only "cardinal" "type" is supported');this.$=c[l(n[0])]}var e,r,n;return e=t,n=[{key:"supportedLocalesOf",value:function(t){return"string"==typeof t&&(t=[t]),t.filter((function(t){return c[l(t)]}))}}],(r=[{key:"select",value:function(t){return this.$(t)}}])&&s(e.prototype,r),n&&s(e,n),Object.defineProperty(e,"prototype",{writable:!1}),t}();function y(t){return(y="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function m(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function b(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?m(Object(r),!0).forEach((function(e){h(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):m(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function h(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function d(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null==r)return;var n,o,a=[],i=!0,u=!1;try{for(r=r.call(t);!(i=(n=r.next()).done)&&(a.push(n.value),!e||a.length!==e);i=!0);}catch(t){u=!0,o=t}finally{try{i||null==r.return||r.return()}finally{if(u)throw o}}return a}(t,e)||function(t,e){if(!t)return;if("string"==typeof t)return v(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);"Object"===r&&t.constructor&&(r=t.constructor.name);if("Map"===r||"Set"===r)return Array.from(t);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return v(t,e)}(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function v(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}function g(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function w(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}var O=["second","minute","hour","day","week","month","quarter","year"],j=["auto","always"],S=["long","short","narrow"],P=["lookup","best fit"],A=function(){function t(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};g(this,t);var o=r.numeric,i=r.style,u=r.localeMatcher;if(this.numeric="always",this.style="long",this.localeMatcher="lookup",void 0!==o){if(j.indexOf(o)<0)throw new RangeError('Invalid "numeric" option: '.concat(o));this.numeric=o}if(void 0!==i){if(S.indexOf(i)<0)throw new RangeError('Invalid "style" option: '.concat(i));this.style=i}if(void 0!==u){if(P.indexOf(u)<0)throw new RangeError('Invalid "localeMatcher" option: '.concat(u));this.localeMatcher=u}if("string"==typeof e&&(e=[e]),e.push(n()),this.locale=t.supportedLocalesOf(e,{localeMatcher:this.localeMatcher})[0],!this.locale)throw new Error("No supported locale was found");p.supportedLocalesOf(this.locale).length>0?this.pluralRules=new p(this.locale):console.warn('"'.concat(this.locale,'" locale is not supported')),"undefined"!=typeof Intl&&Intl.NumberFormat?(this.numberFormat=new Intl.NumberFormat(this.locale),this.numberingSystem=this.numberFormat.resolvedOptions().numberingSystem):this.numberingSystem="latn",this.locale=a(this.locale,{localeMatcher:this.localeMatcher})}var r,o,i;return r=t,(o=[{key:"format",value:function(){var t=E(arguments),e=d(t,2),r=e[0],n=e[1];return this.getRule(r,n).replace("{0}",this.formatNumber(Math.abs(r)))}},{key:"formatToParts",value:function(){var t=E(arguments),e=d(t,2),r=e[0],n=e[1],o=this.getRule(r,n),a=o.indexOf("{0}");if(a<0)return[{type:"literal",value:o}];var i=[];return a>0&&i.push({type:"literal",value:o.slice(0,a)}),i=i.concat(this.formatNumberToParts(Math.abs(r)).map((function(t){return b(b({},t),{},{unit:n})}))),a+"{0}".length<o.length-1&&i.push({type:"literal",value:o.slice(a+"{0}".length)}),i}},{key:"getRule",value:function(t,r){var n,o=(n=this.locale,e[n])[this.style][r];if("string"==typeof o)return o;if("auto"===this.numeric)if(-2===t||-1===t){var a=o["previous".concat(-1===t?"":"-"+Math.abs(t))];if(a)return a}else if(1===t||2===t){var i=o["next".concat(1===t?"":"-"+Math.abs(t))];if(i)return i}else if(0===t&&o.current)return o.current;var u,c=o[(u=t,u<0||0===u&&function(t){return 1/t==-1/0}(u)?"past":"future")];return"string"==typeof c?c:c[this.pluralRules&&this.pluralRules.select(Math.abs(t))||"other"]||c.other}},{key:"formatNumber",value:function(t){return this.numberFormat?this.numberFormat.format(t):String(t)}},{key:"formatNumberToParts",value:function(t){return this.numberFormat&&this.numberFormat.formatToParts?this.numberFormat.formatToParts(t):[{type:"integer",value:this.formatNumber(t)}]}},{key:"resolvedOptions",value:function(){return{locale:this.locale,style:this.style,numeric:this.numeric,numberingSystem:this.numberingSystem}}}])&&w(r.prototype,o),i&&w(r,i),Object.defineProperty(r,"prototype",{writable:!1}),t}();A.supportedLocalesOf=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if("string"==typeof t)t=[t];else if(!Array.isArray(t))throw new TypeError('Invalid "locales" argument');return t.filter((function(t){return a(t,e)}))},A.addLocale=function(t){if(!t)throw new Error("No locale data passed");e[t.locale]=t,r[t.locale.toLowerCase()]=t.locale},A.setDefaultLocale=function(e){t=e},A.getDefaultLocale=n,A.PluralRules=p;var D='Invalid "unit" argument';function k(t){if("symbol"===y(t))throw new TypeError(D);if("string"!=typeof t)throw new RangeError("".concat(D,": ").concat(t));if("s"===t[t.length-1]&&(t=t.slice(0,t.length-1)),O.indexOf(t)<0)throw new RangeError("".concat(D,": ").concat(t));return t}function T(t){if(t=Number(t),Number.isFinite&&!Number.isFinite(t))throw new RangeError("".concat('Invalid "number" argument',": ").concat(t));return t}function E(t){if(t.length<2)throw new TypeError('"unit" argument is required');return[T(t[0]),k(t[1])]}function F(t){return(F="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function I(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}var N=function(){function t(){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.cache={}}var e,r,n;return e=t,(r=[{key:"get",value:function(){for(var t=this.cache,e=arguments.length,r=new Array(e),n=0;n<e;n++)r[n]=arguments[n];for(var o=0,a=r;o<a.length;o++){var i=a[o];if("object"!==F(t))return;t=t[i]}return t}},{key:"put",value:function(){for(var t=arguments.length,e=new Array(t),r=0;r<t;r++)e[r]=arguments[r];for(var n=e.pop(),o=e.pop(),a=this.cache,i=0,u=e;i<u.length;i++){var c=u[i];"object"!==F(a[c])&&(a[c]={}),a=a[c]}return a[o]=n}}])&&I(e.prototype,r),n&&I(e,n),Object.defineProperty(e,"prototype",{writable:!1}),t}();function M(t){return(M="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function R(t,e){var r="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(r)return(r=r.call(t)).next.bind(r);if(Array.isArray(t)||(r=function(t,e){if(!t)return;if("string"==typeof t)return z(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);"Object"===r&&t.constructor&&(r=t.constructor.name);if("Map"===r||"Set"===r)return Array.from(t);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return z(t,e)}(t))||e&&t&&"number"==typeof t.length){r&&(t=r);var n=0;return function(){return n>=t.length?{done:!0}:{done:!1,value:t[n++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function z(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}function x(t,e){for(var r,n=R(t);!(r=n()).done;){var o=r.value;if(e(o))return o;for(var a=o.split("-");a.length>1;)if(a.pop(),e(o=a.join("-")))return o}throw new Error("No locale data has been registered for any of the locales: ".concat(t.join(", ")))}function L(t){return(L="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function C(t){return function(t){return void 0!==L(t)&&null!==t&&t.constructor===U}(t)&&(Array.isArray(t.steps)||Array.isArray(t.gradation)||Array.isArray(t.flavour)||"string"==typeof t.flavour||Array.isArray(t.labels)||"string"==typeof t.labels||Array.isArray(t.units)||"function"==typeof t.custom)}var U={}.constructor;var _=60,Y=3600,$=86400,q=7*$,V=2630016,J=31556952;function B(t){switch(t){case"second":return 1;case"minute":return _;case"hour":return Y;case"day":return $;case"week":return q;case"month":return V;case"year":return J}}function G(t){return void 0!==t.factor?t.factor:B(t.unit||t.formatAs)||1}function H(t){switch(t){case"floor":return Math.floor;default:return Math.round}}function K(t){switch(t){case"floor":return 1;default:return.5}}function Q(t){return(Q="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function W(t,e){var r,n=e.prevStep,o=e.timestamp,a=e.now,i=e.future,u=e.round;return n&&(n.id||n.unit)&&(r=t["threshold_for_".concat(n.id||n.unit)]),void 0===r&&void 0!==t.threshold&&"function"==typeof(r=t.threshold)&&(r=r(a,i)),void 0===r&&(r=t.minTime),"object"===Q(r)&&(r=n&&n.id&&void 0!==r[n.id]?r[n.id]:r.default),"function"==typeof r&&(r=r(o,{future:i,getMinTimeForUnit:function(t,e){return X(t,e||n&&n.formatAs,{round:u})}})),void 0===r&&t.test&&(r=t.test(o,{now:a,future:i})?0:9007199254740991),void 0===r&&(n?t.formatAs&&n.formatAs&&(r=X(t.formatAs,n.formatAs,{round:u})):r=0),void 0===r&&console.warn("[javascript-time-ago] A step should specify `minTime`:\n"+JSON.stringify(t,null,2)),r}function X(t,e,r){var n,o=r.round,a=B(t);if(n=B("now"===e?t:e),void 0!==a&&void 0!==n)return a-n*(1-K(o))}function Z(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function tt(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?Z(Object(r),!0).forEach((function(e){et(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):Z(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function et(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function rt(t,e,r){var n=r.now,o=r.future,a=r.round,i=r.units,u=r.getNextStep,c=function(t,e,r){var n=r.now,o=r.future,a=r.round;if(0===t.length)return;var i=nt(t,e,{now:n,future:o||e<0,round:a});if(-1===i)return;var u=t[i];if(u.granularity){if(0===H(a)(Math.abs(e)/G(u)/u.granularity)*u.granularity&&i>0)return t[i-1]}return u}(t=function(t,e){return t.filter((function(t){var r=t.unit,n=t.formatAs;return!(r=r||n)||e.indexOf(r)>=0}))}(t,i),e,{now:n,future:o,round:a});return u?c?[t[t.indexOf(c)-1],c,t[t.indexOf(c)+1]]:[void 0,void 0,t[0]]:c}function nt(t,e,r){var n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0,o=W(t[n],tt({prevStep:t[n-1],timestamp:r.now-1e3*e},r));return void 0===o||Math.abs(e)<o?n-1:n===t.length-1?n:nt(t,e,r,n+1)}function ot(t,e,r){var n=r.now,o=r.round;if(B(t)){var a=1e3*B(t),i=e>n,u=Math.abs(e-n),c=H(o)(u/a)*a;return i?c>0?u-c+function(t,e){return(1-K(t))*e+1}(o,a):u-c+1:-(u-c)+function(t,e){return K(t)*e}(o,a)}}var at=31536e9;function it(t,e,r){var n=r.prevStep,o=r.nextStep,a=r.now,i=r.future,u=r.round,c=t.getTime?t.getTime():t,l=function(t){return ot(t,c,{now:a,round:u})},f=function(t,e,r){var n=r.now,o=r.future,a=r.round,i=r.prevStep;if(t){var u=function(t,e,r){var n=r.now,o=r.future,a=r.round,i=r.prevStep,u=W(t,{timestamp:e,now:n,future:o,round:a,prevStep:i});if(void 0===u)return;return o?e-1e3*u+1:0===u&&e===n?at:e+1e3*u}(t,e,{now:n,future:o,round:a,prevStep:i});if(void 0===u)return;return u-n}return o?e-n+1:at}(i?e:o,c,{future:i,now:a,round:u,prevStep:i?n:e});if(void 0!==f){var s;if(e&&(e.getTimeToNextUpdate&&(s=e.getTimeToNextUpdate(c,{getTimeToNextUpdateForUnit:l,getRoundFunction:H,now:a,future:i,round:u})),void 0===s)){var p=e.unit||e.formatAs;p&&(s=l(p))}return void 0===s?f:Math.min(s,f)}}var ut={};function ct(t){return ut[t]}function lt(t){if(!t)throw new Error("[javascript-time-ago] No locale data passed.");ut[t.locale]=t}var ft={steps:[{formatAs:"now"},{formatAs:"second"},{formatAs:"minute"},{formatAs:"hour"},{formatAs:"day"},{formatAs:"week"},{formatAs:"month"},{formatAs:"year"}],labels:"long"};function st(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function pt(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?st(Object(r),!0).forEach((function(e){yt(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):st(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function yt(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var mt=pt(pt({},ft),{},{steps:ft.steps.filter((function(t){return"second"!==t.formatAs}))}),bt=[{factor:1,unit:"now"},{threshold:1,threshold_for_now:45.5,factor:1,unit:"second"},{threshold:45.5,factor:_,unit:"minute"},{threshold:150,granularity:5,factor:_,unit:"minute"},{threshold:1350,factor:1800,unit:"half-hour"},{threshold:2550,threshold_for_minute:3150,factor:Y,unit:"hour"},{threshold:73800,factor:$,unit:"day"},{threshold:475200,factor:q,unit:"week"},{threshold:2116800,factor:V,unit:"month"},{threshold:27615168,factor:J,unit:"year"}],ht={gradation:bt,flavour:"long",units:["now","minute","hour","day","week","month","year"]},dt={gradation:bt,flavour:"long-time",units:["now","minute","hour","day","week","month","year"]};function vt(t){return t instanceof Date?t:new Date(t)}var gt=[{formatAs:"second"},{formatAs:"minute"},{formatAs:"hour"}],wt={},Ot={minTime:function(t,e){return e.future,(0,e.getMinTimeForUnit)("day")},format:function(t,e){return wt[e]||(wt[e]={}),wt[e].dayMonth||(wt[e].dayMonth=new Intl.DateTimeFormat(e,{month:"short",day:"numeric"})),wt[e].dayMonth.format(vt(t))}},jt={minTime:function(t,e){return e.future?(t-(new Date(new Date(t).getFullYear(),0).getTime()-1))/1e3:(new Date(new Date(t).getFullYear()+1,0).getTime()-t)/1e3},format:function(t,e){return wt[e]||(wt[e]={}),wt[e].dayMonthYear||(wt[e].dayMonthYear=new Intl.DateTimeFormat(e,{year:"numeric",month:"short",day:"numeric"})),wt[e].dayMonthYear.format(vt(t))}};"object"===("undefined"==typeof Intl?"undefined":M(Intl))&&"function"==typeof Intl.DateTimeFormat?gt.push(Ot,jt):gt.push({formatAs:"day"},{formatAs:"week"},{formatAs:"month"},{formatAs:"year"});var St={steps:gt,labels:["mini","short-time","narrow","short"]};function Pt(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function At(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?Pt(Object(r),!0).forEach((function(e){Dt(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):Pt(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function Dt(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var kt=At(At({},St),{},{steps:[{formatAs:"now"}].concat(St.steps)});function Tt(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function Et(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?Tt(Object(r),!0).forEach((function(e){Ft(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):Tt(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function Ft(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var It=Et(Et({},St),{},{steps:St.steps.filter((function(t){return"second"!==t.formatAs}))});function Nt(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function Mt(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?Nt(Object(r),!0).forEach((function(e){Rt(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):Nt(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function Rt(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var zt=Mt(Mt({},It),{},{steps:[{formatAs:"now"}].concat(It.steps)});function xt(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function Lt(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?xt(Object(r),!0).forEach((function(e){Ct(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):xt(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function Ct(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var Ut=Lt(Lt({},St),{},{steps:St.steps.filter((function(t){return"second"!==t.formatAs})).map((function(t){return"minute"===t.formatAs?Lt(Lt({},t),{},{minTime:_}):t}))}),_t={steps:[{formatAs:"second"},{formatAs:"minute"},{formatAs:"hour"},{formatAs:"day"},{formatAs:"month"},{formatAs:"year"}],labels:["mini","short-time","narrow","short"]};function Yt(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function $t(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?Yt(Object(r),!0).forEach((function(e){qt(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):Yt(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function qt(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var Vt=$t($t({},_t),{},{steps:[{formatAs:"now"}].concat(_t.steps)});function Jt(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function Bt(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?Jt(Object(r),!0).forEach((function(e){Gt(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):Jt(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function Gt(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var Ht=Bt(Bt({},_t),{},{steps:_t.steps.filter((function(t){return"second"!==t.formatAs}))});function Kt(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function Qt(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?Kt(Object(r),!0).forEach((function(e){Wt(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):Kt(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function Wt(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var Xt=Qt(Qt({},Ht),{},{steps:[{formatAs:"now"}].concat(Ht.steps)});function Zt(t){switch(t){case"default":case"round":return ft;case"round-minute":return mt;case"approximate":return ht;case"time":case"approximate-time":return dt;case"mini":return _t;case"mini-now":return Vt;case"mini-minute":return Ht;case"mini-minute-now":return Xt;case"twitter":return St;case"twitter-now":return kt;case"twitter-minute":return It;case"twitter-minute-now":return zt;case"twitter-first-minute":return Ut;default:return ht}}function te(t){return(te="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function ee(t,e){var r="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(r)return(r=r.call(t)).next.bind(r);if(Array.isArray(t)||(r=ne(t))||e&&t&&"number"==typeof t.length){r&&(t=r);var n=0;return function(){return n>=t.length?{done:!0}:{done:!1,value:t[n++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function re(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null==r)return;var n,o,a=[],i=!0,u=!1;try{for(r=r.call(t);!(i=(n=r.next()).done)&&(a.push(n.value),!e||a.length!==e);i=!0);}catch(t){u=!0,o=t}finally{try{i||null==r.return||r.return()}finally{if(u)throw o}}return a}(t,e)||ne(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function ne(t,e){if(t){if("string"==typeof t)return oe(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?oe(t,e):void 0}}function oe(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}function ae(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function ie(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}var ue,ce=function(){function t(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=r.polyfill;ae(this,t),"string"==typeof e&&(e=[e]),this.locale=x(e.concat(t.getDefaultLocale()),ct),"undefined"!=typeof Intl&&Intl.NumberFormat&&(this.numberFormat=new Intl.NumberFormat(this.locale)),!1===n?(this.IntlRelativeTimeFormat=Intl.RelativeTimeFormat,this.IntlPluralRules=Intl.PluralRules):(this.IntlRelativeTimeFormat=A,this.IntlPluralRules=A.PluralRules),this.relativeTimeFormatCache=new N,this.pluralRulesCache=new N}var e,r,n;return e=t,(r=[{key:"format",value:function(t,e,r){var n;r||(e&&"string"!=typeof(n=e)&&!C(n)?(r=e,e=void 0):r={}),e||(e=mt),"string"==typeof e&&(e=Zt(e));var o,a=function(t){if(t.constructor===Date||"object"===te(e=t)&&"function"==typeof e.getTime)return t.getTime();var e;if("number"==typeof t)return t;throw new Error("Unsupported relative time formatter input: ".concat(te(t),", ").concat(t))}(t),i=this.getLabels(e.flavour||e.labels),u=i.labels,c=i.labelsType;void 0!==e.now&&(o=e.now),void 0===o&&void 0!==r.now&&(o=r.now),void 0===o&&(o=Date.now());var l=(o-a)/1e3,f=r.future||l<0,s=function(t,e,r,n){var o=t.now||e&&e.now;return o?"string"==typeof o?o:n?o.future:o.past:r&&r.second&&r.second.current?r.second.current:void 0}(u,ct(this.locale).now,ct(this.locale).long,f);if(e.custom){var p=e.custom({now:o,date:new Date(a),time:a,elapsed:l,locale:this.locale});if(void 0!==p)return p}var y=function(t,e,r){var n=Object.keys(e);return r&&n.push("now"),t&&(n=t.filter((function(t){return"now"===t||n.indexOf(t)>=0}))),n}(e.units,u,s),m=r.round||e.round,b=re(rt(e.gradation||e.steps||mt.steps,l,{now:o,units:y,round:m,future:f,getNextStep:!0}),3),h=b[0],d=b[1],v=b[2],g=this.formatDateForStep(a,d,l,{labels:u,labelsType:c,nowLabel:s,now:o,future:f,round:m})||"";return r.getTimeToNextUpdate?[g,it(a,d,{nextStep:v,prevStep:h,now:o,future:f,round:m})]:g}},{key:"formatDateForStep",value:function(t,e,r,n){var o=this,a=n.labels,i=n.labelsType,u=n.nowLabel,c=n.now,l=n.future,f=n.round;if(e){if(e.format)return e.format(t,this.locale,{formatAs:function(t,e){return o.formatValue(e,t,{labels:a,future:l})},now:c,future:l});var s=e.unit||e.formatAs;if(!s)throw new Error("[javascript-time-ago] Each step must define either `formatAs` or `format()`. Step: ".concat(JSON.stringify(e)));if("now"===s)return u;var p=Math.abs(r)/G(e);e.granularity&&(p=H(f)(p/e.granularity)*e.granularity);var y=-1*Math.sign(r)*H(f)(p);switch(0===y&&(y=l?0:-0),i){case"long":case"short":case"narrow":return this.getFormatter(i).format(y,s);default:return this.formatValue(y,s,{labels:a,future:l})}}}},{key:"formatValue",value:function(t,e,r){var n=r.labels,o=r.future;return this.getFormattingRule(n,e,t,{future:o}).replace("{0}",this.formatNumber(Math.abs(t)))}},{key:"getFormattingRule",value:function(t,e,r,n){var o=n.future;if(this.locale,"string"==typeof(t=t[e]))return t;var a=t[0===r?o?"future":"past":r<0?"past":"future"]||t;return"string"==typeof a?a:a[this.getPluralRules().select(Math.abs(r))]||a.other}},{key:"formatNumber",value:function(t){return this.numberFormat?this.numberFormat.format(t):String(t)}},{key:"getFormatter",value:function(t){return this.relativeTimeFormatCache.get(this.locale,t)||this.relativeTimeFormatCache.put(this.locale,t,new this.IntlRelativeTimeFormat(this.locale,{style:t}))}},{key:"getPluralRules",value:function(){return this.pluralRulesCache.get(this.locale)||this.pluralRulesCache.put(this.locale,new this.IntlPluralRules(this.locale))}},{key:"getLabels",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];"string"==typeof t&&(t=[t]),t=(t=t.map((function(t){switch(t){case"tiny":case"mini-time":return"mini";default:return t}}))).concat("long");for(var e,r=ct(this.locale),n=ee(t);!(e=n()).done;){var o=e.value;if(r[o])return{labelsType:o,labels:r[o]}}}}])&&ie(e.prototype,r),n&&ie(e,n),Object.defineProperty(e,"prototype",{writable:!1}),t}(),le="en";return ce.getDefaultLocale=function(){return le},ce.setDefaultLocale=function(t){return le=t},ce.addDefaultLocale=function(t){if(ue)return console.error("[javascript-time-ago] `TimeAgo.addDefaultLocale()` can only be called once. To add other locales, use `TimeAgo.addLocale()`.");ue=!0,ce.setDefaultLocale(t.locale),ce.addLocale(t)},ce.addLocale=function(t){lt(t),A.addLocale(t)},ce.locale=ce.addLocale,ce.addLabels=function(t,e,r){var n=ct(t);n||(lt({locale:t}),n=ct(t)),n[e]=r},ce}));
|
|
2
2
|
//# sourceMappingURL=javascript-time-ago.js.map
|