decord/source/5565_swizzle.js

37 lines
802 B
JavaScript
Raw Normal View History

2026-07-24 07:16:23 +00:00
// Module ID: 5565
2026-07-27 11:26:19 +00:00
// Function ID: 47343
2026-07-20 16:05:17 +00:00
// Name: swizzle
2026-07-24 07:16:23 +00:00
// Dependencies: [5566]
2026-07-20 16:05:17 +00:00
2026-07-24 07:16:23 +00:00
// Module 5565 (swizzle)
2026-07-20 16:05:17 +00:00
function swizzle(arg0) {
let items = [];
let num = 0;
let tmp = items;
if (0 < arg0.length) {
do {
let tmp2 = arg0[num];
2026-07-23 10:11:24 +00:00
let tmp3 = require;
let tmp4 = dependencyMap;
2026-07-24 07:16:23 +00:00
if (require(5566) /* isArrayish */(tmp2)) {
2026-07-23 10:11:24 +00:00
let tmp7 = concat;
let tmp8 = slice;
let callResult = concat.call(items, slice.call(tmp2));
2026-07-20 16:05:17 +00:00
} else {
let arr = items.push(tmp2);
callResult = items;
}
num = num + 1;
items = callResult;
tmp = callResult;
} while (num < length);
}
return tmp;
}
swizzle.wrap = (arg0) => {
2026-07-23 10:11:24 +00:00
let closure_0 = arg0;
return () => callback(outer1_4(arguments));
2026-07-20 16:05:17 +00:00
};
export default swizzle;