!function(R){var Z={mode:"horizontal",slideSelector:"",infiniteLoop:!0,hideControlOnEnd:!1,speed:500,easing:null,slideMargin:0,startSlide:0,randomStart:!1,captions:!1,ticker:!1,tickerHover:!1,adaptiveHeight:!1,adaptiveHeightSpeed:500,video:!1,useCSS:!0,preloadImages:"visible",responsive:!0,slideZIndex:50,wrapperClass:"bx-wrapper",touchEnabled:!0,swipeThreshold:50,oneToOneTouch:!0,preventDefaultSwipeX:!0,preventDefaultSwipeY:!1,ariaLive:!0,ariaHidden:!0,keyboardEnabled:!1,pager:!0,pagerType:"full",pagerShortSeparator:" / ",pagerSelector:null,buildPager:null,pagerCustom:null,controls:!0,nextText:"Next",prevText:"Prev",nextSelector:null,prevSelector:null,autoControls:!1,startText:"Start",stopText:"Stop",autoControlsCombine:!1,autoControlsSelector:null,auto:!1,pause:4e3,autoStart:!0,autoDirection:"next",stopAutoOnClick:!1,autoHover:!1,autoDelay:0,autoSlideForOnePage:!1,minSlides:1,maxSlides:1,moveSlides:0,slideWidth:0,shrinkItems:!1,onSliderLoad:function(){return!0},onSlideBefore:function(){return!0},onSlideAfter:function(){return!0},onSlideNext:function(){return!0},onSlidePrev:function(){return!0},onSliderResize:function(){return!0}};R.fn.bxSlider=function(e){var d,c,n,s,o,t,r,a,l,g,h,p,u,v,f,x,m,S,b,w,C,T,E,k,P,O,y,z,M,I,F,N,q,X,A,Y,V,H,W,D,L;return 0===this.length?this:1
'),d.viewport=c.parent(),d.settings.ariaLive&&!d.settings.ticker&&d.viewport.attr("aria-live","polite"),d.loader=R('
'),d.viewport.prepend(d.loader),c.css({width:"horizontal"===d.settings.mode?1e3*d.children.length+215+"%":"auto",position:"relative"}),d.usingCSS&&d.settings.easing?c.css("-"+d.cssPrefix+"-transition-timing-function",d.settings.easing):d.settings.easing||(d.settings.easing="swing"),d.viewport.css({width:"100%",overflow:"hidden",position:"relative"}),d.viewport.parent().css({maxWidth:g()}),d.settings.pager||d.settings.controls||d.viewport.parent().css({margin:"0 auto 0px"}),d.children.css({float:"horizontal"===d.settings.mode?"left":"none",listStyle:"none",position:"relative"}),d.children.css("width",h()),"horizontal"===d.settings.mode&&0'),d.settings.captions&&C(),d.active.last=d.settings.startSlide===u()-1,d.settings.video&&c.fitVids(),"all"!==d.settings.preloadImages&&!d.settings.ticker||(t=d.children),d.settings.ticker?d.settings.pager=!1:(d.settings.controls&&b(),d.settings.auto&&d.settings.autoControls&&w(),d.settings.pager&&S(),(d.settings.controls||d.settings.autoControls||d.settings.pager)&&d.viewport.after(d.controls.el)),r(t,a)},r=function(t,e){var i=t.find('img:not([src=""]), iframe').length,n=0;0===i?e():t.find('img:not([src=""]), iframe').each(function(){R(this).one("load error",function(){++n===i&&e()}).each(function(){setTimeout(()=>{!this.complete&&""!=this.src||R(this).trigger("load")},0)})})},a=function(){var t,e;d.settings.infiniteLoop&&"fade"!==d.settings.mode&&!d.settings.ticker&&(e="vertical"===d.settings.mode?d.settings.minSlides:d.settings.maxSlides,t=d.children.slice(0,e).clone(!0).addClass("bx-clone"),e=d.children.slice(-e).clone(!0).addClass("bx-clone"),d.settings.ariaHidden&&(t.attr("aria-hidden",!0),e.attr("aria-hidden",!0)),c.append(t).prepend(e)),d.loader.remove(),f(),"vertical"===d.settings.mode&&(d.settings.adaptiveHeight=!0),d.viewport.height(l()),c.redrawSlider(),d.settings.onSliderLoad.call(c,d.active.index),d.initialized=!0,d.settings.responsive&&R(window).bind("resize",D),d.settings.auto&&d.settings.autoStart&&(1=d.children.length?t.add(d.children.eq(i-1)):t.add(d.children.eq(n+i))}else t=d.children.eq(d.active.index);else t=d.children;return"vertical"===d.settings.mode?(t.each(function(t){e+=R(this).outerHeight()}),0e&&!d.carousel||"vertical"===d.settings.mode)t=e;else if(1d.maxThreshold)return t;ed.maxThreshold?d.settings.maxSlides:(t=d.children.first().width()+d.settings.slideMargin,Math.floor((d.viewport.width()+d.settings.slideMargin)/t)):"vertical"===d.settings.mode&&(e=d.settings.minSlides),e},u=function(){var t=0,e=0,i=0;if(0d.settings.maxSlides&&d.active.last&&!d.settings.infiniteLoop?"horizontal"===d.settings.mode?(t=(e=d.children.last()).position(),x(-(t.left-(d.viewport.width()-e.outerWidth())),"reset",0)):"vertical"===d.settings.mode&&(e=d.children.length-d.settings.minSlides,t=d.children.eq(e).position(),x(-t.top,"reset",0)):(t=d.children.eq(d.active.index*v()).position(),d.active.index===u()-1&&(d.active.last=!0),void 0!==t&&("horizontal"===d.settings.mode?x(-t.left,"reset",0):"vertical"===d.settings.mode&&x(-t.top,"reset",0)))},x=function(t,e,i,n){var s;d.usingCSS?(s="vertical"===d.settings.mode?"translate3d(0, "+t+"px, 0)":"translate3d("+t+"px, 0, 0)",c.css("-"+d.cssPrefix+"-transition-duration",i/1e3+"s"),"slide"===e?(c.css(d.animProp,s),0!==i?c.bind("transitionend webkitTransitionEnd oTransitionEnd MSTransitionEnd",function(t){R(t.target).is(c)&&(c.unbind("transitionend webkitTransitionEnd oTransitionEnd MSTransitionEnd"),z())}):z()):"reset"===e?c.css(d.animProp,s):"ticker"===e&&(c.css("-"+d.cssPrefix+"-transition-timing-function","linear"),c.css(d.animProp,s),0!==i?c.bind("transitionend webkitTransitionEnd oTransitionEnd MSTransitionEnd",function(t){R(t.target).is(c)&&(c.unbind("transitionend webkitTransitionEnd oTransitionEnd MSTransitionEnd"),x(n.resetValue,"reset",0),q())}):(x(n.resetValue,"reset",0),q()))):((s={})[d.animProp]=t,"slide"===e?c.animate(s,i,d.settings.easing,function(){z()}):"reset"===e?c.css(d.animProp,t):"ticker"===e&&c.animate(s,i,"linear",function(){x(n.resetValue,"reset",0),q()}))},m=function(){for(var t="",e="",i=u(),n=0;n'+e+"
";d.pagerEl.html(t)},S=function(){d.settings.pagerCustom?d.pagerEl=R(d.settings.pagerCustom):(d.pagerEl=R('
'),d.settings.pagerSelector?R(d.settings.pagerSelector).html(d.pagerEl):d.controls.el.addClass("bx-has-pager").append(d.pagerEl),m()),d.pagerEl.on("click touchend","a",O)},b=function(){d.controls.next=R(''+d.settings.nextText+""),d.controls.prev=R(''+d.settings.prevText+""),d.controls.next.bind("click touchend",T),d.controls.prev.bind("click touchend",E),d.settings.nextSelector&&R(d.settings.nextSelector).append(d.controls.next),d.settings.prevSelector&&R(d.settings.prevSelector).append(d.controls.prev),d.settings.nextSelector||d.settings.prevSelector||(d.controls.directionEl=R('
'),d.controls.directionEl.append(d.controls.prev).append(d.controls.next),d.controls.el.addClass("bx-has-controls-direction").append(d.controls.directionEl))},w=function(){d.controls.start=R('"),d.controls.stop=R('"),d.controls.autoEl=R('
'),d.controls.autoEl.on("click",".bx-start",k),d.controls.autoEl.on("click",".bx-stop",P),d.settings.autoControlsCombine?d.controls.autoEl.append(d.controls.start):d.controls.autoEl.append(d.controls.start).append(d.controls.stop),d.settings.autoControlsSelector?R(d.settings.autoControlsSelector).html(d.controls.autoEl):d.controls.el.addClass("bx-has-controls-auto").append(d.controls.autoEl),M(d.settings.autoStart?"stop":"start")},C=function(){d.children.each(function(t){var e=R(this).find("img:first").attr("title");void 0!==e&&(""+e).length&&R(this).append('
'+e+"
")})},T=function(t){t.preventDefault(),d.controls.el.hasClass("disabled")||(d.settings.auto&&d.settings.stopAutoOnClick&&c.stopAuto(),c.goToNextSlide())},E=function(t){t.preventDefault(),d.controls.el.hasClass("disabled")||(d.settings.auto&&d.settings.stopAutoOnClick&&c.stopAuto(),c.goToPrevSlide())},k=function(t){c.startAuto(),t.preventDefault()},P=function(t){c.stopAuto(),t.preventDefault()},O=function(t){t.preventDefault(),d.controls.el.hasClass("disabled")||(d.settings.auto&&d.settings.stopAutoOnClick&&c.stopAuto(),void 0!==(t=R(t.currentTarget)).attr("data-slide-index")&&(t=parseInt(t.attr("data-slide-index")))!==d.active.index&&c.goToSlide(t))},y=function(i){var t=d.children.length;"short"===d.settings.pagerType?(1n.right||i.bottomn.bottom)},A=function(t){var e=document.activeElement.tagName.toLowerCase();if(null==new RegExp(e,["i"]).exec("input|textarea")&&X(c))return 39===t.keyCode?(T(t),!1):37===t.keyCode?(E(t),!1):void 0},Y=function(){d.touch={start:{x:0,y:0},end:{x:0,y:0}},d.viewport.bind("touchstart",V),d.viewport.on("click",".bxslider a",function(t){d.viewport.hasClass("click-disabled")&&(t.preventDefault(),d.viewport.removeClass("click-disabled"))})},V=function(t){d.controls.el.addClass("disabled"),d.working?(t.preventDefault(),d.controls.el.removeClass("disabled")):(d.touch.originalPos=c.position(),t=void 0!==(t=t.originalEvent).changedTouches?t.changedTouches:[t],d.touch.start.x=t[0].pageX,d.touch.start.y=t[0].pageY,d.viewport.bind("touchmove",H),d.viewport.bind("touchend",W))},H=function(t){var e=t.originalEvent,e=void 0!==e.changedTouches?e.changedTouches:[e],i=Math.abs(e[0].pageX-d.touch.start.x),n=Math.abs(e[0].pageY-d.touch.start.y),s=0,o=0;(n<3*i&&d.settings.preventDefaultSwipeX||i<3*n&&d.settings.preventDefaultSwipeY)&&t.preventDefault(),"fade"!==d.settings.mode&&d.settings.oneToOneTouch&&(s="horizontal"===d.settings.mode?(o=e[0].pageX-d.touch.start.x,d.touch.originalPos.left+o):(o=e[0].pageY-d.touch.start.y,d.touch.originalPos.top+o),x(s,"reset",0))},W=function(t){d.viewport.unbind("touchmove",H),d.controls.el.removeClass("disabled");var t=t.originalEvent,e=void 0!==t.changedTouches?t.changedTouches:[t],i=0,n=0;d.touch.end.x=e[0].pageX,d.touch.end.y=e[0].pageY,"fade"===d.settings.mode?(n=Math.abs(d.touch.start.x-d.touch.end.x))>=d.settings.swipeThreshold&&(d.touch.start.x>d.touch.end.x?c.goToNextSlide():c.goToPrevSlide(),c.stopAuto()):(i="horizontal"===d.settings.mode?(n=d.touch.end.x-d.touch.start.x,d.touch.originalPos.left):(n=d.touch.end.y-d.touch.start.y,d.touch.originalPos.top),(d.settings.infiniteLoop||!(0===d.active.index&&0=d.settings.swipeThreshold?(n<0?c.goToNextSlide():c.goToPrevSlide(),c.stopAuto()):x(i,"reset",200)),d.viewport.unbind("touchend",W),"function"==typeof PointerEvent&&void 0===t.pointerId||d.viewport.get(0).releasePointerCapture&&d.viewport.get(0).releasePointerCapture(d.pointerId)},D=function(t){var e,i;d.initialized&&(d.working?window.setTimeout(D,10):(e=R(window).width(),i=R(window).height(),n===e&&s===i||(n=e,s=i,c.redrawSlider(),d.settings.onSliderResize.call(c,d.active.index))))},L=function(t){var e=p();d.settings.ariaHidden&&!d.settings.ticker&&(d.children.attr("aria-hidden","true"),d.children.slice(t,t+e).attr("aria-hidden","false"))},c.goToSlide=function(t,e){var i,n=!0,s=0,o={left:0,top:0},r=null;d.oldIndex=d.active.index,d.active.index=(i=t)<0?d.settings.infiniteLoop?u()-1:d.active.index:i>=u()?d.settings.infiniteLoop?0:d.active.index:i,d.working||d.active.index===d.oldIndex||(d.working=!0,void 0===(n=d.settings.onSlideBefore.call(c,d.children.eq(d.active.index),d.oldIndex,d.active.index))||n?("next"===e?d.settings.onSlideNext.call(c,d.children.eq(d.active.index),d.oldIndex,d.active.index)||(n=!1):"prev"!==e||d.settings.onSlidePrev.call(c,d.children.eq(d.active.index),d.oldIndex,d.active.index)||(n=!1),d.active.last=d.active.index>=u()-1,(d.settings.pager||d.settings.pagerCustom)&&y(d.active.index),d.settings.controls&&I(),"fade"===d.settings.mode?(d.settings.adaptiveHeight&&d.viewport.height()!==l()&&d.viewport.animate({height:l()},d.settings.adaptiveHeightSpeed),d.children.filter(":visible").fadeOut(d.settings.speed).css({zIndex:0}),d.children.eq(d.active.index).css("zIndex",d.settings.slideZIndex+1).fadeIn(d.settings.speed,function(){R(this).css("zIndex",d.settings.slideZIndex),z()})):(d.settings.adaptiveHeight&&d.viewport.height()!==l()&&d.viewport.animate({height:l()},d.settings.adaptiveHeightSpeed),!d.settings.infiniteLoop&&d.carousel&&d.active.last?"horizontal"===d.settings.mode?(o=(r=d.children.eq(d.children.length-1)).position(),s=d.viewport.width()-r.outerWidth()):(i=d.children.length-d.settings.minSlides,o=d.children.eq(i).position()):d.carousel&&d.active.last&&"prev"===e?(n=1===d.settings.moveSlides?d.settings.maxSlides-v():(u()-1)*v()-(d.children.length-d.settings.maxSlides),o=(r=c.children(".bx-clone").eq(n)).position()):"next"===e&&0===d.active.index?(o=c.find("> .bx-clone").eq(d.settings.maxSlides).position(),d.active.last=!1):0<=t&&(i=t*parseInt(v()),o=d.children.eq(i).position()),void 0!==o?(n="horizontal"===d.settings.mode?-(o.left-s):-o.top,x(n,"slide",d.settings.speed)):d.working=!1),d.settings.ariaHidden&&L(d.active.index*v())):(d.active.index=d.oldIndex,d.working=!1))},c.goToNextSlide=function(){var t;!d.settings.infiniteLoop&&d.active.last||(t=parseInt(d.active.index)+1,c.goToSlide(t,"next"))},c.goToPrevSlide=function(){var t;!d.settings.infiniteLoop&&0===d.active.index||(t=parseInt(d.active.index)-1,c.goToSlide(t,"prev"))},c.startAuto=function(t){d.interval||(d.interval=setInterval(function(){"next"===d.settings.autoDirection?c.goToNextSlide():c.goToPrevSlide()},d.settings.pause),d.settings.autoControls&&!0!==t&&M("stop"))},c.stopAuto=function(t){d.interval&&(clearInterval(d.interval),d.interval=null,d.settings.autoControls)&&!0!==t&&M("start")},c.getCurrentSlide=function(){return d.active.index},c.getCurrentSlideElement=function(){return d.children.eq(d.active.index)},c.getSlideElement=function(t){return d.children.eq(t)},c.getSlideCount=function(){return d.children.length},c.isWorking=function(){return d.working},c.redrawSlider=function(){d.children.add(c.find(".bx-clone")).outerWidth(h()),d.viewport.css("height",l()),d.settings.ticker||f(),d.active.last&&(d.active.index=u()-1),d.active.index>=u()&&(d.active.last=!0),d.settings.pager&&!d.settings.pagerCustom&&(m(),y(d.active.index)),d.settings.ariaHidden&&L(d.active.index*v())},c.destroySlider=function(){d.initialized&&(d.initialized=!1,R(".bx-clone",this).remove(),d.children.each(function(){void 0!==R(this).data("origStyle")?R(this).attr("style",R(this).data("origStyle")):R(this).removeAttr("style")}),void 0!==R(this).data("origStyle")?this.attr("style",R(this).data("origStyle")):R(this).removeAttr("style"),R(this).unwrap().unwrap(),d.controls.el&&d.controls.el.remove(),d.controls.next&&d.controls.next.remove(),d.controls.prev&&d.controls.prev.remove(),d.pagerEl&&d.settings.controls&&!d.settings.pagerCustom&&d.pagerEl.remove(),R(".bx-caption",this).remove(),d.controls.autoEl&&d.controls.autoEl.remove(),clearInterval(d.interval),d.settings.responsive&&R(window).unbind("resize",D),d.settings.keyboardEnabled&&R(document).unbind("keydown",A),R(this).removeData("bxSlider"))},c.reloadSlider=function(t){void 0!==t&&(e=t),c.destroySlider(),o(),R(c).data("bxSlider",this)},o(),R(c).data("bxSlider",this),this))}}(jQuery);