1Type.registerNamespace("Telerik.Web.UI.Animations"); 2Telerik.Web.UI.Animations.playJQueryAnimation=function(k,h,f,e,c,l,b){if(!k){return; 3}if(!h){h=2; 4}if(!f){f=new Sys.UI.Bounds(1,1,1,1); 5}if(!e){e=new Sys.UI.Bounds(1,1,1,1); 6}if(!c){c=32; 7}c+=""; 8var i=parseInt(c.substr(0,1)); 9var d=parseInt(c.substr(1,1)); 10if(l){l(); 11}$telerik.$(k).stop(false,true); 12if(h==2){$telerik.$(k).css({left:e.x,top:e.y}).fadeIn(500,b); 13return; 14}if(h==8){var a=$telerik.getClientBounds(); 15var j=$telerik.getClientBounds(); 16f.x=j.width/2; 17f.y=j.height; 18switch(d){case 2:f.x=e.x; 19break; 20case 3:f.x=a.width; 21break; 22case 1:f.x=a.x; 23}switch(i){case 2:f.y=e.y; 24break; 25case 1:f.y=a.y-e.height; 26break; 27case 3:f.y=a.height; 28}}else{if(h==4){f.x=e.x; 29f.y=e.y; 30f.width=e.width; 31f.height=1; 32switch(d){case 2:f.x=e.x; 33break; 34case 3:f.x=e.x; 35break; 36case 1:var g=e.x; 37if(2==i){g+=e.width; 38}f.x=g; 39}switch(i){case 2:f.y=e.y; 40f.height=e.height; 41f.width=1; 42break; 43case 1:f.y=e.y+e.height; 44break; 45case 3:f.y=e.y; 46}}else{if(h==1){}}}$telerik.$(k).css({width:f.width,height:f.height,left:f.x,top:f.y,opacity:0.1,filter:"alpha(opacity=10)"}).show().animate({width:e.width,height:e.height,left:e.x,top:e.y,opacity:1},500,null,b); 47}; 48$telerik.$.fx.prototype.oldstep=$telerik.$.fx.prototype.step; 49$telerik.$.fx.prototype.step=function(b){if(this.prop=="left"||this.prop=="top"){if(this.elem.getAttribute("paused")){if(!this.elem.getAttribute("elapsedTime")){var a=(+new Date)-this.startTime; 50this.elem.setAttribute("elapsedTime",a); 51}return true; 52}if(this.elem.getAttribute("elapsedTime")){this.startTime=(+new Date)-this.elem.getAttribute("elapsedTime"); 53this.elem.removeAttribute("elapsedTime"); 54}}return this.oldstep(b); 55}; 56Telerik.Web.UI.Animations.jMove=function(a,d,b,c,e){Telerik.Web.UI.Animations.jMove.initializeBase(this); 57this._owner=a; 58this._element=d; 59this._duration=b; 60this._horizontal=(typeof(c)=="undefined"||c==null)?0:c; 61this._vertical=(typeof(e)=="undefined"||e==null)?0:e; 62this._events=null; 63this._animationEndedDelegate=null; 64this._isPlaying=false; 65this._isPaused=false; 66this._isCyclic=false; 67}; 68Telerik.Web.UI.Animations.jMove.prototype={initialize:function(){Telerik.Web.UI.Animations.jMove.callBaseMethod(this,"initialize"); 69this._animationEndedDelegate=Function.createDelegate(this,this._animationEnded); 70},dispose:function(){this._getAnimationQuery().stop(true,false); 71this._owner=null; 72this._element=null; 73this._animationEndedDelegate=null; 74},get_vertical:function(){return this._vertical; 75},set_vertical:function(a){this._vertical=a; 76},get_horizontal:function(){return this._horizontal; 77},set_horizontal:function(a){this._horizontal=a; 78},get_isPlaying:function(){return this._isPlaying; 79},get_isCyclic:function(){return this._isCyclic; 80},set_isCyclic:function(a){this._isCyclic=a; 81},get_isActive:function(){return true; 82},play:function(d){var c=this._element; 83var f=c.getAttribute("paused"); 84c.removeAttribute("paused"); 85if(!(f&&c.getAttribute("elapsedTime"))){var a=this._owner; 86var g=a.get_frameDuration(); 87if(this._isPaused&&this._isCyclic&&(g>0&&!d)&&a._setAnimationTimeout){a._setAnimationTimeout(g); 88}else{var b=this._animationStarted(); 89if(b!=false){var e=(isNaN(parseInt(this._vertical)))?this._horizontal:this._vertical; 90this._playAnimation(e); 91this._isPlaying=true; 92this._isPaused=false; 93}}}},stop:function(){this._getAnimationQuery().stop(false,true); 94this._isPlaying=false; 95},pause:function(){if(this._isPlaying){this._element.setAttribute("paused",true); 96}this._isPlaying=false; 97this._isPaused=true; 98},add_started:function(a){this.get_events().addHandler("started",a); 99},remove_started:function(a){this.get_events().removeHandler("started",a); 100},add_ended:function(a){this.get_events().addHandler("ended",a); 101},remove_ended:function(a){this.get_events().removeHandler("ended",a); 102},_getAnimationQuery:function(){return $telerik.$(this._element); 103},_playAnimation:function(d){var c=this._getAnimationQuery(); 104var b=this._getAnimatedStyleProperty(); 105var a={queue:true}; 106a[b]=d; 107c.stop(true,!this._isCyclic).animate(a,this._duration,null,this._animationEndedDelegate); 108},_getAnimatedStyleProperty:function(){return(isNaN(parseInt(this._vertical)))?"left":"top"; 109},_getPosition:function(){var b=this._element; 110var a=this._getAnimatedStyleProperty(); 111return b.style[a]; 112},_animationStarted:function(){var a=new Sys.CancelEventArgs(); 113this._raiseEvent("started",a); 114return !a.get_cancel(); 115},_animationEnded:function(){this._isPlaying=false; 116this._raiseEvent("ended",Sys.EventArgs.Empty); 117},_raiseEvent:function(b,c){var a=this.get_events().getHandler(b); 118if(a){if(!c){c=Sys.EventArgs.Empty; 119}a(this,c); 120}}}; 121Telerik.Web.UI.Animations.jMove.registerClass("Telerik.Web.UI.Animations.jMove",Sys.Component); 122
123if(typeof(Sys)!=='undefined')Sys.Application.notifyScriptLoaded();
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.