decord/source/module_16548.js

51 lines
1 KiB
JavaScript
Raw Normal View History

2026-08-24 06:08:38 +00:00
// Module ID: 16548
// Function ID: 16549
2026-08-11 06:20:06 +00:00
// Dependencies: []
2026-08-24 06:08:38 +00:00
// Module 16548
2026-08-14 17:33:39 +00:00
arg5.default = {
locale: "en",
2026-08-11 06:20:06 +00:00
pluralRuleFunction(arg0, arg1) {
2026-08-13 17:34:28 +00:00
const parts = String(arg0).split(".");
2026-08-14 17:33:39 +00:00
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) {
if (1 != substr) {
if (2 != substr) {
let str7 = "other";
if (3 == substr) {
str7 = "other";
if (13 != substr1) {
str7 = "few";
2026-08-13 17:34:28 +00:00
}
}
2026-08-14 17:33:39 +00:00
let str5 = str7;
} else {
str5 = "two";
2026-08-13 17:34:28 +00:00
}
2026-08-14 17:33:39 +00:00
let str4 = str5;
2026-08-13 17:34:28 +00:00
} else {
2026-08-14 17:33:39 +00:00
str4 = "one";
}
let str3 = str4;
} else {
str3 = "other";
if (1 == arg0) {
str3 = "other";
if (!parts[1]) {
str3 = "one";
}
2026-08-11 06:20:06 +00:00
}
}
2026-08-14 17:33:39 +00:00
return str3;
2026-08-11 06:20:06 +00:00
}
2026-08-14 17:33:39 +00:00
};