"use strict";(self.webpackChunkui=self.webpackChunkui||[]).push([[44],{451:(e,t,s)=>{s.r(t),s.d(t,{default:()=>n});const n={fadeIn:"RqJDjsnl"}},450:(e,t,s)=>{s.r(t),s.d(t,{default:()=>n});const n={text:"DqFzpErj",textSlideIn:"DHD970JV"}},20:(e,t,s)=>{s.r(t),s.d(t,{default:()=>n});const n={textSizeNormal:"S5z6Ifzl",textSizeBigger:"TUzwqcP7",textSizeLarge:"Lv6noosS",shineOnHover:"NXlydyCY",shine:"BjP9vLEq"}},104:(e,t,s)=>{s.r(t),s.d(t,{default:()=>n});const n={background:"aQsj0urG",backgroundLarge:"sCyxrdMC"}},11:(e,t,s)=>{s.r(t),s.d(t,{default:()=>n});const n={pageWidth:"sFlrLoHc",pageWidthFull:"LdWu3t2l"}},34:(e,t,s)=>{s.r(t),s.d(t,{default:()=>n});const n={divContentStyling:"RkUVVppK"}},452:(e,t,s)=>{s.r(t),s.d(t,{default:()=>n});const n={banner:"MnP2g4DF"}},284:(e,t,s)=>{s.r(t),s.d(t,{default:()=>n});const n={grid:"oxneYgRF"}},449:(e,t,s)=>{s.r(t),s.d(t,{default:()=>n});const n={keenSlide:"Jr9lbZr7",currentSlide:"bVYxq5ZX",slideAnimateIn:"HuUFRjtf",previousSlide:"QDpmaE5S",slideAnimateOut:"O5UxS4Vs"}},77:(e,t,s)=>{s.r(t),s.d(t,{default:()=>n});const n={keenSlide:"vMI_DGJz",customMinHeight:"jC01sa_G",currentSlide:"zNTfPgBI",slideAnimateIn:"Z_Y9dKKL",slideContent:"bn94Rlwq",previousSlide:"G44uRwlC",slideAnimateOut:"MQOSFnj_",overlay:"x6P3d7fb",itemLink:"ABKLD0cq",heading:"ZUUJygq_",heroLink:"au_sTQSx"}},29:(e,t,s)=>{s.r(t),s.d(t,{default:()=>n});const n={colorLink:"funts8li"}},35:(e,t,s)=>{s.r(t),s.d(t,{default:()=>n});const n={imgSpaceReserver:"qpYiSzaZ"}},71:(e,t,s)=>{s.r(t),s.d(t,{default:()=>n});const n={productsContainer:"Dp2ClyQ7"}},269:(e,t,s)=>{s.r(t),s.d(t,{default:()=>n});const n={content:"Gt2z75xF",imgUseOverlay:"IHIRBHKh",contentUseOverlay:"ylxL_dPs"}},448:(e,t,s)=>{const n=s(147);(0,s(4).createEntrypoint)("section-feature-section",n.Sections)()},251:function(e,t,s){var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const i=n(s(453));t.default=e=>(0,i.default)(e)},100:function(e,t,s){var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const i=n(s(248));t.default=e=>(0,i.default)(Object.assign({},e))},241:function(e,t,s){var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const i=n(s(242));t.default=e=>(0,i.default)(Object.assign({height:"calc(100vh - 52px)"},e))},147:function(e,t,s){var n=this&&this.__rest||function(e,t){var s={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(s[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var i=0;for(n=Object.getOwnPropertySymbols(e);i{var{sections:t,useSharedState:s,isMobile:i}=e,r=n(e,["sections","useSharedState","isMobile"]);return(null==t?void 0:t.length)&&t.map(((e,t)=>(0,a.jsx)("div",Object.assign({className:"overflow-hidden antialiased font-roboto"},{children:(0,a.jsx)(l.default,Object.assign({},e,{isMobile:i,useSharedState:s},r),t)}))))}},99:function(e,t,s){var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const i=s(0),a=n(s(451)),l=n(s(1));t.default=function({children:e,start:t=!0,duration:s="2s",delay:n="0s"}){return(0,i.jsx)("div",Object.assign({className:(0,l.default)(t&&a.default.fadeIn),style:{animationDuration:s,animationDelay:n}},{children:e}))}},98:function(e,t,s){var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const i=s(0),a=n(s(450)),l=n(s(1));t.default=function({children:e,start:t=!0,duration:s="0.8s",delay:n="0s"}){return(0,i.jsx)("div",Object.assign({className:"overflow-hidden"},{children:(0,i.jsx)("div",Object.assign({className:(0,l.default)(t&&a.default.text),style:{animationDuration:s,animationDelay:n}},{children:e}))}))}},250:function(e,t,s){var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const i=s(0),a=s(28),l=n(s(1)),r=n(s(10)),c=n(s(9)),d=s(7),o=n(s(452));t.default=function({heading:e,subheading:t,text:s,image:n,button:u,textPosition:f}){return(0,i.jsxs)("div",Object.assign({className:`relative w-full ${o.default.banner}`},{children:[(0,i.jsx)("div",Object.assign({className:"absolute bottom-0 left-0 right-0 top-0"},{children:(0,i.jsx)("img",{srcSet:(0,d.getFullscreenImageSrcSet)(n.url),sizes:"100vw",src:(0,d.getImageUrl)(n.url,720),alt:n.title,className:"w-full object-cover",width:n.width,height:n.height,style:n.style})})),(0,i.jsx)("div",Object.assign({className:(0,l.default)("relative flex pt-48 px-5 sm:p-10","left"===f.toLowerCase()&&"sm:justify-start","right"===f.toLowerCase()&&"sm:justify-end")},{children:(0,i.jsxs)("div",Object.assign({className:"flex flex-col p-10 text-center bg-white space-y-3 sm:w-96"},{children:[(0,i.jsx)("div",Object.assign({className:(0,l.default)("mb-3 tracking-extrawide","text-sm md:text-base")},{children:t})),(0,i.jsx)(c.default,Object.assign({component:"h2"},{children:e})),s&&(0,i.jsx)("div",Object.assign({className:"my-1 whitespace-pre-line text-lg md:my-2"},{children:(0,a.documentToReactComponents)(s)})),(0,i.jsx)("div",Object.assign({className:(0,l.default)("flex flex-col justify-center mt-1.5","sm:flex-row sm:space-x-3")},{children:u&&u.text&&(0,i.jsx)("div",Object.assign({className:"my-1.5"},{children:(0,i.jsx)(r.default,Object.assign({href:u.link,variant:"secondary"},{children:u.text}))}))}))]}))}))]}))}},453:(e,t,s)=>{Object.defineProperty(t,"__esModule",{value:!0});const n=s(0),i=s(28),a=s(454);t.default=function({title:e,subtitle:t,text:s}){return(0,n.jsxs)("div",Object.assign({className:"flex flex-col items-center justify-center mx-auto px-14 py-10 text-center"},{children:[(0,n.jsx)("h2",Object.assign({className:"mb-5 text-3xl tracking-wide leading-none"},{children:e})),(0,n.jsx)("div",Object.assign({className:"flex flex-col items-center text-2xl"},{children:(0,i.documentToReactComponents)(s,{renderNode:{[a.BLOCKS.PARAGRAPH]:(e,t)=>(0,n.jsx)("p",Object.assign({className:"mt-4"},{children:t})),[a.INLINES.HYPERLINK]:({data:e},t)=>(0,n.jsx)("a",Object.assign({href:e.uri,className:"pb-2"},{children:t}))}})}))]}))}},245:function(e,t,s){var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const i=s(0),a=n(s(10));function l({text:e,link:t}){return(0,i.jsx)("div",Object.assign({className:"inline-block m-1.5"},{children:(0,i.jsx)(a.default,Object.assign({variant:"opaque",size:"large",href:t},{children:e}))}))}t.default=function({ctaLink:e,ctaText:t,ctaLink2:s}){return(0,i.jsx)("div",Object.assign({className:"-m-1.5 pt-3"},{children:s?(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(l,{text:t,link:e}),(0,i.jsx)(l,{text:s.text,link:s.link})]}):(0,i.jsx)(l,{text:t})}))}},246:function(e,t,s){var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const i=s(0),a=n(s(9)),l=s(28);t.default=function({heading:e}){return(0,i.jsx)(a.default,Object.assign({component:"h1",color:"white"},{children:(0,l.documentToReactComponents)(e)}))}},247:function(e,t,s){var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const i=s(0),a=n(s(9));t.default=function({subheading:e}){return e?(0,i.jsx)(a.default,Object.assign({component:"h3",color:"white"},{children:e})):null}},244:function(e,t,s){var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const i=s(0),a=n(s(18));t.default=function({text:e}){return(0,i.jsx)("div",Object.assign({className:"my-1.5"},{children:(0,i.jsx)(a.default,Object.assign({size:"xlarge",color:"white"},{children:e}))}))}},243:function(e,t,s){var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const i=s(0),a=n(s(1)),l=n(s(41)),r=n(s(98)),c=n(s(99)),d=n(s(244)),o=n(s(245)),u=n(s(246)),f=n(s(247));t.default=function({heading:e,subheading:t,text:s,longText:n,alignment:h="center",ctaLink:m,ctaText:j,ctaLink2:g,contentAnimation:x="standard",isCurrentSlide:b,slideIsVisible:p}){const v=function(e){switch(null==e?void 0:e.toLowerCase()){case"left":return"justify-center items-start text-left";case"leftbottom":return"justify-end items-start text-left";case"right":return"justify-center items-end text-right";case"rightbottom":case"bottomright":return"justify-end items-end text-right";case"centerbottom":return"justify-end items-center text-center";default:return"justify-center items-center text-center"}}(h);return(0,i.jsx)("div",Object.assign({className:(0,a.default)(b?"flex":"hidden","flex-col mx-auto px-4 py-20 w-full h-full","sm:max-w-screen-2xl",v)},{children:(0,i.jsxs)(l.default,Object.assign({large:!0},{children:[function(){switch(x){case"standard":return(0,i.jsxs)(r.default,Object.assign({start:p,delay:"0.3s"},{children:[(0,i.jsx)(f.default,{subheading:t}),(0,i.jsx)(u.default,{heading:e})]}));case"allfadein":return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(c.default,Object.assign({start:p,duration:"1s",delay:"0.7s"},{children:(0,i.jsx)(f.default,{subheading:t})})),(0,i.jsx)(c.default,Object.assign({start:p,duration:"0.5s",delay:"0.25s"},{children:(0,i.jsx)(u.default,{heading:e})}))]});case"none":return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(f.default,{subheading:t}),(0,i.jsx)(u.default,{heading:e})]})}}(),function(){switch(x){case"standard":return(0,i.jsx)(r.default,Object.assign({start:p,duration:"1s",delay:"0.7s"},{children:(0,i.jsx)(d.default,{text:n||s})}));case"allfadein":return(0,i.jsx)(c.default,Object.assign({start:p,duration:"1s",delay:"0.7s"},{children:(0,i.jsx)(d.default,{text:n||s})}));case"none":return(0,i.jsx)(d.default,{text:n||s})}}(),function(){switch(x){case"standard":case"allfadein":return(0,i.jsx)(c.default,Object.assign({start:p,delay:"1.3s"},{children:(0,i.jsx)(o.default,{ctaLink:m,ctaText:j,ctaLink2:g})}));case"none":return(0,i.jsx)(o.default,{ctaLink:m,ctaText:j,ctaLink2:g})}}()]}))}))}},242:function(e,t,s){var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const i=s(0),a=s(3),l=n(s(449)),r=s(7),c=n(s(1)),d=s(42);s(76);const o=n(s(243)),u=n(s(100));function f({useLink:e,href:t,className:s,children:n}){return e?(0,i.jsx)("a",Object.assign({href:t,className:s},{children:n})):(0,i.jsx)("div",Object.assign({className:s},{children:n}))}t.default=function({slides:e,imagesHaveOverlay:t,contentAnimation:s,height:n="100vh",isMobile:h,useSharedState:m}){const j=(0,a.useRef)(),g=(0,a.useRef)(!1),[x,b]=(0,a.useState)(0),[p,v]=(0,a.useState)(),[O,_]=(0,d.useKeenSlider)({initial:0,duration:0,loop:!0,slideChanged:function(t){if(!g.current)return void(g.current=!0);const s=t.details().relativeSlide,n=e.length-1;let i=0===s?n:s-1;-1===t.details().direction&&(i=s===n?0:s+1),v(i),b(s)}});return(0,a.useEffect)((()=>(j.current=setInterval((()=>_.next()),1e4),()=>clearInterval(j.current))),[_,x]),(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)("div",Object.assign({ref:O,className:"keen-slider bg-black",style:{height:n}},{children:e.map(((e,n)=>{let{ctaLink:a,ctaLink2:d,banner:u,bannerMobile:m}=e;m||(m=u);const j=[x,p].includes(n),g=n===x,b=n===p;return(0,i.jsx)("div",Object.assign({className:(0,c.default)("keen-slider__slide",l.default.keenSlide)},{children:(0,i.jsxs)(f,Object.assign({useLink:!d,href:a,className:(0,c.default)("relative hidden h-full opacity-0",g&&l.default.currentSlide,b&&l.default.previousSlide)},{children:[(0,i.jsx)("img",{className:(0,c.default)("heroCarousel","absolute left-0 top-0 w-full h-full object-cover",l.default.image),loading:"eager",sizes:"100vw",src:h?(0,r.getImageUrl)(m.url,800):(0,r.getImageUrl)(u.url,1920),alt:h?m.title||"":u.title||"",width:h?m.width:u.width,height:h?m.height:u.height}),t&&(0,i.jsx)("div",{className:"absolute inset-0",style:{backgroundImage:"linear-gradient(to top, rgba(4, 4, 4, 0.65), rgba(54, 54, 54, 0.2))"}}),(0,i.jsx)(o.default,Object.assign({slideIsVisible:j,isCurrentSlide:g,contentAnimation:s},e))]}))}),n)}))})),(0,i.jsx)(u.default,{slides:e,slider:_,activeSlideIdx:x})]})}},248:function(e,t,s){var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const i=s(0),a=n(s(1)),l=n(s(6));t.default=function({slider:e,slides:t,activeSlideIdx:s,position:n="center",type:r="blocks"}){let c,d;switch(n){case"left":c="justify-start";break;case"center":c="justify-center";break;case"right":c="justify-end"}switch(r){case"blocks":d=(0,a.default)("w-10 h-full border-b-8 rounded-none","md:w-28 md:border-b-8");break;case"bullets":d=(0,a.default)("w-3 h-3 bg-white border-2 rounded-full")}return t.length<2?null:(0,i.jsx)("div",Object.assign({className:(0,a.default)("absolute z-10 left-0 right-0 transform -translate-y-full")},{children:(0,i.jsx)(l.default,{children:(0,i.jsx)("ol",Object.assign({className:(0,a.default)("flex items-end h-10 space-x-2","md:space-x-3",c)},{children:t.map(((t,n)=>{const l=s===n;return(0,i.jsx)("li",Object.assign({className:"h-full"},{children:(0,i.jsx)("button",{onClick:()=>e.moveToSlideRelative(n),className:(0,a.default)("border-white",d,l?"opacity-1":"opacity-50 bg-transparent"),"aria-label":`Go to slide ${n}`})}),n)}))}))})}))}},239:function(e,t,s){var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.ImagePromoBlock=void 0;const i=s(0),a=n(s(1)),l=n(s(10)),r=(n(s(36)),s(7));t.ImagePromoBlock=function({image:e,ctaStyle:t,button:s,numberOfBlocks:n=1,height:c=380,idx:d,priority:o}){const u="Inverse"===t,f=!u;return(0,i.jsxs)("div",Object.assign({className:(0,a.default)(d>0&&"mt-2.5 md:mt-5 lg:mt-0 lg:ml-5","flex flex-col items-center p-8")},{children:[(0,i.jsx)("a",Object.assign({href:s.link},{children:(0,i.jsx)("img",{srcSet:(0,r.getFullscreenImageSrcSet)(e.url),sizes:90/n+"vw",src:(0,r.getImageUrl)(e.url,500),alt:e.title,width:e.width,height:e.height,style:e.style,loading:"eager"})})),(0,i.jsx)("div",Object.assign({style:{"--desktopMinHeight":`${c}px`}},{children:s&&s.text&&(0,i.jsx)("div",Object.assign({className:"my-5"},{children:(0,i.jsx)(l.default,Object.assign({href:s.link,variant:u?"inverse":"primary",shineOnHover:f,size:"small"},{children:s.text}))}))}))]}))}},240:function(e,t,s){var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.ImageTextPromoBlock=void 0;const i=s(0),a=n(s(1)),l=s(28),r=(n(s(36)),s(7)),c=n(s(9)),d=n(s(18));t.ImageTextPromoBlock=function({image:e,heading:t,text:s,numberOfBlocks:n=1,height:o=380,idx:u,priority:f,textSize:h="Medium"}){return(0,i.jsxs)("div",Object.assign({className:(0,a.default)(u>0&&"mt-2.5 md:mt-5 lg:mt-0 lg:ml-5","flex flex-col items-center p-8")},{children:[(0,i.jsx)("div",Object.assign({className:"h-full"},{children:(0,i.jsx)("img",{srcSet:(0,r.getFullscreenImageSrcSet)(e.url),sizes:90/n+"vw",src:(0,r.getImageUrl)(e.url,500),alt:e.title,width:e.width,height:e.height,style:e.style,loading:"eager"})})),(0,i.jsx)("div",Object.assign({style:{"--desktopMinHeight":`${o}px`}},{children:(0,i.jsxs)("div",Object.assign({className:"my-5 text-center"},{children:[(0,i.jsx)(c.default,Object.assign({component:"h3",variant:"h4",color:"black"},{children:t})),s&&(0,i.jsx)("div",Object.assign({className:"my-1 whitespace-pre-line font-semibold md:my-2"},{children:(0,i.jsx)(d.default,Object.assign({color:"black",size:(m={large:"xlarge",medium:"large",small:"normal"},m[h.toLowerCase()]),component:"div"},{children:(0,l.documentToReactComponents)(s)}))}))]}))}))]}));var m}},150:function(e,t,s){var n=this&&this.__rest||function(e,t){var s={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(s[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var i=0;for(n=Object.getOwnPropertySymbols(e);iu(!0),onMouseLeave:()=>u(!1)},{children:(0,a.jsx)(r.default,Object.assign({variant:"simple",size:"small",href:s,className:(0,l.default)(c.default.heroLink,c.default.itemLink)},i,{children:t}))}))}t.SlideButton=o,t.default=function(e){var{text:t,url:s}=e,i=n(e,["text","url"]);return(0,a.jsx)("div",Object.assign({className:"-m-1.5 pt-3"},{children:(0,a.jsx)(o,Object.assign({text:t,link:s},i))}))}},254:function(e,t,s){var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const i=s(0),a=n(s(1)),l=n(s(9)),r=n(s(77));t.default=function({heading:e,color:t="white"}){return(0,i.jsx)(l.default,Object.assign({component:"h1",color:t,className:(0,a.default)(r.default.heading)},{children:e}))}},255:function(e,t,s){var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const i=s(0),a=n(s(9));t.default=function({subheading:e,color:t="white"}){return e?(0,i.jsx)(a.default,Object.assign({component:"h3",color:t,className:"text-xs md:text-sm lg:text-sm"},{children:e})):null}},137:function(e,t,s){var n=this&&this.__createBinding||(Object.create?function(e,t,s,n){void 0===n&&(n=s);var i=Object.getOwnPropertyDescriptor(t,s);i&&!("get"in i?!t.__esModule:i.writable||i.configurable)||(i={enumerable:!0,get:function(){return t[s]}}),Object.defineProperty(e,n,i)}:function(e,t,s,n){void 0===n&&(n=s),e[n]=t[s]}),i=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),a=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var s in e)"default"!==s&&Object.prototype.hasOwnProperty.call(e,s)&&n(t,e,s);return i(t,e),t},l=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const r=s(0),c=l(s(1)),d=l(s(41)),o=l(s(98)),u=l(s(99)),f=a(s(150)),h=l(s(254)),m=l(s(255)),j=l(s(77));function g(e){switch(null==e?void 0:e.toLowerCase()){case"left":return"md:justify-center md:items-start md:text-left";case"right":return"md:justify-center md:items-end md:text-right";default:return"md:justify-center md:items-center md:text-center"}}t.default=function({title:e,top_text:t,cta:s,contentAnimation:n="standard",isCurrentSlide:i,slideIsVisible:a,isUnderImage:l,showContrast:x=!0,textColor:b="white",heading_position:p,buttons_position:v}){const O=g(p),_=g(v),y=s.length>4;function w(){switch(n){case"standard":return(0,r.jsxs)(o.default,Object.assign({start:a,delay:"0.3s"},{children:[(0,r.jsx)(m.default,{subheading:t}),(0,r.jsx)(h.default,{heading:e})]}));case"allfadein":return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(u.default,Object.assign({start:a,duration:"1s",delay:"0.7s"},{children:(0,r.jsx)(m.default,{subheading:t})})),(0,r.jsx)(u.default,Object.assign({start:a,duration:"0.5s",delay:"0.25s"},{children:(0,r.jsx)(h.default,{heading:e})}))]});case"none":return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(m.default,{subheading:t}),(0,r.jsx)(h.default,{heading:e})]})}}function S(){const e=`${b} !important`;switch(n){case"standard":case"allfadein":return s.map((t=>(0,r.jsx)(u.default,Object.assign({start:a,delay:"1s"},{children:(0,r.jsx)(f.SlideButton,Object.assign({link:t.url,style:{color:e}},t))}))));case"none":return s.map((t=>(0,r.jsx)(f.default,Object.assign({link:t.url,style:{color:e}},t))))}}function N(){return(0,r.jsxs)("div",Object.assign({className:(0,c.default)("px-6 pt-16 md:p-0",j.default.slideContent)},{children:[(0,r.jsx)("div",Object.assign({className:(0,c.default)("mb-4",y?"md:mb-8":"md:mb-12",O)},{children:w()})),(0,r.jsx)("div",Object.assign({className:(0,c.default)("flex flex-col gap-2",y?"md:gap-3":"md:gap-8",_)},{children:S()}))]}))}return(0,r.jsx)("div",Object.assign({className:(0,c.default)(i?"flex":"hidden","flex-col w-full sm:max-w-screen-2xl mx-auto md:px-10","justify-end md:justify-center text-center items-center",l?"py-8 text-black":"h-full")},{children:x?(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)("div",{className:(0,c.default)(j.default.overlay)}),(0,r.jsx)(d.default,Object.assign({fullWidth:!0,large:!0},{children:N()}))]}):N()}))}},252:function(e,t,s){var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const i=s(0),a=s(3),l=s(253),r=n(s(77)),c=n(s(1)),d=n(s(137)),o=n(s(100)),u=s(42);s(76),t.default=function({contentAnimation:e,height:t="calc(100vh - 59px)",isMobile:s,heroCarouselMobile:n,heroCarouselData:f}){const h=(0,a.useRef)(),m=(0,a.useRef)(!1),[j,g]=(0,a.useState)(0),[x,b]=(0,a.useState)(),p="underImage"===n,v="overImage"===n,O=f.some((e=>{var t;return(null===(t=e.cta)||void 0===t?void 0:t.length)>5})),[_,y]=(0,u.useKeenSlider)({initial:0,duration:0,loop:!0,slideChanged:function(e){if(!m.current)return void(m.current=!0);const t=e.details().relativeSlide,s=f.length-1;let n=0===t?s:t-1;-1===e.details().direction&&(n=t===s?0:t+1),b(n),g(t)}});return(0,a.useEffect)((()=>(h.current=setInterval((()=>y.next()),1e4),()=>clearInterval(h.current))),[y,j]),(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)("div",Object.assign({ref:_,"data-hero-mobile-version":n,className:(0,c.default)("bg-black keen-slider",O&&r.default.customMinHeight),style:{height:v?"auto":p?"100vh":t}},{children:f.map(((t,a)=>{var o,u;const{image:f,mobile_image:h,image_has_overlay:m}=t;let g=null===(o=f.image)||void 0===o?void 0:o.url;s&&h&&(g=null===(u=h.image)||void 0===u?void 0:u.url);const b=[j,x].includes(a),v=a===j,O=a===x;return(0,i.jsx)("div",Object.assign({className:(0,c.default)("keen-slider__slide",r.default.keenSlide)},{children:(0,i.jsxs)("div",Object.assign({"data-hero-under-image":p.toString(),className:(0,c.default)("relative hidden h-full opacity-0",v&&r.default.currentSlide,O&&r.default.previousSlide)},{children:[(0,i.jsx)("img",{className:(0,c.default)("heroCarousel","w-full object-cover absolute inset-0 h-full",r.default.image),loading:"eager",sizes:"100vw",src:(0,l.getFastImage)(g,s?600:void 0),alt:"Hero ZR",width:s?"600":"1920",height:p?"250":s?"2436":"1080",style:{objectPosition:t.imagePosition}}),m&&(0,i.jsx)("div",{className:"absolute inset-0",style:{backgroundImage:"linear-gradient(to top, rgba(4, 4, 4, 0.65), rgba(54, 54, 54, 0.2))"}}),!p&&(0,i.jsx)(d.default,Object.assign({slideIsVisible:b,isCurrentSlide:v,contentAnimation:e,heroMobileVersion:n},t))]}))}),a)}))})),(0,i.jsx)(o.default,{slides:f,slider:y,activeSlideIdx:j}),p&&f.map(((t,s)=>{const n=[j,x].includes(s),a=s===j,l=s===x;return(0,i.jsx)("div",Object.assign({className:(0,c.default)("relative hidden h-full opacity-0",a&&r.default.currentSlide,l&&r.default.previousSlide)},{children:(0,i.jsx)(d.default,Object.assign({slideIsVisible:n,isCurrentSlide:a,showContrast:!1,contentAnimation:e,isUnderImage:p},t))}))}))]})}},149:function(e,t,s){var n=this&&this.__rest||function(e,t){var s={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(s[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var i=0;for(n=Object.getOwnPropertySymbols(e);i(0,a.jsx)(o,Object.assign({type:i.type},i,{ctaStyle:t,verticalAlignment:s,horizontalAlignment:n,numberOfBlocks:e.length,idx:l}),l)))}))]}))}},249:function(e,t,s){var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const i=s(0),a=n(s(26)),l=n(s(36));t.default=function({youtubeVideoId:e,showButton:t=!1}){const s=`https://www.youtube.com/watch?v=${e}`,[n,r]=(0,l.default)({triggerOnce:!0,rootMargin:"200px 0px"});return(0,i.jsxs)("div",Object.assign({ref:n,className:"relative h-full"},{children:[(0,i.jsx)("div",Object.assign({className:"absolute left-0 top-0 w-full h-full overflow-hidden"},{children:(0,i.jsx)("iframe",{id:"YouTubeVideo-16143662133315255a","data-type":"youtube","data-video-id":"OblcKFiU000",frameBorder:"0",allowFullScreen:"1",allow:"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture",title:"YouTube video player",height:"720",className:"absolute",src:`https://www.youtube.com/embed/${e}?autoplay=1&showinfo=0&mute=1&loop=1&playlist=${e}&autohide=0&cc_load_policy=0&controls=0&fs=0&iv_load_policy=3&modestbranding=1&playsinline=1&rel=0&enablejsapi=1&origin=https%3A%2F%2Fzerorestriction.com&widgetid=1`,tabIndex:"-1",style:{pointerEvents:"none",width:"100%",height:"300%",left:"auto",top:"-100%"}})})),t&&(0,i.jsx)("div",Object.assign({className:"flex items-center justify-center w-full h-full"},{children:(0,i.jsx)(a.default,Object.assign({href:s,variant:"inverse"},{children:"Watch the video"}))}))]}))}},148:function(e,t,s){var n=this&&this.__rest||function(e,t){var s={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(s[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var i=0;for(n=Object.getOwnPropertySymbols(e);i{Object.defineProperty(t,"__esModule",{value:!0}),t.lg=t.sm=void 0;const n=s(3);t.sm="(min-width: 768px)",t.lg="(min-width: 1280px)",t.default=function(e){const t="undefined"!=typeof window,[s,i]=(0,n.useState)(!1);return(0,n.useEffect)((()=>{if(t){const t=window.matchMedia(e),s=e=>i(e.matches);return t.addEventListener&&t.addEventListener("change",s),s(t),()=>window.removeEventListener("change",s)}}),[]),s}}},e=>{e.O(0,[1,2,3,4,6,10,11,15,14,16,18,19,23,22,29,58],(()=>(448,e(e.s=448)))),e.O()}]);