// Module ID: 17575 // Function ID: 17576 // Name: ForumManager // Dependencies: [1958, 1965, 7228, 7414, 2] // Module 17575 (ForumManager) import ForumPostDataLoader from "ForumPostDataLoader" /* 7414 */; import ChannelStore from "ChannelStore" /* 1958 */; import AutomaticLifecycleManager from "AutomaticLifecycleManager" /* 7228 */; require = fn; const isStaticChannelRoute = fn(1965).isStaticChannelRoute; class ForumManager extends tmp2 { constructor() { applyArgumentsResult = HermesBuiltin.applyArguments(new.target, new.target); applyArgumentsResult.actions = { CHANNEL_PRELOAD: applyArgumentsResult.handleChannelPreload }; return applyArgumentsResult; } } ForumManager.prototype["handleChannelPreload"] = function handleChannelPreload(channelId) { channelId = channelId.channelId; if (!isStaticChannelRoute(channelId)) { const channel = ChannelStore.getChannel(channelId); if (tmp3) { ForumPostDataLoader.preloadForumThreads(channel); } tmp3 = null != channel && channel.isForumLikeChannel(); } }; const forumManager = new ForumManager(); const size = fn(2); const result = size.fileFinishedImporting("modules/forums/ForumManager.tsx"); export default forumManager;