vendor: 26,094 bytes, lines 1-134
1(function(a){var b={mode:"horizontal",slideSelector:"",infiniteLoop:true,hideControlOnEnd:false,speed:500,easing:null,slideMargin:0,startSlide:0,randomStart:false,captions:false,ticker:false,tickerHover:false,adaptiveHeight:false,adaptiveHeightSpeed:500,video:false,useCSS:true,preloadImages:"visible",responsive:true,slideZIndex:50,wrapperClass:"bx-wrapper",touchEnabled:true,swipeThreshold:50,oneToOneTouch:true,preventDefaultSwipeX:true,preventDefaultSwipeY:false,ariaLive:true,ariaHidden:true,keyboardEnabled:false,pager:true,pagerType:"full",pagerShortSeparator:" / ",pagerSelector:null,buildPager:null,pagerCustom:null,controls:true,nextText:"Next",prevText:"Prev",nextSelector:null,prevSelector:null,autoControls:false,startText:"Start",stopText:"Stop",autoControlsCombine:false,autoControlsSelector:null,auto:false,pause:4000,autoStart:true,autoDirection:"next",stopAutoOnClick:false,autoHover:false,autoDelay:0,autoSlideForOnePage:false,minSlides:1,maxSlides:1,moveSlides:0,slideWidth:0,shrinkItems:false,onSliderLoad:function(){return true; 2},onSlideBefore:function(){return true;},onSlideAfter:function(){return true;},onSlideNext:function(){return true;},onSlidePrev:function(){return true; 3},onSliderResize:function(){return true;},onAutoChange:function(){return true;}};a.fn.bxSlider=function(t){if(this.length===0){return this;}if(this.length>1){this.each(function(){a(this).bxSlider(t); 4});return this;}var h={},L=this,N=a(window).width(),Q=a(window).height();if(a(L).data("bxSlider")){return;}var F=function(){if(a(L).data("bxSlider")){return; 5}h.settings=a.extend({},b,t);h.settings.slideWidth=parseInt(h.settings.slideWidth);h.children=L.children(h.settings.slideSelector);if(h.children.length<h.settings.minSlides){h.settings.minSlides=h.children.length; 6}if(h.children.length<h.settings.maxSlides){h.settings.maxSlides=h.children.length;}if(h.settings.randomStart){h.settings.startSlide=Math.floor(Math.random()*h.children.length); 7}h.active={index:h.settings.startSlide};h.carousel=h.settings.minSlides>1||h.settings.maxSlides>1;if(h.carousel){h.settings.preloadImages="all";}h.minThreshold=(h.settings.minSlides*h.settings.slideWidth)+((h.settings.minSlides-1)*h.settings.slideMargin); 8h.maxThreshold=(h.settings.maxSlides*h.settings.slideWidth)+((h.settings.maxSlides-1)*h.settings.slideMargin);h.working=false;h.controls={};h.interval=null; 9h.animProp=h.settings.mode==="vertical"?"top":"left";h.usingCSS=h.settings.useCSS&&h.settings.mode!=="fade"&&(function(){var Z=document.createElement("div"),Y=["WebkitPerspective","MozPerspective","OPerspective","msPerspective"]; 10for(var X=0;X<Y.length;X++){if(Z.style[Y[X]]!==undefined){h.cssPrefix=Y[X].replace("Perspective","").toLowerCase();h.animProp="-"+h.cssPrefix+"-transform"; 11return true;}}return false;}());if(h.settings.mode==="vertical"){h.settings.maxSlides=h.settings.minSlides;}L.data("origStyle",L.attr("style"));L.children(h.settings.slideSelector).each(function(){a(this).data("origStyle",a(this).attr("style")); 12});l();};var l=function(){var X=h.children.eq(h.settings.startSlide);L.wrap('<div class="'+h.settings.wrapperClass+'"><div class="bx-viewport"></div></div>'); 13h.viewport=L.parent();if(h.settings.ariaLive&&!h.settings.ticker){h.viewport.attr("aria-live","polite");}h.loader=a('<div class="bx-loading" />');h.viewport.prepend(h.loader); 14L.css({width:h.settings.mode==="horizontal"?(h.children.length*1000+215)+"%":"auto",position:"relative"});if(h.usingCSS&&h.settings.easing){L.css("-"+h.cssPrefix+"-transition-timing-function",h.settings.easing); 15}else{if(!h.settings.easing){h.settings.easing="swing";}}h.viewport.css({width:"100%",overflow:"hidden",position:"relative"});h.viewport.parent().css({maxWidth:P()}); 16h.children.css({"float":h.settings.mode==="horizontal"?"left":"none",listStyle:"none",position:"relative"});h.children.css("width",G());if(h.settings.mode==="horizontal"&&h.settings.slideMargin>0){h.children.css("marginRight",h.settings.slideMargin); 17}if(h.settings.mode==="vertical"&&h.settings.slideMargin>0){h.children.css("marginBottom",h.settings.slideMargin);}if(h.settings.mode==="fade"){h.children.css({position:"absolute",zIndex:0,display:"none"}); 18h.children.eq(h.settings.startSlide).css({zIndex:h.settings.slideZIndex,display:"block"});}h.controls.el=a('<div class="bx-controls" />');if(h.settings.captions){C(); 19}h.active.last=h.settings.startSlide===y()-1;if(h.settings.video){L.fitVids();}if(h.settings.preloadImages==="none"){X=null;}else{if(h.settings.preloadImages==="all"||h.settings.ticker){X=h.children; 20}}if(!h.settings.ticker){if(h.settings.controls){j();}if(h.settings.auto&&h.settings.autoControls){O();}if(h.settings.pager){T();}if(h.settings.controls||h.settings.autoControls||h.settings.pager){h.viewport.after(h.controls.el); 21}}else{h.settings.pager=false;}if(X===null){u();}else{c(X,u);}};var c=function(X,aa){var Z=X.find('img:not([src=""]), iframe').length,Y=0;if(Z===0){aa(); 22return;}X.find('img:not([src=""]), iframe').each(function(){a(this).one("load error",function(){if(++Y===Z){aa();}}).each(function(){if(this.complete||this.src==""){a(this).trigger("load"); 23}});});};var u=function(){if(h.settings.infiniteLoop&&h.settings.mode!=="fade"&&!h.settings.ticker){var Z=h.settings.mode==="vertical"?h.settings.minSlides:h.settings.maxSlides,Y=h.children.slice(0,Z).clone(true).addClass("bx-clone"),X=h.children.slice(-Z).clone(true).addClass("bx-clone"); 24if(h.settings.ariaHidden){Y.attr("aria-hidden",true);X.attr("aria-hidden",true);}L.append(Y).prepend(X);}h.loader.remove();g();if(h.settings.mode==="vertical"){h.settings.adaptiveHeight=true; 25}h.viewport.height(n());L.redrawSlider();h.settings.onSliderLoad.call(L,h.active.index);h.initialized=true;if(h.settings.responsive){a(window).on("resize",m); 26}if(h.settings.auto&&h.settings.autoStart&&(y()>1||h.settings.autoSlideForOnePage)){d();}if(h.settings.ticker){J();}if(h.settings.pager){W(h.settings.startSlide); 27}if(h.settings.controls){k();}if(h.settings.touchEnabled&&!h.settings.ticker){e();}if(h.settings.keyboardEnabled&&!h.settings.ticker){a(document).keydown(w); 28}};var n=function(){var X=0;var Z=a();if(h.settings.mode!=="vertical"&&!h.settings.adaptiveHeight){Z=h.children;}else{if(!h.carousel){Z=h.children.eq(h.active.index); 29}else{var Y=h.settings.moveSlides===1?h.active.index:h.active.index*r();Z=h.children.eq(Y);for(i=1;i<=h.settings.maxSlides-1;i++){if(Y+i>=h.children.length){Z=Z.add(h.children.eq(i-1)); 30}else{Z=Z.add(h.children.eq(Y+i));}}}}if(h.settings.mode==="vertical"){Z.each(function(aa){X+=a(this).outerHeight();});if(h.settings.slideMargin>0){X+=h.settings.slideMargin*(h.settings.minSlides-1); 31}}else{X=Math.max.apply(Math,Z.map(function(){return a(this).outerHeight(false);}).get());}if(h.viewport.css("box-sizing")==="border-box"){X+=parseFloat(h.viewport.css("padding-top"))+parseFloat(h.viewport.css("padding-bottom"))+parseFloat(h.viewport.css("border-top-width"))+parseFloat(h.viewport.css("border-bottom-width")); 32}else{if(h.viewport.css("box-sizing")==="padding-box"){X+=parseFloat(h.viewport.css("padding-top"))+parseFloat(h.viewport.css("padding-bottom"));}}return X; 33};var P=function(){var X="100%";if(h.settings.slideWidth>0){if(h.settings.mode==="horizontal"){X=(h.settings.maxSlides*h.settings.slideWidth)+((h.settings.maxSlides-1)*h.settings.slideMargin); 34}else{X=h.settings.slideWidth;}}return X;};var G=function(){var Y=h.settings.slideWidth,X=h.viewport.width();if(h.settings.slideWidth===0||(h.settings.slideWidth>X&&!h.carousel)||h.settings.mode==="vertical"){Y=X; 35}else{if(h.settings.maxSlides>1&&h.settings.mode==="horizontal"){if(X>h.maxThreshold){return Y;}else{if(X<h.minThreshold){Y=(X-(h.settings.slideMargin*(h.settings.minSlides-1)))/h.settings.minSlides; 36}else{if(h.settings.shrinkItems){Y=Math.floor((X+h.settings.slideMargin)/(Math.ceil((X+h.settings.slideMargin)/(Y+h.settings.slideMargin)))-h.settings.slideMargin); 37}}}}}return Y;};var D=function(){var Y=1,X=null;if(h.settings.mode==="horizontal"&&h.settings.slideWidth>0){if(h.viewport.width()<h.minThreshold){Y=h.settings.minSlides; 38}else{if(h.viewport.width()>h.maxThreshold){Y=h.settings.maxSlides;}else{X=h.children.first().width()+h.settings.slideMargin;Y=Math.floor((h.viewport.width()+h.settings.slideMargin)/X)||1; 39}}}else{if(h.settings.mode==="vertical"){Y=h.settings.minSlides;}}return Y;};var y=function(){var Y=0,Z=0,X=0;if(h.settings.moveSlides>0){if(h.settings.infiniteLoop){Y=Math.ceil(h.children.length/r()); 40}else{while(Z<h.children.length){++Y;Z=X+D();X+=h.settings.moveSlides<=D()?h.settings.moveSlides:D();}return X;}}else{Y=Math.ceil(h.children.length/D()); 41}return Y;};var r=function(){if(h.settings.moveSlides>0&&h.settings.moveSlides<=D()){return h.settings.moveSlides;}return D();};var g=function(){var X,Z,Y; 42if(h.children.length>h.settings.maxSlides&&h.active.last&&!h.settings.infiniteLoop){if(h.settings.mode==="horizontal"){Z=h.children.last();X=Z.position(); 43E(-(X.left-(h.viewport.width()-Z.outerWidth())),"reset",0);}else{if(h.settings.mode==="vertical"){Y=h.children.length-h.settings.minSlides;X=h.children.eq(Y).position(); 44E(-X.top,"reset",0);}}}else{X=h.children.eq(h.active.index*r()).position();if(h.active.index===y()-1){h.active.last=true;}if(X!==undefined){if(h.settings.mode==="horizontal"){E(-X.left,"reset",0); 45}else{if(h.settings.mode==="vertical"){E(-X.top,"reset",0);}}}}};var E=function(Z,Y,aa,ac){var X,ab;if(h.usingCSS){ab=h.settings.mode==="vertical"?"translate3d(0, "+Z+"px, 0)":"translate3d("+Z+"px, 0, 0)"; 46L.css("-"+h.cssPrefix+"-transition-duration",aa/1000+"s");if(Y==="slide"){L.css(h.animProp,ab);if(aa!==0){L.on("transitionend webkitTransitionEnd oTransitionEnd MSTransitionEnd",function(ad){if(!a(ad.target).is(L)){return; 47}L.off("transitionend webkitTransitionEnd oTransitionEnd MSTransitionEnd");p();});}else{p();}}else{if(Y==="reset"){L.css(h.animProp,ab);}else{if(Y==="ticker"){L.css("-"+h.cssPrefix+"-transition-timing-function","linear"); 48L.css(h.animProp,ab);if(aa!==0){L.on("transitionend webkitTransitionEnd oTransitionEnd MSTransitionEnd",function(ad){if(!a(ad.target).is(L)){return;}L.off("transitionend webkitTransitionEnd oTransitionEnd MSTransitionEnd"); 49E(ac.resetValue,"reset",0);x();});}else{E(ac.resetValue,"reset",0);x();}}}}}else{X={};X[h.animProp]=Z;if(Y==="slide"){L.animate(X,aa,h.settings.easing,function(){p(); 50});}else{if(Y==="reset"){L.css(h.animProp,Z);}else{if(Y==="ticker"){L.animate(X,aa,"linear",function(){E(ac.resetValue,"reset",0);x();});}}}}};var s=function(){var aa="",X="",Z=y(); 51for(var Y=0;Y<Z;Y++){X="";if(h.settings.buildPager&&a.isFunction(h.settings.buildPager)||h.settings.pagerCustom){X=h.settings.buildPager(Y);h.pagerEl.addClass("bx-custom-pager"); 52}else{X=Y+1;h.pagerEl.addClass("bx-default-pager");}aa+='<div class="bx-pager-item"><a href="" data-slide-index="'+Y+'" class="bx-pager-link">'+X+"</a></div>"; 53}h.pagerEl.html(aa);};var T=function(){if(!h.settings.pagerCustom){h.pagerEl=a('<div class="bx-pager" />');if(h.settings.pagerSelector){a(h.settings.pagerSelector).html(h.pagerEl); 54}else{h.controls.el.addClass("bx-has-pager").append(h.pagerEl);}s();}else{h.pagerEl=a(h.settings.pagerCustom);}h.pagerEl.on("click touchend","a",A);};var j=function(){h.controls.next=a('<a class="bx-next" href="">'+h.settings.nextText+"</a>"); 55h.controls.prev=a('<a class="bx-prev" href="">'+h.settings.prevText+"</a>");h.controls.next.on("click touchend",f);h.controls.prev.on("click touchend",S); 56if(h.settings.nextSelector){a(h.settings.nextSelector).append(h.controls.next);}if(h.settings.prevSelector){a(h.settings.prevSelector).append(h.controls.prev); 57}if(!h.settings.nextSelector&&!h.settings.prevSelector){h.controls.directionEl=a('<div class="bx-controls-direction" />');h.controls.directionEl.append(h.controls.prev).append(h.controls.next); 58h.controls.el.addClass("bx-has-controls-direction").append(h.controls.directionEl);}};var O=function(){h.controls.start=a('<div class="bx-controls-auto-item"><a class="bx-start" href="">'+h.settings.startText+"</a></div>"); 59h.controls.stop=a('<div class="bx-controls-auto-item"><a class="bx-stop" href="">'+h.settings.stopText+"</a></div>");h.controls.autoEl=a('<div class="bx-controls-auto" />'); 60h.controls.autoEl.on("click",".bx-start",z);h.controls.autoEl.on("click",".bx-stop",U);if(h.settings.autoControlsCombine){h.controls.autoEl.append(h.controls.start); 61}else{h.controls.autoEl.append(h.controls.start).append(h.controls.stop);}if(h.settings.autoControlsSelector){a(h.settings.autoControlsSelector).html(h.controls.autoEl); 62}else{h.controls.el.addClass("bx-has-controls-auto").append(h.controls.autoEl);}K(h.settings.autoStart?"stop":"start");};var C=function(){h.children.each(function(X){var Y=a(this).find("img:first").attr("title"); 63if(Y!==undefined&&(""+Y).length){a(this).append('<div class="bx-caption"><span>'+Y+"</span></div>");}});};var f=function(X){X.preventDefault();if(h.controls.el.hasClass("disabled")){return; 64}if(h.settings.auto&&h.settings.stopAutoOnClick){L.stopAuto();}L.goToNextSlide();};var S=function(X){X.preventDefault();if(h.controls.el.hasClass("disabled")){return; 65}if(h.settings.auto&&h.settings.stopAutoOnClick){L.stopAuto();}L.goToPrevSlide();};var z=function(X){L.startAuto();X.preventDefault();};var U=function(X){L.stopAuto(); 66X.preventDefault();};var A=function(Z){var Y,X;Z.preventDefault();if(h.controls.el.hasClass("disabled")){return;}if(h.settings.auto&&h.settings.stopAutoOnClick){L.stopAuto(); 67}Y=a(Z.currentTarget);if(Y.attr("data-slide-index")!==undefined){X=parseInt(Y.attr("data-slide-index"));if(X!==h.active.index){L.goToSlide(X);}}};var W=function(Y){var X=h.children.length; 68if(h.settings.pagerType==="short"){if(h.settings.maxSlides>1){X=Math.ceil(h.children.length/h.settings.maxSlides);}h.pagerEl.html((Y+1)+h.settings.pagerShortSeparator+X); 69return;}h.pagerEl.find("a").removeClass("active");h.pagerEl.each(function(Z,aa){a(aa).find("a").eq(Y).addClass("active");});};var p=function(){if(h.settings.infiniteLoop){var X=""; 70if(h.active.index===0){X=h.children.eq(0).position();}else{if(h.active.index===y()-1&&h.carousel){X=h.children.eq((y()-1)*r()).position();}else{if(h.active.index===h.children.length-1){X=h.children.eq(h.children.length-1).position(); 71}}}if(X){if(h.settings.mode==="horizontal"){E(-X.left,"reset",0);}else{if(h.settings.mode==="vertical"){E(-X.top,"reset",0);}}}}h.working=false;h.settings.onSlideAfter.call(L,h.children.eq(h.active.index),h.oldIndex,h.active.index); 72};var K=function(X){if(h.settings.autoControlsCombine){h.controls.autoEl.html(h.controls[X]);}else{h.controls.autoEl.find("a").removeClass("active");h.controls.autoEl.find("a:not(.bx-"+X+")").addClass("active"); 73}};var k=function(){if(y()===1){h.controls.prev.addClass("disabled");h.controls.next.addClass("disabled");}else{if(!h.settings.infiniteLoop&&h.settings.hideControlOnEnd){if(h.active.index===0){h.controls.prev.addClass("disabled"); 74h.controls.next.removeClass("disabled");}else{if(h.active.index===y()-1){h.controls.next.addClass("disabled");h.controls.prev.removeClass("disabled");}else{h.controls.prev.removeClass("disabled"); 75h.controls.next.removeClass("disabled");}}}}};var o=function(){L.startAuto();};var q=function(){L.stopAuto();};var d=function(){if(h.settings.autoDelay>0){setTimeout(L.startAuto,h.settings.autoDelay); 76}else{L.startAuto();a(window).focus(o).blur(q);}if(h.settings.autoHover){L.hover(function(){if(h.interval){L.stopAuto(true);h.autoPaused=true;}},function(){if(h.autoPaused){L.startAuto(true); 77h.autoPaused=null;}});}};var J=function(){var Y=0,Z,X,ad,ae,ac,af,ab,aa;if(h.settings.autoDirection==="next"){L.append(h.children.clone().addClass("bx-clone")); 78}else{L.prepend(h.children.clone().addClass("bx-clone"));Z=h.children.first().position();Y=h.settings.mode==="horizontal"?-Z.left:-Z.top;}E(Y,"reset",0); 79h.settings.pager=false;h.settings.controls=false;h.settings.autoControls=false;if(h.settings.tickerHover){if(h.usingCSS){ae=h.settings.mode==="horizontal"?4:5; 80h.viewport.hover(function(){X=L.css("-"+h.cssPrefix+"-transform");ad=parseFloat(X.split(",")[ae]);E(ad,"reset",0);},function(){aa=0;h.children.each(function(ag){aa+=h.settings.mode==="horizontal"?a(this).outerWidth(true):a(this).outerHeight(true); 81});ac=h.settings.speed/aa;af=h.settings.mode==="horizontal"?"left":"top";ab=ac*(aa-(Math.abs(parseInt(ad))));x(ab);});}else{h.viewport.hover(function(){L.stop(); 82},function(){aa=0;h.children.each(function(ag){aa+=h.settings.mode==="horizontal"?a(this).outerWidth(true):a(this).outerHeight(true);});ac=h.settings.speed/aa; 83af=h.settings.mode==="horizontal"?"left":"top";ab=ac*(aa-(Math.abs(parseInt(L.css(af)))));x(ab);});}}x();};var x=function(ad){var ab=ad?ad:h.settings.speed,X={left:0,top:0},aa={left:0,top:0},Z,Y,ac; 84if(h.settings.autoDirection==="next"){X=L.find(".bx-clone").first().position();}else{aa=h.children.first().position();}Z=h.settings.mode==="horizontal"?-X.left:-X.top; 85Y=h.settings.mode==="horizontal"?-aa.left:-aa.top;ac={resetValue:Y};E(Z,"ticker",ab,ac);};var V=function(Y){var aa=a(window),X={top:aa.scrollTop(),left:aa.scrollLeft()},Z=Y.offset(); 86X.right=X.left+aa.width();X.bottom=X.top+aa.height();Z.right=Z.left+Y.outerWidth();Z.bottom=Z.top+Y.outerHeight();return(!(X.right<Z.left||X.left>Z.right||X.bottom<Z.top||X.top>Z.bottom)); 87};var w=function(ab){var Z=document.activeElement.tagName.toLowerCase(),Y="input|textarea",aa=new RegExp(Z,["i"]),X=aa.exec(Y);if(X==null&&V(L)){if(ab.keyCode===39){f(ab); 88return false;}else{if(ab.keyCode===37){S(ab);return false;}}}};var e=function(){h.touch={start:{x:0,y:0},end:{x:0,y:0}};h.viewport.on("touchstart MSPointerDown pointerdown",I); 89h.viewport.on("click",".bxslider a",function(X){if(h.viewport.hasClass("click-disabled")){X.preventDefault();h.viewport.removeClass("click-disabled");}}); 90};var I=function(Z){if(Z.type!=="touchstart"&&Z.button!==0){return;}Z.preventDefault();h.controls.el.addClass("disabled");if(h.working){h.controls.el.removeClass("disabled"); 91}else{h.touch.originalPos=L.position();var aa=Z.originalEvent,Y=(typeof aa.changedTouches!=="undefined")?aa.changedTouches:[aa];var X=typeof PointerEvent==="function"; 92if(X){if(aa.pointerId===undefined){return;}}h.touch.start.x=Y[0].pageX;h.touch.start.y=Y[0].pageY;if(h.viewport.get(0).setPointerCapture){h.pointerId=aa.pointerId; 93h.viewport.get(0).setPointerCapture(h.pointerId);}h.originalClickTarget=aa.originalTarget||aa.target;h.originalClickButton=aa.button;h.originalClickButtons=aa.buttons; 94h.originalEventType=aa.type;h.hasMove=false;h.viewport.on("touchmove MSPointerMove pointermove",M);h.viewport.on("touchend MSPointerUp pointerup",B);h.viewport.on("MSPointerCancel pointercancel",R); 95}};var R=function(X){X.preventDefault();E(h.touch.originalPos.left,"reset",0);h.controls.el.removeClass("disabled");h.viewport.off("MSPointerCancel pointercancel",R); 96h.viewport.off("touchmove MSPointerMove pointermove",M);h.viewport.off("touchend MSPointerUp pointerup",B);if(h.viewport.get(0).releasePointerCapture){h.viewport.get(0).releasePointerCapture(h.pointerId); 97}};var M=function(Z){var ad=Z.originalEvent,Y=(typeof ad.changedTouches!=="undefined")?ad.changedTouches:[ad],aa=Math.abs(Y[0].pageX-h.touch.start.x),ac=Math.abs(Y[0].pageY-h.touch.start.y),X=0,ab=0; 98h.hasMove=true;if((aa*3)>ac&&h.settings.preventDefaultSwipeX){Z.preventDefault();}else{if((ac*3)>aa&&h.settings.preventDefaultSwipeY){Z.preventDefault(); 99}}if(Z.type!=="touchmove"){Z.preventDefault();}if(h.settings.mode!=="fade"&&h.settings.oneToOneTouch){if(h.settings.mode==="horizontal"){ab=Y[0].pageX-h.touch.start.x; 100X=h.touch.originalPos.left+ab;}else{ab=Y[0].pageY-h.touch.start.y;X=h.touch.originalPos.top+ab;}E(X,"reset",0);}};var B=function(Z){Z.preventDefault(); 101h.viewport.off("touchmove MSPointerMove pointermove",M);h.controls.el.removeClass("disabled");var ab=Z.originalEvent,Y=(typeof ab.changedTouches!=="undefined")?ab.changedTouches:[ab],X=0,aa=0; 102h.touch.end.x=Y[0].pageX;h.touch.end.y=Y[0].pageY;if(h.settings.mode==="fade"){aa=Math.abs(h.touch.start.x-h.touch.end.x);if(aa>=h.settings.swipeThreshold){if(h.touch.start.x>h.touch.end.x){L.goToNextSlide(); 103}else{L.goToPrevSlide();}L.stopAuto();}}else{if(h.settings.mode==="horizontal"){aa=h.touch.end.x-h.touch.start.x;X=h.touch.originalPos.left;}else{aa=h.touch.end.y-h.touch.start.y; 104X=h.touch.originalPos.top;}if(!h.settings.infiniteLoop&&((h.active.index===0&&aa>0)||(h.active.last&&aa<0))){E(X,"reset",200);}else{if(Math.abs(aa)>=h.settings.swipeThreshold){if(aa<0){L.goToNextSlide(); 105}else{L.goToPrevSlide();}L.stopAuto();}else{E(X,"reset",200);}}}h.viewport.off("touchend MSPointerUp pointerup",B);if(h.viewport.get(0).releasePointerCapture){h.viewport.get(0).releasePointerCapture(h.pointerId); 106}if(h.hasMove===false&&(h.originalClickButton===0||h.originalEventType==="touchstart")){a(h.originalClickTarget).trigger({type:"click",button:h.originalClickButton,buttons:h.originalClickButtons}); 107}};var m=function(Y){if(!h.initialized){return;}if(h.working){window.setTimeout(m,10);}else{var X=a(window).width(),Z=a(window).height();if(N!==X||Q!==Z){N=X; 108Q=Z;L.redrawSlider();h.settings.onSliderResize.call(L,h.active.index);}}};var v=function(Y){var X=D();if(h.settings.ariaHidden&&!h.settings.ticker){h.children.attr("aria-hidden","true"); 109h.children.slice(Y,Y+X).attr("aria-hidden","false");}};var H=function(X){if(X<0){if(h.settings.infiniteLoop){return y()-1;}else{return h.active.index;}}else{if(X>=y()){if(h.settings.infiniteLoop){return 0; 110}else{return h.active.index;}}else{return X;}}};L.goToSlide=function(ab,ae){var ad=true,ac=0,aa={left:0,top:0},X=null,Z,ag,af,Y;h.oldIndex=h.active.index; 111h.active.index=H(ab);if(h.working||h.active.index===h.oldIndex){return;}h.working=true;ad=h.settings.onSlideBefore.call(L,h.children.eq(h.active.index),h.oldIndex,h.active.index); 112if(typeof(ad)!=="undefined"&&!ad){h.active.index=h.oldIndex;h.working=false;return;}if(ae==="next"){if(!h.settings.onSlideNext.call(L,h.children.eq(h.active.index),h.oldIndex,h.active.index)){ad=false; 113}}else{if(ae==="prev"){if(!h.settings.onSlidePrev.call(L,h.children.eq(h.active.index),h.oldIndex,h.active.index)){ad=false;}}}h.active.last=h.active.index>=y()-1; 114if(h.settings.pager||h.settings.pagerCustom){W(h.active.index);}if(h.settings.controls){k();}if(h.settings.mode==="fade"){if(h.settings.adaptiveHeight&&h.viewport.height()!==n()){h.viewport.animate({height:n()},h.settings.adaptiveHeightSpeed); 115}h.children.filter(":visible").fadeOut(h.settings.speed).css({zIndex:0});h.children.eq(h.active.index).css("zIndex",h.settings.slideZIndex+1).fadeIn(h.settings.speed,function(){a(this).css("zIndex",h.settings.slideZIndex); 116p();});}else{if(h.settings.adaptiveHeight&&h.viewport.height()!==n()){h.viewport.animate({height:n()},h.settings.adaptiveHeightSpeed);}if(!h.settings.infiniteLoop&&h.carousel&&h.active.last){if(h.settings.mode==="horizontal"){X=h.children.eq(h.children.length-1); 117aa=X.position();ac=h.viewport.width()-X.outerWidth();}else{Z=h.children.length-h.settings.minSlides;aa=h.children.eq(Z).position();}}else{if(h.carousel&&h.active.last&&ae==="prev"){ag=h.settings.moveSlides===1?h.settings.maxSlides-r():((y()-1)*r())-(h.children.length-h.settings.maxSlides); 118X=L.children(".bx-clone").eq(ag);aa=X.position();}else{if(ae==="next"&&h.active.index===0){aa=L.find("> .bx-clone").eq(h.settings.maxSlides).position(); 119h.active.last=false;}else{if(ab>=0){Y=ab*parseInt(r());aa=h.children.eq(Y).position();}}}}if(typeof(aa)!=="undefined"){af=h.settings.mode==="horizontal"?-(aa.left-ac):-aa.top; 120E(af,"slide",h.settings.speed);}h.working=false;}if(h.settings.ariaHidden){v(h.active.index*r());}};L.goToNextSlide=function(){if(!h.settings.infiniteLoop&&h.active.last){return; 121}if(h.working===true){return;}var X=parseInt(h.active.index)+1;L.goToSlide(X,"next");};L.goToPrevSlide=function(){if(!h.settings.infiniteLoop&&h.active.index===0){return; 122}if(h.working===true){return;}var X=parseInt(h.active.index)-1;L.goToSlide(X,"prev");};L.startAuto=function(X){if(h.interval){return;}h.interval=setInterval(function(){if(h.settings.autoDirection==="next"){L.goToNextSlide(); 123}else{L.goToPrevSlide();}},h.settings.pause);h.settings.onAutoChange.call(L,true);if(h.settings.autoControls&&X!==true){K("stop");}};L.stopAuto=function(X){if(h.autoPaused){h.autoPaused=false; 124}if(!h.interval){return;}clearInterval(h.interval);h.interval=null;h.settings.onAutoChange.call(L,false);if(h.settings.autoControls&&X!==true){K("start"); 125}};L.getCurrentSlide=function(){return h.active.index;};L.getCurrentSlideElement=function(){return h.children.eq(h.active.index);};L.getSlideElement=function(X){return h.children.eq(X); 126};L.getSlideCount=function(){return h.children.length;};L.isWorking=function(){return h.working;};L.redrawSlider=function(){h.children.add(L.find(".bx-clone")).outerWidth(G()); 127h.viewport.css("height",n());if(!h.settings.ticker){g();}if(h.active.last){h.active.index=y()-1;}if(h.active.index>=y()){h.active.last=true;}if(h.settings.pager&&!h.settings.pagerCustom){s(); 128W(h.active.index);}if(h.settings.ariaHidden){v(h.active.index*r());}};L.destroySlider=function(){if(!h.initialized){return;}h.initialized=false;a(".bx-clone",this).remove(); 129h.children.each(function(){if(a(this).data("origStyle")!==undefined){a(this).attr("style",a(this).data("origStyle"));}else{a(this).removeAttr("style"); 130}});if(a(this).data("origStyle")!==undefined){this.attr("style",a(this).data("origStyle"));}else{a(this).removeAttr("style");}a(this).unwrap().unwrap(); 131if(h.controls.el){h.controls.el.remove();}if(h.controls.next){h.controls.next.remove();}if(h.controls.prev){h.controls.prev.remove();}if(h.pagerEl&&h.settings.controls&&!h.settings.pagerCustom){h.pagerEl.remove(); 132}a(".bx-caption",this).remove();if(h.controls.autoEl){h.controls.autoEl.remove();}clearInterval(h.interval);if(h.settings.responsive){a(window).off("resize",m); 133}if(h.settings.keyboardEnabled){a(document).off("keydown",w);}a(this).removeData("bxSlider");a(window).off("blur",q).off("focus",o);};L.reloadSlider=function(X){if(X!==undefined){t=X; 134}L.destroySlider();F();a(L).data("bxSlider",this);};F();a(L).data("bxSlider",this);return this;};})(jQuery);
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.