(()=>{"use strict";((t={rootMargin:"300px"})=>{const e=new IntersectionObserver((t=>{t.forEach((t=>{if(t.isIntersecting){e.unobserve(t.target);const r=t.target.dataset.solidPerfAttrs;r&&r.split(",").forEach((e=>{const r=t.target.getAttribute(`data-solid-perf-${e}`);if(r){const s=t.target.getAttribute(e),o=s?`${s}${r}`:r;t.target.setAttribute(e,o)}}))}}))}),t);return{observeElements:(t="[data-solid-perf-trigger='viewport']")=>{document.querySelectorAll(t).forEach((t=>e.observe(t)))}}})().observeElements()})();