/* Metro module 10913; source: modules/channel/ChannelVisibilityUtils.tsx; dependencies: [4791, 1934, 3969, 2] */ import SelectedChannelStore from '../../stores/SelectedChannelStore.tsx'; /* Metro dependency 1934 */ import SelectedGuildStore from '../../stores/SelectedGuildStore.tsx'; /* Metro dependency 3969 */ import ChannelSectionStore from '../../stores/ChannelSectionStore.tsx'; /* Metro dependency 4791 */ import * as FileImportTrackerModule from '../../by-id/module-00002-FileImportTracker.js'; /* Metro dependency 2 */ function _fun83638(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#83638, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:11099:6, offset: 0x01f21ede, size: 138 bytes, params: 8, frame: 18 const Object = global.Object; Object.defineProperty(exports, '__esModule', {value: true}); (FileImportTrackerModule).fileFinishedImporting('modules/channel/ChannelVisibilityUtils.tsx'); exports.isChannelCurrentlyVisible = isChannelCurrentlyVisible; function isChannelCurrentlyVisible(a0) { // fn#83639, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:11099:230, offset: 0x01f21f68, size: 63 bytes, params: 2, frame: 14 const selectedChannelStoreBinding = SelectedChannelStore; const getChannelId = selectedChannelStoreBinding.getChannelId; const selectedGuildStoreBinding = SelectedGuildStore; const getGuildId = selectedGuildStoreBinding.getGuildId; const value2 = Reflect.apply(getChannelId, selectedChannelStoreBinding, [Reflect.apply(getGuildId, selectedGuildStoreBinding, [])]); return value2 === a0 || ChannelSectionStore.getCurrentSidebarChannelId(value2) === a0; } } global.__d(_fun83638, 10913, [4791, 1934, 3969, 2]) /* metro module 10913, dependencies: [4791, 1934, 3969, 2] */;