1"use strict";(self.webpackChunkwww=self.webpackChunkwww||[]).push([[1139],{68760:function(e,t,l){l.d(t,{A:function(){return p},h:function(){return h}});l(69479);var a=l(51147),n=l(45871),o=l(45574),i=l(69033),r=l(23371),d=l(37113),s=l(36272),c=l(32532),u=l(96540),m=l(78444);const g={renderNode:{[n.BLOCKS.PARAGRAPH]:(e,t)=>u.createElement("p",{style:{fontSize:o.w4.fontSizes.lg,fontWeight:o.w4.fontWeights.normal,marginBottom:o.w4.space[3]}},t),[n.BLOCKS.HEADING_2]:(e,t)=>u.createElement(o.DZ,{as:"h2",fontSize:["xl","5xl"],fontWeight:"normal",lineHeight:["27px","41.60px"],marginBottom:"4",fontFamily:"heading",color:"moonlight.base"},t),[n.BLOCKS.HEADING_3]:(e,t)=>u.createElement(o.DZ,{as:"h3",fontSize:["xl","2xl"],fontWeight:"medium",lineHeight:["27px","28px"],marginBottom:"8"},t),[n.BLOCKS.UL_LIST]:(e,t)=>u.createElement("ul",{style:{fontSize:o.w4.fontSizes.lg,listStyleType:"initial",marginInlineStart:"1em"}},u.createElement("li",{style:{listStyle:"disc"}},t)),[n.BLOCKS.OL_LIST]:(e,t)=>u.createElement("ol",{style:{fontSize:o.w4.fontSizes.lg,listStyleType:"initial",marginInlineStart:"1em"}},u.createElement("li",{style:{listStyle:"numeric"}},t))}};var p=e=>{var t,l;if(!e)return null;const{eyebrow:n,title:p,bgColor:f,flags:x,headline:h,desktopBackgroundImage:v,desktopBackgroundImageAltText:b,productsSubsection:E}=e,y=null==x?void 0:x.map((e=>"hasBackgroundShape"===e.displayName&&!0===e.value));return u.createElement(r.A,{size:["sm","sm","sm","xl"],centerContent:!0,"data-element":"SectionContainer","data-component":"BannerAndCardsV2","data-source-file":"BannerAndCardsV2.tsx"},u.createElement(d.A,{title:p,eyebrow:n,"data-element":"SectionHeader","data-source-file":"BannerAndCardsV2.tsx"}),u.createElement(o.az,{background:f,display:["flex"],flexFlow:["column","row"],height:["auto","auto","622px"],overflow:"hidden",position:["unset","relative"],borderRadius:12,"data-element":"Box","data-source-file":"BannerAndCardsV2.tsx"},u.createElement(o.az,{flex:["unset",1],padding:["6","12"],order:["2","1"],display:"flex",flexFlow:"column",alignItems:"stretch",zIndex:["initial","1"],justifyContent:"center","data-element":"Box","data-source-file":"BannerAndCardsV2.tsx"},h?u.createElement(o.az,{width:["100%","80%"],marginTop:["6","unset"]},(0,m.A)(h,g)):null,E?u.createElement(o.az,{position:["unset","unset","absolute"],width:["100%","100%","65%"],zIndex:["unset","1"],bottom:["unset","48px"]},u.createElement(o.EY,{fontSize:"lg",fontWeight:o.w4.fontWeights.medium,marginBottom:"3",marginTop:["8","unset"]},E.displayName),u.createElement(o.az,{display:["block","flex"],alignItems:["block","flex-start","flex"],justifyContent:"space-between",gap:"20px"},u.createElement(o.az,{gap:["unset","5"],display:["block","block","flex"],flex:"1"},E.products.map((e=>u.createElement(i.A,{key:e.displayName,image:e.image?u.createElement(c.G,{image:e.image.gatsbyImageData,alt:`${null==e?void 0:e.displayName} box image`,style:{width:"120px",height:"auto",zIndex:"1"}}):null,pricing:u.createElement(u.Fragment,null,u.createElement(o.EY,{fontSize:["sm","md"],color:o.w4.colors.utility.sale,marginRight:"2"},e.creditCost," Credit",e.creditCost&&e.creditCost>1?"s":""),u.createElement(s.A,{dollarAmount:e.dollarAmount.toString(),centsAmount:e.centsAmount.toFixed(1).replace(".",""),variant:"strikethrough"}))},u.createElement(o.EY,{fontSize:["md","lg"],color:"tints.black",fontWeight:"medium"},e.displayName))))))):null),u.createElement(o.az,{flex:["unset",1],display:"flex",alignItems:["center","flex-start","center"],justifyContent:"center",order:["1","2"],height:["300px","auto"],overflow:["unset","hidden"],position:"relative","data-element":"Box","data-source-file":"BannerAndCardsV2.tsx"},v?y?u.createElement(a._,{src:null===(t=v.gatsbyImageData.images.fallback)||void 0===t?void 0:t.src,alt:b||"",boxSize:"100%",objectFit:"cover",clipPath:["polygon(1% 100%, 1% 0%, 100% 0%, 100% 100%, 87% 81%)","polygon(6% 0%, 100% 0%, 100% 100%, 0% 100%, 28% 40%)"]}):u.createElement(a._,{src:null===(l=v.gatsbyImageData.images.fallback)||void 0===l?void 0:l.src,alt:b||""}):null)))};const f=e=>"object"==typeof e&&e.products&&Array.isArray(e.products)&&e.products.every((e=>"object"==typeof e&&"string"==typeof e.slug&&"number"==typeof e.credit
1Cost)),x=(e,t)=>{var l,a,n,o;if(!e||!e.subsections)return;if(!(e.subsections.length>0&&"HorizontalProductCards"===(null===(l=e.subsections[0])||void 0===l?void 0:l.componentName)&&f(null===(a=e.subsections[0])||void 0===a||null===(n=a.metadata)||void 0===n?void 0:n.context)))return;const i=((e,t)=>{if(!e||!e.subsections||0===e.subsections.length)return[];const l=e.subsections[0];if(!l||!l.metadata||!f(l.metadata.context))return[];const{products:a}=l.metadata.context,n=[];return a.forEach((({slug:e,creditCost:l})=>{const a=t&&e&&t[e];if(!a)return null;const{price:o,displayName:i,productCardImage:r}=a,d=o?Math.floor(o):0,s={displayName:i,creditCost:l,dollarAmount:d,centsAmount:o?Math.round(100*(o-Number(d))):0,image:r,linkTo:`/products/${e}/`};n.push(s)})),n})(e,t);return{displayName:(null===(o=e.subsections[0])||void 0===o?void 0:o.displayName)||"",products:i}},h=(e,t)=>{const{body:l,images:a,eyebrow:n}=e,{title:o,theme:i,flags:r}=e.metadata||{};return{eyebrow:n,title:o,bgColor:null==i?void 0:i.backgroundColor,flags:r,headline:l,desktopBackgroundImage:a&&a[0].desktopImage,desktopBackgroundImageAltText:a&&a[0].desktopImageAltText,productsSubsection:x(e,t)}}},49353:function(e,t,l){l.d(t,{A:function(){return b},u:function(){return E}});var a=l(51147),n=l(45871),o=l(45574),i=l(76960),r=l(23371),d=l(37113),s=l(82780),c=l(64810),u=l(96540),m=l(11616),g=l(47654),p=l(78444),f=l(33263),x=l(16562),h=l(91831);const v={renderNode:{[n.BLOCKS.PARAGRAPH]:(e,t)=>u.createElement("p",{style:{fontSize:o.w4.fontSizes.lg,fontWeight:o.w4.fontWeights.normal,marginBottom:o.w4.space[3]}},t),[n.BLOCKS.HEADING_2]:(e,t)=>u.createElement(o.DZ,{as:"h2",fontSize:["xl","5xl"],fontWeight:"normal",lineHeight:["27px","41.60px"],marginBottom:"4",color:"moonlight.base"},t),[n.BLOCKS.HEADING_3]:(e,t)=>u.createElement(o.DZ,{as:"h3",fontSize:["xl","2xl"],fontWeight:"medium",lineHeight:["27px","28px"],marginBottom:"8"},t),[n.BLOCKS.UL_LIST]:(e,t)=>u.createElement("ul",{style:{fontSize:o.w4.fontSizes.lg,listStyleType:"initial",marginInlineStart:"1em"}},u.createElement("li",{style:{listStyle:"disc"}},t)),[n.BLOCKS.OL_LIST]:(e,t)=>u.createElement("ol",{style:{fontSize:o.w4.fontSizes.lg,listStyleType:"initial",marginInlineStart:"1em"}},u.createElement("li",{style:{listStyle:"numeric"}},t))}};var b=e=>{var t;const{handleMdpCtaClick:l}=(0,h.A)();if(!e)return null;const{eyebrow:n,title:b,bgColor:E,headline:y,desktopBackgroundImage:C,desktopBackgroundImageAltText:w,bullets:z,toolCards:k,cta:S}=e,I=()=>{m.Ay.track({event:g.r.EVENTS.CLICKED_LINK,data:{sectionHeader:b||"No title provided",contentfulSection:"BannerAndToolCards",ctaText:(null==S?void 0:S.label)||"No CTA label"}})},A=(0,f.Rw)(null==S?void 0:S.url),B=A?(0,x.x)((null==S?void 0:S.url)||""):null==S?void 0:S.url,T={...A?{href:B,as:"a"}:{to:B,as:c.Link}};return u.createElement(r.A,{size:["sm",null,null,"xl"],centerContent:!0,"data-element":"SectionContainer","data-component":"BannerAndToolCards","data-source-file":"BannerAndToolCards.tsx"},u.createElement(d.A,{title:b,eyebrow:n,"data-element":"SectionHeader","data-source-file":"BannerAndToolCards.tsx"}),u.createElement(o.az,{background:E,display:["flex"],flexFlow:["column","row"],height:["auto","auto","622px"],overflow:"hidden",position:["unset","relative"],borderRadius:12,"data-element":"Box","data-source-file":"BannerAndToolCards.tsx"},u.createElement(o.az,{background:E,position:["unset","absolute"],top:"0",left:"225px",clipPath:"ellipse(20% 60% at 55% 50%)",zIndex:["0","1"],height:["auto","100%"],width:["auto","56%"],display:["none","none","none","initial"],"data-element":"Box","data-source-file":"BannerAndToolCards.tsx"}),u.createElement(o.so,{flex:["unset",1],padding:["6","12"],order:["2","1"],flexFlow:"column",alignItems:"stretch",zIndex:["initial","1"],justifyContent:null!=S&&S.label?"space-between":"center","data-element":"Flex","data-source-file":"BannerAndToolCards.tsx"},u.createElement(o.az,{"data-element":"Box","data-source-file":"BannerAndToolCards.tsx"},y?u.createElement(o.az,{width:["100%","80%"],marginTop:["6","unset"]},(0,p.A)(y,v)):null,z?z.map((e=>u.createElement(o.az,{width:"100%",display:"flex",alignItems:"flex-start",justifyContent:"flex-start",maxWidth:"380px",marginBottom:5,
1key:e.title,_last:{marginBottom:0}},u.createElement(o.az,{width:["32px"],height:["32px"],marginRight:3,backgroundColor:"tints.white",borderRadius:"50%",padding:1},u.createElement(i.Ay,{icon:e.iconName,color:"moonlight.base"})),u.createElement(o.EY,{size:"lg"},e.title)))):null),S&&null!=S&&S.label?u.createElement(o.$n,Object.assign({variant:"primary",id:`${b}-${null==S?void 0:S.label}`,onClick:e=>{l({event:e,ctaUrl:(null==S?void 0:S.url)||""}),I()},marginTop:"6",width:["100%",null,"fit-content"]},T),null==S?void 0:S.label):null),u.createElement(o.az,{flex:["unset",1],display:"flex",alignItems:["center","flex-start","center"],justifyContent:"center",order:["1","2"],height:["300px","auto"],overflow:["unset","hidden"],position:"relative","data-element":"Box","data-source-file":"BannerAndToolCards.tsx"},C?u.createElement(a._,{src:null===(t=C.gatsbyImageData.images.fallback)||void 0===t?void 0:t.src,alt:w||"",boxSize:"100%",objectFit:"cover",clipPath:["ellipse(63% 71% at 50% 45%)","unset"]}):null,k?u.createElement(s.A,{toolCards:k}):null)))};l(69479);const E=e=>{var t,l,a,n,o,i,r,d;const{displayName:s,body:c,images:u,subsections:m}=e,{title:g,theme:p,flags:f,ctas:x}=e.metadata||{},h=null==p?void 0:p.backgroundColor,v=u&&(null===(t=u[0])||void 0===t?void 0:t.desktopImage),b=u&&(null===(l=u[0])||void 0===l?void 0:l.desktopImageAltText);if(!(s&&g&&c&&v&&b&&h))return null;let E=null;m&&null!==(a=m[0])&&void 0!==a&&null!==(n=a.metadata)&&void 0!==n&&null!==(o=n.context)&&void 0!==o&&o.icon&&(E=(e=>e.filter((e=>"BannerAndToolCards"===(null==e?void 0:e.componentName))).map((e=>({title:e.displayName,iconName:e.metadata.context.icon}))))(m));const y=(e=>e&&0!==e.length?e.filter((e=>"ToolCardV2"===(null==e?void 0:e.componentName))).map((e=>{var t,l,a,n,o,i;return{title:(null==e?void 0:e.displayName)||"",bgColor:(null==e||null===(t=e.metadata)||void 0===t||null===(l=t.theme)||void 0===l?void 0:l.backgroundColor)||"",textColor:(null==e||null===(a=e.metadata)||void 0===a||null===(n=a.theme)||void 0===n?void 0:n.textColor)||"",body:(null==e?void 0:e.body)||"",desktopBackgroundImage:(null==e||null===(o=e.images)||void 0===o||null===(i=o[0])||void 0===i?void 0:i.desktopImage)||""}})):[])(m);return{eyebrow:s,title:g,bgColor:h,headline:c,flags:f,desktopBackgroundImage:v,desktopBackgroundImageAltText:b,bullets:E,toolCards:y,cta:{label:(null==x||null===(i=x[0])||void 0===i?void 0:i.label)||"",url:(null==x||null===(r=x[0])||void 0===r?void 0:r.url)||"",metadata:(null==x||null===(d=x[0])||void 0===d?void 0:d.metadata)||{}}}}},79163:function(e,t,l){l.d(t,{l:function(){return n}});var a=l(98814);function n(e){var t,l,n,o,i,r,d,s,c,u,m;const{metadata:g,images:p}=e,f=(0,a.nl)(null!=p?p:null),x=null==e?void 0:e.subsections;return{title:null!==(t=null==g?void 0:g.title)&&void 0!==t?t:null,titleColor:null!==(l=null==g||null===(n=g.theme)||void 0===n?void 0:n.primaryColor)&&void 0!==l?l:null,description:null!==(o=null==g||null===(i=g.description)||void 0===i?void 0:i.description)&&void 0!==o?o:null,descriptionColor:null!==(r=null==g||null===(d=g.theme)||void 0===d?void 0:d.secondaryColor)&&void 0!==r?r:null,backgroundColor:null!==(s=null==g||null===(c=g.theme)||void 0===c?void 0:c.backgroundColor)&&void 0!==s?s:null,bulletPoints:null==x?void 0:x.map((e=>{var t,l,a,n,o,i,r,d,s,c,u;return{text:null!==(t=null==e||null===(l=e.metadata)||void 0===l?void 0:l.title)&&void 0!==t?t:null,textColor:null!==(a=null==e||null===(n=e.metadata)||void 0===n||null===(o=n.theme)||void 0===o?void 0:o.textColor)&&void 0!==a?a:null,iconName:null!==(i=null==e||null===(r=e.metadata)||void 0===r||null===(d=r.context)||void 0===d?void 0:d.iconName)&&void 0!==i?i:null,iconColor:null!==(s=null==e||null===(c=e.metadata)||void 0===c||null===(u=c.context)||void 0===u?void 0:u.iconColor)&&void 0!==s?s:null}})),mobileImage:f.mobileImage,desktopImage:f.desktopImage,cta:null!==(u=null==g||null===(m=g.ctas)||void 0===m?void 0:m[0])&&void 0!==u?u:null}}},87583:function(e,t,l){l.d(t,{A:function(){return m}});var a=l(45574),n=l(29427),o=l(23371),i=l(98814),r=l(32532),d=l(96540),s=l(11616),c=l(47654),u=l(91831);function m({title:e,titleColor:t,description:l,descriptionColor:m,backgroundColor:g,bulletPoints:p,mobileImage:f,desktopImage:x,cta:h}){var v,b,E,y,C,w;
1const{handleMdpCtaClick:z}=(0,u.A)(),k=()=>{s.Ay.track({event:c.r.EVENTS.CLICKED_BUTTON,data:{sectionHeader:e||"No title provided",contentfulSection:"Banner With Bullet Points",ctaText:(null==h?void 0:h.label)||"No label provided"}})},S={variant:"primary",onClick:e=>{z({event:e,ctaUrl:(null==h?void 0:h.url)||""}),k()},id:`${e}-cta`,...(0,i.ax)((null==h?void 0:h.url)||"")};return d.createElement(o.A,{size:["sm",null,null,"xl"],"data-element":"SectionContainer","data-component":"BannerWithBulletPoints","data-source-file":"BannerWithBulletPoints.tsx"},d.createElement(a.so,{display:"flex",alignItems:"center",backgroundColor:g||"",flexDirection:["column",null,"row-reverse"],borderRadius:"xl",overflow:"hidden","data-element":"Flex","data-source-file":"BannerWithBulletPoints.tsx"},d.createElement(a.so,{flex:[1,null,2],justifyContent:[null,null,"end"],"data-element":"Flex","data-source-file":"BannerWithBulletPoints.tsx"},f?d.createElement(a.az,{display:[null,null,"none"]},d.createElement(a._V,{as:r.G,image:null==f?void 0:f.gatsbyImageData,alt:(null==f?void 0:f.description)||""})):null,x?d.createElement(a.az,{display:["none",null,"block"]},d.createElement(a._V,{as:r.G,image:null==x?void 0:x.gatsbyImageData,alt:(null==x?void 0:x.description)||""})):null),d.createElement(a.az,{flex:"1",marginTop:[8,null,0],paddingX:[6,null,0],paddingBottom:[6,null,0],marginLeft:[null,null,12],"data-element":"Box","data-source-file":"BannerWithBulletPoints.tsx"},e?d.createElement(a.DZ,{as:"h2",size:["md",null,"lg"],color:t||"",marginBottom:[2,null,3]},e):null,l?d.createElement(a.EY,{color:m||"",fontSize:["md",null,"lg"]},l):null,p?d.createElement(a.so,{flexDirection:"column",gap:"2",marginTop:"4",marginBottom:[6,null,10]},p.map(((e,t)=>d.createElement(n.A,Object.assign({key:t},e))))):null,h&&null!=h&&h.label?d.createElement(a.$n,Object.assign({color:(null==h||null===(v=h.metadata)||void 0===v||null===(b=v.theme)||void 0===b?void 0:b.textColor)||"tints.white",backgroundColor:(null==h||null===(E=h.metadata)||void 0===E||null===(y=E.theme)||void 0===y?void 0:y.backgroundColor)||void 0,_hover:{backgroundColor:(null==h||null===(C=h.metadata)||void 0===C||null===(w=C.theme)||void 0===w?void 0:w.gradientColor1)||"none"}},S,{width:["100%",null,"fit-content"]}),h.label):null)))}},33187:function(e,t,l){l.d(t,{c:function(){return n}});var a=l(78444);const n=e=>{var t,l,n,o,i,r,d,s;const{body:c,metadata:u}=e;return{text:{content:c&&(0,a.A)(c),color:null==u||null===(t=u.theme)||void 0===t?void 0:t.textColor},footnote:{content:null!==(l=null==u||null===(n=u.description)||void 0===n?void 0:n.description)&&void 0!==l?l:"",color:null==u||null===(o=u.theme)||void 0===o?void 0:o.secondaryColor},highlightTextColor:null==u||null===(i=u.theme)||void 0===i?void 0:i.tertiaryColor,desktopWidth:null!==(r=null==u||null===(d=u.context)||void 0===d?void 0:d.info_card_width)&&void 0!==r?r:"md",backgroundColor:null==u||null===(s=u.theme)||void 0===s?void 0:s.backgroundColor}}},38852:function(e,t,l){l.d(t,{A:function(){return g}});var a=l(21),n=l(75119),o=l(96540),i=l(45574),r=l(10900),d=l(14279);var s=({backgroundColor:e=i.w4.colors.viridian.dark,text:t,highlightTextColor:l=i.w4.colors.whiteCS.base,footnote:a,cta:n=null,desktopWidth:s})=>{const c=(0,o.useCallback)((()=>void 0===s?"unset":{md:"280px",lg:"664px"}[s]),[s]);return o.createElement(i.az,{position:"relative",padding:6,backgroundColor:e,borderRadius:"xl",overflow:"hidden",height:"100%",minHeight:["200px","400px"],width:["100%",c()],display:"flex",flexDirection:"column",gap:"40px","data-element":"Box","data-component":"InfoCardV2","data-source-file":"InfoCardV2.tsx"},o.createElement(i.az,{fontFamily:"body",fontSize:["3xl","5xl"],lineHeight:["shorter"],fontWeight:"medium","line-height":"shorter",color:null==t?void 0:t.color,sx:{"strong, b":{fontWeight:"500",color:l}},"data-element":"Box","data-source-file":"InfoCardV2.tsx"},"string"==typeof(null==t?void 0:t.content)?(0,r.Ay)((0,d.aj)(null==t?void 0:t.content)):null==t?void 0:t.content),o.createElement(i.az,{marginTop:"auto",display:"flex",alignItems:"center","data-element":"Box","data-source-file":"InfoCardV2.tsx"},a&&o.createElement(i.EY,{fontSize:["md","lg"],opacity:"0.6",color:null==a?void 0:a.color,flex:"1"},null==a?void 0:a.content),n&&o.createElement(i.az,{marginLeft:"auto",display:"flex",alignItems:"center",flex:"1",justifyContent:"end"},n)))};var c=({backgroundColor:e,highlightTextColor:t,text:l,cta:a})=>o.createElement(s,{backgroundColor:e,highlightTextColor:t,text:l,cta:a,desktopWidth:"md","data-element":"InfoCardV2","data-component":"ActionCard","data-source-file":"ActionCard.tsx"});var u=({tagText:e,tagVariant:t,headingText:l,backgroundColor:a="viridian.base",cta:i,mobileImage:r,de
1sktopImage:d,...s})=>o.createElement(n.A,Object.assign({tagText:e,tagVariant:t,headingText:l,backgroundColor:a,cta:{...i,size:["md","sm","sm"]},addImageShape:!0,maxWidth:["100%"],minHeight:["auto","400px"],mobileImage:r,mobileImageProps:{height:"200px"},desktopImage:d,cardVariant:"horizontal"},s,{"data-element":"ShapeCard","data-component":"AdvertisementCard","data-source-file":"AdvertisementCard.tsx"}));const m={ProductCardV2:a.A,ShapeCard:n.A,InfoCardV2:s,ActionCard:c,AdvertisementCard:u};var g=({componentName:e,...t})=>{const l=m[e];return void 0===l?null:o.createElement(l,t)}},12972:function(e,t,l){l.d(t,{A:function(){return c}});var a=l(45574),n=l(38852),o=l(76960),i=l(96540);const r=({isExpanded:e,colorScheme:t="whiteCS"})=>i.createElement(a.az,{"data-element":"Box","data-component":"CardAccordionButton","data-source-file":"CardsAccordion.tsx"},i.createElement(a.K0,{as:a.J2,"aria-label":e?"Collapse":"Expand","aria-expanded":e,icon:i.createElement(o.Ay,{icon:e?"CaretUp":"CaretDown",fontSize:a.w4.fontSizes.lg}),colorScheme:t,width:a.w4.space[8],height:a.w4.space[8],size:"sm","data-element":"IconButton","data-source-file":"CardsAccordion.tsx"}));var d=({items:e,buttonColorScheme:t})=>i.createElement(a.nD,{allowMultiple:!0,display:"flex",flexDirection:"column",gap:"6","data-element":"Accordion","data-component":"CardsAccordion","data-source-file":"CardsAccordion.tsx"},e.map(((e,l)=>i.createElement(a.As,{key:l,border:0},(({isExpanded:l})=>i.createElement(i.Fragment,null,i.createElement(a.az,{role:"heading"},i.createElement(n.A,Object.assign({},e.button,{cta:i.createElement(r,{isExpanded:l,colorScheme:t})}))),i.createElement(a.vr,{display:"flex",flexDirection:"column",marginTop:4,gap:4},e.content.map((({componentName:e,...t},l)=>i.createElement(n.A,Object.assign({key:`${e}-${l}`,componentName:e},t))))))))))),s=l(29620);var c=({carouselCards:e,accordionCards:t,carouselFadeBgColor:l,carouselStyles:o,disableAccordion:r=!1})=>{const[c]=(0,a.Ub)(`(max-width: ${a.w4.breakpoints.tablet})`);return c&&r?i.createElement(a.so,{display:"flex",flexDirection:"column",marginTop:4,gap:4},t.map((({button:e,content:t})=>[e,...t].map((({componentName:e,...t},l)=>i.createElement(n.A,Object.assign({key:`${e}-${l}`,componentName:e},t))))))):c&&!r?i.createElement(d,{items:t}):i.createElement(s.A,{cards:e,slideStyles:{flexShrink:"unset",maxWidth:"fit-content"},showPagination:!1,breakpointConfig:{0:{slidesPerView:"auto"},900:{slidesPerView:"auto"},1200:{slidesPerView:"auto"}},fadeBgColor:l,mousewheel:{enabled:!0,forceToAxis:!0},carouselStyles:o,freeMode:!0,"data-element":"MultipleCardsSwiper","data-component":"CardsCarouselAccordion","data-source-file":"CardsCarouselAccordion.tsx"})}},32082:function(e,t,l){l.d(t,{A:function(){return i}});var a=l(45574),n=l(29968),o=l(96540);function i({buttonLabel:e,options:t,onChange:l,defaultSelectedLabel:i,defaultSelectedOptions:d,allowMultiple:s=!1}){const c=s?"checkbox":"radio",{0:u,1:m}=(0,o.useState)(new Set(d||[])),g=e=>{s?(e=>{const t=new Set(u);u.has(e)?t.delete(e):t.add(e),m(t),l(Array.from(t))})(e):(e=>{if(u.has(e))return m(new Set([])),void l([]);m(new Set([e])),l([e])})(e)};return o.createElement(a.az,{display:"flex",width:"100%","data-element":"Box","data-component":"DropdownFilter","data-source-file":"DropdownFilter.tsx"},o.createElement(a.W1,{closeOnSelect:!s,size:["lg","md"],"data-element":"Menu","data-source-file":"DropdownFilter.tsx"},o.createElement(a.IU,{as:a.$n,size:["md","sm"],colorScheme:"whiteCS",borderRadius:"12",border:"1.5px solid",borderColor:"tints.lightGrey",width:"100%","data-element":"MenuButton","data-source-file":"DropdownFilter.tsx"},o.createElement(a.az,{display:"flex",justifyContent:["space-between","center"],"data-element":"Box","data-source-file":"DropdownFilter.tsx"},o.createElement(a.az,{display:"flex",alignItems:"center",color:"tints.darkGrey","data-element":"Box","data-source-file":"DropdownFilter.tsx"},0===u.size?o.createElement(o.Fragment,null,e):u.size>0&&u.size<3?o.createElement(o.Fragment,null,u.size?u:e):o.createElement(o.Fragment,null,o.createElement(r,null,u.size)," ",e)),o.createElement(a.In,{as:n.a,marginLeft:"2",color:"tints.darkGrey","data-element":"Icon","data-source-file":"DropdownFilter.tsx"}))),o.createElement(a.cO,{zIndex:2,"data-element":"MenuList","data-source-file":"DropdownFilter.tsx"},o.createElement(a.ip,{defaultValue:d,type:c,"data-element":"MenuOptionGroup","data-source-file":"DropdownFilter.tsx"},t.map((e=>o.createElement(a.k5,{key:e,value:e,onClick:()=>g(e),icon:u.has(e)?void 0:o.createElement("svg",{width:"1rem",he
1ight:"1rem"})},e)))))))}const r=({children:e})=>o.createElement(a.EY,{display:"inline-block",backgroundColor:"viridian.base",width:"20px",height:"20px",borderRadius:"50%",color:"white",marginRight:"1",fontSize:"md","data-element":"Text","data-component":"Counter","data-source-file":"DropdownFilter.tsx"},e)},37149:function(e,t,l){var a=l(98863),n=l(93859),o=l(48119),i=l(14619),r=l(96540),d=l(65150),s=l(8933);const c=()=>{"undefined"!=typeof window&&window.history.replaceState(null,"",window.location.pathname+window.location.search)};t.A=({productSlug:e,screenerMetadataId:t})=>{var l;const{addItemToCartAsync:u,order:m}=(0,a._$)(),g=(0,s.r)(e),p=(0,d.KN)(t),f=null==p?void 0:p.screenerData,x=(0,d.N1)(null!==(l=null==p?void 0:p.orderTestHash)&&void 0!==l?l:""),{0:h,1:v}=(0,r.useState)(!1),b=(0,r.useRef)(!1),E=(0,n.ih)(e)&&!!m&&(0,o.F)(m,[e]),y=(0,r.useCallback)((()=>{c(),v(!1)}),[]),C=(0,r.useCallback)((()=>"undefined"!=typeof window&&window.location.hash===x),[x]);(0,r.useEffect)((()=>{if(!f||!g)return;if(E)return C()&&c(),void v(!1);C()&&v(!0);const e=()=>{if(E)return c(),void v(!1);v(C())};return window.addEventListener("hashchange",e),()=>{window.removeEventListener("hashchange",e)}}),[E,C,f,g]);return f&&g?r.createElement(i.A,{isV2:!0,isEligibility:!0,screenerData:f,modalOpen:h,modalOpenCallback:y,eligibleOptionCallback:async()=>{if(g&&!E){if(!b.current){b.current=!0;try{if(!await u({variant_id:g,quantity:1}))return;sessionStorage.setItem(`${e}_eligible`,"true"),y()}finally{b.current=!1}}}else y()},ineligibleOptionCallback:y,"data-element":"PrePurchaseScreener","data-component":"EligibilityScreenerModal","data-source-file":"index.tsx"}):null}},50451:function(e,t,l){l.d(t,{A:function(){return x},T:function(){return h}});var a=l(45574),n=l(76960),o=l(23371),i=l(98814),r=l(33363),d=l(64810),s=l(32532),c=l(96540),u=l(11616),m=l(91453),g=l(47654),p=l(91831);const f=e=>{var t;const{questions:l,quizEmailCapture:f,rightSection:x}=e,{handleMdpCtaClick:h}=(0,p.A)(),v=l.map((e=>"multiSelect"===e.quizQuestionType?{question:e.title,answer:[]}:{question:e.title,answer:""})),{0:b,1:E}=(0,c.useState)(v),{0:y,1:C}=(0,c.useState)(0),{0:w,1:z}=(0,c.useState)(!1),{0:k,1:S}=(0,c.useState)(!1),{0:I,1:A}=(0,c.useState)(""),{0:B,1:T}=(0,c.useState)(""),{0:D,1:F}=(0,c.useState)("");const N=l.map(((e,t)=>({title:`0${t+1}`}))),V=(e,t)=>{const a=[...b];"singleSelect"===e?(e=>{const t=a[y].answer;a[y].answer=t===e?"":e})(t):"multiSelect"===e&&(e=>{let t=a[y].answer;Array.isArray(t)&&(t.includes(e)?t=t.filter((t=>t!==e)):t.push(e),a[y].answer=t)})(t),E(a),u.Ay.track({event:g.r.EVENTS.CLICKED_QUIZ_OPTION,data:{questionIndex:y,questionTitle:l[y].title,label:t}})},_=()=>{var e;u.Ay.track({event:g.r.EVENTS.CLICKED_LINK,data:{sectionHeader:"Email Quiz",contentfulSection:"EmailQuiz",ctaText:(null==x||null===(e=x.cta)||void 0===e?void 0:e.label)||"No label provided"}})},H={onClick:e=>{var t;_(),h({event:e,ctaUrl:(null==x||null===(t=x.cta)||void 0===t?void 0:t.url)||""})},id:"email-quiz-cta",...(0,i.ax)(null==x||null===(t=x.cta)||void 0===t?void 0:t.url)};return c.createElement(o.A,{size:["sm","sm","lg","xl"],"data-element":"SectionContainer","data-component":"Quiz","data-source-file":"EmailQuiz.tsx"},c.createElement(a.az,{backgroundColor:"tints.lightCream",borderRadius:"3xl",justifyContent:"space-between",overflow:"hidden",padding:"4",width:"100%",height:"auto",display:["block",null,"flex"],"data-element":"Box","data-source-file":"EmailQuiz.tsx"},c.createElement(a.az,{alignContent:w?f.cta?"space-between":"flex-end":"space-between",backgroundColor:"#E6ADFF60",borderRadius:"xl",display:["block",null,"flex"],flexWrap:"wrap",marginBottom:["4",null,0],minHeight:["auto",null,"490px"],padding:"8",width:["100%",null,x?"calc(70% - 8px)":"100%"],"data-element":"Box","data-source-file":"EmailQuiz.tsx"},w?f.cta?c.createElement(a.az,null,c.createElement(a.N_,{as:d.Link,size:"lg",color:"eggplant.light",to:f.cta.url},f.cta.label)):null:c.createElement(r.A,{steps:N,activeStepIndex:y}),c.createElement(a.az,{width:"100%",marginTop:["16",null,0],"data-element":"Box","data-source-file":"EmailQuiz.tsx"},l.map(((e,t)=>c.createElement(a.az,{key:`quiz-question-${t}`,width:"100%",flexWrap:"wrap",display:t!==y||w?"none":"flex"},c.createElement(a.az,{width:"400px",marginBottom:"8"},c.createElement(a.DZ,{size:"xl",color:"eggplant.base",opacity:"0.6",maxWidth:"100%",display:"block"},e.eyebrow),c.createElement(a.DZ,{size:"xl",color:"tints.black",maxWidth:"100%",display:"block"},e.title)),c.createElement(a.so,{width:"100%",marginBottom:"5",flexWrap:"wrap"},e.options.map(((l,n)=>{const o=b[y].answer.includes(l.title);return c.createElement(a.$n,{border:"4px solid",borderColor:o?"eggplant.lighter":"transparent",backgroundColor:"eggplant.wash",colorScheme:"whiteCS",display:"flex",key:`quiz-option-${t}-${n}`,"data-testid":o?"quiz-question-option-selected":"quiz-question-option",marginBottom:"3",marginRight:["10px",null,"4"],size:"md",variant:"primary",padding:"8px 12px !important",_last:{marginRight:0},_hover:{cursor:["default",null,"pointer"]},onClick:()=>V(e.quizQuestionType,l.title),position:"relative"},l.image&&c.createElement(a.az,{position:"absolute",top:"0",left:"0"},c.createElement(a._V,{as:s.G,image:l.image.gatsbyImageData,alt:l.title,objectFit:"fill",width:["40px",null,"45px"],height:["40px",null,"45px"],display:"block"})),c.createElement(a.DZ,{size:"sm",as:"span",paddingLeft:l.image?"32px":"0"},l.title))}))),y>0&&c.createElement(a.$n,{marginRight:["10px",null,"4"],onClick:()=>{y>0&&(C((e=>e-1)),u.Ay.track({event:g.r.EVENTS.CLICKED_QUIZ_BACK,data:{questionIndex:y,questionTitle:l[y].title}}))},isDisabled:0===y,_hover:{cursor:["default",null,"pointer"]},key:`quiz-back-${t}`,"data-testid":"quiz-back-button",variant:"secondary",colorScheme:"greenCS"},"Back"),c.createElement(a.$n,{isDisabled:0===b[t].answer.length,onClick:()=>{y<=l.length-2?(C((e=>e+1)),u.Ay.track({event:g.r.EVENTS.CLICKED_QUIZ_PROCEED,data:{questionIndex:y,questionTitle:l[y].title}})):z(!0)},_hover:{cursor:["default",null,"pointer"]},"data-testid":"quiz-proceed-button",key:`quiz-proceed-${t}`},"Proceed")))),c.createElement(a.az,{key:"quiz-email-capture",display:w?"block":"none",width:"100%","data-element":"Box","data-source-file":"EmailQuiz.tsx"},c.createElement(a.az,{width:"100%",marginBottom:"8","data-element":"Box","data-source-file":"EmailQuiz.tsx"},c.createElement(a.DZ,{size:"xl",color:"tints.black",display:"block",marginBottom:0,width:"100%",as:"span",maxWidth:"500px","data-element":"Heading","data-source-file":"EmailQuiz.tsx"},f.title)),c.createElement(a.az,{"data-element":"Box","data-source-file":"EmailQuiz.tsx"},c.createElement("form",{onSubmit:async(e,t={})=>
1{if(e.preventDefault(),T(""),F(""),S(!0),!I)return T("Email is required."),void S(!1);try{(0,m.M)({event_type:"newsletter-subscription",resource:{user_id:t.id,email:I,data_fields:{quiz:b,newsletter:"weight-care-plus"}}}),F("Thank you, we will get in contact soon."),u.Ay.track({event:g.r.EVENTS.SUBMITTED_QUIZ,data:{label:"Submit",quizProgram:"weight-care-plus"}})}catch(l){T("Email submission failed, please try again.")}finally{S(!1)}},"data-testid":"email-capture-form"},c.createElement(a.MJ,{isInvalid:!!B,"data-element":"FormControl","data-source-file":"EmailQuiz.tsx"},B&&c.createElement(a.Wt,null,B),c.createElement(a.so,{gap:3,alignItems:"center","data-element":"Flex","data-source-file":"EmailQuiz.tsx"},c.createElement(a.s6,{"aria-live":"polite","aria-atomic":"true","data-element":"VisuallyHidden","data-source-file":"EmailQuiz.tsx"},D),D?c.createElement(c.Fragment,null,c.createElement(a.so,{flexWrap:"nowrap",justifyContent:"space-between",width:"100%"},c.createElement(a.so,{flexWrap:"nowrap",alignItems:"center"},c.createElement(n.Ay,{icon:"CheckCircle",color:"eggplant.light",weight:"fill",marginRight:"2"}),c.createElement(a.EY,{color:"eggplant.light",size:"xl"},D)),c.createElement(a.$n,{variant:"primary",type:"submit",size:"md",colorScheme:"whiteCS",onClick:()=>(E(v),C(0),z(!1),A(""),T(""),F(""),void u.Ay.track({event:g.r.EVENTS.CLICKED_QUIZ_RESET,data:{label:"Reset",quizProgram:"weight-care-plus"}}))},"Got it"))):c.createElement(c.Fragment,null,c.createElement(a.pd,{"aria-label":"Email address",placeholder:"Type your email",name:"subscribeEmail",type:"email",value:I,onChange:e=>A(e.target.value),isDisabled:k}),c.createElement(a.$n,{variant:"primary",type:"submit",size:"md",isLoading:k,padding:"12px 14px !important","data-testid":"quiz-email-submit-button"},"Submit"))))))))),x?c.createElement(a.so,{borderRadius:"xl",height:["345px",null,"490px"],overflow:"hidden",position:"relative",width:["100%",null,"calc(30% - 8px)"]},c.createElement(a.az,{background:"linear-gradient(254deg, rgba(0, 0, 0, 0.00) 12%, rgba(0, 0, 0, 0.60) 55%)",height:"100%",left:"0",position:"absolute",top:"0",width:"100%",zIndex:1}),x.backgroundImage&&c.createElement(a.az,{"data-testid":"background-image",height:"100%",left:"0",position:"absolute",top:"0",width:"100%",zIndex:0},c.createElement(s.G,{style:{height:"100%",width:"100%"},image:x.backgroundImage.gatsbyImageData,alt:x.title})),c.createElement(a.so,{alignContent:"space-between",flexWrap:"wrap",padding:"8",position:"relative",width:"100%",zIndex:2},c.createElement(a.EY,{size:"lg",color:"viridian.light"},x.eyebrow),c.createElement(a.az,{width:"100%"},c.createElement(a.DZ,{size:"lg",color:"tints.white"},x.title),c.createElement(a.$n,Object.assign({},H,{marginTop:"4",size:"md",variant:"primary",_hover:{cursor:["default",null,"pointer"]}}),x.cta.label)))):null))};var x=c.memo(f);const h=e=>{var t,l,a,n,o,r,d,s,c,u,m,g,p,f,x,h,v,b,E;const{subsections:y}=e,C=(0,i.XN)("EmailQuizQuestion",y),w=(0,i.xz)("EmailQuizCapture",y),z=(0,i.xz)("EmailQuizImageCallout",y),k=C.map((e=>{var t,l,a;const{subsections:n}=e,o=n.map((e=>{let t=null;var l,a;e.images&&(t={gatsbyImageData:null===(l=e.images[0])||void 0===l||null===(a=l.desktopImage)||void 0===a?void 0:a.gatsbyImageData});return{title:e.displayName,image:t}}));return{title:null===(t=e.metadata)||void 0===t?void 0:t.title,eyebrow:e.eyebrow,options:o,quizQuestionType:null===(l=e.metadata)||void 0===l||null===(a=l.context)||void 0===a?void 0:a.quizQuestionType}})),S=null==w||null===(t=w.metadata)||void 0===t||null===(l=t.ctas)||void 0===l?void 0:l[0];return{questions:k,quizEmailCapture:{title:(null===(a=w.metadata)||void 0===a?void 0:a.title)||"",cta:S?{label:(null===(n=w.metadata)||void 0===n||null===(o=n.ctas)||void 0===o||null===(r=o[0])||void 0===r?void 0:r.label)||"",url:(null===(d=w.metadata)||void 0===d||null===(s=d.ctas)||void 0===s||null===(c=s[0])||void 0===c?void 0:c.url)||""}:void 0},rightSection:z&&null!=z&&null!==(u=z.images)&&void 0!==u&&u.length&&null!=z&&null!==(m=z.images[0])&&void 0!==m&&null!==(g=m.desktopImage)&&void 0!==g&&g.gatsbyImageData?{backgroundImage:{gatsbyImageData:z.images[0].desktopImage.gatsbyImageData},title:(null===(p=z.metadata)||void 0===p?void 0:p.title)||"",eyebrow:z.eyebrow||"",cta:{label:(null===(f=z.metadata)||void 0===f||null===(x=f.ctas)||void 0===x||null===(h=x[0])||void 0===h?void 0:h.label)||"",url:(null===(v=z.metadata)||void 0===v||null===(b=v.ctas)||void 0===b||null===(E=b[0])||void 0===E?void 0:E.url)||""}}:void 0}}},12695:function(e,t,l){l.d(t,{A:function(){return r}});var a=l(96540),n=l(45619),o=l(68060);function i(e,t){const{name:l,placeholder:i,minAgeConfig:r,maxAgeConfig:d,requiredConfig:s="Please enter a valid date",...c}=e,{watch:u}=(0,n.xW)();return a.createElement(o.A,Object.assign({ref:t,name:l,placeholder:i,type:"date",sx:{minWidth:"-webkit-fill-available",width:"100%",position:"relative","::-webkit-date-and-time-value":{textAlign:"left",paddingLeft:3,fontSize:"inherit"},"&.empty":{":not(:focus)::-webkit-datetime-edit":{color:"transparent"},":not(:focus):before":{color:"tints.uiGrey",content:"attr(placeholder)",fontSize:"inherit",position:"absolute",top:"25%",left:4,display:"block"}}},className:u(l,"").length>0?"":"empty",autoComplete:"bday",validations:{required:s,validate:e=>{if(e){const[t,l,a]=e.split("-"),n=new Date(parseInt(t),parseInt(l)-1,parseInt(a)),o=Date.now()-n.getTime(),i=new Date(o),s=Math.abs(i.getUTCFullYear()-1970);if(null!=r&&r.value&&s<r.value||s<18&&(null==r||!r.value)||o<=0)return(null==r?void 0:r.message)||"You must be at least 18 years old";if(d&&s>=d.value)return d.message}}}},c,{"data-element":"InputField","data-component":"DateField","data-source-file":"DateField.tsx"}))}var r=(0,a.forwardRef)(i)},86381:function(e,t,l){l.d(t,{A:function(){return o}});var a=l(45574),n=l(96540);var o=function({register:e,errors:t,wcPlusSignupEmail:l,placeholder:o="Your Email",placeholderColor:i,fontFamily:r,fontColor:d,onBlur:s,onKeyDown:c,isVariant:u=!1}){var m;return n.createElement(a.MJ,{isRequired:!0,isInvalid:null==t?void 0:t.email,"data-element":"FormControl","data-component":"EmailField","data-source-file":"EmailField.tsx"},n.createElement(a.pd,Object.assign({"aria-label":"Email address",placeholder:o,name:"email",type:"email",defaultValue:l||""},u&&{borderColor:"tints.lightGrey"},r&&{fontFamily:r},d&&{color:d},i&&{_placeholder:{color:i,opacity:1}},{onBlur:s,onKeyDown:c,ref:e({required:"Please enter an email address",pattern:{value:/(?:[a-z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[a-z0-9!#$%&'*+/=?^_`{|}~-]+)*|"(?:[\x01-\x08\x0b\x0c\x0e-\x1f\x21\x23-\x5b\x5d-\x7f]|\\[\x01-\x09\x0b\x0c\x0e-\x7f])*")@(?:(?:[a-z0-9](?:[a-z0-9-]*[a-z0-9])?\.)+[a-z0-9](?:[a-z0-9-]*[a-z0-9])?|\[(?:(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.){3}(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?|[a-z0-9-]*[a-z0-9]:(?:[\x01-\x08\x0b\x0c\x0e-\x1f\x21-\x5a\x53-\x7f]|\\[\x01-\x09\x0b\x0c\x0e-\x7f])+)\])/i,message:"Please enter a valid email address"}}),"data-element":"Input","data-source-file":"EmailField.tsx"})),n.createElement(a.Wt,{"data-element":"FormErrorMessage","data-source-file":"EmailField.tsx"},null==t||null===(m=t.email)||void 0===m?void 0:m.message))}},60460:function(e,t,l){var a=l(97859),n=l(77500),o=l(45574),i=l(29968),r=l(96540),d=l(45619),s=l(27015);function c(e,t){var l;const{label:c,helperText:u,name:m,placeholder:g,validations:p,options:f,renderOption:x,isFloatingLabel:h=!1,hideRequiredAsterisk:v=!1,showPlaceholderOption:b=!1,...E}=e,{register:y,errors:C,control:w}=(0,d.xW)();(0,r.useEffect)((()=>{var e;null===(e=w.fieldsRef.current[m])||void 0===e||e.ref.setAttribute("placeholder",g)}),[w.fieldsRef,m,g]);const z=null===(l=(0,n.A)(C,m))||void 0===l?void 0:l.message,k=Boolean(z),S=Boolean(null==p?void 0:p.required);return r.createElement(o.MJ,{isInvalid:k,isRequired:S,variant:h?"floating":"default","data-element":"FormControl","data-component":"SelectField","data-source-file":"SelectField.tsx"},c&&!h?r.createElement(o.lR,v&&{requiredIndicator:!1},c):null,r.createElement(o.l6,Object.assign({icon:r.createElement(o.In,{as:i.a}),ref:(0,s.P)(t,y(p)),name:m,defaultValue:"",fontWeight:"medium",_focus:{borderColor:"viridian.base"},_focusVisible:{outline:"none"},required:!1,placeholder:h?null!=g?g:"":void 0},E,{"data-element":"Select","data-source-file":"SelectField.tsx"}),b?r.createElement("option",{value:"",disabled:!0},g):(0,a.A)(g)||h?null:r.createElement("option",{value:"",disabled:!0,hidden:!0},g),f.map(x)),c&&h?r.createElement(o.lR,null,c):null,!k&&u?r.createElement(o.eK,null,u):null,r.createElement(o.Wt,{"data-element":"FormErrorMessage","data-source-file":"SelectField.tsx"},z))}t.A=(0,r.forwardRef)(c)},15288:function(e,t,l){l.d(t,{A:function(){return a.A}});var a=l(60460)},47296:function(e,t,l){l.d(t,{A:function(){return f}});var a=l(45574),n=l(76960),o=l(23371),i=l(28389),r=l(32532),d=l(96540),s=l(11616),c=l(47654),u=l(16562),m=l(91831),g=l(14279);var p=({htmlData:e,color:t,reduceMargin:l})=>d.createElement(a.az,{color:t||"white",fontSize:["md","lg"],fontWeight:"400",lineHeight:"150%",dangerouslySetInnerHTML:{__html:(0,g.aj)(e)},sx:{li:{listStylePosition:"outside",marginBottom:l?2:3,marginLeft:[4],lineHeight:1.43}},"data-element":"Box","data-component":"BulletList","data-source-file":"BulletList.tsx"});var f=({sectionHeaderIconName:e,sectionHeaderText:t,backgroundColor:l=a.w4.colors.greenCS[700],headline:g,bulletPoints:f,mobileBackgroun
1dImage:x,mobileBackgroundImageAltText:h,desktopBackgroundImage:v,desktopBackgroundImageAltText:b,cta:E,disclaimer:y})=>{var C,w,z;const{priceText:k,billFrequencyText:S,icon:I,startingText:A,hideSeparator:B}=(null==E||null===(C=E.metadata)||void 0===C||null===(w=C.context)||void 0===w?void 0:w.ctaParts)||{},{handleMdpCtaClick:T}=(0,m.A)(),D=null!=E&&null!==(z=E.url)&&void 0!==z&&z.includes("http")?(0,u.x)(E.url):`${null==E?void 0:E.url}`,[F]=(0,a.Ub)("(max-height: 667px)");return d.createElement(o.A,{size:["fluid","fluid","fluid","fluid","ultra"],clipPath:["ellipse(250% 60% at 50% 40%)","ellipse(120% 60% at 50% 40%)"],marginY:"0",marginBottom:[10,null,20],centerContent:!0,"data-element":"SectionContainer","data-component":"HeroV2","data-source-file":"HeroV2.tsx"},d.createElement(a.az,{as:"section",width:"100%",backgroundRepeat:"no-repeat",overflow:"hidden",paddingBottom:[10,20,0],backgroundColor:l,"data-element":"Box","data-source-file":"HeroV2.tsx"},d.createElement(a.az,{display:"flex",flexDirection:["column","column","row"],gap:["unset","unset",10,20],maxHeight:["unset","unset","600px"],alignItems:"center","data-element":"Box","data-source-file":"HeroV2.tsx"},d.createElement(a.az,{display:"flex",flexDirection:"column",alignItems:"start",flex:"1",paddingBottom:["unset","unset",6],"data-element":"Box","data-source-file":"HeroV2.tsx"},d.createElement(a.az,{position:"relative",marginTop:F?"-60px":"-30px",width:"100%","data-element":"Box","data-source-file":"HeroV2.tsx"},d.createElement(a.az,{display:"flex",flex:"1",paddingTop:"4",paddingLeft:"4",position:"absolute",paddingBottom:15,"data-element":"Box","data-source-file":"HeroV2.tsx"},e?d.createElement(d.Fragment,null,d.createElement(n.Ay,{icon:e||"House",color:"white",size:"sm",marginRight:1,weight:"fill"}),d.createElement(a.EY,{marginRight:1,color:"white"},"·")," "):null,d.createElement(a.EY,{color:"white",role:"header-text",fontSize:["sm","sm","md"],"data-element":"Text","data-source-file":"HeroV2.tsx"},t)),d.createElement(a.az,{id:"mobile-hero-box",flex:"3",clipPath:"circle(57% at 62% 28%)",display:["flex",null,"none"],justifyContent:"flex-end","data-element":"Box","data-source-file":"HeroV2.tsx"},x?d.createElement(r.G,{image:x,alt:h||"",imgStyle:{objectFit:"contain",clipPath:"circle(57% at 62% 28%)"}}):null)),d.createElement(a.az,{display:"flex",flexDirection:"column",alignItems:"flex-start",paddingTop:["unset","unset",16,20],paddingRight:[4,4,0,0],paddingBottom:[12,12,16,20],paddingLeft:[4,4,12,20],width:"100%","data-element":"Box","data-source-file":"HeroV2.tsx"},d.createElement(a.az,{"data-element":"Box","data-source-file":"HeroV2.tsx"},d.createElement(a.DZ,{as:"h1",size:["32px","2xl"],color:"white",marginBottom:F?2:4,"data-element":"Heading","data-source-file":"HeroV2.tsx"},g),f?d.createElement(a.az,{lineHeight:2},d.createElement(p,{htmlData:f.childMarkdownRemark.html,reduceMargin:F})):null),E&&E.label?d.createElement(a.az,{marginTop:8,width:["100%",null,"fit-content"]},d.createElement(i.A,{startingText:A||"",priceText:k||"",size:"md",billFrequencyText:S||"",hideSeparator:B,buttonText:E.label,colorScheme:"greenCS",buttonIconRight:d.createElement(n.Ay,{icon:I||"ArrowDown"}),onButtonClick:e=>{T({event:e,ctaUrl:D}),s.Ay.track({event:c.r.EVENTS.CLICKED_BUTTON,data:{sectionHeader:g||t,contentfulSection:"HeroV2",ctaText:null==E?void 0:E.label}})},linkTo:D,id:"hero-join-cta"})):null,y&&d.createElement(a.EY,{color:"white",fontSize:"sm",opacity:.6,marginTop:8},y))),d.createElement(a.az,{display:["none","none","flex"],flex:"1",justifyContent:"flex-end",alignSelf:"stretch",alignItems:"center",overflow:"hidden","data-element":"Box","data-source-file":"HeroV2.tsx"},v?d.createElement(r.G,{image:v,alt:b||"",imgStyle:{height:"100%"},style:{height:"100%",clipPath:"circle(80% at 80% 50%)",minHeight:"600px"}}):null))))}}}]); 2//# sourceMappingURL=component---src-templates-mdp-tsx-282854f4-3e412caed6b809d4e708.js.map
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.