decord/source/module_3657.js
2026-07-20 16:05:17 +00:00

76 lines
10 KiB
JavaScript

// Module ID: 3657
// Function ID: 27960
// Dependencies: []
// Module 3657
const _module = require(dependencyMap[0]);
if (!_module) {
let obj = { default: _module };
} else {
obj = _module;
}
obj = {
ordinalNumber(arg0, unit) {
const NumberResult = Number(arg0);
unit = undefined;
if (null != unit) {
unit = unit.unit;
}
if ("quarter" === unit) {
if (1 === NumberResult) {
return "I";
} else if (2 === NumberResult) {
return "II";
} else if (3 === NumberResult) {
return "III";
} else if (4 === NumberResult) {
return "IV";
}
} else if ("day" === unit) {
if (1 === NumberResult) {
return "th\u1EE9 2";
} else if (2 === NumberResult) {
return "th\u1EE9 3";
} else if (3 === NumberResult) {
return "th\u1EE9 4";
} else if (4 === NumberResult) {
return "th\u1EE9 5";
} else if (5 === NumberResult) {
return "th\u1EE9 6";
} else if (6 === NumberResult) {
return "th\u1EE9 7";
} else if (7 === NumberResult) {
return "ch\u1EE7 nh\u1EADt";
}
} else if ("week" === unit) {
let str5 = "th\u1EE9 nh\u1EA5t";
if (1 !== NumberResult) {
str5 = `thứ ${tmp}`;
}
return str5;
} else if ("dayOfYear" === unit) {
let str4 = "\u0111\u1EA7u ti\u00EAn";
if (1 !== NumberResult) {
str4 = `thứ ${tmp}`;
}
return str4;
}
return String(NumberResult);
}
};
obj.era = obj.default({ values: { narrow: [], abbreviated: [false, false], wide: [] }, defaultWidth: "wide" });
obj.quarter = obj.default({
values: { narrow: [false, false, false, false], abbreviated: ["r", "IMPLICIT", "r", "pako"], wide: [] },
defaultWidth: "wide",
formattingValues: { narrow: [false, false, false, false], abbreviated: ["r", "IMPLICIT", "r", "pako"], wide: [] },
defaultFormattingWidth: "wide",
argumentCallback(arg0) {
return arg0 - 1;
}
});
obj.month = obj.default({ values: { narrow: [], abbreviated: [], wide: [] }, defaultWidth: "wide", formattingValues: { narrow: [null, null, null, null, null, null, null, null, null, null, null, null], abbreviated: [], wide: [-638718396214849200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000, -85280060351126600000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000, -5118535957522741000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000, -16930578403157339000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000, -85492775747961690000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000, -607462710172469440000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000, 0.000000000000000000000000000000000000000000000000000000000000000000000000000000006061779561863479, 15194851285945840000000000000000000000000000000000000000000000000000000000000000000, 409467793182726400000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000, -0.00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000005079531796143573, 0.00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000547672848200242, 0.00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000546161398800942] }, defaultFormattingWidth: "wide" });
obj.day = obj.default({ values: { narrow: [], short: [49391616, -265468160, -398852093, -312147965, -358875133, -441253885, -310116349], abbreviated: [null, null, null, null, null, null, null], wide: [] }, defaultWidth: "wide" });
obj.dayPeriod = obj.default({ values: { narrow: { <string:13107200>: 0.00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000167205344000159, <string:13303808>: 0.000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001672111463712034, <string:13369344>: -693441909171309400000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000, <string:13631488>: -534166726668481600000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000, <string:13893632>: 0.00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000257719049628897, <string:14024704>: 0.00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000651990812488737, <string:14286848>: 0.000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000005407517587171233, <string:14548992>: 0.000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000006521437186572367 }, abbreviated: {}, wide: {} }, defaultWidth: "wide", formattingValues: { narrow: { <string:13107200>: 0.00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000167205344000159, <string:13303808>: 0.000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001672111463712034, <string:13369344>: -693441909171309400000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000, <string:13631488>: -534166726668481600000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000, <string:13893632>: 0.00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000257719049628897, <string:14024704>: 0.00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000651990812488737, <string:14286848>: 0.000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000005407517587171233, <string:14548992>: 0.000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000006521437186572367 }, abbreviated: {}, wide: {} }, defaultFormattingWidth: "wide" });
export default obj;
export default exports.default;