decord/source/__polyfill/00xxx/module_760.js
github-actions e510164e6b chore: update source for alpha 346.2
Skipped 1 file(s) >100MB (GitHub limit): source/__polyfill/04xxx/module_4759.js (118.4 MB)
2026-09-10 05:38:07 +00:00

38 lines
1.1 KiB
JavaScript

// Module ID: 760
// Function ID: 761
// Dependencies: [688, 689, 713]
// Exports: initAndBind, setCurrentClient
// Module 760
import _mod688 from "module_688" /* 688 */;
import consoleSandbox from "consoleSandbox" /* 689 */;
import _mod713 from "module_713" /* 713 */;
require = arg1;
const dependencyMap = arg6;
Object.defineProperty(arg5, Symbol.toStringTag, { value: "Module" });
export const initAndBind = function initAndBind(arg0, debug) {
if (true === debug.debug) {
const obj = consoleSandbox;
if (_mod688.DEBUG_BUILD) {
debug = obj.debug;
debug.enable();
} else {
obj.consoleSandbox(() => {
console.warn("[Sentry] Cannot initialize SDK with `debug` option using a non-debug bundle.");
});
}
}
const currentScope = _mod713.getCurrentScope();
currentScope.update(debug.initialScope);
const obj4 = new arg0(debug);
const currentScope1 = _mod713.getCurrentScope();
currentScope1.setClient(obj4);
obj4.init();
return obj4;
};
export const setCurrentClient = function setCurrentClient(arg0) {
const currentScope = _mod713.getCurrentScope();
currentScope.setClient(arg0);
};