/* Metro module 6642; source: modules/markup/StaticRouteRendering.tsx; dependencies: [1938, 1244, 2] */ import GuildRoleStore from '../../stores/GuildRoleStore.tsx'; /* Metro dependency 1938 */ import * as FileImportTrackerModule from '../../by-id/module-00002-FileImportTracker.js'; /* Metro dependency 2 */ import * as IndexNativeModule from '../../intl/index.native.tsx'; /* Metro dependency 1244 */ function _fun52558(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#52558, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:6820:6, offset: 0x013304a5, size: 123 bytes, params: 8, frame: 18 const env0_0 = require; const Object = global.Object; Object.defineProperty(exports, '__esModule', {value: true}); (FileImportTrackerModule).fileFinishedImporting('modules/markup/StaticRouteRendering.tsx'); exports.staticRouteToTranslation = staticRouteToTranslation; exports.staticRouteToItemString = staticRouteToItemString; function staticRouteToTranslation(a0) { // fn#52559, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:6820:206, offset: 0x01330520, size: 312 bytes, params: 2, frame: 14 const intl = (IndexNativeModule).intl; const t = (IndexNativeModule).t; if (a0 === 'home') { return intl.string(t.VbpLyU); } if (a0 === 'guide') { return intl.string(t.VbpLyU); } if (a0 === 'browse') { return intl.string(t.et6wav); } if (a0 === 'customize') { return intl.string(t.h9mGOP); } if (a0 === 'linked-roles') { return intl.string(t.ghtnss); } return null; } function staticRouteToItemString(a0, a1, a2) { // fn#52560, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:6820:510, offset: 0x01330658, size: 93 bytes, params: 4, frame: 15 var value; var role; if (a0 === 'linked-roles') { value = null; if (value == a2) { return value; } role = GuildRoleStore.getRole(a2, a1); return value == role || value !== (value == role.tags ? undefined : role.tags.guild_connections) ? value : role.name; } return null; } } global.__d(_fun52558, 6642, [1938, 1244, 2]) /* metro module 6642, dependencies: [1938, 1244, 2] */;