(o=>{function e(o,e){var a,n,d,t,i=o.find(".premium-modal-box-container"),m=i.data("settings"),l=i.find(".premium-modal-box-modal-dialog"),r=o.data("id"),o=o.hasClass("premium-modal-dismissible-yes");m&&(a={backdrop:!!o||"static",keyboard:o},o||i.find(".premium-modal-box-close-button-container, .premium-modal-box-modal-footer").hide(),"pageload"===m.trigger?e(document).ready(function(){setTimeout(function(){i.find(".premium-modal-box-modal").modal(a)},1e3*m.delay)}):"exit"!==m.trigger&&!m.show_on_exit||(elementorFrontend.config.user&&!m.show_on_exit?i.find(".premium-modal-box-modal").modal(a):localStorage.getItem("paModal"+r)||(n=!1,elementorFrontend.elements.$window.on("mouseleave",function(o){!n&&o.clientY<=0&&(n=!0,i.find(".premium-modal-box-modal").modal(a),i.find(".premium-modal-box-modal").on("hidden.bs.modal",function(){localStorage.setItem("paModal"+r,!0)}))}))),l.data("modal-animation"))&&" "!=l.data("modal-animation")&&(d=l.data("delay-animation"),(t=new IntersectionObserver(function(o){o.forEach(function(o){o.isIntersecting&&(setTimeout(function(){l.css("opacity","1").addClass("animated "+l.data("modal-animation"))},1e3*d),t.unobserve(o.target))})},{threshold:.25})).observe(l[0]))}o(window).on("elementor/frontend/init",function(){elementorFrontend.hooks.addAction("frontend/element_ready/premium-addon-modal-box.default",e)})})(jQuery);