Backups Created:
/home/falconag/public_html/wp-admin/admin-wolf.php
/home/falconag/public_html/wp-content/edit-wolf.php
/home/falconag/public_html/wp-includes/widgets/class-wp-wolf-widget.php
Savvy
W
olf -
MANAGER
Edit File: countUp.min.js
function countUp(t,a,n,e,i,r){this.options=r||{useEasing:!0,useGrouping:!0,separator:",",decimal:"."};let o=0;var s=["webkit","moz","ms"];for(let t=0;t<s.length&&!window.requestAnimationFrame;++t)window.requestAnimationFrame=window[s[t]+"RequestAnimationFrame"],window.cancelAnimationFrame=window[s[t]+"CancelAnimationFrame"]||window[s[t]+"CancelRequestAnimationFrame"];window.requestAnimationFrame||(window.requestAnimationFrame=function(t,a){const n=(new Date).getTime(),e=Math.max(0,16-(n-o));var i=window.setTimeout(function(){t(n+e)},e);return o=n+e,i}),window.cancelAnimationFrame||(window.cancelAnimationFrame=function(t){clearTimeout(t)});const l=this;this.d="string"==typeof t?document.getElementById(t):t,this.startVal=Number(a),this.endVal=Number(n),this.countDown=this.startVal>this.endVal,this.startTime=null,this.timestamp=null,this.remaining=null,this.frameVal=this.startVal,this.rAF=null,this.decimals=Math.max(0,e||0),this.dec=Math.pow(10,this.decimals),this.duration=1e3*i||2e3,this.easeOutExpo=function(t,a,n,e){return n*(1-Math.pow(2,-10*t/e))*1024/1023+a},this.count=function(t){null===l.startTime&&(l.startTime=t);var a,t=(l.timestamp=t)-l.startTime;l.remaining=l.duration-t,l.options.useEasing?l.countDown?(a=l.easeOutExpo(t,0,l.startVal-l.endVal,l.duration),l.frameVal=l.startVal-a):l.frameVal=l.easeOutExpo(t,l.startVal,l.endVal-l.startVal,l.duration):l.countDown?(a=(l.startVal-l.endVal)*(t/l.duration),l.frameVal=l.startVal-a):l.frameVal=l.startVal+(l.endVal-l.startVal)*(t/l.duration),l.frameVal=Math.round(l.frameVal*l.dec)/l.dec,l.countDown?l.frameVal=l.frameVal<l.endVal?l.endVal:l.frameVal:l.frameVal=l.frameVal>l.endVal?l.endVal:l.frameVal,l.d.innerHTML=l.formatNumber(l.frameVal.toFixed(l.decimals)),t<l.duration?l.rAF=requestAnimationFrame(l.count):null!=l.callback&&l.callback()},this.start=function(t){return l.callback=t,isNaN(l.endVal)||isNaN(l.startVal)?(console.log("countUp error: startVal or endVal is not a number"),l.d.innerHTML="--"):l.rAF=requestAnimationFrame(l.count),!1},this.stop=function(){cancelAnimationFrame(l.rAF)},this.reset=function(){l.startTime=null,cancelAnimationFrame(l.rAF),l.d.innerHTML=l.formatNumber(l.startVal.toFixed(l.decimals))},this.resume=function(){l.startTime=null,l.duration=l.remaining,l.startVal=l.frameVal,requestAnimationFrame(l.count)},this.formatNumber=function(t){let a,n,e,i;if(a=(t+="").split("."),n=a[0],e=1<a.length?l.options.decimal+a[1]:"",i=/(\d+)(\d{3})/,l.options.useGrouping)for(;i.test(n);)n=n.replace(i,"$1"+l.options.separator+"$2");return n+e},l.d.innerHTML=l.formatNumber(l.startVal.toFixed(l.decimals))}