This commit is contained in:
janisslsm committed 2026-07-28 01:06:53 +03:00
1 parent af3b49f756
commit 1781d25a15
22448 files changed
+2731829 -2650550

No files matched your search

+103
View File
@@ -0,0 +1,103 @@
/* Metro module 1070; source: unknown; dependencies: [77, 1067, 1042, 1043, 826] */
import * as Module00077Module from './module-00077.js'; /* Metro dependency 77 */
import * as Module00826Module from './module-00826.js'; /* Metro dependency 826 */
import * as Module01067Module from './module-01067.js'; /* Metro dependency 1067 */
function _fun11210(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#11210, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:1197:6, offset: 0x00da4da2, size: 110 bytes, params: 8, frame: 19
const env0_0 = require;
const _sendStandaloneClsSpan2 = _sendStandaloneClsSpan;
const Object = global.Object;
const defineProperty = Object.defineProperty;
const Symbol = global.Symbol;
Reflect.apply(defineProperty, Object, [exports, Symbol.toStringTag, {value: 'Module'}]);
exports._sendStandaloneClsSpan = _sendStandaloneClsSpan2;
exports.trackClsAsStandaloneSpan = trackClsAsStandaloneSpan;
function _sendStandaloneClsSpan(a0, a1, a2, a3) { // fn#11211, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:1197:44, offset: 0x00da4e10, size: 631 bytes, params: 5, frame: 25
var r3;
var r10;
var moduleValue2;
var moduleValue5;
var htmlTreeAsString;
var property;
var addEvent;
var value;
const value2 = undefined;
if ((require(1043) /* metro dependency 1043 */).DEBUG_BUILD) {
(require(826) /* metro dependency 826 */).debug.log('Sending CLS span (' + a0 + ')');
}
if (a1) {
moduleValue2 = require(1067) /* metro dependency 1067 */;
r3 = moduleValue2.msToSec(((require(826) /* metro dependency 826 */).browserPerformanceTimeOrigin() || 0) + a1.startTime);
} else {
r3 = (require(826) /* metro dependency 826 */).timestampInSeconds();
}
const currentScope = (require(826) /* metro dependency 826 */).getCurrentScope();
const getScopeData = currentScope.getScopeData;
const transactionName = Reflect.apply(getScopeData, currentScope, []).transactionName;
if (a1) {
moduleValue5 = require(826) /* metro dependency 826 */;
htmlTreeAsString = moduleValue5.htmlTreeAsString;
property = a1.sources[0];
r10 = Reflect.apply(htmlTreeAsString, moduleValue5, [property == null ? value2 : property.node]);
} else {
r10 = 'Layout shift';
}
let binding = Module00077Module;
const SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN = (require(826) /* metro dependency 826 */).SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN;
const value10 = binding({}, SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN, 'auto.http.browser.cls');
const SEMANTIC_ATTRIBUTE_SENTRY_OP = (require(826) /* metro dependency 826 */).SEMANTIC_ATTRIBUTE_SENTRY_OP;
const value11 = binding(value10, SEMANTIC_ATTRIBUTE_SENTRY_OP, 'ui.webvital.cls');
const SEMANTIC_ATTRIBUTE_EXCLUSIVE_TIME = (require(826) /* metro dependency 826 */).SEMANTIC_ATTRIBUTE_EXCLUSIVE_TIME;
const value14 = binding(binding(binding(value11, SEMANTIC_ATTRIBUTE_EXCLUSIVE_TIME, 0), 'sentry.pageload.span_id',
a2), 'sentry.report_event', a3);
if (a1 != null && a1.sources) {
a1.sources.forEach(_fun11212);
}
const moduleValue6 = require(1067) /* metro dependency 1067 */;
const value16 = moduleValue6.startStandaloneWebVitalSpan({name: r10, transaction: transactionName,
attributes: value14, startTime: r3});
if (value16) {
addEvent = value16.addEvent;
binding = Module00077Module;
value = binding({}, (require(826) /* metro dependency 826 */).SEMANTIC_ATTRIBUTE_SENTRY_MEASUREMENT_UNIT, '');
value = binding(value, (require(826) /* metro dependency 826 */).SEMANTIC_ATTRIBUTE_SENTRY_MEASUREMENT_VALUE,
a0);
Reflect.apply(addEvent, value16, ['cls', value]);
value16.end(r3);
}
return value2;
function _fun11212({node}, a1) { // fn#11212, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:1197:683, offset: 0x00da5087, size: 92 bytes, params: 3, frame: 14
const binding = env0_0;
let value = a1 + 1;
value = 'cls.source.' + value;
binding[value] = Module00826Module.htmlTreeAsString(node);
}
}
function trackClsAsStandaloneSpan(a0) { // fn#11213, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:1197:1132, offset: 0x00da50e3, size: 127 bytes, params: 2, frame: 18
var value;
if (Module01067Module.supportsWebVital('layout-shift')) {
value = require(1042) /* metro dependency 1042 */;
var env0_2 = value.addClsInstrumentationHandler(_fun11214, true);
value = Module01067Module;
value.listenForWebVitalReportEvents(a0, _fun11215);
}
function _fun11214({metric}) { // fn#11214, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:1197:1268, offset: 0x00da4d3c, size: 60 bytes, params: 2, frame: 4
var value;
if (metric.entries[metric.entries.length - 1]) {
value = metric.value;
}
}
function _fun11215(a0, a1) { // fn#11215, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:1197:1393, offset: 0x00da4d78, size: 42 bytes, params: 3, frame: 18
_sendStandaloneClsSpan(env0_1, env0_0, a1, a0);
env0_2();
}
}
}
global.__d(_fun11210, 1070, [77, 1067, 1042, 1043,
826]) /* metro module 1070, dependencies: [77, 1067, 1042, 1043, 826] */;