// Module ID: 13101 // Function ID: 13102 // Name: UserProfileOverflowMenu // Dependencies: [32, 19, 17, 4576, 1957, 4209, 2011, 7208, 1074, 4581, 11387, 21, 504, 13102, 13108, 12993, 8190, 7162, 7182, 8186, 8215, 8216, 12994, 13109, 13110, 9179, 9180, 7189, 8773, 1250, 8179, 1114, 4573, 4527, 4763, 13119, 1896, 9047, 11389, 8404, 11388, 8634, 1115, 12624, 1242, 9187, 4767, 1935, 7190, 4404, 4258, 7196, 12996, 4296, 8671, 13118, 8097, 8677, 576, 13120, 2] // Exports: default // Module 13101 (UserProfileOverflowMenu) import closure_3 from "_slicedToArray" /* 32 */; import closure_4 from "noop" /* 19 */; import { View } from "get ActivityIndicator" /* 17 */; import closure_6 from "getParticipants" /* 4576 */; import closure_7 from "ensureGuildLoaded" /* 1957 */; import closure_8 from "markAllUserIdListsStale" /* 4209 */; import closure_9 from "handleConnectionOpen" /* 2011 */; import { UserProfileThemeTypes } from "ARBITRARY_LARGE_OFFSET" /* 7208 */; import ME from "ME" /* 1074 */; import { ParticipantTypes } from "ParticipantTypes" /* 4581 */; import IGNORE_CONFIRMATION_ACTION_SHEET_KEY from "IGNORE_CONFIRMATION_ACTION_SHEET_KEY" /* 11387 */; import jsxProd from "jsxProd" /* 21 */; const require = arg1; ({ AnalyticEvents: unpackModuleId, AVATAR_MAX_SIZE: closure_12, ChannelTypesSets: map1, NOOP: closure_14, RelationshipTypes: closure_15 } = ME); ({ BLOCK_CONFIRMATION_ACTION_SHEET_KEY: closure_17, IGNORE_CONFIRMATION_ACTION_SHEET_KEY: closure_18 } = IGNORE_CONFIRMATION_ACTION_SHEET_KEY); ({ jsx: closure_19, jsxs: closure_20 } = jsxProd); let result = require("set").fileFinishedImporting("modules/user_profile/native/UserProfileOverflowMenu.tsx"); export default function UserProfileOverflowMenu(user) { user = user.user; ({ currentUser, displayProfile } = user); const channel = user.channel; let selectedChannel; let selectedVoiceChannelId; let selectedVoiceChannel; let context; let trackUserProfileAction; let analyticsLocations; let newestAnalyticsLocation; let guildId; let canRing; let enabled; let userIsInCall; closure_14 = undefined; let id; let guildId1; closure_17 = undefined; let tmp2 = channel; let obj = user(channel[12]); let items = [analyticsLocations]; const stateFromStoresObject = obj.useStateFromStoresObject(items, () => ({ relationshipType: analyticsLocations.getRelationshipType(user.id), isIgnored: analyticsLocations.isIgnored(user.id) })); ({ relationshipType, isIgnored } = stateFromStoresObject); obj1 = user(channel[12]); let items1 = [newestAnalyticsLocation, trackUserProfileAction]; const stateFromStoresObject1 = obj1.useStateFromStoresObject(items1, () => { ({ getChannel, getChannel: getChannel2 } = trackUserProfileAction); return { selectedChannel: getChannel(newestAnalyticsLocation.getChannelId()), selectedVoiceChannelId: newestAnalyticsLocation.getVoiceChannelId(), selectedVoiceChannel: getChannel2(newestAnalyticsLocation.getVoiceChannelId()) }; }); selectedChannel = stateFromStoresObject1.selectedChannel; selectedVoiceChannelId = stateFromStoresObject1.selectedVoiceChannelId; selectedVoiceChannel = stateFromStoresObject1.selectedVoiceChannel; let obj2 = user(channel[13]); [arr3, arr4] = selectedChannel(obj2.useServerInviteRows(user.id), 2); const tmp5 = selectedChannel(obj2.useServerInviteRows(user.id), 2); let tmp8 = displayProfile(channel[14])(user.id); if (tmp8) { tmp8 = arr2.length + arr3.length > 0; } let tmpResult = tmp(tmp2[15]); let result = tmpResult.isIarUserReportingEnabled("User Profile Options - Mobile"); tmpResult = tmp(tmp2[16]); const userProfileAnalyticsContext = tmpResult.useUserProfileAnalyticsContext(); context = userProfileAnalyticsContext.context; trackUserProfileAction = userProfileAnalyticsContext.trackUserProfileAction; let tmp7Result = tmp7(tmp2[17]); const tmp7ResultResult = tmp7Result(displayProfile(tmp2[18]).USER_PROFILE_OVERFLOW_MENU); analyticsLocations = tmp7ResultResult.analyticsLocations; newestAnalyticsLocation = tmp7ResultResult.newestAnalyticsLocation; let guild_id; tmp7Result = tmp7(tmp2[19]); if (channel != null) { guild_id = channel.guild_id; } const tmp7Result1Result = tmp7Result(user.id, guild_id); guildId = undefined; if (displayProfile != null) { guildId = displayProfile.guildId; } const tmp6 = null != analyticsLocations.getNickname(user.id); const isShopThisLookMobileEnabled = user(tmp2[20]).useIsShopThisLookMobileEnabled("UserProfileOverflowMenu"); const tmpResult1 = user(tmp2[20]); let obj7 = selectedVoiceChannelId; const equippedCollectibleSkuIds = user(tmp2[21]).useEquippedCollectibleSkuIds(user.id, guildId); const ref = selectedVoiceChannelId.useRef(null); const tmpResult2 = user(tmp2[21]); const tmp19 = displayProfile(tmp2[22])(); const shopThisLookMarketing = user(tmp2[23]).useShopThisLookMarketing(user.id, guildId, isShopThisLookMobileEnabled); const items2 = [user.id, guildId]; ({ isVisible, markAsDismissed } = shopThisLookMarketing); const callback = selectedVoiceChannelId.useCallback(() => { let obj = user(channel[24]); obj = { userId: user.id, guildId }; const result = obj.openShopThisLookActionSheet(obj); }, items2); const tmpResult3 = user(tmp2[23]); canRing = user(tmp2[25]).useCanRing(user, "UserProfileOverflowMenu", selectedVoiceChannelId); const tmpResult4 = user(tmp2[25]); let guild_id1; if (selectedVoiceChannel != null) { guild_id1 = selectedVoiceChannel.guild_id; } enabled = displayProfile(tmp2[26]).useExperiment({ guildId: guild_id1, location: "UserProfileOverflowMenu" }).enabled; const tmp7Result1 = displayProfile(tmp2[26]); const tidaWebformEnabled = displayProfile(tmp2[27]).useExperiment({ location: "UserProfileOverflowMenu" }, { autoTrackExposure: false }).tidaWebformEnabled; const tmp7Result2 = displayProfile(tmp2[27]); const items3 = [context]; const stateFromStoresObject2 = user(tmp2[12]).useStateFromStoresObject(items3, () => { let tmp = canRing; if (canRing) { tmp = null != selectedVoiceChannelId; } let participant = null; if (tmp) { participant = context.getParticipant(selectedVoiceChannelId, user.id); } const obj = { userIsInCall: null != participant, isUserRinging: null }; let ringing = null != participant; if (ringing) { ringing = participant.type === guildId1.USER; } if (ringing) { ringing = participant.ringing; } obj[1] = ringing; return obj; }); userIsInCall = stateFromStoresObject2.userIsInCall; if (canRing) { canRing = null != selectedVoiceChannelId; } if (canRing) { let isUserRinging = !userIsInCall; if (userIsInCall) { isUserRinging = stateFromStoresObject2.isUserRinging; } canRing = isUserRinging; } obj = { type: null, name: null, properties: null }; const tmpResult5 = user(tmp2[12]); obj[0] = user(tmp2[29]).ImpressionTypes.MENU; obj[1] = user(tmp2[29]).ImpressionNames.RING_TO_GUILD_VC_MENU_ITEM_SHOWN; obj = { voice_channel_id: selectedVoiceChannelId, voice_guild_id: null }; let guild_id2; if (selectedVoiceChannel != null) { guild_id2 = selectedVoiceChannel.guild_id; } obj[1] = guild_id2; obj[2] = obj; if (enabled) { enabled = canRing; } obj1 = { disableTrack: !enabled }; const items4 = [user.id]; displayProfile(tmp2[28])(obj, obj1, items4); const items5 = [user.id, , , ]; id = undefined; if (channel != null) { id = channel.id; } items5[1] = id; items5[2] = context; items5[3] = analyticsLocations; closure_14 = obj7.useCallback((showGuildProfile) => { const obj = {}; const merged = Object.assign(context); obj.showGuildProfile = showGuildProfile; obj.userId = user.id; id = undefined; if (channel != null) { id = channel.id; } obj.channelId = id; obj.sourceAnalyticsLocations = analyticsLocations; obj.ignoreBlockedSpeedBump = true; displayProfile(channel[30])(obj); }, items5); id = user.id; guildId1 = undefined; if (channel != null) { guildId1 = channel.getGuildId(); } let tmp31 = isShopThisLookMobileEnabled; if (isShopThisLookMobileEnabled) { tmp31 = equippedCollectibleSkuIds.length > 0; } closure_17 = tmp31; let guildId2; if (displayProfile != null) { guildId2 = displayProfile.guildId; } const items6 = []; if (null != guildId2) { obj2 = { label: null, action: null }; let intl = tmp(tmp2[31]).intl; obj2[0] = intl.string(tmp(tmp2[31]).t.GISTta); obj2[1] = function action() { trackUserProfileAction({ action: "PRESS_VIEW_MAIN_PROFILE", analyticsLocations }); callback(false); }; items6.push(obj2); } let guildId3; if (tmp7Result1Result != null) { guildId3 = tmp7Result1Result.guildId; } let tmp35 = null != guildId3; if (tmp35) { let guildId4; if (displayProfile != null) { guildId4 = displayProfile.guildId; } tmp35 = null == guildId4; } if (tmp35) { let obj3 = { label: null, action: null }; let intl2 = tmp(tmp2[31]).intl; obj3[0] = intl2.string(tmp(tmp2[31]).t.DisZzB); obj3[1] = function action() { trackUserProfileAction({ action: "PRESS_VIEW_SERVER_PROFILE", analyticsLocations }); callback(); }; items6.push(obj3); } const items7 = []; if (currentUser.id !== id) { let tmp38 = null != channel && !channel.isThread() && channel.isOwner(currentUser.id); if (tmp38) { const recipients = channel.recipients; let hasItem; if (recipients != null) { hasItem = recipients.includes(id); } tmp38 = hasItem; } if (tmp38) { let obj4 = { label: null, variant: "destructive", action: null }; let intl3 = tmp(tmp2[31]).intl; obj4[0] = intl3.string(tmp(tmp2[31]).t["n5zMI+"]); obj4[2] = function action() { displayProfile(channel[32]).removeRecipient(channel.id, id); const obj = displayProfile(channel[32]); displayProfile(channel[33]).hideActionSheet(); }; items7.push(obj4); } if (relationshipType !== id.FRIEND) { if (tmp31) { const obj5 = { label: null, action: null }; let intl5 = tmp(tmp2[31]).intl; obj5[0] = intl5.string(tmp(tmp2[31]).t.xNdRDO); obj5[1] = function action() { let obj = user(channel[24]); obj = { userId: id, guildId }; const result = obj.openShopThisLookActionSheet(obj); }; arr2 = items6.push(obj5); } if (isIgnored) { if (!tmp43) { const obj6 = { label: null, action: null }; const intl6 = tmp(tmp2[31]).intl; obj6[0] = intl6.string(tmp(tmp2[31]).t["8wXU9B"]); obj6[1] = function action() { trackUserProfileAction({ action: "UNIGNORE", analyticsLocations }); id = undefined; if (channel != null) { id = channel.id; } displayProfile(channel[37]).unignoreUser(id, newestAnalyticsLocation, id); callback(); }; arr3 = items7.push(obj6); } const push = items7.push; if (tmp43) { obj7 = { label: null, action: null }; const intl12 = tmp(tmp2[31]).intl; obj7[0] = intl12.string(tmp(tmp2[31]).t.XyHpKH); obj7[1] = function action() { let obj = { action: "UNBLOCK", analyticsLocations }; trackUserProfileAction(obj); obj = { location: newestAnalyticsLocation }; displayProfile(channel[37]).unblockUser(id, obj); callback(); const obj2 = displayProfile(channel[37]); const tmp2 = id; id = undefined; if (channel != null) { id = channel.id; } const result = displayProfile(channel[39]).showUnblockSuccessToast(tmp2, id); }; push(obj7); } else { const obj8 = { label: null, variant: "destructive", action: null }; const intl8 = tmp(tmp2[31]).intl; obj8[0] = intl8.string(tmp(tmp2[31]).t.l4Emac); obj8[2] = function action() { let obj = displayProfile(channel[33]); obj = { userId: id, channelId: null, onSuccess: null, impressionName: null }; id = undefined; if (channel != null) { id = channel.id; } obj[1] = id; obj[2] = function onSuccess() { id = undefined; if (id != null) { id = id.id; } const result = closure_1_1(closure_1_2[39]).showBlockSuccessToast(closure_15, id); }; obj[3] = user(channel[29]).ImpressionNames.BLOCK_USER_CONFIRMATION; obj.openLazy(user(channel[36])(channel[40], channel.paths), closure_17, obj, "stack"); }; push(obj8); if (result) { const obj9 = { label: null, variant: "destructive", action: null }; const intl10 = tmp(tmp2[31]).intl; obj9[0] = intl10.string(tmp(tmp2[31]).t.wqHXNt); obj9[2] = function action() { trackUserProfileAction({ action: "REPORT", analyticsLocations }); let tmp3; if ("@me" !== guildId1) { if (null !== tmp2) { tmp3 = tmp2; } } const result = user(channel[41]).showReportModalForUser(user, tmp3); const obj = { action: "REPORT", analyticsLocations }; const obj2 = user(channel[41]); displayProfile(channel[33]).hideActionSheet(); }; items7.push(obj9); } else { if (tmpResult6.isAndroid()) { const obj10 = { label: null, variant: "destructive", action: null }; const intl9 = tmp(tmp2[31]).intl; obj10[0] = intl9.string(tmp(tmp2[31]).t.TbHyMG); obj10[2] = function action() { let obj = { action: "REPORT", analyticsLocations }; trackUserProfileAction(obj); user(channel[43]).alertUserReported(); const obj2 = user(channel[43]); obj = { reported_user_id: id }; displayProfile(channel[44]).track(canRing.TNS_USER_REPORT_SUBMITTED, obj); }; items7.push(obj10); } tmpResult6 = tmp(tmp2[42]); } if (tmp8) { const obj11 = { label: null, action: null }; const intl11 = tmp(tmp2[31]).intl; obj11[0] = intl11.string(tmp(tmp2[31]).t.Sd8Ixw); obj11[1] = function action() { trackUserProfileAction({ action: "PRESS_INVITE_TO_SERVER", analyticsLocations }); const result = user(channel[13]).showGuildInviteActionSheet(id, newestAnalyticsLocation); }; items6.push(obj11); } } } if (relationshipType !== id.BLOCKED) { const obj12 = { label: null, action: null }; const intl7 = tmp(tmp2[31]).intl; obj12[0] = intl7.string(tmp(tmp2[31]).t.ytCpKs); obj12[1] = function action() { let obj = { action: "IGNORE", analyticsLocations }; trackUserProfileAction(obj); const obj2 = displayProfile(channel[33]); const tmp2 = channel; const tmp3 = user; obj = { userId: id, channelId: null, onSuccess: null, impressionName: null }; id = undefined; if (channel != null) { id = channel.id; } obj[1] = id; obj[2] = closure_14; obj[3] = tmp3(tmp2[29]).ImpressionNames.IGNORE_USER_CONFIRMATION; obj2.openLazy(user(channel[36])(channel[38], channel.paths), closure_1_18, obj, "stack"); }; items7.push(obj12); } } else { let intl4 = tmp(tmp2[31]).intl; const string = intl4.string; let t = tmp(tmp2[31]).t; if (tmp6) { let stringResult = string(t["8pOYUE"]); } else { stringResult = string(t.BGYkaH); } const obj13 = { label: null, action: null }; obj13[0] = stringResult; obj13[1] = function action() { let obj = { action: "PRESS_SET_FRIEND_NICKNAME", analyticsLocations }; trackUserProfileAction(obj); obj = { userId: id, showUserProfile: closure_14 }; displayProfile(channel[34]).pushLazy(user(channel[36])(channel[35], channel.paths), obj); const obj2 = displayProfile(channel[34]); displayProfile(channel[33]).hideActionSheet(); }; t = items6.push(obj13); } } if (!canRing) { const DeveloperMode = tmp(tmp2[47]).DeveloperMode; const setting = DeveloperMode.getSetting(); let tmp53 = setting; if (setting) { tmp53 = tidaWebformEnabled; } if (!tmp53) { const obj14 = { label: null, action: null }; const intl14 = tmp(tmp2[31]).intl; obj14[0] = intl14.string(tmp(tmp2[31]).t.y5MwJy); obj14[1] = function action() { trackUserProfileAction({ action: "COPY_USERNAME", analyticsLocations }); const obj = { action: "COPY_USERNAME", analyticsLocations }; const obj2 = user(channel[48]); obj2.copy(displayProfile(channel[49]).getUserTag(user, { decoration: "never", identifiable: "always" })); const obj3 = displayProfile(channel[49]); const result = user(channel[50]).presentUsernameCopied(); }; items6.push(obj14); } if (setting) { const push2 = items6.push; const obj15 = { label: null, action: null }; const intl15 = tmp(tmp2[31]).intl; const string3 = intl15.string; const t3 = tmp(tmp2[31]).t; if (tidaWebformEnabled) { obj15[0] = string3(t3.QvQeLv); obj15[1] = function action() { const items = []; let obj = { label: null, onPress: null }; const intl = user(channel[31]).intl; obj[0] = intl.string(user(channel[31]).t.y5MwJy); obj[1] = function onPress() { callback({ action: "COPY_USERNAME", analyticsLocations: closure_8 }); const obj = { action: "COPY_USERNAME", analyticsLocations: closure_8 }; const obj2 = bannerURL(closure_1_2[48]); obj2.copy(closure_1_1(closure_1_2[49]).getUserTag(bannerURL, { decoration: "never", identifiable: "always" })); const obj3 = closure_1_1(closure_1_2[49]); const result = bannerURL(closure_1_2[50]).presentUsernameCopied(); }; items.push(obj); obj = { label: null, onPress: null }; const intl2 = user(channel[31]).intl; obj[0] = intl2.string(user(channel[31]).t["/AXYnE"]); obj[1] = function onPress() { callback({ action: "COPY_USER_ID", analyticsLocations: closure_8 }); bannerURL(closure_1_2[48]).copy(closure_15); const obj = { action: "COPY_USER_ID", analyticsLocations: closure_8 }; const obj2 = bannerURL(closure_1_2[48]); bannerURL(closure_1_2[50]).presentIdCopied(); }; items.push(obj); let obj2 = bannerURL; let hasAvatarForGuildResult = null != bannerURL.avatar; if (!hasAvatarForGuildResult) { guildId = undefined; if (displayProfile != null) { guildId = displayProfile.guildId; } hasAvatarForGuildResult = obj2.hasAvatarForGuild(guildId); } if (hasAvatarForGuildResult) { obj = { label: null, onPress: null }; const intl3 = tmp(tmp2[31]).intl; obj[0] = intl3.string(tmp(tmp2[31]).t.gERDvM); obj[1] = function onPress() { callback({ action: "COPY_AVATAR_IMAGE_LINK", analyticsLocations: closure_8 }); guildId = undefined; if (guildId != null) { guildId = guildId.guildId; } const avatarURL = bannerURL.getAvatarURL(guildId, closure_1_12, true); if (null != avatarURL) { bannerURL(closure_1_2[48]).copy(avatarURL); const obj2 = bannerURL(closure_1_2[48]); bannerURL(closure_1_2[50]).presentLinkCopied(); const obj3 = bannerURL(closure_1_2[50]); } }; items.push(obj); } let obj4 = displayProfile; if (null != displayProfile) { obj1 = { canAnimate: true, size: null }; obj1[1] = enabled; bannerURL = obj4.getBannerURL(obj1); if (null != bannerURL) { obj2 = { label: null, onPress: null }; const intl4 = tmp(tmp2[31]).intl; obj2[0] = intl4.string(tmp(tmp2[31]).t.hsNv0R); obj2[1] = function onPress() { closure_1_7({ action: "COPY_BANNER_IMAGE_LINK", analyticsLocations: closure_1_8 }); user(channel[48]).copy(bannerURL); const obj = { action: "COPY_BANNER_IMAGE_LINK", analyticsLocations: closure_1_8 }; const obj2 = user(channel[48]); user(channel[50]).presentLinkCopied(); }; items.push(obj2); } } let obj3 = { options: items, key: "copy-info", header: null, stackingBehavior: "stack", hasIcons: false }; obj4 = { title: null }; const intl5 = tmp(tmp2[31]).intl; obj4[0] = intl5.string(user(channel[31]).t.QvQeLv); obj3[2] = obj4; let result = user(channel[51]).showSimpleActionSheet(obj3); }; push2(obj15); } else { obj15[0] = string3(t3["/AXYnE"]); obj15[1] = function action() { trackUserProfileAction({ action: "COPY_USER_ID", analyticsLocations }); user(channel[48]).copy(id); const obj = { action: "COPY_USER_ID", analyticsLocations }; const obj2 = user(channel[48]); user(channel[50]).presentIdCopied(); }; push2(obj15); } } let hasItem1 = null != channel && null != selectedChannel; if (hasItem1) { const TEXTUAL = userIsInCall.TEXTUAL; hasItem1 = TEXTUAL.has(selectedChannel.type); } if (hasItem1) { const obj16 = { label: null, action: null }; const intl16 = tmp(tmp2[31]).intl; obj16[0] = intl16.string(tmp(tmp2[31]).t.PHjkRE); obj16[1] = function action() { return displayProfile(channel[52])({ userId: id, selectedChannel, showUserProfile: closure_14, analyticsLocations }); }; items6.push(obj16); } if (0 !== items6.length) { const obj17 = { value: null, children: null }; obj17[0] = analyticsLocations; const obj18 = { ref: null, children: null }; obj18[0] = ref; const obj19 = { style: null, children: null }; obj19[0] = tmp19; const obj20 = { items: null, onOpen: null, children: null }; const items8 = [items6, items7]; obj20[0] = items8; obj20[1] = function onOpen() { if (closure_17) { const result = user(channel[55]).trackShopThisLookMenuAction(user(channel[55]).ShopThisLookMenuAction.MENU_VIEWED, guildId.ACTION_SHEET); const obj = user(channel[55]); } }; obj20[2] = function children(ref) { const merged = Object.assign(ref, Object.create(null)); let obj = { ref: ref.ref }; const merged1 = Object.assign(merged); obj.size = "sm"; obj.variant = "secondary-overlay"; const intl = user(channel[31]).intl; obj.accessibilityLabel = intl.string(user(channel[31]).t["+zofAD"]); obj = { size: "sm", color: displayProfile(channel[58]).colors.WHITE }; obj.icon = callback2(user(channel[57]).MoreHorizontalIcon, obj); return callback2(user(channel[56]).IconButton, obj); }; obj19[1] = callback(tmp(tmp2[54]).ContextMenu, obj20); obj18[1] = callback(tmp7(tmp2[53]).View, obj19); const items9 = [callback(selectedVoiceChannel, obj18), ]; const obj21 = { targetRef: null, visible: null, onDismiss: null, onPress: null }; obj21[0] = ref; obj21[1] = isVisible; obj21[2] = markAsDismissed; obj21[3] = callback; items9[1] = callback(tmp7(tmp2[59]), obj21); obj17[1] = items9; let tmp60 = callback2(tmp(tmp2[17]).AnalyticsLocationProvider, obj17); } else { tmp60 = null; } return tmp60; } else { const intl13 = tmp(tmp2[31]).intl; const string2 = intl13.string; let t2 = tmp(tmp2[31]).t; if (userIsInCall) { let string2Result = string2(t2.ygslb0); } else { string2Result = string2(t2.bHa9kN); } const obj22 = { label: null, action: null }; obj22[0] = string2Result; obj22[1] = function action() { let str = "RING"; if (userIsInCall) { str = "STOP_RINGING"; } trackUserProfileAction({ action: str, analyticsLocations }); const obj2 = displayProfile(channel[45]); if (userIsInCall) { const items = [user.id]; obj2.stopRinging(selectedVoiceChannelId, items); } else { const items1 = [user.id]; obj2.ring(selectedVoiceChannelId, items1, "user_profile_overflow_menu"); let tmp7 = enabled; if (enabled) { tmp7 = null != selectedVoiceChannel; } if (tmp7) { displayProfile(channel[33]).hideAllActionSheets(); const obj3 = displayProfile(channel[33]); user(channel[46]).openChannelCallModal(selectedVoiceChannel); const obj4 = user(channel[46]); } } }; t2 = items6.push(obj22); } };