86 lines
3.0 KiB
React
86 lines
3.0 KiB
React
/* Metro module 836; source: unknown; dependencies: [] */
|
|
function _fun9056(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#9056, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:963:6, offset: 0x00d5c151, size: 270 bytes, params: 8, frame: 21
|
|
const closure = function(a0) {
|
|
return typeof a0 === 'object' && a0 !== null && '__sentry_template_string__' in a0 && '__sentry_template_values__' in a0;
|
|
};
|
|
const closure2 = function(a0) {
|
|
return isBuiltin(a0, 'Object');
|
|
};
|
|
const closure3 = function(a0, a1) {
|
|
var value;
|
|
var error;
|
|
try {
|
|
value = a0 instanceof a1;
|
|
} catch (error) {
|
|
return false;
|
|
}
|
|
return value;
|
|
};
|
|
let Object = global.Object;
|
|
const defineProperty = Object.defineProperty;
|
|
const Symbol = global.Symbol;
|
|
Reflect.apply(defineProperty, Object, [exports, Symbol.toStringTag, {value: 'Module'}]);
|
|
Object = global.Object;
|
|
const env0_0 = Object.prototype.toString;
|
|
exports.isDOMError = function(a0) {
|
|
return isBuiltin(a0, 'DOMError');
|
|
};
|
|
exports.isDOMException = function(a0) {
|
|
return isBuiltin(a0, 'DOMException');
|
|
};
|
|
exports.isElement = isElement;
|
|
exports.isError = function(a0) {
|
|
var value2 = toString.call(a0);
|
|
if (value2 === '[object Error]') {
|
|
return true;
|
|
}
|
|
if (value2 === '[object Exception]') {
|
|
return true;
|
|
}
|
|
if (value2 === '[object DOMException]') {
|
|
return true;
|
|
}
|
|
if (value2 === '[object WebAssembly.Exception]') {
|
|
return true;
|
|
}
|
|
return isInstanceOf(a0, global.Error);
|
|
};
|
|
exports.isErrorEvent = function(a0) {
|
|
return isBuiltin(a0, 'ErrorEvent');
|
|
};
|
|
exports.isEvent = isEvent;
|
|
exports.isInstanceOf = closure3;
|
|
exports.isParameterizedString = closure;
|
|
exports.isPlainObject = closure2;
|
|
exports.isPrimitive = isPrimitive;
|
|
exports.isRegExp = function(a0) {
|
|
return isBuiltin(a0, 'RegExp');
|
|
};
|
|
exports.isRequest = isRequest;
|
|
exports.isString = function(a0) {
|
|
return isBuiltin(a0, 'String');
|
|
};
|
|
exports.isSyntheticEvent = isSyntheticEvent;
|
|
exports.isThenable = function(a0) {
|
|
var Boolean = global.Boolean;
|
|
return Boolean(a0?.then && typeof a0.then === 'function');
|
|
};
|
|
exports.isVueViewModel = function(a0) {
|
|
var r0;
|
|
var r1;
|
|
r0 = typeof a0 !== 'object' || a0 === null;
|
|
if (!r0) {
|
|
r1 = a0.__isVue || a0._isVue;
|
|
r1 = !r1 ? a0.__v_isVNode : r1;
|
|
r0 = !r1;
|
|
}
|
|
return !r0;
|
|
};
|
|
}
|
|
|
|
function isRequest(a0) { // fn#9069, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:963:1356, offset: 0x00d5c43e, size: 48 bytes, params: 2, frame: 14
|
|
const Request = global.Request;
|
|
return typeof Request !== 'undefined' && isInstanceOf(a0, global.Request);
|
|
}
|
|
|