"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5022],{25022:function(l,o,i){i.d(o,{Z:function(){return g}});var d=i(85893),n=i(80822),t=i(43953),v=i(86886),u=i(69417),e=i(15861);i(67294);var a=i(22135),r=i(25675),s=i.n(r),c=i(41664),b=i.n(c),f=i(11163);function g(l){var o,i,r,c,g,h,m,p,x,C,k,B,j,N,T,Z,H,w,F,y,L,I,E,_,A,P,S,R,M,W,q,z,D,G,J,K,O,Q,U,V,X,Y,$,ll;let lo=(0,f.useRouter)(),li=(null==l?void 0:null===(o=l.data)||void 0===o?void 0:o.description)?(0,a.S)(null==l?void 0:null===(i=l.data)||void 0===i?void 0:i.description):"";return(0,d.jsx)(n.Z,{component:"section",className:"hero-content-section ".concat((null==l?void 0:l.Class)?null==l?void 0:l.Class:""," ").concat((null==l?void 0:null===(r=l.data)||void 0===r?void 0:r.imageResponsiveLayout)==="fullwidth"?"boxed-image":""," ").concat((null==l?void 0:null===(c=l.data)||void 0===c?void 0:c.buttonType)==="Image Attached Button"?"hero-button-content":"hero-content-basic"),sx:{backgroundImage:{sm:"none !important",xs:"url(".concat((null==l?void 0:null===(p=l.data)||void 0===p?void 0:null===(m=p.mobileBackgroundImage)||void 0===m?void 0:null===(h=m.fields)||void 0===h?void 0:null===(g=h.file)||void 0===g?void 0:g.url)?null==l?void 0:null===(B=l.data)||void 0===B?void 0:null===(k=B.mobileBackgroundImage)||void 0===k?void 0:null===(C=k.fields)||void 0===C?void 0:null===(x=C.file)||void 0===x?void 0:x.url:"",")")},backgroundColor:(null==l?void 0:null===(j=l.data)||void 0===j?void 0:j.backgroundColor)?null==l?void 0:null===(N=l.data)||void 0===N?void 0:N.backgroundColor:""},children:(0,d.jsx)(t.Z,{maxWidth:"xl",className:"hero-twocol-contain",children:(0,d.jsxs)(v.ZP,{container:!0,className:"grid-wrapper",children:[(0,d.jsx)(v.ZP,{item:!0,lg:6,className:(null==l?void 0:null===(T=l.data)||void 0===T?void 0:T.imagePosition)==="right"?"image-right-position":"image-left-position",children:(0,d.jsxs)(n.Z,{className:"left-side",children:[(null==l?void 0:null===(Z=l.data)||void 0===Z?void 0:Z.image)&&(0,d.jsx)(s(),{src:"https:".concat(null==l?void 0:null===(y=l.data)||void 0===y?void 0:null===(F=y.image)||void 0===F?void 0:null===(w=F.fields)||void 0===w?void 0:null===(H=w.file)||void 0===H?void 0:H.url),alt:null==l?void 0:null===(_=l.data)||void 0===_?void 0:null===(E=_.image)||void 0===E?void 0:null===(I=E.fields)||void 0===I?void 0:null===(L=I.file)||void 0===L?void 0:L.fileName,width:634,height:427,loading:"eager",className:"hero-left-image"}),(null==l?void 0:null===(A=l.data)||void 0===A?void 0:A.buttonType)==="Image Attached Button"&&(0,d.jsx)(n.Z,{className:"image-button-wrapper",children:(null==l?void 0:null===(P=l.data)||void 0===P?void 0:P.button)&&(0,d.jsx)(d.Fragment,{children:null==l?void 0:null===(R=l.data)||void 0===R?void 0:null===(S=R.button)||void 0===S?void 0:S.map((l,o)=>{var i,n,t,v,u,e,a,r,c,f;return(0,d.jsxs)(b(),{href:(null==l?void 0:null===(i=l.fields)||void 0===i?void 0:i.buttonLink)?null==l?void 0:null===(n=l.fields)||void 0===n?void 0:n.buttonLink:"#",passHref:!0,children:[null==l?void 0:null===(t=l.fields)||void 0===t?void 0:t.buttonName,(0,d.jsx)(s(),{src:"https:".concat(null==l?void 0:null===(a=l.fields)||void 0===a?void 0:null===(e=a.icon)||void 0===e?void 0:null===(u=e.fields)||void 0===u?void 0:null===(v=u.file)||void 0===v?void 0:v.url),alt:null==l?void 0:null===(f=l.fields)||void 0===f?void 0:null===(c=f.icon)||void 0===c?void 0:null===(r=c.fields)||void 0===r?void 0:r.title,width:28,height:28})]},o)})})}),(null==l?void 0:null===(M=l.data)||void 0===M?void 0:M.buttonType)==="Separate Button"&&(0,d.jsx)(n.Z,{className:"seprate-button-wrapper",sx:{display:{lg:"none"}},children:(null==l?void 0:null===(W=l.data)||void 0===W?void 0:W.button)&&(0,d.jsx)(d.Fragment,{children:null==l?void 0:null===(z=l.data)||void 0===z?void 0:null===(q=z.button)||void 0===q?void 0:q.map((l,o)=>{var i,n,t,v,e,a,r,s,c,b,f,g,h;let m=(null==l?void 0:null===(i=l.fields)||void 0===i?void 0:i.buttonLink)?null==l?void 0:null===(n=l.fields)||void 0===n?void 0:n.buttonLink:"#";return(0,d.jsx)(u.Z,{onClick:()=>lo.push(m),sx:{background:(null==l?void 0:null===(t=l.fields)||void 0===t?void 0:t.buttonBackgroundColor)?null==l?void 0:null===(v=l.fields)||void 0===v?void 0:v.buttonBackgroundColor:"#EEF7FF",color:(null==l?void 0:null===(e=l.fields)||void 0===e?void 0:e.buttonTextColor)?null==l?void 0:null===(a=l.fields)||void 0===a?void 0:a.buttonTextColor:"#005A9B",borderColor:(null==l?void 0:null===(r=l.fields)||void 0===r?void 0:r.buttonBorderColor)?null==l?void 0:null===(s=l.fields)||void 0===s?void 0:s.buttonBorderColor:"transparent","&:hover":{background:(null==l?void 0:null===(c=l.fields)||void 0===c?void 0:c.buttonBackgroundHoverColor)?null==l?void 0:null===(b=l.fields)||void 0===b?void 0:b.buttonBackgroundHoverColor:"",color:(null==l?void 0:null===(f=l.fields)||void 0===f?void 0:f.buttonTextHoverColor)?null==l?void 0:null===(g=l.fields)||void 0===g?void 0:g.buttonTextHoverColor:""}},children:null==l?void 0:null===(h=l.fields)||void 0===h?void 0:h.buttonName},o)})})})]})}),(0,d.jsx)(v.ZP,{item:!0,lg:6,className:(null==l?void 0:null===(D=l.data)||void 0===D?void 0:D.imagePosition)==="right"?"content-left-position":"content-right-position",children:(0,d.jsxs)(n.Z,{component:"div",className:"right-side",children:[(null==l?void 0:null===(G=l.data)||void 0===G?void 0:G.preTitle)&&(0,d.jsx)(e.Z,{variant:"h6",className:"pre-title",children:null==l?void 0:null===(J=l.data)||void 0===J?void 0:J.preTitle}),(null==l?void 0:null===(K=l.data)||void 0===K?void 0:K.title)&&(0,d.jsx)(e.Z,{variant:"h4",className:"title",sx:{color:(null==l?void 0:null===(O=l.data)||void 0===O?void 0:O.titleTextColor)?null==l?void 0:null===(Q=l.data)||void 0===Q?void 0:Q.titleTextColor:"#00306F"},children:null==l?void 0:null===(U=l.data)||void 0===U?void 0:U.title}),li&&(0,d.jsx)(n.Z,{className:"description",dangerouslySetInnerHTML:{__html:li},sx:{lineHeight:(null==l?void 0:null===(V=l.data)||void 0===V?void 0:V.buttonType)==="Image Attached Button"?"30px":"28px"}}),(null==l?void 0:null===(X=l.data)||void 0===X?void 0:X.buttonType)==="Separate Button"&&(0,d.jsx)(n.Z,{className:"seprate-button-wrapper",sx:{display:{lg:"block",xs:"none"},marginBottom:"20px"},children:(null==l?void 0:null===(Y=l.data)||void 0===Y?void 0:Y.button)&&(0,d.jsx)(d.Fragment,{children:null==l?void 0:null===(ll=l.data)||void 0===ll?void 0:null===($=ll.button)||void 0===$?void 0:$.map((l,o)=>{var i,n,t,v,e,a,r,s,c,b,f,g,h;let m=(null==l?void 0:null===(i=l.fields)||void 0===i?void 0:i.buttonLink)?null==l?void 0:null===(n=l.fields)||void 0===n?void 0:n.buttonLink:"#";return(0,d.jsx)(u.Z,{onClick:()=>lo.push(m),sx:{background:(null==l?void 0:null===(t=l.fields)||void 0===t?void 0:t.buttonBackgroundColor)?null==l?void 0:null===(v=l.fields)||void 0===v?void 0:v.buttonBackgroundColor:"#EEF7FF",color:(null==l?void 0:null===(e=l.fields)||void 0===e?void 0:e.buttonTextColor)?null==l?void 0:null===(a=l.fields)||void 0===a?void 0:a.buttonTextColor:"#005A9B",borderColor:(null==l?void 0:null===(r=l.fields)||void 0===r?void 0:r.buttonBorderColor)?null==l?void 0:null===(s=l.fields)||void 0===s?void 0:s.buttonBorderColor:"transparent","&:hover":{background:(null==l?void 0:null===(c=l.fields)||void 0===c?void 0:c.buttonBackgroundHoverColor)?null==l?void 0:null===(b=l.fields)||void 0===b?void 0:b.buttonBackgroundHoverColor:"",color:(null==l?void 0:null===(f=l.fields)||void 0===f?void 0:f.buttonTextHoverColor)?null==l?void 0:null===(g=l.fields)||void 0===g?void 0:g.buttonTextHoverColor:""}},children:null==l?void 0:null===(h=l.fields)||void 0===h?void 0:h.buttonName},o)})})})]})})]})})})}}}]);