decord/source/modules/analytics/updateDynamicSuperProperties.tsx

40 lines
1.3 KiB
TypeScript
Raw Normal View History

2026-07-24 07:16:23 +00:00
// Module ID: 16003
// Function ID: 123582
2026-07-20 16:05:17 +00:00
// Name: updateDynamicSuperProperties
2026-07-24 07:16:23 +00:00
// Dependencies: [6697, 480, 9492, 2]
2026-07-20 16:05:17 +00:00
// Exports: updateDynamicSuperProperties
2026-07-24 07:16:23 +00:00
// Module 16003 (updateDynamicSuperProperties)
2026-07-23 10:11:24 +00:00
let result = require("canUIRequestGatewaySocket").fileFinishedImporting("modules/analytics/updateDynamicSuperProperties.tsx");
2026-07-20 16:05:17 +00:00
export const updateDynamicSuperProperties = function updateDynamicSuperProperties() {
2026-07-23 10:11:24 +00:00
let obj = require(6697) /* stopAnalyticsHeartbeat */;
2026-07-20 16:05:17 +00:00
const activeSessionUnsafe = obj.getActiveSessionUnsafe();
2026-07-23 10:11:24 +00:00
const superProperties = require(480) /* isThrottled */.getSuperProperties();
2026-07-20 16:05:17 +00:00
obj = {};
let uuid;
if (null != activeSessionUnsafe) {
uuid = activeSessionUnsafe.uuid;
}
let prop;
if (null != superProperties) {
prop = superProperties.client_heartbeat_session_id;
}
if (uuid !== prop) {
obj.client_heartbeat_session_id = uuid;
}
2026-07-23 10:11:24 +00:00
const obj2 = require(480) /* isThrottled */;
2026-07-24 07:16:23 +00:00
const state = importDefault(9492).getState();
2026-07-20 16:05:17 +00:00
let client_app_state;
if (null != superProperties) {
client_app_state = superProperties.client_app_state;
}
if (state !== client_app_state) {
obj.client_app_state = state;
}
if (Object.keys(obj).length > 0) {
2026-07-23 10:11:24 +00:00
const result = require(480) /* isThrottled */.extendSuperProperties(obj);
const obj5 = require(480) /* isThrottled */;
2026-07-20 16:05:17 +00:00
}
};