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

63 lines
3.2 KiB
JavaScript

/* Metro module 260; source: unknown; dependencies: [7, 6, 15, 17, 18, 162] */
import ClassCallCheck from './module-00006-ClassCallCheck.js'; /* Metro dependency 6 */
import CreateClass from './module-00007-CreateClass.js'; /* Metro dependency 7 */
import PossibleConstructorReturn from './module-00015-PossibleConstructorReturn.js'; /* Metro dependency 15 */
import Module00017 from './module-00017.js'; /* Metro dependency 17 */
import Inherits from './module-00018-Inherits.js'; /* Metro dependency 18 */
import Module00162 from './module-00162.js'; /* Metro dependency 162 */
function _fun3331(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#3331, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:291:6, offset: 0x00c9575a, size: 174 bytes, params: 8, frame: 19
const Object = global.Object;
Object.defineProperty(exports, '__esModule', {value: true});
let value = Module00162;
const Error = global.Error;
value = value(Error);
exports.default = _fun3335(value);
function _isNativeReflectConstruct_3332() { // fn#3332, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:291:148, offset: 0x00c95808, 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_3332_isNativeReflectConstruct = function() {
return !!result;
})();
}
function _fun3335(a0) { // fn#3335, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:291:373, offset: 0x00c95866, size: 40 bytes, params: 2, frame: 14
const HeadlessJsTaskError2 = HeadlessJsTaskError;
Inherits(HeadlessJsTaskError2, a0);
return CreateClass(HeadlessJsTaskError2);
function HeadlessJsTaskError() { // fn#3336, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:291:385, offset: 0x00c9588e, size: 113 bytes, params: 1, frame: 20
const value = environment.__proto__;
env1_1(this, HeadlessJsTaskError);
const value3 = env1_3(HeadlessJsTaskError);
return env1_2(this, _isNativeReflectConstruct_3332() ? global.Reflect.construct(value3, arguments,
env1_3(this).constructor) : value3.apply(this, arguments));
}
}
}
global.__d(_fun3331, 260, [7, 6, 15, 17, 18, 162]) /* metro module 260, dependencies: [7, 6, 15, 17, 18, 162] */;