Initial commit
This commit is contained in:
commit
af3b49f756
16065 files changed
+2938410
No files matched your search
@@ -0,0 +1,82 @@
|
||||
/* Metro module 557; source: unknown; dependencies: [509] */
|
||||
function _fun6714(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#6714, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:607:6, offset: 0x00d06bc7, size: 82 bytes, params: 8, frame: 4
|
||||
const env0_0 = require;
|
||||
const closure = function() {
|
||||
};
|
||||
module.exports = closure;
|
||||
closure.prototype.get = function(a0) {
|
||||
return this.header[a0.toLowerCase()];
|
||||
};
|
||||
closure.prototype._setHeaderProperties = _setHeaderProperties;
|
||||
closure.prototype._setStatusProperties = _setStatusProperties;
|
||||
}
|
||||
|
||||
function _setHeaderProperties(a0) { // fn#6717, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:607:211, offset: 0x00d06c34, size: 214 bytes, params: 2, frame: 24
|
||||
var r8;
|
||||
var propertyName;
|
||||
var propertyName2;
|
||||
var Object;
|
||||
var prototype;
|
||||
var hasOwnProperty;
|
||||
var call;
|
||||
var link;
|
||||
var parseLinks;
|
||||
var error;
|
||||
let property = a0['content-type'];
|
||||
const r7 = property || '';
|
||||
let value = environment;
|
||||
const moduleValue = require(dependencyMap[0]);
|
||||
this.type = moduleValue.type(r7);
|
||||
const value2 = require(dependencyMap[0]).params(r7);
|
||||
for (propertyName in value2) {
|
||||
Object = global.Object;
|
||||
prototype = Object.prototype;
|
||||
hasOwnProperty = prototype.hasOwnProperty;
|
||||
call = hasOwnProperty.call;
|
||||
if (!Reflect.apply(call, hasOwnProperty, [value2, propertyName])) {
|
||||
r8 = propertyName2;
|
||||
continue;
|
||||
}
|
||||
this[propertyName] = value2[propertyName];
|
||||
r8 = propertyName2;
|
||||
}
|
||||
this.links = {};
|
||||
try {
|
||||
link = a0.link;
|
||||
if (link) {
|
||||
property = dependencyMap[0];
|
||||
value = require(property);
|
||||
parseLinks = value.parseLinks;
|
||||
link = a0.link;
|
||||
value = Reflect.apply(parseLinks, value, [link]);
|
||||
this.links = value;
|
||||
}
|
||||
} catch (error) {
|
||||
}
|
||||
}
|
||||
|
||||
function _setStatusProperties(a0) { // fn#6718, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:607:496, offset: 0x00d06d0a, size: 285 bytes, params: 2, frame: 13
|
||||
const Math = global.Math;
|
||||
let value = Math.trunc(a0 / 100);
|
||||
this.statusCode = a0;
|
||||
this.status = this.statusCode;
|
||||
this.statusType = value;
|
||||
this.info = value === 1;
|
||||
this.ok = value === 2;
|
||||
this.redirect = value === 3;
|
||||
const value2 = value === 4;
|
||||
this.clientError = value2;
|
||||
value = value === 5;
|
||||
this.serverError = value;
|
||||
this.error = (value2 || value) && this.toError();
|
||||
this.created = a0 === 201;
|
||||
this.accepted = a0 === 202;
|
||||
this.noContent = a0 === 204;
|
||||
this.badRequest = a0 === 400;
|
||||
this.unauthorized = a0 === 401;
|
||||
this.notAcceptable = a0 === 406;
|
||||
this.forbidden = a0 === 403;
|
||||
this.notFound = a0 === 404;
|
||||
this.unprocessableEntity = a0 === 422;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user