decord/source/module_3657.js
2026-07-21 22:01:30 +00:00

76 lines
7.4 KiB
JavaScript

// Module ID: 3657
// Function ID: 27965
// 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: [49751296, 49766656], abbreviated: [null, null], wide: [] }, defaultWidth: "wide" });
obj.quarter = obj.default({
values: { narrow: [null, null, null, null], abbreviated: ["r", "isArray", "Icon", "channel_id"], wide: [false, false, false, false] },
defaultWidth: "wide",
formattingValues: { narrow: [null, null, null, null], abbreviated: ["r", "isArray", "Icon", "channel_id"], wide: [false, false, false, false] },
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: ["formatToPlainString", "it", "bind", "cix", "_desired", "String", "pos", "y", "isArray", "unsafe_rawColors", "useCallback", "r"], wide: [] }, defaultFormattingWidth: "wide" });
obj.day = obj.default({ values: { narrow: [], short: [49424128, -257145088, -390529021, -303824893, -350552061, -432930813, -301793277], abbreviated: [null, null, null, "isArray", "label", "url", "a"], wide: [] }, defaultWidth: "wide" });
obj.dayPeriod = obj.default({ values: { narrow: { unicodeVersion: null, y: null, isArray: null, colors: null, construct: null, y: null, isArray: null, id: null }, abbreviated: { unicodeVersion: 1757388210455581600000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000, y: 172541955085714620000000, isArray: 0.000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001665299857221454, colors: 0.00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000166532107717938, construct: -117211483698378050000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000, y: 139264.3679580689, isArray: 0.000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000002058221077516744, id: 0.000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000005894522914681132 }, wide: { unicodeVersion: 0.00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000409380227383068, y: 0.000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000004093669401051687, isArray: null, colors: "PP p", construct: "\u4E0A", y: "\u4E0B", isArray: "\u51CC\u6668", id: "\u5348" } }, defaultWidth: "wide", formattingValues: { narrow: { unicodeVersion: null, y: null, isArray: null, colors: null, construct: null, y: null, isArray: null, id: null }, abbreviated: { unicodeVersion: 1757388210455581600000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000, y: 172541955085714620000000, isArray: 0.000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001665299857221454, colors: 0.00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000166532107717938, construct: -117211483698378050000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000, y: 139264.3679580689, isArray: 0.000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000002058221077516744, id: 0.000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000005894522914681132 }, wide: {} }, defaultFormattingWidth: "wide" });
export default obj;
export default exports.default;