text: (window.webpackJsonp=window.webpackJsonp||[]).push([[15],{MrLC:function(e,t,a){},r7GO:function(e,t,a){"use strict";a.r(t);var l=a("q1tI"),n=a.n(l),i=a("7oih"),o=a("v/A3"),r=a("wZsY"),s=a("v7Hm"),c=a("tofy"),g=a("rGDf"),m=a("MAJE"),d=a("3L07"),b=a("TVP8"),p=a("Wbzz"),h=a("7Qib"),x=function(e){var t,a,l,i,x=e.backgroundImages,u=null!==(t=e.heroInnerImage)&&void 0!==t&&t,f=e.colorOverlay,v=e.colorOverlayPercentage,w=e.colorOverlayValue+v,E=e.h1Heading,y=e.heading,O=e.subtext,k=null!==(a=e.buttons)&&void 0!==a&&a,j=e.sectionHeight,S=k?k[0].buttonLink:"",_=k?null===(l=k[1])||void 0===l?void 0:l.buttonLink:"",H=!!k&&Object(h.isInternal)(S),I=!!k&&Object(h.isInternal)(_),z=x,C=(Object(o.a)({base:"3xl",md:"5xl",lg:"7xl"}),Object(o.a)({base:"3xl",md:"3xl",lg:"6xl"})),L=Object(o.a)({base:"3xl",md:"2xl",lg:"4xl"}),T=Object(o.a)({base:"l",md:"xl",lg:"xl"}),A=e.direction;return n.a.createElement(r.a,{w:"full",position:"relative",overflow:"hidden",h:["auto","auto",j,j],flexDirection:["column","column","row","row"],alignItems:"flex-end",justifyContent:A},z&&n.a.createElement(s.a,{minHeight:j,minWidth:"100vw",position:"absolute",top:"0",left:"0",zIndex:"-2"},n.a.createElement(b.a,{style:{minHeight:j,objectFit:"contain",overflow:"visible",position:"relative"},imgStyle:{minHeight:j},loading:"eager",className:"hero-bg",image:Object(b.i)(x[0].image.localFile),alt:y})),n.a.createElement(r.b,{w:"full",height:"100%",position:"absolute",zIndex:"-1",bgGradient:f?"linear(to-b, "+w+" , transparent)":"linear(to-b, transparent , transparent)",bgColor:f?w:"white"}),n.a.createElement(c.a,{justify:"center",width:["100%","100%","100%","100%"],pt:["35vh","12vh","0","0%"],pb:["20vh","8vh","0","0%"],height:"100%",alignItems:"center",order:"flex-start"==A?["1","1","2","2"]:1},null!==(i=u.hasImage)&&void 0!==i?i:n.a.createElement(b.a,{style:{height:"auto",width:"50%",overflow:"visible",position:"relative"},loading:"eager",image:Object(b.i)(u.localFile),alt:y})),n.a.createElement(r.b,{width:"100%",maxW:["100vw","100vw","50vw","50vw"],maxH:"100%",justify:"center",px:["2","2","2","0"],rounded:"md",borderBottomRadius:"0",bgColor:["white","white","white","white"],mx:["0px !important","0px !important","0px !important","32px !important"],boxShadow:"xl",order:"flex-start"==A?1:2},n.a.createElement(r.a,{py:[12,12,16,16],position:"relative",align:"flex-start",spacing:4},n.a.createElement(s.a,{width:"100%",minH:"100%",bgColor:"#ffffff50",zIndex:"-1",rounded:"md",left:"flex-end"===A?["-10%","-15%","-9%","-9.5%"]:"auto",right:"flex-start"===A?["-10%","-15%","-9%","-9.5%"]:"auto",top:["-8%","-10%","-16%","-16%"],position:"absolute"}),n.a.createElement(g.a,{px:"12",pb:"4",mt:"0px !important",as:E?"h1":"h2",color:z?"#2f2f2f":"white",fontWeight:900,lineHeight:1.2,textAlign:"left",fontSize:E?C:L},y),O&&n.a.createElement(m.a,{px:"12",pb:"6",mt:"0px !important",as:"h3",color:z?"#2f2f2f":"white",fontWeight:500,lineHeight:1.3,textAlign:"left",fontSize:T,dangerouslySetInnerHTML:{__html:O}}),k[0]&&n.a.createElement(r.a,{px:"12",alignItems:"flex-start",width:"100%",spacing:8,direction:"row"},n.a.createElement(d.a,{as:H?p.Link:"a",to:S,href:S,target:H?"_self":"_blank",bg:"#e55424",rounded:"xl",color:"white",size:"lg",_hover:{bg:"gray.900"}},k[0].buttonLabel),k[1]&&n.a.createElement(d.a,{as:I?p.Link:"a",to:_,href:_,target:I?"_self":"_blank",rounded:"xl",variant:"outline",colorScheme:"orange",size:"lg",_hover:{bg:"gray.900",color:"white",border:"1px solid"}},k[1].buttonLabel)))))},u=function(e){var t,a,l=e.backgroundImages,i=e.colorOverlay,x=e.colorOverlayPercentage,u=e.colorOverlayValue+x,f=e.h1Heading,v=e.heading,w=e.subtext,E=null!==(t=e.buttons)&&void 0!==t&&t,y=e.sectionHeight,O=E?E[0].buttonLink:"",k=E?null===(a=E[1])||void 0===a?void 0:a.buttonLink:"",j=!!E&&Object(h.isInternal)(O),S=!!E&&Object(h.isInternal)(k),_=l,H=Object(o.a)({base:"3xl",md:"5xl",lg:"7xl"}),I=Object(o.a)({base:"2xl",md:"4xl",lg:"6xl"}),z=Object(o.a)({base:"xl",md:"2xl"});return n.a.createElement(c.a,{w:"full",position:"relative",overflow:"hidden",h:y},_&&n.a.createElement(s.a,{minHeight:"100vh",minWidth:"100vw",position:"absolute",top:"0",left:"0",zIndex:"-1"},n.a.createElement(b.a,{style:{minHeight:y,overflow:"visible",position:"relative"},imgStyle:{minHeight:y},loading:"eager",className:"hero-bg",image:Object(b.i)(l[0].image.localFile),alt:v})),n.a.createElement(r.b,{w:"full",justify:"center",px:["12","12","12","0"],bgGradient:i?"linear(to-t, "+u+" , transparent)":"linear(to-t, transparent , transparent)",bgColor:i?u:"white"},n.a.createElement(r.a,{maxW:"6xl",align:"center",px:["12","12","12","0"],spacing:4},n.a.createElement(g.a,{as:f?"h1":"h2",color:_?"white":"#1a1a1a",fontWeight:700,lineHeight:1.2,textAlign:"center",fontSize:f?H:I},v),n.a.createElement(m.a,{as:"h3",color:_?"white":"#1a1a1a",fontWeight:700,lineHeight:1.2,textAlign:"center",fontSize:z},w),E&&n.a.createElement(r.a,{pt:10,spacing:8,direction:"row"},n.a.createElement(d.a,{as:j?p.Link:"a",to:O,href:O,target:j?"_self":"_blank",bg:"#e55424",rounded:"xl",color:"white",size:"lg",_hover:{bg:"gray.900"}},E[0].buttonLabel),E[1]&&n.a.createElement(d.a,{as:S?p.Link:"a",to:k,href:k,target:S?"_self":"_blank",rounded:"xl",variant:"outline",color:_?"white":"#1a1a1a",bg:_?"":"white",size:"lg",_hover:{background:"whiteAlpha.300"}},E[1].buttonLabel)))))},f=a("uop8"),v=(a("tyWD"),a("K7k0"),a("OS56")),w=a.n(v),E=(a("MrLC"),function(e){var t=e.className,a=e.style,l=e.onClick;return n.a.createElement(s.a,{_before:{color:"gray.800"},className:t,style:Object.assign({},a,{display:"block"}),onClick:l})}),y=function(e){var t=e.imageSection,a=e.sectionTitle,l=e.sectionSubtext,i=e.numberOfItemsToShow,x=e.sliderType,u="padded"==x||"paddedCentered"==x,f="paddedCentered"==x||"nonPaddedCentered"==x,v={dots:!0,infinite:!1,speed:500,slidesToShow:i,slidesToScroll:i,initialSlide:0,swipeToSlide:!0,nextArrow:n.a.createElement(E,null),prevArrow:n.a.createElement(E,null),slide:n.a.createElement(c.a,null),responsive:[{breakpoint:1024,settings:{slidesToShow:3,slidesToScroll:3,infinite:!0,dots:!0}},{breakpoint:768,settings:{slidesToShow:2,slidesToScroll:2,initialSlide:2}},{breakpoint:480,settings:{slidesToShow:1,slidesToScroll:1}}]},y=(Object(o.a)({base:"3xl",md:"5xl",lg:"7xl"}),Object(o.a)({base:"3xl",md:"3xl",lg:"6xl"}),Object(o.a)({base:"3xl",md:"2xl",lg:"4xl"})),O=Object(o.a)({base:"xl",md:"l",lg:"l"}),k=Object(o.a)({base:"l",md:"l",lg:"14px"});return n.a.createElement(r.a,{px:"40px",py:[12,12,16,16],bgColor:"gray.50",textAlign:"center",color:"gray.800"},n.a.createElement(g.a,{as:"h2",color:"gray.800",fontWeight:900,lineHeight:1.2,px:"12",pb:"4",mt:"0px !important",textAlign:["left,","left","center","center"],fontSize:y},a),n.a.createElement(m.a,{px:"12",pb:"10",mt:"0px !important",as:"h3",color:"gray.800",fontWeight:500,lineHeight:1.2,textAlign:["left,","left","center","center"],fontSize:y},l),n.a.createElement(w.a,v,null==t?void 0:t.map((function(e,t){var a=e.link,l=Object(h.isInternal)(a);return n.a.createElement(r.b,{className:"test",key:t,p:"3",height:"100%"},n.a.createElement(s.a,{boxShadow:"xl",rounded:"md",bg:"white",mx:1,pb:16,my:-10,h:"100%"},n.a.createElement(b.a,{imgStyle:{padding:u?"12px":"0px",marginTop:"16%",top:"0"},className:"image",loading:"lazy",image:Object(b.i)(e.image.localFile),alt:e.image.altText}),n.a.createElement(s.a,{px:6,pt:6,height:"auto !important",textAlign:"left"},n.a.createElement(g.a,{as:"h4",mb:"2",textAlign:f?"center":"left",fontSize:O},e.title),n.a.createElement(m.a,{mb:"6",pb:"2",fontSize:k,textAlign:f?"center":"left"},e.subtext),a&&n.a.createElement(d.a,{as:l?p.Link:"a",to:a,href:a,target:l?"_self":"_blank",bg:"#e55424",rounded:"xl",color:"white",size:"lg",_hover:{bg:"gray.800"}},e.buttonLabel))))}))))};t.default=function(e){var t,a=e.data;console.log(a);var l=null===(t=a.wpPage.pageComponents)||void 0===t?void 0:t.pageComponents;return n.a.createElement(i.a,null,n.a.createElement(f.b,{post:a.wpPage}),n.a.createElement("div",null,null==l?void 0:l.map((function(e,t){var l=e.__typename;console.log(e);var i=a.wpPage.id+l+t;switch(l){case"WpPage_Pagecomponents_PageComponents_HeroComponent":return"full"===e.heroType?n.a.createElement(u,Object.assign({key:l+t},e)):n.a.createElement(x,Object.assign({key:i},e));case"WpPage_Pagecomponents_PageComponents_ImageGrid":return n.a.createElement(y,Object.assign({key:l+t},e));default:return n.a.createElement("div",null," No Component defined in gatsby ")}}))))}}}]);
  //# sourceMappingURL=component---src-templates-page-js-9c329e84319da5bc5fbf.js.map