1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9135],{30106:function(e,t,r){(window.__NEXT_P=window.__NEXT_P||[]).push(["/[site]/templates/pressOffice/[id]",function(){return r(32810)}])},33401:function(e,t,r){"use strict";r.d(t,{Z:function(){return g}});var l=r(52903),n=r(28809),i=r(36316),o=r(82057),a=r(5632),s=r(92603),c=r(5947);let d={name:"ChevronLeft",color:"greydark",size:"24px"},u=(0,s.Z)(c.x,{target:"e197wqh50"})(e=>{let{theme:{colors:t}}=e;return{cursor:"pointer",width:"max-content",marginTop:"2rem",marginBottom:"2rem","&:hover p":{color:t.greydark}}}),f=(0,s.Z)(c.x,{target:"e197wqh51"})({cursor:"pointer",textDecoration:"underline"});var p=r(40411),h=r(34250),m=r(26580),g=e=>{let{href:t,children:r,isBack:s=!1}=e,c=(0,a.useRouter)(),g=(0,p.b)(),{t:v}=(0,m.$G)("common"),y=null!=r?r:v("common:actions.back");return(0,l.tZ)(u,{tabIndex:0,children:(0,l.BX)(n.kC,{py:"none",alignItems:"center",onClick:()=>{if(s){c.back();return}if(!t)return;let e=t.startsWith("/")?(0,h.F$)(t,g.locale,g.defaultLocale):t;c.push(e)},children:[(0,l.tZ)(i.Z,{...d}),(0,l.tZ)(f,{children:(0,l.tZ)(o.xv,{my:"small",children:y})})]})})}},32810:function(e,t,r){"use strict";r.r(t),r.d(t,{__N_SSP:function(){return A},default:function(){return D}});var l=r(52903),n=r(68864),i=r(98454),o=r(20971),a=r(28898),s=r(28809),c=r(50917),d=r(9863),u=r(24482),f=r(52818),p=r(91944),h=r(52066),m=r(60243),g=r(82057),v=r(92603),y=r(5947),k=r(29015);let Z=(0,v.Z)((0,k.r)(y.x),{target:"e1vtgi3f0"})({textDecoration:"underline"}),w=(0,v.Z)(y.x,{target:"e1vtgi3f1"})(e=>{let{theme:{colors:t}}=e;return{border:"1px solid",borderColor:t.greylight}});var b=r(33401),C=r(26580),_=r(22208),x=r(62148);let O=e=>{let{hero:t,pressRelease:r,pressOfficeBasePath:p}=e,{sponsorId:v,sponsorName:y,sponsorLogoUrl:k,summary:_,title:x}=r||{},{t:O}=(0,C.$G)(["common","pressOffice"]);(0,h.p2)();let A={...t,title:x},D=r.assets.filter(e=>"Image"===e.assetTypeDescription&&!!e.publicUrl),N={"Media Kit":null,Document:null,Video:null,"Additional Marketing Collateral":null};for(let e of r.assets)Object.prototype.hasOwnProperty.call(N,e.assetDescription)&&(N[e.assetDescription]=e.publicUrl);return(0,l.BX)(l.HY,{children:[t&&(0,l.tZ)(m.Z,{...A}),(0,l.tZ)(a.W2,{children:(0,l.BX)(a.rj,{children:[(0,l.BX)(a.sg,{width:[12,null,4],children:[(0,l.tZ)(b.Z,{href:"/".concat(p),children:O("common:actions.back")}),(0,l.tZ)(f.Z,{space:"xlarge"}),v&&y&&(0,l.tZ)(Z,{my:"none",href:"/".concat(p,"/sponsor/").concat(r.sponsorNameSlug),children:k&&(0,l.tZ)(w,{children:(0,l.tZ)(d.Z,{alt:y,image:{src:k}})})})]}),(0,l.BX)(a.sg,{width:[12,null,10],children:[_&&(0,l.tZ)(g.xv,{my:"xlarge",children:_}),(0,l.BX)(s.l4,{my:"xxlarge",gap:"large",flexWrap:"wrap",children:[N.Document&&(0,l.tZ)(i.Z,{icon:{name:"Download",position:"end"},variant:"primary",href:N.Document,onClick:()=>n.BY.btnClick({label:O("pressOffice:release.pressReleaseHere")}),children:O("pressOffice:release.pressReleaseHere")}),N["Media Kit"]&&(0,l.tZ)(i.Z,{href:N["Media Kit"],variant:"secondary",onClick:()=>n.BY.btnClick({label:O("pressOffice:release.mediaKit")}),children:O("pressOffice:release.mediaKit")})]})]})]})}),(0,l.tZ)(c.Z,{my:"xxlarge",children:D.map(e=>(0,l.tZ)(o.Z,{icon:{name:"Download",position:"end"},image:{src:e.thumbUrl},title:e.assetDescription,cta:{label:O("common:actions.download"),href:e.publicUrl,onClick:()=>n.BY.imageClick({label:O("pressOffice:release.downloadImage",{assetDescription:e.assetDescription}),imgTitle:e.assetDescription,imgSrc:e.publicUrl})}},e.idenT_ID))}),(0,l.BX)(c.Z,{my:"xxlarge",children:[N.Video&&(0,l.tZ)(u.Z,{onClick:()=>n.BY.btnClick({label:O("pressOffice:release.viewVideo")}),hasArrow:!0,href:N.Video,target:"_blank",title:{copy:O("pressOffice:release.viewVideo"),lines:2},variant:"tertiary"}),N["Additional Marketing Collateral"]&&(0,l.tZ)(u.Z,{onClick:()=>n.BY.btnClick({label:O("pressOffice:release.additionalCollateral")}),hasArrow:!0,href:N["Additional Marketing Collateral"],target:"_blank",title:{copy:O("pressOffice:release.additionalCollateral"),lines:2},variant:"tertiary"}),(0,l.tZ)(u.Z,{onClick:()=>n.BY.btnClick({label:"View other ".concat(y," press releases")}),hasArrow:!0,href:"/".concat(p,"/sponsor/").concat(r.sponsorNameSlug),title:{copy:O("pressOffice:release.viewOtherReleases",{sponsorName:y}),lines:3},variant:"tertiary"})]})]})};O.getServerSideProps=async e=>{var t,r,l,i,o,a;let s;
1let{config:c,auth0:d,req:u,res:f,locale:h,site:m,params:g}=(0,_.z)(e),v=Array.isArray(g.id)?g.id[0]:g.id,y=Number(null==v?void 0:v.split("-")[0]),{theme:k,services:Z,siteSettings:w,pressOffice:{pressOfficeBasePath:b}}=c,C=await (null==d?void 0:d.getSession(u)),O={jobTitle:null,companyName:null,userId:null};if(C)try{let e=await (0,x.lJ)(d,u,f);if(null==e?void 0:e.token){let t=(0,n.ko)(m,"getProxyApi",{optional:!0});if(t)try{let r=t(e.token,void 0,void 0,h.language),{JobTitle:l,CompanyName:n,UserId:i}=await r.get("/User/UserAccount/Details");O={...O,jobTitle:l,companyName:n,userId:i}}catch(e){console.warn("Failed to fetch user details from Proxy API:",e)}}}catch(e){console.warn("Failed to fetch user details from Proxy API:",e)}let A=(0,n.ko)(m,"contentful",{locale:h.contentful}),[D,N]=await Promise.all([A.getLayout(),A.getLandingPage(b)]);if(!N||N.items&&!N.items.length||!y||Number.isNaN(y))return{notFound:!0};let P=(0,n.ko)(m,"pressOffice",{locale:h.language}),B=await P.getPressReleaseById(y);if(!B)return{notFound:!0};let I=null==N?void 0:null===(t=N.items[0])||void 0===t?void 0:t.fields.content,S=A.getPropsFromContentForComponent("hero",N);s=A.getPropsFromContent("sitemetadata",null==N?void 0:null===(r=N.items[0])||void 0===r?void 0:r.fields);let T=(0,p.G)(B.pressReleaseId+"-"+B.sponsorName+"-"+B.title,{remove:/[*+~.()/'"!:@\\]/g,lower:!0});return s={...s,canonicalUrl:"https://".concat(null==u?void 0:null===(l=u.headers)||void 0===l?void 0:l.host,"/").concat(b,"/").concat(T),title:B.title,de
1scription:(null===(i=B.summary)||void 0===i?void 0:i.substring(0,160))||""},(null==D?void 0:D.header)&&(D.header.primaryActive=(null===(o=c.pressOffice.headers)||void 0===o?void 0:o.primaryActive)||null,D.header.secondaryActive=(null===(a=c.pressOffice.headers)||void 0===a?void 0:a.secondaryActive)||null),s.openGraph.imageUrl||(s.openGraph.imageUrl=null==D?void 0:D.socialShareImage),{props:{key:b||null,brand:k,siteSettings:w,hero:S||null,content:I||null,pressRelease:B||null,layout:D||null,siteMetadata:s||null,siteSlug:m,pressOfficeBasePath:b,gtm:(null==Z?void 0:Z.gtm)||null,userDetails:O||null,isLoggedIn:!!(null==C?void 0:C.user),contentId:b||null}}};var A=!0,D=e=>{let{hero:t,pressRelease:r,pressOfficeBasePath:n}=e;return(0,l.tZ)(O,{pressRelease:r,hero:t,pressOfficeBasePath:n})}},62148:function(e,t,r){"use strict";r.d(t,{lJ:function(){return n}}),r(92937),r(39664);let l=new Set(["missing_refresh_token","access_token_error","ERR_ACCESS_TOKEN","invalid_session","missing_session","failed_to_refresh_token"]);async function n(e,t,r,n){if(!e)return null;try{return await e.getAccessToken(t,r,n)}catch(t){let e=null==t?void 0:t.code;if(e&&l.has(e))return console.warn("[getAccessTokenOrNull] Token unavailable, continuing anonymously",{code:e}),null;throw t}}},22208:function(e,t,r){"use strict";r.d(t,{z:function(){return d}});var l=r(39664),n=r(53060),i=r(19071),o=r(43219),a=r(92937),s=r(90607),c=r(34250);function d(e){var t,r,d,u;let{req:f,res:p}=e,h=(0,a.QF)(f);if(!(0,l.Zt)(h))throw Error("Invalid site parameter: ".concat(h));let m=n.Z[h],g=(0,s.pH)(h),v=(0,c.jR)(h,f),y={...e,config:m,site:h,locale:v,i18nConfig:g};(null===(t=m.auth0)||void 0===t?void 0:t.clientId)&&(null===(r=m.auth0)||void 0===r?void 0:r.clientSecret)&&(null===(d=m.auth0)||void 0===d?void 0:d.sessionSecret)&&(y.auth0=(0,i.ZP)(h));let k=((null===(u=e.resolvedUrl)||void 0===u?void 0:u.split("?")[0])||"/").replace("/".concat(h),"")||"/";if((0,l.Cg)(k,h))try{let e=(0,o.z2)(f,p);y.csrfToken=e}catch(e){console.error("Error fetching CSRF token:",e)}return y}}},function(e){e.O(0,[2888,9774,179],function(){return e(e.s=30106)}),_N_E=e.O()}]);
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.