Initial commit
This commit is contained in:
commit
af3b49f756
16065 files changed
+2938410
No files matched your search
@@ -0,0 +1,123 @@
|
||||
/* Metro module 4733; source: unknown; dependencies: [4734, 4735, 4737, 4738, 4739, 4743, 4744, 4745, 4746, 4731] */
|
||||
function _fun40869(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#40869, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:4911:6, offset: 0x0110e1ad, size: 89 bytes, params: 8, frame: 16
|
||||
const env0_0 = require;
|
||||
const Object = global.Object;
|
||||
Object.defineProperty(exports, '__esModule', {value: true});
|
||||
exports.default = {parseAppMarkers: parseAppMarkers};
|
||||
}
|
||||
|
||||
function addFileType(a0, a1, a2) { // fn#40870, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:4911:995, offset: 0x0110e206, size: 68 bytes, params: 4, frame: 15
|
||||
return (require(4731) /* metro dependency 4731 */).objectAssign({}, a0, {fileType: {value: a1, description: a2}});
|
||||
}
|
||||
|
||||
function parseAppMarkers(a0, a1) { // fn#40871, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:4911:115, offset: 0x0110e24a, size: 958 bytes, params: 3, frame: 24
|
||||
var defaultImport;
|
||||
var defaultImport2;
|
||||
var defaultImport3;
|
||||
var defaultImport4;
|
||||
var defaultImport5;
|
||||
var defaultImport6;
|
||||
var defaultImport7;
|
||||
var defaultImport8;
|
||||
var addFileTypeBinding;
|
||||
let value = environment;
|
||||
if ((importDefault(4734) /* metro dependency 4734 */).USE_TIFF) {
|
||||
defaultImport = importDefault(4735) /* metro dependency 4735 */;
|
||||
reducibleJoin2: while (true) {
|
||||
if (defaultImport.isTiffFile(a0)) {
|
||||
addFileTypeBinding = addFileType;
|
||||
value = importDefault(4735) /* metro dependency 4735 */;
|
||||
value = value.findTiffOffsets();
|
||||
return addFileTypeBinding(value, 'tiff', 'TIFF');
|
||||
}
|
||||
break reducibleJoin2;
|
||||
}
|
||||
}
|
||||
if ((importDefault(4734) /* metro dependency 4734 */).USE_JPEG) {
|
||||
defaultImport2 = importDefault(4737) /* metro dependency 4737 */;
|
||||
reducibleJoin4: while (true) {
|
||||
if (defaultImport2.isJpegFile(a0)) {
|
||||
addFileTypeBinding = addFileType;
|
||||
value = importDefault(4737) /* metro dependency 4737 */;
|
||||
value = value.findJpegOffsets(a0);
|
||||
return addFileTypeBinding(value, 'jpeg', 'JPEG');
|
||||
}
|
||||
break reducibleJoin4;
|
||||
}
|
||||
}
|
||||
if ((importDefault(4734) /* metro dependency 4734 */).USE_PNG) {
|
||||
defaultImport3 = importDefault(4738) /* metro dependency 4738 */;
|
||||
reducibleJoin6: while (true) {
|
||||
if (defaultImport3.isPngFile(a0)) {
|
||||
addFileTypeBinding = addFileType;
|
||||
value = importDefault(4738) /* metro dependency 4738 */;
|
||||
value = value.findPngOffsets(a0, a1);
|
||||
return addFileTypeBinding(value, 'png', 'PNG');
|
||||
}
|
||||
break reducibleJoin6;
|
||||
}
|
||||
}
|
||||
if ((importDefault(4734) /* metro dependency 4734 */).USE_HEIC) {
|
||||
defaultImport4 = importDefault(4739) /* metro dependency 4739 */;
|
||||
reducibleJoin8: while (true) {
|
||||
if (defaultImport4.isHeicFile(a0)) {
|
||||
addFileTypeBinding = addFileType;
|
||||
value = importDefault(4739) /* metro dependency 4739 */;
|
||||
value = value.findHeicOffsets(a0);
|
||||
return addFileTypeBinding(value, 'heic', 'HEIC');
|
||||
}
|
||||
break reducibleJoin8;
|
||||
}
|
||||
}
|
||||
if ((importDefault(4734) /* metro dependency 4734 */).USE_AVIF) {
|
||||
defaultImport5 = importDefault(4743) /* metro dependency 4743 */;
|
||||
reducibleJoin10: while (true) {
|
||||
if (defaultImport5.isAvifFile(a0)) {
|
||||
addFileTypeBinding = addFileType;
|
||||
value = importDefault(4743) /* metro dependency 4743 */;
|
||||
value = value.findAvifOffsets(a0);
|
||||
return addFileTypeBinding(value, 'avif', 'AVIF');
|
||||
}
|
||||
break reducibleJoin10;
|
||||
}
|
||||
}
|
||||
if ((importDefault(4734) /* metro dependency 4734 */).USE_WEBP) {
|
||||
defaultImport6 = importDefault(4744) /* metro dependency 4744 */;
|
||||
reducibleJoin12: while (true) {
|
||||
if (defaultImport6.isWebpFile(a0)) {
|
||||
addFileTypeBinding = addFileType;
|
||||
value = importDefault(4744) /* metro dependency 4744 */;
|
||||
value = value.findOffsets(a0);
|
||||
return addFileTypeBinding(value, 'webp', 'WebP');
|
||||
}
|
||||
break reducibleJoin12;
|
||||
}
|
||||
}
|
||||
if ((importDefault(4734) /* metro dependency 4734 */).USE_GIF) {
|
||||
defaultImport7 = importDefault(4745) /* metro dependency 4745 */;
|
||||
reducibleJoin14: while (true) {
|
||||
if (defaultImport7.isGifFile(a0)) {
|
||||
addFileTypeBinding = addFileType;
|
||||
value = importDefault(4745) /* metro dependency 4745 */;
|
||||
value = value.findOffsets(a0);
|
||||
return addFileTypeBinding(value, 'gif', 'GIF');
|
||||
}
|
||||
break reducibleJoin14;
|
||||
}
|
||||
}
|
||||
if ((importDefault(4734) /* metro dependency 4734 */).USE_XMP) {
|
||||
defaultImport8 = importDefault(4746) /* metro dependency 4746 */;
|
||||
reducibleJoin16: while (true) {
|
||||
if (defaultImport8.isXMLFile(a0)) {
|
||||
addFileTypeBinding = addFileType;
|
||||
value = importDefault(4746) /* metro dependency 4746 */;
|
||||
value = value.findOffsets(a0);
|
||||
return addFileTypeBinding(value, 'xml', 'XML');
|
||||
}
|
||||
break reducibleJoin16;
|
||||
}
|
||||
}
|
||||
const Error = global.Error;
|
||||
throw new Error('Invalid image format');
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user