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

54 lines
2.8 KiB
TypeScript

/* Metro module 5195; source: modules/user_profile/UserProfileWidgetConstants.tsx; dependencies: [4234, 5190, 1244, 2] */
function _fun45867(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#45867, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:5373:6, offset: 0x01199d46, size: 499 bytes, params: 8, frame: 20
const env0_0 = require;
const Object = global.Object;
Object.defineProperty(exports, '__esModule', {value: true});
const applicationStore = importDefault(4234) /* metro dependency 4234: ApplicationStore */;
const WidgetType = (require(5190) /* metro dependency 5190: WidgetType */).WidgetType;
let APPLICATION = WidgetType.APPLICATION;
items3 = [APPLICATION];
let FAVORITE_GAMES = WidgetType.FAVORITE_GAMES;
items3[1] = FAVORITE_GAMES;
let PLAYED_GAMES = WidgetType.PLAYED_GAMES;
items3[2] = PLAYED_GAMES;
let CURRENT_GAMES = WidgetType.CURRENT_GAMES;
items3[3] = CURRENT_GAMES;
let WANT_TO_PLAY_GAMES = WidgetType.WANT_TO_PLAY_GAMES;
items3[4] = WANT_TO_PLAY_GAMES;
const object3 = {};
FAVORITE_GAMES = WidgetType.FAVORITE_GAMES;
object3[FAVORITE_GAMES] = function() {
return require(dependencyMap[2]).intl.string(require(dependencyMap[2]).t.sUQar8);
};
CURRENT_GAMES = WidgetType.CURRENT_GAMES;
object3[CURRENT_GAMES] = function() {
return require(dependencyMap[2]).intl.string(require(dependencyMap[2]).t.SqNnus);
};
WANT_TO_PLAY_GAMES = WidgetType.WANT_TO_PLAY_GAMES;
object3[WANT_TO_PLAY_GAMES] = function() {
return require(dependencyMap[2]).intl.string(require(dependencyMap[2]).t.bWSQwW);
};
PLAYED_GAMES = WidgetType.PLAYED_GAMES;
object3[PLAYED_GAMES] = function() {
return require(dependencyMap[2]).intl.string(require(dependencyMap[2]).t.scOKET);
};
APPLICATION = WidgetType.APPLICATION;
object3[APPLICATION] = _fun45872;
FAVORITE_GAMES = WidgetType.FAVORITE_GAMES;
const items4 = [FAVORITE_GAMES];
CURRENT_GAMES = WidgetType.CURRENT_GAMES;
const items2 = [CURRENT_GAMES];
FAVORITE_GAMES = WidgetType.FAVORITE_GAMES;
items2[1] = FAVORITE_GAMES;
(require(2) /* metro dependency 2 */).fileFinishedImporting('modules/user_profile/UserProfileWidgetConstants.tsx');
exports.WIDGET_SORT_ORDER = items3;
exports.WIDGET_TITLES_BY_TYPE = object3;
exports.WIDGETS_SUPPORTING_COMMENT = items4;
exports.WIDGETS_SUPPORTING_TAGS = items2;
}
function _fun45872({applicationId}) { // fn#45872, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:5373:627, offset: 0x0119a039, size: 58 bytes, params: 2, frame: 12
return ApplicationStore.getApplication(applicationId)?.name ?? '';
}