2454 lines
106 KiB
TypeScript
2454 lines
106 KiB
TypeScript
/* Metro module 11216; source: modules/debug/DebugUploadManager.tsx; dependencies: [5, 1379, 661, 3, 27, 4131, 9235, 11217, 12, 11219, 11220, 1873, 4014, 11221, 11222, 11223, 507, 2] */
|
|
import Logger from './Logger.tsx'; /* Metro dependency 3 */
|
|
import Module00005 from '../../by-id/module-00005.js'; /* Metro dependency 5 */
|
|
import ChannelStore from '../../stores/ChannelStore.tsx'; /* Metro dependency 1379 */
|
|
import * as FileImportTrackerModule from '../../by-id/module-00002-FileImportTracker.js'; /* Metro dependency 2 */
|
|
import * as ReactNativeModule from '../../by-id/module-00027-ReactNative.js'; /* Metro dependency 27 */
|
|
import * as ConstantsModule from '../../Constants.tsx'; /* Metro dependency 661 */
|
|
|
|
function _fun85728(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#85728, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:11402:6, offset: 0x01f79b6a, size: 284 bytes, params: 8, frame: 20
|
|
const env0_0 = require;
|
|
const closure = function() {
|
|
return _uploadAppLogFiles.apply(this, arguments);
|
|
};
|
|
const Object = global.Object;
|
|
Object.defineProperty(exports, '__esModule', {value: true});
|
|
let value = Logger;
|
|
value = new value('DebugUploadManager');
|
|
const NativeModules = (ReactNativeModule).NativeModules;
|
|
const env0_9 = NativeModules.CrashReportingManager;
|
|
(FileImportTrackerModule).fileFinishedImporting('modules/debug/DebugUploadManager.tsx');
|
|
exports.uploadDebugLogFiles = function() {
|
|
return _uploadDebugLogFiles.apply(this, arguments);
|
|
};
|
|
exports.uploadAppLogFiles = closure;
|
|
function _uploadDebugLogFiles() { // fn#85729, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:11402:231, offset: 0x01f79c86, size: 50 bytes, params: 1, frame: 14
|
|
return Module00005(_fun85731).apply(this, arguments);
|
|
function* _fun85731(a0, a1) { // fn#85731, original name: ?anon_0_, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:11402:294, offset: 0x01f79cc3, size: 585 bytes, params: 3, frame: 19
|
|
var r3;
|
|
var r5;
|
|
var binding;
|
|
var value4;
|
|
var value5;
|
|
var value6;
|
|
var binding2;
|
|
var property;
|
|
var value7;
|
|
var uploadRtcLogFiles;
|
|
var value8;
|
|
var value9;
|
|
var value10;
|
|
var error;
|
|
var UploadVoiceDebugLogsError;
|
|
var code;
|
|
var UploadErrorCodes;
|
|
var GENERAL;
|
|
var NO_FILE;
|
|
var PROGRESS;
|
|
var UPLOAD;
|
|
var READ;
|
|
var AVUnderlyingError;
|
|
var UploadErrorRead;
|
|
var UploadErrorUpload;
|
|
var UploadErrorProgress;
|
|
var UploadErrorNoFile;
|
|
var UploadErrorGeneral;
|
|
var binding3;
|
|
var value11;
|
|
var reportAVError;
|
|
var AVError;
|
|
var DEBUG_LOG_UPLOAD_FAILED;
|
|
var message;
|
|
if (false) {
|
|
return undefined;
|
|
}
|
|
value = undefined;
|
|
try {
|
|
binding = env2_11;
|
|
} catch (error) {
|
|
binding = env2_0;
|
|
UploadVoiceDebugLogsError = binding(env2_3[5]).UploadVoiceDebugLogsError;
|
|
if (error instanceof UploadVoiceDebugLogsError) {
|
|
code = error.code;
|
|
UploadErrorCodes = env2_0(env2_3[5]).UploadErrorCodes;
|
|
GENERAL = UploadErrorCodes.GENERAL;
|
|
if (GENERAL === code) {
|
|
AVUnderlyingError = env2_0(env2_3[6]).AVUnderlyingError;
|
|
UploadErrorGeneral = AVUnderlyingError.UploadErrorGeneral;
|
|
r3 = UploadErrorGeneral;
|
|
} else {
|
|
UploadErrorCodes = env2_0(env2_3[5]).UploadErrorCodes;
|
|
NO_FILE = UploadErrorCodes.NO_FILE;
|
|
if (NO_FILE === code) {
|
|
AVUnderlyingError = env2_0(env2_3[6]).AVUnderlyingError;
|
|
UploadErrorNoFile = AVUnderlyingError.UploadErrorNoFile;
|
|
r3 = UploadErrorNoFile;
|
|
} else {
|
|
UploadErrorCodes = env2_0(env2_3[5]).UploadErrorCodes;
|
|
PROGRESS = UploadErrorCodes.PROGRESS;
|
|
if (PROGRESS === code) {
|
|
AVUnderlyingError = env2_0(env2_3[6]).AVUnderlyingError;
|
|
UploadErrorProgress = AVUnderlyingError.UploadErrorProgress;
|
|
r3 = UploadErrorProgress;
|
|
} else {
|
|
UploadErrorCodes = env2_0(env2_3[5]).UploadErrorCodes;
|
|
UPLOAD = UploadErrorCodes.UPLOAD;
|
|
if (UPLOAD === code) {
|
|
AVUnderlyingError = env2_0(env2_3[6]).AVUnderlyingError;
|
|
UploadErrorUpload = AVUnderlyingError.UploadErrorUpload;
|
|
r3 = UploadErrorUpload;
|
|
} else {
|
|
UploadErrorCodes = env2_0(env2_3[5]).UploadErrorCodes;
|
|
READ = UploadErrorCodes.READ;
|
|
if (READ !== code) {
|
|
r3 = value;
|
|
} else {
|
|
AVUnderlyingError = env2_0(env2_3[6]).AVUnderlyingError;
|
|
UploadErrorRead = AVUnderlyingError.UploadErrorRead;
|
|
r3 = UploadErrorRead;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
r5 = r3;
|
|
} else {
|
|
r5 = value;
|
|
}
|
|
binding = env2_0;
|
|
binding3 = env2_3;
|
|
value11 = binding(binding3[6]);
|
|
reportAVError = value11.reportAVError;
|
|
AVError = binding(binding3[6]).AVError;
|
|
DEBUG_LOG_UPLOAD_FAILED = AVError.DEBUG_LOG_UPLOAD_FAILED;
|
|
message = error.message;
|
|
Reflect.apply(reportAVError, value11, [{type: DEBUG_LOG_UPLOAD_FAILED, underlyingError: r5,
|
|
errorMessage: message}]);
|
|
throw error;
|
|
}
|
|
try {
|
|
value4 = binding(a0);
|
|
} catch (error) {
|
|
binding = env2_0;
|
|
UploadVoiceDebugLogsError = binding(env2_3[5]).UploadVoiceDebugLogsError;
|
|
if (error instanceof UploadVoiceDebugLogsError) {
|
|
code = error.code;
|
|
UploadErrorCodes = env2_0(env2_3[5]).UploadErrorCodes;
|
|
GENERAL = UploadErrorCodes.GENERAL;
|
|
if (GENERAL === code) {
|
|
AVUnderlyingError = env2_0(env2_3[6]).AVUnderlyingError;
|
|
UploadErrorGeneral = AVUnderlyingError.UploadErrorGeneral;
|
|
r3 = UploadErrorGeneral;
|
|
} else {
|
|
UploadErrorCodes = env2_0(env2_3[5]).UploadErrorCodes;
|
|
NO_FILE = UploadErrorCodes.NO_FILE;
|
|
if (NO_FILE === code) {
|
|
AVUnderlyingError = env2_0(env2_3[6]).AVUnderlyingError;
|
|
UploadErrorNoFile = AVUnderlyingError.UploadErrorNoFile;
|
|
r3 = UploadErrorNoFile;
|
|
} else {
|
|
UploadErrorCodes = env2_0(env2_3[5]).UploadErrorCodes;
|
|
PROGRESS = UploadErrorCodes.PROGRESS;
|
|
if (PROGRESS === code) {
|
|
AVUnderlyingError = env2_0(env2_3[6]).AVUnderlyingError;
|
|
UploadErrorProgress = AVUnderlyingError.UploadErrorProgress;
|
|
r3 = UploadErrorProgress;
|
|
} else {
|
|
UploadErrorCodes = env2_0(env2_3[5]).UploadErrorCodes;
|
|
UPLOAD = UploadErrorCodes.UPLOAD;
|
|
if (UPLOAD === code) {
|
|
AVUnderlyingError = env2_0(env2_3[6]).AVUnderlyingError;
|
|
UploadErrorUpload = AVUnderlyingError.UploadErrorUpload;
|
|
r3 = UploadErrorUpload;
|
|
} else {
|
|
UploadErrorCodes = env2_0(env2_3[5]).UploadErrorCodes;
|
|
READ = UploadErrorCodes.READ;
|
|
if (READ !== code) {
|
|
r3 = value;
|
|
} else {
|
|
AVUnderlyingError = env2_0(env2_3[6]).AVUnderlyingError;
|
|
UploadErrorRead = AVUnderlyingError.UploadErrorRead;
|
|
r3 = UploadErrorRead;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
r5 = r3;
|
|
} else {
|
|
r5 = value;
|
|
}
|
|
binding = env2_0;
|
|
binding3 = env2_3;
|
|
value11 = binding(binding3[6]);
|
|
reportAVError = value11.reportAVError;
|
|
AVError = binding(binding3[6]).AVError;
|
|
DEBUG_LOG_UPLOAD_FAILED = AVError.DEBUG_LOG_UPLOAD_FAILED;
|
|
message = error.message;
|
|
Reflect.apply(reportAVError, value11, [{type: DEBUG_LOG_UPLOAD_FAILED, underlyingError: r5,
|
|
errorMessage: message}]);
|
|
throw error;
|
|
}
|
|
yield value4;
|
|
try {
|
|
value5 = undefined;
|
|
value6 = false;
|
|
} catch (error) {
|
|
binding = env2_0;
|
|
UploadVoiceDebugLogsError = binding(env2_3[5]).UploadVoiceDebugLogsError;
|
|
if (error instanceof UploadVoiceDebugLogsError) {
|
|
code = error.code;
|
|
UploadErrorCodes = env2_0(env2_3[5]).UploadErrorCodes;
|
|
GENERAL = UploadErrorCodes.GENERAL;
|
|
if (GENERAL === code) {
|
|
AVUnderlyingError = env2_0(env2_3[6]).AVUnderlyingError;
|
|
UploadErrorGeneral = AVUnderlyingError.UploadErrorGeneral;
|
|
r3 = UploadErrorGeneral;
|
|
} else {
|
|
UploadErrorCodes = env2_0(env2_3[5]).UploadErrorCodes;
|
|
NO_FILE = UploadErrorCodes.NO_FILE;
|
|
if (NO_FILE === code) {
|
|
AVUnderlyingError = env2_0(env2_3[6]).AVUnderlyingError;
|
|
UploadErrorNoFile = AVUnderlyingError.UploadErrorNoFile;
|
|
r3 = UploadErrorNoFile;
|
|
} else {
|
|
UploadErrorCodes = env2_0(env2_3[5]).UploadErrorCodes;
|
|
PROGRESS = UploadErrorCodes.PROGRESS;
|
|
if (PROGRESS === code) {
|
|
AVUnderlyingError = env2_0(env2_3[6]).AVUnderlyingError;
|
|
UploadErrorProgress = AVUnderlyingError.UploadErrorProgress;
|
|
r3 = UploadErrorProgress;
|
|
} else {
|
|
UploadErrorCodes = env2_0(env2_3[5]).UploadErrorCodes;
|
|
UPLOAD = UploadErrorCodes.UPLOAD;
|
|
if (UPLOAD === code) {
|
|
AVUnderlyingError = env2_0(env2_3[6]).AVUnderlyingError;
|
|
UploadErrorUpload = AVUnderlyingError.UploadErrorUpload;
|
|
r3 = UploadErrorUpload;
|
|
} else {
|
|
UploadErrorCodes = env2_0(env2_3[5]).UploadErrorCodes;
|
|
READ = UploadErrorCodes.READ;
|
|
if (READ !== code) {
|
|
r3 = value;
|
|
} else {
|
|
AVUnderlyingError = env2_0(env2_3[6]).AVUnderlyingError;
|
|
UploadErrorRead = AVUnderlyingError.UploadErrorRead;
|
|
r3 = UploadErrorRead;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
r5 = r3;
|
|
} else {
|
|
r5 = value;
|
|
}
|
|
binding = env2_0;
|
|
binding3 = env2_3;
|
|
value11 = binding(binding3[6]);
|
|
reportAVError = value11.reportAVError;
|
|
AVError = binding(binding3[6]).AVError;
|
|
DEBUG_LOG_UPLOAD_FAILED = AVError.DEBUG_LOG_UPLOAD_FAILED;
|
|
message = error.message;
|
|
Reflect.apply(reportAVError, value11, [{type: DEBUG_LOG_UPLOAD_FAILED, underlyingError: r5,
|
|
errorMessage: message}]);
|
|
throw error;
|
|
}
|
|
if (value6) {
|
|
return value5;
|
|
}
|
|
try {
|
|
binding = env2_0;
|
|
} catch (error) {
|
|
binding = env2_0;
|
|
UploadVoiceDebugLogsError = binding(env2_3[5]).UploadVoiceDebugLogsError;
|
|
if (error instanceof UploadVoiceDebugLogsError) {
|
|
code = error.code;
|
|
UploadErrorCodes = env2_0(env2_3[5]).UploadErrorCodes;
|
|
GENERAL = UploadErrorCodes.GENERAL;
|
|
if (GENERAL === code) {
|
|
AVUnderlyingError = env2_0(env2_3[6]).AVUnderlyingError;
|
|
UploadErrorGeneral = AVUnderlyingError.UploadErrorGeneral;
|
|
r3 = UploadErrorGeneral;
|
|
} else {
|
|
UploadErrorCodes = env2_0(env2_3[5]).UploadErrorCodes;
|
|
NO_FILE = UploadErrorCodes.NO_FILE;
|
|
if (NO_FILE === code) {
|
|
AVUnderlyingError = env2_0(env2_3[6]).AVUnderlyingError;
|
|
UploadErrorNoFile = AVUnderlyingError.UploadErrorNoFile;
|
|
r3 = UploadErrorNoFile;
|
|
} else {
|
|
UploadErrorCodes = env2_0(env2_3[5]).UploadErrorCodes;
|
|
PROGRESS = UploadErrorCodes.PROGRESS;
|
|
if (PROGRESS === code) {
|
|
AVUnderlyingError = env2_0(env2_3[6]).AVUnderlyingError;
|
|
UploadErrorProgress = AVUnderlyingError.UploadErrorProgress;
|
|
r3 = UploadErrorProgress;
|
|
} else {
|
|
UploadErrorCodes = env2_0(env2_3[5]).UploadErrorCodes;
|
|
UPLOAD = UploadErrorCodes.UPLOAD;
|
|
if (UPLOAD === code) {
|
|
AVUnderlyingError = env2_0(env2_3[6]).AVUnderlyingError;
|
|
UploadErrorUpload = AVUnderlyingError.UploadErrorUpload;
|
|
r3 = UploadErrorUpload;
|
|
} else {
|
|
UploadErrorCodes = env2_0(env2_3[5]).UploadErrorCodes;
|
|
READ = UploadErrorCodes.READ;
|
|
if (READ !== code) {
|
|
r3 = value;
|
|
} else {
|
|
AVUnderlyingError = env2_0(env2_3[6]).AVUnderlyingError;
|
|
UploadErrorRead = AVUnderlyingError.UploadErrorRead;
|
|
r3 = UploadErrorRead;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
r5 = r3;
|
|
} else {
|
|
r5 = value;
|
|
}
|
|
binding = env2_0;
|
|
binding3 = env2_3;
|
|
value11 = binding(binding3[6]);
|
|
reportAVError = value11.reportAVError;
|
|
AVError = binding(binding3[6]).AVError;
|
|
DEBUG_LOG_UPLOAD_FAILED = AVError.DEBUG_LOG_UPLOAD_FAILED;
|
|
message = error.message;
|
|
Reflect.apply(reportAVError, value11, [{type: DEBUG_LOG_UPLOAD_FAILED, underlyingError: r5,
|
|
errorMessage: message}]);
|
|
throw error;
|
|
}
|
|
try {
|
|
binding2 = env2_3;
|
|
} catch (error) {
|
|
binding = env2_0;
|
|
UploadVoiceDebugLogsError = binding(env2_3[5]).UploadVoiceDebugLogsError;
|
|
if (error instanceof UploadVoiceDebugLogsError) {
|
|
code = error.code;
|
|
UploadErrorCodes = env2_0(env2_3[5]).UploadErrorCodes;
|
|
GENERAL = UploadErrorCodes.GENERAL;
|
|
if (GENERAL === code) {
|
|
AVUnderlyingError = env2_0(env2_3[6]).AVUnderlyingError;
|
|
UploadErrorGeneral = AVUnderlyingError.UploadErrorGeneral;
|
|
r3 = UploadErrorGeneral;
|
|
} else {
|
|
UploadErrorCodes = env2_0(env2_3[5]).UploadErrorCodes;
|
|
NO_FILE = UploadErrorCodes.NO_FILE;
|
|
if (NO_FILE === code) {
|
|
AVUnderlyingError = env2_0(env2_3[6]).AVUnderlyingError;
|
|
UploadErrorNoFile = AVUnderlyingError.UploadErrorNoFile;
|
|
r3 = UploadErrorNoFile;
|
|
} else {
|
|
UploadErrorCodes = env2_0(env2_3[5]).UploadErrorCodes;
|
|
PROGRESS = UploadErrorCodes.PROGRESS;
|
|
if (PROGRESS === code) {
|
|
AVUnderlyingError = env2_0(env2_3[6]).AVUnderlyingError;
|
|
UploadErrorProgress = AVUnderlyingError.UploadErrorProgress;
|
|
r3 = UploadErrorProgress;
|
|
} else {
|
|
UploadErrorCodes = env2_0(env2_3[5]).UploadErrorCodes;
|
|
UPLOAD = UploadErrorCodes.UPLOAD;
|
|
if (UPLOAD === code) {
|
|
AVUnderlyingError = env2_0(env2_3[6]).AVUnderlyingError;
|
|
UploadErrorUpload = AVUnderlyingError.UploadErrorUpload;
|
|
r3 = UploadErrorUpload;
|
|
} else {
|
|
UploadErrorCodes = env2_0(env2_3[5]).UploadErrorCodes;
|
|
READ = UploadErrorCodes.READ;
|
|
if (READ !== code) {
|
|
r3 = value;
|
|
} else {
|
|
AVUnderlyingError = env2_0(env2_3[6]).AVUnderlyingError;
|
|
UploadErrorRead = AVUnderlyingError.UploadErrorRead;
|
|
r3 = UploadErrorRead;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
r5 = r3;
|
|
} else {
|
|
r5 = value;
|
|
}
|
|
binding = env2_0;
|
|
binding3 = env2_3;
|
|
value11 = binding(binding3[6]);
|
|
reportAVError = value11.reportAVError;
|
|
AVError = binding(binding3[6]).AVError;
|
|
DEBUG_LOG_UPLOAD_FAILED = AVError.DEBUG_LOG_UPLOAD_FAILED;
|
|
message = error.message;
|
|
Reflect.apply(reportAVError, value11, [{type: DEBUG_LOG_UPLOAD_FAILED, underlyingError: r5,
|
|
errorMessage: message}]);
|
|
throw error;
|
|
}
|
|
try {
|
|
property = binding2[7];
|
|
} catch (error) {
|
|
binding = env2_0;
|
|
UploadVoiceDebugLogsError = binding(env2_3[5]).UploadVoiceDebugLogsError;
|
|
if (error instanceof UploadVoiceDebugLogsError) {
|
|
code = error.code;
|
|
UploadErrorCodes = env2_0(env2_3[5]).UploadErrorCodes;
|
|
GENERAL = UploadErrorCodes.GENERAL;
|
|
if (GENERAL === code) {
|
|
AVUnderlyingError = env2_0(env2_3[6]).AVUnderlyingError;
|
|
UploadErrorGeneral = AVUnderlyingError.UploadErrorGeneral;
|
|
r3 = UploadErrorGeneral;
|
|
} else {
|
|
UploadErrorCodes = env2_0(env2_3[5]).UploadErrorCodes;
|
|
NO_FILE = UploadErrorCodes.NO_FILE;
|
|
if (NO_FILE === code) {
|
|
AVUnderlyingError = env2_0(env2_3[6]).AVUnderlyingError;
|
|
UploadErrorNoFile = AVUnderlyingError.UploadErrorNoFile;
|
|
r3 = UploadErrorNoFile;
|
|
} else {
|
|
UploadErrorCodes = env2_0(env2_3[5]).UploadErrorCodes;
|
|
PROGRESS = UploadErrorCodes.PROGRESS;
|
|
if (PROGRESS === code) {
|
|
AVUnderlyingError = env2_0(env2_3[6]).AVUnderlyingError;
|
|
UploadErrorProgress = AVUnderlyingError.UploadErrorProgress;
|
|
r3 = UploadErrorProgress;
|
|
} else {
|
|
UploadErrorCodes = env2_0(env2_3[5]).UploadErrorCodes;
|
|
UPLOAD = UploadErrorCodes.UPLOAD;
|
|
if (UPLOAD === code) {
|
|
AVUnderlyingError = env2_0(env2_3[6]).AVUnderlyingError;
|
|
UploadErrorUpload = AVUnderlyingError.UploadErrorUpload;
|
|
r3 = UploadErrorUpload;
|
|
} else {
|
|
UploadErrorCodes = env2_0(env2_3[5]).UploadErrorCodes;
|
|
READ = UploadErrorCodes.READ;
|
|
if (READ !== code) {
|
|
r3 = value;
|
|
} else {
|
|
AVUnderlyingError = env2_0(env2_3[6]).AVUnderlyingError;
|
|
UploadErrorRead = AVUnderlyingError.UploadErrorRead;
|
|
r3 = UploadErrorRead;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
r5 = r3;
|
|
} else {
|
|
r5 = value;
|
|
}
|
|
binding = env2_0;
|
|
binding3 = env2_3;
|
|
value11 = binding(binding3[6]);
|
|
reportAVError = value11.reportAVError;
|
|
AVError = binding(binding3[6]).AVError;
|
|
DEBUG_LOG_UPLOAD_FAILED = AVError.DEBUG_LOG_UPLOAD_FAILED;
|
|
message = error.message;
|
|
Reflect.apply(reportAVError, value11, [{type: DEBUG_LOG_UPLOAD_FAILED, underlyingError: r5,
|
|
errorMessage: message}]);
|
|
throw error;
|
|
}
|
|
try {
|
|
value7 = binding(property);
|
|
} catch (error) {
|
|
binding = env2_0;
|
|
UploadVoiceDebugLogsError = binding(env2_3[5]).UploadVoiceDebugLogsError;
|
|
if (error instanceof UploadVoiceDebugLogsError) {
|
|
code = error.code;
|
|
UploadErrorCodes = env2_0(env2_3[5]).UploadErrorCodes;
|
|
GENERAL = UploadErrorCodes.GENERAL;
|
|
if (GENERAL === code) {
|
|
AVUnderlyingError = env2_0(env2_3[6]).AVUnderlyingError;
|
|
UploadErrorGeneral = AVUnderlyingError.UploadErrorGeneral;
|
|
r3 = UploadErrorGeneral;
|
|
} else {
|
|
UploadErrorCodes = env2_0(env2_3[5]).UploadErrorCodes;
|
|
NO_FILE = UploadErrorCodes.NO_FILE;
|
|
if (NO_FILE === code) {
|
|
AVUnderlyingError = env2_0(env2_3[6]).AVUnderlyingError;
|
|
UploadErrorNoFile = AVUnderlyingError.UploadErrorNoFile;
|
|
r3 = UploadErrorNoFile;
|
|
} else {
|
|
UploadErrorCodes = env2_0(env2_3[5]).UploadErrorCodes;
|
|
PROGRESS = UploadErrorCodes.PROGRESS;
|
|
if (PROGRESS === code) {
|
|
AVUnderlyingError = env2_0(env2_3[6]).AVUnderlyingError;
|
|
UploadErrorProgress = AVUnderlyingError.UploadErrorProgress;
|
|
r3 = UploadErrorProgress;
|
|
} else {
|
|
UploadErrorCodes = env2_0(env2_3[5]).UploadErrorCodes;
|
|
UPLOAD = UploadErrorCodes.UPLOAD;
|
|
if (UPLOAD === code) {
|
|
AVUnderlyingError = env2_0(env2_3[6]).AVUnderlyingError;
|
|
UploadErrorUpload = AVUnderlyingError.UploadErrorUpload;
|
|
r3 = UploadErrorUpload;
|
|
} else {
|
|
UploadErrorCodes = env2_0(env2_3[5]).UploadErrorCodes;
|
|
READ = UploadErrorCodes.READ;
|
|
if (READ !== code) {
|
|
r3 = value;
|
|
} else {
|
|
AVUnderlyingError = env2_0(env2_3[6]).AVUnderlyingError;
|
|
UploadErrorRead = AVUnderlyingError.UploadErrorRead;
|
|
r3 = UploadErrorRead;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
r5 = r3;
|
|
} else {
|
|
r5 = value;
|
|
}
|
|
binding = env2_0;
|
|
binding3 = env2_3;
|
|
value11 = binding(binding3[6]);
|
|
reportAVError = value11.reportAVError;
|
|
AVError = binding(binding3[6]).AVError;
|
|
DEBUG_LOG_UPLOAD_FAILED = AVError.DEBUG_LOG_UPLOAD_FAILED;
|
|
message = error.message;
|
|
Reflect.apply(reportAVError, value11, [{type: DEBUG_LOG_UPLOAD_FAILED, underlyingError: r5,
|
|
errorMessage: message}]);
|
|
throw error;
|
|
}
|
|
try {
|
|
uploadRtcLogFiles = value7.uploadRtcLogFiles;
|
|
} catch (error) {
|
|
binding = env2_0;
|
|
UploadVoiceDebugLogsError = binding(env2_3[5]).UploadVoiceDebugLogsError;
|
|
if (error instanceof UploadVoiceDebugLogsError) {
|
|
code = error.code;
|
|
UploadErrorCodes = env2_0(env2_3[5]).UploadErrorCodes;
|
|
GENERAL = UploadErrorCodes.GENERAL;
|
|
if (GENERAL === code) {
|
|
AVUnderlyingError = env2_0(env2_3[6]).AVUnderlyingError;
|
|
UploadErrorGeneral = AVUnderlyingError.UploadErrorGeneral;
|
|
r3 = UploadErrorGeneral;
|
|
} else {
|
|
UploadErrorCodes = env2_0(env2_3[5]).UploadErrorCodes;
|
|
NO_FILE = UploadErrorCodes.NO_FILE;
|
|
if (NO_FILE === code) {
|
|
AVUnderlyingError = env2_0(env2_3[6]).AVUnderlyingError;
|
|
UploadErrorNoFile = AVUnderlyingError.UploadErrorNoFile;
|
|
r3 = UploadErrorNoFile;
|
|
} else {
|
|
UploadErrorCodes = env2_0(env2_3[5]).UploadErrorCodes;
|
|
PROGRESS = UploadErrorCodes.PROGRESS;
|
|
if (PROGRESS === code) {
|
|
AVUnderlyingError = env2_0(env2_3[6]).AVUnderlyingError;
|
|
UploadErrorProgress = AVUnderlyingError.UploadErrorProgress;
|
|
r3 = UploadErrorProgress;
|
|
} else {
|
|
UploadErrorCodes = env2_0(env2_3[5]).UploadErrorCodes;
|
|
UPLOAD = UploadErrorCodes.UPLOAD;
|
|
if (UPLOAD === code) {
|
|
AVUnderlyingError = env2_0(env2_3[6]).AVUnderlyingError;
|
|
UploadErrorUpload = AVUnderlyingError.UploadErrorUpload;
|
|
r3 = UploadErrorUpload;
|
|
} else {
|
|
UploadErrorCodes = env2_0(env2_3[5]).UploadErrorCodes;
|
|
READ = UploadErrorCodes.READ;
|
|
if (READ !== code) {
|
|
r3 = value;
|
|
} else {
|
|
AVUnderlyingError = env2_0(env2_3[6]).AVUnderlyingError;
|
|
UploadErrorRead = AVUnderlyingError.UploadErrorRead;
|
|
r3 = UploadErrorRead;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
r5 = r3;
|
|
} else {
|
|
r5 = value;
|
|
}
|
|
binding = env2_0;
|
|
binding3 = env2_3;
|
|
value11 = binding(binding3[6]);
|
|
reportAVError = value11.reportAVError;
|
|
AVError = binding(binding3[6]).AVError;
|
|
DEBUG_LOG_UPLOAD_FAILED = AVError.DEBUG_LOG_UPLOAD_FAILED;
|
|
message = error.message;
|
|
Reflect.apply(reportAVError, value11, [{type: DEBUG_LOG_UPLOAD_FAILED, underlyingError: r5,
|
|
errorMessage: message}]);
|
|
throw error;
|
|
}
|
|
try {
|
|
value8 = Reflect.apply(uploadRtcLogFiles, value7, [14680064, a1]);
|
|
} catch (error) {
|
|
binding = env2_0;
|
|
UploadVoiceDebugLogsError = binding(env2_3[5]).UploadVoiceDebugLogsError;
|
|
if (error instanceof UploadVoiceDebugLogsError) {
|
|
code = error.code;
|
|
UploadErrorCodes = env2_0(env2_3[5]).UploadErrorCodes;
|
|
GENERAL = UploadErrorCodes.GENERAL;
|
|
if (GENERAL === code) {
|
|
AVUnderlyingError = env2_0(env2_3[6]).AVUnderlyingError;
|
|
UploadErrorGeneral = AVUnderlyingError.UploadErrorGeneral;
|
|
r3 = UploadErrorGeneral;
|
|
} else {
|
|
UploadErrorCodes = env2_0(env2_3[5]).UploadErrorCodes;
|
|
NO_FILE = UploadErrorCodes.NO_FILE;
|
|
if (NO_FILE === code) {
|
|
AVUnderlyingError = env2_0(env2_3[6]).AVUnderlyingError;
|
|
UploadErrorNoFile = AVUnderlyingError.UploadErrorNoFile;
|
|
r3 = UploadErrorNoFile;
|
|
} else {
|
|
UploadErrorCodes = env2_0(env2_3[5]).UploadErrorCodes;
|
|
PROGRESS = UploadErrorCodes.PROGRESS;
|
|
if (PROGRESS === code) {
|
|
AVUnderlyingError = env2_0(env2_3[6]).AVUnderlyingError;
|
|
UploadErrorProgress = AVUnderlyingError.UploadErrorProgress;
|
|
r3 = UploadErrorProgress;
|
|
} else {
|
|
UploadErrorCodes = env2_0(env2_3[5]).UploadErrorCodes;
|
|
UPLOAD = UploadErrorCodes.UPLOAD;
|
|
if (UPLOAD === code) {
|
|
AVUnderlyingError = env2_0(env2_3[6]).AVUnderlyingError;
|
|
UploadErrorUpload = AVUnderlyingError.UploadErrorUpload;
|
|
r3 = UploadErrorUpload;
|
|
} else {
|
|
UploadErrorCodes = env2_0(env2_3[5]).UploadErrorCodes;
|
|
READ = UploadErrorCodes.READ;
|
|
if (READ !== code) {
|
|
r3 = value;
|
|
} else {
|
|
AVUnderlyingError = env2_0(env2_3[6]).AVUnderlyingError;
|
|
UploadErrorRead = AVUnderlyingError.UploadErrorRead;
|
|
r3 = UploadErrorRead;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
r5 = r3;
|
|
} else {
|
|
r5 = value;
|
|
}
|
|
binding = env2_0;
|
|
binding3 = env2_3;
|
|
value11 = binding(binding3[6]);
|
|
reportAVError = value11.reportAVError;
|
|
AVError = binding(binding3[6]).AVError;
|
|
DEBUG_LOG_UPLOAD_FAILED = AVError.DEBUG_LOG_UPLOAD_FAILED;
|
|
message = error.message;
|
|
Reflect.apply(reportAVError, value11, [{type: DEBUG_LOG_UPLOAD_FAILED, underlyingError: r5,
|
|
errorMessage: message}]);
|
|
throw error;
|
|
}
|
|
yield value8;
|
|
try {
|
|
value9 = undefined;
|
|
value10 = false;
|
|
} catch (error) {
|
|
binding = env2_0;
|
|
UploadVoiceDebugLogsError = binding(env2_3[5]).UploadVoiceDebugLogsError;
|
|
if (error instanceof UploadVoiceDebugLogsError) {
|
|
code = error.code;
|
|
UploadErrorCodes = env2_0(env2_3[5]).UploadErrorCodes;
|
|
GENERAL = UploadErrorCodes.GENERAL;
|
|
if (GENERAL === code) {
|
|
AVUnderlyingError = env2_0(env2_3[6]).AVUnderlyingError;
|
|
UploadErrorGeneral = AVUnderlyingError.UploadErrorGeneral;
|
|
r3 = UploadErrorGeneral;
|
|
} else {
|
|
UploadErrorCodes = env2_0(env2_3[5]).UploadErrorCodes;
|
|
NO_FILE = UploadErrorCodes.NO_FILE;
|
|
if (NO_FILE === code) {
|
|
AVUnderlyingError = env2_0(env2_3[6]).AVUnderlyingError;
|
|
UploadErrorNoFile = AVUnderlyingError.UploadErrorNoFile;
|
|
r3 = UploadErrorNoFile;
|
|
} else {
|
|
UploadErrorCodes = env2_0(env2_3[5]).UploadErrorCodes;
|
|
PROGRESS = UploadErrorCodes.PROGRESS;
|
|
if (PROGRESS === code) {
|
|
AVUnderlyingError = env2_0(env2_3[6]).AVUnderlyingError;
|
|
UploadErrorProgress = AVUnderlyingError.UploadErrorProgress;
|
|
r3 = UploadErrorProgress;
|
|
} else {
|
|
UploadErrorCodes = env2_0(env2_3[5]).UploadErrorCodes;
|
|
UPLOAD = UploadErrorCodes.UPLOAD;
|
|
if (UPLOAD === code) {
|
|
AVUnderlyingError = env2_0(env2_3[6]).AVUnderlyingError;
|
|
UploadErrorUpload = AVUnderlyingError.UploadErrorUpload;
|
|
r3 = UploadErrorUpload;
|
|
} else {
|
|
UploadErrorCodes = env2_0(env2_3[5]).UploadErrorCodes;
|
|
READ = UploadErrorCodes.READ;
|
|
if (READ !== code) {
|
|
r3 = value;
|
|
} else {
|
|
AVUnderlyingError = env2_0(env2_3[6]).AVUnderlyingError;
|
|
UploadErrorRead = AVUnderlyingError.UploadErrorRead;
|
|
r3 = UploadErrorRead;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
r5 = r3;
|
|
} else {
|
|
r5 = value;
|
|
}
|
|
binding = env2_0;
|
|
binding3 = env2_3;
|
|
value11 = binding(binding3[6]);
|
|
reportAVError = value11.reportAVError;
|
|
AVError = binding(binding3[6]).AVError;
|
|
DEBUG_LOG_UPLOAD_FAILED = AVError.DEBUG_LOG_UPLOAD_FAILED;
|
|
message = error.message;
|
|
Reflect.apply(reportAVError, value11, [{type: DEBUG_LOG_UPLOAD_FAILED, underlyingError: r5,
|
|
errorMessage: message}]);
|
|
throw error;
|
|
}
|
|
return value10 ? value9 : value;
|
|
}
|
|
|
|
}
|
|
|
|
function _uploadAppLogFiles() { // fn#85733, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:11402:1195, offset: 0x01f79f0c, size: 50 bytes, params: 1, frame: 14
|
|
return Module00005(_fun85735).apply(this, arguments);
|
|
function* _fun85735(a0) { // fn#85735, original name: ?anon_0_, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:11402:1254, offset: 0x01f79f49, size: 1143 bytes, params: 2, frame: 47
|
|
var r11;
|
|
var getSystemLog;
|
|
var r7;
|
|
var r10;
|
|
var r8;
|
|
var r4;
|
|
var r9;
|
|
var r6;
|
|
var binding;
|
|
var binding2;
|
|
var property;
|
|
var value4;
|
|
var stringify;
|
|
var value5;
|
|
var error;
|
|
var HermesInternal;
|
|
var concat;
|
|
var value6;
|
|
var value7;
|
|
var value8;
|
|
var value9;
|
|
var Promise;
|
|
var prototype;
|
|
var closure;
|
|
var promise;
|
|
var value11;
|
|
var value12;
|
|
var value13;
|
|
var value14;
|
|
var binding3;
|
|
var value15;
|
|
var value16;
|
|
var then;
|
|
var value17;
|
|
var value18;
|
|
var value19;
|
|
var value20;
|
|
var binding4;
|
|
var value21;
|
|
var consumeLogs;
|
|
var value22;
|
|
var value23;
|
|
var value25;
|
|
var length;
|
|
var length2;
|
|
var value26;
|
|
var value27;
|
|
var value28;
|
|
var value29;
|
|
var value30;
|
|
var value31;
|
|
var slice;
|
|
var Math;
|
|
var floor;
|
|
var length3;
|
|
var value32;
|
|
var value33;
|
|
var value34;
|
|
var value35;
|
|
var length4;
|
|
var value36;
|
|
var value37;
|
|
var value38;
|
|
var value39;
|
|
var length5;
|
|
var value40;
|
|
var value41;
|
|
var value42;
|
|
var value43;
|
|
var length6;
|
|
var value44;
|
|
var value45;
|
|
var value46;
|
|
var value47;
|
|
var binding5;
|
|
var value48;
|
|
var value49;
|
|
var value50;
|
|
var binding6;
|
|
var value51;
|
|
var getAppFirstVisibleTimestamp;
|
|
var value52;
|
|
var value53;
|
|
var value54;
|
|
var binding7;
|
|
var value55;
|
|
var value56;
|
|
var binding8;
|
|
var value57;
|
|
var serializeComponentRenderAverages;
|
|
var value58;
|
|
var JSON;
|
|
var value59;
|
|
var value60;
|
|
var value61;
|
|
var getDebugInfo;
|
|
var value62;
|
|
var value63;
|
|
var value64;
|
|
var value65;
|
|
var clear;
|
|
var DEBUG_LOG;
|
|
var value66;
|
|
var value67;
|
|
var HTTP;
|
|
var post;
|
|
var object;
|
|
var object2;
|
|
var value68;
|
|
var value69;
|
|
var value70;
|
|
var error2;
|
|
var message;
|
|
if (false) {
|
|
return undefined;
|
|
}
|
|
value = undefined;
|
|
reducibleJoin70: while (true) {
|
|
reduciblePort88: while (true) {
|
|
exceptionLanding82: while (true) {
|
|
reducibleJoin48: while (true) {
|
|
reduciblePort68: while (true) {
|
|
exceptionLanding62: while (true) {
|
|
reducibleJoin19: while (true) {
|
|
reduciblePort46: while (true) {
|
|
exceptionLanding40: while (true) {
|
|
reducibleJoin4: while (true) {
|
|
reduciblePort17: while (true) {
|
|
exceptionLanding11: while (true) {
|
|
reduciblePort227: while (true) {
|
|
exceptionLanding226: while (true) {
|
|
try {
|
|
try {
|
|
binding = env2_2;
|
|
} catch (error) {
|
|
break exceptionLanding11;
|
|
}
|
|
} catch (error) {
|
|
break exceptionLanding226;
|
|
}
|
|
break reducibleJoin4;
|
|
}
|
|
binding = env2_8;
|
|
error2 = binding.error;
|
|
message = error.message;
|
|
HermesInternal = global.HermesInternal;
|
|
concat = HermesInternal.concat;
|
|
Reflect.apply(error2, binding,
|
|
['uploadAppLogFiles: upload app log files error ' + message]);
|
|
break reduciblePort227;
|
|
}
|
|
return value;
|
|
}
|
|
try {
|
|
HermesInternal = global.HermesInternal;
|
|
} catch (error) {
|
|
break exceptionLanding226;
|
|
}
|
|
try {
|
|
concat = HermesInternal.concat;
|
|
} catch (error) {
|
|
break exceptionLanding226;
|
|
}
|
|
try {
|
|
value6 = 'Logs failed: ' + error;
|
|
} catch (error) {
|
|
break exceptionLanding226;
|
|
}
|
|
r11 = value6;
|
|
break reduciblePort17;
|
|
}
|
|
try {
|
|
try {
|
|
binding = env2_9;
|
|
} catch (error) {
|
|
break exceptionLanding40;
|
|
}
|
|
} catch (error) {
|
|
break exceptionLanding226;
|
|
}
|
|
break reducibleJoin19;
|
|
}
|
|
try {
|
|
try {
|
|
binding2 = env2_3;
|
|
} catch (error) {
|
|
break exceptionLanding11;
|
|
}
|
|
} catch (error) {
|
|
break exceptionLanding226;
|
|
}
|
|
try {
|
|
try {
|
|
property = binding2[8];
|
|
} catch (error) {
|
|
break exceptionLanding11;
|
|
}
|
|
} catch (error) {
|
|
break exceptionLanding226;
|
|
}
|
|
try {
|
|
try {
|
|
value4 = binding(property);
|
|
} catch (error) {
|
|
break exceptionLanding11;
|
|
}
|
|
} catch (error) {
|
|
break exceptionLanding226;
|
|
}
|
|
try {
|
|
try {
|
|
stringify = value4.stringify;
|
|
} catch (error) {
|
|
break exceptionLanding11;
|
|
}
|
|
} catch (error) {
|
|
break exceptionLanding226;
|
|
}
|
|
try {
|
|
try {
|
|
value5 = Reflect.apply(stringify, value4, []);
|
|
} catch (error) {
|
|
break exceptionLanding11;
|
|
}
|
|
} catch (error) {
|
|
break exceptionLanding226;
|
|
}
|
|
r11 = value5;
|
|
try {
|
|
try {
|
|
binding = env2_9;
|
|
} catch (error) {
|
|
break exceptionLanding40;
|
|
}
|
|
} catch (error) {
|
|
break exceptionLanding226;
|
|
}
|
|
break reducibleJoin19;
|
|
}
|
|
try {
|
|
HermesInternal = global.HermesInternal;
|
|
} catch (error) {
|
|
break exceptionLanding226;
|
|
}
|
|
try {
|
|
concat = HermesInternal.concat;
|
|
} catch (error) {
|
|
break exceptionLanding226;
|
|
}
|
|
try {
|
|
value14 = 'System Logs failed ' + error;
|
|
} catch (error) {
|
|
break exceptionLanding226;
|
|
}
|
|
r10 = value14;
|
|
break reduciblePort46;
|
|
}
|
|
try {
|
|
try {
|
|
binding = env2_1;
|
|
} catch (error) {
|
|
break exceptionLanding62;
|
|
}
|
|
} catch (error) {
|
|
break exceptionLanding226;
|
|
}
|
|
break reducibleJoin48;
|
|
}
|
|
try {
|
|
try {
|
|
value7 = binding == null;
|
|
} catch (error) {
|
|
break exceptionLanding40;
|
|
}
|
|
} catch (error) {
|
|
break exceptionLanding226;
|
|
}
|
|
reducibleJoin24: while (true) {
|
|
if (value7) {
|
|
getSystemLog = value;
|
|
break reducibleJoin24;
|
|
}
|
|
try {
|
|
try {
|
|
binding = env2_9;
|
|
} catch (error) {
|
|
break exceptionLanding40;
|
|
}
|
|
} catch (error) {
|
|
break exceptionLanding226;
|
|
}
|
|
try {
|
|
try {
|
|
getSystemLog = binding.getSystemLog;
|
|
} catch (error) {
|
|
break exceptionLanding40;
|
|
}
|
|
} catch (error) {
|
|
break exceptionLanding226;
|
|
}
|
|
break reducibleJoin24;
|
|
}
|
|
try {
|
|
try {
|
|
value8 = getSystemLog != null;
|
|
} catch (error) {
|
|
break exceptionLanding40;
|
|
}
|
|
} catch (error) {
|
|
break exceptionLanding226;
|
|
}
|
|
value9 = '';
|
|
if (value8) {
|
|
try {
|
|
try {
|
|
Promise = global.Promise;
|
|
} catch (error) {
|
|
break exceptionLanding40;
|
|
}
|
|
} catch (error) {
|
|
break exceptionLanding226;
|
|
}
|
|
try {
|
|
try {
|
|
prototype = Promise.prototype;
|
|
} catch (error) {
|
|
break exceptionLanding40;
|
|
}
|
|
} catch (error) {
|
|
break exceptionLanding226;
|
|
}
|
|
try {
|
|
try {
|
|
} catch (error) {
|
|
break exceptionLanding40;
|
|
}
|
|
} catch (error) {
|
|
break exceptionLanding226;
|
|
}
|
|
try {
|
|
try {
|
|
closure = _fun85736;
|
|
} catch (error) {
|
|
break exceptionLanding40;
|
|
}
|
|
} catch (error) {
|
|
break exceptionLanding226;
|
|
}
|
|
try {
|
|
try {
|
|
promise = new Promise();
|
|
} catch (error) {
|
|
break exceptionLanding40;
|
|
}
|
|
} catch (error) {
|
|
break exceptionLanding226;
|
|
}
|
|
try {
|
|
try {
|
|
value11 = promise instanceof Object ? promise : undefined;
|
|
} catch (error) {
|
|
break exceptionLanding40;
|
|
}
|
|
} catch (error) {
|
|
break exceptionLanding226;
|
|
}
|
|
yield value11;
|
|
try {
|
|
try {
|
|
value12 = undefined;
|
|
value13 = false;
|
|
} catch (error) {
|
|
break exceptionLanding40;
|
|
}
|
|
} catch (error) {
|
|
break exceptionLanding226;
|
|
}
|
|
reducibleJoin37: while (true) {
|
|
if (value13) {
|
|
return value12;
|
|
}
|
|
r7 = value12;
|
|
break reducibleJoin37;
|
|
}
|
|
} else {
|
|
r7 = value9;
|
|
}
|
|
r10 = r7;
|
|
try {
|
|
try {
|
|
binding = env2_1;
|
|
} catch (error) {
|
|
break exceptionLanding62;
|
|
}
|
|
} catch (error) {
|
|
break exceptionLanding226;
|
|
}
|
|
break reducibleJoin48;
|
|
}
|
|
try {
|
|
HermesInternal = global.HermesInternal;
|
|
} catch (error) {
|
|
break exceptionLanding226;
|
|
}
|
|
try {
|
|
concat = HermesInternal.concat;
|
|
} catch (error) {
|
|
break exceptionLanding226;
|
|
}
|
|
try {
|
|
value20 = 'Push logs failed: ' + error;
|
|
} catch (error) {
|
|
break exceptionLanding226;
|
|
}
|
|
r8 = value20;
|
|
break reduciblePort68;
|
|
}
|
|
try {
|
|
try {
|
|
binding = env2_0;
|
|
} catch (error) {
|
|
break exceptionLanding82;
|
|
}
|
|
} catch (error) {
|
|
break exceptionLanding226;
|
|
}
|
|
break reducibleJoin70;
|
|
}
|
|
try {
|
|
try {
|
|
binding3 = env2_3;
|
|
} catch (error) {
|
|
break exceptionLanding62;
|
|
}
|
|
} catch (error) {
|
|
break exceptionLanding226;
|
|
}
|
|
try {
|
|
try {
|
|
property = binding3[9];
|
|
} catch (error) {
|
|
break exceptionLanding62;
|
|
}
|
|
} catch (error) {
|
|
break exceptionLanding226;
|
|
}
|
|
try {
|
|
try {
|
|
value15 = binding(property);
|
|
} catch (error) {
|
|
break exceptionLanding62;
|
|
}
|
|
} catch (error) {
|
|
break exceptionLanding226;
|
|
}
|
|
try {
|
|
try {
|
|
value16 = value15();
|
|
} catch (error) {
|
|
break exceptionLanding62;
|
|
}
|
|
} catch (error) {
|
|
break exceptionLanding226;
|
|
}
|
|
try {
|
|
try {
|
|
then = value16.then;
|
|
} catch (error) {
|
|
break exceptionLanding62;
|
|
}
|
|
} catch (error) {
|
|
break exceptionLanding226;
|
|
}
|
|
try {
|
|
try {
|
|
closure = _fun85737;
|
|
} catch (error) {
|
|
break exceptionLanding62;
|
|
}
|
|
} catch (error) {
|
|
break exceptionLanding226;
|
|
}
|
|
try {
|
|
try {
|
|
value17 = Reflect.apply(then, value16, [closure]);
|
|
} catch (error) {
|
|
break exceptionLanding62;
|
|
}
|
|
} catch (error) {
|
|
break exceptionLanding226;
|
|
}
|
|
yield value17;
|
|
try {
|
|
try {
|
|
value18 = undefined;
|
|
value19 = false;
|
|
} catch (error) {
|
|
break exceptionLanding62;
|
|
}
|
|
} catch (error) {
|
|
break exceptionLanding226;
|
|
}
|
|
if (value19) {
|
|
return value18;
|
|
}
|
|
r8 = value18;
|
|
try {
|
|
try {
|
|
binding = env2_0;
|
|
} catch (error) {
|
|
break exceptionLanding82;
|
|
}
|
|
} catch (error) {
|
|
break exceptionLanding226;
|
|
}
|
|
break reducibleJoin70;
|
|
}
|
|
try {
|
|
HermesInternal = global.HermesInternal;
|
|
} catch (error) {
|
|
break exceptionLanding226;
|
|
}
|
|
try {
|
|
concat = HermesInternal.concat;
|
|
} catch (error) {
|
|
break exceptionLanding226;
|
|
}
|
|
try {
|
|
value25 = 'LibDiscore logs failed: ' + error;
|
|
} catch (error) {
|
|
break exceptionLanding226;
|
|
}
|
|
r9 = value25;
|
|
break reduciblePort88;
|
|
}
|
|
try {
|
|
length = r11.length;
|
|
} catch (error) {
|
|
break exceptionLanding226;
|
|
}
|
|
try {
|
|
length2 = r10.length;
|
|
} catch (error) {
|
|
break exceptionLanding226;
|
|
}
|
|
try {
|
|
value26 = length + length2;
|
|
} catch (error) {
|
|
break exceptionLanding226;
|
|
}
|
|
try {
|
|
length = r8.length;
|
|
} catch (error) {
|
|
break exceptionLanding226;
|
|
}
|
|
try {
|
|
value27 = value26 + length;
|
|
} catch (error) {
|
|
break exceptionLanding226;
|
|
}
|
|
try {
|
|
length = r9.length;
|
|
} catch (error) {
|
|
break exceptionLanding226;
|
|
}
|
|
try {
|
|
value28 = value27 + length;
|
|
} catch (error) {
|
|
break exceptionLanding226;
|
|
}
|
|
try {
|
|
binding = env2_7;
|
|
} catch (error) {
|
|
break exceptionLanding226;
|
|
}
|
|
try {
|
|
value29 = value28 > binding;
|
|
} catch (error) {
|
|
break exceptionLanding226;
|
|
}
|
|
reducibleJoin147: while (true) {
|
|
if (value29) {
|
|
try {
|
|
binding = env2_7;
|
|
} catch (error) {
|
|
break exceptionLanding226;
|
|
}
|
|
try {
|
|
value30 = binding / value28;
|
|
} catch (error) {
|
|
break exceptionLanding226;
|
|
}
|
|
try {
|
|
value31 = 1 - value30;
|
|
} catch (error) {
|
|
break exceptionLanding226;
|
|
}
|
|
try {
|
|
slice = r11.slice;
|
|
} catch (error) {
|
|
break exceptionLanding226;
|
|
}
|
|
try {
|
|
length = r11.length;
|
|
} catch (error) {
|
|
break exceptionLanding226;
|
|
}
|
|
try {
|
|
Math = global.Math;
|
|
} catch (error) {
|
|
break exceptionLanding226;
|
|
}
|
|
try {
|
|
floor = Math.floor;
|
|
} catch (error) {
|
|
break exceptionLanding226;
|
|
}
|
|
try {
|
|
length3 = r11.length;
|
|
} catch (error) {
|
|
break exceptionLanding226;
|
|
}
|
|
try {
|
|
value32 = length3 * value31;
|
|
} catch (error) {
|
|
break exceptionLanding226;
|
|
}
|
|
try {
|
|
value33 = Reflect.apply(floor, Math, [value32]);
|
|
} catch (error) {
|
|
break exceptionLanding226;
|
|
}
|
|
try {
|
|
value34 = length - value33;
|
|
} catch (error) {
|
|
break exceptionLanding226;
|
|
}
|
|
try {
|
|
value35 = Reflect.apply(slice, r11, [value34]);
|
|
} catch (error) {
|
|
break exceptionLanding226;
|
|
}
|
|
try {
|
|
slice = r10.slice;
|
|
} catch (error) {
|
|
break exceptionLanding226;
|
|
}
|
|
try {
|
|
length = r10.length;
|
|
} catch (error) {
|
|
break exceptionLanding226;
|
|
}
|
|
try {
|
|
Math = global.Math;
|
|
} catch (error) {
|
|
break exceptionLanding226;
|
|
}
|
|
try {
|
|
floor = Math.floor;
|
|
} catch (error) {
|
|
break exceptionLanding226;
|
|
}
|
|
try {
|
|
length4 = r10.length;
|
|
} catch (error) {
|
|
break exceptionLanding226;
|
|
}
|
|
try {
|
|
value36 = length4 * value31;
|
|
} catch (error) {
|
|
break exceptionLanding226;
|
|
}
|
|
try {
|
|
value37 = Reflect.apply(floor, Math, [value36]);
|
|
} catch (error) {
|
|
break exceptionLanding226;
|
|
}
|
|
try {
|
|
value38 = length - value37;
|
|
} catch (error) {
|
|
break exceptionLanding226;
|
|
}
|
|
try {
|
|
value39 = Reflect.apply(slice, r10, [value38]);
|
|
} catch (error) {
|
|
break exceptionLanding226;
|
|
}
|
|
try {
|
|
slice = r8.slice;
|
|
} catch (error) {
|
|
break exceptionLanding226;
|
|
}
|
|
try {
|
|
length = r8.length;
|
|
} catch (error) {
|
|
break exceptionLanding226;
|
|
}
|
|
try {
|
|
Math = global.Math;
|
|
} catch (error) {
|
|
break exceptionLanding226;
|
|
}
|
|
try {
|
|
floor = Math.floor;
|
|
} catch (error) {
|
|
break exceptionLanding226;
|
|
}
|
|
try {
|
|
length5 = r8.length;
|
|
} catch (error) {
|
|
break exceptionLanding226;
|
|
}
|
|
try {
|
|
value40 = length5 * value31;
|
|
} catch (error) {
|
|
break exceptionLanding226;
|
|
}
|
|
try {
|
|
value41 = Reflect.apply(floor, Math, [value40]);
|
|
} catch (error) {
|
|
break exceptionLanding226;
|
|
}
|
|
try {
|
|
value42 = length - value41;
|
|
} catch (error) {
|
|
break exceptionLanding226;
|
|
}
|
|
try {
|
|
value43 = Reflect.apply(slice, r8, [value42]);
|
|
} catch (error) {
|
|
break exceptionLanding226;
|
|
}
|
|
try {
|
|
slice = r9.slice;
|
|
} catch (error) {
|
|
break exceptionLanding226;
|
|
}
|
|
try {
|
|
length = r9.length;
|
|
} catch (error) {
|
|
break exceptionLanding226;
|
|
}
|
|
try {
|
|
Math = global.Math;
|
|
} catch (error) {
|
|
break exceptionLanding226;
|
|
}
|
|
try {
|
|
floor = Math.floor;
|
|
} catch (error) {
|
|
break exceptionLanding226;
|
|
}
|
|
try {
|
|
length6 = r9.length;
|
|
} catch (error) {
|
|
break exceptionLanding226;
|
|
}
|
|
try {
|
|
value44 = length6 * value31;
|
|
} catch (error) {
|
|
break exceptionLanding226;
|
|
}
|
|
try {
|
|
value45 = Reflect.apply(floor, Math, [value44]);
|
|
} catch (error) {
|
|
break exceptionLanding226;
|
|
}
|
|
try {
|
|
value46 = length - value45;
|
|
} catch (error) {
|
|
break exceptionLanding226;
|
|
}
|
|
try {
|
|
value47 = Reflect.apply(slice, r9, [value46]);
|
|
} catch (error) {
|
|
break exceptionLanding226;
|
|
}
|
|
r8 = value43;
|
|
r9 = value47;
|
|
r10 = value39;
|
|
r11 = value35;
|
|
break reducibleJoin147;
|
|
}
|
|
break reducibleJoin147;
|
|
}
|
|
try {
|
|
binding = env2_0;
|
|
} catch (error) {
|
|
break exceptionLanding226;
|
|
}
|
|
try {
|
|
binding5 = env2_3;
|
|
} catch (error) {
|
|
break exceptionLanding226;
|
|
}
|
|
try {
|
|
property = binding5[12];
|
|
} catch (error) {
|
|
break exceptionLanding226;
|
|
}
|
|
try {
|
|
value48 = binding(property);
|
|
} catch (error) {
|
|
break exceptionLanding226;
|
|
}
|
|
try {
|
|
property = value48.default;
|
|
} catch (error) {
|
|
break exceptionLanding226;
|
|
}
|
|
value49 = null;
|
|
try {
|
|
value50 = value49 != property;
|
|
} catch (error) {
|
|
break exceptionLanding226;
|
|
}
|
|
if (value50) {
|
|
try {
|
|
binding = env2_0;
|
|
} catch (error) {
|
|
break exceptionLanding226;
|
|
}
|
|
try {
|
|
binding6 = env2_3;
|
|
} catch (error) {
|
|
break exceptionLanding226;
|
|
}
|
|
try {
|
|
property = binding6[12];
|
|
} catch (error) {
|
|
break exceptionLanding226;
|
|
}
|
|
try {
|
|
value51 = binding(property);
|
|
} catch (error) {
|
|
break exceptionLanding226;
|
|
}
|
|
try {
|
|
property = value51.default;
|
|
} catch (error) {
|
|
break exceptionLanding226;
|
|
}
|
|
try {
|
|
getAppFirstVisibleTimestamp = property.getAppFirstVisibleTimestamp;
|
|
} catch (error) {
|
|
break exceptionLanding226;
|
|
}
|
|
try {
|
|
value52 = Reflect.apply(getAppFirstVisibleTimestamp, property, []);
|
|
} catch (error) {
|
|
break exceptionLanding226;
|
|
}
|
|
yield value52;
|
|
try {
|
|
value53 = undefined;
|
|
value54 = false;
|
|
} catch (error) {
|
|
break exceptionLanding226;
|
|
}
|
|
reducibleJoin166: while (true) {
|
|
if (value54) {
|
|
return value53;
|
|
}
|
|
r6 = value53;
|
|
break reducibleJoin166;
|
|
}
|
|
} else {
|
|
r6 = value49;
|
|
}
|
|
try {
|
|
binding = env2_1;
|
|
} catch (error) {
|
|
break exceptionLanding226;
|
|
}
|
|
try {
|
|
binding7 = env2_3;
|
|
} catch (error) {
|
|
break exceptionLanding226;
|
|
}
|
|
try {
|
|
property = binding7[13];
|
|
} catch (error) {
|
|
break exceptionLanding226;
|
|
}
|
|
try {
|
|
value55 = binding(property);
|
|
} catch (error) {
|
|
break exceptionLanding226;
|
|
}
|
|
try {
|
|
value56 = value55(r6);
|
|
} catch (error) {
|
|
break exceptionLanding226;
|
|
}
|
|
try {
|
|
binding8 = env2_0;
|
|
} catch (error) {
|
|
break exceptionLanding226;
|
|
}
|
|
try {
|
|
property = binding7[14];
|
|
} catch (error) {
|
|
break exceptionLanding226;
|
|
}
|
|
try {
|
|
value57 = binding8(property);
|
|
} catch (error) {
|
|
break exceptionLanding226;
|
|
}
|
|
try {
|
|
serializeComponentRenderAverages = value57.serializeComponentRenderAverages;
|
|
} catch (error) {
|
|
break exceptionLanding226;
|
|
}
|
|
try {
|
|
value58 = Reflect.apply(serializeComponentRenderAverages, value57, []);
|
|
} catch (error) {
|
|
break exceptionLanding226;
|
|
}
|
|
try {
|
|
JSON = global.JSON;
|
|
} catch (error) {
|
|
break exceptionLanding226;
|
|
}
|
|
try {
|
|
stringify = JSON.stringify;
|
|
} catch (error) {
|
|
break exceptionLanding226;
|
|
}
|
|
try {
|
|
property = binding7[15];
|
|
} catch (error) {
|
|
break exceptionLanding226;
|
|
}
|
|
try {
|
|
value59 = binding(property);
|
|
} catch (error) {
|
|
break exceptionLanding226;
|
|
}
|
|
try {
|
|
value60 = value59();
|
|
} catch (error) {
|
|
break exceptionLanding226;
|
|
}
|
|
try {
|
|
value61 = Reflect.apply(stringify, JSON, [value60, value, 2]);
|
|
} catch (error) {
|
|
break exceptionLanding226;
|
|
}
|
|
try {
|
|
JSON = global.JSON;
|
|
} catch (error) {
|
|
break exceptionLanding226;
|
|
}
|
|
try {
|
|
stringify = JSON.stringify;
|
|
} catch (error) {
|
|
break exceptionLanding226;
|
|
}
|
|
try {
|
|
binding = env2_5;
|
|
} catch (error) {
|
|
break exceptionLanding226;
|
|
}
|
|
try {
|
|
getDebugInfo = binding.getDebugInfo;
|
|
} catch (error) {
|
|
break exceptionLanding226;
|
|
}
|
|
try {
|
|
value62 = Reflect.apply(getDebugInfo, binding, []);
|
|
} catch (error) {
|
|
break exceptionLanding226;
|
|
}
|
|
try {
|
|
value63 = Reflect.apply(stringify, JSON, [value62, value, 2]);
|
|
} catch (error) {
|
|
break exceptionLanding226;
|
|
}
|
|
try {
|
|
HermesInternal = global.HermesInternal;
|
|
} catch (error) {
|
|
break exceptionLanding226;
|
|
}
|
|
try {
|
|
concat = HermesInternal.concat;
|
|
} catch (error) {
|
|
break exceptionLanding226;
|
|
}
|
|
try {
|
|
value64 = '\n ' + value56 + '\n\n ' + value58 + '\n\n Metadata:\n ' + value61 + '\n\n ChannelStore:\n ' + value63 + '\n\n Logs:\n ' + r11 + '\n\n System logs:\n ' + r10 + '\n\n LibDiscore logs:\n ' + r9 + '\n\n Push Notifications:\n ' + r8 + '\n ';
|
|
} catch (error) {
|
|
break exceptionLanding226;
|
|
}
|
|
try {
|
|
binding = env2_2;
|
|
} catch (error) {
|
|
break exceptionLanding226;
|
|
}
|
|
try {
|
|
property = binding7[8];
|
|
} catch (error) {
|
|
break exceptionLanding226;
|
|
}
|
|
try {
|
|
value65 = binding(property);
|
|
} catch (error) {
|
|
break exceptionLanding226;
|
|
}
|
|
try {
|
|
clear = value65.clear;
|
|
} catch (error) {
|
|
break exceptionLanding226;
|
|
}
|
|
try {
|
|
Reflect.apply(clear, value65, []);
|
|
} catch (error) {
|
|
break exceptionLanding226;
|
|
}
|
|
try {
|
|
binding = env2_6;
|
|
} catch (error) {
|
|
break exceptionLanding226;
|
|
}
|
|
try {
|
|
DEBUG_LOG = binding.DEBUG_LOG;
|
|
} catch (error) {
|
|
break exceptionLanding226;
|
|
}
|
|
try {
|
|
value66 = Reflect.apply(DEBUG_LOG, binding, [a0, 'discord_app_logs']);
|
|
} catch (error) {
|
|
break exceptionLanding226;
|
|
}
|
|
try {
|
|
property = binding7[16];
|
|
} catch (error) {
|
|
break exceptionLanding226;
|
|
}
|
|
try {
|
|
value67 = binding8(property);
|
|
} catch (error) {
|
|
break exceptionLanding226;
|
|
}
|
|
try {
|
|
HTTP = value67.HTTP;
|
|
} catch (error) {
|
|
break exceptionLanding226;
|
|
}
|
|
try {
|
|
post = HTTP.post;
|
|
} catch (error) {
|
|
break exceptionLanding226;
|
|
}
|
|
try {
|
|
object = {'url': null, 'body': null, 'retries': 3, 'headers': null, 'oldFormErrors': true,
|
|
'rejectWithError': false};
|
|
} catch (error) {
|
|
break exceptionLanding226;
|
|
}
|
|
try {
|
|
object.url = value66;
|
|
} catch (error) {
|
|
break exceptionLanding226;
|
|
}
|
|
try {
|
|
object.body = value64;
|
|
} catch (error) {
|
|
break exceptionLanding226;
|
|
}
|
|
try {
|
|
object2 = {};
|
|
} catch (error) {
|
|
break exceptionLanding226;
|
|
}
|
|
try {
|
|
object2['Content-Type'] = 'text/plain';
|
|
} catch (error) {
|
|
break exceptionLanding226;
|
|
}
|
|
try {
|
|
object.headers = object2;
|
|
} catch (error) {
|
|
break exceptionLanding226;
|
|
}
|
|
try {
|
|
value68 = Reflect.apply(post, HTTP, [object]);
|
|
} catch (error) {
|
|
break exceptionLanding226;
|
|
}
|
|
yield value68;
|
|
try {
|
|
value69 = undefined;
|
|
value70 = false;
|
|
} catch (error) {
|
|
break exceptionLanding226;
|
|
}
|
|
return value70 ? value69 : value;
|
|
}
|
|
try {
|
|
try {
|
|
binding4 = env2_3;
|
|
} catch (error) {
|
|
break exceptionLanding82;
|
|
}
|
|
} catch (error) {
|
|
break exceptionLanding226;
|
|
}
|
|
try {
|
|
try {
|
|
property = binding4[11];
|
|
} catch (error) {
|
|
break exceptionLanding82;
|
|
}
|
|
} catch (error) {
|
|
break exceptionLanding226;
|
|
}
|
|
try {
|
|
try {
|
|
value21 = binding(property);
|
|
} catch (error) {
|
|
break exceptionLanding82;
|
|
}
|
|
} catch (error) {
|
|
break exceptionLanding226;
|
|
}
|
|
try {
|
|
try {
|
|
consumeLogs = value21.consumeLogs;
|
|
} catch (error) {
|
|
break exceptionLanding82;
|
|
}
|
|
} catch (error) {
|
|
break exceptionLanding226;
|
|
}
|
|
try {
|
|
try {
|
|
value22 = Reflect.apply(consumeLogs, value21, []);
|
|
} catch (error) {
|
|
break exceptionLanding82;
|
|
}
|
|
} catch (error) {
|
|
break exceptionLanding226;
|
|
}
|
|
try {
|
|
try {
|
|
value23 = value22 != null;
|
|
} catch (error) {
|
|
break exceptionLanding82;
|
|
}
|
|
} catch (error) {
|
|
break exceptionLanding226;
|
|
}
|
|
reducibleJoin80: while (true) {
|
|
if (value23) {
|
|
r4 = value22;
|
|
break reducibleJoin80;
|
|
}
|
|
r4 = '';
|
|
break reducibleJoin80;
|
|
}
|
|
r9 = r4;
|
|
try {
|
|
length = r11.length;
|
|
} catch (error) {
|
|
break exceptionLanding226;
|
|
}
|
|
try {
|
|
length2 = r10.length;
|
|
} catch (error) {
|
|
break exceptionLanding226;
|
|
}
|
|
try {
|
|
value26 = length + length2;
|
|
} catch (error) {
|
|
break exceptionLanding226;
|
|
}
|
|
try {
|
|
length = r8.length;
|
|
} catch (error) {
|
|
break exceptionLanding226;
|
|
}
|
|
try {
|
|
value27 = value26 + length;
|
|
} catch (error) {
|
|
break exceptionLanding226;
|
|
}
|
|
try {
|
|
length = r9.length;
|
|
} catch (error) {
|
|
break exceptionLanding226;
|
|
}
|
|
try {
|
|
value28 = value27 + length;
|
|
} catch (error) {
|
|
break exceptionLanding226;
|
|
}
|
|
try {
|
|
binding = env2_7;
|
|
} catch (error) {
|
|
break exceptionLanding226;
|
|
}
|
|
try {
|
|
value29 = value28 > binding;
|
|
} catch (error) {
|
|
break exceptionLanding226;
|
|
}
|
|
reducibleJoin147: while (true) {
|
|
if (value29) {
|
|
try {
|
|
binding = env2_7;
|
|
} catch (error) {
|
|
break exceptionLanding226;
|
|
}
|
|
try {
|
|
value30 = binding / value28;
|
|
} catch (error) {
|
|
break exceptionLanding226;
|
|
}
|
|
try {
|
|
value31 = 1 - value30;
|
|
} catch (error) {
|
|
break exceptionLanding226;
|
|
}
|
|
try {
|
|
slice = r11.slice;
|
|
} catch (error) {
|
|
break exceptionLanding226;
|
|
}
|
|
try {
|
|
length = r11.length;
|
|
} catch (error) {
|
|
break exceptionLanding226;
|
|
}
|
|
try {
|
|
Math = global.Math;
|
|
} catch (error) {
|
|
break exceptionLanding226;
|
|
}
|
|
try {
|
|
floor = Math.floor;
|
|
} catch (error) {
|
|
break exceptionLanding226;
|
|
}
|
|
try {
|
|
length3 = r11.length;
|
|
} catch (error) {
|
|
break exceptionLanding226;
|
|
}
|
|
try {
|
|
value32 = length3 * value31;
|
|
} catch (error) {
|
|
break exceptionLanding226;
|
|
}
|
|
try {
|
|
value33 = Reflect.apply(floor, Math, [value32]);
|
|
} catch (error) {
|
|
break exceptionLanding226;
|
|
}
|
|
try {
|
|
value34 = length - value33;
|
|
} catch (error) {
|
|
break exceptionLanding226;
|
|
}
|
|
try {
|
|
value35 = Reflect.apply(slice, r11, [value34]);
|
|
} catch (error) {
|
|
break exceptionLanding226;
|
|
}
|
|
try {
|
|
slice = r10.slice;
|
|
} catch (error) {
|
|
break exceptionLanding226;
|
|
}
|
|
try {
|
|
length = r10.length;
|
|
} catch (error) {
|
|
break exceptionLanding226;
|
|
}
|
|
try {
|
|
Math = global.Math;
|
|
} catch (error) {
|
|
break exceptionLanding226;
|
|
}
|
|
try {
|
|
floor = Math.floor;
|
|
} catch (error) {
|
|
break exceptionLanding226;
|
|
}
|
|
try {
|
|
length4 = r10.length;
|
|
} catch (error) {
|
|
break exceptionLanding226;
|
|
}
|
|
try {
|
|
value36 = length4 * value31;
|
|
} catch (error) {
|
|
break exceptionLanding226;
|
|
}
|
|
try {
|
|
value37 = Reflect.apply(floor, Math, [value36]);
|
|
} catch (error) {
|
|
break exceptionLanding226;
|
|
}
|
|
try {
|
|
value38 = length - value37;
|
|
} catch (error) {
|
|
break exceptionLanding226;
|
|
}
|
|
try {
|
|
value39 = Reflect.apply(slice, r10, [value38]);
|
|
} catch (error) {
|
|
break exceptionLanding226;
|
|
}
|
|
try {
|
|
slice = r8.slice;
|
|
} catch (error) {
|
|
break exceptionLanding226;
|
|
}
|
|
try {
|
|
length = r8.length;
|
|
} catch (error) {
|
|
break exceptionLanding226;
|
|
}
|
|
try {
|
|
Math = global.Math;
|
|
} catch (error) {
|
|
break exceptionLanding226;
|
|
}
|
|
try {
|
|
floor = Math.floor;
|
|
} catch (error) {
|
|
break exceptionLanding226;
|
|
}
|
|
try {
|
|
length5 = r8.length;
|
|
} catch (error) {
|
|
break exceptionLanding226;
|
|
}
|
|
try {
|
|
value40 = length5 * value31;
|
|
} catch (error) {
|
|
break exceptionLanding226;
|
|
}
|
|
try {
|
|
value41 = Reflect.apply(floor, Math, [value40]);
|
|
} catch (error) {
|
|
break exceptionLanding226;
|
|
}
|
|
try {
|
|
value42 = length - value41;
|
|
} catch (error) {
|
|
break exceptionLanding226;
|
|
}
|
|
try {
|
|
value43 = Reflect.apply(slice, r8, [value42]);
|
|
} catch (error) {
|
|
break exceptionLanding226;
|
|
}
|
|
try {
|
|
slice = r9.slice;
|
|
} catch (error) {
|
|
break exceptionLanding226;
|
|
}
|
|
try {
|
|
length = r9.length;
|
|
} catch (error) {
|
|
break exceptionLanding226;
|
|
}
|
|
try {
|
|
Math = global.Math;
|
|
} catch (error) {
|
|
break exceptionLanding226;
|
|
}
|
|
try {
|
|
floor = Math.floor;
|
|
} catch (error) {
|
|
break exceptionLanding226;
|
|
}
|
|
try {
|
|
length6 = r9.length;
|
|
} catch (error) {
|
|
break exceptionLanding226;
|
|
}
|
|
try {
|
|
value44 = length6 * value31;
|
|
} catch (error) {
|
|
break exceptionLanding226;
|
|
}
|
|
try {
|
|
value45 = Reflect.apply(floor, Math, [value44]);
|
|
} catch (error) {
|
|
break exceptionLanding226;
|
|
}
|
|
try {
|
|
value46 = length - value45;
|
|
} catch (error) {
|
|
break exceptionLanding226;
|
|
}
|
|
try {
|
|
value47 = Reflect.apply(slice, r9, [value46]);
|
|
} catch (error) {
|
|
break exceptionLanding226;
|
|
}
|
|
r8 = value43;
|
|
r9 = value47;
|
|
r10 = value39;
|
|
r11 = value35;
|
|
break reducibleJoin147;
|
|
}
|
|
break reducibleJoin147;
|
|
}
|
|
try {
|
|
binding = env2_0;
|
|
} catch (error) {
|
|
break exceptionLanding226;
|
|
}
|
|
try {
|
|
binding5 = env2_3;
|
|
} catch (error) {
|
|
break exceptionLanding226;
|
|
}
|
|
try {
|
|
property = binding5[12];
|
|
} catch (error) {
|
|
break exceptionLanding226;
|
|
}
|
|
try {
|
|
value48 = binding(property);
|
|
} catch (error) {
|
|
break exceptionLanding226;
|
|
}
|
|
try {
|
|
property = value48.default;
|
|
} catch (error) {
|
|
break exceptionLanding226;
|
|
}
|
|
value49 = null;
|
|
try {
|
|
value50 = value49 != property;
|
|
} catch (error) {
|
|
break exceptionLanding226;
|
|
}
|
|
if (value50) {
|
|
try {
|
|
binding = env2_0;
|
|
} catch (error) {
|
|
break exceptionLanding226;
|
|
}
|
|
try {
|
|
binding6 = env2_3;
|
|
} catch (error) {
|
|
break exceptionLanding226;
|
|
}
|
|
try {
|
|
property = binding6[12];
|
|
} catch (error) {
|
|
break exceptionLanding226;
|
|
}
|
|
try {
|
|
value51 = binding(property);
|
|
} catch (error) {
|
|
break exceptionLanding226;
|
|
}
|
|
try {
|
|
property = value51.default;
|
|
} catch (error) {
|
|
break exceptionLanding226;
|
|
}
|
|
try {
|
|
getAppFirstVisibleTimestamp = property.getAppFirstVisibleTimestamp;
|
|
} catch (error) {
|
|
break exceptionLanding226;
|
|
}
|
|
try {
|
|
value52 = Reflect.apply(getAppFirstVisibleTimestamp, property, []);
|
|
} catch (error) {
|
|
break exceptionLanding226;
|
|
}
|
|
yield value52;
|
|
try {
|
|
value53 = undefined;
|
|
value54 = false;
|
|
} catch (error) {
|
|
break exceptionLanding226;
|
|
}
|
|
reducibleJoin166: while (true) {
|
|
if (value54) {
|
|
return value53;
|
|
}
|
|
r6 = value53;
|
|
break reducibleJoin166;
|
|
}
|
|
} else {
|
|
r6 = value49;
|
|
}
|
|
try {
|
|
binding = env2_1;
|
|
} catch (error) {
|
|
break exceptionLanding226;
|
|
}
|
|
try {
|
|
binding7 = env2_3;
|
|
} catch (error) {
|
|
break exceptionLanding226;
|
|
}
|
|
try {
|
|
property = binding7[13];
|
|
} catch (error) {
|
|
break exceptionLanding226;
|
|
}
|
|
try {
|
|
value55 = binding(property);
|
|
} catch (error) {
|
|
break exceptionLanding226;
|
|
}
|
|
try {
|
|
value56 = value55(r6);
|
|
} catch (error) {
|
|
break exceptionLanding226;
|
|
}
|
|
try {
|
|
binding8 = env2_0;
|
|
} catch (error) {
|
|
break exceptionLanding226;
|
|
}
|
|
try {
|
|
property = binding7[14];
|
|
} catch (error) {
|
|
break exceptionLanding226;
|
|
}
|
|
try {
|
|
value57 = binding8(property);
|
|
} catch (error) {
|
|
break exceptionLanding226;
|
|
}
|
|
try {
|
|
serializeComponentRenderAverages = value57.serializeComponentRenderAverages;
|
|
} catch (error) {
|
|
break exceptionLanding226;
|
|
}
|
|
try {
|
|
value58 = Reflect.apply(serializeComponentRenderAverages, value57, []);
|
|
} catch (error) {
|
|
break exceptionLanding226;
|
|
}
|
|
try {
|
|
JSON = global.JSON;
|
|
} catch (error) {
|
|
break exceptionLanding226;
|
|
}
|
|
try {
|
|
stringify = JSON.stringify;
|
|
} catch (error) {
|
|
break exceptionLanding226;
|
|
}
|
|
try {
|
|
property = binding7[15];
|
|
} catch (error) {
|
|
break exceptionLanding226;
|
|
}
|
|
try {
|
|
value59 = binding(property);
|
|
} catch (error) {
|
|
break exceptionLanding226;
|
|
}
|
|
try {
|
|
value60 = value59();
|
|
} catch (error) {
|
|
break exceptionLanding226;
|
|
}
|
|
try {
|
|
value61 = Reflect.apply(stringify, JSON, [value60, value, 2]);
|
|
} catch (error) {
|
|
break exceptionLanding226;
|
|
}
|
|
try {
|
|
JSON = global.JSON;
|
|
} catch (error) {
|
|
break exceptionLanding226;
|
|
}
|
|
try {
|
|
stringify = JSON.stringify;
|
|
} catch (error) {
|
|
break exceptionLanding226;
|
|
}
|
|
try {
|
|
binding = env2_5;
|
|
} catch (error) {
|
|
break exceptionLanding226;
|
|
}
|
|
try {
|
|
getDebugInfo = binding.getDebugInfo;
|
|
} catch (error) {
|
|
break exceptionLanding226;
|
|
}
|
|
try {
|
|
value62 = Reflect.apply(getDebugInfo, binding, []);
|
|
} catch (error) {
|
|
break exceptionLanding226;
|
|
}
|
|
try {
|
|
value63 = Reflect.apply(stringify, JSON, [value62, value, 2]);
|
|
} catch (error) {
|
|
break exceptionLanding226;
|
|
}
|
|
try {
|
|
} catch (error) {
|
|
break exceptionLanding226;
|
|
}
|
|
try {
|
|
} catch (error) {
|
|
break exceptionLanding226;
|
|
}
|
|
try {
|
|
value64 = Reflect.apply(concat, '\n ', [value56, '\n\n ', value58, '\n\n Metadata:\n ', value61,
|
|
'\n\n ChannelStore:\n ', value63, '\n\n Logs:\n ', r11, '\n\n System logs:\n ', r10,
|
|
'\n\n LibDiscore logs:\n ', r9, '\n\n Push Notifications:\n ', r8, '\n ']);
|
|
} catch (error) {
|
|
break exceptionLanding226;
|
|
}
|
|
try {
|
|
binding = env2_2;
|
|
} catch (error) {
|
|
break exceptionLanding226;
|
|
}
|
|
try {
|
|
property = binding7[8];
|
|
} catch (error) {
|
|
break exceptionLanding226;
|
|
}
|
|
try {
|
|
value65 = binding(property);
|
|
} catch (error) {
|
|
break exceptionLanding226;
|
|
}
|
|
try {
|
|
clear = value65.clear;
|
|
} catch (error) {
|
|
break exceptionLanding226;
|
|
}
|
|
try {
|
|
Reflect.apply(clear, value65, []);
|
|
} catch (error) {
|
|
break exceptionLanding226;
|
|
}
|
|
try {
|
|
binding = env2_6;
|
|
} catch (error) {
|
|
break exceptionLanding226;
|
|
}
|
|
try {
|
|
DEBUG_LOG = binding.DEBUG_LOG;
|
|
} catch (error) {
|
|
break exceptionLanding226;
|
|
}
|
|
try {
|
|
value66 = Reflect.apply(DEBUG_LOG, binding, [a0, 'discord_app_logs']);
|
|
} catch (error) {
|
|
break exceptionLanding226;
|
|
}
|
|
try {
|
|
property = binding7[16];
|
|
} catch (error) {
|
|
break exceptionLanding226;
|
|
}
|
|
try {
|
|
value67 = binding8(property);
|
|
} catch (error) {
|
|
break exceptionLanding226;
|
|
}
|
|
try {
|
|
HTTP = value67.HTTP;
|
|
} catch (error) {
|
|
break exceptionLanding226;
|
|
}
|
|
try {
|
|
post = HTTP.post;
|
|
} catch (error) {
|
|
break exceptionLanding226;
|
|
}
|
|
try {
|
|
object = {'url': null, 'body': null, 'retries': 3, 'headers': null, 'oldFormErrors': true,
|
|
'rejectWithError': false};
|
|
} catch (error) {
|
|
break exceptionLanding226;
|
|
}
|
|
try {
|
|
object.url = value66;
|
|
} catch (error) {
|
|
break exceptionLanding226;
|
|
}
|
|
try {
|
|
object.body = value64;
|
|
} catch (error) {
|
|
break exceptionLanding226;
|
|
}
|
|
try {
|
|
object2 = {};
|
|
} catch (error) {
|
|
break exceptionLanding226;
|
|
}
|
|
try {
|
|
object2['Content-Type'] = 'text/plain';
|
|
} catch (error) {
|
|
break exceptionLanding226;
|
|
}
|
|
try {
|
|
object.headers = object2;
|
|
} catch (error) {
|
|
break exceptionLanding226;
|
|
}
|
|
try {
|
|
value68 = Reflect.apply(post, HTTP, [object]);
|
|
} catch (error) {
|
|
break exceptionLanding226;
|
|
}
|
|
yield value68;
|
|
try {
|
|
value69 = undefined;
|
|
value70 = false;
|
|
} catch (error) {
|
|
break exceptionLanding226;
|
|
}
|
|
return value70 ? value69 : value;
|
|
function _fun85736(a0) { // fn#85736, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:11402:1403, offset: 0x01f7a3c0, size: 23 bytes, params: 2, frame: 11
|
|
return env3_9.getSystemLog(a0);
|
|
}
|
|
|
|
function _fun85737(a0) { // fn#85737, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:11402:1494, offset: 0x01f7a3d7, size: 38 bytes, params: 2, frame: 13
|
|
const value = environment.__proto__.__proto__.__proto__;
|
|
return env3_1(env3_3[10])(a0, true);
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
global.__d(_fun85728, 11216, [5, 1379, 661, 3, 27, 4131, 9235, 11217, 12, 11219, 11220, 1873, 4014, 11221, 11222,
|
|
11223, 507,
|
|
2]) /* metro module 11216, dependencies: [5, 1379, 661, 3, 27, 4131, 9235, 11217, 12, 11219, 11220, 1873, 4014, 11221, 11222, 11223, 507, 2] */;
|