!function(){"use strict";function aM(aM){aM.fn.swiper=function(eA){var df;return aM(this).each(function(){var aM=new Swiper(this,eA);df||(df=aM)}),df}}window.Swiper=function(aM,eA){function df(){return"horizontal"===dO.params.direction}function fM(){dO.autoplayTimeoutId=setTimeout(function(){dO.params.loop?(dO.fixLoop(),dO._slideNext()):dO.isEnd?eA.autoplayStopOnLast?dO.stopAutoplay():dO._slideTo(0):dO._slideNext()},dO.params.autoplay)}function ei(aM,eA){var df=ah(aM.target);if(!df.is(eA))if("string"==typeof eA)df=df.parents(eA);else if(eA.nodeType){var fM;return df.parents().each(function(aM,df){df===eA&&(fM=eA)}),fM?eA:void 0}return 0===df.length?void 0:df[0]}function bJ(aM,eA){eA=eA||{};var df=window.MutationObserver||window.WebkitMutationObserver,fM=new df(function(aM){aM.forEach(function(aM){dO.onResize(),dO.emit("onObserverUpdate",dO,aM)})});fM.observe(aM,{attributes:"undefined"==typeof eA.attributes?!0:eA.attributes,childList:"undefined"==typeof eA.childList?!0:eA.childList,characterData:"undefined"==typeof eA.characterData?!0:eA.characterData}),dO.observers.push(fM)}function cb(aM){aM.originalEvent&&(aM=aM.originalEvent);var eA=aM.keyCode||aM.charCode;if(!(aM.shiftKey||aM.altKey||aM.ctrlKey||aM.metaKey||document.activeElement&&document.activeElement.nodeName&&("input"===document.activeElement.nodeName.toLowerCase()||"textarea"===document.activeElement.nodeName.toLowerCase()))){if(37===eA||39===eA||38===eA||40===eA){var fM=!1;if(dO.container.parents(".swiper-slide").length>0&&0===dO.container.parents(".swiper-slide-active").length)return;for(var ei={left:window.pageXOffset,top:window.pageYOffset},bJ=window.innerWidth,cb=window.innerHeight,fb=dO.container.offset(),fZ=[[fb.left,fb.top],[fb.left+dO.width,fb.top],[fb.left,fb.top+dO.height],[fb.left+dO.width,fb.top+dO.height]],gV=0;gV=ei.left&&dY[0]<=ei.left+bJ&&dY[1]>=ei.top&&dY[1]<=ei.top+cb&&(fM=!0)}if(!fM)return}df()?((37===eA||39===eA)&&(aM.preventDefault?aM.preventDefault():aM.returnValue=!1),39===eA&&dO.slideNext(),37===eA&&dO.slidePrev()):((38===eA||40===eA)&&(aM.preventDefault?aM.preventDefault():aM.returnValue=!1),40===eA&&dO.slideNext(),38===eA&&dO.slidePrev())}}function fb(aM){aM.originalEvent&&(aM=aM.originalEvent);var eA=dO._wheelEvent,fM=0;if(aM.detail)fM=-aM.detail;else if("mousewheel"===eA)if(dO.params.mousewheelForceToAxis)if(df()){if(!(Math.abs(aM.wheelDeltaX)>Math.abs(aM.wheelDeltaY)))return;fM=aM.wheelDeltaX}else{if(!(Math.abs(aM.wheelDeltaY)>Math.abs(aM.wheelDeltaX)))return;fM=aM.wheelDeltaY}else fM=aM.wheelDelta;else if("DOMMouseScroll"===eA)fM=-aM.detail;else if("wheel"===eA)if(dO.params.mousewheelForceToAxis)if(df()){if(!(Math.abs(aM.deltaX)>Math.abs(aM.deltaY)))return;fM=-aM.deltaX}else{if(!(Math.abs(aM.deltaY)>Math.abs(aM.deltaX)))return;fM=-aM.deltaY}else fM=Math.abs(aM.deltaX)>Math.abs(aM.deltaY)?-aM.deltaX:-aM.deltaY;if(dO.params.freeMode){var ei=dO.getWrapperTranslate()+fM;if(ei>0&&(ei=0),ei60&&(0>fM?dO.slideNext():dO.slidePrev()),dO._lastWheelScrollTime=(new Date).getTime();return dO.params.autoplay&&dO.stopAutoplay(),aM.preventDefault?aM.preventDefault():aM.returnValue=!1,!1}function fZ(aM,eA){aM=ah(aM);var fM,ei,bJ;fM=aM.attr("data-swiper-parallax")||"0",ei=aM.attr("data-swiper-parallax-x"),bJ=aM.attr("data-swiper-parallax-y"),ei||bJ?(ei=ei||"0",bJ=bJ||"0"):df()?(ei=fM,bJ="0"):(bJ=fM,ei="0"),ei=ei.indexOf("%")>=0?parseInt(ei,10)*eA+"%":ei*eA+"px",bJ=bJ.indexOf("%")>=0?parseInt(bJ,10)*eA+"%":bJ*eA+"px",aM.transform("translate3d("+ei+", "+bJ+",0px)")}function gV(aM){return 0!==aM.indexOf("on")&&(aM=aM[0]!==aM[0].toUpperCase()?"on"+aM[0].toUpperCase()+aM.substring(1):"on"+aM),aM}if(!(this instanceof Swiper))return new Swiper(aM,eA);var dY={direction:"horizontal",touchEventsTarget:"container",initialSlide:0,speed:300,autoplay:!1,autoplayDisableOnInteraction:!0,freeMode:!1,freeModeMomentum:!0,freeModeMomentumRatio:1,freeModeMomentumBounce:!0,freeModeMomentumBounceRatio:1,setWrapperSize:!1,virtualTranslate:!1,effect:"slide",coverflow:{rotate:50,stretch:0,depth:100,modifier:1,slideShadows:!0},cube:{slideShadows:!0,shadow:!0,shadowOffset:20,shadowScale:.94},fade:{crossFade:!1},parallax:!1,scrollbar:null,scrollbarHide:!0,keyboardControl:!1,mousewheelControl:!1,mousewheelForceToAxis:!1,hashnav:!1,spaceBetween:0,slidesPerView:1,slidesPerColumn:1,slidesPerColumnFill:"column",slidesPerGroup:1,centeredSlides:!1,touchRatio:1,touchAngle:45,simulateTouch:!0,shortSwipes:!0,longSwipes:!0,longSwipesRatio:.5,longSwipesMs:300,followFinger:!0,onlyExternal:!1,threshold:0,touchMoveStopPropagation:!0,pagination:null,paginationClickable:!1,paginationHide:!1,paginationBulletRender:null,resistance:!0,resistanceRatio:.85,nextButton:null,prevButton:null,watchSlidesProgress:!1,watchSlidesVisibility:!1,grabCursor:!1,preventClicks:!0,preventClicksPropagation:!0,slideToClickedSlide:!1,lazyLoading:!1,lazyLoadingInPrevNext:!1,lazyLoadingOnTransitionStart:!1,preloadImages:!0,updateOnImagesReady:!0,loop:!1,loopAdditionalSlides:0,loopedSlides:null,control:void 0,controlInverse:!1,allowSwipeToPrev:!0,allowSwipeToNext:!0,swipeHandler:null,noSwiping:!0,noSwipingClass:"swiper-no-swiping",slideClass:"swiper-slide",slideActiveClass:"swiper-slide-active",slideVisibleClass:"swiper-slide-visible",slideDuplicateClass:"swiper-slide-duplicate",slideNextClass:"swiper-slide-next",slidePrevClass:"swiper-slide-prev",wrapperClass:"swiper-wrapper",bulletClass:"swiper-pagination-bullet",bulletActiveClass:"swiper-pagination-bullet-active",buttonDisabledClass:"swiper-button-disabled",paginationHiddenClass:"swiper-pagination-hidden",observer:!1,observeParents:!1,a11y:!1,prevSlideMessage:"Previous slide",nextSlideMessage:"Next slide",firstSlideMessage:"This is the first slide",lastSlideMessage:"This is the last slide",runCallbacksOnInit:!0};eA=eA||{};for(var eh in dY)if("undefined"==typeof eA[eh])eA[eh]=dY[eh];else if("object"==typeof eA[eh])for(var cI in dY[eh])"undefined"==typeof eA[eh][cI]&&(eA[eh][cI]=dY[eh][cI]);var dO=this;dO.params=eA,dO.classNames=[];var ah;if(ah="undefined"==typeof Dom7?window.Dom7||window.Zepto||window.jQuery:Dom7,ah&&(dO.$=ah,dO.container=ah(aM),0!==dO.container.length)){if(dO.container.length>1)return void dO.container.each(function(){new Swiper(this,eA)});dO.container[0].swiper=dO,dO.container.data("swiper",dO),dO.classNames.push("swiper-container-"+dO.params.direction),dO.params.freeMode&&dO.classNames.push("swiper-container-free-mode"),dO.support.flexbox||(dO.classNames.push("swiper-container-no-flexbox"),dO.params.slidesPerColumn=1),(dO.params.parallax||dO.params.watchSlidesVisibility)&&(dO.params.watchSlidesProgress=!0),["cube","coverflow"].indexOf(dO.params.effect)>=0&&(dO.support.transforms3d?(dO.params.watchSlidesProgress=!0,dO.classNames.push("swiper-container-3d")):dO.params.effect="slide"),"slide"!==dO.params.effect&&dO.classNames.push("swiper-container-"+dO.params.effect),"cube"===dO.params.effect&&(dO.params.resistanceRatio=0,dO.params.slidesPerView=1,dO.params.slidesPerColumn=1,dO.params.slidesPerGroup=1,dO.params.centeredSlides=!1,dO.params.spaceBetween=0,dO.params.virtualTranslate=!0,dO.params.setWrapperSize=!1),"fade"===dO.params.effect&&(dO.params.slidesPerView=1,dO.params.slidesPerColumn=1,dO.params.slidesPerGroup=1,dO.params.watchSlidesProgress=!0,dO.params.spaceBetween=0,dO.params.virtualTranslate=!0),dO.params.grabCursor&&dO.support.touch&&(dO.params.grabCursor=!1),dO.wrapper=dO.container.children("."+dO.params.wrapperClass),dO.params.pagination&&(dO.paginationContainer=ah(dO.params.pagination),dO.params.paginationClickable&&dO.paginationContainer.addClass("swiper-pagination-clickable")),dO.rtl=df()&&("rtl"===dO.container[0].dir.toLowerCase()||"rtl"===dO.container.css("direction")),dO.rtl&&dO.classNames.push("swiper-container-rtl"),dO.rtl&&(dO.wrongRTL="-webkit-box"===dO.wrapper.css("display")),dO.params.slidesPerColumn>1&&dO.classNames.push("swiper-container-multirow"),dO.device.android&&dO.classNames.push("swiper-container-android"),dO.container.addClass(dO.classNames.join(" ")),dO.translate=0,dO.progress=0,dO.velocity=0,dO.lockSwipeToNext=function(){dO.params.allowSwipeToNext=!1},dO.lockSwipeToPrev=function(){dO.params.allowSwipeToPrev=!1},dO.lockSwipes=function(){dO.params.allowSwipeToNext=dO.params.allowSwipeToPrev=!1},dO.unlockSwipeToNext=function(){dO.params.allowSwipeToNext=!0},dO.unlockSwipeToPrev=function(){dO.params.allowSwipeToPrev=!0},dO.unlockSwipes=function(){dO.params.allowSwipeToNext=dO.params.allowSwipeToPrev=!0},dO.params.grabCursor&&(dO.container[0].style.cursor="move",dO.container[0].style.cursor="-webkit-grab",dO.container[0].style.cursor="-moz-grab",dO.container[0].style.cursor="grab"),dO.imagesToLoad=[],dO.imagesLoaded=0,dO.loadImage=function(aM,eA,df,fM){function ei(){fM&&fM()}var bJ;aM.complete&&df?ei():eA?(bJ=new Image,bJ.onload=ei,bJ.onerror=ei,bJ.src=eA):ei()},dO.preloadImages=function(){function aM(){"undefined"!=typeof dO&&null!==dO&&(void 0!==dO.imagesLoaded&&dO.imagesLoaded++,dO.imagesLoaded===dO.imagesToLoad.length&&(dO.params.updateOnImagesReady&&dO.update(),dO.emit("onImagesReady",dO)))}dO.imagesToLoad=dO.container.find("img");for(var eA=0;eA=0&&(eA=parseFloat(eA.replace("%",""))/100*dO.size),dO.virtualSize=-eA,dO.slides.css(dO.rtl?{marginLeft:"",marginTop:""}:{marginRight:"",marginBottom:""});var cb;dO.params.slidesPerColumn>1&&(cb=Math.floor(dO.slides.length/dO.params.slidesPerColumn)===dO.slides.length/dO.params.slidesPerColumn?dO.slides.length:Math.ceil(dO.slides.length/dO.params.slidesPerColumn)*dO.params.slidesPerColumn);var fb;for(aM=0;aM1){var gV,dY,eh,cI,ah=dO.params.slidesPerColumn;"column"===dO.params.slidesPerColumnFill?(dY=Math.floor(aM/ah),eh=aM-dY*ah,gV=dY+eh*cb/ah,fZ.css({"-webkit-box-ordinal-group":gV,"-moz-box-ordinal-group":gV,"-ms-flex-order":gV,"-webkit-order":gV,order:gV})):(cI=cb/ah,eh=Math.floor(aM/cI),dY=aM-eh*cI),fZ.css({"margin-top":0!==eh&&dO.params.spaceBetween&&dO.params.spaceBetween+"px"}).attr("data-swiper-column",dY).attr("data-swiper-row",eh)}"none"!==fZ.css("display")&&("auto"===dO.params.slidesPerView?fb=df()?fZ.outerWidth(!0):fZ.outerHeight(!0):(fb=(dO.size-(dO.params.slidesPerView-1)*eA)/dO.params.slidesPerView,df()?dO.slides[aM].style.width=fb+"px":dO.slides[aM].style.height=fb+"px"),dO.slides[aM].swiperSlideSize=fb,dO.slidesSizesGrid.push(fb),dO.params.centeredSlides?(fM=fM+fb/2+ei/2+eA,0===aM&&(fM=fM-dO.size/2-eA),Math.abs(fM)<.001&&(fM=0),bJ%dO.params.slidesPerGroup===0&&dO.snapGrid.push(fM),dO.slidesGrid.push(fM)):(bJ%dO.params.slidesPerGroup===0&&dO.snapGrid.push(fM),dO.slidesGrid.push(fM),fM=fM+fb+eA),dO.virtualSize+=fb+eA,ei=fb,bJ++)}dO.virtualSize=Math.max(dO.virtualSize,dO.size);var aG;if(dO.rtl&&dO.wrongRTL&&("slide"===dO.params.effect||"coverflow"===dO.params.effect)&&dO.wrapper.css({width:dO.virtualSize+dO.params.spaceBetween+"px"}),(!dO.support.flexbox||dO.params.setWrapperSize)&&dO.wrapper.css(df()?{width:dO.virtualSize+dO.params.spaceBetween+"px"}:{height:dO.virtualSize+dO.params.spaceBetween+"px"}),dO.params.slidesPerColumn>1&&(dO.virtualSize=(fb+dO.params.spaceBetween)*cb,dO.virtualSize=Math.ceil(dO.virtualSize/dO.params.slidesPerColumn)-dO.params.spaceBetween,dO.wrapper.css({width:dO.virtualSize+dO.params.spaceBetween+"px"}),dO.params.centeredSlides)){for(aG=[],aM=0;aMMath.floor(dO.snapGrid[dO.snapGrid.length-1])&&dO.snapGrid.push(dO.virtualSize-dO.size)}0===dO.snapGrid.length&&(dO.snapGrid=[0]),0!==dO.params.spaceBetween&&dO.slides.css(df()?dO.rtl?{marginLeft:eA+"px"}:{marginRight:eA+"px"}:{marginBottom:eA+"px"}),dO.params.watchSlidesProgress&&dO.updateSlidesOffset()},dO.updateSlidesOffset=function(){for(var aM=0;aM=0&&fb0&&fZ<=dO.size||0>=fb&&fZ>=dO.size;gV&&dO.slides.eq(fM).addClass(dO.params.slideVisibleClass)}ei.progress=dO.rtl?-cb:cb}}},dO.updateProgress=function(aM){"undefined"==typeof aM&&(aM=dO.translate||0);var eA=dO.maxTranslate()-dO.minTranslate();0===eA?(dO.progress=0,dO.isBeginning=dO.isEnd=!0):(dO.progress=(aM-dO.minTranslate())/eA,dO.isBeginning=dO.progress<=0,dO.isEnd=dO.progress>=1),dO.isBeginning&&dO.emit("onReachBeginning",dO),dO.isEnd&&dO.emit("onReachEnd",dO),dO.params.watchSlidesProgress&&dO.updateSlidesProgress(aM),dO.emit("onProgress",dO,dO.progress)},dO.updateActiveIndex=function(){var aM,eA,df,fM=dO.rtl?dO.translate:-dO.translate;for(eA=0;eA=dO.slidesGrid[eA]&&fM=dO.slidesGrid[eA]&&fM=dO.slidesGrid[eA]&&(aM=eA);(0>aM||"undefined"==typeof aM)&&(aM=0),df=Math.floor(aM/dO.params.slidesPerGroup),df>=dO.snapGrid.length&&(df=dO.snapGrid.length-1),aM!==dO.activeIndex&&(dO.snapIndex=df,dO.previousIndex=dO.activeIndex,dO.activeIndex=aM,dO.updateClasses())},dO.updateClasses=function(){dO.slides.removeClass(dO.params.slideActiveClass+" "+dO.params.slideNextClass+" "+dO.params.slidePrevClass);var aM=dO.slides.eq(dO.activeIndex);if(aM.addClass(dO.params.slideActiveClass),aM.next("."+dO.params.slideClass).addClass(dO.params.slideNextClass),aM.prev("."+dO.params.slideClass).addClass(dO.params.slidePrevClass),dO.bullets&&dO.bullets.length>0){dO.bullets.removeClass(dO.params.bulletActiveClass);var eA;dO.params.loop?(eA=Math.ceil(dO.activeIndex-dO.loopedSlides)/dO.params.slidesPerGroup,eA>dO.slides.length-1-2*dO.loopedSlides&&(eA-=dO.slides.length-2*dO.loopedSlides),eA>dO.bullets.length-1&&(eA-=dO.bullets.length)):eA="undefined"!=typeof dO.snapIndex?dO.snapIndex:dO.activeIndex||0,dO.paginationContainer.length>1?dO.bullets.each(function(){ah(this).index()===eA&&ah(this).addClass(dO.params.bulletActiveClass)}):dO.bullets.eq(eA).addClass(dO.params.bulletActiveClass)}dO.params.loop||(dO.params.prevButton&&(dO.isBeginning?(ah(dO.params.prevButton).addClass(dO.params.buttonDisabledClass),dO.params.a11y&&dO.a11y&&dO.a11y.disable(ah(dO.params.prevButton))):(ah(dO.params.prevButton).removeClass(dO.params.buttonDisabledClass),dO.params.a11y&&dO.a11y&&dO.a11y.enable(ah(dO.params.prevButton)))),dO.params.nextButton&&(dO.isEnd?(ah(dO.params.nextButton).addClass(dO.params.buttonDisabledClass),dO.params.a11y&&dO.a11y&&dO.a11y.disable(ah(dO.params.nextButton))):(ah(dO.params.nextButton).removeClass(dO.params.buttonDisabledClass),dO.params.a11y&&dO.a11y&&dO.a11y.enable(ah(dO.params.nextButton)))))},dO.updatePagination=function(){if(dO.params.pagination&&dO.paginationContainer&&dO.paginationContainer.length>0){for(var aM="",eA=dO.params.loop?Math.ceil((dO.slides.length-2*dO.loopedSlides)/dO.params.slidesPerGroup):dO.snapGrid.length,df=0;eA>df;df++)aM+=dO.params.paginationBulletRender?dO.params.paginationBulletRender(df,dO.params.bulletClass):'';dO.paginationContainer.html(aM),dO.bullets=dO.paginationContainer.find("."+dO.params.bulletClass)}},dO.update=function(aM){function eA(){fM=Math.min(Math.max(dO.translate,dO.maxTranslate()),dO.minTranslate()),dO.setWrapperTranslate(fM),dO.updateActiveIndex(),dO.updateClasses()}if(dO.updateContainerSize(),dO.updateSlidesSize(),dO.updateProgress(),dO.updatePagination(),dO.updateClasses(),dO.params.scrollbar&&dO.scrollbar&&dO.scrollbar.set(),aM){var df,fM;dO.params.freeMode?eA():(df="auto"===dO.params.slidesPerView&&dO.isEnd&&!dO.params.centeredSlides?dO.slideTo(dO.slides.length-1,0,!1,!0):dO.slideTo(dO.activeIndex,0,!1,!0),df||eA())}},dO.onResize=function(){if(dO.updateContainerSize(),dO.updateSlidesSize(),dO.updateProgress(),("auto"===dO.params.slidesPerView||dO.params.freeMode)&&dO.updatePagination(),dO.params.scrollbar&&dO.scrollbar&&dO.scrollbar.set(),dO.params.freeMode){var aM=Math.min(Math.max(dO.translate,dO.maxTranslate()),dO.minTranslate());dO.setWrapperTranslate(aM),dO.updateActiveIndex(),dO.updateClasses()}else dO.updateClasses(),"auto"===dO.params.slidesPerView&&dO.isEnd&&!dO.params.centeredSlides?dO.slideTo(dO.slides.length-1,0,!1,!0):dO.slideTo(dO.activeIndex,0,!1,!0)};var aG=["mousedown","mousemove","mouseup"];window.navigator.pointerEnabled?aG=["pointerdown","pointermove","pointerup"]:window.navigator.msPointerEnabled&&(aG=["MSPointerDown","MSPointerMove","MSPointerUp"]),dO.touchEvents={start:dO.support.touch||!dO.params.simulateTouch?"touchstart":aG[0],move:dO.support.touch||!dO.params.simulateTouch?"touchmove":aG[1],end:dO.support.touch||!dO.params.simulateTouch?"touchend":aG[2]},(window.navigator.pointerEnabled||window.navigator.msPointerEnabled)&&("container"===dO.params.touchEventsTarget?dO.container:dO.wrapper).addClass("swiper-wp8-"+dO.params.direction),dO.initEvents=function(aM){var df=aM?"off":"on",fM=aM?"removeEventListener":"addEventListener",ei="container"===dO.params.touchEventsTarget?dO.container[0]:dO.wrapper[0],bJ=dO.support.touch?ei:document,cb=dO.params.nested?!0:!1;dO.browser.ie?(ei[fM](dO.touchEvents.start,dO.onTouchStart,!1),bJ[fM](dO.touchEvents.move,dO.onTouchMove,cb),bJ[fM](dO.touchEvents.end,dO.onTouchEnd,!1)):(dO.support.touch&&(ei[fM](dO.touchEvents.start,dO.onTouchStart,!1),ei[fM](dO.touchEvents.move,dO.onTouchMove,cb),ei[fM](dO.touchEvents.end,dO.onTouchEnd,!1)),!eA.simulateTouch||dO.device.ios||dO.device.android||(ei[fM]("mousedown",dO.onTouchStart,!1),bJ[fM]("mousemove",dO.onTouchMove,cb),bJ[fM]("mouseup",dO.onTouchEnd,!1))),window[fM]("resize",dO.onResize),dO.params.nextButton&&(ah(dO.params.nextButton)[df]("click",dO.onClickNext),dO.params.a11y&&dO.a11y&&ah(dO.params.nextButton)[df]("keydown",dO.a11y.onEnterKey)),dO.params.prevButton&&(ah(dO.params.prevButton)[df]("click",dO.onClickPrev),dO.params.a11y&&dO.a11y&&ah(dO.params.prevButton)[df]("keydown",dO.a11y.onEnterKey)),dO.params.pagination&&dO.params.paginationClickable&&ah(dO.paginationContainer)[df]("click","."+dO.params.bulletClass,dO.onClickIndex),(dO.params.preventClicks||dO.params.preventClicksPropagation)&&ei[fM]("click",dO.preventClicks,!0)},dO.attachEvents=function(){dO.initEvents()},dO.detachEvents=function(){dO.initEvents(!0)},dO.allowClick=!0,dO.preventClicks=function(aM){dO.allowClick||(dO.params.preventClicks&&aM.preventDefault(),dO.params.preventClicksPropagation&&(aM.stopPropagation(),aM.stopImmediatePropagation()))},dO.onClickNext=function(aM){aM.preventDefault(),dO.slideNext()},dO.onClickPrev=function(aM){aM.preventDefault(),dO.slidePrev()},dO.onClickIndex=function(aM){aM.preventDefault();var eA=ah(this).index()*dO.params.slidesPerGroup;dO.params.loop&&(eA+=dO.loopedSlides),dO.slideTo(eA)},dO.updateClickedSlide=function(aM){var eA=ei(aM,"."+dO.params.slideClass);if(!eA)return dO.clickedSlide=void 0,void(dO.clickedIndex=void 0);if(dO.clickedSlide=eA,dO.clickedIndex=ah(eA).index(),dO.params.slideToClickedSlide&&void 0!==dO.clickedIndex&&dO.clickedIndex!==dO.activeIndex){var df,fM=dO.clickedIndex;if(dO.params.loop)if(df=ah(dO.clickedSlide).attr("data-swiper-slide-index"),fM>dO.slides.length-dO.params.slidesPerView)dO.fixLoop(),fM=dO.wrapper.children("."+dO.params.slideClass+'[data-swiper-slide-index="'+df+'"]').eq(0).index(),setTimeout(function(){dO.slideTo(fM)},0);else if(fM0&&(cB=!1),"touchstart"!==aM.type){var eA=!0;ah(aM.target).is(eR)&&(eA=!1),document.activeElement&&ah(document.activeElement).is(eR)&&document.activeElement.blur(),eA&&aM.preventDefault()}dO.emit("onTouchStart",dO,aM)}}},dO.onTouchMove=function(aM){if(aM.originalEvent&&(aM=aM.originalEvent),!(gO&&"mousemove"===aM.type||aM.preventedByNestedSwiper)){if(dO.params.onlyExternal)return cF=!0,void(dO.allowClick=!1);if(gO&&document.activeElement&&aM.target===document.activeElement&&ah(aM.target).is(eR))return cF=!0,void(dO.allowClick=!1);if(dO.emit("onTouchMove",dO,aM),!(aM.targetTouches&&aM.targetTouches.length>1)){if(dO.touches.currentX="touchmove"===aM.type?aM.targetTouches[0].pageX:aM.pageX,dO.touches.currentY="touchmove"===aM.type?aM.targetTouches[0].pageY:aM.pageY,"undefined"==typeof eC){var fM=180*Math.atan2(Math.abs(dO.touches.currentY-dO.touches.startY),Math.abs(dO.touches.currentX-dO.touches.startX))/Math.PI;eC=df()?fM>dO.params.touchAngle:90-fM>dO.params.touchAngle}if(eC&&dO.emit("onTouchMoveOpposite",dO,aM),"undefined"==typeof aMaM&&dO.browser.ieTouch&&(dO.touches.currentX!==dO.touches.startX||dO.touches.currentY!==dO.touches.startY)&&(aMaM=!0),cd){if(eC)return void(cd=!1);if(aMaM||!dO.browser.ieTouch){dO.allowClick=!1,dO.emit("onSliderMove",dO,aM),aM.preventDefault(),dO.params.touchMoveStopPropagation&&!dO.params.nested&&aM.stopPropagation(),cF||(eA.loop&&dO.fixLoop(),cX=dO.getWrapperTranslate(),dO.setWrapperTransition(0),dO.animating&&dO.wrapper.trigger("webkitTransitionEnd transitionend oTransitionEnd MSTransitionEnd msTransitionEnd"),dO.params.autoplay&&dO.autoplaying&&(dO.params.autoplayDisableOnInteraction?dO.stopAutoplay():dO.pauseAutoplay()),bh=!1,dO.params.grabCursor&&(dO.container[0].style.cursor="move",dO.container[0].style.cursor="-webkit-grabbing",dO.container[0].style.cursor="-moz-grabbin",dO.container[0].style.cursor="grabbing")),cF=!0;var ei=dO.touches.diff=df()?dO.touches.currentX-dO.touches.startX:dO.touches.currentY-dO.touches.startY;ei*=dO.params.touchRatio,dO.rtl&&(ei=-ei),dO.swipeDirection=ei>0?"prev":"next",aU=ei+cX;var bJ=!0;if(ei>0&&aU>dO.minTranslate()?(bJ=!1,dO.params.resistance&&(aU=dO.minTranslate()-1+Math.pow(-dO.minTranslate()+cX+ei,dO.params.resistanceRatio))):0>ei&&aUaU&&(aU=cX),!dO.params.allowSwipeToPrev&&"prev"===dO.swipeDirection&&aU>cX&&(aU=cX),dO.params.followFinger){if(dO.params.threshold>0){if(!(Math.abs(ei)>dO.params.threshold||cB))return void(aU=cX);if(!cB)return cB=!0,dO.touches.startX=dO.touches.currentX,dO.touches.startY=dO.touches.currentY,aU=cX,void(dO.touches.diff=df()?dO.touches.currentX-dO.touches.startX:dO.touches.currentY-dO.touches.startY)}(dO.params.freeMode||dO.params.watchSlidesProgress)&&dO.updateActiveIndex(),dO.params.freeMode&&(0===fK.length&&fK.push({position:dO.touches[df()?"startX":"startY"],time:gN}),fK.push({position:dO.touches[df()?"currentX":"currentY"],time:(new Date).getTime()})),dO.updateProgress(aU),dO.setWrapperTranslate(aU)}}}}}},dO.onTouchEnd=function(aM){if(aM.originalEvent&&(aM=aM.originalEvent),dO.emit("onTouchEnd",dO,aM),cd){dO.params.grabCursor&&cF&&cd&&(dO.container[0].style.cursor="move",dO.container[0].style.cursor="-webkit-grab",dO.container[0].style.cursor="-moz-grab",dO.container[0].style.cursor="grab");var eA=Date.now(),df=eA-gN;if(dO.allowClick&&(dO.updateClickedSlide(aM),dO.emit("onTap",dO,aM),300>df&&eA-ab>300&&(dG&&clearTimeout(dG),dG=setTimeout(function(){dO&&(dO.params.paginationHide&&dO.paginationContainer.length>0&&!ah(aM.target).hasClass(dO.params.bulletClass)&&dO.paginationContainer.toggleClass(dO.params.paginationHiddenClass),dO.emit("onClick",dO,aM))},300)),300>df&&300>eA-ab&&(dG&&clearTimeout(dG),dO.emit("onDoubleTap",dO,aM))),ab=Date.now(),setTimeout(function(){dO&&dO.allowClick&&(dO.allowClick=!0)},0),!cd||!cF||!dO.swipeDirection||0===dO.touches.diff||aU===cX)return void(cd=cF=!1);cd=cF=!1;var fM;if(fM=dO.params.followFinger?dO.rtl?dO.translate:-dO.translate:-aU,dO.params.freeMode){if(fM<-dO.minTranslate())return void dO.slideTo(dO.activeIndex);if(fM>-dO.maxTranslate())return void dO.slideTo(dO.slides.length-1);if(dO.params.freeModeMomentum){if(fK.length>1){var ei=fK.pop(),bJ=fK.pop(),cb=ei.position-bJ.position,fb=ei.time-bJ.time;dO.velocity=cb/fb,dO.velocity=dO.velocity/2,Math.abs(dO.velocity)<.02&&(dO.velocity=0),(fb>150||(new Date).getTime()-ei.time>300)&&(dO.velocity=0)}else dO.velocity=0;fK.length=0;var fZ=1e3*dO.params.freeModeMomentumRatio,gV=dO.velocity*fZ,dY=dO.translate+gV;dO.rtl&&(dY=-dY);var eh,cI=!1,aG=20*Math.abs(dO.velocity)*dO.params.freeModeMomentumBounceRatio;dYdO.minTranslate()&&(dO.params.freeModeMomentumBounce?(dY-dO.minTranslate()>aG&&(dY=dO.minTranslate()+aG),eh=dO.minTranslate(),cI=!0,bh=!0):dY=dO.minTranslate()),0!==dO.velocity&&(fZ=Math.abs(dO.rtl?(-dY-dO.translate)/dO.velocity:(dY-dO.translate)/dO.velocity)),dO.params.freeModeMomentumBounce&&cI?(dO.updateProgress(eh),dO.setWrapperTransition(fZ),dO.setWrapperTranslate(dY),dO.onTransitionStart(),dO.animating=!0,dO.wrapper.transitionEnd(function(){bh&&(dO.emit("onMomentumBounce",dO),dO.setWrapperTransition(dO.params.speed),dO.setWrapperTranslate(eh),dO.wrapper.transitionEnd(function(){dO.onTransitionEnd()}))})):dO.velocity?(dO.updateProgress(dY),dO.setWrapperTransition(fZ),dO.setWrapperTranslate(dY),dO.onTransitionStart(),dO.animating||(dO.animating=!0,dO.wrapper.transitionEnd(function(){dO.onTransitionEnd()}))):dO.updateProgress(dY),dO.updateActiveIndex()}return void((!dO.params.freeModeMomentum||df>=dO.params.longSwipesMs)&&(dO.updateProgress(),dO.updateActiveIndex()))}var eC,cB=0,eR=dO.slidesSizesGrid[0];for(eC=0;eC=dO.slidesGrid[eC]&&fM=dO.slidesGrid[eC]&&(cB=eC,eR=dO.slidesGrid[dO.slidesGrid.length-1]-dO.slidesGrid[dO.slidesGrid.length-2]);var gO=(fM-dO.slidesGrid[cB])/eR;if(df>dO.params.longSwipesMs){if(!dO.params.longSwipes)return void dO.slideTo(dO.activeIndex);"next"===dO.swipeDirection&&dO.slideTo(gO>=dO.params.longSwipesRatio?cB+dO.params.slidesPerGroup:cB),"prev"===dO.swipeDirection&&dO.slideTo(gO>1-dO.params.longSwipesRatio?cB+dO.params.slidesPerGroup:cB)}else{if(!dO.params.shortSwipes)return void dO.slideTo(dO.activeIndex);"next"===dO.swipeDirection&&dO.slideTo(cB+dO.params.slidesPerGroup),"prev"===dO.swipeDirection&&dO.slideTo(cB)}}},dO._slideTo=function(aM,eA){return dO.slideTo(aM,eA,!0,!0)},dO.slideTo=function(aM,eA,fM,ei){"undefined"==typeof fM&&(fM=!0),"undefined"==typeof aM&&(aM=0),0>aM&&(aM=0),dO.snapIndex=Math.floor(aM/dO.params.slidesPerGroup),dO.snapIndex>=dO.snapGrid.length&&(dO.snapIndex=dO.snapGrid.length-1);var bJ=-dO.snapGrid[dO.snapIndex];dO.params.autoplay&&dO.autoplaying&&(ei||!dO.params.autoplayDisableOnInteraction?dO.pauseAutoplay(eA):dO.stopAutoplay()),dO.updateProgress(bJ);for(var cb=0;cb=dO.slidesGrid[cb]&&(aM=cb);if("undefined"==typeof eA&&(eA=dO.params.speed),dO.previousIndex=dO.activeIndex||0,dO.activeIndex=aM,bJ===dO.translate)return dO.updateClasses(),!1;dO.onTransitionStart(fM);df()?bJ:0,df()?0:bJ;return 0===eA?(dO.setWrapperTransition(0),dO.setWrapperTranslate(bJ),dO.onTransitionEnd(fM)):(dO.setWrapperTransition(eA),dO.setWrapperTranslate(bJ),dO.animating||(dO.animating=!0,dO.wrapper.transitionEnd(function(){dO.onTransitionEnd(fM)}))),dO.updateClasses(),!0},dO.onTransitionStart=function(aM){"undefined"==typeof aM&&(aM=!0),dO.lazy&&dO.lazy.onTransitionStart(),aM&&(dO.emit("onTransitionStart",dO),dO.activeIndex!==dO.previousIndex&&dO.emit("onSlideChangeStart",dO))},dO.onTransitionEnd=function(aM){dO.animating=!1,dO.setWrapperTransition(0),"undefined"==typeof aM&&(aM=!0),dO.lazy&&dO.lazy.onTransitionEnd(),aM&&(dO.emit("onTransitionEnd",dO),dO.activeIndex!==dO.previousIndex&&dO.emit("onSlideChangeEnd",dO)),dO.params.hashnav&&dO.hashnav&&dO.hashnav.setHash()},dO.slideNext=function(aM,eA,df){if(dO.params.loop){if(dO.animating)return!1;dO.fixLoop();{dO.container[0].clientLeft}return dO.slideTo(dO.activeIndex+dO.params.slidesPerGroup,eA,aM,df)}return dO.slideTo(dO.activeIndex+dO.params.slidesPerGroup,eA,aM,df)},dO._slideNext=function(aM){return dO.slideNext(!0,aM,!0)},dO.slidePrev=function(aM,eA,df){if(dO.params.loop){if(dO.animating)return!1;dO.fixLoop();{dO.container[0].clientLeft}return dO.slideTo(dO.activeIndex-1,eA,aM,df)}return dO.slideTo(dO.activeIndex-1,eA,aM,df)},dO._slidePrev=function(aM){return dO.slidePrev(!0,aM,!0)},dO.slideReset=function(aM,eA){return dO.slideTo(dO.activeIndex,eA,aM)},dO.setWrapperTransition=function(aM,eA){dO.wrapper.transition(aM),"slide"!==dO.params.effect&&dO.effects[dO.params.effect]&&dO.effects[dO.params.effect].setTransition(aM),dO.params.parallax&&dO.parallax&&dO.parallax.setTransition(aM),dO.params.scrollbar&&dO.scrollbar&&dO.scrollbar.setTransition(aM),dO.params.control&&dO.controller&&dO.controller.setTransition(aM,eA),dO.emit("onSetTransition",dO,aM)},dO.setWrapperTranslate=function(aM,eA,fM){var ei=0,bJ=0,cb=0;df()?ei=dO.rtl?-aM:aM:bJ=aM,dO.params.virtualTranslate||dO.wrapper.transform(dO.support.transforms3d?"translate3d("+ei+"px, "+bJ+"px, "+cb+"px)":"translate("+ei+"px, "+bJ+"px)"),dO.translate=df()?ei:bJ,eA&&dO.updateActiveIndex(),"slide"!==dO.params.effect&&dO.effects[dO.params.effect]&&dO.effects[dO.params.effect].setTranslate(dO.translate),dO.params.parallax&&dO.parallax&&dO.parallax.setTranslate(dO.translate),dO.params.scrollbar&&dO.scrollbar&&dO.scrollbar.setTranslate(dO.translate),dO.params.control&&dO.controller&&dO.controller.setTranslate(dO.translate,fM),dO.emit("onSetTranslate",dO,dO.translate)},dO.getTranslate=function(aM,eA){var df,fM,ei,bJ;return"undefined"==typeof eA&&(eA="x"),dO.params.virtualTranslate?dO.rtl?-dO.translate:dO.translate:(ei=window.getComputedStyle(aM,null),window.WebKitCSSMatrix?bJ=new WebKitCSSMatrix("none"===ei.webkitTransform?"":ei.webkitTransform):(bJ=ei.MozTransform||ei.OTransform||ei.MsTransform||ei.msTransform||ei.transform||ei.getPropertyValue("transform").replace("translate(","matrix(1, 0, 0, 1,"),df=bJ.toString().split(",")),"x"===eA&&(fM=window.WebKitCSSMatrix?bJ.m41:parseFloat(16===df.length?df[12]:df[4])),"y"===eA&&(fM=window.WebKitCSSMatrix?bJ.m42:parseFloat(16===df.length?df[13]:df[5])),dO.rtl&&fM&&(fM=-fM),fM||0)},dO.getWrapperTranslate=function(aM){return"undefined"==typeof aM&&(aM=df()?"x":"y"),dO.getTranslate(dO.wrapper[0],aM)},dO.observers=[],dO.initObservers=function(){if(dO.params.observeParents)for(var aM=dO.container.parents(),eA=0;eAaM.length&&(dO.loopedSlides=aM.length);var eA,df=[],fM=[];for(aM.each(function(eA,ei){var bJ=ah(this);eA=aM.length-dO.loopedSlides&&df.push(ei),bJ.attr("data-swiper-slide-index",eA)}),eA=0;eA=0;eA--)dO.wrapper.prepend(ah(df[eA].cloneNode(!0)).addClass(dO.params.slideDuplicateClass))},dO.destroyLoop=function(){dO.wrapper.children("."+dO.params.slideClass+"."+dO.params.slideDuplicateClass).remove()},dO.fixLoop=function(){var aM;dO.activeIndex=2*dO.loopedSlides||dO.activeIndex>dO.slides.length-2*dO.params.slidesPerView)&&(aM=-dO.slides.length+dO.activeIndex+dO.loopedSlides,aM+=dO.loopedSlides,dO.slideTo(aM,0,!1,!0))},dO.appendSlide=function(aM){if(dO.params.loop&&dO.destroyLoop(),"object"==typeof aM&&aM.length)for(var eA=0;eAeA&&df--;df=Math.max(df,0)}else eA=aM,dO.slides[eA]&&dO.slides.eq(eA).remove(),df>eA&&df--,df=Math.max(df,0);dO.params.observer&&dO.support.observer||dO.update(!0),dO.slideTo(df,0,!1)},dO.removeAllSlides=function(){for(var aM=[],eA=0;eA'),dO.wrapper.append(aM)),aM.css({height:dO.width+"px"})):(aM=dO.container.find(".swiper-cube-shadow"),0===aM.length&&(aM=ah('
'),dO.container.append(aM))));for(var fM=0;fM=fb&&fb>-1&&(eA=90*fM+90*fb,dO.rtl&&(eA=90*-fM-90*fb)),ei.transform(eh),dO.params.cube.slideShadows){var cI=ei.find(df()?".swiper-slide-shadow-left":".swiper-slide-shadow-top"),aG=ei.find(df()?".swiper-slide-shadow-right":".swiper-slide-shadow-bottom");0===cI.length&&(cI=ah('
'),ei.append(cI)),0===aG.length&&(aG=ah('
'),ei.append(aG));{ei[0].progress}cI.length&&(cI[0].style.opacity=-ei[0].progress),aG.length&&(aG[0].style.opacity=ei[0].progress)}}if(dO.wrapper.css({"-webkit-transform-origin":"50% 50% -"+dO.size/2+"px","-moz-transform-origin":"50% 50% -"+dO.size/2+"px","-ms-transform-origin":"50% 50% -"+dO.size/2+"px","transform-origin":"50% 50% -"+dO.size/2+"px"}),dO.params.cube.shadow)if(df())aM.transform("translate3d(0px, "+(dO.width/2+dO.params.cube.shadowOffset)+"px, "+-dO.width/2+"px) rotateX(90deg) rotateZ(0deg) scale("+dO.params.cube.shadowScale+")");else{var cd=Math.abs(eA)-90*Math.floor(Math.abs(eA)/90),cF=1.5-(Math.sin(2*cd*Math.PI/360)/2+Math.cos(2*cd*Math.PI/360)/2),gN=dO.params.cube.shadowScale,eC=dO.params.cube.shadowScale/cF,aU=dO.params.cube.shadowOffset;aM.transform("scale3d("+gN+", 1, "+eC+") translate3d(0px, "+(dO.height/2+aU)+"px, "+-dO.height/2/eC+"px) rotateX(-90deg)")}var cX=dO.isSafari||dO.isUiWebView?-dO.size/2:0;dO.wrapper.transform("translate3d(0px,0,"+cX+"px) rotateX("+(df()?0:eA)+"deg) rotateY("+(df()?-eA:0)+"deg)")},setTransition:function(aM){dO.slides.transition(aM).find(".swiper-slide-shadow-top, .swiper-slide-shadow-right, .swiper-slide-shadow-bottom, .swiper-slide-shadow-left").transition(aM),dO.params.cube.shadow&&!df()&&dO.container.find(".swiper-cube-shadow").transition(aM)}},coverflow:{setTranslate:function(){for(var aM=dO.translate,eA=df()?-aM+dO.width/2:-aM+dO.height/2,fM=df()?dO.params.coverflow.rotate:-dO.params.coverflow.rotate,ei=dO.params.coverflow.depth,bJ=0,cb=dO.slides.length;cb>bJ;bJ++){var fb=dO.slides.eq(bJ),fZ=dO.slidesSizesGrid[bJ],gV=fb[0].swiperSlideOffset,dY=(eA-gV-fZ/2)/fZ*dO.params.coverflow.modifier,eh=df()?fM*dY:0,cI=df()?0:fM*dY,aG=-ei*Math.abs(dY),cd=df()?0:dO.params.coverflow.stretch*dY,cF=df()?dO.params.coverflow.stretch*dY:0;Math.abs(cF)<.001&&(cF=0),Math.abs(cd)<.001&&(cd=0),Math.abs(aG)<.001&&(aG=0),Math.abs(eh)<.001&&(eh=0),Math.abs(cI)<.001&&(cI=0);var gN="translate3d("+cF+"px,"+cd+"px,"+aG+"px) rotateX("+cI+"deg) rotateY("+eh+"deg)";if(fb.transform(gN),fb[0].style.zIndex=-Math.abs(Math.round(dY))+1,dO.params.coverflow.slideShadows){var eC=fb.find(df()?".swiper-slide-shadow-left":".swiper-slide-shadow-top"),aU=fb.find(df()?".swiper-slide-shadow-right":".swiper-slide-shadow-bottom");0===eC.length&&(eC=ah('
'),fb.append(eC)),0===aU.length&&(aU=ah('
'),fb.append(aU)),eC.length&&(eC[0].style.opacity=dY>0?dY:0),aU.length&&(aU[0].style.opacity=-dY>0?-dY:0)}}if(dO.browser.ie){var cX=dO.wrapper[0].style;cX.perspectiveOrigin=eA+"px 50%"}},setTransition:function(aM){dO.slides.transition(aM).find(".swiper-slide-shadow-top, .swiper-slide-shadow-right, .swiper-slide-shadow-bottom, .swiper-slide-shadow-left").transition(aM)}}},dO.lazy={initialImageLoaded:!1,loadImageInSlide:function(aM){if("undefined"!=typeof aM&&0!==dO.slides.length){var eA=dO.slides.eq(aM),df=eA.find("img.swiper-lazy:not(.swiper-lazy-loaded):not(.swiper-lazy-loading)");0!==df.length&&df.each(function(){var aM=ah(this);aM.addClass("swiper-lazy-loading");var df=aM.attr("data-src");dO.loadImage(aM[0],df,!1,function(){aM.attr("src",df),aM.removeAttr("data-src"),aM.addClass("swiper-lazy-loaded").removeClass("swiper-lazy-loading"),eA.find(".swiper-lazy-preloader, .preloader").remove(),dO.emit("onLazyImageReady",dO,eA[0],aM[0])}),dO.emit("onLazyImageLoad",dO,eA[0],aM[0])})}},load:function(){if(dO.params.watchSlidesVisibility)dO.wrapper.children("."+dO.params.slideVisibleClass).each(function(){dO.lazy.loadImageInSlide(ah(this).index())});else if(dO.params.slidesPerView>1)for(var aM=dO.activeIndex;aM0&&dO.lazy.loadImageInSlide(eA.index());var df=dO.wrapper.children("."+dO.params.slidePrevClass);df.length>0&&dO.lazy.loadImageInSlide(df.index())}},onTransitionStart:function(){dO.params.lazyLoading&&(dO.params.lazyLoadingOnTransitionStart||!dO.params.lazyLoadingOnTransitionStart&&!dO.lazy.initialImageLoaded)&&(dO.lazy.initialImageLoaded=!0,dO.lazy.load())},onTransitionEnd:function(){dO.params.lazyLoading&&!dO.params.lazyLoadingOnTransitionStart&&dO.lazy.load()}},dO.scrollbar={set:function(){if(dO.params.scrollbar){var aM=dO.scrollbar;aM.track=ah(dO.params.scrollbar),aM.drag=aM.track.find(".swiper-scrollbar-drag"),0===aM.drag.length&&(aM.drag=ah('
'),aM.track.append(aM.drag)),aM.drag[0].style.width="",aM.drag[0].style.height="",aM.trackSize=df()?aM.track[0].offsetWidth:aM.track[0].offsetHeight,aM.divider=dO.size/dO.virtualSize,aM.moveDivider=aM.divider*(aM.trackSize/dO.size),aM.dragSize=aM.trackSize*aM.divider,df()?aM.drag[0].style.width=aM.dragSize+"px":aM.drag[0].style.height=aM.dragSize+"px",aM.track[0].style.display=aM.divider>=1?"none":"",dO.params.scrollbarHide&&(aM.track[0].style.opacity=0)}},setTranslate:function(){if(dO.params.scrollbar){var aM,eA=dO.scrollbar,fM=(dO.translate||0,eA.dragSize);aM=(eA.trackSize-eA.dragSize)*dO.progress,dO.rtl&&df()?(aM=-aM,aM>0?(fM=eA.dragSize-aM,aM=0):-aM+eA.dragSize>eA.trackSize&&(fM=eA.trackSize+aM)):0>aM?(fM=eA.dragSize+aM,aM=0):aM+eA.dragSize>eA.trackSize&&(fM=eA.trackSize-aM),df()?(eA.drag.transform(dO.support.transforms3d?"translate3d("+aM+"px, 0, 0)":"translateX("+aM+"px)"),eA.drag[0].style.width=fM+"px"):(eA.drag.transform(dO.support.transforms3d?"translate3d(0px, "+aM+"px, 0)":"translateY("+aM+"px)"),eA.drag[0].style.height=fM+"px"),dO.params.scrollbarHide&&(clearTimeout(eA.timeout),eA.track[0].style.opacity=1,eA.timeout=setTimeout(function(){eA.track[0].style.opacity=0,eA.track.transition(400)},1e3))}},setTransition:function(aM){dO.params.scrollbar&&dO.scrollbar.drag.transition(aM)}},dO.controller={setTranslate:function(aM,eA){var df,fM,ei=dO.params.control;if(dO.isArray(ei))for(var bJ=0;bJdf;df++){var ei=dO.slides.eq(df),bJ=ei.attr("data-hash");if(bJ===aM&&!ei.hasClass(dO.params.slideDuplicateClass)){var cb=ei.index();dO.slideTo(cb,eA,dO.params.runCallbacksOnInit,!0)}}}},setHash:function(){dO.hashnav.initialized&&dO.params.hashnav&&(document.location.hash=dO.slides.eq(dO.activeIndex).attr("data-hash")||"")}},dO.disableKeyboardControl=function(){ah(document).off("keydown",cb)},dO.enableKeyboardControl=function(){ah(document).on("keydown",cb)},dO._wheelEvent=!1,dO._lastWheelScrollTime=(new Date).getTime(),dO.params.mousewheelControl){if(void 0!==document.onmousewheel&&(dO._wheelEvent="mousewheel"),!dO._wheelEvent)try{new WheelEvent("wheel"),dO._wheelEvent="wheel"}catch(aM){}dO._wheelEvent||(dO._wheelEvent="DOMMouseScroll")}dO.disableMousewheelControl=function(){return dO._wheelEvent?(dO.container.off(dO._wheelEvent,fb),!0):!1},dO.enableMousewheelControl=function(){return dO._wheelEvent?(dO.container.on(dO._wheelEvent,fb),!0):!1},dO.parallax={setTranslate:function(){dO.container.children("[data-swiper-parallax], [data-swiper-parallax-x], [data-swiper-parallax-y]").each(function(){fZ(this,dO.progress)}),dO.slides.each(function(){var aM=ah(this);aM.find("[data-swiper-parallax], [data-swiper-parallax-x], [data-swiper-parallax-y]").each(function(){var eA=Math.min(Math.max(aM[0].progress,-1),1);fZ(this,eA)})})},setTransition:function(aM){"undefined"==typeof aM&&(aM=dO.params.speed),dO.container.find("[data-swiper-parallax], [data-swiper-parallax-x], [data-swiper-parallax-y]").each(function(){var eA=ah(this),df=parseInt(eA.attr("data-swiper-parallax-duration"),10)||aM;0===aM&&(df=0),eA.transition(df)})}},dO._plugins=[];for(var eAaM in dO.plugins){var dfaM=dO.plugins[eAaM](dO,dO.params[eAaM]);dfaM&&dO._plugins.push(dfaM)}return dO.callPlugins=function(aM){for(var eA=0;eA'),notify:function(aM){var eA=dO.a11y.liveRegion;0!==eA.length&&(eA.html(""),eA.html(aM))},init:function(){if(dO.params.nextButton){var aM=ah(dO.params.nextButton);dO.a11y.makeFocusable(aM),dO.a11y.addRole(aM,"button"),dO.a11y.addLabel(aM,dO.params.nextSlideMsg)}if(dO.params.prevButton){var eA=ah(dO.params.prevButton);dO.a11y.makeFocusable(eA),dO.a11y.addRole(eA,"button"),dO.a11y.addLabel(eA,dO.params.prevSlideMsg)}ah(dO.container).append(dO.a11y.liveRegion)},destroy:function(){dO.a11y.liveRegion&&dO.a11y.liveRegion.length>0&&dO.a11y.liveRegion.remove()}},dO.init=function(){dO.params.loop&&dO.createLoop(),dO.updateContainerSize(),dO.updateSlidesSize(),dO.updatePagination(),dO.params.scrollbar&&dO.scrollbar&&dO.scrollbar.set(),"slide"!==dO.params.effect&&dO.effects[dO.params.effect]&&(dO.params.loop||dO.updateProgress(),dO.effects[dO.params.effect].setTranslate()),dO.params.loop?dO.slideTo(dO.params.initialSlide+dO.loopedSlides,0,dO.params.runCallbacksOnInit):(dO.slideTo(dO.params.initialSlide,0,dO.params.runCallbacksOnInit),0===dO.params.initialSlide&&(dO.parallax&&dO.params.parallax&&dO.parallax.setTranslate(),dO.lazy&&dO.params.lazyLoading&&dO.lazy.load())),dO.attachEvents(),dO.params.observer&&dO.support.observer&&dO.initObservers(),dO.params.preloadImages&&!dO.params.lazyLoading&&dO.preloadImages(),dO.params.autoplay&&dO.startAutoplay(),dO.params.keyboardControl&&dO.enableKeyboardControl&&dO.enableKeyboardControl(),dO.params.mousewheelControl&&dO.enableMousewheelControl&&dO.enableMousewheelControl(),dO.params.hashnav&&dO.hashnav&&dO.hashnav.init(),dO.params.a11y&&dO.a11y&&dO.a11y.init(),dO.emit("onInit",dO)},dO.destroy=function(aM){dO.detachEvents(),dO.disconnectObservers(),dO.params.keyboardControl&&dO.disableKeyboardControl&&dO.disableKeyboardControl(),dO.params.mousewheelControl&&dO.disableMousewheelControl&&dO.disableMousewheelControl(),dO.params.a11y&&dO.a11y&&dO.a11y.destroy(),dO.emit("onDestroy"),aM!==!1&&(dO=null)},dO.init(),dO}},Swiper.prototype={isSafari:function(){var aM=navigator.userAgent.toLowerCase();return aM.indexOf("safari")>=0&&aM.indexOf("chrome")<0&&aM.indexOf("android")<0}(),isUiWebView:/(iPhone|iPod|iPad).*AppleWebKit(?!.*Safari)/i.test(navigator.userAgent),isArray:function(aM){return"[object Array]"===Object.prototype.toString.apply(aM)},browser:{ie:window.navigator.pointerEnabled||window.navigator.msPointerEnabled,ieTouch:window.navigator.msPointerEnabled&&window.navigator.msMaxTouchPoints>1||window.navigator.pointerEnabled&&window.navigator.maxTouchPoints>1},device:function(){var aM=navigator.userAgent,eA=aM.match(/(Android);?[\s\/]+([\d.]+)?/),df=aM.match(/(iPad).*OS\s([\d_]+)/),fM=(aM.match(/(iPod)(.*OS\s([\d_]+))?/),!df&&aM.match(/(iPhone\sOS)\s([\d_]+)/));return{ios:df||fM||df,android:eA}}(),support:{touch:window.Modernizr&&Modernizr.touch===!0||function(){return!!("ontouchstart"in window||window.DocumentTouch&&document instanceof DocumentTouch)}(),transforms3d:window.Modernizr&&Modernizr.csstransforms3d===!0||function(){var aM=document.createElement("div").style;return"webkitPerspective"in aM||"MozPerspective"in aM||"OPerspective"in aM||"MsPerspective"in aM||"perspective"in aM}(),flexbox:function(){for(var aM=document.createElement("div").style,eA="alignItems webkitAlignItems webkitBoxAlign msFlexAlign mozBoxAlign webkitFlexDirection msFlexDirection mozBoxDirection mozBoxOrient webkitBoxDirection webkitBoxOrient".split(" "),df=0;df