1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[181],{16049:function(e,l,t){t.r(l),t.d(l,{default:function(){return h}});var a=t(57437),r=t(53746),n=t(26497),s=t(63323),i=t(88862);function o(e,l){var t;l&&(null===(t=window.matchMedia("(prefers-reduced-motion: reduce)"))||void 0===t?void 0:t.matches)!==!0&&l.seek(e*l.duration)}var c=t(77969),d=t(88979),u=t(2265);let p={top:!0,bottom:!1,alternativeFunction:!1};var x=t(56873),m=t(54365),f=t(51721);function h(e){var l,t;let{image:h,title:g,completeCallback:v,className:b}=e,y=(0,u.useRef)(null),j=(0,u.useRef)(null),w=(0,u.useRef)(null),N=(0,u.useRef)(null),k=(0,u.useRef)(!1),Z=(0,u.useRef)(0),_=(0,i.f)("en-gb");function C(){var e,l,t,a,r,n,s,i;let o=null===(l=S.current)||void 0===l?void 0:null===(e=l.parentNode)||void 0===e?void 0:e.querySelector(".big-anchor-container"),c=null===(a=S.current)||void 0===a?void 0:null===(t=a.parentNode)||void 0===t?void 0:t.querySelector(".big-anchor-image"),d=null===(n=S.current)||void 0===n?void 0:null===(r=n.parentNode)||void 0===r?void 0:r.querySelector(".big-anchor-image-overlay"),u=null===(i=S.current)||void 0===i?void 0:null===(s=i.parentNode)||void 0===s?void 0:s.querySelector(".not-needs-cta");if(!o||!c||!(null==y?void 0:y.current)||!(null==S?void 0:S.current)||!(null==j?void 0:j.current))return!1;let{height:p,left:m,right:f}=o.getBoundingClientRect(),h=(window.innerHeight-p)/2,g=S.current.getBoundingClientRect().width-f;N.current=x.Z.timeline({autoplay:!1,easing:"linear",duration:100}).add({targets:y.current,duration:25,translateX:["0px","0px"]}).add({targets:y.current,duration:25,clipPath:["inset(0px round)","inset(".concat(h,"px ").concat(g,"px ").concat(h,"px ").concat(m,"px round 2rem)")]}).add({targets:j.current,scale:[1.05,1],duration:25},"-=25").add({targets:y.current,duration:50,translateX:["0px","0px"],changeBegin:()=>{if(null==k?void 0:k.current){var e;k.current=!1,null===(e=y.current)||void 0===e||e.classList.remove("opacity-0"),c.classList.add("xl:opacity-0"),d&&d.classList.remove("opacity-60"),(null==S?void 0:S.current)&&S.current.classList.remove("pointer-events-none"),v&&v(!1)}},changeComplete:()=>{var e,l;(null==S?void 0:S.current)&&((null===(e=N.current)||void 0===e?void 0:e.currentTime)||0)>60&&(S.current.classList.add("pointer-events-none"),null==u||u.setAttribute("style","transform: translateY(-".concat(h,"px)")),c.classList.remove("xl:opacity-0"),null===(l=y.current)||void 0===l||l.classList.add("opacity-0"),k.current=!0,d&&d.classList.add("opacity-60"),v&&v(!0))}})}(0,d.z)("resize",(0,s.Z)(function(){C(),o(Z.current,N.current)})),(0,u.useEffect)(()=>{(null==N?void 0:N.current)||C()},[]);let S=function(e,l){l={...p,...l};let t=(0,u.useRef)(null),a=(0,u.useRef)(0),r=(0,u.useCallback)(()=>{var r;if(!t.current)return;let n=document.documentElement.scrollTop,s=(null===(r=t.current.getBoundingClientRect())||void 0===r?void 0:r.top)+n,i=t.current.clientHeight,o=document.documentElement.clientHeight,c="bottom"===l.startTracking?s:s+o,d="bottom"===l.stopTracking?s+i:s+i+o,u=Math.min(Math.max(Math.max(n+o-c,0)/(d-c),0),1);a.current!==u&&e(a.current=u)},[t,l,e]);return(0,d.z)("scroll",r),(0,d.z)("resize",r),(0,u.useEffect)(r,[r]),t}(e=>{Z.current=e,o(e,null==N?void 0:N.current)},{startTracking:"top",stopTracking:"bottom"});return h?(0,a.jsxs)("div",{className:(0,m.Z)("hidden relative w-full h-2.6-screen -mt-default-section-whitespace -mb-screen xl:block motion-reduce:xl:hidden",b),ref:S,children:[(0,a.jsxs)(r.Z,{className:"absolute inset-0 z-20 content-center justify-center w-full h-screen auto-rows-max gap-y-5",containerRef:w,children:[(0,a.jsx)("button",{onClick:function(){var e;if(!(null==S?void 0:S.current))return;let l=null==S?void 0:null===(e=S.current)||void 0===e?void 0:e.getBoundingClientRect(),t=(null==l?void 0:l.y)+l.height-window.innerHeight||0;(0,c.Z)(document.documentElement,t+window.scrollY,0,800)},className:"inline-flex items-center justify-center border-2 rounded-full aspect-square w-28 border-yellow col-span-full group/disappearingArrow","aria-label":"".concat(null==_?void 0:null===(t=_.components)||void 0===t?void 0:null===(l=t.big_image_anchor)||void 0===l?void 0:l.view_slice," ").concat(g),children:(0,a.jsx)(f.Z,{iconClassName:"w-5 fill-yellow"})}),g&&(0,a.jsx)("span",{className:"font-bold text-white text-big-anchor-text col-span-full",children:g})]}),(0,a.jsx)("div",{className:"sticky top-0 w-full h-screen",children:(0,a.jsxs)("div",{ref:y,className:"w-full h-full overflow-hidden",children:[(0,a.jsx)("div",{ref:j,className:"w-full h-full scale-105",children:(0,a.jsx)(n.Z,{field:h,className:"object-cover w-full h-full"})}),(0,a.jsx)("div",{className:"absolute inset-0 z-10 w-full h-full bg-black/30 opacity-60"})]})})]}):null}},72040:function(e,l,t){t.d(l,{Z:function(){return i}});var a=t(57437),r=t(90361),n=t(54365),s=t(37583);function i(e){let{onClick:l,link:t,children:i,className:c,scroll:d,isOnDarkBackgroun
1d:u=!1,buttonType:p="primary",type:x="button",disabled:m=!1,tabIndex:f=0,onFocus:h}=e,{backgroundColor:g,textColor:v,hoverTextColor:b,hoverTextColorOnDarkBackground:y}=o["primary"===p?"yellow":"secondary"===p?u?"white":"green":u?"white":"yellow-text"],j=u?y:b,w="tertiary"===p||"secondary"===p&&t&&(null==t?void 0:t.link_type)==="Web",N=t&&"Web"===t.link_type;return t&&!l?(0,a.jsxs)(s.Z,{className:(0,n.Z)(["flex gap-x-2 items-center text-small-body font-medium text-".concat(v," transition-all group/button"),"primary"===p&&"bg-".concat(g," hover:bg-transparent"),"secondary"===p&&"hover:bg-".concat(g),"tertiary"!==p&&"border-2 px-5 py-3 rounded-5xl border-".concat(g," hover:rounded-xl lg:px-6 hover:text-").concat(j),c]),...t,tabIndex:m?-1:f,scroll:d,onFocus:h,children:[i,w&&(0,a.jsx)(r.ZP,{type:"arrow",className:(0,n.Z)("w-3","fill-".concat(v),"tertiary"===p&&!N&&"transition-transform group-hover/button:translate-x-1","tertiary"===p&&N&&"transition-transform group-hover/button:translate-x-1 group-hover/button:-translate-y-1","secondary"===p&&"transition-colors group-hover/button:fill-".concat(j),N&&"-rotate-45")})]}):l&&!t?(0,a.jsxs)("button",{className:(0,n.Z)(["text-small-body font-medium text-".concat(v," transition-all hover:text-").concat(j),"primary"===p&&"bg-".concat(g," hover:bg-transparent"),"secondary"===p&&"hover:bg-".concat(g),"tertiary"!==p&&"border-2 px-5 py-3 rounded-5xl border-".concat(g," hover:rounded-xl lg:px-6"),c]),onClick:l,type:x,disabled:m,tabIndex:f,children:[i,w&&(0,a.jsx)(r.ZP,{type:"arrow",className:(0,n.Z)("w-3","fill-".concat(v),"tertiary"===p&&!N&&"transition-transform group-hover/button:translate-x-1","tertiary"===p&&N&&"transition-transform group-hover/button:translate-x-1 group-hover/button:-translate-y-1","secondary"===p&&"transition-colors group-hover/button:fill-".concat(j),N&&"-rotate-45")})]}):null}let o={yellow:{backgroundColor:"yellow",textColor:"black",hoverTextColor:"black",hoverTextColorOnDarkBackground:"white"},green:{backgroundColor:"green",textColor:"green",hoverTextColor:"white",hoverTextColorOnDarkBackground:"white"},white:{backgroundColor:"white",textColor:"white",hoverTextColor:"black",hoverTextColorOnDarkBackground:"black"},"yellow-text":{backgroundColor:"yellow",textColor:"yellow",hoverTextColor:"yellow",hoverTextColorOnDarkBackground:"yellow"}}},88920:function(e,l,t){t.d(l,{default:function(){return d},h:function(){return m}});var a=t(57437),r=t(90361),n=t(26497),s=t(37583),i=t(38497),o=t(88862),c=t(54365);function d(e){var l,t,c;let{title:d,description:m,start_date:f,end_date:h,link:g,location:v,image:b,timezone:y}=e;if(!f)return null;let j=(0,o.f)("en-gb"),w=new Date(f),N=u(w,"en-gb"),k=w.getDate(),Z=p(f,h,y,"en-gb");return(0,a.jsx)(s.Z,{url:(null==g?void 0:g.url)||"#",link_type:null!==(c=null==g?void 0:g.link_type)&&void 0!==c?c:"",label:d,className:"rounded-3xl",children:(0,a.jsxs)("div",{className:"relative flex w-full gap-2 group/card h-22 rounded-3xl lg:h-130 lg:bg-off-white lg:flex-col lg:p-10 lg:gap-5 lg:justify-between lg:rounded-2rem lg:aspect-square",children:[(0,a.jsxs)("div",{className:"relative flex-shrink-0 h-full transition-all aspect-square rounded-2xl group-hover/card:h-24 lg:aspect-auto lg:w-full lg:h-36",children:[b?(0,a.jsx)(n.Z,{field:b,className:"object-cover w-full h-full transition-all rounded-2xl"}):(0,a.jsx)("div",{className:"w-full h-full bg-petrol"}),(0,a.jsx)("div",{className:"absolute top-0 w-full h-full transition-all opacity-50 bg-purple lg:opacity-0 lg:group-hover/card:opacity-50 rounded-2xl"}),Z&&(0,a.jsxs)("div",{className:"absolute top-0 flex justify-between w-full h-full p-2 transition-all",children:[(0,a.jsx)(x,{date:Z,location:v,className:"invisible hidden text-white lg:visible lg:flex",startHidden:!0}),(0,a.jsx)("div",{className:"transition-all z-50 lg:[clip-path:inset(0.5rem_0.5rem_round_0.5rem)] lg:group-hover/card:[clip-path:inset(0rem_0rem_round_0.5rem)]",children:(0,a.jsxs)("div",{className:"flex flex-col content-center justify-center h-full text-center text-white transition-all aspect-square lg:bg-purple",children:[(0,a.jsx)("span",{className:"font-bold text-heading-3",children:k}),(0,a.jsx)("span",{className:"text-tiny-body lg:text-small-body",children:N})]})})]})]}),(0,a.jsxs)("div",{className:"flex flex-col-reverse justify-end h-full gap-1 overflow-y-hidden transition-all lg:flex-col lg:justify-start",children:[(0,a.jsx)(x,{date:Z,location:v,className:"text-grey-dark text-tiny-body lg:text-small-body"}),(0,a.jsxs)("div",{className:"overflow-hidden",children:[d&&(0,a.jsx)("h3",{className:"h-10 mt-1 mb-0 font-semibold leading-normal text-heading-6 line-clamp-2 lg:max-h-none lg:line-clamp-3 lg:text-heading-5 lg:mb-2 lg:h-auto",children:d}),m&&(0,a.jsx)(i.Z,{data:m,className:"invisible hidden transition-all lg:visible lg:opacity-0 lg:h-auto lg:min-h-[100px] lg:max-h-[50px] lg:block lg:group-hover/card:opacity-100 lg:group-hover/card:max-h-none"})]})]}),(null==g?void 0:g.url)&&(0,a.jsxs)("div",{className:"absolute items-center invisible hidden bottom-10 group/link lg:flex lg:visible",children:[(0,a.jsx)("p",{className:"lg:block lg:font-semibold text-petrol",children:null==j?void 0:null===(t=j.components)||void 0===t?void 0:null===(l=t.event_card)||void 0===l?void 0:l.learn_more}),(0,a.jsx)(r.ZP,{type:"arrow",className:"w-4 mx-2 transition-transform fill-petrol group-hover/link:translate-x-2"})]})]})})}function u(e,l){return({date:new Intl.DateTimeFormat(l,{month:"long"}).format(e),month:new Intl.DateTimeFormat(l,{month:"short"}).format(e)}).month}function p(e,l,t,a){if(!e)return null;let r=new Date(e.slice(0,e.indexOf("+")));if(l){let e=new Date(l.slice(0,l.indexOf("+")));return r.getMonth()===e.getMonth()&&r.getFullYear()===e.getFullYear()&&r.getDate()!==e.getDate()?"".concat(r.getDate()," - ").concat(e.getDate()," ").concat(u(r,a)," ").concat(r.getFullYear()):r.getFullYear()!==e.getFullYear()?"".concat(r.getDate()," ").concat(u(r,a)," ").concat(r.getFullYear()," - ").concat(e.getDate()," ").concat(u(e,a)," ").concat(e.getFullYear()):r.getDate()===e.getDate()?"".concat(e.getDate()," ").concat(u(e,a)," ").concat(r.getFullYear()):"".concat(r.getDate()," ").concat(u(r,a)," - ").concat(e.getDate()," ").concat(u(e,a)," ").concat(r.getFullYear())}return"".concat(r.getDate()," ").concat(u(r,a)," ").concat(r.getFullYear()," - ").concat(function(e){let l=e.getHours(),t=e.getMinutes();return"".concat(l<10?"0".concat(l):l,":").concat(t<10?"0".concat(t):t)}(r)," ").concat(t)}function x(e){let{date:l,location:t,className:r,startHidden:n=!1}=e;return l?(0,a.jsx)(a.Fragment,{children:(0,a.jsxs)("div",{className:(0,
1c.Z)(["text-small-body flex flex-col justify-end transition-opacity",r,n?"opacity-0 group-hover/card:opacity-100":"opacity-100 group-hover/card:opacity-0"]),children:[(0,a.jsx)("time",{children:l&&l}),t&&(0,a.jsx)("p",{children:t})]})}):null}function m(e){let{link:l,start_date:t,title:r,...n}=e;return t?(0,a.jsx)("article",{className:"rounded-3xl bg-off-white! h-fit w-fit block",children:(0,a.jsx)(f,{title:r,link:l,start_date:t,...n})}):null}function f(e){var l,t,c;let{title:d,description:m,start_date:f,end_date:h,link:g,location:v,image:b,timezone:y}=e;if(!f)return null;let j=(0,o.f)("en-gb"),w=new Date(f),N=u(w,"en-gb"),k=w.getDate(),Z=p(f,h,y,"en-gb");return(0,a.jsxs)("div",{className:"flex flex-col lg:flex-row h-max lg:h-[24rem] w-full gap-2 rounded-3xl bg-off-white p-6 lg:p-10 lg:gap-5 lg:justify-between lg:rounded-2rem group",children:[(0,a.jsxs)("div",{className:"w-full lg:w-1/2 h-[12rem] lg:h-full relative z-1 overflow-hidden text-white rounded-2xl flex justify-between items-center p-3 lg:p-6",children:[(0,a.jsxs)("div",{className:"z-20 flex-col justify-end invisible h-full transition-all duration-500 ease-in-out translate-y-full opacity-0 lg:visible lg:flex group-hover:opacity-100 group-hover:translate-y-0",children:[(0,a.jsx)("time",{children:Z}),(0,a.jsx)("address",{className:"not-italic",children:v})]}),Z&&(0,a.jsx)("div",{className:"relative z-20 text-white transition-all shadow-sm select-none aspect-square bg-purple rounded-xl h-3/5 lg:h-2/4",children:(0,a.jsxs)("time",{className:"flex flex-col items-center justify-center w-full h-full text-center transition-all",children:[(0,a.jsx)("span",{className:"font-bold text-heading-3",children:k}),(0,a.jsx)("span",{className:"text-tiny-body lg:text-small-body",children:N})]})}),(0,a.jsx)("div",{className:"absolute top-0 left-0 z-10 w-full h-full transition-all opacity-75",style:{background:"linear-gradient(180deg, rgba(10, 10, 118, 0) 0%, rgba(31, 28, 43, 1) 100%)"}}),b?(0,a.jsx)(n.Z,{field:b,className:"absolute top-0 left-0 z-0 object-cover w-full h-full transition-all select-none"}):(0,a.jsx)("div",{children:"x"})]}),(0,a.jsxs)("div",{className:"w-full h-1/2 lg:w-1/2",children:[d&&(0,a.jsx)("h3",{className:"font-semibold text-heading-6 line-clamp-2 lg:line-clamp-3 lg:text-heading-5",children:d}),(0,a.jsx)("div",{className:"max-h-1/2",children:m&&(0,a.jsx)(i.Z,{data:m,className:"block text-balance text-sm truncate!"})}),(0,a.jsx)(x,{date:Z,location:v,className:"mt-4 text-black/60"}),(null==g?void 0:g.url)&&(0,a.jsx)(s.Z,{className:"font-semibold group/link text-petrol hover:underline decoration-2 underline-offset-2",url:(null==g?void 0:g.url)||"#",link_type:null!==(c=null==g?void 0:g.link_type)&&void 0!==c?c:"",label:d,children:(0,a.jsxs)("div",{className:"flex items-center gap-2 mt-4",children:[(0,a.jsx)("p",{className:"block",children:null==j?void 0:null===(t=j.components)||void 0===t?void 0:null===(l=t.event_card)||void 0===l?void 0:l.learn_more}),(0,a.jsx)(r.ZP,{type:"arrow",className:"w-4 h-4 transition-transform fill-petrol group-hover/link:translate-x-2"})]})})]})]})}},226:function(e,l,t){var a=t(57437),r=t(90361),n=t(26497),s=t(37583),i=t(38497),o=t(98801),c=t(88862),d=t(56873),u=t(54365),p=t(2265);l.default=function(e){var l,t;let{resource_type:x,card_title:m,card_image:f,card_description:h,video:g,url:v,link_type:b,heroVariation:y,className:j,animate:w=!1,animationDelay:N}=e,k=(0,c.f)("en-gb"),Z=(0,p.useRef)(null),_=(0,p.useRef)(null),C=(0,p.useRef)(null),S=(0,p.useRef)(null),R=(0,p.useRef)(null);(0,p.useEffect)(()=>{let e=d.Z.timeline({easing:"easeInCubic"});w&&Z.current&&e.add({targets:[Z.current],scale:[.9,1],opacity:[0,1],duration:400},N||0),w&&_.current&&e.add({targets:_.current,scale:[.95,1],opacity:[0,1],duration:400},"-=200"),w&&C.current&&e.add({targets:[C.current],opacity:[0,1],duration:200}),w&&S.current&&e.add({targets:[S.current],opacity:[0,1],duration:200},"-=100"),w&&R.current&&e.add({targets:[R.current],opacity:[0,1],duration:200})},[]);let F="video"===x;return(0,a.jsx)(a.Fragment,{children:(0,a.jsxs)("div",{className:(0,u.Z)(["relative lg:mx-auto lg:w-auto",j]),children:[(0,a.jsx)("div",{className:(0,u.Z)(["bg-white/10 backdrop-blur-xl absolute left-0 top-0 w-full h-full z-10 rounded-3xl","lg:rounded-2rem",w&&"opacity-0 scale-90"]),ref:Z}),(0,a.jsxs)("div",{className:"relative z-20 border-0 p-5 flex flex-row w-auto justify-between gap-5 items-center min-h-[8rem] lg:px-6 lg:py-7 lg:w-full",children:[f&&(0,a.jsx)("div",{className:(0,u.Z)("hidden h-32 rounded-full aspect-square border-1 border-yellow lg:block",w&&"opacity-0 scale-95"),ref:_,children:(0,a.jsx)(n.Z,{field:f,className:"object-cover w-64 roun
1ded-full aspect-square border-1 border-yellow"})}),(0,a.jsxs)("div",{className:(0,u.Z)("text-white",w&&"opacity-0"),ref:C,children:[m&&(0,a.jsx)("h3",{className:"font-semibold text-heading-6",children:m}),h&&(0,a.jsx)(i.Z,{className:"text-base lg:max-w-sm",data:h})]}),!F&&(0,a.jsx)("div",{className:(0,u.Z)(w&&"opacity-0"),ref:S,children:(0,a.jsx)(s.Z,{url:v,link_type:b,className:(0,u.Z)("flex items-center justify-center w-12 p-4 transition-all border-2 rounded-full aspect-square bg-yellow border-yellow lg:w-14 hover:bg-opacity-0 hover:-rotate-45 group"),label:"".concat(null==k?void 0:null===(t=k.components)||void 0===t?void 0:null===(l=t.hero_link_card)||void 0===l?void 0:l.go_to," ").concat(m),children:(0,a.jsx)(r.JO,{type:"arrow",className:"w-5 transition-transform fill-purple group-hover:fill-yellow"})})}),F&&g&&(0,a.jsx)("div",{className:(0,u.Z)("h-auto",w&&"opacity-0"),ref:R,children:(0,a.jsx)(o.default,{video:g,thumbnail:f,className:"relative z-30 overflow-hidden rounded-full aspect-square",isSmall:!0,hasPopup:!0})})]})]})})}},6713:function(e,l,t){t.d(l,{default:function(){return m}});var a=t(57437),r=t(26497),n=t(97022),s=t(38497),i=t(90361),o=t(37583),c=t(54365);function d(e){let{link:l,type:t,className:r,iconClassName:n,label:s}=e;return(0,a.jsx)(o.Z,{...l,className:(0,c.Z)("group",r),label:s,target:"youtube"===t?"_blank":"_self",children:(0,a.jsx)("span",{className:"inline-flex items-center justify-center w-12 h-12 transition-colors border-2 border-white rounded-full group-hover:border-yellow",children:(0,a.jsx)(i.ZP,{type:t,className:(0,c.Z)("w-4 text-white transition-colors group-hover:text-yellow",n)})})})}var u=t(88862),p=t(89258),x=t(2265);function m(e){var l,t;let{name:i,position:o,image:m,bio:f,twitter:h,linkedin:g,generic_link:v,className:b}=e,[y,j]=(0,x.useState)(!1),w=(0,u.f)("en-gb");return(0,x.useEffect)(()=>{(0,p.Z)(y)},[y]),(0,a.jsxs)(a.Fragment,{children:[(0,a.jsxs)("button",{onClick:function(){j(!y)},"aria-label":"".concat(w.components.person_card.view_information," ").concat(i),className:(0,c.Z)("relative flex flex-col justify-end aspect-square w-72 rounded-3xl p-8 shrink-0 md:w-full lg:rounded-2rem",b),children:[(0,a.jsxs)("div",{className:"absolute inset-0 w-full h-full",children:[m&&(0,a.jsx)(r.Z,{field:m,className:"object-cover w-full h-full rounded-3xl lg:rounded-2rem"}),(0,a.jsx)("span",{className:"absolute inline-block inset-0 w-full h-full opacity-60 bg-gradient-to-t from-black from-30% to-black/0 to-70% rounded-3xl lg:rounded-2rem"})]}),(i||o)&&(0,a.jsxs)("div",{className:"relative flex flex-col text-left text-white gap-y-1",children:[i&&(0,a.jsx)("h3",{className:"font-bold text-heading-3",children:i}),o&&(0,a.jsx)(s.Z,{data:o,className:"text-small-body"})]})]}),y&&(0,a.jsx)(n.Z,{open:y,setOpen:j,childrenWrapperClassName:"flex justify-center",children:(0,a.jsxs)("div",{className:"flex flex-col max-w-lg max-h-full overflow-auto text-white gap-y-8 md:max-w-none md:grid md:items-start md:grid-cols-8 md:gap-x-4 lg:gap-x-10 lg:py-20 hide-scrollbar",children:[m&&(0,a.jsx)(r.Z,{field:m,className:"object-cover aspect-square rounded-3xl md:col-span-4 lg:rounded-2rem md:sticky md:top-0"}),(0,a.jsxs)("div",{className:"flex flex-col gap-y-8 md:col-span-4 md:gap-y-10 md:overflow-y-auto md:max-h-full md:pr-2",children:[(i||o||f)&&(0,a.jsxs)("div",{className:"flex flex-col gap-y-2.5",children:[i&&(0,a.jsx)("span",{className:"font-bold text-heading-3",children:i}),o&&(0,a.jsx)(s.Z,{data:o,className:"text-small-body"}),f&&(0,a.jsx)(s.Z,{data:f})]}),(g||h||v)&&(0,a.jsxs)("div",{className:"flex items-center flex-wrap gap-x-2.5 gap-y-4",children:[(0,a.jsx)("span",{className:"",children:null==w?void 0:null===(t=w.components)||void 0===t?void 0:null===(l=t.person_card)||void 0===l?void 0:l.connect}),g&&(0,a.jsx)(d,{link:g,type:"linkedin"}),h&&(0,a.jsx)(d,{link:h,type:"twitter"}),v&&(0,a.jsx)(d,{link:v,type:"hyperlink"})]})]})]})})]})}},53571:function(e,l,t){t.d(l,{Z:function(){return o}});var a=t(57437),r=t(90361),n=t(88862),s=t(54365),i=t(2265);function o(e){var l,t,o,u;let{itemsLength:p,callback:x,activeIndex:m,className:f,children:h,hasMobileControls:g=!1,hasDarkControl
1s:v=!1,noGap:b=!1,autoScrollInterval:y=7500}=e,j=(0,i.useRef)(null),w=(0,i.useRef)(null),N=function(e){let l=(0,i.useRef)(null),[t,a]=(0,i.useState)(!1);return(0,i.useEffect)(()=>{l.current=new IntersectionObserver(e=>{let[l]=e;return a(l.isIntersecting)})},[]),(0,i.useEffect)(()=>{var t;if(e.current)return null===(t=l.current)||void 0===t||t.observe(e.current),()=>{var e;null===(e=l.current)||void 0===e||e.disconnect()}},[e]),t}(j),k=(0,i.useRef)(null),Z=[];for(let e=0;e<p;e++)Z.push(null);let _=(0,n.f)("en-gb");function C(e){if(window.innerWidth<1024&&!g&&k.current){clearInterval(k.current);return}c(k,w,p,x,y)}function S(e){c(k,w,p,x,y),x(e)}return(0,i.useEffect)(()=>(w.current=m,window.addEventListener("resize",C),()=>{window.removeEventListener("resize",C)}),[m]),(0,i.useEffect)(()=>{(function(e,l,t,a,r){let n=arguments.length>5&&void 0!==arguments[5]&&arguments[5],s=arguments.length>6?arguments[6]:void 0,i=arguments.length>7&&void 0!==arguments[7]?arguments[7]:7500;if(s){var o;null===l.current&&r(0),a.current&&clearInterval(a.current),((null===(o=window)||void 0===o?void 0:o.innerWidth)>1024||n)&&(a.current=d(l,t,r,i))}})(j,w,p,k,x,g,N,y)},[N]),(0,a.jsxs)("div",{className:(0,s.Z)(["flex flex-col",!b&&"lg:gap-y-10",f]),ref:j,children:[(0,a.jsxs)("div",{className:(0,s.Z)("items-center justify-end hidden rounded-full gap-x-3 lg:flex",p<2&&"invisible"),children:[(0,a.jsx)("button",{onClick:()=>S(Math.max((m||0)-1,0)),className:(0,s.Z)(["border-2 rounded-full aspect-square p-4 transition-opacity z-10 disabled:opacity-50",0!==m&&"group",v?"border-green":"border-white"]),disabled:0===m,"aria-label":null==_?void 0:null===(t=_.components)||void 0===t?void 0:null===(l=t.carouselControls)||void 0===l?void 0:l.go_to_prev_slide,children:(0,a.jsx)(r.ZP,{type:"chevron",className:"w-5 h-5",pathclass:v?"stroke-green":"stroke-white"})}),(0,a.jsx)("button",{onClick:()=>S(Math.min((m||0)+1,p)),className:(0,s.Z)(["border-2 rounded-full aspect-square p-4 transition-opacity z-10 flex disabled:opacity-50",m!==p-1&&"group",v?"border-green":"border-white"]),disabled:m===p-1,"aria-label":null==_?void 0:null===(u=_.components)||void 0===u?void 0:null===(o=u.carouselControls)||void 0===o?void 0:o.go_to_next_slide,children:(0,a.jsx)(r.ZP,{type:"chevron",className:"w-5 h-5 rotate-180",pathclass:v?"stroke-green":"stroke-white"})})]}),h,(0,a.jsx)("div",{className:(0,s.Z)(["justify-center gap-x-2 mt-auto lg:justify-end",g?"flex":"hidden lg:flex",!v&&"pt-8",p<2&&"invisible"]),children:Z.map((e,l)=>(0,a.jsxs)("div",{className:"relative flex w-8 h-3 overflow-hidden rounded-full",children:[(0,a.jsx)("button",{className:(0,s.Z)(["transition-colors duration-200 w-full h-full",v?"bg-purple/25 hover:bg-purple/50":"bg-white/25 hover:bg-white/50"]),disabled:m===l,onClick:()=>S(l),"aria-label":"".concat(_.components.carouselControls.go_to_slide," ").concat(l)}),(0,a.jsx)("div",{className:(0,s.Z)(["h-full w-full scale-x-0 origin-left transition-all absolute left-0 bottom-0",m===l&&"scale-x-100 ease-linear duration-[".concat(y,"ms]"),v?"bg-purple":"bg-white"])})]},"carousel-controls-".concat(l)))})]})}function c(e,l,t,a){let r=arguments.length>4&&void 0!==arguments[4]?arguments[4]:7500;e.current&&(clearInterval(e.current),e.current=d(l,t,a,r))}function d(e,l,t){let a=arguments.length>3&&void 0!==arguments[3]?arguments[3]:7500;return setInterval(()=>{"number"==typeof e.current&&t(e.current+1>l-1?0:e.current+1)},a)}},43739:function(e,l,t){t.d(l,{default:function(){return u}});var a=t(57437),r=t(59150),n=t(54365);let s={schedules:{accentColor:"#3498DB",bgColor:"rgba(52, 152, 219, 0.15)"},"electronic bill of lading":{accentColor:"#9B59F6",bgColor:"rgba(155, 89, 246, 0.15)"},"tracking & compliance":{accentColor:"#00C7B1",bgColor:"rgba(0, 199, 177, 0.15)"}},i={accentColor:"#6B7280",bgColor:"rgba(107, 114, 128, 0.15)"};function o(e){let{status:l}=e;return(0,a.jsx)("div",{className:(0,n.Z)("w-3 h-3 rounded-full mx-auto transition-all","confirmed"===l&&"bg-[#2CD07D]","in_progress"===l&&"bg-[#FFB828]","not_supported"===l&&"border border-grey-neutral/30 bg-transparent"),title:"confirmed"===l?"Implemented, full scope":"in_progress"===l?"Implemented (full scope and/or conformance not yet verified)":"Not implemented"})}function c(){return(0,a.jsxs)("div",{className:"flex flex-wrap gap-6 mb-8 text-small-body text-grey-light",children:[(0,a.jsxs)("div",{className:"flex items-center gap-2",children:[(0,a.jsx)("div",{className:"w-3 h-3 rounded-full bg-[#2CD07D]"}),(0,a.jsx)("span",{children:"Implemented, full scope"})]}),(0,a.jsxs)("div",{className:"flex items-center gap-2",children:[(0,a.jsx)("div",{className:"w-3 h-3 rounded-full bg-[#FFB828]"}),(0,a.jsx)("span",{children:"Implemented (full scope and/or conformance not yet verified)"})]}),(0,a.jsxs)("div",{className:"flex items-center gap-2",children:[(0,a.jsx)("div",{className:"w-3 h-3 border rounded-full border-grey-neutral/30"}),(0,a.jsx)("span",{children:"Not implemented"})]})]})}function d(e){var l;let{carrier:t}=e,r=t.data.name||"Unknown",n=null===(l=t.data.website)||void 0===l?void 0:l.url;return n?(0,a.jsx)("a",{href:n,target:"_blank",rel:"noopener noreferrer",className:"px-2 font-medium text-center transition-colors text-tiny-body text-grey-light hover:text-white hover:underline whitespace-nowrap",title:r,children:r}):(0,a.jsx)("div",{className:"px-2 font-medium text-center text-tiny-body text-grey-light whitespace-nowrap",title:r,children:r})}function u(e){let{standards:l,carriers:t}=e,u=["MSC","Maersk","CMA CGM","Hapag-Lloyd","One","Evergreen","HMM","Zim","Yang Ming","PIL"],p=[...t].sort((e,l)=>{let t=e.data.name||"",a=l.data.name||"",r=u.findIndex(e=>e.toLowerCase()===t.toLowerCase()),n=u.findIndex(e=>e.toLowerCase()===a.toLowerCase());return -1!==r&&-1!==n?r-n:-1!==r?-1:-1!==n?1:t.localeCompare(a)}),x=l.reduce((e,l)=>{let t=l.data.category||"Other";return e[t]||(e[t]=[]),e[t].push(l),e},{}),m=Object.keys(x),f=e=>{let l=e.data.conformance||[];return p.map(e=>l.find(l=>{var t;return(null===(t=l.carrier)||void 0===t?void 0:t.id)===e.id})||null)},h={display:"grid",gridTemplateColumns:"minmax(280px, 1fr) repeat(".concat(p.length,", 100px)"),gap:"0.25rem"};return(0,a.jsxs)("div",{className:"overflow-x-auto",children:[(0,a.jsx)(c,{}),(0,a.jsx)("div",{className:"min-w-[900px]",children:m.map(e=>{let l=x[e];if(!l||0===l.length)return null;let t=s[e.toLowerCase()]||i;return(0,a.jsxs)("div",{className:"mb-8",children:[(0,a.jsx)("div",{className:"py-2 pl-4 mb-3 font-semibold text-white rounded-lg text-heading-5",style:{backgroundColor:t.bgColor,borderLeft:"4px solid ".concat(t.accentColor)},children:e}),(0,a.jsxs)("div",{className:"pb-2 mb-2 border-b border-grey-neutral/20",style:h,children:[(0,a.jsx)("div",{className:"pl-4 font-semibold text-small-body text-grey-light",children:"Standard"}),p.map(e=>(0,a.jsx)(d,{carrier:e},e.id))]}),l.map((l,t)=>{let s=f(l),i=l.data.module,c=l.data.version,d=l.data.specification_scope,u=i&&"n/a"!==i.toLowerCase()?i:e;return(0,a.jsxs)("div",{className:(0,n.Z)("py-3 items-center",t%2==0?"bg-purple-light/30":"bg-transparent","hover:bg-purple-light/50 transition-colors rounded-lg"),style:h,children:[(0,a.jsxs)("div",{className:"pl-4",children:[(0,a.jsxs)("div",{className:"font-medium text-white text-body",children:[u,c&&(0,a.jsxs)("span",{className:"ml-2 text-tiny-body text-grey-neutral",children:["v",c]})]}),d&&(0,a.jsx)("div",{className:"text-tiny-body text-grey-neutral mt-1 [&_p]:m-0",children:(0,a.jsx)(r.v,{field:d})})]}),s.map((e,l)=>(0,a.jsx)("div",{className:"flex items-center justify-center",children:(0,a.jsx)(o,{status:(null==e?void 0:e.status)||"not_supported"})},l))]},l.id)})]},e)})})]})}},22857:function(e,l,t){t.d(l,{default:function(){return x}});var a=t(57437),r=t(88862),n=t(89258),s=t(56873),i=t(54365),o=t(2265),c=t(54887),d=t(53746),u=t(90361),p=t(38497);function x(e){let{className:l,agreementText:t}=e,r="00D2o000000YvHJ",[n,s]=(0,o.useState)({message:"",email:"",response:""}),[c,d]=(0,o.useState)(!1),u=(0,o.useRef)(null),p=(0,o.useRef)(null),x=(0,o.useRef)(null),g=(0,o.useRef)(null),v=(0,o.useRef)(null),b=(0,o.useRef)(null),y=(0,o.useRef)(null),j=(0,o.useRef)(null),w=(0,o.useRef)(null),N=(0,o.useRef)(null),k=(0,o.useRef)(Date.now().toString()),Z=()=>{var e;let l=!1;if((null==y?void 0:null===(e=y.current)||void 0===e?void 0:e.value)&&!(y.current.value.length<50)||(l=!0,s(e=>({...e,message:"Please enter a message with at least 50 characters"}))),g.current){let e=g.current.value.trim(),t=/[a-z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[a-z0-9!#$%&'*+/=?^_`{|}~-]+)*@(?:[a-z0-9](?:[a-z0-9-]*[a-z0-9])?\.)+[a-z0-9](?:[a-z0-9-]*[a-z0-9])?/.test(e.toLowerCase());e&&t||(l=!0,s(e=>({...e,email:"Please enter a valid email address"}))),g.current.value=e}return l||s({message:"",email:"",response:""}),l},_=async e=>{var l,t;if(e.preventDefault(),!(null===(t=window)||void 0===t?void 0:null===(l=t.grecaptcha)||void 0===l?void 0:l.getResponse().length)>0){s(e=>({...e,response:"Check the recaptcha box below"}));return}s(e=>({...e,response:" "}));let a=new FormData(e.currentTarget);if(Z())return;let n=k.current,i=JSON.stringify({keyname:"recaptcha_new_site2",fallback:"true",orgId:r||"",ts:"".concat(n)});a.append("external","1"),a.append("orgid",r||""),a.append("retURL","https://dcsa.org/"),a.append("captcha_settings",i);try{let e=await fetch("/api/contact-form",{method:"POST",body:a});if(e.ok&&200===e.status&&N.current){N.current.reset(),s({message:"",email:"",response:""}),d(!0);return}switch(e.status){case 400:s(e=>({...e,response:"Something went wrong. Please try again later."}));break;case 403:case 404:case 500:case 503:s(e=>({...e,response:"Service is unavailable. Please try again later."}));break;default:s(e=>({...e,response:"Unhandled error. Please try again later."}))}}catch(e){s(e=>({...e,response:"Service is unavailable. Please try again later."}))}};return(0,o.useEffect)(()=>{let e;let l="https://www.google.com/recaptcha/api.js",t=document.querySelector('script[src="'.concat(l,'"]'));t||((e=document.createElement("script")).src=l,document.head.appendChild(e));let a=setInterval(function(){k.current=JSON.stringify(new Date().getTime())},500);return()=>{!t&&e&&document.head.removeChild(e),clearInterval(a)}},[]),(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(m,{className:l,handleSubmit:_,errors:n,siteKey:"6LdwAFwpAAAAAHvdQQopTBgVDbkhiCBmZUw5gruW",formRef:N,subjectRef:u,firstNameRef:p,lastNameRef:x,emailRef:g,organizationRef:v,organizationTypeRef:b,messageRef:y,signUpForUpdatesRef:j,submitButton:w,agreementText:t}),(0,a.jsx)(h,{open:c,setOpen:d,childrenWrapperClassName:(0,i.Z)("flex flex-col gap-y-4 items-center justify-center bg-green"),children:(0,a.jsx)(f,{})})]})}function m(e){let{handleSubmit:l,className:t,errors:r,formRef:n,subjectRef:s,firstNameRef:o,lastNameRef:c,emailRef:d,organizationRef:u,organizationTypeRef:x,messageRef:m,signUpForUpdatesRef:f,submitButton:h,agreementText:g,siteKey:v}=e;return(0,a.jsx)("div",{className:(0,i.Z)("w-full p-7 lg:p-10",t),children:(0,a.jsxs)("form",{method:"post",onSubmit:l,className:"relative z-10 grid grid-cols-2 gap-6 text-white rounded-full inpage-form lg:gap-8",ref:n,children:[(0,a.jsxs)("div",{className:"flex flex-col gap-5 col-span-full md:grid md:grid-cols-2 md:col-span-1",children:[(0,a.jsxs)("div",{className:"md:col-span-1 inpage-input",children:[(0,a.jsx)("label",{htmlFor:"contactForm-first_name",children:"First name*:"}),(0,a.jsx)("input",{id:"contactForm-first_name",name:"00N2o000007WKcK",type:"text",maxLength:255,required:!0,placeholder:"First name",ref:o,className:"w-auto"})]}),(0,a.jsxs)("div",{className:"inpage-input",children:[(0,a.jsx)("label",{htmlFor:"contactForm-lastName",children:"Last name*:"}),(0,a.jsx)("input",{id:"contactForm-lastName",name:"00N2o000007WKcL",type:"text",maxLength:255,required:!0,placeholder:"Last name",ref:c})]}),(0,a.jsxs)("div",{className:"inpage-input inpage-email",children:[(0,a.jsx)("label",{htmlFor:"contactForm-email",children:"Email*:"}),(0,a.jsx)("input",{id:"contactForm-email",name:"email",type:"email",pattern:"[a-z0-9._%+-]+@[a-z0-9.-]+\\.[a-z]{2,4}$",maxLength:80,required:!0,placeholder:"Email",ref:d,className:(0,i.Z)(r.email&&"input-invalid")}),r.email&&(0,a.jsx)("p",{className:"error-message",children:r.email})]}),(0,a.jsxs)("div",{className:"inpage-input",children:[(0,a.jsx)("label",{htmlFor:"contactForm-organisation",children:"Organisation*:"}),(0,a.jsx)("input",{id:"contactForm-organisation",name:"00N2o000007WKcM",type:"text",maxLength:255,required:!0,placeholder:"Organisation",ref:u})]}),(0,a.jsxs)("div",{className:"inpage-select",children:[(0,a.jsx)("label",{htmlFor:"contactForm-orgtype",children:"Type Of Organisation*:"}),(0,a.jsxs)("select",{id:"contactForm-orgtype",name:"00N2o000006VGCf",title:"Type Of Organisation",required:!0,ref:x,children:[(0,a.jsx)("option",{value:"",children:"--None--"}),(0,a.jsx)("option",{value:"BCO / Shipper",children:"BCO / Shipper"}),(0,a.jsx)("option",{value:"Financial Services",children:"Financial Services"}),(0,a.jsx)("option",{value:"Solution Provider",children:"Solution Provider"}),(0,a.jsx)("option",{value:"Carrier or Feeder",children:"Carrier or Feeder"}),(0,a.jsx)("option",{value:"Logistics (non vessel)",children:"Logistics (non vessel)"}),(0,a.jsx)("option",{value:"Freight Forwarder",children:"Freight Forwarder"}),(0,a.jsx)("option",{value:"Port, Terminal or Depot",children:"Port, Terminal or Depot"}),(0,a.jsx)("option",{value:"Public",children:"Public"}),(0,a.jsx)("option",{value:"Services (non-vessel related)",children:"Services (non-vessel related)"}),(0,a.jsx)("option",{value:"Services (vessel related)",children:"Services (vessel related)"})]})]})]}),(0,a.jsxs)("div",{className:"flex flex-col col-span-1 gap-5",children:[(0,a.jsxs)("div",{className:"col-span-full inpage-input",children:[(0,a.jsx)("label",{htmlFor:"subject",children:"Subject:"}),(0,a.jsx)("input",{id:"subject",name:"subject",type:"text",maxLength:80,size:20,placeholder:"Subject",ref:s,className:"w-auto"})]}),(0,a.jsxs)("div",{className:"flex flex-col h-full inpage-textarea col-span-full md:col-span-1",children:[(0,a.jsx)("label",{htmlFor:"contactForm-description",children:"Message* (minimum 50 characters)"}),(0,a.jsx)("textarea",{id:"contactForm-description",name:"description",required:!0,placeholder:"Enter your message here",minLength:50,rows:4,ref:m,className:(0,i.Z)("h-full",r.message&&"input-invalid")}),r.message&&(0,a.jsx)("p",{className:"error-message",children:r.message})]})]}),(0,a.jsx)("div",{className:"col-span-full",children:(0,a.jsx)(p.Z,{data:g,className:"text-small-body"})}),(0,a.jsx)("div",{className:"inpage-checkbox col-span-full md:col-span-1",children:(0,a.jsxs)("label",{htmlFor:"contactForm-checkbox",children:["Sign up for email updates",(0,a.jsx)("input",{id:"contactForm-checkbox",name:"00N2o000007WKcN",type:"checkbox",ref:f,value:"1"}),(0,a.jsx)("span",{className:"inpage-checkmark"})]})}),(0,a.jsx)("div",{className:"col-span-full md:place-self-end md:col-span-1",children:(0,a.jsx)("input",{type:"submit",name:"submit",className:"px-5 py-3 transition-all cursor-pointer lg:px-6 rounded-5xl enabled:hover:rounded-lg",id:"salesforcebutton-contactForm",ref:h,value:"Submit"})}),r.response&&(0,a.jsx)("p",{className:"error-message col-span-full",children:r.response}),(0,a.jsx)("div",{className:"col-span-full w-fit",children:(0,a.jsx)("div",{className:"g
1-recaptcha","data-sitekey":v})})]})})}function f(){return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(u.ZP,{className:"w-20 fill-white stroke-white",type:"successMessage"}),(0,a.jsx)("p",{className:"text-big-body",children:"Message sent!"}),(0,a.jsx)("p",{children:"Someone from our team will be in touch with you shortly."})]})}function h(e){var l,t;let{open:p,setOpen:x,children:m,elementRef:f,childrenWrapperClassName:h,containerClassName:g}=e,v=(0,r.f)("en-gb"),b=(0,o.useRef)(null),y=(0,o.useRef)(null);function j(e){"Escape"===e.key&&w()}function w(){s.Z.timeline({easing:"easeInCubic"}).add({targets:y.current,opacity:[1,0],translateY:[0,"1rem"],duration:300}).add({targets:b.current,opacity:[1,0],scale:[1,0],duration:500,complete:()=>{(0,n.Z)(!1),x(!1)}})}return(0,o.useEffect)(()=>{document.addEventListener("keydown",j);let e=s.Z.timeline({easing:"easeInCubic"});return p&&((0,n.Z)(!0),setTimeout(()=>{e.add({targets:b.current,opacity:[0,1],scale:[0,1],duration:500}).add({targets:y.current,opacity:[0,1],translateY:["1rem",0],duration:300})},200)),()=>{document.removeEventListener("keydown",w)}},[p]),(0,a.jsx)(a.Fragment,{children:p&&(0,c.createPortal)((0,a.jsx)("div",{className:"fixed top-0 left-0 z-50 flex items-center justify-center w-full h-full text-white origin-center bg-transparent",children:(0,a.jsx)(d.Z,{containerRef:b,className:(0,i.Z)("z-20 w-full h-auto scale-0 flex justify-center items-center grid-flow-row-dense max-h-full overflow-auto opacity-0 lg:relative lg:overflow-hidden lg:px-0 lg:w-popup lg:h-auto",g),children:(0,a.jsx)("div",{className:"relative pt-16 pb-8 col-span-full lg:py-0",children:(0,a.jsx)("div",{className:"relative w-full h-full",children:(0,a.jsx)("div",{className:(0,i.Z)("relative z-20 col-span-full rounded-3xl h-full w-full aspect-square mx-auto max-w-xl overflow-hidden opacity-0 translate-y-4 lg:rounded-2rem lg:max-h-[80vh] p-5 lg:overflow-auto lg:px-20",h),ref:y,children:(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("button",{className:"absolute z-30 cursor-pointer right-4 top-4 group lg:right-8 lg:top-8",onClick:()=>w(),"aria-label":(null==v?void 0:null===(t=v.components)||void 0===t?void 0:null===(l=t.popup)||void 0===l?void 0:l.close)||"Close",children:(0,a.jsx)(u.ZP,{type:"plus",className:"w-8 h-8 transition-transform -rotate-45 fill-white group-hover:rotate-45"})}),m]})})})})})}),f&&(null==f?void 0:f.current)?f.current:document.body)})}},53746:function(e,l,t){t.d(l,{Z:function(){return n}});var a=t(57437),r=t(54365);function n(e){let{children:l,className:t,containerRef:n,dataScroll:s,withPadding:i=!0}=e;return(0,a.jsx)("div",{className:(0,r.Z)(["grid grid-cols-4 max-w-container mx-auto gap-x-4 md:grid-cols-8 lg:gap-x-10 xl:grid-cols-12",t,i&&"px-5 md:px-20"]),ref:n,"data-scroll":s,children:l})}},25807:function(e,l,t){t.d(l,{CopyLinkButton:function(){return o}});var a=t(57437),r=t(90361),n=t(88862),s=t(54365),i=t(2265);function o(e){var l;let{urlToCopy:t}=e,o=(0,n.f)("en-gb"),[c,d]=(0,i.useState)(!1);return(0,a.jsx)("button",{type:"button",onClick:function(){navigator.clipboard.writeText(t).then(()=>{d(!0),setTimeout(()=>{d(!1)},1500)}).catch(()=>{d(!1)})},className:"group","aria-label":null==o?void 0:null===(l=o.news)||void 0===l?void 0:l.copy_button,disabled:c,children:(0,a.jsx)("span",{className:"inline-flex items-center justify-center w-12 h-12 transition-colors border-2 border-white rounded-full group-hover:border-yellow",children:(0,a.jsxs)("span",{className:"relative w-4 h-4",children:[(0,a.jsx)(r.ZP,{type:"tick",className:(0,s.Z)("absolute w-4 stroke-white transition-all top-1/2 -translate-y-1/2 group-hover:stroke-yellow",c?"opacity-100 visible":"opacity-0 invisible")}),(0,a.jsx)(r.ZP,{type:"copyLink",className:(0,s.Z)("absolute w-4 fill-white transition-all group-hover:fill-yellow",c?"opacity-0 invisible":"opacity-100 visible")})]})})})}},51721:function(e,l,t){t.d(l,{Z:function(){return s}});var a=t(57437),r=t(90361),n=t(54365);function s(e){let{className:l,iconClassName:t,orientation:s="down"}=e;return(0,a.jsxs)("span",{className:(0,n.Z)("inline-block aspect-square w-full relative overflow-hidden",l),children:[(0,a.jsx)("span",{className:(0,n.Z)("inline-flex items-center justify-center absolute inset-0 w-full h-full p-px transition-transform","down"===s&&"-translate-y-full rotate-90 group-hover/disappearingArrow:translate-y-0","right"===s&&"-translate-x-full group-hover/disappearingArrow:translate-x-0"),children:(0,a.jsx)(r.ZP,{type:"arrow",className:t})}),(0,a.jsx)("span",{className:(0,n.Z)("inline-flex items-center justify-center absolute inset-0 w-full h-full p-px transition-transform","down"===s&&"translate-y-0 rotate-90 group-hover/disappearingArrow:translate-y-full","right"===s&&"translate-x-0 group-hover/disappearingArrow:translate-x-full"),children:(0,a.jsx)(r.ZP,{type:"arrow",className:t})})]})}},82133:function(e,l,t){t.d(l,{default:function(){return x}});var a=t(57437),r=t(88862),n=t(89258),s=t(56873),i=t(54365),o=t(2265),c=t(54887),d=t(53746),u=t(90361),p=t(38497);function x(e){let{className:l,agreementText:t}=e,r="00D2o000000YvHJ",[n,s]=(0,o.useState)({message:"",email:"",response:""}),[c,d]=(0,o.useState)(!1),u=(0,o.useRef)(null),p=(0,o.useRef)(null),x=(0,o.useRef)(null),g=(0,o.useRef)(null),v=(0,o.useRef)(null),b=(0,o.useRef)(null),y=(0,o.useRef)(null),j=(0,o.useRef)(null),w=(0,o.useRef)(null),N=(0,o.useRef)(null),k=(0,o.useRef)(null),Z=(0,o.useRef)(Date.now().toString()),_=()=>{var e;let l=!1;if((null==j?void 0:null===(e=j.current)||void 0===e?void 0:e.value)&&!(j.current.value.length<50)||(l=!0,s(e=>({...e,message:"Please enter a message with at least 50 characters"}))),x.current){let e=x.current.value.trim(),t=/[a-z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[a-z0-9!#$%&'*+/=?^_`{|}~-]+)*@(?:[a-z0-9](?:[a-z0-9-]*[a-z0-9])?\.)+[a-z0-9](?:[a-z0-9-]*[a-z0-9])?/.test(e.toLowerCase());e&&t||(l=!0,s(e=>({...e,email:"Please enter a valid email address"}))),x.current.value=e}return l||s({message:"",email:"",response:""}),l},C=async e=>{var l,t;if(e.preventDefault(),!(null===(t=window)||void 0===t?void 0:null===(l=t.grecaptcha)||void 0===l?void 0:l.getResponse().length)>0){s(e=>({...e,response:"Check the recaptcha box below"}));return}s(e=>({...e,response:" "}));let a=new FormData(e.currentTarget);if(_())return;let n=Z.current,i=JSON.stringify({keyname:"recaptcha_new_site2",fallback:"true",orgId:r||"",ts:"".concat(n)});a.append("external","1"),a.append("orgid",r||""),a.append("retURL","https://dcsa.org/"),a.append("captcha_settings",i);try{let e=await fetch("/api/contact-form",{method:"POST",body:a});if(e.ok&&200===e.status&&k.current){k.current.reset(),s({message:"",email:"",response:""}),d(!0);return}switch(e.status){case 400:s(e=>({...e,response:"Something went wrong. Please try again later."}));break;case 403:case 404:case 500:case 503:s(e=>({...e,response:"Service is unavailable. Please try again later."}));break;default:s(e=>({...e,response:"Unhandled error. Please try again later."}))}}catch(e){s(e=>({...e,response:"Service is unavailable. Please try again later."}))}};function S(){N.current&&(N.current.disabled=!1)}return(0,o.useEffect)(()=>{let e;let l="https://www.google.com/recaptcha/api.js";window.enableSubmit=S;let t=document.querySelector('script[src="'.concat(l,'"]'));t||((e=document.createElement("script")).src=l,document.head.appendChild(e));let a=setInterval(function(){Z.current=JSON.stringify(new Date().getTime())},500);return()=>{!t&&e&&document.head.removeChild(e),clearInterval(a)}},[]),(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(m,{className:l,handleSubmit:C,errors:n,siteKey:"6LdwAFwpAAAAAHvdQQopTBgVDbkhiCBmZUw5gruW",formRef:k,firstNameRef:u,lastNameRef:p,emailRef:x,standardRef:g,feedbackTypeRef:v,organizationRef:b,organizationTypeRef:y,messageRef:j,signUpForUpdatesRef:w,submitButton:N,agreementText:t}),(0,a.jsx)(h,{open:c,setOpen:d,childrenWrapperClassName:(0,i.Z)("flex flex-col gap-y-4 items-center justify-center bg-green"),children:(0,a.jsx)(f,{})})]})}function m(e){let{handleSubmit:l,className:t,errors:r,formRef:n,firstNameRef:s,lastNameRef:o,emailRef:c,organizationRef:d,organizationTypeRef:u,feedbackTypeRef:x,standardRef:m,messageRef:f,signUpForUpdatesRef:h,submitButton:g,agreementText:v,siteKey:b}=e;return(0,a.jsx)("div",{className:(0,i.Z)("w-full p-7 lg:p-10",t),children:(0,a.jsxs)("form",{method:"post",onSubmit:l,className:"relative z-10 grid gap-6 text-white rounded-full md:grid-cols-2 inpage-form lg:gap-8",ref:n,children:[(0,a.jsxs)("div",{className:"inpage-select",children:[(0,a.jsx)("label",{htmlFor:"feedbackForm-standard",children:"Please select the standard youâd like to provide feedback on*:"}),(0,a.jsxs)("select",{id:"feedbackForm-standard",name:"00NVg000000CCNB",title:"Standard",required:!0,ref:m,children:[(0,a.jsx)("option",{value:"",children:"--None--"}),(0,a.jsx)("option",{value:"Booking",children:"Booking"}),(0,a.jsx)("option",{value:"eBL",children:"eBL"}),(0,a.jsx)("option",{value:"Track and Trace",children:"Track and Trace"}),(0,a.jsx)("option",{value:"Commercial Schedules",children:"Commercial Schedules"}),(0,a.jsx)("option",{value:"Operational Vessel Schedules (OVS)",children:"Operational Vessel Schedules (OVS)"}),(0,a.jsx)("option",{value:"Just-in-Time Port Call",children:"Just-in-Time Port Call"}),(0,a.jsx)("option",{value:"Load List and Bay Plan",children:"Load List and Bay Plan"}),(0,a.jsx)("option",{value:"Reefer events",children:"Reefer events"}),(0,a.jsx)("option",{value:"Reefer events",children:"Verified Gross Mass (VGM)"}),(0,a.jsx)("option",{value:"Reefer events",children:"Arrival Notice"})]})]}),(0,a.jsx)("div",{className:"hidden md:block"}),(0,a.jsxs)("div",{className:"inpage-input",children:[(0,a.jsx)("label",{htmlFor:"feedbackForm-first_name",children:"First name*:"}),(0,a.jsx)("input",{id:"feedbackForm-first_name",name:"00N2o000007WKcK",type:"text",maxLength:255,required:!0,placeholder:"First name",ref:s})]}),(0,a.jsxs)("div",{className:"inpage-input",children:[(0,a.jsx)("label",{htmlFor:"feedbackForm-last_name",children:"Last name*:"}),(0,a.jsx)("input",{id:"feedbackForm-last_name",name:"00N2o000007WKcL",type:"text",maxLength:255,required:!0,placeholder:"Last name",ref:o})]}),(0,a.jsxs)("div",{className:"inpage-input inpage-email",children:[(0,a.jsx)("label",{htmlFor:"feedbackForm-email",children:"Email*:"}),(0,a.jsx)("input",{id:"feedbackForm-email",name:"email",type:"email",pattern:"[a-z0-9._%+-]+@[a-z0-9.-]+\\.[a-z]{2,4}$",maxLength:80,required:!0,placeholder:"Email",ref:c,className:(0,i.Z)(r.email&&"input-invalid")}),r.email&&(0,a.jsx)("p",{className:"error-message",children:r.email})]}),(0,a.jsxs)("div",{className:"inpage-input",children:[(0,a.jsx)("label",{htmlFor:"feedbackForm-organisation",children:"Organisation*:"}),(0,a.jsx)("input",{id:"feedbackForm-organisation",name:"00N2o000007WKcM",type:"text",maxLength:255,required:!0,placeholder:"Organisation",ref:d})]}),(0,a.jsxs)("div",{className:"inpage-select",children:[(0,a.jsx)("label",{htmlFor:"feedbackForm-orgtype",children:"Account type*:"}),(0,a.jsxs)("select",{id:"feedbackForm-orgtype",name:"00N2o000006VGCf",title:"Account Type",required:!0,ref:u,children:[(0,a.jsx)("option",{value:"",children:"--None--"}),(0,a.jsx)("option",{value:"BCO / Shipper",children:"BCO / Shipper"}),(0,a.jsx)("option",{value:"Financial Services",children:"Financial Services"}),(0,a.jsx)("option",{value:"Solution Provider",children:"Solution Provider"}),(0,a.jsx)("option",{value:"Carrier or Feeder",children:"Carrier or Feeder"}),(0,a.jsx)("option",{value:"Logistics (non vessel)",children:"Logistics (non vessel)"}),(0,a.jsx)("option",{value:"Freight Forwarder",children:"Freight Forwarder"}),(0,a.jsx)("option",{value:"Port, Terminal or Depot",children:"Port, Terminal or Depot"}),(0,a.jsx)("option",{value:"Public",children:"Public"}),(0,a.jsx)("option",{value:"Services (non-vessel related)",children:"Services (non-vessel related)"}),(0,a.jsx)("option",{value:"Services (vessel related)",children:"Services (vessel related)"})]})]}),(0,a.jsxs)("div",{className:"w-full h-full inpage-textarea col-span-full",children:[(0,a.jsx)("label",{htmlFor:"feedbackForm-description",children:"Feedback* (minimum 50 characters)"}),(0,a.jsx)("textarea",{id:"feedbackForm-description",name:"description",required:!0,placeholder:"Enter your message here",minLength:50,rows:4,ref:f,className:(0,i.Z)("h-full w-full",r.message&&"input-invalid")}),r.message&&(0,a.jsx)("p",{className:"error-message",children:r.message})]}),(0,a.jsx)("div",{className:"col-span-full",children:(0,a.jsx)(p.Z,{data:v,className:"text-small-body"})}),(0,a.jsx)("div",{className:"inpage-checkbox col-span-full lg:col-span-1",children:(0,a.jsxs)("label",{htmlFor:"feedbackForm-checkbox",children:["Sign up for email updates",(0,a.jsx)("input",{id:"feedbackForm-checkbox",name:"00N2o000007WKcN",type:"checkbox",ref:h,value:"1"}),(0,a.jsx)("span",{className:"inpage-checkmark"})]})}),(0,a.jsx)("div",{className:"col-span-full lg:place-self-end lg:col-span-1",children:(0,a.jsx)("input",{type:"submit",name:"submit",className:"px-5 py-3 transition-all cursor-pointer lg:px-6 rounded-5xl enabled:hover:rounded-lg",id:"salesforcebutton-feedback",ref:g,value:"Submit"})}),r.response&&(0,a.jsx)("p",{className:"error-message col-span-full",children:r.response}),(0,a.jsx)("div",{className:"col-span-full w-fit",children:(0,a.jsx)("div",{className:"g
1-recaptcha","data-sitekey":b})})]})})}function f(){return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(u.ZP,{className:"w-20 fill-white stroke-white",type:"successMessage"}),(0,a.jsx)("p",{className:"text-big-body",children:"Message sent!"}),(0,a.jsx)("p",{children:"Someone from our team will be in touch with you shortly."})]})}function h(e){var l,t;let{open:p,setOpen:x,children:m,elementRef:f,childrenWrapperClassName:h,containerClassName:g}=e,v=(0,r.f)("en-gb"),b=(0,o.useRef)(null),y=(0,o.useRef)(null);function j(e){"Escape"===e.key&&w()}function w(){s.Z.timeline({easing:"easeInCubic"}).add({targets:y.current,opacity:[1,0],translateY:[0,"1rem"],duration:300}).add({targets:b.current,opacity:[1,0],scale:[1,0],duration:500,complete:()=>{(0,n.Z)(!1),x(!1)}})}return(0,o.useEffect)(()=>{document.addEventListener("keydown",j);let e=s.Z.timeline({easing:"easeInCubic"});return p&&((0,n.Z)(!0),setTimeout(()=>{e.add({targets:b.current,opacity:[0,1],scale:[0,1],duration:500}).add({targets:y.current,opacity:[0,1],translateY:["1rem",0],duration:300})},200)),()=>{document.removeEventListener("keydown",w)}},[p]),(0,a.jsx)(a.Fragment,{children:p&&(0,c.createPortal)((0,a.jsx)("div",{className:"fixed top-0 left-0 z-50 flex items-center justify-center w-full h-full text-white origin-center bg-transparent",children:(0,a.jsx)(d.Z,{containerRef:b,className:(0,i.Z)("z-20 w-full h-auto scale-0 flex justify-center items-center grid-flow-row-dense max-h-full overflow-auto opacity-0 lg:relative lg:overflow-hidden lg:px-0 lg:w-popup lg:h-auto",g),children:(0,a.jsx)("div",{className:"relative pt-16 pb-8 col-span-full lg:py-0",children:(0,a.jsx)("div",{className:"relative w-full h-full",children:(0,a.jsx)("div",{className:(0,i.Z)("relative z-20 col-span-full rounded-3xl h-full w-full aspect-square mx-auto max-w-xl overflow-hidden opacity-0 translate-y-4 lg:rounded-2rem lg:max-h-[80vh] p-5 lg:overflow-auto lg:px-20",h),ref:y,children:(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("button",{className:"absolute z-30 cursor-pointer right-4 top-4 group lg:right-8 lg:top-8",onClick:()=>w(),"aria-label":null==v?void 0:null===(t=v.components)||void 0===t?void 0:null===(l=t.popup)||void 0===l?void 0:l.close,children:(0,a.jsx)(u.ZP,{type:"plus",className:"w-8 h-8 transition-transform -rotate-45 fill-white group-hover:rotate-45"})}),m]})})})})})}),f&&(null==f?void 0:f.current)?f.current:document.body)})}},26497:function(e,l,t){t.d(l,{Z:function(){return s}});var a=t(57437),r=t(76686),n=t(54365);function s(e){var l,t;let{field:s,className:i,priority:o,style:c}=e;if(!s||!("url"in s))return null;let d=(null==s?void 0:s.mobile)&&"url"in s.mobile&&(null==s?void 0:null===(l=s.mobile)||void 0===l?void 0:l.url),u=(null==s?void 0:s.tablet)&&"url"in s.tablet&&(null==s?void 0:null===(t=s.tablet)||void 0===t?void 0:t.url);return(0,a.jsxs)(a.Fragment,{children:[d&&(0,a.jsx)(r.PrismicNextImage,{alt:"",field:s.mobile,priority:o,className:(0,n.Z)("block md:hidden",i),style:c}),u&&(0,a.jsx)(r.PrismicNextImage,{alt:"",field:s.tablet,priority:o,className:(0,n.Z)(d?"hidden md:block lg:hidden":"block lg:hidden",i),style:c}),(0,a.jsx)(r.PrismicNextImage,{alt:"",field:s,priority:o,className:(0,n.Z)(d&&u&&"hidden lg:block",!d&&u&&"hidden lg:block",d&&!u&&"hidden md:block",!d&&!u&&"block",i),style:c})]})}},37583:function(e,l,t){t.d(l,{Z:function(){return n}});var a=t(57437),r=t(27648);function n(e){let{url:l,link_type:t,target:n,children:s,className:i,label:o,tabIndex:c=0,onFocus:d,scroll:u}=e;if(!l)return null;if(l.startsWith("#"))return(0,a.jsx)("a",{href:l,className:i,tabIndex:c,"aria-label":o,onFocus:d,children:s});if("Web"===t){let e=l.startsWith("http")?l:"//".concat(l);return(0,a.jsx)("a",{href:e,className:i,target:n,rel:"noreferrer noopener",tabIndex:c,"aria-label":o,onFocus:d,children:s})}return(0,a.jsx)(r.default,{href:l,className:i,"aria-label":o,tabIndex:c,onFocus:d,scroll:u,children:s})}},51940:function(e,l,t){t.d(l,{Z:function(){return i}});var a=t(57437),r=t(56873),n=t(54365),s=t(2265);function i(e){let{className:l,isTransparent:t=!1,renderItem:i}=e,o=(0,s.useRef)(null),c=(0,s.useRef)(null);return(0,a.jsxs)("div",{className:(0,n.Z)("relative flex",l),onMouseEnter:function(e){if(!(null==c?void 0:c.current))return;let{height:l,width:t}=c.current.getBoundingClientRect(),{clientX:a,clientY:n}=e,s=e.currentTarget,{x:i,y:o}=null==s?void 0:s.getBoundingClientRect(),d=Math.sqrt(l*l+t*t),u=Math.max(Math.min(l,n-o),0),p=Math.max(Math.min(t,a-i),0
1);r.Z.remove(c.current),(0,r.Z)({targets:c.current,clipPath:["circle(0px at ".concat(p,"px ").concat(u,"px)"),"circle(".concat(d,"px at ").concat(p,"px ").concat(u,"px)")],duration:400,easing:"linear"})},onMouseLeave:function(e){if(!(null==c?void 0:c.current))return;let{height:l,width:t}=c.current.getBoundingClientRect(),{clientX:a,clientY:n}=e,s=e.currentTarget,{x:i,y:o}=null==s?void 0:s.getBoundingClientRect();r.Z.remove(c.current),(0,r.Z)({targets:c.current,clipPath:["circle(0px at ".concat(Math.max(Math.min(t,a-i),0),"px ").concat(Math.max(Math.min(l,n-o),0),"px)")],duration:400,easing:"linear"})},children:[(0,a.jsx)("div",{className:(0,n.Z)("flex w-full h-full flex-col gap-y-8 justify-center border-2 border-purple rounded-3xl p-8 opacity-100 relative md:flex-row md:gap-x-4 md:items-center lg:p-10 lg:rounded-2rem xl:flex-col xl:items-start",t?"bg-transparent backdrop-blur-2xl":"bg-white"),ref:o,children:i(!1)}),(0,a.jsx)("div",{className:(0,n.Z)("flex w-full h-full flex-col gap-y-8 justify-center border-2 border-white rounded-3xl p-8 clip-hide absolute inset-0 md:flex-row md:gap-x-4 text-white md:items-center lg:p-10 lg:rounded-2rem xl:flex-col xl:items-start",t?"bg-purple/80 backdrop-blur-2xl":"bg-purple"),ref:c,children:i(!0)})]})}},73892:function(e,l,t){t.d(l,{default:function(){return c}});var a=t(57437),r=t(2265),n=t(51721),s=t(90361),i=t(37583),o=t(54365);function c(e){let{items:l}=e,[t,n]=(0,r.useState)(null);return l&&Array.isArray(l)&&0!==l.length?(0,a.jsx)("div",{className:"flex flex-col gap-y-1",children:Array.isArray(l)&&l.length>0&&l.map((e,l)=>(0,a.jsx)(d,{title:e.title,openIndex:t,index:l,openCallback:()=>{t!==l?n(l):n(null)},items:e.items},l))}):null}function d(e){let{title:l,openIndex:t,index:c,openCallback:d,items:u}=e;return(0,a.jsxs)("div",{className:(0,o.Z)("w-full grid transition-all cursor-pointer overflow-hidden auto-rows-fr text-white group/menuAccordion",t===c?"grid-rows-[min-content_1fr]":"grid-rows-[min-content_0fr]"),children:[(0,a.jsxs)("button",{className:(0,o.Z)("flex justify-between items-center text-left px-5 py-4 bg-purple-blue transition-all -outline-offset-2",t===c?"rounded-t-lg":"rounded-lg group-hover/menuAccordion:bg-purple"),onClick:d,children:[l,(0,a.jsx)(s.ZP,{type:"plus",className:(0,o.Z)(["transition-transform shrink-0 fill-white",t===c&&"rotate-45"])})]}),(0,a.jsx)("span",{className:(0,o.Z)("overflow-hidden flex flex-col items-start transition-opacity",t===c?"opacity-100":"opacity-0"),"aria-hidden":t!==c,children:u.map(e=>(0,r.createElement)(i.Z,{...e.link,key:"standards-accordion-item-".concat(e.link),className:"relative flex items-center justify-between w-full px-5 py-4 text-left text-white bg-purple-blue/40 gap-x-2 last:rounded-b-lg group/disappearingArrow -outline-offset-2",tabIndex:t!==c?-1:0,children:[(0,a.jsx)("span",{className:"absolute top-0 left-0 w-full h-0.5 bg-purple rounded-full"}),(0,a.jsx)("span",{className:"pl-4",children:e.title}),(0,a.jsx)("span",{className:"inline-flex items-center w-4 shrink-0",children:(0,a.jsx)(n.Z,{iconClassName:"fill-white",orientation:"right"})})]}))})]})}},97022:function(e,l,t){t.d(l,{Z:function(){return p}});var a=t(57437),r=t(88862),n=t(89258),s=t(56873),i=t(54365),o=t(2265),c=t(54887),d=t(90361),u=t(53746);function p(e){var l,t,p,x;let{open:m,setOpen:f,children:h,elementRef:g,childrenWrapperClassName:v,containerClassName:b}=e,y=(0,r.f)("en-gb"),j=(0,o.useRef)(null),w=(0,o.useRef)(null),N=(0,o.useRef)(null),k=(0,o.useRef)(null),Z=(0,o.useRef)(null);function _(){s.Z.timeline({easing:"easeInCubic"}).add({targets:N.current,opacity:[1,0],translateY:[0,"1rem"],duration:150}).add({targets:k.current,opacity:[1,0],duration:100},"-=150").add({targets:w.current,opacity:[1,0],duration:125},"-=150").add({targets:j.current,opacity:[1,0],scale:[1,0],duration:150}).add({targets:Z.current,translateX:["0%","100%"],duration:150,complete:()=>{f(!1)}})}function C(e){"Escape"===e.key&&_()}return(0,o.useEffect)(()=>{if((0,n.Z)(m),m){window.addEventListener("keydown",C);let e=s.Z.timeline({easing:"easeInCubic"});setTimeout(()=>{e.add({targets:Z.current,translateX:["100%","0%"],duration:300}).add({targets:w.current,opacity:[0,1],duration:250,offset:0}).add({targets:j.current,opacity:[0,1],scale:[0,1],duration:300},"-=200").add({targets:N.current,opacity:[0,1],translateY:["1rem",0],duration:300}).add({targets:k.current,opacity:[0,1],duration:200},"-=400")},200)}else window.removeEventListener("keydown",C)},[m]),(0,a.jsx)(a.Fragment,{children:m&&(0,c.createPortal)((0,a.jsxs)("div",{className:"fixed top-0 left-0 z-50 flex items-center justify-center w-full h-full",children:[(0,a.jsx)("div",{className:"absolute w-full h-full translate-x-full pointer-events-none bg-purple/90 lg:hidden",ref:Z}),(0,a.jsx)("div",{ref:j,className:(0,i.Z)("z-20 w-full h-auto scale-0 flex justify-center items-center grid-flow-row-dense max-h-full overflow-hidden opacity-0 lg:relative lg:px-0 lg:w-popup lg:h-auto",b),"data-scroll":!0,children:(0,a.jsxs)(u.Z,{className:"relative h-screen max-h-screen pt-16 pb-8 overflow-y-auto col-span-full lg:h-auto lg:overflow-hidden lg:py-0 lg:px-0",children:[(0,a.jsx)("button",{className:"absolute z-30 opacity-0 cursor-pointer right-4 top-4 group lg:right-8 lg:top-8",onClick:()=>_(),"aria-label":(null==y?void 0:null===(t=y.components)||void 0===t?void 0:null===(l=t.popup)||void 0===l?void 0:l.close)||"Close",ref:k,children:(0,a.jsx)(d.ZP,{type:"plus",className:"w-8 h-8 transition-transform -rotate-45 fill-white group-hover:rotate-45"})}),(0,a.jsx)("div",{className:"relative h-full col-span-full",children:(0,a.jsxs)("div",{className:(0,i.Z)("bg-transparent z-20 col-span-full h-full w-full overflow-hidden lg:rounded-2rem lg:bg-purple/80 lg:max-h-[80vh] lg:[contain:paint]",v),children:[m&&(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("div",{className:"fixed top-0 left-0 z-10 w-full h-12 bg-gradient-to-b from-purple via-purple/80 to-transparent lg:rounded-t-2rem"}),(0,a.jsx)("div",{className:"fixed bottom-0 left-0 z-10 w-full h-12 bg-gradient-to-t from-purple via-purple/80 to-transparent lg:rounded-b-2rem"})]}),(0,a.jsx)("div",{className:"opacity-0 lg:translate-y-4 lg:px-20",ref:N,"data-scroll":!0,children:h})]})})]})}),(0,a.jsx)("button",{className:"absolute top-0 left-0 z-10 hidden w-full h-full opacity-0 bg-black/60 lg:block",ref:w,onClick:()=>_(),"aria-label":(null==y?void 0:null===(x=y.components)||void 0===x?void 0:null===(p=x.popup)||void 0===p?void 0:p.close)||"Close"})]}),g&&(null==g?void 0:g.current)?g.current:document.body)})}},92604:function(e,l,t){t.d(l,{default:function(){return i}});var a=t(57437),r=t(73456),n=t.n(r);t(62544),t(98362),t(46831),t(20722),t(39034),t(16174);var s=t(2265);function i(){return(0,s.useEffect)(()=>{n().highlightAll()},[]),(0,a.jsx)("div",{className:"hidden"})}},38497:function(e,l,t){t.d(l,{Z:function(){return n}});var a=t(57437),r=t(54365);function n(e){let{data:l,className:t}=e;return l?(0,a.jsx)("div",{dangerouslySetInnerHTML:{__html:l},className:(0,r.Z)("richText",t)}):null}},55490:function(e,l,t){t.d(l,{Z:function(){return s}});var a=t(57437),r=t(54365),n=t(46815);function s(e){let{className:l,anchor:t,backgroundColor:s="white",children:i,startsWithBigAnchorImage:o=!1,ignorePasswordGate:c=!1}=e,d=(0,n.Z)(t),u={};return c||(u={"data-slice-section":!0}),(0,a.jsx)("section",{className:(0,r.Z)("dark_purple"===s&&"bg-purple slice-bg-purple","white"===s&&"bg-white slice-bg-white","transparent"===s&&"slice-bg-transparent",o&&"has-big-anchor-image",l),"data-anchor":t,id:d,...u,children:i})}},59123:function(e,l,t){t.d(l,{Z:function(){return n}});var a=t(57437),r=t(54365);function n(e){let{amountGhostCards:l,ghostCardsClass:t}=e,n=[];for(let e=0;e<l;e++)n.push(e);return n.map((e,l)=>(0,a.jsxs)("div",{className:(0,r.Z)("flex gap-x-4 md:flex-col md:justify-end md:aspect-1/0.5 md:bg-grey-neutral/20 md:rounded-3xl md:p-5 md:flex-col lg:rou
1nded-2rem lg:aspect-square",t),children:[(0,a.jsx)("span",{className:"inline-block aspect-square w-15 bg-grey-light/60 animate-pulse rounded-1rem md:hidden"}),(0,a.jsxs)("div",{className:"flex flex-col gap-y-2 w-full md:justify-end",children:[(0,a.jsx)("span",{className:"inline-block w-full rounded-2xl bg-grey-light/60 h-6 animate-pulse md:w-1/2"}),(0,a.jsx)("span",{className:"inline-block w-1/2 rounded-2xl bg-grey-light/60 h-5 animate-pulse md:w-full md:h-16"})]})]},"skeleton-card-grid-".concat(l)))}},71432:function(e,l,t){t.d(l,{default:function(){return o}});var a=t(57437),r=t(90361),n=t(88862),s=t(54365),i=t(2265);function o(e){let{title:l,isOnDarkBackground:t,children:o}=e,[c,d]=(0,i.useState)(!1),u=(0,n.f)("en-gb");return(0,a.jsxs)("div",{className:(0,s.Z)("relative w-full grid transition-all cursor-pointer overflow-hidden group/standardsAccordion shrink-0",c?"grid-rows-[min-content_1fr]":"grid-rows-[min-content_0fr]",t?"text-white":"text-black"),children:[(0,a.jsxs)("button",{onClick:()=>d(e=>!e),"aria-label":"".concat(u.components.standards_accordion.see_more," ").concat(l),className:(0,s.Z)("relative flex gap-x-2 justify-between items-center w-full px-8 py-4 z-10 lg:py-6"),children:[(0,a.jsx)("span",{className:(0,s.Z)("absolute h-0.5 w-full bottom-0 left-0 transition-transform group-hover/standardsAccordion:scale-x-0",t?"bg-white":"bg-purple",c?"scale-x-0":"scale-x-100")}),l&&(0,a.jsx)("h3",{className:(0,s.Z)("text-heading-5 text-start",t?"group-hover/standardsAccordion:text-black":"group-hover/standardsAccordion:text-white",c&&t&&"text-black",c&&!t&&"text-white",!c&&t&&"text-white",!c&&!t&&"text-black"),children:l}),(0,a.jsx)(r.ZP,{type:"plus",className:(0,s.Z)("transition-all shrink-0 ",t?"group-hover/standardsAccordion:fill-black":"group-hover/standardsAccordion:fill-white",c&&"rotate-45",c&&t&&"fill-black",c&&!t&&"fill-white",!c&&t&&"fill-white",!c&&!t&&"fill-black")})]}),(0,a.jsx)("div",{className:(0,s.Z)("z-10 overflow-hidden"),children:o}),(0,a.jsx)("span",{className:(0,s.Z)(" absolute inset-0 w-full h-full rounded-3xl transition-opacity lg:rounded-2rem",t?"bg-white":"bg-purple",c?"opacity-100":"opacity-0 group-hover/standardsAccordion:opacity-100")})]})}},98801:function(e,l,t){t.r(l),t.d(l,{default:function(){return u}});var a=t(57437),r=t(88862),n=t(89258),s=t(54365),i=t(2265),o=t(26497),c=t(97022),d=t(90361);function u(e){var l,t,u,p;let{video:x,videoType:m,thumbnail:f,title:h,subtitle:g,className:v,isSmall:b=!1,hasBigVideoTitle:y=!1,hasPopup:j=!1}=e;if(!x||!f)return null;let[w,N]=(0,i.useState)(!1),[k,Z]=(0,i.useState)(!1),_=(0,i.useRef)(null),C=(0,r.f)("en-gb"),S=()=>(0,a.jsx)("iframe",{className:"w-full h-full",allow:"autoplay",title:h,src:R,"data-cookieconsent":"marketing"}),R=((e,l)=>{if(e&&l){if("nocookie"===l)return"https://www.youtube-nocookie.com/embed/".concat(e,"?autoplay=1&mute=1");if("cookie"===l)return"https://www.youtube.com/embed/".concat(e,"?autoplay=1&mute=1")}})((e=>{var l;if(!e)return;let t=e.match(/(?:youtube\.com\/watch\?v=|youtu\.be\/)([^&\?]+)/);return t?t[1]:null===(l=e.split(/\?v=|&/g))||void 0===l?void 0:l[1]})(null==x?void 0:x.embed_url),m&&"nocookie"===m?"nocookie":"cookie"),F=R?"button":"div";return(0,i.useEffect)(()=>{var e,l,t;(null==_?void 0:_.current)&&R&&(null===(t=window)||void 0===t?void 0:null===(l=t.cookiebotForMatomo)||void 0===l?void 0:null===(e=l.consent)||void 0===e?void 0:e.marketing)&&(_.current.src=R)},[k]),(0,a.jsxs)("div",{className:(0,s.Z)("relative",v),children:[(0,a.jsxs)(F,{className:"relative z-10 flex flex-col justify-end w-full h-full p-10 overflow-hidden rounded-3xl lg:rounded-2rem",onClick:()=>void(R&&(j&&((0,n.Z)(!0),N(!0)),Z(!0))),"aria-label":"".concat(null==C?void 0:null===(t=C.components)||void 0===t?void 0:null===(l=t.video)||void 0===l?void 0:l.play," ").concat(h),children:[!b&&(0,a.jsx)(o.Z,{field:f,className:"absolute top-0 left-0 object-cover w-full h-full"}),h&&(0,a.jsxs)("span",{className:"relative z-30 flex flex-col text-left text-white lg:gap-y-1",children:[((null==C?void 0:null===(p=C.news)||void 0===p?void 0:null===(u=p.types)||void 0===u?void 0:u.video)||g)&&(0,a.jsx)("span",{className:"text-small-body",children:g||(null==C?void 0:C.news.types.video)}),h&&(0,a.jsx)("span",{className:(0,s.Z)(["text-heading-5 font-bold max-w-sm",y&&"lg:text-heading-3"]),children:h})]}),R&&(0,a.jsx)("span",{className:"absolute z-20 flex items-center justify-center p-4 pl-5 -translate-x-1/2 roun
1ded-full cursor-pointer bg-yellow top-1/2 left-1/2 w-14 h-14 -translate-y-7",children:(0,a.jsx)(d.ZP,{type:"play"})}),!b&&(0,a.jsx)("span",{className:"absolute bottom-0 left-0 z-10 block w-full h-full bg-gradient-to-t from-black/80 via-black/30 to-transparent"})]}),j&&R&&(0,a.jsx)(c.Z,{open:w,setOpen:N,containerClassName:"lg:w-full",children:R&&(0,a.jsx)("div",{className:"lg:py-20",children:(0,a.jsx)("div",{className:"rounded-3xl aspect-video overflow-hidden lg:rounded-2rem lg:mx-auto lg:h-full lg:aspect-video lg:max-h-[calc(80vh_-_10rem)] lg:w-[70vw] lg:max-w-full",children:S()})})}),!j&&R&&k&&(0,a.jsx)("div",{className:"absolute top-0 left-0 z-10 grid items-center w-full h-auto overflow-hidden bg-black rounded-3xl lg:rounded-2rem lg:mx-auto lg:h-full",children:(0,a.jsx)("div",{className:"w-full aspect-video",children:S()})})]})}},76038:function(e,l,t){t.d(l,{default:function(){return d}});var a=t(57437),r=t(72040),n=t(54365),s=t(2265),i=t(38497),o=t(90361),c=t(99376);function d(e){let{items:l,className:t,itemClass:r,openClass:i,iconClass:o,titleClass:d,inactiveClass:p,openIconClass:x,isOnDarkBackground:m=!1}=e,f=(0,c.useSearchParams)(),[h,g]=(0,s.useState)(null);if(!l||!Array.isArray(l))return null;let v=f.get("term");function b(e){return e.toLowerCase().replace(/[*+~.()'"!:@]/g,"").replace(/\s+/g,"-").replace(/[^a-z0-9-]/g,"").replace(/-+/g,"-").replace(/^-|-$/g,"")}return(0,s.useEffect)(()=>{if(v){let e=l.findIndex(e=>b(e.title)===v);e>-1&&g(e)}},[v,l]),(0,a.jsx)("div",{className:(0,n.Z)(["flex flex-col",t]),children:l.map((e,l)=>(0,a.jsx)(u,{title:(null==e?void 0:e.title)||"",description:(null==e?void 0:e.description)||"",link:e.link,link_label:e.link_label,className:r,openClass:i,titleClass:d,iconClass:o,inactiveClass:p,isOnDarkBackground:m,openCallBack:()=>{h!==l?g(l):g(null)},openIndex:h,openIconClass:x,index:l,termId:b(e.title)},"accordion-item-".concat(e.title,"-").concat(l)))})}function u(e){let{title:l,description:t,link:c,link_label:d,className:u,iconClass:p,titleClass:x,openClass:m,inactiveClass:f,isOnDarkBackground:h=!1,openCallBack:g,openIconClass:v,openIndex:b=null,index:y=0,termId:j}=e,w=(0,s.useRef)(null),[N,k]=(0,s.useState)(!1);(0,s.useEffect)(()=>{var e;b===y&&(null===(e=w.current)||void 0===e||e.scrollIntoView({behavior:"smooth",block:"center"}))},[b,y]);let Z=async e=>{let l=new URL(window.location.origin+window.location.pathname);l.searchParams.set("term",e);try{await navigator.clipboard.writeText(l.toString()),k(!0),setTimeout(()=>k(!1),2e3)}catch(e){console.error("Failed to copy: ",e)}};return(0,a.jsxs)("button",{className:(0,n.Z)(["w-full grid transition-all cursor-pointer overflow-hidden auto-rows-fr",b===y?"grid-rows-[min-content_1fr]":"grid-rows-[min-content_0fr]",b===y&&m,null!==b&&b!==y&&f,h?"text-white":"text-black",u]),ref:w,onClick:g,children:[(0,a.jsxs)("span",{className:(0,n.Z)("flex justify-between items-center text-left text-body",x),children:[l,(0,a.jsxs)("span",{className:"flex items-center gap-2",children:[N&&(0,a.jsx)("span",{className:"text-sm text-yellow",children:"Link copied!"}),(0,a.jsx)("span",{onClick:e=>(e.stopPropagation(),j&&Z(j)),children:(0,a.jsx)(o.ZP,{type:"copyLink",className:(0,n.Z)(["transition-all shrink-0 h-3 w-3",h?"fill-white":"fill-black",b===y&&v,b===y?"block":"hidden",p])})}),(0,a.jsx)(o.ZP,{type:"plus",className:(0,n.Z)(["transition-transform shrink-0",h?"fill-white":"fill-black",b===y&&"rotate-45",b===y&&v,p])})]})]}),(0,a.jsxs)("span",{className:(0,n.Z)(["overflow-hidden flex flex-col items-start gap-y-4 transition-opacity select-text lg:gap-y-8",b===y?"opacity-100":"opacity-0"]),onClick:e=>e.stopPropagation(),children:[(0,a.jsx)("span",{className:"pt-4 text-left text-small-body",children:(0,a.jsx)(i.Z,{data:t,className:"flex flex-col gap-y-5"})}),c&&d&&(0,a.jsx)(r.Z,{link:c,buttonType:"tertiary",isOnDarkBackground:!0,children:d})]})]})}},97035:function(e,l,t){t.r(l),t.d(l,{default:function(){return f}});var a=t(57437),r=t(53746),n=t(37583),s=t(38497),i=t(55490),o=t(76038),c=t(90361),d=t(2917),u=t(88862),p=t(54365),x=t(99376),m=t(2265);function f(e){var l;let{background_color:t,variation:f="default",anchor:h,title:g,card_title:v,card_description:b,card_cta_label:y,card_cta_link:j,items:w,isDictionarySlice:N=!1,sort_alphabetically:k=!1}=e,Z=(0,m.useRef)(null),_=(0,d.Z)(t),C=(0,x.useSearchParams)(),[S,R]=(0,m.useState)(0),[F,z]=(0,m.useState)(()=>k?w.map(e=>({...e,items:e.items.sort((e,l)=>e.title.localeCompare(l.title,void 0,{sensitivity:"base"}))})):w),[A,I]=(0,m.useState)(""),[P,E]=(0,m.useState)(F),L="dark_purple"===t,T=(0,u.f)("en-gb"),D=(v||b)&&j&&y;(0,m.useEffect)(()=>{A?(E([{tab_title:"Results",items:F.flatMap(e=>e.items.filter(e=>e.title.toLowerCase().includes(A.toLowerCase())))}]),R(0)):E(F)},[A,F]);let O=N?T.dictionary_slice.no_terms||"":(null==T?void 0:null===(l=T.accordion_with_tabs_slice)||void 0===l?void 0:l.no_items)||"",q=C.get("term");return(0,m.useEffect)(()=>
1{if(q&&N){let e=F.findIndex(e=>e.items.some(e=>e.title.toLowerCase().replace(/[*+~.()'"!:@]/g,"").replace(/\s+/g,"-").replace(/[^a-z0-9-]/g,"").replace(/-+/g,"-").replace(/^-|-$/g,"")===q));e>-1&&(R(e),Z.current&&Z.current.scrollIntoView({behavior:"smooth",block:"start"}))}},[q,F,N]),(0,a.jsx)(i.Z,{anchor:h,backgroundColor:t,children:(0,a.jsxs)(r.Z,{className:(0,p.Z)("gap-y-4 lg:gap-y-10",_),children:[g&&(0,a.jsx)("h2",{className:"font-bold col-span-full lg:col-span-7 text-heading-3",children:g}),N&&(0,a.jsxs)("div",{className:"relative flex items-center gap-4 my-2 col-span-full lg:col-span-4 lg:col-start-10 lg:row-start-1 lg:my-0",children:[(0,a.jsx)("input",{type:"text",value:A,onChange:e=>I(e.target.value),placeholder:"Search",className:"p-3.5 pl-6 text-black rounded-full w-full"}),A&&(0,a.jsx)("span",{onClick:()=>{I(""),R(0)},className:"absolute top-0 bottom-0 flex items-center justify-center cursor-pointer right-3",children:(0,a.jsx)(c.ZP,{type:"close",className:"self-center w-8 h-8 fill-white",pathclass:"".concat("dark_purple"==t?"fill-purple":"fill-white")})})]}),Array.isArray(P)&&P.length>0&&(0,a.jsxs)("div",{ref:Z,className:(0,p.Z)(["flex flex-col gap-2 col-span-full scroll-mt-36 transition-opacity duration-300","default"===f&&"lg:col-start-5 lg:col-span-8 lg:pl-6"]),children:[(0,a.jsx)("div",{className:"flex overflow-x-auto gap-x-1","data-scroll":!0,children:P.length>0&&P.map((e,l)=>(0,a.jsx)("button",{className:(0,p.Z)("py-3 px-4 font-semibold text-small-body transition-colors rounded-2rem hover:bg-purple-blue hover:text-white",S===l&&"bg-purple-blue text-white",N&&A&&"h-10",N&&!A&&"h-fit aspect-square"),onClick:()=>R(l),"aria-label":"".concat(T.accordion_with_tabs_slice.view_information," ").concat(e.tab_title),children:e.tab_title},e.tab_title))}),(0,a.jsx)("div",{children:P.map((e,l)=>(0,a.jsx)("div",{className:(0,p.Z)(S===l?"block":"hidden"),children:e.items.length>0?(0,a.jsx)(o.default,{items:e.items,className:"gap-y-2",itemClass:(0,p.Z)("relative px-5 py-6 group z-10 border-b-2 border-purple-blue hover:border-transparent hover:text-white after:absolute after:w-full after:h-full after:-z-10 after:bg-purple-blue after:rounded-1rem after:transition-opacity after:opacity-0 hover:after:opacity-100",L&&"text-white"),titleClass:"z-10",openClass:"text-white fill-white border-transparent after:opacity-100",iconClass:(0,p.Z)("group-hover:fill-white",L&&"fill-white"),openIconClass:"fill-white",inactiveClass:"opacity-10 hover:opacity-100"}):(0,a.jsx)("p",{className:"mt-8 text-medium",children:O})},"faq-tab-".concat(l)))})]}),D&&j&&"default"===f&&(0,a.jsxs)(n.Z,{...j,className:"flex flex-col gap-y-2.5 p-8 bg-green col-span-full rounded-3xl text-white lg:rounded-2rem lg:row-start-2 lg:col-start-1 lg:col-span-4 lg:aspect-square lg:p-10 lg:gap-5 lg:items-start",children:[v&&(0,a.jsx)("h3",{className:"text-heading-3 lg:text-left",children:v}),b&&(0,a.jsx)(s.Z,{data:b,className:"flex flex-col gap-y-5"}),(0,a.jsxs)("span",{className:"flex mt-4 font-medium gap-x-1 text-small-body lg:mt-auto",children:[y," ",(0,a.jsx)(c.ZP,{type:"arrow",className:"w-4 fill-white"})]})]})]})})}},31592:function(e,l,t){t.d(l,{default:function(){return u}});var a=t(57437),r=t(72040),n=t(53746),s=t(26497),i=t(51940),o=t(38497),c=t(55490),d=t(54365);function u(e){let{background_color:l,anchor:t,flipped:u,title:p,description:x,link:m,link_label:f,card_title:h,card_link:g,card_link_label:v,items:b}=e;return(0,a.jsx)(c.Z,{backgroundColor:l,anchor:t,children:(0,a.jsxs)(n.Z,{className:"gap-y-10 lg:gap-x-10 lg:min-h-default",children:[(0,a.jsxs)("div",{className:(0,d.Z)(["grid col-span-4 grid-cols-2 rounded-3xl bg-off-white overflow-hidden md:col-span-8 lg:rounded-2rem",u&&"order-last"]),children:[(0,a.jsx)("div",{className:(0,d.Z)(["col-span-2 grid grid-cols-2 gap-4 md:col-span-1 md:col-start-2",b.length>1&&"row-start-2 px-7 pb-7 md:row-start-1 md:p-10"]),children:Array.isArray(b)&&b.length>0&&b.map((e,l)=>(0,a.jsx)(s.Z,{field:e.image,className:(0,d.Z)(["object-cover",1===b.length?"col-span-2 w-full md:h-full":"col-span-1 w-full md:w-40",b.length>1&&"rounded-full aspect-square mx-auto md:my-auto"])},"column-cta-cards-".concat(p,"-").concat(l)))}),(0,a.jsxs)("div",{className:(0,d.Z)(["p-7 flex flex-col gap-y-2.5 md:row-start-1 md:p-10 md:justify-center",b.length>0?"col-span-2 md:col-span-1":"col-span-2"]),children:[(0,a.jsx)("h3",{className:"max-w-xl font-bold text-heading-3",children:p}),(0,a.jsx)(o.Z,{data:x,className:"flex flex-col gap-y-5"}),(0,a.jsx)("div",{className:"flex mt-5",children:(0,a.jsx)(r.Z,{buttonType:"primary",link:m,children:f})})]})]}),(0,a.jsx)(i.Z,{className:"col-span-full xl:col-span-4",isTransparent:"transparent"===l,renderItem:e=>(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("h3",{className:"text-heading-3",children:h}),(0,a.jsx)("div",{className:"flex md:shrink-0 xl:shrink-1",children:(0,a.jsx)(r.Z,{buttonType:"secondary",link:g,isOnDarkBackgroun
1d:e,children:v})})]})})]})})}},14718:function(e,l,t){t.d(l,{default:function(){return b}});var a=t(57437),r=t(72040),n=t(53571),s=t(53746),i=t(26497),o=t(51940),c=t(88862),d=t(89258),u=t(56873),p=t(54365),x=t(2265),m=t(54887),f=t(90361);function h(e){var l,t,r,n;let{open:s,setOpen:i,children:o,elementRef:h,childrenWrapperClassName:g,containerClassName:v}=e,b=(0,c.f)("en-gb"),y=(0,x.useRef)(null),j=(0,x.useRef)(null),w=(0,x.useRef)(null),N=(0,x.useRef)(null),k=(0,x.useRef)(null);function Z(){u.Z.timeline({easing:"easeInCubic"}).add({targets:w.current,translateY:[0,"1rem"],opacity:[1,0],duration:300}).add({targets:N.current,opacity:[1,0],duration:200},"-=300").add({targets:j.current,opacity:[1,0],duration:300},"-=300").add({targets:y.current,opacity:[1,0],translateY:["0%","100%"],duration:300}).add({targets:k.current,translateY:["0%","100%"],duration:300,complete:()=>{(0,d.Z)(!1),i(!1)}})}return(0,x.useEffect)(()=>{if(s){(0,d.Z)(!0);let e=u.Z.timeline({easing:"easeInCubic"});setTimeout(()=>{e.add({targets:k.current,translateY:["100%","0%"],duration:300}).add({targets:y.current,opacity:[0,1],translateY:["100%","0%"],duration:300},"-=300").add({targets:w.current,opacity:[0,1],translateY:["1rem",0],duration:400}).add({targets:j.current,opacity:[0,1],duration:300}).add({targets:N.current,opacity:[0,1],duration:200},"-=400")},200)}},[s]),(0,a.jsx)(a.Fragment,{children:s&&(0,m.createPortal)((0,a.jsxs)("div",{className:"fixed bottom-0 left-0 z-50 flex items-end justify-center w-full h-full transparent",children:[(0,a.jsx)("div",{className:"absolute w-full h-full translate-y-full pointer-events-none bg-purple lg:bg-purple/60 lg:backdrop-blur-sm",ref:k}),(0,a.jsxs)("div",{ref:y,className:(0,p.Z)("z-20 translate-y-full w-full h-full relative max-h-full bg-purple opacity-0 overflow-hidden lg:rounded-t-3xl lg:relative lg:py-10 lg:h-3/4",v),"data-scroll":!0,children:[(0,a.jsx)("div",{className:"absolute w-full h-full overflow-hidden lg:-mt-10",children:(0,a.jsx)("img",{alt:"",src:"/images/backgroundLogo.svg",className:"absolute object-cover w-full h-full top-1/3 lg:object-contain lg:left-1/3 lg:-top-32 xl:-top-52"})}),(0,a.jsx)("button",{className:"absolute z-30 opacity-0 cursor-pointer right-4 top-4 group lg:right-8 lg:top-8",onClick:()=>Z(),"aria-label":(null==b?void 0:null===(t=b.components)||void 0===t?void 0:null===(l=t.popup)||void 0===l?void 0:l.close)||"Close",ref:N,children:(0,a.jsx)(f.ZP,{type:"plus",className:"w-8 h-8 transition-transform -rotate-45 fill-white group-hover:rotate-45"})}),(0,a.jsx)("div",{className:"relative w-full h-full",children:(0,a.jsx)("div",{className:(0,p.Z)("z-20 h-full w-full opacity-0 translate-y-4",g),ref:w,"data-scroll":!0,children:o})})]}),(0,a.jsx)("button",{className:"absolute top-0 left-0 z-10 hidden w-full h-full opacity-0 lg:block",ref:j,onClick:()=>Z(),"aria-label":(null==b?void 0:null===(n=b.components)||void 0===n?void 0:null===(r=n.popup)||void 0===r?void 0:r.close)||"Close"})]}),h&&(null==h?void 0:h.current)?h.current:document.body)})}var g=t(38497),v=t(55490);function b(e){let{variation:l,anchor:t,background_color:d,title:u,description:m,primary_button_label:f,secondary_button_link:b,primary_button_link:y,secondary_button_label:j,newsletter_title:w,newsletter_description:N,items:k}=e,[Z,_]=(0,x.useState)(null),[C,S]=(0,x.useState)(!1),R=(0,c.f)("en-gb");function F(){S(!0)}return(0,a.jsxs)(v.Z,{anchor:t,backgroundColor:d,children:[(0,a.jsxs)(s.Z,{className:"gap-y-8",children:[(0,a.jsx)(o.Z,{className:"col-span-full xl:col-span-4",isTransparent:"transparent"===d,renderItem:e=>(0,a.jsxs)(a.Fragment,{children:[(u||m)&&(0,a.jsxs)("div",{className:"flex flex-col gap-y-2.5",children:[u&&(0,a.jsx)("h2",{className:"font-bold text-heading-2",children:u}),(0,a.jsx)(g.Z,{data:m,className:"flex flex-col gap-y-5"})]}),(0,a.jsxs)("div",{className:"flex flex-wrap gap-y-2.5 gap-x-4 lg:flex-col lg:shrink-0 lg:items-start",children:[(null==y?void 0:y.url)&&(0,a.jsx)(r.Z,{label:f,className:"flex items-center gap-x-2 group",buttonType:"primary",link:y,isOnDarkBackground:!0,children:f}),"default"===l&&j&&(0,a.jsx)(r.Z,{buttonType:"secondary",isOnDarkBackgroun
1d:e,onClick:F,children:j}),"variableLinks"===l&&(null==b?void 0:b.url)&&(0,a.jsx)(r.Z,{label:j,buttonType:"secondary",link:b,children:j})]})]})}),(0,a.jsxs)("div",{className:"relative col-span-full lg:col-span-8 lg:relative lg:rounded-2rem lg:overflow-hidden",children:[(0,a.jsx)("div",{className:"flex h-full overflow-x-scroll gap-x-5 snap-mandatory snap-x lg:gap-x-0 lg:grid lg:grid-cols-1 lg:overflow-x-visible","data-scroll":!0,children:k.map((e,l)=>{var t,n;return(0,a.jsxs)("div",{className:(0,p.Z)("relative flex w-64 h-64 snap-center aspect-square lg:col-span-full lg:w-full lg:h-full lg:aspect-auto lg:col-start-1 lg:row-start-1",1===k.length?"w-full":"w-64"),children:[(0,a.jsx)(i.Z,{field:e.image,className:(0,p.Z)(["object-cover transition-all aspect-square w-full h-full rounded-3xl lg:rounded-2rem lg:min-h-default lg:opacity-0 lg:aspect-1/0.5 lg:max-w-none",!Z&&0===l&&"lg:opacity-100",Z===l&&"lg:opacity-100 translate-x-0",(Z||0)>l&&"lg:-translate-x-4",(Z||0)<l&&"lg:translate-x-4"])}),((null==e?void 0:e.title)||(null==e?void 0:e.link))&&(0,a.jsxs)("div",{className:"absolute p-5 transition-all ease-in-out opacity-100 rounded-xl bg-purple left-5 bottom-5 gap-y-1 will-change-transform lg:hidden",children:[(null==e?void 0:e.title)&&(0,a.jsx)("h4",{className:"font-semibold text-white text-heading-4",children:e.title}),(null==e?void 0:e.link)&&(0,a.jsx)(r.Z,{label:null==R?void 0:null===(t=R.general)||void 0===t?void 0:t.read_case_study,className:"flex items-center text-yellow gap-x-2 group",link:e.link,buttonType:"tertiary",children:null==R?void 0:null===(n=R.general)||void 0===n?void 0:n.read_case_study})]})]},"cta-carousel-card-image-".concat(u,"-").concat(l))})}),(0,a.jsx)(n.Z,{itemsLength:k.length,activeIndex:Z,callback:e=>{_(e)},className:"z-20 hidden h-full px-10 py-10 fill-white lg:flex lg:absolute lg:right-0 lg:bottom-0",children:k&&Array.isArray(k)&&k.length>0&&k.filter(e=>e.title||e.link.url).length>0&&(0,a.jsx)("div",{className:"flex flex-col items-center gap-y-8 lg:gap-y-5 lg:items-start",children:(0,a.jsx)("div",{className:"grid grid-cols-1 p-8 text-white bg-purple rounded-xl lg:max-w-xs lg:rounded-1rem",children:k.map((e,l)=>{var t,n;return(0,a.jsxs)("div",{className:(0,p.Z)(["col-span-full row-start-1 col-start-1 flex flex-col text-center gap-y-1 items-center transition-all will-change-transform ease-in-out opacity-0 lg:items-start lg:text-left",!Z&&0===l&&"opacity-100",Z===l?"opacity-100 translate-x-0":"pointer-events-none",(Z||0)>l&&"-translate-x-4",(Z||0)<l&&"translate-x-4"]),children:[(null==e?void 0:e.title)&&(0,a.jsx)("h4",{className:"font-semibold text-heading-4",children:e.title}),(0,a.jsx)(g.Z,{data:e.description,className:"flex flex-col gap-y-5"}),(null==e?void 0:e.link)&&(0,a.jsx)(r.Z,{label:(null==e?void 0:e.link_label)||(null==R?void 0:null===(t=R.general)||void 0===t?void 0:t.read_case_study),className:"flex items-center text-yellow gap-x-2 group",buttonType:"tertiary",link:e.link,children:(null==e?void 0:e.link_label)||(null==R?void 0:null===(n=R.general)||void 0===n?void 0:n.read_case_study)})]},"cta-carousel-card-".concat(u,"-").concat(l))})})})}),(0,a.jsx)("div",{className:"absolute top-0 left-0 z-10 hidden w-full h-full bg-gradient-to-r from-transparent to-black/60 lg:block"})]})]}),C&&(0,a.jsx)(h,{open:C,setOpen:S,childrenWrapperClassName:"h-full overflow-y-auto grid lg:content-center",children:(0,a.jsxs)("div",{className:"grid items-start w-full h-auto grid-cols-4 px-5 pt-16 pb-5 mx-auto my-auto max-w-container gap-y-6 gap-x-4 md:px-20 md:grid-cols-8 lg:py-0 xl:grid-cols-12",children:[(0,a.jsxs)("div",{className:"flex flex-col gap-y-2 col-span-full lg:mt-10 lg:gap-y-10 lg:col-span-3 xl:col-span-5 2xl:col-span-6",children:[(0,a.jsx)("h2",{className:"font-bold text-white text-heading-3",children:w||(null==R?void 0:R.cta_card_carousel.newsletter.title)}),N&&(0,a.jsx)(g.Z,{data:(null==N?void 0:N.length)!==0?N:null==R?void 0:R.cta_card_carousel.newsletter.description,className:"text-white text-big-body"})]}),(0,a.jsx)("div",{className:"h-auto p-5 col-span-full rounded-3xl bg-purple-blue/80 backdrop-blur-md lg:rounded-2rem lg:col-span-5 lg:p-10 lg:col-start-4 xl:col-span-6 xl:col-start-7 2xl:col-span-5 2xl:col-start-8",children:(0,a.jsx)("iframe",{style:{width:"100%"},src:"https://go.dcsa.org/l/907302/2021-01-22/3m9t",className:"block mx-auto h-120 [@media(min-width:560px)]:h-100",title:"Join our community of industry leaders"})})]})})]})}},72473:function(e,l,t){t.d(l,{default:function(){return o}});var a=t(57437),r=t(53746),n=t(38497),s=t(55490),i=t(54365);function o(e){let{anchor:l,background_color:t="white",quote_text:o,attribution:c,placeholder_note:d}=e;if(!o)return null;let u="dark_purple"===t;return(0,a.jsx)(s.Z,{anchor:l,backgroundColor:t,children:(0,a.jsx)(r.Z,{children:(0,a.jsxs)("div",{className:"col-span-full mx-auto flex max-w-[720px] flex-col items-center gap-y-5 text-center",children:[(0,a.jsx)("span",{className:"text-[56px] font-bold leading-none text-petrol",children:"â"}),(0,a.jsx)(n.Z,{data:o,className:(0,i.Z)("text-heading-3 font-semibold leading-snug",u?"text-white":"text-current")}),c&&(0,a.jsx)("p",{className:(0,i.Z)("text-small-body",u?"text-white/70":"text-grey-dark"),children:c}),d&&(0,a.jsx)("span",{className:"rounded-md bg-warning px-2.5 py-1 text-tiny-body font-semibold text-grey-dark",children:d})]})})})}},62967:function(e,l,t){t.d(l,{default:function(){return o}});var a=t(57437),r=t(53746),n=t(55490),s=t(54365),i=t(2265);function o(e){let{background_color:l,anchor:t,variation:o,source:c,full_size:d}=e,u=(0,i.useRef)(null),[p,x]=(0,i.useState)(!1);return((0,i.useEffect)(()=>
1{if(window.iframeResize){x(!0);return}let e=document.createElement("script");return e.src="https://cdn.jsdelivr.net/npm/@iframe-resizer/[email protected]",e.async=!0,e.onload=()=>x(!0),document.head.appendChild(e),()=>{e.parentNode&&e.parentNode.removeChild(e)}},[]),(0,i.useEffect)(()=>{if(!p||!u.current)return;let e=window.iframeResize;if("function"==typeof e){let l=e({license:"GPLv3"},u.current);return()=>{l&&"function"==typeof l&&l()}}},[p,c]),c)?(0,a.jsx)(n.Z,{anchor:t,backgroundColor:l,className:(0,s.Z)({hide_whitespace:d}),children:(0,a.jsx)(r.Z,{withPadding:!d,children:(0,a.jsx)("iframe",{ref:u,src:c,className:(0,s.Z)("col-span-full w-full",{"aspect-video":!d&&!p,"h-screen":d})})})}):null}},67903:function(e,l,t){t.d(l,{default:function(){return d}});var a=t(57437),r=t(53746),n=t(26497),s=t(38497),i=t(55490),o=t(54365);let c=e=>{switch(e){case 1:return"lg:grid-cols-1";case 2:return"lg:grid-cols-2";case 4:return"lg:grid-cols-4";case 5:return"lg:grid-cols-5";case 6:return"lg:grid-cols-6";default:return"lg:grid-cols-3"}};function d(e){let{title:l,subtitle:t,anchor:d,background_color:u,desktop_columns:p=3,mobile_alignment:x="center",items:m}=e;if(!Array.isArray(m)||0===m.length)return null;let f="center"===x;return(0,a.jsx)(i.Z,{anchor:d,backgroundColor:u,children:(0,a.jsxs)(r.Z,{className:"gap-y-6",children:[l&&(0,a.jsx)("h2",{className:(0,o.Z)("font-bold text-heading-3 col-span-full","dark_purple"===u?"text-white":"text-current"),children:l}),t&&(0,a.jsx)("p",{className:(0,o.Z)("col-span-full mb-6","dark_purple"===u?"text-white":"text-current"),children:t}),(0,a.jsx)("div",{className:(0,o.Z)("grid col-span-full gap-y-16 gap-x-12 lg:gap-x-24","grid-cols-1 md:grid-cols-2",c(p)),children:m.map((e,l)=>{let{icon:t,title:r,description:i}=e;return(0,a.jsxs)("div",{className:(0,o.Z)("flex flex-col gap-y-6",f?"items-center text-center":"items-start text-left","md:items-center md:text-center"),children:[t&&(0,a.jsx)(n.Z,{field:t,className:"w-12 h-auto aspect-square object-contain md:w-14 lg:w-16 select-none"}),(0,a.jsxs)("div",{className:(0,o.Z)("flex flex-col gap-y-4",f?"items-center":"items-start","md:items-center"),children:[r&&(0,a.jsx)("h3",{className:(0,o.Z)("text-heading-5 font-semibold break-words my-0 leading-relaxed md:leading-normal","dark_purple"===u?"text-white":"text-current"),children:r}),i&&(0,a.jsx)(s.Z,{data:i,className:(0,o.Z)("text-body break-words text-balance my-0 leading-relaxed md:leading-normal","dark_purple"===u?"text-white/80":"text-current/70")})]})]},"feature-highlight-".concat(l))})})]})})}},20429:function(e,l,t){t.d(l,{default:function(){return c}});var a=t(57437),r=t(53746),n=t(26497),s=t(38497),i=t(55490),o=t(54365);function c(e){let{anchor:l,background_color:t="white",title:c,description:d,items:u}=e;if(!Array.isArray(u)||0===u.length)return null;let p="dark_purple"===t;return(0,a.jsx)(i.Z,{anchor:l,backgroundColor:t,children:(0,a.jsxs)(r.Z,{className:"gap-y-12",children:[(0,a.jsxs)("div",{className:"col-span-full flex flex-col gap-y-4 lg:max-w-[640px]",children:[c&&(0,a.jsx)("h2",{className:(0,o.Z)("text-heading-2 font-bold",p?"text-white":"text-current"),children:c}),d&&(0,a.jsx)(s.Z,{data:d,className:(0,o.Z)("text-body",p?"text-white/80":"text-grey-dark")})]}),(0,a.jsx)("div",{className:"col-span-full grid grid-cols-1 gap-px overflow-hidden rounded-1rem border border-grey-light bg-grey-light md:grid-cols-3",children:u.map((e,l)=>(0,a.jsxs)("div",{className:"flex flex-col gap-y-5 bg-white p-7 md:p-8",children:[e.icon&&"url"in e.icon&&(0,a.jsx)("div",{className:"grid h-[38px] w-[38px] place-items-center rounded-10 bg-info",children:(0,a.jsx)(n.Z,{field:e.icon,className:"h-[18px] w-[18px] object-contain"})}),e.title&&(0,a.jsx)("h3",{className:"text-heading-4 font-semibold text-current",children:e.title}),e.description&&(0,a.jsx)(s.Z,{data:e.description,className:"text-small-body leading-snug text-grey-dark"})]},"feature-intro-card-".concat(l)))})]})})}},6626:function(e,l,t){t.d(l,{default:function(){return d}});var a=t(57437),r=t(72040),n=t(53746),s=t(38497),i=t(55490),o=t(54365),c=t(2265);function d(e){let{anchor:l,background_color:t,event_name:d,title:u,description:p,primary_button_label:x,primary_button_is_solid:m=!1,primary_button_link:f,event_category_primary_button:h,secondary_button_label:g,secondary_button_is_solid:v=!1,secondary_button_link:b,event_category_secondary_button:y}=e,[j,w]=(0,c.useState)(!1);return(0,a.jsx)(i.Z,{anchor:l,backgroundColor:t,children:(0,a.jsx)(n.Z,{children:(0,a.jsx)("div",{className:"grid grid-cols-4 p-8 col-span-full rounded-3xl bg-off-white lg:rounded-2rem lg:text-left lg:p-10 lg:min-h-default lg:items-center",children:(0,a.jsxs)("div",{className:"grid items-center grid-cols-4 col-span-full gap-y-3 lg:grid-cols-8 lg:gap-x-10 xl:grid-cols-12",children:[u&&(0,a.jsx)("h2",{className:"font-bold text-heading-2 col-span-full lg:col-span-4 xl:col-span-4",children:u}),(0,a.jsxs)("div",{className:"relative flex flex-col col-span-full gap-y-6 lg:gap-y-10 lg:col-span-4 lg:col-end-9 lg:justify-end xl:col-span-6 xl:col-end-13",children:[p&&(0,a.jsx)(s.Z,{data:p,className:(0,o.Z)("text-heading-3",j&&"opacity-0 transition-opacity"),"aria-hidden":j}),(x||g)&&(0,a.jsxs)("div",{className:(0,o.Z)("flex flex-wrap gap-2.5 justify-start",j&&"opacity-0 transition-opacity"),"aria-hidden":j,children:[x&&(null==f?void 0:f.url)&&(0,a.jsx)(r.Z,{label:
1x,buttonType:m?"primary":"secondary",link:f,onFocus:()=>{_paq.push(["trackEvent",h||x,u,d||u,document.documentURI])},children:x}),x&&!(null==f?void 0:f.url)&&(0,a.jsx)(r.Z,{label:x,buttonType:m?"primary":"secondary",onClick:()=>{w(!0),_paq.push(["trackEvent",h||x,u,d||u,document.documentURI])},children:x}),g&&(null==b?void 0:b.url)&&(0,a.jsx)(r.Z,{label:g,buttonType:v?"primary":"secondary",link:b,onFocus:()=>{_paq.push(["trackEvent",y||g,u,d||u,document.documentURI])},children:g}),g&&!(null==b?void 0:b.url)&&(0,a.jsx)(r.Z,{label:g,buttonType:v?"primary":"secondary",onClick:()=>{w(!0),_paq.push(["trackEvent",y||g,u,d||u,document.documentURI])},children:g})]}),(0,a.jsx)("p",{className:(0,o.Z)("absolute h-auto -translate-y-1/2 top-1/2 text-heading-3 opacity-0 transition-opacity delay-100",j&&"opacity-100"),"aria-hidden":!j,children:"Thank you for your feedback!"})]})]})})})})}},88347:function(e,l,t){t.d(l,{default:function(){return p}});var a=t(57437),r=t(54365),n=t(72040),s=t(53746),i=t(38497),o=t(55490),c=t(26497),d=t(98801);function u(e){if(!e)return null;let l=e.block_type||"text";return"text"===l?e.text_content?(0,a.jsx)(i.Z,{data:e.text_content,className:(0,r.Z)("text-body max-w-full break-words whitespace-normal ".concat(e.justify_text&&"text-justify"),"dark_purple"===e.background_color?"text-white":"text-current")}):null:"image"===l?e.image&&"url"in e.image&&e.image.url?(0,a.jsx)(c.Z,{field:e.image,className:"w-full rounded-lg"}):null:"video"===l&&e.video&&"embed_url"in e.video&&e.video.embed_url?(0,a.jsx)(d.default,{video:e.video,videoType:e.video_type,thumbnail:e.video_thumbnail,title:e.video_title,className:(0,r.Z)("border-none aspect-video w-full","dark_purple"===e.background_color?"text-white":"text-current"),hasPopup:!1}):null}function p(e){let{anchor:l,background_color:t,title:c,description:d,items:p,cta_link:x,cta_label:m,cta_alignment:f="left"}=e;return(0,a.jsx)(o.Z,{anchor:l,backgroundColor:t,children:(0,a.jsx)(s.Z,{children:(0,a.jsxs)("div",{className:"flex flex-col col-span-full gap-y-3 md:gap-y-6 lg:gap-y-8",children:[c&&(0,a.jsx)("h2",{className:(0,r.Z)("text-heading-2 font-bold","dark_purple"===t?"text-white":"text-current"),children:c}),d&&(0,a.jsx)(i.Z,{data:d,className:(0,r.Z)("text-body flex flex-col gap-y-5","dark_purple"===t?"text-white":"text-current")}),p&&p.map((e,l)=>(0,a.jsx)("div",{className:"col-span-full",children:(0,a.jsx)(u,{...e,background_color:t})},"".concat(e.block_type,"-").concat(l))),x&&m&&(0,a.jsx)("div",{className:(0,r.Z)("flex w-full mt-4 lg:mt-5","center"===f&&"justify-center","right"===f&&"justify-end","left"===f&&"justify-start"),children:(0,a.jsx)(n.Z,{link:x,buttonType:"primary",isOnDarkBackground:"dark_purple"===t,children:m})})]})})})}},86217:function(e,l,t){t.d(l,{default:function(){return c}});var a=t(57437),r=t(72040),n=t(53746),s=t(26497),i=t(38497),o=t(55490);function c(e){let{anchor:l,background_color:t="dark_purple",title:c,subtitle:d,primary_cta_link:u,primary_cta_label:p,secondary_cta_link:x,secondary_cta_label:m,image:f,image_caption:h,items:g}=e,v=Array.isArray(g)?g.filter(e=>e.value||e.label):[];return(0,a.jsx)(o.Z,{anchor:l,backgroundColor:t,children:(0,a.jsx)(n.Z,{className:"py-15 lg:py-30",children:(0,a.jsxs)("div",{className:"col-span-full grid gap-12 lg:grid-cols-[1.05fr_1fr] lg:gap-14 lg:items-start",children:[(0,a.jsxs)("div",{className:"flex flex-col",children:[c&&(0,a.jsx)("h1",{className:"text-heading-1 font-bold text-white",children:c}),d&&(0,a.jsx)(i.Z,{data:d,className:"mt-6 text-body text-white/80 max-w-[480px]"}),(u||x)&&(0,a.jsxs)("div",{className:"flex flex-wrap gap-4 mt-8",children:[u&&p&&(0,a.jsx)(r.Z,{link:u,buttonType:"primary",className:"w-fit",children:p}),x&&m&&(0,a.jsx)(r.Z,{link:x,buttonType:"tertiary",isOnDarkBackground:!0,className:"w-fit",children:m})]}),v.length>0&&(0,a.jsx)("div",{className:"flex flex-wrap gap-10 mt-12 pt-7 border-t border-white/15",children:v.map((e,l)=>(0,a.jsxs)("div",{children:[e.value&&(0,a.jsx)("div",{className:"text-heading-2 font-bold text-white",children:e.value}),e.label&&(0,a.jsx)("div",{className:"mt-1.5 text-tiny-body text-white/60 max-w-[160px]",children:e.label})]},"hero-with-live-timeline-stat-".concat(l)))})]}),(0,a.jsxs)("div",{className:"flex flex-col gap-3.5",children:[f&&"url"in f?(0,a.jsx)(s.Z,{field:f,priority:!0,className:"w-full rounded-2rem"}):(0,a.jsx)("div",{className:"min-h-[280px] grid place-items-center rounded-2rem border border-dashed border-white/30 p-10 text-center",children:(0,a.jsx)("span",{className:"text-small-body font-semibold text-white/60",children:"Visual placeholder"})}),h&&(0,a.jsx)("span",{className:"self-center rounded-md bg-warning px-2.5 py-1 text-tiny-body font-semibold text-grey-dark",children:h})]})]})})})}},13344:function(e,l,t){t.d(l,{default:function(){return p}});var a=t(57437),r=t(226),n=t(53746),s=t(26497),i=t(38497),o=t(8365),c=t(56873),d=t(54365),u=t(2265);function p(e){let{title:l,description:t,image:d,video:p,video_mobile:m,card_item:f}=e,h=(0,u.useRef)(null),g=(0,u.useRef)(null),v=(0,u.useRef)(null),b=(0,u.useRef)(null),y=(0,u.useRef)(null),j=(0,u.useRef)(null),w=(0,u.useRef)(null),N=(0,u.useRef)(null);(0,u.useEffect)(()=>
1{let e=c.Z.timeline({easing:"easeInCubic",autoplay:!1});w.current&&e.add({targets:[w.current],opacity:[1,0],duration:500}),y.current&&e.add({targets:[y.current],scale:[1.25,1],duration:500},"-=500"),v.current&&e.add({targets:[v.current],opacity:[1,0],duration:500},"-=500").add({targets:[v.current],backgroundSize:["125%","100%"],duration:500},"-=500"),h.current&&e.add({targets:[h.current],opacity:[0,1],duration:100},"-=400"),g.current&&e.add({targets:[g.current],color:{value:["#1F1C2B","#FFFFFF"],duration:400}},"-=400"),N.current&&(null==p?void 0:p.url)&&e.add({targets:[N.current],opacity:[0,1],duration:200,complete:()=>{var e,l;(null===(e=N.current)||void 0===e?void 0:e.children)&&Array.from(null===(l=N.current)||void 0===l?void 0:l.children).forEach(e=>e.play())}}),b.current&&e.add({targets:[b.current],translateY:["2.5rem",0],opacity:[0,1],duration:350},"+=".concat(f?1250:0)),j.current&&e.add({targets:[j.current],opacity:[0,.4],duration:400},500),setTimeout(()=>{e.play()},250)},[]);let k=(0,o.Z)(d);return(0,a.jsxs)("section",{className:"relative overflow-hidden bg-white hero",children:[(0,a.jsxs)("div",{className:"fixed top-0 left-0 z-40 w-full h-full pointer-events-none",children:[(0,a.jsx)("div",{className:"absolute w-full h-full bg-white",ref:w}),(0,a.jsx)("p",{className:"relative z-40 hidden h-full col-start-1 row-start-1 font-semibold text-center text-transparent bg-no-repeat bg-size-125 bg-clip-text text-heroTitle lg:pt-44 xl:block",style:{backgroundImage:"url(".concat(k,")"),backgroundPositionX:"50%",backgroundPositionY:"50%"},ref:v,children:l})]}),(0,a.jsxs)("div",{className:"relative flex items-end min-h-default h-5/6vh lg:h-auto lg:min-h-screen",children:[(0,a.jsxs)(n.Z,{className:"z-20 items-end w-full text-white mb-36 lg:pt-44 lg:mb-24 xl:mb-24",children:[l&&(0,a.jsxs)("div",{className:"grid font-semibold text-center col-span-full h-fit text-heroTitle lg:row-start-1",children:[(0,a.jsx)("h1",{className:"hidden row-start-1 text-white opacity-0 xl:block",ref:h,children:l}),(0,a.jsx)("h1",{className:"row-start-1 xl:hidden",ref:g,children:l})]}),(0,a.jsx)("div",{className:"opacity-0 col-span-full flex flex-col gap-y-1 text-left lg:gap-y-2.5 lg:col-start-1 lg:row-start-2 xl:col-span-8 xl:pe-9 xl:col-start-1",ref:b,children:t&&(0,a.jsx)(i.Z,{data:t,className:"self-center font-bold text-center text-heading-2 lg:self-center xl:self-start xl:text-start"})}),f&&(0,a.jsx)(r.default,{heroVariation:"default",className:"hidden lg:mt-6 lg:flex lg:col-span-full lg:justify-center lg:col-start-1 xl:col-span-4 xl:col-start-9 xl:pt-0 xl:justify-end",...f,animate:!0,animationDelay:1750})]}),(0,a.jsx)("div",{className:"absolute bottom-0 left-0 z-10 w-full opacity-0 bg-gradient-to-t from-black via-black h-1/2 lg:h-4/5",ref:j}),d&&(0,a.jsx)("div",{className:"absolute top-0 left-0 w-full h-full scale-125",ref:y,children:(0,a.jsx)(s.Z,{field:d,priority:!0,className:"object-cover w-full h-full -scale-x-100 lg:transform-none"})}),(null==p?void 0:p.url)&&(0,a.jsx)("div",{ref:N,className:"absolute w-full h-full opacity-0",children:(0,a.jsx)(x,{video:p.url,video_mobile:null==m?void 0:m.url})})]}),f&&(0,a.jsx)(n.Z,{children:(0,a.jsx)("div",{className:"flex justify-center col-span-full xl:hidden",children:(0,a.jsx)(r.default,{heroVariation:"default",className:"z-30 -mt-[6.5rem] lg:mt-auto lg:hidden",...f,animate:!0,animationDelay:2200})})})]})}function x(e){let{video:l,video_mobile:t}=e;return(0,a.jsxs)(a.Fragment,{children:[t&&(0,a.jsx)("video",{muted:!0,disablePictureInPicture:!0,disableRemotePlayback:!0,playsInline:!0,loop:!0,src:t,className:"absolute object-cover w-full h-full md:hidden","aria-hidden":!0}),(0,a.jsx)("video",{muted:!0,disablePictureInPicture:!0,disableRemotePlayback:!0,playsInline:!0,loop:!0,src:l,className:(0,d.Z)("absolute object-cover w-full h-full",t&&"hidden md:block"),"aria-hidden":!0})]})}},69680:function(e,l,t){t.d(l,{default:function(){return d}});var a=t(57437),r=t(53746),n=t(26497),s=t(38497),i=t(55490),o=t(54365),c=t(2265);function d(e){let{anchor:l,background_color:t,fit_image_in_container:d,title:u,description:p,image:x,show_whitespace:m,variation:f}=e,[h,g]=(0,c.useState)(!1),v=()=>{g(!h)};return(0,a.jsxs)(i.Z,{backgroundColor:t,anchor:l,className:m?"":"hide_whitespace",children:[(u||p.length>0)&&(0,a.jsx)(r.Z,{className:(0,o.Z)(["md:mb-10 md:max-w-3xl",m?"mb-2.5":"mt-2 mb-1 md:mb-2"]),withPadding:m,children:(0,a.jsxs)("div",{className:"flex flex-col col-span-full gap-y-2",children:[(0,a.jsx)("h2",{className:(0,o.Z)(["text-heading-3 font-bold text-black","dark_purple"===t&&"text-white"]),children:u}),(0,a.jsx)(s.Z,{data:p,className:(0,o.Z)(["text-black flex flex-col gap-y-5","dark_purple"===t&&"text-white"])})]})}),(0,a.jsx)(r.Z,{className:(0,o.Z)(["gap-y-2.5 lg:gap-y-10",u||p?"pt-4":""]),children:(0,a.jsxs)("div",{className:"relative col-span-full",children:[h&&(0,a.jsx)("div",{className:"fixed inset-0 z-50 flex items-center justify-center bg-black bg-opacity-80",onClick:v,children:(0,a.jsx)(n.Z,{field:x,className:"max-w-full max-h-full cursor-pointer"})}),(0,a.jsx)("div",{className:"cursor-pointer",onClick:v,children:(0,a.jsx)(n.Z,{field:x,className:(0,o.Z)(["w-auto mx-auto cursor-pointer",d?"object-contain aspect-video w-full":""])})})]})})]})}},42862:function(e,l,t){t.d(l,{default:function(){return d}});var a=t(57437),r=t(76686),n=t(54365),s=t(72040),i=t(53746),o=t(38497),c=t(55490);function d(e){let{anchor:l,background_color:t,image:d,heading:u,body:p,cta_label:x,cta_link:m,image_position:f="left"}=e,h="right"===f;return(0,a.jsx)(c.Z,{anchor:l,backgroundColor:t,children:(0,a.jsx)(i.Z,{children:(0,a.jsxs)("div",{className:"grid col
1-span-full grid-cols-1 lg:grid-cols-3 gap-8 items-center",children:[(0,a.jsx)("div",{className:(0,n.Z)("lg:col-span-2 w-full",h?"lg:order-2":"lg:order-1"),children:d&&(0,a.jsx)(r.PrismicNextImage,{field:d,className:"w-full h-auto object-contain",sizes:"(min-width: 1024px) 66vw, 100vw",fallbackAlt:""})}),(0,a.jsxs)("div",{className:(0,n.Z)("lg:col-span-1 flex flex-col justify-center gap-y-4 md:gap-y-6",h?"lg:order-1":"lg:order-2"),children:[u&&(0,a.jsx)(o.Z,{data:u,className:(0,n.Z)("text-heading-2 font-bold","dark_purple"===t?"text-white":"text-current")}),p&&(0,a.jsx)(o.Z,{data:p,className:(0,n.Z)("text-body flex flex-col gap-y-5 max-w-prose","dark_purple"===t?"text-white":"text-current")}),x&&m&&(0,a.jsx)("div",{className:"mt-4 lg:mt-5",children:(0,a.jsx)(s.Z,{link:m,buttonType:"primary",isOnDarkBackground:"dark_purple"===t,className:"w-full md:w-fit justify-center md:justify-start",children:x})})]})]})})})}},86843:function(e,l,t){t.d(l,{default:function(){return P}});var a=t(57437),r=t(53746),n=t(78682),s=t(54365),i=t(2265);function o(e){let{callback:l,journeys:t,activeIndex:o}=e,c=(0,i.useRef)(0);function d(){let e=document.querySelector("body>nav"),l=document.querySelector("#industry-blueprint");if(!l||!e)return;let t=l.getBoundingClientRect().top,a=(0,n.Z)(c),r=e.classList.contains("scrolled");t<120&&a!==r&&(e.classList.toggle("scrolled",a),l.classList.toggle("scrolled",a))}return((0,i.useEffect)(()=>(window.addEventListener("scroll",d),()=>{window.removeEventListener("scroll",d)}),[]),!Array.isArray(t)||t.length<1)?null:(0,a.jsx)("div",{className:"z-10 pointer-events-none xl:absolute xl:w-full xl:h-full xl:top-0 xl:left-0",children:(0,a.jsx)("div",{className:"pointer-events-none xl:sticky xl:h-screen xl:top-0",children:(0,a.jsx)("nav",{className:"pointer-events-auto pt-30 transition-all duration-150",id:"industry-blueprint-navigation",children:(0,a.jsx)(r.Z,{withPadding:!1,className:"md:py:0",children:(0,a.jsx)("div",{className:"flex gap-x-2 overflow-x-auto max-w-full col-span-full px-5 md:px-0 lg:w-fit lg:justify-self-center lg:p-2 lg:bg-purple/80 lg:rounded-full lg:backdrop-blur-xl","data-scroll":"true",children:t.map((e,t)=>{let r=(null==e?void 0:e.number)&&(null==e?void 0:e.title)?"".concat(e.number," ").concat(e.title):"";return r?(0,a.jsx)("button",{className:(0,s.Z)("px-4 py-3 font-semibold text-heading-6 rounded-full whitespace-nowrap transition-colors hover:bg-purple-blue hover:text-white lg:transition-all",o===t?"bg-purple-blue text-white":"text-purple/30 lg:text-white/50"),onClick:()=>l(t),children:r},t):null})})})})})})}var c=t(88862),d=t(72040),u=t(90361),p=t(33145),x=t(38497);function m(e){let{staticImage:l,subtitle:t,title:r,indicator:n,description:i,buttonCallback:o,buttonLabel:c,hoverHandler:m,activeCard:f,index:h}=e;return(0,a.jsxs)("div",{className:(0,s.Z)("flex flex-col relative drop-shadow-xl md:flex delay-150 xl:transition-all",h===f?"xl:grow xl:w-full":"xl:shrink xl:w-2/12"),onMouseEnter:function(){m(h)},children:[l&&(0,a.jsx)(p.default,{src:l.src,width:l.width,height:l.height,alt:l.alt,className:"w-full h-full rounded-t-1rem max-h-80 object-cover md:max-h-horizontal-expanding-card md:rounded-2rem xl:h-horizontal-expanding-card"}),(0,a.jsx)("div",{className:(0,s.Z)("min-w-88 text-sm bg-purple text-white rounded-b-1rem md:absolute md:-right-px md:h-full md:w-1/2 md:rounded-bl-none md:rounded-r-2rem md:max-h-full md:overflow-hidden md:bg-purple/80 md:backdrop-blur-2xl lg:w-4/12 xl:transition-opacity",f===h?"xl:opacity-100 xl:delay-200":"xl:opacity-0"),children:(0,a.jsxs)("div",{className:"flex flex-col gap-y-4 p-8 md:max-h-full md:overflow-y-auto xl:p-10","data-scroll":!0,children:[(0,a.jsxs)("div",{className:"flex justify-between gap-x-2 xl:gap-x-4",children:[(0,a.jsxs)("span",{children:[t&&(0,a.jsx)("span",{className:"text-small-body",children:t}),r&&(0,a.jsx)("h3",{className:"text-heading-4 font-semibold",children:r})]}),n&&(0,a.jsx)("span",{className:(0,s.Z)("inline-block shrink-0","linear"===n?"h-12":"h-10"),children:(0,a.jsx)(u.ZP,{type:"".concat(n,"Indicator"),className:"h-full"})})]}),i&&(0,a.jsx)(x.Z,{data:i,className:"flex flex-col gap-y-2 xl:gap-y-4"}),o&&c&&(0,a.jsx)(d.Z,{buttonType:"primary",onClick:o,className:"w-fit md:mt-4",isOnDarkBackgroun
1d:!0,children:c})]})})]})}let f={shipment_journey:{src:"/images/shipment_journey.png",alt:"",width:920,height:599},equipment_journey:{src:"/images/equipment_journey.png",alt:"",width:920,height:599},vessel_journey:{src:"/images/vessel_journey.png",alt:"",width:958,height:599}};function h(e){let{title:l,journeys:t,indexCallback:n}=e,s=(0,c.f)("en-gb"),[o,d]=(0,i.useState)(0);return(0,a.jsxs)(r.Z,{className:"gap-y-8 xl:gap-y-10",children:[l&&(0,a.jsx)("h2",{className:"text-heading-2 font-bold col-span-full",children:l}),Array.isArray(t)&&t.length>0&&(0,a.jsx)("div",{className:"flex flex-col gap-y-4 col-span-full xl:flex-row xl:gap-x-10",children:t.map((e,l)=>{let t=f[e.asset_type],r=e.number.toString().padStart(2,"0");return(0,a.jsx)(m,{subtitle:r,title:e.title,description:e.summary,staticImage:t,indicator:e.type,buttonCallback:()=>n(l),buttonLabel:s.industry_blueprint.explore_journey,activeCard:o,hoverHandler:d,index:l},e.title)})})]})}var g=t(56873);function v(e){let{children:l,innerWrapperClass:t,innerTrackIsNav:r=!1}=e,n=(0,i.useRef)(0),o=(0,i.useRef)(0),c=(0,i.useRef)(null),d=(0,i.useRef)(null);function u(e){e.preventDefault(),window.removeEventListener("mousemove",p),function(){var e,l,t;if(!(null==c?void 0:c.current))return;let a=Array.from(c.current.childNodes),r=parseInt(c.current.dataset.translate||"0"),n=(null==a?void 0:null===(l=a[1])||void 0===l?void 0:null===(e=l.getBoundingClientRect())||void 0===e?void 0:e.width)||0;if(!n)return;let s=function(){if(!window)return 0;let e=parseFloat(getComputedStyle(document.documentElement).fontSize)||16,l=97.5*e,t=2.5*e;return window.innerWidth<l?window.innerWidth-t:l-t}(),i=Math.min(a.length-1,a.length-Math.floor(s/n)),o=a[Math.max(Math.min(Math.ceil(r/n)-1,i),0)];if(!o)return;let u=(null==o?void 0:o.offsetLeft)||0;t=Math.max(u-function(){if(!window)return 0;let e=parseFloat(getComputedStyle(document.documentElement).fontSize)||16;return Math.max((window.innerWidth-97.5*e)/2,0)}(),0),d.current=g.Z.timeline({duration:800,easing:"easeOutCubic",autoplay:!1}).add({targets:c.current,translateX:["-".concat(r,"px"),"-".concat(t,"px")]}),d.current.play()}()}function p(e){!function(e,l,t){if(!(null==c?void 0:c.current))return;let a=l-(e.pageX-t);c.current.style.transform="translateX(-".concat(a,"px)"),c.current.dataset.translate="".concat(Math.max(a,0))}(e,n.current,o.current)}return(0,a.jsx)("div",{className:"overflow-visible",onMouseDown:function(e){var l,t,a,r;if((null===(l=window)||void 0===l?void 0:l.innerWidth)<1024||!(null==c?void 0:c.current))return;(null==d?void 0:d.current)&&d.current.pause();let s=parseInt(null===(r=c.current)||void 0===r?void 0:null===(a=r.style)||void 0===a?void 0:null===(t=a.transform)||void 0===t?void 0:t.replace(/[^\d.]/g,""))||0;c.current.dataset.translate="".concat(s),n.current=s,o.current=e.pageX,window.addEventListener("mouseup",u,{once:!0}),window.addEventListener("mousemove",p)},children:(0,a.jsx)("div",{className:(0,s.Z)("overflow-visible w-screen hide-scrollbar lg:overflow-hidden",t),children:(0,a.jsx)("div",{className:"relative lg:cursor-grab",children:(0,a.jsx)(r?"nav":"div",{className:"flex overflow-auto snap-x snap-mandatory scroll-px-0 carousel-card-wrapper md:scroll-px-15 lg:overflow-visible",ref:c,"data-scroll":!0,children:l})})})})}function b(e){let{children:l}=e;return(0,a.jsx)(v,{children:l})}function y(e){var l;let{item:t,buttonText:r,className:n}=e;return(null==t?void 0:null===(l=t.link)||void 0===l?void 0:l.url)?(0,a.jsxs)("div",{className:(0,s.Z)("flex flex-col gap-y-2.5 px-6 py-8 bg-purple rounded-1rem lg:rounded-2rem",n),children:[t.subtitle&&(0,a.jsx)("span",{className:"font-semibold text-heading-5",children:t.subtitle}),t.title&&(0,a.jsx)("span",{className:"font-semibold text-heading-5",children:t.title}),(0,a.jsx)(d.Z,{link:t.link,className:"w-fit mt-auto text-yellow",buttonType:"tertiary",children:r})]}):null}var j=t(97022);function w(e){let{popupData:l,setPopupData:t,dictionary:r}=e;return(0,a.jsx)(j.Z,{open:null!==l,setOpen:()=>t(null),children:(0,a.jsxs)("div",{className:"relative flex flex-col gap-y-4 text-white py-10 lg:py-14 lg:grid lg:grid-cols-8 lg:gap-x-10 xl:py-32",children:[(0,a.jsxs)("div",{className:"flex flex-col gap-y-4 lg:col-span-3",children:[(0,a.jsxs)("div",{className:"flex flex-col gap-y-1",children:[(0,a.jsx)("span",{className:"text-grey-light text-small-body",children:null==l?void 0:l.subt
1itle}),(0,a.jsx)("span",{className:"text-heading-3 font-bold",children:null==l?void 0:l.title})]}),(0,a.jsx)(x.Z,{data:(null==l?void 0:l.description)||""}),(null==l?void 0:l.link)&&(null==l?void 0:l.link_label)&&(0,a.jsx)(d.Z,{link:null==l?void 0:l.link,buttonType:"primary",className:"w-fit",isOnDarkBackground:!0,children:null==l?void 0:l.link_label})]}),l&&Array.isArray(null==l?void 0:l.cardItems)&&l.cardItems.length>0&&(0,a.jsx)("div",{className:"relative flex flex-col gap-y-8 mt-4 lg:col-span-5 lg:max-h-[calc(80vh_-_9rem)] lg:pb-20 lg:overflow-y-auto",children:l.cardItems.map((e,l)=>(0,a.jsxs)("div",{className:"flex flex-col gap-y-4",children:[e.title&&(0,a.jsx)("h5",{className:"font-semibold",children:e.title}),Array.isArray(e.items)&&e.items.length>0&&(0,a.jsx)("div",{className:"grid gap-4 sm:grid-cols-2 2xl:grid-cols-3",children:e.items.map(e=>(0,a.jsx)(y,{item:e,buttonText:(null==e?void 0:e.link_label)||r.industry_blueprint.view_model},"related-model-card-".concat(e.title)))})]},l))})]})})}let N={shipment_journey:{src:"/images/shipment_journey_bg.png",alt:"",width:1920,height:3790},equipment_journey:{src:"/images/equipment_journey_bg.png",alt:"",width:1920,height:4094},vessel_journey:{src:"/images/vessel_journey_bg.png",alt:"",width:1920,height:2911}};function k(e){let{asset_type:l,journey:t}=e,[r,n]=(0,i.useState)(null),s=(0,c.f)("en-gb");if(!t)return null;let{src:o,alt:d,width:u,height:x}=N[l];function m(e,l,a){var r,i,o,c;let d=null==t?void 0:t[e];if(!d)return;let u=t.title,p=(null==s?void 0:null===(i=s.industry_blueprint)||void 0===i?void 0:null===(r=i.stepTitles)||void 0===r?void 0:r[l])||"",x=u&&p?"".concat(u," / ").concat(p):"",m=d[a],f=(null==m?void 0:m.standard.title)||"",h=(null==m?void 0:m.standard.description)||"",g=(null==m?void 0:null===(o=m.standard)||void 0===o?void 0:o.link)||{url:"",link_type:"Any"};n({subtitle:x,title:f,description:h,link:g,link_label:(null==m?void 0:null===(c=m.standard)||void 0===c?void 0:c.link_label)||"",cardItems:(null==m?void 0:m.standard.related_models)||[]})}return(0,a.jsxs)("div",{className:"relative h-[300vh] overflow-hidden lg:min-h-[300vh] lg:h-auto",children:[(0,a.jsx)(p.default,{className:"h-full object-cover mx-auto lg:min-w-full lg:max-w-none",src:o,alt:d,height:x,width:u}),t.step_1_standards&&(0,a.jsx)("div",{className:"absolute top-[50vh]","data-journey-step-index":0,children:(0,a.jsx)(b,{children:t.step_1_standards.map((e,l)=>(0,a.jsx)(Z,{standard:e,callback:()=>m("step_1_standards",0,l)},e.standard.title))})}),t.step_2_standards&&(0,a.jsx)("div",{className:"absolute top-[150vh]","data-journey-step-index":1,children:(0,a.jsx)(b,{children:t.step_2_standards.map((e,l)=>(0,a.jsx)(Z,{standard:e,callback:()=>m("step_2_standards",1,l)},e.standard.title))})}),t.step_3_standards&&(0,a.jsx)("div",{className:"absolute top-[250vh]","data-journey-step-index":2,children:(0,a.jsx)(b,{children:t.step_3_standards.map((e,l)=>(0,a.jsx)(Z,{standard:e,callback:()=>m("step_3_standards",2,l)},e.standard.title))})}),(0,a.jsx)(w,{popupData:r,setPopupData:n,dictionary:s})]})}function Z(e){var l,t;let{standard:r,callback:n}=e,s=(0,c.f)("en-gb");return(0,a.jsx)("div",{className:"pl-5 shrink-0 snap-start last:pr-5 first:ml-container-margin md:first:pl-20 md:last:pr-20 first:ml-container-whitespace lg:snap-none",children:(0,a.jsxs)("div",{className:"flex flex-col h-full w-48 gap-y-2.5 rounded-1rem p-5 bg-purple/80 backdrop-blur-2xl md:w-72 xl:rounded-2rem",children:[(0,a.jsx)("span",{className:"inline-flex items-center justify-center aspect-square rounded-full w-8 border-2 border-yellow",children:(0,a.jsx)(u.ZP,{type:"eye",className:"w-4"})}),(0,a.jsx)("h4",{className:"text-heading-4 text-white font-semibold font-semibold",children:r.standard.title}),(0,a.jsxs)("div",{className:"w-fit mt-auto",children:[(0,a.jsx)(d.Z,{buttonType:"primary",className:"hidden md:block",isOnDarkBackground:!0,onClick:n,children:(null==r?void 0:null===(l=r.standard)||void 0===l?void 0:l.card_button_label)||s.industry_blueprint.explore_models}),(0,a.jsx)(d.Z,{buttonType:"tertiary",className:"flex items-center gap-x-2 md:hidden",onClick:n,children:(null==r?void 0:null===(t=r.standard)||void 0===t?void 0:t.card_button_label)||s.industry_blueprint.explore_models})]})]})},r.standard.title)}function _(e){var l;let{type:t="linear"}=e,[r,n]=(0,i.useState)(0),o=(0,i.useRef)(null),d=(0,i.useRef)(null),p=(0,c.f)("en-gb");
1function x(e){e.forEach(e=>{if(e.isIntersecting){let l=e.target.getAttribute("data-journey-step-index");null==l||isNaN(parseInt(l))||n(parseInt(l))}})}(0,i.useEffect)(()=>(o.current=new IntersectionObserver(x,{rootMargin:"-25%"}),document.querySelectorAll("[data-journey-step-index]").forEach(e=>{var l;null===(l=o.current)||void 0===l||l.observe(e)}),()=>{var e;null===(e=o.current)||void 0===e||e.disconnect()}),[]),(0,i.useEffect)(()=>{if(null==d?void 0:d.current){if("linear"===t)(0,g.Z)({targets:d.current.querySelector(".active-indicator-line"),translateY:"".concat(30*r,"px"),duration:300,easing:"easeInOutCubic"});else if("circular"===t){let e=.24+.33*r;(0,g.Z)({targets:d.current.querySelector(".active-indicator-line"),strokeDashoffset:"".concat(e),duration:300,easing:"easeInOutCubic"})}}},[t,r]);let m=(null==p?void 0:null===(l=p.industry_blueprint)||void 0===l?void 0:l.stepTitles)||["Pre-Shipping","Shipping","Post-Shipping"];return(0,a.jsxs)("div",{className:"flex justify-end items-center gap-x-12 text-white",children:[(0,a.jsx)("span",{className:"grid font-bold text-heading-2 overflow-hidden h-9 lg:h-15 lg:whitespace-nowrap",children:m.map((e,l)=>(0,a.jsx)("span",{className:(0,s.Z)("row-start-1 col-start-1 transition-transform",r<l&&"translate-y-full",r>l&&"-translate-y-full"),children:e},l))}),(0,a.jsx)("span",{ref:d,children:(0,a.jsx)(u.ZP,{type:"".concat(t,"Indicator"),className:(0,s.Z)("overflow-visible","linear"===t?"w-3":"w-16")})})]})}var C=t(89258),S=t(54887);function R(e){let{open:l,setOpen:t,children:r}=e,n=(0,i.useRef)(null),o=(0,i.useRef)(null);function c(){g.Z.timeline({easing:"easeInCubic"}).add({targets:o.current,opacity:[1,0],translateY:[0,"1rem"],duration:300}).add({targets:n.current,opacity:[1,0],duration:300,complete:()=>{t(!1)}})}function d(e){"Escape"===e.key&&c()}return(0,i.useEffect)(()=>{(0,C.Z)(l),l?(window.addEventListener("keydown",d),g.Z.timeline({easing:"easeOutCubic"}).add({targets:n.current,opacity:[0,1],duration:300}).add({targets:o.current,translateY:["1rem",0],opacity:[0,1],duration:300})):window.removeEventListener("keydown",d)},[l]),(0,a.jsx)(a.Fragment,{children:l&&(0,S.createPortal)((0,a.jsxs)("div",{className:(0,s.Z)("fixed top-0 left-0 z-50 flex items-center justify-center w-full h-full",!l&&"pointer-events-none"),children:[(0,a.jsx)("button",{className:"absolute w-full h-full bg-purple/50",onClick:c,ref:n}),(0,a.jsx)("div",{className:"relative flex items-center",children:(0,a.jsx)("div",{className:"relative px-5 md:px-0 lg:aspect-square",children:(0,a.jsxs)("div",{className:"relative flex flex-col px-10 max-w-2xl bg-petrol/80 rounded-1rem py-10 md:px-20 lg:h-full lg:rounded-2rem",ref:o,children:[(0,a.jsx)("button",{onClick:c,className:"self-end",children:(0,a.jsx)(u.ZP,{type:"plus",className:"w-8 h-8 transition-transform -rotate-45 fill-white group-hover:rotate-45"})}),r]})})})]}),document.body)})}var F=t(37583);function z(e){var l;let{dictionary:t,glossary:n,backCallback:s,journeyNumber:o,journeyTitle:c,journeySummary:d,journeyIndicatorType:p}=e,[m,f]=(0,i.useState)(!1);return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("div",{className:"absolute top-0 left-0 w-full h-full z-10 pointer-events-none",children:(0,a.jsxs)("div",{className:"flex flex-col justify-between sticky top-0 h-full max-h-screen xl:justify-end",children:[(0,a.jsx)("div",{className:"px-5 bg-gradient-to-b transition-all duration-150 from-white from-70% pb-10 pt-20 pointer-events-auto md:flex md:gap-x-4 md:px-20 lg:pt-30 xl:h-3/6 xl:pb-8 xl:bg-gradient-to-t xl:from-purple xl:from-0% xl:pointer-events-none",id:"explore-journey-button",children:(0,a.jsxs)(r.Z,{withPadding:!1,className:"w-full md:flex xl:grid xl:grid-cols-3 xl:items-end",children:[(0,a.jsxs)("div",{className:"flex gap-x-4 col-span-full md:mr-auto xl:col-span-1 xl:pointer-events-auto",children:[(0,a.jsxs)("button",{onClick:()=>s(null),className:"hidden border-2 border-purple-blue text-purple-blue p-4 font-semibold bg-white rounded-full items-center gap-x-2 md:flex xl:bg-transparent xl:text-white xl:border-white",children:[(0,a.jsx)(u.ZP,{type:"arrow",className:"w-4 rotate-180 fill-purple-blue xl:fill-white"})," ",t.general.back]}),(0,a.jsxs)("button",{onClick:()=>f(!0),className:"flex justify-between items-center gap-x-2 rounded-full border-2 border-purple-blue text-purple-blue p-4 font-semibold w-full bg-white xl:bg-transparent xl:text-white xl:border-white",children:[t.industry_blueprint.explore_journey," ",(0,a.jsx)(u.ZP,{type:"plus",className:"w-4 fill-purple-blue xl:fill-white"})]})]}),(0,a.jsx)("div",{className:"hidden justify-center xl:flex xl:pointer-events-auto",children:(0,a.jsx)(_,{type:p})}),(0,a.jsx)("div",{className:"hidden md:flex xl:justify-end xl:pointer-events-auto",children:n&&(0,a.jsxs)(F.Z,{url:n.url,link_type:"Web",target:"_blank",className:"flex items-center gap-x-2 border-2 border-purple-blue text-purple-blue p-4 font-semibold bg-white rounded-full xl:w-fit xl:bg-transparent xl:text-white xl:border-white",children:[null==t?void 0:null===(l=t.industry_blueprint)||void 0===l?void 0:l.glossary_of_terms,(0,a.jsx)(u.ZP,{type:"download",className:"w-4 fill-purple-blue xl:fill-white"})]})})]})}),(0,a.jsx)("div",{className:"col-span-full px-5 bg-gradient-to-t from-purple from-50% py-10 md:px-20 xl:hidden",children:(0,a.jsx)(_,{type:p})})]})}),(0,a.jsx)(R,{open:m,setOpen:f,children:(0,a.jsx)("div",{className:"flex h-full items-center max-w-sm",children:(0,a.jsxs)("div",{className:"flex flex-col gap-y-5 text-white mx-auto",children:[(0,a.jsxs)("div",{className:"flex flex-col gap-y-2",children:[o&&(0,a.jsx)("span",{className:"text-heading-3",children:o}),c&&(0,a.jsx)("span",{className:"font-semibold text-heading-4",children:c})]}),d&&(0,a.jsx)(x.Z,{data:d})]})})})]})}var A=t(55490),I=t(67395);function P(e){let{title:l,journeys:t,glossary_of_terms:r}=e;if(!t)return null;let[n,s]=(0,i.useState)(null),d=(0,c.f)("en-gb"),u=(0,i.useRef)(null),p=(0,i.useRef)(null);function x(){if(!p.current)return;let e=p.current.offsetTop;(0,I.Z)(document.documentElement,e,window.innerWidth>1024?null!==n?0:70:25,400)}return(0,a.jsxs)(A.Z,{className:null!==n?"open":"",backgroundColor:"white",anchor:"industry-blueprint",children:[(0,a.jsx)("div",{ref:p,children:null===n&&(0,a.jsx)(h,{title:l,journeys:t,indexCallback:function(e){if(!(null==p?void 0:p.current))return;x();
1let l=g.Z.timeline({easing:"easeInCubic",autoplay:!1});l.add({targets:p.current,opacty:[1,0],duration:300,complete:()=>{s(e)}}).add({targets:null==u?void 0:u.current,opacity:[0,1],duration:300}),l.play()}})}),(0,a.jsx)("div",{className:"relative opacity-0",ref:u,children:null!==n&&(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(o,{callback:function(e){if(!(null==u?void 0:u.current))return;let l=g.Z.timeline({easing:"easeInCubic",autoplay:!1});x(),l.add({targets:u.current,opacity:[1,0],duration:300,complete:()=>{s(e)}}).add({targets:u.current,opacity:[0,1],duration:300}),l.play()},journeys:t,activeIndex:n}),(0,a.jsxs)("div",{className:"relative pt-32 xl:pt-0",children:[(0,a.jsx)(z,{dictionary:d,glossary:r,backCallback:function(){if(!(null==u?void 0:u.current))return;let e=g.Z.timeline({easing:"easeInCubic",autoplay:!1});x(),e.add({targets:u.current,opacity:[1,0],duration:300,complete:()=>{s(null)}}).add({targets:p.current,opacity:[0,1],duration:300}),e.play()},journeyNumber:t[n].number,journeyTitle:t[n].title,journeySummary:t[n].summary,journeyIndicatorType:t[n].type}),(0,a.jsx)(k,{asset_type:t[n].asset_type,journey:(null==t?void 0:t[n])||null})]})]})})]})}},42423:function(e,l,t){t.d(l,{default:function(){return u}});var a=t(57437),r=t(72040),n=t(53746),s=t(26497),i=t(38497),o=t(55490),c=t(2917),d=t(54365);function u(e){let{anchor:l,background_color:t="dark_purple",title:u,description:p,cta_link:x,cta_label:m,items:f}=e,h="dark_purple"===t,g=(0,c.Z)(t),v=Array.isArray(f)?f.filter(e=>e.mark_label):[];return(0,a.jsx)(o.Z,{anchor:l,backgroundColor:t,children:(0,a.jsx)(n.Z,{className:"py-15 lg:py-30",children:(0,a.jsxs)("div",{className:"col-span-full grid gap-12 lg:grid-cols-2 lg:gap-14 lg:items-center",children:[(0,a.jsxs)("div",{className:(0,d.Z)("flex flex-col gap-y-5",g),children:[u&&(0,a.jsx)("h2",{className:"text-heading-2 font-bold",children:u}),p&&(0,a.jsx)(i.Z,{data:p,className:h?"text-white/80":"text-current/70"}),x&&m&&(0,a.jsx)(r.Z,{link:x,buttonType:"tertiary",isOnDarkBackground:h,className:"w-fit",children:m})]}),v.length>0&&(0,a.jsx)("div",{className:"flex flex-col gap-4",children:v.map((e,l)=>(0,a.jsxs)("div",{className:"flex items-center gap-3",children:[(0,a.jsx)("div",{className:(0,d.Z)("grid w-8 h-8 shrink-0 place-items-center rounded-full border text-tiny-body font-bold",h?"border-white/30 text-white":"border-purple/30 text-purple"),children:e.mark_icon&&"url"in e.mark_icon?(0,a.jsx)(s.Z,{field:e.mark_icon,className:"w-4 h-4 object-contain"}):e.mark_label.charAt(0)}),(0,a.jsx)("span",{className:(0,d.Z)("text-small-body",h?"text-white/80":"text-current/80"),children:e.mark_label})]},"trust-mark-".concat(l)))})]})})})}},38151:function(e,l,t){t.d(l,{default:function(){return c}});var a=t(57437),r=t(53746),n=t(26497),s=t(38497),i=t(55490),o=t(54365);function c(e){let{anchor:l,background_color:t="white",title:c,description:d,items:u}=e;if(!Array.isArray(u)||0===u.length)return null;let p="dark_purple"===t;return(0,a.jsx)(i.Z,{anchor:l,backgroundColor:t,children:(0,a.jsxs)(r.Z,{className:"gap-y-11",children:[(0,a.jsxs)("div",{className:"col-span-full flex flex-col gap-y-4 lg:max-w-[600px]",children:[c&&(0,a.jsx)("h2",{className:(0,o.Z)("text-heading-2 font-bold",p?"text-white":"text-current"),children:c}),d&&(0,a.jsx)(s.Z,{data:d,className:(0,o.Z)("text-body",p?"text-white/80":"text-grey-dark")})]}),(0,a.jsx)("div",{className:"col-span-full grid grid-cols-1 gap-5 md:grid-cols-3",children:u.map((e,l)=>(0,a.jsxs)("div",{className:(0,o.Z)("flex flex-col gap-y-4 rounded-1rem border p-7",p?"border-white/15 bg-white/5":"border-grey-light bg-off-white"),children:[e.icon&&"url"in e.icon&&(0,a.jsx)("div",{className:"grid h-[38px] w-[38px] place-items-center rounded-10 bg-info",children:(0,a.jsx)(n.Z,{field:e.icon,className:"h-[18px] w-[18px] object-contain"})}),e.tag&&(0,a.jsx)("span",{className:(0,o.Z)("inline-block w-fit text-tiny-body font-bold uppercase tracking-[0.05em]",p?"text-yellow":"text-petrol"),children:e.tag}),e.title&&(0,a.jsx)("h3",{className:(0,o.Z)("text-heading-4 font-semibold",p?"text-white":"text-current"),children:e.title}),e.description&&(0,a.jsx)(s.Z,{data:e.description,className:(0,o.Z)("text-small-body leading-snug",p?"text-white/70":"text-grey-dark")})]},"integration-option-".concat(l)))})]})})}},5819:function(e,l,t){t.d(l,{default:function(){return h}});var a=t(57437),r=t(53746),n=t(53571),s=t(26497),i=t(37583),o=t(97022),c=t(38497),d=t(55490),u=t(2917),p=t(54365),x=t(2265),m=t(7815);function f(e){var l;return e?"string"==typeof e?e:null!==(l=(0,m.D)(e))&&void 0!==l?l:"":""}function h(e){var l,t,m,h,g;let{anchor:v,background_color:b,title:y,body_copy:j,logo_filter:w="both",display_mode:N="grid",logoDocuments:k=[],manual_logos:Z=[]}=e,_="custom"===w?Z:k,[C,S]=(0,x.useState)(0),[R,F]=(0,x.useState)(null),z=(0,u.Z)(b),A=1===(g=_.length)?{columns:"grid-cols-1",maxWidth:"max-w-[280px]",container:"mx-auto",gap:"gap-6",itemMaxWidth:"max-w-[280px]"}:2===g?{columns:"grid-cols-2",maxWidth:"max-w-[580px]",container:"mx-auto",gap:"gap-6",itemMaxWidth:"max-w-[280px]"}:3===g?{columns:"grid-cols-3",maxWidth:"max-w-[880px]",container:"mx-auto",gap:"gap-6",itemMaxWidth:"max-w-[280px]"}:4===g?{columns:"grid-cols-2 sm:grid-cols-4",maxWidth:"max-w-[1180px]",container:"mx-auto",gap:"gap-6",itemMaxWidth:"max-w-[280px]"}:5===g?{columns:"grid-cols-2 sm:grid-cols-3 md:grid-cols-5",maxWidth:"max-w-[1480px]",container:"mx-auto",gap:"gap-6",itemMaxWidth:"max-w-[280px]"}:6===g?{columns:"grid-cols-2 sm:grid-cols-3 md:grid-cols-6",maxWidth:"max-w-[1780px]",container:"mx-auto",gap:"gap-6",itemMaxWidth:"max-w-[280px]"}:g>=7&&g<=12?{columns:"grid-cols-2 sm:grid-cols-3 md:grid-cols-4 lg:grid-cols-5 xl:grid-cols-6",maxWidth:"max-w-[1780px]",container:"mx-auto",gap:"gap-6",itemMaxWidth:"max-w-[280px]"}:{columns:"grid-cols-2 sm:grid-cols-3 md:grid-cols-4 lg:grid-cols-5 xl:grid-cols-6 2xl:grid-cols-7",maxWidth:"",container:"",gap:"gap-
15",itemMaxWidth:"max-w-[240px]"},I=Math.max(0,_.length-4);if(!_||0===_.length)return(0,a.jsx)(d.Z,{anchor:v,backgroundColor:b,className:(0,p.Z)(z),children:(0,a.jsx)(r.Z,{children:(0,a.jsx)("div",{className:"overflow-hidden bg-off-white rounded-3xl col-span-full lg:rounded-2rem",children:(0,a.jsxs)("div",{className:"flex flex-col gap-y-3 p-7 md:py-16 md:px-14 md:gap-y-5 lg:py-20 lg:px-16",children:[y&&(0,a.jsx)("h2",{className:"max-w-xl mx-auto font-bold text-center text-heading-3",children:y}),j&&(0,a.jsx)(c.Z,{data:j,className:"flex flex-col max-w-3xl mx-auto text-center gap-y-5 text-body text-grey-dark"}),(0,a.jsx)("div",{className:"py-12 text-center",children:(0,a.jsx)("p",{className:"text-grey-neutral text-body",children:(()=>{switch(w){case"custom":return"No logos to display.";case"partners_only":return"No partner logos to display with the specified tags.";case"members_only":return"No member logos to display with the specified tags.";default:return"No logos to display with the specified tags."}})()})})]})})})});let P=e=>{var l,t;let{logo:r,index:n}=e;if(!(null==r?void 0:null===(t=r.data)||void 0===t?void 0:null===(l=t.logo_image)||void 0===l?void 0:l.url))return null;let i=r.data,o=(0,a.jsxs)("div",{className:"relative flex items-center justify-center w-full p-4 transition-all duration-300 group aspect-square hover:scale-105",children:[(0,a.jsx)(s.Z,{field:i.logo_image,className:"object-contain w-full h-full max-w-full max-h-full transition-all duration-300"}),i.company_name&&(0,a.jsx)("div",{className:"absolute p-2 text-xs text-center transition-opacity duration-300 rounded shadow-sm opacity-0 bottom-2 left-2 right-2 text-grey-dark group-hover:opacity-100 bg-white/90",children:i.company_name})]});return(0,a.jsx)("button",{type:"button",className:"block w-full text-left focus:outline-none focus-visible:ring-2 focus-visible:ring-grey-dark/40 rounded-2xl",onClick:()=>F(i),"aria-label":"View details for ".concat(i.company_name||"carrier ".concat(n+1)),children:o})},E=f(null==R?void 0:R.description)||f(null==R?void 0:R.meta_description),L=null==R?void 0:null===(l=R.website_url)||void 0===l?void 0:l.url,T=(null==R?void 0:null===(t=R.website_url)||void 0===t?void 0:t.link_type)||"Web",D=(null==L?void 0:L.startsWith("http"))?"_blank":null==R?void 0:null===(m=R.website_url)||void 0===m?void 0:m.target;return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(d.Z,{backgroundColor:b,anchor:v,children:(0,a.jsx)(r.Z,{children:(0,a.jsx)("div",{className:"overflow-hidden bg-off-white rounded-3xl col-span-full lg:rounded-2rem",children:(0,a.jsxs)("div",{className:"flex flex-col gap-y-3 p-7 md:py-16 md:px-14 md:gap-y-5 lg:py-20 lg:px-16",children:[(0,a.jsxs)("div",{className:"text-center",children:[y&&(0,a.jsx)("h2",{className:"max-w-xl mx-auto font-bold text-heading-3",children:y}),j&&(0,a.jsx)(c.Z,{data:j,className:"flex flex-col max-w-3xl mx-auto gap-y-5 text-body text-grey-dark"})]}),"slider"===N?(0,a.jsx)("div",{className:"mt-1",children:(0,a.jsx)(n.Z,{itemsLength:I+1,callback:S,activeIndex:C,className:"w-full",hasMobileControls:!0,autoScrollInterval:3e3,hasDarkControls:!0,children:(0,a.jsx)("div",{className:"overflow-hidden max-w-[1200px] mx-auto",children:(0,a.jsx)("div",{className:"flex gap-6 transition-transform duration-500 ease-in-out",style:{transform:"translateX(-".concat(304*(C||0),"px)")},children:_.map((e,l)=>(0,a.jsx)("div",{className:"flex-shrink-0 w-[280px]",children:(0,a.jsx)(P,{logo:e,index:l})},e.id||"logo-".concat(l)))})})})}):(0,a.jsx)("div",{className:(0,p.Z)("grid auto-rows-max place-items-center justify-center mt-8",A.columns,A.maxWidth,A.container,A.gap),children:_.map((e,l)=>(0,a.jsx)("div",{className:(0,p.Z)("w-full",A.itemMaxWidth),children:(0,a.jsx)(P,{logo:e,index:l})},e.id||"logo-".concat(l)))})]})})})}),(0,a.jsx)(o.Z,{open:null!==R,setOpen:()=>F(null),children:(0,a.jsxs)("div",{className:"relative flex flex-col py-10 text-white gap-y-4 lg:py-14 lg:px-8",children:[(null==R?void 0:null===(h=R.logo_image)||void 0===h?void 0:h.url)&&(0,a.jsx)("div",{className:"w-full max-w-[220px] rounded-lg bg-white p-4",children:(0,a.jsx)(s.Z,{field:R.logo_image,className:"object-contain w-full h-full"})}),(null==R?void 0:R.company_name)&&(0,a.jsx)("h3",{className:"font-bold text-heading-4",children:R.company_name}),E&&(0,a.jsx)(c.Z,{data:E,className:"max-w-2xl text-small-body text-white/90 [&_*]:text-white/90"}),L&&(0,a.jsxs)("div",{className:"pt-2",children:[(0,a.jsx)("span",{className:"block mb-1 text-xs tracking-wider up
1percase text-white/70",children:"Website"}),(0,a.jsx)(i.Z,{url:L,link_type:T,target:D,className:"text-white underline text-small-body underline-offset-4 hover:text-white/80",children:"Visit website"})]})]})})]})}},31631:function(e,l,t){t.d(l,{default:function(){return i}});var a=t(57437),r=t(26497),n=t(53746),s=t(55490);function i(e){let{anchor:l,background_color:t="white",label:i,placeholder_note:o,items:c}=e;return Array.isArray(c)&&0!==c.length?(0,a.jsx)(s.Z,{anchor:l,backgroundColor:t,children:(0,a.jsx)(n.Z,{className:"py-8",children:(0,a.jsxs)("div",{className:"col-span-full flex flex-wrap items-center justify-between gap-7",children:[i&&(0,a.jsx)("span",{className:"text-tiny-body font-semibold uppercase tracking-[0.04em] text-grey-neutral whitespace-nowrap",children:i}),(0,a.jsx)("div",{className:"flex flex-wrap gap-4",children:c.map((e,l)=>e.logo&&"url"in e.logo?(0,a.jsx)(r.Z,{field:e.logo,className:"h-7 w-24 object-contain"},"member-logo-".concat(l)):(0,a.jsx)("div",{className:"grid h-7 w-24 place-items-center rounded-md border-[1.5px] border-dashed border-grey-light text-[10px] font-semibold text-grey-neutral",children:"LOGO"},"member-logo-".concat(l)))}),o&&(0,a.jsx)("span",{className:"rounded-md bg-warning px-2.5 py-1 text-tiny-body font-semibold text-grey-dark",children:o})]})})}):null}},43039:function(e,l,t){t.d(l,{default:function(){return g}});var a=t(57437),r=t(16049),n=t(26497),s=t(54365);function i(e){let{image:l,className:t,hasOverlay:r}=e;return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(n.Z,{field:l,className:(0,s.Z)("hidden object-cover min-w-screen h-screen big-anchor-image xl:block xl:opacity-0 motion-reduce:xl:opacity-100",t)}),r&&(0,a.jsx)("span",{className:"hidden absolute inset-0 w-full h-full bg-black/30 z-10 rounded-2rem opacity-0 big-anchor-image-overlay xl:block"})]})}var o=t(72040),c=t(37583);function d(e){let{title:l,image:t,link:r,isOnDarkBackground:i}=e;return(0,a.jsx)(c.Z,{...r,className:"ml-5 snap-start last:mr-8 md:first:ml-20 md:last:mr-20",children:(0,a.jsxs)("div",{className:"relative flex items-end p-5 aspect-square min-w-numbersCard rounded-3xl",children:[t?(0,a.jsxs)("div",{className:"absolute inset-0 w-full h-full object-cover rounded-3xl overflow-hidden",children:[(0,a.jsx)(n.Z,{field:t,className:"absolute inset-0 w-full h-full object-cover rounded-3xl"}),(0,a.jsx)("span",{className:"absolute left-0 bottom-0 w-full h-1/2 opacity-50 bg-gradient-to-t from-black rounded-3xl"})]}):(0,a.jsx)("span",{className:(0,s.Z)("absolute inset-0 w-full h-full",i?"bg-green":"bg-purple")}),l&&(0,a.jsxs)("span",{className:"relative pb-2",children:[(0,a.jsx)("span",{className:"font-bold text-heading-2 text-white",children:l}),(0,a.jsx)("span",{className:"absolute left-0 bottom-0 w-full h-1 bg-yellow"})]})]})})}var u=t(53746),p=t(38497),x=t(55490),m=t(8365),f=t(56873),h=t(2265);function g(e){let{background_color:l,image_anchor_title:t,anchor:g,title:v,description:b,cta_label:y,cta_link:j,items:w}=e,N=w.filter(e=>{var l;return(null===(l=e.link)||void 0===l?void 0:l.url)&&e.title&&(0,m.Z)(e.image)}),[k,Z]=(0,h.useState)(0),_=(0,h.useRef)(null),C=(0,h.useRef)(null),S=(0,h.useRef)(null);return(0,a.jsxs)(x.Z,{backgroundColor:l,anchor:g,className:"flex flex-col gap-y-10 lg:gap-y-0 lg:relative",startsWithBigAnchorImage:!0,children:[(null==N?void 0:N[k])&&(0,a.jsx)(r.default,{image:null==N?void 0:N[k].image,title:t||v,completeCallback:function(e){let l=f.Z.timeline({autoplay:!1,duration:300,easing:"easeInCubic"});e?(l.add({targets:null==S?void 0:S.current,opacity:[0,1],duration:0}),l.add({targets:null==C?void 0:C.current,opacity:[0,.6],duration:0}),(null==_?void 0:_.current)&&l.add({targets:_.current.children,opacity:[0,1],delay:f.Z.stagger(25)},0)):(l.add({targets:[null==S?void 0:S.current,null==C?void 0:C.current],opacity:[1,0],duration:0}),l.add({targets:null==C?void 0:C.current,opacity:[.6,0],duration:0},0),(null==_?void 0:_.current)&&l.add({targets:_.current.children,opacity:[1,0],duration:0},0)),l.play()},className:"z-30"}),(0,a.jsx)("div",{className:"xl:min-h-1.5-screen",children:(0,a.jsx)(u.Z,{className:"xl:sticky xl:top-0 xl:min-h-screen xl:items-center",children:(0,a.jsxs)("div",{className:"grid grid-cols-4 gap-x-4 c
1ol-span-full md:grid-cols-8 lg:gap-x-10 xl:max-h-screen-10rem xl:grid-cols-12",children:[(0,a.jsxs)("div",{className:"flex flex-col gap-y-2.5 col-span-full justify-center lg:col-span-4",children:[v&&(0,a.jsx)("h2",{className:"font-bold text-heading-2",children:v}),b&&(0,a.jsx)(p.Z,{data:b,className:"flex flex-col gap-y-5"}),j&&y&&(0,a.jsx)(o.Z,{buttonType:"primary",isOnDarkBackground:"dark_purple"===l,link:j,className:"mt-8 w-fit",children:y})]}),Array.isArray(N)&&N.length>0&&(0,a.jsxs)("div",{className:"relative hidden col-span-4 overflow-hidden big-anchor-container max-h-our-mission-image rounded-2rem lg:grid xl:col-span-8",ref:S,children:[N.map((e,l)=>0===l?(0,a.jsx)("div",{className:(0,s.Z)("col-start-1 row-start-1 rounded-2rem motion-safe:transition-opacity lg:aspect-square",k===l?"opacity-100":"opacity-0"),children:(0,a.jsx)(i,{image:e.image,className:(0,s.Z)("absolute -left-needs-cta-big-image-target-left -top-needs-cta-big-image-target-top object-cover lg:block")})},l):(0,a.jsx)("div",{className:(0,s.Z)("col-start-1 row-start-1 motion-safe:transition-opacity rounded-2rem",k===l?"opacity-100":"opacity-0"),children:(0,a.jsx)(n.Z,{field:e.image,className:"absolute object-cover h-screen -left-needs-cta-big-image-target-left -top-needs-cta-big-image-target-top min-w-screen"})},l)),(0,a.jsx)("div",{className:"z-20 flex flex-col col-start-1 row-start-1 p-10 max-h-our-mission-image gap-y-10 lg:overflow-auto hide-scrollbar xl:gap-y-14 xl:p-16",ref:_,"data-scroll":!0,children:N.map((e,l)=>(0,a.jsxs)("span",{className:"relative w-fit xl:opacity-0 group ",onMouseOver:()=>{Z(l)},children:[(0,a.jsx)(c.Z,{...e.link,className:"block font-bold text-white transition-transform duration-300 origin-left scale-100 group-hover:duration-100 group-hover:transition-transform text-heading-3 group-hover:scale-150",onFocus:()=>Z(l),children:e.title}),(0,a.jsx)("span",{className:"absolute -bottom-2.5 left-0 w-full h-1 bg-yellow duration-300 group-hover:duration-100 origin-left block group-hover:scale-x-150 group-hover:translate-y-3"})]},e.title))}),(0,a.jsx)("span",{className:"absolute inset-0 z-10 block w-full h-full bg-black/30 opacity-60 rounded-2rem lg:opacity-0",ref:C})]})]})})}),Array.isArray(N)&&N.length>0&&(0,a.jsx)("div",{className:"w-full overflow-hidden col-span-full lg:hidden",children:(0,a.jsx)("div",{className:"flex snap-mandatory snap-x overflow-auto scroll-pl-5 hide-scrollbar mt-0.5 md:scroll-pl-20","data-scroll":!0,children:N.map((e,l)=>(0,a.jsx)(d,{title:e.title,link:e.link,image:e.image},l))})})]})}},66266:function(e,l,t){t.d(l,{default:function(){return c}});var a=t(57437),r=t(53746),n=t(37583),s=t(38497),i=t(55490),o=t(54365);function c(e){let{anchor:l,background_color:t="white",title:c,description:d,footer_label:u,footer_link:p,footer_link_label:x,items:m}=e;if(!Array.isArray(m)||0===m.length)return null;let f="dark_purple"===t;return(0,a.jsx)(i.Z,{anchor:l,backgroundColor:t,children:(0,a.jsxs)(r.Z,{className:"gap-y-12",children:[(c||d)&&(0,a.jsxs)("div",{className:"col-span-full flex flex-col gap-y-4 lg:max-w-[600px]",children:[c&&(0,a.jsx)("h2",{className:(0,o.Z)("text-heading-2 font-bold",f?"text-white":"text-current"),children:c}),d&&(0,a.jsx)(s.Z,{data:d,className:(0,o.Z)("text-body",f?"text-white/80":"text-grey-dark")})]}),(0,a.jsx)("div",{className:"col-span-full grid grid-cols-1 gap-y-7 md:grid-cols-3 md:gap-x-10",children:m.map((e,l)=>{let t=l===m.length-1;return(0,a.jsxs)("div",{className:"relative flex flex-col gap-y-5",children:[!t&&(0,a.jsx)("span",{"aria-hidden":!0,className:(0,o.Z)("hidden md:block absolute top-[18px] left-[38px] h-px",f?"bg-white/20":"bg-grey-light"),style:{width:"calc(100% - 38px + 2.5rem)"}}),(0,a.jsx)("div",{className:(0,o.Z)("relative z-[2] grid h-9 w-9 place-items-center rounded-full text-small-body font-bold",f?"bg-white text-purple":"bg-purple text-white"),children:String(l+1).padStart(2,"0")}),(0,a.jsxs)("div",{className:"flex flex-col gap-y-2.5",children:[e.title&&(0,a.jsx)("h3",{className:(0,o.Z)("text-heading-5 font-semibold",f?"text-white":"text-current"),children:e.title}),e.description&&(0,a.jsx)(s.Z,{data:e.description,className:(0,o.Z)("text-small-body leading-normal",f?"text-white/80":"text-grey-dark")})]})]},"numbered-process-step-".concat(l))})}),(u||p&&x)&&(0,a.jsxs)("div",{className:(0,o.Z)("col-span-full flex flex-wrap items-center justify-between gap-4 pt-8 border-t",f?"border-white/20":"border-grey-light"),children:[u&&(0,a.jsx)("p",{className:(0,o.Z)("font-mono text-tiny-body",f?"text-white/60":"text-grey-neutral"),children:u}),p&&x&&(0,a.jsxs)(n.Z,{...p,className:(0,o.Z)("inline-flex items-center gap-x-1 text-small-body font-semibold transition-opacity hover:opacity-70",f?"text-white":"text-petrol"),children:[x,(0,a.jsx)("span",{"aria-hidden":!0,
1children:"â"})]})]})]})})}},69468:function(e,l,t){t.d(l,{default:function(){return o}});var a=t(57437),r=t(53746),n=t(38497),s=t(55490),i=t(54365);function o(e){let{anchor:l,background_color:t="dark_purple",title:o,description:c,items:d}=e;if(!Array.isArray(d)||0===d.length)return null;let u="dark_purple"===t;return(0,a.jsx)(s.Z,{anchor:l,backgroundColor:t,children:(0,a.jsxs)(r.Z,{className:"gap-y-11",children:[(0,a.jsxs)("div",{className:"col-span-full flex flex-wrap items-start justify-between gap-4",children:[o&&(0,a.jsx)("h2",{className:(0,i.Z)("max-w-[480px] text-heading-2 font-bold",u?"text-white":"text-current"),children:o}),c&&(0,a.jsx)("p",{className:(0,i.Z)("max-w-[320px] text-small-body leading-normal",u?"text-white/60":"text-grey-dark"),children:c})]}),(0,a.jsx)("div",{className:(0,i.Z)("col-span-full grid grid-cols-1 gap-px overflow-hidden rounded-1rem border sm:grid-cols-2 lg:grid-cols-4",u?"border-white/10 bg-white/10":"border-grey-light bg-grey-light"),children:d.map((e,l)=>(0,a.jsxs)("div",{className:(0,i.Z)("flex flex-col gap-y-3.5 p-6",u?"bg-purple":"bg-white"),children:[e.tag&&(0,a.jsx)("span",{className:"text-tiny-body font-bold uppercase tracking-[0.05em] text-yellow",children:e.tag}),e.title&&(0,a.jsx)("h3",{className:(0,i.Z)("text-heading-5 font-semibold",u?"text-white":"text-current"),children:e.title}),e.description&&(0,a.jsx)(n.Z,{data:e.description,className:(0,i.Z)("text-small-body leading-normal",u?"text-white/60":"text-grey-dark")})]},"outcome-stat-".concat(l)))})]})})}},65946:function(e,l,t){t.d(l,{default:function(){return h}});var a=t(57437),r=t(53746),n=t(86767),s=t(88862),i=t(54365),o=t(99376),c=t(2265);let d=["all","article","announcement","press_release","e_book","video","success_story","upcoming_event","past_event"];function u(e){var l;let{isOnDarkBackground:t}=e,r=(0,o.usePathname)(),u=(0,o.useRouter)(),p=(0,o.useSearchParams)(),x=(0,s.f)("en-gb"),[m,f]=(0,c.useState)((0,n.Z)(p.get("type")||"all")),h=null==x?void 0:null===(l=x.components)||void 0===l?void 0:l.overview_filters;return(0,a.jsx)("form",{className:"flex overflow-x-auto gap-x-1 hide-scrollbar",onSubmit:function(e){e.preventDefault();let l=e.nativeEvent.submitter,t=(null==l?void 0:l.value)||"all";f((0,n.Z)(t||"all"));let a=new URLSearchParams(p);a.set("type",t);let s=a.get("type");u.push("".concat(r,"?type=").concat(s),{scroll:!1})},"data-scroll":"true",children:d.map(e=>h[e]?(0,a.jsx)("button",{className:(0,i.Z)("py-3 px-4 font-semibold text-small-body transition-colors rounded-3xl shrink-0 hover:bg-purple-blue hover:text-white lg:rounded-2rem",m===e&&"bg-purple-blue text-white",t&&"text-white"),disabled:m===e,value:e,name:"type",type:"submit",children:h[e]},"overview-filter-".concat(e)):null)})}var p=t(55490),x=t(59123),m=t(2917);let f=(0,c.lazy)(()=>t.e(48).then(t.bind(t,93048)));async function h(e){let{title:l,anchor:t,background_color:n,initialData:s,baseURL:o}=e,d=(0,m.Z)(n);return(0,a.jsx)(p.Z,{backgroundColor:n,anchor:t,children:(0,a.jsxs)(r.Z,{className:"gap-y-5 lg:gap-y-10",children:[l&&(0,a.jsx)("h2",{className:(0,i.Z)("text-heading-2 font-bold col-span-full",d),children:l}),(0,a.jsx)("div",{className:"col-span-full",children:(0,a.jsx)(u,{isOnDarkBackground:"dark_purple"===n})}),(0,a.jsx)(c.Suspense,{fallback:(0,a.jsx)(x.Z,{amountGhostCards:6,ghostCardsClass:"col-span-full md:col-span-4"}),children:(0,a.jsx)(f,{background_color:n,initialData:s,baseURL:o})})]})})}},71218:function(e,l,t){t.d(l,{default:function(){return h}});var a=t(57437),r=t(72040),n=t(53746),s=t(26497),i=t(37583),o=t(97022),c=t(38497),d=t(55490),u=t(2917),p=t(7815),x=t(54365),m=t(2265);function f(e){var l;return e?"string"==typeof e?e:null!==(l=(0,p.D)(e))&&void 0!==l?l:"":""}function h(e){var l,t,p,h;let{anchor:g,background_color:v,title:b,body_copy:y,primary_cta_link:j,primary_cta_label:w,secondary_cta_link:N,secondary_cta_label:k,logos_per_row:Z,items:_}=e,C=(0,u.Z)(v),[S,R]=(0,m.useState)(null);if(!_||0===_.length)return(0,a.jsx)(d.Z,{anchor:g,backgroundColor:v,className:(0,x.Z)(C),children:(0,a.jsx)(n.Z,{children:(0,a.jsxs)("div",{className:"space-y-8",children:[b&&(0,a.jsx)("h2",{className:"font-bold text-center text-heading-2",children:b}),y&&(0,a.jsx)("div",{className:"text-center",children:(0,a.jsx)(c.Z,{data:y,className:"max-w-3xl mx-auto text-body text-grey-dark"})}),(0,a.jsx)("div",{className:"py-12 text-center",children:(0,a.jsx)("p",{className:"text-grey-neutral text-body",children:"No logos to display."})})]})})});let F=f(null==S?void 0:S.description)||f(null==S?void 0:S.meta_description),z=null==S?void 0:null===(l=S.website_url)||void 0===l?void 0:l.url,A=(null==S?void 0:null===(t=S.website_url)||void 0===t?void 0:t.link_type)||"Web",I=(null==z?void 0:z.startsWith("http"))?"_blank":null==S?void 0:null===(p=S.website_url)||void 0===p?void 0:p.target;return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(d.Z,{backgroundColor:v,anchor:g,className:(0,x.Z)(C),children:(0,a.jsx)(n.Z,{children:(0,a.jsx)("div",{className:"overflow-hidden bg-off-white rounded-3xl col-span-full lg:rounded-2rem",children:(0,a.jsxs)("div",{className:"flex flex-col gap-y-3 p-7 md:py-16 md:px-14 md:gap-y-5 lg:py-20 lg:px-16",children:[(0,a.jsxs)("div",{className:"text-center",children:[b&&(0,a.jsx)("h2",{className:"max-w-xl mx-auto font-bold text-heading-3",children:b}),y&&(0,a.jsx)(c.Z,{data:y,className:"flex flex-col max-w-3xl mx-auto gap-y-5 text-body text-grey-dark"}),(j||N)&&(0,a.jsxs)("div",{className:"flex flex-col items-center justify-center gap-y-2.5 mt-4 md:flex-row md:gap-x-4 md:flex-wrap lg:mt-5",children:[(null==j?void 0:j.url)&&(0,a.jsx)(r.Z,{link:j,buttonType:"primary",className:"w-fit",children:w}),(null==N?void 0:N.url)&&(0,a.jsx)(r.Z,{link:N,buttonType:"secondary",className:"w-fit",children:k})]})]}),(0,a.jsx)("div",{className:(0,x.Z)("grid gap-6 mt-8 place-items-center",{3:"grid-cols-1 md:grid-cols-2 lg:grid-cols-3",4:"grid-cols-2 md:grid-cols-2 lg:grid-cols-4",5:"grid-cols-2 md:grid-cols-3 lg:grid-cols-5",6:"grid-cols-2 md:grid-cols-3 lg:grid-cols-6"}[Z]),children:_.map((e,l)=>{var t,r;let n=(r=e.logo)?"data"in r&&r.data?{company_name:r.data.company_name,description:r.data.description,meta_description:r.data.meta_description,logo_image:r.data.logo_
1image,website_url:r.data.website_url}:"company_name"in r||"logo_image"in r?{company_name:r.company_name,description:r.description,meta_description:r.meta_description,logo_image:r.logo_image,website_url:r.website_url}:null:null;return(null==n?void 0:null===(t=n.logo_image)||void 0===t?void 0:t.url)?(0,a.jsxs)("button",{type:"button",className:"relative block w-full max-w-[280px] p-4 transition-all duration-300 text-left group aspect-square hover:scale-105 focus:outline-none focus-visible:ring-2 focus-visible:ring-grey-dark/40 rounded-2xl",onClick:()=>R(n),"aria-label":"View details for ".concat(n.company_name||"carrier ".concat(l+1)),children:[(0,a.jsx)(s.Z,{field:n.logo_image,className:"object-contain w-full h-full max-w-full max-h-full transition-all duration-300"}),n.company_name&&(0,a.jsx)("div",{className:"absolute p-2 text-xs text-center transition-opacity duration-300 rounded shadow-sm opacity-0 bottom-2 left-2 right-2 text-grey-dark group-hover:opacity-100 bg-white/90",children:n.company_name})]},n.company_name||"logo-".concat(l)):null})})]})})})}),(0,a.jsx)(o.Z,{open:null!==S,setOpen:()=>R(null),children:(0,a.jsxs)("div",{className:"relative flex flex-col py-10 text-white gap-y-4 lg:py-14 lg:px-8",children:[(null==S?void 0:null===(h=S.logo_image)||void 0===h?void 0:h.url)&&(0,a.jsx)("div",{className:"w-full max-w-[220px] rounded-lg bg-white p-4",children:(0,a.jsx)(s.Z,{field:S.logo_image,className:"object-contain w-full h-full"})}),(null==S?void 0:S.company_name)&&(0,a.jsx)("h3",{className:"font-bold text-heading-4",children:S.company_name}),F&&(0,a.jsx)(c.Z,{data:F,className:"max-w-2xl text-small-body text-white/90 [&_*]:text-white/90"}),z&&(0,a.jsxs)("div",{className:"pt-2",children:[(0,a.jsx)("span",{className:"block mb-1 text-xs tracking-wider uppercase text-white/70",children:"Website"}),(0,a.jsx)(i.Z,{url:z,link_type:A,target:I,className:"text-white underline text-small-body underline-offset-4 hover:text-white/80",children:"Visit website"})]})]})})]})}},34862:function(e,l,t){t.d(l,{default:function(){return d}});var a=t(57437),r=t(72040),n=t(53746),s=t(55490),i=t(54365),o=t(2265),c=t(99376);function d(e){let{anchor:l,background_color:t="dark_purple",password_protection_enabled:d=!1,password_value:u,remember_access_hours:p=24,contact_url:x,gate_title:m="This page is password protected",gate_subtitle:f="Please enter a password to continue.",gate_error_text:h="Incorrect password",gate_contact_cta_text:g="Contact us"}=e,v=(0,c.usePathname)(),[b,y]=(0,o.useState)(""),[j,w]=(0,o.useState)(!1),[N,k]=(0,o.useState)(null),[Z,_]=(0,o.useState)(!1),C="".concat("gate_access","_").concat(v.replace(/\//g,"_")),S="transparent"===t?"white":t,R="dark_purple"===S;(0,o.useEffect)(()=>{if(d&&u)try{let e=localStorage.getItem(C);if(e){let l=JSON.parse(e),t=p||24;(null==l?void 0:l.token)&&atob(l.token)===u&&Date.now()-l.timestamp<36e5*t?w(!0):localStorage.removeItem(C)}}catch(e){localStorage.removeItem(C)}},[u,d,C,p]),(0,o.useEffect)(()=>{if(!d)return;let e=document.querySelector('meta[name="robots"]'),l=e||document.createElement("meta");return e||(l.setAttribute("name","robots"),document.head.appendChild(l)),l.setAttribute("content","noindex, nofollow"),()=>{e||l.remove()}},[d]);let F=(0,o.useCallback)(()=>{if(k(null),u){if(b===u){try{localStorage.setItem(C,JSON.stringify({token:btoa(b),timestamp:Date.now()}))}catch(e){localStorage.removeItem(C)}w(!0)}else k(h||"Incorrect password"),_(!0)}},[b,u,C,h]);return!d||j?(console.log("Password gate not enabled or user authenticated, rendering content"),null):(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("style",{children:"\n [data-slice-section] {\n display: none !important;\n }\n "}),(0,a.jsx)(s.Z,{anchor:l,backgroundColor:S,className:"w-full min-h-screen",ignorePasswordGate:!0,children:(0,a.jsx)(n.Z,{children:(0,a.jsx)("div",{className:"flex items-center justify-center w-full min-h-screen overflow-hidden col-span-full",children:(0,a.jsxs)("div",{className:"flex flex-col items-center justify-center w-full max-w-lg mx-auto gap-y-6 lg:gap-y-10",children:[(0,a.jsxs)("div",{className:"flex flex-col gap-y-3 lg:gap-y-5",children:[(0,a.jsx)("h2",{className:(0,i.Z)("text-heading-3 font-bold text-center",R?"text-white":"text-current"),children:m||"This page is password protected"}),(0,a.jsx)("p",{className:(0,i.Z)("text-body text-center",R?"text-white":"text-current"),children:f||"Please enter the password to continue."})]}),(0,a.jsxs)("div",{className:"flex flex-col w-full max-w-sm gap-y-4",children:[(0,a.jsxs)("div",{className:"w-full inpage-input",children:[(0,a.jsx)("label",{htmlFor:"password-input",className:"sr-only",children:"Password"}),(0,a.jsx)("input",{id:"password-input",type:"password",value:b,placeholder:"Enter password",onChange:e=>{y(e.target.value),k(null)},onKeyDown:e=>{"Enter"===e.key&&F()},className:(0,i.Z)("w-full px-6 py-4 rounded-5xl border-2 transition-all outline-none",R?"bg-white/10 border-white/20 text-white focus:border-yellow":"bg-black/5 border-black/10 text-black focus:border-green")}),N&&(0,a.jsx)("p",{className:"mt-2 text-sm font-medium text-center text-red",role:"alert","aria-live":"polite",children:N})]}),(0,a.jsxs)("div",{className:"flex flex-col gap-y-3",children:[(0,a.jsx)(r.Z,{type:"button",buttonType:"primary",className:"w-full",onClick:F,isOnDarkBackgroun
1d:R,children:"Submit"}),Z&&(0,a.jsx)(r.Z,{type:"button",buttonType:"secondary",className:"flex items-center justify-center w-full text-center",link:(null==x?void 0:x.url)?x:{url:"/contact",link_type:"Web"},isOnDarkBackground:R,children:g||"Contact us"})]})]})]})})})})]})}},57463:function(e,l,t){t.d(l,{default:function(){return c}});var a=t(57437),r=t(72040),n=t(53746),s=t(46815),i=t(54365);let o={petrol:"bg-petrol",dark_purple:"bg-purple",yellow:"bg-yellow"};function c(e){let{anchor:l,background_color:t="petrol",title:c,primary_cta_link:d,primary_cta_label:u,secondary_cta_link:p,secondary_cta_label:x}=e,m="yellow"!==t;return(0,a.jsx)("section",{id:(0,s.Z)(l),"data-anchor":l,"data-slice-section":!0,className:(0,i.Z)("py-8 lg:py-10",o[t]),children:(0,a.jsx)(n.Z,{children:(0,a.jsxs)("div",{className:"col-span-full flex flex-wrap items-center justify-between gap-6",children:[c&&(0,a.jsx)("h2",{className:(0,i.Z)("text-heading-2 font-bold max-w-[480px]",m?"text-white":"text-black"),children:c}),(d||p)&&(0,a.jsxs)("div",{className:"flex flex-wrap gap-3",children:[d&&u&&(0,a.jsx)(r.Z,{link:d,buttonType:"primary",isOnDarkBackground:m,className:"w-fit",children:u}),p&&x&&(0,a.jsx)(r.Z,{link:p,buttonType:"secondary",isOnDarkBackground:m,className:"w-fit",children:x})]})]})})})}},88081:function(e,l,t){t.d(l,{default:function(){return d}});var a=t(57437),r=t(53746),n=t(38497),s=t(55490),i=t(54365),o=t(26497);let c=e=>{switch(e){case 1:return"lg:grid-cols-1";case 2:return"lg:grid-cols-2";case 4:return"lg:grid-cols-4";case 5:return"lg:grid-cols-5";case 6:return"lg:grid-cols-6";default:return"lg:grid-cols-3"}};function d(e){let{anchor:l,background_color:t="white",heading:d,columns_desktop:u=3,items:p}=e;return Array.isArray(p)&&0!==p.length?(0,a.jsx)(s.Z,{anchor:l,backgroundColor:t,children:(0,a.jsxs)(r.Z,{className:"gap-y-8 md:gap-y-12",children:[d&&(0,a.jsx)("h2",{className:(0,i.Z)("col-span-full text-heading-2 font-semibold","dark_purple"===t?"text-white":"text-current"),children:d}),(0,a.jsx)("div",{className:(0,i.Z)("grid col-span-full gap-y-12 gap-x-12 lg:gap-x-20","grid-cols-1 md:grid-cols-2",c(u)),children:p.map((e,l)=>{let{image:r,title:s,description:c}=e;return(0,a.jsxs)("div",{className:"flex flex-col items-start text-left gap-y-6",children:[r&&(0,a.jsx)("div",{className:"relative w-full aspect-[16/10] rounded-t-lg overflow-hidden p-6",children:(0,a.jsx)(o.Z,{field:r,className:"object-contain w-full h-full rounded-md lg:rounded-lg"})}),(0,a.jsxs)("div",{className:(0,i.Z)("flex flex-col gap-y-4 items-start"),children:[s&&(0,a.jsx)("h3",{className:(0,i.Z)("text-heading-5 font-semibold break-words my-0 leading-relaxed md:leading-normal","dark_purple"===t?"text-white":"text-current"),children:s}),c&&(0,a.jsx)(n.Z,{data:c,className:(0,i.Z)("text-body max-w-[55ch]","dark_purple"===t?"text-white/80":"text-current/70")})]})]},"product-workflow-".concat(l))})})]})}):null}},45561:function(e,l,t){t.d(l,{default:function(){return p}});var a=t(57437),r=t(53571),n=t(53746),s=t(26497),i=t(38497),o=t(55490),c=t(90361),d=t(54365),u=t(2265);function p(e){let{anchor:l,background_color:t,title:p,items:x,full_width_on_desktop:m}=e,[f,h]=(0,u.useState)(null);if(!Array.isArray(x)||0===x.length)return null;let g=e=>!!e&&"url"in e&&!!e.url;return(0,a.jsx)(o.Z,{anchor:l,backgroundColor:t,children:(0,a.jsxs)(n.Z,{className:"gap-y-8",children:[p&&(0,a.jsx)("h2",{className:(0,d.Z)("col-span-full text-heading-2","dark_purple"===t?"text-white":"text-current"),children:p}),(0,a.jsx)("div",{className:(0,d.Z)(m&&"lg:col-span-full","relative grid col-span-full bg-green rounded-3xl md:col-span-8 lg:rounded-2rem"),children:(0,a.jsxs)("div",{className:"grid col
1-start-1 row-start-1 w-full h-full rounded-3xl text-white lg:flex lg:rounded-2rem",children:[(0,a.jsx)("div",{className:"relative aspect-1/.075 min-h-successStoryImage bg-green rounded-t-3xl rounded-bl-none lg:rounded-l-2rem lg:rounded-tr-none lg:w-1/2 lg:aspect-square",children:x.map((e,l)=>{let{author_picture:r,author_name:n,author_job_title:o}=e,c=f||0;return(0,a.jsxs)("div",{className:(0,d.Z)("absolute top-0 left-0 w-full h-full overflow-hidden flex flex-col bg-none text-white rounded-t-3xl rounded-bl-none transition-all lg:rounded-l-2rem lg:rounded-tr-none",c===l?"opacity-100":"opacity-0 delay-100",g(r)?"justify-end":"justify-center items-center",g(r)||"dark_purple"!==t?(g(r)||"white"!==t)&&(g(r)||"transparent"!==t)?"bg-green":"bg-purple":"bg-white"),"aria-hidden":f!==l,children:[r&&"url"in r&&(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("div",{className:"absolute left-0 top-0 w-full h-full bg-black z-10"}),(0,a.jsx)("div",{className:"absolute inset-0 w-full h-full bg-gradient-to-t from-black from-30% to-black/0 to-70% z-30 rounded-l-3xl op
1acity-60 rounded-bl-none lg:rounded-l-2rem lg:rounded-tr-none"}),(0,a.jsx)(s.Z,{field:r,className:(0,d.Z)(["absolute block w-full h-full object-cover rounded-tl-3xl transition-all z-20 lg:rounded-l-2rem lg:rounded-tr-none",c===l&&"translate-x-0 lg:opacity-100",c>l&&"delay-100 lg:-translate-x-4",c<l&&"delay-100 lg:translate-x-4"]),style:{userSelect:"none"}})]}),(0,a.jsxs)("div",{className:(0,d.Z)("relative flex flex-col gap-y-1",x.length>1&&"pb-8 lg:pb-8",g(r)&&"p-8 z-30 lg:p-10 lg:pb-8",g(r)||"dark_purple"!==t?"text-white":"text-black"),children:[n&&(0,a.jsx)("span",{className:(0,d.Z)("inline-block font-semibold",g(r)?"text-heading-5":" text-3xl text-center align-middle"),children:n}),o&&(0,a.jsx)(i.Z,{data:o,className:(0,d.Z)("inline-block ",g(r)?"text-small-body":" text-2xl text-center")})]})]},"quote-image-".concat(l))})}),(0,a.jsx)(r.Z,{itemsLength:x.length,callback:e=>h(e),activeIndex:f,className:"w-full p-8 lg:px-10 lg:w-6/12",hasMobileControls:!0,noGap:!0,children:(0,a.jsx)("div",{className:"grid relative",children:x.map((e,l)=>{let{quote_text:t}=e,r=f||0;return(0,a.jsxs)("div",{className:(0,d.Z)("flex flex-col gap-y-8 col-start-1 row-start-1 lg:h-full",r===l?"opacity-100":"opacity-0 pointer-events-none"),"aria-hidden":f!==l,children:[(0,a.jsx)(c.ZP,{type:"quotes",className:"relative w-14 h-14 md:w-24 lg:absolute lg:-top-14 lg:w-32"}),(0,a.jsx)(i.Z,{data:t,className:(0,d.Z)("transition-all lg:pt-8",r===l&&"translate-x-0 lg:opacity-100",r>l&&"lg:-translate-x-4",r<l&&"lg:translate-x-4")})]},"quote-content-".concat(l))})})})]})})]})})}},60802:function(e,l,t){t.d(l,{default:function(){return p},x:function(){return m},z:function(){return x}});var a=t(57437),r=t(53746),n=t(90361),s=t(37583),i=t(78682),o=t(77969),c=t(54365),d=t(99376),u=t(2265);function p(e){let{parentLink:l,parentTitle:t}=e,p=(0,d.useRouter)(),[f,h]=(0,u.useState)([]),[g,v]=(0,u.useState)(null),[b,y]=(0,u.useState)(0),[j,w]=(0,u.useState)(0),[N,k]=(0,u.useState)(!1),Z=(0,u.useRef)(null),_=(0,u.useRef)(null),C=(0,u.useRef)(null),S=(0,u.useRef)(0),R=(0,u.useRef)(null),F=(0,u.useRef)(null);function z(){var e,l,t;if(_.current&&C.current){if((null===(e=window)||void 0===e?void 0:e.innerWidth)<1024&&(_.current.style.transform="translateX(0px)"),(null===(l=_.current)||void 0===l?void 0:l.clientWidth)>(null===(t=C.current)||void 0===t?void 0:t.clientWidth)-80){k(!0);return}k(!1)}}function A(){if(!R.current||!(null==F?void 0:F.current))return;let e=R.current,l=F.current,t=e.getBoundingClientRect().top,a=(0,i.Z)(S),r=l.classList.contains("scrolled");t<120&&a!==r&&l.classList.toggle("scrolled",a)}return(0,u.useEffect)(()=>{let e=Array.from(document.querySelectorAll("div[id='sticky-anchor-menu'] ~ section[id]"));return Array.isArray(e)&&e.length>0&&(h(e),x(e,Z,v),window.addEventListener("resize",z)),()=>{var e;null===(e=Z.current)||void 0===e||e.disconnect(),window.removeEventListener("resize",z)}},[]),(0,u.useEffect)(()=>(S.current=window.scrollY,F.current=document.querySelector("nav"),window.addEventListener("scroll",A),()=>{var e;null===(e=F.current)||void 0===e||e.classList.remove("scrolled"),window.removeEventListener("scroll",A)}),[]),(0,u.useEffect)(()=>{z()},[f]),(0,a.jsx)("div",{id:"sticky-anchor-menu",className:"sticky z-50 transition-all duration-150 sticky-anchor-menu drop-shadow-menu -mt-7 h-14 top-20 lg:top-28",ref:R,children:(0,a.jsx)(r.Z,{className:"h-full",children:(0,a.jsxs)("div",{className:"relative flex overflow-hidden text-white col-span-full bg-purple rounded-2rem lg:rounded-full lg:px-5",children:[l&&(0,a.jsxs)(s.Z,{...l,className:"hidden items-center gap-x-2.5 group lg:flex",children:[(0,a.jsx)("div",{className:"flex items-center justify-center transition-colors border-2 border-white rounded-full w-fit group-hover:border-yellow",children:(0,a.jsx)("div",{className:"p-2.5",children:(0,a.jsx)(n.ZP,{type:"chevron",className:"rounded-full h-2.5 w-2.5",pathclass:"transition-colors group-hover:stroke-yellow"})})}),(0,a.jsx)("div",{className:"transition-colors text-small-body w-max group-hover:text-yellow",children:t})]}),(0,a.jsxs)("div",{className:"relative w-full px-6 overflow-x-scroll lg:overflow-hidden lg:px-10","data-scroll":!0,ref:C,children:[(0,a.jsx)("button",{className:(0,
1c.Z)(["absolute top-1/2 -translate-y-1/2 left-0 p-2.5 z-20 transition-opacity hidden lg:block lg:left-4",(0===j||!N)&&"opacity-0"]),onClick:()=>m(_,b,j,w,y,!1),children:(0,a.jsx)(n.ZP,{type:"chevron",className:"h-3 lg:h-4",pathclass:"transition-colors group-hover:stroke-yellow"})}),(0,a.jsx)("nav",{className:"flex w-max gap-x-3.5 items-center justify-center transition-transform h-full lg:gap-x-6",ref:_,children:f.map((e,l)=>(0,a.jsx)("button",{onClick:()=>{var l;return function(e,l){e.scrollIntoView({behavior:"smooth"});let t=(null==e?void 0:e.offsetTop)|0,a=t>document.documentElement.scrollTop?100:150;(0,o.Z)(document.documentElement,Math.max(0,t-a),0),p.push(l,{scroll:!1})}(e,"#".concat(null===(l=e.dataset.anchor)||void 0===l?void 0:l.replaceAll(" ","-")))},className:(0,c.Z)(["py-3 transition-colors hover:text-yellow hover:cursor-pointer lg:py-0",l===g&&"text-yellow"]),children:e.dataset.anchor},"".concat(e.dataset.anchor,"-").concat(l)))}),(0,a.jsx)("button",{className:(0,c.Z)(["absolute top-1/2 -translate-y-1/2 -right-1 p-2.5 rotate-180 z-20 rounded-r-full transition-opacity hidden lg:block lg:right-0",(b===f.length-1||!N)&&"opacity-0"]),onClick:()=>m(_,b,j,w,y),children:(0,a.jsx)(n.ZP,{type:"chevron",className:"h-3 lg:h-4",pathclass:"transition-colors group-hover:stroke-yellow"})}),(0,a.jsx)("div",{className:(0,c.Z)(["absolute right-0 top-0 h-full bg-gradient-to-l rounded-r-full from-purple via-purple to-transparent z-10 transition-opacity hidden lg:block lg:w-14",b===f.length-1&&"opacity-0"])}),(0,a.jsx)("div",{className:(0,c.Z)(["absolute left-0 top-0 h-full bg-gradient-to-r from-purple via-purple to-transparent z-10 transition-opacity hidden lg:block lg:w-14",0===j?"opacity-100 lg:opacity-0":"opacity-100"])})]}),(0,a.jsx)("div",{className:(0,c.Z)(["absolute right-0 top-0 h-full w-6 bg-gradient-to-l from-purple via-purple to-transparent z-10 rounded-r-2rem lg:rounded-r-1rem transition-opacity lg:hidden lg:w-8",b===f.length-1&&"opacity-0"])}),(0,a.jsx)("div",{className:(0,c.Z)(["absolute left-0 top-0 h-full w-6 bg-gradient-to-r from-purple via-purple to-transparent z-10 transition-opacity rounded-l-2rem lg:rounded-l-1rem lg:hidden lg:w-14",0===j?"opacity-100 lg:opacity-0":"opacity-100"])})]})})})}function x(e,l,t){l.current=new IntersectionObserver(l=>{l.forEach(l=>{if(l.isIntersecting){t(e.findIndex(e=>e===l.target));return}})},{rootMargin:"-50% 0% -50% 0%"}),e.map(e=>{(null==l?void 0:l.current)&&l.current.observe(e)})}function m(e,l,t,a,r){let n=!(arguments.length>5)||void 0===arguments[5]||arguments[5];if(e.current){var s;let i=(null===(s=window)||void 0===s?void 0:s.innerWidth)>1024?24:14,o=Array.from(e.current.children)[n?l:l-1];if(o){let l=0;l=n?t+o.clientWidth+i:Math.max(0,t-o.clientWidth-i),e.current.style.transform="translateX(-".concat(l,"px)"),a(l)}r(n?l+1:l-1)}}},54563:function(e,l,t){t.d(l,{default:function(){return m}});var a=t(57437),r=t(53746),n=t(37583),s=t(90361),i=function(e,l,t){let a=Array.isArray(t)?t:[t],r=!0;a.forEach(l=>{if(!(null==l?void 0:l.current)||e.target===l.current||l.current.contains(e.target)){r=!1;return}}),r&&l(e)},o=t(78682),c=t(77969),d=t(54365),u=t(99376),p=t(2265),x=t(60802);function m(e){var l,t;let{parentLink:n,parentTitle:m,children:g}=e,[v,b]=(0,p.useState)(!1),[y,j]=(0,p.useState)([]),[w,N]=(0,p.useState)(null),[k,Z]=(0,p.useState)(0),[_,C]=(0,p.useState)(0),[S,R]=(0,p.useState)(!1),F=(0,p.useRef)(null),z=(0,p.useRef)(null),A=(0,p.useRef)(null),I=(0,p.useRef)(null),P=(0,u.usePathname)(),E=(0,u.useRouter)(),L=(0,p.useRef)(0),T=(0,p.useRef)(null),D=(0,p.useRef)(null);function O(e){i(e,()=>b(!1),A)}function q(e,l){e.scrollIntoView({behavior:"smooth"});let t=(null==e?void 0:e.offsetTop)|0,a=t>document.documentElement.scrollTop?100:150;(0,c.Z)(document.documentElement,Math.max(0,t-a),0),E.push(l,{scroll:!1})}function B(){if(!T.current||!(null==D?void 0:D.current))return;let e=T.current,l=D.current,t=e.getBoundingClientRect().top,a=(0,o.Z)(L),r=l.classList.contains("scrolled");t<120&&a!==r&&l.classList.toggle("scrolled",a)}return(0,p.useEffect)(()=>{let e=Array.from(document.querySelectorAll("div[id='sticky-anchor-menu'] ~ section[id]"));return Array.isArray(e)&&e.length>0&&(j(e),(0,x.z)(e,F,N)),document.addEventListener("mousedown",O),L.current=window.scrollY,D.current=document.querySelector("nav"),window.addEventListener("scroll",B),()=>{var e,l;null===(e=F.current)||void 0===e||e.disconnect(),document.removeEventListener("mousedown",O),null===(l=D.current)||void 0===l||l.classList.remove("scrolled"),window.removeEventListener("scroll",B)}},[]),(0,p.useEffect)(()=>{(function(){var e,l;if(z.current&&I.current){if((null===(e=z.current)||void 0===e?void 0:e.clientWidth)>(null===(l=I.current)||void 0===l?void 0:l.clientWidth)){R(!0);return}R(!1)}})()},[y]),Array.isArray(g)&&0!==g.length&&(null===(l=g.find(e=>e.link===P))||void 0===l?void 0:l.title)?(0,a.jsx)("div",{id:"sticky-anchor-menu",className:"sticky z-50 transition-all duration-150 sticky-anchor-menu drop-shadow-menu h-14 top-20 -mt-7 lg:top-28",ref:T,children:(0,a.jsx)(r.Z,{className:"h-full",children:(0,a.jsxs)("div",{className:"grid grid-cols-4 text-white col-span-full rounded-2rem lg:bg-purple lg:grid-cols-12 lg:p-1",children:[(0,a.jsxs)("div",{className:"relative col-span-full rounded-2rem bg-purple-blue lg:col-span-2",ref:A,children:[(0,a.jsxs)("button",{className:"flex items-center justify-between w-full h-full px-5 py-3 gap-x-2 lg:gap-x-4",onClick:()=>b(e=>!e),children:[g&&(0,a.jsx)("span",{className:"overflow-hidden font-semibold whitespace-nowrap text-ellipsis",children:null===(t=g.find(e=>
1e.link===P))||void 0===t?void 0:t.title}),(0,a.jsx)(s.ZP,{type:"chevron",className:(0,d.Z)(["transition-transform h-3 w-3 lg:w-4 lg:h-4",v?"rotate-90":"-rotate-90"])})]}),(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(f,{parentTitle:m,children:g,dropdownOpen:v}),(0,a.jsx)(h,{parentTitle:m,activeIndex:w,children:g,dropdownOpen:v,anchors:y,clickHandler:q})]})]}),(0,a.jsxs)("div",{className:"relative hidden w-full overflow-x-scroll lg:block lg:col-span-10 lg:px-10 lg:overflow-hidden",ref:I,children:[(0,a.jsx)("button",{className:(0,d.Z)(["absolute top-1/2 -translate-y-1/2 left-5 z-20 transition-opacity lg:left-4",(0===_||!S)&&"opacity-0 pointer-events-none"]),onClick:()=>(0,x.x)(z,k,_,C,Z,!1),disabled:0===_,children:(0,a.jsx)(s.ZP,{type:"chevron",className:"h-3 lg:h-4",pathclass:"transition-colors group-hover:stroke-yellow"})}),(0,a.jsx)("div",{className:(0,d.Z)(["absolute left-0 top-0 h-full w-14 bg-gradient-to-r from-purple via-purple to-transparent z-10 transition-opacity lg:w-14",0===_&&"opacity-0 pointer-events-none"])}),(0,a.jsx)("nav",{className:"flex w-max gap-x-3.5 items-center justify-center transition-transform lg:gap-x-6 lg:h-full",ref:z,children:y.map((e,l)=>(0,a.jsx)("button",{onClick:()=>{var l;return q(e,"#".concat(null===(l=e.dataset.anchor)||void 0===l?void 0:l.replaceAll(" ","-")))},className:(0,d.Z)(["py-3 transition-colors hover:text-yellow hover:cursor-pointer lg:py-0",l===w&&"text-yellow"]),children:e.dataset.anchor},"".concat(e.dataset.anchor,"-").concat(l)))}),(0,a.jsx)("div",{className:(0,d.Z)(["absolute right-0 top-0 h-full w-14 bg-gradient-to-l from-purple via-purple to-transparent z-10 transition-opacity lg:rounded-r-full",k===y.length-1&&"opacity-0 pointer-events-none"])}),(0,a.jsx)("button",{className:(0,d.Z)(["absolute top-1/2 -translate-y-1/2 right-5 rotate-180 z-20 transition-opacity",(k===y.length-1||!S)&&"opacity-0 pointer-events-none"]),onClick:()=>(0,x.x)(z,k,_,C,Z),disabled:k===y.length-1,children:(0,a.jsx)(s.ZP,{type:"chevron",className:"h-3 lg:h-4",pathclass:"transition-colors group-hover:stroke-yellow"})})]})]})})}):null}function f(e){let{parentTitle:l,dropdownOpen:t,children:r}=e,s=(0,u.usePathname)();return(0,a.jsxs)("div",{className:(0,d.Z)(["hidden absolute left-0 top-full w-auto rounded-1rem p-5 gap-y-2.5 items-start transition-all bg-purple-blue lg:flex lg:flex-col lg:max-w-full",t?"translate-y-2.5 opacity-100":"translate-y-4 opacity-0 pointer-events-none"]),children:[(0,a.jsx)("div",{className:"max-w-full overflow-hidden text-grey-light w-max text-small-body whitespace-nowrap text-ellipsis",children:l}),Array.isArray(r)&&r.map((e,l)=>(0,a.jsx)(n.Z,{url:e.link,link_type:"Document",className:(0,d.Z)(["transition-color whitespace-nowrap text-ellipsis overflow-hidden max-w-full hover:text-yellow",e.link===s&&"text-yellow"]),tabIndex:t?0:-1,children:e.title},"".concat(e.title,"-").concat(l)))]})}function h(e){let{parentTitle:l,dropdownOpen:t,activeIndex:r,children:s,anchors:i,clickHandler:o}=e;return(0,a.jsxs)("div",{className:(0,d.Z)(["flex flex-col p-5 bg-purple absolute left-0 top-full gap-y-5 w-full rounded-1rem transition-all lg:hidden",t?"translate-y-1 opacity-100":"translate-y-3 opacity-0 pointer-events-none"]),children:[(0,a.jsx)("div",{className:"flex flex-col gap-y-3.5",children:Array.isArray(i)&&i.map((e,l)=>(0,a.jsx)("button",{onClick:()=>{var l;return o(e,"#".concat(null===(l=e.dataset.anchor)||void 0===l?void 0:l.replaceAll(" ","-")))},className:(0,d.Z)(["transition-colors text-left hover:text-yellow hover:cursor-pointer",l===r&&"text-yellow"]),tabIndex:t?0:-1,children:e.dataset.anchor},"".concat(e.dataset.anchor,"-").concat(l)))}),(0,a.jsxs)("div",{className:"flex flex-col w-full text-left rounded-lg p-5 gap-y-2.5 items-start bg-purple-blue",children:[(0,a.jsx)("div",{className:"text-grey-light text-small-body",children:l}),Array.isArray(s)&&s.map((e,l)=>(0,a.jsx)(n.Z,{url:e.link,link_type:"Document",className:"transition-color hover:text-yellow",tabIndex:t?0:-1,children:e.title},"".concat(e.title,"-").concat(l)))]})]})}},52360:function(e,l,t){t.d(l,{default:function(){return m}});
1var a=t(57437),r=t(72040),n=t(53571),s=t(53746),i=t(26497),o=t(51940),c=t(38497),d=t(55490),u=t(90361),p=t(54365),x=t(2265);function m(e){let{anchor:l,background_color:t,card_title:o,card_cta:m,card_cta_title:h,items:g}=e,[v,b]=(0,x.useState)(null);return(0,a.jsx)(d.Z,{anchor:l,backgroundColor:t,children:(0,a.jsxs)(s.Z,{className:"gap-y-8",children:[Array.isArray(g)&&g.length>0&&(0,a.jsx)("div",{className:"relative grid col-span-full bg-green rounded-3xl md:col-span-8 lg:rounded-2rem",children:(0,a.jsxs)("div",{className:"grid col-start-1 row-start-1 w-full h-full rounded-3xl text-white lg:flex lg:rounded-2rem",children:[(0,a.jsx)("div",{className:"relative aspect-1/.075 min-h-successStoryImage bg-green rounded-t-3xl rounded-bl-none lg:rounded-l-2rem lg:rounded-tr-none lg:w-1/2 lg:aspect-square",children:g.map((e,l)=>{var t,r;let{image:n,logo:s,position:o,name:d}=null==e?void 0:null===(t=e.success_story)||void 0===t?void 0:t.source,u=null==e?void 0:null===(r=e.success_story)||void 0===r?void 0:r.card_image,x=u&&"url"in u?u:n,m=v||0;return(0,a.jsxs)("div",{className:(0,p.Z)("absolute top-0 left-0 w-full h-full overflow-hidden flex flex-col justify-end text-white rounded-t-3xl rounded-bl-none transition-all lg:rounded-l-2rem lg:rounded-tr-none",m===l?"opacity-100":"opacity-0 delay-100"),"aria-hidden":v!==l,children:[u&&(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("div",{className:"absolute left-0 top-0 w-full h-full bg-black z-10"}),(0,a.jsx)("div",{className:"absolute inset-0 w-full h-full bg-gradient-to-t from-black from-30% to-black/0 to-70% z-30 rounded-l-3xl op
1acity-60 rounded-bl-none lg:rounded-l-2rem lg:rounded-tr-none"}),(0,a.jsx)(i.Z,{field:x,className:(0,p.Z)(["absolute inset-0 w-full h-full object-cover lg:scale-110 rounded-tl-3xl transition-all z-20 lg:rounded-l-2rem lg:rounded-tr-none",m===l&&"translate-x-0 lg:opacity-100",m>l&&"delay-100 lg:-translate-x-4",m<l&&"delay-100 lg:translate-x-4"])})]}),s&&"url"in s&&(null==s?void 0:s.url)&&(0,a.jsx)("span",{className:(0,p.Z)(["absolute top-8 left-8 py-2.5 px-4 bg-white transition-all z-30 lg:top-10 lg:left-10",m===l&&"translate-x-0 lg:opacity-100",m>l&&"delay-100 lg:-translate-x-4",m<l&&"delay-100 lg:translate-x-4"]),children:(0,a.jsx)(i.Z,{field:s,className:"h-3 max-w-16"})}),(0,a.jsxs)("div",{className:(0,p.Z)("relative flex flex-col gap-y-1 p-8 z-30 lg:p-10 lg:pb-8",g.length>1&&"pb-8 lg:pb-8"),children:[d&&(0,a.jsx)("span",{className:"inline-block font-semibold text-heading-5",children:d}),o&&(0,a.jsx)(c.Z,{data:o,className:"inline-block text-small-body"})]})]},"success-story-".concat(l))})}),(0,a.jsx)(n.Z,{itemsLength:g.length,callback:e=>b(e),activeIndex:v,className:"w-full p-8 lg:px-10 lg:w-6/12",hasMobileControls:!0,noGap:!0,children:(0,a.jsx)("div",{className:"grid relative",children:g.map((e,l)=>{let t=e.success_story.testimonial,n=e.success_story.url,s=e.success_story.success_story_cta_label,i=v||0;return(0,a.jsxs)("div",{className:(0,p.Z)("flex flex-col gap-y-8 col-start-1 row-start-1 lg:h-full",i===l?"opacity-100":"opacity-0 pointer-events-none"),"aria-hidden":v!==l,children:[(0,a.jsx)(u.ZP,{type:"quotes",className:"relative w-14 h-14 md:w-24 lg:absolute lg:-top-14 lg:w-32"}),(0,a.jsx)(c.Z,{data:t,className:(0,p.Z)("transition-all lg:pt-8",i===l&&"translate-x-0 lg:opacity-100",i>l&&"lg:-translate-x-4",i<l&&"lg:translate-x-4")}),n&&s&&(0,a.jsx)(r.Z,{buttonType:"secondary",isOnDarkBackground:!0,link:{url:n,link_type:"Document",target:"_self"},className:(0,p.Z)("w-fit transition-all",i===l&&"translate-x-0 lg:opacity-100",i>l&&"lg:opacity-0 lg:-translate-x-4",i<l&&"lg:opacity-0 lg:translate-x-4"),disabled:v!==l,children:s})]},"success-story-".concat(l))})})})]})}),(o||h&&m)&&(0,a.jsx)(f,{card_title:o,card_cta:m,card_cta_title:h,background_color:t})]})})}function f(e){let{card_title:l,card_cta_title:t,card_cta:n,background_color:s}=e;return(0,a.jsx)(o.Z,{className:"col-span-full xl:col-span-4",isTransparent:"transparent"===s,renderItem:e=>(0,a.jsxs)(a.Fragment,{children:[l&&(0,a.jsx)("span",{className:"text-heading-3 text-current",children:l}),t&&n&&(0,a.jsx)(r.Z,{link:n,className:"w-fit md:shrink-0 xl:shrink-1",buttonType:"secondary",isOnDarkBackground:e,children:t})]})})}},38662:function(e,l,t){t.d(l,{default:function(){return p}});var a=t(57437),r=t(2265),n=t(72040),s=t(53571),i=t(53746),o=t(26497),c=t(38497),d=t(55490),u=t(90361);function p(e){let{anchor:l,background_color:t,items:n}=e,[o,c]=(0,r.useState)(null);function u(){c(0)}return(0,r.useEffect)(()=>(window.addEventListener("resize",u),()=>{window.removeEventListener("resize",u)}),[]),(0,a.jsx)(d.Z,{anchor:l,backgroundColor:t,children:(0,a.jsx)(i.Z,{className:"gap-y-8",children:(0,a.jsx)(s.Z,{itemsLength:Math.ceil(n.length-1),activeIndex:o,callback:e=>c(e),className:"col-span-full",hasDarkControls:"dark_purple"!==t,children:(0,a.jsx)("div",{className:"overflow-hidden",children:(0,a.jsx)("div",{className:"flex w-auto gap-x-5 snap-mandatory snap-x overflow-x-scroll lg:overflow-x-visible lg:gap-x-10 lg:transition-transform",style:{transform:"translateX(calc(-".concat(50*(o||0),"% - ").concat(1.25*(o||0),"rem))")},"data-scroll":!0,children:Array.isArray(n)&&n.map((e,t)=>(0,r.createElement)(x,{...e.success_story,key:"success-story-card-".concat(t,"-").concat(l)}))})})})})})}function x(e){let{testimonial:l,url:t,success_story_cta_label:r,source:s}=e;return(0,a.jsx)("div",{className:"snap-center first:ml-5 last:mr-5 min-w-[calc(100%_-_1.25rem)] md:min-w-[calc(50%_-_1.875rem)] lg:first:ml-0 lg:last:mr-0 lg:min-w-[calc(50%_-_1.25rem)] lg:min-h-default",children:(0,a.jsxs)("div",{className:"flex flex-col h-full items-start bg-off-white p-8 rounded-3xl snap-center gap-y-5 lg:p-10 lg:gap-y-10 lg:rounded-2rem",children:[(0,a.jsx)(u.ZP,{type:"quotes",className:"w-auto h-10 md:w-24 lg:w-32",pathclass:"fill-green"}),(0,a.jsx)(c.Z,{data:l,className:"text-big-body"}),(0,a.jsxs)("div",{className:"flex flex-col gap-y-5 mt-auto w-full lg:gap-y-3 xl:flex-row xl:items-end xl:gap-x-4",children:[(0,a.jsxs)("div",{className:"lg:flex lg:gap-x-3 lg:w-full",children:[(null==s?void 0:s.image)&&(0,a.jsx)(o.Z,{field:s.image,className:"hidden w-32 h-32 aspect-square rounded-full object-cover lg:block"}),(0,a.jsxs)("div",{className:"flex flex-col lg:w-full lg:gap-y-2.5 lg:justify-center",children:[(0,a.jsxs)("div",{className:"flex justify-between items-center w-full lg:gap-x-5",children:[(null==s?void 0:s.name)&&(0,a.jsx)("span",{className:"font-semibold text-small-body",children:s.name}),(null==s?void 0:s.logo)&&(0,a.jsx)(o.Z,{field:s.logo,className:"h-5 w-auto object-cover"})]}
1),(null==s?void 0:s.bio)&&(0,a.jsx)(c.Z,{data:s.bio,className:"text-small-body"})]})]}),(0,a.jsx)(n.Z,{buttonType:"secondary",link:{link_type:"Document",url:t},className:"w-fit lg:shrink-0",children:r})]})]})})}},65685:function(e,l,t){t.d(l,{default:function(){return o}});var a=t(57437),r=t(53746),n=t(55490),s=t(30166);t(23182);let i=(0,s.default)(()=>Promise.all([t.e(155),t.e(721)]).then(t.bind(t,9589)),{loadableGenerated:{webpack:()=>[null]},ssr:!1});function o(e){let{background_color:l,anchor:t,link:s}=e;return(0,a.jsx)(n.Z,{anchor:t,backgroundColor:l,children:(0,a.jsx)(r.Z,{children:(0,a.jsx)("div",{className:"col-span-full overflow-hidden",children:(0,a.jsx)(i,{url:s})})})})}},24717:function(e,l,t){t.d(l,{default:function(){return x}});var a=t(57437),r=t(72040),n=t(53746),s=t(90361),i=t(38497),o=t(55490),c=t(2917),d=t(88862),u=t(54365),p=t(2265);function x(e){let{anchor:l,background_color:t,title:r,description:s,items:d}=e,x="dark_purple"===t,h=(0,c.Z)(t),[g,v]=(0,p.useState)(0);return(0,a.jsx)(o.Z,{anchor:l,backgroundColor:t,children:(0,a.jsxs)(n.Z,{className:(0,u.Z)("px-0 gap-y-8",h),children:[(0,a.jsxs)("div",{className:"flex flex-col gap-y-2.5 col-span-full",children:[r&&(0,a.jsx)("h2",{className:"font-bold col-span-full text-heading-2 md:w-3/4 lg:w-1/2",children:r}),s&&(0,a.jsx)(i.Z,{data:s,className:"col-span-full md:w-3/4 lg:w-1/2"})]}),(0,a.jsx)("div",{className:"col-span-full lg:col-span-2 xl:col-span-3",children:(0,a.jsx)(m,{title:r,items:d,tabCallback:v,activeIndex:g,isOnDarkBackground:x})}),(0,a.jsx)("div",{className:"relative grid col-span-full lg:col-span-6 xl:col-span-9",children:Array.isArray(d)&&d.length>0&&d.map((e,l)=>(0,a.jsx)("ol",{className:(0,u.Z)("col-span-full row-start-1 flex flex-col gap-y-8 motion-safe:transition-opacity lg:gap-y-16",l!==g?"opacity-0 invisible absolute":"motion-safe:delay-500 opacity-100"),"aria-hidden":g!==l,id:"tab-slice-panel-".concat(l),role:"tabpanel","aria-labelledby":"tab-slice-tab-".concat(l),tabIndex:g===l?-1:0,children:e.timelineItems.map((l,t)=>{let{year:r,yearItems:n}=l;if(!Array.isArray(n)||0===n.length)return null;let s=t===e.timelineItems.length-1;return(0,a.jsx)("li",{children:(0,a.jsx)(f,{year:r,isLastYearItem:s,items:n,className:"gap-y-2",isOnDarkBackground:x})},r)})},"tab-slice-".concat(e.title)))})]})})}function m(e){var l;let{title:t,items:r,tabCallback:n,activeIndex:s,isOnDarkBackground:i}=e,o=(0,d.f)("en-gb");return(0,a.jsx)("div",{className:"flex h-full pb-2 overflow-x-auto gap-y-4 lg:pb-0 lg:gap-y-8 lg:flex-col lg:overflow-hidden lg:pb-6",role:"tablist","aria-label":"".concat(null==o?void 0:null===(l=o.timeline_slice)||void 0===l?void 0:l.content_tabs," ").concat(t),"data-scroll":!0,children:r.map((e,l)=>{var t;return(0,a.jsxs)("button",{onClick:()=>n(l),className:(0,u.Z)("relative p-4 font-black text-left rounded-full group w-fit whitespace-nowrap lg:whitespace-normal lg:p-0 lg:rounded-none",l===s?"bg-purple-blue lg:bg-transparent":"lg:bg-transparent"),role:"tab","aria-selected":l===s,"aria-controls":"tab-slice-panel-".concat(l),id:"tab-slice-tab-".concat(l),"aria-label":"".concat(null==o?void 0:null===(t=o.timeline_slice)||void 0===t?void 0:t.tab_button," ").concat(e.title),children:[(0,a.jsx)("span",{className:(0,u.Z)("motion-safe:transition-opacity group-hover:opacity-100 lg:text-heading-3",i&&"text-white",i||s!==l?"text-black":"text-white lg:text-black",s===l?"opacity-100":"opacity-30 "),children:e.title}),(0,a.jsx)("span",{className:(0,u.Z)("absolute -bottom-4 left-0 h-2.5 w-full bg-yellow hidden lg:inline-block",s===l?"scale-x-100":"scale-x-0 origin-left motion-safe:transition-transform group-hover:scale-x-100")})]},"tab-slice-tab-".concat(l))})})}function f(e){let{year:l,isLastYearItem:t,items:n,className:s,isOnDarkBackground:i=!1}=e;if(!n||!Array.isArray(n)||0===n.length)return null;let[o,c]=(0,p.useState)([]),d=o.length>0;return(0,a.jsxs)("div",{className:"flex h-full gap-x-4 xl:gap-x-8 xl:grid xl:grid-cols-8",children:[(0,a.jsxs)("div",{className:"relative flex justify-between h-full",children:[l&&(0,a.jsx)("p",{className:"hidden text-grey-light xl:block",children:l}),(0,a.jsx)("div",{className:(0,u.Z)("relative h-full after:absolute after:left-1/2 after:block after:-translate-x-1/2 after:w-0 after:border-l-4 after:border-grey-light after:border-dotted",t?"after:h-[calc(100%_-_1rem)] lg:after:h-[calc(100%_-_2rem)]":"after:h-[calc(100%_+_1rem)] lg:after:h-[calc(100%_+_2rem)]"),children:(0,a.jsx)("span",{className:(0,u.Z)("block w-4 h-4 border-2 rounded-full border-purple-blue transition-colors lg:h-8 lg:w-8",d?"bg-purple-blue":"bg-transparent")})})]}),(0,a.jsx)("div",{className:"w-full xl:col-span-7",children:(0,a.jsx)("ol",{className:(0,u.Z)(["flex flex-col",s]),children:n.map((e,l)=>(0,a.jsx)("li",{children:(0,a.jsx)(h,{title:(null==e?void 0:e.title)||"",description:(null==e?void 0:e.description)||"",className:(0,u.Z)("relative px-8 py-6 group z-10 rounded-1rem border-2 border-purple-blue bg-purple-blue hover:text-white after:absolute after:w-full after:h-full after:-z-10 after:border-purple-blue after:rounded-1rem after:transition-opacity after:opacity-0 hover:after:opacity-100",i&&"text-white"),isOnDarkBackgroun
1d:i,openCallBack:()=>{-1===o.indexOf(l)?c([...o,l]):c(o.filter(e=>e!==l))},isOpen:-1!==o.indexOf(l),children:Array.isArray(e.items)&&e.items.length>0&&(0,a.jsx)("div",{className:"flex flex-wrap gap-3",children:e.items.map((e,t)=>{var n;return(null==e?void 0:null===(n=e.link)||void 0===n?void 0:n.url)?(0,a.jsx)(r.Z,{link:e.link,buttonType:"secondary",className:"z-20 text-body",isOnDarkBackground:i,tabIndex:-1!==o.indexOf(l)?0:-1,children:e.link_label},t):null})})})},"accordion-item-".concat(e.title,"-").concat(l)))})})]})}function h(e){let{title:l,description:t,className:r,isOnDarkBackground:n=!1,openCallBack:o,isOpen:c,children:d}=e;return(0,a.jsxs)("button",{className:(0,u.Z)(["w-full grid transition-all cursor-pointer overflow-hidden auto-rows-fr",c?"grid-rows-[min-content_1fr]":"grid-rows-[min-content_0fr]",c&&"text-white border-purple-blue bg-transparent after:opacity-100",r]),onClick:o,children:[(0,a.jsxs)("span",{className:"z-10 flex items-center justify-between gap-x-3",children:[(0,a.jsx)("span",{className:"flex flex-col text-left gap-y-1",children:l&&(0,a.jsx)("span",{className:(0,u.Z)("font-semibold text-heading-5 motion-safe:transition-colors",!c&&"text-white",c&&n&&"text-white",c&&!n&&"text-black"),children:l})}),(0,a.jsx)(s.ZP,{type:"plus",className:(0,u.Z)("transition-transform shrink-0",c&&"rotate-45",!n&&c?"fill-black":"fill-white")})]}),(0,a.jsxs)("span",{className:(0,u.Z)(["overflow-hidden flex flex-col items-start gap-y-4 transition-opacity lg:gap-y-8",c?"opacity-100":"opacity-0"]),children:[(0,a.jsx)("span",{className:(0,u.Z)("pt-4 text-left text-small-body",n?"text-white":"text-black"),children:(0,a.jsx)(i.Z,{data:t})}),d]})]})}},43101:function(e,l,t){t.d(l,{default:function(){return o}});var a=t(57437),r=t(53746),n=t(55490),s=t(2265);function i(){return(0,s.useEffect)(()=>{var e;let l=document.createElement("script");l.id="CookieDeclaration",l.src="https://consent.cookiebot.com/10205b92-ed29-42ee-bb83-294e24919b8d/cd.js",l.type="text/javascript",l.async=!0,null===(e=document.querySelector("#cookieDeclaration"))||void 0===e||e.prepend(l)},[]),(0,a.jsx)(n.Z,{backgroundColor:"white",children:(0,a.jsxs)(r.Z,{className:"cookie-declaration-container gap-y-4 lg:gap-y-10",children:[(0,a.jsx)("h2",{className:"font-bold col-span-full text-heading-2 lg:col-span-6 lg:col-start-2 xl:col-span-8 xl:col-start-3",children:"Cookie Declaration"}),(0,a.jsx)("div",{id:"cookieDeclaration",className:"col-span-full lg:col-span-6 lg:col-start-2 xl:col-span-8 xl:col-start-3"})]})})}var o=e=>{let{slice:l}=e;return(0,a.jsx)(i,{})}},21738:function(e,l,t){var a=t(57437),r=t(76686),n=t(59150),s=t(83388);l.default=e=>{let{slice:l}=e;return(0,a.jsx)(s.ArcherContainer,{strokeColor:"#e0e0e0",strokeWidth:1,children:(0,a.jsx)("section",{"data-slice-type":l.slice_type,"data-slice-variation":l.variation,className:"bg-[#F5F7F9] py-8 px-2",children:(0,a.jsxs)("div",{className:"[&>*]:w-full flex flex-col gap-12 md:gap-24",children:[(0,a.jsxs)("div",{className:"rounded-lg",children:[(0,a.jsx)("div",{className:"mb-7",children:(0,a.jsx)("div",{children:(0,a.jsx)(n.v,{field:l.primary.actors_title,components:{list:e=>{let{children:l}=e;return(0,a.jsx)("ul",{className:"ml-5 list-disc",children:l})}}})})}),(0,a.jsx)("div",{className:"flex flex-wrap gap-6 py-4 content space-around md:mr-0",children:l.primary.actors_content.map((e,l)=>(0,a.jsx)(s.ArcherElement,{id:"actor-".concat(l),relations:[{targetId:"description",targetAnchor:"top",sourceAnchor:"bottom",style:{strokeColor:"#e0e0e0",strokeWidth:1}}],children:(0,a.jsx)("div",{className:"z-10 flex flex-col items-start flex-auto gap-3 p-4 bg-white rounded-lg md:flex-1",children:(0,a.jsx)("div",{children:(0,a.jsx)(n.v,{field:e.description,components:{list:e=>{let{children:l}=e;return(0,a.jsx)("ul",{className:"ml-5 list-disc",children:l})}}})})})},l))})]}),(0,a.jsx)(s.ArcherElement,{id:"description",relations:[{targetId:"preconditions",targetAnchor:"top",sourceAnchor:"bottom",style:{strokeColor:"#e0e0e0",strokeWidth:1}}],children:(0,a.jsxs)("div",{className:"rounded-lg min-h-[10rem] mx-auto bg-white",children:[(0,a.jsx)("div",{className:"py-4 text-center border-b-2 heading border-grey",children:(0,a.jsx)("span",{className:"font-bold",children:"Description"})}),(0,a.jsx)("div",{className:"p-4 content",children:(0,a.jsx)(n.v,{field:l.primary.description_content,components:{list:e=>{let{children:l}=e;return(0,a.jsx)("ul",{className:"ml-5 list-disc",children:l})}}})})]})}),(0,a.jsx)(s.ArcherElement,{id:"preconditions",relations:[{targetId:"postconditions",targetAnchor:"top",sourceAnchor:"bottom",style:{strokeColor:"#e0e0e0",strokeWidth:1}}],children:(0,a.jsxs)("div",{className:"rounded-lg min-h-[10rem] bg-white org-chart-preconditions",children:[(0,a.jsx)("div",{className:"py-4 text-center border-b-2 heading border-grey",children:(0,a.jsx)("span",{className:"font-bold",children:"Preconditions"})}),(0,a.jsx)("div",{className:"content p-4 flex gap-6 space-between [&>*]:flex-1 flex-wrap",children:l.primary.preconditions_content.map((e,l)=>{var t;return(0,a.jsxs)("div",{className:"flex flex-col items-start gap-4",children:[(0,a.jsx)("div",{children:(0,a.jsx)(n.v,{field:e.column_description,components:{list:e=>{let{children:l}=e;return(0,a.jsx)("ul",{className:"ml-5 list-disc",children:l})}}})}),(0,a.jsx)("div",{className:"flex gap-2.5 flex-wrap",children:null===(t=e.column_pills)||void 0===t?void 0:t.split("#").map((e,l)=>(0,a.jsx)("span",{className:"rounded-full py-2 px-4 bg-[#f5f5f5] text-[14px]",children:e},l))})]},l)})})]})}),(0,a.jsx)(s.ArcherElement,{id:"postconditions",relations:[{targetId:"flow",targetAnchor:"top",sourceAnchor:"bottom",style:{strokeColor:"#e0e0e0",strokeWidth:1}}],children:(0,a.jsxs)("div",{className:"rounded-lg min-h-[10rem] bg-white w-full",children:[(0,a.jsx)("div",{className:"py-4 text-center border-b-2 heading border-grey",children:(0,a.jsx)("span",{className:"font-bold",children:"Postconditions"})}),(0,a.jsx)("div",{className:"content p-4 flex gap-6 space-between [&>*]:flex-1 flex-wrap",children:l.primary.postconditions_content.map((e,l)=>{var t;return(0,a.jsxs)("div",{className:"flex flex-col items-start gap-4",children:[(0,a.jsx)("div",{children:(0,a.jsx)(n.v,{field:e.column_description,components:{list:e=>{let{children:l}=e;return(0,a.jsx)("ul",{className:"ml-5 list-disc",children:l})}}})}),(0,a.jsx)("div",{className:"flex gap-2.5 flex-wrap",children:null===(t=e.column_pills)||void 0===t?void 0:t.split("#").map((e,l)=>(0,a.jsx)("span",{className:"rounded-full py-1.5 px-4 bg-[#f5f5f5] text-[14px]",children:e},l))})]},l)})})]})}),(0,a.jsx)(s.ArcherElement,{id:"flow",children:(0,a.jsxs)("div",{className:"rounded-lg min-h-[10rem] bg-white",children:[(0,a.jsx)("div",{className:"py-4 text-center border-b-2 heading border-grey",children:(0,a.jsx)("span",{className:"font-bold",children:"Flow"})}),(0,a.jsx)("div",{className:"p-4 content",children:(0,a.jsx)(n.v,{field:l.primary.flow_content,components:{list:e=>{let{children:l}=e;return(0,a.jsx)("ul",{className:"ml-5 list-disc",children:l})}}})})]})}),(0,a.jsx)(s.ArcherElement,{id:"image",children:(0,a.jsx)("div",{className:"rounded-lg min-h-[10rem] mx-auto bg-white",children:(0,a.jsx)("div",{className:"content w-full h-[60vh]",children:(0,a.jsx)(r.PrismicNextImage,{field:l.primary.image,className:"object-cover w-full h-full",alt:""})})})}),(0,a.jsx)(s.ArcherElement,{id:"notes",children:(0,a.jsxs)("div",{className:"rounded-lg min-h-[10rem] bg-white",children:[(0,a.jsx)("div",{className:"py-4 text-center border-b-2 heading border-grey",children:(0,a.jsx)("span",{className:"font-bold",children:"NOTES"})}),(0,a.jsx)("div",{className:"p-4 content",children:(0,a.jsx)(n.v,{field:l.primary.notes_content,components:{list:e=>{let{children:l}=e;return(0,a.jsx)("ul",{className:"ml-5 list-disc",children:l})}}})})]})})]})})})}},63323:function(e,l){l.Z=function(e){let l,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:300;return function(){for(var a=arguments.length,r=Array(a),n=0;n<a;n++)r[n]=arguments[n];clearTimeout(l),l=setTimeout(()=>e.apply(this,r),t)}}},8365:function(e,l,t){t.d(l,{Z:function(){return a}});function a(e){return e&&"url"in e?e.url:null}},2917:function(e,l,t){t.d(l,{Z:function(){return a}});function a(e){return"dark_purple"===e?"text-white":"text-black"}},78682:function(e,l,t){t.d(l,{Z:function(){return a}});function a(e){return window.scrollY>0&&window.scrollY>(null==e?void 0:e.current)?(e.current=window.scrollY,!0):((0===window.scrollY||window.scrollY<=(null==e?void 0:e.current))&&(e.current=window.scrollY),!1)}},46815:function(e,l,t){t.d(l,{Z:function(){return a}});function a(e){if(!e)return;let l=e.replaceAll(" ","-").replaceAll(/([!@#$%^&*()_+\-=[{\]}:;"'<,.>?/|\\])+/g,"-").toLowerCase();return/^\d/.test(l)?"id-".concat(l):l}},77969:function(e,l,t){t.d(l,{Z:function(){return r}});var a=t(56873);function r(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:document.documentElement,l=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:400;!e||isNaN(l)||(0,a.Z)({targets:e,scrollTop:l-t,duration:r,easing:"easeInOutQuad"})}},67395:function(e,l,t){t.d(l,{Z:function(){return r}});var a=t(56873);function r(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:document.documentElement,l=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:400;!e||isNaN(l)||(0,a.Z)({targets:e,scrollTop:l-t,duration:r,easing:"easeInOutQuad"})}},89258:function(e,l){l.Z=function(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],l=document.querySelector("body");l&&(e?(l.classList.add("overflow-hidden"),l.classList.add("lg:overflow-x-hidden"),l.classList.add("lg:overflow-y-visible"),l.dataset.scroll="true"):(l.classList.remove("overflow-hidden"),l.classList.remove("lg:overflow-x-hidden"),l.classList.remove("lg:overflow-y-visible"),l.removeAttribute("data-scroll")))}},88979:function(e,l,t){t.d(l,{z:function(){return s}});var a=t(2265);let r={},n=["scroll","touchstart","touchmove","wheel"];function s(e,l){(0,a.useEffect)(()=>(r[e]||(r[e]=new Set,window.addEventListener(e,l=>{var t;
1return null===(t=r[e])||void 0===t?void 0:t.forEach(e=>e(l))},{passive:n.includes(e)})),r[e].add(l),()=>{r[e].delete(l),r[e].size||delete r[e]}),[l])}}}]);
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.