document.addEventListener("DOMContentLoaded",()=>{let r=110;var e=document.body.classList.contains("block-editor-page");let t=document.querySelectorAll(".uicore-bl-hover-glow"),o=s=>{t.forEach(e=>{var t=e.getBoundingClientRect(),o=s.clientX-t.left,n=s.clientY-t.top,t=1-Math.sqrt(Math.max(0,Math.abs(o)-t.width)**2+Math.max(0,Math.abs(n)-t.height)**2)/r;e.style.setProperty("--xPos",o+"px"),e.style.setProperty("--yPos",n+"px"),e.style.setProperty("--proximity",0<t?t:0)})},n=()=>{t.length&&(document.addEventListener("mousemove",o),document.removeEventListener("mousemove",s))},s=()=>{n()};e||document.addEventListener("mousemove",s)});