decord/source/1951_buildFormatLongFn.js

28 lines
677 B
JavaScript
Raw Normal View History

2026-07-29 08:29:29 +00:00
// Module ID: 1951
// Function ID: 1952
2026-07-20 16:05:17 +00:00
// Name: buildFormatLongFn
// Dependencies: []
// Exports: default
2026-07-29 08:29:29 +00:00
// Module 1951 (buildFormatLongFn)
2026-07-20 16:05:17 +00:00
export default function buildFormatLongFn(arg0) {
2026-07-23 10:11:24 +00:00
let closure_0 = arg0;
2026-07-20 16:05:17 +00:00
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 {
2026-07-23 10:11:24 +00:00
defaultWidth = closure_0.defaultWidth;
2026-07-20 16:05:17 +00:00
}
2026-07-29 08:29:29 +00:00
return closure_0.formats[defaultWidth] || closure_0.formats[closure_0.defaultWidth];
2026-07-20 16:05:17 +00:00
}
first = {};
};
};
export default exports.default;