Skipped 1 file(s) >100MB (GitHub limit): source/__polyfill/04xxx/module_4790.js (118.4 MB)
28 lines
1.1 KiB
TypeScript
28 lines
1.1 KiB
TypeScript
// Module ID: 12009
|
|
// Function ID: 12010
|
|
// Name: onTapCheckpointCard
|
|
// Dependencies: [1957, 1074, 1242, 4785, 2]
|
|
// Exports: onTapCheckpointCard
|
|
|
|
// Module 12009 (onTapCheckpointCard)
|
|
import AnalyticsUtilsDefault from "AnalyticsUtils" /* 1242 */;
|
|
import AppAnalyticsUtils from "AppAnalyticsUtils" /* 4785 */;
|
|
import ChannelStore from "ChannelStore" /* 1957 */;
|
|
|
|
require = fn;
|
|
const AnalyticEvents = fn(1074).AnalyticEvents;
|
|
const size = fn(2);
|
|
const result = size.fileFinishedImporting("modules/checkpoint/native/onTapCheckpointCard.tsx");
|
|
|
|
export const onTapCheckpointCard = function onTapCheckpointCard(message) {
|
|
const channel = ChannelStore.getChannel(message.message.channel_id);
|
|
const obj = AnalyticsUtilsDefault;
|
|
const obj2 = { other_user_id: message.authorId };
|
|
const merged = Object.assign(AppAnalyticsUtils.collectChannelAnalyticsMetadata(channel));
|
|
let guild_id;
|
|
if (channel != null) {
|
|
guild_id = channel.guild_id;
|
|
}
|
|
const merged1 = Object.assign(AppAnalyticsUtils.collectGuildAnalyticsMetadata(guild_id));
|
|
obj.track(AnalyticEvents.CHECKPOINT_CARD_CLICKED, obj2);
|
|
};
|