decord/source/1926_buildFormatLongFn.js
2026-07-24 07:16:23 +00:00

31 lines
741 B
JavaScript

// Module ID: 1926
// Function ID: 21785
// Name: buildFormatLongFn
// Dependencies: []
// Exports: default
// Module 1926 (buildFormatLongFn)
export default function buildFormatLongFn(arg0) {
let closure_0 = arg0;
return () => {
if (arguments.length > 0) {
if (undefined !== arguments[0]) {
let first = arguments[0];
}
if (first.width) {
const _String = String;
let defaultWidth = String(first.width);
} else {
defaultWidth = closure_0.defaultWidth;
}
let tmp4 = closure_0.formats[defaultWidth];
if (!tmp4) {
tmp4 = closure_0.formats[closure_0.defaultWidth];
}
return tmp4;
}
first = {};
};
};
export default exports.default;