/* Metro module 7143; source: modules/private_channel_creation/maybeConvertPrivateChannel.tsx; dependencies: [1379, 5225, 4603, 2] */ function _fun57139(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#57139, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:7321:6, offset: 0x013ddb1f, size: 116 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 */; (require(2) /* metro dependency 2 */).fileFinishedImporting('modules/private_channel_creation/maybeConvertPrivateChannel.tsx'); exports.default = maybeConvertPrivateChannel; } function maybeConvertPrivateChannel(a0) { // fn#57140, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:7321:213, offset: 0x013ddb93, size: 104 bytes, params: 2, frame: 14 var r0; var value; const FAKE_PLACEHOLDER_PRIVATE_CHANNEL_ID = (require(5225) /* metro dependency 5225: FakePlaceholderPrivateChannel */).FAKE_PLACEHOLDER_PRIVATE_CHANNEL_ID; if (a0 !== FAKE_PLACEHOLDER_PRIVATE_CHANNEL_ID) { return null; } const channel = ChannelStore.getChannel(a0); const value3 = null; if (value3 == channel) { r0 = value3; } else { value = importDefault(4603) /* metro dependency 4603: ChannelActionCreators */; value = value.ensurePrivateChannel(channel.recipients); r0 = value; } return r0; }