// Module ID: 16369 // Function ID: 16370 // Name: trackActivityThermalStateNoticeShown // Dependencies: [1391, 4544, 1390, 676, 4014, 698, 2] // Exports: trackActivityThermalStateNoticeShown // Module 16369 (trackActivityThermalStateNoticeShown) import expandEventPropertiesDefault from "expandEventProperties" /* 698 */; import getEmbeddedActivityLocationChannelId from "getEmbeddedActivityLocationChannelId" /* 4014 */; import closure_3 from "ensureGuildLoaded" /* 1391 */; import closure_4 from "createRTCConnection" /* 4544 */; import closure_5 from "participantFromServer" /* 1390 */; import { AnalyticEvents } from "ME" /* 676 */; require = arg1; const result = require("set").fileFinishedImporting("modules/activities/trackActivityThermalStateNoticeShown.tsx"); export const trackActivityThermalStateNoticeShown = function trackActivityThermalStateNoticeShown() { currentEmbeddedActivity = currentEmbeddedActivity.getCurrentEmbeddedActivity(); let obj = getEmbeddedActivityLocationChannelId; let _location; if (currentEmbeddedActivity != null) { _location = currentEmbeddedActivity.location; } const embeddedActivityLocationChannelId = obj.getEmbeddedActivityLocationChannelId(_location); basicChannel = basicChannel.getBasicChannel(embeddedActivityLocationChannelId); let compositeInstanceId; if (currentEmbeddedActivity != null) { compositeInstanceId = currentEmbeddedActivity.compositeInstanceId; } let applicationId; if (currentEmbeddedActivity != null) { applicationId = currentEmbeddedActivity.applicationId; } obj = { channel_id: embeddedActivityLocationChannelId, application_id: applicationId, activity_session_id: compositeInstanceId, guild_id: null, media_session_id: null }; let guild_id; if (basicChannel != null) { guild_id = basicChannel.guild_id; } obj[3] = guild_id; obj[4] = mediaSessionId.getMediaSessionId(); expandEventPropertiesDefault.track(AnalyticEvents.ACTIVITY_THERMAL_STATE_NOTICE_SHOWN, obj); };