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

116 lines
4.9 KiB
JavaScript

/* Metro module 6478; source: unknown; dependencies: [31] */
import * as ReactModule from './module-00031-React.js'; /* Metro dependency 31 */
function _fun50995(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#50995, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:6656:6, offset: 0x01226b79, size: 116 bytes, params: 8, frame: 16
const value = this;
if (value && value.__extends) {
}
const Object = global.Object;
Object.defineProperty(exports, '__esModule', {value: true});
const Component = (ReactModule).Component;
exports.default = _fun51001(Component);
function extendStatics_50996(a0, a1) { // fn#50996, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:6656:77, offset: 0x01226bed, size: 78 bytes, params: 3, frame: 13
var r3;
var Array;
var value;
const Object = global.Object;
const setPrototypeOf = Object.setPrototypeOf;
if (setPrototypeOf) {
r3 = setPrototypeOf;
} else {
Array = global.Array;
value = Object.create([]);
value = value instanceof Array;
r3 = value && (function(a0, a1) {
a0.__proto__ = a1;
});
}
r3 = !r3 ? function(a0, a1) {
var r3;
var propertyName;
var propertyName2;
var hasOwnProperty;
for (propertyName in a1) {
hasOwnProperty = global.Object.prototype.hasOwnProperty;
if (!hasOwnProperty.call(a1, propertyName)) {
r3 = propertyName2;
continue;
}
a0[propertyName] = a1[propertyName];
r3 = propertyName2;
}
} : r3;
return r3(a0, a1);
}
function _fun50999(a0, a1) { // fn#50999, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:6656:292, offset: 0x01226c3b, size: 177 bytes, params: 3, frame: 15
var r1;
var value;
var prototype;
var ___5100022;
var TypeError;
var value3;
var typeError;
const env0_0 = a0;
const ___510002 = ___51000;
if (typeof a1 === 'function') {
extendStatics_50996(a0, a1);
if (a1 === null) {
r1 = global.Object.create(a1);
} else {
prototype = a1.prototype;
___510002.prototype = prototype;
prototype = ___510002.prototype;
value = Object.create(prototype, {constructor: {value: ___510002}});
___5100022 = new ___510002();
value = ___5100022 instanceof Object ? ___5100022 : value;
r1 = value;
}
a0.prototype = r1;
} else {
if (a1 !== null) {
TypeError = global.TypeError;
value = global.String(a1);
value = 'Class extends value ' + value;
value3 = Object.create(TypeError.prototype, {constructor: {value: TypeError}});
value += ' is not a constructor or null';
typeError = new TypeError();
value = typeError instanceof Object ? typeError : value3;
throw value;
}
extendStatics_50996(a0, a1);
if (a1 === null) {
r1 = global.Object.create(a1);
} else {
prototype = a1.prototype;
___510002.prototype = prototype;
prototype = ___510002.prototype;
value = Object.create(prototype, {constructor: {value: ___510002}});
___5100022 = new ___510002();
value = ___5100022 instanceof Object ? ___5100022 : value;
r1 = value;
}
a0.prototype = r1;
}
function ___51000() { // fn#51000, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:6656:426, offset: 0x0121c997, size: 20 bytes, params: 1, frame: 2
this.constructor = env0_0;
}
}
function _fun51001(a0) { // fn#51001, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:6656:595, offset: 0x01226cec, size: 31 bytes, params: 2, frame: 13
const env0_0 = a0;
const BaseScrollView2 = BaseScrollView;
env0_1(BaseScrollView2, a0);
return BaseScrollView2;
function BaseScrollView(a0) { // fn#51002, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:6656:607, offset: 0x01226d0b, size: 32 bytes, params: 2, frame: 13
const value = this;
return env0_0.call(value, a0) || value;
}
}
}
global.__d(_fun50995, 6478, [31]) /* metro module 6478, dependencies: [31] */;