decord/source/module_16385.js

51 lines
1 KiB
JavaScript
Raw Normal View History

2026-08-13 17:34:28 +00:00
// Module ID: 16385
// Function ID: 16386
2026-08-11 06:20:06 +00:00
// Dependencies: []
2026-08-13 17:34:28 +00:00
// Module 16385
arg5.default = {
locale: "en",
2026-08-13 07:00:46 +00:00
pluralRuleFunction(arg0, arg1) {
const parts = String(arg0).split(".");
let substr1 = Number(parts[0]) == arg0;
let substr = substr1;
if (substr1) {
const first = parts[0];
substr = first.slice(-1);
}
if (substr1) {
const first1 = parts[0];
substr1 = first1.slice(-2);
}
if (arg1) {
2026-08-13 17:34:28 +00:00
if (1 != substr) {
if (2 != substr) {
let str7 = "other";
if (3 == substr) {
str7 = "other";
if (13 != substr1) {
str7 = "few";
}
}
let str5 = str7;
} else {
str5 = "two";
2026-08-13 07:00:46 +00:00
}
2026-08-13 17:34:28 +00:00
let str4 = str5;
} else {
str4 = "one";
2026-08-13 07:00:46 +00:00
}
2026-08-13 17:34:28 +00:00
let str3 = str4;
2026-08-13 07:00:46 +00:00
} else {
str3 = "other";
if (1 == arg0) {
str3 = "other";
if (!parts[1]) {
str3 = "one";
}
}
}
return str3;
}
2026-08-13 17:34:28 +00:00
};