All Downloads are FREE. Search and download functionalities are using the official Maven repository.

META-INF.resources.bower_components.PACE.pace.min.js Maven / Gradle / Ivy

There is a newer version: 1.2.2.1-jre17
Show newest version

(function(){var J,y,d,C,A,L,e,Y,n,g,R,W,U,I,X,Z,b,N,F,B,Q,h,p,r,O,u,t,S,M,x,m,q,G,a,z,i,s,H,E,w,P,V,T,v,o,l,K,k,c,D=[].slice,aa={}.hasOwnProperty,f=function(ae,ac){for(var ab in ac){if(aa.call(ac,ab)){ae[ab]=ac[ab]}}function ad(){this.constructor=ae}ad.prototype=ac.prototype;ae.prototype=new ad();ae.__super__=ac.prototype;return ae},j=[].indexOf||function(ad){for(var ac=0,ab=this.length;ac=33){ad=M();return ac(ae,function(){return m(ab)})}else{return setTimeout(ab,33-ae)}};return ab()};q=function(){var ab,ac,ad;ad=arguments[0],ac=arguments[1],ab=3<=arguments.length?D.call(arguments,2):[];if(typeof ad[ac]==="function"){return ad[ac].apply(ad,ab)}else{return ad[ac]}};h=function(){var ae,ad,ag,ac,ah,af,ab;ad=arguments[0],ac=2<=arguments.length?D.call(arguments,1):[];for(af=0,ab=ac.length;af=100){ac="99"}else{ac=this.progress<10?"0":"";ac+=this.progress|0}ag.children[0].setAttribute("data-progress",""+ac)}return this.lastRenderedProgress=this.progress};ab.prototype.done=function(){return this.progress>=100};return ab})();Y=(function(){function ab(){this.bindings={}}ab.prototype.trigger=function(ae,ah){var ag,af,ad,ai,ac;if(this.bindings[ae]!=null){ai=this.bindings[ae];ac=[];for(af=0,ad=ai.length;af=0){return true}}}return false};R=(function(ab){f(ac,ab);function ac(){var ad,af=this;ac.__super__.constructor.apply(this,arguments);ad=function(ah){var ag;ag=ah.open;return ah.open=function(ak,ai,aj){if(i(ak)){af.trigger("request",{type:ak,url:ai,request:ah})}return ag.apply(ah,arguments)}};window.XMLHttpRequest=function(ag){var ah;ah=new V(ag);ad(ah);return ah};try{p(window.XMLHttpRequest,V)}catch(ae){}if(P!=null){window.XDomainRequest=function(){var ag;ag=new P;ad(ag);return ag};try{p(window.XDomainRequest,P)}catch(ae){}}if((w!=null)&&x.ajax.trackWebSockets){window.WebSocket=function(ag,ai){var ah;if(ai!=null){ah=new w(ag,ai)}else{ah=new w(ag)}if(i("socket")){af.trigger("request",{type:"socket",url:ag,protocols:ai,request:ah})}return ah};try{p(window.WebSocket,w)}catch(ae){}}}return ac})(Y);v=null;O=function(){if(v==null){v=new R}return v};z=function(ac){var ae,ad,ab,af;af=x.ajax.ignoreURLs;for(ad=0,ab=af.length;adx.eventLag.sampleCount){ad.shift()}ag=b(ad);if(++ae>=x.eventLag.minSamples&&ag=100){this.done=true}if(ae===this.last){this.sinceLastUpdate+=ad}else{if(this.sinceLastUpdate){this.rate=(ae-this.last)/this.sinceLastUpdate}this.catchup=(ae-this.progress)/x.catchupTime;this.sinceLastUpdate=0;this.last=ae}if(ae>this.progress){this.progress+=this.catchup*ad}ac=1-Math.pow(this.progress/100,x.easeFactor);this.progress+=ac*this.rate*ad;this.progress=Math.min(this.lastProgress+x.maxProgressPerFrame,this.progress);this.progress=Math.max(0,this.progress);this.progress=Math.min(100,this.progress);this.lastProgress=this.progress;return this.progress};return ab})();H=null;a=null;N=null;E=null;Z=null;F=null;g.running=false;u=function(){if(x.restartOnPushState){return g.restart()}};if(window.history.pushState!=null){l=window.history.pushState;window.history.pushState=function(){u();return l.apply(window.history,arguments)}}if(window.history.replaceState!=null){c=window.history.replaceState;window.history.replaceState=function(){u();return c.apply(window.history,arguments)}}W={ajax:J,elements:C,document:d,eventLag:L};(S=function(){var ae,af,ad,ac,ab,ai,ah,ag;g.sources=H=[];ai=["ajax","elements","document","eventLag"];for(af=0,ac=ai.length;af




© 2015 - 2025 Weber Informatics LLC | Privacy Policy