UNPKG

663 BJavaScriptView Raw
1/* @generated */
2// prettier-ignore
3if (Intl.PluralRules && typeof Intl.PluralRules.__addLocaleData === 'function') {
4 Intl.PluralRules.__addLocaleData({"data":{"categories":{"cardinal":["one","many","other"],"ordinal":["many","other"]},"fn":function(n, ord) {
5 var _n = String(n), se = _n.split(/[ce]/), e = se[1] || 0, c = e, s = String(e ? Number(se[0]) * Math.pow(10, e) : _n).split("."), i = s[0], v0 = !s[1], i1000000 = i.slice(-6);
6 if (ord) return (n == 11 || n == 8 || n == 80 || n == 800) ? 'many' : 'other';
7 return n == 1 && v0 ? 'one'
8 : e == 0 && i != 0 && i1000000 == 0 && v0 || (e < 0 || e > 5) ? 'many'
9 : 'other';
10}},"locale":"it"})
11}