(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4565],{94565:function(i,e,n){"use strict";n.r(e),n.d(e,{default:function(){return v}});var t=n(47568),r=n(26042),s=n(69396),o=n(29815),a=n(20414),l=n(97997),d=n(11720),c=n(45697),g=n(5152),u=n.n(g),p=n(16958),_=n(32543),h=n.n(_),f=n(35070),k=n.n(f),b=n(49611),m=u()((function(){return Promise.all([n.e(7427),n.e(6066),n.e(1038)]).then(n.bind(n,46066))}),{loadableGenerated:{webpack:function(){return[46066]}}}),w=u()((function(){return Promise.resolve().then(n.bind(n,2347))}),{loadableGenerated:{webpack:function(){return[2347]}},loading:function(){return(0,l.tZ)(p.T,{})}}),C=function(i){var e=(0,b.z)(h(),k(),i.classes),c=(0,d.useState)(!1),g=c[0],u=c[1],p=(0,d.useState)(0),_=p[0],f=p[1],C=(0,d.useState)(!1),v=C[0],S=C[1],y=i.minHeight,Z=i.autoplay,x=i.autoplaySpeed,O=i.fade,T=i.infinite,R=i.showArrows,B=i.showDots,W=i.textAlign,A=i.border,L=i.borderColor,N=i.borderWidth,P=i.borderRadius,j=i.marginTop,E=i.marginRight,z=i.marginBottom,G=i.marginLeft,H=i.paddingTop,Y=i.paddingRight,Q=i.paddingBottom,V=i.paddingLeft,D=i.cssClasses,F=void 0===D?[]:D,J=i.children,K=(i.additionalConfig,{minHeight:y,textAlign:W,border:A,borderColor:L,borderWidth:N,borderRadius:P,marginTop:j,marginRight:E,marginBottom:z,marginLeft:G,paddingTop:H,paddingRight:Y,paddingBottom:Q,paddingLeft:V}),q={},M={dots:B,arrows:R,afterChange:(0,t.Z)((function(){var i;return(0,a.__generator)(this,(function(e){switch(e.label){case 0:return[4,n.e(4878).then(n.t.bind(n,24878,23))];case 1:return i=e.sent().jarallax,Object.keys(q).forEach((function(e){i(q[e].element,"onScroll")})),[2]}}))})),infinite:T,autoplay:Z,autoplaySpeed:x,fade:O},X={dots:B,arrows:R,afterChange:(0,t.Z)((function(){var i;return(0,a.__generator)(this,(function(e){switch(e.label){case 0:return[4,n.e(4878).then(n.t.bind(n,24878,23))];case 1:return i=e.sent().jarallax,Object.keys(q).forEach((function(e){i(q[e].element,"onScroll")})),[2]}}))})),infinite:!1,autoplay:Z,autoplaySpeed:x,fade:O,slidesToShow:1.176,responsive:[{breakpoint:1440,settings:{slidesToShow:1.176}},{breakpoint:768,settings:{slidesToShow:1.176}},{breakpoint:425,settings:{slidesToShow:1.05}}]},I={};try{I=i.additionalConfig?JSON.parse(i.additionalConfig):""}catch(ei){console.warn("Additional Slider Configuration JSON format issue")}I&&(M=(0,r.Z)({},M,I));var U=I&&(null===I||void 0===I?void 0:I.modalSlider);d.Children.map(J,(function(i,n){return i.props&&i.props.data&&(i.props.data.classes={root:e.bannerRoot,link:e.bannerLink,wrapper:e.bannerWrapper,posterOverlay:e.bannerPosterOverlay},i.props.data.getParallax=function(i,e){q[n]={element:i,options:e}}),i}));var $=J.map((function(i,n){return(0,l.tZ)("button",{className:e.sliderClickable,onClick:function(){return function(i){v||(u(!0),f(i))}(n)},children:i},n)})),ii=U?e.rootCustom:e.root;return(0,l.BX)(l.HY,{children:[(0,l.tZ)("div",{className:[ii].concat((0,o.Z)(F)).join(" "),style:K,children:F.indexOf("show-half-slide")>-1?(0,l.tZ)(m,(0,s.Z)((0,r.Z)({},X),{children:U?$:J})):(0,l.tZ)(m,(0,s.Z)((0,r.Z)({className:e.slickSlider},M),{beforeChange:function(){S(!0)},afterChange:function(){S(!1)},onSwipe:function(){return S(!0)},draggable:!1,children:U?$:J}))}),(0,l.tZ)(w,{onClose:function(){return u(!1)},open:g,className:e.modal,children:(0,l.tZ)(m,{slidesToShow:1,initialSlide:_,children:J})})]})};C.propTypes={classes:(0,c.shape)({root:c.string,bannerRoot:c.string,bannerLink:c.string,bannerWrapper:c.string,bannerPosterOverlay:c.string}),appearance:(0,c.oneOf)(["default"]),minHeight:c.string,autoplay:c.bool,autoplaySpeed:c.number,fade:c.bool,infinite:c.bool,showArrows:c.bool,showDots:c.bool,textAlign:c.string,border:c.string,borderColor:c.string,borderWidth:c.string,borderRadius:c.string,marginTop:c.string,marginRight:c.string,marginBottom:c.string,marginLeft:c.string,paddingTop:c.string,paddingRight:c.string,paddingBottom:c.string,paddingLeft:c.string,cssClasses:(0,c.arrayOf)(c.string),additionalConfig:c.string};var v=C},35070:function(i){i.exports={"slick-prev":"slick-theme_slick-prev__YhQc4","slick-next":"slick-theme_slick-next__WBVVh","slick-disabled":"slick-theme_slick-disabled__4d51P","slick-dotted":"slick-theme_slick-dotted__87R7i","slick-slider":"slick-theme_slick-slider__AWB5l","slick-dots":"slick-theme_slick-dots__QxG2W","slick-active":"slick-theme_slick-active__92dbw"}},32543:function(i){i.exports={"slick-slider":"slider_slick-slider__dWKQw","slick-list":"slider_slick-list__dsgOx",dragging:"slider_dragging__YkcVk","slick-track":"slider_slick-track__hg_AA","slick-loading":"slider_slick-loading__lCAYo","slick-slide":"slider_slick-slide__E8Oqd","slick-initialized":"slider_slick-initialized__0LOfK","slick-vertical":"slider_slick-vertical__1NwWF","slick-arrow":"slider_slick-arrow__BBznc","slick-hidden":"slider_slick-hidden__2ySWh",modal:"slider_modal__FGyML",rootCustom:"slider_rootCustom__dy_ln"}}}]);