Files
2026-07-28 01:06:53 +03:00

46 lines
2.3 KiB
JavaScript

/* Metro module 1006; source: unknown; dependencies: [5, 1007, 215] */
import Module00005 from './module-00005.js'; /* Metro dependency 5 */
function _fun10516(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#10516, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:1133:6, offset: 0x00d8fd18, size: 100 bytes, params: 8, frame: 17
const env0_1 = require;
const Object = global.Object;
Object.defineProperty(exports, '__esModule', {value: true});
exports.default = function(a0, a1) {
return _symbolicateStackTrace.apply(this, arguments);
};
function _symbolicateStackTrace() { // fn#10517, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:1133:106, offset: 0x00d8fd7c, size: 48 bytes, params: 1, frame: 14
return Module00005(_fun10519).apply(this, arguments);
function* _fun10519(a0, a1) { // fn#10519, original name: ?anon_0_, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:1133:173, offset: 0x00d8fdb5, size: 264 bytes, params: 3, frame: 18
var fetch;
var object;
if (false) {
return undefined;
}
value = environment.__proto__.__proto__;
const value4 = env2_1(env2_2[1]).default();
if (value4.bundleLoadedFromServer) {
fetch = env2_0.fetch;
fetch = fetch ?? env2_1(env2_2[2]).fetch;
value = value4.url + 'symbolicate';
object = {method: 'POST'};
object.headers = {['Content-Type']: 'application/json'};
object.body = global.JSON.stringify({stack: a0, extraData: a1});
yield fetch(value, object);
value = undefined;
if (false) {
return value;
}
yield value.json();
value = undefined;
return value;
}
const Error = global.Error;
throw new Error('Bundle was not loaded from Metro.');
}
}
}
global.__d(_fun10516, 1006, [5, 1007, 215]) /* metro module 1006, dependencies: [5, 1007, 215] */;