!function(){function e(e){if(!e)return!1;const n=function(e){const n=document.querySelector("#elementor-preview-iframe");return n&&n.contentWindow?n.contentWindow.document.getElementById(e):null}(e);return!!n&&!!n&&(n.scrollIntoView({behavior:"smooth",block:"center"}),!0)}function n(){const n=(o=(window.location.hash||"").match(/elementor-element-([\w-]+)/))?o[1]:null;var o;if(!n)return;let t=0;const r=setInterval(()=>{(e(n)||t>30)&&clearInterval(r),t++},500)}window.elementor?window.elementor.on("preview:loaded",function(){console.log("Elementor preview loaded"),n()}):window.addEventListener("load",n)}();