1 |
- !function(a){"function"==typeof define&&define.amd?define(["jquery"],a):"undefined"!=typeof exports?module.exports=a(require("jquery")):a(jQuery)}(function(b){var a=window.Slick||{};(a=function(){var c=0;return function(g,e){var f,d=this;d.defaults={accessibility:!0,adaptiveHeight:!1,appendArrows:b(g),appendDots:b(g),arrows:!0,asNavFor:null,prevArrow:'<button class="slick-prev" aria-label="Previous" type="button">Previous</button>',nextArrow:'<button class="slick-next" aria-label="Next" type="button">Next</button>',autoplay:!1,autoplaySpeed:3000,centerMode:!1,centerPadding:"50px",cssEase:"ease",customPaging:function(h,i){return b('<button type="button" />').text(i+1)},dots:!1,dotsClass:"slick-dots",draggable:!0,easing:"linear",edgeFriction:0.35,fade:!1,focusOnSelect:!1,focusOnChange:!1,infinite:!0,initialSlide:0,lazyLoad:"ondemand",mobileFirst:!1,pauseOnHover:!0,pauseOnFocus:!0,pauseOnDotsHover:!1,respondTo:"window",responsive:null,rows:1,rtl:!1,slide:"",slidesPerRow:1,slidesToShow:1,slidesToScroll:1,speed:500,swipe:!0,swipeToSlide:!1,touchMove:!0,touchThreshold:5,useCSS:!0,useTransform:!0,variableWidth:!1,vertical:!1,verticalSwiping:!1,waitForAnimate:!0,zIndex:1000},d.initials={animating:!1,dragging:!1,autoPlayTimer:null,currentDirection:0,currentLeft:null,currentSlide:0,direction:1,$dots:null,listWidth:null,listHeight:null,loadIndex:0,$nextArrow:null,$prevArrow:null,scrolling:!1,slideCount:null,slideWidth:null,$slideTrack:null,$slides:null,sliding:!1,slideOffset:0,swipeLeft:null,swiping:!1,$list:null,touchObject:{},transformsEnabled:!1,unslicked:!1},b.extend(d,d.initials),d.activeBreakpoint=null,d.animType=null,d.animProp=null,d.breakpoints=[],d.breakpointSettings=[],d.cssTransitions=!1,d.focussed=!1,d.interrupted=!1,d.hidden="hidden",d.paused=!0,d.positionProp=null,d.respondTo=null,d.rowCount=1,d.shouldClick=!0,d.$slider=b(g),d.$slidesCache=null,d.transformType=null,d.transitionType=null,d.visibilityChange="visibilitychange",d.windowWidth=0,d.windowTimer=null,f=b(g).data("slick")||{},d.options=b.extend({},d.defaults,e,f),d.currentSlide=d.options.initialSlide,d.originalSettings=d.options,void 0!==document.mozHidden?(d.hidden="mozHidden",d.visibilityChange="mozvisibilitychange"):void 0!==document.webkitHidden&&(d.hidden="webkitHidden",d.visibilityChange="webkitvisibilitychange"),d.autoPlay=b.proxy(d.autoPlay,d),d.autoPlayClear=b.proxy(d.autoPlayClear,d),d.autoPlayIterator=b.proxy(d.autoPlayIterator,d),d.changeSlide=b.proxy(d.changeSlide,d),d.clickHandler=b.proxy(d.clickHandler,d),d.selectHandler=b.proxy(d.selectHandler,d),d.setPosition=b.proxy(d.setPosition,d),d.swipeHandler=b.proxy(d.swipeHandler,d),d.dragHandler=b.proxy(d.dragHandler,d),d.keyHandler=b.proxy(d.keyHandler,d),d.instanceUid=c++,d.htmlExpr=/^(?:\s*(<[\w\W]+>)[^>]*)$/,d.registerBreakpoints(),d.init(!0)}}()).prototype.activateADA=function(){this.$slideTrack.find(".slick-active").attr({"aria-hidden":"false"}).find("a, input, button, select").attr({tabindex:"0"})},a.prototype.addSlide=a.prototype.slickAdd=function(c,g,d){var f=this;if("boolean"==typeof g){d=g,g=null}else{if(g<0||g>=f.slideCount){return !1}}f.unload(),"number"==typeof g?0===g&&0===f.$slides.length?b(c).appendTo(f.$slideTrack):d?b(c).insertBefore(f.$slides.eq(g)):b(c).insertAfter(f.$slides.eq(g)):!0===d?b(c).prependTo(f.$slideTrack):b(c).appendTo(f.$slideTrack),f.$slides=f.$slideTrack.children(this.options.slide),f.$slideTrack.children(this.options.slide).detach(),f.$slideTrack.append(f.$slides),f.$slides.each(function(h,i){b(i).attr("data-slick-index",h)}),f.$slidesCache=f.$slides,f.reinit()},a.prototype.animateHeight=function(){var d=this;if(1===d.options.slidesToShow&&!0===d.options.adaptiveHeight&&!1===d.options.vertical){var c=d.$slides.eq(d.currentSlide).outerHeight(!0);d.$list.animate({height:c},d.options.speed)}},a.prototype.animateSlide=function(c,g){var d={},f=this;f.animateHeight(),!0===f.options.rtl&&!1===f.options.vertical&&(c=-c),!1===f.transformsEnabled?!1===f.options.vertical?f.$slideTrack.animate({left:c},f.options.speed,f.options.easing,g):f.$slideTrack.animate({top:c},f.options.speed,f.options.easing,g):!1===f.cssTransitions?(!0===f.options.rtl&&(f.currentLeft=-f.currentLeft),b({animStart:f.currentLeft}).animate({animStart:c},{duration:f.options.speed,easing:f.options.easing,step:function(e){e=Math.ceil(e),!1===f.options.vertical?(d[f.animType]="translate("+e+"px, 0px)",f.$slideTrack.css(d)):(d[f.animType]="translate(0px,"+e+"px)",f.$slideTrack.css(d))},complete:function(){g&&g.call()}})):(f.applyTransition(),c=Math.ceil(c),!1===f.options.vertical?d[f.animType]="translate3d("+c+"px, 0px, 0px)":d[f.animType]="translate3d(0px,"+c+"px, 0px)",f.$slideTrack.css(d),g&&setTimeout(function(){f.disableTransition(),g.call()},f.options.speed))},a.prototype.getNavTarget=function(){var c=this,d=c.options.asNavFor;return d&&null!==d&&(d=b(d).not(c.$slider)),d},a.prototype.asNavFor=function(c){var d=this.getNavTarget();null!==d&&"object"==typeof d&&d.each(function(){var e=b(this).slick("getSlick");e.unslicked||e.slideHandler(c,!0)})},a.prototype.applyTransition=function(d){var c=this,f={};!1===c.options.fade?f[c.transitionType]=c.transformType+" "+c.options.speed+"ms "+c.options.cssEase:f[c.transitionType]="opacity "+c.options.speed+"ms "+c.options.cssEase,!1===c.options.fade?c.$slideTrack.css(f):c.$slides.eq(d).css(f)},a.prototype.autoPlay=function(){var c=this;c.autoPlayClear(),c.slideCount>c.options.slidesToShow&&(c.autoPlayTimer=setInterval(c.autoPlayIterator,c.options.autoplaySpeed))},a.prototype.autoPlayClear=function(){var c=this;c.autoPlayTimer&&clearInterval(c.autoPlayTimer)},a.prototype.autoPlayIterator=function(){var d=this,c=d.currentSlide+d.options.slidesToScroll;d.paused||d.interrupted||d.focussed||(!1===d.options.infinite&&(1===d.direction&&d.currentSlide+1===d.slideCount-1?d.direction=0:0===d.direction&&(c=d.currentSlide-d.options.slidesToScroll,d.currentSlide-1==0&&(d.direction=1))),d.slideHandler(c))},a.prototype.buildArrows=function(){var c=this;!0===c.options.arrows&&(c.$prevArrow=b(c.options.prevArrow).addClass("slick-arrow"),c.$nextArrow=b(c.options.nextArrow).addClass("slick-arrow"),c.slideCount>c.options.slidesToShow?(c.$prevArrow.removeClass("slick-hidden").removeAttr("aria-hidden tabindex"),c.$nextArrow.removeClass("slick-hidden").removeAttr("aria-hidden tabindex"),c.htmlExpr.test(c.options.prevArrow)&&c.$prevArrow.prependTo(c.options.appendArrows),c.htmlExpr.test(c.options.nextArrow)&&c.$nextArrow.appendTo(c.options.appendArrows),!0!==c.options.infinite&&c.$prevArrow.addClass("slick-disabled").attr("aria-disabled","true")):c.$prevArrow.add(c.$nextArrow).addClass("slick-hidden").attr({"aria-disabled":"true",tabindex:"-1"}))},a.prototype.buildDots=function(){var c,f,d=this;if(!0===d.options.dots){for(d.$slider.addClass("slick-dotted"),f=b("<ul />").addClass(d.options.dotsClass),c=0;c<=d.getDotCount();c+=1){f.append(b("<li />").append(d.options.customPaging.call(this,d,c)))}d.$dots=f.appendTo(d.options.appendDots),d.$dots.find("li").first().addClass("slick-active")}},a.prototype.buildOut=function(){var c=this;c.$slides=c.$slider.children(c.options.slide+":not(.slick-cloned)").addClass("slick-slide"),c.slideCount=c.$slides.length,c.$slides.each(function(d,f){b(f).attr("data-slick-index",d).data("originalStyling",b(f).attr("style")||"")}),c.$slider.addClass("slick-slider"),c.$slideTrack=0===c.slideCount?b('<div class="slick-track"/>').appendTo(c.$slider):c.$slides.wrapAll('<div class="slick-track"/>').parent(),c.$list=c.$slideTrack.wrap('<div class="slick-list"/>').parent(),c.$slideTrack.css("opacity",0),!0!==c.options.centerMode&&!0!==c.options.swipeToSlide||(c.options.slidesToScroll=1),b("img[data-lazy]",c.$slider).not("[src]").addClass("slick-loading"),c.setupInfinite(),c.buildArrows(),c.buildDots(),c.updateDots(),c.setSlideClasses("number"==typeof c.currentSlide?c.currentSlide:0),!0===c.options.draggable&&c.$list.addClass("draggable")},a.prototype.buildRows=function(){var k,j,w,q,v,p,u,m=this;if(q=document.createDocumentFragment(),p=m.$slider.children(),m.options.rows>1){for(u=m.options.slidesPerRow*m.options.rows,v=Math.ceil(p.length/u),k=0;k<v;k++){var h=document.createElement("div");for(j=0;j<m.options.rows;j++){var f=document.createElement("div");for(w=0;w<m.options.slidesPerRow;w++){var g=k*u+(j*m.options.slidesPerRow+w);p.get(g)&&f.appendChild(p.get(g))}h.appendChild(f)}q.appendChild(h)}m.$slider.empty().append(q),m.$slider.children().children().children().css({width:100/m.options.slidesPerRow+"%",display:"inline-block"})}},a.prototype.checkResponsive=function(g,p){var j,m,i,k=this,h=!1,f=k.$slider.width(),c=window.innerWidth||b(window).width();if("window"===k.respondTo?i=c:"slider"===k.respondTo?i=f:"min"===k.respondTo&&(i=Math.min(c,f)),k.options.responsive&&k.options.responsive.length&&null!==k.options.responsive){m=null;for(j in k.breakpoints){k.breakpoints.hasOwnProperty(j)&&(!1===k.originalSettings.mobileFirst?i<k.breakpoints[j]&&(m=k.breakpoints[j]):i>k.breakpoints[j]&&(m=k.breakpoints[j]))}null!==m?null!==k.activeBreakpoint?(m!==k.activeBreakpoint||p)&&(k.activeBreakpoint=m,"unslick"===k.breakpointSettings[m]?k.unslick(m):(k.options=b.extend({},k.originalSettings,k.breakpointSettings[m]),!0===g&&(k.currentSlide=k.options.initialSlide),k.refresh(g)),h=m):(k.activeBreakpoint=m,"unslick"===k.breakpointSettings[m]?k.unslick(m):(k.options=b.extend({},k.originalSettings,k.breakpointSettings[m]),!0===g&&(k.currentSlide=k.options.initialSlide),k.refresh(g)),h=m):null!==k.activeBreakpoint&&(k.activeBreakpoint=null,k.options=k.originalSettings,!0===g&&(k.currentSlide=k.options.initialSlide),k.refresh(g),h=m),g||!1===h||k.$slider.trigger("breakpoint",[k,h])}},a.prototype.changeSlide=function(f,m){var i,k,h,j=this,g=b(f.currentTarget);switch(g.is("a")&&f.preventDefault(),g.is("li")||(g=g.closest("li")),h=j.slideCount%j.options.slidesToScroll!=0,i=h?0:(j.slideCount-j.currentSlide)%j.options.slidesToScroll,f.data.message){case"previous":k=0===i?j.options.slidesToScroll:j.options.slidesToShow-i,j.slideCount>j.options.slidesToShow&&j.slideHandler(j.currentSlide-k,!1,m);break;case"next":k=0===i?j.options.slidesToScroll:i,j.slideCount>j.options.slidesToShow&&j.slideHandler(j.currentSlide+k,!1,m);break;case"index":var c=0===f.data.index?0:f.data.index||g.index()*j.options.slidesToScroll;j.slideHandler(j.checkNavigable(c),!1,m),g.children().trigger("focus");break;default:return}},a.prototype.checkNavigable=function(d){var c,g;if(c=this.getNavigableIndexes(),g=0,d>c[c.length-1]){d=c[c.length-1]}else{for(var f in c){if(d<c[f]){d=g;break}g=c[f]}}return d},a.prototype.cleanUpEvents=function(){var c=this;c.options.dots&&null!==c.$dots&&(b("li",c.$dots).off("click.slick",c.changeSlide).off("mouseenter.slick",b.proxy(c.interrupt,c,!0)).off("mouseleave.slick",b.proxy(c.interrupt,c,!1)),!0===c.options.accessibility&&c.$dots.off("keydown.slick",c.keyHandler)),c.$slider.off("focus.slick blur.slick"),!0===c.options.arrows&&c.slideCount>c.options.slidesToShow&&(c.$prevArrow&&c.$prevArrow.off("click.slick",c.changeSlide),c.$nextArrow&&c.$nextArrow.off("click.slick",c.changeSlide),!0===c.options.accessibility&&(c.$prevArrow&&c.$prevArrow.off("keydown.slick",c.keyHandler),c.$nextArrow&&c.$nextArrow.off("keydown.slick",c.keyHandler))),c.$list.off("touchstart.slick mousedown.slick",c.swipeHandler),c.$list.off("touchmove.slick mousemove.slick",c.swipeHandler),c.$list.off("touchend.slick mouseup.slick",c.swipeHandler),c.$list.off("touchcancel.slick mouseleave.slick",c.swipeHandler),c.$list.off("click.slick",c.clickHandler),b(document).off(c.visibilityChange,c.visibility),c.cleanUpSlideEvents(),!0===c.options.accessibility&&c.$list.off("keydown.slick",c.keyHandler),!0===c.options.focusOnSelect&&b(c.$slideTrack).children().off("click.slick",c.selectHandler),b(window).off("orientationchange.slick.slick-"+c.instanceUid,c.orientationChange),b(window).off("resize.slick.slick-"+c.instanceUid,c.resize),b("[draggable!=true]",c.$slideTrack).off("dragstart",c.preventDefault),b(window).off("load.slick.slick-"+c.instanceUid,c.setPosition)},a.prototype.cleanUpSlideEvents=function(){var c=this;c.$list.off("mouseenter.slick",b.proxy(c.interrupt,c,!0)),c.$list.off("mouseleave.slick",b.proxy(c.interrupt,c,!1))},a.prototype.cleanUpRows=function(){var d,c=this;c.options.rows>1&&((d=c.$slides.children().children()).removeAttr("style"),c.$slider.empty().append(d))},a.prototype.clickHandler=function(c){!1===this.shouldClick&&(c.stopImmediatePropagation(),c.stopPropagation(),c.preventDefault())},a.prototype.destroy=function(c){var d=this;d.autoPlayClear(),d.touchObject={},d.cleanUpEvents(),b(".slick-cloned",d.$slider).detach(),d.$dots&&d.$dots.remove(),d.$prevArrow&&d.$prevArrow.length&&(d.$prevArrow.removeClass("slick-disabled slick-arrow slick-hidden").removeAttr("aria-hidden aria-disabled tabindex").css("display",""),d.htmlExpr.test(d.options.prevArrow)&&d.$prevArrow.remove()),d.$nextArrow&&d.$nextArrow.length&&(d.$nextArrow.removeClass("slick-disabled slick-arrow slick-hidden").removeAttr("aria-hidden aria-disabled tabindex").css("display",""),d.htmlExpr.test(d.options.nextArrow)&&d.$nextArrow.remove()),d.$slides&&(d.$slides.removeClass("slick-slide slick-active slick-center slick-visible slick-current").removeAttr("aria-hidden").removeAttr("data-slick-index").each(function(){b(this).attr("style",b(this).data("originalStyling"))}),d.$slideTrack.children(this.options.slide).detach(),d.$slideTrack.detach(),d.$list.detach(),d.$slider.append(d.$slides)),d.cleanUpRows(),d.$slider.removeClass("slick-slider"),d.$slider.removeClass("slick-initialized"),d.$slider.removeClass("slick-dotted"),d.unslicked=!0,c||d.$slider.trigger("destroy",[d])},a.prototype.disableTransition=function(d){var c=this,f={};f[c.transitionType]="",!1===c.options.fade?c.$slideTrack.css(f):c.$slides.eq(d).css(f)},a.prototype.fadeSlide=function(d,c){var f=this;!1===f.cssTransitions?(f.$slides.eq(d).css({zIndex:f.options.zIndex}),f.$slides.eq(d).animate({opacity:1},f.options.speed,f.options.easing,c)):(f.applyTransition(d),f.$slides.eq(d).css({opacity:1,zIndex:f.options.zIndex}),c&&setTimeout(function(){f.disableTransition(d),c.call()},f.options.speed))},a.prototype.fadeSlideOut=function(d){var c=this;!1===c.cssTransitions?c.$slides.eq(d).animate({opacity:0,zIndex:c.options.zIndex-2},c.options.speed,c.options.easing):(c.applyTransition(d),c.$slides.eq(d).css({opacity:0,zIndex:c.options.zIndex-2}))},a.prototype.filterSlides=a.prototype.slickFilter=function(d){var c=this;null!==d&&(c.$slidesCache=c.$slides,c.unload(),c.$slideTrack.children(this.options.slide).detach(),c.$slidesCache.filter(d).appendTo(c.$slideTrack),c.reinit())},a.prototype.focusHandler=function(){var c=this;c.$slider.off("focus.slick blur.slick").on("focus.slick blur.slick","*",function(e){e.stopImmediatePropagation();var d=b(this);setTimeout(function(){c.options.pauseOnFocus&&(c.focussed=d.is(":focus"),c.autoPlay())},0)})},a.prototype.getCurrent=a.prototype.slickCurrentSlide=function(){return this.currentSlide},a.prototype.getDotCount=function(){var d=this,c=0,g=0,f=0;if(!0===d.options.infinite){if(d.slideCount<=d.options.slidesToShow){++f}else{for(;c<d.slideCount;){++f,c=g+d.options.slidesToScroll,g+=d.options.slidesToScroll<=d.options.slidesToShow?d.options.slidesToScroll:d.options.slidesToShow}}}else{if(!0===d.options.centerMode){f=d.slideCount}else{if(d.options.asNavFor){for(;c<d.slideCount;){++f,c=g+d.options.slidesToScroll,g+=d.options.slidesToScroll<=d.options.slidesToShow?d.options.slidesToScroll:d.options.slidesToShow}}else{f=1+Math.ceil((d.slideCount-d.options.slidesToShow)/d.options.slidesToScroll)}}}return f-1},a.prototype.getLeft=function(d){var c,k,g,j,f=this,h=0;return f.slideOffset=0,k=f.$slides.first().outerHeight(!0),!0===f.options.infinite?(f.slideCount>f.options.slidesToShow&&(f.slideOffset=f.slideWidth*f.options.slidesToShow*-1,j=-1,!0===f.options.vertical&&!0===f.options.centerMode&&(2===f.options.slidesToShow?j=-1.5:1===f.options.slidesToShow&&(j=-2)),h=k*f.options.slidesToShow*j),f.slideCount%f.options.slidesToScroll!=0&&d+f.options.slidesToScroll>f.slideCount&&f.slideCount>f.options.slidesToShow&&(d>f.slideCount?(f.slideOffset=(f.options.slidesToShow-(d-f.slideCount))*f.slideWidth*-1,h=(f.options.slidesToShow-(d-f.slideCount))*k*-1):(f.slideOffset=f.slideCount%f.options.slidesToScroll*f.slideWidth*-1,h=f.slideCount%f.options.slidesToScroll*k*-1))):d+f.options.slidesToShow>f.slideCount&&(f.slideOffset=(d+f.options.slidesToShow-f.slideCount)*f.slideWidth,h=(d+f.options.slidesToShow-f.slideCount)*k),f.slideCount<=f.options.slidesToShow&&(f.slideOffset=0,h=0),!0===f.options.centerMode&&f.slideCount<=f.options.slidesToShow?f.slideOffset=f.slideWidth*Math.floor(f.options.slidesToShow)/2-f.slideWidth*f.slideCount/2:!0===f.options.centerMode&&!0===f.options.infinite?f.slideOffset+=f.slideWidth*Math.floor(f.options.slidesToShow/2)-f.slideWidth:!0===f.options.centerMode&&(f.slideOffset=0,f.slideOffset+=f.slideWidth*Math.floor(f.options.slidesToShow/2)),c=!1===f.options.vertical?d*f.slideWidth*-1+f.slideOffset:d*k*-1+h,!0===f.options.variableWidth&&(g=f.slideCount<=f.options.slidesToShow||!1===f.options.infinite?f.$slideTrack.children(".slick-slide").eq(d):f.$slideTrack.children(".slick-slide").eq(d+f.options.slidesToShow),c=!0===f.options.rtl?g[0]?-1*(f.$slideTrack.width()-g[0].offsetLeft-g.width()):0:g[0]?-1*g[0].offsetLeft:0,!0===f.options.centerMode&&(g=f.slideCount<=f.options.slidesToShow||!1===f.options.infinite?f.$slideTrack.children(".slick-slide").eq(d):f.$slideTrack.children(".slick-slide").eq(d+f.options.slidesToShow+1),c=!0===f.options.rtl?g[0]?-1*(f.$slideTrack.width()-g[0].offsetLeft-g.width()):0:g[0]?-1*g[0].offsetLeft:0,c+=(f.$list.width()-g.outerWidth())/2)),c},a.prototype.getOption=a.prototype.slickGetOption=function(c){return this.options[c]},a.prototype.getNavigableIndexes=function(){var d,c=this,h=0,f=0,g=[];for(!1===c.options.infinite?d=c.slideCount:(h=-1*c.options.slidesToScroll,f=-1*c.options.slidesToScroll,d=2*c.slideCount);h<d;){g.push(h),h=f+c.options.slidesToScroll,f+=c.options.slidesToScroll<=c.options.slidesToShow?c.options.slidesToScroll:c.options.slidesToShow}return g},a.prototype.getSlick=function(){return this},a.prototype.getSlideCount=function(){var c,f,d=this;return f=!0===d.options.centerMode?d.slideWidth*Math.floor(d.options.slidesToShow/2):0,!0===d.options.swipeToSlide?(d.$slideTrack.find(".slick-slide").each(function(g,e){if(e.offsetLeft-f+b(e).outerWidth()/2>-1*d.swipeLeft){return c=e,!1}}),Math.abs(b(c).attr("data-slick-index")-d.currentSlide)||1):d.options.slidesToScroll},a.prototype.goTo=a.prototype.slickGoTo=function(d,c){this.changeSlide({data:{message:"index",index:parseInt(d)}},c)},a.prototype.init=function(c){var d=this;b(d.$slider).hasClass("slick-initialized")||(b(d.$slider).addClass("slick-initialized"),d.buildRows(),d.buildOut(),d.setProps(),d.startLoad(),d.loadSlider(),d.initializeEvents(),d.updateArrows(),d.updateDots(),d.checkResponsive(!0),d.focusHandler()),c&&d.$slider.trigger("init",[d]),!0===d.options.accessibility&&d.initADA(),d.options.autoplay&&(d.paused=!1,d.autoPlay())},a.prototype.initADA=function(){var c=this,h=Math.ceil(c.slideCount/c.options.slidesToShow),f=c.getNavigableIndexes().filter(function(e){return e>=0&&e<c.slideCount});c.$slides.add(c.$slideTrack.find(".slick-cloned")).attr({"aria-hidden":"true",tabindex:"-1"}).find("a, input, button, select").attr({tabindex:"-1"}),null!==c.$dots&&(c.$slides.not(c.$slideTrack.find(".slick-cloned")).each(function(i){var e=f.indexOf(i);b(this).attr({role:"tabpanel",id:"slick-slide"+c.instanceUid+i,tabindex:-1}),-1!==e&&b(this).attr({"aria-describedby":"slick-slide-control"+c.instanceUid+e})}),c.$dots.attr("role","tablist").find("li").each(function(i){var e=f[i];b(this).attr({role:"presentation"}),b(this).find("button").first().attr({role:"tab",id:"slick-slide-control"+c.instanceUid+i,"aria-controls":"slick-slide"+c.instanceUid+e,"aria-label":i+1+" of "+h,"aria-selected":null,tabindex:"-1"})}).eq(c.currentSlide).find("button").attr({"aria-selected":"true",tabindex:"0"}).end());for(var g=c.currentSlide,d=g+c.options.slidesToShow;g<d;g++){c.$slides.eq(g).attr("tabindex",0)}c.activateADA()},a.prototype.initArrowEvents=function(){var c=this;!0===c.options.arrows&&c.slideCount>c.options.slidesToShow&&(c.$prevArrow.off("click.slick").on("click.slick",{message:"previous"},c.changeSlide),c.$nextArrow.off("click.slick").on("click.slick",{message:"next"},c.changeSlide),!0===c.options.accessibility&&(c.$prevArrow.on("keydown.slick",c.keyHandler),c.$nextArrow.on("keydown.slick",c.keyHandler)))},a.prototype.initDotEvents=function(){var c=this;!0===c.options.dots&&(b("li",c.$dots).on("click.slick",{message:"index"},c.changeSlide),!0===c.options.accessibility&&c.$dots.on("keydown.slick",c.keyHandler)),!0===c.options.dots&&!0===c.options.pauseOnDotsHover&&b("li",c.$dots).on("mouseenter.slick",b.proxy(c.interrupt,c,!0)).on("mouseleave.slick",b.proxy(c.interrupt,c,!1))},a.prototype.initSlideEvents=function(){var c=this;c.options.pauseOnHover&&(c.$list.on("mouseenter.slick",b.proxy(c.interrupt,c,!0)),c.$list.on("mouseleave.slick",b.proxy(c.interrupt,c,!1)))},a.prototype.initializeEvents=function(){var c=this;c.initArrowEvents(),c.initDotEvents(),c.initSlideEvents(),c.$list.on("touchstart.slick mousedown.slick",{action:"start"},c.swipeHandler),c.$list.on("touchmove.slick mousemove.slick",{action:"move"},c.swipeHandler),c.$list.on("touchend.slick mouseup.slick",{action:"end"},c.swipeHandler),c.$list.on("touchcancel.slick mouseleave.slick",{action:"end"},c.swipeHandler),c.$list.on("click.slick",c.clickHandler),b(document).on(c.visibilityChange,b.proxy(c.visibility,c)),!0===c.options.accessibility&&c.$list.on("keydown.slick",c.keyHandler),!0===c.options.focusOnSelect&&b(c.$slideTrack).children().on("click.slick",c.selectHandler),b(window).on("orientationchange.slick.slick-"+c.instanceUid,b.proxy(c.orientationChange,c)),b(window).on("resize.slick.slick-"+c.instanceUid,b.proxy(c.resize,c)),b("[draggable!=true]",c.$slideTrack).on("dragstart",c.preventDefault),b(window).on("load.slick.slick-"+c.instanceUid,c.setPosition),b(c.setPosition)},a.prototype.initUI=function(){var c=this;!0===c.options.arrows&&c.slideCount>c.options.slidesToShow&&(c.$prevArrow.show(),c.$nextArrow.show()),!0===c.options.dots&&c.slideCount>c.options.slidesToShow&&c.$dots.show()},a.prototype.keyHandler=function(d){var c=this;d.target.tagName.match("TEXTAREA|INPUT|SELECT")||(37===d.keyCode&&!0===c.options.accessibility?c.changeSlide({data:{message:!0===c.options.rtl?"next":"previous"}}):39===d.keyCode&&!0===c.options.accessibility&&c.changeSlide({data:{message:!0===c.options.rtl?"previous":"next"}}))},a.prototype.lazyLoad=function(){function g(d){b("img[data-lazy]",d).each(function(){var l=b(this),v=b(this).attr("data-lazy"),n=b(this).attr("data-srcset"),u=b(this).attr("data-sizes")||i.$slider.attr("data-sizes"),q=document.createElement("img");q.onload=function(){l.animate({opacity:0},100,function(){n&&(l.attr("srcset",n),u&&l.attr("sizes",u)),l.attr("src",v).animate({opacity:1},200,function(){l.removeAttr("data-lazy data-srcset data-sizes").removeClass("slick-loading")}),i.$slider.trigger("lazyLoaded",[i,l,v])})},q.onerror=function(){l.removeAttr("data-lazy").removeClass("slick-loading").addClass("slick-lazyload-error"),i.$slider.trigger("lazyLoadError",[i,l,v])},q.src=v})}var p,j,m,i=this;if(!0===i.options.centerMode?!0===i.options.infinite?m=(j=i.currentSlide+(i.options.slidesToShow/2+1))+i.options.slidesToShow+2:(j=Math.max(0,i.currentSlide-(i.options.slidesToShow/2+1)),m=i.options.slidesToShow/2+1+2+i.currentSlide):(j=i.options.infinite?i.options.slidesToShow+i.currentSlide:i.currentSlide,m=Math.ceil(j+i.options.slidesToShow),!0===i.options.fade&&(j>0&&j--,m<=i.slideCount&&m++)),p=i.$slider.find(".slick-slide").slice(j,m),"anticipated"===i.options.lazyLoad){for(var k=j-1,h=m,f=i.$slider.find(".slick-slide"),c=0;c<i.options.slidesToScroll;c++){k<0&&(k=i.slideCount-1),p=(p=p.add(f.eq(k))).add(f.eq(h)),k--,h++}}g(p),i.slideCount<=i.options.slidesToShow?g(i.$slider.find(".slick-slide")):i.currentSlide>=i.slideCount-i.options.slidesToShow?g(i.$slider.find(".slick-cloned").slice(0,i.options.slidesToShow)):0===i.currentSlide&&g(i.$slider.find(".slick-cloned").slice(-1*i.options.slidesToShow))},a.prototype.loadSlider=function(){var c=this;c.setPosition(),c.$slideTrack.css({opacity:1}),c.$slider.removeClass("slick-loading"),c.initUI(),"progressive"===c.options.lazyLoad&&c.progressiveLazyLoad()},a.prototype.next=a.prototype.slickNext=function(){this.changeSlide({data:{message:"next"}})},a.prototype.orientationChange=function(){var c=this;c.checkResponsive(),c.setPosition()},a.prototype.pause=a.prototype.slickPause=function(){var c=this;c.autoPlayClear(),c.paused=!0},a.prototype.play=a.prototype.slickPlay=function(){var c=this;c.autoPlay(),c.options.autoplay=!0,c.paused=!1,c.focussed=!1,c.interrupted=!1},a.prototype.postSlide=function(c){var d=this;d.unslicked||(d.$slider.trigger("afterChange",[d,c]),d.animating=!1,d.slideCount>d.options.slidesToShow&&d.setPosition(),d.swipeLeft=null,d.options.autoplay&&d.autoPlay(),!0===d.options.accessibility&&(d.initADA(),d.options.focusOnChange&&b(d.$slides.get(d.currentSlide)).attr("tabindex",0).focus()))},a.prototype.prev=a.prototype.slickPrev=function(){this.changeSlide({data:{message:"previous"}})},a.prototype.preventDefault=function(c){c.preventDefault()},a.prototype.progressiveLazyLoad=function(f){f=f||1;var m,i,k,h,j,g=this,c=b("img[data-lazy]",g.$slider);c.length?(m=c.first(),i=m.attr("data-lazy"),k=m.attr("data-srcset"),h=m.attr("data-sizes")||g.$slider.attr("data-sizes"),(j=document.createElement("img")).onload=function(){k&&(m.attr("srcset",k),h&&m.attr("sizes",h)),m.attr("src",i).removeAttr("data-lazy data-srcset data-sizes").removeClass("slick-loading"),!0===g.options.adaptiveHeight&&g.setPosition(),g.$slider.trigger("lazyLoaded",[g,m,i]),g.progressiveLazyLoad()},j.onerror=function(){f<3?setTimeout(function(){g.progressiveLazyLoad(f+1)},500):(m.removeAttr("data-lazy").removeClass("slick-loading").addClass("slick-lazyload-error"),g.$slider.trigger("lazyLoadError",[g,m,i]),g.progressiveLazyLoad())},j.src=i):g.$slider.trigger("allImagesLoaded",[g])},a.prototype.refresh=function(c){var g,d,f=this;d=f.slideCount-f.options.slidesToShow,!f.options.infinite&&f.currentSlide>d&&(f.currentSlide=d),f.slideCount<=f.options.slidesToShow&&(f.currentSlide=0),g=f.currentSlide,f.destroy(!0),b.extend(f,f.initials,{currentSlide:g}),f.init(),c||f.changeSlide({data:{message:"index",index:g}},!1)},a.prototype.registerBreakpoints=function(){var c,h,f,g=this,d=g.options.responsive||null;if("array"===b.type(d)&&d.length){g.respondTo=g.options.respondTo||"window";for(c in d){if(f=g.breakpoints.length-1,d.hasOwnProperty(c)){for(h=d[c].breakpoint;f>=0;){g.breakpoints[f]&&g.breakpoints[f]===h&&g.breakpoints.splice(f,1),f--}g.breakpoints.push(h),g.breakpointSettings[h]=d[c].settings}}g.breakpoints.sort(function(k,j){return g.options.mobileFirst?k-j:j-k})}},a.prototype.reinit=function(){var c=this;c.$slides=c.$slideTrack.children(c.options.slide).addClass("slick-slide"),c.slideCount=c.$slides.length,c.currentSlide>=c.slideCount&&0!==c.currentSlide&&(c.currentSlide=c.currentSlide-c.options.slidesToScroll),c.slideCount<=c.options.slidesToShow&&(c.currentSlide=0),c.registerBreakpoints(),c.setProps(),c.setupInfinite(),c.buildArrows(),c.updateArrows(),c.initArrowEvents(),c.buildDots(),c.updateDots(),c.initDotEvents(),c.cleanUpSlideEvents(),c.initSlideEvents(),c.checkResponsive(!1,!0),!0===c.options.focusOnSelect&&b(c.$slideTrack).children().on("click.slick",c.selectHandler),c.setSlideClasses("number"==typeof c.currentSlide?c.currentSlide:0),c.setPosition(),c.focusHandler(),c.paused=!c.options.autoplay,c.autoPlay(),c.$slider.trigger("reInit",[c])},a.prototype.resize=function(){var c=this;b(window).width()!==c.windowWidth&&(clearTimeout(c.windowDelay),c.windowDelay=window.setTimeout(function(){c.windowWidth=b(window).width(),c.checkResponsive(),c.unslicked||c.setPosition()},50))},a.prototype.removeSlide=a.prototype.slickRemove=function(d,c,g){var f=this;if(d="boolean"==typeof d?!0===(c=d)?0:f.slideCount-1:!0===c?--d:d,f.slideCount<1||d<0||d>f.slideCount-1){return !1}f.unload(),!0===g?f.$slideTrack.children().remove():f.$slideTrack.children(this.options.slide).eq(d).remove(),f.$slides=f.$slideTrack.children(this.options.slide),f.$slideTrack.children(this.options.slide).detach(),f.$slideTrack.append(f.$slides),f.$slidesCache=f.$slides,f.reinit()},a.prototype.setCSS=function(d){var c,h,f=this,g={};!0===f.options.rtl&&(d=-d),c="left"==f.positionProp?Math.ceil(d)+"px":"0px",h="top"==f.positionProp?Math.ceil(d)+"px":"0px",g[f.positionProp]=d,!1===f.transformsEnabled?f.$slideTrack.css(g):(g={},!1===f.cssTransitions?(g[f.animType]="translate("+c+", "+h+")",f.$slideTrack.css(g)):(g[f.animType]="translate3d("+c+", "+h+", 0px)",f.$slideTrack.css(g)))},a.prototype.setDimensions=function(){var d=this;!1===d.options.vertical?!0===d.options.centerMode&&d.$list.css({padding:"0px "+d.options.centerPadding}):(d.$list.height(d.$slides.first().outerHeight(!0)*d.options.slidesToShow),!0===d.options.centerMode&&d.$list.css({padding:d.options.centerPadding+" 0px"})),d.listWidth=d.$list.width(),d.listHeight=d.$list.height(),!1===d.options.vertical&&!1===d.options.variableWidth?(d.slideWidth=Math.ceil(d.listWidth/d.options.slidesToShow),d.$slideTrack.width(Math.ceil(d.slideWidth*d.$slideTrack.children(".slick-slide").length))):!0===d.options.variableWidth?d.$slideTrack.width(5000*d.slideCount):(d.slideWidth=Math.ceil(d.listWidth),d.$slideTrack.height(Math.ceil(d.$slides.first().outerHeight(!0)*d.$slideTrack.children(".slick-slide").length)));var c=d.$slides.first().outerWidth(!0)-d.$slides.first().width();!1===d.options.variableWidth&&d.$slideTrack.children(".slick-slide").width(d.slideWidth-c)},a.prototype.setFade=function(){var c,d=this;d.$slides.each(function(e,f){c=d.slideWidth*e*-1,!0===d.options.rtl?b(f).css({position:"relative",right:c,top:0,zIndex:d.options.zIndex-2,opacity:0}):b(f).css({position:"relative",left:c,top:0,zIndex:d.options.zIndex-2,opacity:0})}),d.$slides.eq(d.currentSlide).css({zIndex:d.options.zIndex-1,opacity:1})},a.prototype.setHeight=function(){var d=this;if(1===d.options.slidesToShow&&!0===d.options.adaptiveHeight&&!1===d.options.vertical){var c=d.$slides.eq(d.currentSlide).outerHeight(!0);d.$list.css("height",c)}},a.prototype.setOption=a.prototype.slickSetOption=function(){var c,j,g,i,f,h=this,d=!1;if("object"===b.type(arguments[0])?(g=arguments[0],d=arguments[1],f="multiple"):"string"===b.type(arguments[0])&&(g=arguments[0],i=arguments[1],d=arguments[2],"responsive"===arguments[0]&&"array"===b.type(arguments[1])?f="responsive":void 0!==arguments[1]&&(f="single")),"single"===f){h.options[g]=i}else{if("multiple"===f){b.each(g,function(l,k){h.options[l]=k})}else{if("responsive"===f){for(j in i){if("array"!==b.type(h.options.responsive)){h.options.responsive=[i[j]]}else{for(c=h.options.responsive.length-1;c>=0;){h.options.responsive[c].breakpoint===i[j].breakpoint&&h.options.responsive.splice(c,1),c--}h.options.responsive.push(i[j])}}}}}d&&(h.unload(),h.reinit())},a.prototype.setPosition=function(){var c=this;c.setDimensions(),c.setHeight(),!1===c.options.fade?c.setCSS(c.getLeft(c.currentSlide)):c.setFade(),c.$slider.trigger("setPosition",[c])},a.prototype.setProps=function(){var d=this,c=document.body.style;d.positionProp=!0===d.options.vertical?"top":"left","top"===d.positionProp?d.$slider.addClass("slick-vertical"):d.$slider.removeClass("slick-vertical"),void 0===c.WebkitTransition&&void 0===c.MozTransition&&void 0===c.msTransition||!0===d.options.useCSS&&(d.cssTransitions=!0),d.options.fade&&("number"==typeof d.options.zIndex?d.options.zIndex<3&&(d.options.zIndex=3):d.options.zIndex=d.defaults.zIndex),void 0!==c.OTransform&&(d.animType="OTransform",d.transformType="-o-transform",d.transitionType="OTransition",void 0===c.perspectiveProperty&&void 0===c.webkitPerspective&&(d.animType=!1)),void 0!==c.MozTransform&&(d.animType="MozTransform",d.transformType="-moz-transform",d.transitionType="MozTransition",void 0===c.perspectiveProperty&&void 0===c.MozPerspective&&(d.animType=!1)),void 0!==c.webkitTransform&&(d.animType="webkitTransform",d.transformType="-webkit-transform",d.transitionType="webkitTransition",void 0===c.perspectiveProperty&&void 0===c.webkitPerspective&&(d.animType=!1)),void 0!==c.msTransform&&(d.animType="msTransform",d.transformType="-ms-transform",d.transitionType="msTransition",void 0===c.msTransform&&(d.animType=!1)),void 0!==c.transform&&!1!==d.animType&&(d.animType="transform",d.transformType="transform",d.transitionType="transition"),d.transformsEnabled=d.options.useTransform&&null!==d.animType&&!1!==d.animType},a.prototype.setSlideClasses=function(d){var c,k,g,j,f=this;if(k=f.$slider.find(".slick-slide").removeClass("slick-active slick-center slick-current").attr("aria-hidden","true"),f.$slides.eq(d).addClass("slick-current"),!0===f.options.centerMode){var h=f.options.slidesToShow%2==0?1:0;c=Math.floor(f.options.slidesToShow/2),!0===f.options.infinite&&(d>=c&&d<=f.slideCount-1-c?f.$slides.slice(d-c+h,d+c+1).addClass("slick-active").attr("aria-hidden","false"):(g=f.options.slidesToShow+d,k.slice(g-c+1+h,g+c+2).addClass("slick-active").attr("aria-hidden","false")),0===d?k.eq(k.length-1-f.options.slidesToShow).addClass("slick-center"):d===f.slideCount-1&&k.eq(f.options.slidesToShow).addClass("slick-center")),f.$slides.eq(d).addClass("slick-center")}else{d>=0&&d<=f.slideCount-f.options.slidesToShow?f.$slides.slice(d,d+f.options.slidesToShow).addClass("slick-active").attr("aria-hidden","false"):k.length<=f.options.slidesToShow?k.addClass("slick-active").attr("aria-hidden","false"):(j=f.slideCount%f.options.slidesToShow,g=!0===f.options.infinite?f.options.slidesToShow+d:d,f.options.slidesToShow==f.options.slidesToScroll&&f.slideCount-d<f.options.slidesToShow?k.slice(g-(f.options.slidesToShow-j),g+j).addClass("slick-active").attr("aria-hidden","false"):k.slice(g,g+f.options.slidesToShow).addClass("slick-active").attr("aria-hidden","false"))}"ondemand"!==f.options.lazyLoad&&"anticipated"!==f.options.lazyLoad||f.lazyLoad()},a.prototype.setupInfinite=function(){var c,g,d,f=this;if(!0===f.options.fade&&(f.options.centerMode=!1),!0===f.options.infinite&&!1===f.options.fade&&(g=null,f.slideCount>f.options.slidesToShow)){for(d=!0===f.options.centerMode?f.options.slidesToShow+1:f.options.slidesToShow,c=f.slideCount;c>f.slideCount-d;c-=1){g=c-1,b(f.$slides[g]).clone(!0).attr("id","").attr("data-slick-index",g-f.slideCount).prependTo(f.$slideTrack).addClass("slick-cloned")}for(c=0;c<d+f.slideCount;c+=1){g=c,b(f.$slides[g]).clone(!0).attr("id","").attr("data-slick-index",g+f.slideCount).appendTo(f.$slideTrack).addClass("slick-cloned")}f.$slideTrack.find(".slick-cloned").find("[id]").each(function(){b(this).attr("id","")})}},a.prototype.interrupt=function(d){var c=this;d||c.autoPlay(),c.interrupted=d},a.prototype.selectHandler=function(c){var g=this,d=b(c.target).is(".slick-slide")?b(c.target):b(c.target).parents(".slick-slide"),f=parseInt(d.attr("data-slick-index"));f||(f=0),g.slideCount<=g.options.slidesToShow?g.slideHandler(f,!1,!0):g.slideHandler(f)},a.prototype.slideHandler=function(h,g,u){var m,q,k,p,j,f=null,c=this;if(g=g||!1,!(!0===c.animating&&!0===c.options.waitForAnimate||!0===c.options.fade&&c.currentSlide===h)){if(!1===g&&c.asNavFor(h),m=h,f=c.getLeft(m),p=c.getLeft(c.currentSlide),c.currentLeft=null===c.swipeLeft?p:c.swipeLeft,!1===c.options.infinite&&!1===c.options.centerMode&&(h<0||h>c.getDotCount()*c.options.slidesToScroll)){!1===c.options.fade&&(m=c.currentSlide,!0!==u?c.animateSlide(p,function(){c.postSlide(m)}):c.postSlide(m))}else{if(!1===c.options.infinite&&!0===c.options.centerMode&&(h<0||h>c.slideCount-c.options.slidesToScroll)){!1===c.options.fade&&(m=c.currentSlide,!0!==u?c.animateSlide(p,function(){c.postSlide(m)}):c.postSlide(m))}else{if(c.options.autoplay&&clearInterval(c.autoPlayTimer),q=m<0?c.slideCount%c.options.slidesToScroll!=0?c.slideCount-c.slideCount%c.options.slidesToScroll:c.slideCount+m:m>=c.slideCount?c.slideCount%c.options.slidesToScroll!=0?0:m-c.slideCount:m,c.animating=!0,c.$slider.trigger("beforeChange",[c,c.currentSlide,q]),k=c.currentSlide,c.currentSlide=q,c.setSlideClasses(c.currentSlide),c.options.asNavFor&&(j=(j=c.getNavTarget()).slick("getSlick")).slideCount<=j.options.slidesToShow&&j.setSlideClasses(c.currentSlide),c.updateDots(),c.updateArrows(),!0===c.options.fade){return !0!==u?(c.fadeSlideOut(k),c.fadeSlide(q,function(){c.postSlide(q)})):c.postSlide(q),void c.animateHeight()}!0!==u?c.animateSlide(f,function(){c.postSlide(q)}):c.postSlide(q)}}}},a.prototype.startLoad=function(){var c=this;!0===c.options.arrows&&c.slideCount>c.options.slidesToShow&&(c.$prevArrow.hide(),c.$nextArrow.hide()),!0===c.options.dots&&c.slideCount>c.options.slidesToShow&&c.$dots.hide(),c.$slider.addClass("slick-loading")},a.prototype.swipeDirection=function(){var d,c,h,f,g=this;return d=g.touchObject.startX-g.touchObject.curX,c=g.touchObject.startY-g.touchObject.curY,h=Math.atan2(c,d),(f=Math.round(180*h/Math.PI))<0&&(f=360-Math.abs(f)),f<=45&&f>=0?!1===g.options.rtl?"left":"right":f<=360&&f>=315?!1===g.options.rtl?"left":"right":f>=135&&f<=225?!1===g.options.rtl?"right":"left":!0===g.options.verticalSwiping?f>=35&&f<=135?"down":"up":"vertical"},a.prototype.swipeEnd=function(d){var c,g,f=this;if(f.dragging=!1,f.swiping=!1,f.scrolling){return f.scrolling=!1,!1}if(f.interrupted=!1,f.shouldClick=!(f.touchObject.swipeLength>10),void 0===f.touchObject.curX){return !1}if(!0===f.touchObject.edgeHit&&f.$slider.trigger("edge",[f,f.swipeDirection()]),f.touchObject.swipeLength>=f.touchObject.minSwipe){switch(g=f.swipeDirection()){case"left":case"down":c=f.options.swipeToSlide?f.checkNavigable(f.currentSlide+f.getSlideCount()):f.currentSlide+f.getSlideCount(),f.currentDirection=0;break;case"right":case"up":c=f.options.swipeToSlide?f.checkNavigable(f.currentSlide-f.getSlideCount()):f.currentSlide-f.getSlideCount(),f.currentDirection=1}"vertical"!=g&&(f.slideHandler(c),f.touchObject={},f.$slider.trigger("swipe",[f,g]))}else{f.touchObject.startX!==f.touchObject.curX&&(f.slideHandler(f.currentSlide),f.touchObject={})}},a.prototype.swipeHandler=function(d){var c=this;if(!(!1===c.options.swipe||"ontouchend" in document&&!1===c.options.swipe||!1===c.options.draggable&&-1!==d.type.indexOf("mouse"))){switch(c.touchObject.fingerCount=d.originalEvent&&void 0!==d.originalEvent.touches?d.originalEvent.touches.length:1,c.touchObject.minSwipe=c.listWidth/c.options.touchThreshold,!0===c.options.verticalSwiping&&(c.touchObject.minSwipe=c.listHeight/c.options.touchThreshold),d.data.action){case"start":c.swipeStart(d);break;case"move":c.swipeMove(d);break;case"end":c.swipeEnd(d)}}},a.prototype.swipeMove=function(d){var c,m,h,k,g,j,f=this;return g=void 0!==d.originalEvent?d.originalEvent.touches:null,!(!f.dragging||f.scrolling||g&&1!==g.length)&&(c=f.getLeft(f.currentSlide),f.touchObject.curX=void 0!==g?g[0].pageX:d.clientX,f.touchObject.curY=void 0!==g?g[0].pageY:d.clientY,f.touchObject.swipeLength=Math.round(Math.sqrt(Math.pow(f.touchObject.curX-f.touchObject.startX,2))),j=Math.round(Math.sqrt(Math.pow(f.touchObject.curY-f.touchObject.startY,2))),!f.options.verticalSwiping&&!f.swiping&&j>4?(f.scrolling=!0,!1):(!0===f.options.verticalSwiping&&(f.touchObject.swipeLength=j),m=f.swipeDirection(),void 0!==d.originalEvent&&f.touchObject.swipeLength>4&&(f.swiping=!0,d.preventDefault()),k=(!1===f.options.rtl?1:-1)*(f.touchObject.curX>f.touchObject.startX?1:-1),!0===f.options.verticalSwiping&&(k=f.touchObject.curY>f.touchObject.startY?1:-1),h=f.touchObject.swipeLength,f.touchObject.edgeHit=!1,!1===f.options.infinite&&(0===f.currentSlide&&"right"===m||f.currentSlide>=f.getDotCount()&&"left"===m)&&(h=f.touchObject.swipeLength*f.options.edgeFriction,f.touchObject.edgeHit=!0),!1===f.options.vertical?f.swipeLeft=c+h*k:f.swipeLeft=c+h*(f.$list.height()/f.listWidth)*k,!0===f.options.verticalSwiping&&(f.swipeLeft=c+h*k),!0!==f.options.fade&&!1!==f.options.touchMove&&(!0===f.animating?(f.swipeLeft=null,!1):void f.setCSS(f.swipeLeft))))},a.prototype.swipeStart=function(d){var c,f=this;if(f.interrupted=!0,1!==f.touchObject.fingerCount||f.slideCount<=f.options.slidesToShow){return f.touchObject={},!1}void 0!==d.originalEvent&&void 0!==d.originalEvent.touches&&(c=d.originalEvent.touches[0]),f.touchObject.startX=f.touchObject.curX=void 0!==c?c.pageX:d.clientX,f.touchObject.startY=f.touchObject.curY=void 0!==c?c.pageY:d.clientY,f.dragging=!0},a.prototype.unfilterSlides=a.prototype.slickUnfilter=function(){var c=this;null!==c.$slidesCache&&(c.unload(),c.$slideTrack.children(this.options.slide).detach(),c.$slidesCache.appendTo(c.$slideTrack),c.reinit())},a.prototype.unload=function(){var c=this;b(".slick-cloned",c.$slider).remove(),c.$dots&&c.$dots.remove(),c.$prevArrow&&c.htmlExpr.test(c.options.prevArrow)&&c.$prevArrow.remove(),c.$nextArrow&&c.htmlExpr.test(c.options.nextArrow)&&c.$nextArrow.remove(),c.$slides.removeClass("slick-slide slick-active slick-visible slick-current").attr("aria-hidden","true").css("width","")},a.prototype.unslick=function(d){var c=this;c.$slider.trigger("unslick",[c,d]),c.destroy()},a.prototype.updateArrows=function(){var c=this;Math.floor(c.options.slidesToShow/2),!0===c.options.arrows&&c.slideCount>c.options.slidesToShow&&!c.options.infinite&&(c.$prevArrow.removeClass("slick-disabled").attr("aria-disabled","false"),c.$nextArrow.removeClass("slick-disabled").attr("aria-disabled","false"),0===c.currentSlide?(c.$prevArrow.addClass("slick-disabled").attr("aria-disabled","true"),c.$nextArrow.removeClass("slick-disabled").attr("aria-disabled","false")):c.currentSlide>=c.slideCount-c.options.slidesToShow&&!1===c.options.centerMode?(c.$nextArrow.addClass("slick-disabled").attr("aria-disabled","true"),c.$prevArrow.removeClass("slick-disabled").attr("aria-disabled","false")):c.currentSlide>=c.slideCount-1&&!0===c.options.centerMode&&(c.$nextArrow.addClass("slick-disabled").attr("aria-disabled","true"),c.$prevArrow.removeClass("slick-disabled").attr("aria-disabled","false")))},a.prototype.updateDots=function(){var c=this;null!==c.$dots&&(c.$dots.find("li").removeClass("slick-active").end(),c.$dots.find("li").eq(Math.floor(c.currentSlide/c.options.slidesToScroll)).addClass("slick-active"))},a.prototype.visibility=function(){var c=this;c.options.autoplay&&(document[c.hidden]?c.interrupted=!0:c.interrupted=!1)},b.fn.slick=function(){var c,h,e=this,g=arguments[0],d=Array.prototype.slice.call(arguments,1),f=e.length;for(c=0;c<f;c++){if("object"==typeof g||void 0===g?e[c].slick=new a(e[c],g):h=e[c].slick[g].apply(e[c].slick,d),void 0!==h){return h}}return e}});
|