/* Metro module 14813; source: modules/icymi/native/ICYMI.tsx; dependencies: [57, 31, 27, 4502, 1226, 1867, 9577, 9569, 14814, 1376, 33, 4501, 697, 14815, 8341, 13512, 9580, 4080, 14817, 1962, 4068, 14828, 4573, 1244, 7556, 6618, 7704, 3963, 5278, 14762, 14764, 5312, 9579, 1478, 1585, 1485, 4884, 566, 14744, 14848, 14851, 7014, 1365, 14838, 1484, 7230, 5080, 11179, 13574, 677, 14852, 14858, 14863, 14876, 14877, 14878, 14879, 14880, 14881, 14882, 14883, 7701, 14884, 8416, 477, 9871, 4003, 14885, 14816, 3868, 2] */ function _fun111780(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#111780, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:15010:6, offset: 0x023b1c82, size: 486 bytes, params: 8, frame: 19 const env0_0 = require; const keyExtractor_111811 = function(a0) { return a0.id; }; const Object = global.Object; Object.defineProperty(exports, '__esModule', {value: true}); const env0_3 = importDefault(57) /* metro dependency 57 */; const value = importAll(31) /* metro dependency 31 */; const value2 = require(27) /* metro dependency 27 */; const env0_5 = value2.View; const env0_6 = value2.RefreshControl; const accessibilityStore = importDefault(4502) /* metro dependency 4502: AccessibilityStore */; const authenticationStore = importDefault(1226) /* metro dependency 1226: AuthenticationStore */; const guildStore = importDefault(1867) /* metro dependency 1867: GuildStore */; const icymiFiltersStore = importDefault(9577) /* metro dependency 9577: ICYMIFiltersStore */; const icymiStore = importDefault(9569) /* metro dependency 9569: ICYMIStore */; const env0_12 = (require(14814) /* metro dependency 14814: ICYMIConstants */).NUM_GUILDS_EXTENDED_ONBOARDING; const env0_13 = (require(1376) /* metro dependency 1376: DismissibleContentConstants */).ContentDismissActionType; const value3 = require(33) /* metro dependency 33 */; const env0_14 = value3.jsx; const env0_15 = value3.Fragment; const env0_16 = value3.jsxs; const env0_17 = (require(4501) /* metro dependency 4501: createStyles */).createStyles(function(a0) { var object2 = {}; object2.backgroundColor = importDefault(dependencyMap[12]).colors.BACKGROUND_BASE_LOWEST; object2.paddingHorizontal = importDefault(dependencyMap[12]).space.PX_8; object2.overflow = 'hidden'; object2.flex = 1; object2.paddingTop = a0; return {containerOuterTablet: object2}; }); const env0_18 = (require(14815) /* metro dependency 14815: createICYMIStyles */).createICYMIStyles(_fun111813); const env0_19 = value.memo(_fun111814); (require(2) /* metro dependency 2 */).fileFinishedImporting('modules/icymi/native/ICYMI.tsx'); exports.ICYMITab = ICYMITab; } function SettingsButton() { // fn#111781, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:15010:1824, offset: 0x023b1e68, size: 112 bytes, params: 1, frame: 18 const IconButton = (require(8341) /* metro dependency 8341: IconButtonNative */).IconButton; const FiltersHorizontalIcon = (require(13512) /* metro dependency 13512: FiltersHorizontalIcon */).FiltersHorizontalIcon; return ( } onPress={onPress_111782} /> ); } function InfoButton() { // fn#111783, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:15010:2319, offset: 0x023b1f78, size: 112 bytes, params: 1, frame: 18 const IconButton = (require(8341) /* metro dependency 8341: IconButtonNative */).IconButton; const CircleInformationIcon = (require(4068) /* metro dependency 4068: CircleInformationIcon */).CircleInformationIcon; return ( } onPress={onPress_111784} /> ); } function ICYMIHeaderTextWrapper() { // fn#111785, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:15010:2780, offset: 0x023b2069, size: 73 bytes, params: 1, frame: 16 return ( {env0_4.useMemo(_fun111786, [])} ); } function handleEndReached() { // fn#111787, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:15010:3995, offset: 0x023b21a2, size: 37 bytes, params: 1, frame: 11 (require(9579) /* metro dependency 9579: ICYMIUtils */).hydrateNextPage(); } function ICYMI({inNestedNavigator}) { // fn#111788, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:15010:4050, offset: 0x023b21c7, size: 1612 bytes, params: 2, frame: 45 const value2 = env0_18(); const {height, width} = (importDefault(1478) /* metro dependency 1478: useWindowDimensionsNative */)(); const top = (importDefault(1585) /* metro dependency 1585: useSafeAreaInsetsNative */)().top; const value4 = (require(1485) /* metro dependency 1485 */).useIsFocused(); env0_4.useLayoutEffect(_fun111789); const useReducedMotion = (require(566) /* metro dependency 566: flux */).useStateFromStores([AccessibilityStore], function() { return AccessibilityStore.useReducedMotion; }); const value5 = (require(566) /* metro dependency 566: flux */).useStateFromStores([ICYMIStore], function() { return ICYMIStore.notificationItem(); }, []); const showDot = (importDefault(14744) /* metro dependency 14744: useICYMITabBadge */)().showDot; env0_4.useEffect(_fun111792, [value4]); const value6 = (require(14848) /* metro dependency 14848: useSharedICYMILogic */).useSharedICYMILogic({showDot: showDot, notificationItem: value5}); const data = value6.data; const env0_3 = data; const loading = value6.loading; const version = value6.version; const visibleItemIds = value6.visibleItemIds; var env0_4 = visibleItemIds; const endVisible = value6.endVisible; const isRefreshing = value6.isRefreshing; const handleOnRefresh = value6.handleOnRefresh; const stickyHeaderIndices = value6.stickyHeaderIndices; const viewabilityConfigCallbackPairs = value6.viewabilityConfigCallbackPairs; (require(14851) /* metro dependency 14851: useICYMIEmptyLoadingAnalytics */).useICYMIEmptyLoadingAnalytics(loading, value4); const useGetDismissibleContentModule = require(7014) /* metro dependency 7014: useGetDismissibleContent */; const useGetDismissibleContent = useGetDismissibleContentModule.useGetDismissibleContent; const DismissibleContent = (require(1365) /* metro dependency 1365: dismissible_content */).DismissibleContent; const ICYMI_ALPHA_UPSELL = DismissibleContent.ICYMI_ALPHA_UPSELL; const value8 = env0_3(Reflect.apply(useGetDismissibleContent, useGetDismissibleContentModule, [[ICYMI_ALPHA_UPSELL]]), 2); env0_4.useEffect(_fun111794, [value8[0], value8[1], (require(566) /* metro dependency 566: flux */).useStateFromStores([GuildStore], function() { return GuildStore.getGuildCount(); })]); env0_4.useEffect(_fun111795, [endVisible]); const value11 = env0_4.useRef(null); (require(1485) /* metro dependency 1485 */).useScrollToTop(env0_4.useRef({scrollToTop: scrollToTop_111796})); env0_4.useEffect(_fun111798, [(require(566) /* metro dependency 566: flux */).useStateFromStores([ICYMIFiltersStore], function() { return ICYMIFiltersStore.getDoubleTapBehavior(); }), (require(1484) /* metro dependency 1484: useNavigationNative */).useNavigation(), useReducedMotion]); const env0_13 = env0_4.useCallback(_fun111801, [value11, useReducedMotion]); const value16 = height - top - 32 - 24 - (require(13574) /* metro dependency 13574: useTabsVisible */).useMainTabsHeight(); const value17 = env0_4.useCallback(_fun111802, [visibleItemIds, endVisible]); const value18 = env0_4.useMemo(function() { return {backgroundColor: 'transparent'}; }, []); const value19 = env0_4.useMemo(_fun111808, [value16, data.length, width]); const value20 = (require(7701) /* metro dependency 7701: ClientThemesOverrides */).useClientThemesOverride(); const value21 = (require(566) /* metro dependency 566: flux */).useStateFromStores([ICYMIStore], function() { return ICYMIStore.hasNewContent(); }, []); const items2 = [value2.containerInPanels]; items2[1] = value2.containerBackground; const env0_192 = ((Component) => )(env0_19); const items3 = [value2.flashListWrapper]; items3[1] = {height: value16, width: width, marginHorizontal: 'auto'}; items3[2] = value20; const items4 = [((Component) => )(importDefault(14884) /* metro dependency 14884: NewContentPill */)]; const FlashList = (require(8416) /* metro dependency 8416: flashList */).FlashList; const flashListProps = {ref: value11, scrollEnabled: !loading, extraData: {endVisible: endVisible}, contentContainerStyle: value18}; const intl = (require(1244) /* metro dependency 1244: indexNative */).intl; const string = intl.string; const OIgYlQ = (require(1244) /* metro dependency 1244: indexNative */).t.OIgYlQ; flashListProps.accessibilityLabel = Reflect.apply(string, intl, [OIgYlQ]); flashListProps.data = data; flashListProps.refreshing = isRefreshing; flashListProps.refreshControl = ; flashListProps.onEndReachedThreshold = 3; flashListProps.onEndReached = handleEndReached; flashListProps.keyExtractor = keyExtractor_111811; flashListProps.renderItem = value17; flashListProps.estimatedItemSize = 200; flashListProps.estimatedListSize = value19; flashListProps.getItemType = (require(9579) /* metro dependency 9579: ICYMIUtils */).itemToType; (require(477) /* metro dependency 477: PlatformUtils */).isAndroid(); flashListProps.drawDistance = 100; flashListProps.stickyHeaderIndices = stickyHeaderIndices; flashListProps.viewabilityConfigCallbackPairs = viewabilityConfigCallbackPairs; items4[1] = ; const TTIFirstContentfulPaint = (require(9871) /* metro dependency 9871: TTIFirstContentfulPaint */).TTIFirstContentfulPaint; items4[2] = ; return ( {env0_192} {items4} ); } function _fun111813({margin}) { // fn#111813, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:15010:539, offset: 0x023b2f7e, size: 621 bytes, params: 2, frame: 16 const object3 = {container: {'flex': 1, 'flexShrink': 1, 'flexGrow': 1}}; const object4 = {'flex': 1, 'flexShrink': 1, 'flexGrow': 1, 'overflow': 'hidden'}; object4.borderTopLeftRadius = (importDefault(697) /* metro dependency 697: native */).radii.sm; object4.borderTopRightRadius = (importDefault(697) /* metro dependency 697: native */).radii.sm; object3.containerInPanels = object4; let BACKGROUND_BASE_LOW = (importDefault(697) /* metro dependency 697: native */).colors.BACKGROUND_BASE_LOW; object3.containerBackground = {backgroundColor: BACKGROUND_BASE_LOW}; BACKGROUND_BASE_LOW = (importDefault(697) /* metro dependency 697: native */).colors.BACKGROUND_BASE_LOW; object3.flashListWrapper = {'backgroundColor': null, 'minHeight': 2, 'flex': 1, backgroundColor: BACKGROUND_BASE_LOW}; const INTERACTIVE_TEXT_DEFAULT = (importDefault(697) /* metro dependency 697: native */).colors.INTERACTIVE_TEXT_DEFAULT; object3.refreshing = {color: INTERACTIVE_TEXT_DEFAULT}; BACKGROUND_BASE_LOW = (importDefault(697) /* metro dependency 697: native */).colors.BACKGROUND_BASE_LOW; object3.header = {'backgroundColor': null, 'position': 'relative', 'overflow': 'hidden', 'width': '100%', backgroundColor: BACKGROUND_BASE_LOW}; object3.headerLeft = {'flexDirection': 'row', 'alignItems': 'center'}; const object5 = {}; const PX_16 = (importDefault(697) /* metro dependency 697: native */).space.PX_16; object5.marginRight = PX_16; let PX_32 = (importDefault(697) /* metro dependency 697: native */).space.PX_32; object5.height = PX_32; PX_32 = (importDefault(697) /* metro dependency 697: native */).space.PX_32; object5.width = PX_32; object5.alignItems = 'center'; object5.justifyContent = 'center'; object5.borderRadius = (importDefault(697) /* metro dependency 697: native */).radii.lg; object3.headerClose = object5; object3.headerTitle = {'height': 56, 'marginHorizontal': null, 'flexDirection': 'row', 'alignItems': 'center', 'justifyContent': 'space-between', marginHorizontal: margin}; object3.headerText = {'flexDirection': 'row', 'alignItems': 'center', 'gap': 4}; const PX_12 = (importDefault(697) /* metro dependency 697: native */).space.PX_12; object3.headerActions = {'flexDirection': 'row', 'alignItems': 'center', gap: PX_12}; const object6 = {'height': 18, 'width': 18}; object6.borderRadius = (importDefault(697) /* metro dependency 697: native */).radii.round; object3.notificationBadge = object6; const PX_96 = (importDefault(697) /* metro dependency 697: native */).space.PX_96; object3.loading = {'flex': 1, 'justifyContent': 'center', paddingTop: PX_96}; const BORDER_SUBTLE = (importDefault(697) /* metro dependency 697: native */).colors.BORDER_SUBTLE; object3.headerBorder = {'position': 'absolute', 'bottom': 0, 'left': 0, 'right': 0, 'backgroundColor': null, 'height': 1, backgroundColor: BORDER_SUBTLE}; return object3; } function _fun111814({inNestedNavigator}) { // fn#111814, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:15010:3236, offset: 0x023b31eb, size: 638 bytes, params: 2, frame: 33 var r14; const PressableOpacity = (require(5278) /* metro dependency 5278: Pressables */).PressableOpacity; const intl = (require(1244) /* metro dependency 1244: indexNative */).intl; const value2 = env0_18(); const value3 = (importDefault(7556) /* metro dependency 7556: useIsWindowLarge */)(); const SafeAreaPaddingView = (require(6618) /* metro dependency 6618: SafeAreaView */).SafeAreaPaddingView; const header = value2.header; const ThemedGradient = importDefault(7704) /* metro dependency 7704: ThemedGradient */; const {LEVEL_7, LEVEL_8} = (require(3963) /* metro dependency 3963: ClientThemesUtils */).OverlayOpacity; const items2 = []; const headerTitle = value2.headerTitle; const headerLeft = value2.headerLeft; if (value3) { r14 = {inNestedNavigator ? ((LeftBackIconWithBadge) => )((require(14764) /* metro dependency 14764: BackIconWithBadge */).LeftBackIconWithBadge) : ((XSmallIcon) => )((require(5312) /* metro dependency 5312: XSmallIcon */).XSmallIcon)}; } else if (inNestedNavigator) { r14 = {inNestedNavigator ? ((LeftBackIconWithBadge) => )((require(14764) /* metro dependency 14764: BackIconWithBadge */).LeftBackIconWithBadge) : ((XSmallIcon) => )((require(5312) /* metro dependency 5312: XSmallIcon */).XSmallIcon)}; } else { r14 = null; } items2[1] = {r14}; items2[2] = ; return ( {items2} ); } function ICYMITab({route}) { // fn#111815, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:15010:8277, offset: 0x023b3469, size: 496 bytes, params: 2, frame: 30 const value3 = (importDefault(4003) /* metro dependency 4003: useColorThemeBackground */)(); const id = (require(566) /* metro dependency 566: flux */).useStateFromStores([AuthenticationStore], function() { return AuthenticationStore.getId(); }); const value4 = (importDefault(7556) /* metro dependency 7556: useIsWindowLarge */)(); const top = (importDefault(1585) /* metro dependency 1585: useSafeAreaInsetsNative */)().top; const inNestedNavigator = route == null || route.params == null ? undefined : route.params.inNestedNavigator; const styles = useStyles(top); const value5 = env0_4.useMemo(_fun111817, [value4, styles.containerOuterTablet]); const r9 = value4 ? View : env0_4.Fragment; const AppFreezer = importDefault(14885) /* metro dependency 14885: AppFreezer */; const ICYMIContextProvider = (require(14816) /* metro dependency 14816: ICYMIContext */).ICYMIContextProvider; const r9Props = {...(value4 ? {style: value5} : {})}; const value6 = ((Component) => )(importDefault(7704) /* metro dependency 7704: ThemedGradient */); const ThemeContextProvider = (require(3868) /* metro dependency 3868: native */).ThemeContextProvider; return ( {((Component) => {value6})(r9)} ); } function SettingsButtonOnPress() { // fn#111782, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:15010:1996, owner: SettingsButton.onPress, offset: 0x023b1ed8, size: 160 bytes, params: 1, frame: 19 let value = environment.__proto__; importDefault(dependencyMap[16]).itemInteracted('filters_button', 'filters_button', 'press_info_button'); importDefault(dependencyMap[16]).feedPageActioned({actionParameters: {'actionGestureType': 'press', 'actionTargetElement': 'settings_button', 'actionIntentType': 'open', 'actionDestinationType': null}}); const defaultImport3 = importDefault(dependencyMap[17]); const openLazy = defaultImport3.openLazy; value = require(dependencyMap[19]); value = value(dependencyMap[18], dependencyMap.paths); Reflect.apply(openLazy, defaultImport3, [value, 'ICYMISettingsActionSheet', {}]); } function InfoButtonOnPress() { // fn#111784, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:15010:2487, owner: InfoButton.onPress, offset: 0x023b1fe8, size: 129 bytes, params: 1, frame: 19 const value = environment.__proto__; (importDefault(9580) /* metro dependency 9580: ICYMIActionCreators */).itemInteracted('info_button', 'info_button', 'press_info_button'); (importDefault(9580) /* metro dependency 9580: ICYMIActionCreators */).feedPageActioned({actionParameters: {'actionGestureType': 'press', 'actionTargetElement': 'info_button', 'actionIntentType': 'open', 'actionDestinationType': null}}); (require(14828) /* metro dependency 14828: NativeICYMIUtils */).pushICYMIInfoModal({extendedOnboarding: true}); } function _fun111786() { // fn#111786, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:15010:2837, offset: 0x023b20b2, size: 240 bytes, params: 1, frame: 24 const jsxRuntimeEnv1_15Binding = jsxRuntimeEnv1_15; const Text = (require(4573) /* metro dependency 4573: Text */).Text; const intl = (require(1244) /* metro dependency 1244: indexNative */).intl; let string = intl.string; const SY4sdZ = (require(1244) /* metro dependency 1244: indexNative */).t.SY4sdZ; const text = {Reflect.apply(string, intl, [SY4sdZ])}; string = intl.string; const Ac2OZA = (require(1244) /* metro dependency 1244: indexNative */).t.Ac2OZA; return ( <> {text} {Reflect.apply(string, intl, [Ac2OZA])} ); } function _fun111789() { // fn#111789, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:15010:4194, offset: 0x023b2813, size: 37 bytes, params: 1, frame: 11 const value = environment.__proto__; (require(4884) /* metro dependency 4884: TTIAnalyticsUtils */).trackAppUIViewed(); } function _fun111792() { // fn#111792, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:15010:4393, offset: 0x023b284b, size: 45 bytes, params: 1, frame: 12 const value = environment.__proto__; (importDefault(9580) /* metro dependency 9580: ICYMIActionCreators */).setTabFocused(env0_1); } function _fun111794() { // fn#111794, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:15010:4890, offset: 0x023b288b, size: 91 bytes, params: 1, frame: 16 var value2; if (env0_7 != null) { value2 = environment.__proto__; (require(14828) /* metro dependency 14828: NativeICYMIUtils */).pushICYMIInfoModal({extendedOnboarding: guildCount <= NUM_GUILDS_EXTENDED_ONBOARDING}); env0_8(ContentDismissActionType.USER_DISMISS); } } function _fun111795() { // fn#111795, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:15010:5003, offset: 0x023b28e6, size: 116 bytes, params: 1, frame: 16 var r0; var defaultImport; var openLazy; var value; const endVisibleBinding = endVisible; if (endVisibleBinding) { value = environment.__proto__; value = ICYMIStore.hasOpenedEnoughTimes(); r0 = value; } else { r0 = endVisibleBinding; } if (r0) { value = environment.__proto__; defaultImport = importDefault(dependencyMap[17]); openLazy = defaultImport.openLazy; value = require(dependencyMap[19]); value = value(dependencyMap[43], dependencyMap.paths); Reflect.apply(openLazy, defaultImport, [value, 'ICYMIFeedbackSheet', {}]); } } function ICYMIScrollToTop() { // fn#111796, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:15010:5156, owner: ICYMI.scrollToTop, offset: 0x023b295a, size: 54 bytes, params: 1, frame: 13 const current = env0_10.current; if (current != null) { current.scrollToOffset({offset: 0, animated: !useReducedMotion}); } } function _fun111798() { // fn#111798, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:15010:5369, offset: 0x023b29a5, size: 102 bytes, params: 1, frame: 14 const doubleTapBehaviorBinding = doubleTapBehavior; const GravityICYMIDoubleTapBehavior = (require(7230) /* metro dependency 7230: ICYMITypes */).GravityICYMIDoubleTapBehavior; const DEFAULT = GravityICYMIDoubleTapBehavior.DEFAULT; if (doubleTapBehaviorBinding === DEFAULT) { env0_11.current = {scrollToTop: scrollToTop_111799}; } else { env0_11.current = {scrollToTop: scrollToTop_111800}; } } function _fun111802({item}) { // fn#111802, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:15010:5812, offset: 0x023b2aa1, size: 927 bytes, params: 2, frame: 20 var environment; var r0; var r4; var value; var ICYMIForumThreadRow; var object2; var channelType; let data = item.data; const kind = data.kind; if (kind === 'message') { channelType = item.channelType; value = environment.__proto__; if (channelType === (require(677) /* metro dependency 677: ChannelTypes */).ChannelTypes.GUILD_ANNOUNCEMENT) { value = importDefault(14852) /* metro dependency 14852: AnnouncementMessageRow */; value = ((Component) => )(value); r0 = value; } else { value = importDefault(14858) /* metro dependency 14858: ICYMIMessageRow */; object2 = {}; data = item.data; object2.message = data.message; data = item.data; object2.messageContext = data.messageContext; object2.visible = visibleItemIds.find(_fun111804) != null; value = ((Component) => )(value); r0 = value; } r4 = r0; value = environment.__proto__; const CardHeightMeasurer = (require(14883) /* metro dependency 14883: CardHeightMeasurer */).CardHeightMeasurer; return ( {r4} ); } if (kind === 'contentInventory') { value = environment.__proto__; value = importDefault(14863) /* metro dependency 14863: ContentInventoryEntryRow */; value = ((Component) => )(value); r4 = value; value = environment.__proto__; const CardHeightMeasurer2 = (require(14883) /* metro dependency 14883: CardHeightMeasurer */).CardHeightMeasurer; return ( {r4} ); } if (kind === 'loading') { value = environment.__proto__; const ICYMILoading = (require(14876) /* metro dependency 14876: ICYMILoading */).ICYMILoading; return ; } if (kind === 'bottomLoading') { value = environment.__proto__; const ICYMIBottomLoading = (require(14877) /* metro dependency 14877: ICYMIBottomLoading */).ICYMIBottomLoading; return ; } if (kind === 'end') { value = environment.__proto__; value = importDefault(14878) /* metro dependency 14878: CaughtUpRow */; return ((Component) => )(value); } if (kind === 'guildEvent') { value = environment.__proto__; value = importDefault(14879) /* metro dependency 14879: ICYMIGuildEventRow */; value = ((Component) => )(value); r4 = value; value = environment.__proto__; const CardHeightMeasurer3 = (require(14883) /* metro dependency 14883: CardHeightMeasurer */).CardHeightMeasurer; return ( {r4} ); } if (kind === 'recommendedGuilds') { value = environment.__proto__; const ICYMIServerRecommendationRow = (require(14880) /* metro dependency 14880: ICYMIServerRecommendationRow */).ICYMIServerRecommendationRow; value = ; r4 = value; value = environment.__proto__; const CardHeightMeasurer4 = (require(14883) /* metro dependency 14883: CardHeightMeasurer */).CardHeightMeasurer; return ( {r4} ); } if (kind === 'icymiHeader') { value = environment.__proto__; value = importDefault(14881) /* metro dependency 14881: ICYMIHeader */; return ((Component) => )(value); } if (kind === 'forumThread') { value = environment.__proto__; ICYMIForumThreadRow = (require(14882) /* metro dependency 14882: ICYMIForumThreadRow */).ICYMIForumThreadRow; object2 = {}; data = item.data; object2.message = data.message; data = item.data; object2.channel = data.threadChannel; value = visibleItemIds.find(function(a0) { return a0.item.id === item.id; }); object2.visible = value != null; value = ; r4 = value; value = environment.__proto__; const CardHeightMeasurer5 = (require(14883) /* metro dependency 14883: CardHeightMeasurer */).CardHeightMeasurer; return ( {r4} ); } return null; } function _fun111808() { // fn#111808, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:15010:6904, offset: 0x023b2e6b, size: 46 bytes, params: 1, frame: 4 return data.length > 0 ? {height: env0_14, width: width} : undefined; } function ICYMIOnPress() { // fn#111810, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:15010:7270, owner: ICYMI.onPress, offset: 0x023b2eac, size: 112 bytes, params: 1, frame: 18 const value = environment.__proto__; (importDefault(9580) /* metro dependency 9580: ICYMIActionCreators */).itemInteracted('refresh_button', 'refresh_button', 'press_refresh_button'); (importDefault(9580) /* metro dependency 9580: ICYMIActionCreators */).feedPageActioned({actionParameters: {'actionGestureType': 'press', 'actionTargetElement': 'new_content_pill', 'actionIntentType': 'refresh', 'actionDestinationType': null}}); handleOnRefresh(); env0_13(); } function _fun111817() { // fn#111817, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:15010:8483, offset: 0x023b3659, size: 24 bytes, params: 1, frame: 3 return env0_0 ? styles.containerOuterTablet : undefined; } function scrollToTop_111799() { // fn#111799, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:15010:5448, offset: 0x023b2a0b, size: 54 bytes, params: 1, frame: 13 const current = env1_10.current; if (current != null) { current.scrollToOffset({offset: 0, animated: !useReducedMotion}); } } function scrollToTop_111800() { // fn#111800, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:15010:5546, offset: 0x023b2a41, size: 96 bytes, params: 1, frame: 18 let value = environment.__proto__.__proto__; const defaultImport = importDefault(dependencyMap[46]); const pushLazy = defaultImport.pushLazy; value = require(dependencyMap[19]); value = value(dependencyMap[47], dependencyMap.paths); Reflect.apply(pushLazy, defaultImport, [value, {}, 'for-later-modal', {presentation: 'modal'}]); }