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

310 lines
15 KiB
JavaScript

/* Metro module 3986; source: unknown; dependencies: [3984] */
import * as Module03984Module from './module-03984.js'; /* Metro dependency 3984 */
function _fun32778(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#32778, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:4144:6, offset: 0x0101df53, size: 241 bytes, params: 8, frame: 17
const env0_0 = require;
const env0_2 = {'childContextTypes': true, 'contextType': true, 'contextTypes': true, 'defaultProps': true,
'displayName': true, 'getDefaultProps': true, 'getDerivedStateFromError': true,
'getDerivedStateFromProps': true, 'mixins': true, 'propTypes': true, 'type': true};
const env0_3 = {'name': true, 'length': true, 'prototype': true, 'caller': true, 'callee': true, 'arguments': true,
'arity': true};
const object2 = {};
const ForwardRef = (Module03984Module).ForwardRef;
object2[ForwardRef] = {'$$typeof': true, 'render': true, 'defaultProps': true, 'displayName': true,
'propTypes': true};
const Memo = (Module03984Module).Memo;
object2[Memo] = {'$$typeof': true, 'compare': true, 'defaultProps': true, 'displayName': true, 'propTypes': true,
'type': true};
let Object = global.Object;
const env0_6 = Object.defineProperty;
Object = global.Object;
const env0_7 = Object.getOwnPropertyNames;
Object = global.Object;
const env0_8 = Object.getOwnPropertySymbols;
Object = global.Object;
const env0_9 = Object.getOwnPropertyDescriptor;
Object = global.Object;
const env0_10 = Object.getPrototypeOf;
Object = global.Object;
const env0_11 = Object.prototype;
module.exports = exports_32780;
function getStatics_32779(a0) { // fn#32779, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:4144:403, offset: 0x0101e044, size: 70 bytes, params: 2, frame: 13
return Module03984Module.isMemo(a0) ? env0_4 : env0_5[a0.$$typeof] || env0_2;
}
function exports_32780(a0, a1, a2) { // fn#32780, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:4144:753, offset: 0x0101e08a, size: 274 bytes, params: 4, frame: 25
var r1;
var r5;
var r2;
var value;
var prototypeOf;
var value3;
var ownPropertyNames;
var concat;
var value5;
var getStatics_32779Binding;
var statics_32779Binding;
var statics_32779Binding2;
var length;
var value8;
var property;
var ownPropertyDescriptor;
var definePropertyBinding;
var error;
var value10;
reducibleJoin17: while (true) {
reducibleJoin22: while (true) {
if (typeof a1 === 'string') {
break reducibleJoin22;
}
value = environment;
reducibleJoin6: while (true) {
if (prototype) {
prototypeOf = getPrototypeOf(a1);
reducibleJoin4: while (true) {
if (prototypeOf) {
value3 = prototypeOf !== prototype;
r1 = value3;
break reducibleJoin4;
}
r1 = prototypeOf;
break reducibleJoin4;
}
if (r1) {
exports_32780(a0, prototypeOf, a2);
break reducibleJoin6;
}
break reducibleJoin6;
}
break reducibleJoin6;
}
ownPropertyNames = getOwnPropertyNames(a1);
reducibleJoin8: while (true) {
if (getOwnPropertySymbols) {
concat = ownPropertyNames.concat;
value5 = Reflect.apply(concat, ownPropertyNames, [getOwnPropertySymbols(a1)]);
r5 = value5;
break reducibleJoin8;
}
r5 = ownPropertyNames;
break reducibleJoin8;
}
getStatics_32779Binding = getStatics_32779;
statics_32779Binding = getStatics_32779Binding(a0);
statics_32779Binding2 = getStatics_32779Binding(a1);
length = r5.length;
value8 = 0;
if (!(value8 < length)) {
break reducibleJoin22;
}
r2 = value8;
reducibleLoop9: while (true) {
property = r5[r2];
if (!env0_3[property]) {
reducibleJoin21: while (true) {
reducibleJoin16: while (true) {
if (a2) {
if (a2[property]) {
break reducibleJoin21;
}
if (statics_32779Binding2) {
reducibleJoin14: while (true) {
if (statics_32779Binding2[property]) {
break reducibleJoin21;
}
break reducibleJoin14;
}
}
if (statics_32779Binding) {
if (statics_32779Binding[property]) {
break reducibleJoin21;
}
break reducibleJoin16;
}
break reducibleJoin16;
}
if (statics_32779Binding2) {
reducibleJoin14: while (true) {
if (statics_32779Binding2[property]) {
break reducibleJoin21;
}
break reducibleJoin14;
}
}
if (statics_32779Binding) {
if (statics_32779Binding[property]) {
break reducibleJoin21;
}
break reducibleJoin16;
}
break reducibleJoin16;
}
ownPropertyDescriptor = getOwnPropertyDescriptor(a1, property);
break reducibleJoin17;
}
}
value10 = typeof r2 === 'bigint' ? r2 + 1n : +r2 + 1;
length = r5.length;
if (value10 < length) {
r2 = value10;
continue reducibleLoop9;
}
break reducibleJoin22;
}
}
return a0;
}
exceptionMain17: while (true) {
reducibleLoop17: while (true) {
try {
definePropertyBinding = defineProperty;
} catch (error) {
while (true) {
reduciblePort16: while (true) {
reducibleLoop21: while (true) {
reducibleJoin15: while (true) {
reduciblePort14: while (true) {
reducibleJoin13: while (true) {
reduciblePort12: while (true) {
value10 = typeof r2 === 'bigint' ? r2 + 1n : +r2 + 1;
length = r5.length;
if (!(value10 < length)) {
return a0;
}
r2 = value10;
property = r5[r2];
if (env0_3[property]) {
continue reducibleLoop21;
}
if (a2) {
if (a2[property]) {
continue reducibleLoop21;
}
break reduciblePort12;
}
break reduciblePort12;
}
if (statics_32779Binding2) {
break reducibleJoin13;
}
break reduciblePort14;
}
if (statics_32779Binding2[property]) {
continue reducibleLoop21;
}
break reduciblePort14;
}
if (statics_32779Binding) {
break reducibleJoin15;
}
break reduciblePort16;
}
if (statics_32779Binding[property]) {
continue reducibleLoop21;
}
break reduciblePort16;
}
}
ownPropertyDescriptor = getOwnPropertyDescriptor(a1, property);
continue exceptionMain17;
}
}
try {
definePropertyBinding(a0, property, ownPropertyDescriptor);
} catch (error) {
while (true) {
reduciblePort16: while (true) {
reducibleLoop21: while (true) {
reducibleJoin15: while (true) {
reduciblePort14: while (true) {
reducibleJoin13: while (true) {
reduciblePort12: while (true) {
value10 = typeof r2 === 'bigint' ? r2 + 1n : +r2 + 1;
length = r5.length;
if (!(value10 < length)) {
return a0;
}
r2 = value10;
property = r5[r2];
if (env0_3[property]) {
continue reducibleLoop21;
}
if (a2) {
if (a2[property]) {
continue reducibleLoop21;
}
break reduciblePort12;
}
break reduciblePort12;
}
if (statics_32779Binding2) {
break reducibleJoin13;
}
break reduciblePort14;
}
if (statics_32779Binding2[property]) {
continue reducibleLoop21;
}
break reduciblePort14;
}
if (statics_32779Binding) {
break reducibleJoin15;
}
break reduciblePort16;
}
if (statics_32779Binding[property]) {
continue reducibleLoop21;
}
break reduciblePort16;
}
}
ownPropertyDescriptor = getOwnPropertyDescriptor(a1, property);
continue exceptionMain17;
}
}
reducibleLoop21: while (true) {
value10 = typeof r2 === 'bigint' ? r2 + 1n : +r2 + 1;
length = r5.length;
if (value10 < length) {
r2 = value10;
property = r5[r2];
if (env0_3[property]) {
continue reducibleLoop21;
}
if (a2) {
reducibleJoin12: while (true) {
if (a2[property]) {
continue reducibleLoop21;
}
break reducibleJoin12;
}
}
if (statics_32779Binding2) {
reducibleJoin14: while (true) {
if (statics_32779Binding2[property]) {
continue reducibleLoop21;
}
break reducibleJoin14;
}
}
if (statics_32779Binding) {
if (statics_32779Binding[property]) {
continue reducibleLoop21;
}
ownPropertyDescriptor = getOwnPropertyDescriptor(a1, property);
continue reducibleLoop17;
}
ownPropertyDescriptor = getOwnPropertyDescriptor(a1, property);
continue reducibleLoop17;
}
break reducibleLoop17;
}
}
return a0;
}
}
}
global.__d(_fun32778, 3986, [3984]) /* metro module 3986, dependencies: [3984] */;