decord/source/__polyfill/12xxx/module_12994.js
github-actions f0f877e8ce chore: update source for alpha 347.1
Skipped 1 file(s) >100MB (GitHub limit): source/__polyfill/04xxx/module_4824.js (118.4 MB)
2026-09-15 14:23:42 +00:00

37 lines
1.1 KiB
JavaScript

// Module ID: 12994
// Function ID: 12995
// Dependencies: [12960, 12932, 12959]
// Exports: initAndBind, setCurrentClient
// Module 12994
import _mod12932 from "module_12932" /* 12932 */;
import _mod12959 from "module_12959" /* 12959 */;
import _mod12960 from "module_12960" /* 12960 */;
require = arg1;
const dependencyMap = arg6;
export const initAndBind = function initAndBind(arg0, debug) {
if (true === debug.debug) {
const obj = _mod12932;
if (_mod12960.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 = _mod12959.getCurrentScope();
currentScope.update(debug.initialScope);
const obj4 = new arg0(debug);
const currentScope1 = _mod12959.getCurrentScope();
currentScope1.setClient(obj4);
obj4.init();
return obj4;
};
export const setCurrentClient = function setCurrentClient(arg0) {
const currentScope = _mod12959.getCurrentScope();
currentScope.setClient(arg0);
};