51 lines
2.0 KiB
JavaScript
51 lines
2.0 KiB
JavaScript
/* Metro module 6362; source: unknown; dependencies: [27] */
|
|
import * as ReactNativeModule from './module-00027-ReactNative.js'; /* Metro dependency 27 */
|
|
|
|
function _fun49901(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#49901, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:6540:6, offset: 0x0120ca37, size: 82 bytes, params: 8, frame: 16
|
|
const Object = global.Object;
|
|
Object.defineProperty(exports, '__esModule', {value: true});
|
|
(ReactNativeModule).Platform;
|
|
exports.isNewArch = isNewArch;
|
|
function isNewArch() { // fn#49902, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:6540:127, offset: 0x0120ca89, size: 134 bytes, params: 1, frame: 19
|
|
var nativeFabricUIManager;
|
|
var __turboModuleProxy;
|
|
var r2;
|
|
var r1;
|
|
var Boolean;
|
|
var binding;
|
|
var value3;
|
|
var value4;
|
|
var value5;
|
|
var error;
|
|
let value = undefined;
|
|
if (value === env0_1) {
|
|
try {
|
|
Boolean = global.Boolean;
|
|
binding = env0_0;
|
|
value3 = binding == null;
|
|
nativeFabricUIManager = value3 ? value : binding.nativeFabricUIManager;
|
|
value4 = Boolean(nativeFabricUIManager);
|
|
Boolean = global.Boolean;
|
|
binding = env0_0;
|
|
value5 = binding == null;
|
|
__turboModuleProxy = value5 ? value : binding.__turboModuleProxy;
|
|
value = Boolean(__turboModuleProxy);
|
|
r2 = value4 || value;
|
|
if (r2) {
|
|
r1 = r2;
|
|
} else {
|
|
value = false;
|
|
r1 = value;
|
|
}
|
|
env0_1 = r1;
|
|
} catch (error) {
|
|
env0_1 = true;
|
|
}
|
|
}
|
|
return env0_1;
|
|
}
|
|
|
|
}
|
|
|
|
global.__d(_fun49901, 6362, [27]) /* metro module 6362, dependencies: [27] */;
|