芝麻web文件管理V1.00
编辑当前文件:/var/www/cognitio.in/wp-content/plugins/Ultimate_VC_Addons/assets/min-js/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
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.d.innerHTML=l.formatNumber(l.frameVal.toFixed(l.decimals)),t