/* Metro module 10785; source: modules/voice_calls/useIsVoiceChannelFull.tsx; dependencies: [1867, 3784, 4297, 482, 566, 4800, 2] */ import GuildStore from '../../stores/GuildStore.tsx'; /* Metro dependency 1867 */ import PermissionStore from '../../stores/PermissionStore.tsx'; /* Metro dependency 3784 */ import VoiceStateStore from '../../stores/VoiceStateStore.tsx'; /* Metro dependency 4297 */ import * as FileImportTrackerModule from '../../by-id/module-00002-FileImportTracker.js'; /* Metro dependency 2 */ import * as ConstantsModule from '../../external/discord_common/js/shared/Constants.tsx'; /* Metro dependency 482 */ import * as FluxModule from '../../external/discord_common/js/packages/flux/index.tsx'; /* Metro dependency 566 */ import * as ChannelUtilsModule from '../../utils/ChannelUtils.tsx'; /* Metro dependency 4800 */ function _fun82859(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#82859, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:10971:6, offset: 0x01f03edd, size: 181 bytes, params: 8, frame: 19 let env0_0 = require; const Object = global.Object; Object.defineProperty(exports, '__esModule', {value: true}); (FileImportTrackerModule).fileFinishedImporting('modules/voice_calls/useIsVoiceChannelFull.tsx'); exports.default = function(a0) { var env0_0 = a0; return require(dependencyMap[4]).useStateFromStores([VoiceStateStore, GuildStore], _fun82861); }; exports.useIsVoiceChannelLocked = function(a0) { var env0_0 = a0; return require(dependencyMap[4]).useStateFromStores([PermissionStore], _fun82863, [a0]); }; function useIsVoiceChannelFull(a0) { // fn#82860, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:10971:237, offset: 0x01f03f92, size: 74 bytes, params: 2, frame: 15 const env0_0 = a0; return (FluxModule).useStateFromStores([VoiceStateStore, GuildStore], _fun82861); function _fun82861() { // fn#82861, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:10971:312, offset: 0x01f03fdc, size: 55 bytes, params: 1, frame: 15 return ChannelUtilsModule.isChannelFull(env0_0, VoiceStateStore, GuildStore); } } function useIsVoiceChannelLocked(a0) { // fn#82862, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:10971:374, offset: 0x01f04013, size: 75 bytes, params: 2, frame: 16 const env0_0 = a0; return (FluxModule).useStateFromStores([PermissionStore], _fun82863, [a0]); function _fun82863() { // fn#82863, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:10971:449, offset: 0x01f0405e, size: 54 bytes, params: 1, frame: 14 return env0_0 == null || !PermissionStore.can(Permissions.CONNECT, env0_0); } } } global.__d(_fun82859, 10785, [1867, 3784, 4297, 482, 566, 4800, 2]) /* metro module 10785, dependencies: [1867, 3784, 4297, 482, 566, 4800, 2] */;