/** * Attach the declarative shadow roots of a document the parser didn't. * * import { attachShadowRoots } from '@arclux/arc-ui/shadow-roots'; * * // Astro's : * document.addEventListener('astro:before-swap', (e) => attachShadowRoots(e.newDocument)); * * Only the HTML parser acting on a page, or setHTMLUnsafe / parseHTMLUnsafe, * turns `