!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t(require("react")):"function"==typeof define&&define.amd?define(["react"],t):"object"==typeof exports?exports.Slider=t(require("react")):e.Slider=t(e.React)}(window,(function(e){return n=[function(e,t,n){var r=n(2);function i(e,t){var n,r=Object.keys(e);return Object.getOwnPropertySymbols&&(n=Object.getOwnPropertySymbols(e),t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)),r}e.exports=function(e){for(var t=1;t=e.slideCount;return e.centerMode?(r=Math.floor(e.slidesToShow/2),n=(i-e.currentSlide)%e.slideCount==0,i>e.currentSlide-r-1&&i<=e.currentSlide+r&&(t=!0)):t=e.currentSlide<=i&&i=e.slideCount?e.targetSlide-e.slideCount:e.targetSlide)}}function k(e,t){return e.key+"-"+t}function x(e){var t,n=[],r=[],i=[],s=p.a.Children.count(e.children),a=O(e),l=M(e);return p.a.Children.forEach(e.children,(function(c,u){var d,f={message:"children",index:u,slidesToScroll:e.slidesToScroll,currentSlide:e.currentSlide},h=!e.lazyLoad||e.lazyLoad&&0<=e.lazyLoadedList.indexOf(u)?c:p.a.createElement("div",null),v=(g={},void 0!==(v=o()(o()({},e),{},{index:u})).variableWidth&&!1!==v.variableWidth||(g.width=v.slideWidth),v.fade&&(g.position="relative",v.vertical&&v.slideHeight?g.top=-v.index*parseInt(v.slideHeight):g.left=-v.index*parseInt(v.slideWidth),g.opacity=v.currentSlide===v.index?1:0,v.useCSS)&&(g.transition="opacity "+v.speed+"ms "+v.cssEase+", visibility "+v.speed+"ms "+v.cssEase),g),g=h.props.className||"",S=w(o()(o()({},e),{},{index:u}));n.push(p.a.cloneElement(h,{key:"original"+k(h,u),"data-index":u,className:y()(S,g),tabIndex:"-1","aria-hidden":!S["slick-active"],style:o()(o()({outline:"none"},h.props.style||{}),v),onClick:function(t){h.props&&h.props.onClick&&h.props.onClick(t),e.focusOnSelect&&e.focusOnSelect(f)}})),e.infinite&&!1===e.fade&&((d=s-u)<=N(e)&&s!==e.slidesToShow&&(a<=(t=-d)&&(h=c),S=w(o()(o()({},e),{},{index:t})),r.push(p.a.cloneElement(h,{key:"precloned"+k(h,t),"data-index":t,tabIndex:"-1",className:y()(S,g),"aria-hidden":!S["slick-active"],style:o()(o()({},h.props.style||{}),v),onClick:function(t){h.props&&h.props.onClick&&h.props.onClick(t),e.focusOnSelect&&e.focusOnSelect(f)}}))),s!==e.slidesToShow)&&((t=s+u)=e.slideCount-1||e.slideCount<=e.slidesToShow||e.currentSlide>=e.slideCount-e.slidesToShow)&&(t=!1),t},W=function(e,t){var n=function(e){for(var t=e.infinite?2*e.slideCount:e.slideCount,n=e.infinite?-1*e.slidesToShow:0,r=e.infinite?-1*e.slidesToShow:0,i=[];nn[n.length-1])t=n[n.length-1];else for(var i in n){if(t-1*e.swipeLeft)return t=n,!1}else if(n.offsetLeft-r+C(n)/2>-1*e.swipeLeft)return t=n,!1;return!0})),t?(n=!0===e.rtl?e.slideCount-e.currentSlide:e.currentSlide,Math.abs(t.dataset.index-n)||1):0):e.slidesToScroll},j=function(e,t){return t.reduce((function(t,n){return t&&e.hasOwnProperty(n)}),!0)?null:console.error("Keys Missing:",e)},A=function(e){j(e,["left","variableWidth","slideCount","slidesToShow","slideWidth"]);var t,n,r,i,s,a=e.slideCount+2*e.slidesToShow;e.vertical?n=a*e.slideHeight:t=q(e)*e.slideWidth,a={opacity:1,transition:"",WebkitTransition:""};return e.useTransform?(r=e.vertical?"translate3d(0px, "+e.left+"px, 0px)":"translate3d("+e.left+"px, 0px, 0px)",i=e.vertical?"translate3d(0px, "+e.left+"px, 0px)":"translate3d("+e.left+"px, 0px, 0px)",s=e.vertical?"translateY("+e.left+"px)":"translateX("+e.left+"px)",a=o()(o()({},a),{},{WebkitTransform:r,transform:i,msTransform:s})):e.vertical?a.top=e.left:a.left=e.left,e.fade&&(a={opacity:1}),t&&(a.width=t),n&&(a.height=n),window&&!window.addEventListener&&window.attachEvent&&(e.vertical?a.marginTop=e.left+"px":a.marginLeft=e.left+"px"),a},D=function(e){j(e,["left","variableWidth","slideCount","slidesToShow","slideWidth","speed","cssEase"]);var t=A(e);return e.useTransform?(t.WebkitTransition="-webkit-transform "+e.speed+"ms "+e.cssEase,t.transition="transform "+e.speed+"ms "+e.cssEase):e.vertical?t.transition="top "+e.speed+"ms "+e.cssEase:t.transition="left "+e.speed+"ms "+e.cssEase,t},I=function(e){if(e.unslick)return 0;j(e,["slideIndex","trackRef","infinite","centerMode","slideCount","slidesToShow","slidesToScroll","slideWidth","listWidth","variableWidth","slideHeight"]);var t=e.slideIndex,n=e.trackRef,r=e.infinite,i=e.centerMode,o=e.slideCount,s=e.slidesToShow,a=e.slidesToScroll,l=e.slideWidth,c=e.listWidth,u=e.variableWidth,d=e.slideHeight,p=e.fade,f=e.vertical;if(p||1===e.slideCount)return 0;if(p=0,r?(p=-N(e),o%a!=0&&oe.currentSlide?e.targetSlide>e.currentSlide+function(e){var t=e.slidesToShow,n=e.centerMode,r=e.rtl;return e=e.centerPadding,n?(n=(t-1)/2+1,0=p.a.Children.count(r.props.children)&&r.changeSlide({message:"index",index:p.a.Children.count(r.props.children)-r.props.slidesToShow,currentSlide:r.state.currentSlide}),e.autoplay===r.props.autoplay&&e.autoplaySpeed===r.props.autoplaySpeed||(!e.autoplay&&r.props.autoplay?r.autoPlay("playing"):r.props.autoplay?r.autoPlay("update"):r.pause("paused"))}))})),d()(l()(r),"onWindowResized",(function(e){var t;r.debouncedResize&&r.debouncedResize.cancel(),r.debouncedResize=(50,function(e,t,n){var r,i,o=void 0!==(i=(n=n||{}).noTrailing)&&i,s=void 0!==(i=n.noLeading)&&i,a=void 0===(i=n.debounceMode)?void 0:i,l=!1,c=0;function u(){r&&clearTimeout(r)}function d(){for(var n=arguments.length,i=new Array(n),d=0;d=-N(t);i--)if(r.state.lazyLoadedList.indexOf(i)<0){e.push(i);break}0e.currentSlide&&"left"===i?t-=s:tS.startX?1:-1),a&&(h=S.curY>S.startY?1:-1),s=Math.ceil(v/y),v=z(t.touchObject,a),y=S.swipeLength,g||(0===c&&("right"===v||"down"===v)||s<=c+1&&("left"===v||"up"===v)||!R(t)&&("left"===v||"up"===v))&&(y=S.swipeLength*u,!1===d)&&p&&(p(v),n.edgeDragged=!0),!f&&m&&(m(v),n.swiped=!0),g=a?r+y*h:i?r+y*(b/w)*h:l?r-y*h:r+y*h,n=o()(o()({},n),{},{touchObject:S,swipeLeft:g,trackStyle:A(o()(o()({},t),{},{left:g}))}),Math.abs(S.curX-S.startX)<.8*Math.abs(S.curY-S.startY)||10n){_(e),p&&p(r);var g,S,m=v?h:f;switch(r){case"left":case"up":S=m+H(t),g=u?W(t,S):S,y.currentDirection=0;break;case"right":case"down":S=m-H(t),g=u?W(t,S):S,y.currentDirection=1;break;default:g=m}y.triggerSlideHandler=g}else c=I(t),y.trackStyle=D(o()(o()({},t),{},{left:c}));return y}(e,o()(o()(o()({},r.props),r.state),{},{trackRef:r.track,listRef:r.list,slideIndex:r.state.currentSlide})))&&(t=e.triggerSlideHandler,delete e.triggerSlideHandler,r.setState(e),void 0!==t)&&(r.slideHandler(t),r.props.verticalSwiping)&&r.enableBodyScroll()})),d()(l()(r),"touchEnd",(function(e){r.swipeEnd(e),r.clickable=!0})),d()(l()(r),"slickPrev",(function(){r.callbackTimers.push(setTimeout((function(){return r.changeSlide({message:"previous"})}),0))})),d()(l()(r),"slickNext",(function(){r.callbackTimers.push(setTimeout((function(){return r.changeSlide({message:"next"})}),0))})),d()(l()(r),"slickGoTo",(function(e){var t=1=r.props.slidesToShow&&(l=S(c,["dotsClass","slideCount","slidesToShow","currentSlide","slidesToScroll","clickHandler","children","customPaging","infinite","appendDots"]),e=r.props.pauseOnDotsHover,l=o()(o()({},l),{},{clickHandler:r.changeSlide,onMouseEnter:e?r.onDotsLeave:null,onMouseOver:e?r.onDotsOver:null,onMouseLeave:e?r.onDotsLeave:null}),e=p.a.createElement(F,l)),S(c,["infinite","centerMode","currentSlide","slideCount","slidesToShow","prevArrow","nextArrow"]))).clickHandler=r.changeSlide,r.props.arrows&&(t=p.a.createElement(B,l),n=p.a.createElement(G,l)),null);r.props.vertical&&(c={height:r.state.listHeight}),l=null,!1===r.props.vertical?!0===r.props.centerMode&&(l={padding:"0px "+r.props.centerPadding}):!0===r.props.centerMode&&(l={padding:r.props.centerPadding+" 0px"}),c=o()(o()({},c),l),l=r.props.touchMove,c={className:"slick-list",style:c,onClick:r.clickHandler,onMouseDown:l?r.swipeStart:null,onMouseMove:r.state.dragging&&l?r.swipeMove:null,onMouseUp:l?r.swipeEnd:null,onMouseLeave:r.state.dragging&&l?r.swipeEnd:null,onTouchStart:l?r.swipeStart:null,onTouchMove:r.state.dragging&&l?r.swipeMove:null,onTouchEnd:l?r.touchEnd:null,onTouchCancel:r.state.dragging&&l?r.swipeEnd:null,onKeyDown:r.props.accessibility?r.keyHandler:null},l={className:s,dir:"ltr",style:r.props.style};return r.props.unslick&&(c={className:"slick-list"},l={className:s,style:r.props.style}),p.a.createElement("div",l,r.props.unslick?"":t,p.a.createElement("div",i()({ref:r.listRefHandler},c),p.a.createElement(Y,i()({ref:r.trackRefHandler},a),r.props.children)),r.props.unslick?"":n,r.props.unslick?"":e)})),r.list=null,r.track=null,r.state=o()(o()({},v),{},{currentSlide:r.props.initialSlide,slideCount:p.a.Children.count(r.props.children)}),r.callbackTimers=[],r.clickable=!0,r.debouncedResize=null;var r;e=r.ssrInit();return r.state=o()(o()({},r.state),e),r}return a()(n,[{key:"didPropsChange",value:function(e){for(var t=!1,n=0,r=Object.keys(this.props);n 1 or slidesPerRow > 1"),t.variableWidth=!1);for(var r,s=[],a=null,l=0;l=n.length));f+=1)d.push(p.a.cloneElement(n[f],{key:100*l+10*u+f,tabIndex:-1,style:{width:"".concat(100/t.slidesPerRow,"%"),display:"inline-block"}}));c.push(p.a.createElement("div",{key:10*l+u},d))}t.variableWidth?s.push(p.a.createElement("div",{key:l,style:{width:a}},c)):s.push(p.a.createElement("div",{key:l},c))}return"unslick"===t?(r="regular slider "+(this.props.className||""),p.a.createElement("div",{className:r},n)):(s.length<=t.slidesToShow&&(t.unslick=!0),p.a.createElement(K,i()({style:this.props.style,ref:this.innerSliderRefHandler},t),s))}}]),n}(p.a.Component);t.default=n}],r={},t.m=n,t.c=r,t.d=function(e,n,r){t.o(e,n)||Object.defineProperty(e,n,{enumerable:!0,get:r})},t.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},t.t=function(e,n){if(1&n&&(e=t(e)),8&n)return e;if(4&n&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(t.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&n&&"string"!=typeof e)for(var i in e)t.d(r,i,function(t){return e[t]}.bind(null,i));return r},t.n=function(e){var n=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(n,"a",n),n},t.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},t.p="",t(t.s=23);function t(e){var i;return(r[e]||(i=r[e]={i:e,l:!1,exports:{}},n[e].call(i.exports,i,i.exports,t),i.l=!0,i)).exports}var n,r})); //# sourceMappingURL=react-slick.min.js.map