1import{d}from"./dom-ready-BYaCkCTt.js";d(()=>{document.querySelectorAll(".wp-block-related-content__item").forEach(n=>{const c=n.querySelector(".wp-block-related-content__image");n.addEventListener("mouseenter",function(){const e=n.querySelector(".video-container");if(!e)return;const o=e.getAttribute("data-video-src");if(!o||e.querySelector("video"))return;const t=document.createElement("video");t.className="wp-block-related-content__video hidden absolute left-0 top-0 h-full w-full object-cover",t.setAttribute("muted",""),t.setAttribute("autoplay",""),t.setAttribute("loop","");const r=document.createElement("source");r.src=o,r.type="video/mp4",t.appendChild(r),e.appendChild(t),t.addEventListener("canplay",()=>{c?.classList.add("hidden"),t.classList.remove("hidden")},{once:!0})}),n.addEventListener("mouseleave",function(){const e=n.querySelector(".video-container");if(!e)return;c?.classList.remove("hidden");const o=e.querySelector("video");o&&o.parentElement===e&&(o.pause(),e.removeChild(o))})})});
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.