/* Metro module 7719; source: modules/video_calls/native/useIsPrivateAudioOnlyCall.tsx; dependencies: [57, 1378, 4606, 4492, 4259, 4297, 4299, 566, 2] */ function _fun61761(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#61761, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:7897:6, offset: 0x01b4a073, size: 223 bytes, params: 8, frame: 19 const env0_0 = require; const Object = global.Object; Object.defineProperty(exports, '__esModule', {value: true}); const env0_2 = importDefault(57) /* metro dependency 57 */; const embeddedActivitiesStore = importDefault(1378) /* metro dependency 1378: EmbeddedActivitiesStore */; const channelRTCStore = importDefault(4606) /* metro dependency 4606: ChannelRTCStore */; const applicationStreamingStore = importDefault(4492) /* metro dependency 4492: ApplicationStreamingStore */; const mediaEngineStore = importDefault(4259) /* metro dependency 4259: MediaEngineStore */; const voiceStateStore = importDefault(4297) /* metro dependency 4297: VoiceStateStore */; const env0_8 = (require(4299) /* metro dependency 4299: CallConstants */).isActivityParticipant; (require(2) /* metro dependency 2 */).fileFinishedImporting('modules/video_calls/native/useIsPrivateAudioOnlyCall.tsx'); exports.default = _default_61763; } function _default_61763(a0) { // fn#61763, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:7897:260, offset: 0x01b4a152, size: 221 bytes, params: 2, frame: 22 const env0_0 = a0; const fluxModule = require(566) /* metro dependency 566: flux */; const useStateFromStores = fluxModule.useStateFromStores; const property = env0_2(Reflect.apply(useStateFromStores, fluxModule, [[ChannelRTCStore], _fun61764, [a0], areParticipantStatesEqual]), 1)[0]; const getEmbeddedActivitiesForChannel = EmbeddedActivitiesStore.getEmbeddedActivitiesForChannel; return fluxModule.useStateFromStores([VoiceStateStore, MediaEngineStore, ApplicationStreamingStore], _fun61765, [a0, Reflect.apply(getEmbeddedActivitiesForChannel, EmbeddedActivitiesStore, [a0.id]).length > 0 || isActivityParticipant(property)]); } function _fun61764() { // fn#61764, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:7897:302, offset: 0x01b4a22f, size: 60 bytes, params: 1, frame: 12 const value = environment.__proto__; const getSelectedParticipant = ChannelRTCStore.getSelectedParticipant; const binding = env0_0; const getParticipantsVersion = ChannelRTCStore.getParticipantsVersion; return [Reflect.apply(getSelectedParticipant, ChannelRTCStore, [binding.id]), Reflect.apply(getParticipantsVersion, ChannelRTCStore, [binding.id])]; } function _fun61765() { // fn#61765, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:7897:514, offset: 0x01b4a26b, size: 167 bytes, params: 1, frame: 13 var value; let r0 = env0_0.isPrivate() && !VoiceStateStore.hasVideo(env0_0.id) && !env0_1; r0 = r0 && ApplicationStreamingStore.getAllApplicationStreamsForChannel(env0_0.id).length === 0 && ApplicationStreamingStore.getAllActiveStreamsForChannel(env0_0.id).length === 0; if (r0) { value = environment.__proto__; value = !MediaEngineStore.isVideoEnabled(); r0 = value; } return r0; }