decord/source/889_moduleMetadataIntegration.js

39 lines
1.1 KiB
JavaScript
Raw Normal View History

2026-07-20 16:05:17 +00:00
// Module ID: 889
2026-07-25 08:10:48 +00:00
// Function ID: 9824
2026-07-20 16:05:17 +00:00
// Name: moduleMetadataIntegration
2026-07-23 10:11:24 +00:00
// Dependencies: [863, 840, 890]
2026-07-20 16:05:17 +00:00
// Module 889 (moduleMetadataIntegration)
2026-07-23 10:11:24 +00:00
import setupIntegration from "setupIntegration";
2026-07-20 16:05:17 +00:00
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
2026-07-23 10:11:24 +00:00
export const moduleMetadataIntegration = setupIntegration.defineIntegration(() => ({
2026-07-20 16:05:17 +00:00
name: "ModuleMetadata",
setup(on) {
2026-07-23 10:11:24 +00:00
let closure_0 = on;
2026-07-20 16:05:17 +00:00
on.on("beforeEnvelope", (arg0) => {
2026-07-23 10:11:24 +00:00
outer2_0(outer2_1[1]).forEachEnvelopeItem(arg0, (arg0, arg1) => {
2026-07-20 16:05:17 +00:00
if ("event" === arg1) {
const _Array = Array;
let tmp2;
if (Array.isArray(arg0)) {
tmp2 = arg0[1];
}
if (tmp2) {
2026-07-23 10:11:24 +00:00
const result = outer3_0(outer3_1[2]).stripMetadataFromStackFrames(tmp2);
2026-07-20 16:05:17 +00:00
arg0[1] = tmp2;
2026-07-23 10:11:24 +00:00
const obj = outer3_0(outer3_1[2]);
2026-07-20 16:05:17 +00:00
}
}
});
});
on.on("applyFrameMetadata", (type) => {
if (!type.type) {
2026-07-23 10:11:24 +00:00
const result = outer2_0(outer2_1[2]).addMetadataToStackFrames(options.getOptions().stackParser, type);
const obj = outer2_0(outer2_1[2]);
2026-07-20 16:05:17 +00:00
}
});
}
}));