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