// Module ID: 12988 // Function ID: 12989 // Dependencies: [12954, 12926, 12953] // Exports: initAndBind, setCurrentClient // Module 12988 import _mod12926 from "module_12926" /* 12926 */; import _mod12953 from "module_12953" /* 12953 */; import _mod12954 from "module_12954" /* 12954 */; require = arg1; const dependencyMap = arg6; export const initAndBind = function initAndBind(arg0, debug) { if (true === debug.debug) { const obj = _mod12926; if (_mod12954.DEBUG_BUILD) { const logger = obj.logger; logger.enable(); } else { obj.consoleSandbox(() => { console.warn("[Sentry] Cannot initialize SDK with `debug` option using a non-debug bundle."); }); } } const currentScope = _mod12953.getCurrentScope(); currentScope.update(debug.initialScope); const obj4 = new arg0(debug); const currentScope1 = _mod12953.getCurrentScope(); currentScope1.setClient(obj4); obj4.init(); return obj4; }; export const setCurrentClient = function setCurrentClient(arg0) { const currentScope = _mod12953.getCurrentScope(); currentScope.setClient(arg0); };