decord/source/71_getFabricUIManager.js

39 lines
1.6 KiB
JavaScript
Raw Normal View History

2026-07-29 08:29:29 +00:00
// Module ID: 71
// Function ID: 72
2026-07-20 16:05:17 +00:00
// Name: getFabricUIManager
2026-07-29 08:29:29 +00:00
// Dependencies: [49]
2026-07-20 16:05:17 +00:00
2026-07-29 08:29:29 +00:00
// Module 71 (getFabricUIManager)
2026-07-23 10:11:24 +00:00
const global = arg0;
const module = arg2;
const dependencyMap = arg6;
2026-07-29 08:29:29 +00:00
let closure_4 = ["createNode", "cloneNode", "cloneNodeWithNewChildren", "cloneNodeWithNewProps", "cloneNodeWithNewChildrenAndProps", "createChildSet", "appendChild", "appendChildToSet", "completeRoot", "measure", "measureInWindow", "measureLayout", "configureNextLayoutAnimation", "sendAccessibilityEvent", "findShadowNodeByTag_DEPRECATED", "setNativeProps", "dispatchCommand", "compareDocumentPosition", "getBoundingClientRect", "setIsJSResponder", "unstable_DefaultEventPriority", "unstable_DiscreteEventPriority", "unstable_ContinuousEventPriority", "unstable_IdleEventPriority", "unstable_getCurrentEventPriority"];
2026-07-20 16:05:17 +00:00
arg5.getFabricUIManager = function getFabricUIManager() {
let tmp = null == closure_3;
if (tmp) {
2026-07-23 10:11:24 +00:00
tmp = null != global.nativeFabricUIManager;
2026-07-20 16:05:17 +00:00
}
if (tmp) {
2026-07-23 10:11:24 +00:00
closure_3 = (function createProxyWithCachedProperties(nativeFabricUIManager, closure_4) {
2026-08-24 06:08:38 +00:00
closure_0 = nativeFabricUIManager;
2026-07-23 10:11:24 +00:00
let obj = Object.create(nativeFabricUIManager);
2026-07-29 08:29:29 +00:00
function _loop(iter) {
2026-08-24 06:08:38 +00:00
closure_0 = iter;
obj = {
2026-07-20 16:05:17 +00:00
get() {
2026-07-29 08:29:29 +00:00
return iter[iter];
2026-07-20 16:05:17 +00:00
}
};
2026-08-24 06:08:38 +00:00
obj(closure_1_2[0])(obj, iter, obj);
2026-07-20 16:05:17 +00:00
}
2026-07-29 08:29:29 +00:00
const iter = closure_4[Symbol.iterator]();
while (iter !== undefined) {
let _loopResult = _loop(iter.next());
2026-07-23 10:11:24 +00:00
continue;
2026-07-20 16:05:17 +00:00
}
return obj;
2026-07-23 10:11:24 +00:00
})(global.nativeFabricUIManager, closure_4);
2026-07-20 16:05:17 +00:00
}
return closure_3;
};