Files
discord-decomp/sources/modules/game_detection/Constants.tsx
T
2026-07-27 16:20:00 +03:00

20 lines
1.2 KiB
TypeScript

/* Metro module 10181; source: modules/game_detection/Constants.tsx; dependencies: [661, 2] */
function _fun79234(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#79234, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:10367:6, offset: 0x01e49cf6, size: 171 bytes, params: 8, frame: 20
const closure = function(a0, a1) {
return CDN_HOST == null ? a1 : 'https://' + CDN_HOST + a0;
};
const Object = global.Object;
Object.defineProperty(exports, '__esModule', {value: true});
const Endpoints = (require(661) /* metro dependency 661: Constants */).Endpoints;
const GLOBAL_ENV = global.window.GLOBAL_ENV;
const env0_0 = GLOBAL_ENV.CDN_HOST;
const GAMES_DETECTABLE = Endpoints.GAMES_DETECTABLE;
const value = closure('/detectables/games.json', GAMES_DETECTABLE);
const NON_GAMES_DETECTABLE = Endpoints.NON_GAMES_DETECTABLE;
const value2 = closure('/detectables/non-games.json', NON_GAMES_DETECTABLE);
(require(2) /* metro dependency 2 */).fileFinishedImporting('modules/game_detection/Constants.tsx');
exports.DETECTABLE_GAMES_CDN_URL = value;
exports.DETECTABLE_NON_GAMES_CDN_URL = value2;
}