(n=>{function e(n,e){var t,o=(n=n.find(".premium-counter")).closest(".premium-hscroll-temp"),r=n.data(),i=n.find(".premium-counter-init"),a=n.find(".icon");o.length?e(window).on("scroll",function(){e(window).scrollTop()>=o.data("scroll-offset")&&(e(i).numerator(r),e(a).addClass("animated "+a.data("animation")))}):(t=new IntersectionObserver(function(n){n.forEach(function(n){n.isIntersecting&&(e(i).numerator(r),e(a).addClass("animated "+a.data("animation")),t.unobserve(n.target))})})).observe(n[0])}n(window).on("elementor/frontend/init",function(){elementorFrontend.hooks.addAction("frontend/element_ready/premium-counter.default",e)})})(jQuery);