57 lines
2.9 KiB
JavaScript
57 lines
2.9 KiB
JavaScript
/* Metro module 864; source: unknown; dependencies: [6, 7, 838, 828] */
|
|
import * as ClassCallCheckModule from './module-00006-ClassCallCheck.js'; /* Metro dependency 6 */
|
|
import * as CreateClassModule from './module-00007-CreateClass.js'; /* Metro dependency 7 */
|
|
|
|
function _fun9297(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#9297, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:991:6, offset: 0x00d629f0, size: 113 bytes, params: 8, frame: 18
|
|
const env0_0 = require;
|
|
const Object = global.Object;
|
|
const defineProperty = Object.defineProperty;
|
|
const Symbol = global.Symbol;
|
|
Reflect.apply(defineProperty, Object, [exports, Symbol.toStringTag, {value: 'Module'}]);
|
|
exports.SentryNonRecordingSpan = _fun9298();
|
|
function _fun9298() { // fn#9298, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:991:121, offset: 0x00d62a61, size: 291 bytes, params: 1, frame: 15
|
|
return CreateClassModule(SentryNonRecordingSpan, [{key: 'spanContext', value: function() {
|
|
var object = {spanId: this._spanId, traceId: this._traceId};
|
|
object.traceFlags = require(dependencyMap[3]).TRACE_FLAG_NONE;
|
|
return object;
|
|
}}, {key: 'end', value: function(a0) {
|
|
}}, {key: 'setAttribute', value: function(a0, a1) {
|
|
return this;
|
|
}}, {key: 'setAttributes', value: function(a0) {
|
|
return this;
|
|
}}, {key: 'setStatus', value: function(a0) {
|
|
return this;
|
|
}}, {key: 'updateName', value: function(a0) {
|
|
return this;
|
|
}}, {key: 'isRecording', value: function() {
|
|
return false;
|
|
}}, {key: 'addEvent', value: function(a0, a1, a2) {
|
|
return this;
|
|
}}, {key: 'addLink', value: function(a0) {
|
|
return this;
|
|
}}, {key: 'addLinks', value: function(a0) {
|
|
return this;
|
|
}}, {key: 'recordException', value: function(a0, a1) {
|
|
}}]);
|
|
function SentryNonRecordingSpan() { // fn#9299, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:991:155, offset: 0x00d62b84, size: 144 bytes, params: 1, frame: 17
|
|
let r1 = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
|
|
let value = environment.__proto__;
|
|
env1_2(this, SentryNonRecordingSpan);
|
|
this._traceId = r1.traceId || (require(838) /* metro dependency 838 */).generateTraceId();
|
|
const spanId = r1.spanId;
|
|
if (spanId) {
|
|
r1 = spanId;
|
|
} else {
|
|
value = require(838) /* metro dependency 838 */;
|
|
value = value.generateSpanId();
|
|
r1 = value;
|
|
}
|
|
this._spanId = r1;
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
global.__d(_fun9297, 864, [6, 7, 838, 828]) /* metro module 864, dependencies: [6, 7, 838, 828] */;
|