981 lines
36 KiB
React
981 lines
36 KiB
React
/* Metro module 7435; source: unknown; dependencies: [5, 7397, 7369, 7413, 7434] */
|
|
function _fun59997(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#59997, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:7613:6, offset: 0x016f8daa, size: 102 bytes, params: 8, frame: 17
|
|
let env0_0 = require;
|
|
const env0_2 = require(5) /* metro dependency 5 */;
|
|
const Object = global.Object;
|
|
Object.defineProperty(exports, '__esModule', {value: true});
|
|
exports.MIN_DELAY = 100;
|
|
exports.START_DELAY = 5000;
|
|
exports.makeOfflineTransport = function(a0) {
|
|
var env0_0 = a0;
|
|
var env0_1 = _fun59999;
|
|
return _fun60000;
|
|
};
|
|
}
|
|
|
|
function makeOfflineTransport_59998(a0) { // fn#59998, offset: 0x016f8e10, size: 25 bytes, params: 2, frame: 2
|
|
const env0_0 = a0;
|
|
return _fun60000;
|
|
}
|
|
|
|
function makeOfflineTransport_59998Log() { // fn#59999, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:7613:200, owner: makeOfflineTransport_59998.log, offset: 0x016f8e29, size: 159 bytes, params: 1, frame: 16
|
|
var r1;
|
|
var value5;
|
|
var logger;
|
|
var info;
|
|
var apply;
|
|
var items2;
|
|
var concat;
|
|
let value = arguments.length;
|
|
const Array = global.Array;
|
|
const array = new Array(value);
|
|
const value4 = 0;
|
|
if (value4 < value) {
|
|
r1 = value4;
|
|
reducibleLoop1: while (true) {
|
|
array[r1] = arguments[r1];
|
|
value5 = typeof r1 === 'bigint' ? r1 + 1n : +r1 + 1;
|
|
if (value5 < value) {
|
|
r1 = value5;
|
|
continue reducibleLoop1;
|
|
}
|
|
break reducibleLoop1;
|
|
}
|
|
}
|
|
value = environment.__proto__;
|
|
const DEBUG_BUILD = (require(7397) /* metro dependency 7397 */).DEBUG_BUILD;
|
|
reducibleJoin4: while (true) {
|
|
if (DEBUG_BUILD) {
|
|
logger = (require(7369) /* metro dependency 7369 */).logger;
|
|
info = logger.info;
|
|
apply = info.apply;
|
|
items2 = ['[Offline]:'];
|
|
concat = items2.concat;
|
|
Reflect.apply(apply, info, [logger, Reflect.apply(concat, items2, [array])]);
|
|
break reducibleJoin4;
|
|
}
|
|
break reducibleJoin4;
|
|
}
|
|
}
|
|
|
|
function _fun60000(a0) { // fn#60000, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:7613:375, offset: 0x016f8ec8, size: 165 bytes, params: 2, frame: 16
|
|
const env0_0 = a0;
|
|
const closure = flushWithBackOff_60005;
|
|
const closure2 = function(a0) {
|
|
return _send_60007.apply(this, arguments);
|
|
};
|
|
const env0_1 = env0_0(a0);
|
|
if (a0.createStore) {
|
|
var env0_3 = a0.createStore(a0);
|
|
if (a0.flushAtStartup) {
|
|
closure();
|
|
}
|
|
return {send: closure2, flush: flush_60010};
|
|
}
|
|
const Error = global.Error;
|
|
throw new Error('No `createStore` function was provided');
|
|
}
|
|
|
|
function flushIn_60001(a0) { // fn#60001, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:7613:503, offset: 0x016f8f6d, size: 114 bytes, params: 2, frame: 14
|
|
if (env0_2) {
|
|
global.clearTimeout(env0_2);
|
|
}
|
|
const value4 = global.setTimeout(env2_2(_fun60003), a0);
|
|
env0_2 = value4;
|
|
if (typeof value4 !== 'number' && env0_2.unref) {
|
|
env0_2.unref();
|
|
}
|
|
}
|
|
|
|
function _send_60007() { // fn#60007, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:7613:921, offset: 0x016f9081, size: 50 bytes, params: 1, frame: 13
|
|
var environment;
|
|
const value = environment.__proto__.__proto__;
|
|
return env2_2(_fun60009).apply(this, arguments);
|
|
}
|
|
|
|
function* _fun60003() { // fn#60003, original name: ?anon_0_, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:7613:575, offset: 0x016f8fe8, size: 153 bytes, params: 1, frame: 16
|
|
var environment;
|
|
var value5;
|
|
var property;
|
|
var Date;
|
|
var value6;
|
|
var date;
|
|
if (true) {
|
|
value = environment.__proto__.__proto__;
|
|
var binding = env2_3;
|
|
yield binding.shift();
|
|
var value3 = undefined;
|
|
if (false) {
|
|
return value3;
|
|
}
|
|
if (value3) {
|
|
value5 = environment.__proto__.__proto__.__proto__;
|
|
dependencyMap('Attempting to send previously queued event');
|
|
property = value3[0];
|
|
Date = global.Date;
|
|
value6 = Object.create(Date.prototype, {constructor: {value: Date}});
|
|
date = new Date();
|
|
property.sent_at = (date instanceof Object ? date : value6).toISOString();
|
|
env2_7(value3, true).catch(function(a0) {
|
|
dependencyMap('Failed to retry sending', a0);
|
|
});
|
|
}
|
|
}
|
|
}
|
|
|
|
function* _fun60009(a0) { // fn#60009, original name: ?anon_0_, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:7613:954, offset: 0x016f90bc, size: 600 bytes, params: 2, frame: 23
|
|
var r1;
|
|
var r9;
|
|
var r7;
|
|
var r12;
|
|
var value;
|
|
var value2;
|
|
var binding;
|
|
var envelopeContainsItemType;
|
|
var makeOfflineTransport_59998LogBinding;
|
|
var send;
|
|
var value5;
|
|
var value6;
|
|
var value7;
|
|
var value8;
|
|
var headers;
|
|
var property;
|
|
var statusCode;
|
|
var value9;
|
|
var value10;
|
|
var value11;
|
|
var value12;
|
|
var binding2;
|
|
var value13;
|
|
var parseRetryAfterHeader;
|
|
var retryAfterHeader;
|
|
var error;
|
|
var value14;
|
|
var binding3;
|
|
var value15;
|
|
var value16;
|
|
var value17;
|
|
var shouldStore;
|
|
var value18;
|
|
var binding4;
|
|
var value19;
|
|
var value20;
|
|
exceptionSkip60: while (true) {
|
|
exceptionLanding60: while (true) {
|
|
value = undefined;
|
|
value2 = false;
|
|
if (value2) {
|
|
return value;
|
|
}
|
|
value = arguments.length > 1;
|
|
if (value) {
|
|
r1 = arguments[1] !== undefined;
|
|
} else {
|
|
r1 = value;
|
|
}
|
|
if (r1) {
|
|
r1 = arguments[1];
|
|
}
|
|
if (r1) {
|
|
value = environment.__proto__.__proto__;
|
|
try {
|
|
makeOfflineTransport_59998LogBinding = makeOfflineTransport_59998Log;
|
|
} catch (error) {
|
|
break exceptionLanding60;
|
|
}
|
|
try {
|
|
send = makeOfflineTransport_59998LogBinding.send;
|
|
} catch (error) {
|
|
break exceptionLanding60;
|
|
}
|
|
try {
|
|
value5 = Reflect.apply(send, makeOfflineTransport_59998LogBinding, [a0]);
|
|
} catch (error) {
|
|
break exceptionLanding60;
|
|
}
|
|
yield value5;
|
|
try {
|
|
value6 = undefined;
|
|
value7 = false;
|
|
} catch (error) {
|
|
break exceptionLanding60;
|
|
}
|
|
if (value7) {
|
|
return value6;
|
|
}
|
|
value8 = 100;
|
|
if (value6) {
|
|
try {
|
|
headers = value6.headers;
|
|
} catch (error) {
|
|
break exceptionLanding60;
|
|
}
|
|
if (headers) {
|
|
try {
|
|
headers = value6.headers;
|
|
} catch (error) {
|
|
break exceptionLanding60;
|
|
}
|
|
try {
|
|
property = headers['retry-after'];
|
|
} catch (error) {
|
|
break exceptionLanding60;
|
|
}
|
|
if (property) {
|
|
value12 = environment.__proto__.__proto__.__proto__.__proto__;
|
|
try {
|
|
binding = env4_0;
|
|
} catch (error) {
|
|
break exceptionLanding60;
|
|
}
|
|
try {
|
|
binding2 = env4_1;
|
|
} catch (error) {
|
|
break exceptionLanding60;
|
|
}
|
|
try {
|
|
property = binding2[4];
|
|
} catch (error) {
|
|
break exceptionLanding60;
|
|
}
|
|
try {
|
|
value13 = binding(property);
|
|
} catch (error) {
|
|
break exceptionLanding60;
|
|
}
|
|
try {
|
|
parseRetryAfterHeader = value13.parseRetryAfterHeader;
|
|
} catch (error) {
|
|
break exceptionLanding60;
|
|
}
|
|
try {
|
|
headers = value6.headers;
|
|
} catch (error) {
|
|
break exceptionLanding60;
|
|
}
|
|
try {
|
|
property = headers['retry-after'];
|
|
} catch (error) {
|
|
break exceptionLanding60;
|
|
}
|
|
try {
|
|
retryAfterHeader = Reflect.apply(parseRetryAfterHeader, value13, [property]);
|
|
} catch (error) {
|
|
break exceptionLanding60;
|
|
}
|
|
r7 = retryAfterHeader;
|
|
try {
|
|
binding = env2_5;
|
|
} catch (error) {
|
|
break exceptionLanding60;
|
|
}
|
|
try {
|
|
binding(r7);
|
|
} catch (error) {
|
|
break exceptionLanding60;
|
|
}
|
|
try {
|
|
env2_4 = 5000;
|
|
} catch (error) {
|
|
break exceptionLanding60;
|
|
}
|
|
return value6;
|
|
}
|
|
try {
|
|
headers = value6.headers;
|
|
} catch (error) {
|
|
break exceptionLanding60;
|
|
}
|
|
if (headers) {
|
|
try {
|
|
headers = value6.headers;
|
|
} catch (error) {
|
|
break exceptionLanding60;
|
|
}
|
|
try {
|
|
property = headers['x-sentry-rate-limits'];
|
|
} catch (error) {
|
|
break exceptionLanding60;
|
|
}
|
|
if (property) {
|
|
value11 = 60000;
|
|
r7 = value11;
|
|
try {
|
|
binding = env2_5;
|
|
} catch (error) {
|
|
break exceptionLanding60;
|
|
}
|
|
try {
|
|
binding(r7);
|
|
} catch (error) {
|
|
break exceptionLanding60;
|
|
}
|
|
try {
|
|
env2_4 = 5000;
|
|
} catch (error) {
|
|
break exceptionLanding60;
|
|
}
|
|
return value6;
|
|
}
|
|
try {
|
|
statusCode = value6.statusCode;
|
|
} catch (error) {
|
|
break exceptionLanding60;
|
|
}
|
|
if (statusCode) {
|
|
r9 = statusCode;
|
|
} else {
|
|
value9 = 0;
|
|
r9 = value9;
|
|
}
|
|
try {
|
|
value10 = r9 >= 400;
|
|
} catch (error) {
|
|
break exceptionLanding60;
|
|
}
|
|
if (value10) {
|
|
return value6;
|
|
}
|
|
r7 = value8;
|
|
try {
|
|
binding = env2_5;
|
|
} catch (error) {
|
|
break exceptionLanding60;
|
|
}
|
|
try {
|
|
binding(r7);
|
|
} catch (error) {
|
|
break exceptionLanding60;
|
|
}
|
|
try {
|
|
env2_4 = 5000;
|
|
} catch (error) {
|
|
break exceptionLanding60;
|
|
}
|
|
return value6;
|
|
}
|
|
try {
|
|
statusCode = value6.statusCode;
|
|
} catch (error) {
|
|
break exceptionLanding60;
|
|
}
|
|
if (statusCode) {
|
|
r9 = statusCode;
|
|
} else {
|
|
value9 = 0;
|
|
r9 = value9;
|
|
}
|
|
try {
|
|
value10 = r9 >= 400;
|
|
} catch (error) {
|
|
break exceptionLanding60;
|
|
}
|
|
if (value10) {
|
|
return value6;
|
|
}
|
|
r7 = value8;
|
|
try {
|
|
binding = env2_5;
|
|
} catch (error) {
|
|
break exceptionLanding60;
|
|
}
|
|
try {
|
|
binding(r7);
|
|
} catch (error) {
|
|
break exceptionLanding60;
|
|
}
|
|
try {
|
|
env2_4 = 5000;
|
|
} catch (error) {
|
|
break exceptionLanding60;
|
|
}
|
|
return value6;
|
|
}
|
|
try {
|
|
headers = value6.headers;
|
|
} catch (error) {
|
|
break exceptionLanding60;
|
|
}
|
|
if (headers) {
|
|
try {
|
|
headers = value6.headers;
|
|
} catch (error) {
|
|
break exceptionLanding60;
|
|
}
|
|
try {
|
|
property = headers['x-sentry-rate-limits'];
|
|
} catch (error) {
|
|
break exceptionLanding60;
|
|
}
|
|
if (property) {
|
|
value11 = 60000;
|
|
r7 = value11;
|
|
try {
|
|
binding = env2_5;
|
|
} catch (error) {
|
|
break exceptionLanding60;
|
|
}
|
|
try {
|
|
binding(r7);
|
|
} catch (error) {
|
|
break exceptionLanding60;
|
|
}
|
|
try {
|
|
env2_4 = 5000;
|
|
} catch (error) {
|
|
break exceptionLanding60;
|
|
}
|
|
return value6;
|
|
}
|
|
try {
|
|
statusCode = value6.statusCode;
|
|
} catch (error) {
|
|
break exceptionLanding60;
|
|
}
|
|
if (statusCode) {
|
|
r9 = statusCode;
|
|
} else {
|
|
value9 = 0;
|
|
r9 = value9;
|
|
}
|
|
try {
|
|
value10 = r9 >= 400;
|
|
} catch (error) {
|
|
break exceptionLanding60;
|
|
}
|
|
if (value10) {
|
|
return value6;
|
|
}
|
|
r7 = value8;
|
|
try {
|
|
binding = env2_5;
|
|
} catch (error) {
|
|
break exceptionLanding60;
|
|
}
|
|
try {
|
|
binding(r7);
|
|
} catch (error) {
|
|
break exceptionLanding60;
|
|
}
|
|
try {
|
|
env2_4 = 5000;
|
|
} catch (error) {
|
|
break exceptionLanding60;
|
|
}
|
|
return value6;
|
|
}
|
|
try {
|
|
statusCode = value6.statusCode;
|
|
} catch (error) {
|
|
break exceptionLanding60;
|
|
}
|
|
if (statusCode) {
|
|
r9 = statusCode;
|
|
} else {
|
|
value9 = 0;
|
|
r9 = value9;
|
|
}
|
|
try {
|
|
value10 = r9 >= 400;
|
|
} catch (error) {
|
|
break exceptionLanding60;
|
|
}
|
|
if (value10) {
|
|
return value6;
|
|
}
|
|
r7 = value8;
|
|
try {
|
|
binding = env2_5;
|
|
} catch (error) {
|
|
break exceptionLanding60;
|
|
}
|
|
try {
|
|
binding(r7);
|
|
} catch (error) {
|
|
break exceptionLanding60;
|
|
}
|
|
try {
|
|
env2_4 = 5000;
|
|
} catch (error) {
|
|
break exceptionLanding60;
|
|
}
|
|
return value6;
|
|
}
|
|
r7 = value8;
|
|
try {
|
|
binding = env2_5;
|
|
} catch (error) {
|
|
break exceptionLanding60;
|
|
}
|
|
try {
|
|
binding(r7);
|
|
} catch (error) {
|
|
break exceptionLanding60;
|
|
}
|
|
try {
|
|
env2_4 = 5000;
|
|
} catch (error) {
|
|
break exceptionLanding60;
|
|
}
|
|
return value6;
|
|
}
|
|
value = environment.__proto__.__proto__.__proto__.__proto__;
|
|
binding = env4_0;
|
|
value = binding(env4_1[3]);
|
|
envelopeContainsItemType = value.envelopeContainsItemType;
|
|
if (Reflect.apply(envelopeContainsItemType, value, [a0, ['replay_event', 'replay_recording']])) {
|
|
value = environment.__proto__.__proto__;
|
|
binding = env2_3;
|
|
yield binding.push(a0);
|
|
if (false) {
|
|
return undefined;
|
|
}
|
|
env2_5(100);
|
|
return {};
|
|
}
|
|
value = environment.__proto__.__proto__;
|
|
try {
|
|
makeOfflineTransport_59998LogBinding = makeOfflineTransport_59998Log;
|
|
} catch (error) {
|
|
break exceptionLanding60;
|
|
}
|
|
try {
|
|
send = makeOfflineTransport_59998LogBinding.send;
|
|
} catch (error) {
|
|
break exceptionLanding60;
|
|
}
|
|
try {
|
|
value5 = Reflect.apply(send, makeOfflineTransport_59998LogBinding, [a0]);
|
|
} catch (error) {
|
|
break exceptionLanding60;
|
|
}
|
|
yield value5;
|
|
try {
|
|
value6 = undefined;
|
|
value7 = false;
|
|
} catch (error) {
|
|
break exceptionLanding60;
|
|
}
|
|
if (value7) {
|
|
return value6;
|
|
}
|
|
value8 = 100;
|
|
if (value6) {
|
|
try {
|
|
headers = value6.headers;
|
|
} catch (error) {
|
|
break exceptionLanding60;
|
|
}
|
|
if (headers) {
|
|
try {
|
|
headers = value6.headers;
|
|
} catch (error) {
|
|
break exceptionLanding60;
|
|
}
|
|
try {
|
|
property = headers['retry-after'];
|
|
} catch (error) {
|
|
break exceptionLanding60;
|
|
}
|
|
if (property) {
|
|
value12 = environment.__proto__.__proto__.__proto__.__proto__;
|
|
try {
|
|
binding = env4_0;
|
|
} catch (error) {
|
|
break exceptionLanding60;
|
|
}
|
|
try {
|
|
binding2 = env4_1;
|
|
} catch (error) {
|
|
break exceptionLanding60;
|
|
}
|
|
try {
|
|
property = binding2[4];
|
|
} catch (error) {
|
|
break exceptionLanding60;
|
|
}
|
|
try {
|
|
value13 = binding(property);
|
|
} catch (error) {
|
|
break exceptionLanding60;
|
|
}
|
|
try {
|
|
parseRetryAfterHeader = value13.parseRetryAfterHeader;
|
|
} catch (error) {
|
|
break exceptionLanding60;
|
|
}
|
|
try {
|
|
headers = value6.headers;
|
|
} catch (error) {
|
|
break exceptionLanding60;
|
|
}
|
|
try {
|
|
property = headers['retry-after'];
|
|
} catch (error) {
|
|
break exceptionLanding60;
|
|
}
|
|
try {
|
|
retryAfterHeader = Reflect.apply(parseRetryAfterHeader, value13, [property]);
|
|
} catch (error) {
|
|
break exceptionLanding60;
|
|
}
|
|
r7 = retryAfterHeader;
|
|
try {
|
|
binding = env2_5;
|
|
} catch (error) {
|
|
break exceptionLanding60;
|
|
}
|
|
try {
|
|
binding(r7);
|
|
} catch (error) {
|
|
break exceptionLanding60;
|
|
}
|
|
try {
|
|
env2_4 = 5000;
|
|
} catch (error) {
|
|
break exceptionLanding60;
|
|
}
|
|
return value6;
|
|
}
|
|
try {
|
|
headers = value6.headers;
|
|
} catch (error) {
|
|
break exceptionLanding60;
|
|
}
|
|
if (headers) {
|
|
try {
|
|
headers = value6.headers;
|
|
} catch (error) {
|
|
break exceptionLanding60;
|
|
}
|
|
try {
|
|
property = headers['x-sentry-rate-limits'];
|
|
} catch (error) {
|
|
break exceptionLanding60;
|
|
}
|
|
if (property) {
|
|
value11 = 60000;
|
|
r7 = value11;
|
|
try {
|
|
binding = env2_5;
|
|
} catch (error) {
|
|
break exceptionLanding60;
|
|
}
|
|
try {
|
|
binding(r7);
|
|
} catch (error) {
|
|
break exceptionLanding60;
|
|
}
|
|
try {
|
|
env2_4 = 5000;
|
|
} catch (error) {
|
|
break exceptionLanding60;
|
|
}
|
|
return value6;
|
|
}
|
|
try {
|
|
statusCode = value6.statusCode;
|
|
} catch (error) {
|
|
break exceptionLanding60;
|
|
}
|
|
if (statusCode) {
|
|
r9 = statusCode;
|
|
} else {
|
|
value9 = 0;
|
|
r9 = value9;
|
|
}
|
|
try {
|
|
value10 = r9 >= 400;
|
|
} catch (error) {
|
|
break exceptionLanding60;
|
|
}
|
|
if (value10) {
|
|
return value6;
|
|
}
|
|
r7 = value8;
|
|
try {
|
|
binding = env2_5;
|
|
} catch (error) {
|
|
break exceptionLanding60;
|
|
}
|
|
try {
|
|
binding(r7);
|
|
} catch (error) {
|
|
break exceptionLanding60;
|
|
}
|
|
try {
|
|
env2_4 = 5000;
|
|
} catch (error) {
|
|
break exceptionLanding60;
|
|
}
|
|
return value6;
|
|
}
|
|
try {
|
|
statusCode = value6.statusCode;
|
|
} catch (error) {
|
|
break exceptionLanding60;
|
|
}
|
|
if (statusCode) {
|
|
r9 = statusCode;
|
|
} else {
|
|
value9 = 0;
|
|
r9 = value9;
|
|
}
|
|
try {
|
|
value10 = r9 >= 400;
|
|
} catch (error) {
|
|
break exceptionLanding60;
|
|
}
|
|
if (value10) {
|
|
return value6;
|
|
}
|
|
r7 = value8;
|
|
try {
|
|
binding = env2_5;
|
|
} catch (error) {
|
|
break exceptionLanding60;
|
|
}
|
|
try {
|
|
binding(r7);
|
|
} catch (error) {
|
|
break exceptionLanding60;
|
|
}
|
|
try {
|
|
env2_4 = 5000;
|
|
} catch (error) {
|
|
break exceptionLanding60;
|
|
}
|
|
return value6;
|
|
}
|
|
try {
|
|
headers = value6.headers;
|
|
} catch (error) {
|
|
break exceptionLanding60;
|
|
}
|
|
if (headers) {
|
|
try {
|
|
headers = value6.headers;
|
|
} catch (error) {
|
|
break exceptionLanding60;
|
|
}
|
|
try {
|
|
property = headers['x-sentry-rate-limits'];
|
|
} catch (error) {
|
|
break exceptionLanding60;
|
|
}
|
|
if (property) {
|
|
value11 = 60000;
|
|
r7 = value11;
|
|
try {
|
|
binding = env2_5;
|
|
} catch (error) {
|
|
break exceptionLanding60;
|
|
}
|
|
try {
|
|
binding(r7);
|
|
} catch (error) {
|
|
break exceptionLanding60;
|
|
}
|
|
try {
|
|
env2_4 = 5000;
|
|
} catch (error) {
|
|
break exceptionLanding60;
|
|
}
|
|
return value6;
|
|
}
|
|
try {
|
|
statusCode = value6.statusCode;
|
|
} catch (error) {
|
|
break exceptionLanding60;
|
|
}
|
|
if (statusCode) {
|
|
r9 = statusCode;
|
|
} else {
|
|
value9 = 0;
|
|
r9 = value9;
|
|
}
|
|
try {
|
|
value10 = r9 >= 400;
|
|
} catch (error) {
|
|
break exceptionLanding60;
|
|
}
|
|
if (value10) {
|
|
return value6;
|
|
}
|
|
r7 = value8;
|
|
try {
|
|
binding = env2_5;
|
|
} catch (error) {
|
|
break exceptionLanding60;
|
|
}
|
|
try {
|
|
binding(r7);
|
|
} catch (error) {
|
|
break exceptionLanding60;
|
|
}
|
|
try {
|
|
env2_4 = 5000;
|
|
} catch (error) {
|
|
break exceptionLanding60;
|
|
}
|
|
return value6;
|
|
}
|
|
try {
|
|
statusCode = value6.statusCode;
|
|
} catch (error) {
|
|
break exceptionLanding60;
|
|
}
|
|
if (statusCode) {
|
|
r9 = statusCode;
|
|
} else {
|
|
value9 = 0;
|
|
r9 = value9;
|
|
}
|
|
try {
|
|
value10 = r9 >= 400;
|
|
} catch (error) {
|
|
break exceptionLanding60;
|
|
}
|
|
if (value10) {
|
|
return value6;
|
|
}
|
|
r7 = value8;
|
|
try {
|
|
binding = env2_5;
|
|
} catch (error) {
|
|
break exceptionLanding60;
|
|
}
|
|
try {
|
|
binding(r7);
|
|
} catch (error) {
|
|
break exceptionLanding60;
|
|
}
|
|
try {
|
|
env2_4 = 5000;
|
|
} catch (error) {
|
|
break exceptionLanding60;
|
|
}
|
|
return value6;
|
|
}
|
|
r7 = value8;
|
|
try {
|
|
binding = env2_5;
|
|
} catch (error) {
|
|
break exceptionLanding60;
|
|
}
|
|
try {
|
|
binding(r7);
|
|
} catch (error) {
|
|
break exceptionLanding60;
|
|
}
|
|
try {
|
|
env2_4 = 5000;
|
|
} catch (error) {
|
|
break exceptionLanding60;
|
|
}
|
|
return value6;
|
|
break exceptionSkip60;
|
|
}
|
|
binding = env2_4;
|
|
value14 = environment.__proto__.__proto__.__proto__.__proto__;
|
|
binding3 = env4_0;
|
|
value15 = binding3(env4_1[3]);
|
|
envelopeContainsItemType = value15.envelopeContainsItemType;
|
|
value16 = Reflect.apply(envelopeContainsItemType, value15, [a0, ['client_report']]);
|
|
value17 = !value16;
|
|
if (value16) {
|
|
yield value17;
|
|
value19 = undefined;
|
|
if (false) {
|
|
return value19;
|
|
}
|
|
if (value19) {
|
|
binding = env2_3;
|
|
if (r1) {
|
|
yield binding.unshift(a0);
|
|
if (false) {
|
|
return undefined;
|
|
}
|
|
env2_6();
|
|
value = environment.__proto__.__proto__.__proto__;
|
|
dependencyMap('Error sending. Event queued.', error);
|
|
return {};
|
|
}
|
|
yield binding.push(a0);
|
|
if (false) {
|
|
return undefined;
|
|
}
|
|
env2_6();
|
|
value = environment.__proto__.__proto__.__proto__;
|
|
dependencyMap('Error sending. Event queued.', error);
|
|
return {};
|
|
}
|
|
throw error;
|
|
}
|
|
shouldStore = env2_0.shouldStore;
|
|
value18 = !shouldStore;
|
|
if (shouldStore) {
|
|
binding4 = env2_0;
|
|
yield binding4.shouldStore(a0, error, binding);
|
|
value19 = undefined;
|
|
if (false) {
|
|
return value19;
|
|
}
|
|
if (value19) {
|
|
binding = env2_3;
|
|
if (r1) {
|
|
yield binding.unshift(a0);
|
|
if (false) {
|
|
return undefined;
|
|
}
|
|
env2_6();
|
|
value = environment.__proto__.__proto__.__proto__;
|
|
dependencyMap('Error sending. Event queued.', error);
|
|
return {};
|
|
}
|
|
yield binding.push(a0);
|
|
if (false) {
|
|
return undefined;
|
|
}
|
|
env2_6();
|
|
value = environment.__proto__.__proto__.__proto__;
|
|
dependencyMap('Error sending. Event queued.', error);
|
|
return {};
|
|
}
|
|
throw error;
|
|
}
|
|
r7 = value18;
|
|
r12 = r7;
|
|
yield r12;
|
|
value19 = undefined;
|
|
value20 = false;
|
|
if (value20) {
|
|
return value19;
|
|
}
|
|
if (value19) {
|
|
binding = env2_3;
|
|
if (r1) {
|
|
yield binding.unshift(a0);
|
|
if (false) {
|
|
return undefined;
|
|
}
|
|
env2_6();
|
|
value = environment.__proto__.__proto__.__proto__;
|
|
dependencyMap('Error sending. Event queued.', error);
|
|
return {};
|
|
}
|
|
yield binding.push(a0);
|
|
if (false) {
|
|
return undefined;
|
|
}
|
|
env2_6();
|
|
value = environment.__proto__.__proto__.__proto__;
|
|
dependencyMap('Error sending. Event queued.', error);
|
|
return {};
|
|
}
|
|
throw error;
|
|
break exceptionSkip60;
|
|
}
|
|
}
|
|
|