/*
     _ _      _       _
 ___| (_) ___| | __  (_)___
/ __| | |/ __| |/ /  | / __|
\__ \ | | (__|   < _ | \__ \
|___/_|_|\___|_|\_(_)/ |___/
                   |__/

 Version: 1.8.0
  Author: Ken Wheeler
 Website: http://kenwheeler.github.io
    Docs: http://kenwheeler.github.io/slick
    Repo: http://github.com/kenwheeler/slick
  Issues: http://github.com/kenwheeler/slick/issues

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