24 lines
1.7 KiB
TypeScript
24 lines
1.7 KiB
TypeScript
/* Metro module 15519; source: modules/game_console/native/getConsoleConnectingText.tsx; dependencies: [661, 1244, 2] */
|
|
function _fun118843(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#118843, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:15716:6, offset: 0x024f0fba, size: 117 bytes, params: 8, frame: 18
|
|
const env0_0 = require;
|
|
const Object = global.Object;
|
|
Object.defineProperty(exports, '__esModule', {value: true});
|
|
const env0_2 = (require(661) /* metro dependency 661: Constants */).PlatformTypes;
|
|
(require(2) /* metro dependency 2 */).fileFinishedImporting('modules/game_console/native/getConsoleConnectingText.tsx');
|
|
exports.getConsoleConnectingText = getConsoleConnectingText;
|
|
}
|
|
|
|
function getConsoleConnectingText(a0, a1, a2) { // fn#118844, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:15716:237, offset: 0x024f102f, size: 383 bytes, params: 4, frame: 20
|
|
const intl = (require(1244) /* metro dependency 1244: indexNative */).intl;
|
|
const t = (require(1244) /* metro dependency 1244: indexNative */).t;
|
|
const value = undefined;
|
|
const r5 = (a1 == null ? value : a1.type) ?? (a0 == null ? value : a0.clientInfo.os);
|
|
const value2 = a1 != null;
|
|
const XBOX = PlatformTypes.XBOX;
|
|
return r5 === XBOX ? a2 ? intl.format(t['ynEs/Y'],
|
|
{}) : value2 ? intl.string(t.UjA4HX) : 'Xbox' : r5 === PlatformTypes.PLAYSTATION ? a2 ? intl.format(t.TZ17Bg,
|
|
{}) : value2 ? intl.string(t.QCw1oW) : 'PS5' : r5 !== PlatformTypes.PLAYSTATION_STAGING ? value : a2 ? intl.format(t.TZ17Bg,
|
|
{}) : value2 ? intl.string(t.QCw1oW) : 'PS5';
|
|
}
|
|
|