Initial commit
This commit is contained in:
commit
af3b49f756
16065 files changed
+2938410
No files matched your search
@@ -0,0 +1,33 @@
|
||||
/* Metro module 995; source: unknown; dependencies: [996, 830] */
|
||||
function _fun10463(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#10463, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:1122:6, offset: 0x00d8e98c, size: 78 bytes, params: 8, frame: 17
|
||||
const env0_0 = require;
|
||||
const Object = global.Object;
|
||||
const defineProperty = Object.defineProperty;
|
||||
const Symbol = global.Symbol;
|
||||
Reflect.apply(defineProperty, Object, [exports, Symbol.toStringTag, {value: 'Module'}]);
|
||||
exports.isBrowser = isBrowser;
|
||||
}
|
||||
|
||||
function isBrowser() { // fn#10464, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:1122:103, offset: 0x00d8e9da, size: 122 bytes, params: 1, frame: 14
|
||||
var r1;
|
||||
var r0;
|
||||
var value2;
|
||||
var isNodeEnv2;
|
||||
var process;
|
||||
const value = typeof global.window !== 'undefined';
|
||||
if (value) {
|
||||
value2 = undefined;
|
||||
isNodeEnv2 = (require(996) /* metro dependency 996 */).isNodeEnv();
|
||||
if (isNodeEnv2) {
|
||||
process = (require(830) /* metro dependency 830 */).GLOBAL_OBJ.process;
|
||||
r1 = (process == null ? value2 : process.type) === 'renderer';
|
||||
} else {
|
||||
r1 = !isNodeEnv2;
|
||||
}
|
||||
r0 = r1;
|
||||
} else {
|
||||
r0 = value;
|
||||
}
|
||||
return r0;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user