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

37 lines
1.9 KiB
JavaScript

/* Metro module 6401; source: unknown; dependencies: [6402] */
function _fun50170(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#50170, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:6579:6, offset: 0x01212e1f, size: 63 bytes, params: 8, frame: 3
const env0_0 = require;
module.exports = exports_50171;
module.exports.__esModule = true;
module.exports.default = module.exports;
function exports_50171(a0, a1) { // fn#50171, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:6579:41, offset: 0x00c3dc8e, size: 188 bytes, params: 3, frame: 19
var Object;
const value = a1;
if (typeof value === 'function') {
Object = global.Object;
a0.prototype = Object.create(value && value.prototype, {constructor: {'value': null, 'writable': true,
'configurable': true, value: a0}});
Object = global.Object;
Object.defineProperty(a0, 'prototype', {writable: false});
if (value) {
(require(6402) /* metro dependency 6402 */)(a0, value);
}
} else {
if (value !== null) {
throw new global.TypeError('Super expression must either be null or a function');
}
Object = global.Object;
a0.prototype = Object.create(value && value.prototype, {constructor: {'value': null, 'writable': true,
'configurable': true, value: a0}});
Object = global.Object;
Object.defineProperty(a0, 'prototype', {writable: false});
if (value) {
(require(6402) /* metro dependency 6402 */)(a0, value);
}
}
}
}
global.__d(_fun50170, 6401, [6402]) /* metro module 6401, dependencies: [6402] */;