66 lines
2.9 KiB
TypeScript
66 lines
2.9 KiB
TypeScript
/* Metro module 11545; source: modules/errors/UploaderError.tsx; dependencies: [7, 6, 15, 17, 18, 4132, 2] */
|
|
function _fun88493(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#88493, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:11731:6, offset: 0x01fe592d, size: 198 bytes, params: 8, frame: 18
|
|
const Object = global.Object;
|
|
Object.defineProperty(exports, '__esModule', {value: true});
|
|
const env0_0 = importDefault(7) /* metro dependency 7 */;
|
|
const env0_1 = importDefault(6) /* metro dependency 6 */;
|
|
const env0_2 = importDefault(15) /* metro dependency 15 */;
|
|
const env0_3 = importDefault(17) /* metro dependency 17 */;
|
|
const env0_4 = importDefault(18) /* metro dependency 18 */;
|
|
let value = importDefault(4132) /* metro dependency 4132: APIError */;
|
|
value = _fun88497(value);
|
|
(require(2) /* metro dependency 2 */).fileFinishedImporting('modules/errors/UploaderError.tsx');
|
|
exports.default = value;
|
|
}
|
|
|
|
function _isNativeReflectConstruct_88494() { // fn#88494, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:11731:148, offset: 0x01fe59f3, size: 98 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_88494_isNativeReflectConstruct = function() {
|
|
return !!result;
|
|
})();
|
|
}
|
|
|
|
function _fun88497(a0) { // fn#88497, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:11731:347, offset: 0x01fe5a55, size: 42 bytes, params: 2, frame: 14
|
|
const closure = UploaderError;
|
|
env0_4(closure, a0);
|
|
return env0_0(closure);
|
|
}
|
|
|
|
function UploaderError(a0, a1) { // fn#88498, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:11731:359, offset: 0x01fe5a7f, size: 181 bytes, params: 3, frame: 20
|
|
let value = environment.__proto__;
|
|
env1_1(this, UploaderError);
|
|
const items2 = [a0, a1];
|
|
const value3 = env1_3(UploaderError);
|
|
value = env1_2(this, _isNativeReflectConstruct_88494() ? global.Reflect.construct(value3, items2,
|
|
env1_3(this).constructor) : value3.apply(this, items2));
|
|
value.attachments = [];
|
|
if (a0.body != null && a0.body.attachments != null) {
|
|
value.attachments = a0.body.attachments;
|
|
}
|
|
return value;
|
|
}
|
|
|