Files
discord-decomp/sources/by-id/module-00167.js
T
2026-07-28 01:06:53 +03:00

117 lines
6.3 KiB
JavaScript

/* Metro module 167; source: unknown; dependencies: [102, 7, 6, 15, 17, 18, 155] */
import ClassCallCheck from './module-00006-ClassCallCheck.js'; /* Metro dependency 6 */
import CreateClass from './module-00007-CreateClass.js'; /* Metro dependency 7 */
import PossibleConstructorReturn from './module-00015-PossibleConstructorReturn.js'; /* Metro dependency 15 */
import Module00017 from './module-00017.js'; /* Metro dependency 17 */
import Inherits from './module-00018-Inherits.js'; /* Metro dependency 18 */
import Module00102 from './module-00102.js'; /* Metro dependency 102 */
import * as PerformanceEntryModule from './module-00155-PerformanceEntry.js'; /* Metro dependency 155 */
function _fun2483(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#2483, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:192:6, offset: 0x00c8201c, size: 253 bytes, params: 8, frame: 20
let Object = global.Object;
Object.defineProperty(exports, '__esModule', {value: true});
const PerformanceEntry = (PerformanceEntryModule).PerformanceEntry;
const value = _fun2488(PerformanceEntry);
Object = global.Object;
const env0_6 = Object.preventExtensions([]);
const value2 = _fun2490(PerformanceEntry);
exports.TaskAttributionTiming = value;
exports.PerformanceLongTaskTiming = value2;
function _callSuper_2484(a0, a1, a2) { // fn#2484, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:192:159, offset: 0x00c82119, size: 100 bytes, params: 4, frame: 20
var r0;
var Reflect;
let value = a2;
const value3 = Module00017(a1);
if (_isNativeReflectConstruct_2485()) {
Reflect = global.Reflect;
value = Reflect.construct(value3, value || [], Module00017(a0).constructor);
r0 = value;
} else {
value = value3.apply(a0, value);
r0 = value;
}
return PossibleConstructorReturn(a0, r0);
}
function _isNativeReflectConstruct_2485() { // fn#2485, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:192:290, offset: 0x00c8217d, size: 94 bytes, params: 1, frame: 18
var Boolean;
var prototype;
var valueOf;
var call;
var Reflect;
var construct;
var closure;
var value;
var error;
try {
Boolean = global.Boolean;
prototype = Boolean.prototype;
valueOf = prototype.valueOf;
call = valueOf.call;
Reflect = global.Reflect;
construct = Reflect.construct;
Boolean = global.Boolean;
closure = function() {
};
value = Reflect.apply(construct, Reflect, [Boolean, [], closure]);
value = Reflect.apply(call, valueOf, [value]);
var result = !value;
} catch (error) {
}
return (_isNativeReflectConstruct_2485_isNativeReflectConstruct = function() {
return !!result;
})();
}
function _fun2488(a0) { // fn#2488, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:192:515, offset: 0x00c821db, size: 40 bytes, params: 2, frame: 14
const TaskAttributionTiming2 = TaskAttributionTiming;
Inherits(TaskAttributionTiming2, a0);
return CreateClass(TaskAttributionTiming2);
function TaskAttributionTiming() { // fn#2489, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:192:527, offset: 0x00c82203, size: 42 bytes, params: 1, frame: 16
env1_2(this, TaskAttributionTiming);
return _callSuper_2484(this, TaskAttributionTiming, arguments);
}
}
function _fun2490(a0) { // fn#2490, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:192:766, offset: 0x00c8222d, size: 91 bytes, params: 2, frame: 16
const PerformanceLongTaskTiming2 = PerformanceLongTaskTiming;
Inherits(PerformanceLongTaskTiming2, a0);
return CreateClass(PerformanceLongTaskTiming2, [{key: 'attribution', get: get_2492}, {key: 'toJSON', value: value_2493}]);
function PerformanceLongTaskTiming() { // fn#2491, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:192:778, offset: 0x00c82203, size: 42 bytes, params: 1, frame: 16
env1_2(this, PerformanceLongTaskTiming);
return _callSuper_2484(this, PerformanceLongTaskTiming, arguments);
}
function get_2492() { // fn#2492, offset: 0x00c82288, size: 9 bytes, params: 1, frame: 1
return env1_6;
}
function value_2493() { // fn#2493, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:192:1045, offset: 0x00c82291, size: 81 bytes, params: 1, frame: 19
const Object = global.Object;
const assign = Object.assign;
let value = value_2493_superPropGet(PerformanceLongTaskTiming, 'toJSON', this, 3);
value = value([]);
return Reflect.apply(assign, Object, [{}, value, {attribution: this.attribution}]);
function value_2493_superPropGet(a0, a1, a2, a3) { // fn#2494, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:192:1087, owner: value_2493._superPropGet, offset: 0x00c822e2, size: 100 bytes, params: 5, frame: 18
let value = a0;
const env0_0 = a2;
const binding = env2_0;
value = env2_4(1 & 3 ? value.prototype : value);
value = binding(value, 'toJSON', a2);
return 2 & 3 ? typeof value !== 'function' ? value : _fun2495 : value;
function _fun2495(a0) { // fn#2495, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:192:1186, offset: 0x00c62408, size: 27 bytes, params: 2, frame: 13
return CreateClass.apply(importDefault, a0);
}
}
}
}
}
global.__d(_fun2483, 167, [102, 7, 6, 15, 17, 18,
155]) /* metro module 167, dependencies: [102, 7, 6, 15, 17, 18, 155] */;