mirror of
https://github.com/heygen-com/hyperframes.git
synced 2026-11-17 15:24:19 +00:00
deriveUsedPaths extracted + hardened: element src is the raw authored value, so it can be relative (assets/x.png), ./-prefixed, the served /api/.../preview/ form, or carry a ?query — normalize all to the bare project path so it matches the asset-list entries (the in-use badge / sort / filter all key on this). The prior inline strip only handled the served form. Source stays usePlayerStore.elements (correct — hydrated from the timeline/__clipManifest); not switched. +2 vitest.