decord/source/1980_buildFormatLongFn.js
2026-08-06 08:05:19 +00:00

27 lines
677 B
JavaScript

// Module ID: 1980
// Function ID: 1981
// Name: buildFormatLongFn
// Dependencies: []
// Exports: default
// Module 1980 (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;
}
return closure_0.formats[defaultWidth] || closure_0.formats[closure_0.defaultWidth];
}
first = {};
};
};
export default exports.default;