Skipped 1 file(s) >100MB (GitHub limit): source/__polyfill/04xxx/module_4790.js (118.4 MB)
26 lines
932 B
TypeScript
26 lines
932 B
TypeScript
// Module ID: 12753
|
|
// Function ID: 12754
|
|
// Name: NewUserAnalyticsUtils
|
|
// Dependencies: [1074, 1242, 2]
|
|
// Exports: trackNUFStep
|
|
|
|
// Module 12753 (NewUserAnalyticsUtils)
|
|
import Constants from "Constants" /* 1074 */;
|
|
import AnalyticsUtilsDefault from "AnalyticsUtils" /* 1242 */;
|
|
import size from "module_2" /* 2 */;
|
|
|
|
const AnalyticEvents = Constants.AnalyticEvents;
|
|
let timestamp = 0;
|
|
let result = size.fileFinishedImporting("modules/nuf/native/NewUserAnalyticsUtils.tsx");
|
|
|
|
export const trackNUFStep = function trackNUFStep(STEP_GUILD_TEMPLATE, STEP_FRIEND_LIST, arg2) {
|
|
timestamp = Date.now();
|
|
const result = (timestamp - timestamp) / 1000;
|
|
const obj2 = {};
|
|
const merged = Object.assign(arg2);
|
|
obj2.flow_type = "Mobile NUX Post Reg";
|
|
obj2.from_step = STEP_GUILD_TEMPLATE;
|
|
obj2.to_step = STEP_FRIEND_LIST;
|
|
obj2.seconds_on_from_step = result;
|
|
AnalyticsUtilsDefault.track(AnalyticEvents.NUO_TRANSITION, obj2);
|
|
};
|