"use strict";(self.webpackChunkui=self.webpackChunkui||[]).push([[39],{221:(e,t,r)=>{var n=r(0),o=r(1),a=r(2),s=r(247);const{wrapper:p,wrapperTopRight:i,wrapperTopLeft:l,wrapperTopCenter:c,wrapperCenter:u,wrapperTitle:w,wrapperDescription:b,wrapperButton:x,wrapperInfo:d,alignTextToCenter:h}={wrapper:"wHl5YK_f",wrapperTopRight:"ZYHC9w71",wrapperTopLeft:"v4OcY4sH",wrapperTopCenter:"vLMxPiAs",wrapperCenter:"MaUu6kGv",wrapperInfo:"ip6L3uI0",wrapperTitle:"RWlR8U7u",wrapperDescription:"FEv669y9",wrapperButton:"DqgaY4Ry",alignTextToCenter:"HToI7Evj",wrapperBottomLeft:"b7G1xO4C"},T=({heroTitle:e,heroSubtitle:t,textColor:r,contentPosition:o,buttonText:T,buttonLink:g,buttonColor:m,buttonTextColor:j})=>{const C=o||"",v=(0,a.useMemo)((()=>{let e=l,t="";return"top-right"===C&&(e=i),"top-center"===C&&(e=c),"center-center"===C&&(e=u,t=h),"top-left"===C&&(e=l),{containerPosition:e,alignText:t}}),[C]),{containerPosition:f,alignText:I}=v;return(0,n.jsx)("div",Object.assign({className:(0,s.a)(p,f)},{children:(0,n.jsxs)("div",Object.assign({className:d},{children:[(0,n.jsx)("h1",{className:(0,s.a)(w,I),style:{color:r},dangerouslySetInnerHTML:{__html:e}}),(0,n.jsx)("p",{className:(0,s.a)(b,I),style:{color:r},dangerouslySetInnerHTML:{__html:t}}),(0,n.jsx)("a",{className:(0,s.a)(x,I),style:{backgroundColor:m,color:j},href:g,dangerouslySetInnerHTML:{__html:T}})]}))}))},{wrapper:g}={wrapper:"Sih7sxsU"},m=({navItemLink:e,navItemText:t})=>(0,n.jsx)("a",Object.assign({href:e,className:g},{children:t})),{wrapper:j}={wrapper:"wHYlSyuX"},C=({navItems:e})=>{const t=e&&e.length>0;return(0,n.jsx)("div",Object.assign({className:j},{children:t&&e.map(((e,t)=>(0,n.jsx)(m,Object.assign({},e),t)))}))},{wrapper:v,wrapperImage:f}={wrapper:"Lv56Dbkj",wrapperImage:"CnN0WdZ8"};(0,r(3).createEntrypoint)("new-hero-feature",(({backgroundImage:e,heroSubtitle:t,heroTitle:r,textColor:s,contentPosition:p,buttonText:i,buttonLink:l,buttonColor:c,buttonTextColor:u,navItems:w})=>((0,a.useEffect)((()=>{var e;"undefined"!=typeof window&&(null===(e=null===window||void 0===window?void 0:window.loyaltylion)||void 0===e||e.init({token:"1c7cdc57823bc119aade27c5e375b239"}))}),[]),(0,n.jsxs)(o.Fragment,{children:[(0,n.jsx)("section",Object.assign({className:v},{children:(0,n.jsx)("div",Object.assign({className:f,style:{backgroundImage:`url(${e})`}},{children:(0,n.jsx)(T,{heroTitle:r,heroSubtitle:t,textColor:s,contentPosition:p,buttonText:i,buttonLink:l,buttonColor:c,buttonTextColor:u})}))})),(0,n.jsx)(C,{navItems:w})]}))))}},e=>{e.O(0,[1,2,3],(()=>(221,e(e.s=221)))),e.O()}]);