121 lines
5.2 KiB
React
121 lines
5.2 KiB
React
/* Metro module 160; source: unknown; dependencies: [6, 7, 15, 17, 18, 99, 100, 155] */
|
|
function _fun2447(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#2447, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:185:6, offset: 0x00c80f9c, size: 262 bytes, params: 8, frame: 20
|
|
const Object = global.Object;
|
|
Object.defineProperty(exports, '__esModule', {value: true});
|
|
const env0_0 = importDefault(6) /* metro dependency 6 */;
|
|
const env0_1 = importDefault(7) /* metro dependency 7 */;
|
|
const env0_2 = importDefault(15) /* metro dependency 15 */;
|
|
const env0_3 = importDefault(17) /* metro dependency 17 */;
|
|
const env0_4 = importDefault(18) /* metro dependency 18 */;
|
|
const env0_5 = importDefault(99) /* metro dependency 99 */;
|
|
let value = importDefault(100) /* metro dependency 100 */;
|
|
const env0_6 = value('detail');
|
|
const PerformanceEntry = (require(155) /* metro dependency 155 */).PerformanceEntry;
|
|
const value2 = _fun2452(PerformanceEntry);
|
|
const env0_7 = value('detail');
|
|
value = _fun2455(PerformanceEntry);
|
|
exports.PerformanceMark = value2;
|
|
exports.PerformanceMeasure = value;
|
|
}
|
|
|
|
function _callSuper(a0, a1, a2) { // fn#2448, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:185:168, offset: 0x00c810a2, size: 100 bytes, params: 4, frame: 20
|
|
var r0;
|
|
var Reflect;
|
|
let value = a2;
|
|
const value3 = env0_3(a1);
|
|
const binding = env0_2;
|
|
if (_isNativeReflectConstruct_2449()) {
|
|
Reflect = global.Reflect;
|
|
value = Reflect.construct(value3, value || [], env0_3(a0).constructor);
|
|
r0 = value;
|
|
} else {
|
|
value = value3.apply(a0, value);
|
|
r0 = value;
|
|
}
|
|
return binding(a0, r0);
|
|
}
|
|
|
|
function _isNativeReflectConstruct_2449() { // fn#2449, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:185:299, offset: 0x00c81106, 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_2449_isNativeReflectConstruct = function() {
|
|
return !!result;
|
|
})();
|
|
}
|
|
|
|
function _fun2452(a0) { // fn#2452, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:185:538, offset: 0x00c81164, size: 68 bytes, params: 2, frame: 15
|
|
const closure = PerformanceMark;
|
|
env0_4(closure, a0);
|
|
return env0_1(closure, [{key: 'detail', get: get_2454}]);
|
|
}
|
|
|
|
function _fun2455(a0) { // fn#2455, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:185:987, offset: 0x00c81278, size: 68 bytes, params: 2, frame: 15
|
|
const closure = PerformanceMeasure;
|
|
env0_4(closure, a0);
|
|
return env0_1(closure, [{key: 'detail', get: get_2457}]);
|
|
}
|
|
|
|
function PerformanceMark(a0, a1) { // fn#2453, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:185:550, offset: 0x00c811a8, size: 180 bytes, params: 3, frame: 20
|
|
var binding2;
|
|
const value = environment.__proto__;
|
|
let binding = env1_0;
|
|
const value3 = undefined;
|
|
binding(this, PerformanceMark);
|
|
const value5 = _callSuper(this, PerformanceMark, [{name: a0, entryType: 'mark',
|
|
startTime: (a1 == null ? value3 : a1.startTime) ?? global.performance.now(), duration: 0}]);
|
|
const Object = global.Object;
|
|
Object.defineProperty(value5, env1_6, {writable: true, value: value3});
|
|
if (a1) {
|
|
binding = env1_5;
|
|
binding2 = env1_6;
|
|
binding(value5, binding2)[binding2] = a1.detail;
|
|
}
|
|
return value5;
|
|
}
|
|
|
|
function get_2454() { // fn#2454, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:185:905, offset: 0x00c8125c, size: 28 bytes, params: 1, frame: 13
|
|
const binding = env1_5;
|
|
const binding2 = env1_6;
|
|
return binding(this, binding2)[binding2];
|
|
}
|
|
|
|
function PerformanceMeasure(a0, a1) { // fn#2456, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:185:999, offset: 0x00c812bc, size: 151 bytes, params: 3, frame: 19
|
|
var binding2;
|
|
const value = environment.__proto__;
|
|
let binding = env1_0;
|
|
binding(this, PerformanceMeasure);
|
|
const value3 = _callSuper(this, PerformanceMeasure, [{name: a0, entryType: 'measure', startTime: a1.startTime,
|
|
duration: a1.duration}]);
|
|
const Object = global.Object;
|
|
Object.defineProperty(value3, env1_7, {writable: true, value: undefined});
|
|
if (a1) {
|
|
binding = env1_5;
|
|
binding2 = env1_7;
|
|
binding(value3, binding2)[binding2] = a1.detail;
|
|
}
|
|
return value3;
|
|
}
|
|
|