decord/source/1025_weakMap.js

17 lines
493 B
JavaScript
Raw Normal View History

2026-07-20 16:05:17 +00:00
// Module ID: 1025
2026-07-21 22:01:30 +00:00
// Function ID: 11079
2026-07-20 16:05:17 +00:00
// Name: weakMap
// Dependencies: []
// Module 1025 (weakMap)
Object.defineProperty(arg5, Symbol.toStringTag, { value: "Module" });
const weakMap = new WeakMap();
arg5.initUnique = function initUnique(closure_1, InteractionManager) {
if (!weakMap.get(closure_1)) {
const prototype = InteractionManager.prototype;
const tmp6 = new InteractionManager();
const result = weakMap.set(closure_1, tmp6);
}
return weakMap.get(closure_1);
};