!function(t){"use strict";function n(t,n){var a=t.find(".tm-counter");elementorFrontend.waypoint(a,function(){var e=a.data("counter"),o=e.digits,r=a.find(".tm-counter__number");r.countTo({from:e.from,to:e.to,decimals:e.decimal,speed:e.duration,refreshInterval:50,formatter:function(t,n){n="full"===e.formatType?function(t,n,e){var o,r,a=(""+t).split("."),i="";n=n||"",e||0===e||(e=3),o=a[0].length;for(;e<o;)r=o-e,i=n+a[0].slice(r,o)+i,o=r;return i=a[0].slice(0,o)+i,a[0]=i,a.join(".")}(t.toFixed(n.decimals),e.separator):function(t,n){var e=Math.abs(t),o=Math.sign(t);999999999<t?e=o*(Math.round(Math.abs(t)/100)/1e7):999999<t?e=o*(Math.round(Math.abs(t)/100)/1e4):999<t&&(e=o*(Math.round(Math.abs(t)/100)/10));return e.toFixed(n)}(t,o);return n.padStart(2,"0")||0},onUpdate:function(t){var n="";"short"===e.formatType&&(999999999<t?n="b":999999<t?n="m":999<t&&(n="k"),r.append(n))}})})}t(window).on("elementor/frontend/init",function(){elementorFrontend.hooks.addAction("frontend/element_ready/tm-counter.default",n)})}(jQuery);