Skipped 1 file(s) >100MB (GitHub limit): source/__polyfill/04xxx/module_4823.js (118.4 MB)
31 lines
1.2 KiB
TypeScript
31 lines
1.2 KiB
TypeScript
// Module ID: 17554
|
|
// Function ID: 17555
|
|
// Name: TopEmojisDataManager
|
|
// Dependencies: [4459, 1375, 7228, 10417, 2]
|
|
|
|
// Module 17554 (TopEmojisDataManager)
|
|
import TopEmojisUtils from "TopEmojisUtils" /* 10417 */;
|
|
import SelectedGuildStore from "SelectedGuildStore" /* 4459 */;
|
|
import AutomaticLifecycleManager from "AutomaticLifecycleManager" /* 7228 */;
|
|
|
|
require = fn;
|
|
const EmojiInteractionPoint = fn(1375).EmojiInteractionPoint;
|
|
class TopEmojisDataManager extends tmp2 {
|
|
constructor() {
|
|
applyArgumentsResult = HermesBuiltin.applyArguments(new.target, new.target);
|
|
applyArgumentsResult.actions = { EMOJI_INTERACTION_INITIATED: applyArgumentsResult.handleInteraction };
|
|
return applyArgumentsResult;
|
|
}
|
|
}
|
|
TopEmojisDataManager.prototype["handleInteraction"] = function handleInteraction(interaction) {
|
|
const items = [EmojiInteractionPoint.EmojiButtonMouseEntered];
|
|
if (items.includes(interaction.interaction)) {
|
|
const guildId = SelectedGuildStore.getGuildId();
|
|
const result = TopEmojisUtils.maybeFetchTopEmojisByGuild(guildId);
|
|
}
|
|
};
|
|
const topEmojisDataManager = new TopEmojisDataManager();
|
|
const size = fn(2);
|
|
let result = size.fileFinishedImporting("modules/emojis/top_emojis/TopEmojisDataManager.tsx");
|
|
|
|
export default topEmojisDataManager;
|