decord/source/898_set.js

31 lines
1,019 B
JavaScript
Raw Normal View History

2026-07-29 08:29:29 +00:00
// Module ID: 898
// Function ID: 899
2026-07-20 16:05:17 +00:00
// Name: set
2026-07-29 08:29:29 +00:00
// Dependencies: [823, 824]
2026-07-20 16:05:17 +00:00
2026-07-29 08:29:29 +00:00
// Module 898 (set)
2026-07-23 10:11:24 +00:00
const require = arg1;
const dependencyMap = arg6;
2026-07-20 16:05:17 +00:00
Object.defineProperty(arg5, Symbol.toStringTag, { value: "Module" });
const set = new Set();
arg5._INTERNAL_clearAiProviderSkips = function _INTERNAL_clearAiProviderSkips() {
set.clear();
2026-07-29 08:29:29 +00:00
if (require(823) /* __SENTRY_DEBUG__ */.DEBUG_BUILD) {
const debug = require(824) /* consoleSandbox */.debug;
2026-07-20 16:05:17 +00:00
debug.log("Cleared AI provider skip registrations");
}
};
arg5._INTERNAL_shouldSkipAiProviderWrapping = function _INTERNAL_shouldSkipAiProviderWrapping(arg0) {
return set.has(arg0);
};
arg5._INTERNAL_skipAiProviderWrapping = function _INTERNAL_skipAiProviderWrapping(arr) {
const item = arr.forEach((arg0) => {
2026-07-29 08:29:29 +00:00
set.add(arg0);
if (callback(table[0]).DEBUG_BUILD) {
const debug = callback(table[1]).debug;
2026-07-20 16:05:17 +00:00
const _HermesInternal = HermesInternal;
debug.log("AI provider \"" + arg0 + "\" wrapping will be skipped");
}
});
};