var Swiper=function(n,t){"use strict";function s(n,t){return document.querySelectorAll?(t||document).querySelectorAll(n):jQuery(n,t)}function f(){var n=w-u;return t.freeMode&&(n=w-u),t.slidesPerView>i.slides.length&&!t.centeredSlides&&(n=0),0>n&&(n=0),n}function kt(){var n,r=i.h.addEventListener,u,f;if(t.preventLinks)for(u=s("a",i.container),n=0;n<u.length;n++)r(u[n],"click",ii);if(t.releaseFormElements)for(f=s("input, textarea, select",i.container),n=0;n<f.length;n++)r(f[n],i.touchEvents.touchStart,ri,!0);if(t.onSlideClick)for(n=0;n<i.slides.length;n++)r(i.slides[n],"click",gt);if(t.onSlideTouch)for(n=0;n<i.slides.length;n++)r(i.slides[n],i.touchEvents.touchStart,ni)}function dt(){var n,r=i.h.removeEventListener,u,f;if(t.onSlideClick)for(n=0;n<i.slides.length;n++)r(i.slides[n],"click",gt);if(t.onSlideTouch)for(n=0;n<i.slides.length;n++)r(i.slides[n],i.touchEvents.touchStart,ni);if(t.releaseFormElements)for(u=s("input, textarea, select",i.container),n=0;n<u.length;n++)r(u[n],i.touchEvents.touchStart,ri,!0);if(t.preventLinks)for(f=s("a",i.container),n=0;n<f.length;n++)r(f[n],"click",ii)}function rt(n){var t=n.keyCode||n.charCode,f;if(!(n.shiftKey||n.altKey||n.ctrlKey||n.metaKey)){if(37===t||39===t||38===t||40===t){for(var o=!1,u=i.h.getOffset(i.container),s=i.h.windowScroll().left,h=i.h.windowScroll().top,l=i.h.windowWidth(),a=i.h.windowHeight(),c=[[u.left,u.top],[u.left+i.width,u.top],[u.left,u.top+i.height],[u.left+i.width,u.top+i.height]],e=0;e<c.length;e++)f=c[e],f[0]>=s&&f[0]<=s+l&&f[1]>=h&&f[1]<=h+a&&(o=!0);if(!o)return}r?((37===t||39===t)&&(n.preventDefault?n.preventDefault():n.returnValue=!1),39===t&&i.swipeNext(),37===t&&i.swipePrev()):((38===t||40===t)&&(n.preventDefault?n.preventDefault():n.returnValue=!1),40===t&&i.swipeNext(),38===t&&i.swipePrev())}}function ut(n){var o=i._wheelEvent,u=0,e;if(n.detail)u=-n.detail;else if("mousewheel"===o)if(t.mousewheelControlForceToAxis)if(r){if(!(Math.abs(n.wheelDeltaX)>Math.abs(n.wheelDeltaY)))return;u=n.wheelDeltaX}else{if(!(Math.abs(n.wheelDeltaY)>Math.abs(n.wheelDeltaX)))return;u=n.wheelDeltaY}else u=n.wheelDelta;else if("DOMMouseScroll"===o)u=-n.detail;else if("wheel"===o)if(t.mousewheelControlForceToAxis)if(r){if(!(Math.abs(n.deltaX)>Math.abs(n.deltaY)))return;u=-n.deltaX}else{if(!(Math.abs(n.deltaY)>Math.abs(n.deltaX)))return;u=-n.deltaY}else u=Math.abs(n.deltaX)>Math.abs(n.deltaY)?-n.deltaX:-n.deltaY;if(t.freeMode){if(e=i.getWrapperTranslate()+u,e>0&&(e=0),e<-f()&&(e=-f()),i.setWrapperTransition(0),i.setWrapperTranslate(e),i.updateActiveSlide(e),0===e||e===-f())return}else(new Date).getTime()-bt>60&&(0>u?i.swipeNext():i.swipePrev()),bt=(new Date).getTime();return t.autoplay&&i.stopAutoplay(!0),n.preventDefault?n.preventDefault():n.returnValue=!1,!1}function gt(n){i.allowSlideClick&&(ti(n),i.fireCallback(t.onSlideClick,i,n))}function ni(n){ti(n);i.fireCallback(t.onSlideTouch,i,n)}function ti(n){if(n.currentTarget)i.clickedSlide=n.currentTarget;else{var r=n.srcElement;do{if(r.className.indexOf(t.slideClass)>-1)break;r=r.parentNode}while(r);i.clickedSlide=r}i.clickedSlideIndex=i.slides.indexOf(i.clickedSlide);i.clickedSlideLoopIndex=i.clickedSlideIndex-(i.loopedSlides||0)}function ii(n){if(!i.allowLinks)return(n.preventDefault?n.preventDefault():n.returnValue=!1,t.preventLinksPropagation&&"stopPropagation"in n&&n.stopPropagation(),!1)}function ri(n){return n.stopPropagation?n.stopPropagation():n.returnValue=!1,!1}function v(n){var u,o,f,e;if((t.preventLinks&&(i.allowLinks=!0),i.isTouched||t.onlyExternal)||(u=n.target||n.srcElement,document.activeElement&&document.activeElement!==u&&document.activeElement.blur(),o="input select textarea".split(" "),t.noSwiping&&u&&function(n){var i=!1;do n.className.indexOf(t.noSwipingClass)>-1&&(i=!0),n=n.parentElement;while(!i&&n.parentElement&&-1===n.className.indexOf(t.wrapperClass));return!i&&n.className.indexOf(t.wrapperClass)>-1&&n.className.indexOf(t.noSwipingClass)>-1&&(i=!0),i}(u))||(it=!1,i.isTouched=!0,!(l="touchstart"===n.type)&&"which"in n&&3===n.which))return!1;l&&1!==n.targetTouches.length||(i.callPlugins("onTouchStartBegin"),!l&&!i.isAndroid&&o.indexOf(u.tagName.toLowerCase())<0&&(n.preventDefault?n.preventDefault():n.returnValue=!1),f=l?n.targetTouches[0].pageX:n.pageX||n.clientX,e=l?n.targetTouches[0].pageY:n.pageY||n.clientY,i.touches.startX=i.touches.currentX=f,i.touches.startY=i.touches.currentY=e,i.touches.start=i.touches.current=r?f:e,i.setWrapperTransition(0),i.positions.start=i.positions.current=i.getWrapperTranslate(),i.setWrapperTranslate(i.positions.start),i.times.start=(new Date).getTime(),a=void 0,t.moveStartThreshold>0&&(lt=!1),t.onTouchStart&&i.fireCallback(t.onTouchStart,i,n),i.callPlugins("onTouchStartEnd"))}function y(n){var e,o,s,h,c,v;if(i.isTouched&&!t.onlyExternal&&(!l||"mousemove"!==n.type)){if(e=l?n.targetTouches[0].pageX:n.pageX||n.clientX,o=l?n.targetTouches[0].pageY:n.pageY||n.clientY,void 0===a&&r&&(a=!!(a||Math.abs(o-i.touches.startY)>Math.abs(e-i.touches.startX))),void 0!==a||r||(a=!!(a||Math.abs(o-i.touches.startY)<Math.abs(e-i.touches.startX))),a)return void(i.isTouched=!1);if(r){if(!t.swipeToNext&&e<i.touches.startX||!t.swipeToPrev&&e>i.touches.startX)return}else if(!t.swipeToNext&&o<i.touches.startY||!t.swipeToPrev&&o>i.touches.startY)return;if(n.assignedToSwiper)return void(i.isTouched=!1);if(n.assignedToSwiper=!0,t.preventLinks&&(i.allowLinks=!1),t.onSlideClick&&(i.allowSlideClick=!1),t.autoplay&&i.stopAutoplay(!0),!l||1===n.touches.length){if((i.isMoved||(i.callPlugins("onTouchMoveStart"),t.loop&&(i.fixLoop(),i.positions.start=i.getWrapperTranslate()),t.onTouchMoveStart&&i.fireCallback(t.onTouchMoveStart,i)),i.isMoved=!0,n.preventDefault?n.preventDefault():n.returnValue=!1,i.touches.current=r?e:o,i.positions.current=(i.touches.current-i.touches.start)*t.touchRatio+i.positions.start,i.positions.current>0&&t.onResistanceBefore&&i.fireCallback(t.onResistanceBefore,i,i.positions.current),i.positions.current<-f()&&t.onResistanceAfter&&i.fireCallback(t.onResistanceAfter,i,Math.abs(i.positions.current+f())),t.resistance&&"100%"!==t.resistance)&&(i.positions.current>0&&(s=1-i.positions.current/u/2,i.positions.current=.5>s?u/2:i.positions.current*s),i.positions.current<-f())&&(h=(i.touches.current-i.touches.start)*t.touchRatio+(f()+i.positions.start),s=(u+h)/u,c=i.positions.current-h*(1-s)/2,v=-f()-u/2,i.positions.current=v>c||0>=s?v:c),t.resistance&&"100%"===t.resistance&&(i.positions.current>0&&(!t.freeMode||t.freeModeFluid)&&(i.positions.current=0),i.positions.current<-f()&&(!t.freeMode||t.freeModeFluid)&&(i.positions.current=-f())),!t.followFinger)return;if(t.moveStartThreshold)if(Math.abs(i.touches.current-i.touches.start)>t.moveStartThreshold||lt){if(!lt)return lt=!0,void(i.touches.start=i.touches.current);i.setWrapperTranslate(i.positions.current)}else i.positions.current=i.positions.start;else i.setWrapperTranslate(i.positions.current);return(t.freeMode||t.watchActiveIndex)&&i.updateActiveSlide(i.positions.current),t.grabCursor&&(i.container.style.cursor="move",i.container.style.cursor="grabbing",i.container.style.cursor="-moz-grabbin",i.container.style.cursor="-webkit-grabbing"),tt||(tt=i.touches.current),at||(at=(new Date).getTime()),i.velocity=(i.touches.current-tt)/((new Date).getTime()-at)/2,Math.abs(i.touches.current-tt)<2&&(i.velocity=0),tt=i.touches.current,at=(new Date).getTime(),i.callPlugins("onTouchMoveEnd"),t.onTouchMove&&i.fireCallback(t.onTouchMove,i,n),!1}}}function p(n){var s,h;if(a&&i.swipeReset(),!t.onlyExternal&&i.isTouched){i.isTouched=!1;t.grabCursor&&(i.container.style.cursor="move",i.container.style.cursor="grab",i.container.style.cursor="-moz-grab",i.container.style.cursor="-webkit-grab");i.positions.current||0===i.positions.current||(i.positions.current=i.positions.start);t.followFinger&&i.setWrapperTranslate(i.positions.current);i.times.end=(new Date).getTime();i.touches.diff=i.touches.current-i.touches.start;i.touches.abs=Math.abs(i.touches.diff);i.positions.diff=i.positions.current-i.positions.start;i.positions.abs=Math.abs(i.positions.diff);var d=i.positions.diff,c=i.positions.abs,l=i.times.end-i.times.start;if(5>c&&300>l&&!1===i.allowLinks&&(t.freeMode||0===c||i.swipeReset(),t.preventLinks&&(i.allowLinks=!0),t.onSlideClick&&(i.allowSlideClick=!0)),setTimeout(function(){null!=i&&(t.preventLinks&&(i.allowLinks=!0),t.onSlideClick&&(i.allowSlideClick=!0))},100),s=f(),!i.isMoved&&t.freeMode)return i.isMoved=!1,t.onTouchEnd&&i.fireCallback(t.onTouchEnd,i,n),void i.callPlugins("onTouchEnd");if(!i.isMoved||i.positions.current>0||i.positions.current<-s)return i.swipeReset(),t.onTouchEnd&&i.fireCallback(t.onTouchEnd,i,n),void i.callPlugins("onTouchEnd");if(i.isMoved=!1,t.freeMode){if(t.freeModeFluid){var p,w=1e3*t.momentumRatio,g=i.velocity*w,o=i.positions.current+g,b=!1,v=20*Math.abs(i.velocity)*t.momentumBounceRatio;-s>o&&(t.momentumBounce&&i.support.transitions?(-v>o+s&&(o=-s-v),p=-s,b=!0,it=!0):o=-s);o>0&&(t.momentumBounce&&i.support.transitions?(o>v&&(o=v),p=0,b=!0,it=!0):o=0);0!==i.velocity&&(w=Math.abs((o-i.positions.current)/i.velocity));i.setWrapperTranslate(o);i.setWrapperTransition(w);t.momentumBounce&&b&&i.wrapperTransitionEnd(function(){it&&(t.onMomentumBounce&&i.fireCallback(t.onMomentumBounce,i),i.callPlugins("onMomentumBounce"),i.setWrapperTranslate(p),i.setWrapperTransition(300))});i.updateActiveSlide(o)}return(!t.freeModeFluid||l>=300)&&i.updateActiveSlide(i.positions.current),t.onTouchEnd&&i.fireCallback(t.onTouchEnd,i,n),void i.callPlugins("onTouchEnd")}if("toNext"==(ot=0>d?"toNext":"toPrev")&&300>=l&&(30>c||!t.shortSwipes?i.swipeReset():i.swipeNext(!0)),"toPrev"===ot&&300>=l&&(30>c||!t.shortSwipes?i.swipeReset():i.swipePrev(!0)),h=0,"auto"===t.slidesPerView){for(var k,nt=Math.abs(i.getWrapperTranslate()),tt=0,y=0;y<i.slides.length;y++)if((tt+=k=r?i.slides[y].getWidth(!0,t.roundLengths):i.slides[y].getHeight(!0,t.roundLengths))>nt){h=k;break}h>u&&(h=u)}else h=e*t.slidesPerView;"toNext"===ot&&l>300&&(c>=h*t.longSwipesRatio?i.swipeNext(!0):i.swipeReset());"toPrev"===ot&&l>300&&(c>=h*t.longSwipesRatio?i.swipePrev(!0):i.swipeReset());t.onTouchEnd&&i.fireCallback(t.onTouchEnd,i,n);i.callPlugins("onTouchEnd")}}function ui(n,t){var i,r=document.createElement("div");return r.innerHTML=t,(i=r.firstChild).className+=" "+n,i.outerHTML}function ft(n,r,u){var e="to"===r&&u.speed>=0?u.speed:t.speed,s=+new Date;if(i.support.transitions||!t.DOMAnimation)i.setWrapperTranslate(n),i.setWrapperTransition(e);else{var f=i.getWrapperTranslate(),h=Math.ceil((n-f)/e*(1e3/60)),o=f>n?"toNext":"toPrev";if(i._DOMAnimating)return;!function e(){var c=+new Date;f+=h*(c-s)/(1e3/60);("toNext"===o?f>n:n>f)?(i.setWrapperTranslate(Math.ceil(f)),i._DOMAnimating=!0,window.setTimeout(function(){e()},1e3/60)):(t.onSlideChangeEnd&&("to"===r?!0===u.runCallbacks&&i.fireCallback(t.onSlideChangeEnd,i,o):i.fireCallback(t.onSlideChangeEnd,i,o)),i.setWrapperTranslate(n),i._DOMAnimating=!1)}()}i.updateActiveSlide(n);t.onSlideNext&&"next"===r&&i.fireCallback(t.onSlideNext,i,n);t.onSlidePrev&&"prev"===r&&i.fireCallback(t.onSlidePrev,i,n);t.onSlideReset&&"reset"===r&&i.fireCallback(t.onSlideReset,i,n);("next"===r||"prev"===r||"to"===r&&!0===u.runCallbacks)&&function(n){if(i.callPlugins("onSlideChangeStart"),t.onSlideChangeStart)if(t.queueStartCallbacks&&i.support.transitions){if(i._queueStartCallbacks)return;i._queueStartCallbacks=!0;i.fireCallback(t.onSlideChangeStart,i,n);i.wrapperTransitionEnd(function(){i._queueStartCallbacks=!1})}else i.fireCallback(t.onSlideChangeStart,i,n);if(t.onSlideChangeEnd)if(i.support.transitions)if(t.queueEndCallbacks){if(i._queueEndCallbacks)return;i._queueEndCallbacks=!0;i.wrapperTransitionEnd(function(r){i.fireCallback(t.onSlideChangeEnd,r,n)})}else i.wrapperTransitionEnd(function(r){i.fireCallback(t.onSlideChangeEnd,r,n)});else t.DOMAnimation||setTimeout(function(){i.fireCallback(t.onSlideChangeEnd,i,n)},10)}(r)}function fi(){var t=i.paginationButtons,n;if(t)for(n=0;n<t.length;n++)i.h.removeEventListener(t[n],"click",ei)}function ei(n){for(var u,e=n.target||n.srcElement,f=i.paginationButtons,r=0;r<f.length;r++)e===f[r]&&(u=r);t.autoplay&&i.stopAutoplay(!0);i.swipeTo(u)}function vt(){o=setTimeout(function(){t.loop?(i.fixLoop(),i.swipeNext(!0)):i.swipeNext(!0)||(t.autoplayStopOnLast?(clearTimeout(o),o=void 0):i.swipeTo(0));i.wrapperTransitionEnd(function(){void 0!==o&&vt()})},t.autoplay)}var yt,i,et,e,w,ot,a,u,d,h,st,r,b,k,pt,ht,g,ct,wt,bt,nt,lt,tt,at,o,c,l,it;if(!document.body.outerHTML&&document.body.__defineGetter__&&HTMLElement&&(yt=HTMLElement.prototype,yt.__defineGetter__&&yt.__defineGetter__("outerHTML",function(){return(new XMLSerializer).serializeToString(this)})),window.getComputedStyle||(window.getComputedStyle=function(n){return this.el=n,this.getPropertyValue=function(t){var i=/(\-([a-z]){1})/g;return"float"===t&&(t="styleFloat"),i.test(t)&&(t=t.replace(i,function(){return arguments[2].toUpperCase()})),n.currentStyle[t]?n.currentStyle[t]:null},this}),Array.prototype.indexOf||(Array.prototype.indexOf=function(n,t){for(var i=t||0,r=this.length;r>i;i++)if(this[i]===n)return i;return-1}),(document.querySelectorAll||window.jQuery)&&void 0!==n&&(n.nodeType||0!==s(n).length)){i=this;i.touches={start:0,startX:0,startY:0,current:0,currentX:0,currentY:0,diff:0,abs:0};i.positions={start:0,abs:0,diff:0,current:0};i.times={start:0,end:0};i.id=(new Date).getTime();i.container=n.nodeType?n:s(n)[0];i.isTouched=!1;i.isMoved=!1;i.activeIndex=0;i.centerIndex=0;i.activeLoaderIndex=0;i.activeLoopIndex=0;i.previousIndex=null;i.velocity=0;i.snapGrid=[];i.slidesGrid=[];i.imagesToLoad=[];i.imagesLoaded=0;i.wrapperLeft=0;i.wrapperRight=0;i.wrapperTop=0;i.wrapperBottom=0;i.isAndroid=navigator.userAgent.toLowerCase().indexOf("android")>=0;d={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},swipeToPrev:!0,swipeToNext:!0,slideElement:"div",slideClass:"swiper-slide",slideActiveClass:"swiper-slide-active",slideVisibleClass:"swiper-slide-visible",slideDuplicateClass:"swiper-slide-duplicate",wrapperClass:"swiper-wrapper",paginationElementClass:"swiper-pagination-switch",paginationActiveClass:"swiper-active-switch",paginationVisibleClass:"swiper-visible-switch"};for(h in t=t||{},d)if(h in t&&"object"==typeof t[h])for(st in d[h])st in t[h]||(t[h][st]=d[h][st]);else h in t||(t[h]=d[h]);for(i.params=t,t.scrollContainer&&(t.freeMode=!0,t.freeModeFluid=!0),t.loop&&(t.resistance="100%"),r="horizontal"===t.mode,b=["mousedown","mousemove","mouseup"],i.browser.ie10&&(b=["MSPointerDown","MSPointerMove","MSPointerUp"]),i.browser.ie11&&(b=["pointerdown","pointermove","pointerup"]),i.touchEvents={touchStart:i.support.touch||!t.simulateTouch?"touchstart":b[0],touchMove:i.support.touch||!t.simulateTouch?"touchmove":b[1],touchEnd:i.support.touch||!t.simulateTouch?"touchend":b[2]},k=i.container.childNodes.length-1;k>=0;k--)if(i.container.childNodes[k].className)for(pt=i.container.childNodes[k].className.split(/\s+/),ht=0;ht<pt.length;ht++)pt[ht]===t.wrapperClass&&(et=i.container.childNodes[k]);i.wrapper=et;i._extendSwiperSlide=function(n){return n.append=function(){return t.loop?n.insertAfter(i.slides.length-i.loopedSlides):(i.wrapper.appendChild(n),i.reInit()),n},n.prepend=function(){return t.loop?(i.wrapper.insertBefore(n,i.slides[i.loopedSlides]),i.removeLoopedSlides(),i.calcSlides(),i.createLoop()):i.wrapper.insertBefore(n,i.wrapper.firstChild),i.reInit(),n},n.insertAfter=function(r){return void 0!==r&&(t.loop?((u=i.slides[r+1+i.loopedSlides])?i.wrapper.insertBefore(n,u):i.wrapper.appendChild(n),i.removeLoopedSlides(),i.calcSlides(),i.createLoop()):(u=i.slides[r+1],i.wrapper.insertBefore(n,u)),i.reInit(),n);var u},n.clone=function(){return i._extendSwiperSlide(n.cloneNode(!0))},n.remove=function(){i.wrapper.removeChild(n);i.reInit()},n.html=function(t){return void 0===t?n.innerHTML:(n.innerHTML=t,n)},n.index=function(){for(var r,t=i.slides.length-1;t>=0;t--)n===i.slides[t]&&(r=t);return r},n.isActive=function(){return n.index()===i.activeIndex},n.swiperSlideDataStorage||(n.swiperSlideDataStorage={}),n.getData=function(t){return n.swiperSlideDataStorage[t]},n.setData=function(t,i){return n.swiperSlideDataStorage[t]=i,n},n.data=function(t,i){return void 0===i?n.getAttribute("data-"+t):(n.setAttribute("data-"+t,i),n)},n.getWidth=function(t,r){return i.h.getWidth(n,t,r)},n.getHeight=function(t,r){return i.h.getHeight(n,t,r)},n.getOffset=function(){return i.h.getOffset(n)},n};i.calcSlides=function(n){var e=!!i.slides&&i.slides.length,r,f,u;for(i.slides=[],i.displaySlides=[],r=0;r<i.wrapper.childNodes.length;r++)if(i.wrapper.childNodes[r].className)for(f=i.wrapper.childNodes[r].className.split(/\s+/),u=0;u<f.length;u++)f[u]===t.slideClass&&i.slides.push(i.wrapper.childNodes[r]);for(r=i.slides.length-1;r>=0;r--)i._extendSwiperSlide(i.slides[r]);!1!==e&&(e!==i.slides.length||n)&&(dt(),kt(),i.updateActiveSlide(),i.params.pagination&&i.createPagination(),i.callPlugins("numberOfSlidesChanged"))};i.createSlide=function(n,r,u){r=r||i.params.slideClass;u=u||t.slideElement;var f=document.createElement(u);return f.innerHTML=n||"",f.className=r,i._extendSwiperSlide(f)};i.appendSlide=function(n,t,r){if(n)return n.nodeType?i._extendSwiperSlide(n).append():i.createSlide(n,t,r).append()};i.prependSlide=function(n,t,r){if(n)return n.nodeType?i._extendSwiperSlide(n).prepend():i.createSlide(n,t,r).prepend()};i.insertSlideAfter=function(n,t,r,u){return void 0!==n&&(t.nodeType?i._extendSwiperSlide(t).insertAfter(n):i.createSlide(t,r,u).insertAfter(n))};i.removeSlide=function(n){if(i.slides[n]){if(t.loop){if(!i.slides[n+i.loopedSlides])return!1;i.slides[n+i.loopedSlides].remove();i.removeLoopedSlides();i.calcSlides();i.createLoop()}else i.slides[n].remove();return!0}return!1};i.removeLastSlide=function(){return i.slides.length>0&&(t.loop?(i.slides[i.slides.length-1-i.loopedSlides].remove(),i.removeLoopedSlides(),i.calcSlides(),i.createLoop()):i.slides[i.slides.length-1].remove(),!0)};i.removeAllSlides=function(){for(var n=i.slides.length-1;n>=0;n--)i.slides[n].remove()};i.getSlide=function(n){return i.slides[n]};i.getLastSlide=function(){return i.slides[i.slides.length-1]};i.getFirstSlide=function(){return i.slides[0]};i.activeSlide=function(){return i.slides[i.activeIndex]};i.fireCallback=function(){var n=arguments[0],r;if("[object Array]"===Object.prototype.toString.call(n))for(r=0;r<n.length;r++)"function"==typeof n[r]&&n[r](arguments[1],arguments[2],arguments[3],arguments[4],arguments[5]);else"[object String]"===Object.prototype.toString.call(n)?t["on"+n]&&i.fireCallback(t["on"+n],arguments[1],arguments[2],arguments[3],arguments[4],arguments[5]):n(arguments[1],arguments[2],arguments[3],arguments[4],arguments[5])};i.addCallback=function(n,t){var i,r;return this.params["on"+n]?(r=this.params["on"+n],"[object Array]"===Object.prototype.toString.apply(r)?this.params["on"+n].push(t):"function"==typeof this.params["on"+n]?(i=this.params["on"+n],this.params["on"+n]=[],this.params["on"+n].push(i),this.params["on"+n].push(t)):void 0):(this.params["on"+n]=[],this.params["on"+n].push(t))};i.removeCallbacks=function(n){i.params["on"+n]&&(i.params["on"+n]=null)};g=[];for(ct in i.plugins)t[ct]&&(wt=i.plugins[ct](i,t[ct]),wt&&g.push(wt));i.callPlugins=function(n,t){t||(t={});for(var i=0;i<g.length;i++)n in g[i]&&g[i][n](t)};!i.browser.ie10&&!i.browser.ie11||t.onlyExternal||i.wrapper.classList.add("swiper-wp8-"+(r?"horizontal":"vertical"));t.freeMode&&(i.container.className+=" swiper-free-mode");i.initialized=!1;i.init=function(n,f){var tt=i.h.getWidth(i.container,!1,t.roundLengths),it=i.h.getHeight(i.container,!1,t.roundLengths),a,c,y,p,l,h,s,o,k,d,g,v,b,nt;if(tt!==i.width||it!==i.height||n){if(i.width=tt,i.height=it,u=r?tt:it,o=i.wrapper,n&&i.calcSlides(f),"auto"===t.slidesPerView){for(k=0,d=0,t.slidesOffset>0&&(o.style.paddingLeft="",o.style.paddingRight="",o.style.paddingTop="",o.style.paddingBottom=""),o.style.width="",o.style.height="",t.offsetPxBefore>0&&(r?i.wrapperLeft=t.offsetPxBefore:i.wrapperTop=t.offsetPxBefore),t.offsetPxAfter>0&&(r?i.wrapperRight=t.offsetPxAfter:i.wrapperBottom=t.offsetPxAfter),t.centeredSlides&&(r?(i.wrapperLeft=(u-this.slides[0].getWidth(!0,t.roundLengths))/2,i.wrapperRight=(u-i.slides[i.slides.length-1].getWidth(!0,t.roundLengths))/2):(i.wrapperTop=(u-i.slides[0].getHeight(!0,t.roundLengths))/2,i.wrapperBottom=(u-i.slides[i.slides.length-1].getHeight(!0,t.roundLengths))/2)),r?(i.wrapperLeft>=0&&(o.style.paddingLeft=i.wrapperLeft+"px"),i.wrapperRight>=0&&(o.style.paddingRight=i.wrapperRight+"px")):(i.wrapperTop>=0&&(o.style.paddingTop=i.wrapperTop+"px"),i.wrapperBottom>=0&&(o.style.paddingBottom=i.wrapperBottom+"px")),h=0,g=0,i.snapGrid=[],i.slidesGrid=[],y=0,s=0;s<i.slides.length;s++){if(a=i.slides[s].getWidth(!0,t.roundLengths),c=i.slides[s].getHeight(!0,t.roundLengths),t.calculateHeight&&(y=Math.max(y,c)),v=r?a:c,t.centeredSlides){var rt=s===i.slides.length-1?0:i.slides[s+1].getWidth(!0,t.roundLengths),ut=s===i.slides.length-1?0:i.slides[s+1].getHeight(!0,t.roundLengths),ft=r?rt:ut;if(v>u){if(t.slidesPerViewFit)i.snapGrid.push(h+i.wrapperLeft),i.snapGrid.push(h+v-u+i.wrapperLeft);else for(b=0;b<=Math.floor(v/(u+i.wrapperLeft));b++)i.snapGrid.push(0===b?h+i.wrapperLeft:h+i.wrapperLeft+u*b);i.slidesGrid.push(h+i.wrapperLeft)}else i.snapGrid.push(g),i.slidesGrid.push(g);g+=v/2+ft/2}else{if(v>u)if(t.slidesPerViewFit)i.snapGrid.push(h),i.snapGrid.push(h+v-u);else if(0!==u)for(nt=0;nt<=Math.floor(v/u);nt++)i.snapGrid.push(h+u*nt);else i.snapGrid.push(h);else i.snapGrid.push(h);i.slidesGrid.push(h)}h+=v;k+=a;d+=c}t.calculateHeight&&(i.height=y);r?(w=k+i.wrapperRight+i.wrapperLeft,o.style.width=k+"px",o.style.height=i.height+"px"):(w=d+i.wrapperTop+i.wrapperBottom,o.style.width=i.width+"px",o.style.height=d+"px")}else if(t.scrollContainer)o.style.width="",o.style.height="",p=i.slides[0].getWidth(!0,t.roundLengths),l=i.slides[0].getHeight(!0,t.roundLengths),w=r?p:l,o.style.width=p+"px",o.style.height=l+"px",e=r?p:l;else{if(t.calculateHeight){for(y=0,l=0,r||(i.container.style.height=""),o.style.height="",s=0;s<i.slides.length;s++)i.slides[s].style.height="",y=Math.max(i.slides[s].getHeight(!0),y),r||(l+=i.slides[s].getHeight(!0));c=y;i.height=c;r?l=c:(u=c,i.container.style.height=u+"px")}else c=r?i.height:i.height/t.slidesPerView,t.roundLengths&&(c=Math.ceil(c)),l=r?i.height:i.slides.length*c;for(a=r?i.width/t.slidesPerView:i.width,t.roundLengths&&(a=Math.ceil(a)),p=r?i.slides.length*a:i.width,e=r?a:c,t.offsetSlidesBefore>0&&(r?i.wrapperLeft=e*t.offsetSlidesBefore:i.wrapperTop=e*t.offsetSlidesBefore),t.offsetSlidesAfter>0&&(r?i.wrapperRight=e*t.offsetSlidesAfter:i.wrapperBottom=e*t.offsetSlidesAfter),t.offsetPxBefore>0&&(r?i.wrapperLeft=t.offsetPxBefore:i.wrapperTop=t.offsetPxBefore),t.offsetPxAfter>0&&(r?i.wrapperRight=t.offsetPxAfter:i.wrapperBottom=t.offsetPxAfter),t.centeredSlides&&(r?(i.wrapperLeft=(u-e)/2,i.wrapperRight=(u-e)/2):(i.wrapperTop=(u-e)/2,i.wrapperBottom=(u-e)/2)),r?(i.wrapperLeft>0&&(o.style.paddingLeft=i.wrapperLeft+"px"),i.wrapperRight>0&&(o.style.paddingRight=i.wrapperRight+"px")):(i.wrapperTop>0&&(o.style.paddingTop=i.wrapperTop+"px"),i.wrapperBottom>0&&(o.style.paddingBottom=i.wrapperBottom+"px")),w=r?p+i.wrapperRight+i.wrapperLeft:l+i.wrapperTop+i.wrapperBottom,parseFloat(p)>0&&(!t.cssWidthAndHeight||"height"===t.cssWidthAndHeight)&&(o.style.width=p+"px"),parseFloat(l)>0&&(!t.cssWidthAndHeight||"width"===t.cssWidthAndHeight)&&(o.style.height=l+"px"),h=0,i.snapGrid=[],i.slidesGrid=[],s=0;s<i.slides.length;s++)i.snapGrid.push(h),i.slidesGrid.push(h),h+=e,parseFloat(a)>0&&(!t.cssWidthAndHeight||"height"===t.cssWidthAndHeight)&&(i.slides[s].style.width=a+"px"),parseFloat(c)>0&&(!t.cssWidthAndHeight||"width"===t.cssWidthAndHeight)&&(i.slides[s].style.height=c+"px")}i.initialized?(i.callPlugins("onInit"),t.onInit&&i.fireCallback(t.onInit,i)):(i.callPlugins("onFirstInit"),t.onFirstInit&&i.fireCallback(t.onFirstInit,i));i.initialized=!0}};i.reInit=function(n){i.init(!0,n)};i.resizeFix=function(n){i.callPlugins("beforeResizeFix");i.init(t.resizeReInit||n);t.freeMode?i.getWrapperTranslate()<-f()&&(i.setWrapperTransition(0),i.setWrapperTranslate(-f())):(i.swipeTo(t.loop?i.activeLoopIndex:i.activeIndex,0,!1),t.autoplay&&(i.support.transitions&&void 0!==o?void 0!==o&&(clearTimeout(o),o=void 0,i.startAutoplay()):void 0!==c&&(clearInterval(c),c=void 0,i.startAutoplay())));i.callPlugins("afterResizeFix")};i.destroy=function(){var n=i.h.removeEventListener,r="wrapper"===t.eventTarget?i.wrapper:i.container;i.browser.ie10||i.browser.ie11?(n(r,i.touchEvents.touchStart,v),n(document,i.touchEvents.touchMove,y),n(document,i.touchEvents.touchEnd,p)):(i.support.touch&&(n(r,"touchstart",v),n(r,"touchmove",y),n(r,"touchend",p)),t.simulateTouch&&(n(r,"mousedown",v),n(document,"mousemove",y),n(document,"mouseup",p)));t.autoResize&&n(window,"resize",i.resizeFix);dt();t.paginationClickable&&fi();t.mousewheelControl&&i._wheelEvent&&n(i.container,i._wheelEvent,ut);t.keyboardControl&&n(document,"keydown",rt);t.autoplay&&i.stopAutoplay();i.callPlugins("onDestroy");i=null};i.disableKeyboardControl=function(){t.keyboardControl=!1;i.h.removeEventListener(document,"keydown",rt)};i.enableKeyboardControl=function(){t.keyboardControl=!0;i.h.addEventListener(document,"keydown",rt)};bt=(new Date).getTime();(i.disableMousewheelControl=function(){return!!i._wheelEvent&&(t.mousewheelControl=!1,i.h.removeEventListener(i.container,i._wheelEvent,ut),!0)},i.enableMousewheelControl=function(){return!!i._wheelEvent&&(t.mousewheelControl=!0,i.h.addEventListener(i.container,i._wheelEvent,ut),!0)},t.grabCursor)&&(nt=i.container.style,nt.cursor="move",nt.cursor="grab",nt.cursor="-moz-grab",nt.cursor="-webkit-grab");i.allowSlideClick=!0;i.allowLinks=!0;l=!1;it=!0;i.swipeNext=function(n){var u,r,o,s;if(!n&&t.loop&&i.fixLoop(),!n&&t.autoplay&&i.stopAutoplay(!0),i.callPlugins("onSwipeNext"),u=i.getWrapperTranslate(),r=u,"auto"===t.slidesPerView){for(o=0;o<i.snapGrid.length;o++)if(-u>=i.snapGrid[o]&&-u<i.snapGrid[o+1]){r=-i.snapGrid[o+1];break}}else s=e*t.slidesPerGroup,r=-(Math.floor(Math.abs(u)/Math.floor(s))*s+s);return r<-f()&&(r=-f()),r!==u&&(ft(r,"next"),!0)};i.swipePrev=function(n){var r,f,u,o;if(!n&&t.loop&&i.fixLoop(),!n&&t.autoplay&&i.stopAutoplay(!0),i.callPlugins("onSwipePrev"),f=Math.ceil(i.getWrapperTranslate()),"auto"===t.slidesPerView)for(r=0,u=1;u<i.snapGrid.length;u++){if(-f===i.snapGrid[u]){r=-i.snapGrid[u-1];break}if(-f>i.snapGrid[u]&&-f<i.snapGrid[u+1]){r=-i.snapGrid[u];break}}else o=e*t.slidesPerGroup,r=-(Math.ceil(-f/o)-1)*o;return r>0&&(r=0),r!==f&&(ft(r,"prev"),!0)};i.swipeReset=function(){var n,r,s,o;if(i.callPlugins("onSwipeReset"),r=i.getWrapperTranslate(),s=e*t.slidesPerGroup,f(),"auto"===t.slidesPerView){for(n=0,o=0;o<i.snapGrid.length;o++){if(-r===i.snapGrid[o])return;if(-r>=i.snapGrid[o]&&-r<i.snapGrid[o+1]){n=i.positions.diff>0?-i.snapGrid[o+1]:-i.snapGrid[o];break}}-r>=i.snapGrid[i.snapGrid.length-1]&&(n=-i.snapGrid[i.snapGrid.length-1]);r<=-f()&&(n=-f())}else n=0>r?Math.round(r/s)*s:0,r<=-f()&&(n=-f());return t.scrollContainer&&(n=0>r?r:0),n<-f()&&(n=-f()),t.scrollContainer&&u>e&&(n=0),n!==r&&(ft(n,"reset"),!0)};i.swipeTo=function(n,r,u){n=parseInt(n,10);i.callPlugins("onSwipeTo",{index:n,speed:r});t.loop&&(n+=i.loopedSlides);var o,s=i.getWrapperTranslate();if(!(n>i.slides.length-1||0>n))return(o="auto"===t.slidesPerView?-i.slidesGrid[n]:-n*e)<-f()&&(o=-f()),o!==s&&(ft(o,"to",{index:n,speed:r,runCallbacks:u=!1!==u}),!0)};i._queueStartCallbacks=!1;i._queueEndCallbacks=!1;i.updateActiveSlide=function(n){var r,o,s,f,h,c,u;if(i.initialized&&0!==i.slides.length){if(i.previousIndex=i.activeIndex,void 0===n&&(n=i.getWrapperTranslate()),n>0&&(n=0),"auto"===t.slidesPerView){if(i.activeIndex=i.slidesGrid.indexOf(-n),i.activeIndex<0){for(r=0;r<i.slidesGrid.length-1&&!(-n>i.slidesGrid[r]&&-n<i.slidesGrid[r+1]);r++);o=Math.abs(i.slidesGrid[r]+n);s=Math.abs(i.slidesGrid[r+1]+n);i.activeIndex=s>=o?r:r+1}}else i.activeIndex=Math[t.visibilityFullFit?"ceil":"round"](-n/e);if(i.activeIndex===i.slides.length&&(i.activeIndex=i.slides.length-1),i.activeIndex<0&&(i.activeIndex=0),i.slides[i.activeIndex]){if(i.calcVisibleSlides(n),i.support.classList){for(r=0;r<i.slides.length;r++)(f=i.slides[r]).classList.remove(t.slideActiveClass),i.visibleSlides.indexOf(f)>=0?f.classList.add(t.slideVisibleClass):f.classList.remove(t.slideVisibleClass);i.slides[i.activeIndex].classList.add(t.slideActiveClass)}else{for(h=new RegExp("\\s*"+t.slideActiveClass),c=new RegExp("\\s*"+t.slideVisibleClass),r=0;r<i.slides.length;r++)i.slides[r].className=i.slides[r].className.replace(h,"").replace(c,""),i.visibleSlides.indexOf(i.slides[r])>=0&&(i.slides[r].className+=" "+t.slideVisibleClass);i.slides[i.activeIndex].className+=" "+t.slideActiveClass}t.loop?(u=i.loopedSlides,i.activeLoopIndex=i.activeIndex-u,i.activeLoopIndex>=i.slides.length-2*u&&(i.activeLoopIndex=i.slides.length-2*u-i.activeLoopIndex),i.activeLoopIndex<0&&(i.activeLoopIndex=i.slides.length-2*u+i.activeLoopIndex),i.activeLoopIndex<0&&(i.activeLoopIndex=0)):i.activeLoopIndex=i.activeIndex;t.pagination&&i.updatePagination(n)}}};i.createPagination=function(n){var r,u,f;if(t.paginationClickable&&i.paginationButtons&&fi(),i.paginationContainer=t.pagination.nodeType?t.pagination:s(t.pagination)[0],t.createPagination){for(r="",u=i.slides.length,t.loop&&(u-=2*i.loopedSlides),f=0;u>f;f++)r+="<"+t.paginationElement+' class="'+t.paginationElementClass+'"><\/'+t.paginationElement+">";i.paginationContainer.innerHTML=r}i.paginationButtons=s("."+t.paginationElementClass,i.paginationContainer);n||i.updatePagination();i.callPlugins("onCreatePagination");t.paginationClickable&&function(){var t=i.paginationButtons,n;if(t)for(n=0;n<t.length;n++)i.h.addEventListener(t[n],"click",ei)}()};i.updatePagination=function(n){var r,o,h,f,e,u;if(t.pagination&&!(i.slides.length<1)&&s("."+t.paginationActiveClass,i.paginationContainer)&&(r=i.paginationButtons,0!==r.length)){for(o=0;o<r.length;o++)r[o].className=t.paginationElementClass;if(h=t.loop?i.loopedSlides:0,t.paginationAsRange){for(i.visibleSlides||i.calcVisibleSlides(n),e=[],f=0;f<i.visibleSlides.length;f++)u=i.slides.indexOf(i.visibleSlides[f])-h,t.loop&&0>u&&(u=i.slides.length-2*i.loopedSlides+u),t.loop&&u>=i.slides.length-2*i.loopedSlides&&(u=i.slides.length-2*i.loopedSlides-u,u=Math.abs(u)),e.push(u);for(f=0;f<e.length;f++)r[e[f]]&&(r[e[f]].className+=" "+t.paginationVisibleClass);t.loop?void 0!==r[i.activeLoopIndex]&&(r[i.activeLoopIndex].className+=" "+t.paginationActiveClass):r[i.activeIndex].className+=" "+t.paginationActiveClass}else t.loop?r[i.activeLoopIndex]&&(r[i.activeLoopIndex].className+=" "+t.paginationActiveClass+" "+t.paginationVisibleClass):r[i.activeIndex].className+=" "+t.paginationActiveClass+" "+t.paginationVisibleClass}};i.calcVisibleSlides=function(n){var c=[],o=0,l=0,s=0,h,f;for(r&&i.wrapperLeft>0&&(n+=i.wrapperLeft),!r&&i.wrapperTop>0&&(n+=i.wrapperTop),h=0;h<i.slides.length;h++)s=(o+=l)+(l="auto"===t.slidesPerView?r?i.h.getWidth(i.slides[h],!0,t.roundLengths):i.h.getHeight(i.slides[h],!0,t.roundLengths):e),f=!1,t.visibilityFullFit?(o>=-n&&-n+u>=s&&(f=!0),-n>=o&&s>=-n+u&&(f=!0)):(s>-n&&-n+u>=s&&(f=!0),o>=-n&&-n+u>o&&(f=!0),-n>o&&s>-n+u&&(f=!0)),f&&c.push(i.slides[h]);0===c.length&&(c=[i.slides[i.activeIndex]]);i.visibleSlides=c};i.startAutoplay=function(){if(i.support.transitions){if(void 0!==o)return!1;if(!t.autoplay)return;i.callPlugins("onAutoplayStart");t.onAutoplayStart&&i.fireCallback(t.onAutoplayStart,i);vt()}else{if(void 0!==c)return!1;if(!t.autoplay)return;i.callPlugins("onAutoplayStart");t.onAutoplayStart&&i.fireCallback(t.onAutoplayStart,i);c=setInterval(function(){t.loop?(i.fixLoop(),i.swipeNext(!0)):i.swipeNext(!0)||(t.autoplayStopOnLast?(clearInterval(c),c=void 0):i.swipeTo(0))},t.autoplay)}};i.stopAutoplay=function(n){if(i.support.transitions){if(!o)return;o&&clearTimeout(o);o=void 0;n&&!t.autoplayDisableOnInteraction&&i.wrapperTransitionEnd(function(){vt()});i.callPlugins("onAutoplayStop");t.onAutoplayStop&&i.fireCallback(t.onAutoplayStop,i)}else c&&clearInterval(c),c=void 0,i.callPlugins("onAutoplayStop"),t.onAutoplayStop&&i.fireCallback(t.onAutoplayStop,i)};i.loopCreated=!1;i.removeLoopedSlides=function(){if(i.loopCreated)for(var n=0;n<i.slides.length;n++)!0===i.slides[n].getData("looped")&&i.wrapper.removeChild(i.slides[n])};i.createLoop=function(){var f,h;if(0!==i.slides.length){i.loopedSlides="auto"===t.slidesPerView?t.loopedSlides||1:t.slidesPerView+t.loopAdditionalSlides;i.loopedSlides>i.slides.length&&(i.loopedSlides=i.slides.length);for(var e="",o="",u="",r=i.slides.length,c=Math.floor(i.loopedSlides/r),s=i.loopedSlides%r,n=0;c*r>n;n++)f=n,n>=r&&(f=n-r*Math.floor(n/r)),u+=i.slides[f].outerHTML;for(n=0;s>n;n++)o+=ui(t.slideDuplicateClass,i.slides[n].outerHTML);for(n=r-s;r>n;n++)e+=ui(t.slideDuplicateClass,i.slides[n].outerHTML);for(h=e+u+et.innerHTML+u+o,et.innerHTML=h,i.loopCreated=!0,i.calcSlides(),n=0;n<i.slides.length;n++)(n<i.loopedSlides||n>=i.slides.length-i.loopedSlides)&&i.slides[n].setData("looped",!0);i.callPlugins("onCreateLoop")}};i.fixLoop=function(){var n;i.activeIndex<i.loopedSlides?(n=i.slides.length-3*i.loopedSlides+i.activeIndex,i.swipeTo(n,0,!1)):("auto"===t.slidesPerView&&i.activeIndex>=2*i.loopedSlides||i.activeIndex>i.slides.length-2*t.slidesPerView)&&(n=-i.slides.length+i.activeIndex+i.loopedSlides,i.swipeTo(n,0,!1))};i.loadSlides=function(){var u="";i.activeLoaderIndex=0;for(var r=t.loader.slides,f=t.loader.loadAllSlides?r.length:t.slidesPerView*(1+t.loader.surroundGroups),n=0;f>n;n++)u+="outer"===t.loader.slidesHTMLType?r[n]:"<"+t.slideElement+' class="'+t.slideClass+'" data-swiperindex="'+n+'">'+r[n]+"<\/"+t.slideElement+">";i.wrapper.innerHTML=u;i.calcSlides(!0);t.loader.loadAllSlides||i.wrapperTransitionEnd(i.reloadSlides,!0)};i.reloadSlides=function(){var f=t.loader.slides,u=parseInt(i.activeSlide().data("swiperindex"),10),n,o,h,v,a,c,l,s,r;if(!(0>u||u>f.length-1)){if(i.activeLoaderIndex=u,o=Math.max(0,u-t.slidesPerView*t.loader.surroundGroups),h=Math.min(u+t.slidesPerView*(1+t.loader.surroundGroups)-1,f.length-1),u>0&&(v=-e*(u-o),i.setWrapperTranslate(v),i.setWrapperTransition(0)),"reload"===t.loader.logic){for(i.wrapper.innerHTML="",a="",n=o;h>=n;n++)a+="outer"===t.loader.slidesHTMLType?f[n]:"<"+t.slideElement+' class="'+t.slideClass+'" data-swiperindex="'+n+'">'+f[n]+"<\/"+t.slideElement+">";i.wrapper.innerHTML=a}else{for(c=1e3,l=0,n=0;n<i.slides.length;n++)s=i.slides[n].data("swiperindex"),o>s||s>h?i.wrapper.removeChild(i.slides[n]):(c=Math.min(s,c),l=Math.max(s,l));for(n=o;h>=n;n++)c>n&&((r=document.createElement(t.slideElement)).className=t.slideClass,r.setAttribute("data-swiperindex",n),r.innerHTML=f[n],i.wrapper.insertBefore(r,i.wrapper.firstChild)),n>l&&((r=document.createElement(t.slideElement)).className=t.slideClass,r.setAttribute("data-swiperindex",n),r.innerHTML=f[n],i.wrapper.appendChild(r))}i.reInit(!0)}};i.calcSlides();t.loader.slides.length>0&&0===i.slides.length&&i.loadSlides();t.loop&&i.createLoop();i.init(),function(){var e,f,n=i.h.addEventListener,r="wrapper"===t.eventTarget?i.wrapper:i.container,u;if(i.browser.ie10||i.browser.ie11?(n(r,i.touchEvents.touchStart,v),n(document,i.touchEvents.touchMove,y),n(document,i.touchEvents.touchEnd,p)):(i.support.touch&&(n(r,"touchstart",v),n(r,"touchmove",y),n(r,"touchend",p)),t.simulateTouch&&(n(r,"mousedown",v),n(document,"mousemove",y),n(document,"mouseup",p))),t.autoResize&&n(window,"resize",i.resizeFix),kt(),i._wheelEvent=!1,t.mousewheelControl){if(void 0!==document.onmousewheel&&(i._wheelEvent="mousewheel"),!i._wheelEvent)try{new WheelEvent("wheel");i._wheelEvent="wheel"}catch(e){}i._wheelEvent||(i._wheelEvent="DOMMouseScroll");i._wheelEvent&&n(i.container,i._wheelEvent,ut)}if(t.keyboardControl&&n(document,"keydown",rt),t.updateOnImagesReady)for(i.imagesToLoad=s("img",i.container),u=0;u<i.imagesToLoad.length;u++)e=i.imagesToLoad[u].getAttribute("src"),f=void 0,(f=new Image).onload=function(){null!=i&&(void 0!==i.imagesLoaded&&i.imagesLoaded++,i.imagesLoaded===i.imagesToLoad.length&&(i.reInit(),t.onImagesReady&&i.fireCallback(t.onImagesReady,i)))},f.src=e}();t.pagination&&i.createPagination(!0);t.loop||t.initialSlide>0?i.swipeTo(t.initialSlide,0,!1):i.updateActiveSlide(0);t.autoplay&&i.startAutoplay();i.centerIndex=i.activeIndex;t.onSwiperCreated&&i.fireCallback(t.onSwiperCreated,i);i.callPlugins("onSwiperCreated")}};Swiper.prototype={plugins:{},wrapperTransitionEnd:function(n,t){"use strict";function e(o){if(o.target===f&&(n(r),r.params.queueEndCallbacks&&(r._queueEndCallbacks=!1),!t))for(i=0;i<u.length;i++)r.h.removeEventListener(f,u[i],e)}var i,r=this,f=r.wrapper,u=["webkitTransitionEnd","transitionend","oTransitionEnd","MSTransitionEnd","msTransitionEnd"];if(n)for(i=0;i<u.length;i++)r.h.addEventListener(f,u[i],e)},getWrapperTranslate:function(n){"use strict";var i,r,t,u,f=this.wrapper;return void 0===n&&(n="horizontal"===this.params.mode?"x":"y"),this.support.transforms&&this.params.useCSS3Transforms?(t=window.getComputedStyle(f,null),window.WebKitCSSMatrix?u=new WebKitCSSMatrix("none"===t.webkitTransform?"":t.webkitTransform):i=(u=t.MozTransform||t.OTransform||t.MsTransform||t.msTransform||t.transform||t.getPropertyValue("transform").replace("translate(","matrix(1, 0, 0, 1,")).toString().split(","),"x"===n&&(r=window.WebKitCSSMatrix?u.m41:parseFloat(16===i.length?i[12]:i[4])),"y"===n&&(r=window.WebKitCSSMatrix?u.m42:parseFloat(16===i.length?i[13]:i[5]))):("x"===n&&(r=parseFloat(f.style.left,10)||0),"y"===n&&(r=parseFloat(f.style.top,10)||0)),r||0},setWrapperTranslate:function(n,t,i){"use strict";var f,u=this.wrapper.style,r={x:0,y:0,z:0};3===arguments.length?(r.x=n,r.y=t,r.z=i):(void 0===t&&(t="horizontal"===this.params.mode?"x":"y"),r[t]=n);this.support.transforms&&this.params.useCSS3Transforms?(f=this.support.transforms3d?"translate3d("+r.x+"px, "+r.y+"px, "+r.z+"px)":"translate("+r.x+"px, "+r.y+"px)",u.webkitTransform=u.MsTransform=u.msTransform=u.MozTransform=u.OTransform=u.transform=f):(u.left=r.x+"px",u.top=r.y+"px");this.callPlugins("onSetWrapperTransform",r);this.params.onSetWrapperTransform&&this.fireCallback(this.params.onSetWrapperTransform,this,r)},setWrapperTransition:function(n){"use strict";var t=this.wrapper.style;t.webkitTransitionDuration=t.MsTransitionDuration=t.msTransitionDuration=t.MozTransitionDuration=t.OTransitionDuration=t.transitionDuration=n/1e3+"s";this.callPlugins("onSetWrapperTransition",{duration:n});this.params.onSetWrapperTransition&&this.fireCallback(this.params.onSetWrapperTransition,this,n)},h:{getWidth:function(n,t,i){"use strict";var u=window.getComputedStyle(n,null).getPropertyValue("width"),r=parseFloat(u);return(isNaN(r)||u.indexOf("%")>0||0>r)&&(r=n.offsetWidth-parseFloat(window.getComputedStyle(n,null).getPropertyValue("padding-left"))-parseFloat(window.getComputedStyle(n,null).getPropertyValue("padding-right"))),t&&(r+=parseFloat(window.getComputedStyle(n,null).getPropertyValue("padding-left"))+parseFloat(window.getComputedStyle(n,null).getPropertyValue("padding-right"))),i?Math.ceil(r):r},getHeight:function(n,t,i){"use strict";if(t)return n.offsetHeight;var u=window.getComputedStyle(n,null).getPropertyValue("height"),r=parseFloat(u);return(isNaN(r)||u.indexOf("%")>0||0>r)&&(r=n.offsetHeight-parseFloat(window.getComputedStyle(n,null).getPropertyValue("padding-top"))-parseFloat(window.getComputedStyle(n,null).getPropertyValue("padding-bottom"))),t&&(r+=parseFloat(window.getComputedStyle(n,null).getPropertyValue("padding-top"))+parseFloat(window.getComputedStyle(n,null).getPropertyValue("padding-bottom"))),i?Math.ceil(r):r},getOffset:function(n){"use strict";var t=n.getBoundingClientRect(),i=document.body,f=n.clientTop||i.clientTop||0,e=n.clientLeft||i.clientLeft||0,r=window.pageYOffset||n.scrollTop,u=window.pageXOffset||n.scrollLeft;return document.documentElement&&!window.pageYOffset&&(r=document.documentElement.scrollTop,u=document.documentElement.scrollLeft),{top:t.top+r-f,left:t.left+u-e}},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(n,t,i,r){"use strict";void 0===r&&(r=!1);n.addEventListener?n.addEventListener(t,i,r):n.attachEvent&&n.attachEvent("on"+t,i)},removeEventListener:function(n,t,i,r){"use strict";void 0===r&&(r=!1);n.removeEventListener?n.removeEventListener(t,i,r):n.detachEvent&&n.detachEvent("on"+t,i)}},setTransform:function(n,t){"use strict";var i=n.style;i.webkitTransform=i.MsTransform=i.msTransform=i.MozTransform=i.OTransform=i.transform=t},setTranslate:function(n,t){"use strict";var i=n.style,r=t.x||0,u=t.y||0,f=t.z||0,e=this.support.transforms3d?"translate3d("+r+"px,"+u+"px,"+f+"px)":"translate("+r+"px,"+u+"px)";i.webkitTransform=i.MsTransform=i.msTransform=i.MozTransform=i.OTransform=i.transform=e;this.support.transforms||(i.left=r+"px",i.top=u+"px")},setTransition:function(n,t){"use strict";var i=n.style;i.webkitTransitionDuration=i.MsTransitionDuration=i.msTransitionDuration=i.MozTransitionDuration=i.OTransitionDuration=i.transitionDuration=t+"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 n=document.createElement("div").style;return"webkitPerspective"in n||"MozPerspective"in n||"OPerspective"in n||"MsPerspective"in n||"perspective"in n}(),transforms:window.Modernizr&&!0===Modernizr.csstransforms||function(){"use strict";var n=document.createElement("div").style;return"transform"in n||"WebkitTransform"in n||"MozTransform"in n||"msTransform"in n||"MsTransform"in n||"OTransform"in n}(),transitions:window.Modernizr&&!0===Modernizr.csstransitions||function(){"use strict";var n=document.createElement("div").style;return"transition"in n||"WebkitTransition"in n||"MozTransition"in n||"msTransition"in n||"MsTransition"in n||"OTransition"in n}(),classList:function(){"use strict";return"classList"in document.createElement("div")}()},browser:{ie8:function(){"use strict";var n=-1,t;return"Microsoft Internet Explorer"===navigator.appName&&(t=navigator.userAgent,null!==new RegExp(/MSIE ([0-9]{1,}[\.0-9]{0,})/).exec(t)&&(n=parseFloat(RegExp.$1))),-1!==n&&9>n}(),ie10:window.navigator.msPointerEnabled,ie11:window.navigator.pointerEnabled}};(window.jQuery||window.Zepto)&&function(n){"use strict";n.fn.swiper=function(t){var i;return this.each(function(r){var u=n(this),f;u.data("swiper")||(f=new Swiper(u[0],t),r||(i=f),u.data("swiper",f))}),i}}(window.jQuery||window.Zepto);"undefined"!=typeof module&&(module.exports=Swiper);"function"==typeof define&&define.amd&&define([],function(){"use strict";return Swiper});window.Swiper_1=new Swiper(".mySwipe",{speed:400,mode:"horizontal",slidesPerView:2,autoplay:1113e3,loop:!0,autoplayDisableOnInteraction:!1,roundLengths:!0,onSlideChangeStart:function(){}})