71 lines
3.6 KiB
JavaScript
71 lines
3.6 KiB
JavaScript
/* Metro module 992; source: unknown; dependencies: [7, 6, 15, 17, 18, 162] */
|
|
import * as ClassCallCheckModule from './module-00006-ClassCallCheck.js'; /* Metro dependency 6 */
|
|
import * as CreateClassModule from './module-00007-CreateClass.js'; /* Metro dependency 7 */
|
|
import * as PossibleConstructorReturnModule from './module-00015-PossibleConstructorReturn.js'; /* Metro dependency 15 */
|
|
import * as Module00017Module from './module-00017.js'; /* Metro dependency 17 */
|
|
import * as InheritsModule from './module-00018-Inherits.js'; /* Metro dependency 18 */
|
|
import * as Module00162Module from './module-00162.js'; /* Metro dependency 162 */
|
|
|
|
function _fun10419(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#10419, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:1119:6, offset: 0x00d8d885, size: 186 bytes, params: 8, frame: 20
|
|
let value = Module00162Module;
|
|
const Object = global.Object;
|
|
const defineProperty = Object.defineProperty;
|
|
const Symbol = global.Symbol;
|
|
Reflect.apply(defineProperty, Object, [exports, Symbol.toStringTag, {value: 'Module'}]);
|
|
const Error = global.Error;
|
|
value = value(Error);
|
|
exports.SentryError = _fun10423(value);
|
|
function _isNativeReflectConstruct_10420() { // fn#10420, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:1119:95, offset: 0x00d8d93f, size: 94 bytes, params: 1, frame: 18
|
|
var Boolean;
|
|
var prototype;
|
|
var valueOf;
|
|
var call;
|
|
var Reflect;
|
|
var construct;
|
|
var closure;
|
|
var value;
|
|
var error;
|
|
try {
|
|
Boolean = global.Boolean;
|
|
prototype = Boolean.prototype;
|
|
valueOf = prototype.valueOf;
|
|
call = valueOf.call;
|
|
Reflect = global.Reflect;
|
|
construct = Reflect.construct;
|
|
Boolean = global.Boolean;
|
|
closure = function() {
|
|
};
|
|
value = Reflect.apply(construct, Reflect, [Boolean, [], closure]);
|
|
value = Reflect.apply(call, valueOf, [value]);
|
|
var result = !value;
|
|
} catch (error) {
|
|
}
|
|
return (_isNativeReflectConstruct_10420_isNativeReflectConstruct = function() {
|
|
return !!result;
|
|
})();
|
|
}
|
|
|
|
function _fun10423(a0) { // fn#10423, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:1119:382, offset: 0x00d8d99d, size: 40 bytes, params: 2, frame: 14
|
|
const SentryError2 = SentryError;
|
|
InheritsModule(SentryError2, a0);
|
|
return CreateClassModule(SentryError2);
|
|
function SentryError(a0) { // fn#10424, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:1119:407, offset: 0x00d8d9c5, size: 164 bytes, params: 2, frame: 21
|
|
let value = 'warn';
|
|
const r1 = arguments.length > 1 ? arguments[1] === undefined ? value : arguments[1] : value;
|
|
value = environment.__proto__;
|
|
env1_1(this, SentryError);
|
|
const items2 = [a0];
|
|
const value3 = env1_3(SentryError);
|
|
value = env1_2(this, _isNativeReflectConstruct_10420() ? global.Reflect.construct(value3, items2,
|
|
env1_3(this).constructor) : value3.apply(this, items2));
|
|
value.message = a0;
|
|
value.logLevel = r1;
|
|
return value;
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
global.__d(_fun10419, 992, [7, 6, 15, 17, 18, 162]) /* metro module 992, dependencies: [7, 6, 15, 17, 18, 162] */;
|