decord/source/5797_isNewArch.js
2026-08-26 06:04:24 +00:00

37 lines
787 B
JavaScript

// Module ID: 5797
// Function ID: 5798
// Name: isNewArch
// Dependencies: [17]
// Exports: isNewArch
// Module 5797 (isNewArch)
import get_ActivityIndicator from "get ActivityIndicator" /* 17 */;
const Platform = get_ActivityIndicator.Platform;
export const isNewArch = function isNewArch() {
if (undefined !== c1) {
return c1;
} else {
try {
let prop;
if (global != null) {
prop = tmp2.nativeFabricUIManager;
}
let flag = Boolean(prop);
if (global != null) {
const __turboModuleProxy = tmp2.__turboModuleProxy;
}
if (!flag) {
flag = Boolean(__turboModuleProxy);
}
if (!flag) {
flag = false;
}
c1 = flag;
return c1;
} catch (err) {
c1 = true;
}
}
};