1(function($){ 2 $.fn.slide=function(options){ 3 $.fn.slide.defaults={ 4 type:"slide", 5 effect:"fade", 6 autoPlay:false, 7 delayTime:500, 8 interTime:2500, 9 triggerTime:150, 10 defaultIndex:0, 11 titCell:".hd li", 12 mainCell:".bd", 13 targetCell:null, 14 trigger:"mouseover", 15 scroll:1, 16 vis:1, 17 titOnClassName:"on", 18 autoPage:false, 19 prevCell:".prev", 20 nextCell:".next", 21 pageStateCell:".pageState", 22 opp: false, 23 pnLoop:true, 24 easing:"swing", 25 startFun:null, 26 endFun:null, 27 switchLoad:null, 28 29 playStateCell:".playState", 30 mouseOverStop:true, 31 defaultPlay:true, 32 returnDefault:false 33 }; 34 35 return this.each(function() { 36 37 var opts = $.extend({},$.fn.slide.defaults,options); 38 var slider = $(this); 39 var effect = opts.effect; 40 var prevBtn = $(opts.prevCell, slider); 41 var nextBtn = $(opts.nextCell, slider); 42 var pageState = $(opts.pageStateCell, slider); 43 var playState = $(opts.playStateCell, slider); 44 45 var navObj = $(opts.titCell, slider);//导èªåå ç´ ç»å 46 var navObjSize = navObj.size(); 47 var conBox = $(opts.mainCell , slider);//å 容å ç´ ç¶å±å¯¹è±¡ 48 var conBoxSize=conBox.children().size(); 49 var sLoad=opts.switchLoad; 50 var tarObj = $(opts.targetCell, slider); 51 52 /*å符串转æ¢*/
vendor: 19,131 bytes, lines 53-442
53 var index=parseInt(opts.defaultIndex); 54 var delayTime=parseInt(opts.delayTime); 55 var interTime=parseInt(opts.interTime); 56 var triggerTime=parseInt(opts.triggerTime); 57 var scroll=parseInt(opts.scroll); 58 var vis=parseInt(opts.vis); 59 var autoPlay = (opts.autoPlay=="false"||opts.autoPlay==false)?false:true; 60 var opp = (opts.opp=="false"||opts.opp==false)?false:true; 61 var autoPage = (opts.autoPage=="false"||opts.autoPage==false)?false:true; 62 var pnLoop = (opts.pnLoop=="false"||opts.pnLoop==false)?false:true; 63 var mouseOverStop = (opts.mouseOverStop=="false"||opts.mouseOverStop==false)?false:true; 64 var defaultPlay = (opts.defaultPlay=="false"||opts.defaultPlay==false)?false:true; 65 var returnDefault = (opts.returnDefault=="false"||opts.returnDefault==false)?false:true; 66 67 var slideH=0; 68 var slideW=0; 69 var selfW=0; 70 var selfH=0; 71 var easing=opts.easing; 72 var inter=null;//autoPlay-setInterval 73 var mst =null;//trigger-setTimeout 74 var rtnST=null;//returnDefault-setTimeout 75 var titOn = opts.titOnClassName; 76 77 var onIndex = navObj.index( slider.find( "."+titOn) ); 78 var oldIndex = index = onIndex==-1?index:onIndex; 79 var defaultIndex = index; 80 81 82 var _ind = index; 83 var cloneNum = conBoxSize>=vis?( conBoxSize%scroll!=0?conBoxSize%scroll:scroll):0; 84 var _tar; 85 var isMarq = effect=="leftMarquee" || effect=="topMarquee"?true:false; 86 87 var doStartFun=function(){ if ( $.isFunction( opts.startFun) ){ opts.startFun( index,navObjSize,slider,$(opts.titCell, slider),conBox,tarObj,prevBtn,nextBtn ) } } 88 var doEndFun=function(){ if ( $.isFunction( opts.endFun ) ){ opts.endFun( index,navObjSize,slider,$(opts.titCell, slider),conBox,tarObj,prevBtn,nextBtn ) } } 89 var resetOn=function(){ navObj.removeClass(titOn); if( defaultPlay ) navObj.eq(defaultIndex).addClass(titOn) } 90 91 92 93 //åç¬å¤çèåææ 94 if( opts.type=="menu" ){ 95 96 if( defaultPlay ){ navObj.removeClass(titOn).eq(index).addClass(titOn); } 97 navObj.hover( 98 function(){ 99 _tar=$(this).find( opts.targetCell ); 100 var hoverInd =navObj.index($(this)); 101 102 mst = setTimeout(function(){ 103 index=hoverInd; 104 navObj.removeClass(titOn).eq (index).addClass(titOn); 105 doStartFun(); 106 switch (effect) 107 { 108 case "fade":_tar.stop(true,true).animate({opacity:"show"}, delayTime,easing,doEndFun ); break; 109 case "slideDown":_tar.stop(true,true).animate({height:"show"}, delayTime,easing,doEndFun ); break; 110 } 111 } ,opts.triggerTime); 112 113 },function(){ 114 clearTimeout(mst); 115 switch (effect){ case "fade":_tar.animate( {opacity:"hide"},delayTime,easing ); break; case "slideDown":_tar.animate( {height:"hide"},delayTime,easing ); break; } 116 } 117 ); 118 119 if (returnDefault){ 120 slider.hover(function(){clearTimeout(rtnST);},function(){ rtnST = setTimeout( resetOn,delayTime ); }); 121 } 122 123 124 return; 125 } 126 127 128 //å¤çå页 129 if( navObjSize==0 )navObjSize=conBoxSize;//åªæå·¦å³æé® 130 if( isMarq ) navObjSize=2; 131 if( autoPage ){ 132 if(conBoxSize>=vis){ 133 if( effect=="leftLoop" || effect=="topLoop" ){ navObjSize=conBoxSize%scroll!=0?(conBoxSize/scroll^0)+1:conBoxSize/scroll; } 134 else{ 135 var tempS = conBoxSize-vis; 136 navObjSize=1+parseInt(tempS%scroll!=0?(tempS/scroll+1):(tempS/scroll)); 137 if(navObjSize<=0)navObjSize=1; 138 } 139 } 140 else{ navObjSize=1 } 141 142 navObj.html(""); 143 var str=""; 144 145 if( opts.autoPage==true || opts.autoPage=="true" ){ for( var i=0; i<navObjSize; i++ ){ str+="<li>"+(i+1)+"</li>" } } 146 else{ for( var i=0; i<navObjSize; i++ ){ str+=opts.autoPage.replace("$",(i+1)) } } 147 navObj.html(str); 148 149 var navObj = navObj.children();//é置导èªåå ç´ å¯¹è±¡ 150 } 151 152 153 if(conBoxSize>=vis){ //å½å 容个æ°å°äºå¯è§ä¸ªæ°ï¼ä¸æ§è¡ææã 154 conBox.children().each(function(){ //åæå¤§å¼ 155 if( $(this).width()>selfW ){ selfW=$(this).width(); slideW=$(this).outerWidth(true); } 156 if( $(this).height()>selfH ){ selfH=$(this).height(); slideH=$(this).outerHeight(true); } 157 }); 158 159 var _chr = conBox.children(); 160 var cloneEle = function(){ 161 for( var i=0; i<vis ; i++ ){ _chr.eq(i).clone().addClass("clone").appendTo(conBox); } 162 for( var i=0; i<cloneNum ; i++ ){ _chr.eq(conBoxSize-i-1).clone().addClass("clone").prependTo(conBox); } 163 } 164 165 switch(effect) 166 { 167 case "fold": conBox.css({"position":"relative","width":slideW,"height":slideH}).children().css( {"position":"absolute","width":selfW,"left":0,"top":0,"display":"none"} ); break; 168 case "top": conBox.wrap('<div class="tempWrap" style="overflow:hidden; position:relative; height:'+vis*slideH+'px"></div>').css( { "top":-(index*scroll)*slideH, "position":"relative","padding":"0","margin":"0"}).children().css( {"height":selfH} ); break; 169 case "left": conBox.wrap('<div class="tempWrap" style="overflow:hidden; position:relative; width:'+vis*slideW+'px"></div>').css( { "width":conBoxSize*slideW,"left":-(index*scroll)*slideW,"position":"relative","overflow":"hidden","padding":"0","margin":"0"}).children().css( {"float":"left","width":selfW} ); break; 170 case "leftLoop": 171 case "leftMarquee": 172 cloneEle(); 173 conBox.wrap('<div class="tempWrap" style="overflow:hidden; position:relative; width:'+vis*slideW+'px"></div>').css( { "width":(conBoxSize+vis+cloneNum)*slideW,"position":"relative","overflow":"hidden","padding":"0","margin":"0","left":-(cloneNum+index*scroll)*slideW}).children().css( {"float":"left","width":selfW} ); break; 174 case "topLoop": 175 case "topMarquee": 176 cloneEle(); 177 conBox.wrap('<div class="tempWrap" style="overflow:hidden; position:relative; height:'+vis*slideH+'px"></div>').css( { "height":(conBoxSize+vis+cloneNum)*slideH,"position":"relative","padding":"0","margin":"0","top":-(cloneNum+index*scroll)*slideH}).children().css( {"height":selfH} ); break; 178 } 179 } 180 181 182 183 //é对leftLoopãtopLoopçæ»å¨ä¸ªæ° 184 var scrollNum=function(ind){ 185 var _tempCs= ind*scroll; 186 if( ind==navObjSize ){ _tempCs=conBoxSize; }else if( ind==-1 && conBoxSize%scroll!=0){ _tempCs=-conBoxSize%scroll; } 187 return _tempCs; 188 } 189 190 //忢å è½½ 191 var doSwitchLoad=function(objs){ 192 193 var changeImg=function(t){ 194 for ( var i= t; i<( vis+ t); i++ ){ 195 objs.eq(i).find("img["+sLoad+"]").each(function(){ 196 var _this = $(this); 197 _this.attr("src",_this.attr(sLoad)).removeAttr(sLoad); 198 if( conBox.find(".clone")[0] ){ //妿åå¨.clone 199 var chir = conBox.children(); 200 for ( var j=0 ; j< chir.size() ; j++ ) 201 { 202 chir.eq(j).find("img["+sLoad+"]").each(function(){ 203 if( $(this).attr(sLoad)==_this.attr("src") ) $(this).attr("src",$(this).attr(sLoad)).removeAttr(sLoad) 204 }) 205 } 206 } 207 }) 208 } 209 } 210 211 switch(effect) 212 { 213 case "fade": case "fold": case "top": case "left": case "slideDown": 214 changeImg( index*scroll ); 215 break; 216 case "leftLoop": case "topLoop": 217 changeImg( cloneNum+scrollNum(_ind) ); 218 break; 219 case "leftMarquee":case "topMarquee": 220 var curS = effect=="leftMarquee"? conBox.css("left").replace("px",""):conBox.css("top").replace("px",""); 221 var slideT = effect=="leftMarquee"? slideW:slideH; 222 var mNum=cloneNum; 223 if( curS%slideT!=0 ){ 224 var curP = Math.abs(curS/slideT^0); 225 if( index==1 ){ mNum=cloneNum+curP }else{ mNum=cloneNum+curP-1 } 226 } 227 changeImg( mNum ); 228 break; 229 } 230 }//doSwitchLoad end 231 232 233 //ææå½æ° 234 var doPlay=function(init){ 235 // å½åé¡µç¶æä¸è§¦åææ 236 if( defaultPlay && oldIndex==index && !init && !isMarq ) return; 237 238 //å¤ç页ç 239 if( isMarq ){ if ( index>= 1) { index=1; } else if( index<=0) { index = 0; } } 240 else{ 241 _ind=index; if ( index >= navObjSize) { index = 0; } else if( index < 0) { index = navObjSize-1; } 242 } 243 244 doStartFun(); 245 246 //å¤ç忢å è½½ 247 if( sLoad!=null ){ doSwitchLoad( conBox.children() ) } 248 249 //å¤çtargetCell 250 if(tarObj[0]){ 251 _tar = tarObj.eq(index); 252 if( sLoad!=null ){ doSwitchLoad( tarObj ) } 253 if( effect=="slideDown" ){ 254 tarObj.not(_tar).stop(true,true).slideUp(delayTime); 255 _tar.slideDown( delayTime,easing,function(){ if(!conBox[0]) doEndFun() }); 256 } 257 else{ 258 tarObj.not(_tar).stop(true,true).hide(); 259 _tar.animate({opacity:"show"},delayTime,function(){ if(!conBox[0]) doEndFun() }); 260 } 261 } 262 263 if(conBoxSize>=vis){ //å½å 容个æ°å°äºå¯è§ä¸ªæ°ï¼ä¸æ§è¡ææã 264 switch (effect) 265 { 266 case "fade":conBox.children().stop(true,true).eq(index).animate({opacity:"show"},delayTime,easing,function(){doEndFun()}).siblings().hide(); break; 267 case "fold":conBox.children().stop(true,true).eq(index).animate({opacity:"show"},delayTime,easing,function(){doEndFun()}).siblings().animate({opacity:"hide"},delayTime,easing);break; 268 case "top":conBox.stop(true,false).animate({"top":-index*scroll*slideH},delayTime,easing,function(){doEndFun()});break; 269 case "left":conBox.stop(true,false).animate({"left":-index*scroll*slideW},delayTime,easing,function(){doEndFun()});break; 270 case "leftLoop": 271 var __ind = _ind; 272 conBox.stop(true,true).animate({"left":-(scrollNum(_ind)+cloneNum)*slideW},delayTime,easing,function(){ 273 if( __ind<=-1 ){ conBox.css("left",-(cloneNum+(navObjSize-1)*scroll)*slideW); }else if( __ind>=navObjSize ){ conBox.css("left",-cloneNum*slideW); } 274 doEndFun(); 275 }); 276 break;//leftLoop end 277 278 case "topLoop": 279 var __ind = _ind; 280 conBox.stop(true,true).animate({"top":-(scrollNum(_ind)+cloneNum)*slideH},delayTime,easing,function(){ 281 if( __ind<=-1 ){ conBox.css("top",-(cloneNum+(navObjSize-1)*scroll)*slideH); }else if( __ind>=navObjSize ){ conBox.css("top",-cloneNum*slideH); } 282 doEndFun(); 283 }); 284 break;//topLoop end 285 286 case "leftMarquee": 287 var tempLeft = conBox.css("left").replace("px",""); 288 if(index==0 ){ 289 conBox.animate({"left":++tempLeft},0,function(){ 290 if( conBox.css("left").replace("px","")>= 0){ conBox.css("left",-conBoxSize*slideW) } 291 }); 292 } 293 else{ 294 conBox.animate({"left":--tempLeft},0,function(){ 295 if( conBox.css("left").replace("px","")<= -(conBoxSize+cloneNum)*slideW){ conBox.css("left",-cloneNum*slideW) } 296 }); 297 }break;// leftMarquee end 298 299 case "topMarquee": 300 var tempTop = conBox.css("top").replace("px",""); 301 if(index==0 ){ 302 conBox.animate({"top":++tempTop},0,function(){ 303 if( conBox.css("top").replace("px","")>= 0){ conBox.css("top",-conBoxSize*slideH) } 304 }); 305 } 306 else{ 307 conBox.animate({"top":--tempTop},0,function(){ 308 if( conBox.css("top").replace("px","")<= -(conBoxSize+cloneNum)*slideH){ conBox.css("top",-cloneNum*slideH) } 309 }); 310 }break;// topMarquee end 311 312 }//switch end 313 } 314 315 navObj.removeClass(titOn).eq(index).addClass(titOn); 316 oldIndex=index; 317 if( !pnLoop ){ //pnLoopæ§å¶ååæé®æ¯å¦ç»§ç»å¾ªç¯ 318 nextBtn.removeClass("nextStop"); prevBtn.removeClass("prevStop"); 319 if (index==0 ){ prevBtn.addClass("prevStop"); } 320 if (index==navObjSize-1 ){ nextBtn.addClass("nextStop"); } 321 } 322 323 pageState.html( "<span>"+(index+1)+"</span>/"+navObjSize); 324 325 };// doPlay end 326 327 //åå§åæ§è¡ 328 if( defaultPlay ){ doPlay(true); } 329 330 if (returnDefault)//è¿åé»è®¤ç¶æ 331 { 332 slider.hover(function(){ clearTimeout(rtnST) },function(){ 333 rtnST = setTimeout( function(){ 334 index=defaultIndex; 335 if(defaultPlay){ doPlay(); } 336 else{ 337 if( effect=="slideDown" ){ _tar.slideUp( delayTime, resetOn ); } 338 else{ _tar.animate({opacity:"hide"},delayTime,resetOn ); } 339 } 340 oldIndex=index; 341 },300 ); 342 }); 343 } 344 345 ///èªå¨ææ¾å½æ° 346 var setInter = function(time){ inter=setInterval(function(){ opp?index--:index++; doPlay() }, !!time?time:interTime); } 347 var setMarInter = function(time){ inter = setInterval(doPlay, !!time?time:interTime); } 348 // å¤çmouseOverStop 349 var resetInter = function(){ if( !mouseOverStop ){clearInterval(inter); setInter() } } 350 // ååæé®è§¦å 351 var nextTrigger = function(){ if ( pnLoop || index!=navObjSize-1 ){ index++; doPlay(); if(!isMarq)resetInter(); } } 352 var prevTrigger = function(){ if ( pnLoop || index!=0 ){ index--; doPlay(); if(!isMarq)resetInter(); } } 353 //å¤çplayState 354 var playStateFun = function(){ clearInterval(inter); isMarq?setMarInter():setInter(); playState.removeClass("pauseState") } 355 var pauseStateFun = function(){ clearInterval(inter);playState.addClass("pauseState"); } 356 357 //èªå¨ææ¾ 358 if (autoPlay) { 359 if( isMarq ){ 360 opp?index--:index++; setMarInter(); 361 if(mouseOverStop) conBox.hover(pauseStateFun,playStateFun); 362 }else{ 363 setInter(); 364 if(mouseOverStop) slider.hover( pauseStateFun,playStateFun ); 365 } 366 } 367 else{ if( isMarq ){ opp?index--:index++; } playState.addClass("pauseState"); } 368 369 playState.click(function(){ playState.hasClass("pauseState")?playStateFun():pauseStateFun() }); 370 371 //titCelläºä»¶ 372 if(opts.trigger=="mouseover"){ 373 navObj.hover(function(){ var hoverInd = navObj.index(this); mst = setTimeout(function(){ index=hoverInd; doPlay(); resetInter(); },opts.triggerTime); }, function(){ clearTimeout(mst) }); 374 }else{ navObj.click(function(){ index=navObj.index(this); doPlay(); resetInter(); }) } 375 376 //ååæé®äºä»¶ 377 if (isMarq){ 378 379 nextBtn.mousedown(nextTrigger); 380 prevBtn.mousedown(prevTrigger); 381 //ååæé®é¿æ10åå é 382 if (pnLoop) 383 { 384 var st; 385 var marDown = function(){ st=setTimeout(function(){ clearInterval(inter); setMarInter( interTime/10^0 ) },150) } 386 var marUp = function(){ clearTimeout(st); clearInterval(inter); setMarInter() } 387 nextBtn.mousedown(marDown); nextBtn.mouseup(marUp); 388 prevBtn.mousedown(marDown); prevBtn.mouseup(marUp); 389 } 390 //ååæé®mouseoveräºä»¶ 391 if( opts.trigger=="mouseover" ){ nextBtn.hover(nextTrigger,function(){}); prevBtn.hover(prevTrigger,function(){}); } 392 }else{ 393 nextBtn.click(nextTrigger); 394 prevBtn.click(prevTrigger); 395 } 396 397 });//each End 398 399 };//slide End 400 401})(jQuery); 402 403jQuery.easing['jswing'] = jQuery.easing['swing']; 404jQuery.extend( jQuery.easing, 405{ 406 def: 'easeOutQuad', 407 swing: function (x, t, b, c, d) { return jQuery.easing[jQuery.easing.def](x, t, b, c, d); }, 408 easeInQuad: function (x, t, b, c, d) {return c*(t/=d)*t + b;}, 409 easeOutQuad: function (x, t, b, c, d) {return -c *(t/=d)*(t-2) + b}, 410 easeInOutQuad: function (x, t, b, c, d) {if ((t/=d/2) < 1) return c/2*t*t + b;return -c/2 * ((--t)*(t-2) - 1) + b}, 411 easeInCubic: function (x, t, b, c, d) {return c*(t/=d)*t*t + b}, 412 easeOutCubic: function (x, t, b, c, d) {return c*((t=t/d-1)*t*t + 1) + b}, 413 easeInOutCubic: function (x, t, b, c, d) {if ((t/=d/2) < 1) return c/2*t*t*t + b;return c/2*((t-=2)*t*t + 2) + b}, 414 easeInQuart: function (x, t, b, c, d) {return c*(t/=d)*t*t*t + b}, 415 easeOutQuart: function (x, t, b, c, d) {return -c * ((t=t/d-1)*t*t*t - 1) + b}, 416 easeInOutQuart: function (x, t, b, c, d) {if ((t/=d/2) < 1) return c/2*t*t*t*t + b;return -c/2 * ((t-=2)*t*t*t - 2) + b}, 417 easeInQuint: function (x, t, b, c, d) {return c*(t/=d)*t*t*t*t + b}, 418 easeOutQuint: function (x, t, b, c, d) {return c*((t=t/d-1)*t*t*t*t + 1) + b}, 419 easeInOutQuint: function (x, t, b, c, d) {if ((t/=d/2) < 1) return c/2*t*t*t*t*t + b;return c/2*((t-=2)*t*t*t*t + 2) + b}, 420 easeInSine: function (x, t, b, c, d) {return -c * Math.cos(t/d * (Math.PI/2)) + c + b}, 421 easeOutSine: function (x, t, b, c, d) {return c * Math.sin(t/d * (Math.PI/2)) + b}, 422 easeInOutSine: function (x, t, b, c, d) {return -c/2 * (Math.cos(Math.PI*t/d) - 1) + b}, 423 easeInExpo: function (x, t, b, c, d) {return (t==0) ? b : c * Math.pow(2, 10 * (t/d - 1)) + b}, 424 easeOutExpo: function (x, t, b, c, d) {return (t==d) ? b+c : c * (-Math.pow(2, -10 * t/d) + 1) + b}, 425 easeInOutExpo: function (x, t, b, c, d) {if (t==0) return b;if (t==d) return b+c;if ((t/=d/2) < 1) return c/2 * Math.pow(2, 10 * (t - 1)) + b;return c/2 * (-Math.pow(2, -10 * --t) + 2) + b}, 426 easeInCirc: function (x, t, b, c, d) {return -c * (Math.sqrt(1 - (t/=d)*t) - 1) + b}, 427 easeOutCirc: function (x, t, b, c, d) {return c * Math.sqrt(1 - (t=t/d-1)*t) + b}, 428 easeInOutCirc: function (x, t, b, c, d) {if ((t/=d/2) < 1) return -c/2 * (Math.sqrt(1 - t*t) - 1) + b;return c/2 * (Math.sqrt(1 - (t-=2)*t) + 1) + b}, 429 easeInElastic: function (x, t, b, c, d) {var s=1.70158;var p=0;var a=c;if (t==0) return b; if ((t/=d)==1) return b+c; if (!p) p=d*.3;if (a < Math.abs(c)) { a=c; var s=p/4; } 430 else var s = p/(2*Math.PI) * Math.asin (c/a);return -(a*Math.pow(2,10*(t-=1)) * Math.sin( (t*d-s)*(2*Math.PI)/p )) + b}, 431 easeOutElastic: function (x, t, b, c, d) {var s=1.70158;var p=0;var a=c;if (t==0) return b; if ((t/=d)==1) return b+c; if (!p) p=d*.3;if (a < Math.abs(c)) { a=c; var s=p/4; } 432 else var s = p/(2*Math.PI) * Math.asin (c/a);return a*Math.pow(2,-10*t) * Math.sin( (t*d-s)*(2*Math.PI)/p ) + c + b}, 433 easeInOutElastic: function (x, t, b, c, d) {var s=1.70158;var p=0;var a=c;if (t==0) return b; if ((t/=d/2)==2) return b+c; if (!p) p=d*(.3*1.5);if (a < Math.abs(c)) { a=c; var s=p/4; } 434 else var s = p/(2*Math.PI) * Math.asin (c/a);if (t < 1) return -.5*(a*Math.pow(2,10*(t-=1)) * Math.sin( (t*d-s)*(2*Math.PI)/p )) + b;return a*Math.pow(2,-10*(t-=1)) * Math.sin( (t*d-s)*(2*Math.PI)/p )*.5 + c + b}, 435 easeInBack: function (x, t, b, c, d, s) {if (s == undefined) s = 1.70158;return c*(t/=d)*t*((s+1)*t - s) + b}, 436 easeOutBack: function (x, t, b, c, d, s) {if (s == undefined) s = 1.70158;return c*((t=t/d-1)*t*((s+1)*t + s) + 1) + b}, 437 easeInOutBack: function (x, t, b, c, d, s) {if (s == undefined) s = 1.70158; 438 if ((t/=d/2) < 1) return c/2*(t*t*(((s*=(1.525))+1)*t - s)) + b;return c/2*((t-=2)*t*(((s*=(1.525))+1)*t + s) + 2) + b}, 439 easeInBounce: function (x, t, b, c, d) {return c - jQuery.easing.easeOutBounce (x, d-t, 0, c, d) + b}, 440 easeOutBounce: function (x, t, b, c, d) {if ((t/=d) < (1/2.75)) { return c*(7.5625*t*t) + b;} else if (t < (2/2.75)) { return c*(7.5625*(t-=(1.5/2.75))*t + .75) + b;} else if (t < (2.5/2.75)) { return c*(7.5625*(t-=(2.25/2.75))*t + .9375) + b;} else { return c*(7.5625*(t-=(2.625/2.75))*t + .984375) + b;}}, 441 easeInOutBounce: function (x, t, b, c, d) {if (t < d/2) return jQuery.easing.easeInBounce (x, t*2, 0, c, d) * .5 + b;return jQuery.easing.easeOutBounce (x, t*2-d, 0, c, d) * .5 + c*.5 + b;} 442});
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.