/* Metro module 10910; source: modules/messages/MessageUtils.tsx; dependencies: [1379, 1878, 5072, 2] */ function _fun83608(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#83608, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:11096:6, offset: 0x01f200a3, size: 145 bytes, params: 8, frame: 19 const env0_0 = require; const Object = global.Object; Object.defineProperty(exports, '__esModule', {value: true}); const channelStore = importDefault(1379) /* metro dependency 1379: ChannelStore */; const userStore = importDefault(1878) /* metro dependency 1878: UserStore */; (require(2) /* metro dependency 2 */).fileFinishedImporting('modules/messages/MessageUtils.tsx'); exports.canViewPotentiallyNSFWChannel = canViewPotentiallyNSFWChannel; exports.getGuildIdFromMessage = getGuildIdFromMessage; } function canViewPotentiallyNSFWChannel(a0) { // fn#83609, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:11096:215, offset: 0x01f20134, size: 87 bytes, params: 2, frame: 13 var value; const currentUser = UserStore.getCurrentUser(); const channel = ChannelStore.getChannel(a0); let r0 = currentUser != null && channel != null; if (r0) { value = require(5072) /* metro dependency 5072: AgeGateUtils */; value = !value.isChannelContentGated(channel); r0 = value; } return r0; } function getGuildIdFromMessage({channel_id}) { // fn#83610, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:11096:384, offset: 0x01f2018b, size: 55 bytes, params: 2, frame: 13 return ChannelStore.getChannel(channel_id)?.guild_id ?? undefined; }