"use strict";(self.webpackChunkui=self.webpackChunkui||[]).push([[62],{313:(e,t,n)=>{n.r(t),n.d(t,{default:()=>l});const l={imageContainer:"qpe182wA",image:"WcmUoMRO",textOverlay:"rrh0kNZn",shopButton:"MuH8cxmA",desktop_variant_a:"nIgbz0kD",mobile_variant_a:"pAyq4ol_",mobile_headline_bold:"WbhiSYKG"}},314:(e,t,n)=>{n.r(t),n.d(t,{default:()=>l});const l={wrapper:"m6Eeh9zF",picture:"Gh1tAynN",image:"yxTYcWeM",content:"wYEuByl6",title:"SYFAD4z3",button:"iy4nSATJ",button__transparent:"arI8COfu",button__mobile__label:"bksZtwNH",button__desktop__label:"QjX0TEoL",customers:"IiS7AyYh"}},311:(e,t,n)=>{const l=n(312);(0,n(2).createEntrypoint)("home_hero",l.Main)},156:function(e,t,n){var l=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.Home=function({mobileImage:e,mobile_image_width:t,desktopImage:n,desktop_image_width:l,headline:a,subhead:c,buttonText:h,device:_,ctaLink:m,isHeroLink:b,handle:p,type:x,mobile_cta:f,use_alt_center_alignment:g,desktop_button_color:y,desktop_button_text_color:j,desktop_text_color:k,mobile_button_color:v,mobile_button_text_color:w,mobile_text_color:N,mobile_style:C,desktop_style:$}){const B=b||!h;return"desktop"===_&&(g=!1),"image"===(null==n?void 0:n.type)&&n.url&&"image"===(null==e?void 0:e.type)&&e.url?((C||$)&&(g=!1),(0,o.jsxs)(u,{isEntireHeroLink:B,ctaLink:m,handle:p,type:x,use_alt_center_alignment:g,children:[(0,o.jsx)(d,{children:"desktop"===_?(0,o.jsx)(s.LazyImage,{src:n.url,initialWidth:800,width:n.width,height:n.height,cssClass:i.default.image,alt:"Hero",fullSizeWidth:Math.max(2e3,null!=l?l:2600)}):(0,o.jsx)(s.LazyImage,{src:e.url,initialWidth:400,width:e.width,height:e.height,cssClass:g?r.default.image:i.default.image,alt:"Hero",fullSizeWidth:Math.max(800,null!=t?t:1400)})}),(0,o.jsx)("style",{dangerouslySetInnerHTML:{__html:`\n .heroTextColor{\n color: ${k};\n }\n .heroButton, .heroButton:hover{\n color: ${j};\n background-color: ${y}\n }\n @media (max-width: 768px) {\n .heroTextColor{\n color: ${N};\n }\n .heroButton, .heroButton:hover{\n color: ${w};\n background-color: ${v};\n }\n }\n `}}),g?(0,o.jsxs)("div",{className:r.default.content,children:[(0,o.jsx)("h1",{className:`${r.default.title} heroTextColor`,children:a}),(0,o.jsx)("a",{href:m,children:(0,o.jsxs)("button",{className:`${r.default.button} heroButton`,children:[(0,o.jsx)("span",{className:`${r.default.button__mobile__label} heroButton`,children:f}),(0,o.jsx)("span",{className:`${r.default.button__desktop__label} heroButton`,children:h})]})})]}):(0,o.jsxs)("div",{className:[i.default.textOverlay,i.default[`mobile_${C}`],i.default[`desktop_${$}`]].join(" "),children:[(0,o.jsx)("h1",{class:"heroTextColor",children:a}),(0,o.jsx)("p",{class:"heroTextColor",children:c}),h&&(0,o.jsx)("a",{href:m,"data-orly-type":x,"data-orly-handle":p,children:(0,o.jsx)("button",{className:`${i.default.shopButton} heroButton`,children:h})})]})]})):null};const o=n(0),a=n(1),i=l(n(313)),r=l(n(314)),s=n(4);function d({children:e,use_alt_center_alignment:t}){return t?(0,o.jsx)("div",{className:r.default.picture}):(0,o.jsx)(a.Fragment,{children:e})}function u({isEntireHeroLink:e,ctaLink:t,handle:n,type:l,children:a,use_alt_center_alignment:s}){return s?(0,o.jsx)("section",{className:r.default.wrapper,children:a}):e?(0,o.jsx)("a",{href:t,"data-orly-type":l,"data-orly-handle":n,className:i.default.imageContainer,children:a}):(0,o.jsx)("div",{className:i.default.imageContainer,children:a})}},312:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.Main=function(e){return(0,l.jsx)(o.Home,Object.assign({},e))};const l=n(0),o=(n(1),n(156))}},e=>{e.O(0,[1,2,3],(()=>e(e.s=311))),e.O()}]);