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