// Client-side progressive-enhancement hydration runtime for Journal embeds. // // Observes validated `
` elements inside // a rendered HTML container via `IntersectionObserver`, reserves layout height // before swapping (zero CLS), tracks `prefers-reduced-motion`, supports both // Vue async components (inheriting `nuxtApp.vueApp._context`) and plain DOM // `mount(el, ctx)` callbacks, cleans up on unmount or HTML changes, and catches // errors leaving the SSR static fallback DOM untouched. // // Strictly `script-src 'self'` CSP compliant: zero `eval`, `new Function`, or // inline `