Initial commit
This commit is contained in:
commit
af3b49f756
16065 files changed
+2938410
No files matched your search
@@ -0,0 +1,60 @@
|
||||
/* Metro module 907; source: unknown; dependencies: [908] */
|
||||
function _fun9771(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#9771, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:1034:6, offset: 0x00d7167f, size: 87 bytes, params: 8, frame: 17
|
||||
const env0_0 = require;
|
||||
const removeTrailingSlash = function(a0) {
|
||||
var r0;
|
||||
var value = a0;
|
||||
if (value[value.length - 1] !== '/') {
|
||||
r0 = value;
|
||||
} else {
|
||||
value = value.slice(0, -1);
|
||||
r0 = value;
|
||||
}
|
||||
return r0;
|
||||
};
|
||||
const Object = global.Object;
|
||||
const defineProperty = Object.defineProperty;
|
||||
const Symbol = global.Symbol;
|
||||
Reflect.apply(defineProperty, Object, [exports, Symbol.toStringTag, {value: 'Module'}]);
|
||||
exports.isSentryRequestUrl = isSentryRequestUrl;
|
||||
}
|
||||
|
||||
function isSentryRequestUrl(a0, a1) { // fn#9773, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:1034:186, offset: 0x00d71709, size: 226 bytes, params: 3, frame: 19
|
||||
var r6;
|
||||
var r0;
|
||||
var moduleValue2;
|
||||
var host;
|
||||
var value6;
|
||||
var regexp;
|
||||
const value = undefined;
|
||||
let r7 = a1 == null ? value : a1.getDsn();
|
||||
const tunnel = a1 == null ? value : a1.getOptions().tunnel;
|
||||
const stringToURLObject = (require(908) /* metro dependency 908 */).parseStringToURLObject(a0);
|
||||
const value4 = false;
|
||||
if (stringToURLObject) {
|
||||
moduleValue2 = require(908) /* metro dependency 908 */;
|
||||
if (moduleValue2.isURLObjectRelative(stringToURLObject)) {
|
||||
r0 = value4;
|
||||
} else {
|
||||
if (r7) {
|
||||
host = stringToURLObject.host;
|
||||
value6 = host.includes(r7.host);
|
||||
if (value6) {
|
||||
regexp = RegExp('(^|&|\\?)sentry_key=', '');
|
||||
r7 = regexp.test(stringToURLObject.search);
|
||||
} else {
|
||||
r7 = value6;
|
||||
}
|
||||
r6 = r7;
|
||||
} else {
|
||||
r6 = !!r7;
|
||||
}
|
||||
r0 = r6;
|
||||
}
|
||||
} else {
|
||||
r0 = value4;
|
||||
}
|
||||
r0 = !r0 ? tunnel ? removeTrailingSlash(a0) === removeTrailingSlash(tunnel) : value4 : r0;
|
||||
return r0;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user