1import{i as l}from"./exploreCursor-DLUU-gs6.js";const v=24;function x(e){if(!window.matchMedia("(hover: hover)").matches)return;const n=e.querySelector(".mediaCard__explore"),t=e.querySelector(".mediaCard__hoverContent"),r=e.querySelector(".mediaCard__clip"),o=e.querySelector(".mediaCard__imageWrap"),s=e.querySelector(".mediaCard__slide");function i(){if(!(r&&o&&s))return;r.style.height="";const d=t?t.offsetHeight:0,f=o.offsetHeight+s.offsetHeight-d;if(r.style.height=f+"px",t){const u=Math.max(0,o.offsetHeight-v),p=Math.min(d,u);e.style.setProperty("--hover-shift",`-${p}px`)}}i();let a;function c(){clearTimeout(a),a=setTimeout(i,150)}window.addEventListener("resize",c);function m(){i()}e.addEventListener("mouseenter",m);let h=()=>{};return n&&!e.closest("[data-explore-row]")&&(h=l(e,n)),()=>{window.removeEventListener("resize",c),e.removeEventListener("mouseenter",m),h()}}export{x as default};
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.