Initial commit
This commit is contained in:
commit
af3b49f756
16065 files changed
+2938410
No files matched your search
@@ -0,0 +1,29 @@
|
||||
/* Metro module 15630; source: modules/analytics/updateDynamicSuperProperties.tsx; dependencies: [4875, 480, 9493, 2] */
|
||||
function _fun119714(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#119714, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:15838:6, offset: 0x02516d61, size: 103 bytes, params: 8, frame: 18
|
||||
const env0_0 = require;
|
||||
const Object = global.Object;
|
||||
Object.defineProperty(exports, '__esModule', {value: true});
|
||||
(require(2) /* metro dependency 2 */).fileFinishedImporting('modules/analytics/updateDynamicSuperProperties.tsx');
|
||||
exports.updateDynamicSuperProperties = updateDynamicSuperProperties;
|
||||
}
|
||||
|
||||
function updateDynamicSuperProperties() { // fn#119715, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:15838:207, offset: 0x02516dc8, size: 212 bytes, params: 1, frame: 18
|
||||
const value2 = undefined;
|
||||
const activeSessionUnsafe = (require(4875) /* metro dependency 4875: SessionHeartbeatScheduler */).getActiveSessionUnsafe();
|
||||
const superProperties = (require(480) /* metro dependency 480: AnalyticsUtils */).getSuperProperties();
|
||||
const object2 = {};
|
||||
const uuid = activeSessionUnsafe == null ? value2 : activeSessionUnsafe.uuid;
|
||||
if (uuid !== (superProperties == null ? value2 : superProperties.client_heartbeat_session_id)) {
|
||||
object2.client_heartbeat_session_id = uuid;
|
||||
}
|
||||
const state = (importDefault(9493) /* metro dependency 9493: DiscordAppStateNative */).getState();
|
||||
if (state !== (superProperties == null ? value2 : superProperties.client_app_state)) {
|
||||
object2.client_app_state = state;
|
||||
}
|
||||
const Object = global.Object;
|
||||
if (Object.keys(object2).length > 0) {
|
||||
(require(480) /* metro dependency 480: AnalyticsUtils */).extendSuperProperties(object2);
|
||||
}
|
||||
return value2;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user