decord/source/__polyfill/13xxx/module_13117.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

36 lines
1 KiB
JavaScript

// Module ID: 13117
// Function ID: 13118
// Dependencies: [13095, 13083, 13118]
// Module 13117
import _mod13118 from "module_13118" /* 13118 */;
import setupIntegration from "module_13095" /* 13095 */;
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 = _mod13118.addMetadataToStackFrames(options.getOptions().stackParser, type);
}
});
}
}));