37 lines
2.2 KiB
React
37 lines
2.2 KiB
React
/* Metro module 7396; source: unknown; dependencies: [7387, 7388, 7370, 7390, 7375] */
|
|
function _fun59598(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#59598, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:7574:6, offset: 0x016ed7b7, size: 136 bytes, params: 8, frame: 17
|
|
const env0_0 = require;
|
|
const closure = getCurrentScope_59599;
|
|
const Object = global.Object;
|
|
Object.defineProperty(exports, '__esModule', {value: true});
|
|
exports.getClient = getClient_59600;
|
|
exports.getCurrentScope = closure;
|
|
exports.getGlobalScope = getGlobalScope_59601;
|
|
exports.getIsolationScope = getIsolationScope_59603;
|
|
exports.getTraceContextFromScope = getTraceContextFromScope_59604;
|
|
exports.withIsolationScope = withIsolationScope_59605;
|
|
exports.withScope = withScope_59606;
|
|
}
|
|
|
|
function getGlobalScope_59601() { // fn#59601, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:7574:319, offset: 0x016ed83f, size: 52 bytes, params: 1, frame: 13
|
|
return (require(7370) /* metro dependency 7370 */).getGlobalSingleton('globalScope', _fun59602);
|
|
}
|
|
|
|
function getTraceContextFromScope_59604(a0) { // fn#59604, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:7574:605, offset: 0x016ed8a8, size: 86 bytes, params: 2, frame: 14
|
|
let value = a0.getPropagationContext();
|
|
const traceId = value.traceId;
|
|
const spanId = value.spanId;
|
|
const parentSpanId = value.parentSpanId;
|
|
value = require(7375) /* metro dependency 7375 */;
|
|
return value.dropUndefinedKeys({trace_id: traceId, span_id: spanId, parent_span_id: parentSpanId});
|
|
}
|
|
|
|
function _fun59602() { // fn#59602, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:7574:394, offset: 0x016ed873, size: 53 bytes, params: 1, frame: 11
|
|
let value = environment.__proto__;
|
|
const Scope = (require(7390) /* metro dependency 7390 */).Scope;
|
|
value = Object.create(Scope.prototype, {constructor: {value: Scope}});
|
|
const scope = new Scope();
|
|
return scope instanceof Object ? scope : value;
|
|
}
|
|
|