2026-10-12 16:32:48 +00:00
|
|
|
// Module ID: 1265
|
|
|
|
|
// Function ID: 1266
|
2026-09-18 19:45:33 +00:00
|
|
|
// Name: AnalyticsUtils
|
2026-10-12 16:32:48 +00:00
|
|
|
// Dependencies: [109, 19, 1266, 1370, 1085, 1372, 1373, 562, 1374, 1273, 1375, 1255, 584, 1376, 1126, 7, 1279, 2, 1378]
|
2026-09-18 19:45:33 +00:00
|
|
|
// Exports: addExtraAnalyticsDecorator, clearAnalyticsEventsRecording, debugLogEvent, expandLocation, getAnalyticsEventsRecording, getNewAnalyticsLoadId, isGameApplicationType, setUTMContext, startRecordingAnalyticsEvents, stopRecordingAnalyticsEvents, trackNetworkAction
|
|
|
|
|
|
2026-10-12 16:32:48 +00:00
|
|
|
// Module 1265 (AnalyticsUtils)
|
2026-09-18 19:45:33 +00:00
|
|
|
import LogAggregatorAll from "LogAggregator" /* 7 */;
|
2026-10-07 22:43:51 +00:00
|
|
|
import DispatcherDefault from "Dispatcher" /* 584 */;
|
|
|
|
|
import intl from "intl" /* 1126 */;
|
2026-10-12 16:32:48 +00:00
|
|
|
import SentryUtilsDefault from "SentryUtils" /* 1255 */;
|
|
|
|
|
import v1 from "v1" /* 1279 */;
|
|
|
|
|
import AccessibilityConstants from "AccessibilityConstants" /* 1372 */;
|
|
|
|
|
import ApplicationConstants from "ApplicationConstants" /* 1373 */;
|
|
|
|
|
import utils_GlobalUtils from "utils/GlobalUtils" /* 1374 */;
|
|
|
|
|
import CommonSentryInitUtils from "CommonSentryInitUtils" /* 1375 */;
|
|
|
|
|
import ProcessUtilsDefault from "ProcessUtils" /* 1376 */;
|
|
|
|
|
import utils_AnalyticsSchemaAll from "utils/AnalyticsSchema" /* 1378 */;
|
2026-09-18 19:45:33 +00:00
|
|
|
import _objectWithoutProperties from "_objectWithoutProperties" /* 109 */;
|
2026-10-01 14:13:23 +00:00
|
|
|
import react from "react" /* 19 */;
|
2026-10-12 16:32:48 +00:00
|
|
|
import ImpressionStore from "ImpressionStore" /* 1266 */;
|
|
|
|
|
import DeveloperOptionsStore from "DeveloperOptionsStore" /* 1370 */;
|
2026-10-07 22:43:51 +00:00
|
|
|
import Constants from "Constants" /* 1085 */;
|
2026-10-02 13:37:24 +00:00
|
|
|
import shim from "shim" /* 562 */;
|
2026-10-12 16:32:48 +00:00
|
|
|
import AnalyticsUtils_mod from "discord_common/AnalyticsUtils" /* 1273 */;
|
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
|
|
|
let AnalyticEvents;
|
|
|
|
|
let c10;
|
|
|
|
|
let metroImportAll;
|
|
|
|
|
let metroImportDefault;
|
|
|
|
|
let obj10;
|
|
|
|
|
let obj11;
|
|
|
|
|
let obj12;
|
|
|
|
|
let obj13;
|
|
|
|
|
let obj14;
|
|
|
|
|
let obj15;
|
|
|
|
|
let obj16;
|
|
|
|
|
let obj17;
|
|
|
|
|
let obj18;
|
|
|
|
|
let obj19;
|
|
|
|
|
let obj2;
|
|
|
|
|
let obj20;
|
|
|
|
|
let obj21;
|
|
|
|
|
let obj22;
|
|
|
|
|
let obj23;
|
|
|
|
|
let obj24;
|
|
|
|
|
let obj25;
|
|
|
|
|
let obj26;
|
|
|
|
|
let obj27;
|
|
|
|
|
let obj28;
|
|
|
|
|
let obj29;
|
|
|
|
|
let obj3;
|
|
|
|
|
let obj30;
|
|
|
|
|
let obj31;
|
|
|
|
|
let obj32;
|
|
|
|
|
let obj33;
|
|
|
|
|
let obj34;
|
|
|
|
|
let obj35;
|
|
|
|
|
let obj36;
|
|
|
|
|
let obj37;
|
|
|
|
|
let obj38;
|
|
|
|
|
let obj39;
|
|
|
|
|
let obj4;
|
|
|
|
|
let obj40;
|
|
|
|
|
let obj41;
|
|
|
|
|
let obj42;
|
|
|
|
|
let obj43;
|
|
|
|
|
let obj44;
|
|
|
|
|
let obj45;
|
|
|
|
|
let obj46;
|
|
|
|
|
let obj47;
|
|
|
|
|
let obj48;
|
|
|
|
|
let obj49;
|
|
|
|
|
let obj5;
|
|
|
|
|
let obj50;
|
|
|
|
|
let obj51;
|
|
|
|
|
let obj52;
|
|
|
|
|
let obj53;
|
|
|
|
|
let obj54;
|
|
|
|
|
let obj55;
|
|
|
|
|
let obj56;
|
|
|
|
|
let obj57;
|
|
|
|
|
let obj58;
|
|
|
|
|
let obj59;
|
|
|
|
|
let obj6;
|
|
|
|
|
let obj7;
|
|
|
|
|
let obj8;
|
|
|
|
|
let obj9;
|
|
|
|
|
let unpackModuleId;
|
2026-09-18 19:45:33 +00:00
|
|
|
function expandEventProperties(arg0) {
|
2026-10-01 14:13:23 +00:00
|
|
|
let utmCampaign;
|
|
|
|
|
let utmContent;
|
|
|
|
|
let utmMedium;
|
2026-09-18 19:45:33 +00:00
|
|
|
let obj = arg0;
|
|
|
|
|
if (arg0 == null) {
|
|
|
|
|
obj = {};
|
|
|
|
|
}
|
2026-10-01 14:13:23 +00:00
|
|
|
let obj11 = obj;
|
|
|
|
|
let tmp = obj;
|
|
|
|
|
if (null != obj.location) {
|
|
|
|
|
let obj10;
|
2026-09-18 19:45:33 +00:00
|
|
|
const _location = obj.location;
|
2026-10-01 14:13:23 +00:00
|
|
|
const obj2 = {};
|
|
|
|
|
const merged = Object.assign(_objectWithoutProperties(obj, closure_4));
|
2026-09-18 19:45:33 +00:00
|
|
|
if (typeof _location === "string") {
|
2026-10-01 14:13:23 +00:00
|
|
|
obj10 = { location: _location };
|
|
|
|
|
const obj4 = { location: _location };
|
2026-09-18 19:45:33 +00:00
|
|
|
} else {
|
2026-10-01 14:13:23 +00:00
|
|
|
obj10 = { location: null, location_page: null, location_section: null, location_object: null, location_object_type: null };
|
2026-09-18 19:45:33 +00:00
|
|
|
({ page: obj3.location, page: obj3.location_page, section: obj3.location_section, object: obj3.location_object, objectType: obj3.location_object_type } = _location);
|
|
|
|
|
}
|
2026-10-01 14:13:23 +00:00
|
|
|
const merged1 = Object.assign(obj10);
|
|
|
|
|
obj11 = obj2;
|
|
|
|
|
tmp = obj2;
|
|
|
|
|
}
|
|
|
|
|
let tmp5 = tmp;
|
|
|
|
|
if (null != tmp.source) {
|
|
|
|
|
let obj18;
|
|
|
|
|
const source = tmp.source;
|
|
|
|
|
obj11 = {};
|
|
|
|
|
const merged2 = Object.assign(_objectWithoutProperties(tmp, closure_5));
|
|
|
|
|
if (typeof source === "string") {
|
|
|
|
|
obj18 = { source };
|
|
|
|
|
const obj17 = { source };
|
|
|
|
|
} else {
|
|
|
|
|
obj18 = { source_page: null, source_section: null, source_object: null, source_object_type: null, source_promotion_id: null };
|
|
|
|
|
({ page: obj5.source_page, section: obj5.source_section, object: obj5.source_object, objectType: obj5.source_object_type, promotionId: obj5.source_promotion_id } = source);
|
|
|
|
|
}
|
2026-09-18 19:45:33 +00:00
|
|
|
const merged3 = Object.assign(obj18);
|
2026-10-01 14:13:23 +00:00
|
|
|
tmp5 = obj11;
|
|
|
|
|
}
|
|
|
|
|
const obj6 = ProcessUtilsDefault;
|
|
|
|
|
tmp5.client_performance_cpu = obj6.getCurrentCPUUsagePercent();
|
|
|
|
|
const obj7 = ProcessUtilsDefault;
|
|
|
|
|
tmp5.client_performance_memory = obj7.getCurrentMemoryUsageKB();
|
|
|
|
|
const obj8 = ProcessUtilsDefault;
|
|
|
|
|
tmp5.cpu_core_count = obj8.getCPUCoreCount();
|
|
|
|
|
tmp5.accessibility_features = getAccessibilityFeatures();
|
|
|
|
|
tmp5.rendered_locale = intl.intl.currentLocale;
|
|
|
|
|
tmp5.uptime_app = Math.floor((performance.now() - closure_18) / c15);
|
|
|
|
|
const obj9 = ProcessUtilsDefault;
|
|
|
|
|
const processUptime = obj9.getProcessUptime();
|
|
|
|
|
if (null != processUptime) {
|
|
|
|
|
const _Math = Math;
|
|
|
|
|
tmp5.uptime_process_renderer = Math.floor(processUptime);
|
|
|
|
|
}
|
|
|
|
|
utmSource = tmp5.utm_source;
|
|
|
|
|
({ utmMedium, utmCampaign, utmContent } = utmSource);
|
|
|
|
|
if (utmSource == null) {
|
|
|
|
|
utmSource = utmSource.utmSource;
|
|
|
|
|
}
|
|
|
|
|
tmp5.utm_source = utmSource;
|
|
|
|
|
let utm_medium = tmp5.utm_medium;
|
|
|
|
|
if (utm_medium == null) {
|
|
|
|
|
utm_medium = utmMedium;
|
|
|
|
|
}
|
|
|
|
|
tmp5.utm_medium = utm_medium;
|
|
|
|
|
let utm_campaign = tmp5.utm_campaign;
|
|
|
|
|
if (utm_campaign == null) {
|
|
|
|
|
utm_campaign = utmCampaign;
|
|
|
|
|
}
|
|
|
|
|
tmp5.utm_campaign = utm_campaign;
|
|
|
|
|
let utm_content = tmp5.utm_content;
|
|
|
|
|
if (utm_content == null) {
|
|
|
|
|
utm_content = utmContent;
|
|
|
|
|
}
|
|
|
|
|
tmp5.utm_content = utm_content;
|
|
|
|
|
tmp5.launch_signature = launchSignature;
|
|
|
|
|
const item = closure_20.forEach((fn) => fn(obj11));
|
|
|
|
|
return tmp5;
|
2026-09-18 19:45:33 +00:00
|
|
|
}
|
|
|
|
|
let closure_4 = ["location"];
|
|
|
|
|
let closure_5 = ["source"];
|
2026-10-01 14:13:23 +00:00
|
|
|
({ setDebugTrackedData: metroImportDefault, getLocation: metroImportAll } = ImpressionStore);
|
|
|
|
|
({ AnalyticEvents, AnalyticsObjectTypes: c10, AnalyticsSections: unpackModuleId } = Constants);
|
|
|
|
|
const AccessibilityFeatureFlags = AccessibilityConstants.AccessibilityFeatureFlags;
|
|
|
|
|
const ApplicationTypes = ApplicationConstants.ApplicationTypes;
|
|
|
|
|
let utmSource = {};
|
2026-09-18 19:45:33 +00:00
|
|
|
let c15 = 1000;
|
|
|
|
|
let c16 = 60000;
|
|
|
|
|
let c17 = 900000;
|
2026-10-01 14:13:23 +00:00
|
|
|
const context = react.createContext({ location: {} });
|
2026-09-18 19:45:33 +00:00
|
|
|
let closure_18 = performance.now();
|
|
|
|
|
let launchSignature = null;
|
|
|
|
|
if (shim.isLibdiscoreInitialized()) {
|
2026-10-01 14:13:23 +00:00
|
|
|
const _module3 = shim;
|
|
|
|
|
const generateLaunchSignature = _module3.generateLaunchSignature;
|
|
|
|
|
const _module4 = utils_GlobalUtils;
|
|
|
|
|
launchSignature = generateLaunchSignature(_module4.getGlobalObject());
|
2026-09-18 19:45:33 +00:00
|
|
|
}
|
|
|
|
|
function addBreadcrumb(message) {
|
|
|
|
|
const IGNORE_ANALYTICS_BREADCRUMB_EVENTS = CommonSentryInitUtils.IGNORE_ANALYTICS_BREADCRUMB_EVENTS;
|
|
|
|
|
if (!IGNORE_ANALYTICS_BREADCRUMB_EVENTS.includes(message)) {
|
|
|
|
|
const obj2 = { category: "analytics", message };
|
2026-10-01 14:13:23 +00:00
|
|
|
const obj = SentryUtilsDefault;
|
|
|
|
|
obj.addBreadcrumb(obj2);
|
2026-09-18 19:45:33 +00:00
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
function expandLocation(location) {
|
2026-10-01 14:13:23 +00:00
|
|
|
let obj3;
|
2026-09-18 19:45:33 +00:00
|
|
|
if (typeof location === "string") {
|
2026-10-01 14:13:23 +00:00
|
|
|
obj3 = { location };
|
2026-09-18 19:45:33 +00:00
|
|
|
const obj = { location };
|
|
|
|
|
} else {
|
|
|
|
|
obj3 = { location: null, location_page: null, location_section: null, location_object: null, location_object_type: null };
|
|
|
|
|
({ page: obj2.location, page: obj2.location_page, section: obj2.location_section, object: obj2.location_object, objectType: obj2.location_object_type } = location);
|
|
|
|
|
}
|
|
|
|
|
return obj3;
|
|
|
|
|
}
|
|
|
|
|
function debugLogEvent(name, result) {
|
|
|
|
|
let flag = arg2;
|
|
|
|
|
if (arg2 === undefined) {
|
|
|
|
|
flag = false;
|
|
|
|
|
}
|
|
|
|
|
const report = LogAggregatorAll.report;
|
2026-10-01 14:13:23 +00:00
|
|
|
LogAggregatorAll;
|
2026-09-18 19:45:33 +00:00
|
|
|
if (flag) {
|
|
|
|
|
report("Analytics", name, result);
|
|
|
|
|
} else {
|
|
|
|
|
report("Analytics", name);
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
let AnalyticsUtils = AnalyticsUtils_mod;
|
|
|
|
|
const result = AnalyticsUtils.extendSuperProperties({ launch_signature: launchSignature });
|
|
|
|
|
let closure_20 = [];
|
|
|
|
|
let obj = {
|
2026-10-01 14:13:23 +00:00
|
|
|
[AnalyticEvents.APP_OPENED]: obj2,
|
|
|
|
|
[AnalyticEvents.APP_BACKGROUND]: obj3,
|
2026-09-18 19:45:33 +00:00
|
|
|
[AnalyticEvents.ACK_MESSAGES]: (location_object_type) => {
|
2026-10-01 14:13:23 +00:00
|
|
|
function throttleKeys(arg0) {
|
|
|
|
|
const items = [, , ];
|
|
|
|
|
({ guild_id: arr[0], channel_id: arr[1], location_section: arr[2] } = arg0);
|
|
|
|
|
return items;
|
|
|
|
|
}
|
2026-09-18 19:45:33 +00:00
|
|
|
let tmp;
|
|
|
|
|
if (location_object_type.location_object_type !== constants.ACK_MANUAL) {
|
2026-10-01 14:13:23 +00:00
|
|
|
tmp = { throttlePeriod: throttlePeriod2, throttleKeys };
|
|
|
|
|
const obj = { throttlePeriod: throttlePeriod2, throttleKeys };
|
2026-09-18 19:45:33 +00:00
|
|
|
}
|
|
|
|
|
return tmp;
|
|
|
|
|
},
|
2026-10-01 14:13:23 +00:00
|
|
|
[AnalyticEvents.GUILD_VIEWED]: obj4,
|
|
|
|
|
[AnalyticEvents.FRIENDS_LIST_VIEWED]: obj5,
|
|
|
|
|
[AnalyticEvents.NOW_PLAYING_CARD_HOVERED]: obj6,
|
|
|
|
|
[AnalyticEvents.START_SPEAKING]: obj7,
|
|
|
|
|
[AnalyticEvents.START_LISTENING]: obj8,
|
|
|
|
|
[AnalyticEvents.ACTIVITY_UPDATED]: obj9,
|
|
|
|
|
[AnalyticEvents.CHANNEL_OPENED]: obj10,
|
|
|
|
|
[AnalyticEvents.TEXT_IN_VOICE_OPENED]: obj11,
|
|
|
|
|
[AnalyticEvents.NOTIFICATION_VIEWED]: obj12,
|
|
|
|
|
[AnalyticEvents.MEMBER_LIST_VIEWED]: obj13,
|
|
|
|
|
[AnalyticEvents.DM_LIST_VIEWED]: obj14,
|
|
|
|
|
[AnalyticEvents.NAV_DRAWER_OPENED]: obj15,
|
|
|
|
|
[AnalyticEvents.KEYBOARD_SHORTCUT_USED]: obj16,
|
|
|
|
|
[AnalyticEvents.QUICKSWITCHER_OPENED]: obj17,
|
|
|
|
|
[AnalyticEvents.CHAT_INPUT_COMPONENT_VIEWED]: obj18,
|
|
|
|
|
[AnalyticEvents.ROLE_PAGE_VIEWED]: obj19,
|
|
|
|
|
[AnalyticEvents.VIDEO_INPUT_INITIALIZED]: obj20,
|
|
|
|
|
[AnalyticEvents.AUDIO_INPUT_INITIALIZED]: obj21,
|
|
|
|
|
[AnalyticEvents.HUB_ONBOARDING_CAROUSEL_SCROLLED]: obj22,
|
|
|
|
|
[AnalyticEvents.HUB_STUDENT_PROMPT_CLICKED]: obj23,
|
|
|
|
|
[AnalyticEvents.RPC_SERVER_ERROR_CAUGHT]: obj24,
|
|
|
|
|
[AnalyticEvents.RPC_COMMAND_SENT]: obj25,
|
|
|
|
|
[AnalyticEvents.RPC_SUBSCRIPTION_REQUESTED]: obj26,
|
|
|
|
|
[AnalyticEvents.ACTIVITY_HANDSHAKE]: obj27,
|
|
|
|
|
[AnalyticEvents.CHANNEL_BANNER_VIEWED]: obj28,
|
|
|
|
|
[AnalyticsUtils.ImpressionNames.GUILD_HANGOUT_WINDOW]: obj29,
|
|
|
|
|
[AnalyticsUtils.ImpressionNames.GUILD_HANGOUT_WINDOW_ENTRY_POINT]: obj30,
|
|
|
|
|
[AnalyticEvents.PREMIUM_UPSELL_VIEWED]: obj31,
|
|
|
|
|
[AnalyticEvents.FORUM_CHANNEL_SEARCHED]: obj32,
|
|
|
|
|
[AnalyticEvents.FORUM_CHANNEL_SCROLLED]: obj33,
|
|
|
|
|
[AnalyticEvents.VOICE_CHANNEL_GAME_ACTIVITY_INDICATOR_VIEWED]: obj34,
|
|
|
|
|
[AnalyticEvents.MEDIA_VIEWER_SESSION_COMPLETED]: obj35,
|
|
|
|
|
[AnalyticEvents.SUMMARIES_UNREAD_BAR_VIEWED]: obj36,
|
|
|
|
|
[AnalyticEvents.ACTIVITY_CARDS_VIEWED]: obj37,
|
|
|
|
|
[AnalyticEvents.GUILD_TOOLTIP_SHOWN]: obj38,
|
|
|
|
|
[AnalyticEvents.ACK_COMMUNITY_MESSAGES]: obj39,
|
|
|
|
|
[AnalyticEvents.REDESIGN_NAV_BAR_CLICKED]: obj40,
|
|
|
|
|
[AnalyticEvents.CHANNEL_LIST_END_REACHED]: obj41,
|
|
|
|
|
[AnalyticEvents.EXPLICIT_MEDIA_REDACTABLE_MESSAGES_LOADED]: obj42,
|
|
|
|
|
[AnalyticEvents.LIVE_ACTIVITY_SETTINGS_UPDATED]: obj43,
|
|
|
|
|
[AnalyticEvents.MEDIA_INPUT_VOLUME_CHANGED]: obj44,
|
|
|
|
|
[AnalyticEvents.MEDIA_OUTPUT_VOLUME_CHANGED]: obj45,
|
|
|
|
|
[AnalyticEvents.APP_DMS_QUICK_LAUNCHER_IMPRESSION]: obj46,
|
|
|
|
|
[AnalyticEvents.USER_VOICE_ACTIVITY_VIEWED]: obj47,
|
|
|
|
|
[AnalyticEvents.PARTY_VOICE_ACTIVITY_VIEWED]: obj48,
|
|
|
|
|
[AnalyticEvents.MEMBER_LIST_SWIPE_PEEK]: obj49,
|
|
|
|
|
[AnalyticEvents.REDACTABLE_MESSAGE_LOADED]: obj50,
|
2026-09-18 19:45:33 +00:00
|
|
|
[AnalyticEvents.OPEN_MODAL]: (type) => {
|
2026-10-01 14:13:23 +00:00
|
|
|
function throttleKeys(type) {
|
|
|
|
|
const items = [type.type];
|
|
|
|
|
return items;
|
|
|
|
|
}
|
2026-09-18 19:45:33 +00:00
|
|
|
let tmp;
|
2026-10-01 14:13:23 +00:00
|
|
|
if (type.type === unpackModuleId.MEDIA_VIEWER) {
|
|
|
|
|
tmp = { throttlePeriod, throttleKeys };
|
|
|
|
|
const obj = { throttlePeriod, throttleKeys };
|
2026-09-18 19:45:33 +00:00
|
|
|
}
|
|
|
|
|
return tmp;
|
|
|
|
|
},
|
2026-10-01 14:13:23 +00:00
|
|
|
[AnalyticEvents.MODERATOR_QUEUE_ACTION]: obj51,
|
|
|
|
|
[AnalyticEvents.NOTIFICATION_PERMISSION_STATUS]: obj52,
|
|
|
|
|
[AnalyticEvents.SEARCH_BAR_VIEWED]: obj53,
|
|
|
|
|
[AnalyticEvents.AD_IDENTIFIER_FETCHED]: obj54,
|
|
|
|
|
[AnalyticEvents.ACTIVITY_PANEL_SDK_LINK_VIEWED]: obj55,
|
|
|
|
|
[AnalyticEvents.LIBDISCORE_SLOW_TIMERS]: obj56,
|
|
|
|
|
[AnalyticEvents.VIDEO_STREAM_ZOOM_CHANGED]: obj57,
|
|
|
|
|
[AnalyticEvents.CACHE_STATS_RECORDED]: obj58,
|
|
|
|
|
[AnalyticEvents.TYPING_INDICATOR_STYLE_SEEN]: obj59
|
|
|
|
|
};
|
|
|
|
|
obj2 = {
|
|
|
|
|
throttlePeriod: 300000,
|
|
|
|
|
throttleKeys() {
|
|
|
|
|
return [];
|
|
|
|
|
}
|
2026-09-18 19:45:33 +00:00
|
|
|
};
|
2026-10-01 14:13:23 +00:00
|
|
|
obj3 = {
|
|
|
|
|
throttlePeriod: 120000,
|
|
|
|
|
throttleKeys() {
|
|
|
|
|
return [];
|
|
|
|
|
}
|
|
|
|
|
};
|
|
|
|
|
obj4 = {
|
|
|
|
|
throttlePeriod: 900000,
|
|
|
|
|
throttleKeys(arg0) {
|
|
|
|
|
const items = [, ];
|
|
|
|
|
({ guild_id: arr[0], is_pending: arr[1] } = arg0);
|
|
|
|
|
return items;
|
|
|
|
|
}
|
|
|
|
|
};
|
|
|
|
|
obj5 = {
|
|
|
|
|
throttlePeriod: 900000,
|
|
|
|
|
throttleKeys(tab_opened) {
|
|
|
|
|
const items = [tab_opened.tab_opened];
|
|
|
|
|
return items;
|
|
|
|
|
}
|
|
|
|
|
};
|
|
|
|
|
obj6 = {
|
|
|
|
|
throttlePeriod: 900000,
|
|
|
|
|
throttleKeys(tab_opened) {
|
|
|
|
|
const items = [tab_opened.tab_opened];
|
|
|
|
|
return items;
|
|
|
|
|
}
|
|
|
|
|
};
|
|
|
|
|
obj7 = {
|
2026-09-18 19:45:33 +00:00
|
|
|
throttlePeriod: 900000,
|
|
|
|
|
throttleKeys(server) {
|
|
|
|
|
const items = [server.server];
|
|
|
|
|
return items;
|
|
|
|
|
}
|
|
|
|
|
};
|
2026-10-01 14:13:23 +00:00
|
|
|
obj8 = {
|
2026-09-18 19:45:33 +00:00
|
|
|
throttlePeriod: 900000,
|
|
|
|
|
throttleKeys(server) {
|
|
|
|
|
const items = [server.server];
|
|
|
|
|
return items;
|
|
|
|
|
}
|
|
|
|
|
};
|
2026-10-01 14:13:23 +00:00
|
|
|
obj9 = {
|
2026-09-18 19:45:33 +00:00
|
|
|
throttlePeriod: 60000,
|
|
|
|
|
throttleKeys(application_id) {
|
|
|
|
|
const items = [application_id.application_id];
|
|
|
|
|
return items;
|
|
|
|
|
},
|
|
|
|
|
deduplicate: true
|
|
|
|
|
};
|
2026-10-01 14:13:23 +00:00
|
|
|
obj10 = {
|
2026-09-18 19:45:33 +00:00
|
|
|
throttlePeriod: 900000,
|
|
|
|
|
throttleKeys(channel_static_route) {
|
2026-10-01 14:13:23 +00:00
|
|
|
let items1;
|
2026-09-18 19:45:33 +00:00
|
|
|
if (null != channel_static_route.channel_static_route) {
|
|
|
|
|
const items = [, , ];
|
|
|
|
|
({ guild_id: arr2[0], channel_static_route: arr2[1], channel_view: arr2[2] } = channel_static_route);
|
2026-10-01 14:13:23 +00:00
|
|
|
items1 = items;
|
2026-09-18 19:45:33 +00:00
|
|
|
} else {
|
|
|
|
|
items1 = [, ];
|
|
|
|
|
({ channel_id: arr[0], channel_view: arr[1] } = channel_static_route);
|
|
|
|
|
}
|
|
|
|
|
return items1;
|
|
|
|
|
}
|
|
|
|
|
};
|
2026-10-01 14:13:23 +00:00
|
|
|
obj11 = {
|
2026-09-18 19:45:33 +00:00
|
|
|
throttlePeriod: 86400000,
|
|
|
|
|
throttleKeys(channel_id) {
|
|
|
|
|
const items = [channel_id.channel_id];
|
|
|
|
|
return items;
|
|
|
|
|
}
|
|
|
|
|
};
|
2026-10-01 14:13:23 +00:00
|
|
|
obj17 = {
|
|
|
|
|
throttlePeriod: 10000,
|
|
|
|
|
throttleKeys() {
|
|
|
|
|
return [];
|
|
|
|
|
}
|
|
|
|
|
};
|
|
|
|
|
obj18 = {
|
|
|
|
|
throttlePeriod: 900000,
|
|
|
|
|
throttleKeys(type) {
|
|
|
|
|
const items = [type.type];
|
|
|
|
|
return items;
|
|
|
|
|
}
|
|
|
|
|
};
|
|
|
|
|
function getAccessibilityFeatures() {
|
|
|
|
|
return AccessibilityFeatureFlags.NONE;
|
|
|
|
|
}
|
|
|
|
|
obj12 = {
|
2026-09-18 19:45:33 +00:00
|
|
|
throttlePeriod: 900000,
|
|
|
|
|
throttleKeys(notif_type) {
|
|
|
|
|
const items = [notif_type.notif_type];
|
|
|
|
|
return items;
|
|
|
|
|
}
|
|
|
|
|
};
|
2026-10-01 14:13:23 +00:00
|
|
|
obj13 = {
|
2026-09-18 19:45:33 +00:00
|
|
|
throttlePeriod: 900000,
|
|
|
|
|
throttleKeys(channel_id) {
|
|
|
|
|
const items = [channel_id.channel_id];
|
|
|
|
|
return items;
|
|
|
|
|
}
|
|
|
|
|
};
|
2026-10-01 14:13:23 +00:00
|
|
|
obj14 = {
|
2026-09-18 19:45:33 +00:00
|
|
|
throttlePeriod: 900000,
|
|
|
|
|
throttleKeys(channel_id) {
|
|
|
|
|
const items = [channel_id.channel_id];
|
|
|
|
|
return items;
|
|
|
|
|
}
|
|
|
|
|
};
|
2026-10-01 14:13:23 +00:00
|
|
|
obj15 = {
|
2026-09-18 19:45:33 +00:00
|
|
|
throttlePeriod: 900000,
|
|
|
|
|
throttleKeys() {
|
|
|
|
|
return [];
|
|
|
|
|
}
|
|
|
|
|
};
|
2026-10-01 14:13:23 +00:00
|
|
|
obj16 = {
|
2026-09-18 19:45:33 +00:00
|
|
|
throttlePeriod: 120000,
|
|
|
|
|
throttleKeys(arg0) {
|
2026-10-01 14:13:23 +00:00
|
|
|
let source_class_list;
|
2026-09-18 19:45:33 +00:00
|
|
|
const items = [, ];
|
|
|
|
|
({ shortcut_name: arr[0], location_object: arr[1], source_class_list } = arg0);
|
|
|
|
|
if (source_class_list == null) {
|
|
|
|
|
source_class_list = [];
|
|
|
|
|
}
|
2026-10-01 14:13:23 +00:00
|
|
|
HermesBuiltin.arraySpread(items, source_class_list, 2);
|
2026-09-18 19:45:33 +00:00
|
|
|
return items;
|
|
|
|
|
}
|
|
|
|
|
};
|
2026-10-01 14:13:23 +00:00
|
|
|
obj19 = {
|
2026-09-18 19:45:33 +00:00
|
|
|
throttlePeriod: 120000,
|
|
|
|
|
throttleKeys(arg0) {
|
|
|
|
|
const items = [, ];
|
|
|
|
|
({ role_id: arr[0], tab_opened: arr[1] } = arg0);
|
|
|
|
|
return items;
|
|
|
|
|
}
|
|
|
|
|
};
|
2026-10-01 14:13:23 +00:00
|
|
|
obj20 = {
|
2026-09-18 19:45:33 +00:00
|
|
|
throttlePeriod: 300000,
|
|
|
|
|
throttleKeys() {
|
|
|
|
|
return [];
|
|
|
|
|
}
|
|
|
|
|
};
|
2026-10-01 14:13:23 +00:00
|
|
|
obj21 = {
|
2026-09-18 19:45:33 +00:00
|
|
|
throttlePeriod: 300000,
|
|
|
|
|
throttleKeys() {
|
|
|
|
|
return [];
|
|
|
|
|
}
|
|
|
|
|
};
|
2026-10-01 14:13:23 +00:00
|
|
|
obj22 = {
|
2026-09-18 19:45:33 +00:00
|
|
|
throttlePeriod: 900000,
|
|
|
|
|
throttleKeys() {
|
|
|
|
|
return [];
|
|
|
|
|
}
|
|
|
|
|
};
|
2026-10-01 14:13:23 +00:00
|
|
|
obj23 = {
|
2026-09-18 19:45:33 +00:00
|
|
|
throttlePeriod: 900000,
|
|
|
|
|
throttleKeys() {
|
|
|
|
|
return [];
|
|
|
|
|
}
|
|
|
|
|
};
|
2026-10-01 14:13:23 +00:00
|
|
|
obj24 = {
|
2026-09-18 19:45:33 +00:00
|
|
|
throttlePeriod: 86400000,
|
|
|
|
|
throttleKeys() {
|
|
|
|
|
return [];
|
|
|
|
|
}
|
|
|
|
|
};
|
2026-10-01 14:13:23 +00:00
|
|
|
obj25 = {
|
2026-09-18 19:45:33 +00:00
|
|
|
throttlePeriod: 86400000,
|
|
|
|
|
throttleKeys(arg0) {
|
|
|
|
|
const items = [, ];
|
|
|
|
|
({ application_id: arr[0], command: arr[1] } = arg0);
|
|
|
|
|
return items;
|
|
|
|
|
},
|
|
|
|
|
throttlePercent: 0.001
|
|
|
|
|
};
|
2026-10-01 14:13:23 +00:00
|
|
|
obj26 = {
|
2026-09-18 19:45:33 +00:00
|
|
|
throttlePeriod: 86400000,
|
|
|
|
|
throttleKeys(arg0) {
|
|
|
|
|
const items = [, ];
|
|
|
|
|
({ application_id: arr[0], event: arr[1] } = arg0);
|
|
|
|
|
return items;
|
|
|
|
|
},
|
|
|
|
|
throttlePercent: 0.001
|
|
|
|
|
};
|
2026-10-01 14:13:23 +00:00
|
|
|
obj27 = {
|
2026-09-18 19:45:33 +00:00
|
|
|
throttlePeriod: 86400000,
|
|
|
|
|
throttleKeys(application_id) {
|
|
|
|
|
const items = [application_id.application_id];
|
|
|
|
|
return items;
|
|
|
|
|
}
|
|
|
|
|
};
|
2026-10-01 14:13:23 +00:00
|
|
|
obj28 = {
|
2026-09-18 19:45:33 +00:00
|
|
|
throttlePeriod: 86400000,
|
|
|
|
|
throttleKeys(arg0) {
|
|
|
|
|
const items = [, ];
|
|
|
|
|
({ banner_type: arr[0], channel_id: arr[1] } = arg0);
|
|
|
|
|
return items;
|
|
|
|
|
}
|
|
|
|
|
};
|
2026-10-01 14:13:23 +00:00
|
|
|
obj29 = {
|
2026-09-18 19:45:33 +00:00
|
|
|
throttlePeriod: 86400000,
|
|
|
|
|
throttleKeys(arg0) {
|
|
|
|
|
const items = [, ];
|
|
|
|
|
({ channel_id: arr[0], banner_hash: arr[1] } = arg0);
|
|
|
|
|
return items;
|
|
|
|
|
}
|
|
|
|
|
};
|
2026-10-01 14:13:23 +00:00
|
|
|
obj30 = {
|
2026-09-18 19:45:33 +00:00
|
|
|
throttlePeriod: 86400000,
|
|
|
|
|
throttleKeys(arg0) {
|
|
|
|
|
const items = [, ];
|
|
|
|
|
({ channel_id: arr[0], media_session_id: arr[1] } = arg0);
|
|
|
|
|
return items;
|
|
|
|
|
}
|
|
|
|
|
};
|
2026-10-01 14:13:23 +00:00
|
|
|
obj31 = {
|
2026-09-18 19:45:33 +00:00
|
|
|
throttlePeriod: 60000,
|
|
|
|
|
throttleKeys(type) {
|
|
|
|
|
const items = [type.type];
|
|
|
|
|
return items;
|
|
|
|
|
}
|
|
|
|
|
};
|
2026-10-01 14:13:23 +00:00
|
|
|
obj32 = {
|
2026-09-18 19:45:33 +00:00
|
|
|
throttlePeriod: 60000,
|
|
|
|
|
throttleKeys(arg0) {
|
|
|
|
|
const items = [, ];
|
|
|
|
|
({ guild_id: arr[0], channel_id: arr[1] } = arg0);
|
|
|
|
|
return items;
|
|
|
|
|
}
|
|
|
|
|
};
|
2026-10-01 14:13:23 +00:00
|
|
|
obj33 = {
|
2026-09-18 19:45:33 +00:00
|
|
|
throttlePeriod: 900000,
|
|
|
|
|
throttleKeys(arg0) {
|
|
|
|
|
const items = [, ];
|
|
|
|
|
({ guild_id: arr[0], channel_id: arr[1] } = arg0);
|
|
|
|
|
return items;
|
|
|
|
|
}
|
|
|
|
|
};
|
2026-10-01 14:13:23 +00:00
|
|
|
obj34 = {
|
2026-09-18 19:45:33 +00:00
|
|
|
throttlePeriod: 60000,
|
|
|
|
|
throttleKeys(user_id) {
|
|
|
|
|
const items = [user_id.user_id];
|
|
|
|
|
return items;
|
|
|
|
|
}
|
|
|
|
|
};
|
2026-10-01 14:13:23 +00:00
|
|
|
obj35 = {
|
2026-09-18 19:45:33 +00:00
|
|
|
throttlePeriod: 60000,
|
|
|
|
|
throttleKeys() {
|
|
|
|
|
return [];
|
|
|
|
|
}
|
|
|
|
|
};
|
2026-10-01 14:13:23 +00:00
|
|
|
obj36 = {
|
2026-09-18 19:45:33 +00:00
|
|
|
throttlePeriod: 300000,
|
|
|
|
|
throttleKeys(channel_id) {
|
|
|
|
|
const items = [channel_id.channel_id];
|
|
|
|
|
return items;
|
|
|
|
|
}
|
|
|
|
|
};
|
2026-10-01 14:13:23 +00:00
|
|
|
obj37 = {
|
2026-09-18 19:45:33 +00:00
|
|
|
throttlePeriod: 900000,
|
|
|
|
|
throttleKeys(arg0) {
|
|
|
|
|
const items = [, ];
|
|
|
|
|
({ context: arr[0], guild_id: arr[1] } = arg0);
|
|
|
|
|
return items;
|
|
|
|
|
}
|
|
|
|
|
};
|
2026-10-01 14:13:23 +00:00
|
|
|
obj38 = {
|
2026-09-18 19:45:33 +00:00
|
|
|
throttlePeriod: 900000,
|
|
|
|
|
throttleKeys(guild_id) {
|
|
|
|
|
const items = [guild_id.guild_id];
|
|
|
|
|
return items;
|
|
|
|
|
}
|
|
|
|
|
};
|
2026-10-01 14:13:23 +00:00
|
|
|
obj39 = {
|
2026-09-18 19:45:33 +00:00
|
|
|
throttlePeriod: 900000,
|
|
|
|
|
throttleKeys(channel_id) {
|
|
|
|
|
const items = [channel_id.channel_id];
|
|
|
|
|
return items;
|
|
|
|
|
}
|
|
|
|
|
};
|
2026-10-01 14:13:23 +00:00
|
|
|
obj40 = {
|
2026-09-18 19:45:33 +00:00
|
|
|
throttlePeriod: 900000,
|
|
|
|
|
throttleKeys(tab) {
|
|
|
|
|
const items = [tab.tab];
|
|
|
|
|
return items;
|
|
|
|
|
}
|
|
|
|
|
};
|
2026-10-01 14:13:23 +00:00
|
|
|
obj41 = {
|
2026-09-18 19:45:33 +00:00
|
|
|
throttlePeriod: 900000,
|
|
|
|
|
throttleKeys(guild_id) {
|
|
|
|
|
const items = [guild_id.guild_id];
|
|
|
|
|
return items;
|
|
|
|
|
}
|
|
|
|
|
};
|
2026-10-01 14:13:23 +00:00
|
|
|
obj42 = {
|
2026-09-18 19:45:33 +00:00
|
|
|
throttlePeriod: 60000,
|
|
|
|
|
throttleKeys(arg0) {
|
|
|
|
|
const items = [, ];
|
|
|
|
|
({ guild_id: arr[0], channel_id: arr[1] } = arg0);
|
|
|
|
|
return items;
|
|
|
|
|
}
|
|
|
|
|
};
|
2026-10-01 14:13:23 +00:00
|
|
|
obj43 = {
|
2026-09-18 19:45:33 +00:00
|
|
|
throttlePeriod: 3600000,
|
|
|
|
|
throttleKeys() {
|
|
|
|
|
return [];
|
|
|
|
|
}
|
|
|
|
|
};
|
2026-10-01 14:13:23 +00:00
|
|
|
obj44 = {
|
2026-09-18 19:45:33 +00:00
|
|
|
throttlePeriod: 300000,
|
|
|
|
|
throttleKeys(location_stack) {
|
|
|
|
|
const items = [location_stack.location_stack];
|
|
|
|
|
return items;
|
|
|
|
|
}
|
|
|
|
|
};
|
2026-10-01 14:13:23 +00:00
|
|
|
obj45 = {
|
2026-09-18 19:45:33 +00:00
|
|
|
throttlePeriod: 300000,
|
|
|
|
|
throttleKeys(location_stack) {
|
|
|
|
|
const items = [location_stack.location_stack];
|
|
|
|
|
return items;
|
|
|
|
|
}
|
|
|
|
|
};
|
2026-10-01 14:13:23 +00:00
|
|
|
obj46 = {
|
2026-09-18 19:45:33 +00:00
|
|
|
throttlePeriod: 900000,
|
|
|
|
|
throttleKeys(channel_id) {
|
|
|
|
|
const items = [channel_id.channel_id];
|
|
|
|
|
return items;
|
|
|
|
|
}
|
|
|
|
|
};
|
2026-10-01 14:13:23 +00:00
|
|
|
obj47 = {
|
2026-09-18 19:45:33 +00:00
|
|
|
throttlePeriod: 300000,
|
|
|
|
|
throttleKeys(arg0) {
|
|
|
|
|
const items = [, ];
|
|
|
|
|
({ activity_user_id: arr[0], surface: arr[1] } = arg0);
|
|
|
|
|
return items;
|
|
|
|
|
},
|
|
|
|
|
deduplicate: true
|
|
|
|
|
};
|
2026-10-01 14:13:23 +00:00
|
|
|
obj48 = {
|
2026-09-18 19:45:33 +00:00
|
|
|
throttlePeriod: 300000,
|
|
|
|
|
throttleKeys(voice_channel_id) {
|
|
|
|
|
const items = [voice_channel_id.voice_channel_id];
|
|
|
|
|
return items;
|
|
|
|
|
},
|
|
|
|
|
deduplicate: true
|
|
|
|
|
};
|
2026-10-01 14:13:23 +00:00
|
|
|
obj49 = {
|
2026-09-18 19:45:33 +00:00
|
|
|
throttlePeriod: 1000,
|
|
|
|
|
throttleKeys(channel_id) {
|
|
|
|
|
const items = [channel_id.channel_id];
|
|
|
|
|
return items;
|
|
|
|
|
}
|
|
|
|
|
};
|
2026-10-01 14:13:23 +00:00
|
|
|
obj50 = {
|
2026-09-18 19:45:33 +00:00
|
|
|
throttlePeriod: 900000,
|
|
|
|
|
throttleKeys(arg0) {
|
|
|
|
|
const items = [, ];
|
|
|
|
|
({ channel_id: arr[0], message_id: arr[1] } = arg0);
|
|
|
|
|
return items;
|
|
|
|
|
}
|
|
|
|
|
};
|
2026-10-01 14:13:23 +00:00
|
|
|
obj51 = {
|
2026-09-18 19:45:33 +00:00
|
|
|
throttlePeriod: 10000,
|
|
|
|
|
throttleKeys(guild_id) {
|
|
|
|
|
const items = [guild_id.guild_id];
|
|
|
|
|
return items;
|
|
|
|
|
}
|
|
|
|
|
};
|
2026-10-01 14:13:23 +00:00
|
|
|
obj52 = {
|
2026-09-18 19:45:33 +00:00
|
|
|
throttlePeriod: 43200000,
|
|
|
|
|
throttleKeys(arg0) {
|
|
|
|
|
const items = [, , , ];
|
|
|
|
|
({ os_enabled: arr[0], notification_authorization_status: arr[1], foreground_app_enabled: arr[2], background_app_enabled: arr[3] } = arg0);
|
|
|
|
|
return items;
|
|
|
|
|
}
|
|
|
|
|
};
|
2026-10-01 14:13:23 +00:00
|
|
|
obj53 = {
|
2026-09-18 19:45:33 +00:00
|
|
|
throttlePeriod: 3600000,
|
|
|
|
|
throttleKeys(search_type) {
|
|
|
|
|
const items = [search_type.search_type];
|
|
|
|
|
return items;
|
|
|
|
|
}
|
|
|
|
|
};
|
2026-10-01 14:13:23 +00:00
|
|
|
obj54 = {
|
2026-09-18 19:45:33 +00:00
|
|
|
throttlePeriod: 86400000,
|
|
|
|
|
throttleKeys() {
|
|
|
|
|
return [];
|
|
|
|
|
}
|
|
|
|
|
};
|
2026-10-01 14:13:23 +00:00
|
|
|
obj55 = {
|
2026-09-18 19:45:33 +00:00
|
|
|
throttlePeriod: 86400000,
|
|
|
|
|
throttleKeys(application_id) {
|
|
|
|
|
const items = [application_id.application_id];
|
|
|
|
|
return items;
|
|
|
|
|
}
|
|
|
|
|
};
|
2026-10-01 14:13:23 +00:00
|
|
|
obj56 = {
|
2026-09-18 19:45:33 +00:00
|
|
|
throttlePeriod: 3600000,
|
|
|
|
|
throttleKeys() {
|
|
|
|
|
return [];
|
|
|
|
|
}
|
|
|
|
|
};
|
2026-10-01 14:13:23 +00:00
|
|
|
obj57 = {
|
2026-09-18 19:45:33 +00:00
|
|
|
throttlePeriod: 1000,
|
|
|
|
|
throttleKeys() {
|
|
|
|
|
return [];
|
|
|
|
|
}
|
|
|
|
|
};
|
2026-10-01 14:13:23 +00:00
|
|
|
obj58 = {
|
2026-09-18 19:45:33 +00:00
|
|
|
throttlePeriod: 900000,
|
|
|
|
|
throttleKeys() {
|
|
|
|
|
return [];
|
|
|
|
|
}
|
|
|
|
|
};
|
2026-10-01 14:13:23 +00:00
|
|
|
obj59 = {
|
2026-09-18 19:45:33 +00:00
|
|
|
throttlePeriod: 86400000,
|
|
|
|
|
throttleKeys() {
|
|
|
|
|
return [];
|
|
|
|
|
}
|
|
|
|
|
};
|
2026-10-01 14:13:23 +00:00
|
|
|
AnalyticsUtils = AnalyticsUtils_mod;
|
|
|
|
|
const obj60 = { addBreadcrumb, analyticEventConfigs: obj, dispatcher: DispatcherDefault, TRACK_ACTION_NAME: "TRACK" };
|
|
|
|
|
let closure_22 = AnalyticsUtils.trackMaker(obj60);
|
|
|
|
|
let c24 = false;
|
|
|
|
|
let closure_25 = {};
|
|
|
|
|
AnalyticsUtils = AnalyticsUtils_mod;
|
|
|
|
|
const obj61 = { addBreadcrumb, analyticEventConfigs: obj, dispatcher: DispatcherDefault, TRACK_ACTION_NAME: "TRACK" };
|
|
|
|
|
let closure_26 = AnalyticsUtils.trackMaker(obj61);
|
|
|
|
|
const obj62 = {
|
|
|
|
|
getCampaignParams: AnalyticsUtils.getCampaignParams,
|
|
|
|
|
setSystemAccessibilityFeatures(getActiveFeatures) {
|
|
|
|
|
getAccessibilityFeatures = getActiveFeatures;
|
|
|
|
|
},
|
|
|
|
|
expandEventProperties,
|
|
|
|
|
track(arg0, arg1) {
|
|
|
|
|
let obj = arg2;
|
|
|
|
|
if (arg2 === undefined) {
|
|
|
|
|
obj = {};
|
|
|
|
|
}
|
|
|
|
|
const StringResult = String(arg0);
|
|
|
|
|
if (c24) {
|
|
|
|
|
if (null != arg1) {
|
|
|
|
|
const _Array = Array;
|
|
|
|
|
if (Array.isArray(closure_25[arg0])) {
|
|
|
|
|
const arr2 = closure_25[arg0];
|
|
|
|
|
arr2.push(arg1);
|
|
|
|
|
} else {
|
|
|
|
|
const items = [arg1];
|
|
|
|
|
closure_25[arg0] = items;
|
|
|
|
|
}
|
2026-09-18 19:45:33 +00:00
|
|
|
}
|
|
|
|
|
}
|
2026-10-01 14:13:23 +00:00
|
|
|
if (null != obj.throttlePercent) {
|
|
|
|
|
const _Math = Math;
|
|
|
|
|
if (Math.random() > obj.throttlePercent) {
|
|
|
|
|
return Promise.resolve();
|
|
|
|
|
}
|
2026-09-18 19:45:33 +00:00
|
|
|
}
|
2026-10-01 14:13:23 +00:00
|
|
|
const tmp5 = expandEventProperties(arg1);
|
|
|
|
|
let flag = obj.logEventProperties;
|
|
|
|
|
if (flag === undefined) {
|
|
|
|
|
flag = false;
|
|
|
|
|
}
|
|
|
|
|
const report = LogAggregatorAll.report;
|
|
|
|
|
LogAggregatorAll;
|
|
|
|
|
if (flag) {
|
|
|
|
|
report("Analytics", StringResult, tmp5);
|
|
|
|
|
} else {
|
|
|
|
|
report("Analytics", StringResult);
|
|
|
|
|
}
|
|
|
|
|
const obj2 = { flush: obj.flush, fingerprint: obj.fingerprint };
|
|
|
|
|
return closure_22(arg0, tmp5, obj2);
|
2026-09-18 19:45:33 +00:00
|
|
|
}
|
|
|
|
|
};
|
2026-10-01 14:13:23 +00:00
|
|
|
AnalyticsUtils = Object.assign(AnalyticsUtils);
|
2026-09-18 19:45:33 +00:00
|
|
|
const result1 = size.fileFinishedImporting("utils/AnalyticsUtils.tsx");
|
|
|
|
|
|
2026-10-01 14:13:23 +00:00
|
|
|
export default obj62;
|
2026-09-18 19:45:33 +00:00
|
|
|
export const AnalyticsContext = context;
|
|
|
|
|
export { launchSignature };
|
|
|
|
|
export const addExtraAnalyticsDecorator = function addExtraAnalyticsDecorator(arg0) {
|
|
|
|
|
closure_20.push(arg0);
|
|
|
|
|
};
|
|
|
|
|
export const AnalyticEventConfigs = obj;
|
|
|
|
|
export { expandLocation };
|
|
|
|
|
export function setUTMContext(arg0) {
|
2026-10-01 14:13:23 +00:00
|
|
|
let closure_14 = arg0;
|
2026-09-18 19:45:33 +00:00
|
|
|
return arg0;
|
|
|
|
|
}
|
|
|
|
|
export { expandEventProperties };
|
|
|
|
|
export { debugLogEvent };
|
|
|
|
|
export function startRecordingAnalyticsEvents() {
|
|
|
|
|
c24 = true;
|
|
|
|
|
}
|
|
|
|
|
export function stopRecordingAnalyticsEvents() {
|
|
|
|
|
c24 = false;
|
|
|
|
|
}
|
|
|
|
|
export function getAnalyticsEventsRecording() {
|
|
|
|
|
return closure_25;
|
|
|
|
|
}
|
|
|
|
|
export const clearAnalyticsEventsRecording = function clearAnalyticsEventsRecording() {
|
|
|
|
|
const keys = Object.keys(closure_25);
|
|
|
|
|
const item = keys.forEach((item) => {
|
2026-10-01 14:13:23 +00:00
|
|
|
delete closure_1_25[item];
|
2026-09-18 19:45:33 +00:00
|
|
|
});
|
|
|
|
|
};
|
|
|
|
|
export const isGameApplicationType = function isGameApplicationType(arg0) {
|
|
|
|
|
return arg0 === ApplicationTypes.GAME || arg0 === ApplicationTypes.DEPRECATED_GAME;
|
|
|
|
|
};
|
|
|
|
|
export const trackNetworkAction = function trackNetworkAction(event, arg1) {
|
2026-10-01 14:13:23 +00:00
|
|
|
const obj = { location: metroImportAll() };
|
2026-09-18 19:45:33 +00:00
|
|
|
const merged = Object.assign(arg1);
|
|
|
|
|
const obj2 = { type: "action" };
|
2026-10-01 14:13:23 +00:00
|
|
|
const tmp2 = expandEventProperties(obj);
|
2026-09-18 19:45:33 +00:00
|
|
|
const merged1 = Object.assign(arg1);
|
2026-10-01 14:13:23 +00:00
|
|
|
metroImportDefault(event, obj2);
|
|
|
|
|
const obj3 = LogAggregatorAll;
|
|
|
|
|
obj3.report("Analytics", event);
|
2026-09-18 19:45:33 +00:00
|
|
|
closure_26(event, tmp2);
|
|
|
|
|
};
|
|
|
|
|
export const getNewAnalyticsLoadId = function getNewAnalyticsLoadId() {
|
2026-10-01 14:13:23 +00:00
|
|
|
const obj = v1;
|
|
|
|
|
return obj.v4();
|
2026-09-18 19:45:33 +00:00
|
|
|
};
|
|
|
|
|
export const AnalyticsSchema = utils_AnalyticsSchemaAll;
|