Files
discord-decomp/sources/by-id/module-07491.jsx
T
2026-07-27 16:20:00 +03:00

17 lines
1.0 KiB
React

/* Metro module 7491; source: unknown; dependencies: [7370] */
function _fun60402(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#60402, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:7669:6, offset: 0x01702736, size: 66 bytes, params: 8, frame: 16
const env0_0 = require;
const Object = global.Object;
Object.defineProperty(exports, '__esModule', {value: true});
exports.supportsHistory = supportsHistory_60403;
}
function supportsHistory_60403() { // fn#60403, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:7669:97, offset: 0x01702778, size: 193 bytes, params: 1, frame: 15
const GLOBAL_OBJ = (require(7370) /* metro dependency 7370 */).GLOBAL_OBJ;
const chrome = GLOBAL_OBJ.chrome;
let r0 = chrome && chrome.app && chrome.app.runtime;
r0 = !r0 && ('history' in GLOBAL_OBJ && !!GLOBAL_OBJ.history.pushState && !!GLOBAL_OBJ.history.replaceState);
return r0;
}