1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2643],{1141:(e,l,t)=>{t.d(l,{G:()=>s});var a=t(7498);function s(e){var l;return(null==e||null==(l=e.url)?void 0:l.startsWith("/"))?(0,a.Fx)(e.url):null==e?void 0:e.url}},2643:(e,l,t)=>{t.r(l),t.d(l,{default:()=>h});var a=t(4930),s=t(8026),n=t(1141),i=t(9320),r=t.n(i),o=t(6661),c=t.n(o),d=t(3941),u=t(7774);let x=()=>{let{t:e}=(0,u.A)("mailchimp"),l=(0,s.useRef)(null),[t,n]=(0,s.useState)(""),[i,r]=(0,s.useState)(""),[o,c]=(0,s.useState)(!1),d=async t=>{t.preventDefault(),c(!0);let a=await fetch("/api/subscribe",{body:JSON.stringify({email:l.current.value}),headers:{"Content-Type":"application/json"},method:"POST"});c(!1);let{status:s}=await a.json();"subscribed"===s?(l.current.value="",n(e("subscribeSuccess")),r("success")):"pending"===s?(l.current.value="",n(e("subscribePending")),r("success")):"already_subscribed"===s?(n(e("subscribeAlreadySubscribed")),r("info")):(n(e("subscribeFailure")),r("error"))};return(0,a.jsxs)("form",{className:"flex flex-col space-y-4",onSubmit:d,children:[(0,a.jsxs)("div",{className:"flex w-full max-w-md md:flex-row",children:[(0,a.jsx)("label",{className:"sr-only",htmlFor:"email-input",children:e("labelEmail")}),(0,a.jsx)("input",{className:"bg-white appearance-none rounded-none border w-full border-solid border-gray-light text-base font-light px-6 py-4 transition placeholder:text-gray focus:outline-none focus:z-10 focus:border-gray-dark",id:"email-input",name:"email",placeholder:e("placeholderEmail"),ref:l,required:!0,type:"email"}),(0,a.jsx)("button",{className:"flex flex-shrink-0 transition text-base border text-center font-light border-solid border-gray-light px-6 py-4 text-gray uppercase tracking-wide -translate-x-px hover:bg-gray-dark hover:border-gray-dark hover:text-white focus:border-gray-dark focus:bg-gray-dark focus:text-white focus:outline-none disabled:opacity-50",type:"submit",disabled:o,children:o?"...":e("buttonText")})]}),t&&(0,a.jsx)("div",{className:"".concat("error"===i?"bg-red-100 text-red-900":"info"===i?"bg-yellow-50 text-yellow-900":"bg-blue-100 text-blue-900"," flex font-bold items-center text-sm px-3 py-2"),children:(0,a.jsx)("span",{children:t})})]})};var g=t(2959);let h=()=>{var e,l,t,s,i,o,h,m,b,p,f,v,j,y,w,N,k,S,T,A,_,D,C,L,z,E,G,F,M,I,O,P,q,B,J,R,V,W,Z,H;let{tertiaryMenu:K,siteSettings:Q}=(0,g.t)(),{t:U}=(0,u.A)("common");return(0,a.jsxs)("footer",{className:"flex flex-col border-t border-solid border-gray-light bg-white",children:[(0,a.jsxs)("div",{className:"flex flex-col space-y-8 px-6 py-12 lg:flex-row lg:justify-between lg:space-y-0 lg:px-12",children:[(0,a.jsxs)("div",{className:"flex flex-col space-y-8 lg:flex-row lg:justify-between lg:space-x-24 lg:space-y-0",children:[(null==Q?void 0:Q.data)&&(0,a.jsxs)("div",{className:"flex flex-col space-y-2",children:[(0,a.jsx)("div",{className:"text-xl font-light leading-normal lg:text-2xl lg:leading-relaxed",children:null==Q||null==(l=Q.data)||null==(e=l.attributes)?void 0:e.siteName}),(0,a.jsx)("div",{className:"text-xl font-light leading-normal lg:text-2xl lg:leading-relaxed",children:null==Q||null==(i=Q.data)||null==(s=i.attributes)||null==(t=s.contactDetails)?void 0:t.address}),(0,a.jsxs)("div",{className:"text-xl font-light leading-normal lg:text-2xl lg:leading-relaxed",children:[null==Q||null==(m
1=Q.data)||null==(h=m.attributes)||null==(o=h.contactDetails)?void 0:o.postalNumber,"\xa0",null==Q||null==(f=Q.data)||null==(p=f.attributes)||null==(b=p.contactDetails)?void 0:b.city]}),(0,a.jsxs)("div",{className:"text-xl font-light leading-normal lg:text-2xl lg:leading-relaxed",children:[U("phone"),":\xa0",null==Q||null==(y=Q.data)||null==(j=y.attributes)||null==(v=j.contactDetails)?void 0:v.phone]}),(0,a.jsx)("div",{className:"text-xl font-light leading-normal lg:text-2xl lg:leading-relaxed",children:(0,a.jsx)("a",{className:"link",href:"mailto: ".concat(null==Q||null==(k=Q.data)||null==(N=k.attributes)||null==(w=N.contactDetails)?void 0:w.email),children:null==Q||null==(A=Q.data)||null==(T=A.attributes)||null==(S=T.contactDetails)?void 0:S.email})})]}),K.length>0&&(0,a.jsx)("nav",{"aria-label":"Tertiary navigation",children:(0,a.jsx)("ul",{className:"text-dark-gray items-center space-y-2 font-light",children:K.map((e,l)=>(0,a.jsx)("li",{className:"relative flex items-center",children:(0,a.jsx)(d.A,{href:e.url,activeClassName:"after:border-b",className:"link inline-flex text-xl lg:text-2xl",children:e.label})},l))})})]}),(0,a.jsxs)("div",{className:"max-w-md font-light lg:ml-auto",children:[(0,a.jsxs)("div",{className:"mb-4",children:[(null==Q||null==(C=Q.data)||null==(D=C.attributes)||null==(_=D.newsletterSettings)?void 0:_.title)&&(0,a.jsx)("h2",{className:"text-xl leading-normal lg:text-2xl lg:leading-normal",children:null==Q||null==(L=Q.data)?void 0:L.attributes.newsletterSettings.title}),(null==Q||null==(G=Q.data)||null==(E=G.attributes)||null==(z=E.newsletterSettings)?void 0:z.text)&&(0,a.jsx)("p",{children:null==Q||null==(F=Q.data)?void 0:F.attributes.newsletterSettings.text})]}),(0,a.jsx)(x,{})]})]}),(0,a.jsxs)("div",{className:"flex flex-col justify-between space-y-12 border-t border-solid border-gray-light bg-white px-6 py-12 lg:flex-row lg:items-center lg:space-y-0 lg:px-12",children:[(0,a.jsx)("ul",{className:"flex w-full space-x-8 lg:w-auto lg:space-x-12",children:(null==Q||null==(I=Q.data)||null==(M=I.attributes)?void 0:M.socialLinks)&&(null==(O=Q.data.attributes)?void 0:O.socialLinks.map(e=>(0,a.jsx)("li",{children:(0,a.jsxs)(r(),{href:"".concat(e.url),className:"flex flex-col items-center justify-center",target:"_blank",rel:"noopener noreferrer","aria-label":"".concat(e.title," profile (opens in new tab)"),children:[(0,a.jsx)(c(),{className:"h-6 w-6 lg:h-8 lg:w-8",width:32,height:32,src:(0,n.G)((null==e?void 0:e.icon.data.attributes)||"","url"),alt:(null==e?void 0:e.icon.data.attributes.alternativeText)?null==e?void 0:e.icon.data.attributes.alternativeText:"",sizes:"32px"}),(0,a.jsx)("span",{className:"mt-2 flex text-sm font-light lowercase",children:e.title})]})},e.id)))}),(0,a.jsxs)("div",{className:"flex items-end justify-between space-x-6 lg:shrink-0 lg:items-center lg:space-x-12",children:[(null==Q||null==(B=Q.data)||null==(q=B.attributes)||null==(P=q.partners)?void 0:P.partnerImages.length)>0&&(0,a.jsxs)("div",{className:"flex flex-col space-y-4",children:[(0,a.jsx)("h2",{className:"text-xl font-light leading-normal text-gray",children:null==Q||null==(V=Q.data)||null==(R=V.attributes)||null==(J=R.partners)?void 0:J.title}),(0,a.jsx)("ul",{className:"grid gap-6 lg:grid-cols-[repeat(2,_minmax(min-content,_max-content))] lg:gap-12",children:null==Q||null==(H=Q.data)||null==(Z=H.attributes)||null==(W=Z.partners)?void 0:W.partnerImages.map((e,l)=>(0,a.jsx)("li",{className:"relative flex items-center",children:e.link?(0,a.jsx)("a",{className:"transition hover:opacity-50 focus:opacity-50 active:opacity-100",href:e.link,target:"_blank",rel:"noopener noreferrer","aria-label":e.imageAltText||void 0,children:(0,a.jsx)(c(),{className:"h-8 w-auto lg:h-10",width:200,height:40,src:(0,n.G)(e.image.data.attributes,"url"),alt:e.imageAltText||"",sizes:"200px"})}):(0,a.jsx)(c(),{className:"h-8 w-auto lg:h-10",width:200,height:40,src:(0,n.G)(e.image.data.attributes,"url"),alt:e.imageAltText||"",sizes:"200px"})},l))})]}),(0,a.jsxs)("button",{"aria-label":"Scroll to top",onClick:()=>{window&&window.scrollTo({top:0,behavior:"smooth"})},className:"translate-x-2 transform opacity-50 transition hover:opacity-100 focus:opacity-100 focus:outline-none",children:[(0,a.jsx)("span",{className:"sr-only",children:"Scroll to top"}),(0,a.jsxs)("svg",{className:"h-12 w-12 stroke-current lg:h-16 lg:w-16",viewBox:"0 0 64 64",f
1ill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,a.jsx)("path",{d:"M32 58.667c14.728 0 26.667-11.94 26.667-26.667 0-14.728-11.94-26.667-26.667-26.667C17.272 5.333 5.333 17.273 5.333 32c0 14.727 11.94 26.667 26.667 26.667Z",stroke:"#63666A",strokeLinecap:"round",strokeLinejoin:"round"}),(0,a.jsx)("path",{d:"M42.667 32 32 21.333 21.333 32M32 42.667V21.333",stroke:"#63666A",strokeLinecap:"round",strokeLinejoin:"round"})]})]})]})]})]})}}}]);
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.