/*
_ _ _ _
___| (_) ___| | __ (_)___
/ __| | |/ __| |/ / | / __|
\__ \ | | (__| < _ | \__ \
|___/_|_|\___|_|\_(_)/ |___/
|__/
version: 1.6.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(a){"use strict";"function"==typeof define&&define.amd?define(["jquery"],a):"undefined"!=typeof exports?module.exports=a(require("jquery")):a(jquery)}(function(a){"use strict";var b=window.slick||{};b=function(){function c(c,d){var f,e=this;e.defaults={accessibility:!0,adaptiveheight:!1,appendarrows:a(c),appenddots:a(c),arrows:!0,asnavfor:null,prevarrow:'',nextarrow:'',autoplay:!1,autoplayspeed:3e3,centermode:!1,centerpadding:"50px",cssease:"ease",custompaging:function(b,c){return a('').text(c+1)},dots:!1,dotsclass:"slick-dots",draggable:!0,easing:"linear",edgefriction:.35,fade:!1,focusonselect:!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},e.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,slidecount:null,slidewidth:null,$slidetrack:null,$slides:null,sliding:!1,slideoffset:0,swipeleft:null,$list:null,touchobject:{},transformsenabled:!1,unslicked:!1},a.extend(e,e.initials),e.activebreakpoint=null,e.animtype=null,e.animprop=null,e.breakpoints=[],e.breakpointsettings=[],e.csstransitions=!1,e.focussed=!1,e.interrupted=!1,e.hidden="hidden",e.paused=!0,e.positionprop=null,e.respondto=null,e.rowcount=1,e.shouldclick=!0,e.$slider=a(c),e.$slidescache=null,e.transformtype=null,e.transitiontype=null,e.visibilitychange="visibilitychange",e.windowwidth=0,e.windowtimer=null,f=a(c).data("slick")||{},e.options=a.extend({},e.defaults,d,f),e.currentslide=e.options.initialslide,e.originalsettings=e.options,"undefined"!=typeof document.mozhidden?(e.hidden="mozhidden",e.visibilitychange="mozvisibilitychange"):"undefined"!=typeof document.webkithidden&&(e.hidden="webkithidden",e.visibilitychange="webkitvisibilitychange"),e.autoplay=a.proxy(e.autoplay,e),e.autoplayclear=a.proxy(e.autoplayclear,e),e.autoplayiterator=a.proxy(e.autoplayiterator,e),e.changeslide=a.proxy(e.changeslide,e),e.clickhandler=a.proxy(e.clickhandler,e),e.selecthandler=a.proxy(e.selecthandler,e),e.setposition=a.proxy(e.setposition,e),e.swipehandler=a.proxy(e.swipehandler,e),e.draghandler=a.proxy(e.draghandler,e),e.keyhandler=a.proxy(e.keyhandler,e),e.instanceuid=b++,e.htmlexpr=/^(?:\s*(<[\w\w]+>)[^>]*)$/,e.registerbreakpoints(),e.init(!0)}var b=0;return c}(),b.prototype.activateada=function(){var a=this;a.$slidetrack.find(".slick-active").attr({"aria-hidden":"false"}).find("a, input, button, select").attr({tabindex:"0"})},b.prototype.addslide=b.prototype.slickadd=function(b,c,d){var e=this;if("boolean"==typeof c)d=c,c=null;else if(0>c||c>=e.slidecount)return!1;e.unload(),"number"==typeof c?0===c&&0===e.$slides.length?a(b).appendto(e.$slidetrack):d?a(b).insertbefore(e.$slides.eq(c)):a(b).insertafter(e.$slides.eq(c)):d===!0?a(b).prependto(e.$slidetrack):a(b).appendto(e.$slidetrack),e.$slides=e.$slidetrack.children(this.options.slide),e.$slidetrack.children(this.options.slide).detach(),e.$slidetrack.append(e.$slides),e.$slides.each(function(b,c){a(c).attr("data-slick-index",b)}),e.$slidescache=e.$slides,e.reinit()},b.prototype.animateheight=function(){var a=this;if(1===a.options.slidestoshow&&a.options.adaptiveheight===!0&&a.options.vertical===!1){var b=a.$slides.eq(a.currentslide).outerheight(!0);a.$list.animate({height:b},a.options.speed)}},b.prototype.animateslide=function(b,c){var d={},e=this;e.animateheight(),e.options.rtl===!0&&e.options.vertical===!1&&(b=-b),e.transformsenabled===!1?e.options.vertical===!1?e.$slidetrack.animate({left:b},e.options.speed,e.options.easing,c):e.$slidetrack.animate({top:b},e.options.speed,e.options.easing,c):e.csstransitions===!1?(e.options.rtl===!0&&(e.currentleft=-e.currentleft),a({animstart:e.currentleft}).animate({animstart:b},{duration:e.options.speed,easing:e.options.easing,step:function(a){a=math.ceil(a),e.options.vertical===!1?(d[e.animtype]="translate("+a+"px, 0px)",e.$slidetrack.css(d)):(d[e.animtype]="translate(0px,"+a+"px)",e.$slidetrack.css(d))},complete:function(){c&&c.call()}})):(e.applytransition(),b=math.ceil(b),e.options.vertical===!1?d[e.animtype]="translate3d("+b+"px, 0px, 0px)":d[e.animtype]="translate3d(0px,"+b+"px, 0px)",e.$slidetrack.css(d),c&&settimeout(function(){e.disabletransition(),c.call()},e.options.speed))},b.prototype.getnavtarget=function(){var b=this,c=b.options.asnavfor;return c&&null!==c&&(c=a(c).not(b.$slider)),c},b.prototype.asnavfor=function(b){var c=this,d=c.getnavtarget();null!==d&&"object"==typeof d&&d.each(function(){var c=a(this).slick("getslick");c.unslicked||c.slidehandler(b,!0)})},b.prototype.applytransition=function(a){var b=this,c={};b.options.fade===!1?c[b.transitiontype]=b.transformtype+" "+b.options.speed+"ms "+b.options.cssease:c[b.transitiontype]="opacity "+b.options.speed+"ms "+b.options.cssease,b.options.fade===!1?b.$slidetrack.css(c):b.$slides.eq(a).css(c)},b.prototype.autoplay=function(){var a=this;a.autoplayclear(),a.slidecount>a.options.slidestoshow&&(a.autoplaytimer=setinterval(a.autoplayiterator,a.options.autoplayspeed))},b.prototype.autoplayclear=function(){var a=this;a.autoplaytimer&&clearinterval(a.autoplaytimer)},b.prototype.autoplayiterator=function(){var a=this,b=a.currentslide+a.options.slidestoscroll;a.paused||a.interrupted||a.focussed||(a.options.infinite===!1&&(1===a.direction&&a.currentslide+1===a.slidecount-1?a.direction=0:0===a.direction&&(b=a.currentslide-a.options.slidestoscroll,a.currentslide-1===0&&(a.direction=1))),a.slidehandler(b))},b.prototype.buildarrows=function(){var b=this;b.options.arrows===!0&&(b.$prevarrow=a(b.options.prevarrow).addclass("slick-arrow"),b.$nextarrow=a(b.options.nextarrow).addclass("slick-arrow"),b.slidecount>b.options.slidestoshow?(b.$prevarrow.removeclass("slick-hidden").removeattr("aria-hidden tabindex"),b.$nextarrow.removeclass("slick-hidden").removeattr("aria-hidden tabindex"),b.htmlexpr.test(b.options.prevarrow)&&b.$prevarrow.prependto(b.options.appendarrows),b.htmlexpr.test(b.options.nextarrow)&&b.$nextarrow.appendto(b.options.appendarrows),b.options.infinite!==!0&&b.$prevarrow.addclass("slick-disabled").attr("aria-disabled","true")):b.$prevarrow.add(b.$nextarrow).addclass("slick-hidden").attr({"aria-disabled":"true",tabindex:"-1"}))},b.prototype.builddots=function(){var c,d,b=this;if(b.options.dots===!0&&b.slidecount>b.options.slidestoshow){for(b.$slider.addclass("slick-dotted"),d=a("
").addclass(b.options.dotsclass),c=0;c<=b.getdotcount();c+=1)d.append(a("").append(b.options.custompaging.call(this,b,c)));b.$dots=d.appendto(b.options.appenddots),b.$dots.find("li").first().addclass("slick-active").attr("aria-hidden","false")}},b.prototype.buildout=function(){var b=this;b.$slides=b.$slider.children(b.options.slide+":not(.slick-cloned)").addclass("slick-slide"),b.slidecount=b.$slides.length,b.$slides.each(function(b,c){a(c).attr("data-slick-index",b).data("originalstyling",a(c).attr("style")||"")}),b.$slider.addclass("slick-slider"),b.$slidetrack=0===b.slidecount?a('').appendto(b.$slider):b.$slides.wrapall('').parent(),b.$list=b.$slidetrack.wrap('').parent(),b.$slidetrack.css("opacity",0),(b.options.centermode===!0||b.options.swipetoslide===!0)&&(b.options.slidestoscroll=1),a("img[data-lazy]",b.$slider).not("[src]").addclass("slick-loading"),b.setupinfinite(),b.buildarrows(),b.builddots(),b.updatedots(),b.setslideclasses("number"==typeof b.currentslide?b.currentslide:0),b.options.draggable===!0&&b.$list.addclass("draggable")},b.prototype.buildrows=function(){var b,c,d,e,f,g,h,a=this;if(e=document.createdocumentfragment(),g=a.$slider.children(),a.options.rows>1){for(h=a.options.slidesperrow*a.options.rows,f=math.ceil(g.length/h),b=0;f>b;b++){var i=document.createelement("div");for(c=0;cd.breakpoints[e]&&(f=d.breakpoints[e]));null!==f?null!==d.activebreakpoint?(f!==d.activebreakpoint||c)&&(d.activebreakpoint=f,"unslick"===d.breakpointsettings[f]?d.unslick(f):(d.options=a.extend({},d.originalsettings,d.breakpointsettings[f]),b===!0&&(d.currentslide=d.options.initialslide),d.refresh(b)),h=f):(d.activebreakpoint=f,"unslick"===d.breakpointsettings[f]?d.unslick(f):(d.options=a.extend({},d.originalsettings,d.breakpointsettings[f]),b===!0&&(d.currentslide=d.options.initialslide),d.refresh(b)),h=f):null!==d.activebreakpoint&&(d.activebreakpoint=null,d.options=d.originalsettings,b===!0&&(d.currentslide=d.options.initialslide),d.refresh(b),h=f),b||h===!1||d.$slider.trigger("breakpoint",[d,h])}},b.prototype.changeslide=function(b,c){var f,g,h,d=this,e=a(b.currenttarget);switch(e.is("a")&&b.preventdefault(),e.is("li")||(e=e.closest("li")),h=d.slidecount%d.options.slidestoscroll!==0,f=h?0:(d.slidecount-d.currentslide)%d.options.slidestoscroll,b.data.message){case"previous":g=0===f?d.options.slidestoscroll:d.options.slidestoshow-f,d.slidecount>d.options.slidestoshow&&d.slidehandler(d.currentslide-g,!1,c);break;case"next":g=0===f?d.options.slidestoscroll:f,d.slidecount>d.options.slidestoshow&&d.slidehandler(d.currentslide+g,!1,c);break;case"index":var i=0===b.data.index?0:b.data.index||e.index()*d.options.slidestoscroll;d.slidehandler(d.checknavigable(i),!1,c),e.children().trigger("focus");break;default:return}},b.prototype.checknavigable=function(a){var c,d,b=this;if(c=b.getnavigableindexes(),d=0,a>c[c.length-1])a=c[c.length-1];else for(var e in c){if(ab.options.slidestoshow&&(b.$prevarrow&&b.$prevarrow.off("click.slick",b.changeslide),b.$nextarrow&&b.$nextarrow.off("click.slick",b.changeslide)),b.$list.off("touchstart.slick mousedown.slick",b.swipehandler),b.$list.off("touchmove.slick mousemove.slick",b.swipehandler),b.$list.off("touchend.slick mouseup.slick",b.swipehandler),b.$list.off("touchcancel.slick mouseleave.slick",b.swipehandler),b.$list.off("click.slick",b.clickhandler),a(document).off(b.visibilitychange,b.visibility),b.cleanupslideevents(),b.options.accessibility===!0&&b.$list.off("keydown.slick",b.keyhandler),b.options.focusonselect===!0&&a(b.$slidetrack).children().off("click.slick",b.selecthandler),a(window).off("orientationchange.slick.slick-"+b.instanceuid,b.orientationchange),a(window).off("resize.slick.slick-"+b.instanceuid,b.resize),a("[draggable!=true]",b.$slidetrack).off("dragstart",b.preventdefault),a(window).off("load.slick.slick-"+b.instanceuid,b.setposition),a(document).off("ready.slick.slick-"+b.instanceuid,b.setposition)},b.prototype.cleanupslideevents=function(){var b=this;b.$list.off("mouseenter.slick",a.proxy(b.interrupt,b,!0)),b.$list.off("mouseleave.slick",a.proxy(b.interrupt,b,!1))},b.prototype.cleanuprows=function(){var b,a=this;a.options.rows>1&&(b=a.$slides.children().children(),b.removeattr("style"),a.$slider.empty().append(b))},b.prototype.clickhandler=function(a){var b=this;b.shouldclick===!1&&(a.stopimmediatepropagation(),a.stoppropagation(),a.preventdefault())},b.prototype.destroy=function(b){var c=this;c.autoplayclear(),c.touchobject={},c.cleanupevents(),a(".slick-cloned",c.$slider).detach(),c.$dots&&c.$dots.remove(),c.$prevarrow&&c.$prevarrow.length&&(c.$prevarrow.removeclass("slick-disabled slick-arrow slick-hidden").removeattr("aria-hidden aria-disabled tabindex").css("display",""),c.htmlexpr.test(c.options.prevarrow)&&c.$prevarrow.remove()),c.$nextarrow&&c.$nextarrow.length&&(c.$nextarrow.removeclass("slick-disabled slick-arrow slick-hidden").removeattr("aria-hidden aria-disabled tabindex").css("display",""),c.htmlexpr.test(c.options.nextarrow)&&c.$nextarrow.remove()),c.$slides&&(c.$slides.removeclass("slick-slide slick-active slick-center slick-visible slick-current").removeattr("aria-hidden").removeattr("data-slick-index").each(function(){a(this).attr("style",a(this).data("originalstyling"))}),c.$slidetrack.children(this.options.slide).detach(),c.$slidetrack.detach(),c.$list.detach(),c.$slider.append(c.$slides)),c.cleanuprows(),c.$slider.removeclass("slick-slider"),c.$slider.removeclass("slick-initialized"),c.$slider.removeclass("slick-dotted"),c.unslicked=!0,b||c.$slider.trigger("destroy",[c])},b.prototype.disabletransition=function(a){var b=this,c={};c[b.transitiontype]="",b.options.fade===!1?b.$slidetrack.css(c):b.$slides.eq(a).css(c)},b.prototype.fadeslide=function(a,b){var c=this;c.csstransitions===!1?(c.$slides.eq(a).css({zindex:c.options.zindex}),c.$slides.eq(a).animate({opacity:1},c.options.speed,c.options.easing,b)):(c.applytransition(a),c.$slides.eq(a).css({opacity:1,zindex:c.options.zindex}),b&&settimeout(function(){c.disabletransition(a),b.call()},c.options.speed))},b.prototype.fadeslideout=function(a){var b=this;b.csstransitions===!1?b.$slides.eq(a).animate({opacity:0,zindex:b.options.zindex-2},b.options.speed,b.options.easing):(b.applytransition(a),b.$slides.eq(a).css({opacity:0,zindex:b.options.zindex-2}))},b.prototype.filterslides=b.prototype.slickfilter=function(a){var b=this;null!==a&&(b.$slidescache=b.$slides,b.unload(),b.$slidetrack.children(this.options.slide).detach(),b.$slidescache.filter(a).appendto(b.$slidetrack),b.reinit())},b.prototype.focushandler=function(){var b=this;b.$slider.off("focus.slick blur.slick").on("focus.slick blur.slick","*:not(.slick-arrow)",function(c){c.stopimmediatepropagation();var d=a(this);settimeout(function(){b.options.pauseonfocus&&(b.focussed=d.is(":focus"),b.autoplay())},0)})},b.prototype.getcurrent=b.prototype.slickcurrentslide=function(){var a=this;return a.currentslide},b.prototype.getdotcount=function(){var a=this,b=0,c=0,d=0;if(a.options.infinite===!0)for(;bb.options.slidestoshow&&(b.slideoffset=b.slidewidth*b.options.slidestoshow*-1,e=d*b.options.slidestoshow*-1),b.slidecount%b.options.slidestoscroll!==0&&a+b.options.slidestoscroll>b.slidecount&&b.slidecount>b.options.slidestoshow&&(a>b.slidecount?(b.slideoffset=(b.options.slidestoshow-(a-b.slidecount))*b.slidewidth*-1,e=(b.options.slidestoshow-(a-b.slidecount))*d*-1):(b.slideoffset=b.slidecount%b.options.slidestoscroll*b.slidewidth*-1,e=b.slidecount%b.options.slidestoscroll*d*-1))):a+b.options.slidestoshow>b.slidecount&&(b.slideoffset=(a+b.options.slidestoshow-b.slidecount)*b.slidewidth,e=(a+b.options.slidestoshow-b.slidecount)*d),b.slidecount<=b.options.slidestoshow&&(b.slideoffset=0,e=0),b.options.centermode===!0&&b.options.infinite===!0?b.slideoffset+=b.slidewidth*math.floor(b.options.slidestoshow/2)-b.slidewidth:b.options.centermode===!0&&(b.slideoffset=0,b.slideoffset+=b.slidewidth*math.floor(b.options.slidestoshow/2)),c=b.options.vertical===!1?a*b.slidewidth*-1+b.slideoffset:a*d*-1+e,b.options.variablewidth===!0&&(f=b.slidecount<=b.options.slidestoshow||b.options.infinite===!1?b.$slidetrack.children(".slick-slide").eq(a):b.$slidetrack.children(".slick-slide").eq(a+b.options.slidestoshow),c=b.options.rtl===!0?f[0]?-1*(b.$slidetrack.width()-f[0].offsetleft-f.width()):0:f[0]?-1*f[0].offsetleft:0,b.options.centermode===!0&&(f=b.slidecount<=b.options.slidestoshow||b.options.infinite===!1?b.$slidetrack.children(".slick-slide").eq(a):b.$slidetrack.children(".slick-slide").eq(a+b.options.slidestoshow+1),c=b.options.rtl===!0?f[0]?-1*(b.$slidetrack.width()-f[0].offsetleft-f.width()):0:f[0]?-1*f[0].offsetleft:0,c+=(b.$list.width()-f.outerwidth())/2)),c},b.prototype.getoption=b.prototype.slickgetoption=function(a){var b=this;return b.options[a]},b.prototype.getnavigableindexes=function(){var e,a=this,b=0,c=0,d=[];for(a.options.infinite===!1?e=a.slidecount:(b=-1*a.options.slidestoscroll,c=-1*a.options.slidestoscroll,e=2*a.slidecount);e>b;)d.push(b),b=c+a.options.slidestoscroll,c+=a.options.slidestoscroll<=a.options.slidestoshow?a.options.slidestoscroll:a.options.slidestoshow;return d},b.prototype.getslick=function(){return this},b.prototype.getslidecount=function(){var c,d,e,b=this;return e=b.options.centermode===!0?b.slidewidth*math.floor(b.options.slidestoshow/2):0,b.options.swipetoslide===!0?(b.$slidetrack.find(".slick-slide").each(function(c,f){return f.offsetleft-e+a(f).outerwidth()/2>-1*b.swipeleft?(d=f,!1):void 0}),c=math.abs(a(d).attr("data-slick-index")-b.currentslide)||1):b.options.slidestoscroll},b.prototype.goto=b.prototype.slickgoto=function(a,b){var c=this;c.changeslide({data:{message:"index",index:parseint(a)}},b)},b.prototype.init=function(b){var c=this;a(c.$slider).hasclass("slick-initialized")||(a(c.$slider).addclass("slick-initialized"),c.buildrows(),c.buildout(),c.setprops(),c.startload(),c.loadslider(),c.initializeevents(),c.updatearrows(),c.updatedots(),c.checkresponsive(!0),c.focushandler()),b&&c.$slider.trigger("init",[c]),c.options.accessibility===!0&&c.initada(),c.options.autoplay&&(c.paused=!1,c.autoplay())},b.prototype.initada=function(){var b=this;b.$slides.add(b.$slidetrack.find(".slick-cloned")).attr({"aria-hidden":"true",tabindex:"-1"}).find("a, input, button, select").attr({tabindex:"-1"}),b.$slidetrack.attr("role","listbox"),b.$slides.not(b.$slidetrack.find(".slick-cloned")).each(function(c){a(this).attr({role:"option","aria-describedby":"slick-slide"+b.instanceuid+c})}),null!==b.$dots&&b.$dots.attr("role","tablist").find("li").each(function(c){a(this).attr({role:"presentation","aria-selected":"false","aria-controls":"navigation"+b.instanceuid+c,id:"slick-slide"+b.instanceuid+c})}).first().attr("aria-selected","true").end().find("button").attr("role","button").end().closest("div").attr("role","toolbar"),b.activateada()},b.prototype.initarrowevents=function(){var a=this;a.options.arrows===!0&&a.slidecount>a.options.slidestoshow&&(a.$prevarrow.off("click.slick").on("click.slick",{message:"previous"},a.changeslide),a.$nextarrow.off("click.slick").on("click.slick",{message:"next"},a.changeslide))},b.prototype.initdotevents=function(){var b=this;b.options.dots===!0&&b.slidecount>b.options.slidestoshow&&a("li",b.$dots).on("click.slick",{message:"index"},b.changeslide),b.options.dots===!0&&b.options.pauseondotshover===!0&&a("li",b.$dots).on("mouseenter.slick",a.proxy(b.interrupt,b,!0)).on("mouseleave.slick",a.proxy(b.interrupt,b,!1))},b.prototype.initslideevents=function(){var b=this;b.options.pauseonhover&&(b.$list.on("mouseenter.slick",a.proxy(b.interrupt,b,!0)),b.$list.on("mouseleave.slick",a.proxy(b.interrupt,b,!1)))},b.prototype.initializeevents=function(){var b=this;b.initarrowevents(),b.initdotevents(),b.initslideevents(),b.$list.on("touchstart.slick mousedown.slick",{action:"start"},b.swipehandler),b.$list.on("touchmove.slick mousemove.slick",{action:"move"},b.swipehandler),b.$list.on("touchend.slick mouseup.slick",{action:"end"},b.swipehandler),b.$list.on("touchcancel.slick mouseleave.slick",{action:"end"},b.swipehandler),b.$list.on("click.slick",b.clickhandler),a(document).on(b.visibilitychange,a.proxy(b.visibility,b)),b.options.accessibility===!0&&b.$list.on("keydown.slick",b.keyhandler),b.options.focusonselect===!0&&a(b.$slidetrack).children().on("click.slick",b.selecthandler),a(window).on("orientationchange.slick.slick-"+b.instanceuid,a.proxy(b.orientationchange,b)),a(window).on("resize.slick.slick-"+b.instanceuid,a.proxy(b.resize,b)),a("[draggable!=true]",b.$slidetrack).on("dragstart",b.preventdefault),a(window).on("load.slick.slick-"+b.instanceuid,b.setposition),a(document).on("ready.slick.slick-"+b.instanceuid,b.setposition)},b.prototype.initui=function(){var a=this;a.options.arrows===!0&&a.slidecount>a.options.slidestoshow&&(a.$prevarrow.show(),a.$nextarrow.show()),a.options.dots===!0&&a.slidecount>a.options.slidestoshow&&a.$dots.show()},b.prototype.keyhandler=function(a){var b=this;a.target.tagname.match("textarea|input|select")||(37===a.keycode&&b.options.accessibility===!0?b.changeslide({data:{message:b.options.rtl===!0?"next":"previous"}}):39===a.keycode&&b.options.accessibility===!0&&b.changeslide({data:{message:b.options.rtl===!0?"previous":"next"}}))},b.prototype.lazyload=function(){function g(c){a("img[data-lazy]",c).each(function(){var c=a(this),d=a(this).attr("data-lazy"),e=document.createelement("img");e.onload=function(){c.animate({opacity:0},100,function(){c.attr("src",d).animate({opacity:1},200,function(){c.removeattr("data-lazy").removeclass("slick-loading")}),b.$slider.trigger("lazyloaded",[b,c,d])})},e.onerror=function(){c.removeattr("data-lazy").removeclass("slick-loading").addclass("slick-lazyload-error"),b.$slider.trigger("lazyloaderror",[b,c,d])},e.src=d})}var c,d,e,f,b=this;b.options.centermode===!0?b.options.infinite===!0?(e=b.currentslide+(b.options.slidestoshow/2+1),f=e+b.options.slidestoshow+2):(e=math.max(0,b.currentslide-(b.options.slidestoshow/2+1)),f=2+(b.options.slidestoshow/2+1)+b.currentslide):(e=b.options.infinite?b.options.slidestoshow+b.currentslide:b.currentslide,f=math.ceil(e+b.options.slidestoshow),b.options.fade===!0&&(e>0&&e--,f<=b.slidecount&&f++)),c=b.$slider.find(".slick-slide").slice(e,f),g(c),b.slidecount<=b.options.slidestoshow?(d=b.$slider.find(".slick-slide"),g(d)):b.currentslide>=b.slidecount-b.options.slidestoshow?(d=b.$slider.find(".slick-cloned").slice(0,b.options.slidestoshow),g(d)):0===b.currentslide&&(d=b.$slider.find(".slick-cloned").slice(-1*b.options.slidestoshow),g(d))},b.prototype.loadslider=function(){var a=this;a.setposition(),a.$slidetrack.css({opacity:1}),a.$slider.removeclass("slick-loading"),a.initui(),"progressive"===a.options.lazyload&&a.progressivelazyload()},b.prototype.next=b.prototype.slicknext=function(){var a=this;a.changeslide({data:{message:"next"}})},b.prototype.orientationchange=function(){var a=this;a.checkresponsive(),a.setposition()},b.prototype.pause=b.prototype.slickpause=function(){var a=this;a.autoplayclear(),a.paused=!0},b.prototype.play=b.prototype.slickplay=function(){var a=this;a.autoplay(),a.options.autoplay=!0,a.paused=!1,a.focussed=!1,a.interrupted=!1},b.prototype.postslide=function(a){var b=this;b.unslicked||(b.$slider.trigger("afterchange",[b,a]),b.animating=!1,b.setposition(),b.swipeleft=null,b.options.autoplay&&b.autoplay(),b.options.accessibility===!0&&b.initada())},b.prototype.prev=b.prototype.slickprev=function(){var a=this;a.changeslide({data:{message:"previous"}})},b.prototype.preventdefault=function(a){a.preventdefault()},b.prototype.progressivelazyload=function(b){b=b||1;var e,f,g,c=this,d=a("img[data-lazy]",c.$slider);d.length?(e=d.first(),f=e.attr("data-lazy"),g=document.createelement("img"),g.onload=function(){e.attr("src",f).removeattr("data-lazy").removeclass("slick-loading"),c.options.adaptiveheight===!0&&c.setposition(),c.$slider.trigger("lazyloaded",[c,e,f]),c.progressivelazyload()},g.onerror=function(){3>b?settimeout(function(){c.progressivelazyload(b+1)},500):(e.removeattr("data-lazy").removeclass("slick-loading").addclass("slick-lazyload-error"),c.$slider.trigger("lazyloaderror",[c,e,f]),c.progressivelazyload())},g.src=f):c.$slider.trigger("allimagesloaded",[c])},b.prototype.refresh=function(b){var d,e,c=this;e=c.slidecount-c.options.slidestoshow,!c.options.infinite&&c.currentslide>e&&(c.currentslide=e),c.slidecount<=c.options.slidestoshow&&(c.currentslide=0),d=c.currentslide,c.destroy(!0),a.extend(c,c.initials,{currentslide:d}),c.init(),b||c.changeslide({data:{message:"index",index:d}},!1)},b.prototype.registerbreakpoints=function(){var c,d,e,b=this,f=b.options.responsive||null;if("array"===a.type(f)&&f.length){b.respondto=b.options.respondto||"window";for(c in f)if(e=b.breakpoints.length-1,d=f[c].breakpoint,f.hasownproperty(c)){for(;e>=0;)b.breakpoints[e]&&b.breakpoints[e]===d&&b.breakpoints.splice(e,1),e--;b.breakpoints.push(d),b.breakpointsettings[d]=f[c].settings}b.breakpoints.sort(function(a,c){return b.options.mobilefirst?a-c:c-a})}},b.prototype.reinit=function(){var b=this;b.$slides=b.$slidetrack.children(b.options.slide).addclass("slick-slide"),b.slidecount=b.$slides.length,b.currentslide>=b.slidecount&&0!==b.currentslide&&(b.currentslide=b.currentslide-b.options.slidestoscroll),b.slidecount<=b.options.slidestoshow&&(b.currentslide=0),b.registerbreakpoints(),b.setprops(),b.setupinfinite(),b.buildarrows(),b.updatearrows(),b.initarrowevents(),b.builddots(),b.updatedots(),b.initdotevents(),b.cleanupslideevents(),b.initslideevents(),b.checkresponsive(!1,!0),b.options.focusonselect===!0&&a(b.$slidetrack).children().on("click.slick",b.selecthandler),b.setslideclasses("number"==typeof b.currentslide?b.currentslide:0),b.setposition(),b.focushandler(),b.paused=!b.options.autoplay,b.autoplay(),b.$slider.trigger("reinit",[b])},b.prototype.resize=function(){var b=this;a(window).width()!==b.windowwidth&&(cleartimeout(b.windowdelay),b.windowdelay=window.settimeout(function(){b.windowwidth=a(window).width(),b.checkresponsive(),b.unslicked||b.setposition()},50))},b.prototype.removeslide=b.prototype.slickremove=function(a,b,c){var d=this;return"boolean"==typeof a?(b=a,a=b===!0?0:d.slidecount-1):a=b===!0?--a:a,d.slidecount<1||0>a||a>d.slidecount-1?!1:(d.unload(),c===!0?d.$slidetrack.children().remove():d.$slidetrack.children(this.options.slide).eq(a).remove(),d.$slides=d.$slidetrack.children(this.options.slide),d.$slidetrack.children(this.options.slide).detach(),d.$slidetrack.append(d.$slides),d.$slidescache=d.$slides,void d.reinit())},b.prototype.setcss=function(a){var d,e,b=this,c={};b.options.rtl===!0&&(a=-a),d="left"==b.positionprop?math.ceil(a)+"px":"0px",e="top"==b.positionprop?math.ceil(a)+"px":"0px",c[b.positionprop]=a,b.transformsenabled===!1?b.$slidetrack.css(c):(c={},b.csstransitions===!1?(c[b.animtype]="translate("+d+", "+e+")",b.$slidetrack.css(c)):(c[b.animtype]="translate3d("+d+", "+e+", 0px)",b.$slidetrack.css(c)))},b.prototype.setdimensions=function(){var a=this;a.options.vertical===!1?a.options.centermode===!0&&a.$list.css({padding:"0px "+a.options.centerpadding}):(a.$list.height(a.$slides.first().outerheight(!0)*a.options.slidestoshow),a.options.centermode===!0&&a.$list.css({padding:a.options.centerpadding+" 0px"})),a.listwidth=a.$list.width(),a.listheight=a.$list.height(),a.options.vertical===!1&&a.options.variablewidth===!1?(a.slidewidth=math.ceil(a.listwidth/a.options.slidestoshow),a.$slidetrack.width(math.ceil(a.slidewidth*a.$slidetrack.children(".slick-slide").length))):a.options.variablewidth===!0?a.$slidetrack.width(5e3*a.slidecount):(a.slidewidth=math.ceil(a.listwidth),a.$slidetrack.height(math.ceil(a.$slides.first().outerheight(!0)*a.$slidetrack.children(".slick-slide").length)));var b=a.$slides.first().outerwidth(!0)-a.$slides.first().width();a.options.variablewidth===!1&&a.$slidetrack.children(".slick-slide").width(a.slidewidth-b)},b.prototype.setfade=function(){var c,b=this;b.$slides.each(function(d,e){c=b.slidewidth*d*-1,b.options.rtl===!0?a(e).css({position:"relative",right:c,top:0,zindex:b.options.zindex-2,opacity:0}):a(e).css({position:"relative",left:c,top:0,zindex:b.options.zindex-2,opacity:0})}),b.$slides.eq(b.currentslide).css({zindex:b.options.zindex-1,opacity:1})},b.prototype.setheight=function(){var a=this;if(1===a.options.slidestoshow&&a.options.adaptiveheight===!0&&a.options.vertical===!1){var b=a.$slides.eq(a.currentslide).outerheight(!0);a.$list.css("height",b)}},b.prototype.setoption=b.prototype.slicksetoption=function(){var c,d,e,f,h,b=this,g=!1;if("object"===a.type(arguments[0])?(e=arguments[0],g=arguments[1],h="multiple"):"string"===a.type(arguments[0])&&(e=arguments[0],f=arguments[1],g=arguments[2],"responsive"===arguments[0]&&"array"===a.type(arguments[1])?h="responsive":"undefined"!=typeof arguments[1]&&(h="single")),"single"===h)b.options[e]=f;else if("multiple"===h)a.each(e,function(a,c){b.options[a]=c});else if("responsive"===h)for(d in f)if("array"!==a.type(b.options.responsive))b.options.responsive=[f[d]];else{for(c=b.options.responsive.length-1;c>=0;)b.options.responsive[c].breakpoint===f[d].breakpoint&&b.options.responsive.splice(c,1),c--;b.options.responsive.push(f[d])}g&&(b.unload(),b.reinit())},b.prototype.setposition=function(){var a=this;a.setdimensions(),a.setheight(),a.options.fade===!1?a.setcss(a.getleft(a.currentslide)):a.setfade(),a.$slider.trigger("setposition",[a])},b.prototype.setprops=function(){var a=this,b=document.body.style;a.positionprop=a.options.vertical===!0?"top":"left","top"===a.positionprop?a.$slider.addclass("slick-vertical"):a.$slider.removeclass("slick-vertical"),(void 0!==b.webkittransition||void 0!==b.moztransition||void 0!==b.mstransition)&&a.options.usecss===!0&&(a.csstransitions=!0),a.options.fade&&("number"==typeof a.options.zindex?a.options.zindex<3&&(a.options.zindex=3):a.options.zindex=a.defaults.zindex),void 0!==b.otransform&&(a.animtype="otransform",a.transformtype="-o-transform",a.transitiontype="otransition",void 0===b.perspectiveproperty&&void 0===b.webkitperspective&&(a.animtype=!1)),void 0!==b.moztransform&&(a.animtype="moztransform",a.transformtype="-moz-transform",a.transitiontype="moztransition",void 0===b.perspectiveproperty&&void 0===b.mozperspective&&(a.animtype=!1)),void 0!==b.webkittransform&&(a.animtype="webkittransform",a.transformtype="-webkit-transform",a.transitiontype="webkittransition",void 0===b.perspectiveproperty&&void 0===b.webkitperspective&&(a.animtype=!1)),void 0!==b.mstransform&&(a.animtype="mstransform",a.transformtype="-ms-transform",a.transitiontype="mstransition",void 0===b.mstransform&&(a.animtype=!1)),void 0!==b.transform&&a.animtype!==!1&&(a.animtype="transform",a.transformtype="transform",a.transitiontype="transition"),a.transformsenabled=a.options.usetransform&&null!==a.animtype&&a.animtype!==!1},b.prototype.setslideclasses=function(a){var c,d,e,f,b=this;d=b.$slider.find(".slick-slide").removeclass("slick-active slick-center slick-current").attr("aria-hidden","true"),b.$slides.eq(a).addclass("slick-current"),b.options.centermode===!0?(c=math.floor(b.options.slidestoshow/2),b.options.infinite===!0&&(a>=c&&a<=b.slidecount-1-c?b.$slides.slice(a-c,a+c+1).addclass("slick-active").attr("aria-hidden","false"):(e=b.options.slidestoshow+a,
d.slice(e-c+1,e+c+2).addclass("slick-active").attr("aria-hidden","false")),0===a?d.eq(d.length-1-b.options.slidestoshow).addclass("slick-center"):a===b.slidecount-1&&d.eq(b.options.slidestoshow).addclass("slick-center")),b.$slides.eq(a).addclass("slick-center")):a>=0&&a<=b.slidecount-b.options.slidestoshow?b.$slides.slice(a,a+b.options.slidestoshow).addclass("slick-active").attr("aria-hidden","false"):d.length<=b.options.slidestoshow?d.addclass("slick-active").attr("aria-hidden","false"):(f=b.slidecount%b.options.slidestoshow,e=b.options.infinite===!0?b.options.slidestoshow+a:a,b.options.slidestoshow==b.options.slidestoscroll&&b.slidecount-ab.options.slidestoshow)){for(e=b.options.centermode===!0?b.options.slidestoshow+1:b.options.slidestoshow,c=b.slidecount;c>b.slidecount-e;c-=1)d=c-1,a(b.$slides[d]).clone(!0).attr("id","").attr("data-slick-index",d-b.slidecount).prependto(b.$slidetrack).addclass("slick-cloned");for(c=0;e>c;c+=1)d=c,a(b.$slides[d]).clone(!0).attr("id","").attr("data-slick-index",d+b.slidecount).appendto(b.$slidetrack).addclass("slick-cloned");b.$slidetrack.find(".slick-cloned").find("[id]").each(function(){a(this).attr("id","")})}},b.prototype.interrupt=function(a){var b=this;a||b.autoplay(),b.interrupted=a},b.prototype.selecthandler=function(b){var c=this,d=a(b.target).is(".slick-slide")?a(b.target):a(b.target).parents(".slick-slide"),e=parseint(d.attr("data-slick-index"));return e||(e=0),c.slidecount<=c.options.slidestoshow?(c.setslideclasses(e),void c.asnavfor(e)):void c.slidehandler(e)},b.prototype.slidehandler=function(a,b,c){var d,e,f,g,j,h=null,i=this;return b=b||!1,i.animating===!0&&i.options.waitforanimate===!0||i.options.fade===!0&&i.currentslide===a||i.slidecount<=i.options.slidestoshow?void 0:(b===!1&&i.asnavfor(a),d=a,h=i.getleft(d),g=i.getleft(i.currentslide),i.currentleft=null===i.swipeleft?g:i.swipeleft,i.options.infinite===!1&&i.options.centermode===!1&&(0>a||a>i.getdotcount()*i.options.slidestoscroll)?void(i.options.fade===!1&&(d=i.currentslide,c!==!0?i.animateslide(g,function(){i.postslide(d)}):i.postslide(d))):i.options.infinite===!1&&i.options.centermode===!0&&(0>a||a>i.slidecount-i.options.slidestoscroll)?void(i.options.fade===!1&&(d=i.currentslide,c!==!0?i.animateslide(g,function(){i.postslide(d)}):i.postslide(d))):(i.options.autoplay&&clearinterval(i.autoplaytimer),e=0>d?i.slidecount%i.options.slidestoscroll!==0?i.slidecount-i.slidecount%i.options.slidestoscroll:i.slidecount+d:d>=i.slidecount?i.slidecount%i.options.slidestoscroll!==0?0:d-i.slidecount:d,i.animating=!0,i.$slider.trigger("beforechange",[i,i.currentslide,e]),f=i.currentslide,i.currentslide=e,i.setslideclasses(i.currentslide),i.options.asnavfor&&(j=i.getnavtarget(),j=j.slick("getslick"),j.slidecount<=j.options.slidestoshow&&j.setslideclasses(i.currentslide)),i.updatedots(),i.updatearrows(),i.options.fade===!0?(c!==!0?(i.fadeslideout(f),i.fadeslide(e,function(){i.postslide(e)})):i.postslide(e),void i.animateheight()):void(c!==!0?i.animateslide(h,function(){i.postslide(e)}):i.postslide(e))))},b.prototype.startload=function(){var a=this;a.options.arrows===!0&&a.slidecount>a.options.slidestoshow&&(a.$prevarrow.hide(),a.$nextarrow.hide()),a.options.dots===!0&&a.slidecount>a.options.slidestoshow&&a.$dots.hide(),a.$slider.addclass("slick-loading")},b.prototype.swipedirection=function(){var a,b,c,d,e=this;return a=e.touchobject.startx-e.touchobject.curx,b=e.touchobject.starty-e.touchobject.cury,c=math.atan2(b,a),d=math.round(180*c/math.pi),0>d&&(d=360-math.abs(d)),45>=d&&d>=0?e.options.rtl===!1?"left":"right":360>=d&&d>=315?e.options.rtl===!1?"left":"right":d>=135&&225>=d?e.options.rtl===!1?"right":"left":e.options.verticalswiping===!0?d>=35&&135>=d?"down":"up":"vertical"},b.prototype.swipeend=function(a){var c,d,b=this;if(b.dragging=!1,b.interrupted=!1,b.shouldclick=b.touchobject.swipelength>10?!1:!0,void 0===b.touchobject.curx)return!1;if(b.touchobject.edgehit===!0&&b.$slider.trigger("edge",[b,b.swipedirection()]),b.touchobject.swipelength>=b.touchobject.minswipe){switch(d=b.swipedirection()){case"left":case"down":c=b.options.swipetoslide?b.checknavigable(b.currentslide+b.getslidecount()):b.currentslide+b.getslidecount(),b.currentdirection=0;break;case"right":case"up":c=b.options.swipetoslide?b.checknavigable(b.currentslide-b.getslidecount()):b.currentslide-b.getslidecount(),b.currentdirection=1}"vertical"!=d&&(b.slidehandler(c),b.touchobject={},b.$slider.trigger("swipe",[b,d]))}else b.touchobject.startx!==b.touchobject.curx&&(b.slidehandler(b.currentslide),b.touchobject={})},b.prototype.swipehandler=function(a){var b=this;if(!(b.options.swipe===!1||"ontouchend"in document&&b.options.swipe===!1||b.options.draggable===!1&&-1!==a.type.indexof("mouse")))switch(b.touchobject.fingercount=a.originalevent&&void 0!==a.originalevent.touches?a.originalevent.touches.length:1,b.touchobject.minswipe=b.listwidth/b.options.touchthreshold,b.options.verticalswiping===!0&&(b.touchobject.minswipe=b.listheight/b.options.touchthreshold),a.data.action){case"start":b.swipestart(a);break;case"move":b.swipemove(a);break;case"end":b.swipeend(a)}},b.prototype.swipemove=function(a){var d,e,f,g,h,b=this;return h=void 0!==a.originalevent?a.originalevent.touches:null,!b.dragging||h&&1!==h.length?!1:(d=b.getleft(b.currentslide),b.touchobject.curx=void 0!==h?h[0].pagex:a.clientx,b.touchobject.cury=void 0!==h?h[0].pagey:a.clienty,b.touchobject.swipelength=math.round(math.sqrt(math.pow(b.touchobject.curx-b.touchobject.startx,2))),b.options.verticalswiping===!0&&(b.touchobject.swipelength=math.round(math.sqrt(math.pow(b.touchobject.cury-b.touchobject.starty,2)))),e=b.swipedirection(),"vertical"!==e?(void 0!==a.originalevent&&b.touchobject.swipelength>4&&a.preventdefault(),g=(b.options.rtl===!1?1:-1)*(b.touchobject.curx>b.touchobject.startx?1:-1),b.options.verticalswiping===!0&&(g=b.touchobject.cury>b.touchobject.starty?1:-1),f=b.touchobject.swipelength,b.touchobject.edgehit=!1,b.options.infinite===!1&&(0===b.currentslide&&"right"===e||b.currentslide>=b.getdotcount()&&"left"===e)&&(f=b.touchobject.swipelength*b.options.edgefriction,b.touchobject.edgehit=!0),b.options.vertical===!1?b.swipeleft=d+f*g:b.swipeleft=d+f*(b.$list.height()/b.listwidth)*g,b.options.verticalswiping===!0&&(b.swipeleft=d+f*g),b.options.fade===!0||b.options.touchmove===!1?!1:b.animating===!0?(b.swipeleft=null,!1):void b.setcss(b.swipeleft)):void 0)},b.prototype.swipestart=function(a){var c,b=this;return b.interrupted=!0,1!==b.touchobject.fingercount||b.slidecount<=b.options.slidestoshow?(b.touchobject={},!1):(void 0!==a.originalevent&&void 0!==a.originalevent.touches&&(c=a.originalevent.touches[0]),b.touchobject.startx=b.touchobject.curx=void 0!==c?c.pagex:a.clientx,b.touchobject.starty=b.touchobject.cury=void 0!==c?c.pagey:a.clienty,void(b.dragging=!0))},b.prototype.unfilterslides=b.prototype.slickunfilter=function(){var a=this;null!==a.$slidescache&&(a.unload(),a.$slidetrack.children(this.options.slide).detach(),a.$slidescache.appendto(a.$slidetrack),a.reinit())},b.prototype.unload=function(){var b=this;a(".slick-cloned",b.$slider).remove(),b.$dots&&b.$dots.remove(),b.$prevarrow&&b.htmlexpr.test(b.options.prevarrow)&&b.$prevarrow.remove(),b.$nextarrow&&b.htmlexpr.test(b.options.nextarrow)&&b.$nextarrow.remove(),b.$slides.removeclass("slick-slide slick-active slick-visible slick-current").attr("aria-hidden","true").css("width","")},b.prototype.unslick=function(a){var b=this;b.$slider.trigger("unslick",[b,a]),b.destroy()},b.prototype.updatearrows=function(){var b,a=this;b=math.floor(a.options.slidestoshow/2),a.options.arrows===!0&&a.slidecount>a.options.slidestoshow&&!a.options.infinite&&(a.$prevarrow.removeclass("slick-disabled").attr("aria-disabled","false"),a.$nextarrow.removeclass("slick-disabled").attr("aria-disabled","false"),0===a.currentslide?(a.$prevarrow.addclass("slick-disabled").attr("aria-disabled","true"),a.$nextarrow.removeclass("slick-disabled").attr("aria-disabled","false")):a.currentslide>=a.slidecount-a.options.slidestoshow&&a.options.centermode===!1?(a.$nextarrow.addclass("slick-disabled").attr("aria-disabled","true"),a.$prevarrow.removeclass("slick-disabled").attr("aria-disabled","false")):a.currentslide>=a.slidecount-1&&a.options.centermode===!0&&(a.$nextarrow.addclass("slick-disabled").attr("aria-disabled","true"),a.$prevarrow.removeclass("slick-disabled").attr("aria-disabled","false")))},b.prototype.updatedots=function(){var a=this;null!==a.$dots&&(a.$dots.find("li").removeclass("slick-active").attr("aria-hidden","true"),a.$dots.find("li").eq(math.floor(a.currentslide/a.options.slidestoscroll)).addclass("slick-active").attr("aria-hidden","false"))},b.prototype.visibility=function(){var a=this;a.options.autoplay&&(document[a.hidden]?a.interrupted=!0:a.interrupted=!1)},a.fn.slick=function(){var f,g,a=this,c=arguments[0],d=array.prototype.slice.call(arguments,1),e=a.length;for(f=0;e>f;f++)if("object"==typeof c||"undefined"==typeof c?a[f].slick=new b(a[f],c):g=a[f].slick[c].apply(a[f].slick,d),"undefined"!=typeof g)return g;return a}});
/*! wow - v1.1.3 - 2016-05-06
* copyright (c) 2016 matthieu aussaguel;*/(function(){var a,b,c,d,e,f=function(a,b){return function(){return a.apply(b,arguments)}},g=[].indexof||function(a){for(var b=0,c=this.length;c>b;b++)if(b in this&&this[b]===a)return b;return-1};b=function(){function a(){}return a.prototype.extend=function(a,b){var c,d;for(c in b)d=b[c],null==a[c]&&(a[c]=d);return a},a.prototype.ismobile=function(a){return/android|webos|iphone|ipad|ipod|blackberry|iemobile|opera mini/i.test(a)},a.prototype.createevent=function(a,b,c,d){var e;return null==b&&(b=!1),null==c&&(c=!1),null==d&&(d=null),null!=document.createevent?(e=document.createevent("customevent"),e.initcustomevent(a,b,c,d)):null!=document.createeventobject?(e=document.createeventobject(),e.eventtype=a):e.eventname=a,e},a.prototype.emitevent=function(a,b){return null!=a.dispatchevent?a.dispatchevent(b):b in(null!=a)?a[b]():"on"+b in(null!=a)?a["on"+b]():void 0},a.prototype.addevent=function(a,b,c){return null!=a.addeventlistener?a.addeventlistener(b,c,!1):null!=a.attachevent?a.attachevent("on"+b,c):a[b]=c},a.prototype.removeevent=function(a,b,c){return null!=a.removeeventlistener?a.removeeventlistener(b,c,!1):null!=a.detachevent?a.detachevent("on"+b,c):delete a[b]},a.prototype.innerheight=function(){return"innerheight"in window?window.innerheight:document.documentelement.clientheight},a}(),c=this.weakmap||this.mozweakmap||(c=function(){function a(){this.keys=[],this.values=[]}return a.prototype.get=function(a){var b,c,d,e,f;for(f=this.keys,b=d=0,e=f.length;e>d;b=++d)if(c=f[b],c===a)return this.values[b]},a.prototype.set=function(a,b){var c,d,e,f,g;for(g=this.keys,c=e=0,f=g.length;f>e;c=++e)if(d=g[c],d===a)return void(this.values[c]=b);return this.keys.push(a),this.values.push(b)},a}()),a=this.mutationobserver||this.webkitmutationobserver||this.mozmutationobserver||(a=function(){function a(){"undefined"!=typeof console&&null!==console&&console.warn("mutationobserver is not supported by your browser."),"undefined"!=typeof console&&null!==console&&console.warn("wow.js cannot detect dom mutations, please call .sync() after loading new content.")}return a.notsupported=!0,a.prototype.observe=function(){},a}()),d=this.getcomputedstyle||function(a,b){return this.getpropertyvalue=function(b){var c;return"float"===b&&(b="stylefloat"),e.test(b)&&b.replace(e,function(a,b){return b.touppercase()}),(null!=(c=a.currentstyle)?c[b]:void 0)||null},this},e=/(\-([a-z]){1})/g,this.wow=function(){function e(a){null==a&&(a={}),this.scrollcallback=f(this.scrollcallback,this),this.scrollhandler=f(this.scrollhandler,this),this.resetanimation=f(this.resetanimation,this),this.start=f(this.start,this),this.scrolled=!0,this.config=this.util().extend(a,this.defaults),null!=a.scrollcontainer&&(this.config.scrollcontainer=document.queryselector(a.scrollcontainer)),this.animationnamecache=new c,this.wowevent=this.util().createevent(this.config.boxclass)}return e.prototype.defaults={boxclass:"wow",animateclass:"animated",offset:0,mobile:!0,live:!0,callback:null,scrollcontainer:null},e.prototype.init=function(){var a;return this.element=window.document.documentelement,"interactive"===(a=document.readystate)||"complete"===a?this.start():this.util().addevent(document,"domcontentloaded",this.start),this.finished=[]},e.prototype.start=function(){var b,c,d,e;if(this.stopped=!1,this.boxes=function(){var a,c,d,e;for(d=this.element.queryselectorall("."+this.config.boxclass),e=[],a=0,c=d.length;c>a;a++)b=d[a],e.push(b);return e}.call(this),this.all=function(){var a,c,d,e;for(d=this.boxes,e=[],a=0,c=d.length;c>a;a++)b=d[a],e.push(b);return e}.call(this),this.boxes.length)if(this.disabled())this.resetstyle();else for(e=this.boxes,c=0,d=e.length;d>c;c++)b=e[c],this.applystyle(b,!0);return this.disabled()||(this.util().addevent(this.config.scrollcontainer||window,"scroll",this.scrollhandler),this.util().addevent(window,"resize",this.scrollhandler),this.interval=setinterval(this.scrollcallback,50)),this.config.live?new a(function(a){return function(b){var c,d,e,f,g;for(g=[],c=0,d=b.length;d>c;c++)f=b[c],g.push(function(){var a,b,c,d;for(c=f.addednodes||[],d=[],a=0,b=c.length;b>a;a++)e=c[a],d.push(this.dosync(e));return d}.call(a));return g}}(this)).observe(document.body,{childlist:!0,subtree:!0}):void 0},e.prototype.stop=function(){return this.stopped=!0,this.util().removeevent(this.config.scrollcontainer||window,"scroll",this.scrollhandler),this.util().removeevent(window,"resize",this.scrollhandler),null!=this.interval?clearinterval(this.interval):void 0},e.prototype.sync=function(b){return a.notsupported?this.dosync(this.element):void 0},e.prototype.dosync=function(a){var b,c,d,e,f;if(null==a&&(a=this.element),1===a.nodetype){for(a=a.parentnode||a,e=a.queryselectorall("."+this.config.boxclass),f=[],c=0,d=e.length;d>c;c++)b=e[c],g.call(this.all,b)<0?(this.boxes.push(b),this.all.push(b),this.stopped||this.disabled()?this.resetstyle():this.applystyle(b,!0),f.push(this.scrolled=!0)):f.push(void 0);return f}},e.prototype.show=function(a){return this.applystyle(a),a.classname=a.classname+" "+this.config.animateclass,null!=this.config.callback&&this.config.callback(a),this.util().emitevent(a,this.wowevent),this.util().addevent(a,"animationend",this.resetanimation),this.util().addevent(a,"oanimationend",this.resetanimation),this.util().addevent(a,"webkitanimationend",this.resetanimation),this.util().addevent(a,"msanimationend",this.resetanimation),a},e.prototype.applystyle=function(a,b){var c,d,e;return d=a.getattribute("data-wow-duration"),c=a.getattribute("data-wow-delay"),e=a.getattribute("data-wow-iteration"),this.animate(function(f){return function(){return f.customstyle(a,b,d,c,e)}}(this))},e.prototype.animate=function(){return"requestanimationframe"in window?function(a){return window.requestanimationframe(a)}:function(a){return a()}}(),e.prototype.resetstyle=function(){var a,b,c,d,e;for(d=this.boxes,e=[],b=0,c=d.length;c>b;b++)a=d[b],e.push(a.style.visibility="visible");return e},e.prototype.resetanimation=function(a){var b;return a.type.tolowercase().indexof("animationend")>=0?(b=a.target||a.srcelement,b.classname=b.classname.replace(this.config.animateclass,"").trim()):void 0},e.prototype.customstyle=function(a,b,c,d,e){return b&&this.cacheanimationname(a),a.style.visibility=b?"hidden":"visible",c&&this.vendorset(a.style,{animationduration:c}),d&&this.vendorset(a.style,{animationdelay:d}),e&&this.vendorset(a.style,{animationiterationcount:e}),this.vendorset(a.style,{animationname:b?"none":this.cachedanimationname(a)}),a},e.prototype.vendors=["moz","webkit"],e.prototype.vendorset=function(a,b){var c,d,e,f;d=[];for(c in b)e=b[c],a[""+c]=e,d.push(function(){var b,d,g,h;for(g=this.vendors,h=[],b=0,d=g.length;d>b;b++)f=g[b],h.push(a[""+f+c.charat(0).touppercase()+c.substr(1)]=e);return h}.call(this));return d},e.prototype.vendorcss=function(a,b){var c,e,f,g,h,i;for(h=d(a),g=h.getpropertycssvalue(b),f=this.vendors,c=0,e=f.length;e>c;c++)i=f[c],g=g||h.getpropertycssvalue("-"+i+"-"+b);return g},e.prototype.animationname=function(a){var b;try{b=this.vendorcss(a,"animation-name").csstext}catch(c){b=d(a).getpropertyvalue("animation-name")}return"none"===b?"":b},e.prototype.cacheanimationname=function(a){return this.animationnamecache.set(a,this.animationname(a))},e.prototype.cachedanimationname=function(a){return this.animationnamecache.get(a)},e.prototype.scrollhandler=function(){return this.scrolled=!0},e.prototype.scrollcallback=function(){var a;return!this.scrolled||(this.scrolled=!1,this.boxes=function(){var b,c,d,e;for(d=this.boxes,e=[],b=0,c=d.length;c>b;b++)a=d[b],a&&(this.isvisible(a)?this.show(a):e.push(a));return e}.call(this),this.boxes.length||this.config.live)?void 0:this.stop()},e.prototype.offsettop=function(a){for(var b;void 0===a.offsettop;)a=a.parentnode;for(b=a.offsettop;a=a.offsetparent;)b+=a.offsettop;return b},e.prototype.isvisible=function(a){var b,c,d,e,f;return c=a.getattribute("data-wow-offset")||this.config.offset,f=this.config.scrollcontainer&&this.config.scrollcontainer.scrolltop||window.pageyoffset,e=f+math.min(this.element.clientheight,this.util().innerheight())-c,d=this.offsettop(a),b=d+a.clientheight,e>=d&&b>=f},e.prototype.util=function(){return null!=this._util?this._util:this._util=new b},e.prototype.disabled=function(){return!this.config.mobile&&this.util().ismobile(navigator.useragent)},e}()}).call(this);
/* html5 placeholder jquery plugin - v2.3.1
* copyright (c)2015 mathias bynens
* 2015-12-16
*/
!function(a){"function"==typeof define&&define.amd?define(["jquery"],a):a("object"==typeof module&&module.exports?require("jquery"):jquery)}(function(a){function b(b){var c={},d=/^jquery\d+$/;return a.each(b.attributes,function(a,b){b.specified&&!d.test(b.name)&&(c[b.name]=b.value)}),c}function c(b,c){var d=this,f=a(this);if(d.value===f.attr(h?"placeholder-x":"placeholder")&&f.hasclass(n.customclass))if(d.value="",f.removeclass(n.customclass),f.data("placeholder-password")){if(f=f.hide().nextall('input[type="password"]:first').show().attr("id",f.removeattr("id").data("placeholder-id")),b===!0)return f[0].value=c,c;f.focus()}else d==e()&&d.select()}function d(d){var e,f=this,g=a(this),i=f.id;if(!d||"blur"!==d.type||!g.hasclass(n.customclass))if(""===f.value){if("password"===f.type){if(!g.data("placeholder-textinput")){try{e=g.clone().prop({type:"text"})}catch(j){e=a("").attr(a.extend(b(this),{type:"text"}))}e.removeattr("name").data({"placeholder-enabled":!0,"placeholder-password":g,"placeholder-id":i}).bind("focus.placeholder",c),g.data({"placeholder-textinput":e,"placeholder-id":i}).before(e)}f.value="",g=g.removeattr("id").hide().prevall('input[type="text"]:first').attr("id",g.data("placeholder-id")).show()}else{var k=g.data("placeholder-password");k&&(k[0].value="",g.attr("id",g.data("placeholder-id")).show().nextall('input[type="password"]:last').hide().removeattr("id"))}g.addclass(n.customclass),g[0].value=g.attr(h?"placeholder-x":"placeholder")}else g.removeclass(n.customclass)}function e(){try{return document.activeelement}catch(a){}}var f,g,h=!1,i="[object operamini]"===object.prototype.tostring.call(window.operamini),j="placeholder"in document.createelement("input")&&!i&&!h,k="placeholder"in document.createelement("textarea")&&!i&&!h,l=a.valhooks,m=a.prophooks,n={};j&&k?(g=a.fn.placeholder=function(){return this},g.input=!0,g.textarea=!0):(g=a.fn.placeholder=function(b){var e={customclass:"placeholder"};return n=a.extend({},e,b),this.filter((j?"textarea":":input")+"["+(h?"placeholder-x":"placeholder")+"]").not("."+n.customclass).not(":radio, :checkbox, [type=hidden]").bind({"focus.placeholder":c,"blur.placeholder":d}).data("placeholder-enabled",!0).trigger("blur.placeholder")},g.input=j,g.textarea=k,f={get:function(b){var c=a(b),d=c.data("placeholder-password");return d?d[0].value:c.data("placeholder-enabled")&&c.hasclass(n.customclass)?"":b.value},set:function(b,f){var g,h,i=a(b);return""!==f&&(g=i.data("placeholder-textinput"),h=i.data("placeholder-password"),g?(c.call(g[0],!0,f)||(b.value=f),g[0].value=f):h&&(c.call(b,!0,f)||(h[0].value=f),b.value=f)),i.data("placeholder-enabled")?(""===f?(b.value=f,b!=e()&&d.call(b)):(i.hasclass(n.customclass)&&c.call(b),b.value=f),i):(b.value=f,i)}},j||(l.input=f,m.value=f),k||(l.textarea=f,m.value=f),a(function(){a(document).delegate("form","submit.placeholder",function(){var b=a("."+n.customclass,this).each(function(){c.call(this,!0,"")});settimeout(function(){b.each(d)},10)})}),a(window).bind("beforeunload.placeholder",function(){var b=!0;try{"javascript:void(0)"===document.activeelement.tostring()&&(b=!1)}catch(c){}b&&a("."+n.customclass).each(function(){this.value=""})}))});
/*aos.js*/
!function t(e,n,o){function r(i,c){if(!n[i]){if(!e[i]){var s="function"==typeof require&&require;if(!c&&s)return s(i,!0);if(a)return a(i,!0);var u=new error("cannot find module '"+i+"'");throw u.code="module_not_found",u}var l=n[i]={exports:{}};e[i][0].call(l.exports,function(t){var n=e[i][1][t];return r(n?n:t)},l,l.exports,t,e,n,o)}return n[i].exports}for(var a="function"==typeof require&&require,i=0;i2?n[i-2]:void 0,s=i>2?n[2]:void 0,u=i>1?n[i-1]:void 0;for("function"==typeof c?(c=o(c,u,5),i-=2):(c="function"==typeof u?u:void 0,i-=c?1:0),s&&r(n[0],n[1],s)&&(c=3>i?void 0:c,i=1);++a-1&&t%1==0&&e>t}function a(t,e,n){if(!c(n))return!1;var a=typeof e;if("number"==a?o(n)&&r(e,n.length):"string"==a&&e in n){var i=n[e];return t===t?t===i:i!==i}return!1}function i(t){return"number"==typeof t&&t>-1&&t%1==0&&u>=t}function c(t){var e=typeof t;return!!t&&("object"==e||"function"==e)}var s=/^\d+$/,u=9007199254740991,l=n("length");e.exports=a},{}],7:[function(t,e){function n(t,e,n){for(var o=-1,r=a(e),i=r.length;++o=t||t>e?c(g,d):v=settimeout(u,t)}function l(){c(k,v)}function f(){if(p=arguments,b=s(),h=this,g=k&&(v||!x),w===!1)var n=x&&!v;else{d||x||(y=b);var o=w-(b-y),r=0>=o||o>w;r?(d&&(d=cleartimeout(d)),y=b,m=t.apply(h,p)):d||(d=settimeout(l,o))}return r&&v?v=cleartimeout(v):v||e===w||(v=settimeout(u,e)),n&&(r=!0,m=t.apply(h,p)),!r||v||d||(p=h=void 0),m}var p,d,m,b,h,v,g,y=0,w=!1,k=!0;if("function"!=typeof t)throw new typeerror(a);if(e=0>e?0:+e||0,n===!0){var x=!0;k=!1}else o(n)&&(x=!!n.leading,w="maxwait"in n&&i(+n.maxwait||0,e),k="trailing"in n?!!n.trailing:k);return f.cancel=r,f}function o(t){var e=typeof t;return!!t&&("object"==e||"function"==e)}var r=t("lodash._getnative"),a="expected a function",i=math.max,c=r(date,"now"),s=c||function(){return(new date).gettime()};e.exports=n},{"lodash._getnative":5}],9:[function(t,e){(function(t){function n(t){return function(e){return null==e?void 0:e[t]}}function o(t){return a(t)&&b.call(t,"callee")&&(!v.call(t,"callee")||h.call(t)==f)}function r(t){return null!=t&&!("function"==typeof t&&i(t))&&c(g(t))}function a(t){return u(t)&&r(t)}function i(t){var e=s(t)?h.call(t):"";return e==p||e==d}function c(t){return"number"==typeof t&&t>-1&&t%1==0&&l>=t}function s(t){var e=typeof t;return!!t&&("object"==e||"function"==e)}function u(t){return!!t&&"object"==typeof t}var l=9007199254740991,f="[object arguments]",p="[object function]",d="[object generatorfunction]",m=t.object.prototype,b=m.hasownproperty,h=m.tostring,v=m.propertyisenumerable,g=n("length");e.exports=o}).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{}],10:[function(t,e){function n(t){return!!t&&"object"==typeof t}function o(t,e){var n=null==t?void 0:t[e];return c(n)?n:void 0}function r(t){return"number"==typeof t&&t>-1&&t%1==0&&v>=t}function a(t){return i(t)&&m.call(t)==u}function i(t){var e=typeof t;return!!t&&("object"==e||"function"==e)}function c(t){return null==t?!1:a(t)?b.test(p.call(t)):n(t)&&l.test(t)}var s="[object array]",u="[object function]",l=/^\[object .+?constructor\]$/,f=object.prototype,p=function.prototype.tostring,d=f.hasownproperty,m=f.tostring,b=regexp("^"+p.call(d).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasownproperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),h=o(array,"isarray"),v=9007199254740991,g=h||function(t){return n(t)&&r(t.length)&&m.call(t)==s};e.exports=g},{}],11:[function(t,e){function n(t){return function(e){return null==e?void 0:e[t]}}function o(t){return null!=t&&a(v(t))}function r(t,e){return t="number"==typeof t||p.test(t)?+t:-1,e=null==e?h:e,t>-1&&t%1==0&&e>t}function a(t){return"number"==typeof t&&t>-1&&t%1==0&&h>=t}function i(t){for(var e=s(t),n=e.length,o=n&&t.length,i=!!o&&a(o)&&(f(t)||l(t)),c=-1,u=[];++c0;++ot.position?t.node.classlist.add("aos-animate"):"undefined"!=typeof o&&("false"===o||!n&&"true"!==o)&&t.node.classlist.remove("aos-animate")},o=function(t,e){var o=window.pageyoffset,r=window.innerheight;[].foreach.call(t,function(t){n(t,r+o,e)})};e.exports=o},{}],19:[function(t,e){var n=t("./calculateoffset"),o=function(t,e){return[].foreach.call(t,function(t){t.node.classlist.add("aos-init"),t.position=n(t.node,e.offset)}),t};e.exports=o},{"./calculateoffset":15}],20:[function(t,e){var n=function(){var t=["[data-aos]","[data-aos-offset]","[data-aos-easing]","[data-aos-delay]","[data-aos-anchor]","[data-aos-anchor-placement]","[data-aos-once]"],e=t.join(", "),n=document.queryselectorall(e);[].foreach.call(n,function(e){var n=/^data\-(.+)$/,o=[];[].foreach.call(e.attributes,function(r){if(n.test(r.nodename)){var a=r.nodename.match(n)[0],i="["+a+"]",c=r.nodename.match(n)[1];e.getattribute(a).length&&-1!==t.indexof(i)&&(e.setattribute(c,r.nodevalue),o.push(a))}});for(var r=0;rn;n++){t=a[n],e=i.queryselectorall(t.selector);for(var r,c=0,s=e.length;s>c;c++)r=e[c],r.ready||(r.ready=!0,t.fn.call(r,r))}}var r,a=[],i=window.document,c=window.mutationobserver||window.webkitmutationobserver;e.exports=n},{}],23:[function(t,e){var n=function(t){for(var e=0,n=0;t&&!isnan(t.offsetleft)&&!isnan(t.offsettop);)e+=t.offsetleft-("body"!=t.tagname?t.scrollleft:0),n+=t.offsettop-("body"!=t.tagname?t.scrolltop:0),t=t.offsetparent;return{top:n,left:e}};e.exports=n},{}]},{},[14]);
//# sourcemappingurl=aos.js.map
/**
* swiper 4.5.0
* most modern mobile touch slider and framework with hardware accelerated transitions
* http://www.idangero.us/swiper/
*
* copyright 2014-2019 vladimir kharlampidi
*
* released under the mit license
*
* released on: february 22, 2019
*/
!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define.amd?define(t):(e=e||self).swiper=t()}(this,function(){"use strict";var f="undefined"==typeof document?{body:{},addeventlistener:function(){},removeeventlistener:function(){},activeelement:{blur:function(){},nodename:""},queryselector:function(){return null},queryselectorall:function(){return[]},getelementbyid:function(){return null},createevent:function(){return{initevent:function(){}}},createelement:function(){return{children:[],childnodes:[],style:{},setattribute:function(){},getelementsbytagname:function(){return[]}}},location:{hash:""}}:document,j="undefined"==typeof window?{document:f,navigator:{useragent:""},location:{},history:{},customevent:function(){return this},addeventlistener:function(){},removeeventlistener:function(){},getcomputedstyle:function(){return{getpropertyvalue:function(){return""}}},image:function(){},date:function(){},screen:{},settimeout:function(){},cleartimeout:function(){}}:window,l=function(e){for(var t=0;t")){var o="div";for(0===n.indexof(":~]/)?(t||f).queryselectorall(e.trim()):[f.getelementbyid(e.trim().split("#")[1])],i=0;ia.slides.length)break;i.push(a.slides.eq(r)[0])}else i.push(a.slides.eq(a.activeindex)[0]);for(t=0;t=t.size)&&(t.visibleslides.push(o),t.visibleslidesindexes.push(n),i.eq(n).addclass(a.slidevisibleclass))}o.progress=s?-l:l}t.visibleslides=l(t.visibleslides)}},updateprogress:function(e){void 0===e&&(e=this&&this.translate||0);var t=this,a=t.params,i=t.maxtranslate()-t.mintranslate(),s=t.progress,r=t.isbeginning,n=t.isend,o=r,l=n;0===i?n=r=!(s=0):(r=(s=(e-t.mintranslate())/i)<=0,n=1<=s),ee.extend(t,{progress:s,isbeginning:r,isend:n}),(a.watchslidesprogress||a.watchslidesvisibility)&&t.updateslidesprogress(e),r&&!o&&t.emit("reachbeginning toedge"),n&&!l&&t.emit("reachend toedge"),(o&&!r||l&&!n)&&t.emit("fromedge"),t.emit("progress",s)},updateslidesclasses:function(){var e,t=this,a=t.slides,i=t.params,s=t.$wrapperel,r=t.activeindex,n=t.realindex,o=t.virtual&&i.virtual.enabled;a.removeclass(i.slideactiveclass+" "+i.slidenextclass+" "+i.slideprevclass+" "+i.slideduplicateactiveclass+" "+i.slideduplicatenextclass+" "+i.slideduplicateprevclass),(e=o?t.$wrapperel.find("."+i.slideclass+'[data-swiper-slide-index="'+r+'"]'):a.eq(r)).addclass(i.slideactiveclass),i.loop&&(e.hasclass(i.slideduplicateclass)?s.children("."+i.slideclass+":not(."+i.slideduplicateclass+')[data-swiper-slide-index="'+n+'"]').addclass(i.slideduplicateactiveclass):s.children("."+i.slideclass+"."+i.slideduplicateclass+'[data-swiper-slide-index="'+n+'"]').addclass(i.slideduplicateactiveclass));var l=e.nextall("."+i.slideclass).eq(0).addclass(i.slidenextclass);i.loop&&0===l.length&&(l=a.eq(0)).addclass(i.slidenextclass);var d=e.prevall("."+i.slideclass).eq(0).addclass(i.slideprevclass);i.loop&&0===d.length&&(d=a.eq(-1)).addclass(i.slideprevclass),i.loop&&(l.hasclass(i.slideduplicateclass)?s.children("."+i.slideclass+":not(."+i.slideduplicateclass+')[data-swiper-slide-index="'+l.attr("data-swiper-slide-index")+'"]').addclass(i.slideduplicatenextclass):s.children("."+i.slideclass+"."+i.slideduplicateclass+'[data-swiper-slide-index="'+l.attr("data-swiper-slide-index")+'"]').addclass(i.slideduplicatenextclass),d.hasclass(i.slideduplicateclass)?s.children("."+i.slideclass+":not(."+i.slideduplicateclass+')[data-swiper-slide-index="'+d.attr("data-swiper-slide-index")+'"]').addclass(i.slideduplicateprevclass):s.children("."+i.slideclass+"."+i.slideduplicateclass+'[data-swiper-slide-index="'+d.attr("data-swiper-slide-index")+'"]').addclass(i.slideduplicateprevclass))},updateactiveindex:function(e){var t,a=this,i=a.rtltranslate?a.translate:-a.translate,s=a.slidesgrid,r=a.snapgrid,n=a.params,o=a.activeindex,l=a.realindex,d=a.snapindex,p=e;if(void 0===p){for(var c=0;c=s[c]&&i=s[c]&&i=s[c]&&(p=c);n.normalizeslideindex&&(p<0||void 0===p)&&(p=0)}if((t=0<=r.indexof(i)?r.indexof(i):math.floor(p/n.slidespergroup))>=r.length&&(t=r.length-1),p!==o){var u=parseint(a.slides.eq(p).attr("data-swiper-slide-index")||p,10);ee.extend(a,{snapindex:t,realindex:u,previousindex:o,activeindex:p}),a.emit("activeindexchange"),a.emit("snapindexchange"),l!==u&&a.emit("realindexchange"),a.emit("slidechange")}else t!==d&&(a.snapindex=t,a.emit("snapindexchange"))},updateclickedslide:function(e){var t=this,a=t.params,i=l(e.target).closest("."+a.slideclass)[0],s=!1;if(i)for(var r=0;r=o.length&&(u=o.length-1),(p||n.initialslide||0)===(d||0)&&a&&s.emit("beforeslidechangestart");var h,v=-o[u];if(s.updateprogress(v),n.normalizeslideindex)for(var f=0;f=math.floor(100*l[f])&&(r=f);if(s.initialized&&r!==p){if(!s.allowslidenext&&vs.translate&&v>s.maxtranslate()&&(p||0)!==r)return!1}return h=pt.slides.length-t.loopedslides+s/2?(t.loopfix(),r=i.children("."+a.slideclass+'[data-swiper-slide-index="'+e+'"]:not(.'+a.slideduplicateclass+")").eq(0).index(),ee.nexttick(function(){t.slideto(r)})):t.slideto(r):r>t.slides.length-s?(t.loopfix(),r=i.children("."+a.slideclass+'[data-swiper-slide-index="'+e+'"]:not(.'+a.slideduplicateclass+")").eq(0).index(),ee.nexttick(function(){t.slideto(r)})):t.slideto(r)}else t.slideto(r)}};var h={loopcreate:function(){var i=this,e=i.params,t=i.$wrapperel;t.children("."+e.slideclass+"."+e.slideduplicateclass).remove();var s=t.children("."+e.slideclass);if(e.loopfillgroupwithblank){var a=e.slidespergroup-s.length%e.slidespergroup;if(a!==e.slidespergroup){for(var r=0;rs.length&&(i.loopedslides=s.length);var o=[],l=[];s.each(function(e,t){var a=l(t);e=s.length-i.loopedslides&&o.push(t),a.attr("data-swiper-slide-index",e)});for(var d=0;d=s.length-r)&&(e=-s.length+i+r,e+=r,t.slideto(e,0,!1,!0)&&0!==p&&t.settranslate((d?-t.translate:t.translate)-p));t.allowslideprev=n,t.allowslidenext=o},loopdestroy:function(){var e=this.$wrapperel,t=this.params,a=this.slides;e.children("."+t.slideclass+"."+t.slideduplicateclass+",."+t.slideclass+"."+t.slideblankclass).remove(),a.removeattr("data-swiper-slide-index")}};var v={setgrabcursor:function(e){if(!(te.touch||!this.params.simulatetouch||this.params.watchoverflow&&this.islocked)){var t=this.el;t.style.cursor="move",t.style.cursor=e?"-webkit-grabbing":"-webkit-grab",t.style.cursor=e?"-moz-grabbin":"-moz-grab",t.style.cursor=e?"grabbing":"grab"}},unsetgrabcursor:function(){te.touch||this.params.watchoverflow&&this.islocked||(this.el.style.cursor="")}};var m={appendslide:function(e){var t=this,a=t.$wrapperel,i=t.params;if(i.loop&&t.loopdestroy(),"object"==typeof e&&"length"in e)for(var s=0;s=j.screen.width-d)){if(ee.extend(a,{istouched:!0,ismoved:!1,allowtouchcallbacks:!0,isscrolling:void 0,startmoving:void 0}),s.startx=n,s.starty=o,a.touchstarttime=ee.now(),t.allowclick=!0,t.updatesize(),t.swipedirection=void 0,0s.starty&&t.translate>=t.mintranslate())return a.istouched=!1,void(a.ismoved=!1)}else if(os.startx&&t.translate>=t.mintranslate())return;if(a.istouchevent&&f.activeelement&&n.target===f.activeelement&&l(n.target).is(a.formelements))return a.ismoved=!0,void(t.allowclick=!1);if(a.allowtouchcallbacks&&t.emit("touchmove",n),!(n.targettouches&&1i.touchangle:90-d>i.touchangle)),a.isscrolling&&t.emit("touchmoveopposite",n),void 0===a.startmoving&&(s.currentx===s.startx&&s.currenty===s.starty||(a.startmoving=!0)),a.isscrolling)a.istouched=!1;else if(a.startmoving){t.allowclick=!1,n.preventdefault(),i.touchmovestoppropagation&&!i.nested&&n.stoppropagation(),a.ismoved||(i.loop&&t.loopfix(),a.starttranslate=t.gettranslate(),t.settransition(0),t.animating&&t.$wrapperel.trigger("webkittransitionend transitionend"),a.allowmomentumbounce=!1,!i.grabcursor||!0!==t.allowslidenext&&!0!==t.allowslideprev||t.setgrabcursor(!0),t.emit("sliderfirstmove",n)),t.emit("slidermove",n),a.ismoved=!0;var u=t.ishorizontal()?p:c;s.diff=u,u*=i.touchratio,r&&(u=-u),t.swipedirection=0t.mintranslate()?(h=!1,i.resistance&&(a.currenttranslate=t.mintranslate()-1+math.pow(-t.mintranslate()+a.starttranslate+u,v))):u<0&&a.currenttranslatea.starttranslate&&(a.currenttranslate=a.starttranslate),0i.threshold||a.allowthresholdmove))return void(a.currenttranslate=a.starttranslate);if(!a.allowthresholdmove)return a.allowthresholdmove=!0,s.startx=s.currentx,s.starty=s.currenty,a.currenttranslate=a.starttranslate,void(s.diff=t.ishorizontal()?s.currentx-s.startx:s.currenty-s.starty)}i.followfinger&&((i.freemode||i.watchslidesprogress||i.watchslidesvisibility)&&(t.updateactiveindex(),t.updateslidesclasses()),i.freemode&&(0===a.velocities.length&&a.velocities.push({position:s[t.ishorizontal()?"startx":"starty"],time:a.touchstarttime}),a.velocities.push({position:s[t.ishorizontal()?"currentx":"currenty"],time:ee.now()})),t.updateprogress(a.currenttranslate),t.settranslate(a.currenttranslate))}}}}else a.startmoving&&a.isscrolling&&t.emit("touchmoveopposite",n)}.bind(e),e.ontouchend=function(e){var t=this,a=t.toucheventsdata,i=t.params,s=t.touches,r=t.rtltranslate,n=t.$wrapperel,o=t.slidesgrid,l=t.snapgrid,d=e;if(d.originalevent&&(d=d.originalevent),a.allowtouchcallbacks&&t.emit("touchend",d),a.allowtouchcallbacks=!1,!a.istouched)return a.ismoved&&i.grabcursor&&t.setgrabcursor(!1),a.ismoved=!1,void(a.startmoving=!1);i.grabcursor&&a.ismoved&&a.istouched&&(!0===t.allowslidenext||!0===t.allowslideprev)&&t.setgrabcursor(!1);var p,c=ee.now(),u=c-a.touchstarttime;if(t.allowclick&&(t.updateclickedslide(d),t.emit("tap",d),u<300&&300-t.maxtranslate())return void(t.slides.lengtht.mintranslate())i.freemodemomentumbounce?(w-t.mintranslate()>e&&(w=t.mintranslate()+e),y=t.mintranslate(),t=!0,a.allowmomentumbounce=!0):w=t.mintranslate(),i.loop&&i.centeredslides&&(x=!0);else if(i.freemodesticky){for(var s,c=0;c-w){s=c;break}w=-(w=math.abs(l[s]-w)=i.longswipesms)&&(t.updateprogress(),t.updateactiveindex(),t.updateslidesclasses())}else{for(var m=0,z=t.slidessizesgrid[0],p=0;p=o[p]&&p=o[p]&&(m=p,z=o[o.length-1]-o[o.length-2]);var k=(p-o[m])/z;if(u>i.longswipesms){if(!i.longswipes)return void t.slideto(t.activeindex);"next"===t.swipedirection&&(k>=i.longswipesratio?t.slideto(m+i.slidespergroup):t.slideto(m)),"prev"===t.swipedirection&&(k>1-i.longswipesratio?t.slideto(m+i.slidespergroup):t.slideto(m))}else{if(!i.shortswipes)return void t.slideto(t.activeindex);"next"===t.swipedirection&&t.slideto(m+i.slidespergroup),"prev"===t.swipedirection&&t.slideto(m)}}}.bind(e),e.onclick=function(e){this.allowclick||(this.params.preventclicks&&e.preventdefault(),this.params.preventclickspropagation&&this.animating&&(e.stoppropagation(),e.stopimmediatepropagation()))}.bind(e);var r="container"===t.toucheventstarget?i:s,n=!!t.nested;if(te.touch||!te.pointerevents&&!te.prefixedpointerevents){if(te.touch){var o=!("touchstart"!==a.start||!te.passivelistener||!t.passivelisteners)&&{passive:!0,capture:!1};r.addeventlistener(a.start,e.ontouchstart,o),r.addeventlistener(a.move,e.ontouchmove,te.passivelistener?{passive:!1,capture:n}:n),r.addeventlistener(a.end,e.ontouchend,o)}(t.simulatetouch&&!g.ios&&!g.android||t.simulatetouch&&!te.touch&&g.ios)&&(r.addeventlistener("mousedown",e.ontouchstart,!1),f.addeventlistener("mousemove",e.ontouchmove,n),f.addeventlistener("mouseup",e.ontouchend,!1))}else r.addeventlistener(a.start,e.ontouchstart,!1),f.addeventlistener(a.move,e.ontouchmove,n),f.addeventlistener(a.end,e.ontouchend,!1);(t.preventclicks||t.preventclickspropagation)&&r.addeventlistener("click",e.onclick,!0),e.on(g.ios||g.android?"resize orientationchange observerupdate":"resize observerupdate",b,!0)},detachevents:function(){var e=this,t=e.params,a=e.touchevents,i=e.el,s=e.wrapperel,r="container"===t.toucheventstarget?i:s,n=!!t.nested;if(te.touch||!te.pointerevents&&!te.prefixedpointerevents){if(te.touch){var o=!("ontouchstart"!==a.start||!te.passivelistener||!t.passivelisteners)&&{passive:!0,capture:!1};r.removeeventlistener(a.start,e.ontouchstart,o),r.removeeventlistener(a.move,e.ontouchmove,n),r.removeeventlistener(a.end,e.ontouchend,o)}(t.simulatetouch&&!g.ios&&!g.android||t.simulatetouch&&!te.touch&&g.ios)&&(r.removeeventlistener("mousedown",e.ontouchstart,!1),f.removeeventlistener("mousemove",e.ontouchmove,n),f.removeeventlistener("mouseup",e.ontouchend,!1))}else r.removeeventlistener(a.start,e.ontouchstart,!1),f.removeeventlistener(a.move,e.ontouchmove,n),f.removeeventlistener(a.end,e.ontouchend,!1);(t.preventclicks||t.preventclickspropagation)&&r.removeeventlistener("click",e.onclick,!0),e.off(g.ios||g.android?"resize orientationchange observerupdate":"resize observerupdate",b)}},breakpoints:{setbreakpoint:function(){var e=this,t=e.activeindex,a=e.initialized,i=e.loopedslides;void 0===i&&(i=0);var s=e.params,r=s.breakpoints;if(r&&(!r||0!==object.keys(r).length)){var n=e.getbreakpoint(r);if(n&&e.currentbreakpoint!==n){var o=n in r?r[n]:void 0;o&&["slidesperview","spacebetween","slidespergroup"].foreach(function(e){var t=o[e];void 0!==t&&(o[e]="slidesperview"!==e||"auto"!==t&&"auto"!==t?"slidesperview"===e?parsefloat(t):parseint(t,10):"auto")});var l=o||e.originalparams,d=l.direction&&l.direction!==s.direction,p=s.loop&&(l.slidesperview!==s.slidesperview||d);d&&a&&e.changedirection(),ee.extend(e.params,l),ee.extend(e,{allowtouchmove:e.params.allowtouchmove,allowslidenext:e.params.allowslidenext,allowslideprev:e.params.allowslideprev}),e.currentbreakpoint=n,p&&a&&(e.loopdestroy(),e.loopcreate(),e.updateslides(),e.slideto(t-i+e.loopedslides,0,!1)),e.emit("breakpoint",l)}}},getbreakpoint:function(e){if(e){var t=!1,a=[];object.keys(e).foreach(function(e){a.push(e)}),a.sort(function(e,t){return parseint(e,10)-parseint(t,10)});for(var i=0;i=j.innerwidth&&!t&&(t=s)}return t||"max"}}},checkoverflow:{checkoverflow:function(){var e=this,t=e.islocked;e.islocked=1===e.snapgrid.length,e.allowslidenext=!e.islocked,e.allowslideprev=!e.islocked,t!==e.islocked&&e.emit(e.islocked?"lock":"unlock"),t&&t!==e.islocked&&(e.isend=!1,e.navigation.update())}},classes:{addclasses:function(){var t=this.classnames,a=this.params,e=this.rtl,i=this.$el,s=[];s.push("initialized"),s.push(a.direction),a.freemode&&s.push("free-mode"),te.flexbox||s.push("no-flexbox"),a.autoheight&&s.push("autoheight"),e&&s.push("rtl"),1'+e+"");return s.attr("data-swiper-slide-index")||s.attr("data-swiper-slide-index",t),i.cache&&(a.virtual.cache[t]=s),s},appendslide:function(e){if("object"==typeof e&&"length"in e)for(var t=0;tmath.abs(n.pixely)))return!0;s=n.pixelx*r}else{if(!(math.abs(n.pixely)>math.abs(n.pixelx)))return!0;s=n.pixely}else s=math.abs(n.pixelx)>math.abs(n.pixely)?-n.pixelx*r:-n.pixely;if(0===s)return!0;if(i.invert&&(s=-s),a.params.freemode){a.params.loop&&a.loopfix();var o=a.gettranslate()+s*i.sensitivity,l=a.isbeginning,d=a.isend;if(o>=a.mintranslate()&&(o=a.mintranslate()),o<=a.maxtranslate()&&(o=a.maxtranslate()),a.settransition(0),a.settranslate(o),a.updateprogress(),a.updateactiveindex(),a.updateslidesclasses(),(!l&&a.isbeginning||!d&&a.isend)&&a.updateslidesclasses(),a.params.freemodesticky&&(cleartimeout(a.mousewheel.timeout),a.mousewheel.timeout=ee.nexttick(function(){a.slidetoclosest()},300)),a.emit("scroll",t),a.params.autoplay&&a.params.autoplaydisableoninteraction&&a.autoplay.stop(),o===a.mintranslate()||o===a.maxtranslate())return!0}else{if(60a-1-2*e.loopedslides&&(r-=a-2*e.loopedslides),n-1s.dynamicmainbullets-1?e.pagination.dynamicbulletindex=s.dynamicmainbullets-1:e.pagination.dynamicbulletindex<0&&(e.pagination.dynamicbulletindex=0)),o=r-e.pagination.dynamicbulletindex,d=((l=o+(math.min(p.length,s.dynamicmainbullets)-1))+o)/2),p.removeclass(s.bulletactiveclass+" "+s.bulletactiveclass+"-next "+s.bulletactiveclass+"-next-next "+s.bulletactiveclass+"-prev "+s.bulletactiveclass+"-prev-prev "+s.bulletactiveclass+"-main"),1'+t.bulletelement+">";i.html(s),e.pagination.bullets=i.find("."+t.bulletclass)}"fraction"===t.type&&(s=t.renderfraction?t.renderfraction.call(e,t.currentclass,t.totalclass):' / ',i.html(s)),"progressbar"===t.type&&(s=t.renderprogressbar?t.renderprogressbar.call(e,t.progressbarfillclass):'',i.html(s)),"custom"!==t.type&&e.emit("paginationrender",e.pagination.$el[0])}},init:function(){var a=this,e=a.params.pagination;if(e.el){var t=l(e.el);0!==t.length&&(a.params.uniquenavelements&&"string"==typeof e.el&&1'),s.append(r)),ee.extend(t,{$el:s,el:s[0],$dragel:r,dragel:r[0]}),i.draggable&&t.enabledraggable()}},destroy:function(){this.scrollbar.disabledraggable()}},b={settransform:function(e,t){var a=this.rtl,i=l(e),s=a?-1:1,r=i.attr("data-swiper-parallax")||"0",n=i.attr("data-swiper-parallax-x"),o=i.attr("data-swiper-parallax-y"),l=i.attr("data-swiper-parallax-scale"),d=i.attr("data-swiper-parallax-opacity");if(n||o?(n=n||"0",o=o||"0"):this.ishorizontal()?(n=r,o="0"):(o=r,n="0"),n=0<=n.indexof("%")?parseint(n,10)*t*s+"%":n*t*s+"px",o=0<=o.indexof("%")?parseint(o,10)*t+"%":o*t+"px",null!=d){var p=d-(d-1)*(1-math.abs(t));i[0].style.opacity=p}if(null==l)i.transform("translate3d("+n+", "+o+", 0px)");else{var c=l-(l-1)*(1-math.abs(t));i.transform("translate3d("+n+", "+o+", 0px) scale("+c+")")}},settranslate:function(){var i=this,e=i.$el,t=i.slides,s=i.progress,r=i.snapgrid;e.children("[data-swiper-parallax], [data-swiper-parallax-x], [data-swiper-parallax-y]").each(function(e,t){i.parallax.settransform(t,s)}),t.each(function(e,t){var a=t.progress;1i.maxratio&&(a.scale=i.maxratio-1+math.pow(a.scale-i.maxratio+1,.5)),a.scales.touchesstart.x))return void(s.istouched=!1);if(!t.ishorizontal()&&(math.floor(s.miny)===math.floor(s.starty)&&s.touchescurrent.ys.touchesstart.y))return void(s.istouched=!1)}e.preventdefault(),e.stoppropagation(),s.ismoved=!0,s.currentx=s.touchescurrent.x-s.touchesstart.x+s.startx,s.currenty=s.touchescurrent.y-s.touchesstart.y+s.starty,s.currentxs.maxx&&(s.currentx=s.maxx-1+math.pow(s.currentx-s.maxx+1,.8)),s.currentys.maxy&&(s.currenty=s.maxy-1+math.pow(s.currenty-s.maxy+1,.8)),r.prevpositionx||(r.prevpositionx=s.touchescurrent.x),r.prevpositiony||(r.prevpositiony=s.touchescurrent.y),r.prevtime||(r.prevtime=date.now()),r.x=(s.touchescurrent.x-r.prevpositionx)/(date.now()-r.prevtime)/2,r.y=(s.touchescurrent.y-r.prevpositiony)/(date.now()-r.prevtime)/2,math.abs(s.touchescurrent.x-r.prevpositionx)<2&&(r.x=0),math.abs(s.touchescurrent.y-r.prevpositiony)<2&&(r.y=0),r.prevpositionx=s.touchescurrent.x,r.prevpositiony=s.touchescurrent.y,r.prevtime=date.now(),i.$imagewrapel.transform("translate3d("+s.currentx+"px, "+s.currenty+"px,0)")}}},ontouchend:function(){var e=this.zoom,t=e.gesture,a=e.image,i=e.velocity;if(t.$imageel&&0!==t.$imageel.length){if(!a.istouched||!a.ismoved)return a.istouched=!1,void(a.ismoved=!1);a.istouched=!1,a.ismoved=!1;var s=300,r=300,n=i.x*s,o=a.currentx+n,l=i.y*r,d=a.currenty+l;0!==i.x&&(s=math.abs((o-a.currentx)/i.x)),0!==i.y&&(r=math.abs((d-a.currenty)/i.y));var p=math.max(s,r);a.currentx=o,a.currenty=d;var c=a.width*e.scale,u=a.height*e.scale;a.minx=math.min(t.slidewidth/2-c/2,0),a.maxx=-a.minx,a.miny=math.min(t.slideheight/2-u/2,0),a.maxy=-a.miny,a.currentx=math.max(math.min(a.currentx,a.maxx),a.minx),a.currenty=math.max(math.min(a.currenty,a.maxy),a.miny),t.$imagewrapel.transition(p).transform("translate3d("+a.currentx+"px, "+a.currenty+"px,0)")}},ontransitionend:function(){var e=this.zoom,t=e.gesture;t.$slideel&&this.previousindex!==this.activeindex&&(t.$imageel.transform("translate3d(0,0,0) scale(1)"),t.$imagewrapel.transform("translate3d(0,0,0)"),e.scale=1,e.currentscale=1,t.$slideel=void 0,t.$imageel=void 0,t.$imagewrapel=void 0)},toggle:function(e){var t=this.zoom;t.scale&&1!==t.scale?t.out():t.in(e)},in:function(e){var t,a,i,s,r,n,o,l,d,p,c,u,h,v,f,m,g=this,b=g.zoom,w=g.params.zoom,y=b.gesture,x=b.image;(y.$slideel||(y.$slideel=g.clickedslide?l(g.clickedslide):g.slides.eq(g.activeindex),y.$imageel=y.$slideel.find("img, svg, canvas"),y.$imagewrapel=y.$imageel.parent("."+w.containerclass)),y.$imageel&&0!==y.$imageel.length)&&(y.$slideel.addclass(""+w.zoomedslideclass),void 0===x.touchesstart.x&&e?(t="touchend"===e.type?e.changedtouches[0].pagex:e.pagex,a="touchend"===e.type?e.changedtouches[0].pagey:e.pagey):(t=x.touchesstart.x,a=x.touchesstart.y),b.scale=y.$imagewrapel.attr("data-swiper-zoom")||w.maxratio,b.currentscale=y.$imagewrapel.attr("data-swiper-zoom")||w.maxratio,e?(f=y.$slideel[0].offsetwidth,m=y.$slideel[0].offsetheight,i=y.$slideel.offset().left+f/2-t,s=y.$slideel.offset().top+m/2-a,o=y.$imageel[0].offsetwidth,l=y.$imageel[0].offsetheight,d=o*b.scale,p=l*b.scale,h=-(c=math.min(f/2-d/2,0)),v=-(u=math.min(m/2-p/2,0)),(r=i*b.scale)>1]<=t?i=s:a=s;return a};return this.x=e,this.y=t,this.lastindex=e.length-1,this.interpolate=function(e){return e?(n=o(this.x,e),r=n-1,(e-this.x[r])*(this.y[n]-this.y[r])/(this.x[n]-this.x[r])+this.y[r]):0},this},getinterpolatefunction:function(e){var t=this;t.controller.spline||(t.controller.spline=t.params.loop?new v.linearspline(t.slidesgrid,e.slidesgrid):new v.linearspline(t.snapgrid,e.snapgrid))},settranslate:function(e,t){var a,i,s=this,r=s.controller.control;function n(e){var t=s.rtltranslate?-s.translate:s.translate;"slide"===s.params.controller.by&&(s.controller.getinterpolatefunction(e),i=-s.controller.spline.interpolate(-t)),i&&"container"!==s.params.controller.by||(a=(e.maxtranslate()-e.mintranslate())/(s.maxtranslate()-s.mintranslate()),i=(t-s.mintranslate())*a+e.mintranslate()),s.params.controller.inverse&&(i=e.maxtranslate()-i),e.updateprogress(i),e.settranslate(i,s),e.updateactiveindex(),e.updateslidesclasses()}if(array.isarray(r))for(var o=0;o'),i.append(e)),e.css({height:r+"px"})):0===(e=a.find(".swiper-cube-shadow")).length&&(e=l(''),a.append(e)));for(var h=0;h'),v.append(e)),0===s.length&&(s=l(''),v.append(s)),e.length&&(e[0].style.opacity=math.max(-b,0)),s.length&&(s[0].style.opacity=math.max(b,0))}}if(i.css({"-webkit-transform-origin":"50% 50% -"+l/2+"px","-moz-transform-origin":"50% 50% -"+l/2+"px","-ms-transform-origin":"50% 50% -"+l/2+"px","transform-origin":"50% 50% -"+l/2+"px"}),d.shadow)if(p)e.transform("translate3d(0px, "+(r/2+d.shadowoffset)+"px, "+-r/2+"px) rotatex(90deg) rotatez(0deg) scale("+d.shadowscale+")");else{var c=math.abs(u)-90*math.floor(math.abs(u)/90),m=1.5-(math.sin(2*c*math.pi/360)/2+math.cos(2*c*math.pi/360)/2),z=d.shadowscale,p=d.shadowscale/m,k=d.shadowoffset;e.transform("scale3d("+z+", 1, "+p+") translate3d(0px, "+(n/2+k)+"px, "+-n/2/p+"px) rotatex(-90deg)")}var $=i.issafari||i.isuiwebview?-l/2:0;i.transform("translate3d(0px,0,"+$+"px) rotatex("+(t.ishorizontal()?0:u)+"deg) rotatey("+(t.ishorizontal()?-u:0)+"deg)")},settransition:function(e){var t=this.$el;this.slides.transition(e).find(".swiper-slide-shadow-top, .swiper-slide-shadow-right, .swiper-slide-shadow-bottom, .swiper-slide-shadow-left").transition(e),this.params.cubeeffect.shadow&&!this.ishorizontal()&&t.find(".swiper-cube-shadow").transition(e)}},k={settranslate:function(){for(var e=this,t=e.slides,a=e.rtltranslate,i=0;i'),s.append(p)),0===c.length&&(c=l(''),s.append(c)),p.length&&(p[0].style.opacity=math.max(-r,0)),c.length&&(c[0].style.opacity=math.max(r,0))}s.transform("translate3d("+l+"px, "+d+"px, 0px) rotatex("+o+"deg) rotatey("+n+"deg)")}},settransition:function(e){var a=this,t=a.slides,i=a.activeindex,s=a.$wrapperel;if(t.transition(e).find(".swiper-slide-shadow-top, .swiper-slide-shadow-right, .swiper-slide-shadow-bottom, .swiper-slide-shadow-left").transition(e),a.params.virtualtranslate&&0!==e){var r=!1;t.eq(i).transitionend(function(){if(!r&&a&&!a.destroyed){r=!0,a.animating=!1;for(var e=["webkittransitionend","transitionend"],t=0;t'),v.append(e)),0===s.length&&(s=l(''),v.append(s)),e.length&&(e[0].style.opacity=0')}}),object.keys(f).foreach(function(e){t.a11y[e]=f[e].bind(t)})},on:{init:function(){this.params.a11y.enabled&&(this.a11y.init(),this.a11y.updatenavigation())},toedge:function(){this.params.a11y.enabled&&this.a11y.updatenavigation()},fromedge:function(){this.params.a11y.enabled&&this.a11y.updatenavigation()},paginationupdate:function(){this.params.a11y.enabled&&this.a11y.updatepagination()},destroy:function(){this.params.a11y.enabled&&this.a11y.destroy()}}},{name:"history",params:{history:{enabled:!1,replacestate:!1,key:"slides"}},create:function(){var e=this;ee.extend(e,{history:{init:r.init.bind(e),sethistory:r.sethistory.bind(e),sethistorypopstate:r.sethistorypopstate.bind(e),scrolltoslide:r.scrolltoslide.bind(e),destroy:r.destroy.bind(e)}})},on:{init:function(){this.params.history.enabled&&this.history.init()},destroy:function(){this.params.history.enabled&&this.history.destroy()},transitionend:function(){this.history.initialized&&this.history.sethistory(this.params.history.key,this.activeindex)}}},{name:"hash-navigation",params:{hashnavigation:{enabled:!1,replacestate:!1,watchstate:!1}},create:function(){var e=this;ee.extend(e,{hashnavigation:{initialized:!1,init:q.init.bind(e),destroy:q.destroy.bind(e),sethash:q.sethash.bind(e),onhashcange:q.onhashcange.bind(e)}})},on:{init:function(){this.params.hashnavigation.enabled&&this.hashnavigation.init()},destroy:function(){this.params.hashnavigation.enabled&&this.hashnavigation.destroy()},transitionend:function(){this.hashnavigation.initialized&&this.hashnavigation.sethash()}}},{name:"autoplay",params:{autoplay:{enabled:!1,delay:3e3,waitfortransition:!0,disableoninteraction:!0,stoponlastslide:!1,reversedirection:!1}},create:function(){var t=this;ee.extend(t,{autoplay:{running:!1,paused:!1,run:w.run.bind(t),start:w.start.bind(t),stop:w.stop.bind(t),pause:w.pause.bind(t),ontransitionend:function(e){t&&!t.destroyed&&t.$wrapperel&&e.target===this&&(t.$wrapperel[0].removeeventlistener("transitionend",t.autoplay.ontransitionend),t.$wrapperel[0].removeeventlistener("webkittransitionend",t.autoplay.ontransitionend),t.autoplay.paused=!1,t.autoplay.running?t.autoplay.run():t.autoplay.stop())}}})},on:{init:function(){this.params.autoplay.enabled&&this.autoplay.start()},beforetransitionstart:function(e,t){this.autoplay.running&&(t||!this.params.autoplay.disableoninteraction?this.autoplay.pause(e):this.autoplay.stop())},sliderfirstmove:function(){this.autoplay.running&&(this.params.autoplay.disableoninteraction?this.autoplay.stop():this.autoplay.pause())},destroy:function(){this.autoplay.running&&this.autoplay.stop()}}},{name:"effect-fade",params:{fadeeffect:{crossfade:!1}},create:function(){ee.extend(this,{fadeeffect:{settranslate:j.settranslate.bind(this),settransition:j.settransition.bind(this)}})},on:{beforeinit:function(){var e=this;if("fade"===e.params.effect){e.classnames.push(e.params.containermodifierclass+"fade");var t={slidesperview:1,slidespercolumn:1,slidespergroup:1,watchslidesprogress:!0,spacebetween:0,virtualtranslate:!0};ee.extend(e.params,t),ee.extend(e.originalparams,t)}},settranslate:function(){"fade"===this.params.effect&&this.fadeeffect.settranslate()},settransition:function(e){"fade"===this.params.effect&&this.fadeeffect.settransition(e)}}},{name:"effect-cube",params:{cubeeffect:{slideshadows:!0,shadow:!0,shadowoffset:20,shadowscale:.94}},create:function(){ee.extend(this,{cubeeffect:{settranslate:u.settranslate.bind(this),settransition:u.settransition.bind(this)}})},on:{beforeinit:function(){var e=this;if("cube"===e.params.effect){e.classnames.push(e.params.containermodifierclass+"cube"),e.classnames.push(e.params.containermodifierclass+"3d");var t={slidesperview:1,slidespercolumn:1,slidespergroup:1,watchslidesprogress:!0,resistanceratio:0,spacebetween:0,centeredslides:!1,virtualtranslate:!0};ee.extend(e.params,t),ee.extend(e.originalparams,t)}},settranslate:function(){"cube"===this.params.effect&&this.cubeeffect.settranslate()},settransition:function(e){"cube"===this.params.effect&&this.cubeeffect.settransition(e)}}},{name:"effect-flip",params:{flipeffect:{slideshadows:!0,limitrotation:!0}},create:function(){ee.extend(this,{flipeffect:{settranslate:k.settranslate.bind(this),settransition:k.settransition.bind(this)}})},on:{beforeinit:function(){var e=this;if("flip"===e.params.effect){e.classnames.push(e.params.containermodifierclass+"flip"),e.classnames.push(e.params.containermodifierclass+"3d");var t={slidesperview:1,slidespercolumn:1,slidespergroup:1,watchslidesprogress:!0,spacebetween:0,virtualtranslate:!0};ee.extend(e.params,t),ee.extend(e.originalparams,t)}},settranslate:function(){"flip"===this.params.effect&&this.flipeffect.settranslate()},settransition:function(e){"flip"===this.params.effect&&this.flipeffect.settransition(e)}}},{name:"effect-coverflow",params:{coverfloweffect:{rotate:50,stretch:0,depth:100,modifier:1,slideshadows:!0}},create:function(){ee.extend(this,{coverfloweffect:{settranslate:_.settranslate.bind(this),settransition:_.settransition.bind(this)}})},on:{beforeinit:function(){var e=this;"coverflow"===e.params.effect&&(e.classnames.push(e.params.containermodifierclass+"coverflow"),e.classnames.push(e.params.containermodifierclass+"3d"),e.params.watchslidesprogress=!0,e.originalparams.watchslidesprogress=!0)},settranslate:function(){"coverflow"===this.params.effect&&this.coverfloweffect.settranslate()},settransition:function(e){"coverflow"===this.params.effect&&this.coverfloweffect.settransition(e)}}},{name:"thumbs",params:{thumbs:{swiper:null,slidethumbactiveclass:"swiper-slide-thumb-active",thumbscontainerclass:"swiper-container-thumbs"}},create:function(){ee.extend(this,{thumbs:{swiper:null,init:z.init.bind(this),update:z.update.bind(this),onthumbclick:z.onthumbclick.bind(this)}})},on:{beforeinit:function(){var e=this.params.thumbs;e&&e.swiper&&(this.thumbs.init(),this.thumbs.update(!0))},slidechange:function(){this.thumbs.swiper&&this.thumbs.update()},update:function(){this.thumbs.swiper&&this.thumbs.update()},resize:function(){this.thumbs.swiper&&this.thumbs.update()},observerupdate:function(){this.thumbs.swiper&&this.thumbs.update()},settransition:function(e){var t=this.thumbs.swiper;t&&t.settransition(e)},beforedestroy:function(){var e=this.thumbs.swiper;e&&this.thumbs.swipercreated&&e&&e.destroy()}}}];return void 0===t.use&&(t.use=t.class.use,t.installmodule=t.class.installmodule),t.use(q),t});
//# sourcemappingurl=maps/swiper.jquery.min.js.map
//本插件由www.swiper.com.cn提供
function swiperanimatecache(){for(allboxes=window.document.documentelement.queryselectorall(".ani"),i=0;i self.endval);
self.frameval = self.startval;
self.decimals = math.max(0, decimals || 0);
self.dec = math.pow(10, self.decimals);
self.duration = number(duration) * 1000 || 2000;
self.formatnumber = function(nstr) {
nstr = nstr.tofixed(self.decimals);
nstr += '';
var x, x1, x2, rgx;
x = nstr.split('.');
x1 = x[0];
x2 = x.length > 1 ? self.options.decimal + x[1] : '';
rgx = /(\d+)(\d{3})/;
if (self.options.usegrouping) {
while (rgx.test(x1)) {
x1 = x1.replace(rgx, '$1' + self.options.separator + '$2');
}
}
return self.options.prefix + x1 + x2 + self.options.suffix;
};
// robert penner's easeoutexpo
self.easeoutexpo = function(t, b, c, d) {
return c * (-math.pow(2, -10 * t / d) + 1) * 1024 / 1023 + b;
};
self.easingfn = self.options.easingfn ? self.options.easingfn : self.easeoutexpo;
self.formattingfn = self.options.formattingfn ? self.options.formattingfn : self.formatnumber;
self.version = function () { return '1.7.1'; };
// print value to target
self.printvalue = function(value) {
var result = self.formattingfn(value);
if (self.d.tagname === 'input') {
this.d.value = result;
}
else if (self.d.tagname === 'text' || self.d.tagname === 'tspan') {
this.d.textcontent = result;
}
else {
this.d.innerhtml = result;
}
};
self.count = function(timestamp) {
if (!self.starttime) { self.starttime = timestamp; }
self.timestamp = timestamp;
var progress = timestamp - self.starttime;
self.remaining = self.duration - progress;
// to ease or not to ease
if (self.options.useeasing) {
if (self.countdown) {
self.frameval = self.startval - self.easingfn(progress, 0, self.startval - self.endval, self.duration);
} else {
self.frameval = self.easingfn(progress, self.startval, self.endval - self.startval, self.duration);
}
} else {
if (self.countdown) {
self.frameval = self.startval - ((self.startval - self.endval) * (progress / self.duration));
} else {
self.frameval = self.startval + (self.endval - self.startval) * (progress / self.duration);
}
}
// don't go past endval since progress can exceed duration in the last frame
if (self.countdown) {
self.frameval = (self.frameval < self.endval) ? self.endval : self.frameval;
} else {
self.frameval = (self.frameval > self.endval) ? self.endval : self.frameval;
}
// decimal
self.frameval = math.round(self.frameval*self.dec)/self.dec;
// format and print value
self.printvalue(self.frameval);
// whether to continue
if (progress < self.duration) {
self.raf = requestanimationframe(self.count);
} else {
if (self.callback) { self.callback(); }
}
};
// start your animation
self.start = function(callback) {
self.callback = callback;
self.raf = requestanimationframe(self.count);
return false;
};
// toggles pause/resume animation
self.pauseresume = function() {
if (!self.paused) {
self.paused = true;
cancelanimationframe(self.raf);
} else {
self.paused = false;
delete self.starttime;
self.duration = self.remaining;
self.startval = self.frameval;
requestanimationframe(self.count);
}
};
// reset to startval so animation can be run again
self.reset = function() {
self.paused = false;
delete self.starttime;
self.startval = startval;
cancelanimationframe(self.raf);
self.printvalue(self.startval);
};
// pass a new endval and start animation
self.update = function (newendval) {
cancelanimationframe(self.raf);
self.paused = false;
delete self.starttime;
self.startval = self.frameval;
self.endval = number(newendval);
self.countdown = (self.startval > self.endval);
self.raf = requestanimationframe(self.count);
};
// format startval on initialization
self.printvalue(self.startval);
};
/*!
waypoints - 4.0.0
copyright © 2011-2015 caleb troughton
licensed under the mit license.
https://github.com/imakewebthings/waypoints/blob/master/licenses.txt
*/
!function(){"use strict";function t(o){if(!o)throw new error("no options passed to waypoint constructor");if(!o.element)throw new error("no element option passed to waypoint constructor");if(!o.handler)throw new error("no handler option passed to waypoint constructor");this.key="waypoint-"+e,this.options=t.adapter.extend({},t.defaults,o),this.element=this.options.element,this.adapter=new t.adapter(this.element),this.callback=o.handler,this.axis=this.options.horizontal?"horizontal":"vertical",this.enabled=this.options.enabled,this.triggerpoint=null,this.group=t.group.findorcreate({name:this.options.group,axis:this.axis}),this.context=t.context.findorcreatebyelement(this.options.context),t.offsetaliases[this.options.offset]&&(this.options.offset=t.offsetaliases[this.options.offset]),this.group.add(this),this.context.add(this),i[this.key]=this,e+=1}var e=0,i={};t.prototype.queuetrigger=function(t){this.group.queuetrigger(this,t)},t.prototype.trigger=function(t){this.enabled&&this.callback&&this.callback.apply(this,t)},t.prototype.destroy=function(){this.context.remove(this),this.group.remove(this),delete i[this.key]},t.prototype.disable=function(){return this.enabled=!1,this},t.prototype.enable=function(){return this.context.refresh(),this.enabled=!0,this},t.prototype.next=function(){return this.group.next(this)},t.prototype.previous=function(){return this.group.previous(this)},t.invokeall=function(t){var e=[];for(var o in i)e.push(i[o]);for(var n=0,r=e.length;r>n;n++)e[n][t]()},t.destroyall=function(){t.invokeall("destroy")},t.disableall=function(){t.invokeall("disable")},t.enableall=function(){t.invokeall("enable")},t.refreshall=function(){t.context.refreshall()},t.viewportheight=function(){return window.innerheight||document.documentelement.clientheight},t.viewportwidth=function(){return document.documentelement.clientwidth},t.adapters=[],t.defaults={context:window,continuous:!0,enabled:!0,group:"default",horizontal:!1,offset:0},t.offsetaliases={"bottom-in-view":function(){return this.context.innerheight()-this.adapter.outerheight()},"right-in-view":function(){return this.context.innerwidth()-this.adapter.outerwidth()}},window.waypoint=t}(),function(){"use strict";function t(t){window.settimeout(t,1e3/60)}function e(t){this.element=t,this.adapter=n.adapter,this.adapter=new this.adapter(t),this.key="waypoint-context-"+i,this.didscroll=!1,this.didresize=!1,this.oldscroll={x:this.adapter.scrollleft(),y:this.adapter.scrolltop()},this.waypoints={vertical:{},horizontal:{}},t.waypointcontextkey=this.key,o[t.waypointcontextkey]=this,i+=1,this.createthrottledscrollhandler(),this.createthrottledresizehandler()}var i=0,o={},n=window.waypoint,r=window.onload;e.prototype.add=function(t){var e=t.options.horizontal?"horizontal":"vertical";this.waypoints[e][t.key]=t,this.refresh()},e.prototype.checkempty=function(){var t=this.adapter.isemptyobject(this.waypoints.horizontal),e=this.adapter.isemptyobject(this.waypoints.vertical);t&&e&&(this.adapter.off(".waypoints"),delete o[this.key])},e.prototype.createthrottledresizehandler=function(){function t(){e.handleresize(),e.didresize=!1}var e=this;this.adapter.on("resize.waypoints",function(){e.didresize||(e.didresize=!0,n.requestanimationframe(t))})},e.prototype.createthrottledscrollhandler=function(){function t(){e.handlescroll(),e.didscroll=!1}var e=this;this.adapter.on("scroll.waypoints",function(){(!e.didscroll||n.istouch)&&(e.didscroll=!0,n.requestanimationframe(t))})},e.prototype.handleresize=function(){n.context.refreshall()},e.prototype.handlescroll=function(){var t={},e={horizontal:{newscroll:this.adapter.scrollleft(),oldscroll:this.oldscroll.x,forward:"right",backward:"left"},vertical:{newscroll:this.adapter.scrolltop(),oldscroll:this.oldscroll.y,forward:"down",backward:"up"}};for(var i in e){var o=e[i],n=o.newscroll>o.oldscroll,r=n?o.forward:o.backward;for(var s in this.waypoints[i]){var a=this.waypoints[i][s],l=o.oldscroll=a.triggerpoint,p=l&&h,u=!l&&!h;(p||u)&&(a.queuetrigger(r),t[a.group.id]=a.group)}}for(var c in t)t[c].flushtriggers();this.oldscroll={x:e.horizontal.newscroll,y:e.vertical.newscroll}},e.prototype.innerheight=function(){return this.element==this.element.window?n.viewportheight():this.adapter.innerheight()},e.prototype.remove=function(t){delete this.waypoints[t.axis][t.key],this.checkempty()},e.prototype.innerwidth=function(){return this.element==this.element.window?n.viewportwidth():this.adapter.innerwidth()},e.prototype.destroy=function(){var t=[];for(var e in this.waypoints)for(var i in this.waypoints[e])t.push(this.waypoints[e][i]);for(var o=0,n=t.length;n>o;o++)t[o].destroy()},e.prototype.refresh=function(){var t,e=this.element==this.element.window,i=e?void 0:this.adapter.offset(),o={};this.handlescroll(),t={horizontal:{contextoffset:e?0:i.left,contextscroll:e?0:this.oldscroll.x,contextdimension:this.innerwidth(),oldscroll:this.oldscroll.x,forward:"right",backward:"left",offsetprop:"left"},vertical:{contextoffset:e?0:i.top,contextscroll:e?0:this.oldscroll.y,contextdimension:this.innerheight(),oldscroll:this.oldscroll.y,forward:"down",backward:"up",offsetprop:"top"}};for(var r in t){var s=t[r];for(var a in this.waypoints[r]){var l,h,p,u,c,d=this.waypoints[r][a],f=d.options.offset,w=d.triggerpoint,y=0,g=null==w;d.element!==d.element.window&&(y=d.adapter.offset()[s.offsetprop]),"function"==typeof f?f=f.apply(d):"string"==typeof f&&(f=parsefloat(f),d.options.offset.indexof("%")>-1&&(f=math.ceil(s.contextdimension*f/100))),l=s.contextscroll-s.contextoffset,d.triggerpoint=y+l-f,h=w=s.oldscroll,u=h&&p,c=!h&&!p,!g&&u?(d.queuetrigger(s.backward),o[d.group.id]=d.group):!g&&c?(d.queuetrigger(s.forward),o[d.group.id]=d.group):g&&s.oldscroll>=d.triggerpoint&&(d.queuetrigger(s.forward),o[d.group.id]=d.group)}}return n.requestanimationframe(function(){for(var t in o)o[t].flushtriggers()}),this},e.findorcreatebyelement=function(t){return e.findbyelement(t)||new e(t)},e.refreshall=function(){for(var t in o)o[t].refresh()},e.findbyelement=function(t){return o[t.waypointcontextkey]},window.onload=function(){r&&r(),e.refreshall()},n.requestanimationframe=function(e){var i=window.requestanimationframe||window.mozrequestanimationframe||window.webkitrequestanimationframe||t;i.call(window,e)},n.context=e}(),function(){"use strict";function t(t,e){return t.triggerpoint-e.triggerpoint}function e(t,e){return e.triggerpoint-t.triggerpoint}function i(t){this.name=t.name,this.axis=t.axis,this.id=this.name+"-"+this.axis,this.waypoints=[],this.cleartriggerqueues(),o[this.axis][this.name]=this}var o={vertical:{},horizontal:{}},n=window.waypoint;i.prototype.add=function(t){this.waypoints.push(t)},i.prototype.cleartriggerqueues=function(){this.triggerqueues={up:[],down:[],left:[],right:[]}},i.prototype.flushtriggers=function(){for(var i in this.triggerqueues){var o=this.triggerqueues[i],n="up"===i||"left"===i;o.sort(n?e:t);for(var r=0,s=o.length;s>r;r+=1){var a=o[r];(a.options.continuous||r===o.length-1)&&a.trigger([i])}}this.cleartriggerqueues()},i.prototype.next=function(e){this.waypoints.sort(t);var i=n.adapter.inarray(e,this.waypoints),o=i===this.waypoints.length-1;return o?null:this.waypoints[i+1]},i.prototype.previous=function(e){this.waypoints.sort(t);var i=n.adapter.inarray(e,this.waypoints);return i?this.waypoints[i-1]:null},i.prototype.queuetrigger=function(t,e){this.triggerqueues[e].push(t)},i.prototype.remove=function(t){var e=n.adapter.inarray(t,this.waypoints);e>-1&&this.waypoints.splice(e,1)},i.prototype.first=function(){return this.waypoints[0]},i.prototype.last=function(){return this.waypoints[this.waypoints.length-1]},i.findorcreate=function(t){return o[t.axis][t.name]||new i(t)},n.group=i}(),function(){"use strict";function t(t){this.$element=e(t)}var e=window.jquery,i=window.waypoint;e.each(["innerheight","innerwidth","off","offset","on","outerheight","outerwidth","scrollleft","scrolltop"],function(e,i){t.prototype[i]=function(){var t=array.prototype.slice.call(arguments);return this.$element[i].apply(this.$element,t)}}),e.each(["extend","inarray","isemptyobject"],function(i,o){t[o]=e[o]}),i.adapters.push({name:"jquery",adapter:t}),i.adapter=t}(),function(){"use strict";function t(t){return function(){var i=[],o=arguments[0];return t.isfunction(arguments[0])&&(o=t.extend({},arguments[1]),o.handler=arguments[0]),this.each(function(){var n=t.extend({},o,{element:this});"string"==typeof n.context&&(n.context=t(this).closest(n.context)[0]),i.push(new e(n))}),i}}var e=window.waypoint;window.jquery&&(window.jquery.fn.waypoint=t(window.jquery)),window.zepto&&(window.zepto.fn.waypoint=t(window.zepto))}();