1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9277],{39277:function(e,l,t){t.r(l),t.d(l,{EditorialSpots:function(){return F}});var o=t(48282),n=t(28706),a=t(3650),i=t(30123),s=t(49759),d=t(99222),r=t(15852),m=t(79262),c=t(50597),u=t(25990),v=t(64331),x=t(27869),p=t(2218),h=t(90227),b=t(18529),g=t(24554),y=t(38887),f=t(88321),k=t.n(f);let w=(e,l,t,o,n)=>{var a,i,s;if(!l||"pdf_editorial_spot_item"===l.system.type)return"";let d="",r=null==o?void 0:o.taxonomyGroup,m=null==o?void 0:null===(a=o.value[0])||void 0===a?void 0:a.codename,c=m;"data_centres___mission_critical_facilities_"===m?c="data_centres":"rail_"===m?c="rail":"pharmaceutical"===m&&(c="pharma_and_life_sciences");let u=!1;if(c)try{let e=t.topic(c.toLowerCase());u=!!(e&&e!==c)}catch(e){u=!1}let v=m?k()(t.segment(m),{lower:!0}):"",x=r&&c&&u?"".concat(encodeURIComponent(t.category(r.toLowerCase())),"=").concat(encodeURIComponent(v||c.toLowerCase())):"",p=m?"".concat(encodeURIComponent(t.category((r||"segment").toLowerCase())),"=").concat(encodeURIComponent(v||m.toLowerCase())):"",h=t.locale?({"da-dk":["denmark"],"en-apac":["australia","bahrain","china","hong_kong","india","japan","malaysia","new_zealand","qatar","saudi_arabia","singapore","south_korea","united_arab_emirates"],"en-us":["canada","mexico","americas"],"en-gb":["united_kingdom"],"fi-fi":["finland"],"no-no":["norway"],"de-de":["germany"],"sv-se":["sweden"]})[t.locale]:void 0,b=h?"".concat(k()(t.common("location"),{lower:!0}),"=").concat(h.map(e=>k()(t.location(e),{lower:!0})).join(",")):"",g=[b,x].filter(Boolean).join("&");switch(e){case"sector":d="/".concat(k()(t.sector(null===(i=l.elements.tagsSector.value[0])||void 0===i?void 0:i.codename),{lower:!0}));break;case"project":{let e=m?y.lb[m]:void 0,l=[b,e?"".concat(encodeURIComponent(t.category("sector")),"=").concat(encodeURIComponent(k()(t.sector(e),{lower:!0}))):"",p].filter(Boolean).join("&"),o=l?"?".concat(l):"";d="/".concat(t.multiple("project")).concat(o).concat(p?"".concat(o?"&":"?","scrollTo=search-filters"):"");break}case"insight":{let e=r&&c&&u?c.toLowerCase():null!=n?n:"",l=e?"topic=".concat(encodeURIComponent(e)):"",o=[b,l].filter(Boolean).join("&"),a=l?"/".concat(t.url("searchurl")):"";d="/".concat(t.multiple("insight")).concat(a).concat(o?"?".concat(o):"");break}case"product":d="/".concat(t.multiple("product")).concat(g?"?".concat(g):"");break;case"news":d="/".concat(t.multiple("news"));break;case"service_line":d="/".concat(k()(t.service_line(null===(s=l.elements.tagsServiceLine.value[0])||void 0===s?void 0:s.codename),{lower:!0}));break;case"office":d="/".concat(t.multiple("contactUsUrl"));break;case"people":d="/".concat(t.multiple("contactUsUrl"),"/").concat(t.url("peopleUrl"));break;default:d="/"}return d.replace(/\/+/g,"/").replace(/undefined/g,"")};var j=t(87261),C=t(13867),S=t(71679),_=t(67379);let T=(e,l,t)=>{let o=e.elements.showcasedContent.linkedItems.map(e=>e.system.type).includes("contact"),n=e.elements.showcasedContent.linkedItems.map(e=>e.system.type).includes("office");if(o||n)return e.elements.showcasedContent.linkedItems;let a=[];return e.elements.showcasedContent.linkedItems.map(o=>{"content_page"===o.system.type&&a.push(function(e,l,t,o){var n,a,i,s,d,r,m,c,u,v,x,p,h,b,g,y,f,k,w,T,I,P,L,U,R,W,M,N,D,F,O,G,B,H,A,q,E,z,J,Z,K;let Q;let V=(null===(a=l.elements.partOfCampaignPage)||void 0===a?void 0:null===(n=a.linkedItems)||void 0===n?void 0:n.length)>0&&l.elements.summaryTeaserText?(0,j.ai)(l.elements.summaryTeaserText):l.elements.summaryDescription?(0,j.ai)(l.elements.summaryDescription):void 0,X=null==V?void 0:V.filter(e=>e.body&&e.body.replace(/<[^>]*>/g,"").replace(/ /gi," ").trim().length>0),Y=null===(s=l.elements.category)||void 0===s?void 0:null===(i=s.value[0])||void 0===i?void 0:i.codename,$=(0,_.U)(l,null==o?void 0:o.split("/"),!0,t.locale,t),ee=(null===(d=e.elements.category.value[0])||void 0===d?void 0:d.codename)==="insight"||(null===(r=e.elements.category.value[0])||void 0===r?void 0:r.codename)==="news"?t.topic(null===(c=l.elements.tagsTopic)||void 0===c?void 0:null===(m=c.value[0])||void 0===m?void 0:m.codename):t.sector(null===(v=l.elements.tagsSector)||void 0===v?void 0:null===(u=v.value[0])||void 0===u?void 0:u.codename),el=(null===(x=l.elements.summaryDate)||void 0===x?void 0:x.value)?new Date(l.elements.summaryDate.value).toLocaleStr
1ing(l.system.language,{year:"numeric",month:"short",day:"numeric"}):new Date(l.system.lastModified).toLocaleString(l.system.language,{year:"numeric",month:"short",day:"numeric"}),et=[];switch(ee&&et.push(ee),el&&et.push(el),Y){case"project":Q=t.location(null===(J=l.elements.tagsLocation)||void 0===J?void 0:null===(z=J.value[0])||void 0===z?void 0:z.codename);break;case"product":Q=t.sector(null===(Z=l.elements.tagsSector.value[0])||void 0===Z?void 0:Z.codename);break;case"insight":Q=et.join(" | ");break;case"news":Q=el}let eo="insight"===Y||"news"===Y?null===(h=l.elements.tagsTopic)||void 0===h?void 0:null===(p=h.value[0])||void 0===p?void 0:p.codename:"product"===Y?null===(g=l.elements.tagsSector)||void 0===g?void 0:null===(b=g.value[0])||void 0===b?void 0:b.codename:void 0,en=(0,C.AG)(null===(y=l.elements.summaryImageFrontify)||void 0===y?void 0:y.value,(null===(f=l.elements.summaryAlternativeText)||void 0===f?void 0:f.value.length)>1?null===(k=l.elements.summaryAlternativeText)||void 0===k?void 0:k.value:null===(w=l.elements.summaryTitle)||void 0===w?void 0:w.value,!1,null!==(K=null===(T=l.elements.summaryCompressImage)||void 0===T?void 0:T.value)&&void 0!==K?K:75);return{headline:(null===(P=l.elements.partOfCampaignPage)||void 0===P?void 0:null===(I=P.linkedItems)||void 0===I?void 0:I.length)>0&&(null===(U=l.elements.summaryManualTitle)||void 0===U?void 0:null===(L=U.value)||void 0===L?void 0:L.length)>0?l.elements.summaryManualTitle.value:null===(R=l.elements.summaryTitle)||void 0===R?void 0:R.value,backgroundWidth:null===(W=e.elements.backgroundWidth.value[0])||void 0===W?void 0:W.codename,mediaPosition:null===(M=e.elements.mediaPosition.value[0])||void 0===M?void 0:M.codename,text:X,link:$,linkText:t.common("learnMore"),ariaLinkText:"".concat(t.aria("learnMoreAbout")," ").concat(null===(N=l.elements.summaryTitle)||void 0===N?void 0:N.value),featured:(null===(F=l.elements.featured)||void 0===F?void 0:null===(D=F.value[0])||void 0===D?void 0:D.codename)==="yes",mediaType:null===(G=l.elements.tagsContentType)||void 0===G?void 0:null===(O=G.value[0])||void 0===O?void 0:O.codename,image:(null===(B=e.elements.textOnly.value[0])||void 0===B?void 0:B.codename)==="no"?(0,S._v)(l,en):void 0,metadata:Q,tagCodename:eo,tagCategory:"insight"===Y||"news"===Y?"topic":"product"===Y?"sector":void 0,enableHyphenation:null===(A=l.elements.summaryEnableHyphenation)||void 0===A?void 0:null===(H=A.value[0])||void 0===H?void 0:H.codename,category:null===(E=l.elements.category)||void 0===E?void 0:null===(q=E.value[0])||void 0===q?void 0:q.codename}}(e,o,l,t)),"pdf_editorial_spot_item"===o.system.type&&a.push(function(e,l,t){var o;let n=l.elements.description?(0,j.ai)(l.elements.description):void 0,a=l.elements.ctaSnippetFrontifyFile.value;return{headline:l.elements.title.value,backgroundWidth:e.elements.backgroundWidth.value[0].codename,mediaPosition:null===(o=e.elements.mediaPosition.value[0])||void 0===o?void 0:o.codename,text:n,downloadLink:a?JSON.parse(a).downloadUrl:l.elements.ctaSnippetUrl.value,linkText:l.elements.ctaSnippetCtaText.value,linkOpenInNewTab:"new_tab"===l.elements.ctaSnippetOpenIn.value[0].codename,ariaLinkText:"".concat(t.aria("downloadItem",{itemName:l.elements.title.value})),image:"no"===e.elements.textOnly.value[0].codename?(0,C.AG)(l.elements.imageFrontify.value,l.elements.alternativeText.value):void 0,metadata:l.elements.tag.value}}(e,o,l))}),a};var I=t(65662),P=t(40336),L=t(29577),U=t(98223),R=t(12900),W=t(30323),M=t(92817),N=t(37394);let D=e=>{var l,t,n,i,s,d,r,u;let{contact:v,formModalButtonText:x,formModal:h,editorialSpotsId:b,showCountry:g}=e,{aria:y}=(0,p.S)(),{isOpen:f,onOpen:k,onClose:w}=(0,R.q)(),j=null===(l=v.elements)||void 0===l?void 0:l.displayName.value,C=null===(t=v.elements)||void 0===t?void 0:t.jobTitle.value,S=null===(n=v.elements)||void 0===n?void 0:n.phoneNumber.value,_=null===(i=v.elements)||void 0===i?void 0:i.email.value,T=null===(d=v.elements)||void 0===d?void 0:null===(s=d.frontifyImage)||void 0===s?void 0:s.value,I=null===(r=v.elements)||void 0===r?void 0:r.msImage.value,P=null===(u=v.elements)||void 0===u?void 0:u.country.value;return(0,o.jsxs)(c.r,{color:"mountain.base",gridTemplateRows:"auto 2fr auto auto",h:"100%",children:[(0,o.jsx)(a.P,{children:(0,o.jsx)(M.f,{alt:j,imageFrontify:T,msImage:I,imageSx:{w:{base:"120px",md:"160px",lg:"170px"},h:{base:"150px",md:"214px",lg:"220px"}},avatarSize:{base:"3xl",lg:"5xl"}})}),(0,o.jsxs)(a.P,{mt:{base:"mobile.xs",lg:"desktop.m"}
1,children:[""!==j&&(0,o.jsx)(m.x,{textStyle:{base:"mobile.h4",md:"desktop.h4"},fontWeight:"bold",children:j}),""!=C&&(0,o.jsx)(m.x,{textStyle:{base:"mobile.body.s",md:"desktop.body.s"},children:C})]}),""!=S&&(0,o.jsx)(a.P,{mt:"desktop.xs",children:(0,o.jsx)(m.x,{textStyle:{base:"mobile.body.s",md:"desktop.body.s"},children:S})}),"yes"==g&&""!=P&&(0,o.jsx)(a.P,{mt:"desktop.xs",children:(0,o.jsx)(m.x,{textStyle:{base:"mobile.body.s",md:"desktop.body.s"},children:P})}),x&&h&&(0,o.jsxs)(a.P,{mt:{base:"desktop.xs",lg:"desktop.xxs"},children:[(0,W.G)("".concat(y("openContactGetInTouchWith")," ").concat(j),x,k,h.system.name),(0,o.jsx)(N.S,{id:"".concat(b).concat(h.system.id).concat(v.system.id),model:h,isOpen:f,contactPersonEmail:_,onClose:w})]})]})},F=e=>{var l,t,y,f,k,j,C,S,_,R,W,M,N,F,O,G,B,H,A,q,E,z,J;let{model:Z}=e,K=(0,p.S)(),[Q]=(0,n.a)("(max-width: 1024px)"),V=(0,h.useRouter)(),X=V.query.slug||V.query.mainSubpage||V.query.subcategory,Y=I.Ul[null===(l=Z.elements.backgroundColor)||void 0===l?void 0:l.value[0].codename],$=null===(t=Z.elements.paddings)||void 0===t?void 0:t.value.map(e=>e.codename),ee=T(Z,K,X),el=(0,I.Jm)((null===(f=Z.elements.headlineColor)||void 0===f?void 0:null===(y=f.value[0])||void 0===y?void 0:y.codename)||"mountain"),et=null===(k=Z.elements.subheadline)||void 0===k?void 0:k.value,eo=void 0===Z.elements.category.value[0]?"":K.multiple(Z.elements.category.value[0].codename),en=Z.elements.cta.value&&Z.elements.cta.value+" ".concat(eo),ea=(null===(j=Z.elements.formModalCtaButtonText)||void 0===j?void 0:j.value)||"",ei=null===(C=Z.elements.formModalCtaFormModal)||void 0===C?void 0:C.linkedItems,es=(null===(S=Z.elements.category.value[0])||void 0===S?void 0:S.codename)==="people"&&ee&&ee.length>0,ed=(null===(_=Z.elements.category.value[0])||void 0===_?void 0:_.codename)==="office"&&ee&&ee.length,er=w(null===(R=Z.elements.category.value[0])||void 0===R?void 0:R.codename,Z.elements.showcasedContent.linkedItems[0],K,Z.elements.ctaTaxonomySegment),em=(0,b.useRef)(null),[ec,eu]=(0,b.useState)(0),ev=Z.elements.headline.value,ex=null===(W=Z.elements.showCountryForContact.value[0])||void 0===W?void 0:W.codename,ep=e=>es?ee.map((l,t)=>(0,o.jsx)(a.P,{as:"li",flexGrow:1,w:e?"min-content":"",px:{base:"desktop.xs",lg:0,"3xl":0},children:(0,o.jsx)(D,{editorialSpotsId:Z.system.id,contact:l,formModalButtonText:ea,formModal:ei[0],showCountry:ex})},t)):ed?ee.map((e,l)=>{var t;return(0,o.jsx)(a.P,{as:"li",flexGrow:1,px:{base:"desktop.xs",lg:0,"3xl":"desktopxl.xs"},_first:{paddingLeft:"0"},children:(0,o.jsx)(x.Z,{address:(0,v.pH)(u.uN).resolveRichText({element:e.elements.address}).html,city:e.elements.city.value,country:e.elements.country.value[0].name,cvr:e.elements.taxNumber.value,description:(0,v.pH)(u.uN).resolveRichText({element:e.elements.info}).html,email:e.elements.email.value,id:e.system.id,isMain:!!(null===(t=e.elements.isHeadOffice.value[0])||void 0===t?void 0:t.name),officeName:e.elements.officeName.value||null,phone:e.elements.phoneNumber.value})},l)}):ee.map((l,t)=>{var n,i;return(0,o.jsx)(a.P,{as:"li",flexGrow:e?0:1,flexShrink:e?0:void 0,w:e?"315px":void 0,px:{base:e?0:ee.length<3?0:"desktop.xs",lg:0},mr:e&&t===ee.length-1?{base:"desktop.s","3xl":"desktopxl.s"}:void 0,_first:{paddingLeft:"0"},children:(0,o.jsx)(U.l,{model:l,singleItem:1===ee.length,numberOfItems:ee.length,itemIndex:t,hideTag:null===(i=Z.elements.hideTag)||void 0===i?void 0:null===(n=i.value[0])||void 0===n?void 0:n.codename,backgroundColor:(ee.length,Y.base)})},t)});return(0,o.jsx)(o.Fragment,{children:(0,o.jsx)(i.xu,{id:Z.system.codename,w:"100vw",maxW:g.IA,mx:"auto",sx:{bgGradient:1===ee.length&&"mediaPosition"in ee[0]&&(null===(N=Z.elements.backgroundWidth)||void 0===N?void 0:null===(M=N.value[0])||void 0===M?void 0:M.codename)==="full"?{}:1===ee.length?{base:"linear(to-b, ".concat(Y.base," 30%, white 0%)"),sm:"linear(to-b, ".concat(Y.base," 40%, white 0%)"),md:"linear(to-b, ".concat(Y.base," 45%, white 0%)"),lg:(null===(O=Z.elements.mediaPosition)||void 0===O?void 0:null===(F=O.value[0])||void 0===F?void 0:F.codename)==="start"?"linear(to-r, white 50%, ".concat(Y.base," 0%)"):"linear(to-r, ".concat(Y.base," 50%, white 0%)"),xl:(null===(B=Z.elements.mediaPosition)||void 0===B?void 0:null===(G=B.value[0])||void 0===G?void 0:G.codename)==="start"?"linear(to-r, white 55%, ".concat(Y.base," 0%)"):"linear(to-r, ".concat(Y.base," 55%, white 0%)")}:{}},children:(0,o.jsxs)(s.W,{position:"relative",display:"flex",flexDir:"row",flexWrap:"wrap",sx:(()=>{let e=$.filter(e=>e.includes("top")).join(","),l=$.filter(e=>e.includes("bottom")).join(",");return{pt:e.includes("all")?0:e.includes("half")?{base:"mobile.m",lg:"desktop.s","3xl":"desktopxl.s"}:{base:"mobile.l",lg:"desktop.l","3xl":"desktopxl.l"},pb:l.includes("all")?0:l.includes("half")?{base:"mobile.m",lg:"desktop.s","3xl":"desktopxl.s"}:{base:"mobile.l",lg:"desktop.l","3xl":"desktopxl.l"}}})(),bgGradient:1===ee.length&&"mediaPosition"in ee[0]&&(null===(A=Z.elements.backgroundWidth)||void 0===A?void 0:null===(H=A.value[0])||void 0===H?void 0:H.codename)==="partial"?{base:"linear(to-b, ".concat(Y.base," 30%, white 0%)"),sm:"linear(to-b, ".concat(Y.base," 40%, white 0%)"),md:"linear(to-b, ".concat(Y.base," 45%, white 0%)"),lg:"start"===ee[0].mediaPosition?"linear(to-r, white 50%, ".concat(Y.base," 0%)"):"linear(to-r, ".concat(Y.base," 50%, white 0%)"),xl:"start"===ee[0].mediaPosition?"linear(to-r, white 55%, ".concat(Y.base," 0%)"):"linear(to-r, ".concat(Y.base," 55%, white 0%)")}:{}
1,pr:{base:ee.length<3?"mobile.m":"0",md:"0"},bg:(1===ee.length&&(null===(E=Z.elements.backgroundWidth)||void 0===E||null===(q=E.value[0])||void 0===q||q.codename),Y.base),children:[(0,o.jsxs)(d.K,{spacing:{base:"xs",lg:"l","3xl":"desktopxl.l"},alignItems:"flex-start",maxW:{base:"65vw",md:"unset"},children:[(0,o.jsx)(r.k,{flexDir:"column",alignItems:"flex-start",justifyContent:"space-between",flex:1,children:!!Z.elements.headline.value.length&&(0,o.jsxs)(i.xu,{display:"inline-flex",children:[(0,o.jsx)(i.xu,{w:"2px",mr:{base:"desktop.xs","3xl":"desktopxl.xs"},borderWidth:"0px 1px",borderStyle:"solid",borderColor:"cyan.web",borderRadius:"8px"}),(0,o.jsx)(m.x,{as:"h2",textStyle:{base:"mobile.body.medium.xs_thick",md:"desktop.body.xs_thick"},letterSpacing:"0.3px",color:el?el.headline:"mountain",sx:{hyphens:"auto"},children:ev&&ev.toLocaleUpperCase()})]})}),!!Z.elements.subheadline.value.length&&(0,o.jsx)(r.k,{children:(0,o.jsx)(m.x,{as:"h3",textStyle:{base:"mobile.h5",md:"desktop.h5","2xl":"desktop.h5"},px:{base:"xs",lg:0},children:et})})]}),ee.length<3||ed||!Q?(0,o.jsx)(c.r,{as:"ul",listStyleType:"none",templateColumns:{base:"repeat(1, 1fr)",lg:es?"repeat(3, 1fr)":2===ee.length&&((null===(z=ee[0])||void 0===z?void 0:z.category)==="insight"||(null===(J=ee[0])||void 0===J?void 0:J.category)==="news")?"2fr 1fr":"repeat(".concat(ee.length,", 1fr)")},gap:{base:ed?"mobile.m":"mobile.l",lg:"desktop.m","3xl":"desktopxl.m"},mt:{base:"s",lg:"desktop.l","3xl":"desktopxl.l"},order:3,flexBasis:"100%",children:ep()}):(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)(r.k,{ref:em,mt:{base:ev||Z.elements.subheadline.value.length?"s":"0",lg:"l","3xl":"desktopxl.l"},w:"100%",as:"ul",listStyleType:"none",flexDir:"row",gap:{base:"desktop.s","3xl":"desktopxl.s"},overflow:"auto",sx:{"::-webkit-scrollbar":{display:"none"},scrollbarWidth:"none"},order:2,flexBasis:"100%",onScroll:()=>{let e=em.current;if(!e)return;let l=e.scrollWidth-e.clientWidth;l>0&&eu(e.scrollLeft/l)},children:ep(!0)}),(0,o.jsx)(i.xu,{order:3,flexBasis:"100%",h:"3px",bg:"#D4D7D9",borderRadius:"1px",mt:{base:"desktop.m","3xl":"desktopxl.m"},children:(0,o.jsx)(i.xu,{h:"full",bg:"cyan.web",borderRadius:"1px",w:"".concat(Math.max(100*ec,5).toFixed(1),"%"),transition:"width 0.1s linear"})})]}),(0,o.jsx)(i.xu,{order:1,display:"flex",marginLeft:"auto",zIndex:1,alignItems:"flex-start",justifyContent:"flex-end",pr:{base:"xs",lg:0},children:(0,o.jsx)(r.k,{justifyContent:"flex-end",alignItems:"center",children:""!==er&&!!Z.elements.cta.value.length&&(0,o.jsx)(L.r,{ariaLabel:en,href:er,weight:"680",type:P.U.SecondaryButton,iconName:"
1chevronRightForLink",locale:V.locale,isPrDisabled:!0,children:Z.elements.cta.value})})})]})})})}},27869:function(e,l,t){var o=t(48282),n=t(30123),a=t(79262),i=t(2218),s=t(90227);l.Z=e=>{let{address:l,city:t,country:d,cvr:r,description:m,email:c,isMain:u=!1,officeName:v,phone:x,...p}=e,{common:h}=(0,i.S)(),b=(0,s.useRouter)();return(0,o.jsxs)(n.xu,{color:"montain.base",...p,children:[(0,o.jsx)(a.x,{mb:"xxs",textStyle:{base:"mobile.body.md",md:"desktop.body.xs"},children:u?h("headOffice"):""}),(0,o.jsx)(a.x,{as:"h2",mb:"xs",paddingTop:u?"":"20px",textStyle:(b.asPath,{base:"mobile.h4",md:"desktop.h4"}),children:v||"".concat(t,", ").concat(d)}),(0,o.jsx)(n.xu,{dangerouslySetInnerHTML:{__html:l},mb:"xs",textStyle:{base:"mobile.body.s",md:"desktop.body.s"}}),(0,o.jsxs)(n.xu,{textStyle:{base:"desktop.body.medium.s",md:"desktop.body.s"},children:[x&&(0,o.jsx)(a.x,{mb:"3xs",children:x}),c&&(0,o.jsx)(a.x,{mb:"xs",children:c}),r&&(0,o.jsx)(a.x,{children:r})]}),!!m&&(0,o.jsx)(a.x,{mt:"xs",textStyle:"mobile.body.xs",dangerouslySetInnerHTML:{__html:m}})]})}}}]);
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.