58 lines
3.1 KiB
TypeScript
58 lines
3.1 KiB
TypeScript
/* Metro module 5195; source: modules/user_profile/UserProfileWidgetConstants.tsx; dependencies: [4234, 5190, 1244, 2] */
|
|
import ApplicationStore from '../applications/ApplicationStore.tsx'; /* Metro dependency 4234 */
|
|
import * as FileImportTrackerModule from '../../by-id/module-00002-FileImportTracker.js'; /* Metro dependency 2 */
|
|
import * as WidgetTypeModule from '../../external/discord_common/js/shared/shared-constants/WidgetType.tsx'; /* Metro dependency 5190 */
|
|
|
|
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 WidgetType = (WidgetTypeModule).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 object = {};
|
|
FAVORITE_GAMES = WidgetType.FAVORITE_GAMES;
|
|
object[FAVORITE_GAMES] = function() {
|
|
return require(dependencyMap[2]).intl.string(require(dependencyMap[2]).t.sUQar8);
|
|
};
|
|
CURRENT_GAMES = WidgetType.CURRENT_GAMES;
|
|
object[CURRENT_GAMES] = function() {
|
|
return require(dependencyMap[2]).intl.string(require(dependencyMap[2]).t.SqNnus);
|
|
};
|
|
WANT_TO_PLAY_GAMES = WidgetType.WANT_TO_PLAY_GAMES;
|
|
object[WANT_TO_PLAY_GAMES] = function() {
|
|
return require(dependencyMap[2]).intl.string(require(dependencyMap[2]).t.bWSQwW);
|
|
};
|
|
PLAYED_GAMES = WidgetType.PLAYED_GAMES;
|
|
object[PLAYED_GAMES] = function() {
|
|
return require(dependencyMap[2]).intl.string(require(dependencyMap[2]).t.scOKET);
|
|
};
|
|
APPLICATION = WidgetType.APPLICATION;
|
|
object[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;
|
|
(FileImportTrackerModule).fileFinishedImporting('modules/user_profile/UserProfileWidgetConstants.tsx');
|
|
exports.WIDGET_SORT_ORDER = items3;
|
|
exports.WIDGET_TITLES_BY_TYPE = object;
|
|
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 ?? '';
|
|
}
|
|
|
|
}
|
|
|
|
global.__d(_fun45867, 5195, [4234, 5190, 1244, 2]) /* metro module 5195, dependencies: [4234, 5190, 1244, 2] */;
|