2026-10-02 13:37:24 +00:00
|
|
|
// Module ID: 11294
|
|
|
|
|
// Function ID: 11295
|
2026-09-18 19:45:33 +00:00
|
|
|
// Name: onTapCheckpointCard
|
2026-10-02 13:37:24 +00:00
|
|
|
// Dependencies: [2051, 1086, 1253, 5017, 2]
|
2026-09-18 19:45:33 +00:00
|
|
|
// Exports: onTapCheckpointCard
|
|
|
|
|
|
2026-10-02 13:37:24 +00:00
|
|
|
// Module 11294 (onTapCheckpointCard)
|
|
|
|
|
import Constants from "Constants" /* 1086 */;
|
|
|
|
|
import AnalyticsUtilsDefault from "AnalyticsUtils" /* 1253 */;
|
|
|
|
|
import AppAnalyticsUtils from "AppAnalyticsUtils" /* 5017 */;
|
|
|
|
|
import ChannelStore from "ChannelStore" /* 2051 */;
|
2026-10-01 14:13:23 +00:00
|
|
|
import size from "module_2" /* 2 */;
|
2026-09-18 19:45:33 +00:00
|
|
|
|
2026-10-01 14:13:23 +00:00
|
|
|
const AnalyticEvents = Constants.AnalyticEvents;
|
2026-09-18 19:45:33 +00:00
|
|
|
const result = size.fileFinishedImporting("modules/checkpoint/native/onTapCheckpointCard.tsx");
|
|
|
|
|
|
2026-10-01 14:13:23 +00:00
|
|
|
export const onTapCheckpointCard = function onTapCheckpointCard(authorId) {
|
|
|
|
|
authorId = authorId.authorId;
|
|
|
|
|
const channel = ChannelStore.getChannel(authorId.message.channel_id);
|
|
|
|
|
const track = AnalyticsUtilsDefault.track;
|
|
|
|
|
const CHECKPOINT_CARD_CLICKED = AnalyticEvents.CHECKPOINT_CARD_CLICKED;
|
|
|
|
|
const obj = { other_user_id: authorId };
|
|
|
|
|
AnalyticsUtilsDefault;
|
|
|
|
|
const obj2 = AppAnalyticsUtils;
|
|
|
|
|
const merged = Object.assign(obj2.collectChannelAnalyticsMetadata(channel));
|
2026-09-18 19:45:33 +00:00
|
|
|
let guild_id;
|
2026-10-01 14:13:23 +00:00
|
|
|
const collectGuildAnalyticsMetadata = AppAnalyticsUtils.collectGuildAnalyticsMetadata;
|
|
|
|
|
AppAnalyticsUtils;
|
2026-09-18 19:45:33 +00:00
|
|
|
if (channel != null) {
|
|
|
|
|
guild_id = channel.guild_id;
|
|
|
|
|
}
|
2026-10-01 14:13:23 +00:00
|
|
|
const merged1 = Object.assign(collectGuildAnalyticsMetadata(guild_id));
|
|
|
|
|
track(CHECKPOINT_CARD_CLICKED, obj);
|
2026-09-18 19:45:33 +00:00
|
|
|
};
|