1!function(){try{var e="u">typeof window?window:"u">typeof global?global:"u">typeof globalThis?globalThis:"u">typeof self?self:{},t=(new e.Error).stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="25ef2499-b81b-46f3-920c-c51642c7d949",e._sentryDebugIdIdentifier="sentry-dbid-25ef2499-b81b-46f3-920c-c51642c7d949")}catch(e){}}();"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[15412],{13434:(e,t,a)=>{a.d(t,{JU:()=>g,V6:()=>d,yt:()=>f,z6:()=>u});var n,r,i=a(63857),o=a(60180),s=a.n(o),c=a(12436),l="/admin/api/unsplash",u=(n=(0,i.A)(s().mark(function e(){var t,a,n,r,i=arguments;return s().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return t=i.length>0&&void 0!==i[0]?i[0]:"community",a=i.length>1&&void 0!==i[1]?i[1]:{pageNumber:1,numberOfImages:25,orientation:"landscape"},e.prev=2,e.next=5,fetch("".concat(l,"/search"),{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({query:t,pageNumber:a.pageNumber,numberOfImages:a.numberOfImages,orientation:a.orientation})});case 5:if((n=e.sent).ok){e.next=8;break}throw Error("Failed to search photos");case 8:return e.next=10,n.json();case 10:return r=e.sent,e.abrupt("return",r.results||[]);case 14:return e.prev=14,e.t0=e.catch(2),console.error("Error loading images:",e.t0),e.abrupt("return",[]);case 18:case"end":return e.stop()}},e,null,[[2,14]])})),function(){return n.apply(this,arguments)}),d=(r=(0,i.A)(s().mark(function e(t,a){var n,r,i,o;return s().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,fetch("".concat(l,"/upload"),{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({imageUrl:t,photoId:a})});case 3:if((n=e.sent).ok){e.next=17;break}return r="Failed to upload image",e.prev=6,e.next=9,n.json();case 9:r=(i=e.sent).details||i.error||r,e.next=16;break;case 13:e.prev=13,e.t0=e.catch(6),r=n.statusText||r;case 16:throw Error(r);case 17:return e.next=19,n.json();case 19:return o=e.sent,e.abrupt("return",o.awsImageUrl);case 23:throw e.prev=23,e.t1=e.catch(0),console.error("Error uploading image:",e.t1),e.t1;case 27:case"end":return e.stop()}},e,null,[[0,23],[6,13]])})),function(e,t){return r.apply(this,arguments)}),m=function(e){var t=g(e);t&&"-undefined"!==t&&fetch("".concat(l,"/track-view?photoId=").concat(encodeURIComponent(t)),{method:"GET"}).catch(function(e){console.error("Error tracking view:",e)})},f=function(e,t,a){if(null!=e&&e.includes("/static/images/")){var n=e.match(/\/(\d+)-/);if(null!=n&&n[1])return"/static/assets/images/home-page-placeholder-images/".concat(n[1],".jpg")}var r=null==e?void 0:e.match(/\/(?:static\/media|_next\/static\/media)\/(\d+)\.[a-zA-Z0-9_-]+\.\w+/);if(null!=r&&r[1])return"/static/assets/images/home-page-placeholder-images/".concat(r[1],".jpg");if(!e)return"";if(e.startsWith("/static/assets/")||e.startsWith("/static/media/"))return e.split("?")[0];if(e.indexOf(".gif")>-1)return e;var i=(0,c.G)(e,t,a);return -1===e.indexOf("unsplash-")||m(e),i},g=function(e){var t="";try{var a=e&&e.split("unsplash-")[1];if(!a)return"";if(!(t=a.split("-")[0])){var n=a.split("-")[1];if(!n)return"";t="-".concat(n)}}catch(e){t=""}return t}},16757:(e,t,a)=>{a.r(t),a.d(t,{default:()=>h});var n=a(31777);a(14232);var r=a(98991),i=a(43123),o=a(39822),s=a(6709),c=a(13434),l=a(18847),u=a.n(l),d=a(37876),m=u()(function(){return a.e(65333).then(a.bind(a,45397))},{loadableGenerated:{webpack:function(){return[45397]}}}),f=u()(function(){return a.e(89769).then(a.bind(a,20257))},{loadableGenerated:{webpack:function(){return[20257]}}}),g=u()(function(){return a.e(61129).then(a.bind(a,53857))},{loadableGenerated:{webpack:function(){return[53857]}}});let h=(0,n.Ng)(function(e,t){return{data:e.homePageRevision.revision.sections[t.sectionId].data[0],theme:e.homePageRevision.revision.sections[t.sectionId].theme,meta:e.homePageRevision.revision.sections[t.sectionId].meta,brandColor:e.theme.theme.brandColor}})(function(e){var t=e.data,a=e.theme,n=e.meta,l=e.brandColor,u=a.minHeight;if(t.fullHeight)return(0,d.jsx)(r._,{w:"full",src:(0,c.yt)(t.image,n.imageSize||1e3,2500),alt:t.altText?t.altText:"",className:"ehq--mb-2"});var h=function(e){return t.title||t.description||t.ctaText?"image"===e?["100%","100%","100%","70%"]:["100%","100%","100%","30%"]:["100%","100%","100%","100%"]};return(0,d.jsxs)(i.s,{flexWrap:"wrap",flexDirection:{base:"column",lg:"row"},children:[(0,d.jsx)(o.a,{alignItems:"center",bg:a.backgroundColor,display:"flex",flexDirection:"column",justifyContent:"center",order:{base:2,sm:2,md:2,lg:1},p:{base:4,sm:4,md:4,lg:8},textAlign:"center",w:h("text"),children:(0,d.jsxs)(s.B,{gap:4,w:"full",children:[(0,d.jsx)(o.a,{children:(0,d.jsx)(m,{theme:a,data:t})}),(0,d.jsx)(o.a,{children:(0,d.jsx)(f,{theme:a,data:t,brandColor:l})}),(0,d.jsx)(o.a,{children:(0,d.jsx)(g,{theme:a,data:t})})]})}),(0,d.jsx)(o.a,{backgroundImage:"url(".concat((0,c.yt)(t.image,n.imageSize||1e3,2500),")"),backgroundPosition:"".concat(t.imgFocalX,"% ").concat(t.imgFocalY,"%"),backgroundRepeat:"no-repeat",backgroundSize:"cover",minHeight:u,order:{base:1,sm:1,md:1,lg:2},p:16,w:h("image"),role:"img","aria-label":t.altText?t.altText:""})]})})},25519:(e,t,a)=>{a.r(t),a.d(t,{default:()=>h});var n=a(31777);a(14232);var r=a(98991),i=a(43123),o=a(39822),s=a(6709),c=a(13434),l=a(18847),u=a.n(l),d=a(37876),m=u()(function(){return a.e(65333).then(a.bind(a,90871))},{loadableGenerated:{webpack:function(){return[90871]}}}),f=u()(function(){return a.e(89769).then(a.bind(a,28087))},{loadableGenerated:{webpack:function(){return[28087]}}}),g=u()(function(){return a.e(61129).then(a.bind(a,22039))},{loadableGenerated:{webpack:function(){return[22039]}}});let h=(0,n.Ng)(function(e,t){return{data:e.hubPageRevision.revision.sections[t.sectionId].data[0],theme:e.hubPageRevision.revision.sections[t.sectionId].theme,meta:e.hubPageRevision.revision.sections[t.sectionId].meta,dataTestId:"participant-hubs-view-banner-section-layout-five",brandColor:e.theme.theme.brandColor}})(function(e){var t=e.data,a=e.theme,n=e.meta,l=e.dataTestId,u=e.brandColor,h=a.minHeight;if(t.fullHeight)return(0,d.jsx)(r._,{w:"full",src:(0,c.yt)(t.image,n.imageSize||1e3,2500),alt:t.altText?t.altText:""});var p=function(e){return t.title||t.description||t.ctaText?"image"===e?["100%","100%","100%","70%"]:["100%","100%","100%","30%"]:["100%","100%","100%","100%"]};return(0,d.jsxs)(i.s,{flexWrap:"wrap",flexDirection:{base:"column",lg:"row"},children:[(0,d.jsx)(o.a,{alignItems:"center",bg:a.backgroundColor,display:"flex",flexDirection:"column",justifyContent:"center",order:{base:2,sm:2,md:2,lg:1},p:{base:4,sm:4,md:4,lg:8},textAlign:"center",w:p("text"),"data-testid":l,children:(0,d.jsxs)(s.B,{gap:4,w:"full",children:[(0,d.jsx)(o.a,{children:(0,d.jsx)(m,{theme:a,data:t})}),(0,d.jsx)(o.a,{children:(0,d.jsx)(f,{theme:a,data:t,brandColor:u})}),(0,d.jsx)(o.a,{children:(0,d.jsx)(g,{theme:a,data:t})})]})}),(0,d.jsx)(o.a,{backgroundImage:"url(".concat((0,c.yt)(t.image,n.imageSize||1e3,2500),")"),backgroundPosition:"".concat(t.imgFocalX,"% ").concat(t.imgFocalY,"%"),backgroundRepeat:"no-repeat",backgroundSize:"cover",minHeight:h,order:{base:1,sm:1,md:1,lg:2},p:16,w:p("image"),role:"img","aria-label":t.altText?t.altText:""})]})})},43123:(e,t,a)=>{a.d(t,{s:()=>o});var n=a(37876),r=a(14232),i=a(57539);let o=(0,r.forwardRef)(function(e,t){let{direction:a,align:r,justify:o,wrap:s,basis:c,grow:l,shrink:u,inline:d,...m}=e;return(0,n.jsx)(i.B.div,{ref:t,...m,css:{display:d?"inline-flex":"flex",flexDirection:a,alignItems:r,justifyContent:o,flexWrap:s,flexBasis:c,flexGrow:l,flexShrink:u,...e.css}})});o.displayName="Flex"},98991:(e,t,a)=>{a.d(t,{_:()=>s});var n=a(37876),r=a(14232),i=a(57539),o=a(32850);let s=(0,r.forwardRef)(function(e,t){let{align:a,fit:r="cover",...s}=e;return(0,n.jsx)(i.B.img,{ref:t,objectFit:r,objectPosition:a,className:(0,o.cx
1)("chakra-image",e.className),...s})});s.displayName="Image"}}]); 2//# sourceMappingURL=BannerSectionLayout0.1aa2401b3b1f0472.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.