text: var Swiper=function(selector,params){"use strict";function $$(selector,context){return document.querySelectorAll?(context||document).querySelectorAll(selector):jQuery(selector,context)}function isArray(obj){return"[object Array]"===Object.prototype.toString.apply(obj)}function maxWrapperPosition(){var a=wrapperSize-containerSize;return params.freeMode&&(a=wrapperSize-containerSize),params.slidesPerView>_this.slides.length&&!params.centeredSlides&&(a=0),a<0&&(a=0),a}function initEvents(){function _loadImage(src){var image=new Image;image.onload=function(){_this&&void 0!==_this.imagesLoaded&&_this.imagesLoaded++,_this.imagesLoaded===_this.imagesToLoad.length&&(_this.reInit(),params.onImagesReady&&_this.fireCallback(params.onImagesReady,_this))},image.src=src}var bind=_this.h.addEventListener,eventTarget="wrapper"===params.eventTarget?_this.wrapper:_this.container;if(_this.browser.ie10||_this.browser.ie11?(bind(eventTarget,_this.touchEvents.touchStart,onTouchStart),bind(document,_this.touchEvents.touchMove,onTouchMove),bind(document,_this.touchEvents.touchEnd,onTouchEnd)):(_this.support.touch&&(bind(eventTarget,"touchstart",onTouchStart),bind(eventTarget,"touchmove",onTouchMove),bind(eventTarget,"touchend",onTouchEnd)),params.simulateTouch&&(bind(eventTarget,"mousedown",onTouchStart),bind(document,"mousemove",onTouchMove),bind(document,"mouseup",onTouchEnd))),params.autoResize&&bind(window,"resize",_this.resizeFix),addSlideEvents(),_this._wheelEvent=!1,params.mousewheelControl){if(void 0!==document.onmousewheel&&(_this._wheelEvent="mousewheel"),!_this._wheelEvent)try{new WheelEvent("wheel"),_this._wheelEvent="wheel"}catch(e){}_this._wheelEvent||(_this._wheelEvent="DOMMouseScroll"),_this._wheelEvent&&bind(_this.container,_this._wheelEvent,handleMousewheel)}if(params.keyboardControl&&bind(document,"keydown",handleKeyboardKeys),params.updateOnImagesReady){_this.imagesToLoad=$$("img",_this.container);for(var i=0;i<_this.imagesToLoad.length;i++)_loadImage(_this.imagesToLoad[i].getAttribute("src"))}}function addSlideEvents(){var bind=_this.h.addEventListener,i;if(params.preventLinks){var links=$$("a",_this.container);for(i=0;i<links.length;i++)bind(links[i],"click",preventClick)}if(params.releaseFormElements){var formElements=$$("input, textarea, select",_this.container);for(i=0;i<formElements.length;i++)bind(formElements[i],_this.touchEvents.touchStart,releaseForms,!0)}if(params.onSlideClick)for(i=0;i<_this.slides.length;i++)bind(_this.slides[i],"click",slideClick);if(params.onSlideTouch)for(i=0;i<_this.slides.length;i++)bind(_this.slides[i],_this.touchEvents.touchStart,slideTouch)}function removeSlideEvents(){var unbind=_this.h.removeEventListener,i;if(params.onSlideClick)for(i=0;i<_this.slides.length;i++)unbind(_this.slides[i],"click",slideClick);if(params.onSlideTouch)for(i=0;i<_this.slides.length;i++)unbind(_this.slides[i],_this.touchEvents.touchStart,slideTouch);if(params.releaseFormElements){var formElements=$$("input, textarea, select",_this.container);for(i=0;i<formElements.length;i++)unbind(formElements[i],_this.touchEvents.touchStart,releaseForms,!0)}if(params.preventLinks){var links=$$("a",_this.container);for(i=0;i<links.length;i++)unbind(links[i],"click",preventClick)}}function handleKeyboardKeys(e){var kc=e.keyCode||e.charCode;if(!(e.shiftKey||e.altKey||e.ctrlKey||e.metaKey)){if(37===kc||39===kc||38===kc||40===kc){for(var inView=!1,swiperOffset=_this.h.getOffset(_this.container),scrollLeft=_this.h.windowScroll().left,scrollTop=_this.h.windowScroll().top,windowWidth=_this.h.windowWidth(),windowHeight=_this.h.windowHeight(),swiperCoord=[[swiperOffset.left,swiperOffset.top],[swiperOffset.left+_this.width,swiperOffset.top],[swiperOffset.left,swiperOffset.top+_this.height],[swiperOffset.left+_this.width,swiperOffset.top+_this.height]],i=0;i<swiperCoord.length;i++){var point=swiperCoord[i];point[0]>=scrollLeft&&point[0]<=scrollLeft+windowWidth&&point[1]>=scrollTop&&point[1]<=scrollTop+windowHeight&&(inView=!0)}if(!inView)return}isH?(37!==kc&&39!==kc||(e.preventDefault?e.preventDefault():e.returnValue=!1),39===kc&&_this.swipeNext(),37===kc&&_this.swipePrev()):(38!==kc&&40!==kc||(e.preventDefault?e.preventDefault():e.returnValue=!1),40===kc&&_this.swipeNext(),38===kc&&_this.swipePrev())}}function handleMousewheel(e){var we=_this._wheelEvent,delta=0;if(e.detail)delta=-e.detail;else if("mousewheel"===we)if(params.mousewheelControlForceToAxis)if(isH){if(!(Math.abs(e.wheelDeltaX)>Math.abs(e.wheelDeltaY)))return;delta=e.wheelDeltaX}else{if(!(Math.abs(e.wheelDeltaY)>Math.abs(e.wheelDeltaX)))return;delta=e.wheelDeltaY}else delta=e.wheelDelta;else if("DOMMouseScroll"===we)delta=-e.detail;else if("wheel"===we)if(params.mousewheelControlForceToAxis)if(isH){if(!(Math.abs(e.deltaX)>Math.abs(e.deltaY)))return;delta=-e.deltaX}else{if(!(Math.abs(e.deltaY)>Math.abs(e.deltaX)))return;delta=-e.deltaY}else delta=Math.abs(e.deltaX)>Math.abs(e.deltaY)?-e.deltaX:-e.deltaY;if(params.freeMode){var position=_this.getWrapperTranslate()+delta;if(position>0&&(position=0),position<-maxWrapperPosition()&&(position=-maxWrapperPosition()),_this.setWrapperTransition(0),_this.setWrapperTranslate(position),_this.updateActiveSlide(position),0===position||position===-maxWrapperPosition())return}else(new Date).getTime()-lastScrollTime>60&&(delta<0?_this.swipeNext():_this.swipePrev()),lastScrollTime=(new Date).getTime();return params.autoplay&&_this.stopAutoplay(!0),e.preventDefault?e.preventDefault():e.returnValue=!1,!1}function slideClick(event){_this.allowSlideClick&&(setClickedSlide(event),_this.fireCallback(params.onSlideClick,_this,event))}function slideTouch(event){setClickedSlide(event),_this.fireCallback(params.onSlideTouch,_this,event)}function setClickedSlide(event){if(event.currentTarget)_this.clickedSlide=event.currentTarget;else{var element=event.srcElement;do{if(element.className.indexOf(params.slideClass)>-1)break;element=element.parentNode}while(element);_this.clickedSlide=element}_this.clickedSlideIndex=_this.slides.indexOf(_this.clickedSlide),_this.clickedSlideLoopIndex=_this.clickedSlideIndex-(_this.loopedSlides||0)}function preventClick(e){if(!_this.allowLinks)return e.preventDefault?e.preventDefault():e.returnValue=!1,params.preventLinksPropagation&&"stopPropagation"in e&&e.stopPropagation(),!1}function releaseForms(e){return e.stopPropagation?e.stopPropagation():e.returnValue=!1,!1}function onTouchStart(event){if(params.preventLinks&&(_this.allowLinks=!0),_this.isTouched||params.onlyExternal)return!1;if(params.noSwiping&&(event.target||event.srcElement)&&noSwipingSlide(event.target||event.srcElement))return!1;if(allowMomentumBounce=!1,_this.isTouched=!0,!(isTouchEvent="touchstart"===event.type)||1===event.targetTouches.length){_this.callPlugins("onTouchStartBegin"),isTouchEvent||_this.isAndroid||(event.preventDefault?event.preventDefault():event.returnValue=!1);var pageX=isTouchEvent?event.targetTouches[0].pageX:event.pageX||event.clientX,pageY=isTouchEvent?event.targetTouches[0].pageY:event.pageY||event.clientY;_this.touches.startX=_this.touches.currentX=pageX,_this.touches.startY=_this.touches.currentY=pageY,_this.touches.start=_this.touches.current=isH?pageX:pageY,_this.setWrapperTransition(0),_this.positions.start=_this.positions.current=_this.getWrapperTranslate(),_this.setWrapperTranslate(_this.positions.start),_this.times.start=(new Date).getTime(),isScrolling=void 0,params.moveStartThreshold>0&&(allowThresholdMove=!1),params.onTouchStart&&_this.fireCallback(params.onTouchStart,_this,event),_this.callPlugins("onTouchStartEnd")}}function onTouchMove(event){if(_this.isTouched&&!params.onlyExternal&&(!isTouchEvent||"mousemove"!==event.type)){var pageX=isTouchEvent?event.targetTouches[0].pageX:event.pageX||event.clientX,pageY=isTouchEvent?event.targetTouches[0].pageY:event.pageY||event.clientY;if(void 0===isScrolling&&isH&&(isScrolling=!!(isScrolling||Math.abs(pageY-_this.touches.startY)>Math.abs(pageX-_this.touches.startX))),void 0!==isScrolling||isH||(isScrolling=!!(isScrolling||Math.abs(pageY-_this.touches.startY)<Math.abs(pageX-_this.touches.startX))),isScrolling)return void(_this.isTouched=!1);if(event.assignedToSwiper)return void(_this.isTouched=!1);if(event.assignedToSwiper=!0,params.preventLinks&&(_this.allowLinks=!1),params.onSlideClick&&(_this.allowSlideClick=!1),params.autoplay&&_this.stopAutoplay(!0),!isTouchEvent||1===event.touches.length){if(_this.isMoved||(_this.callPlugins("onTouchMoveStart"),params.loop&&(_this.fixLoop(),_this.positions.start=_this.getWrapperTranslate()),params.onTouchMoveStart&&_this.fireCallback(params.onTouchMoveStart,_this)),_this.isMoved=!0,event.preventDefault?event.preventDefault():event.returnValue=!1,_this.touches.current=isH?pageX:pageY,_this.positions.current=(_this.touches.current-_this.touches.start)*params.touchRatio+_this.positions.start,_this.positions.current>0&&params.onResistanceBefore&&_this.fireCallback(params.onResistanceBefore,_this,_this.positions.current),_this.positions.current<-maxWrapperPosition()&&params.onResistanceAfter&&_this.fireCallback(params.onResistanceAfter,_this,Math.abs(_this.positions.current+maxWrapperPosition())),params.resistance&&"100%"!==params.resistance){var resistance;if(_this.positions.current>0&&(resistance=1-_this.positions.current/containerSize/2,_this.positions.current=resistance<.5?containerSize/2:_this.positions.current*resistance),_this.positions.current<-maxWrapperPosition()){var diff=(_this.touches.current-_this.touches.start)*params.touchRatio+(maxWrapperPosition()+_this.positions.start);resistance=(containerSize+diff)/containerSize;var newPos=_this.positions.current-diff*(1-resistance)/2,stopPos=-maxWrapperPosition()-containerSize/2;_this.positions.current=newPos<stopPos||resistance<=0?stopPos:newPos}}if(params.resistance&&"100%"===params.resistance&&(_this.positions.current>0&&(!params.freeMode||params.freeModeFluid)&&(_this.positions.current=0),_this.positions.current<-maxWrapperPosition()&&(!params.freeMode||params.freeModeFluid)&&(_this.positions.current=-maxWrapperPosition())),!params.followFinger)return;if(params.moveStartThreshold)if(Math.abs(_this.touches.current-_this.touches.start)>params.moveStartThreshold||allowThresholdMove){if(!allowThresholdMove)return allowThresholdMove=!0,void(_this.touches.start=_this.touches.current);_this.setWrapperTranslate(_this.positions.current)}else _this.positions.current=_this.positions.start;else _this.setWrapperTranslate(_this.positions.current);return(params.freeMode||params.watchActiveIndex)&&_this.updateActiveSlide(_this.positions.current),params.grabCursor&&(_this.container.style.cursor="move",_this.container.style.cursor="grabbing",_this.container.style.cursor="-moz-grabbin",_this.container.style.cursor="-webkit-grabbing"),velocityPrevPosition||(velocityPrevPosition=_this.touches.current),velocityPrevTime||(velocityPrevTime=(new Date).getTime()),_this.velocity=(_this.touches.current-velocityPrevPosition)/((new Date).getTime()-velocityPrevTime)/2,Math.abs(_this.touches.current-velocityPrevPosition)<2&&(_this.velocity=0),velocityPrevPosition=_this.touches.current,velocityPrevTime=(new Date).getTime(),_this.callPlugins("onTouchMoveEnd"),params.onTouchMove&&_this.fireCallback(params.onTouchMove,_this,event),!1}}}function onTouchEnd(event){if(isScrolling&&_this.swipeReset(),!params.onlyExternal&&_this.isTouched){_this.isTouched=!1,params.grabCursor&&(_this.container.style.cursor="move",_this.container.style.cursor="grab",_this.container.style.cursor="-moz-grab",_this.container.style.cursor="-webkit-grab"),_this.positions.current||0===_this.positions.current||(_this.positions.current=_this.positions.start),params.followFinger&&_this.setWrapperTranslate(_this.positions.current),_this.times.end=(new Date).getTime(),_this.touches.diff=_this.touches.current-_this.touches.start,_this.touches.abs=Math.abs(_this.touches.diff),_this.positions.diff=_this.positions.current-_this.positions.start,_this.positions.abs=Math.abs(_this.positions.diff);var diff=_this.positions.diff,diffAbs=_this.positions.abs,timeDiff=_this.times.end-_this.times.start;diffAbs<5&&timeDiff<300&&!1===_this.allowLinks&&(params.freeMode||0===diffAbs||_this.swipeReset(),params.preventLinks&&(_this.allowLinks=!0),params.onSlideClick&&(_this.allowSlideClick=!0)),setTimeout(function(){params.preventLinks&&(_this.allowLinks=!0),params.onSlideClick&&(_this.allowSlideClick=!0)},100);var maxPosition=maxWrapperPosition();if(!_this.isMoved&&params.freeMode)return _this.isMoved=!1,params.onTouchEnd&&_this.fireCallback(params.onTouchEnd,_this,event),void _this.callPlugins("onTouchEnd");if(!_this.isMoved||_this.positions.current>0||_this.positions.current<-maxPosition)return _this.swipeReset(),params.onTouchEnd&&_this.fireCallback(params.onTouchEnd,_this,event),void _this.callPlugins("onTouchEnd");if(_this.isMoved=!1,params.freeMode){if(params.freeModeFluid){var momentumDuration=1e3*params.momentumRatio,momentumDistance=_this.velocity*momentumDuration,newPosition=_this.positions.current+momentumDistance,doBounce=!1,afterBouncePosition,bounceAmount=20*Math.abs(_this.velocity)*params.momentumBounceRatio;newPosition<-maxPosition&&(params.momentumBounce&&_this.support.transitions?(newPosition+maxPosition<-bounceAmount&&(newPosition=-maxPosition-bounceAmount),afterBouncePosition=-maxPosition,doBounce=!0,allowMomentumBounce=!0):newPosition=-maxPosition),newPosition>0&&(params.momentumBounce&&_this.support.transitions?(newPosition>bounceAmount&&(newPosition=bounceAmount),afterBouncePosition=0,doBounce=!0,allowMomentumBounce=!0):newPosition=0),0!==_this.velocity&&(momentumDuration=Math.abs((newPosition-_this.positions.current)/_this.velocity)),_this.setWrapperTranslate(newPosition),_this.setWrapperTransition(momentumDuration),params.momentumBounce&&doBounce&&_this.wrapperTransitionEnd(function(){allowMomentumBounce&&(params.onMomentumBounce&&_this.fireCallback(params.onMomentumBounce,_this),_this.callPlugins("onMomentumBounce"),_this.setWrapperTranslate(afterBouncePosition),_this.setWrapperTransition(300))}),_this.updateActiveSlide(newPosition)}return(!params.freeModeFluid||timeDiff>=300)&&_this.updateActiveSlide(_this.positions.current),params.onTouchEnd&&_this.fireCallback(params.onTouchEnd,_this,event),void _this.callPlugins("onTouchEnd")}direction=diff<0?"toNext":"toPrev","toNext"===direction&&timeDiff<=300&&(diffAbs<30||!params.shortSwipes?_this.swipeReset():_this.swipeNext(!0)),"toPrev"===direction&&timeDiff<=300&&(diffAbs<30||!params.shortSwipes?_this.swipeReset():_this.swipePrev(!0));var targetSlideSize=0;if("auto"===params.slidesPerView){for(var currentPosition=Math.abs(_this.getWrapperTranslate()),slidesOffset=0,_slideSize,i=0;i<_this.slides.length;i++)if(_slideSize=isH?_this.slides[i].getWidth(!0,params.roundLengths):_this.slides[i].getHeight(!0,params.roundLengths),(slidesOffset+=_slideSize)>currentPosition){targetSlideSize=_slideSize;break}targetSlideSize>containerSize&&(targetSlideSize=containerSize)}else targetSlideSize=slideSize*params.slidesPerView;"toNext"===direction&&timeDiff>300&&(diffAbs>=targetSlideSize*params.longSwipesRatio?_this.swipeNext(!0):_this.swipeReset()),"toPrev"===direction&&timeDiff>300&&(diffAbs>=targetSlideSize*params.longSwipesRatio?_this.swipePrev(!0):_this.swipeReset()),params.onTouchEnd&&_this.fireCallback(params.onTouchEnd,_this,event),_this.callPlugins("onTouchEnd")}}function noSwipingSlide(el){var noSwiping=!1;do{el.className.indexOf(params.noSwipingClass)>-1&&(noSwiping=!0),el=el.parentElement}while(!noSwiping&&el.parentElement&&-1===el.className.indexOf(params.wrapperClass));return!noSwiping&&el.className.indexOf(params.wrapperClass)>-1&&el.className.indexOf(params.noSwipingClass)>-1&&(noSwiping=!0),noSwiping}function addClassToHtmlString(klass,outerHtml){var par=document.createElement("div"),child;return par.innerHTML=outerHtml,child=par.firstChild,child.className+=" "+klass,child.outerHTML}function swipeToPosition(newPosition,action,toOptions){function anim(){var timeNew=+new Date;currentPosition+=animationStep*(timeNew-timeOld)/(1e3/60),condition="toNext"===direction?currentPosition>newPosition:currentPosition<newPosition,condition?(_this.setWrapperTranslate(Math.round(currentPosition)),_this._DOMAnimating=!0,window.setTimeout(function(){anim()},1e3/60)):(params.onSlideChangeEnd&&("to"===action?!0===toOptions.runCallbacks&&_this.fireCallback(params.onSlideChangeEnd,_this):_this.fireCallback(params.onSlideChangeEnd,_this)),_this.setWrapperTranslate(newPosition),_this._DOMAnimating=!1)}var speed="to"===action&&toOptions.speed>=0?toOptions.speed:params.speed,timeOld=+new Date;if(_this.support.transitions||!params.DOMAnimation)_this.setWrapperTranslate(newPosition),_this.setWrapperTransition(speed);else{var currentPosition=_this.getWrapperTranslate(),animationStep=Math.ceil((newPosition-currentPosition)/speed*(1e3/60)),direction=currentPosition>newPosition?"toNext":"toPrev",condition="toNext"===direction?currentPosition>newPosition:currentPosition<newPosition;if(_this._DOMAnimating)return;anim()}_this.updateActiveSlide(newPosition),params.onSlideNext&&"next"===action&&_this.fireCallback(params.onSlideNext,_this,newPosition),params.onSlidePrev&&"prev"===action&&_this.fireCallback(params.onSlidePrev,_this,newPosition),params.onSlideReset&&"reset"===action&&_this.fireCallback(params.onSlideReset,_this,newPosition),("next"===action||"prev"===action||"to"===action&&!0===toOptions.runCallbacks)&&slideChangeCallbacks(action)}function slideChangeCallbacks(direction){if(_this.callPlugins("onSlideChangeStart"),params.onSlideChangeStart)if(params.queueStartCallbacks&&_this.support.transitions){if(_this._queueStartCallbacks)return;_this._queueStartCallbacks=!0,_this.fireCallback(params.onSlideChangeStart,_this,direction),_this.wrapperTransitionEnd(function(){_this._queueStartCallbacks=!1})}else _this.fireCallback(params.onSlideChangeStart,_this,direction);if(params.onSlideChangeEnd)if(_this.support.transitions)if(params.queueEndCallbacks){if(_this._queueEndCallbacks)return;_this._queueEndCallbacks=!0,_this.wrapperTransitionEnd(function(swiper){_this.fireCallback(params.onSlideChangeEnd,swiper,direction)})}else _this.wrapperTransitionEnd(function(swiper){_this.fireCallback(params.onSlideChangeEnd,swiper,direction)});else params.DOMAnimation||setTimeout(function(){_this.fireCallback(params.onSlideChangeEnd,_this,direction)},10)}function removePaginationEvents(){var pagers=_this.paginationButtons;if(pagers)for(var i=0;i<pagers.length;i++)_this.h.removeEventListener(pagers[i],"click",paginationClick)}function addPaginationEvents(){var pagers=_this.paginationButtons;if(pagers)for(var i=0;i<pagers.length;i++)_this.h.addEventListener(pagers[i],"click",paginationClick)}function paginationClick(e){for(var index,target=e.target||e.srcElement,pagers=_this.paginationButtons,i=0;i<pagers.length;i++)target===pagers[i]&&(index=i);_this.swipeTo(index)}function autoplay(){autoplayTimeoutId=setTimeout(function(){params.loop?(_this.fixLoop(),_this.swipeNext(!0)):_this.swipeNext(!0)||(params.autoplayStopOnLast?(clearTimeout(autoplayTimeoutId),autoplayTimeoutId=void 0):_this.swipeTo(0)),_this.wrapperTransitionEnd(function(){void 0!==autoplayTimeoutId&&autoplay()})},params.autoplay)}function makeSwiper(){_this.calcSlides(),params.loader.slides.length>0&&0===_this.slides.length&&_this.loadSlides(),params.loop&&_this.createLoop(),_this.init(),initEvents(),params.pagination&&_this.createPagination(!0),params.loop||params.initialSlide>0?_this.swipeTo(params.initialSlide,0,!1):_this.updateActiveSlide(0),params.autoplay&&_this.startAutoplay(),_this.centerIndex=_this.activeIndex,params.onSwiperCreated&&_this.fireCallback(params.onSwiperCreated,_this),_this.callPlugins("onSwiperCreated")}if(document.body.__defineGetter__&&HTMLElement){var element=HTMLElement.prototype;element.__defineGetter__&&element.__defineGetter__("outerHTML",function(){return(new XMLSerializer).serializeToString(this)})}if(window.getComputedStyle||(window.getComputedStyle=function(el,pseudo){return this.el=el,this.getPropertyValue=function(prop){var re=/(\-([a-z]){1})/g;return"float"===prop&&(prop="styleFloat"),re.test(prop)&&(prop=prop.replace(re,function(){return arguments[2].toUpperCase()})),el.currentStyle[prop]?el.currentStyle[prop]:null},this}),Array.prototype.indexOf||(Array.prototype.indexOf=function(obj,start){for(var i=start||0,j=this.length;i<j;i++)if(this[i]===obj)return i;return-1}),(document.querySelectorAll||window.jQuery)&&void 0!==selector&&(selector.nodeType||0!==$$(selector).length)){var _this=this;_this.touches={start:0,startX:0,startY:0,current:0,currentX:0,currentY:0,diff:0,abs:0},_this.positions={start:0,abs:0,diff:0,current:0},_this.times={start:0,end:0},_this.id=(new Date).getTime(),_this.container=selector.nodeType?selector:$$(selector)[0],_this.isTouched=!1,_this.isMoved=!1,_this.activeIndex=0,_this.centerIndex=0,_this.activeLoaderIndex=0,_this.activeLoopIndex=0,_this.previousIndex=null,_this.velocity=0,_this.snapGrid=[],_this.slidesGrid=[],_this.imagesToLoad=[],_this.imagesLoaded=0,_this.wrapperLeft=0,_this.wrapperRight=0,_this.wrapperTop=0,_this.wrapperBottom=0,_this.isAndroid=navigator.userAgent.toLowerCase().indexOf("android")>=0;var wrapper,slideSize,wrapperSize,direction,isScrolling,containerSize,defaults={eventTarget:"wrapper",mode:"horizontal",touchRatio:1,speed:300,freeMode:!1,freeModeFluid:!1,momentumRatio:1,momentumBounce:!0,momentumBounceRatio:1,slidesPerView:1,slidesPerGroup:1,slidesPerViewFit:!0,simulateTouch:!0,followFinger:!0,shortSwipes:!0,longSwipesRatio:.5,moveStartThreshold:!1,onlyExternal:!1,createPagination:!0,pagination:!1,paginationElement:"span",paginationClickable:!1,paginationAsRange:!0,resistance:!0,scrollContainer:!1,preventLinks:!0,preventLinksPropagation:!1,noSwiping:!1,noSwipingClass:"swiper-no-swiping",initialSlide:0,keyboardControl:!1,mousewheelControl:!1,mousewheelControlForceToAxis:!1,useCSS3Transforms:!0,autoplay:!1,autoplayDisableOnInteraction:!0,autoplayStopOnLast:!1,loop:!1,loopAdditionalSlides:0,roundLengths:!1,calculateHeight:!1,cssWidthAndHeight:!1,updateOnImagesReady:!0,releaseFormElements:!0,watchActiveIndex:!1,visibilityFullFit:!1,offsetPxBefore:0,offsetPxAfter:0,offsetSlidesBefore:0,offsetSlidesAfter:0,centeredSlides:!1,queueStartCallbacks:!1,queueEndCallbacks:!1,autoResize:!0,resizeReInit:!1,DOMAnimation:!0,loader:{slides:[],slidesHTMLType:"inner",surroundGroups:1,logic:"reload",loadAllSlides:!1},slideElement:"div",slideClass:"swiper-slide",slideActiveClass:"swiper-slide-active",slideVisibleClass:"swiper-slide-visible",slideDuplicateClass:"swiper-slide-duplicate",wrapperClass:"mk-swiper-wrapper",paginationElementClass:"swiper-pagination-switch",paginationActiveClass:"swiper-active-switch",paginationVisibleClass:"swiper-visible-switch"};params=params||{};for(var prop in defaults)if(prop in params&&"object"==typeof params[prop])for(var subProp in defaults[prop])subProp in params[prop]||(params[prop][subProp]=defaults[prop][subProp]);else prop in params||(params[prop]=defaults[prop]);_this.params=params,params.scrollContainer&&(params.freeMode=!0,params.freeModeFluid=!0),params.loop&&(params.resistance="100%");var isH="horizontal"===params.mode,desktopEvents=["mousedown","mousemove","mouseup"];_this.browser.ie10&&(desktopEvents=["MSPointerDown","MSPointerMove","MSPointerUp"]),_this.browser.ie11&&(desktopEvents=["pointerdown","pointermove","pointerup"]),_this.touchEvents={touchStart:_this.support.touch||!params.simulateTouch?"touchstart":desktopEvents[0],touchMove:_this.support.touch||!params.simulateTouch?"touchmove":desktopEvents[1],touchEnd:_this.support.touch||!params.simulateTouch?"touchend":desktopEvents[2]};for(var i=_this.container.childNodes.length-1;i>=0;i--)if(_this.container.childNodes[i].className)for(var _wrapperClasses=_this.container.childNodes[i].className.split(/\s+/),j=0;j<_wrapperClasses.length;j++)_wrapperClasses[j]===params.wrapperClass&&(wrapper=_this.container.childNodes[i]);_this.wrapper=wrapper,_this._extendSwiperSlide=function(el){return el.append=function(){return params.loop?el.insertAfter(_this.slides.length-_this.loopedSlides):(_this.wrapper.appendChild(el),_this.reInit()),el},el.prepend=function(){return params.loop?(_this.wrapper.insertBefore(el,_this.slides[_this.loopedSlides]),_this.removeLoopedSlides(),_this.calcSlides(),_this.createLoop()):_this.wrapper.insertBefore(el,_this.wrapper.firstChild),_this.reInit(),el},el.insertAfter=function(index){if(void 0===index)return!1;var beforeSlide;return params.loop?(beforeSlide=_this.slides[index+1+_this.loopedSlides],beforeSlide?_this.wrapper.insertBefore(el,beforeSlide):_this.wrapper.appendChild(el),_this.removeLoopedSlides(),_this.calcSlides(),_this.createLoop()):(beforeSlide=_this.slides[index+1],_this.wrapper.insertBefore(el,beforeSlide)),_this.reInit(),el},el.clone=function(){return _this._extendSwiperSlide(el.cloneNode(!0))},el.remove=function(){_this.wrapper.removeChild(el),_this.reInit()},el.html=function(html){return void 0===html?el.innerHTML:(el.innerHTML=html,el)},el.index=function(){for(var index,i=_this.slides.length-1;i>=0;i--)el===_this.slides[i]&&(index=i);return index},el.isActive=function(){return el.index()===_this.activeIndex},el.swiperSlideDataStorage||(el.swiperSlideDataStorage={}),el.getData=function(name){return el.swiperSlideDataStorage[name]},el.setData=function(name,value){return el.swiperSlideDataStorage[name]=value,el},el.data=function(name,value){return void 0===value?el.getAttribute("data-"+name):(el.setAttribute("data-"+name,value),el)},el.getWidth=function(outer,round){return _this.h.getWidth(el,outer,round)},el.getHeight=function(outer,round){return _this.h.getHeight(el,outer,round)},el.getOffset=function(){return _this.h.getOffset(el)},el},_this.calcSlides=function(forceCalcSlides){var oldNumber=!!_this.slides&&_this.slides.length;_this.slides=[],_this.displaySlides=[];for(var i=0;i<_this.wrapper.childNodes.length;i++)if(_this.wrapper.childNodes[i].className)for(var _className=_this.wrapper.childNodes[i].className,_slideClasses=_className.split(/\s+/),j=0;j<_slideClasses.length;j++)_slideClasses[j]===params.slideClass&&_this.slides.push(_this.wrapper.childNodes[i]);for(i=_this.slides.length-1;i>=0;i--)_this._extendSwiperSlide(_this.slides[i]);!1!==oldNumber&&(oldNumber!==_this.slides.length||forceCalcSlides)&&(removeSlideEvents(),addSlideEvents(),_this.updateActiveSlide(),_this.params.pagination&&_this.createPagination(),_this.callPlugins("numberOfSlidesChanged"))},_this.createSlide=function(html,slideClassList,el){slideClassList=slideClassList||_this.params.slideClass,el=el||params.slideElement;var newSlide=document.createElement(el);return newSlide.innerHTML=html||"",newSlide.className=slideClassList,_this._extendSwiperSlide(newSlide)},_this.appendSlide=function(html,slideClassList,el){if(html)return html.nodeType?_this._extendSwiperSlide(html).append():_this.createSlide(html,slideClassList,el).append()},_this.prependSlide=function(html,slideClassList,el){if(html)return html.nodeType?_this._extendSwiperSlide(html).prepend():_this.createSlide(html,slideClassList,el).prepend()},_this.insertSlideAfter=function(index,html,slideClassList,el){return void 0!==index&&(html.nodeType?_this._extendSwiperSlide(html).insertAfter(index):_this.createSlide(html,slideClassList,el).insertAfter(index))},_this.removeSlide=function(index){if(_this.slides[index]){if(params.loop){if(!_this.slides[index+_this.loopedSlides])return!1;_this.slides[index+_this.loopedSlides].remove(),_this.removeLoopedSlides(),_this.calcSlides(),_this.createLoop()}else _this.slides[index].remove();return!0}return!1},_this.removeLastSlide=function(){return _this.slides.length>0&&(params.loop?(_this.slides[_this.slides.length-1-_this.loopedSlides].remove(),_this.removeLoopedSlides(),_this.calcSlides(),_this.createLoop()):_this.slides[_this.slides.length-1].remove(),!0)},_this.removeAllSlides=function(){for(var i=_this.slides.length-1;i>=0;i--)_this.slides[i].remove()},_this.getSlide=function(index){return _this.slides[index]},_this.getLastSlide=function(){return _this.slides[_this.slides.length-1]},_this.getFirstSlide=function(){return _this.slides[0]},_this.activeSlide=function(){return _this.slides[_this.activeIndex]},_this.fireCallback=function(){var callback=arguments[0];if("[object Array]"===Object.prototype.toString.call(callback))for(var i=0;i<callback.length;i++)"function"==typeof callback[i]&&callback[i](arguments[1],arguments[2],arguments[3],arguments[4],arguments[5]);else"[object String]"===Object.prototype.toString.call(callback)?params["on"+callback]&&_this.fireCallback(params["on"+callback]):callback(arguments[1],arguments[2],arguments[3],arguments[4],arguments[5])},_this.addCallback=function(callback,func){var _this=this,tempFunc;return _this.params["on"+callback]?isArray(this.params["on"+callback])?this.params["on"+callback].push(func):"function"==typeof this.params["on"+callback]?(tempFunc=this.params["on"+callback],this.params["on"+callback]=[],this.params["on"+callback].push(tempFunc),this.params["on"+callback].push(func)):void 0:(this.params["on"+callback]=[],this.params["on"+callback].push(func))},_this.removeCallbacks=function(callback){_this.params["on"+callback]&&(_this.params["on"+callback]=null)};var _plugins=[];for(var plugin in _this.plugins)if(params[plugin]){var p=_this.plugins[plugin](_this,params[plugin]);p&&_plugins.push(p)}_this.callPlugins=function(method,args){args||(args={});for(var i=0;i<_plugins.length;i++)method in _plugins[i]&&_plugins[i][method](args)},!_this.browser.ie10&&!_this.browser.ie11||params.onlyExternal||_this.wrapper.classList.add("swiper-wp8-"+(isH?"horizontal":"vertical")),params.freeMode&&(_this.container.className+=" swiper-free-mode"),_this.initialized=!1,_this.init=function(force,forceCalcSlides){var _width=_this.h.getWidth(_this.container,!1,params.roundLengths),_height=_this.h.getHeight(_this.container,!1,params.roundLengths);if(_width!==_this.width||_height!==_this.height||force){_this.width=_width,_this.height=_height;var slideWidth,slideHeight,slideMaxHeight,wrapperWidth,wrapperHeight,slideLeft,i;containerSize=isH?_width:_height;var wrapper=_this.wrapper;if(force&&_this.calcSlides(forceCalcSlides),"auto"===params.slidesPerView){var slidesWidth=0,slidesHeight=0;params.slidesOffset>0&&(wrapper.style.paddingLeft="",wrapper.style.paddingRight="",wrapper.style.paddingTop="",wrapper.style.paddingBottom=""),wrapper.style.width="",wrapper.style.height="",params.offsetPxBefore>0&&(isH?_this.wrapperLeft=params.offsetPxBefore:_this.wrapperTop=params.offsetPxBefore),params.offsetPxAfter>0&&(isH?_this.wrapperRight=params.offsetPxAfter:_this.wrapperBottom=params.offsetPxAfter),params.centeredSlides&&(isH?(_this.wrapperLeft=(containerSize-this.slides[0].getWidth(!0,params.roundLengths))/2,_this.wrapperRight=(containerSize-_this.slides[_this.slides.length-1].getWidth(!0,params.roundLengths))/2):(_this.wrapperTop=(containerSize-_this.slides[0].getHeight(!0,params.roundLengths))/2,_this.wrapperBottom=(containerSize-_this.slides[_this.slides.length-1].getHeight(!0,params.roundLengths))/2)),isH?(_this.wrapperLeft>=0&&(wrapper.style.paddingLeft=_this.wrapperLeft+"px"),_this.wrapperRight>=0&&(wrapper.style.paddingRight=_this.wrapperRight+"px")):(_this.wrapperTop>=0&&(wrapper.style.paddingTop=_this.wrapperTop+"px"),_this.wrapperBottom>=0&&(wrapper.style.paddingBottom=_this.wrapperBottom+"px")),slideLeft=0;var centeredSlideLeft=0;for(_this.snapGrid=[],_this.slidesGrid=[],slideMaxHeight=0,i=0;i<_this.slides.length;i++){slideWidth=_this.slides[i].getWidth(!0,params.roundLengths),slideHeight=_this.slides[i].getHeight(!0,params.roundLengths),params.calculateHeight&&(slideMaxHeight=Math.max(slideMaxHeight,slideHeight));var _slideSize=isH?slideWidth:slideHeight;if(params.centeredSlides){
  var nextSlideWidth=i===_this.slides.length-1?0:_this.slides[i+1].getWidth(!0,params.roundLengths),nextSlideHeight=i===_this.slides.length-1?0:_this.slides[i+1].getHeight(!0,params.roundLengths),nextSlideSize=isH?nextSlideWidth:nextSlideHeight;if(_slideSize>containerSize){if(params.slidesPerViewFit)_this.snapGrid.push(slideLeft+_this.wrapperLeft),_this.snapGrid.push(slideLeft+_slideSize-containerSize+_this.wrapperLeft);else for(var j=0;j<=Math.floor(_slideSize/(containerSize+_this.wrapperLeft));j++)0===j?_this.snapGrid.push(slideLeft+_this.wrapperLeft):_this.snapGrid.push(slideLeft+_this.wrapperLeft+containerSize*j);_this.slidesGrid.push(slideLeft+_this.wrapperLeft)}else _this.snapGrid.push(centeredSlideLeft),_this.slidesGrid.push(centeredSlideLeft);centeredSlideLeft+=_slideSize/2+nextSlideSize/2}else{if(_slideSize>containerSize)if(params.slidesPerViewFit)_this.snapGrid.push(slideLeft),_this.snapGrid.push(slideLeft+_slideSize-containerSize);else if(0!==containerSize)for(var k=0;k<=Math.floor(_slideSize/containerSize);k++)_this.snapGrid.push(slideLeft+containerSize*k);else _this.snapGrid.push(slideLeft);else _this.snapGrid.push(slideLeft);_this.slidesGrid.push(slideLeft)}slideLeft+=_slideSize,slidesWidth+=slideWidth,slidesHeight+=slideHeight}params.calculateHeight&&(_this.height=slideMaxHeight),isH?(wrapperSize=slidesWidth+_this.wrapperRight+_this.wrapperLeft,wrapper.style.width=slidesWidth+"px",wrapper.style.height=_this.height+"px"):(wrapperSize=slidesHeight+_this.wrapperTop+_this.wrapperBottom,wrapper.style.width=_this.width+"px",wrapper.style.height=slidesHeight+"px")}else if(params.scrollContainer)wrapper.style.width="",wrapper.style.height="",wrapperWidth=_this.slides[0].getWidth(!0,params.roundLengths),wrapperHeight=_this.slides[0].getHeight(!0,params.roundLengths),wrapperSize=isH?wrapperWidth:wrapperHeight,wrapper.style.width=wrapperWidth+"px",wrapper.style.height=wrapperHeight+"px",slideSize=isH?wrapperWidth:wrapperHeight;else{if(params.calculateHeight){for(slideMaxHeight=0,wrapperHeight=0,isH||(_this.container.style.height=""),wrapper.style.height="",i=0;i<_this.slides.length;i++)_this.slides[i].style.height="",slideMaxHeight=Math.max(_this.slides[i].getHeight(!0),slideMaxHeight),isH||(wrapperHeight+=_this.slides[i].getHeight(!0));slideHeight=slideMaxHeight,_this.height=slideHeight,isH?wrapperHeight=slideHeight:(containerSize=slideHeight,_this.container.style.height=containerSize+"px")}else slideHeight=isH?_this.height:_this.height/params.slidesPerView,params.roundLengths&&(slideHeight=Math.round(slideHeight)),wrapperHeight=isH?_this.height:_this.slides.length*slideHeight;for(slideWidth=isH?_this.width/params.slidesPerView:_this.width,params.roundLengths&&(slideWidth=Math.round(slideWidth)),wrapperWidth=isH?_this.slides.length*slideWidth:_this.width,slideSize=isH?slideWidth:slideHeight,params.offsetSlidesBefore>0&&(isH?_this.wrapperLeft=slideSize*params.offsetSlidesBefore:_this.wrapperTop=slideSize*params.offsetSlidesBefore),params.offsetSlidesAfter>0&&(isH?_this.wrapperRight=slideSize*params.offsetSlidesAfter:_this.wrapperBottom=slideSize*params.offsetSlidesAfter),params.offsetPxBefore>0&&(isH?_this.wrapperLeft=params.offsetPxBefore:_this.wrapperTop=params.offsetPxBefore),params.offsetPxAfter>0&&(isH?_this.wrapperRight=params.offsetPxAfter:_this.wrapperBottom=params.offsetPxAfter),params.centeredSlides&&(isH?(_this.wrapperLeft=(containerSize-slideSize)/2,_this.wrapperRight=(containerSize-slideSize)/2):(_this.wrapperTop=(containerSize-slideSize)/2,_this.wrapperBottom=(containerSize-slideSize)/2)),isH?(_this.wrapperLeft>0&&(wrapper.style.paddingLeft=_this.wrapperLeft+"px"),_this.wrapperRight>0&&(wrapper.style.paddingRight=_this.wrapperRight+"px")):(_this.wrapperTop>0&&(wrapper.style.paddingTop=_this.wrapperTop+"px"),_this.wrapperBottom>0&&(wrapper.style.paddingBottom=_this.wrapperBottom+"px")),wrapperSize=isH?wrapperWidth+_this.wrapperRight+_this.wrapperLeft:wrapperHeight+_this.wrapperTop+_this.wrapperBottom,params.cssWidthAndHeight||(parseFloat(wrapperWidth)>0&&(wrapper.style.width=wrapperWidth+"px"),parseFloat(wrapperHeight)>0&&(wrapper.style.height=wrapperHeight+"px")),slideLeft=0,_this.snapGrid=[],_this.slidesGrid=[],i=0;i<_this.slides.length;i++)_this.snapGrid.push(slideLeft),_this.slidesGrid.push(slideLeft),slideLeft+=slideSize,params.cssWidthAndHeight||(parseFloat(slideWidth)>0&&(_this.slides[i].style.width=slideWidth+"px"),parseFloat(slideHeight)>0&&(_this.slides[i].style.height=slideHeight+"px"))}_this.initialized?(_this.callPlugins("onInit"),params.onInit&&_this.fireCallback(params.onInit,_this)):(_this.callPlugins("onFirstInit"),params.onFirstInit&&_this.fireCallback(params.onFirstInit,_this)),_this.initialized=!0}},_this.reInit=function(forceCalcSlides){_this.init(!0,forceCalcSlides)},_this.resizeFix=function(reInit){_this.callPlugins("beforeResizeFix"),_this.init(params.resizeReInit||reInit),params.freeMode?_this.getWrapperTranslate()<-maxWrapperPosition()&&(_this.setWrapperTransition(0),_this.setWrapperTranslate(-maxWrapperPosition())):(_this.swipeTo(params.loop?_this.activeLoopIndex:_this.activeIndex,0,!1),params.autoplay&&(_this.support.transitions&&void 0!==autoplayTimeoutId?void 0!==autoplayTimeoutId&&(clearTimeout(autoplayTimeoutId),autoplayTimeoutId=void 0,_this.startAutoplay()):void 0!==autoplayIntervalId&&(clearInterval(autoplayIntervalId),autoplayIntervalId=void 0,_this.startAutoplay()))),_this.callPlugins("afterResizeFix")},_this.destroy=function(){var unbind=_this.h.removeEventListener,eventTarget="wrapper"===params.eventTarget?_this.wrapper:_this.container;_this.browser.ie10||_this.browser.ie11?(unbind(eventTarget,_this.touchEvents.touchStart,onTouchStart),unbind(document,_this.touchEvents.touchMove,onTouchMove),unbind(document,_this.touchEvents.touchEnd,onTouchEnd)):(_this.support.touch&&(unbind(eventTarget,"touchstart",onTouchStart),unbind(eventTarget,"touchmove",onTouchMove),unbind(eventTarget,"touchend",onTouchEnd)),params.simulateTouch&&(unbind(eventTarget,"mousedown",onTouchStart),unbind(document,"mousemove",onTouchMove),unbind(document,"mouseup",onTouchEnd))),params.autoResize&&unbind(window,"resize",_this.resizeFix),removeSlideEvents(),params.paginationClickable&&removePaginationEvents(),params.mousewheelControl&&_this._wheelEvent&&unbind(_this.container,_this._wheelEvent,handleMousewheel),params.keyboardControl&&unbind(document,"keydown",handleKeyboardKeys),params.autoplay&&_this.stopAutoplay(),_this.callPlugins("onDestroy"),_this=null},_this.disableKeyboardControl=function(){params.keyboardControl=!1,_this.h.removeEventListener(document,"keydown",handleKeyboardKeys)},_this.enableKeyboardControl=function(){params.keyboardControl=!0,_this.h.addEventListener(document,"keydown",handleKeyboardKeys)};var lastScrollTime=(new Date).getTime();if(_this.disableMousewheelControl=function(){return!!_this._wheelEvent&&(params.mousewheelControl=!1,_this.h.removeEventListener(_this.container,_this._wheelEvent,handleMousewheel),!0)},_this.enableMousewheelControl=function(){return!!_this._wheelEvent&&(params.mousewheelControl=!0,_this.h.addEventListener(_this.container,_this._wheelEvent,handleMousewheel),!0)},params.grabCursor){var containerStyle=_this.container.style;containerStyle.cursor="move",containerStyle.cursor="grab",containerStyle.cursor="-moz-grab",containerStyle.cursor="-webkit-grab"}_this.allowSlideClick=!0,_this.allowLinks=!0;var isTouchEvent=!1,allowThresholdMove,allowMomentumBounce=!0,velocityPrevPosition,velocityPrevTime;_this.swipeNext=function(internal){!internal&&params.loop&&_this.fixLoop(),!internal&&params.autoplay&&_this.stopAutoplay(!0),_this.callPlugins("onSwipeNext");var currentPosition=_this.getWrapperTranslate(),newPosition=currentPosition;if("auto"===params.slidesPerView){for(var i=0;i<_this.snapGrid.length;i++)if(-currentPosition>=_this.snapGrid[i]&&-currentPosition<_this.snapGrid[i+1]){newPosition=-_this.snapGrid[i+1];break}}else{var groupSize=slideSize*params.slidesPerGroup;newPosition=-(Math.floor(Math.abs(currentPosition)/Math.floor(groupSize))*groupSize+groupSize)}return newPosition<-maxWrapperPosition()&&(newPosition=-maxWrapperPosition()),newPosition!==currentPosition&&(swipeToPosition(newPosition,"next"),!0)},_this.swipePrev=function(internal){!internal&&params.loop&&_this.fixLoop(),!internal&&params.autoplay&&_this.stopAutoplay(!0),_this.callPlugins("onSwipePrev");var currentPosition=Math.ceil(_this.getWrapperTranslate()),newPosition;if("auto"===params.slidesPerView){newPosition=0;for(var i=1;i<_this.snapGrid.length;i++){if(-currentPosition===_this.snapGrid[i]){newPosition=-_this.snapGrid[i-1];break}if(-currentPosition>_this.snapGrid[i]&&-currentPosition<_this.snapGrid[i+1]){newPosition=-_this.snapGrid[i];break}}}else{var groupSize=slideSize*params.slidesPerGroup;newPosition=-(Math.ceil(-currentPosition/groupSize)-1)*groupSize}return newPosition>0&&(newPosition=0),newPosition!==currentPosition&&(swipeToPosition(newPosition,"prev"),!0)},_this.swipeReset=function(){_this.callPlugins("onSwipeReset");var currentPosition=_this.getWrapperTranslate(),groupSize=slideSize*params.slidesPerGroup,newPosition,maxPosition=-maxWrapperPosition();if("auto"===params.slidesPerView){newPosition=0;for(var i=0;i<_this.snapGrid.length;i++){if(-currentPosition===_this.snapGrid[i])return;if(-currentPosition>=_this.snapGrid[i]&&-currentPosition<_this.snapGrid[i+1]){newPosition=_this.positions.diff>0?-_this.snapGrid[i+1]:-_this.snapGrid[i];break}}-currentPosition>=_this.snapGrid[_this.snapGrid.length-1]&&(newPosition=-_this.snapGrid[_this.snapGrid.length-1]),currentPosition<=-maxWrapperPosition()&&(newPosition=-maxWrapperPosition())}else newPosition=currentPosition<0?Math.round(currentPosition/groupSize)*groupSize:0;return params.scrollContainer&&(newPosition=currentPosition<0?currentPosition:0),newPosition<-maxWrapperPosition()&&(newPosition=-maxWrapperPosition()),params.scrollContainer&&containerSize>slideSize&&(newPosition=0),newPosition!==currentPosition&&(swipeToPosition(newPosition,"reset"),!0)},_this.swipeTo=function(index,speed,runCallbacks){index=parseInt(index,10),_this.callPlugins("onSwipeTo",{index:index,speed:speed}),params.loop&&(index+=_this.loopedSlides);var currentPosition=_this.getWrapperTranslate();if(!(index>_this.slides.length-1||index<0)){var newPosition;return newPosition="auto"===params.slidesPerView?-_this.slidesGrid[index]:-index*slideSize,(newPosition<-maxWrapperPosition()&&(newPosition=-maxWrapperPosition()),newPosition===currentPosition)?!1:(runCallbacks=!1!==runCallbacks,swipeToPosition(newPosition,"to",{index:index,speed:speed,runCallbacks:runCallbacks}),!0)}},_this._queueStartCallbacks=!1,_this._queueEndCallbacks=!1,_this.updateActiveSlide=function(position){if(_this.initialized&&0!==_this.slides.length){_this.previousIndex=_this.activeIndex,void 0===position&&(position=_this.getWrapperTranslate()),position>0&&(position=0);var i;if("auto"===params.slidesPerView){var slidesOffset=0;if(_this.activeIndex=_this.slidesGrid.indexOf(-position),_this.activeIndex<0){for(i=0;i<_this.slidesGrid.length-1&&!(-position>_this.slidesGrid[i]&&-position<_this.slidesGrid[i+1]);i++);var leftDistance=Math.abs(_this.slidesGrid[i]+position),rightDistance=Math.abs(_this.slidesGrid[i+1]+position);_this.activeIndex=leftDistance<=rightDistance?i:i+1}}else _this.activeIndex=Math[params.visibilityFullFit?"ceil":"round"](-position/slideSize);if(_this.activeIndex===_this.slides.length&&(_this.activeIndex=_this.slides.length-1),_this.activeIndex<0&&(_this.activeIndex=0),_this.slides[_this.activeIndex]){if(_this.calcVisibleSlides(position),_this.support.classList){var slide;for(i=0;i<_this.slides.length;i++)slide=_this.slides[i],slide.classList.remove(params.slideActiveClass),_this.visibleSlides.indexOf(slide)>=0?slide.classList.add(params.slideVisibleClass):slide.classList.remove(params.slideVisibleClass);_this.slides[_this.activeIndex].classList.add(params.slideActiveClass)}else{var activeClassRegexp=new RegExp("\\s*"+params.slideActiveClass),inViewClassRegexp=new RegExp("\\s*"+params.slideVisibleClass);for(i=0;i<_this.slides.length;i++)_this.slides[i].className=_this.slides[i].className.replace(activeClassRegexp,"").replace(inViewClassRegexp,""),_this.visibleSlides.indexOf(_this.slides[i])>=0&&(_this.slides[i].className+=" "+params.slideVisibleClass);_this.slides[_this.activeIndex].className+=" "+params.slideActiveClass}if(params.loop){var ls=_this.loopedSlides;_this.activeLoopIndex=_this.activeIndex-ls,_this.activeLoopIndex>=_this.slides.length-2*ls&&(_this.activeLoopIndex=_this.slides.length-2*ls-_this.activeLoopIndex),_this.activeLoopIndex<0&&(_this.activeLoopIndex=_this.slides.length-2*ls+_this.activeLoopIndex),_this.activeLoopIndex<0&&(_this.activeLoopIndex=0)}else _this.activeLoopIndex=_this.activeIndex;params.pagination&&_this.updatePagination(position)}}},_this.createPagination=function(firstInit){if(params.paginationClickable&&_this.paginationButtons&&removePaginationEvents(),_this.paginationContainer=params.pagination.nodeType?params.pagination:$$(params.pagination)[0],params.createPagination){var paginationHTML="",numOfSlides=_this.slides.length,numOfButtons=numOfSlides;params.loop&&(numOfButtons-=2*_this.loopedSlides);for(var i=0;i<numOfButtons;i++)paginationHTML+="<"+params.paginationElement+' class="'+params.paginationElementClass+'"></'+params.paginationElement+">";_this.paginationContainer.innerHTML=paginationHTML}_this.paginationButtons=$$("."+params.paginationElementClass,_this.paginationContainer),firstInit||_this.updatePagination(),_this.callPlugins("onCreatePagination"),params.paginationClickable&&addPaginationEvents()},_this.updatePagination=function(position){if(params.pagination&&!(_this.slides.length<1)){if($$("."+params.paginationActiveClass,_this.paginationContainer)){var pagers=_this.paginationButtons;if(0!==pagers.length){for(var i=0;i<pagers.length;i++)pagers[i].className=params.paginationElementClass;var indexOffset=params.loop?_this.loopedSlides:0;if(params.paginationAsRange){_this.visibleSlides||_this.calcVisibleSlides(position);var visibleIndexes=[],j;for(j=0;j<_this.visibleSlides.length;j++){var visIndex=_this.slides.indexOf(_this.visibleSlides[j])-indexOffset;params.loop&&visIndex<0&&(visIndex=_this.slides.length-2*_this.loopedSlides+visIndex),params.loop&&visIndex>=_this.slides.length-2*_this.loopedSlides&&(visIndex=_this.slides.length-2*_this.loopedSlides-visIndex,visIndex=Math.abs(visIndex)),visibleIndexes.push(visIndex)}for(j=0;j<visibleIndexes.length;j++)pagers[visibleIndexes[j]]&&(pagers[visibleIndexes[j]].className+=" "+params.paginationVisibleClass);params.loop?void 0!==pagers[_this.activeLoopIndex]&&(pagers[_this.activeLoopIndex].className+=" "+params.paginationActiveClass):pagers[_this.activeIndex].className+=" "+params.paginationActiveClass}else params.loop?pagers[_this.activeLoopIndex]&&(pagers[_this.activeLoopIndex].className+=" "+params.paginationActiveClass+" "+params.paginationVisibleClass):pagers[_this.activeIndex].className+=" "+params.paginationActiveClass+" "+params.paginationVisibleClass}}}},_this.calcVisibleSlides=function(position){var visibleSlides=[],_slideLeft=0,_slideSize=0,_slideRight=0;isH&&_this.wrapperLeft>0&&(position+=_this.wrapperLeft),!isH&&_this.wrapperTop>0&&(position+=_this.wrapperTop);for(var i=0;i<_this.slides.length;i++){_slideLeft+=_slideSize,_slideSize="auto"===params.slidesPerView?isH?_this.h.getWidth(_this.slides[i],!0,params.roundLengths):_this.h.getHeight(_this.slides[i],!0,params.roundLengths):slideSize,_slideRight=_slideLeft+_slideSize;var isVisibile=!1;params.visibilityFullFit?(_slideLeft>=-position&&_slideRight<=-position+containerSize&&(isVisibile=!0),_slideLeft<=-position&&_slideRight>=-position+containerSize&&(isVisibile=!0)):(_slideRight>-position&&_slideRight<=-position+containerSize&&(isVisibile=!0),_slideLeft>=-position&&_slideLeft<-position+containerSize&&(isVisibile=!0),_slideLeft<-position&&_slideRight>-position+containerSize&&(isVisibile=!0)),isVisibile&&visibleSlides.push(_this.slides[i])}0===visibleSlides.length&&(visibleSlides=[_this.slides[_this.activeIndex]]),_this.visibleSlides=visibleSlides};var autoplayTimeoutId,autoplayIntervalId;_this.startAutoplay=function(){if(_this.support.transitions){if(void 0!==autoplayTimeoutId)return!1;if(!params.autoplay)return;_this.callPlugins("onAutoplayStart"),params.onAutoplayStart&&_this.fireCallback(params.onAutoplayStart,_this),autoplay()}else{if(void 0!==autoplayIntervalId)return!1;if(!params.autoplay)return;_this.callPlugins("onAutoplayStart"),params.onAutoplayStart&&_this.fireCallback(params.onAutoplayStart,_this),autoplayIntervalId=setInterval(function(){params.loop?(_this.fixLoop(),_this.swipeNext(!0)):_this.swipeNext(!0)||(params.autoplayStopOnLast?(clearInterval(autoplayIntervalId),autoplayIntervalId=void 0):_this.swipeTo(0))},params.autoplay)}},_this.stopAutoplay=function(internal){if(_this.support.transitions){if(!autoplayTimeoutId)return;autoplayTimeoutId&&clearTimeout(autoplayTimeoutId),autoplayTimeoutId=void 0,internal&&!params.autoplayDisableOnInteraction&&_this.wrapperTransitionEnd(function(){autoplay()}),_this.callPlugins("onAutoplayStop"),params.onAutoplayStop&&_this.fireCallback(params.onAutoplayStop,_this)}else autoplayIntervalId&&clearInterval(autoplayIntervalId),autoplayIntervalId=void 0,_this.callPlugins("onAutoplayStop"),params.onAutoplayStop&&_this.fireCallback(params.onAutoplayStop,_this)},_this.loopCreated=!1,_this.removeLoopedSlides=function(){if(_this.loopCreated)for(var i=0;i<_this.slides.length;i++)!0===_this.slides[i].getData("looped")&&_this.wrapper.removeChild(_this.slides[i])},_this.createLoop=function(){if(0!==_this.slides.length){"auto"===params.slidesPerView?_this.loopedSlides=params.loopedSlides||1:_this.loopedSlides=params.slidesPerView+params.loopAdditionalSlides,_this.loopedSlides>_this.slides.length&&(_this.loopedSlides=_this.slides.length);var slideFirstHTML="",slideLastHTML="",i,slidesSetFullHTML="",numSlides=_this.slides.length,fullSlideSets=Math.floor(_this.loopedSlides/numSlides),remainderSlides=_this.loopedSlides%numSlides;for(i=0;i<fullSlideSets*numSlides;i++){var j=i;if(i>=numSlides){j=i-numSlides*Math.floor(i/numSlides)}slidesSetFullHTML+=_this.slides[j].outerHTML}for(i=0;i<remainderSlides;i++)slideLastHTML+=addClassToHtmlString(params.slideDuplicateClass,_this.slides[i].outerHTML);for(i=numSlides-remainderSlides;i<numSlides;i++)slideFirstHTML+=addClassToHtmlString(params.slideDuplicateClass,_this.slides[i].outerHTML);var slides=slideFirstHTML+slidesSetFullHTML+wrapper.innerHTML+slidesSetFullHTML+slideLastHTML;for(wrapper.innerHTML=slides,_this.loopCreated=!0,_this.calcSlides(),i=0;i<_this.slides.length;i++)(i<_this.loopedSlides||i>=_this.slides.length-_this.loopedSlides)&&_this.slides[i].setData("looped",!0);_this.callPlugins("onCreateLoop")}},_this.fixLoop=function(){var newIndex;_this.activeIndex<_this.loopedSlides?(newIndex=_this.slides.length-3*_this.loopedSlides+_this.activeIndex,_this.swipeTo(newIndex,0,!1)):("auto"===params.slidesPerView&&_this.activeIndex>=2*_this.loopedSlides||_this.activeIndex>_this.slides.length-2*params.slidesPerView)&&(newIndex=-_this.slides.length+_this.activeIndex+_this.loopedSlides,_this.swipeTo(newIndex,0,!1))},_this.loadSlides=function(){var slidesHTML="";_this.activeLoaderIndex=0;for(var slides=params.loader.slides,slidesToLoad=params.loader.loadAllSlides?slides.length:params.slidesPerView*(1+params.loader.surroundGroups),i=0;i<slidesToLoad;i++)"outer"===params.loader.slidesHTMLType?slidesHTML+=slides[i]:slidesHTML+="<"+params.slideElement+' class="'+params.slideClass+'" data-swiperindex="'+i+'">'+slides[i]+"</"+params.slideElement+">";_this.wrapper.innerHTML=slidesHTML,_this.calcSlides(!0),params.loader.loadAllSlides||_this.wrapperTransitionEnd(_this.reloadSlides,!0)},_this.reloadSlides=function(){var slides=params.loader.slides,newActiveIndex=parseInt(_this.activeSlide().data("swiperindex"),10);if(!(newActiveIndex<0||newActiveIndex>slides.length-1)){_this.activeLoaderIndex=newActiveIndex;var firstIndex=Math.max(0,newActiveIndex-params.slidesPerView*params.loader.surroundGroups),lastIndex=Math.min(newActiveIndex+params.slidesPerView*(1+params.loader.surroundGroups)-1,slides.length-1);if(newActiveIndex>0){var newTransform=-slideSize*(newActiveIndex-firstIndex);_this.setWrapperTranslate(newTransform),_this.setWrapperTransition(0)}var i;if("reload"===params.loader.logic){_this.wrapper.innerHTML="";var slidesHTML="";for(i=firstIndex;i<=lastIndex;i++)slidesHTML+="outer"===params.loader.slidesHTMLType?slides[i]:"<"+params.slideElement+' class="'+params.slideClass+'" data-swiperindex="'+i+'">'+slides[i]+"</"+params.slideElement+">";_this.wrapper.innerHTML=slidesHTML}else{var minExistIndex=1e3,maxExistIndex=0;for(i=0;i<_this.slides.length;i++){var index=_this.slides[i].data("swiperindex");index<firstIndex||index>lastIndex?_this.wrapper.removeChild(_this.slides[i]):(minExistIndex=Math.min(index,minExistIndex),maxExistIndex=Math.max(index,maxExistIndex))}for(i=firstIndex;i<=lastIndex;i++){var newSlide;i<minExistIndex&&(newSlide=document.createElement(params.slideElement),newSlide.className=params.slideClass,newSlide.setAttribute("data-swiperindex",i),newSlide.innerHTML=slides[i],_this.wrapper.insertBefore(newSlide,_this.wrapper.firstChild)),i>maxExistIndex&&(newSlide=document.createElement(params.slideElement),newSlide.className=params.slideClass,newSlide.setAttribute("data-swiperindex",i),newSlide.innerHTML=slides[i],_this.wrapper.appendChild(newSlide))}}_this.reInit(!0)}},makeSwiper()}};Swiper.prototype={plugins:{},wrapperTransitionEnd:function(callback,permanent){"use strict";function fireCallBack(){if(callback(a),a.params.queueEndCallbacks&&(a._queueEndCallbacks=!1),!permanent)for(i=0;i<events.length;i++)a.h.removeEventListener(el,events[i],fireCallBack)}var a=this,el=a.wrapper,events=["webkitTransitionEnd","transitionend","oTransitionEnd","MSTransitionEnd","msTransitionEnd"],i;if(callback)for(i=0;i<events.length;i++)a.h.addEventListener(el,events[i],fireCallBack)},getWrapperTranslate:function(axis){"use strict";var el=this.wrapper,matrix,curTransform,curStyle,transformMatrix;return void 0===axis&&(axis="horizontal"===this.params.mode?"x":"y"),this.support.transforms&&this.params.useCSS3Transforms?(curStyle=window.getComputedStyle(el,null),window.WebKitCSSMatrix?transformMatrix=new WebKitCSSMatrix("none"===curStyle.webkitTransform?"":curStyle.webkitTransform):(transformMatrix=curStyle.MozTransform||curStyle.OTransform||curStyle.MsTransform||curStyle.msTransform||curStyle.transform||curStyle.getPropertyValue("transform").replace("translate(","matrix(1, 0, 0, 1,"),matrix=transformMatrix.toString().split(",")),"x"===axis&&(curTransform=window.WebKitCSSMatrix?transformMatrix.m41:16===matrix.length?parseFloat(matrix[12]):parseFloat(matrix[4])),"y"===axis&&(curTransform=window.WebKitCSSMatrix?transformMatrix.m42:16===matrix.length?parseFloat(matrix[13]):parseFloat(matrix[5]))):("x"===axis&&(curTransform=parseFloat(el.style.left,10)||0),"y"===axis&&(curTransform=parseFloat(el.style.top,10)||0)),curTransform||0},setWrapperTranslate:function(x,y,z){"use strict";var es=this.wrapper.style,coords={x:0,y:0,z:0},translate;3===arguments.length?(coords.x=x,coords.y=y,coords.z=z):(void 0===y&&(y="horizontal"===this.params.mode?"x":"y"),coords[y]=x),this.support.transforms&&this.params.useCSS3Transforms?(translate=this.support.transforms3d?"translate3d("+coords.x+"px, "+coords.y+"px, "+coords.z+"px)":"translate("+coords.x+"px, "+coords.y+"px)",es.webkitTransform=es.MsTransform=es.msTransform=es.MozTransform=es.OTransform=es.transform=translate):(es.left=coords.x+"px",es.top=coords.y+"px"),this.callPlugins("onSetWrapperTransform",coords),this.params.onSetWrapperTransform&&this.fireCallback(this.params.onSetWrapperTransform,this,coords)},setWrapperTransition:function(duration){"use strict";var es=this.wrapper.style;es.webkitTransitionDuration=es.MsTransitionDuration=es.msTransitionDuration=es.MozTransitionDuration=es.OTransitionDuration=es.transitionDuration=duration/1e3+"s",this.callPlugins("onSetWrapperTransition",{duration:duration}),this.params.onSetWrapperTransition&&this.fireCallback(this.params.onSetWrapperTransition,this,duration)},h:{getWidth:function(el,outer,round){"use strict";var width=window.getComputedStyle(el,null).getPropertyValue("width"),returnWidth=parseFloat(width);return(isNaN(returnWidth)||width.indexOf("%")>0)&&(returnWidth=el.offsetWidth-parseFloat(window.getComputedStyle(el,null).getPropertyValue("padding-left"))-parseFloat(window.getComputedStyle(el,null).getPropertyValue("padding-right"))),outer&&(returnWidth+=parseFloat(window.getComputedStyle(el,null).getPropertyValue("padding-left"))+parseFloat(window.getComputedStyle(el,null).getPropertyValue("padding-right"))),round?Math.round(returnWidth):returnWidth},getHeight:function(el,outer,round){"use strict";if(outer)return el.offsetHeight;var height=window.getComputedStyle(el,null).getPropertyValue("height"),returnHeight=parseFloat(height);return(isNaN(returnHeight)||height.indexOf("%")>0)&&(returnHeight=el.offsetHeight-parseFloat(window.getComputedStyle(el,null).getPropertyValue("padding-top"))-parseFloat(window.getComputedStyle(el,null).getPropertyValue("padding-bottom"))),outer&&(returnHeight+=parseFloat(window.getComputedStyle(el,null).getPropertyValue("padding-top"))+parseFloat(window.getComputedStyle(el,null).getPropertyValue("padding-bottom"))),round?Math.round(returnHeight):returnHeight},getOffset:function(el){"use strict";var box=el.getBoundingClientRect(),body=document.body,clientTop=el.clientTop||body.clientTop||0,clientLeft=el.clientLeft||body.clientLeft||0,scrollTop=window.pageYOffset||el.scrollTop,scrollLeft=window.pageXOffset||el.scrollLeft;return document.documentElement&&!window.pageYOffset&&(scrollTop=document.documentElement.scrollTop,scrollLeft=document.documentElement.scrollLeft),{top:box.top+scrollTop-clientTop,left:box.left+scrollLeft-clientLeft}},windowWidth:function(){"use strict";return window.innerWidth?window.innerWidth:document.documentElement&&document.documentElement.clientWidth?document.documentElement.clientWidth:void 0},windowHeight:function(){"use strict";return window.innerHeight?window.innerHeight:document.documentElement&&document.documentElement.clientHeight?document.documentElement.clientHeight:void 0},windowScroll:function(){"use strict";return"undefined"!=typeof pageYOffset?{left:window.pageXOffset,top:window.pageYOffset}:document.documentElement?{left:document.documentElement.scrollLeft,top:document.documentElement.scrollTop}:void 0},addEventListener:function(el,event,listener,useCapture){"use strict";void 0===useCapture&&(useCapture=!1),el.addEventListener?el.addEventListener(event,listener,useCapture):el.attachEvent&&el.attachEvent("on"+event,listener)},removeEventListener:function(el,event,listener,useCapture){"use strict";void 0===useCapture&&(useCapture=!1),el.removeEventListener?el.removeEventListener(event,listener,useCapture):el.detachEvent&&el.detachEvent("on"+event,listener)}},setTransform:function(el,transform){"use strict";var es=el.style;es.webkitTransform=es.MsTransform=es.msTransform=es.MozTransform=es.OTransform=es.transform=transform},setTranslate:function(el,translate){"use strict";var es=el.style,pos={x:translate.x||0,y:translate.y||0,z:translate.z||0},transformString=this.support.transforms3d?"translate3d("+pos.x+"px,"+pos.y+"px,"+pos.z+"px)":"translate("+pos.x+"px,"+pos.y+"px)";es.webkitTransform=es.MsTransform=es.msTransform=es.MozTransform=es.OTransform=es.transform=transformString,this.support.transforms||(es.left=pos.x+"px",es.top=pos.y+"px")},setTransition:function(el,duration){"use strict";var es=el.style;es.webkitTransitionDuration=es.MsTransitionDuration=es.msTransitionDuration=es.MozTransitionDuration=es.OTransitionDuration=es.transitionDuration=duration+"ms"},support:{touch:window.Modernizr&&!0===Modernizr.touch||function(){"use strict";return!!("ontouchstart"in window||window.DocumentTouch&&document instanceof DocumentTouch)}(),transforms3d:window.Modernizr&&!0===Modernizr.csstransforms3d||function(){"use strict";var div=document.createElement("div").style;return"webkitPerspective"in div||"MozPerspective"in div||"OPerspective"in div||"MsPerspective"in div||"perspective"in div}(),transforms:window.Modernizr&&!0===Modernizr.csstransforms||function(){"use strict";var div=document.createElement("div").style;return"transform"in div||"WebkitTransform"in div||"MozTransform"in div||"msTransform"in div||"MsTransform"in div||"OTransform"in div}(),transitions:window.Modernizr&&!0===Modernizr.csstransitions||function(){"use strict";var div=document.createElement("div").style;return"transition"in div||"WebkitTransition"in div||"MozTransition"in div||"msTransition"in div||"MsTransition"in div||"OTransition"in div}(),classList:function(){"use strict";return"classList"in document.createElement("div").style}()},browser:{ie8:function(){"use strict";var rv=-1;if("Microsoft Internet Explorer"===navigator.appName){var ua=navigator.userAgent;null!==new RegExp(/MSIE ([0-9]{1,}[\.0-9]{0,})/).exec(ua)&&(rv=parseFloat(RegExp.$1))}return-1!==rv&&rv<9}(),ie10:window.navigator.msPointerEnabled,ie11:window.navigator.pointerEnabled}},(window.jQuery||window.Zepto)&&function($){"use strict";$.fn.swiper=function(params){var s=new Swiper($(this)[0],params);return $(this).data("swiper",s),s}}(window.jQuery||window.Zepto),"undefined"!=typeof module&&(module.exports=Swiper),"function"==typeof define&&define.amd&&define([],function(){"use strict";return Swiper}),function($){function handler(event){var orgEvent=event||window.event,args=[].slice.call(arguments,1),delta=0,returnValue=!0,deltaX=0,deltaY=0;return event=$.event.fix(orgEvent),event.type="mousewheel",orgEvent.wheelDelta&&(delta=orgEvent.wheelDelta/120),orgEvent.detail&&(delta=-orgEvent.detail/3),deltaY=delta,void 0!==orgEvent.axis&&orgEvent.axis===orgEvent.HORIZONTAL_AXIS&&(deltaY=0,deltaX=-1*delta),void 0!==orgEvent.wheelDeltaY&&(deltaY=orgEvent.wheelDeltaY/120),void 0!==orgEvent.wheelDeltaX&&(deltaX=-1*orgEvent.wheelDeltaX/120),args.unshift(event,delta,deltaX,deltaY),($.event.dispatch||$.event.handle).apply(this,args)}var types=["DOMMouseScroll","mousewheel"];if($.event.fixHooks)for(var i=types.length;i;)$.event.fixHooks[types[--i]]=$.event.mouseHooks;$.event.special.mousewheel={setup:function(){if(this.addEventListener)for(var i=types.length;i;)this.addEventListener(types[--i],handler,!1);else this.onmousewheel=handler},teardown:function(){if(this.removeEventListener)for(var i=types.length;i;)this.removeEventListener(types[--i],handler,!1);else this.onmousewheel=null}},$.fn.extend({mousewheel:function(fn){return fn?this.bind("mousewheel",fn):this.trigger("mousewheel")},unmousewheel:function(fn){return this.unbind("mousewheel",fn)}})}(jQuery),function($,window,undefined){for(var lastTime=0,running,animate=function(elem){running&&(window.requestAnimationFrame(animate,elem),jQuery.fx.tick())},vendors=["ms","moz","webkit","o"],x=0;x<vendors.length&&!window.requestAnimationFrame;++x)window.requestAnimationFrame=window[vendors[x]+"RequestAnimationFrame"],window.cancelAnimationFrame=window[vendors[x]+"CancelAnimationFrame"]||window[vendors[x]+"CancelRequestAnimationFrame"];window.requestAnimationFrame||(window.requestAnimationFrame=function(fn,element){var currTime=(new Date).getTime(),delta=currTime-lastTime,timeToCall=Math.max(0,16-delta),id=window.setTimeout(function(){fn(currTime+timeToCall)},timeToCall);return lastTime=currTime+timeToCall,id}),window.cancelAnimationFrame||(window.cancelAnimationFrame=function(id){clearTimeout(id)}),jQuery.fx.timer=function(timer){timer()&&jQuery.timers.push(timer)&&!running&&(running=!0,animate(timer.elem))},jQuery.fx.stop=function(){running=!1}}(jQuery,this),function(a){a.fn.addBack=a.fn.addBack||a.fn.andSelf,a.fn.extend({actual:function(b,l){if(!this[b])throw'$.actual => The jQuery method "'+b+'" you called does not exist';var f={
  absolute:!1,clone:!1,includeMargin:!1},i=a.extend(f,l),e=this.eq(0),h,j;if(!0===i.clone)h=function(){var m="position: absolute !important; top: -1000 !important; ";e=e.clone().attr("style","position: absolute !important; top: -1000 !important; ").appendTo("body")},j=function(){e.remove()};else{var g=[],d="",c;h=function(){c=e.parents().addBack().filter(":hidden"),d+="visibility: hidden !important; display: block !important; ",!0===i.absolute&&(d+="position: absolute !important; "),c.each(function(){var m=a(this);g.push(m.attr("style")),m.attr("style",d)})},j=function(){c.each(function(m){var o=a(this),n=g[m];void 0===n?o.removeAttr("style"):o.attr("style",n)})}}h();var k=/(outer)/.test(b)?e[b](i.includeMargin):e[b]();return j(),k}})}(jQuery),Swiper.prototype.plugins.progress=function(swiper,params){"use strict";function initSlides(){for(var i=0;i<swiper.slides.length;i++){var slide=swiper.slides[i];slide.progressSlideSize=isH?swiper.h.getWidth(slide):swiper.h.getHeight(slide),slide.progressSlideOffset="offsetLeft"in slide?isH?slide.offsetLeft:slide.offsetTop:isH?slide.getOffset().left-swiper.h.getOffset(swiper.container).left:slide.getOffset().top-swiper.h.getOffset(swiper.container).top}wrapperMaxPosition=isH?swiper.h.getWidth(swiper.wrapper)+swiper.wrapperLeft+swiper.wrapperRight-swiper.width:swiper.h.getHeight(swiper.wrapper)+swiper.wrapperTop+swiper.wrapperBottom-swiper.height}function calcProgress(transform){transform=transform||{x:0,y:0,z:0};var offsetCenter;offsetCenter=!0===swiper.params.centeredSlides?isH?-transform.x+swiper.width/2:-transform.y+swiper.height/2:isH?-transform.x:-transform.y;for(var i=0;i<swiper.slides.length;i++){var slide=swiper.slides[i],slideCenterOffset=!0===swiper.params.centeredSlides?slide.progressSlideSize/2:0,offsetMultiplier=(offsetCenter-slide.progressSlideOffset-slideCenterOffset)/slide.progressSlideSize;slide.progress=offsetMultiplier}swiper.progress=isH?-transform.x/wrapperMaxPosition:-transform.y/wrapperMaxPosition,swiper.params.onProgressChange&&swiper.fireCallback(swiper.params.onProgressChange,swiper)}var isH="horizontal"===swiper.params.mode,wrapperMaxPosition;return{onFirstInit:function(args){initSlides(),calcProgress({x:swiper.getWrapperTranslate("x"),y:swiper.getWrapperTranslate("y")})},onInit:function(args){initSlides()},onSetWrapperTransform:function(transform){calcProgress(transform)}}};