// Web entry point (source). This builds to `dist/index.web.js`, which web // bundlers resolve through the package's `browser` export condition. With an // `exports` map present, that condition supersedes platform-extension // resolution; the `.web.ts` suffix here is just our source convention, not what // selects this file at consume time. // // Every visual effect is one composite (a layer stack) or one transform. A // composite wires an Insertable-Streams stage that runs the whole layer stack // through the compositor and returns a new MediaStreamTrack carrying the // transformed frames. Pass the returned track to a `