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

325 lines
21 KiB
JavaScript

/* Metro module 4200; source: unknown; dependencies: [4148, 518, 550, 4201, 4183] */
function _fun34501(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#34501, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:4371:6, offset: 0x01057970, size: 34 bytes, params: 8, frame: 2
const env0_0 = require;
module.exports = exports_34502;
function exports_34502(a0) { // fn#34502, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:4371:53, offset: 0x01057992, size: 733 bytes, params: 2, frame: 18
var object;
var get;
var set;
var value;
if ((require(4148) /* metro dependency 4148 */)(a0)) {
object = {};
if ((require(550) /* metro dependency 550 */)(a0, 'enumerable')) {
object['[[Enumerable]]'] = (require(4201) /* metro dependency 4201 */)(a0.enumerable);
}
if ((require(550) /* metro dependency 550 */)(a0, 'configurable')) {
object['[[Configurable]]'] = (require(4201) /* metro dependency 4201 */)(a0.configurable);
}
if ((require(550) /* metro dependency 550 */)(a0, 'value')) {
object['[[Value]]'] = a0.value;
}
if ((require(550) /* metro dependency 550 */)(a0, 'writable')) {
object['[[Writable]]'] = (require(4201) /* metro dependency 4201 */)(a0.writable);
}
if ((require(550) /* metro dependency 550 */)(a0, 'get')) {
get = a0.get;
if (get === undefined) {
object['[[Get]]'] = get;
if ((require(550) /* metro dependency 550 */)(a0, 'set')) {
set = a0.set;
if (set === undefined) {
object['[[Set]]'] = set;
if ((require(550) /* metro dependency 550 */)(object, '[[Get]]')) {
if ((require(550) /* metro dependency 550 */)(object, '[[Value]]')) {
value = require(518) /* metro dependency 518 */;
value = new value('Invalid property descriptor. Cannot both specify accessors and a value or writable attribute');
throw value;
}
if ((require(550) /* metro dependency 550 */)(object, '[[Writable]]')) {
value = require(518) /* metro dependency 518 */;
value = new value('Invalid property descriptor. Cannot both specify accessors and a value or writable attribute');
throw value;
}
return object;
}
if ((require(550) /* metro dependency 550 */)(object, '[[Set]]')) {
if ((require(550) /* metro dependency 550 */)(object, '[[Value]]')) {
value = require(518) /* metro dependency 518 */;
value = new value('Invalid property descriptor. Cannot both specify accessors and a value or writable attribute');
throw value;
}
if ((require(550) /* metro dependency 550 */)(object, '[[Writable]]')) {
value = require(518) /* metro dependency 518 */;
value = new value('Invalid property descriptor. Cannot both specify accessors and a value or writable attribute');
throw value;
}
return object;
}
return object;
}
if ((require(4183) /* metro dependency 4183 */)(set)) {
object['[[Set]]'] = set;
if ((require(550) /* metro dependency 550 */)(object, '[[Get]]')) {
if ((require(550) /* metro dependency 550 */)(object, '[[Value]]')) {
value = require(518) /* metro dependency 518 */;
value = new value('Invalid property descriptor. Cannot both specify accessors and a value or writable attribute');
throw value;
}
if ((require(550) /* metro dependency 550 */)(object, '[[Writable]]')) {
value = require(518) /* metro dependency 518 */;
value = new value('Invalid property descriptor. Cannot both specify accessors and a value or writable attribute');
throw value;
}
return object;
}
if ((require(550) /* metro dependency 550 */)(object, '[[Set]]')) {
if ((require(550) /* metro dependency 550 */)(object, '[[Value]]')) {
value = require(518) /* metro dependency 518 */;
value = new value('Invalid property descriptor. Cannot both specify accessors and a value or writable attribute');
throw value;
}
if ((require(550) /* metro dependency 550 */)(object, '[[Writable]]')) {
value = require(518) /* metro dependency 518 */;
value = new value('Invalid property descriptor. Cannot both specify accessors and a value or writable attribute');
throw value;
}
return object;
}
return object;
}
value = require(518) /* metro dependency 518 */;
value = new value('setter must be a function');
throw value;
}
if ((require(550) /* metro dependency 550 */)(object, '[[Get]]')) {
if ((require(550) /* metro dependency 550 */)(object, '[[Value]]')) {
value = require(518) /* metro dependency 518 */;
value = new value('Invalid property descriptor. Cannot both specify accessors and a value or writable attribute');
throw value;
}
if ((require(550) /* metro dependency 550 */)(object, '[[Writable]]')) {
value = require(518) /* metro dependency 518 */;
value = new value('Invalid property descriptor. Cannot both specify accessors and a value or writable attribute');
throw value;
}
return object;
}
if ((require(550) /* metro dependency 550 */)(object, '[[Set]]')) {
if ((require(550) /* metro dependency 550 */)(object, '[[Value]]')) {
value = require(518) /* metro dependency 518 */;
value = new value('Invalid property descriptor. Cannot both specify accessors and a value or writable attribute');
throw value;
}
if ((require(550) /* metro dependency 550 */)(object, '[[Writable]]')) {
value = require(518) /* metro dependency 518 */;
value = new value('Invalid property descriptor. Cannot both specify accessors and a value or writable attribute');
throw value;
}
return object;
}
return object;
}
if ((require(4183) /* metro dependency 4183 */)(get)) {
object['[[Get]]'] = get;
if ((require(550) /* metro dependency 550 */)(a0, 'set')) {
set = a0.set;
if (set === undefined) {
object['[[Set]]'] = set;
if ((require(550) /* metro dependency 550 */)(object, '[[Get]]')) {
if ((require(550) /* metro dependency 550 */)(object, '[[Value]]')) {
value = require(518) /* metro dependency 518 */;
value = new value('Invalid property descriptor. Cannot both specify accessors and a value or writable attribute');
throw value;
}
if ((require(550) /* metro dependency 550 */)(object, '[[Writable]]')) {
value = require(518) /* metro dependency 518 */;
value = new value('Invalid property descriptor. Cannot both specify accessors and a value or writable attribute');
throw value;
}
return object;
}
if ((require(550) /* metro dependency 550 */)(object, '[[Set]]')) {
if ((require(550) /* metro dependency 550 */)(object, '[[Value]]')) {
value = require(518) /* metro dependency 518 */;
value = new value('Invalid property descriptor. Cannot both specify accessors and a value or writable attribute');
throw value;
}
if ((require(550) /* metro dependency 550 */)(object, '[[Writable]]')) {
value = require(518) /* metro dependency 518 */;
value = new value('Invalid property descriptor. Cannot both specify accessors and a value or writable attribute');
throw value;
}
return object;
}
return object;
}
if ((require(4183) /* metro dependency 4183 */)(set)) {
object['[[Set]]'] = set;
if ((require(550) /* metro dependency 550 */)(object, '[[Get]]')) {
if ((require(550) /* metro dependency 550 */)(object, '[[Value]]')) {
value = require(518) /* metro dependency 518 */;
value = new value('Invalid property descriptor. Cannot both specify accessors and a value or writable attribute');
throw value;
}
if ((require(550) /* metro dependency 550 */)(object, '[[Writable]]')) {
value = require(518) /* metro dependency 518 */;
value = new value('Invalid property descriptor. Cannot both specify accessors and a value or writable attribute');
throw value;
}
return object;
}
if ((require(550) /* metro dependency 550 */)(object, '[[Set]]')) {
if ((require(550) /* metro dependency 550 */)(object, '[[Value]]')) {
value = require(518) /* metro dependency 518 */;
value = new value('Invalid property descriptor. Cannot both specify accessors and a value or writable attribute');
throw value;
}
if ((require(550) /* metro dependency 550 */)(object, '[[Writable]]')) {
value = require(518) /* metro dependency 518 */;
value = new value('Invalid property descriptor. Cannot both specify accessors and a value or writable attribute');
throw value;
}
return object;
}
return object;
}
value = require(518) /* metro dependency 518 */;
value = new value('setter must be a function');
throw value;
}
if ((require(550) /* metro dependency 550 */)(object, '[[Get]]')) {
if ((require(550) /* metro dependency 550 */)(object, '[[Value]]')) {
value = require(518) /* metro dependency 518 */;
value = new value('Invalid property descriptor. Cannot both specify accessors and a value or writable attribute');
throw value;
}
if ((require(550) /* metro dependency 550 */)(object, '[[Writable]]')) {
value = require(518) /* metro dependency 518 */;
value = new value('Invalid property descriptor. Cannot both specify accessors and a value or writable attribute');
throw value;
}
return object;
}
if ((require(550) /* metro dependency 550 */)(object, '[[Set]]')) {
if ((require(550) /* metro dependency 550 */)(object, '[[Value]]')) {
value = require(518) /* metro dependency 518 */;
value = new value('Invalid property descriptor. Cannot both specify accessors and a value or writable attribute');
throw value;
}
if ((require(550) /* metro dependency 550 */)(object, '[[Writable]]')) {
value = require(518) /* metro dependency 518 */;
value = new value('Invalid property descriptor. Cannot both specify accessors and a value or writable attribute');
throw value;
}
return object;
}
return object;
}
value = require(518) /* metro dependency 518 */;
value = new value('getter must be a function');
throw value;
}
if ((require(550) /* metro dependency 550 */)(a0, 'set')) {
set = a0.set;
if (set === undefined) {
object['[[Set]]'] = set;
if ((require(550) /* metro dependency 550 */)(object, '[[Get]]')) {
if ((require(550) /* metro dependency 550 */)(object, '[[Value]]')) {
value = require(518) /* metro dependency 518 */;
value = new value('Invalid property descriptor. Cannot both specify accessors and a value or writable attribute');
throw value;
}
if ((require(550) /* metro dependency 550 */)(object, '[[Writable]]')) {
value = require(518) /* metro dependency 518 */;
value = new value('Invalid property descriptor. Cannot both specify accessors and a value or writable attribute');
throw value;
}
return object;
}
if ((require(550) /* metro dependency 550 */)(object, '[[Set]]')) {
if ((require(550) /* metro dependency 550 */)(object, '[[Value]]')) {
value = require(518) /* metro dependency 518 */;
value = new value('Invalid property descriptor. Cannot both specify accessors and a value or writable attribute');
throw value;
}
if ((require(550) /* metro dependency 550 */)(object, '[[Writable]]')) {
value = require(518) /* metro dependency 518 */;
value = new value('Invalid property descriptor. Cannot both specify accessors and a value or writable attribute');
throw value;
}
return object;
}
return object;
}
if ((require(4183) /* metro dependency 4183 */)(set)) {
object['[[Set]]'] = set;
if ((require(550) /* metro dependency 550 */)(object, '[[Get]]')) {
if ((require(550) /* metro dependency 550 */)(object, '[[Value]]')) {
value = require(518) /* metro dependency 518 */;
value = new value('Invalid property descriptor. Cannot both specify accessors and a value or writable attribute');
throw value;
}
if ((require(550) /* metro dependency 550 */)(object, '[[Writable]]')) {
value = require(518) /* metro dependency 518 */;
value = new value('Invalid property descriptor. Cannot both specify accessors and a value or writable attribute');
throw value;
}
return object;
}
if ((require(550) /* metro dependency 550 */)(object, '[[Set]]')) {
if ((require(550) /* metro dependency 550 */)(object, '[[Value]]')) {
value = require(518) /* metro dependency 518 */;
value = new value('Invalid property descriptor. Cannot both specify accessors and a value or writable attribute');
throw value;
}
if ((require(550) /* metro dependency 550 */)(object, '[[Writable]]')) {
value = require(518) /* metro dependency 518 */;
value = new value('Invalid property descriptor. Cannot both specify accessors and a value or writable attribute');
throw value;
}
return object;
}
return object;
}
value = require(518) /* metro dependency 518 */;
value = new value('setter must be a function');
throw value;
}
if ((require(550) /* metro dependency 550 */)(object, '[[Get]]')) {
if ((require(550) /* metro dependency 550 */)(object, '[[Value]]')) {
value = require(518) /* metro dependency 518 */;
value = new value('Invalid property descriptor. Cannot both specify accessors and a value or writable attribute');
throw value;
}
if ((require(550) /* metro dependency 550 */)(object, '[[Writable]]')) {
value = require(518) /* metro dependency 518 */;
value = new value('Invalid property descriptor. Cannot both specify accessors and a value or writable attribute');
throw value;
}
return object;
}
if ((require(550) /* metro dependency 550 */)(object, '[[Set]]')) {
if ((require(550) /* metro dependency 550 */)(object, '[[Value]]')) {
value = require(518) /* metro dependency 518 */;
value = new value('Invalid property descriptor. Cannot both specify accessors and a value or writable attribute');
throw value;
}
if ((require(550) /* metro dependency 550 */)(object, '[[Writable]]')) {
value = require(518) /* metro dependency 518 */;
value = new value('Invalid property descriptor. Cannot both specify accessors and a value or writable attribute');
throw value;
}
return object;
}
return object;
}
value = require(518) /* metro dependency 518 */;
value = new value('ToPropertyDescriptor requires an object');
throw value;
}
}
global.__d(_fun34501, 4200, [4148, 518, 550, 4201,
4183]) /* metro module 4200, dependencies: [4148, 518, 550, 4201, 4183] */;