decord/source/__polyfill/13xxx/module_13101.js
github-actions 8d58bae3b2 chore: update source for alpha 347.4
Skipped 1 file(s) >100MB (GitHub limit): source/__polyfill/04xxx/module_4907.js (118.4 MB)
2026-09-18 06:58:00 +00:00

37 lines
1.1 KiB
JavaScript

// Module ID: 13101
// Function ID: 13102
// Dependencies: [13067, 13039, 13066]
// Exports: initAndBind, setCurrentClient
// Module 13101
import _mod13039 from "module_13039" /* 13039 */;
import _mod13066 from "module_13066" /* 13066 */;
import _mod13067 from "module_13067" /* 13067 */;
require = arg1;
const dependencyMap = arg6;
export const initAndBind = function initAndBind(arg0, debug) {
if (true === debug.debug) {
const obj = _mod13039;
if (_mod13067.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 = _mod13066.getCurrentScope();
currentScope.update(debug.initialScope);
const obj4 = new arg0(debug);
const currentScope1 = _mod13066.getCurrentScope();
currentScope1.setClient(obj4);
obj4.init();
return obj4;
};
export const setCurrentClient = function setCurrentClient(arg0) {
const currentScope = _mod13066.getCurrentScope();
currentScope.setClient(arg0);
};