/*
_ _ _ _
___| (_) ___| | __ (_)___
/ __| | |/ __| |/ / | / __|
\__ \ | | (__| < _ | \__ \
|___/_|_|\___|_|\_(_)/ |___/
|__/
version: 1.9.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
*/
(function(i){"use strict";"function"==typeof define&&define.amd?define(["jquery"],i):"undefined"!=typeof exports?module.exports=i(require("jquery")):i(jquery)})(function(i){"use strict";var e=window.slick||{};e=function(){function e(e,o){var s,n=this;n.defaults={accessibility:!0,adaptiveheight:!1,appendarrows:i(e),appenddots:i(e),arrows:!0,asnavfor:null,prevarrow:'',nextarrow:'',autoplay:!1,autoplayspeed:3e3,centermode:!1,centerpadding:"50px",cssease:"ease",custompaging:function(e,t){return i('').text(t+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: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:1e3},n.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},i.extend(n,n.initials),n.activebreakpoint=null,n.animtype=null,n.animprop=null,n.breakpoints=[],n.breakpointsettings=[],n.csstransitions=!1,n.focussed=!1,n.interrupted=!1,n.hidden="hidden",n.paused=!0,n.positionprop=null,n.respondto=null,n.rowcount=1,n.shouldclick=!0,n.$slider=i(e),n.$slidescache=null,n.transformtype=null,n.transitiontype=null,n.visibilitychange="visibilitychange",n.windowwidth=0,n.windowtimer=null,s=i(e).data("slick")||{},n.options=i.extend({},n.defaults,o,s),n.currentslide=n.options.initialslide,n.originalsettings=n.options,"undefined"!=typeof document.mozhidden?(n.hidden="mozhidden",n.visibilitychange="mozvisibilitychange"):"undefined"!=typeof document.webkithidden&&(n.hidden="webkithidden",n.visibilitychange="webkitvisibilitychange"),n.autoplay=i.proxy(n.autoplay,n),n.autoplayclear=i.proxy(n.autoplayclear,n),n.autoplayiterator=i.proxy(n.autoplayiterator,n),n.changeslide=i.proxy(n.changeslide,n),n.clickhandler=i.proxy(n.clickhandler,n),n.selecthandler=i.proxy(n.selecthandler,n),n.setposition=i.proxy(n.setposition,n),n.swipehandler=i.proxy(n.swipehandler,n),n.draghandler=i.proxy(n.draghandler,n),n.keyhandler=i.proxy(n.keyhandler,n),n.instanceuid=t++,n.htmlexpr=/^(?:\s*(<[\w\w]+>)[^>]*)$/,n.registerbreakpoints(),n.init(!0)}var t=0;return e}(),e.prototype.activateada=function(){var i=this;i.$slidetrack.find(".slick-active").attr({"aria-hidden":"false"}).find("a, input, button, select").attr({tabindex:"0"})},e.prototype.addslide=e.prototype.slickadd=function(e,t,o){var s=this;if("boolean"==typeof t)o=t,t=null;else if(t<0||t>=s.slidecount)return!1;s.unload(),"number"==typeof t?0===t&&0===s.$slides.length?i(e).appendto(s.$slidetrack):o?i(e).insertbefore(s.$slides.eq(t)):i(e).insertafter(s.$slides.eq(t)):o===!0?i(e).prependto(s.$slidetrack):i(e).appendto(s.$slidetrack),s.$slides=s.$slidetrack.children(this.options.slide),s.$slidetrack.children(this.options.slide).detach(),s.$slidetrack.append(s.$slides),s.$slides.each(function(e,t){i(t).attr("data-slick-index",e)}),s.$slidescache=s.$slides,s.reinit()},e.prototype.animateheight=function(){var i=this;if(1===i.options.slidestoshow&&i.options.adaptiveheight===!0&&i.options.vertical===!1){var e=i.$slides.eq(i.currentslide).outerheight(!0);i.$list.animate({height:e},i.options.speed)}},e.prototype.animateslide=function(e,t){var o={},s=this;s.animateheight(),s.options.rtl===!0&&s.options.vertical===!1&&(e=-e),s.transformsenabled===!1?s.options.vertical===!1?s.$slidetrack.animate({left:e},s.options.speed,s.options.easing,t):s.$slidetrack.animate({top:e},s.options.speed,s.options.easing,t):s.csstransitions===!1?(s.options.rtl===!0&&(s.currentleft=-s.currentleft),i({animstart:s.currentleft}).animate({animstart:e},{duration:s.options.speed,easing:s.options.easing,step:function(i){i=math.ceil(i),s.options.vertical===!1?(o[s.animtype]="translate("+i+"px, 0px)",s.$slidetrack.css(o)):(o[s.animtype]="translate(0px,"+i+"px)",s.$slidetrack.css(o))},complete:function(){t&&t.call()}})):(s.applytransition(),e=math.ceil(e),s.options.vertical===!1?o[s.animtype]="translate3d("+e+"px, 0px, 0px)":o[s.animtype]="translate3d(0px,"+e+"px, 0px)",s.$slidetrack.css(o),t&&settimeout(function(){s.disabletransition(),t.call()},s.options.speed))},e.prototype.getnavtarget=function(){var e=this,t=e.options.asnavfor;return t&&null!==t&&(t=i(t).not(e.$slider)),t},e.prototype.asnavfor=function(e){var t=this,o=t.getnavtarget();null!==o&&"object"==typeof o&&o.each(function(){var t=i(this).slick("getslick");t.unslicked||t.slidehandler(e,!0)})},e.prototype.applytransition=function(i){var e=this,t={};e.options.fade===!1?t[e.transitiontype]=e.transformtype+" "+e.options.speed+"ms "+e.options.cssease:t[e.transitiontype]="opacity "+e.options.speed+"ms "+e.options.cssease,e.options.fade===!1?e.$slidetrack.css(t):e.$slides.eq(i).css(t)},e.prototype.autoplay=function(){var i=this;i.autoplayclear(),i.slidecount>i.options.slidestoshow&&(i.autoplaytimer=setinterval(i.autoplayiterator,i.options.autoplayspeed))},e.prototype.autoplayclear=function(){var i=this;i.autoplaytimer&&clearinterval(i.autoplaytimer)},e.prototype.autoplayiterator=function(){var i=this,e=i.currentslide+i.options.slidestoscroll;i.paused||i.interrupted||i.focussed||(i.options.infinite===!1&&(1===i.direction&&i.currentslide+1===i.slidecount-1?i.direction=0:0===i.direction&&(e=i.currentslide-i.options.slidestoscroll,i.currentslide-1===0&&(i.direction=1))),i.slidehandler(e))},e.prototype.buildarrows=function(){var e=this;e.options.arrows===!0&&(e.$prevarrow=i(e.options.prevarrow).addclass("slick-arrow"),e.$nextarrow=i(e.options.nextarrow).addclass("slick-arrow"),e.slidecount>e.options.slidestoshow?(e.$prevarrow.removeclass("slick-hidden").removeattr("aria-hidden tabindex"),e.$nextarrow.removeclass("slick-hidden").removeattr("aria-hidden tabindex"),e.htmlexpr.test(e.options.prevarrow)&&e.$prevarrow.prependto(e.options.appendarrows),e.htmlexpr.test(e.options.nextarrow)&&e.$nextarrow.appendto(e.options.appendarrows),e.options.infinite!==!0&&e.$prevarrow.addclass("slick-disabled").attr("aria-disabled","true")):e.$prevarrow.add(e.$nextarrow).addclass("slick-hidden").attr({"aria-disabled":"true",tabindex:"-1"}))},e.prototype.builddots=function(){var e,t,o=this;if(o.options.dots===!0&&o.slidecount>o.options.slidestoshow){for(o.$slider.addclass("slick-dotted"),t=i("
").addclass(o.options.dotsclass),e=0;e<=o.getdotcount();e+=1)t.append(i("").append(o.options.custompaging.call(this,o,e)));o.$dots=t.appendto(o.options.appenddots),o.$dots.find("li").first().addclass("slick-active")}},e.prototype.buildout=function(){var e=this;e.$slides=e.$slider.children(e.options.slide+":not(.slick-cloned)").addclass("slick-slide"),e.slidecount=e.$slides.length,e.$slides.each(function(e,t){i(t).attr("data-slick-index",e).data("originalstyling",i(t).attr("style")||"")}),e.$slider.addclass("slick-slider"),e.$slidetrack=0===e.slidecount?i('').appendto(e.$slider):e.$slides.wrapall('').parent(),e.$list=e.$slidetrack.wrap('').parent(),e.$slidetrack.css("opacity",0),e.options.centermode!==!0&&e.options.swipetoslide!==!0||(e.options.slidestoscroll=1),i("img[data-lazy]",e.$slider).not("[src]").addclass("slick-loading"),e.setupinfinite(),e.buildarrows(),e.builddots(),e.updatedots(),e.setslideclasses("number"==typeof e.currentslide?e.currentslide:0),e.options.draggable===!0&&e.$list.addclass("draggable")},e.prototype.buildrows=function(){var i,e,t,o,s,n,r,l=this;if(o=document.createdocumentfragment(),n=l.$slider.children(),l.options.rows>0){for(r=l.options.slidesperrow*l.options.rows,s=math.ceil(n.length/r),i=0;ir.breakpoints[o]&&(s=r.breakpoints[o]));null!==s?null!==r.activebreakpoint?(s!==r.activebreakpoint||t)&&(r.activebreakpoint=s,"unslick"===r.breakpointsettings[s]?r.unslick(s):(r.options=i.extend({},r.originalsettings,r.breakpointsettings[s]),e===!0&&(r.currentslide=r.options.initialslide),r.refresh(e)),l=s):(r.activebreakpoint=s,"unslick"===r.breakpointsettings[s]?r.unslick(s):(r.options=i.extend({},r.originalsettings,r.breakpointsettings[s]),e===!0&&(r.currentslide=r.options.initialslide),r.refresh(e)),l=s):null!==r.activebreakpoint&&(r.activebreakpoint=null,r.options=r.originalsettings,e===!0&&(r.currentslide=r.options.initialslide),r.refresh(e),l=s),e||l===!1||r.$slider.trigger("breakpoint",[r,l])}},e.prototype.changeslide=function(e,t){var o,s,n,r=this,l=i(e.currenttarget);switch(l.is("a")&&e.preventdefault(),l.is("li")||(l=l.closest("li")),n=r.slidecount%r.options.slidestoscroll!==0,o=n?0:(r.slidecount-r.currentslide)%r.options.slidestoscroll,e.data.message){case"previous":s=0===o?r.options.slidestoscroll:r.options.slidestoshow-o,r.slidecount>r.options.slidestoshow&&r.slidehandler(r.currentslide-s,!1,t);break;case"next":s=0===o?r.options.slidestoscroll:o,r.slidecount>r.options.slidestoshow&&r.slidehandler(r.currentslide+s,!1,t);break;case"index":var d=0===e.data.index?0:e.data.index||l.index()*r.options.slidestoscroll;r.slidehandler(r.checknavigable(d),!1,t),l.children().trigger("focus");break;default:return}},e.prototype.checknavigable=function(i){var e,t,o=this;if(e=o.getnavigableindexes(),t=0,i>e[e.length-1])i=e[e.length-1];else for(var s in e){if(ie.options.slidestoshow&&(e.$prevarrow&&e.$prevarrow.off("click.slick",e.changeslide),e.$nextarrow&&e.$nextarrow.off("click.slick",e.changeslide),e.options.accessibility===!0&&(e.$prevarrow&&e.$prevarrow.off("keydown.slick",e.keyhandler),e.$nextarrow&&e.$nextarrow.off("keydown.slick",e.keyhandler))),e.$list.off("touchstart.slick mousedown.slick",e.swipehandler),e.$list.off("touchmove.slick mousemove.slick",e.swipehandler),e.$list.off("touchend.slick mouseup.slick",e.swipehandler),e.$list.off("touchcancel.slick mouseleave.slick",e.swipehandler),e.$list.off("click.slick",e.clickhandler),i(document).off(e.visibilitychange,e.visibility),e.cleanupslideevents(),e.options.accessibility===!0&&e.$list.off("keydown.slick",e.keyhandler),e.options.focusonselect===!0&&i(e.$slidetrack).children().off("click.slick",e.selecthandler),i(window).off("orientationchange.slick.slick-"+e.instanceuid,e.orientationchange),i(window).off("resize.slick.slick-"+e.instanceuid,e.resize),i("[draggable!=true]",e.$slidetrack).off("dragstart",e.preventdefault),i(window).off("load.slick.slick-"+e.instanceuid,e.setposition)},e.prototype.cleanupslideevents=function(){var e=this;e.$list.off("mouseenter.slick",i.proxy(e.interrupt,e,!0)),e.$list.off("mouseleave.slick",i.proxy(e.interrupt,e,!1))},e.prototype.cleanuprows=function(){var i,e=this;e.options.rows>0&&(i=e.$slides.children().children(),i.removeattr("style"),e.$slider.empty().append(i))},e.prototype.clickhandler=function(i){var e=this;e.shouldclick===!1&&(i.stopimmediatepropagation(),i.stoppropagation(),i.preventdefault())},e.prototype.destroy=function(e){var t=this;t.autoplayclear(),t.touchobject={},t.cleanupevents(),i(".slick-cloned",t.$slider).detach(),t.$dots&&t.$dots.remove(),t.$prevarrow&&t.$prevarrow.length&&(t.$prevarrow.removeclass("slick-disabled slick-arrow slick-hidden").removeattr("aria-hidden aria-disabled tabindex").css("display",""),t.htmlexpr.test(t.options.prevarrow)&&t.$prevarrow.remove()),t.$nextarrow&&t.$nextarrow.length&&(t.$nextarrow.removeclass("slick-disabled slick-arrow slick-hidden").removeattr("aria-hidden aria-disabled tabindex").css("display",""),t.htmlexpr.test(t.options.nextarrow)&&t.$nextarrow.remove()),t.$slides&&(t.$slides.removeclass("slick-slide slick-active slick-center slick-visible slick-current").removeattr("aria-hidden").removeattr("data-slick-index").each(function(){i(this).attr("style",i(this).data("originalstyling"))}),t.$slidetrack.children(this.options.slide).detach(),t.$slidetrack.detach(),t.$list.detach(),t.$slider.append(t.$slides)),t.cleanuprows(),t.$slider.removeclass("slick-slider"),t.$slider.removeclass("slick-initialized"),t.$slider.removeclass("slick-dotted"),t.unslicked=!0,e||t.$slider.trigger("destroy",[t])},e.prototype.disabletransition=function(i){var e=this,t={};t[e.transitiontype]="",e.options.fade===!1?e.$slidetrack.css(t):e.$slides.eq(i).css(t)},e.prototype.fadeslide=function(i,e){var t=this;t.csstransitions===!1?(t.$slides.eq(i).css({zindex:t.options.zindex}),t.$slides.eq(i).animate({opacity:1},t.options.speed,t.options.easing,e)):(t.applytransition(i),t.$slides.eq(i).css({opacity:1,zindex:t.options.zindex}),e&&settimeout(function(){t.disabletransition(i),e.call()},t.options.speed))},e.prototype.fadeslideout=function(i){var e=this;e.csstransitions===!1?e.$slides.eq(i).animate({opacity:0,zindex:e.options.zindex-2},e.options.speed,e.options.easing):(e.applytransition(i),e.$slides.eq(i).css({opacity:0,zindex:e.options.zindex-2}))},e.prototype.filterslides=e.prototype.slickfilter=function(i){var e=this;null!==i&&(e.$slidescache=e.$slides,e.unload(),e.$slidetrack.children(this.options.slide).detach(),e.$slidescache.filter(i).appendto(e.$slidetrack),e.reinit())},e.prototype.focushandler=function(){var e=this;e.$slider.off("focus.slick blur.slick").on("focus.slick","*",function(t){var o=i(this);settimeout(function(){e.options.pauseonfocus&&o.is(":focus")&&(e.focussed=!0,e.autoplay())},0)}).on("blur.slick","*",function(t){i(this);e.options.pauseonfocus&&(e.focussed=!1,e.autoplay())})},e.prototype.getcurrent=e.prototype.slickcurrentslide=function(){var i=this;return i.currentslide},e.prototype.getdotcount=function(){var i=this,e=0,t=0,o=0;if(i.options.infinite===!0)if(i.slidecount<=i.options.slidestoshow)++o;else for(;en.options.slidestoshow&&(n.slideoffset=n.slidewidth*n.options.slidestoshow*-1,s=-1,n.options.vertical===!0&&n.options.centermode===!0&&(2===n.options.slidestoshow?s=-1.5:1===n.options.slidestoshow&&(s=-2)),r=t*n.options.slidestoshow*s),n.slidecount%n.options.slidestoscroll!==0&&i+n.options.slidestoscroll>n.slidecount&&n.slidecount>n.options.slidestoshow&&(i>n.slidecount?(n.slideoffset=(n.options.slidestoshow-(i-n.slidecount))*n.slidewidth*-1,r=(n.options.slidestoshow-(i-n.slidecount))*t*-1):(n.slideoffset=n.slidecount%n.options.slidestoscroll*n.slidewidth*-1,r=n.slidecount%n.options.slidestoscroll*t*-1))):i+n.options.slidestoshow>n.slidecount&&(n.slideoffset=(i+n.options.slidestoshow-n.slidecount)*n.slidewidth,r=(i+n.options.slidestoshow-n.slidecount)*t),n.slidecount<=n.options.slidestoshow&&(n.slideoffset=0,r=0),n.options.centermode===!0&&n.slidecount<=n.options.slidestoshow?n.slideoffset=n.slidewidth*math.floor(n.options.slidestoshow)/2-n.slidewidth*n.slidecount/2:n.options.centermode===!0&&n.options.infinite===!0?n.slideoffset+=n.slidewidth*math.floor(n.options.slidestoshow/2)-n.slidewidth:n.options.centermode===!0&&(n.slideoffset=0,n.slideoffset+=n.slidewidth*math.floor(n.options.slidestoshow/2)),e=n.options.vertical===!1?i*n.slidewidth*-1+n.slideoffset:i*t*-1+r,n.options.variablewidth===!0&&(o=n.slidecount<=n.options.slidestoshow||n.options.infinite===!1?n.$slidetrack.children(".slick-slide").eq(i):n.$slidetrack.children(".slick-slide").eq(i+n.options.slidestoshow),e=n.options.rtl===!0?o[0]?(n.$slidetrack.width()-o[0].offsetleft-o.width())*-1:0:o[0]?o[0].offsetleft*-1:0,n.options.centermode===!0&&(o=n.slidecount<=n.options.slidestoshow||n.options.infinite===!1?n.$slidetrack.children(".slick-slide").eq(i):n.$slidetrack.children(".slick-slide").eq(i+n.options.slidestoshow+1),e=n.options.rtl===!0?o[0]?(n.$slidetrack.width()-o[0].offsetleft-o.width())*-1:0:o[0]?o[0].offsetleft*-1:0,e+=(n.$list.width()-o.outerwidth())/2)),e},e.prototype.getoption=e.prototype.slickgetoption=function(i){var e=this;return e.options[i]},e.prototype.getnavigableindexes=function(){var i,e=this,t=0,o=0,s=[];for(e.options.infinite===!1?i=e.slidecount:(t=e.options.slidestoscroll*-1,o=e.options.slidestoscroll*-1,i=2*e.slidecount);t=0&&ii.options.slidestoshow&&(i.$prevarrow.off("click.slick").on("click.slick",{message:"previous"},i.changeslide),i.$nextarrow.off("click.slick").on("click.slick",{message:"next"},i.changeslide),i.options.accessibility===!0&&(i.$prevarrow.on("keydown.slick",i.keyhandler),i.$nextarrow.on("keydown.slick",i.keyhandler)))},e.prototype.initdotevents=function(){var e=this;e.options.dots===!0&&e.slidecount>e.options.slidestoshow&&(i("li",e.$dots).on("click.slick",{message:"index"},e.changeslide),e.options.accessibility===!0&&e.$dots.on("keydown.slick",e.keyhandler)),e.options.dots===!0&&e.options.pauseondotshover===!0&&e.slidecount>e.options.slidestoshow&&i("li",e.$dots).on("mouseenter.slick",i.proxy(e.interrupt,e,!0)).on("mouseleave.slick",i.proxy(e.interrupt,e,!1))},e.prototype.initslideevents=function(){var e=this;e.options.pauseonhover&&(e.$list.on("mouseenter.slick",i.proxy(e.interrupt,e,!0)),e.$list.on("mouseleave.slick",i.proxy(e.interrupt,e,!1)))},e.prototype.initializeevents=function(){var e=this;e.initarrowevents(),e.initdotevents(),e.initslideevents(),e.$list.on("touchstart.slick mousedown.slick",{action:"start"},e.swipehandler),e.$list.on("touchmove.slick mousemove.slick",{action:"move"},e.swipehandler),e.$list.on("touchend.slick mouseup.slick",{action:"end"},e.swipehandler),e.$list.on("touchcancel.slick mouseleave.slick",{action:"end"},e.swipehandler),e.$list.on("click.slick",e.clickhandler),i(document).on(e.visibilitychange,i.proxy(e.visibility,e)),e.options.accessibility===!0&&e.$list.on("keydown.slick",e.keyhandler),e.options.focusonselect===!0&&i(e.$slidetrack).children().on("click.slick",e.selecthandler),i(window).on("orientationchange.slick.slick-"+e.instanceuid,i.proxy(e.orientationchange,e)),i(window).on("resize.slick.slick-"+e.instanceuid,i.proxy(e.resize,e)),i("[draggable!=true]",e.$slidetrack).on("dragstart",e.preventdefault),i(window).on("load.slick.slick-"+e.instanceuid,e.setposition),i(e.setposition)},e.prototype.initui=function(){var i=this;i.options.arrows===!0&&i.slidecount>i.options.slidestoshow&&(i.$prevarrow.show(),i.$nextarrow.show()),i.options.dots===!0&&i.slidecount>i.options.slidestoshow&&i.$dots.show()},e.prototype.keyhandler=function(i){var e=this;i.target.tagname.match("textarea|input|select")||(37===i.keycode&&e.options.accessibility===!0?e.changeslide({data:{message:e.options.rtl===!0?"next":"previous"}}):39===i.keycode&&e.options.accessibility===!0&&e.changeslide({data:{message:e.options.rtl===!0?"previous":"next"}}))},e.prototype.lazyload=function(){function e(e){i("img[data-lazy]",e).each(function(){var e=i(this),t=i(this).attr("data-lazy"),o=i(this).attr("data-srcset"),s=i(this).attr("data-sizes")||r.$slider.attr("data-sizes"),n=document.createelement("img");n.onload=function(){e.animate({opacity:0},100,function(){o&&(e.attr("srcset",o),s&&e.attr("sizes",s)),e.attr("src",t).animate({opacity:1},200,function(){e.removeattr("data-lazy data-srcset data-sizes").removeclass("slick-loading")}),r.$slider.trigger("lazyloaded",[r,e,t])})},n.onerror=function(){e.removeattr("data-lazy").removeclass("slick-loading").addclass("slick-lazyload-error"),r.$slider.trigger("lazyloaderror",[r,e,t])},n.src=t})}var t,o,s,n,r=this;if(r.options.centermode===!0?r.options.infinite===!0?(s=r.currentslide+(r.options.slidestoshow/2+1),n=s+r.options.slidestoshow+2):(s=math.max(0,r.currentslide-(r.options.slidestoshow/2+1)),n=2+(r.options.slidestoshow/2+1)+r.currentslide):(s=r.options.infinite?r.options.slidestoshow+r.currentslide:r.currentslide,n=math.ceil(s+r.options.slidestoshow),r.options.fade===!0&&(s>0&&s--,n<=r.slidecount&&n++)),t=r.$slider.find(".slick-slide").slice(s,n),"anticipated"===r.options.lazyload)for(var l=s-1,d=n,a=r.$slider.find(".slick-slide"),c=0;c=r.slidecount-r.options.slidestoshow?(o=r.$slider.find(".slick-cloned").slice(0,r.options.slidestoshow),e(o)):0===r.currentslide&&(o=r.$slider.find(".slick-cloned").slice(r.options.slidestoshow*-1),e(o))},e.prototype.loadslider=function(){var i=this;i.setposition(),i.$slidetrack.css({opacity:1}),i.$slider.removeclass("slick-loading"),i.initui(),"progressive"===i.options.lazyload&&i.progressivelazyload()},e.prototype.next=e.prototype.slicknext=function(){var i=this;i.changeslide({data:{message:"next"}})},e.prototype.orientationchange=function(){var i=this;i.checkresponsive(),i.setposition()},e.prototype.pause=e.prototype.slickpause=function(){var i=this;i.autoplayclear(),i.paused=!0},e.prototype.play=e.prototype.slickplay=function(){var i=this;i.autoplay(),i.options.autoplay=!0,i.paused=!1,i.focussed=!1,i.interrupted=!1},e.prototype.postslide=function(e){var t=this;if(!t.unslicked&&(t.$slider.trigger("afterchange",[t,e]),t.animating=!1,t.slidecount>t.options.slidestoshow&&t.setposition(),t.swipeleft=null,t.options.autoplay&&t.autoplay(),t.options.accessibility===!0&&(t.initada(),t.options.focusonchange))){var o=i(t.$slides.get(t.currentslide));o.attr("tabindex",0).focus()}},e.prototype.prev=e.prototype.slickprev=function(){var i=this;i.changeslide({data:{message:"previous"}})},e.prototype.preventdefault=function(i){i.preventdefault()},e.prototype.progressivelazyload=function(e){e=e||1;var t,o,s,n,r,l=this,d=i("img[data-lazy]",l.$slider);d.length?(t=d.first(),o=t.attr("data-lazy"),s=t.attr("data-srcset"),n=t.attr("data-sizes")||l.$slider.attr("data-sizes"),r=document.createelement("img"),r.onload=function(){s&&(t.attr("srcset",s),n&&t.attr("sizes",n)),t.attr("src",o).removeattr("data-lazy data-srcset data-sizes").removeclass("slick-loading"),l.options.adaptiveheight===!0&&l.setposition(),l.$slider.trigger("lazyloaded",[l,t,o]),l.progressivelazyload()},r.onerror=function(){e<3?settimeout(function(){l.progressivelazyload(e+1)},500):(t.removeattr("data-lazy").removeclass("slick-loading").addclass("slick-lazyload-error"),l.$slider.trigger("lazyloaderror",[l,t,o]),l.progressivelazyload())},r.src=o):l.$slider.trigger("allimagesloaded",[l])},e.prototype.refresh=function(e){var t,o,s=this;o=s.slidecount-s.options.slidestoshow,!s.options.infinite&&s.currentslide>o&&(s.currentslide=o),s.slidecount<=s.options.slidestoshow&&(s.currentslide=0),t=s.currentslide,s.destroy(!0),i.extend(s,s.initials,{currentslide:t}),s.init(),e||s.changeslide({data:{message:"index",index:t}},!1)},e.prototype.registerbreakpoints=function(){var e,t,o,s=this,n=s.options.responsive||null;if("array"===i.type(n)&&n.length){s.respondto=s.options.respondto||"window";for(e in n)if(o=s.breakpoints.length-1,n.hasownproperty(e)){for(t=n[e].breakpoint;o>=0;)s.breakpoints[o]&&s.breakpoints[o]===t&&s.breakpoints.splice(o,1),o--;s.breakpoints.push(t),s.breakpointsettings[t]=n[e].settings}s.breakpoints.sort(function(i,e){return s.options.mobilefirst?i-e:e-i})}},e.prototype.reinit=function(){var e=this;e.$slides=e.$slidetrack.children(e.options.slide).addclass("slick-slide"),e.slidecount=e.$slides.length,e.currentslide>=e.slidecount&&0!==e.currentslide&&(e.currentslide=e.currentslide-e.options.slidestoscroll),e.slidecount<=e.options.slidestoshow&&(e.currentslide=0),e.registerbreakpoints(),e.setprops(),e.setupinfinite(),e.buildarrows(),e.updatearrows(),e.initarrowevents(),e.builddots(),e.updatedots(),e.initdotevents(),e.cleanupslideevents(),e.initslideevents(),e.checkresponsive(!1,!0),e.options.focusonselect===!0&&i(e.$slidetrack).children().on("click.slick",e.selecthandler),e.setslideclasses("number"==typeof e.currentslide?e.currentslide:0),e.setposition(),e.focushandler(),e.paused=!e.options.autoplay,e.autoplay(),e.$slider.trigger("reinit",[e])},e.prototype.resize=function(){var e=this;i(window).width()!==e.windowwidth&&(cleartimeout(e.windowdelay),e.windowdelay=window.settimeout(function(){e.windowwidth=i(window).width(),e.checkresponsive(),e.unslicked||e.setposition()},50))},e.prototype.removeslide=e.prototype.slickremove=function(i,e,t){var o=this;return"boolean"==typeof i?(e=i,i=e===!0?0:o.slidecount-1):i=e===!0?--i:i,!(o.slidecount<1||i<0||i>o.slidecount-1)&&(o.unload(),t===!0?o.$slidetrack.children().remove():o.$slidetrack.children(this.options.slide).eq(i).remove(),o.$slides=o.$slidetrack.children(this.options.slide),o.$slidetrack.children(this.options.slide).detach(),o.$slidetrack.append(o.$slides),o.$slidescache=o.$slides,void o.reinit())},e.prototype.setcss=function(i){var e,t,o=this,s={};o.options.rtl===!0&&(i=-i),e="left"==o.positionprop?math.ceil(i)+"px":"0px",t="top"==o.positionprop?math.ceil(i)+"px":"0px",s[o.positionprop]=i,o.transformsenabled===!1?o.$slidetrack.css(s):(s={},o.csstransitions===!1?(s[o.animtype]="translate("+e+", "+t+")",o.$slidetrack.css(s)):(s[o.animtype]="translate3d("+e+", "+t+", 0px)",o.$slidetrack.css(s)))},e.prototype.setdimensions=function(){var i=this;i.options.vertical===!1?i.options.centermode===!0&&i.$list.css({padding:"0px "+i.options.centerpadding}):(i.$list.height(i.$slides.first().outerheight(!0)*i.options.slidestoshow),i.options.centermode===!0&&i.$list.css({padding:i.options.centerpadding+" 0px"})),i.listwidth=i.$list.width(),i.listheight=i.$list.height(),i.options.vertical===!1&&i.options.variablewidth===!1?(i.slidewidth=math.ceil(i.listwidth/i.options.slidestoshow),i.$slidetrack.width(math.ceil(i.slidewidth*i.$slidetrack.children(".slick-slide").length))):i.options.variablewidth===!0?i.$slidetrack.width(5e3*i.slidecount):(i.slidewidth=math.ceil(i.listwidth),i.$slidetrack.height(math.ceil(i.$slides.first().outerheight(!0)*i.$slidetrack.children(".slick-slide").length)));var e=i.$slides.first().outerwidth(!0)-i.$slides.first().width();i.options.variablewidth===!1&&i.$slidetrack.children(".slick-slide").width(i.slidewidth-e)},e.prototype.setfade=function(){var e,t=this;t.$slides.each(function(o,s){e=t.slidewidth*o*-1,t.options.rtl===!0?i(s).css({position:"relative",right:e,top:0,zindex:t.options.zindex-2,opacity:0}):i(s).css({position:"relative",left:e,top:0,zindex:t.options.zindex-2,opacity:0})}),t.$slides.eq(t.currentslide).css({zindex:t.options.zindex-1,opacity:1})},e.prototype.setheight=function(){var i=this;if(1===i.options.slidestoshow&&i.options.adaptiveheight===!0&&i.options.vertical===!1){var e=i.$slides.eq(i.currentslide).outerheight(!0);i.$list.css("height",e)}},e.prototype.setoption=e.prototype.slicksetoption=function(){var e,t,o,s,n,r=this,l=!1;if("object"===i.type(arguments[0])?(o=arguments[0],l=arguments[1],n="multiple"):"string"===i.type(arguments[0])&&(o=arguments[0],s=arguments[1],l=arguments[2],"responsive"===arguments[0]&&"array"===i.type(arguments[1])?n="responsive":"undefined"!=typeof arguments[1]&&(n="single")),"single"===n)r.options[o]=s;else if("multiple"===n)i.each(o,function(i,e){r.options[i]=e});else if("responsive"===n)for(t in s)if("array"!==i.type(r.options.responsive))r.options.responsive=[s[t]];else{for(e=r.options.responsive.length-1;e>=0;)r.options.responsive[e].breakpoint===s[t].breakpoint&&r.options.responsive.splice(e,1),e--;r.options.responsive.push(s[t])}l&&(r.unload(),r.reinit())},e.prototype.setposition=function(){var i=this;i.setdimensions(),i.setheight(),i.options.fade===!1?i.setcss(i.getleft(i.currentslide)):i.setfade(),i.$slider.trigger("setposition",[i])},e.prototype.setprops=function(){var i=this,e=document.body.style;i.positionprop=i.options.vertical===!0?"top":"left",
"top"===i.positionprop?i.$slider.addclass("slick-vertical"):i.$slider.removeclass("slick-vertical"),void 0===e.webkittransition&&void 0===e.moztransition&&void 0===e.mstransition||i.options.usecss===!0&&(i.csstransitions=!0),i.options.fade&&("number"==typeof i.options.zindex?i.options.zindex<3&&(i.options.zindex=3):i.options.zindex=i.defaults.zindex),void 0!==e.otransform&&(i.animtype="otransform",i.transformtype="-o-transform",i.transitiontype="otransition",void 0===e.perspectiveproperty&&void 0===e.webkitperspective&&(i.animtype=!1)),void 0!==e.moztransform&&(i.animtype="moztransform",i.transformtype="-moz-transform",i.transitiontype="moztransition",void 0===e.perspectiveproperty&&void 0===e.mozperspective&&(i.animtype=!1)),void 0!==e.webkittransform&&(i.animtype="webkittransform",i.transformtype="-webkit-transform",i.transitiontype="webkittransition",void 0===e.perspectiveproperty&&void 0===e.webkitperspective&&(i.animtype=!1)),void 0!==e.mstransform&&(i.animtype="mstransform",i.transformtype="-ms-transform",i.transitiontype="mstransition",void 0===e.mstransform&&(i.animtype=!1)),void 0!==e.transform&&i.animtype!==!1&&(i.animtype="transform",i.transformtype="transform",i.transitiontype="transition"),i.transformsenabled=i.options.usetransform&&null!==i.animtype&&i.animtype!==!1},e.prototype.setslideclasses=function(i){var e,t,o,s,n=this;if(t=n.$slider.find(".slick-slide").removeclass("slick-active slick-center slick-current").attr("aria-hidden","true"),n.$slides.eq(i).addclass("slick-current"),n.options.centermode===!0){var r=n.options.slidestoshow%2===0?1:0;e=math.floor(n.options.slidestoshow/2),n.options.infinite===!0&&(i>=e&&i<=n.slidecount-1-e?n.$slides.slice(i-e+r,i+e+1).addclass("slick-active").attr("aria-hidden","false"):(o=n.options.slidestoshow+i,t.slice(o-e+1+r,o+e+2).addclass("slick-active").attr("aria-hidden","false")),0===i?t.eq(t.length-1-n.options.slidestoshow).addclass("slick-center"):i===n.slidecount-1&&t.eq(n.options.slidestoshow).addclass("slick-center")),n.$slides.eq(i).addclass("slick-center")}else i>=0&&i<=n.slidecount-n.options.slidestoshow?n.$slides.slice(i,i+n.options.slidestoshow).addclass("slick-active").attr("aria-hidden","false"):t.length<=n.options.slidestoshow?t.addclass("slick-active").attr("aria-hidden","false"):(s=n.slidecount%n.options.slidestoshow,o=n.options.infinite===!0?n.options.slidestoshow+i:i,n.options.slidestoshow==n.options.slidestoscroll&&n.slidecount-is.options.slidestoshow)){for(o=s.options.centermode===!0?s.options.slidestoshow+1:s.options.slidestoshow,e=s.slidecount;e>s.slidecount-o;e-=1)t=e-1,i(s.$slides[t]).clone(!0).attr("id","").attr("data-slick-index",t-s.slidecount).prependto(s.$slidetrack).addclass("slick-cloned");for(e=0;ea.getdotcount()*a.options.slidestoscroll)?void(a.options.fade===!1&&(o=a.currentslide,t!==!0&&a.slidecount>a.options.slidestoshow?a.animateslide(r,function(){a.postslide(o)}):a.postslide(o))):a.options.infinite===!1&&a.options.centermode===!0&&(i<0||i>a.slidecount-a.options.slidestoscroll)?void(a.options.fade===!1&&(o=a.currentslide,t!==!0&&a.slidecount>a.options.slidestoshow?a.animateslide(r,function(){a.postslide(o)}):a.postslide(o))):(a.options.autoplay&&clearinterval(a.autoplaytimer),s=o<0?a.slidecount%a.options.slidestoscroll!==0?a.slidecount-a.slidecount%a.options.slidestoscroll:a.slidecount+o:o>=a.slidecount?a.slidecount%a.options.slidestoscroll!==0?0:o-a.slidecount:o,a.animating=!0,a.$slider.trigger("beforechange",[a,a.currentslide,s]),n=a.currentslide,a.currentslide=s,a.setslideclasses(a.currentslide),a.options.asnavfor&&(l=a.getnavtarget(),l=l.slick("getslick"),l.slidecount<=l.options.slidestoshow&&l.setslideclasses(a.currentslide)),a.updatedots(),a.updatearrows(),a.options.fade===!0?(t!==!0?(a.fadeslideout(n),a.fadeslide(s,function(){a.postslide(s)})):a.postslide(s),void a.animateheight()):void(t!==!0&&a.slidecount>a.options.slidestoshow?a.animateslide(d,function(){a.postslide(s)}):a.postslide(s)))},e.prototype.startload=function(){var i=this;i.options.arrows===!0&&i.slidecount>i.options.slidestoshow&&(i.$prevarrow.hide(),i.$nextarrow.hide()),i.options.dots===!0&&i.slidecount>i.options.slidestoshow&&i.$dots.hide(),i.$slider.addclass("slick-loading")},e.prototype.swipedirection=function(){var i,e,t,o,s=this;return i=s.touchobject.startx-s.touchobject.curx,e=s.touchobject.starty-s.touchobject.cury,t=math.atan2(e,i),o=math.round(180*t/math.pi),o<0&&(o=360-math.abs(o)),o<=45&&o>=0?s.options.rtl===!1?"left":"right":o<=360&&o>=315?s.options.rtl===!1?"left":"right":o>=135&&o<=225?s.options.rtl===!1?"right":"left":s.options.verticalswiping===!0?o>=35&&o<=135?"down":"up":"vertical"},e.prototype.swipeend=function(i){var e,t,o=this;if(o.dragging=!1,o.swiping=!1,o.scrolling)return o.scrolling=!1,!1;if(o.interrupted=!1,o.shouldclick=!(o.touchobject.swipelength>10),void 0===o.touchobject.curx)return!1;if(o.touchobject.edgehit===!0&&o.$slider.trigger("edge",[o,o.swipedirection()]),o.touchobject.swipelength>=o.touchobject.minswipe){switch(t=o.swipedirection()){case"left":case"down":e=o.options.swipetoslide?o.checknavigable(o.currentslide+o.getslidecount()):o.currentslide+o.getslidecount(),o.currentdirection=0;break;case"right":case"up":e=o.options.swipetoslide?o.checknavigable(o.currentslide-o.getslidecount()):o.currentslide-o.getslidecount(),o.currentdirection=1}"vertical"!=t&&(o.slidehandler(e),o.touchobject={},o.$slider.trigger("swipe",[o,t]))}else o.touchobject.startx!==o.touchobject.curx&&(o.slidehandler(o.currentslide),o.touchobject={})},e.prototype.swipehandler=function(i){var e=this;if(!(e.options.swipe===!1||"ontouchend"in document&&e.options.swipe===!1||e.options.draggable===!1&&i.type.indexof("mouse")!==-1))switch(e.touchobject.fingercount=i.originalevent&&void 0!==i.originalevent.touches?i.originalevent.touches.length:1,e.touchobject.minswipe=e.listwidth/e.options.touchthreshold,e.options.verticalswiping===!0&&(e.touchobject.minswipe=e.listheight/e.options.touchthreshold),i.data.action){case"start":e.swipestart(i);break;case"move":e.swipemove(i);break;case"end":e.swipeend(i)}},e.prototype.swipemove=function(i){var e,t,o,s,n,r,l=this;return n=void 0!==i.originalevent?i.originalevent.touches:null,!(!l.dragging||l.scrolling||n&&1!==n.length)&&(e=l.getleft(l.currentslide),l.touchobject.curx=void 0!==n?n[0].pagex:i.clientx,l.touchobject.cury=void 0!==n?n[0].pagey:i.clienty,l.touchobject.swipelength=math.round(math.sqrt(math.pow(l.touchobject.curx-l.touchobject.startx,2))),r=math.round(math.sqrt(math.pow(l.touchobject.cury-l.touchobject.starty,2))),!l.options.verticalswiping&&!l.swiping&&r>4?(l.scrolling=!0,!1):(l.options.verticalswiping===!0&&(l.touchobject.swipelength=r),t=l.swipedirection(),void 0!==i.originalevent&&l.touchobject.swipelength>4&&(l.swiping=!0,i.preventdefault()),s=(l.options.rtl===!1?1:-1)*(l.touchobject.curx>l.touchobject.startx?1:-1),l.options.verticalswiping===!0&&(s=l.touchobject.cury>l.touchobject.starty?1:-1),o=l.touchobject.swipelength,l.touchobject.edgehit=!1,l.options.infinite===!1&&(0===l.currentslide&&"right"===t||l.currentslide>=l.getdotcount()&&"left"===t)&&(o=l.touchobject.swipelength*l.options.edgefriction,l.touchobject.edgehit=!0),l.options.vertical===!1?l.swipeleft=e+o*s:l.swipeleft=e+o*(l.$list.height()/l.listwidth)*s,l.options.verticalswiping===!0&&(l.swipeleft=e+o*s),l.options.fade!==!0&&l.options.touchmove!==!1&&(l.animating===!0?(l.swipeleft=null,!1):void l.setcss(l.swipeleft))))},e.prototype.swipestart=function(i){var e,t=this;return t.interrupted=!0,1!==t.touchobject.fingercount||t.slidecount<=t.options.slidestoshow?(t.touchobject={},!1):(void 0!==i.originalevent&&void 0!==i.originalevent.touches&&(e=i.originalevent.touches[0]),t.touchobject.startx=t.touchobject.curx=void 0!==e?e.pagex:i.clientx,t.touchobject.starty=t.touchobject.cury=void 0!==e?e.pagey:i.clienty,void(t.dragging=!0))},e.prototype.unfilterslides=e.prototype.slickunfilter=function(){var i=this;null!==i.$slidescache&&(i.unload(),i.$slidetrack.children(this.options.slide).detach(),i.$slidescache.appendto(i.$slidetrack),i.reinit())},e.prototype.unload=function(){var e=this;i(".slick-cloned",e.$slider).remove(),e.$dots&&e.$dots.remove(),e.$prevarrow&&e.htmlexpr.test(e.options.prevarrow)&&e.$prevarrow.remove(),e.$nextarrow&&e.htmlexpr.test(e.options.nextarrow)&&e.$nextarrow.remove(),e.$slides.removeclass("slick-slide slick-active slick-visible slick-current").attr("aria-hidden","true").css("width","")},e.prototype.unslick=function(i){var e=this;e.$slider.trigger("unslick",[e,i]),e.destroy()},e.prototype.updatearrows=function(){var i,e=this;i=math.floor(e.options.slidestoshow/2),e.options.arrows===!0&&e.slidecount>e.options.slidestoshow&&!e.options.infinite&&(e.$prevarrow.removeclass("slick-disabled").attr("aria-disabled","false"),e.$nextarrow.removeclass("slick-disabled").attr("aria-disabled","false"),0===e.currentslide?(e.$prevarrow.addclass("slick-disabled").attr("aria-disabled","true"),e.$nextarrow.removeclass("slick-disabled").attr("aria-disabled","false")):e.currentslide>=e.slidecount-e.options.slidestoshow&&e.options.centermode===!1?(e.$nextarrow.addclass("slick-disabled").attr("aria-disabled","true"),e.$prevarrow.removeclass("slick-disabled").attr("aria-disabled","false")):e.currentslide>=e.slidecount-1&&e.options.centermode===!0&&(e.$nextarrow.addclass("slick-disabled").attr("aria-disabled","true"),e.$prevarrow.removeclass("slick-disabled").attr("aria-disabled","false")))},e.prototype.updatedots=function(){var i=this;null!==i.$dots&&(i.$dots.find("li").removeclass("slick-active").end(),i.$dots.find("li").eq(math.floor(i.currentslide/i.options.slidestoscroll)).addclass("slick-active"))},e.prototype.visibility=function(){var i=this;i.options.autoplay&&(document[i.hidden]?i.interrupted=!0:i.interrupted=!1)},i.fn.slick=function(){var i,t,o=this,s=arguments[0],n=array.prototype.slice.call(arguments,1),r=o.length;for(i=0;i