36 lines
2.3 KiB
JavaScript
36 lines
2.3 KiB
JavaScript
/* Metro module 7462; source: unknown; dependencies: [77, 7383, 7425] */
|
|
import * as Module00077Module from './module-00077.js'; /* Metro dependency 77 */
|
|
import * as Module07383Module from './module-07383.js'; /* Metro dependency 7383 */
|
|
|
|
function _fun60179(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#60179, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:7640:6, offset: 0x016fd852, size: 104 bytes, params: 8, frame: 19
|
|
const env0_0 = require;
|
|
const Object = global.Object;
|
|
Object.defineProperty(exports, '__esModule', {value: true});
|
|
exports.sessionTimingIntegration = (require(7425) /* metro dependency 7425 */).defineIntegration(_sessionTimingIntegration);
|
|
function _sessionTimingIntegration() { // fn#60180, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:7640:126, offset: 0x016fd8ba, size: 75 bytes, params: 1, frame: 12
|
|
let value = Module07383Module;
|
|
value = value.timestampInSeconds();
|
|
const env0_0 = 1000 * value;
|
|
return {name: 'SessionTiming', processEvent: processEvent_60181};
|
|
function _sessionTimingIntegrationProcessEvent(a0) { // fn#60181, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:7640:243, owner: _sessionTimingIntegration.processEvent, offset: 0x016fd905, size: 161 bytes, params: 2, frame: 23
|
|
let value = environment.__proto__;
|
|
const value3 = 1000 * (Module07383Module).timestampInSeconds();
|
|
const Object = global.Object;
|
|
const assign = Object.assign;
|
|
const Object2 = global.Object;
|
|
const assign2 = Object2.assign;
|
|
const extra = a0.extra;
|
|
const binding = env1_2;
|
|
const binding2 = env0_0;
|
|
value = binding({}, 'session:start', binding2);
|
|
value = binding(value, 'session:duration', value3 - binding2);
|
|
value = binding(value, 'session:end', value3);
|
|
return Reflect.apply(assign, Object, [{}, a0, {extra: Reflect.apply(assign2, Object2, [{}, extra, value])}]);
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
global.__d(_fun60179, 7462, [77, 7383, 7425]) /* metro module 7462, dependencies: [77, 7383, 7425] */;
|