decord/source/module_16069.js

51 lines
1.1 KiB
JavaScript
Raw Normal View History

2026-07-29 08:29:29 +00:00
// Module ID: 16069
// Function ID: 16070
2026-07-21 06:55:02 +00:00
// Dependencies: []
2026-07-29 08:29:29 +00:00
// Module 16069
2026-07-25 08:10:48 +00:00
globalThis.IntlMessageFormat.__addLocaleData({
2026-07-27 11:26:19 +00:00
locale: "hr",
2026-07-21 06:55:02 +00:00
pluralRuleFunction(arg0, arg1) {
2026-07-22 07:54:56 +00:00
const parts = String(arg0).split(".");
2026-07-27 11:26:19 +00:00
const first = parts[0];
const substr = first.slice(-1);
const substr1 = first.slice(-2);
const substr2 = arr2.slice(-1);
const substr3 = arr2.slice(-2);
let str2 = "other";
if (!arg1) {
2026-07-29 08:29:29 +00:00
if (!tmp2) {
2026-07-27 11:26:19 +00:00
if (1 == substr) {
let str3 = "one";
2026-07-22 07:54:56 +00:00
}
2026-07-27 11:26:19 +00:00
str2 = str3;
2026-07-22 07:54:56 +00:00
}
2026-07-27 11:26:19 +00:00
if (1 != substr2) {
2026-07-29 08:29:29 +00:00
if (!tmp2) {
2026-07-27 11:26:19 +00:00
if (substr >= 2) {
if (substr <= 4) {
if (substr1 >= 12) {
str3 = str4;
}
}
str4 = "few";
}
}
str4 = "other";
if (substr2 >= 2) {
str4 = "other";
if (substr2 <= 4) {
if (substr3 >= 12) {
str4 = "other";
}
}
2026-07-21 06:55:02 +00:00
}
2026-07-27 11:26:19 +00:00
} else {
str3 = "one";
2026-07-21 06:55:02 +00:00
}
}
2026-07-27 11:26:19 +00:00
return str2;
2026-07-21 06:55:02 +00:00
}
2026-07-25 08:10:48 +00:00
});
2026-07-27 11:26:19 +00:00
globalThis.IntlMessageFormat.__addLocaleData({ locale: "hr-BA", parentLocale: "hr" });