!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define.amd?define(t):e.Popper=t()}(this,function(){"use strict";function e(e){return e&&"[object Function]"==={}.toString.call(e)}function t(e,t){if(1!==e.nodeType)return[];var i=e.ownerDocument.defaultView.getComputedStyle(e,null);return t?i[t]:i}function i(e){return"HTML"===e.nodeName?e:e.parentNode||e.host}function a(e){if(!e)return document.body;switch(e.nodeName){case"HTML":case"BODY":return e.ownerDocument.body;case"#document":return e.body}var s=t(e),n=s.overflow,r=s.overflowX,o=s.overflowY;return/(auto|scroll|overlay)/.test(n+o+r)?e:a(i(e))}function s(e){return 11===e?j:10===e?U:j||U}function n(e){if(!e)return document.documentElement;for(var i=s(10)?document.body:null,a=e.offsetParent||null;a===i&&e.nextElementSibling;)a=(e=e.nextElementSibling).offsetParent;var r=a&&a.nodeName;return r&&"BODY"!==r&&"HTML"!==r?-1!==["TH","TD","TABLE"].indexOf(a.nodeName)&&"static"===t(a,"position")?n(a):a:e?e.ownerDocument.documentElement:document.documentElement}function r(e){return null===e.parentNode?e:r(e.parentNode)}function o(e,t){if(!(e&&e.nodeType&&t&&t.nodeType))return document.documentElement;var i=e.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_FOLLOWING,a=i?e:t,s=i?t:e,l=document.createRange();l.setStart(a,0),l.setEnd(s,0);var d=l.commonAncestorContainer;if(e!==d&&t!==d||a.contains(s))return function(e){var t=e.nodeName;return"BODY"!==t&&("HTML"===t||n(e.firstElementChild)===e)}(d)?d:n(d);var p=r(e);return p.host?o(p.host,t):o(e,r(t).host)}function l(e){var t="top"===(1=i.clientWidth&&a>=i.clientHeight}),p=0d[e]&&!t.escapeWithReference&&(a=B(c[i],d[e]-("right"===e?c.width:c.height))),Q({},i,a)}};return p.forEach(function(e){var t=-1===["left","top"].indexOf(e)?"secondary":"primary";c=Z({},c,u[t](e))}),e.offsets.popper=c,e},priority:["left","right","top","bottom"],padding:5,boundariesElement:"scrollParent"},keepTogether:{order:400,enabled:!0,fn:function(e){var t=e.offsets,i=t.popper,a=t.reference,s=e.placement.split("-")[0],n=G,r=-1!==["top","bottom"].indexOf(s),o=r?"right":"bottom",l=r?"left":"top",d=r?"width":"height";return i[o]n(a[o])&&(e.offsets.popper[l]=n(a[o])),e}},arrow:{order:500,enabled:!0,fn:function(e,i){var a;if(!A(e.instance.modifiers,"arrow","keepTogether"))return e;var s=i.element;if("string"==typeof s){if(!(s=e.instance.popper.querySelector(s)))return e}else if(!e.instance.popper.contains(s))return console.warn("WARNING: `arrow.element` must be child of its popper element!"),e;var n=e.placement.split("-")[0],r=e.offsets,o=r.popper,l=r.reference,d=-1!==["left","right"].indexOf(n),p=d?"height":"width",c=d?"Top":"Left",u=c.toLowerCase(),f=d?"left":"top",m=d?"bottom":"right",v=T(s)[p];l[m]-vo[m]&&(e.offsets.popper[u]+=l[u]+v-o[m]),e.offsets.popper=h(e.offsets.popper);var g=l[u]+l[p]/2-v/2,b=t(e.instance.popper),w=parseFloat(b["margin"+c],10),y=parseFloat(b["border"+c+"Width"],10),x=g-e.offsets.popper[u]-w-y;return x=F(B(o[p]-v,x),0),e.arrowElement=s,e.offsets.arrow=(Q(a={},u,Y(x)),Q(a,f,""),a),e},element:"[x-arrow]"},flip:{order:600,enabled:!0,fn:function(e,t){if(P(e.instance.modifiers,"inner"))return e;if(e.flipped&&e.placement===e.originalPlacement)return e;var i=w(e.instance.popper,e.instance.reference,t.padding,t.boundariesElement,e.positionFixed),a=e.placement.split("-")[0],s=S(a),n=e.placement.split("-")[1]||"",r=[];switch(t.behavior){case ie:r=[a,s];break;case ae:r=N(a);break;case se:r=N(a,!0);break;default:r=t.behavior}return r.forEach(function(o,l){if(a!==o||r.length===l+1)return e;a=e.placement.split("-")[0],s=S(a);var d=e.offsets.popper,p=e.offsets.reference,c=G,u="left"===a&&c(d.right)>c(p.left)||"right"===a&&c(d.left)c(p.top)||"bottom"===a&&c(d.top)c(i.right),m=c(d.top)c(i.bottom),g="left"===a&&h||"right"===a&&f||"top"===a&&m||"bottom"===a&&v,b=-1!==["top","bottom"].indexOf(a),w=!!t.flipVariations&&(b&&"start"===n&&h||b&&"end"===n&&f||!b&&"start"===n&&m||!b&&"end"===n&&v);(u||g||w)&&(e.flipped=!0,(u||g)&&(a=r[l+1]),w&&(n=function(e){return"end"===e?"start":"start"===e?"end":e}(n)),e.placement=a+(n?"-"+n:""),e.offsets.popper=Z({},e.offsets.popper,C(e.instance.popper,e.offsets.reference,e.placement)),e=k(e.instance.modifiers,e,"flip"))}),e},behavior:"flip",padding:5,boundariesElement:"viewport"},inner:{order:700,enabled:!1,fn:function(e){var t=e.placement,i=t.split("-")[0],a=e.offsets,s=a.popper,n=a.reference,r=-1!==["left","right"].indexOf(i),o=-1===["top","left"].indexOf(i);return s[r?"left":"top"]=n[i]-(o?s[r?"width":"height"]:0),e.placement=S(t),e.offsets.popper=h(s),e}},hide:{order:800,enabled:!0,fn:function(e){if(!A(e.instance.modifiers,"hide","preventOverflow"))return e;var t=e.offsets.reference,i=M(e.instance.modifiers,function(e){return"preventOverflow"===e.name}).boundaries;if(t.bottomi.right||t.top>i.bottom||t.rightwindow.devicePixelRatio||!J),m="bottom"===i?"top":"bottom",v="right"===a?"left":"right",g=z("transform");if(l="bottom"==m?"HTML"===p.nodeName?-p.clientHeight+h.bottom:-c.height+h.bottom:h.top,o="right"==v?"HTML"===p.nodeName?-p.clientWidth+h.right:-c.width+h.right:h.left,d&&g)u[g]="translate3d("+o+"px, "+l+"px, 0)",u[m]=0,u[v]=0,u.willChange="transform";else{var b="bottom"==m?-1:1,w="right"==v?-1:1;u[m]=l*b,u[v]=o*w,u.willChange=m+", "+v}var y={"x-placement":e.placement};return e.attributes=Z({},y,e.attributes),e.styles=Z({},u,e.styles),e.arrowStyles=Z({},e.offsets.arrow,e.arrowStyles),e},gpuAcceleration:!0,x:"bottom",y:"right"},applyStyle:{order:900,enabled:!0,fn:function(e){return D(e.instance.popper,e.styles),function(e,t){Object.keys(t).forEach(function(i){!1===t[i]?e.removeAttribute(i):e.setAttribute(i,t[i])})}(e.instance.popper,e.attributes),e.arrowElement&&Object.keys(e.arrowStyles).length&&D(e.arrowElement,e.arrowStyles),e},onLoad:function(e,t,i,a,s){var n=E(s,t,e,i.positionFixed),r=x(i.placement,n,t,e,i.modifiers.flip.boundariesElement,i.modifiers.flip.padding);return t.setAttribute("x-placement",r),D(t,{position:i.positionFixed?"fixed":"absolute"}),i},gpuAcceleration:void 0}}},ne}),function(e,t){"function"==typeof define&&define.amd?define([],function(){return t(e)}):"object"==typeof exports?module.exports=t(e):e.SmoothScroll=t(e)}("undefined"!=typeof global?global:"undefined"!=typeof window?window:this,function(e){"use strict";var t="querySelector"in document&&"addEventListener"in e&&"requestAnimationFrame"in e&&"closest"in e.Element.prototype,i={ignore:"[data-scroll-ignore]",header:null,speed:500,offset:0,easing:"easeInOutCubic",customEasing:null,before:function(){},after:function(){}},a=function(){for(var e={},t=0,i=arguments.length;t=1&&t<=31||127==t||0===s&&t>=48&&t<=57||1===s&&t>=48&&t<=57&&45===r?"\\"+t.toString(16)+" ":t>=128||45===t||95===t||t>=48&&t<=57||t>=65&&t<=90||t>=97&&t<=122?i.charAt(s):"\\"+i.charAt(s)}return"#"+n},r=function(e){return e?s(e)+e.offsetTop:0};return function(s,o){var l,d,p,c,u,h,f,m={cancelScroll:function(){cancelAnimationFrame(f)}};m.animateScroll=function(t,s,n){var o=a(l||i,n||{}),d="[object Number]"===Object.prototype.toString.call(t),p=d||!t.tagName?null:t;if(d||p){var h=e.pageYOffset;o.header&&!c&&(c=document.querySelector(o.header)),u||(u=r(c));var f,v,g,b=d?t:function(e,t,i){var a=0;if(e.offsetParent)do{a+=e.offsetTop,e=e.offsetParent}while(e);return Math.max(a-t-i,0)}(p,u,parseInt("function"==typeof o.offset?o.offset():o.offset,10)),w=b-h,y=Math.max(document.body.scrollHeight,document.documentElement.scrollHeight,document.body.offsetHeight,document.documentElement.offsetHeight,document.body.clientHeight,document.documentElement.clientHeight),x=0,E=function(i,a){var n=e.pageYOffset;if(i==a||n==a||(h=y)return m.cancelScroll(),function(t,i,a){a||(t.focus(),document.activeElement.id!==t.id&&(t.setAttribute("tabindex","-1"),t.focus(),t.style.outline="none"),e.scrollTo(0,i))}(t,a,d),o.after(t,s),f=null,!0},T=function(t){f||(f=t),v=(x+=t-f)/parseInt(o.speed,10),g=h+w*function(e,t){var i;return"easeInQuad"===e.easing&&(i=t*t),"easeOutQuad"===e.easing&&(i=t*(2-t)),"easeInOutQuad"===e.easing&&(i=t<.5?2*t*t:(4-2*t)*t-1),"easeInCubic"===e.easing&&(i=t*t*t),"easeOutCubic"===e.easing&&(i=--t*t*t+1),"easeInOutCubic"===e.easing&&(i=t<.5?4*t*t*t:(t-1)*(2*t-2)*(2*t-2)+1),"easeInQuart"===e.easing&&(i=t*t*t*t),"easeOutQuart"===e.easing&&(i=1- --t*t*t*t),"easeInOutQuart"===e.easing&&(i=t<.5?8*t*t*t*t:1-8*--t*t*t*t),"easeInQuint"===e.easing&&(i=t*t*t*t*t),"easeOutQuint"===e.easing&&(i=1+--t*t*t*t*t),"easeInOutQuint"===e.easing&&(i=t<.5?16*t*t*t*t*t:1+16*--t*t*t*t*t),e.customEasing&&(i=e.customEasing(t)),i||t}(o,v=v>1?1:v),e.scrollTo(0,Math.floor(g)),E(g,b)||(e.requestAnimationFrame(T),f=t)};0===e.pageYOffset&&e.scrollTo(0,0),o.before(t,s),m.cancelScroll(),e.requestAnimationFrame(T)}};var v=function(e){d&&(d.id=d.getAttribute("data-scroll-id"),m.animateScroll(d,p),d=null,p=null)},g=function(t){if(!("matchMedia"in e&&e.matchMedia("(prefers-reduced-motion)").matches)&&0===t.button&&!t.metaKey&&!t.ctrlKey&&(p=t.target.closest(s))&&"a"===p.tagName.toLowerCase()&&!t.target.closest(l.ignore)&&p.hostname===e.location.hostname&&p.pathname===e.location.pathname&&/#/.test(p.href)){var i;try{i=n(decodeURIComponent(p.hash))}catch(e){i=n(p.hash)}if("#"===i){t.preventDefault();var a=(d=document.body).id?d.id:"smooth-scroll-top";return d.setAttribute("data-scroll-id",a),d.id="",void(e.location.hash.substring(1)===a?v():e.location.hash=a)}(d=document.querySelector(i))&&(d.setAttribute("data-scroll-id",d.id),d.id="",p.hash===e.location.hash&&(t.preventDefault(),v()))}},b=function(e){h||(h=setTimeout(function(){h=null,u=r(c)},66))};return m.destroy=function(){l&&(document.removeEventListener("click",g,!1),e.removeEventListener("resize",b,!1),m.cancelScroll(),l=null,d=null,p=null,c=null,u=null,h=null,f=null)},m.init=function(s){t&&(m.destroy(),l=a(i,s||{}),c=l.header?document.querySelector(l.header):null,u=r(c),document.addEventListener("click",g,!1),e.addEventListener("hashchange",v,!1),c&&e.addEventListener("resize",b,!1))},m.init(o),m}}),function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define.amd?define(t):e.Swiper=t()}(this,function(){"use strict";var e="undefined"==typeof document?{body:{},addEventListener:function(){},removeEventListener:function(){},activeElement:{blur:function(){},nodeName:""},querySelector:function(){return null},querySelectorAll:function(){return[]},getElementById:function(){return null},createEvent:function(){return{initEvent:function(){}}},createElement:function(){return{children:[],childNodes:[],style:{},setAttribute:function(){},getElementsByTagName:function(){return[]}}},location:{hash:""}}:document,t="undefined"==typeof window?{document:e,navigator:{userAgent:""},location:{},history:{},CustomEvent:function(){return this},addEventListener:function(){},removeEventListener:function(){},getComputedStyle:function(){return{getPropertyValue:function(){return""}}},Image:function(){},Date:function(){},screen:{},setTimeout:function(){},clearTimeout:function(){}}:window,i=function(e){for(var t=0;t")){var p="div";for(0===d.indexOf(":~]/)?(s||e).querySelectorAll(a.trim()):[e.getElementById(a.trim().split("#")[1])],r=0;ri.slides.length)break;a.push(i.slides.eq(n)[0])}else a.push(i.slides.eq(i.activeIndex)[0]);for(t=0;t=t.size)&&(t.visibleSlides.push(l),t.visibleSlidesIndexes.push(o),s.eq(o).addClass(i.slideVisibleClass))}l.progress=n?-d:d}t.visibleSlides=a(t.visibleSlides)}},updateProgress:function(e){void 0===e&&(e=this&&this.translate||0);var t=this,i=t.params,a=t.maxTranslate()-t.minTranslate(),s=t.progress,n=t.isBeginning,r=t.isEnd,o=n,l=r;0===a?r=n=!(s=0):(n=(s=(e-t.minTranslate())/a)<=0,r=1<=s),d.extend(t,{progress:s,isBeginning:n,isEnd:r}),(i.watchSlidesProgress||i.watchSlidesVisibility)&&t.updateSlidesProgress(e),n&&!o&&t.emit("reachBeginning toEdge"),r&&!l&&t.emit("reachEnd toEdge"),(o&&!n||l&&!r)&&t.emit("fromEdge"),t.emit("progress",s)},updateSlidesClasses:function(){var e,t=this,i=t.slides,a=t.params,s=t.$wrapperEl,n=t.activeIndex,r=t.realIndex,o=t.virtual&&a.virtual.enabled;i.removeClass(a.slideActiveClass+" "+a.slideNextClass+" "+a.slidePrevClass+" "+a.slideDuplicateActiveClass+" "+a.slideDuplicateNextClass+" "+a.slideDuplicatePrevClass),(e=o?t.$wrapperEl.find("."+a.slideClass+'[data-swiper-slide-index="'+n+'"]'):i.eq(n)).addClass(a.slideActiveClass),a.loop&&(e.hasClass(a.slideDuplicateClass)?s.children("."+a.slideClass+":not(."+a.slideDuplicateClass+')[data-swiper-slide-index="'+r+'"]').addClass(a.slideDuplicateActiveClass):s.children("."+a.slideClass+"."+a.slideDuplicateClass+'[data-swiper-slide-index="'+r+'"]').addClass(a.slideDuplicateActiveClass));var l=e.nextAll("."+a.slideClass).eq(0).addClass(a.slideNextClass);a.loop&&0===l.length&&(l=i.eq(0)).addClass(a.slideNextClass);var d=e.prevAll("."+a.slideClass).eq(0).addClass(a.slidePrevClass);a.loop&&0===d.length&&(d=i.eq(-1)).addClass(a.slidePrevClass),a.loop&&(l.hasClass(a.slideDuplicateClass)?s.children("."+a.slideClass+":not(."+a.slideDuplicateClass+')[data-swiper-slide-index="'+l.attr("data-swiper-slide-index")+'"]').addClass(a.slideDuplicateNextClass):s.children("."+a.slideClass+"."+a.slideDuplicateClass+'[data-swiper-slide-index="'+l.attr("data-swiper-slide-index")+'"]').addClass(a.slideDuplicateNextClass),d.hasClass(a.slideDuplicateClass)?s.children("."+a.slideClass+":not(."+a.slideDuplicateClass+')[data-swiper-slide-index="'+d.attr("data-swiper-slide-index")+'"]').addClass(a.slideDuplicatePrevClass):s.children("."+a.slideClass+"."+a.slideDuplicateClass+'[data-swiper-slide-index="'+d.attr("data-swiper-slide-index")+'"]').addClass(a.slideDuplicatePrevClass))},updateActiveIndex:function(e){var t,i=this,a=i.rtlTranslate?i.translate:-i.translate,s=i.slidesGrid,n=i.snapGrid,r=i.params,o=i.activeIndex,l=i.realIndex,p=i.snapIndex,c=e;if(void 0===c){for(var u=0;u=s[u]&&a=s[u]&&a=s[u]&&(c=u);r.normalizeSlideIndex&&(c<0||void 0===c)&&(c=0)}if((t=0<=n.indexOf(a)?n.indexOf(a):Math.floor(c/r.slidesPerGroup))>=n.length&&(t=n.length-1),c!==o){var h=parseInt(i.slides.eq(c).attr("data-swiper-slide-index")||c,10);d.extend(i,{snapIndex:t,realIndex:h,previousIndex:o,activeIndex:c}),i.emit("activeIndexChange"),i.emit("snapIndexChange"),l!==h&&i.emit("realIndexChange"),i.emit("slideChange")}else t!==p&&(i.snapIndex=t,i.emit("snapIndexChange"))},updateClickedSlide:function(e){var t=this,i=t.params,s=a(e.target).closest("."+i.slideClass)[0],n=!1;if(s)for(var r=0;r=o.length&&(h=o.length-1),(c||r.initialSlide||0)===(d||0)&&i&&s.emit("beforeSlideChangeStart");var f,m=-o[h];if(s.updateProgress(m),r.normalizeSlideIndex)for(var v=0;v=Math.floor(100*l[v])&&(n=v);if(s.initialized&&n!==c){if(!s.allowSlideNext&&ms.translate&&m>s.maxTranslate()&&(c||0)!==n)return!1}return f=ct.slides.length-t.loopedSlides+n/2?(t.loopFix(),r=s.children("."+i.slideClass+'[data-swiper-slide-index="'+e+'"]:not(.'+i.slideDuplicateClass+")").eq(0).index(),d.nextTick(function(){t.slideTo(r)})):t.slideTo(r):r>t.slides.length-n?(t.loopFix(),r=s.children("."+i.slideClass+'[data-swiper-slide-index="'+e+'"]:not(.'+i.slideDuplicateClass+")").eq(0).index(),d.nextTick(function(){t.slideTo(r)})):t.slideTo(r)}else t.slideTo(r)}},v={loopCreate:function(){var t=this,i=t.params,s=t.$wrapperEl;s.children("."+i.slideClass+"."+i.slideDuplicateClass).remove();var n=s.children("."+i.slideClass);if(i.loopFillGroupWithBlank){var r=i.slidesPerGroup-n.length%i.slidesPerGroup;if(r!==i.slidesPerGroup){for(var o=0;on.length&&(t.loopedSlides=n.length);var d=[],p=[];n.each(function(e,i){var s=a(i);e=n.length-t.loopedSlides&&d.push(i),s.attr("data-swiper-slide-index",e)});for(var c=0;c=s.length-n)&&(e=-s.length+a+n,e+=n,t.slideTo(e,0,!1,!0)&&0!==p&&t.setTranslate((d?-t.translate:t.translate)-p)),t.allowSlidePrev=r,t.allowSlideNext=o},loopDestroy:function(){var e=this.$wrapperEl,t=this.params,i=this.slides;e.children("."+t.slideClass+"."+t.slideDuplicateClass+",."+t.slideClass+"."+t.slideBlankClass).remove(),i.removeAttr("data-swiper-slide-index")}},g={setGrabCursor:function(e){if(!(p.touch||!this.params.simulateTouch||this.params.watchOverflow&&this.isLocked)){var t=this.el;t.style.cursor="move",t.style.cursor=e?"-webkit-grabbing":"-webkit-grab",t.style.cursor=e?"-moz-grabbin":"-moz-grab",t.style.cursor=e?"grabbing":"grab"}},unsetGrabCursor:function(){p.touch||this.params.watchOverflow&&this.isLocked||(this.el.style.cursor="")}},b={appendSlide:function(e){var t=this,i=t.$wrapperEl,a=t.params;if(a.loop&&t.loopDestroy(),"object"==typeof e&&"length"in e)for(var s=0;s=t.screen.width-h)){if(d.extend(n,{isTouched:!0,isMoved:!1,allowTouchCallbacks:!0,isScrolling:void 0,startMoving:void 0}),o.startX=p,o.startY=c,n.touchStartTime=d.now(),s.allowClick=!0,s.updateSize(),s.swipeDirection=void 0,0r.startY&&i.translate>=i.minTranslate())return s.isTouched=!1,void(s.isMoved=!1)}else if(pr.startX&&i.translate>=i.minTranslate())return;if(s.isTouchEvent&&e.activeElement&&l.target===e.activeElement&&a(l.target).is(s.formElements))return s.isMoved=!0,void(i.allowClick=!1);if(s.allowTouchCallbacks&&i.emit("touchMove",l),!(l.targetTouches&&1n.touchAngle:90-u>n.touchAngle)),s.isScrolling&&i.emit("touchMoveOpposite",l),void 0===s.startMoving&&(r.currentX===r.startX&&r.currentY===r.startY||(s.startMoving=!0)),s.isScrolling)s.isTouched=!1;else if(s.startMoving){i.allowClick=!1,l.preventDefault(),n.touchMoveStopPropagation&&!n.nested&&l.stopPropagation(),s.isMoved||(n.loop&&i.loopFix(),s.startTranslate=i.getTranslate(),i.setTransition(0),i.animating&&i.$wrapperEl.trigger("webkitTransitionEnd transitionend"),s.allowMomentumBounce=!1,!n.grabCursor||!0!==i.allowSlideNext&&!0!==i.allowSlidePrev||i.setGrabCursor(!0),i.emit("sliderFirstMove",l)),i.emit("sliderMove",l),s.isMoved=!0;var m=i.isHorizontal()?h:f;r.diff=m,m*=n.touchRatio,o&&(m=-m),i.swipeDirection=0i.minTranslate()?(v=!1,n.resistance&&(s.currentTranslate=i.minTranslate()-1+Math.pow(-i.minTranslate()+s.startTranslate+m,g))):m<0&&s.currentTranslates.startTranslate&&(s.currentTranslate=s.startTranslate),0n.threshold||s.allowThresholdMove))return void(s.currentTranslate=s.startTranslate);if(!s.allowThresholdMove)return s.allowThresholdMove=!0,r.startX=r.currentX,r.startY=r.currentY,s.currentTranslate=s.startTranslate,void(r.diff=i.isHorizontal()?r.currentX-r.startX:r.currentY-r.startY)}n.followFinger&&((n.freeMode||n.watchSlidesProgress||n.watchSlidesVisibility)&&(i.updateActiveIndex(),i.updateSlidesClasses()),n.freeMode&&(0===s.velocities.length&&s.velocities.push({position:r[i.isHorizontal()?"startX":"startY"],time:s.touchStartTime}),s.velocities.push({position:r[i.isHorizontal()?"currentX":"currentY"],time:d.now()})),i.updateProgress(s.currentTranslate),i.setTranslate(s.currentTranslate))}}}}else s.startMoving&&s.isScrolling&&i.emit("touchMoveOpposite",l)}.bind(i),i.onTouchEnd=function(e){var t=this,i=t.touchEventsData,a=t.params,s=t.touches,n=t.rtlTranslate,r=t.$wrapperEl,o=t.slidesGrid,l=t.snapGrid,p=e;if(p.originalEvent&&(p=p.originalEvent),i.allowTouchCallbacks&&t.emit("touchEnd",p),i.allowTouchCallbacks=!1,!i.isTouched)return i.isMoved&&a.grabCursor&&t.setGrabCursor(!1),i.isMoved=!1,void(i.startMoving=!1);a.grabCursor&&i.isMoved&&i.isTouched&&(!0===t.allowSlideNext||!0===t.allowSlidePrev)&&t.setGrabCursor(!1);var c,u=d.now(),h=u-i.touchStartTime;if(t.allowClick&&(t.updateClickedSlide(p),t.emit("tap",p),h<300&&300-t.maxTranslate())return void(t.slides.lengtht.minTranslate())a.freeModeMomentumBounce?(y-t.minTranslate()>S&&(y=t.minTranslate()+S),x=t.minTranslate(),T=!0,i.allowMomentumBounce=!0):y=t.minTranslate(),a.loop&&a.centeredSlides&&(E=!0);else if(a.freeModeSticky){for(var C,M=0;M-y){C=M;break}y=-(y=Math.abs(l[C]-y)=a.longSwipesMs)&&(t.updateProgress(),t.updateActiveIndex(),t.updateSlidesClasses())}else{for(var k=0,P=t.slidesSizesGrid[0],z=0;z=o[z]&&c=o[z]&&(k=z,P=o[o.length-1]-o[o.length-2]);var L=(c-o[k])/P;if(h>a.longSwipesMs){if(!a.longSwipes)return void t.slideTo(t.activeIndex);"next"===t.swipeDirection&&(L>=a.longSwipesRatio?t.slideTo(k+a.slidesPerGroup):t.slideTo(k)),"prev"===t.swipeDirection&&(L>1-a.longSwipesRatio?t.slideTo(k+a.slidesPerGroup):t.slideTo(k))}else{if(!a.shortSwipes)return void t.slideTo(t.activeIndex);"next"===t.swipeDirection&&t.slideTo(k+a.slidesPerGroup),"prev"===t.swipeDirection&&t.slideTo(k)}}}.bind(i),i.onClick=function(e){this.allowClick||(this.params.preventClicks&&e.preventDefault(),this.params.preventClicksPropagation&&this.animating&&(e.stopPropagation(),e.stopImmediatePropagation()))}.bind(i);var l="container"===s.touchEventsTarget?r:o,c=!!s.nested;if(p.touch||!p.pointerEvents&&!p.prefixedPointerEvents){if(p.touch){var u=!("touchstart"!==n.start||!p.passiveListener||!s.passiveListeners)&&{passive:!0,capture:!1};l.addEventListener(n.start,i.onTouchStart,u),l.addEventListener(n.move,i.onTouchMove,p.passiveListener?{passive:!1,capture:c}:c),l.addEventListener(n.end,i.onTouchEnd,u)}(s.simulateTouch&&!w.ios&&!w.android||s.simulateTouch&&!p.touch&&w.ios)&&(l.addEventListener("mousedown",i.onTouchStart,!1),e.addEventListener("mousemove",i.onTouchMove,c),e.addEventListener("mouseup",i.onTouchEnd,!1))}else l.addEventListener(n.start,i.onTouchStart,!1),e.addEventListener(n.move,i.onTouchMove,c),e.addEventListener(n.end,i.onTouchEnd,!1);(s.preventClicks||s.preventClicksPropagation)&&l.addEventListener("click",i.onClick,!0),i.on(w.ios||w.android?"resize orientationchange observerUpdate":"resize observerUpdate",y,!0)},detachEvents:function(){var t=this,i=t.params,a=t.touchEvents,s=t.el,n=t.wrapperEl,r="container"===i.touchEventsTarget?s:n,o=!!i.nested;if(p.touch||!p.pointerEvents&&!p.prefixedPointerEvents){if(p.touch){var l=!("onTouchStart"!==a.start||!p.passiveListener||!i.passiveListeners)&&{passive:!0,capture:!1};r.removeEventListener(a.start,t.onTouchStart,l),r.removeEventListener(a.move,t.onTouchMove,o),r.removeEventListener(a.end,t.onTouchEnd,l)}(i.simulateTouch&&!w.ios&&!w.android||i.simulateTouch&&!p.touch&&w.ios)&&(r.removeEventListener("mousedown",t.onTouchStart,!1),e.removeEventListener("mousemove",t.onTouchMove,o),e.removeEventListener("mouseup",t.onTouchEnd,!1))}else r.removeEventListener(a.start,t.onTouchStart,!1),e.removeEventListener(a.move,t.onTouchMove,o),e.removeEventListener(a.end,t.onTouchEnd,!1);(i.preventClicks||i.preventClicksPropagation)&&r.removeEventListener("click",t.onClick,!0),t.off(w.ios||w.android?"resize orientationchange observerUpdate":"resize observerUpdate",y)}},T={setBreakpoint:function(){var e=this,t=e.activeIndex,i=e.initialized,a=e.loopedSlides;void 0===a&&(a=0);var s=e.params,n=s.breakpoints;if(n&&(!n||0!==Object.keys(n).length)){var r=e.getBreakpoint(n);if(r&&e.currentBreakpoint!==r){var o=r in n?n[r]:void 0;o&&["slidesPerView","spaceBetween","slidesPerGroup"].forEach(function(e){var t=o[e];void 0!==t&&(o[e]="slidesPerView"!==e||"AUTO"!==t&&"auto"!==t?"slidesPerView"===e?parseFloat(t):parseInt(t,10):"auto")});var l=o||e.originalParams,p=s.loop&&l.slidesPerView!==s.slidesPerView;d.extend(e.params,l),d.extend(e,{allowTouchMove:e.params.allowTouchMove,allowSlideNext:e.params.allowSlideNext,allowSlidePrev:e.params.allowSlidePrev}),e.currentBreakpoint=r,p&&i&&(e.loopDestroy(),e.loopCreate(),e.updateSlides(),e.slideTo(t-a+e.loopedSlides,0,!1)),e.emit("breakpoint",l)}}},getBreakpoint:function(e){if(e){var i=!1,a=[];Object.keys(e).forEach(function(e){a.push(e)}),a.sort(function(e,t){return parseInt(e,10)-parseInt(t,10)});for(var s=0;s=t.innerWidth&&!i&&(i=n)}return i||"max"}}},S={isIE:!!t.navigator.userAgent.match(/Trident/g)||!!t.navigator.userAgent.match(/MSIE/g),isEdge:!!t.navigator.userAgent.match(/Edge/g),isSafari:(x=t.navigator.userAgent.toLowerCase(),0<=x.indexOf("safari")&&x.indexOf("chrome")<0&&x.indexOf("android")<0),isUiWebView:/(iPhone|iPod|iPad).*AppleWebKit(?!.*Safari)/i.test(t.navigator.userAgent)},C={init:!0,direction:"horizontal",touchEventsTarget:"container",initialSlide:0,speed:300,preventInteractionOnTransition:!1,edgeSwipeDetection:!1,edgeSwipeThreshold:20,freeMode:!1,freeModeMomentum:!0,freeModeMomentumRatio:1,freeModeMomentumBounce:!0,freeModeMomentumBounceRatio:1,freeModeMomentumVelocityRatio:1,freeModeSticky:!1,freeModeMinimumVelocity:.02,autoHeight:!1,setWrapperSize:!1,virtualTranslate:!1,effect:"slide",breakpoints:void 0,breakpointsInverse:!1,spaceBetween:0,slidesPerView:1,slidesPerColumn:1,slidesPerColumnFill:"column",slidesPerGroup:1,centeredSlides:!1,slidesOffsetBefore:0,slidesOffsetAfter:0,normalizeSlideIndex:!0,centerInsufficientSlides:!1,watchOverflow:!1,roundLengths:!1,touchRatio:1,touchAngle:45,simulateTouch:!0,shortSwipes:!0,longSwipes:!0,longSwipesRatio:.5,longSwipesMs:300,followFinger:!0,allowTouchMove:!0,threshold:0,touchMoveStopPropagation:!0,touchStartPreventDefault:!0,touchStartForcePreventDefault:!1,touchReleaseOnEdges:!1,uniqueNavElements:!0,resistance:!0,resistanceRatio:.85,watchSlidesProgress:!1,watchSlidesVisibility:!1,grabCursor:!1,preventClicks:!0,preventClicksPropagation:!0,slideToClickedSlide:!1,preloadImages:!0,updateOnImagesReady:!0,loop:!1,loopAdditionalSlides:0,loopedSlides:null,loopFillGroupWithBlank:!1,allowSlidePrev:!0,allowSlideNext:!0,swipeHandler:null,noSwiping:!0,noSwipingClass:"swiper-no-swiping",noSwipingSelector:null,passiveListeners:!0,containerModifierClass:"swiper-container-",slideClass:"swiper-slide",slideBlankClass:"swiper-slide-invisible-blank",slideActiveClass:"swiper-slide-active",slideDuplicateActiveClass:"swiper-slide-duplicate-active",slideVisibleClass:"swiper-slide-visible",slideDuplicateClass:"swiper-slide-duplicate",slideNextClass:"swiper-slide-next",slideDuplicateNextClass:"swiper-slide-duplicate-next",slidePrevClass:"swiper-slide-prev",slideDuplicatePrevClass:"swiper-slide-duplicate-prev",wrapperClass:"swiper-wrapper",runCallbacksOnInit:!0},M={update:h,translate:f,transition:{setTransition:function(e,t){this.$wrapperEl.transition(e),this.emit("setTransition",e,t)},transitionStart:function(e,t){void 0===e&&(e=!0);var i=this,a=i.activeIndex,s=i.params,n=i.previousIndex;s.autoHeight&&i.updateAutoHeight();var r=t;if(r||(r=n'+e+"");return n.attr("data-swiper-slide-index")||n.attr("data-swiper-slide-index",t),s.cache&&(i.virtual.cache[t]=n),n},appendSlide:function(e){this.virtual.slides.push(e),this.virtual.update(!0)},prependSlide:function(e){var t=this;if(t.virtual.slides.unshift(e),t.params.virtual.cache){var i=t.virtual.cache,a={};Object.keys(i).forEach(function(e){a[e+1]=i[e]}),t.virtual.cache=a}t.virtual.update(!0),t.slideNext(0)}},N={name:"virtual",params:{virtual:{enabled:!1,slides:[],cache:!0,renderSlide:null,renderExternal:null,addSlidesBefore:0,addSlidesAfter:0}},create:function(){var e=this;d.extend(e,{virtual:{update:A.update.bind(e),appendSlide:A.appendSlide.bind(e),prependSlide:A.prependSlide.bind(e),renderSlide:A.renderSlide.bind(e),slides:e.params.virtual.slides,cache:{}}})},on:{beforeInit:function(){var e=this;if(e.params.virtual.enabled){e.classNames.push(e.params.containerModifierClass+"virtual");var t={watchSlidesProgress:!0};d.extend(e.params,t),d.extend(e.originalParams,t),e.params.initialSlide||e.virtual.update()}},setTranslate:function(){this.params.virtual.enabled&&this.virtual.update()}}},H={handle:function(i){var a=this,s=a.rtlTranslate,n=i;n.originalEvent&&(n=n.originalEvent);var r=n.keyCode||n.charCode;if(!a.allowSlideNext&&(a.isHorizontal()&&39===r||a.isVertical()&&40===r))return!1;if(!a.allowSlidePrev&&(a.isHorizontal()&&37===r||a.isVertical()&&38===r))return!1;if(!(n.shiftKey||n.altKey||n.ctrlKey||n.metaKey||e.activeElement&&e.activeElement.nodeName&&("input"===e.activeElement.nodeName.toLowerCase()||"textarea"===e.activeElement.nodeName.toLowerCase()))){if(a.params.keyboard.onlyInViewport&&(37===r||39===r||38===r||40===r)){var o=!1;if(0Math.abs(o.pixelY)))return!0;n=o.pixelX*r}else{if(!(Math.abs(o.pixelY)>Math.abs(o.pixelX)))return!0;n=o.pixelY}else n=Math.abs(o.pixelX)>Math.abs(o.pixelY)?-o.pixelX*r:-o.pixelY;if(0===n)return!0;if(s.invert&&(n=-n),a.params.freeMode){a.params.loop&&a.loopFix();var l=a.getTranslate()+n*s.sensitivity,p=a.isBeginning,c=a.isEnd;if(l>=a.minTranslate()&&(l=a.minTranslate()),l<=a.maxTranslate()&&(l=a.maxTranslate()),a.setTransition(0),a.setTranslate(l),a.updateProgress(),a.updateActiveIndex(),a.updateSlidesClasses(),(!p&&a.isBeginning||!c&&a.isEnd)&&a.updateSlidesClasses(),a.params.freeModeSticky&&(clearTimeout(a.mousewheel.timeout),a.mousewheel.timeout=d.nextTick(function(){a.slideToClosest()},300)),a.emit("scroll",i),a.params.autoplay&&a.params.autoplayDisableOnInteraction&&a.autoplay.stop(),l===a.minTranslate()||l===a.maxTranslate())return!0}else{if(60n-1-2*e.loopedSlides&&(s-=n-2*e.loopedSlides),o-1i.dynamicMainBullets-1?e.pagination.dynamicBulletIndex=i.dynamicMainBullets-1:e.pagination.dynamicBulletIndex<0&&(e.pagination.dynamicBulletIndex=0)),l=s-e.pagination.dynamicBulletIndex,p=((d=l+(Math.min(c.length,i.dynamicMainBullets)-1))+l)/2),c.removeClass(i.bulletActiveClass+" "+i.bulletActiveClass+"-next "+i.bulletActiveClass+"-next-next "+i.bulletActiveClass+"-prev "+i.bulletActiveClass+"-prev-prev "+i.bulletActiveClass+"-main"),1";a.html(s),e.pagination.bullets=a.find("."+t.bulletClass)}"fraction"===t.type&&(s=t.renderFraction?t.renderFraction.call(e,t.currentClass,t.totalClass):' / ',a.html(s)),"progressbar"===t.type&&(s=t.renderProgressbar?t.renderProgressbar.call(e,t.progressbarFillClass):'',a.html(s)),"custom"!==t.type&&e.emit("paginationRender",e.pagination.$el[0])}},init:function(){var e=this,t=e.params.pagination;if(t.el){var i=a(t.el);0!==i.length&&(e.params.uniqueNavElements&&"string"==typeof t.el&&1'),n.append(r)),d.extend(t,{$el:n,el:n[0],$dragEl:r,dragEl:r[0]}),s.draggable&&t.enableDraggable()}},destroy:function(){this.scrollbar.disableDraggable()}},X={setTransform:function(e,t){var i=this.rtl,s=a(e),n=i?-1:1,r=s.attr("data-swiper-parallax")||"0",o=s.attr("data-swiper-parallax-x"),l=s.attr("data-swiper-parallax-y"),d=s.attr("data-swiper-parallax-scale"),p=s.attr("data-swiper-parallax-opacity");if(o||l?(o=o||"0",l=l||"0"):this.isHorizontal()?(o=r,l="0"):(l=r,o="0"),o=0<=o.indexOf("%")?parseInt(o,10)*t*n+"%":o*t*n+"px",l=0<=l.indexOf("%")?parseInt(l,10)*t+"%":l*t+"px",null!=p){var c=p-(p-1)*(1-Math.abs(t));s[0].style.opacity=c}if(null==d)s.transform("translate3d("+o+", "+l+", 0px)");else{var u=d-(d-1)*(1-Math.abs(t));s.transform("translate3d("+o+", "+l+", 0px) scale("+u+")")}},setTranslate:function(){var e=this,t=e.$el,i=e.slides,s=e.progress,n=e.snapGrid;t.children("[data-swiper-parallax], [data-swiper-parallax-x], [data-swiper-parallax-y]").each(function(t,i){e.parallax.setTransform(i,s)}),i.each(function(t,i){var r=i.progress;1a.maxRatio&&(i.scale=a.maxRatio-1+Math.pow(i.scale-a.maxRatio+1,.5)),i.scales.touchesStart.x))return void(s.isTouched=!1);if(!t.isHorizontal()&&(Math.floor(s.minY)===Math.floor(s.startY)&&s.touchesCurrent.ys.touchesStart.y))return void(s.isTouched=!1)}e.preventDefault(),e.stopPropagation(),s.isMoved=!0,s.currentX=s.touchesCurrent.x-s.touchesStart.x+s.startX,s.currentY=s.touchesCurrent.y-s.touchesStart.y+s.startY,s.currentXs.maxX&&(s.currentX=s.maxX-1+Math.pow(s.currentX-s.maxX+1,.8)),s.currentYs.maxY&&(s.currentY=s.maxY-1+Math.pow(s.currentY-s.maxY+1,.8)),n.prevPositionX||(n.prevPositionX=s.touchesCurrent.x),n.prevPositionY||(n.prevPositionY=s.touchesCurrent.y),n.prevTime||(n.prevTime=Date.now()),n.x=(s.touchesCurrent.x-n.prevPositionX)/(Date.now()-n.prevTime)/2,n.y=(s.touchesCurrent.y-n.prevPositionY)/(Date.now()-n.prevTime)/2,Math.abs(s.touchesCurrent.x-n.prevPositionX)<2&&(n.x=0),Math.abs(s.touchesCurrent.y-n.prevPositionY)<2&&(n.y=0),n.prevPositionX=s.touchesCurrent.x,n.prevPositionY=s.touchesCurrent.y,n.prevTime=Date.now(),a.$imageWrapEl.transform("translate3d("+s.currentX+"px, "+s.currentY+"px,0)")}}},onTouchEnd:function(){var e=this.zoom,t=e.gesture,i=e.image,a=e.velocity;if(t.$imageEl&&0!==t.$imageEl.length){if(!i.isTouched||!i.isMoved)return i.isTouched=!1,void(i.isMoved=!1);i.isTouched=!1,i.isMoved=!1;var s=300,n=300,r=a.x*s,o=i.currentX+r,l=a.y*n,d=i.currentY+l;0!==a.x&&(s=Math.abs((o-i.currentX)/a.x)),0!==a.y&&(n=Math.abs((d-i.currentY)/a.y));var p=Math.max(s,n);i.currentX=o,i.currentY=d;var c=i.width*e.scale,u=i.height*e.scale;i.minX=Math.min(t.slideWidth/2-c/2,0),i.maxX=-i.minX,i.minY=Math.min(t.slideHeight/2-u/2,0),i.maxY=-i.minY,i.currentX=Math.max(Math.min(i.currentX,i.maxX),i.minX),i.currentY=Math.max(Math.min(i.currentY,i.maxY),i.minY),t.$imageWrapEl.transition(p).transform("translate3d("+i.currentX+"px, "+i.currentY+"px,0)")}},onTransitionEnd:function(){var e=this.zoom,t=e.gesture;t.$slideEl&&this.previousIndex!==this.activeIndex&&(t.$imageEl.transform("translate3d(0,0,0) scale(1)"),t.$imageWrapEl.transform("translate3d(0,0,0)"),e.scale=1,e.currentScale=1,t.$slideEl=void 0,t.$imageEl=void 0,t.$imageWrapEl=void 0)},toggle:function(e){var t=this.zoom;t.scale&&1!==t.scale?t.out():t.in(e)},in:function(e){var t,i,s,n,r,o,l,d,p,c,u,h,f,m,v,g,b=this,w=b.zoom,y=b.params.zoom,x=w.gesture,E=w.image;x.$slideEl||(x.$slideEl=b.clickedSlide?a(b.clickedSlide):b.slides.eq(b.activeIndex),x.$imageEl=x.$slideEl.find("img, svg, canvas"),x.$imageWrapEl=x.$imageEl.parent("."+y.containerClass)),x.$imageEl&&0!==x.$imageEl.length&&(x.$slideEl.addClass(""+y.zoomedSlideClass),void 0===E.touchesStart.x&&e?(t="touchend"===e.type?e.changedTouches[0].pageX:e.pageX,i="touchend"===e.type?e.changedTouches[0].pageY:e.pageY):(t=E.touchesStart.x,i=E.touchesStart.y),w.scale=x.$imageWrapEl.attr("data-swiper-zoom")||y.maxRatio,w.currentScale=x.$imageWrapEl.attr("data-swiper-zoom")||y.maxRatio,e?(v=x.$slideEl[0].offsetWidth,g=x.$slideEl[0].offsetHeight,s=x.$slideEl.offset().left+v/2-t,n=x.$slideEl.offset().top+g/2-i,l=x.$imageEl[0].offsetWidth,d=x.$imageEl[0].offsetHeight,p=l*w.scale,c=d*w.scale,f=-(u=Math.min(v/2-p/2,0)),m=-(h=Math.min(g/2-c/2,0)),(r=s*w.scale)>1]<=t?a=s:i=s;return i}(this.x,e),n=r-1,(e-this.x[n])*(this.y[r]-this.y[n])/(this.x[r]-this.x[n])+this.y[n]):0},this},getInterpolateFunction:function(e){var t=this;t.controller.spline||(t.controller.spline=t.params.loop?new q.LinearSpline(t.slidesGrid,e.slidesGrid):new q.LinearSpline(t.snapGrid,e.snapGrid))},setTranslate:function(e,t){var i,a,s=this,n=s.controller.control;function r(e){var t=s.rtlTranslate?-s.translate:s.translate;"slide"===s.params.controller.by&&(s.controller.getInterpolateFunction(e),a=-s.controller.spline.interpolate(-t)),a&&"container"!==s.params.controller.by||(i=(e.maxTranslate()-e.minTranslate())/(s.maxTranslate()-s.minTranslate()),a=(t-s.minTranslate())*i+e.minTranslate()),s.params.controller.inverse&&(a=e.maxTranslate()-a),e.updateProgress(a),e.setTranslate(a,s),e.updateActiveIndex(),e.updateSlidesClasses()}if(Array.isArray(n))for(var o=0;o'),s.append(e)),e.css({height:r+"px"})):0===(e=i.find(".swiper-cube-shadow")).length&&(e=a('
'),i.append(e)));for(var f=0;f'),m.append(C)),0===M.length&&(M=a('
'),m.append(M)),C.length&&(C[0].style.opacity=Math.max(-w,0)),M.length&&(M[0].style.opacity=Math.max(w,0))}}if(s.css({"-webkit-transform-origin":"50% 50% -"+d/2+"px","-moz-transform-origin":"50% 50% -"+d/2+"px","-ms-transform-origin":"50% 50% -"+d/2+"px","transform-origin":"50% 50% -"+d/2+"px"}),p.shadow)if(c)e.transform("translate3d(0px, "+(r/2+p.shadowOffset)+"px, "+-r/2+"px) rotateX(90deg) rotateZ(0deg) scale("+p.shadowScale+")");else{var k=Math.abs(h)-90*Math.floor(Math.abs(h)/90),P=1.5-(Math.sin(2*k*Math.PI/360)/2+Math.cos(2*k*Math.PI/360)/2),z=p.shadowScale,L=p.shadowScale/P,I=p.shadowOffset;e.transform("scale3d("+z+", 1, "+L+") translate3d(0px, "+(o/2+I)+"px, "+-o/2/L+"px) rotateX(-90deg)")}var $=S.isSafari||S.isUiWebView?-d/2:0;s.transform("translate3d(0px,0,"+$+"px) rotateX("+(t.isHorizontal()?0:h)+"deg) rotateY("+(t.isHorizontal()?-h:0)+"deg)")},setTransition:function(e){var t=this.$el;this.slides.transition(e).find(".swiper-slide-shadow-top, .swiper-slide-shadow-right, .swiper-slide-shadow-bottom, .swiper-slide-shadow-left").transition(e),this.params.cubeEffect.shadow&&!this.isHorizontal()&&t.find(".swiper-cube-shadow").transition(e)}},J={setTranslate:function(){for(var e=this,t=e.slides,i=e.rtlTranslate,s=0;s'),n.append(c)),0===u.length&&(u=a('
'),n.append(u)),c.length&&(c[0].style.opacity=Math.max(-r,0)),u.length&&(u[0].style.opacity=Math.max(r,0))}n.transform("translate3d("+d+"px, "+p+"px, 0px) rotateX("+l+"deg) rotateY("+o+"deg)")}},setTransition:function(e){var t=this,i=t.slides,a=t.activeIndex,s=t.$wrapperEl;if(i.transition(e).find(".swiper-slide-shadow-top, .swiper-slide-shadow-right, .swiper-slide-shadow-bottom, .swiper-slide-shadow-left").transition(e),t.params.virtualTranslate&&0!==e){var n=!1;i.eq(a).transitionEnd(function(){if(!n&&t&&!t.destroyed){n=!0,t.animating=!1;for(var e=["webkitTransitionEnd","transitionend"],i=0;i'),v.append(C)),0===M.length&&(M=a('
'),v.append(M)),C.length&&(C[0].style.opacity=0')}}),Object.keys(j).forEach(function(t){e.a11y[t]=j[t].bind(e)})},on:{init:function(){this.params.a11y.enabled&&(this.a11y.init(),this.a11y.updateNavigation())},toEdge:function(){this.params.a11y.enabled&&this.a11y.updateNavigation()},fromEdge:function(){this.params.a11y.enabled&&this.a11y.updateNavigation()},paginationUpdate:function(){this.params.a11y.enabled&&this.a11y.updatePagination()},destroy:function(){this.params.a11y.enabled&&this.a11y.destroy()}}},{name:"history",params:{history:{enabled:!1,replaceState:!1,key:"slides"}},create:function(){var e=this;d.extend(e,{history:{init:U.init.bind(e),setHistory:U.setHistory.bind(e),setHistoryPopState:U.setHistoryPopState.bind(e),scrollToSlide:U.scrollToSlide.bind(e),destroy:U.destroy.bind(e)}})},on:{init:function(){this.params.history.enabled&&this.history.init()},destroy:function(){this.params.history.enabled&&this.history.destroy()},transitionEnd:function(){this.history.initialized&&this.history.setHistory(this.params.history.key,this.activeIndex)}}},{name:"hash-navigation",params:{hashNavigation:{enabled:!1,replaceState:!1,watchState:!1}},create:function(){var e=this;d.extend(e,{hashNavigation:{initialized:!1,init:K.init.bind(e),destroy:K.destroy.bind(e),setHash:K.setHash.bind(e),onHashCange:K.onHashCange.bind(e)}})},on:{init:function(){this.params.hashNavigation.enabled&&this.hashNavigation.init()},destroy:function(){this.params.hashNavigation.enabled&&this.hashNavigation.destroy()},transitionEnd:function(){this.hashNavigation.initialized&&this.hashNavigation.setHash()}}},{name:"autoplay",params:{autoplay:{enabled:!1,delay:3e3,waitForTransition:!0,disableOnInteraction:!0,stopOnLastSlide:!1,reverseDirection:!1}},create:function(){var e=this;d.extend(e,{autoplay:{running:!1,paused:!1,run:_.run.bind(e),start:_.start.bind(e),stop:_.stop.bind(e),pause:_.pause.bind(e),onTransitionEnd:function(t){e&&!e.destroyed&&e.$wrapperEl&&t.target===this&&(e.$wrapperEl[0].removeEventListener("transitionend",e.autoplay.onTransitionEnd),e.$wrapperEl[0].removeEventListener("webkitTransitionEnd",e.autoplay.onTransitionEnd),e.autoplay.paused=!1,e.autoplay.running?e.autoplay.run():e.autoplay.stop())}}})},on:{init:function(){this.params.autoplay.enabled&&this.autoplay.start()},beforeTransitionStart:function(e,t){this.autoplay.running&&(t||!this.params.autoplay.disableOnInteraction?this.autoplay.pause(e):this.autoplay.stop())},sliderFirstMove:function(){this.autoplay.running&&(this.params.autoplay.disableOnInteraction?this.autoplay.stop():this.autoplay.pause())},destroy:function(){this.autoplay.running&&this.autoplay.stop()}}},{name:"effect-fade",params:{fadeEffect:{crossFade:!1}},create:function(){d.extend(this,{fadeEffect:{setTranslate:Q.setTranslate.bind(this),setTransition:Q.setTransition.bind(this)}})},on:{beforeInit:function(){var e=this;if("fade"===e.params.effect){e.classNames.push(e.params.containerModifierClass+"fade");var t={slidesPerView:1,slidesPerColumn:1,slidesPerGroup:1,watchSlidesProgress:!0,spaceBetween:0,virtualTranslate:!0};d.extend(e.params,t),d.extend(e.originalParams,t)}},setTranslate:function(){"fade"===this.params.effect&&this.fadeEffect.setTranslate()},setTransition:function(e){"fade"===this.params.effect&&this.fadeEffect.setTransition(e)}}},{name:"effect-cube",params:{cubeEffect:{slideShadows:!0,shadow:!0,shadowOffset:20,shadowScale:.94}},create:function(){d.extend(this,{cubeEffect:{setTranslate:Z.setTranslate.bind(this),setTransition:Z.setTransition.bind(this)}})},on:{beforeInit:function(){var e=this;if("cube"===e.params.effect){e.classNames.push(e.params.containerModifierClass+"cube"),e.classNames.push(e.params.containerModifierClass+"3d");var t={slidesPerView:1,slidesPerColumn:1,slidesPerGroup:1,watchSlidesProgress:!0,resistanceRatio:0,spaceBetween:0,centeredSlides:!1,virtualTranslate:!0};d.extend(e.params,t),d.extend(e.originalParams,t)}},setTranslate:function(){"cube"===this.params.effect&&this.cubeEffect.setTranslate()},setTransition:function(e){"cube"===this.params.effect&&this.cubeEffect.setTransition(e)}}},{name:"effect-flip",params:{flipEffect:{slideShadows:!0,limitRotation:!0}},create:function(){d.extend(this,{flipEffect:{setTranslate:J.setTranslate.bind(this),setTransition:J.setTransition.bind(this)}})},on:{beforeInit:function(){var e=this;if("flip"===e.params.effect){e.classNames.push(e.params.containerModifierClass+"flip"),e.classNames.push(e.params.containerModifierClass+"3d");var t={slidesPerView:1,slidesPerColumn:1,slidesPerGroup:1,watchSlidesProgress:!0,spaceBetween:0,virtualTranslate:!0};d.extend(e.params,t),d.extend(e.originalParams,t)}},setTranslate:function(){"flip"===this.params.effect&&this.flipEffect.setTranslate()},setTransition:function(e){"flip"===this.params.effect&&this.flipEffect.setTransition(e)}}},{name:"effect-coverflow",params:{coverflowEffect:{rotate:50,stretch:0,depth:100,modifier:1,slideShadows:!0}},create:function(){d.extend(this,{coverflowEffect:{setTranslate:ee.setTranslate.bind(this),setTransition:ee.setTransition.bind(this)}})},on:{beforeInit:function(){var e=this;"coverflow"===e.params.effect&&(e.classNames.push(e.params.containerModifierClass+"coverflow"),e.classNames.push(e.params.containerModifierClass+"3d"),e.params.watchSlidesProgress=!0,e.originalParams.watchSlidesProgress=!0)},setTranslate:function(){"coverflow"===this.params.effect&&this.coverflowEffect.setTranslate()},setTransition:function(e){"coverflow"===this.params.effect&&this.coverflowEffect.setTransition(e)}}},{name:"thumbs",params:{thumbs:{swiper:null,slideThumbActiveClass:"swiper-slide-thumb-active",thumbsContainerClass:"swiper-container-thumbs"}},create:function(){d.extend(this,{thumbs:{swiper:null,init:te.init.bind(this),update:te.update.bind(this),onThumbClick:te.onThumbClick.bind(this)}})},on:{beforeInit:function(){var e=this.params.thumbs;e&&e.swiper&&(this.thumbs.init(),this.thumbs.update(!0))},slideChange:function(){this.thumbs.swiper&&this.thumbs.update()},update:function(){this.thumbs.swiper&&this.thumbs.update()},resize:function(){this.thumbs.swiper&&this.thumbs.update()},observerUpdate:function(){this.thumbs.swiper&&this.thumbs.update()},setTransition:function(e){var t=this.thumbs.swiper;t&&t.setTransition(e)},beforeDestroy:function(){var e=this.thumbs.swiper;e&&this.thumbs.swiperCreated&&e&&e.destroy()}}}];return void 0===P.use&&(P.use=P.Class.use,P.installModule=P.Class.installModule),P.use(ie),P});