(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[185],{94851:function(e,t,n){Promise.resolve().then(n.bind(n,67456)),Promise.resolve().then(n.bind(n,39501)),Promise.resolve().then(n.bind(n,50656)),Promise.resolve().then(n.t.bind(n,25250,23)),Promise.resolve().then(n.t.bind(n,85935,23)),Promise.resolve().then(n.t.bind(n,63345,23)),Promise.resolve().then(n.t.bind(n,63385,23)),Promise.resolve().then(n.t.bind(n,76789,23)),Promise.resolve().then(n.t.bind(n,55578,23)),Promise.resolve().then(n.bind(n,74098)),Promise.resolve().then(n.bind(n,89320)),Promise.resolve().then(n.bind(n,45599)),Promise.resolve().then(n.bind(n,49465)),Promise.resolve().then(n.bind(n,1774)),Promise.resolve().then(n.bind(n,96336)),Promise.resolve().then(n.bind(n,97821))},68447:function(e,t,n){"use strict";n.d(t,{Z:function(){return s}});var r=n(3827),l=n(89179),a=n(34734),o=n(28215);function s(e){let{onClick:t,link:n,children:s,className:c,scroll:u,isOnDarkBackground:d=!1,buttonType:f="primary",type:p="button",disabled:m=!1,tabIndex:h=0,onFocus:x}=e,{backgroundColor:g,textColor:v,hoverTextColor:y,hoverTextColorOnDarkBackground:b}=i["primary"===f?"yellow":"secondary"===f?d?"white":"green":d?"white":"yellow-text"],w=d?b:y,j="tertiary"===f||"secondary"===f&&n&&(null==n?void 0:n.link_type)==="Web",k=n&&"Web"===n.link_type;return n&&!t?(0,r.jsxs)(o.Z,{className:(0,a.Z)(["flex gap-x-2 items-center text-small-body font-medium text-".concat(v," transition-all group/button"),"primary"===f&&"bg-".concat(g," hover:bg-transparent"),"secondary"===f&&"hover:bg-".concat(g),"tertiary"!==f&&"border-2 px-5 py-3 rounded-5xl border-".concat(g," hover:rounded-xl lg:px-6 hover:text-").concat(w),c]),...n,tabIndex:m?-1:h,scroll:u,onFocus:x,children:[s,j&&(0,r.jsx)(l.ZP,{type:"arrow",className:(0,a.Z)("w-3","fill-".concat(v),"tertiary"===f&&!k&&"transition-transform group-hover/button:translate-x-1","tertiary"===f&&k&&"transition-transform group-hover/button:translate-x-1 group-hover/button:-translate-y-1","secondary"===f&&"transition-colors group-hover/button:fill-".concat(w),k&&"-rotate-45")})]}):t&&!n?(0,r.jsxs)("button",{className:(0,a.Z)(["text-small-body font-medium text-".concat(v," transition-all hover:text-").concat(w),"primary"===f&&"bg-".concat(g," hover:bg-transparent"),"secondary"===f&&"hover:bg-".concat(g),"tertiary"!==f&&"border-2 px-5 py-3 rounded-5xl border-".concat(g," hover:rounded-xl lg:px-6"),c]),onClick:t,type:p,disabled:m,tabIndex:h,children:[s,j&&(0,r.jsx)(l.ZP,{type:"arrow",className:(0,a.Z)("fill-".concat(v),"tertiary"===f&&!k&&"transition-transform group-hover/button:translate-x-1","tertiary"===f&&k&&"transition-transform group-hover/button:translate-x-1 group-hover/button:-translate-y-1","secondary"===f&&"transition-colors group-hover/button:fill-".concat(w),k&&"-rotate-45")})]}):null}let i={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"}}},18593:function(e,t,n){"use strict";n.d(t,{Z:function(){return a}});var r=n(3827),l=n(34734);function a(e){let{children:t,className:n,containerRef:a,dataScroll:o,withPadding:s=!0}=e;return(0,r.jsx)("div",{className:(0,l.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",n,s&&"px-5 md:px-20"]),ref:a,"data-scroll":o,children:t})}},74098:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return l}});var r=n(64090);function l(){let e=(0,r.useRef)(!1);return(0,r.useEffect)(()=>{if(!e.current){let t=document.createElement("script");t.id="Cookiebot",t.src="https://consent.cookiebot.com/uc.js",t.setAttribute("data-cbid","10205b92-ed29-42ee-bb83-294e24919b8d"),t.setAttribute("data-blockingmode","auto"),t.type="text/javascript",document.head.prepend(t),e.current=!0}},[]),null}},99995:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(3827),l=n(89179),a=n(34734);function o(e){let{className:t,iconClassName:n,orientation:o="down"}=e;return(0,r.jsxs)("span",{className:(0,a.Z)("inline-block aspect-square w-full relative overflow-hidden",t),children:[(0,r.jsx)("span",{className:(0,a.Z)("inline-flex items-center justify-center absolute inset-0 w-full h-full p-px transition-transform","down"===o&&"-translate-y-full rotate-90 group-hover/disappearingArrow:translate-y-0","right"===o&&"-translate-x-full group-hover/disappearingArrow:translate-x-0"),children:(0,r.jsx)(l.ZP,{type:"arrow",className:n})}),(0,r.jsx)("span",{className:(0,a.Z)("inline-flex items-center justify-center absolute inset-0 w-full h-full p-px transition-transform","down"===o&&"translate-y-0 rotate-90 group-hover/disappearingArrow:translate-y-full","right"===o&&"translate-x-0 group-hover/disappearingArrow:translate-x-full"),children:(0,r.jsx)(l.ZP,{type:"arrow",className:n})})]})}},28215:function(e,t,n){"use strict";n.d(t,{Z:function(){return a}});var r=n(3827),l=n(8792);function a(e){let{url:t,link_type:n,target:a,children:o,className:s,label:i,tabIndex:c=0,onFocus:u,scroll:d}=e;if(!t)return null;if("Web"===n){let e=t.startsWith("http")?t:"//".concat(t);return(0,r.jsx)("a",{href:e,className:s,target:a,rel:"noreferrer noopener",tabIndex:c,"aria-label":i,onFocus:u,children:o})}return(0,r.jsx)(l.default,{href:t,className:s,"aria-label":i,tabIndex:c,onFocus:u,scroll:d,children:o})}},89320:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return a}});var r=n(47907),l=n(64090);function a(){let e=(0,r.usePathname)(),t=(0,r.useSearchParams)(),[n,a]=(0,l.useState)(t.get("term"));return(0,l.useEffect)(()=>{var e,t,n,r=window._paq=window._paq||[];r.push(["setTrackerUrl","https://dcsa.matomo.cloud/matomo.php"]),r.push(["setSiteId","1"]),t=(e=document).createElement("script"),n=e.getElementsByTagName("script")[0],t.async=!0,t.src="//cdn.matomo.cloud/dcsa.matomo.cloud/container_xgidCOeV.js",n.parentNode.insertBefore(t,n)},[]),(0,l.useEffect)(()=>{let r=e.split("?")[0].split("#")[0];a(t.get("term")),requestAnimationFrame(()=>{var e,t,l,a;_paq.push(["setDocumentTitle","Corporate website - "+document.title]),_paq.push(["setCustomUrl","".concat(r).concat(n?"?".concat(n):"")]),_paq.push(["setCookieDomain","*.dcsa.org"]),_paq.push(["setDomains",["*.dcsa.org"]]),_paq.push(["setDoNotTrack",!0]),_paq.push(["requireConsent"]),_paq.push(["trackPageView"]),_paq.push(["enableLinkTracking"]),(null===(e=window)||void 0===e?void 0:e.cookiebotForMatomo)&&(null===(a=window)||void 0===a?void 0:null===(l=a.cookiebotForMatomo)||void 0===l?void 0:null===(t=l.consent)||void 0===t?void 0:t.statistics)&&(_paq.push(["setCookieConsentGiven"]),_paq.push(["setConsentGiven"]))})},[e,n]),null}},45599:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return o}});var r=n(3827),l=n(85935),a=n.n(l);function o(){return(0,r.jsx)(a(),{strategy:"beforeInteractive",children:"\n      var waitForTrackerCount = 0;\n      function matomoWaitForTracker() {\n        if (typeof _paq === 'undefined' || typeof Cookiebot === 'undefined') {\n          if (waitForTrackerCount < 40) {\n            setTimeout(matomoWaitForTracker, 250);\n            waitForTrackerCount++;\n            return;\n          }\n        } else {\n          window.cookiebotForMatomo = Cookiebot;\n          window.addEventListener('CookiebotOnAccept', function (e) {\n              consentSet();\n          });\n          window.addEventListener('CookiebotOnDecline', function (e) {\n              consentSet();\n          })\n        }\n      }\n\n      function consentSet() {\n        if (Cookiebot.consent.statistics) {\n          _paq.push(['setCookieConsentGiven']);\n          _paq.push(['setConsentGiven']);\n        } else {\n          _paq.push(['forgetCookieConsentGiven']);\n          _paq.push(['forgetConsentGiven']);\n        }\n      }\n\n      document.addEventListener('DOMContentLoaded', matomoWaitForTracker());\n        "})}},30650:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return c}});var r=n(3827),l=n(64090),a=n(99995),o=n(89179),s=n(28215),i=n(34734);function c(e){let{items:t}=e,[n,a]=(0,l.useState)(null);return t&&Array.isArray(t)&&0!==t.length?(0,r.jsx)("div",{className:"flex flex-col gap-y-1",children:Array.isArray(t)&&t.length>0&&t.map((e,t)=>(0,r.jsx)(u,{title:e.title,openIndex:n,index:t,openCallback:()=>{n!==t?a(t):a(null)},items:e.items},t))}):null}function u(e){let{title:t,openIndex:n,index:c,openCallback:u,items:d}=e;return(0,r.jsxs)("div",{className:(0,i.Z)("w-full grid transition-all cursor-pointer overflow-hidden auto-rows-fr text-white group/menuAccordion",n===c?"grid-rows-[min-content_1fr]":"grid-rows-[min-content_0fr]"),children:[(0,r.jsxs)("button",{className:(0,i.Z)("flex justify-between items-center text-left px-5 py-4 bg-purple-blue transition-all -outline-offset-2",n===c?"rounded-t-lg":"rounded-lg group-hover/menuAccordion:bg-purple"),onClick:u,children:[t,(0,r.jsx)(o.ZP,{type:"plus",className:(0,i.Z)(["transition-transform shrink-0 fill-white",n===c&&"rotate-45"])})]}),(0,r.jsx)("span",{className:(0,i.Z)("overflow-hidden flex flex-col items-start transition-opacity",n===c?"opacity-100":"opacity-0"),"aria-hidden":n!==c,children:d.map(e=>(0,l.createElement)(s.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:n!==c?-1:0,children:[(0,r.jsx)("span",{className:"absolute top-0 left-0 w-full h-0.5 bg-purple rounded-full"}),(0,r.jsx)("span",{className:"pl-4",children:e.title}),(0,r.jsx)("span",{className:"inline-flex items-center w-4 shrink-0",children:(0,r.jsx)(a.Z,{iconClassName:"fill-white",orientation:"right"})})]}))})]})}},70992:function(e,t,n){"use strict";n.d(t,{Z:function(){return a}});var r=n(3827),l=n(34734);function a(e){let{data:t,className:n}=e;return t?(0,r.jsx)("div",{dangerouslySetInnerHTML:{__html:t},className:(0,l.Z)("richText",n)}):null}},15464:function(e,t,n){"use strict";n.d(t,{Z:function(){return u}});var r=n(3827),l=n(23170),a=n(4175),o=n(47907),s=n(64090),i=n(89179),c=n(28215);function u(){var e,t,n;let u=(0,o.useRouter)(),d=(0,o.useSearchParams)(),f=(0,l.f)("en-gb"),[p,m]=(0,s.useState)(!1),h=(0,s.useRef)(null),x=(0,s.useRef)(null);return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(c.Z,{url:"/search",link_type:"Document",className:"relative flex items-center justify-center h-full p-2 border-2 border-white rounded-full col-span-full aspect-square lg:hidden",label:(null==f?void 0:null===(e=f.search)||void 0===e?void 0:e.go_search)||"Go to search page",children:(0,r.jsx)(i.ZP,{type:"search",className:"w-5 h-5 fill-white"})}),(0,r.jsx)("div",{className:"relative z-20 hidden col-span-full lg:block",children:(0,r.jsxs)("form",{ref:h,className:"flex items-center w-auto h-10 p-2 ml-8 group",children:[(0,r.jsx)("input",{type:"text",placeholder:(null==f?void 0:null===(t=f.search)||void 0===t?void 0:t.input_placeholder)||"",name:"term",className:"relative z-20 w-10 h-10 p-2 leading-10 text-transparent transition-all origin-right -translate-x-full border-2 border-white group-hover:text-white rounded-5xl bg-purple/30 backdrop-blur-sm group-hover:w-80 placeholder:text-transparent group-hover:placeholder:text-white",defaultValue:d.get("term")||"",onKeyDown:e=>(function(e){if(e&&(null==x?void 0:x.current)&&"Enter"===e.key){var t;if(e.preventDefault(),!p){m(!0);return}(0,a.S)(u,(null==x?void 0:null===(t=x.current)||void 0===t?void 0:t.value)||"",d),x.current.value=""}})(e),ref:x}),(0,r.jsx)("button",{onClick:e=>(function(e){var t;if(e&&(null==x?void 0:x.current)){if(e.preventDefault(),!p){m(!0);return}(0,a.S)(u,(null==x?void 0:null===(t=x.current)||void 0===t?void 0:t.value)||"",d),x.current.value=""}})(e),className:"absolute top-0 left-0 z-20 flex items-center justify-center w-10 h-10 transition-colors rounded-full aspect-square","aria-label":(null==f?void 0:null===(n=f.search)||void 0===n?void 0:n.search)||"Search",children:(0,r.jsx)(i.ZP,{type:"search",className:"relative z-20 w-5 h-5 fill-white"})})]})})]})}},96336:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return o}});var r=n(54237),l=n(89154),a=n(64090);function o(){function e(){let e=document.documentElement.clientWidth/100;document.documentElement.style.setProperty("--vw",e?"".concat(e,"px"):"1vw")}return(0,l.z)("resize",(0,r.Z)(e)),(0,a.useEffect)(()=>{e()},[]),null}},49465:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return y}});var r=n(3827),l=n(18593),a=n(28215),o=n(15464),s=n(89179),i=n(23170),c=n(99399),u=n(9349),d=n(34734),f=n(47907),p=n(64090),m=n(16259),h=n(28574),x=n(34956),g=n(5748);function v(e){var t,n,l;let{data:a,activeIndex:o,closeCallback:s}=e;if(!a)return null;let c=(0,i.f)("en-gb"),[d,f]=(0,p.useState)(null),v=(0,p.useRef)(null),y={mega_menu_accordion_list:m.Z,mega_menu_card:h.Z,mega_menu_intro:x.Z,mega_menu_link_list:g.Z};return(0,p.useEffect)(()=>{if(o&&!d){f(o?a[o-1]:null),(0,u.Z)({targets:v.current,opacity:[0,1],translateY:[16,0],delay:150,duration:100,easing:"easeInOutQuad"});return}if(!o){(0,u.Z)({targets:v.current,opacity:[1,0],translateY:[0,16],delay:0,duration:100,easing:"easeInOutQuad",complete:()=>{f(o?a[o-1]:null)}});return}(0,u.Z)({targets:v.current,opacity:[1,0],translateY:[0,16],delay:0,duration:100,easing:"easeInOutQuad",complete:()=>{f(o?a[o-1]:null),(0,u.Z)({targets:v.current,opacity:[0,1],translateY:[16,0],delay:0,duration:100,easing:"easeInOutQuad"})}})},[o]),(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)("div",{className:"absolute left-1/2 -translate-x-1/2 top-[var(--desktop-nav-height)] w-full h-[calc(100vh_-_5.625rem)] desktop-nav-max-inner-container",children:(0,r.jsxs)("div",{className:"relative z-20 grid h-full grid-cols-12 pt-8 pb-20 overflow-y-auto text-white gap-x-10 gap-y-2 col-span-full max-w-container auto-rows-max md:px-16 xl:gap-x-20",ref:v,"data-scroll":!0,children:[null==d?void 0:null===(t=d.slices)||void 0===t?void 0:t.map((e,t)=>{if(null==e?void 0:e.slice_type){let n=y[null==e?void 0:e.slice_type];return(0,p.createElement)(n,{...e,key:t})}}),(0,r.jsx)("button",{className:"absolute top-0 left-0 w-full h-full -z-10",onClick:()=>s(null),"aria-label":(null==c?void 0:null===(n=c.general)||void 0===n?void 0:n.close_menu)||"Close menu"})]})}),(0,r.jsx)("button",{className:"absolute top-0 left-0 w-full h-full -z-10",onClick:()=>s(null),"aria-label":(null==c?void 0:null===(l=c.general)||void 0===l?void 0:l.close_menu)||"Close menu"})]})}function y(e){var t,n;let{data:m}=e,h=(0,i.f)("en-gb"),[x,g]=(0,p.useState)(null),y=(0,p.useRef)(null),b=(0,p.useRef)(null),w=(0,p.useRef)(null),j=(0,p.useRef)(null),k=(0,p.useRef)(null),N=(0,p.useRef)(null),Z=(0,f.usePathname)(),_=!1;function C(e){"Escape"===e.key&&g(null)}function E(){(null==k?void 0:k.current)&&(g(null),P())}function P(){let e=getComputedStyle(document.documentElement),t=e.getPropertyValue("--container-padding"),n=e.getPropertyValue("--container-max-width"),r=window.innerWidth/16,l=window.innerWidth>1560?parseFloat(n.split("rem")[0])-2*parseFloat(t.split("rem")[0])+3.5:window.innerWidth/16-2*parseFloat(t.split("rem")[0])+2.5;j.current=u.Z.timeline({easing:"easeInOutQuad",autoplay:!1,duration:500}).add({targets:k.current,width:["".concat(l,"rem"),"".concat(r-3.5,"rem")],duration:100}).add({targets:k.current,height:["7.875rem","".concat(window.innerHeight/16,"rem")],duration:150,delay:50}).add({targets:k.current,clipPath:["inset(1.75rem 0rem round 2rem)","inset(1.25rem 0rem round 2rem)"],duration:100,delay:50}).add({targets:N.current,translateY:["-1rem",0],opacity:[0,1],duration:200},"-=400")}return"/"===Z&&(_=!0),(0,p.useEffect)(()=>(window.addEventListener("keydown",C),()=>{window.removeEventListener("keydown",C)}),[]),(0,p.useEffect)(()=>{(0,c.Z)(!1),g(null)},[Z]),(0,p.useEffect)(()=>(!(null==j?void 0:j.current)&&(null==k?void 0:k.current)&&P(),window.addEventListener("resize",E),()=>{window.removeEventListener("resize",E)}),[]),(0,p.useEffect)(()=>{!(null==w?void 0:w.current)&&x&&(null==j?void 0:j.current)&&(j.current.reversed&&j.current.reverse(),j.current.play()),(null==w?void 0:w.current)&&!x&&(null==j?void 0:j.current)&&(j.current.reversed||j.current.reverse(),j.current.play()),w.current=x,(0,c.Z)(null!==x)},[x]),(0,p.useEffect)(()=>{if("/"!==Z)return;let e=u.Z.timeline({easing:"easeInOutCubic"});b.current&&e.add({targets:y.current,translateY:["-1.875rem",0],translateX:["-50%","-50%"],opacity:[0,1],duration:150,delay:1200}).add({targets:Array.from(b.current.children),translateY:["-1.875rem",0],opacity:[0,1],delay:u.Z.stagger(250),complete:function(){var e,t,n;null==y||null===(e=y.current)||void 0===e||e.classList.remove("-translate-y-7","opacity-0"),null==y||null===(t=y.current)||void 0===t||t.style.removeProperty("transform"),null==y||null===(n=y.current)||void 0===n||n.style.removeProperty("opacity")}},"-=100")},[_]),(0,r.jsxs)(r.Fragment,{children:[(0,r.jsxs)("div",{className:(0,d.Z)("fixed top-5 hidden transition-transform duration-150 rounded-2xl -translate-x-1/2 desktop-header drop-shadow-menu left-1/2 w-[calc(100%_-_2.5rem)] lg:block",_&&"-translate-y-7 opacity-0"),ref:y,children:[(0,r.jsxs)(l.Z,{className:"z-20 hidden h-[5.5rem] md:px-14 lg:gap-x-4 lg:grid 2xl:px-20",containerRef:b,withPadding:!1,children:[(0,r.jsx)(a.Z,{url:"/",link_type:"Document",className:(0,d.Z)("z-20 flex items-center col-span-1 w-fit xl:col-span-2",_&&"opacity-0"),label:(null==h?void 0:null===(t=h.general)||void 0===t?void 0:t.go_home)||"",children:(0,r.jsx)(s.ZP,{type:"logo",className:(0,d.Z)(["h-10 transition-all",!x&&"scrolled"])})}),(0,r.jsx)("div",{className:(0,d.Z)("z-20 col-span-6 flex text-white rounded-2xl justify-center xl:col-span-8",_&&"opacity-0"),children:Array.isArray(m)&&m.map((e,t)=>{if(null==e?void 0:e.title)return(0,r.jsx)("button",{className:"relative z-20 group",onClick:()=>g(t+1),children:(0,r.jsx)("span",{className:(0,d.Z)("block px-3.5 py-2 transition-colors hover:text-yellow",x===t+1&&"text-yellow",Z.startsWith("".concat(e.link.url))&&"text-yellow"),children:e.title})},"desktop-navigation-item-".concat(t+1))})}),(0,r.jsxs)("div",{className:(0,d.Z)("relative z-20 flex items-center justify-center col-span-1 ml-auto xl:col-span-2",_&&"opacity-0"),children:[(0,r.jsx)("div",{className:"w-10 h-10 mr-5",children:(0,r.jsx)(o.Z,{})}),(0,r.jsx)("button",{onClick:()=>g(null),className:"relative ml-auto transition-all -translate-y-8 opacity-0 h-9 w-9 group","aria-label":null==h?void 0:null===(n=h.general)||void 0===n?void 0:n.close_menu,"aria-hidden":null===x,ref:N,children:(0,r.jsxs)("span",{className:"flex items-center justify-center w-full h-full transition-transform group-hover:rotate-90",children:[(0,r.jsx)("span",{className:"inline-block bg-white rounded-full w-full h-[0.1875rem] absolute rotate-45"}),(0,r.jsx)("span",{className:"inline-block bg-white rounded-full w-full   h-[0.1875rem] absolute -rotate-45"})]})})]})]}),(0,r.jsx)("div",{className:(0,d.Z)(["fixed bg-purple/90 left-1/2 -translate-x-1/2 z-10 backdrop-blur-sm h-nav top-0 -mt-5 w-[calc(100%_-_6.5rem)] desktop-base-inset rounded-2rem px-20",!x&&"pointer-events-none"]),ref:k,children:(0,r.jsx)(v,{activeIndex:x,data:m,closeCallback:e=>g(e)})})]}),(0,r.jsx)("button",{className:(0,d.Z)(["fixed top-0 left-0 w-full h-screen bg-black/60 -z-10 transition-opacity",x?"opacity-100":"opacity-0 pointer-events-none"]),onClick:()=>g(null),"aria-label":"Close menu"})]})}},1774:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return Z}});var r=n(3827),l=n(54237),a=n(47907),o=n(64090),s=n(28215),i=n(89179),c=n(23170),u=n(9349),d=n(34734),f=n(18593);function p(e){var t,n;let{open:l,detailOpen:p,clickHandler:h,detailClickHandler:x}=e,g=(0,c.f)("en-gb"),v=(0,o.useRef)(null),y=(0,o.useRef)(null),b=(0,o.useRef)(!1),w=(0,a.usePathname)();return(0,o.useEffect)(()=>{!b.current&&(b.current=!0,v.current&&"/"===w&&(0,u.Z)({targets:[v.current,y.current],translateY:["-1.5rem",0],opacity:[0,1],duration:350,easing:"easeInOutCubic",delay:650}))},[]),(0,r.jsx)(f.Z,{className:(0,d.Z)("fixed top-0 left-0 w-screen z-20 transition-all duration-500 rounded-3xl py-2.5 lg:hidden","/"===w&&!b.current&&"opacity-0"),containerRef:v,children:(0,r.jsxs)("div",{className:(0,d.Z)(["relative w-full py-3.5 px-2.5 bg-purple transition-all duration-500 col-span-full grid grid-cols-4","before:absolute before:inset-0 before:bg-purple before:w-full before:h-2.5 before:-translate-y-2.5 before:transition-opacity before:delay-500",!l&&"rounded-3xl p-2.5 before:opacity-0","/"===w&&!b.current&&" before:opacity-0"]),ref:y,children:[(0,r.jsxs)("div",{className:"grid col-span-3 grid-rows-1 overflow-hidden","data-scroll":!0,children:[(0,r.jsx)("div",{className:(0,d.Z)(["row-span-1 row-start-1 col-start-1 flex text-white items-center transition-opacity w-fit text-3xl font-semibold",p&&l?"opacity-0":"opacity-100"]),children:(0,r.jsx)(s.Z,{url:"/",link_type:"Document",className:"flex items-center col-span-2",label:(null==g?void 0:null===(t=g.general)||void 0===t?void 0:t.go_home)||"",children:(0,r.jsx)(i.ZP,{type:"logo",className:"h-8"})})}),(0,r.jsx)("button",{className:(0,d.Z)(["row-span-1 row-start-1 col-start-1 flex text-white items-center transition-opacity w-fit opacity-0",p&&l&&"opacity-100",p&&l?"pointer-events-auto":"pointer-events-none"]),onClick:()=>x(null),"aria-label":(null==g?void 0:null===(n=g.general)||void 0===n?void 0:n.go_back)||"",children:(0,r.jsx)(i.ZP,{type:"arrow",className:"w-auto rotate-180 h-7",pathclass:"fill-white"})})]}),(0,r.jsx)(m,{clickHandler:h,open:l})]})})}function m(e){var t,n;let{clickHandler:l,open:a}=e,o=(0,c.f)("en-gb");return(0,r.jsxs)("button",{className:"col-span-1 items-end justify-center col-end-5 flex flex-col gap-y-1.5 cursor-pointer md:col-end-9",onClick:()=>l(),"aria-label":a?null==o?void 0:null===(t=o.general)||void 0===t?void 0:t.close_menu:null==o?void 0:null===(n=o.general)||void 0===n?void 0:n.open_menu,children:[(0,r.jsx)("span",{className:(0,d.Z)(["bg-yellow h-[0.1875rem] w-8 rounded transition-all origin-center",a&&"rotate-45 translate-y-[0.59375rem] w-9"])}),(0,r.jsxs)("span",{className:"flex w-8 gap-x-1",children:[(0,r.jsx)("span",{className:(0,d.Z)(["bg-yellow h-[0.1875rem] w-1/2 rounded transition-all origin-left",a&&"w-0 opacity-0"])}),(0,r.jsx)("span",{className:(0,d.Z)(["bg-yellow h-[0.1875rem] w-1/2 rounded transition-all origin-left",a&&"w-0 opacity-0"])})]}),(0,r.jsxs)("span",{className:(0,d.Z)(["flex w-8",a?"w-9":"gap-x-1"]),children:[(0,r.jsx)("span",{className:(0,d.Z)(["bg-yellow h-[0.1875rem] rounded transition-all origin-left",a?"w-9 -rotate-45 translate-x-[0.3125rem] translate-y-1":"w-1/2"])}),(0,r.jsx)("span",{className:(0,d.Z)(["bg-transparent h-[0.1875rem] rounded transition-all origin-left",a?"w-0 opacity-0":"w-1/2"])})]})]})}var h=n(68447),x=n(15464);function g(e){let{data:t,open:n,detailOpen:l,clickHandler:a}=e,s=(0,o.useRef)(null),i=(0,o.useRef)(null);return(0,o.useEffect)(()=>{if(s.current&&i.current){if(!0===n){(0,u.Z)({targets:[...Array.from(s.current.children),i.current],translateY:["1rem",0],opacity:[0,1],duration:300,delay:u.Z.stagger(100),easing:"easeInOutCubic"});return}(0,u.Z)({targets:[...Array.from(s.current.children),i.current],translateY:[0,"1rem"],opacity:[1,0],duration:300,delay:u.Z.stagger(-100),easing:"easeInOutCubic"})}},[n]),(0,r.jsxs)(f.Z,{className:(0,d.Z)(["absolute left-0 top-0 w-full h-full z-20 pt-32 pb-24 transition-transform duration-500 landscape:pt-16 landscape:pb-24",l?"-translate-x-full":"translate-x-0",!n&&"pointer-events-none"]),children:[(0,r.jsx)("div",{className:"flex flex-col col-span-full landscape:overflow-y-scroll",ref:s,"data-scroll":!0,children:Array.isArray(t)&&(null==t?void 0:t.map((e,l)=>(0,r.jsx)("button",{className:(0,d.Z)(["text-white text-left py-6 border-b border-purple-light transition-all duration-300 ease-in-out text-heading-3",!n&&"opacity-0 translate-y-4"]),onClick:()=>a(t[l]),children:null==e?void 0:e.title},"navigation-item-".concat(l))))}),(0,r.jsxs)("div",{className:(0,d.Z)(["flex mt-auto col-span-full justify-between transition-all",!n&&"opacity-0 translate-y-4"]),ref:i,children:[(0,r.jsx)(h.Z,{link:{url:"https://developer.dcsa.org",link_type:"web"},buttonType:"secondary",isOnDarkBackground:!0,children:"Developer Portal"}),(0,r.jsx)(x.Z,{})]})]})}var v=n(16259),y=n(28574),b=n(34956),w=n(5748);function j(e){var t;let{data:n,open:l,detailOpen:a}=e,s=(0,o.useRef)(null);(0,o.useEffect)(()=>{if(!l){(0,u.Z)({targets:s.current.children,translateY:[0,"1rem"],opacity:[1,0],duration:300,delay:u.Z.stagger(-100),easing:"easeInOutCubic"});return}(0,u.Z)({targets:s.current.children,translateY:["1rem",0],opacity:[0,1],duration:300,delay:u.Z.stagger(100),easing:"easeInOutCubic"})},[l]);let i={mega_menu_accordion_list:v.Z,mega_menu_card:y.Z,mega_menu_intro:b.Z,mega_menu_link_list:w.Z};return(0,r.jsx)("div",{className:(0,d.Z)(["fixed w-screen h-screen left-0 top-0 z-20 transition-transform duration-500",a?"translate-x-0":"translate-x-full"]),children:(0,r.jsx)(f.Z,{className:"w-full z-10 transition-transform pt-20 pb-24 text-white gap-y-10 h-full overflow-y-auto grid-rows-[auto_auto_1fr]",containerRef:s,dataScroll:!0,children:null==n?void 0:null===(t=n.slices)||void 0===t?void 0:t.map((e,t)=>{if(null==e?void 0:e.slice_type){let n=i[null==e?void 0:e.slice_type];return(0,o.createElement)(n,{...e,key:t})}})})})}function k(e){var t,n;let{data:l,detailData:a,open:s,detailOpen:i,clickHandler:c,detailClickHandler:f}=e,p=(0,o.useRef)(null);return(0,o.useEffect)(()=>{p.current&&(0,u.Z)({targets:p.current,translateY:["-1.5rem",0],opacity:[0,1],duration:350,easing:"easeInOutCubic",delay:650})},[]),(0,r.jsx)(r.Fragment,{children:(0,r.jsxs)("div",{style:{transitionDelay:s?"0ms":"".concat(i&&(null==a?void 0:null===(t=a.slices)||void 0===t?void 0:t.length)?(null==a?void 0:null===(n=a.slices)||void 0===n?void 0:n.length)*100:(null==l?void 0:l.length)*100,"ms")},className:(0,d.Z)(["opacity-0 fixed bg-purple transition-all ease-in-out duration-500 [contain:paint] lg:hidden",s?"h-screen top-0 w-screen left-0 translate-x-0 mobile-nav-clip-base":"h-[60px] top-2.5 w-screen rounded-3xl mobile-nav-clip"]),ref:p,children:[(0,r.jsx)("div",{className:"fixed top-0 left-0 z-10 w-screen h-screen",children:(0,r.jsx)(g,{open:s,detailOpen:i,clickHandler:f,data:l})}),(0,r.jsx)(j,{data:a,detailOpen:i,open:s})]})})}var N=n(99399);function Z(e){let{data:t}=e,[n,s]=(0,o.useState)(!1),[i,c]=(0,o.useState)(!1),[u,d]=(0,o.useState)(null),f=(0,a.usePathname)();(0,o.useEffect)(()=>{window.addEventListener("resize",(0,l.Z)(m,300))},[]),(0,o.useEffect)(()=>{s(!1)},[f]);let m=e=>{!function(e){if(e.target){let t=e.target;(null==t?void 0:t.innerWidth)>1024&&((0,N.Z)(!1),s(!1),c(!1),d(null))}}(e)};function h(){(0,N.Z)(!n),s(e=>!e)}function x(e){c(e=>!e),e&&null!==e?d(e):setTimeout(()=>{d(null)},500)}return(0,r.jsxs)("div",{className:"mobile-header fixed top-0 left-0 h-nav transition-transform duration-150",children:[(0,r.jsx)(p,{open:n,clickHandler:h,detailOpen:i,detailClickHandler:x}),(0,r.jsx)(k,{open:n,data:t,detailData:u,detailOpen:i,clickHandler:h,detailClickHandler:x})]})}},16259:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(3827),l=n(30650);function a(e){let{items:t}=e;return Array.isArray(t)&&0!==t.length?(0,r.jsx)("div",{className:"col-span-4 flex flex-col gap-y-2.5 lg:gap-y-3.5 lg:p-3 lg:h-fit lg:cursor-default",children:t.map((e,t)=>(0,r.jsxs)("div",{className:"flex flex-col gap-y-4",children:[e.title&&(0,r.jsx)("p",{className:"text-small-body text-grey-light",children:e.title}),(0,r.jsx)(l.default,{items:e.items})]},"".concat(e.title,"-").concat(t)))}):null}var o=e=>(0,r.jsx)(a,{...e})},28574:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(3827),l=n(28215),a=n(89179),o=n(23170);function s(e){let{link:{card_title:t,card_link_label:n,url:s,link_type:i}}=e;if(!s||!t)return;let{components:{megaMenuCard:c}}=(0,o.f)("en-gb");return(0,r.jsxs)("div",{className:"col-span-4 flex flex-col gap-y-2.5 text-left lg:gap-y-3.5 lg:p-3 lg:cursor-default lg:h-fit",children:[(null==c?void 0:c.resoure_subtitle)&&(0,r.jsx)("p",{className:"text-small-body mt-auto text-grey-light lg:mt-0",children:c.resoure_subtitle}),(0,r.jsx)("div",{className:"bg-green rounded-lg lg:mt-0 lg:rounded-3xl xl:aspect-square",children:(0,r.jsxs)("div",{className:"flex justify-between items-center p-5 gap-x-5 lg:p-10 lg:flex-col lg:items-start lg:h-full",children:[(0,r.jsx)("div",{className:"flex flex-col gap-y-2",children:t&&(0,r.jsx)("p",{className:"xl:text-heading-3",children:t})}),(0,r.jsxs)(l.Z,{url:s,link_type:i,className:"flex items-center justify-center aspect-square border border-2 rounded-full mt-7 p-3 lg:flex lg:border-none lg:items-center lg:gap-x-1 lg:p-0 lg:hover:translate-x-2 lg:transition-transform",children:[(0,r.jsx)("p",{className:"hidden lg:block lg:font-semibold",children:n}),(0,r.jsx)(a.ZP,{type:"arrow",className:"w-4 fill-white shrink-0 lg:w-3"})]})]})})]})}var i=e=>(0,r.jsx)(s,{...e})},34956:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(3827),l=n(68447),a=n(70992),o=n(23170);function s(e){var t;let{title:n,description:s,cta_label:i,cta_link:c,items:u}=e,{components:{megaMenuIntro:d}}=(0,o.f)("en-gb");return(0,r.jsxs)("div",{className:"flex flex-col col-span-4 text-left lg:p-3 lg:h-fit lg:cursor-default",children:[(0,r.jsxs)("div",{className:"flex flex-col gap-y-5",children:[(0,r.jsx)("p",{className:"font-bold text-heading-3",children:n}),(0,r.jsx)(a.Z,{className:"max-w-sm",data:s}),c&&i&&(0,r.jsx)(l.Z,{buttonType:"primary",isOnDarkBackground:!0,className:"font-semibold w-fit",link:c,children:i})]}),Array.isArray(u)&&u.length>0&&"string"!=typeof(null==u?void 0:null===(t=u[0])||void 0===t?void 0:t.document)&&(0,r.jsxs)("div",{className:"text-small-body flex flex-col pt-10 gap-y-2.5 lg:cursor-default lg:gap-y-3.5",children:[(null==d?void 0:d.reference_subtitle)&&(0,r.jsx)("p",{className:"text-grey-light",children:d.reference_subtitle}),(0,r.jsx)("div",{className:"flex flex-wrap gap-1 gap-y-4",children:u.map((e,t)=>(0,r.jsx)(l.Z,{link:e.document,buttonType:"secondary",isOnDarkBackground:!0,className:"px-4 py-3.5 border-2 rounded-full border-white text-white",children:e.link_label},"menu-intro-".concat(t)))})]})]})}var i=e=>(0,r.jsx)(s,{...e})},5748:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(3827),l=n(64090),a=n(28215),o=n(89179);function s(e){let{title:t,items:n}=e;if(Array.isArray(n)&&!(n.length<1))return(0,r.jsxs)("div",{className:"col-span-4 flex flex-col gap-y-2.5 text-left lg:gap-y-3.5 lg:p-3 lg:cursor-default lg:h-fit",children:[(0,r.jsx)("p",{className:"text-small-body text-grey-light",children:t}),(0,r.jsx)("div",{className:"flex flex-col gap-y-1.5",children:n.map((e,n)=>(0,l.createElement)(a.Z,{...e.link,className:"bg-purple-blue py-4 px-5 rounded-lg transition-colors hover:bg-purple",key:"link-list-".concat(t,"-").concat(n)},(0,r.jsxs)("div",{className:"flex justify-between items-center",children:[e.link_label,"Web"===e.link.link_type&&(0,r.jsx)(o.ZP,{type:"arrow",className:"-rotate-45 w-4 h-5 fill-white"})]})))})]})}var i=e=>(0,r.jsx)(s,{...e})},97821:function(e,t,n){"use strict";n.r(t),n.d(t,{AdaptiveScroll:function(){return a},default:function(){return l}});var r=n(64090);function l(){let e,t,n,r;let l=!0,a=document.documentElement;function o(o){o.ctrlKey||o.target.closest("[data-scroll]")||(o.preventDefault(),l&&(e=t=n=a.scrollTop,r=a.scrollHeight-a.clientHeight),e=Math.max(0,Math.min(r,e+o.deltaY)),l&&(l=!1,function r(){a.scrollTop!==n&&(l=!0),1>=Math.abs(a.scrollTop-e)&&(a.scrollTop=e,l=!0),l||(a.scrollTop=t=.9*t+.1*e,n=a.scrollTop,requestAnimationFrame(r))}()))}return addEventListener("wheel",o,{passive:!1}),()=>{removeEventListener("wheel",o)}}function a(){return(0,r.useEffect)(l,[]),null}},54237:function(e,t){"use strict";t.Z=function(e){let t,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:300;return function(){for(var r=arguments.length,l=Array(r),a=0;a<r;a++)l[a]=arguments[a];clearTimeout(t),t=setTimeout(()=>e.apply(this,l),n)}}},99399:function(e,t){"use strict";t.Z=function(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=document.querySelector("body");t&&(e?(t.classList.add("overflow-hidden"),t.dataset.scroll="true"):(t.classList.remove("overflow-hidden"),t.removeAttribute("data-scroll")))}},89154:function(e,t,n){"use strict";n.d(t,{z:function(){return o}});var r=n(64090);let l={},a=["scroll","touchstart","touchmove","wheel"];function o(e,t){(0,r.useEffect)(()=>(l[e]||(l[e]=new Set,window.addEventListener(e,t=>{var n;return null===(n=l[e])||void 0===n?void 0:n.forEach(e=>e(t))},{passive:a.includes(e)})),l[e].add(t),()=>{l[e].delete(t),l[e].size||delete l[e]}),[t])}},63385:function(){},76789:function(){},55578:function(){},63345:function(e){e.exports={style:{fontFamily:"'__Poppins_35a7f6', '__Poppins_Fallback_35a7f6'"},className:"__className_35a7f6",variable:"__variable_35a7f6"}}},function(e){e.O(0,[250,360,711,501,120,175,971,69,744],function(){return e(e.s=94851)}),_N_E=e.O()}]);