=u&&r<=e&&(typeof l=="undefined"||t?a.push(r):(r>l&&a.push(r),r'+n+"<\/div>"),u.attr("data-swiper-slide-index")||u.attr("data-swiper-slide-index",i),f.cache&&(r.virtual.cache[i]=u),u)},appendSlide:function(n){var t=this;t.virtual.slides.push(n);t.virtual.update(!0)},prependSlide:function(n){var t=this,i,r;t.virtual.slides.unshift(n);t.params.virtual.cache&&(i=t.virtual.cache,r={},Object.keys(i).forEach(function(n){r[n+1]=i[n]}),t.virtual.cache=r);t.virtual.update(!0);t.slideNext(0)}},ae={name:"virtual",params:{virtual:{enabled:!1,slides:[],cache:!0,renderSlide:null,renderExternal:null}},create:function(){var t=this;n.extend(t,{virtual:{update:p.update.bind(t),appendSlide:p.appendSlide.bind(t),prependSlide:p.prependSlide.bind(t),renderSlide:p.renderSlide.bind(t),slides:t.params.virtual.slides,cache:{}}})},on:{beforeInit:function(){var t=this,i;t.params.virtual.enabled&&(t.classNames.push(t.params.containerModifierClass+"virtual"),i={watchSlidesProgress:!0},n.extend(t.params,i),n.extend(t.originalParams,i),t.virtual.update())},setTranslate:function(){var n=this;n.params.virtual.enabled&&n.virtual.update()}}},it={handle:function(n){var t=this,o=t.rtlTranslate,f=n,r,c,l,h,s;if((f.originalEvent&&(f=f.originalEvent),r=f.keyCode||f.charCode,!t.allowSlideNext&&(t.isHorizontal()&&r===39||t.isVertical()&&r===40))||!t.allowSlidePrev&&(t.isHorizontal()&&r===37||t.isVertical()&&r===38))return!1;if(f.shiftKey||f.altKey||f.ctrlKey||f.metaKey||u.activeElement&&u.activeElement.nodeName&&(u.activeElement.nodeName.toLowerCase()==="input"||u.activeElement.nodeName.toLowerCase()==="textarea"))return undefined;if(t.params.keyboard.onlyInViewport&&(r===37||r===39||r===38||r===40)){if(c=!1,t.$el.parents("."+t.params.slideClass).length>0&&t.$el.parents("."+t.params.slideActiveClass).length===0)return undefined;var a=i.innerWidth,v=i.innerHeight,e=t.$el.offset();for(o&&(e.left-=t.$el[0].scrollLeft),l=[[e.left,e.top],[e.left+t.width,e.top],[e.left,e.top+t.height],[e.left+t.width,e.top+t.height]],h=0;h=0&&s[0]<=a&&s[1]>=0&&s[1]<=v&&(c=!0);if(!c)return undefined}return t.isHorizontal()?((r===37||r===39)&&(f.preventDefault?f.preventDefault():f.returnValue=!1),(r===39&&!o||r===37&&o)&&t.slideNext(),(r===37&&!o||r===39&&o)&&t.slidePrev()):((r===38||r===40)&&(f.preventDefault?f.preventDefault():f.returnValue=!1),r===40&&t.slideNext(),r===38&&t.slidePrev()),t.emit("keyPress",r),undefined},enable:function(){var n=this;if(!n.keyboard.enabled){t(u).on("keydown",n.keyboard.handle);n.keyboard.enabled=!0}},disable:function(){var n=this;n.keyboard.enabled&&(t(u).off("keydown",n.keyboard.handle),n.keyboard.enabled=!1)}},ve={name:"keyboard",params:{keyboard:{enabled:!1,onlyInViewport:!0}},create:function(){var t=this;n.extend(t,{keyboard:{enabled:!1,enable:it.enable.bind(t),disable:it.disable.bind(t),handle:it.handle.bind(t)}})},on:{init:function(){var n=this;n.params.keyboard.enabled&&n.keyboard.enable()},destroy:function(){var n=this;n.keyboard.enabled&&n.keyboard.disable()}}};var c={lastScrollTime:n.now(),event:function(){return i.navigator.userAgent.indexOf("firefox")>-1?"DOMMouseScroll":ye()?"wheel":"mousewheel"}(),normalize:function(n){var f=10,e=40,o=800,u=0,t=0,i=0,r=0;return"detail"in n&&(t=n.detail),"wheelDelta"in n&&(t=-n.wheelDelta/120),"wheelDeltaY"in n&&(t=-n.wheelDeltaY/120),"wheelDeltaX"in n&&(u=-n.wheelDeltaX/120),"axis"in n&&n.axis===n.HORIZONTAL_AXIS&&(u=t,t=0),i=u*f,r=t*f,"deltaY"in n&&(r=n.deltaY),"deltaX"in n&&(i=n.deltaX),(i||r)&&n.deltaMode&&(n.deltaMode===1?(i*=e,r*=e):(i*=o,r*=o)),i&&!u&&(u=i<1?-1:1),r&&!t&&(t=r<1?-1:1),{spinX:u,spinY:t,pixelX:i,pixelY:r}},handleMouseEnter:function(){var n=this;n.mouseEntered=!0},handleMouseLeave:function(){var n=this;n.mouseEntered=!1},handle:function(t){var u=t,r=this,s=r.params.mousewheel;if(!r.mouseEntered&&!s.releaseOnEdges)return!0;u.originalEvent&&(u=u.originalEvent);var e=0,h=r.rtlTranslate?-1:1,f=c.normalize(u);if(s.forceToAxis)if(r.isHorizontal())if(Math.abs(f.pixelX)>Math.abs(f.pixelY))e=f.pixelX*h;else return!0;else if(Math.abs(f.pixelY)>Math.abs(f.pixelX))e=f.pixelY;else return!0;else e=Math.abs(f.pixelX)>Math.abs(f.pixelY)?-f.pixelX*h:-f.pixelY;if(e===0)return!0;if(s.invert&&(e=-e),r.params.freeMode){r.params.loop&&r.loopFix();var o=r.getTranslate()+e*s.sensitivity,l=r.isBeginning,a=r.isEnd;if(o>=r.minTranslate()&&(o=r.minTranslate()),o<=r.maxTranslate()&&(o=r.maxTranslate()),r.setTransition(0),r.setTranslate(o),r.updateProgress(),r.updateActiveIndex(),r.updateSlidesClasses(),(!l&&r.isBeginning||!a&&r.isEnd)&&r.updateSlidesClasses(),r.params.freeModeSticky&&(clearTimeout(r.mousewheel.timeout),r.mousewheel.timeout=n.nextTick(function(){r.slideToClosest()},300)),r.emit("scroll",u),r.params.autoplay&&r.params.autoplayDisableOnInteraction&&r.stopAutoplay(),o===r.minTranslate()||o===r.maxTranslate())return!0}else{if(n.now()-r.mousewheel.lastScrollTime>60)if(e<0)if(r.isEnd&&!r.params.loop||r.animating){if(s.releaseOnEdges)return!0}else r.slideNext(),r.emit("scroll",u);else if(r.isBeginning&&!r.params.loop||r.animating){if(s.releaseOnEdges)return!0}else r.slidePrev(),r.emit("scroll",u);r.mousewheel.lastScrollTime=(new i.Date).getTime()}return u.preventDefault?u.preventDefault():u.returnValue=!1,!1},enable:function(){var n=this,i;if(!c.event||n.mousewheel.enabled)return!1;i=n.$el;n.params.mousewheel.eventsTarged!=="container"&&(i=t(n.params.mousewheel.eventsTarged));i.on("mouseenter",n.mousewheel.handleMouseEnter);i.on("mouseleave",n.mousewheel.handleMouseLeave);i.on(c.event,n.mousewheel.handle);return n.mousewheel.enabled=!0,!0},disable:function(){var n=this,i;return c.event?n.mousewheel.enabled?(i=n.$el,n.params.mousewheel.eventsTarged!=="container"&&(i=t(n.params.mousewheel.eventsTarged)),i.off(c.event,n.mousewheel.handle),n.mousewheel.enabled=!1,!0):!1:!1}},pe={name:"mousewheel",params:{mousewheel:{enabled:!1,releaseOnEdges:!1,invert:!1,forceToAxis:!1,sensitivity:1,eventsTarged:"container"}},create:function(){var t=this;n.extend(t,{mousewheel:{enabled:!1,enable:c.enable.bind(t),disable:c.disable.bind(t),handle:c.handle.bind(t),handleMouseEnter:c.handleMouseEnter.bind(t),handleMouseLeave:c.handleMouseLeave.bind(t),lastScrollTime:n.now()}})},on:{init:function(){var n=this;n.params.mousewheel.enabled&&n.mousewheel.enable()},destroy:function(){var n=this;n.mousewheel.enabled&&n.mousewheel.disable()}}},rt={update:function(){var n=this,t=n.params.navigation;if(!n.params.loop){var u=n.navigation,i=u.$nextEl,r=u.$prevEl;r&&r.length>0&&(n.isBeginning?r.addClass(t.disabledClass):r.removeClass(t.disabledClass),r[n.params.watchOverflow&&n.isLocked?"addClass":"removeClass"](t.lockClass));i&&i.length>0&&(n.isEnd?i.addClass(t.disabledClass):i.removeClass(t.disabledClass),i[n.params.watchOverflow&&n.isLocked?"addClass":"removeClass"](t.lockClass))}},init:function(){var i=this,r=i.params.navigation,u,f;if(r.nextEl||r.prevEl){if(r.nextEl&&(u=t(r.nextEl),i.params.uniqueNavElements&&typeof r.nextEl=="string"&&u.length>1&&i.$el.find(r.nextEl).length===1&&(u=i.$el.find(r.nextEl))),r.prevEl&&(f=t(r.prevEl),i.params.uniqueNavElements&&typeof r.prevEl=="string"&&f.length>1&&i.$el.find(r.prevEl).length===1&&(f=i.$el.find(r.prevEl))),u&&u.length>0)u.on("click",function(n){(n.preventDefault(),!i.isEnd||i.params.loop)&&i.slideNext()});if(f&&f.length>0)f.on("click",function(n){(n.preventDefault(),!i.isBeginning||i.params.loop)&&i.slidePrev()});n.extend(i.navigation,{$nextEl:u,nextEl:u&&u[0],$prevEl:f,prevEl:f&&f[0]})}},destroy:function(){var i=this,r=i.navigation,n=r.$nextEl,t=r.$prevEl;n&&n.length&&(n.off("click"),n.removeClass(i.params.navigation.disabledClass));t&&t.length&&(t.off("click"),t.removeClass(i.params.navigation.disabledClass))}},we={name:"navigation",params:{navigation:{nextEl:null,prevEl:null,hideOnClick:!1,disabledClass:"swiper-button-disabled",hiddenClass:"swiper-button-hidden",lockClass:"swiper-button-lock"}},create:function(){var t=this;n.extend(t,{navigation:{init:rt.init.bind(t),update:rt.update.bind(t),destroy:rt.destroy.bind(t)}})},on:{init:function(){var n=this;n.navigation.init();n.navigation.update()},toEdge:function(){var n=this;n.navigation.update()},fromEdge:function(){var n=this;n.navigation.update()},destroy:function(){var n=this;n.navigation.destroy()},click:function(n){var i=this,f=i.navigation,r=f.$nextEl,u=f.$prevEl;!i.params.navigation.hideOnClick||t(n.target).is(u)||t(n.target).is(r)||(r&&r.toggleClass(i.params.navigation.hiddenClass),u&&u.toggleClass(i.params.navigation.hiddenClass))}}},w={update:function(){var n=this,d=n.rtl,i=n.params.pagination,u,e,s,l,a,v,y,h,p;if(i.el&&n.pagination.el&&n.pagination.$el&&n.pagination.$el.length!==0){var c=n.virtual&&n.params.virtual.enabled?n.virtual.slides.length:n.slides.length,f=n.pagination.$el,r,o=n.params.loop?Math.ceil((c-n.loopedSlides*2)/n.params.slidesPerGroup):n.snapGrid.length;if(n.params.loop?(r=Math.ceil((n.activeIndex-n.loopedSlides)/n.params.slidesPerGroup),r>c-1-n.loopedSlides*2&&(r-=c-n.loopedSlides*2),r>o-1&&(r-=o),r<0&&n.params.paginationType!=="bullets"&&(r=o+r)):r=typeof n.snapIndex!="undefined"?n.snapIndex:n.activeIndex||0,i.type==="bullets"&&n.pagination.bullets&&n.pagination.bullets.length>0){if(u=n.pagination.bullets,i.dynamicBullets&&(n.pagination.bulletSize=u.eq(0)[n.isHorizontal()?"outerWidth":"outerHeight"](!0),f.css(n.isHorizontal()?"width":"height",n.pagination.bulletSize*(i.dynamicMainBullets+4)+"px"),i.dynamicMainBullets>1&&n.previousIndex!==undefined&&(n.pagination.dynamicBulletIndex+=r-n.previousIndex,n.pagination.dynamicBulletIndex>i.dynamicMainBullets-1?n.pagination.dynamicBulletIndex=i.dynamicMainBullets-1:n.pagination.dynamicBulletIndex<0&&(n.pagination.dynamicBulletIndex=0)),e=r-n.pagination.dynamicBulletIndex,s=e+(Math.min(u.length,i.dynamicMainBullets)-1),l=(s+e)/2),u.removeClass(i.bulletActiveClass+" "+i.bulletActiveClass+"-next "+i.bulletActiveClass+"-next-next "+i.bulletActiveClass+"-prev "+i.bulletActiveClass+"-prev-prev "+i.bulletActiveClass+"-main"),f.length>1)u.each(function(n,u){var f=t(u),o=f.index();o===r&&f.addClass(i.bulletActiveClass);i.dynamicBullets&&(o>=e&&o<=s&&f.addClass(i.bulletActiveClass+"-main"),o===e&&f.prev().addClass(i.bulletActiveClass+"-prev").prev().addClass(i.bulletActiveClass+"-prev-prev"),o===s&&f.next().addClass(i.bulletActiveClass+"-next").next().addClass(i.bulletActiveClass+"-next-next"))});else if(a=u.eq(r),a.addClass(i.bulletActiveClass),i.dynamicBullets){for(v=u.eq(e),y=u.eq(s),h=e;h<=s;h+=1)u.eq(h).addClass(i.bulletActiveClass+"-main");v.prev().addClass(i.bulletActiveClass+"-prev").prev().addClass(i.bulletActiveClass+"-prev-prev");y.next().addClass(i.bulletActiveClass+"-next").next().addClass(i.bulletActiveClass+"-next-next")}if(i.dynamicBullets){var g=Math.min(u.length,i.dynamicMainBullets+4),nt=(n.pagination.bulletSize*g-n.pagination.bulletSize)/2-l*n.pagination.bulletSize,tt=d?"right":"left";u.css(n.isHorizontal()?tt:"top",nt+"px")}}if(i.type==="fraction"&&(f.find("."+i.currentClass).text(r+1),f.find("."+i.totalClass).text(o)),i.type==="progressbar"){p=i.progressbarOpposite?n.isHorizontal()?"vertical":"horizontal":n.isHorizontal()?"horizontal":"vertical";var w=(r+1)/o,b=1,k=1;p==="horizontal"?b=w:k=w;f.find("."+i.progressbarFillClass).transform("translate3d(0,0,0) scaleX("+b+") scaleY("+k+")").transition(n.params.speed)}i.type==="custom"&&i.renderCustom?(f.html(i.renderCustom(n,r+1,o)),n.emit("paginationRender",n,f[0])):n.emit("paginationUpdate",n,f[0]);f[n.params.watchOverflow&&n.isLocked?"addClass":"removeClass"](i.lockClass)}},render:function(){var t=this,n=t.params.pagination,f,u;if(n.el&&t.pagination.el&&t.pagination.$el&&t.pagination.$el.length!==0){var e=t.virtual&&t.params.virtual.enabled?t.virtual.slides.length:t.slides.length,r=t.pagination.$el,i="";if(n.type==="bullets"){for(f=t.params.loop?Math.ceil((e-t.loopedSlides*2)/t.params.slidesPerGroup):t.snapGrid.length,u=0;u<\/'+n.bulletElement+">";r.html(i);t.pagination.bullets=r.find("."+n.bulletClass)}n.type==="fraction"&&(i=n.renderFraction?n.renderFraction.call(t,n.currentClass,n.totalClass):'<\/span> / <\/span>',r.html(i));n.type==="progressbar"&&(i=n.renderProgressbar?n.renderProgressbar.call(t,n.progressbarFillClass):'<\/span>',r.html(i));n.type!=="custom"&&t.emit("paginationRender",t.pagination.$el[0])}},init:function(){var u=this,i=u.params.pagination,r;if(i.el&&(r=t(i.el),r.length!==0)){if(u.params.uniqueNavElements&&typeof i.el=="string"&&r.length>1&&u.$el.find(i.el).length===1&&(r=u.$el.find(i.el)),i.type==="bullets"&&i.clickable&&r.addClass(i.clickableClass),r.addClass(i.modifierClass+i.type),i.type==="bullets"&&i.dynamicBullets&&(r.addClass(""+i.modifierClass+i.type+"-dynamic"),u.pagination.dynamicBulletIndex=0,i.dynamicMainBullets<1&&(i.dynamicMainBullets=1)),i.type==="progressbar"&&i.progressbarOpposite&&r.addClass(i.progressbarOppositeClass),i.clickable)r.on("click","."+i.bulletClass,function(n){n.preventDefault();var i=t(this).index()*u.params.slidesPerGroup;u.params.loop&&(i+=u.loopedSlides);u.slideTo(i)});n.extend(u.pagination,{$el:r,el:r[0]})}},destroy:function(){var n=this,t=n.params.pagination,i;t.el&&n.pagination.el&&n.pagination.$el&&n.pagination.$el.length!==0&&(i=n.pagination.$el,i.removeClass(t.hiddenClass),i.removeClass(t.modifierClass+t.type),n.pagination.bullets&&n.pagination.bullets.removeClass(t.bulletActiveClass),t.clickable&&i.off("click","."+t.bulletClass))}},be={name:"pagination",params:{pagination:{el:null,bulletElement:"span",clickable:!1,hideOnClick:!1,renderBullet:null,renderProgressbar:null,renderFraction:null,renderCustom:null,progressbarOpposite:!1,type:"bullets",dynamicBullets:!1,dynamicMainBullets:1,bulletClass:"swiper-pagination-bullet",bulletActiveClass:"swiper-pagination-bullet-active",modifierClass:"swiper-pagination-",currentClass:"swiper-pagination-current",totalClass:"swiper-pagination-total",hiddenClass:"swiper-pagination-hidden",progressbarFillClass:"swiper-pagination-progressbar-fill",progressbarOppositeClass:"swiper-pagination-progressbar-opposite",clickableClass:"swiper-pagination-clickable",lockClass:"swiper-pagination-lock"}},create:function(){var t=this;n.extend(t,{pagination:{init:w.init.bind(t),render:w.render.bind(t),update:w.update.bind(t),destroy:w.destroy.bind(t),dynamicBulletIndex:0}})},on:{init:function(){var n=this;n.pagination.init();n.pagination.render();n.pagination.update()},activeIndexChange:function(){var n=this;n.params.loop?n.pagination.update():typeof n.snapIndex=="undefined"&&n.pagination.update()},snapIndexChange:function(){var n=this;n.params.loop||n.pagination.update()},slidesLengthChange:function(){var n=this;n.params.loop&&(n.pagination.render(),n.pagination.update())},snapGridLengthChange:function(){var n=this;n.params.loop||(n.pagination.render(),n.pagination.update())},destroy:function(){var n=this;n.pagination.destroy()},click:function(n){var i=this;i.params.pagination.el&&i.params.pagination.hideOnClick&&i.pagination.$el.length>0&&!t(n.target).hasClass(i.params.pagination.bulletClass)&&i.pagination.$el.toggleClass(i.params.pagination.hiddenClass)}}},s={setTranslate:function(){var t=this;if(t.params.scrollbar.el&&t.scrollbar.el){var o=t.scrollbar,h=t.rtlTranslate,c=t.progress,i=o.dragSize,e=o.trackSize,u=o.$dragEl,s=o.$el,l=t.params.scrollbar,f=i,n=(e-i)*c;h?(n=-n,n>0?(f=i-n,n=0):-n+i>e&&(f=e+n)):n<0?(f=i+n,n=0):n+i>e&&(f=e-n);t.isHorizontal()?(r.transforms3d?u.transform("translate3d("+n+"px, 0, 0)"):u.transform("translateX("+n+"px)"),u[0].style.width=f+"px"):(r.transforms3d?u.transform("translate3d(0px, "+n+"px, 0)"):u.transform("translateY("+n+"px)"),u[0].style.height=f+"px");l.hide&&(clearTimeout(t.scrollbar.timeout),s[0].style.opacity=1,t.scrollbar.timeout=setTimeout(function(){s[0].style.opacity=0;s.transition(400)},1e3))}},setTransition:function(n){var t=this;t.params.scrollbar.el&&t.scrollbar.el&&t.scrollbar.$dragEl.transition(n)},updateSize:function(){var t=this;if(t.params.scrollbar.el&&t.scrollbar.el){var i=t.scrollbar,r=i.$dragEl,u=i.$el;r[0].style.width="";r[0].style.height="";var o=t.isHorizontal()?u[0].offsetWidth:u[0].offsetHeight,f=t.size/t.virtualSize,s=f*(o/t.size),e;e=t.params.scrollbar.dragSize==="auto"?o*f:parseInt(t.params.scrollbar.dragSize,10);t.isHorizontal()?r[0].style.width=e+"px":r[0].style.height=e+"px";u[0].style.display=f>=1?"none":"";t.params.scrollbarHide&&(u[0].style.opacity=0);n.extend(i,{trackSize:o,divider:f,moveDivider:s,dragSize:e});i.$el[t.params.watchOverflow&&t.isLocked?"addClass":"removeClass"](t.params.scrollbar.lockClass)}},setDragPosition:function(n){var t=this,r=t.scrollbar,o=t.rtlTranslate,s=r.$el,f=r.dragSize,h=r.trackSize,e,i,u;e=t.isHorizontal()?n.type==="touchstart"||n.type==="touchmove"?n.targetTouches[0].pageX:n.pageX||n.clientX:n.type==="touchstart"||n.type==="touchmove"?n.targetTouches[0].pageY:n.pageY||n.clientY;i=(e-s.offset()[t.isHorizontal()?"left":"top"]-f/2)/(h-f);i=Math.max(Math.min(i,1),0);o&&(i=1-i);u=t.minTranslate()+(t.maxTranslate()-t.minTranslate())*i;t.updateProgress(u);t.setTranslate(u);t.updateActiveIndex();t.updateSlidesClasses()},onDragStart:function(n){var t=this,u=t.params.scrollbar,i=t.scrollbar,f=t.$wrapperEl,r=i.$el,e=i.$dragEl;t.scrollbar.isTouched=!0;n.preventDefault();n.stopPropagation();f.transition(100);e.transition(100);i.setDragPosition(n);clearTimeout(t.scrollbar.dragTimeout);r.transition(0);u.hide&&r.css("opacity",1);t.emit("scrollbarDragStart",n)},onDragMove:function(n){var t=this,i=t.scrollbar,r=t.$wrapperEl,u=i.$el,f=i.$dragEl;t.scrollbar.isTouched&&(n.preventDefault?n.preventDefault():n.returnValue=!1,i.setDragPosition(n),r.transition(0),u.transition(0),f.transition(0),t.emit("scrollbarDragMove",n))},onDragEnd:function(t){var i=this,r=i.params.scrollbar,f=i.scrollbar,u=f.$el;i.scrollbar.isTouched&&(i.scrollbar.isTouched=!1,r.hide&&(clearTimeout(i.scrollbar.dragTimeout),i.scrollbar.dragTimeout=n.nextTick(function(){u.css("opacity",0);u.transition(400)},1e3)),i.emit("scrollbarDragEnd",t),r.snapOnRelease&&i.slideToClosest())},enableDraggable:function(){var n=this;if(n.params.scrollbar.el){var c=n.scrollbar,o=n.touchEvents,s=n.touchEventsDesktop,f=n.params,l=c.$el,i=l[0],t=r.passiveListener&&f.passiveListener?{passive:!1,capture:!1}:!1,h=r.passiveListener&&f.passiveListener?{passive:!0,capture:!1}:!1;!r.touch&&(r.pointerEvents||r.prefixedPointerEvents)?(i.addEventListener(s.start,n.scrollbar.onDragStart,t),u.addEventListener(s.move,n.scrollbar.onDragMove,t),u.addEventListener(s.end,n.scrollbar.onDragEnd,h)):(r.touch&&(i.addEventListener(o.start,n.scrollbar.onDragStart,t),i.addEventListener(o.move,n.scrollbar.onDragMove,t),i.addEventListener(o.end,n.scrollbar.onDragEnd,h)),(f.simulateTouch&&!e.ios&&!e.android||f.simulateTouch&&!r.touch&&e.ios)&&(i.addEventListener("mousedown",n.scrollbar.onDragStart,t),u.addEventListener("mousemove",n.scrollbar.onDragMove,t),u.addEventListener("mouseup",n.scrollbar.onDragEnd,h)))}},disableDraggable:function(){var n=this;if(n.params.scrollbar.el){var c=n.scrollbar,o=n.touchEvents,s=n.touchEventsDesktop,f=n.params,l=c.$el,i=l[0],t=r.passiveListener&&f.passiveListener?{passive:!1,capture:!1}:!1,h=r.passiveListener&&f.passiveListener?{passive:!0,capture:!1}:!1;!r.touch&&(r.pointerEvents||r.prefixedPointerEvents)?(i.removeEventListener(s.start,n.scrollbar.onDragStart,t),u.removeEventListener(s.move,n.scrollbar.onDragMove,t),u.removeEventListener(s.end,n.scrollbar.onDragEnd,h)):(r.touch&&(i.removeEventListener(o.start,n.scrollbar.onDragStart,t),i.removeEventListener(o.move,n.scrollbar.onDragMove,t),i.removeEventListener(o.end,n.scrollbar.onDragEnd,h)),(f.simulateTouch&&!e.ios&&!e.android||f.simulateTouch&&!r.touch&&e.ios)&&(i.removeEventListener("mousedown",n.scrollbar.onDragStart,t),u.removeEventListener("mousemove",n.scrollbar.onDragMove,t),u.removeEventListener("mouseup",n.scrollbar.onDragEnd,h)))}},init:function(){var i=this,u;if(i.params.scrollbar.el){var e=i.scrollbar,o=i.$el,f=i.params.scrollbar,r=t(f.el);i.params.uniqueNavElements&&typeof f.el=="string"&&r.length>1&&o.find(f.el).length===1&&(r=o.find(f.el));u=r.find("."+i.params.scrollbar.dragClass);u.length===0&&(u=t('<\/div>'),r.append(u));n.extend(e,{$el:r,el:r[0],$dragEl:u,dragEl:u[0]});f.draggable&&e.enableDraggable()}},destroy:function(){var n=this;n.scrollbar.disableDraggable()}},ke={name:"scrollbar",params:{scrollbar:{el:null,dragSize:"auto",hide:!1,draggable:!1,snapOnRelease:!0,lockClass:"swiper-scrollbar-lock",dragClass:"swiper-scrollbar-drag"}},create:function(){var t=this;n.extend(t,{scrollbar:{init:s.init.bind(t),destroy:s.destroy.bind(t),updateSize:s.updateSize.bind(t),setTranslate:s.setTranslate.bind(t),setTransition:s.setTransition.bind(t),enableDraggable:s.enableDraggable.bind(t),disableDraggable:s.disableDraggable.bind(t),setDragPosition:s.setDragPosition.bind(t),onDragStart:s.onDragStart.bind(t),onDragMove:s.onDragMove.bind(t),onDragEnd:s.onDragEnd.bind(t),isTouched:!1,timeout:null,dragTimeout:null}})},on:{init:function(){var n=this;n.scrollbar.init();n.scrollbar.updateSize();n.scrollbar.setTranslate()},update:function(){var n=this;n.scrollbar.updateSize()},resize:function(){var n=this;n.scrollbar.updateSize()},observerUpdate:function(){var n=this;n.scrollbar.updateSize()},setTranslate:function(){var n=this;n.scrollbar.setTranslate()},setTransition:function(n){var t=this;t.scrollbar.setTransition(n)},destroy:function(){var n=this;n.scrollbar.destroy()}}},ut={setTransform:function(n,i){var s=this,v=s.rtl,f=t(n),h=v?-1:1,c=f.attr("data-swiper-parallax")||"0",r=f.attr("data-swiper-parallax-x"),u=f.attr("data-swiper-parallax-y"),e=f.attr("data-swiper-parallax-scale"),o=f.attr("data-swiper-parallax-opacity"),l,a;r||u?(r=r||"0",u=u||"0"):s.isHorizontal()?(r=c,u="0"):(u=c,r="0");r=r.indexOf("%")>=0?parseInt(r,10)*i*h+"%":r*i*h+"px";u=u.indexOf("%")>=0?parseInt(u,10)*i+"%":u*i+"px";typeof o!="undefined"&&o!==null&&(l=o-(o-1)*(1-Math.abs(i)),f[0].style.opacity=l);typeof e=="undefined"||e===null?f.transform("translate3d("+r+", "+u+", 0px)"):(a=e-(e-1)*(1-Math.abs(i)),f.transform("translate3d("+r+", "+u+", 0px) scale("+a+")"))},setTranslate:function(){var n=this,r=n.$el,u=n.slides,i=n.progress,f=n.snapGrid;r.children("[data-swiper-parallax], [data-swiper-parallax-x], [data-swiper-parallax-y]").each(function(t,r){n.parallax.setTransform(r,i)});u.each(function(r,u){var e=u.progress;n.params.slidesPerGroup>1&&n.params.slidesPerView!=="auto"&&(e+=Math.ceil(r/2)-i*(f.length-1));e=Math.min(Math.max(e,-1),1);t(u).find("[data-swiper-parallax], [data-swiper-parallax-x], [data-swiper-parallax-y]").each(function(t,i){n.parallax.setTransform(i,e)})})},setTransition:function(n){n===void 0&&(n=this.params.speed);var i=this,r=i.$el;r.find("[data-swiper-parallax], [data-swiper-parallax-x], [data-swiper-parallax-y]").each(function(i,r){var u=t(r),f=parseInt(u.attr("data-swiper-parallax-duration"),10)||n;n===0&&(f=0);u.transition(f)})}},de={name:"parallax",params:{parallax:{enabled:!1}},create:function(){var t=this;n.extend(t,{parallax:{setTransform:ut.setTransform.bind(t),setTranslate:ut.setTranslate.bind(t),setTransition:ut.setTransition.bind(t)}})},on:{beforeInit:function(){var n=this;n.params.parallax.enabled&&(n.params.watchSlidesProgress=!0)},init:function(){var n=this;n.params.parallax&&n.parallax.setTranslate()},setTranslate:function(){var n=this;n.params.parallax&&n.parallax.setTranslate()},setTransition:function(n){var t=this;t.params.parallax&&t.parallax.setTransition(n)}}},ft={getDistanceBetweenTouches:function(n){if(n.targetTouches.length<2)return 1;var t=n.targetTouches[0].pageX,i=n.targetTouches[0].pageY,r=n.targetTouches[1].pageX,u=n.targetTouches[1].pageY;return Math.sqrt(Math.pow(r-t,2)+Math.pow(u-i,2))},onGestureStart:function(n){var u=this,e=u.params.zoom,f=u.zoom,i=f.gesture;if(f.fakeGestureTouched=!1,f.fakeGestureMoved=!1,!r.gestures){if(n.type!=="touchstart"||n.type==="touchstart"&&n.targetTouches.length<2)return;f.fakeGestureTouched=!0;i.scaleStart=ft.getDistanceBetweenTouches(n)}if((!i.$slideEl||!i.$slideEl.length)&&(i.$slideEl=t(n.target).closest(".swiper-slide"),i.$slideEl.length===0&&(i.$slideEl=u.slides.eq(u.activeIndex)),i.$imageEl=i.$slideEl.find("img, svg, canvas"),i.$imageWrapEl=i.$imageEl.parent("."+e.containerClass),i.maxRatio=i.$imageWrapEl.attr("data-swiper-zoom")||e.maxRatio,i.$imageWrapEl.length===0)){i.$imageEl=undefined;return}i.$imageEl.transition(0);u.zoom.isScaling=!0},onGestureChange:function(n){var u=this,f=u.params.zoom,t=u.zoom,i=t.gesture;if(!r.gestures){if(n.type!=="touchmove"||n.type==="touchmove"&&n.targetTouches.length<2)return;t.fakeGestureMoved=!0;i.scaleMove=ft.getDistanceBetweenTouches(n)}i.$imageEl&&i.$imageEl.length!==0&&(r.gestures?u.zoom.scale=n.scale*t.currentScale:t.scale=i.scaleMove/i.scaleStart*t.currentScale,t.scale>i.maxRatio&&(t.scale=i.maxRatio-1+Math.pow(t.scale-i.maxRatio+1,.5)),t.scale
i.touchesStart.x)){i.isTouched=!1;return}if(!e.isHorizontal()&&(Math.floor(i.minY)===Math.floor(i.startY)&&i.touchesCurrent.yi.touchesStart.y)){i.isTouched=!1;return}}t.preventDefault();t.stopPropagation();i.isMoved=!0;i.currentX=i.touchesCurrent.x-i.touchesStart.x+i.startX;i.currentY=i.touchesCurrent.y-i.touchesStart.y+i.startY;i.currentXi.maxX&&(i.currentX=i.maxX-1+Math.pow(i.currentX-i.maxX+1,.8));i.currentYi.maxY&&(i.currentY=i.maxY-1+Math.pow(i.currentY-i.maxY+1,.8));r.prevPositionX||(r.prevPositionX=i.touchesCurrent.x);r.prevPositionY||(r.prevPositionY=i.touchesCurrent.y);r.prevTime||(r.prevTime=Date.now());r.x=(i.touchesCurrent.x-r.prevPositionX)/(Date.now()-r.prevTime)/2;r.y=(i.touchesCurrent.y-r.prevPositionY)/(Date.now()-r.prevTime)/2;Math.abs(i.touchesCurrent.x-r.prevPositionX)<2&&(r.x=0);Math.abs(i.touchesCurrent.y-r.prevPositionY)<2&&(r.y=0);r.prevPositionX=i.touchesCurrent.x;r.prevPositionY=i.touchesCurrent.y;r.prevTime=Date.now();u.$imageWrapEl.transform("translate3d("+i.currentX+"px, "+i.currentY+"px,0)")}},onTouchEnd:function(){var l=this,i=l.zoom,r=i.gesture,n=i.image,t=i.velocity,s,h,c;if(r.$imageEl&&r.$imageEl.length!==0){if(!n.isTouched||!n.isMoved){n.isTouched=!1;n.isMoved=!1;return}n.isTouched=!1;n.isMoved=!1;var u=300,f=300,a=t.x*u,e=n.currentX+a,v=t.y*f,o=n.currentY+v;t.x!==0&&(u=Math.abs((e-n.currentX)/t.x));t.y!==0&&(f=Math.abs((o-n.currentY)/t.y));s=Math.max(u,f);n.currentX=e;n.currentY=o;h=n.width*i.scale;c=n.height*i.scale;n.minX=Math.min(r.slideWidth/2-h/2,0);n.maxX=-n.minX;n.minY=Math.min(r.slideHeight/2-c/2,0);n.maxY=-n.minY;n.currentX=Math.max(Math.min(n.currentX,n.maxX),n.minX);n.currentY=Math.max(Math.min(n.currentY,n.maxY),n.minY);r.$imageWrapEl.transition(s).transform("translate3d("+n.currentX+"px, "+n.currentY+"px,0)")}},onTransitionEnd:function(){var t=this,i=t.zoom,n=i.gesture;n.$slideEl&&t.previousIndex!==t.activeIndex&&(n.$imageEl.transform("translate3d(0,0,0) scale(1)"),n.$imageWrapEl.transform("translate3d(0,0,0)"),n.$slideEl=undefined,n.$imageEl=undefined,n.$imageWrapEl=undefined,i.scale=1,i.currentScale=1)},toggle:function(n){var i=this,t=i.zoom;t.scale&&t.scale!==1?t.out():t.in(n)},"in":function(n){var e=this,r=e.zoom,o=e.params.zoom,i=r.gesture,c=r.image,l,a,b,k,d,g,u,f,nt,tt,it,rt,s,h,v,y,p,w;(i.$slideEl||(i.$slideEl=e.clickedSlide?t(e.clickedSlide):e.slides.eq(e.activeIndex),i.$imageEl=i.$slideEl.find("img, svg, canvas"),i.$imageWrapEl=i.$imageEl.parent("."+o.containerClass)),i.$imageEl&&i.$imageEl.length!==0)&&(i.$slideEl.addClass(""+o.zoomedSlideClass),typeof c.touchesStart.x=="undefined"&&n?(l=n.type==="touchend"?n.changedTouches[0].pageX:n.pageX,a=n.type==="touchend"?n.changedTouches[0].pageY:n.pageY):(l=c.touchesStart.x,a=c.touchesStart.y),r.scale=i.$imageWrapEl.attr("data-swiper-zoom")||o.maxRatio,r.currentScale=i.$imageWrapEl.attr("data-swiper-zoom")||o.maxRatio,n?(p=i.$slideEl[0].offsetWidth,w=i.$slideEl[0].offsetHeight,b=i.$slideEl.offset().left,k=i.$slideEl.offset().top,d=b+p/2-l,g=k+w/2-a,nt=i.$imageEl[0].offsetWidth,tt=i.$imageEl[0].offsetHeight,it=nt*r.scale,rt=tt*r.scale,s=Math.min(p/2-it/2,0),h=Math.min(w/2-rt/2,0),v=-s,y=-h,u=d*r.scale,f=g*r.scale,uv&&(u=v),fy&&(f=y)):(u=0,f=0),i.$imageWrapEl.transition(300).transform("translate3d("+u+"px, "+f+"px,0)"),i.$imageEl.transition(300).transform("translate3d(0,0,0) scale("+r.scale+")"))},out:function(){var i=this,r=i.zoom,u=i.params.zoom,n=r.gesture;(n.$slideEl||(n.$slideEl=i.clickedSlide?t(i.clickedSlide):i.slides.eq(i.activeIndex),n.$imageEl=n.$slideEl.find("img, svg, canvas"),n.$imageWrapEl=n.$imageEl.parent("."+u.containerClass)),n.$imageEl&&n.$imageEl.length!==0)&&(r.scale=1,r.currentScale=1,n.$imageWrapEl.transition(300).transform("translate3d(0,0,0)"),n.$imageEl.transition(300).transform("translate3d(0,0,0) scale(1)"),n.$slideEl.removeClass(""+u.zoomedSlideClass),n.$slideEl=undefined)},enable:function(){var n=this,t=n.zoom,i;if(!t.enabled){if(t.enabled=!0,i=n.touchEvents.start==="touchstart"&&r.passiveListener&&n.params.passiveListeners?{passive:!0,capture:!1}:!1,r.gestures){n.$wrapperEl.on("gesturestart",".swiper-slide",t.onGestureStart,i);n.$wrapperEl.on("gesturechange",".swiper-slide",t.onGestureChange,i);n.$wrapperEl.on("gestureend",".swiper-slide",t.onGestureEnd,i)}else if(n.touchEvents.start==="touchstart"){n.$wrapperEl.on(n.touchEvents.start,".swiper-slide",t.onGestureStart,i);n.$wrapperEl.on(n.touchEvents.move,".swiper-slide",t.onGestureChange,i);n.$wrapperEl.on(n.touchEvents.end,".swiper-slide",t.onGestureEnd,i)}n.$wrapperEl.on(n.touchEvents.move,"."+n.params.zoom.containerClass,t.onTouchMove)}},disable:function(){var n=this,t=n.zoom,i;t.enabled&&(n.zoom.enabled=!1,i=n.touchEvents.start==="touchstart"&&r.passiveListener&&n.params.passiveListeners?{passive:!0,capture:!1}:!1,r.gestures?(n.$wrapperEl.off("gesturestart",".swiper-slide",t.onGestureStart,i),n.$wrapperEl.off("gesturechange",".swiper-slide",t.onGestureChange,i),n.$wrapperEl.off("gestureend",".swiper-slide",t.onGestureEnd,i)):n.touchEvents.start==="touchstart"&&(n.$wrapperEl.off(n.touchEvents.start,".swiper-slide",t.onGestureStart,i),n.$wrapperEl.off(n.touchEvents.move,".swiper-slide",t.onGestureChange,i),n.$wrapperEl.off(n.touchEvents.end,".swiper-slide",t.onGestureEnd,i)),n.$wrapperEl.off(n.touchEvents.move,"."+n.params.zoom.containerClass,t.onTouchMove))}},ge={name:"zoom",params:{zoom:{enabled:!1,maxRatio:3,minRatio:1,toggle:!0,containerClass:"swiper-zoom-container",zoomedSlideClass:"swiper-slide-zoomed"}},create:function(){var t=this,i={enabled:!1,scale:1,currentScale:1,isScaling:!1,gesture:{$slideEl:undefined,slideWidth:undefined,slideHeight:undefined,$imageEl:undefined,$imageWrapEl:undefined,maxRatio:3},image:{isTouched:undefined,isMoved:undefined,currentX:undefined,currentY:undefined,minX:undefined,minY:undefined,maxX:undefined,maxY:undefined,width:undefined,height:undefined,startX:undefined,startY:undefined,touchesStart:{},touchesCurrent:{}},velocity:{x:undefined,y:undefined,prevPositionX:undefined,prevPositionY:undefined,prevTime:undefined}};"onGestureStart onGestureChange onGestureEnd onTouchStart onTouchMove onTouchEnd onTransitionEnd toggle enable disable in out".split(" ").forEach(function(n){i[n]=ft[n].bind(t)});n.extend(t,{zoom:i})},on:{init:function(){var n=this;n.params.zoom.enabled&&n.zoom.enable()},destroy:function(){var n=this;n.zoom.disable()},touchStart:function(n){var t=this;if(t.zoom.enabled)t.zoom.onTouchStart(n)},touchEnd:function(n){var t=this;if(t.zoom.enabled)t.zoom.onTouchEnd(n)},doubleTap:function(n){var t=this;t.params.zoom.enabled&&t.zoom.enabled&&t.params.zoom.toggle&&t.zoom.toggle(n)},transitionEnd:function(){var n=this;n.zoom.enabled&&n.params.zoom.enabled&&n.zoom.onTransitionEnd()}}},ti={loadInSlide:function(n,i){var r,u;if((i===void 0&&(i=!0),r=this,u=r.params.lazy,typeof n!="undefined")&&r.slides.length!==0){var o=r.virtual&&r.params.virtual.enabled,f=o?r.$wrapperEl.children("."+r.params.slideClass+'[data-swiper-slide-index="'+n+'"]'):r.slides.eq(n),e=f.find("."+u.elementClass+":not(."+u.loadedClass+"):not(."+u.loadingClass+")");(!f.hasClass(u.elementClass)||f.hasClass(u.loadedClass)||f.hasClass(u.loadingClass)||(e=e.add(f[0])),e.length!==0)&&e.each(function(n,e){var o=t(e);o.addClass(u.loadingClass);var s=o.attr("data-background"),h=o.attr("data-src"),c=o.attr("data-srcset"),l=o.attr("data-sizes");r.loadImage(o[0],h||s,c,l,!1,function(){var n,t,e;typeof r!="undefined"&&r!==null&&r&&(!r||r.params)&&!r.destroyed&&(s?(o.css("background-image",'url("'+s+'")'),o.removeAttr("data-background")):(c&&(o.attr("srcset",c),o.removeAttr("data-srcset")),l&&(o.attr("sizes",l),o.removeAttr("data-sizes")),h&&(o.attr("src",h),o.removeAttr("data-src"))),o.addClass(u.loadedClass).removeClass(u.loadingClass),f.find("."+u.preloaderClass).remove(),r.params.loop&&i&&(n=f.attr("data-swiper-slide-index"),f.hasClass(r.params.slideDuplicateClass)?(t=r.$wrapperEl.children('[data-swiper-slide-index="'+n+'"]:not(.'+r.params.slideDuplicateClass+")"),r.lazy.loadInSlide(t.index(),!1)):(e=r.$wrapperEl.children("."+r.params.slideDuplicateClass+'[data-swiper-slide-index="'+n+'"]'),r.lazy.loadInSlide(e.index(),!1))),r.emit("lazyImageReady",f[0],o[0]))});r.emit("lazyImageLoad",f[0],o[0])})}},load:function(){function l(n){if(c){if(s.children("."+i.slideClass+'[data-swiper-slide-index="'+n+'"]').length)return!0}else if(p[n])return!0;return!1}function w(n){return c?t(n).attr("data-swiper-slide-index"):t(n).index()}var n=this,s=n.$wrapperEl,i=n.params,p=n.slides,r=n.activeIndex,c=n.virtual&&i.virtual.enabled,h=i.lazy,u=i.slidesPerView,f,e,o,v,y;if(u==="auto"&&(u=0),n.lazy.initialImageLoaded||(n.lazy.initialImageLoaded=!0),n.params.watchSlidesVisibility)s.children("."+i.slideVisibleClass).each(function(i,r){var u=c?t(r).attr("data-swiper-slide-index"):t(r).index();n.lazy.loadInSlide(u)});else if(u>1)for(f=r;f1||h.loadPrevNextAmount&&h.loadPrevNextAmount>1){var b=h.loadPrevNextAmount,a=u,k=Math.min(r+a+Math.max(b,a),p.length),d=Math.max(r-Math.max(a,b),0);for(e=r+u;e0&&n.lazy.loadInSlide(w(v)),y=s.children("."+i.slidePrevClass),y.length>0&&n.lazy.loadInSlide(w(y))}},no={name:"lazy",params:{lazy:{enabled:!1,loadPrevNext:!1,loadPrevNextAmount:1,loadOnTransitionStart:!1,elementClass:"swiper-lazy",loadingClass:"swiper-lazy-loading",loadedClass:"swiper-lazy-loaded",preloaderClass:"swiper-lazy-preloader"}},create:function(){var t=this;n.extend(t,{lazy:{initialImageLoaded:!1,load:ti.load.bind(t),loadInSlide:ti.loadInSlide.bind(t)}})},on:{beforeInit:function(){var n=this;n.params.lazy.enabled&&n.params.preloadImages&&(n.params.preloadImages=!1)},init:function(){var n=this;n.params.lazy.enabled&&!n.params.loop&&n.params.initialSlide===0&&n.lazy.load()},scroll:function(){var n=this;n.params.freeMode&&!n.params.freeModeSticky&&n.lazy.load()},resize:function(){var n=this;n.params.lazy.enabled&&n.lazy.load()},scrollbarDragMove:function(){var n=this;n.params.lazy.enabled&&n.lazy.load()},transitionStart:function(){var n=this;n.params.lazy.enabled&&(!n.params.lazy.loadOnTransitionStart&&(n.params.lazy.loadOnTransitionStart||n.lazy.initialImageLoaded)||n.lazy.load())},transitionEnd:function(){var n=this;n.params.lazy.enabled&&!n.params.lazy.loadOnTransitionStart&&n.lazy.load()}}},v={LinearSpline:function(n,t){var u=function(){var n,t,i;return function(r,u){for(t=-1,n=r.length;n-t>1;)i=n+t>>1,r[i]<=u?t=i:n=i;return n}}(),i,r;return this.x=n,this.y=t,this.lastIndex=n.length-1,this.interpolate=function(n){return n?(r=u(this.x,n),i=r-1,(n-this.x[i])*(this.y[r]-this.y[i])/(this.x[r]-this.x[i])+this.y[i]):0},this},getInterpolateFunction:function(n){var t=this;t.controller.spline||(t.controller.spline=t.params.loop?new v.LinearSpline(t.slidesGrid,n.slidesGrid):new v.LinearSpline(t.snapGrid,n.snapGrid))},setTranslate:function(n,t){function s(n){var t=i.rtlTranslate?-i.translate:i.translate;i.params.controller.by==="slide"&&(i.controller.getInterpolateFunction(n),u=-i.controller.spline.interpolate(-t));u&&i.params.controller.by!=="container"||(e=(n.maxTranslate()-n.minTranslate())/(i.maxTranslate()-i.minTranslate()),u=(t-i.minTranslate())*e+n.minTranslate());i.params.controller.inverse&&(u=n.maxTranslate()-u);n.updateProgress(u);n.setTranslate(u,i);n.updateActiveIndex();n.updateSlidesClasses()}var i=this,r=i.controller.control,e,u,f;if(Array.isArray(r))for(f=0;f0&&(n.isBeginning?n.a11y.disableEl(i):n.a11y.enableEl(i));t&&t.length>0&&(n.isEnd?n.a11y.disableEl(t):n.a11y.enableEl(t))}},updatePagination:function(){var n=this,i=n.params.a11y;n.pagination&&n.params.pagination.clickable&&n.pagination.bullets&&n.pagination.bullets.length&&n.pagination.bullets.each(function(r,u){var f=t(u);n.a11y.makeElFocusable(f);n.a11y.addElRole(f,"button");n.a11y.addElLabel(f,i.paginationBulletMessage.replace(/{{index}}/,f.index()+1))})},init:function(){var n=this,r,t,i;if(n.$el.append(n.a11y.liveRegion),r=n.params.a11y,n.navigation&&n.navigation.$nextEl&&(t=n.navigation.$nextEl),n.navigation&&n.navigation.$prevEl&&(i=n.navigation.$prevEl),t){n.a11y.makeElFocusable(t);n.a11y.addElRole(t,"button");n.a11y.addElLabel(t,r.nextSlideMessage);t.on("keydown",n.a11y.onEnterKey)}if(i){n.a11y.makeElFocusable(i);n.a11y.addElRole(i,"button");n.a11y.addElLabel(i,r.prevSlideMessage);i.on("keydown",n.a11y.onEnterKey)}if(n.pagination&&n.params.pagination.clickable&&n.pagination.bullets&&n.pagination.bullets.length)n.pagination.$el.on("keydown","."+n.params.pagination.bulletClass,n.a11y.onEnterKey)},destroy:function(){var n=this,t,i;n.a11y.liveRegion&&n.a11y.liveRegion.length>0&&n.a11y.liveRegion.remove();n.navigation&&n.navigation.$nextEl&&(t=n.navigation.$nextEl);n.navigation&&n.navigation.$prevEl&&(i=n.navigation.$prevEl);t&&t.off("keydown",n.a11y.onEnterKey);i&&i.off("keydown",n.a11y.onEnterKey);n.pagination&&n.params.pagination.clickable&&n.pagination.bullets&&n.pagination.bullets.length&&n.pagination.$el.off("keydown","."+n.params.pagination.bulletClass,n.a11y.onEnterKey)}},io={name:"a11y",params:{a11y:{enabled:!0,notificationClass:"swiper-notification",prevSlideMessage:"Previous slide",nextSlideMessage:"Next slide",firstSlideMessage:"This is the first slide",lastSlideMessage:"This is the last slide",paginationBulletMessage:"Go to slide {{index}}"}},create:function(){var i=this;n.extend(i,{a11y:{liveRegion:t('<\/span>')}});Object.keys(ii).forEach(function(n){i.a11y[n]=ii[n].bind(i)})},on:{init:function(){var n=this;n.params.a11y.enabled&&(n.a11y.init(),n.a11y.updateNavigation())},toEdge:function(){var n=this;n.params.a11y.enabled&&n.a11y.updateNavigation()},fromEdge:function(){var n=this;n.params.a11y.enabled&&n.a11y.updateNavigation()},paginationUpdate:function(){var n=this;n.params.a11y.enabled&&n.a11y.updatePagination()},destroy:function(){var n=this;n.params.a11y.enabled&&n.a11y.destroy()}}},l={init:function(){var n=this,t;if(n.params.history){if(!i.history||!i.history.pushState){n.params.history.enabled=!1;n.params.hashNavigation.enabled=!0;return}(t=n.history,t.initialized=!0,t.paths=l.getPathValues(),t.paths.key||t.paths.value)&&(t.scrollToSlide(0,t.paths.value,n.params.runCallbacksOnInit),n.params.history.replaceState||i.addEventListener("popstate",n.history.setHistoryPopState))}},destroy:function(){var n=this;n.params.history.replaceState||i.removeEventListener("popstate",n.history.setHistoryPopState)},setHistoryPopState:function(){var n=this;n.history.paths=l.getPathValues();n.history.scrollToSlide(n.params.speed,n.history.paths.value,!1)},getPathValues:function(){var n=i.location.pathname.slice(1).split("/").filter(function(n){return n!==""}),t=n.length,r=n[t-2],u=n[t-1];return{key:r,value:u}},setHistory:function(n,t){var u=this,e,r,f;u.history.initialized&&u.params.history.enabled&&((e=u.slides.eq(t),r=l.slugify(e.attr("data-history")),i.location.pathname.includes(n)||(r=n+"/"+r),f=i.history.state,f&&f.value===r)||(u.params.history.replaceState?i.history.replaceState({value:r},null,r):i.history.pushState({value:r},null,r)))},slugify:function(n){return n.toString().toLowerCase().replace(/\s+/g,"-").replace(/[^\w-]+/g,"").replace(/--+/g,"-").replace(/^-+/,"").replace(/-+$/,"")},scrollToSlide:function(n,t,i){var r=this,u,e,f,o,s;if(t)for(u=0,e=r.slides.length;u<\/div>'),k.append(r)),r.css({height:d+"px"})):(r=nt.find(".swiper-cube-shadow"),r.length===0&&(r=t('<\/div>'),nt.append(r)))),w=0;w
-1&&(c=e*90+v*90,g&&(c=-e*90-v*90));u.transform(ut);s.slideShadows&&(y=f?u.find(".swiper-slide-shadow-left"):u.find(".swiper-slide-shadow-top"),p=f?u.find(".swiper-slide-shadow-right"):u.find(".swiper-slide-shadow-bottom"),y.length===0&&(y=t('<\/div>'),u.append(y)),p.length===0&&(p=t('
<\/div>'),u.append(p)),y.length&&(y[0].style.opacity=Math.max(-v,0)),p.length&&(p[0].style.opacity=Math.max(v,0)))}if(k.css({"-webkit-transform-origin":"50% 50% -"+i/2+"px","-moz-transform-origin":"50% 50% -"+i/2+"px","-ms-transform-origin":"50% 50% -"+i/2+"px","transform-origin":"50% 50% -"+i/2+"px"}),s.shadow)if(f)r.transform("translate3d(0px, "+(d/2+s.shadowOffset)+"px, "+-d/2+"px) rotateX(90deg) rotateZ(0deg) scale("+s.shadowScale+")");else{var ft=Math.abs(c)-Math.floor(Math.abs(c)/90)*90,ht=1.5-(Math.sin(ft*2*Math.PI/360)/2+Math.cos(ft*2*Math.PI/360)/2),ct=s.shadowScale,et=s.shadowScale/ht,lt=s.shadowOffset;r.transform("scale3d("+ct+", 1, "+et+") translate3d(0px, "+(it/2+lt)+"px, "+-it/2/et+"px) rotateX(-90deg)")}ot=a.isSafari||a.isUiWebView?-i/2:0;k.transform("translate3d(0px,0,"+ot+"px) rotateX("+(n.isHorizontal()?0:c)+"deg) rotateY("+(n.isHorizontal()?-c:0)+"deg)")},setTransition:function(n){var t=this,i=t.$el,r=t.slides;r.transition(n).find(".swiper-slide-shadow-top, .swiper-slide-shadow-right, .swiper-slide-shadow-bottom, .swiper-slide-shadow-left").transition(n);t.params.cubeEffect.shadow&&!t.isHorizontal()&&i.find(".swiper-cube-shadow").transition(n)}},oo={name:"effect-cube",params:{cubeEffect:{slideShadows:!0,shadow:!0,shadowOffset:20,shadowScale:.94}},create:function(){var t=this;n.extend(t,{cubeEffect:{setTranslate:ui.setTranslate.bind(t),setTransition:ui.setTransition.bind(t)}})},on:{beforeInit:function(){var t=this,i;t.params.effect==="cube"&&(t.classNames.push(t.params.containerModifierClass+"cube"),t.classNames.push(t.params.containerModifierClass+"3d"),i={slidesPerView:1,slidesPerColumn:1,slidesPerGroup:1,watchSlidesProgress:!0,resistanceRatio:0,spaceBetween:0,centeredSlides:!1,virtualTranslate:!0},n.extend(t.params,i),n.extend(t.originalParams,i))},setTranslate:function(){var n=this;n.params.effect==="cube"&&n.cubeEffect.setTranslate()},setTransition:function(n){var t=this;t.params.effect==="cube"&&t.cubeEffect.setTransition(n)}}},fi={setTranslate:function(){for(var n,r,u,f,i=this,o=i.slides,a=i.rtlTranslate,s=0;s
<\/div>'),n.append(u)),f.length===0&&(f=t('<\/div>'),n.append(f)),u.length&&(u[0].style.opacity=Math.max(-r,0)),f.length&&(f[0].style.opacity=Math.max(r,0)));n.transform("translate3d("+h+"px, "+l+"px, 0px) rotateX("+c+"deg) rotateY("+e+"deg)")}},setTransition:function(n){var t=this,r=t.slides,u=t.activeIndex,f=t.$wrapperEl,i;r.transition(n).find(".swiper-slide-shadow-top, .swiper-slide-shadow-right, .swiper-slide-shadow-bottom, .swiper-slide-shadow-left").transition(n);t.params.virtualTranslate&&n!==0&&(i=!1,r.eq(u).transitionEnd(function(){var r,n;if(!i&&t&&!t.destroyed)for(i=!0,t.animating=!1,r=["webkitTransitionEnd","transitionend"],n=0;n
<\/div>'),u.append(o)),s.length===0&&(s=t('<\/div>'),u.append(s)),o.length&&(o[0].style.opacity=i>0?i:0),s.length&&(s[0].style.opacity=-i>0?-i:0))}(r.pointerEvents||r.prefixedPointerEvents)&&(nt=rt[0].style,nt.perspectiveOrigin=b+"px 50%")},setTransition:function(n){var t=this;t.slides.transition(n).find(".swiper-slide-shadow-top, .swiper-slide-shadow-right, .swiper-slide-shadow-bottom, .swiper-slide-shadow-left").transition(n)}},ho={name:"effect-coverflow",params:{coverflowEffect:{rotate:50,stretch:0,depth:100,modifier:1,slideShadows:!0}},create:function(){var t=this;n.extend(t,{coverflowEffect:{setTranslate:ei.setTranslate.bind(t),setTransition:ei.setTransition.bind(t)}})},on:{beforeInit:function(){var n=this;n.params.effect==="coverflow"&&(n.classNames.push(n.params.containerModifierClass+"coverflow"),n.classNames.push(n.params.containerModifierClass+"3d"),n.params.watchSlidesProgress=!0,n.originalParams.watchSlidesProgress=!0)},setTranslate:function(){var n=this;n.params.effect==="coverflow"&&n.coverflowEffect.setTranslate()},setTransition:function(n){var t=this;t.params.effect==="coverflow"&&t.coverflowEffect.setTransition(n)}}},co=[oe,se,he,ce,le,ae,ve,pe,we,be,ke,de,ge,no,to,io,ro,uo,fo,eo,oo,so,ho];return typeof o.use=="undefined"&&(o.use=o.Class.use,o.installModule=o.Class.installModule),o.use(co),o});