"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8058],{38058:function(i,e,t){t.r(e),t.d(e,{default:function(){return I}});var n=t(74129),o=t(45197),r=t(47578),a=t(19521),d=a.ZP.div.withConfig({displayName:"Container",componentId:"sc-w6f0pb-0"})(["position:relative;display:flex;height:448px;background-color:",";align-items:flex-start;justify-content:center;margin-bottom:",";@media (max-width:767px){flex-direction:column;height:auto;}"],function(i){return i.bgColor||i.theme.greyLight},function(i){return"Curved Bottom"===i.curveShown?"50px":"0px"}),l=a.ZP.div.withConfig({displayName:"WrapperLeft",componentId:"sc-w6f0pb-1"})(["display:flex;flex-direction:column;align-items:center;width:50%;@media only screen and (max-width:","){padding-left:20px;padding-right:20px;}@media (max-width:767px){padding-bottom:40px;width:100%;}"],function(i){return i.theme.desktop930}),c=a.ZP.div.withConfig({displayName:"InnerContainer",componentId:"sc-w6f0pb-2"})(["display:flex;flex-direction:column;max-width:610px;@media only screen and (min-width:","){padding-left:2.4rem;}@media only screen and (max-width:","){width:100%;align-items:center;}@media (max-width:767px){text-align:center;margin-bottom:0;}"],function(i){return i.theme.desktop930},function(i){return i.theme.desktop930}),h=a.ZP.h1.withConfig({displayName:"Heading",componentId:"sc-w6f0pb-3"})(["font-size:40px;line-height:4.3rem;color:",";font-weight:600;margin-bottom:6px;margin-top:60px;width:370px;"],function(i){return i.headingColor||i.theme.black}),p=a.ZP.div.withConfig({displayName:"SubText",componentId:"sc-w6f0pb-4"})(["margin-bottom:22px;& > p{font-size:16px;white-space:pre-wrap;color:",";}"],function(i){return i.textColor||i.theme.black}),s=a.ZP.div.withConfig({displayName:"ButtonWrapper",componentId:"sc-w6f0pb-5"})(["width:100%;margin-bottom:12px;@media (max-width:767px){width:auto;}"]),m=a.ZP.div.withConfig({displayName:"CTALink",componentId:"sc-w6f0pb-6"})(["width:100%;display:flex;gap:2px;align-items:center;a{font-size:16px;margin-bottom:23px;white-space:pre-wrap;color:",";}@media (max-width:767px){width:auto;}"],function(i){return i.theme.colors.blue});a.ZP.img.withConfig({displayName:"LinkArrow",componentId:"sc-w6f0pb-7"})(["width:20px;height:17px;fill:red;"]);var g=a.ZP.div.withConfig({displayName:"WrapperRight",componentId:"sc-w6f0pb-8"})(["width:50%;background:",";@media (max-width:767px){width:100%;height:393px;}@media only screen and (max-width:","){width:100%;height:330px;}"],function(i){return i.rightSideBackgroundColor||""},function(i){return i.theme.phone590}),x=a.ZP.div.withConfig({displayName:"RightSectionWrapper",componentId:"sc-w6f0pb-9"})(["position:relative;width:100%;height:448px;overflow:hidden;display:flex;justify-content:",";align-items:center;@media (max-width:767px){height:350px;}@media only screen and (max-width:","){height:330px;}"],function(i){return i.imageLocation},function(i){return i.theme.phone590}),f=a.ZP.div.withConfig({displayName:"RightSectionChildren",componentId:"sc-w6f0pb-10"})(["position:relative;z-index:1;"]),u=a.ZP.div.withConfig({displayName:"RightImageWrapper",componentId:"sc-w6f0pb-11"})(["width:350px;@media (max-width:","){width:300px;}@media only screen and (max-width:","){width:250px;padding-bottom:50px;}"],function(i){return i.theme.tablet},function(i){return i.theme.phone590}),w=a.ZP.img.withConfig({displayName:"RightImage",componentId:"sc-w6f0pb-12"})(["min-width:100%;max-width:100%;min-height:100%;max-height:100%;object-fit:contain;"]),b=a.ZP.div.withConfig({displayName:"SemiCircle",componentId:"sc-w6f0pb-13"})(["display:",";position:absolute;min-height:60px;bottom:-1px;width:100%;object-fit:cover;background-size:cover;background-position:50% 0%;background-image:url(",");"],function(i){return"Curved Bottom"===i.curveShown?"flex":"none"},"/assets/_next/static/a023f8ccc6d40986cc7da17521d20570.svg");t(67294);var v=t(25675),C=t.n(v),y=t(85893),j=function(i){var e=i.children,t=i.imageLocation,n=i.bgImage,o=i["aria-label"],r=i.role,a=n&&n.length>0,d=a&&n.startsWith("//")?"https:".concat(n):n;return(0,y.jsxs)(x,{imageLocation:t,"aria-label":o,role:r,children:[a&&(0,y.jsx)(C(),{src:d,alt:o||"",fill:!0,sizes:"(max-width: 767px) 100vw, 50vw",style:{objectFit:"cover",objectPosition:"center"},priority:!0}),(0,y.jsx)(f,{children:e})]})};function k(i){return i.color,(0,y.jsxs)("svg",{width:"15px",height:"16px",viewBox:"0 0 15 17",version:"1.1",xmlns:"http://www.w3.org/2000/svg",children:[(0,y.jsx)("title",{children:"icon/general/arrow-forward"}),(0,y.jsx)("g",{id:"HomePage-Hero-for-dev-06.16",stroke:"none",strokeWidth:"1",fill:"none",fillRule:"evenodd",children:(0,y.jsx)("g",{id:"icon/general/arrow-forward",transform:"translate(0.833333, 0.833333)",fill:"#0277bd",children:(0,y.jsx)("polygon",{id:"Path",points:"6.66666667 0 5.49166667 1.35125 10.1416667 6.70833333 0 6.70833333 0 8.625 10.1416667 8.625 5.49166667 13.9820833 6.66666667 15.3333333 13.3333333 7.66666667"})})})]})}var I=function(i){var e,t,a,x,f=i.entry.fields,v=f.backgroundImage,C=f.ctaButton,I=f.ctaLink,P=f.heading,N=f.subText,Z=f.leftSideBackgroundColor,S=f.linkTextColor,B=f.subTextColor,L=f.headingTextColor,T=f.arrowColor,W=f.rightSideBackgroundColor,z=f.toggleDisplay,R=f.rightImage,_=f.rightImageLocation,H=f.imagePath,A=(0,n.h)(N,r.dN),E=null!==(e=null==v||null===(t=v.fields)||void 0===t||null===(t=t.file)||void 0===t?void 0:t.url)&&void 0!==e?e:"",D=null!==(a=null==R||null===(x=R.fields)||void 0===x||null===(x=x.file)||void 0===x?void 0:x.url)&&void 0!==a?a:"",F=(0,n.h)(I,r.dN);return(0,y.jsxs)(d,{bgColor:Z,curveShown:z,children:[(0,y.jsx)(l,{children:(0,y.jsxs)(c,{children:[(0,y.jsx)(h,{headingColor:L,children:P}),(0,y.jsx)(p,{textColor:B,children:A}),(null==C?void 0:C.fields)&&(0,y.jsx)(s,{children:(0,y.jsx)(o.default,{fields:C.fields,contentTypeId:"ctaButton"})}),(0,y.jsxs)(m,{linkColor:S,children:[F,(0,y.jsx)(k,{color:T})]})]})}),(0,y.jsx)(g,{rightSideBackgroundColor:W,children:(0,y.jsx)(j,{imageLocation:_,bgImage:H?"/assetshttps://www.cbtnuggets.com/images/contentful/".concat(H):E,"aria-label":"Person on couch with headphones watching video with tablet computer",role:"img",children:(0,y.jsxs)(u,{children:[" ",D&&(0,y.jsx)(w,{src:D,alt:"img"})," "]})})}),(0,y.jsx)(b,{curveShown:z})]})}}}]);