decord/source/stores/AnalyticsTrackingStore.tsx
2026-07-25 08:10:48 +00:00

61 lines
2 KiB
TypeScript

// Module ID: 5692
// Function ID: 49174
// Name: result
// Dependencies: [1194, 653, 480, 686, 5693, 675, 673, 2]
// Module 5692 (result)
import importDefaultResult from "_isNativeReflectConstruct";
import isThrottled from "isThrottled";
const require = arg1;
isThrottled = {
dispatcher: require("dispatcher"),
actionHandler: isThrottled,
TRACKING_URL: require("ME").Endpoints.TRACK,
waitFor: items,
getFingerprint: importDefaultResult.getFingerprint,
getSessionId() {
const session = require(5693) /* stopAnalyticsHeartbeat */.getSession();
return session.then((uuid) => {
const obj = {};
uuid = undefined;
if (null != uuid) {
uuid = uuid.uuid;
}
obj.sessionId = uuid;
return obj;
});
},
getLaunchSignature() {
return require(675) /* expandLocation */.launchSignature;
},
scheduleWhenIdle: require("setOriginWindow").requestSafeIdleCallback
};
isThrottled = {
CONNECTION_OPEN(arg0) {
return require(480) /* isThrottled */.AnalyticsActionHandlers.handleConnectionOpen(arg0);
},
OVERLAY_INITIALIZE(arg0) {
return require(480) /* isThrottled */.AnalyticsActionHandlers.handleConnectionOpen(arg0);
},
CURRENT_USER_UPDATE(arg0) {
return require(480) /* isThrottled */.AnalyticsActionHandlers.handleConnectionOpen(arg0);
},
CONNECTION_CLOSED() {
return require(480) /* isThrottled */.AnalyticsActionHandlers.handleConnectionClosed();
},
FINGERPRINT() {
return require(480) /* isThrottled */.AnalyticsActionHandlers.handleFingerprint();
},
TRACK(arg0) {
return require(480) /* isThrottled */.AnalyticsActionHandlers.handleTrack(arg0);
},
SET_ANALYTICS_TOKEN(arg0) {
return require(480) /* isThrottled */.AnalyticsActionHandlers.handleSetAnalyticsToken(arg0);
}
};
items = [importDefaultResult];
isThrottled = isThrottled.analyticsTrackingStoreMaker(isThrottled);
const result1 = require("isThrottled").fileFinishedImporting("stores/AnalyticsTrackingStore.tsx");
export default isThrottled;