@formatjs/intl-pluralrules 1.5.0 → 1.5.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (183) hide show
  1. package/CHANGELOG.md +32 -0
  2. package/dist/locale-data/af.js +1 -1
  3. package/dist/locale-data/ak.js +1 -2
  4. package/dist/locale-data/am.js +1 -1
  5. package/dist/locale-data/ar.js +7 -8
  6. package/dist/locale-data/as.js +6 -8
  7. package/dist/locale-data/asa.js +1 -1
  8. package/dist/locale-data/ast.js +1 -1
  9. package/dist/locale-data/az.js +6 -13
  10. package/dist/locale-data/be.js +6 -10
  11. package/dist/locale-data/bem.js +1 -1
  12. package/dist/locale-data/bez.js +1 -1
  13. package/dist/locale-data/bg.js +1 -1
  14. package/dist/locale-data/bm.js +0 -1
  15. package/dist/locale-data/bn.js +6 -8
  16. package/dist/locale-data/bo.js +0 -1
  17. package/dist/locale-data/br.js +6 -10
  18. package/dist/locale-data/brx.js +1 -1
  19. package/dist/locale-data/bs.js +4 -8
  20. package/dist/locale-data/ca.js +5 -6
  21. package/dist/locale-data/ce.js +1 -1
  22. package/dist/locale-data/ceb.js +2 -5
  23. package/dist/locale-data/cgg.js +1 -1
  24. package/dist/locale-data/chr.js +1 -1
  25. package/dist/locale-data/ckb.js +1 -1
  26. package/dist/locale-data/cs.js +4 -4
  27. package/dist/locale-data/cy.js +12 -15
  28. package/dist/locale-data/da.js +1 -2
  29. package/dist/locale-data/de.js +1 -1
  30. package/dist/locale-data/dsb.js +5 -9
  31. package/dist/locale-data/dz.js +0 -1
  32. package/dist/locale-data/ee.js +1 -1
  33. package/dist/locale-data/el.js +1 -1
  34. package/dist/locale-data/en.js +6 -7
  35. package/dist/locale-data/eo.js +1 -1
  36. package/dist/locale-data/es.js +1 -1
  37. package/dist/locale-data/et.js +1 -1
  38. package/dist/locale-data/eu.js +1 -1
  39. package/dist/locale-data/fa.js +1 -1
  40. package/dist/locale-data/ff.js +1 -1
  41. package/dist/locale-data/fi.js +1 -1
  42. package/dist/locale-data/fil.js +3 -6
  43. package/dist/locale-data/fo.js +1 -1
  44. package/dist/locale-data/fr.js +2 -2
  45. package/dist/locale-data/fur.js +1 -1
  46. package/dist/locale-data/fy.js +1 -1
  47. package/dist/locale-data/ga.js +6 -6
  48. package/dist/locale-data/gd.js +8 -14
  49. package/dist/locale-data/gl.js +1 -1
  50. package/dist/locale-data/gsw.js +1 -1
  51. package/dist/locale-data/gu.js +6 -7
  52. package/dist/locale-data/gv.js +6 -8
  53. package/dist/locale-data/ha.js +1 -1
  54. package/dist/locale-data/haw.js +1 -1
  55. package/dist/locale-data/he.js +5 -7
  56. package/dist/locale-data/hi.js +6 -7
  57. package/dist/locale-data/hr.js +4 -8
  58. package/dist/locale-data/hsb.js +5 -9
  59. package/dist/locale-data/hu.js +2 -3
  60. package/dist/locale-data/hy.js +2 -2
  61. package/dist/locale-data/ia.js +1 -1
  62. package/dist/locale-data/id.js +0 -1
  63. package/dist/locale-data/ig.js +0 -1
  64. package/dist/locale-data/ii.js +0 -1
  65. package/dist/locale-data/is.js +2 -4
  66. package/dist/locale-data/it.js +2 -3
  67. package/dist/locale-data/ja.js +0 -1
  68. package/dist/locale-data/jgo.js +1 -1
  69. package/dist/locale-data/jmc.js +1 -1
  70. package/dist/locale-data/jv.js +0 -1
  71. package/dist/locale-data/ka.js +4 -5
  72. package/dist/locale-data/kab.js +1 -1
  73. package/dist/locale-data/kde.js +0 -1
  74. package/dist/locale-data/kea.js +0 -1
  75. package/dist/locale-data/kk.js +3 -5
  76. package/dist/locale-data/kkj.js +1 -1
  77. package/dist/locale-data/kl.js +1 -1
  78. package/dist/locale-data/km.js +0 -1
  79. package/dist/locale-data/kn.js +1 -1
  80. package/dist/locale-data/ko.js +0 -1
  81. package/dist/locale-data/ks.js +1 -1
  82. package/dist/locale-data/ksb.js +1 -1
  83. package/dist/locale-data/ksh.js +3 -3
  84. package/dist/locale-data/ku.js +1 -1
  85. package/dist/locale-data/kw.js +10 -21
  86. package/dist/locale-data/ky.js +1 -1
  87. package/dist/locale-data/lag.js +3 -4
  88. package/dist/locale-data/lb.js +1 -1
  89. package/dist/locale-data/lg.js +1 -1
  90. package/dist/locale-data/lkt.js +0 -1
  91. package/dist/locale-data/ln.js +1 -2
  92. package/dist/locale-data/lo.js +1 -1
  93. package/dist/locale-data/lt.js +5 -8
  94. package/dist/locale-data/lv.js +4 -8
  95. package/dist/locale-data/mas.js +1 -1
  96. package/dist/locale-data/mg.js +1 -2
  97. package/dist/locale-data/mgo.js +1 -1
  98. package/dist/locale-data/mk.js +6 -9
  99. package/dist/locale-data/ml.js +1 -1
  100. package/dist/locale-data/mn.js +1 -1
  101. package/dist/locale-data/mr.js +5 -6
  102. package/dist/locale-data/ms.js +1 -1
  103. package/dist/locale-data/mt.js +5 -7
  104. package/dist/locale-data/my.js +0 -1
  105. package/dist/locale-data/naq.js +3 -3
  106. package/dist/locale-data/nb.js +1 -1
  107. package/dist/locale-data/nd.js +1 -1
  108. package/dist/locale-data/ne.js +2 -2
  109. package/dist/locale-data/nl.js +1 -1
  110. package/dist/locale-data/nn.js +1 -1
  111. package/dist/locale-data/nnh.js +1 -1
  112. package/dist/locale-data/nyn.js +1 -1
  113. package/dist/locale-data/om.js +1 -1
  114. package/dist/locale-data/or.js +6 -8
  115. package/dist/locale-data/os.js +1 -1
  116. package/dist/locale-data/pa.js +1 -2
  117. package/dist/locale-data/pl.js +5 -9
  118. package/dist/locale-data/prg.js +4 -8
  119. package/dist/locale-data/ps.js +1 -1
  120. package/dist/locale-data/pt.js +1 -2
  121. package/dist/locale-data/rm.js +1 -1
  122. package/dist/locale-data/ro.js +5 -7
  123. package/dist/locale-data/rof.js +1 -1
  124. package/dist/locale-data/root.js +0 -1
  125. package/dist/locale-data/ru.js +5 -8
  126. package/dist/locale-data/rwk.js +1 -1
  127. package/dist/locale-data/sah.js +0 -1
  128. package/dist/locale-data/saq.js +1 -1
  129. package/dist/locale-data/sd.js +1 -1
  130. package/dist/locale-data/se.js +3 -3
  131. package/dist/locale-data/seh.js +1 -1
  132. package/dist/locale-data/ses.js +0 -1
  133. package/dist/locale-data/sg.js +0 -1
  134. package/dist/locale-data/shi.js +3 -3
  135. package/dist/locale-data/si.js +1 -2
  136. package/dist/locale-data/sk.js +4 -4
  137. package/dist/locale-data/sl.js +4 -5
  138. package/dist/locale-data/smn.js +3 -3
  139. package/dist/locale-data/sn.js +1 -1
  140. package/dist/locale-data/so.js +1 -1
  141. package/dist/locale-data/sq.js +5 -6
  142. package/dist/locale-data/sr.js +4 -8
  143. package/dist/locale-data/sv.js +3 -5
  144. package/dist/locale-data/sw.js +1 -1
  145. package/dist/locale-data/ta.js +1 -1
  146. package/dist/locale-data/te.js +1 -1
  147. package/dist/locale-data/teo.js +1 -1
  148. package/dist/locale-data/th.js +0 -1
  149. package/dist/locale-data/ti.js +1 -2
  150. package/dist/locale-data/tk.js +3 -5
  151. package/dist/locale-data/to.js +0 -1
  152. package/dist/locale-data/tr.js +1 -1
  153. package/dist/locale-data/tzm.js +1 -2
  154. package/dist/locale-data/ug.js +1 -1
  155. package/dist/locale-data/uk.js +6 -10
  156. package/dist/locale-data/ur.js +1 -1
  157. package/dist/locale-data/uz.js +1 -1
  158. package/dist/locale-data/vi.js +1 -1
  159. package/dist/locale-data/vo.js +1 -1
  160. package/dist/locale-data/vun.js +1 -1
  161. package/dist/locale-data/wae.js +1 -1
  162. package/dist/locale-data/wo.js +0 -1
  163. package/dist/locale-data/xh.js +1 -1
  164. package/dist/locale-data/xog.js +1 -1
  165. package/dist/locale-data/yi.js +1 -1
  166. package/dist/locale-data/yo.js +0 -1
  167. package/dist/locale-data/yue.js +0 -1
  168. package/dist/locale-data/zh.js +0 -1
  169. package/dist/locale-data/zu.js +1 -1
  170. package/dist/polyfill-with-locales-for-test262.min.js +371 -511
  171. package/dist/polyfill-with-locales-for-test262.min.js.map +1 -1
  172. package/dist/umd/intl-pluralrules.js +16 -3
  173. package/dist/umd/intl-pluralrules.js.map +1 -1
  174. package/dist/umd/intl-pluralrules.min.js +1 -1
  175. package/dist/umd/intl-pluralrules.min.js.map +1 -1
  176. package/dist/umd/polyfill-with-locales.js +371 -511
  177. package/dist/umd/polyfill-with-locales.js.map +1 -1
  178. package/dist/umd/polyfill.js +16 -3
  179. package/dist/umd/polyfill.js.map +1 -1
  180. package/dist-es6/polyfill-locales.js +355 -508
  181. package/lib/tsdoc-metadata.json +1 -1
  182. package/package.json +4 -4
  183. package/polyfill-locales.js +355 -508
@@ -4,9 +4,9 @@ if (Intl.PluralRules && typeof Intl.PluralRules.__addLocaleData === 'function')
4
4
  Intl.PluralRules.__addLocaleData({"data":{"sk":{"categories":{"cardinal":["one","few","many","other"],"ordinal":["other"]},"fn":function(n, ord) {
5
5
  var s = String(n).split('.'), i = s[0], v0 = !s[1];
6
6
  if (ord) return 'other';
7
- return (n == 1 && v0) ? 'one'
8
- : ((i >= 2 && i <= 4) && v0) ? 'few'
9
- : (!v0) ? 'many'
10
- : 'other';
7
+ return n == 1 && v0 ? 'one'
8
+ : (i >= 2 && i <= 4) && v0 ? 'few'
9
+ : !v0 ? 'many'
10
+ : 'other';
11
11
  }}},"aliases":{},"parentLocales":{},"availableLocales":["sk"]})
12
12
  }
@@ -4,10 +4,9 @@ if (Intl.PluralRules && typeof Intl.PluralRules.__addLocaleData === 'function')
4
4
  Intl.PluralRules.__addLocaleData({"data":{"sl":{"categories":{"cardinal":["one","two","few","other"],"ordinal":["other"]},"fn":function(n, ord) {
5
5
  var s = String(n).split('.'), i = s[0], v0 = !s[1], i100 = i.slice(-2);
6
6
  if (ord) return 'other';
7
- return (v0 && i100 == 1) ? 'one'
8
- : (v0 && i100 == 2) ? 'two'
9
- : (v0 && (i100 == 3 || i100 == 4)
10
- || !v0) ? 'few'
11
- : 'other';
7
+ return v0 && i100 == 1 ? 'one'
8
+ : v0 && i100 == 2 ? 'two'
9
+ : v0 && (i100 == 3 || i100 == 4) || !v0 ? 'few'
10
+ : 'other';
12
11
  }}},"aliases":{},"parentLocales":{},"availableLocales":["sl"]})
13
12
  }
@@ -3,8 +3,8 @@
3
3
  if (Intl.PluralRules && typeof Intl.PluralRules.__addLocaleData === 'function') {
4
4
  Intl.PluralRules.__addLocaleData({"data":{"smn":{"categories":{"cardinal":["one","two","other"],"ordinal":["other"]},"fn":function(n, ord) {
5
5
  if (ord) return 'other';
6
- return (n == 1) ? 'one'
7
- : (n == 2) ? 'two'
8
- : 'other';
6
+ return n == 1 ? 'one'
7
+ : n == 2 ? 'two'
8
+ : 'other';
9
9
  }}},"aliases":{},"parentLocales":{},"availableLocales":["smn"]})
10
10
  }
@@ -3,6 +3,6 @@
3
3
  if (Intl.PluralRules && typeof Intl.PluralRules.__addLocaleData === 'function') {
4
4
  Intl.PluralRules.__addLocaleData({"data":{"sn":{"categories":{"cardinal":["one","other"],"ordinal":["other"]},"fn":function(n, ord) {
5
5
  if (ord) return 'other';
6
- return (n == 1) ? 'one' : 'other';
6
+ return n == 1 ? 'one' : 'other';
7
7
  }}},"aliases":{},"parentLocales":{},"availableLocales":["sn"]})
8
8
  }
@@ -3,6 +3,6 @@
3
3
  if (Intl.PluralRules && typeof Intl.PluralRules.__addLocaleData === 'function') {
4
4
  Intl.PluralRules.__addLocaleData({"data":{"so":{"categories":{"cardinal":["one","other"],"ordinal":["other"]},"fn":function(n, ord) {
5
5
  if (ord) return 'other';
6
- return (n == 1) ? 'one' : 'other';
6
+ return n == 1 ? 'one' : 'other';
7
7
  }}},"aliases":{},"parentLocales":{},"availableLocales":["so"]})
8
8
  }
@@ -2,11 +2,10 @@
2
2
  // prettier-ignore
3
3
  if (Intl.PluralRules && typeof Intl.PluralRules.__addLocaleData === 'function') {
4
4
  Intl.PluralRules.__addLocaleData({"data":{"sq":{"categories":{"cardinal":["one","other"],"ordinal":["one","many","other"]},"fn":function(n, ord) {
5
- var s = String(n).split('.'), t0 = Number(s[0]) == n,
6
- n10 = t0 && s[0].slice(-1), n100 = t0 && s[0].slice(-2);
7
- if (ord) return (n == 1) ? 'one'
8
- : (n10 == 4 && n100 != 14) ? 'many'
9
- : 'other';
10
- return (n == 1) ? 'one' : 'other';
5
+ var s = String(n).split('.'), t0 = Number(s[0]) == n, n10 = t0 && s[0].slice(-1), n100 = t0 && s[0].slice(-2);
6
+ if (ord) return n == 1 ? 'one'
7
+ : n10 == 4 && n100 != 14 ? 'many'
8
+ : 'other';
9
+ return n == 1 ? 'one' : 'other';
11
10
  }}},"aliases":{},"parentLocales":{},"availableLocales":["sq"]})
12
11
  }
@@ -2,14 +2,10 @@
2
2
  // prettier-ignore
3
3
  if (Intl.PluralRules && typeof Intl.PluralRules.__addLocaleData === 'function') {
4
4
  Intl.PluralRules.__addLocaleData({"data":{"sr":{"categories":{"cardinal":["one","few","other"],"ordinal":["other"]},"fn":function(n, ord) {
5
- var s = String(n).split('.'), i = s[0], f = s[1] || '', v0 = !s[1],
6
- i10 = i.slice(-1), i100 = i.slice(-2), f10 = f.slice(-1), f100 = f.slice(-2);
5
+ var s = String(n).split('.'), i = s[0], f = s[1] || '', v0 = !s[1], i10 = i.slice(-1), i100 = i.slice(-2), f10 = f.slice(-1), f100 = f.slice(-2);
7
6
  if (ord) return 'other';
8
- return (v0 && i10 == 1 && i100 != 11
9
- || f10 == 1 && f100 != 11) ? 'one'
10
- : (v0 && (i10 >= 2 && i10 <= 4) && (i100 < 12 || i100 > 14)
11
- || (f10 >= 2 && f10 <= 4) && (f100 < 12
12
- || f100 > 14)) ? 'few'
13
- : 'other';
7
+ return v0 && i10 == 1 && i100 != 11 || f10 == 1 && f100 != 11 ? 'one'
8
+ : v0 && (i10 >= 2 && i10 <= 4) && (i100 < 12 || i100 > 14) || (f10 >= 2 && f10 <= 4) && (f100 < 12 || f100 > 14) ? 'few'
9
+ : 'other';
14
10
  }}},"aliases":{"sr-BA":"sr-Cyrl-BA","sr-ME":"sr-Latn-ME","sr-RS":"sr-Cyrl-RS","sr-XK":"sr-Cyrl-XK"},"parentLocales":{},"availableLocales":["sr"]})
15
11
  }
@@ -2,10 +2,8 @@
2
2
  // prettier-ignore
3
3
  if (Intl.PluralRules && typeof Intl.PluralRules.__addLocaleData === 'function') {
4
4
  Intl.PluralRules.__addLocaleData({"data":{"sv":{"categories":{"cardinal":["one","other"],"ordinal":["one","other"]},"fn":function(n, ord) {
5
- var s = String(n).split('.'), v0 = !s[1], t0 = Number(s[0]) == n,
6
- n10 = t0 && s[0].slice(-1), n100 = t0 && s[0].slice(-2);
7
- if (ord) return ((n10 == 1
8
- || n10 == 2) && n100 != 11 && n100 != 12) ? 'one' : 'other';
9
- return (n == 1 && v0) ? 'one' : 'other';
5
+ var s = String(n).split('.'), v0 = !s[1], t0 = Number(s[0]) == n, n10 = t0 && s[0].slice(-1), n100 = t0 && s[0].slice(-2);
6
+ if (ord) return (n10 == 1 || n10 == 2) && n100 != 11 && n100 != 12 ? 'one' : 'other';
7
+ return n == 1 && v0 ? 'one' : 'other';
10
8
  }}},"aliases":{},"parentLocales":{},"availableLocales":["sv"]})
11
9
  }
@@ -4,6 +4,6 @@ if (Intl.PluralRules && typeof Intl.PluralRules.__addLocaleData === 'function')
4
4
  Intl.PluralRules.__addLocaleData({"data":{"sw":{"categories":{"cardinal":["one","other"],"ordinal":["other"]},"fn":function(n, ord) {
5
5
  var s = String(n).split('.'), v0 = !s[1];
6
6
  if (ord) return 'other';
7
- return (n == 1 && v0) ? 'one' : 'other';
7
+ return n == 1 && v0 ? 'one' : 'other';
8
8
  }}},"aliases":{},"parentLocales":{},"availableLocales":["sw"]})
9
9
  }
@@ -3,6 +3,6 @@
3
3
  if (Intl.PluralRules && typeof Intl.PluralRules.__addLocaleData === 'function') {
4
4
  Intl.PluralRules.__addLocaleData({"data":{"ta":{"categories":{"cardinal":["one","other"],"ordinal":["other"]},"fn":function(n, ord) {
5
5
  if (ord) return 'other';
6
- return (n == 1) ? 'one' : 'other';
6
+ return n == 1 ? 'one' : 'other';
7
7
  }}},"aliases":{},"parentLocales":{},"availableLocales":["ta"]})
8
8
  }
@@ -3,6 +3,6 @@
3
3
  if (Intl.PluralRules && typeof Intl.PluralRules.__addLocaleData === 'function') {
4
4
  Intl.PluralRules.__addLocaleData({"data":{"te":{"categories":{"cardinal":["one","other"],"ordinal":["other"]},"fn":function(n, ord) {
5
5
  if (ord) return 'other';
6
- return (n == 1) ? 'one' : 'other';
6
+ return n == 1 ? 'one' : 'other';
7
7
  }}},"aliases":{},"parentLocales":{},"availableLocales":["te"]})
8
8
  }
@@ -3,6 +3,6 @@
3
3
  if (Intl.PluralRules && typeof Intl.PluralRules.__addLocaleData === 'function') {
4
4
  Intl.PluralRules.__addLocaleData({"data":{"teo":{"categories":{"cardinal":["one","other"],"ordinal":["other"]},"fn":function(n, ord) {
5
5
  if (ord) return 'other';
6
- return (n == 1) ? 'one' : 'other';
6
+ return n == 1 ? 'one' : 'other';
7
7
  }}},"aliases":{},"parentLocales":{},"availableLocales":["teo"]})
8
8
  }
@@ -2,7 +2,6 @@
2
2
  // prettier-ignore
3
3
  if (Intl.PluralRules && typeof Intl.PluralRules.__addLocaleData === 'function') {
4
4
  Intl.PluralRules.__addLocaleData({"data":{"th":{"categories":{"cardinal":["other"],"ordinal":["other"]},"fn":function(n, ord) {
5
- if (ord) return 'other';
6
5
  return 'other';
7
6
  }}},"aliases":{},"parentLocales":{},"availableLocales":["th"]})
8
7
  }
@@ -3,7 +3,6 @@
3
3
  if (Intl.PluralRules && typeof Intl.PluralRules.__addLocaleData === 'function') {
4
4
  Intl.PluralRules.__addLocaleData({"data":{"ti":{"categories":{"cardinal":["one","other"],"ordinal":["other"]},"fn":function(n, ord) {
5
5
  if (ord) return 'other';
6
- return ((n == 0
7
- || n == 1)) ? 'one' : 'other';
6
+ return (n == 0 || n == 1) ? 'one' : 'other';
8
7
  }}},"aliases":{},"parentLocales":{},"availableLocales":["ti"]})
9
8
  }
@@ -2,10 +2,8 @@
2
2
  // prettier-ignore
3
3
  if (Intl.PluralRules && typeof Intl.PluralRules.__addLocaleData === 'function') {
4
4
  Intl.PluralRules.__addLocaleData({"data":{"tk":{"categories":{"cardinal":["one","other"],"ordinal":["few","other"]},"fn":function(n, ord) {
5
- var s = String(n).split('.'), t0 = Number(s[0]) == n,
6
- n10 = t0 && s[0].slice(-1);
7
- if (ord) return ((n10 == 6 || n10 == 9)
8
- || n == 10) ? 'few' : 'other';
9
- return (n == 1) ? 'one' : 'other';
5
+ var s = String(n).split('.'), t0 = Number(s[0]) == n, n10 = t0 && s[0].slice(-1);
6
+ if (ord) return (n10 == 6 || n10 == 9) || n == 10 ? 'few' : 'other';
7
+ return n == 1 ? 'one' : 'other';
10
8
  }}},"aliases":{},"parentLocales":{},"availableLocales":["tk"]})
11
9
  }
@@ -2,7 +2,6 @@
2
2
  // prettier-ignore
3
3
  if (Intl.PluralRules && typeof Intl.PluralRules.__addLocaleData === 'function') {
4
4
  Intl.PluralRules.__addLocaleData({"data":{"to":{"categories":{"cardinal":["other"],"ordinal":["other"]},"fn":function(n, ord) {
5
- if (ord) return 'other';
6
5
  return 'other';
7
6
  }}},"aliases":{},"parentLocales":{},"availableLocales":["to"]})
8
7
  }
@@ -3,6 +3,6 @@
3
3
  if (Intl.PluralRules && typeof Intl.PluralRules.__addLocaleData === 'function') {
4
4
  Intl.PluralRules.__addLocaleData({"data":{"tr":{"categories":{"cardinal":["one","other"],"ordinal":["other"]},"fn":function(n, ord) {
5
5
  if (ord) return 'other';
6
- return (n == 1) ? 'one' : 'other';
6
+ return n == 1 ? 'one' : 'other';
7
7
  }}},"aliases":{},"parentLocales":{},"availableLocales":["tr"]})
8
8
  }
@@ -4,7 +4,6 @@ if (Intl.PluralRules && typeof Intl.PluralRules.__addLocaleData === 'function')
4
4
  Intl.PluralRules.__addLocaleData({"data":{"tzm":{"categories":{"cardinal":["one","other"],"ordinal":["other"]},"fn":function(n, ord) {
5
5
  var s = String(n).split('.'), t0 = Number(s[0]) == n;
6
6
  if (ord) return 'other';
7
- return ((n == 0 || n == 1)
8
- || (t0 && n >= 11 && n <= 99)) ? 'one' : 'other';
7
+ return (n == 0 || n == 1) || (t0 && n >= 11 && n <= 99) ? 'one' : 'other';
9
8
  }}},"aliases":{"tzm-Latn-MA":"tzm-MA"},"parentLocales":{},"availableLocales":["tzm"]})
10
9
  }
@@ -3,6 +3,6 @@
3
3
  if (Intl.PluralRules && typeof Intl.PluralRules.__addLocaleData === 'function') {
4
4
  Intl.PluralRules.__addLocaleData({"data":{"ug":{"categories":{"cardinal":["one","other"],"ordinal":["other"]},"fn":function(n, ord) {
5
5
  if (ord) return 'other';
6
- return (n == 1) ? 'one' : 'other';
6
+ return n == 1 ? 'one' : 'other';
7
7
  }}},"aliases":{"ug-Arab-CN":"ug-CN"},"parentLocales":{},"availableLocales":["ug"]})
8
8
  }
@@ -2,15 +2,11 @@
2
2
  // prettier-ignore
3
3
  if (Intl.PluralRules && typeof Intl.PluralRules.__addLocaleData === 'function') {
4
4
  Intl.PluralRules.__addLocaleData({"data":{"uk":{"categories":{"cardinal":["one","few","many","other"],"ordinal":["few","other"]},"fn":function(n, ord) {
5
- var s = String(n).split('.'), i = s[0], v0 = !s[1], t0 = Number(s[0]) == n,
6
- n10 = t0 && s[0].slice(-1), n100 = t0 && s[0].slice(-2), i10 = i.slice(-1),
7
- i100 = i.slice(-2);
8
- if (ord) return (n10 == 3 && n100 != 13) ? 'few' : 'other';
9
- return (v0 && i10 == 1 && i100 != 11) ? 'one'
10
- : (v0 && (i10 >= 2 && i10 <= 4) && (i100 < 12
11
- || i100 > 14)) ? 'few'
12
- : (v0 && i10 == 0 || v0 && (i10 >= 5 && i10 <= 9)
13
- || v0 && (i100 >= 11 && i100 <= 14)) ? 'many'
14
- : 'other';
5
+ var s = String(n).split('.'), i = s[0], v0 = !s[1], t0 = Number(s[0]) == n, n10 = t0 && s[0].slice(-1), n100 = t0 && s[0].slice(-2), i10 = i.slice(-1), i100 = i.slice(-2);
6
+ if (ord) return n10 == 3 && n100 != 13 ? 'few' : 'other';
7
+ return v0 && i10 == 1 && i100 != 11 ? 'one'
8
+ : v0 && (i10 >= 2 && i10 <= 4) && (i100 < 12 || i100 > 14) ? 'few'
9
+ : v0 && i10 == 0 || v0 && (i10 >= 5 && i10 <= 9) || v0 && (i100 >= 11 && i100 <= 14) ? 'many'
10
+ : 'other';
15
11
  }}},"aliases":{},"parentLocales":{},"availableLocales":["uk"]})
16
12
  }
@@ -4,6 +4,6 @@ if (Intl.PluralRules && typeof Intl.PluralRules.__addLocaleData === 'function')
4
4
  Intl.PluralRules.__addLocaleData({"data":{"ur":{"categories":{"cardinal":["one","other"],"ordinal":["other"]},"fn":function(n, ord) {
5
5
  var s = String(n).split('.'), v0 = !s[1];
6
6
  if (ord) return 'other';
7
- return (n == 1 && v0) ? 'one' : 'other';
7
+ return n == 1 && v0 ? 'one' : 'other';
8
8
  }}},"aliases":{},"parentLocales":{},"availableLocales":["ur"]})
9
9
  }
@@ -3,6 +3,6 @@
3
3
  if (Intl.PluralRules && typeof Intl.PluralRules.__addLocaleData === 'function') {
4
4
  Intl.PluralRules.__addLocaleData({"data":{"uz":{"categories":{"cardinal":["one","other"],"ordinal":["other"]},"fn":function(n, ord) {
5
5
  if (ord) return 'other';
6
- return (n == 1) ? 'one' : 'other';
6
+ return n == 1 ? 'one' : 'other';
7
7
  }}},"aliases":{"uz-AF":"uz-Arab-AF","uz-UZ":"uz-Latn-UZ"},"parentLocales":{},"availableLocales":["uz"]})
8
8
  }
@@ -2,7 +2,7 @@
2
2
  // prettier-ignore
3
3
  if (Intl.PluralRules && typeof Intl.PluralRules.__addLocaleData === 'function') {
4
4
  Intl.PluralRules.__addLocaleData({"data":{"vi":{"categories":{"cardinal":["other"],"ordinal":["one","other"]},"fn":function(n, ord) {
5
- if (ord) return (n == 1) ? 'one' : 'other';
5
+ if (ord) return n == 1 ? 'one' : 'other';
6
6
  return 'other';
7
7
  }}},"aliases":{},"parentLocales":{},"availableLocales":["vi"]})
8
8
  }
@@ -3,6 +3,6 @@
3
3
  if (Intl.PluralRules && typeof Intl.PluralRules.__addLocaleData === 'function') {
4
4
  Intl.PluralRules.__addLocaleData({"data":{"vo":{"categories":{"cardinal":["one","other"],"ordinal":["other"]},"fn":function(n, ord) {
5
5
  if (ord) return 'other';
6
- return (n == 1) ? 'one' : 'other';
6
+ return n == 1 ? 'one' : 'other';
7
7
  }}},"aliases":{},"parentLocales":{},"availableLocales":["vo"]})
8
8
  }
@@ -3,6 +3,6 @@
3
3
  if (Intl.PluralRules && typeof Intl.PluralRules.__addLocaleData === 'function') {
4
4
  Intl.PluralRules.__addLocaleData({"data":{"vun":{"categories":{"cardinal":["one","other"],"ordinal":["other"]},"fn":function(n, ord) {
5
5
  if (ord) return 'other';
6
- return (n == 1) ? 'one' : 'other';
6
+ return n == 1 ? 'one' : 'other';
7
7
  }}},"aliases":{},"parentLocales":{},"availableLocales":["vun"]})
8
8
  }
@@ -3,6 +3,6 @@
3
3
  if (Intl.PluralRules && typeof Intl.PluralRules.__addLocaleData === 'function') {
4
4
  Intl.PluralRules.__addLocaleData({"data":{"wae":{"categories":{"cardinal":["one","other"],"ordinal":["other"]},"fn":function(n, ord) {
5
5
  if (ord) return 'other';
6
- return (n == 1) ? 'one' : 'other';
6
+ return n == 1 ? 'one' : 'other';
7
7
  }}},"aliases":{},"parentLocales":{},"availableLocales":["wae"]})
8
8
  }
@@ -2,7 +2,6 @@
2
2
  // prettier-ignore
3
3
  if (Intl.PluralRules && typeof Intl.PluralRules.__addLocaleData === 'function') {
4
4
  Intl.PluralRules.__addLocaleData({"data":{"wo":{"categories":{"cardinal":["other"],"ordinal":["other"]},"fn":function(n, ord) {
5
- if (ord) return 'other';
6
5
  return 'other';
7
6
  }}},"aliases":{},"parentLocales":{},"availableLocales":["wo"]})
8
7
  }
@@ -3,6 +3,6 @@
3
3
  if (Intl.PluralRules && typeof Intl.PluralRules.__addLocaleData === 'function') {
4
4
  Intl.PluralRules.__addLocaleData({"data":{"xh":{"categories":{"cardinal":["one","other"],"ordinal":["other"]},"fn":function(n, ord) {
5
5
  if (ord) return 'other';
6
- return (n == 1) ? 'one' : 'other';
6
+ return n == 1 ? 'one' : 'other';
7
7
  }}},"aliases":{},"parentLocales":{},"availableLocales":["xh"]})
8
8
  }
@@ -3,6 +3,6 @@
3
3
  if (Intl.PluralRules && typeof Intl.PluralRules.__addLocaleData === 'function') {
4
4
  Intl.PluralRules.__addLocaleData({"data":{"xog":{"categories":{"cardinal":["one","other"],"ordinal":["other"]},"fn":function(n, ord) {
5
5
  if (ord) return 'other';
6
- return (n == 1) ? 'one' : 'other';
6
+ return n == 1 ? 'one' : 'other';
7
7
  }}},"aliases":{},"parentLocales":{},"availableLocales":["xog"]})
8
8
  }
@@ -4,6 +4,6 @@ if (Intl.PluralRules && typeof Intl.PluralRules.__addLocaleData === 'function')
4
4
  Intl.PluralRules.__addLocaleData({"data":{"yi":{"categories":{"cardinal":["one","other"],"ordinal":["other"]},"fn":function(n, ord) {
5
5
  var s = String(n).split('.'), v0 = !s[1];
6
6
  if (ord) return 'other';
7
- return (n == 1 && v0) ? 'one' : 'other';
7
+ return n == 1 && v0 ? 'one' : 'other';
8
8
  }}},"aliases":{},"parentLocales":{},"availableLocales":["yi"]})
9
9
  }
@@ -2,7 +2,6 @@
2
2
  // prettier-ignore
3
3
  if (Intl.PluralRules && typeof Intl.PluralRules.__addLocaleData === 'function') {
4
4
  Intl.PluralRules.__addLocaleData({"data":{"yo":{"categories":{"cardinal":["other"],"ordinal":["other"]},"fn":function(n, ord) {
5
- if (ord) return 'other';
6
5
  return 'other';
7
6
  }}},"aliases":{},"parentLocales":{},"availableLocales":["yo"]})
8
7
  }
@@ -2,7 +2,6 @@
2
2
  // prettier-ignore
3
3
  if (Intl.PluralRules && typeof Intl.PluralRules.__addLocaleData === 'function') {
4
4
  Intl.PluralRules.__addLocaleData({"data":{"yue":{"categories":{"cardinal":["other"],"ordinal":["other"]},"fn":function(n, ord) {
5
- if (ord) return 'other';
6
5
  return 'other';
7
6
  }}},"aliases":{"yue-CN":"yue-Hans-CN","yue-HK":"yue-Hant-HK"},"parentLocales":{},"availableLocales":["yue"]})
8
7
  }
@@ -2,7 +2,6 @@
2
2
  // prettier-ignore
3
3
  if (Intl.PluralRules && typeof Intl.PluralRules.__addLocaleData === 'function') {
4
4
  Intl.PluralRules.__addLocaleData({"data":{"zh":{"categories":{"cardinal":["other"],"ordinal":["other"]},"fn":function(n, ord) {
5
- if (ord) return 'other';
6
5
  return 'other';
7
6
  }}},"aliases":{"zh-CN":"zh-Hans-CN","zh-guoyu":"zh","zh-hakka":"hak","zh-HK":"zh-Hant-HK","zh-min-nan":"nan","zh-MO":"zh-Hant-MO","zh-SG":"zh-Hans-SG","zh-TW":"zh-Hant-TW","zh-xiang":"hsn","zh-min":"nan-x-zh-min"},"parentLocales":{"zh-Hant-MO":"zh-Hant-HK"},"availableLocales":["zh"]})
8
7
  }
@@ -3,6 +3,6 @@
3
3
  if (Intl.PluralRules && typeof Intl.PluralRules.__addLocaleData === 'function') {
4
4
  Intl.PluralRules.__addLocaleData({"data":{"zu":{"categories":{"cardinal":["one","other"],"ordinal":["other"]},"fn":function(n, ord) {
5
5
  if (ord) return 'other';
6
- return (n >= 0 && n <= 1) ? 'one' : 'other';
6
+ return n >= 0 && n <= 1 ? 'one' : 'other';
7
7
  }}},"aliases":{},"parentLocales":{},"availableLocales":["zu"]})
8
8
  }