74 lines
4.1 KiB
JavaScript
74 lines
4.1 KiB
JavaScript
/* Metro module 1083; source: unknown; dependencies: [826, 1084, 1085, 1086, 1087, 1088, 1089, 1090, 1081, 1040, 1038] */
|
|
import * as Module00826Module from './module-00826.js'; /* Metro dependency 826 */
|
|
import * as Module01038Module from './module-01038.js'; /* Metro dependency 1038 */
|
|
|
|
function _fun11289(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#11289, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:1210:6, offset: 0x00da7f95, size: 115 bytes, params: 8, frame: 18
|
|
const env0_0 = require;
|
|
const getDefaultIntegrations2 = getDefaultIntegrations;
|
|
const Object = global.Object;
|
|
const defineProperty = Object.defineProperty;
|
|
const Symbol = global.Symbol;
|
|
Reflect.apply(defineProperty, Object, [exports, Symbol.toStringTag, {value: 'Module'}]);
|
|
exports.forceLoad = function() {
|
|
};
|
|
exports.getDefaultIntegrations = getDefaultIntegrations2;
|
|
exports.init = init_11292;
|
|
exports.onLoad = function(a0) {
|
|
a0();
|
|
};
|
|
function getDefaultIntegrations(a0) { // fn#11290, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:1210:30, offset: 0x00da8008, size: 246 bytes, params: 2, frame: 15
|
|
let value = require(826) /* metro dependency 826 */;
|
|
value = value.inboundFiltersIntegration();
|
|
const items2 = [value];
|
|
value = require(826) /* metro dependency 826 */;
|
|
items2[1] = value.functionToStringIntegration();
|
|
value = require(1084) /* metro dependency 1084 */;
|
|
items2[2] = value.browserApiErrorsIntegration();
|
|
value = require(1085) /* metro dependency 1085 */;
|
|
items2[3] = value.breadcrumbsIntegration();
|
|
value = require(1086) /* metro dependency 1086 */;
|
|
items2[4] = value.globalHandlersIntegration();
|
|
value = require(1087) /* metro dependency 1087 */;
|
|
items2[5] = value.linkedErrorsIntegration();
|
|
value = require(826) /* metro dependency 826 */;
|
|
items2[6] = value.dedupeIntegration();
|
|
value = require(1088) /* metro dependency 1088 */;
|
|
items2[7] = value.httpContextIntegration();
|
|
value = require(1089) /* metro dependency 1089 */;
|
|
items2[8] = value.browserSessionIntegration();
|
|
return items2;
|
|
}
|
|
|
|
function init_11292() { // fn#11292, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:1210:536, offset: 0x00da80fe, size: 357 bytes, params: 1, frame: 24
|
|
var r1;
|
|
const r7 = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
|
|
const skipBrowserExtensionCheck = r7.skipBrowserExtensionCheck;
|
|
let value = !skipBrowserExtensionCheck;
|
|
if (skipBrowserExtensionCheck) {
|
|
r1 = value;
|
|
} else {
|
|
value = require(1090) /* metro dependency 1090 */;
|
|
value = value.checkAndWarnIfIsEmbeddedBrowserExtension();
|
|
r1 = value;
|
|
}
|
|
const r10 = r7.defaultIntegrations ?? getDefaultIntegrations();
|
|
const Object = global.Object;
|
|
const assign = Object.assign;
|
|
const object = {};
|
|
r1 = !r1 && r7.enabled;
|
|
object.enabled = r1;
|
|
object.stackParser = Module00826Module.stackParserFromStackParserOptions(r7.stackParser || (require(1081) /* metro dependency 1081 */).defaultStackParser);
|
|
object.integrations = Module00826Module.getIntegrationsToSetup({integrations: r7.integrations, defaultIntegrations: r10});
|
|
object.transport = r7.transport || (require(1040) /* metro dependency 1040 */).makeFetchTransport;
|
|
const value2 = Reflect.apply(assign, Object, [{}, r7, object]);
|
|
value = Module00826Module;
|
|
const initAndBind = value.initAndBind;
|
|
const BrowserClient = (Module01038Module).BrowserClient;
|
|
return Reflect.apply(initAndBind, value, [BrowserClient, value2]);
|
|
}
|
|
|
|
}
|
|
|
|
global.__d(_fun11289, 1083, [826, 1084, 1085, 1086, 1087, 1088, 1089, 1090, 1081, 1040,
|
|
1038]) /* metro module 1083, dependencies: [826, 1084, 1085, 1086, 1087, 1088, 1089, 1090, 1081, 1040, 1038] */;
|