(()=>{window.addEventListener("DOMContentLoaded",(function(n){var o=".eb___animated";e(o).then((function(e){var n=document.querySelectorAll(o);t(n),window.addEventListener("scroll",(function(e){t(n)}),!0)}))}));var e=function(e){return new Promise((function(t){setTimeout((function(){var o=n();if(null!=o&&o.querySelector(e))return t(o.querySelector(e));var r=new MutationObserver((function(n){o&&o.querySelector(e)&&(t(o.querySelector(e)),r.disconnect())}));r.observe(document.body,{childList:!0,attributes:!0,subtree:!0})}),500)}))},t=function(e){e.forEach((function(e){if((i=e.getBoundingClientRect()).top>=0&&i.top<=(window.innerHeight||document.documentElement.clientHeight)&&i.left>=0&&i.right<=(window.innerWidth||document.documentElement.clientWidth)){var t,n,o=[],r=[];e.classList.forEach((function(e){e.includes("eb___")&&(o.push(e),r.push(e.replace("eb___","eb__")))})),(t=e.classList).add.apply(t,r),(n=e.classList).remove.apply(n,o)}var i}))},n=function(){var e;if(null===(e=eb_conditional_localize)||void 0===e||!e.editor_type)return document;var t=document.querySelector('[name="editor-canvas"]');return t?t.contentDocument?t.contentDocument.querySelector(".editor-styles-wrapper"):t.contentWindow.document.querySelector(".editor-styles-wrapper"):document.querySelector(".editor-styles-wrapper")}})();