Initial commit
This commit is contained in:
commit
af3b49f756
16065 files changed
+2938410
No files matched your search
@@ -0,0 +1,407 @@
|
||||
/* Metro module 1158; source: unknown; dependencies: [1157, 1032, 1150, 826] */
|
||||
function _fun12876(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#12876, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:1285:6, offset: 0x00dd95b2, size: 116 bytes, params: 8, frame: 19
|
||||
let env0_0 = require;
|
||||
const closure = function(a0, a1, a2, a3) {
|
||||
var env0_0 = a1;
|
||||
var env0_1 = a2;
|
||||
var env0_2 = a3;
|
||||
var Proxy = global.Proxy;
|
||||
var value2 = new Proxy(a0, {apply: _fun12878});
|
||||
require(dependencyMap[3]).addNonEnumerableProperty(value2, '__sentry_proxied__', true);
|
||||
return value2;
|
||||
};
|
||||
const closure2 = handleAsyncHandlerResult;
|
||||
const Object = global.Object;
|
||||
const defineProperty = Object.defineProperty;
|
||||
const Symbol = global.Symbol;
|
||||
Reflect.apply(defineProperty, Object, [exports, Symbol.toStringTag, {value: 'Module'}]);
|
||||
exports.checkRouteForAsyncHandler = checkRouteForAsyncHandler;
|
||||
exports.createAsyncHandlerProxy = closure;
|
||||
exports.handleAsyncHandlerResult = closure2;
|
||||
}
|
||||
|
||||
function createAsyncHandlerProxy(a0, a1, a2, a3) { // fn#12877, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:1285:31, offset: 0x00dd9626, size: 116 bytes, params: 5, frame: 15
|
||||
const env0_0 = a1;
|
||||
const env0_1 = a2;
|
||||
const env0_2 = a3;
|
||||
const Proxy = global.Proxy;
|
||||
const proxy = new Proxy(a0, {apply: apply_12878});
|
||||
(require(826) /* metro dependency 826 */).addNonEnumerableProperty(proxy, '__sentry_proxied__', true);
|
||||
return proxy;
|
||||
}
|
||||
|
||||
function handleAsyncHandlerResult(a0, a1, a2, a3, a4, a5) { // fn#12879, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:1285:814, offset: 0x00dd9846, size: 167 bytes, params: 7, frame: 20
|
||||
var Array;
|
||||
const value = a4;
|
||||
const env0_0 = a1;
|
||||
const env0_1 = a2;
|
||||
const env0_2 = a3;
|
||||
const env0_4 = a5;
|
||||
const value3 = undefined;
|
||||
const moduleValue = require(826) /* metro dependency 826 */;
|
||||
if (moduleValue.isThenable(a0)) {
|
||||
a0.then(_fun12880).catch(_fun12881);
|
||||
} else {
|
||||
Array = global.Array;
|
||||
if (Array.isArray(a0)) {
|
||||
a3(a0, a1, value ?? value3, a5);
|
||||
}
|
||||
}
|
||||
return value3;
|
||||
}
|
||||
|
||||
function checkRouteForAsyncHandler(a0, a1) { // fn#12882, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:1285:1201, offset: 0x00dd99b1, size: 272 bytes, params: 3, frame: 26
|
||||
var r3;
|
||||
var r9;
|
||||
var r2;
|
||||
var handle;
|
||||
var Object;
|
||||
var keys;
|
||||
var iterator;
|
||||
var iterator2;
|
||||
var value;
|
||||
var item;
|
||||
var item2;
|
||||
var property;
|
||||
var value2;
|
||||
var __sentry_proxied__;
|
||||
var createAsyncHandlerProxyBinding;
|
||||
var asyncHandlerProxy;
|
||||
var error;
|
||||
var Array;
|
||||
var isArray;
|
||||
var children;
|
||||
var iterator3;
|
||||
var item3;
|
||||
var checkRouteForAsyncHandlerBinding;
|
||||
exceptionSkip25: while (true) {
|
||||
exceptionLanding25: while (true) {
|
||||
exceptionSkip18: while (true) {
|
||||
exceptionLanding18: while (true) {
|
||||
handle = a0.handle;
|
||||
if (handle) {
|
||||
handle = a0.handle;
|
||||
if (typeof handle !== 'object') {
|
||||
break;
|
||||
}
|
||||
Object = global.Object;
|
||||
keys = Object.keys;
|
||||
handle = a0.handle;
|
||||
iterator = Reflect.apply(keys, Object, [handle])[Symbol.iterator]();
|
||||
iterator2 = iterator.next;
|
||||
value = environment;
|
||||
r3 = iterator;
|
||||
while (true) {
|
||||
item2 = Reflect.apply(iterator2, r3, []);
|
||||
item = item2.value;
|
||||
item2 = item2.done ? undefined : r3;
|
||||
if (item2 === undefined) {
|
||||
break;
|
||||
}
|
||||
try {
|
||||
handle = a0.handle;
|
||||
} catch (error) {
|
||||
break exceptionLanding18;
|
||||
}
|
||||
try {
|
||||
property = handle[item];
|
||||
} catch (error) {
|
||||
break exceptionLanding18;
|
||||
}
|
||||
value2 = typeof property !== 'function';
|
||||
if (value2) {
|
||||
r9 = value2;
|
||||
continue;
|
||||
}
|
||||
try {
|
||||
__sentry_proxied__ = property.__sentry_proxied__;
|
||||
} catch (error) {
|
||||
break exceptionLanding18;
|
||||
}
|
||||
r9 = __sentry_proxied__;
|
||||
if (r9) {
|
||||
r3 = item2;
|
||||
continue;
|
||||
}
|
||||
try {
|
||||
handle = a0.handle;
|
||||
} catch (error) {
|
||||
break exceptionLanding18;
|
||||
}
|
||||
try {
|
||||
createAsyncHandlerProxyBinding = createAsyncHandlerProxy;
|
||||
} catch (error) {
|
||||
break exceptionLanding18;
|
||||
}
|
||||
try {
|
||||
asyncHandlerProxy = createAsyncHandlerProxyBinding(property, a0, item, a1);
|
||||
} catch (error) {
|
||||
break exceptionLanding18;
|
||||
}
|
||||
try {
|
||||
handle[item] = asyncHandlerProxy;
|
||||
} catch (error) {
|
||||
break exceptionLanding18;
|
||||
}
|
||||
r3 = item2;
|
||||
}
|
||||
}
|
||||
Array = global.Array;
|
||||
isArray = Array.isArray;
|
||||
children = a0.children;
|
||||
if (Reflect.apply(isArray, Array, [children])) {
|
||||
children = a0.children;
|
||||
iterator = children[Symbol.iterator]();
|
||||
iterator3 = iterator.next;
|
||||
value = environment;
|
||||
for (r2 = iterator; true; r2 = item3) {
|
||||
item3 = Reflect.apply(iterator3, r2, []);
|
||||
item = item3.value;
|
||||
item3 = item3.done ? undefined : r2;
|
||||
if (item3 === undefined) {
|
||||
break;
|
||||
}
|
||||
try {
|
||||
checkRouteForAsyncHandlerBinding = checkRouteForAsyncHandler;
|
||||
} catch (error) {
|
||||
break exceptionLanding25;
|
||||
}
|
||||
try {
|
||||
checkRouteForAsyncHandlerBinding(item, a1);
|
||||
} catch (error) {
|
||||
break exceptionLanding25;
|
||||
}
|
||||
}
|
||||
}
|
||||
return undefined;
|
||||
break exceptionSkip18;
|
||||
}
|
||||
try {
|
||||
item2.return();
|
||||
} catch {
|
||||
}
|
||||
throw error;
|
||||
break exceptionSkip18;
|
||||
}
|
||||
break exceptionSkip25;
|
||||
}
|
||||
try {
|
||||
item3.return();
|
||||
} catch {
|
||||
}
|
||||
throw error;
|
||||
break exceptionSkip25;
|
||||
}
|
||||
}
|
||||
|
||||
function createAsyncHandlerProxyApply(a0, a1, a2) { // fn#12878, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:1285:98, owner: createAsyncHandlerProxy.apply, offset: 0x00dd969a, size: 428 bytes, params: 4, frame: 25
|
||||
var r8;
|
||||
var r6;
|
||||
var r5;
|
||||
var value;
|
||||
var moduleValue;
|
||||
var getNavigationContext;
|
||||
var value2;
|
||||
var value3;
|
||||
var targetPath;
|
||||
var property;
|
||||
var moduleValue2;
|
||||
var location;
|
||||
var object2;
|
||||
var pathname;
|
||||
var search;
|
||||
var value4;
|
||||
var hash;
|
||||
var value5;
|
||||
var error;
|
||||
var DEBUG_BUILD;
|
||||
var debug;
|
||||
var warn;
|
||||
var moduleValue3;
|
||||
var value6;
|
||||
var moduleValue4;
|
||||
var getActiveRootSpan;
|
||||
var value7;
|
||||
var span;
|
||||
var apply;
|
||||
var value8;
|
||||
var handleAsyncHandlerResultBinding;
|
||||
reducibleJoin2: while (true) {
|
||||
reduciblePort28: while (true) {
|
||||
exceptionLanding25: while (true) {
|
||||
value = environment.__proto__;
|
||||
moduleValue = require(dependencyMap[0]);
|
||||
getNavigationContext = moduleValue.getNavigationContext;
|
||||
value2 = Reflect.apply(getNavigationContext, moduleValue, []);
|
||||
value3 = null;
|
||||
if (value3 == value2) {
|
||||
break reducibleJoin2;
|
||||
}
|
||||
targetPath = value2.targetPath;
|
||||
if (targetPath) {
|
||||
targetPath = value2.targetPath;
|
||||
r6 = {'pathname': null, 'search': '', 'hash': '', 'state': null, 'key': 'default',
|
||||
pathname: targetPath};
|
||||
break reduciblePort28;
|
||||
}
|
||||
break reducibleJoin2;
|
||||
}
|
||||
DEBUG_BUILD = require(dependencyMap[2]).DEBUG_BUILD;
|
||||
reducibleJoin28: while (true) {
|
||||
if (DEBUG_BUILD) {
|
||||
debug = require(dependencyMap[3]).debug;
|
||||
warn = debug.warn;
|
||||
Reflect.apply(warn, debug, ['[React Router] Could not access window.location']);
|
||||
r6 = value3;
|
||||
break reducibleJoin28;
|
||||
}
|
||||
r6 = value3;
|
||||
break reducibleJoin28;
|
||||
}
|
||||
break reduciblePort28;
|
||||
}
|
||||
moduleValue3 = require(dependencyMap[0]);
|
||||
getNavigationContext = moduleValue3.getNavigationContext;
|
||||
value6 = Reflect.apply(getNavigationContext, moduleValue3, []);
|
||||
if (value6) {
|
||||
span = value6.span;
|
||||
r5 = span;
|
||||
} else {
|
||||
moduleValue4 = require(dependencyMap[0]);
|
||||
getActiveRootSpan = moduleValue4.getActiveRootSpan;
|
||||
value7 = Reflect.apply(getActiveRootSpan, moduleValue4, []);
|
||||
r5 = value7;
|
||||
}
|
||||
apply = a0.apply;
|
||||
value8 = Reflect.apply(apply, a0, [a1, a2]);
|
||||
handleAsyncHandlerResultBinding = handleAsyncHandlerResult;
|
||||
value = environment;
|
||||
handleAsyncHandlerResultBinding(value8, require, importDefault, importAll, r6, r5);
|
||||
return value8;
|
||||
}
|
||||
let WINDOW = require(dependencyMap[1]).WINDOW;
|
||||
reducibleJoin28: while (true) {
|
||||
if (WINDOW === undefined) {
|
||||
r6 = value3;
|
||||
break reducibleJoin28;
|
||||
}
|
||||
try {
|
||||
} catch (error) {
|
||||
break exceptionLanding25;
|
||||
}
|
||||
try {
|
||||
} catch (error) {
|
||||
break exceptionLanding25;
|
||||
}
|
||||
try {
|
||||
property = dependencyMap[1];
|
||||
} catch (error) {
|
||||
break exceptionLanding25;
|
||||
}
|
||||
try {
|
||||
moduleValue2 = require(property);
|
||||
} catch (error) {
|
||||
break exceptionLanding25;
|
||||
}
|
||||
try {
|
||||
WINDOW = moduleValue2.WINDOW;
|
||||
} catch (error) {
|
||||
break exceptionLanding25;
|
||||
}
|
||||
try {
|
||||
location = WINDOW.location;
|
||||
} catch (error) {
|
||||
break exceptionLanding25;
|
||||
}
|
||||
if (location) {
|
||||
try {
|
||||
object2 = {};
|
||||
} catch (error) {
|
||||
break exceptionLanding25;
|
||||
}
|
||||
try {
|
||||
pathname = location.pathname;
|
||||
} catch (error) {
|
||||
break exceptionLanding25;
|
||||
}
|
||||
try {
|
||||
object2.pathname = pathname;
|
||||
} catch (error) {
|
||||
break exceptionLanding25;
|
||||
}
|
||||
try {
|
||||
search = location.search;
|
||||
} catch (error) {
|
||||
break exceptionLanding25;
|
||||
}
|
||||
reducibleJoin17: while (true) {
|
||||
if (search) {
|
||||
r8 = search;
|
||||
break reducibleJoin17;
|
||||
}
|
||||
value4 = '';
|
||||
r8 = value4;
|
||||
break reducibleJoin17;
|
||||
}
|
||||
try {
|
||||
object2.search = r8;
|
||||
} catch (error) {
|
||||
break exceptionLanding25;
|
||||
}
|
||||
try {
|
||||
hash = location.hash;
|
||||
} catch (error) {
|
||||
break exceptionLanding25;
|
||||
}
|
||||
reducibleJoin21: while (true) {
|
||||
if (hash) {
|
||||
r8 = hash;
|
||||
break reducibleJoin21;
|
||||
}
|
||||
value5 = '';
|
||||
r8 = value5;
|
||||
break reducibleJoin21;
|
||||
}
|
||||
try {
|
||||
object2.hash = r8;
|
||||
} catch (error) {
|
||||
break exceptionLanding25;
|
||||
}
|
||||
try {
|
||||
object2.state = value3;
|
||||
} catch (error) {
|
||||
break exceptionLanding25;
|
||||
}
|
||||
try {
|
||||
object2.key = 'default';
|
||||
} catch (error) {
|
||||
break exceptionLanding25;
|
||||
}
|
||||
r6 = object2;
|
||||
break reducibleJoin28;
|
||||
}
|
||||
r6 = value3;
|
||||
break reducibleJoin28;
|
||||
}
|
||||
value6 = require(dependencyMap[0]).getNavigationContext();
|
||||
r5 = value6 ? value6.span : require(dependencyMap[0]).getActiveRootSpan();
|
||||
value8 = a0.apply(a1, a2);
|
||||
handleAsyncHandlerResult(value8, require, importDefault, importAll, r6, r5);
|
||||
return value8;
|
||||
}
|
||||
|
||||
function _fun12880(a0) { // fn#12880, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:1285:891, offset: 0x00dd98ed, size: 77 bytes, params: 2, frame: 18
|
||||
const Array = global.Array;
|
||||
if (Array.isArray(a0)) {
|
||||
importAll(a0, require, env0_3 ?? undefined, env0_4);
|
||||
}
|
||||
}
|
||||
|
||||
function _fun12881(a0) { // fn#12881, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:1285:957, offset: 0x00dd993a, size: 119 bytes, params: 2, frame: 18
|
||||
var debug;
|
||||
if ((require(1150) /* metro dependency 1150 */).DEBUG_BUILD) {
|
||||
debug = (require(826) /* metro dependency 826 */).debug;
|
||||
debug.warn("Error resolving async handler '" + importDefault + "' for route", require, a0);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user