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

@@ -1,83 +1,86 @@
/* Metro module 5253; source: modules/tti_analytics/native/AppStartInfo.android.tsx; dependencies: [57, 5, 5254, 4014, 2] */
import Module00005 from '../../../by-id/module-00005.js'; /* Metro dependency 5 */
import Module00057 from '../../../by-id/module-00057.js'; /* Metro dependency 57 */
import NativeTTIModule from '../../../external/discord_common/js/packages/rtn-codegen/js/NativeTTIModule.tsx'; /* Metro dependency 5254 */
import * as FileImportTrackerModule from '../../../by-id/module-00002-FileImportTracker.js'; /* Metro dependency 2 */
function _fun46711(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#46711, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:5431:6, offset: 0x011ad853, size: 151 bytes, params: 8, frame: 18
var object2;
const Object = global.Object;
Object.defineProperty(exports, '__esModule', {value: true});
const env0_2 = importDefault(57) /* metro dependency 57 */;
const env0_3 = importDefault(5) /* metro dependency 5 */;
const env0_4 = {};
object2 = {getAppUIViewed: getAppUIViewed, getAppStartInfo: getAppStartInfo};
(require(2) /* metro dependency 2 */).fileFinishedImporting('modules/tti_analytics/native/AppStartInfo.android.tsx');
exports.AppStartInfo = object2;
}
function getAppUIViewed() { // fn#46712, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:5431:124, offset: 0x011ad8ea, size: 78 bytes, params: 1, frame: 13
var r1;
var r0;
var property;
const mainActivityCreationTime = (importDefault(5254) /* metro dependency 5254: NativeTTIModule */).getMainActivityCreationTime();
const value3 = mainActivityCreationTime != null;
if (value3) {
property = env0_4[mainActivityCreationTime];
if (property) {
r1 = !!property;
object = {getAppUIViewed: getAppUIViewed, getAppStartInfo: getAppStartInfo};
(FileImportTrackerModule).fileFinishedImporting('modules/tti_analytics/native/AppStartInfo.android.tsx');
exports.AppStartInfo = object;
function getAppUIViewed() { // fn#46712, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:5431:124, offset: 0x011ad8ea, size: 78 bytes, params: 1, frame: 13
var r1;
var r0;
var property;
const mainActivityCreationTime = (NativeTTIModule).getMainActivityCreationTime();
const value3 = mainActivityCreationTime != null;
if (value3) {
property = env0_4[mainActivityCreationTime];
if (property) {
r1 = !!property;
} else {
env0_4[mainActivityCreationTime] = true;
r1 = false;
}
r0 = r1;
} else {
env0_4[mainActivityCreationTime] = true;
r1 = false;
r0 = value3;
}
r0 = r1;
} else {
r0 = value3;
return r0;
}
return r0;
}
function getAppStartInfo() { // fn#46713, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:5431:241, offset: 0x011ad938, size: 27 bytes, params: 1, frame: 11
return env0_3(_fun46715)();
}
function getAppStartInfo() { // fn#46713, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:5431:241, offset: 0x011ad938, size: 27 bytes, params: 1, frame: 11
return Module00005(_fun46715)();
function* _fun46715() { // fn#46715, original name: ?anon_0_, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:5431:248, offset: 0x011ad95c, size: 329 bytes, params: 1, frame: 22
if (false) {
return undefined;
}
value = environment.__proto__.__proto__;
let binding = env2_0;
const value3 = binding(env2_1[3]);
const getAppStartedTimestamp = value3.getAppStartedTimestamp;
yield Reflect.apply(getAppStartedTimestamp, value3, []);
const value4 = undefined;
if (false) {
return value4;
}
if (value4 <= 0) {
throw new global.Error("NativeTTIManager.getAppStartedTimestamp() returned an invalid timestamp. That's unexpected!");
}
const Promise = global.Promise;
const all = Promise.all;
binding = env2_0;
const binding2 = env2_1;
let object = [binding(binding2[3]).getAppStartType()];
const value8 = binding(binding2[3]);
const getLaunchScenario = value8.getLaunchScenario;
object[1] = Reflect.apply(getLaunchScenario, value8, []);
const value9 = binding(binding2[3]);
const getAppFirstVisibleTimestamp = value9.getAppFirstVisibleTimestamp;
object[2] = Reflect.apply(getAppFirstVisibleTimestamp, value9, []);
yield Reflect.apply(all, Promise, [object]);
const value10 = undefined;
if (false) {
return value10;
}
const value12 = env2_2(value10, 3);
const property = value12[0];
const property2 = value12[1];
const property3 = value12[2];
object = {app_start_type: property, app_launch_scenario: property2};
value = env2_0(env2_1[2]);
value = value.getMainActivityCreationTime();
if (value != null) {
object.android_time_creation_to_create_main_activity = value - value4;
}
return {appCreatedTime: value4, appFirstVisibleTime: property3, extraProperties: object};
}
function* _fun46715() { // fn#46715, original name: ?anon_0_, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:5431:248, offset: 0x011ad95c, size: 329 bytes, params: 1, frame: 22
if (false) {
return undefined;
}
value = environment.__proto__.__proto__;
let binding = env2_0;
const value3 = binding(env2_1[3]);
const getAppStartedTimestamp = value3.getAppStartedTimestamp;
yield Reflect.apply(getAppStartedTimestamp, value3, []);
const value4 = undefined;
if (false) {
return value4;
}
if (value4 <= 0) {
throw new global.Error("NativeTTIManager.getAppStartedTimestamp() returned an invalid timestamp. That's unexpected!");
}
const Promise = global.Promise;
const all = Promise.all;
binding = env2_0;
const binding2 = env2_1;
let object = [binding(binding2[3]).getAppStartType()];
const value8 = binding(binding2[3]);
const getLaunchScenario = value8.getLaunchScenario;
object[1] = Reflect.apply(getLaunchScenario, value8, []);
const value9 = binding(binding2[3]);
const getAppFirstVisibleTimestamp = value9.getAppFirstVisibleTimestamp;
object[2] = Reflect.apply(getAppFirstVisibleTimestamp, value9, []);
yield Reflect.apply(all, Promise, [object]);
const value10 = undefined;
if (false) {
return value10;
}
const value12 = env2_2(value10, 3);
const property = value12[0];
const property2 = value12[1];
const property3 = value12[2];
object = {app_start_type: property, app_launch_scenario: property2};
value = env2_0(env2_1[2]);
value = value.getMainActivityCreationTime();
if (value != null) {
object.android_time_creation_to_create_main_activity = value - value4;
}
return {appCreatedTime: value4, appFirstVisibleTime: property3, extraProperties: object};
}
global.__d(_fun46711, 5253, [57, 5, 5254, 4014, 2]) /* metro module 5253, dependencies: [57, 5, 5254, 4014, 2] */;
@@ -1,12 +1,16 @@
/* Metro module 5255; source: modules/tti_analytics/native/PerformanceAnalyticsActionCreators.tsx; dependencies: [694, 2] */
import Dispatcher from '../../../Dispatcher.tsx'; /* Metro dependency 694 */
import * as FileImportTrackerModule from '../../../by-id/module-00002-FileImportTracker.js'; /* Metro dependency 2 */
function _fun46717(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#46717, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:5433:6, offset: 0x011adb16, size: 97 bytes, params: 8, frame: 17
const Object = global.Object;
Object.defineProperty(exports, '__esModule', {value: true});
(require(2) /* metro dependency 2 */).fileFinishedImporting('modules/tti_analytics/native/PerformanceAnalyticsActionCreators.tsx');
(FileImportTrackerModule).fileFinishedImporting('modules/tti_analytics/native/PerformanceAnalyticsActionCreators.tsx');
exports.ttiRecorded = ttiRecorded;
function ttiRecorded(a0) { // fn#46718, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:5433:207, offset: 0x011adb77, size: 56 bytes, params: 2, frame: 13
(Dispatcher).dispatch({type: 'TTI_RECORDED', tti: a0});
}
}
function ttiRecorded(a0) { // fn#46718, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:5433:207, offset: 0x011adb77, size: 56 bytes, params: 2, frame: 13
(importDefault(694) /* metro dependency 694: Dispatcher */).dispatch({type: 'TTI_RECORDED', tti: a0});
}
global.__d(_fun46717, 5255, [694, 2]) /* metro module 5255, dependencies: [694, 2] */;
File diff suppressed because it is too large. Load diff
@@ -1,36 +1,43 @@
/* Metro module 9871; source: modules/tti_analytics/native/TTIFirstContentfulPaint.tsx; dependencies: [31, 33, 4008, 14, 5249, 9872, 2] */
import TTITracker from '../TTITracker.tsx'; /* Metro dependency 14 */
import * as FileImportTrackerModule from '../../../by-id/module-00002-FileImportTracker.js'; /* Metro dependency 2 */
import * as ReactModule from '../../../by-id/module-00031-React.js'; /* Metro dependency 31 */
import * as JsxRuntimeModule from '../../../by-id/module-00033-JsxRuntime.js'; /* Metro dependency 33 */
import * as PostTTISchedulerModule from '../../app_startup/PostTTIScheduler/PostTTIScheduler.tsx'; /* Metro dependency 5249 */
import * as TTIMeasurementViewModule from './TTIMeasurementView.tsx'; /* Metro dependency 9872 */
function _fun77449(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#77449, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:10057:6, offset: 0x01dfc667, size: 142 bytes, params: 8, frame: 18
const env0_0 = require;
const Object = global.Object;
Object.defineProperty(exports, '__esModule', {value: true});
const env0_3 = importAll(31) /* metro dependency 31 */;
const env0_4 = (require(33) /* metro dependency 33 */).jsx;
(require(2) /* metro dependency 2 */).fileFinishedImporting('modules/tti_analytics/native/TTIFirstContentfulPaint.tsx');
(FileImportTrackerModule).fileFinishedImporting('modules/tti_analytics/native/TTIFirstContentfulPaint.tsx');
exports.TTIFirstContentfulPaint = TTIFirstContentfulPaint;
}
function TTIFirstContentfulPaint({checkFocusedScreen}) { // fn#77450, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:10057:236, offset: 0x01dfc6f5, size: 95 bytes, params: 2, frame: 15
const value2 = env0_3.useCallback(_fun77451, [checkFocusedScreen]);
const TTIMeasurementView = (require(9872) /* metro dependency 9872: TTIMeasurementView */).TTIMeasurementView;
return <TTIMeasurementView onMeasurement={value2} />;
}
function _fun77451({nativeEvent}) { // fn#77451, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:10057:314, offset: 0x01dfc754, size: 173 bytes, params: 2, frame: 15
var r2;
if (checkFocusedScreen != null) {
var value3 = undefined;
var rootNavigationRef = (require(4008) /* metro dependency 4008: RootNavigationRefNative */).getRootNavigationRef();
r2 = rootNavigationRef == null ? value3 : rootNavigationRef.getCurrentRoute();
if (r2 == null) {
return value3;
}
if (r2.name !== checkFocusedScreen) {
return value3;
function TTIFirstContentfulPaint({checkFocusedScreen}) { // fn#77450, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:10057:236, offset: 0x01dfc6f5, size: 95 bytes, params: 2, frame: 15
const value2 = ReactModule.useCallback(_fun77451, [checkFocusedScreen]);
const TTIMeasurementView = (TTIMeasurementViewModule).TTIMeasurementView;
return <TTIMeasurementView onMeasurement={value2} />;
function _fun77451({nativeEvent}) { // fn#77451, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:10057:314, offset: 0x01dfc754, size: 173 bytes, params: 2, frame: 15
var r2;
if (checkFocusedScreen != null) {
var value3 = undefined;
var rootNavigationRef = (require(4008) /* metro dependency 4008: RootNavigationRefNative */).getRootNavigationRef();
r2 = rootNavigationRef == null ? value3 : rootNavigationRef.getCurrentRoute();
if (r2 == null) {
return value3;
}
if (r2.name !== checkFocusedScreen) {
return value3;
}
}
const value = environment.__proto__;
const firstContentfulPaint = (TTITracker).firstContentfulPaint;
firstContentfulPaint.record(nativeEvent.timestamp);
(PostTTISchedulerModule).notifyAboutTTI();
}
}
const value = environment.__proto__;
const firstContentfulPaint = (importDefault(14) /* metro dependency 14: TTITracker */).firstContentfulPaint;
firstContentfulPaint.record(nativeEvent.timestamp);
(require(5249) /* metro dependency 5249: PostTTIScheduler */).notifyAboutTTI();
}
global.__d(_fun77449, 9871, [31, 33, 4008, 14, 5249, 9872,
2]) /* metro module 9871, dependencies: [31, 33, 4008, 14, 5249, 9872, 2] */;
@@ -1,11 +1,15 @@
/* Metro module 9872; source: modules/tti_analytics/native/TTIMeasurementView.tsx; dependencies: [4567, 9873, 2] */
import RequireNativeComponentOrDefaultNative from '../../../utils/native/requireNativeComponentOrDefault.native.tsx'; /* Metro dependency 4567 */
import * as FileImportTrackerModule from '../../../by-id/module-00002-FileImportTracker.js'; /* Metro dependency 2 */
function _fun77452(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#77452, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:10058:6, offset: 0x01dfc801, size: 128 bytes, params: 8, frame: 17
const Object = global.Object;
Object.defineProperty(exports, '__esModule', {value: true});
let value = importDefault(4567) /* metro dependency 4567: requireNativeComponentOrDefaultNative */;
let value = RequireNativeComponentOrDefaultNative;
value = value({componentName: 'DCDTTIMeasurementView',
componentFoundInstance: importDefault(9873) /* metro dependency 9873: TTIMeasurementNativeComponent */});
(require(2) /* metro dependency 2 */).fileFinishedImporting('modules/tti_analytics/native/TTIMeasurementView.tsx');
(FileImportTrackerModule).fileFinishedImporting('modules/tti_analytics/native/TTIMeasurementView.tsx');
exports.TTIMeasurementView = value;
}
global.__d(_fun77452, 9872, [4567, 9873, 2]) /* metro module 9872, dependencies: [4567, 9873, 2] */;