decord/source/__polyfill/13xxx/module_13005.js
github-actions a36fe4ec9c chore: update source for alpha 347.0
Skipped 1 file(s) >100MB (GitHub limit): source/__polyfill/04xxx/module_4821.js (118.4 MB)
2026-09-14 20:04:03 +00:00

36 lines
1 KiB
JavaScript

// Module ID: 13005
// Function ID: 13006
// Dependencies: [12983, 12971, 13006]
// Module 13005
import _mod13006 from "module_13006" /* 13006 */;
import setupIntegration from "module_12983" /* 12983 */;
export const moduleMetadataIntegration = setupIntegration.defineIntegration(() => ({
name: "ModuleMetadata",
setup(on) {
const options = on;
on.on("beforeEnvelope", (arg0) => {
options(closure_1_1[1]).forEachEnvelopeItem(arg0, (arg0, arg1) => {
if ("event" === arg1) {
const _Array = Array;
let tmp3;
if (Array.isArray(arg0)) {
tmp3 = arg0[1];
}
if (tmp3) {
const result = options(dependencyMap[2]).stripMetadataFromStackFrames(tmp3);
arg0[1] = tmp3;
const obj = options(dependencyMap[2]);
}
}
});
});
on.on("applyFrameMetadata", (type) => {
if (!type.type) {
const result = _mod13006.addMetadataToStackFrames(options.getOptions().stackParser, type);
}
});
}
}));