decord/source/1569_StaticContainer.js

33 lines
793 B
JavaScript
Raw Normal View History

2026-08-06 08:05:19 +00:00
// Module ID: 1569
// Function ID: 1570
// Name: StaticContainer
2026-07-29 08:29:29 +00:00
// Dependencies: [19]
2026-07-20 16:05:17 +00:00
2026-08-06 08:05:19 +00:00
// Module 1569 (StaticContainer)
2026-07-20 16:05:17 +00:00
2026-08-06 08:05:19 +00:00
export const StaticContainer = require("noop").memo(function StaticContainer(children) {
2026-07-20 16:05:17 +00:00
return children.children;
}, (arg0, arg1) => {
const keys = Object.keys(arg0);
if (keys.length !== Object.keys(arg1).length) {
return false;
} else {
const iter = keys[Symbol.iterator]();
const nextResult = iter.next();
while (iter !== undefined) {
2026-07-29 08:29:29 +00:00
let tmp5 = nextResult;
2026-07-20 16:05:17 +00:00
if ("children" !== nextResult) {
2026-07-29 08:29:29 +00:00
let tmp6 = nextResult;
if (arg0[tmp5] !== arg1[tmp5]) {
let tmp7 = iter;
2026-07-20 16:05:17 +00:00
iter.return();
let flag = false;
return false;
}
}
2026-07-23 10:11:24 +00:00
continue;
2026-07-20 16:05:17 +00:00
}
return true;
}
});