Files
discord-decomp/sources/by-id/module-01079.jsx
T
2026-07-27 16:20:00 +03:00

41 lines
2.2 KiB
React

/* Metro module 1079; source: unknown; dependencies: [826, 1080] */
function _fun11275(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#11275, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:1206:6, offset: 0x00da751b, size: 95 bytes, params: 8, frame: 17
const env0_0 = require;
const Object = global.Object;
const defineProperty = Object.defineProperty;
const Symbol = global.Symbol;
Reflect.apply(defineProperty, Object, [exports, Symbol.toStringTag, {value: 'Module'}]);
exports.uiProfiler = {startProfiler: startProfiler_11276, stopProfiler: stopProfiler_11277};
}
function startProfiler_11276() { // fn#11276, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:1206:112, offset: 0x00da757a, size: 219 bytes, params: 1, frame: 15
const DEBUG_BUILD = (require(1080) /* metro dependency 1080 */).DEBUG_BUILD;
const debug = (require(826) /* metro dependency 826 */).debug;
const client = (require(826) /* metro dependency 826 */).getClient();
if (client) {
if (client.getIntegrationByName('BrowserProfiling')) {
client.emit('startUIProfiler');
} else if (DEBUG_BUILD) {
debug.warn('BrowserProfiling integration is not available');
}
} else if (DEBUG_BUILD) {
debug.warn('No Sentry client available, profiling is not started');
}
}
function stopProfiler_11277() { // fn#11277, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:1206:433, offset: 0x00da7655, size: 219 bytes, params: 1, frame: 15
const DEBUG_BUILD = (require(1080) /* metro dependency 1080 */).DEBUG_BUILD;
const debug = (require(826) /* metro dependency 826 */).debug;
const client = (require(826) /* metro dependency 826 */).getClient();
if (client) {
if (client.getIntegrationByName('BrowserProfiling')) {
client.emit('stopUIProfiler');
} else if (DEBUG_BUILD) {
debug.warn('ProfilingIntegration is not available');
}
} else if (DEBUG_BUILD) {
debug.warn('No Sentry client available, profiling is not started');
}
}