40 lines
1.8 KiB
TypeScript
40 lines
1.8 KiB
TypeScript
/* Metro module 10582; source: modules/activities/utils/getRemoteJoinFooterLabel.tsx; dependencies: [661, 1244, 2] */
|
|
function _fun81662(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#81662, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:10768:6, offset: 0x01ed8e96, 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 */).ActivityGamePlatforms;
|
|
(require(2) /* metro dependency 2 */).fileFinishedImporting('modules/activities/utils/getRemoteJoinFooterLabel.tsx');
|
|
exports.getRemoteJoinFooterLabel = getRemoteJoinFooterLabel;
|
|
}
|
|
|
|
function getRemoteJoinFooterLabel(a0) { // fn#81663, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:10768:242, offset: 0x01ed8f0b, size: 408 bytes, params: 2, frame: 15
|
|
const intl = (require(1244) /* metro dependency 1244: indexNative */).intl;
|
|
const t = (require(1244) /* metro dependency 1244: indexNative */).t;
|
|
const DESKTOP = ActivityGamePlatforms.DESKTOP;
|
|
if (DESKTOP === a0) {
|
|
return intl.string(t.aqN8U9);
|
|
}
|
|
const IOS = ActivityGamePlatforms.IOS;
|
|
if (IOS === a0) {
|
|
return intl.string(t.CyQ5ia);
|
|
}
|
|
const ANDROID = ActivityGamePlatforms.ANDROID;
|
|
if (ANDROID === a0) {
|
|
return intl.string(t.fMs6uW);
|
|
}
|
|
const XBOX = ActivityGamePlatforms.XBOX;
|
|
if (XBOX === a0) {
|
|
return intl.string(t.o0hjdt);
|
|
}
|
|
const PS4 = ActivityGamePlatforms.PS4;
|
|
if (PS4 === a0) {
|
|
return intl.string(t['R/1GpG']);
|
|
}
|
|
const PS5 = ActivityGamePlatforms.PS5;
|
|
if (PS5 === a0) {
|
|
return intl.string(t['R/1GpG']);
|
|
}
|
|
}
|
|
|