1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4448],{44448:(e,a,i)=>{i.r(a),i.d(a,{default:()=>E});var t=i(66352),l=i(95132),n=i(71924),o=i(44258);let r=n.Ay.div.withConfig({componentId:"sc-b1394fa6-0"})(["position:relative;"]),s=n.Ay.input.withConfig({componentId:"sc-b1394fa6-1"})(["position:absolute;width:1px;height:1px;opacity:0;margin:0;pointer-events:none;&:focus-visible ~ .gal-body .gal-slide,&:focus-visible ~ .gal-lb .gal-lb-slide img{outline:3px solid #4d90fe;outline-offset:-3px;}"]),d=n.Ay.p.withConfig({componentId:"sc-b1394fa6-2"})(["color:"," !important;font-family:"," !important;margin-bottom:0 !important;font-weight:400 !important;text-align:left;line-height:16px;font-size:12px !important;margin-top:12px !important;"],({theme:e})=>e.default.color.text.darkGrey,({theme:e})=>e.default.fontFamily.secondaryFont),c=n.Ay.div.withConfig({componentId:"sc-b1394fa6-3"})([""]),p=n.Ay.div.withConfig({componentId:"sc-b1394fa6-4"})(["display:grid;grid-template-columns:2fr 200px;column-gap:10px;row-gap:0.5rem;justify-content:space-between;height:",";margin-top:",";@media (max-width:","){grid-template-columns:2fr 200px;height:450px;}@media (max-width:","){height:340px;grid-template-columns:1fr;}"],({$hero:e})=>e?"500px":"350px",({$hero:e})=>e?"32px":"0",o.KL.medium,o.KL.medium),g=n.Ay.div.withConfig({componentId:"sc-b1394fa6-5"})(["display:grid;grid-template-columns:1fr;overflow:hidden;row-gap:10px;@media (max-width:","){grid-template-columns:1fr;column-gap:10px;justify-content:space-around;}@media (max-width:","){grid-template-columns:1fr 1fr 1fr;height:90px;column-gap:10px;justify-content:space-around;}"],o.KL.medium,o.KL.medium),m=n.Ay.div.withConfig({componentId:"sc-b1394fa6-6"})(["overflow:hidden;position:relative;background-position:center;background-repeat:no-repeat,repeat;background-size:cover;display:flex;background-color:rgba(88,88,88,0.7);align-items:center;height:",";border-radius:16px;@media (max-width:","){height:450px;}@media (max-width:","){height:250px;}"],({$hero:e})=>e?"500px":"350px",o.KL.medium,o.KL.medium),h=n.Ay.img.withConfig({componentId:"sc-b1394fa6-7"})(["object-fit:contain;object-position:center;width:100%;height:100%;max-width:100%;max-height:100%;"]),u=n.Ay.label.withConfig({componentId:"sc-b1394fa6-8"})(["max-height:100%;overflow:hidden;background-image:",";background-position:center;background-repeat:no-repeat,repeat;background-size:contain;cursor:pointer;background-color:rgba(185,185,185,0.7);border-radius:16px;"],({$image:e})=>e&&`url(${e})`),x=n.Ay.label.withConfig({componentId:"sc-b1394fa6-9"})(["max-height:100%;overflow:hidden;background:",";background-position:center;background-repeat:no-repeat,repeat;background-size:cover;cursor:pointer;color:white;text-align:center;display:flex;justify-content:center;align-items:center;background-color:rgba(185,185,185,0.7);border-radius:16px;p{margin:auto;position:absolute;@media (max-width:","){}}"],({$image:e})=>e&&`linear-gradient(rgba(0, 0, 0, 0.753), rgba(0, 0, 0, 0.692)), url(${e})`,o.KL.medium),b=n.Ay.div.withConfig({componentId:"sc-b1394fa6-10"})(["justify-content:space-between;margin:auto 0;width:100%;z-index:10;position:absolute;"]),f=n.Ay.button.withConfig({componentId:"sc-b1394fa6-11"})(["border:0;background-color:rgba(88,88,88,0.7);padding:0.5rem;cursor:pointer;display:flex;align-items:center;&[data-disabled]{cursor:not-allowed;svg{fill:#a3a3a3;}}&:disabled{cursor:not-allowed;svg{fill:#a3a3a3;}}svg{font-size:3rem;fill:white;@media (max-width:","){font-size:1.8rem;}}"],o.KL.medium),y=n.Ay.div.withConfig({componentId:"sc-b1394fa6-12"})(["position:fixed;inset:0;z-index:2000;background:rgba(0,0,0,0.9);flex-direction:column;"]),w=n.Ay.label.withConfig({componentId:"sc-b1394fa6-13"})(["position:absolute;inset:0;cursor:zoom-out;"]),$=n.Ay.label.withConfig({componentId:"sc-b1394fa6-14"})(["position:absolute;top:16px;right:16px;z-index:2;width:44px;height:44px;display:flex;align-items:center;justify-content:center;cursor:pointer;color:white;background:rgba(88,88,88,0.7);border-radius:50%;svg{font-size:1.6rem;fill:white;}"]),j=n.Ay.div.withConfig({componentId:"sc-b1394fa6-15"})(["position:relative;z-index:1;width:100%;height:100%;"]),v=n.Ay.div.withConfig({componentId:"sc-b1394fa6-16"})(["position:absolute;inset:0;flex-direction:column;align-items:center;justify-content:center;gap:12px;padding:24px 64px;box-sizing:border-box;"]),k=n.Ay.label.withConfig({componentId:"sc-b1394fa6-17"})(["position:absolute;top:50%;transform:translateY(-50%);z-index:3;width:48px;height:48px;display:flex;align-items:center;justify-content:center;cursor:pointer;color:white;&[data-prev]{left:12px;}&[data-next]{right:12px;}&[data-disabled]{cursor:default;opacity:0.3;}svg{font-size:2.4rem;fill:white;}"]),C=n.Ay.img.withConfig({componentId:"sc-b1394fa6-18"})(["max-width:100%;max-height:80vh;object-fit:contain;"]),I=n.Ay.p.withConfig({componentId:"sc-b1394fa6-19"})(["color:white;font-family:",";font-size:13px;text-align:center;margin:0;max-width:800px;"],({theme:e})=>e.default.fontFamily.secondaryFont);var A=i(62373),z=i(83911),F=i(59085);let L=e=>"string"==typeof e?e:"",N=e=>L(e?.data?.caption),E=({data:e,hero:a})=>{let{gallery:i}=e,{publication:n}=(0,l.useContext)(F.I),o="gal"+(0,l.useId)().replace(/[^a-zA-Z0-9]/g,""),E=(0,l.useRef)(null),K=(0,l.useRef)(null);if((0,l.useEffect)(()=>{let e=K.current;if(!e)return;let a=a=>{"Escape"===a.key&&e.checked&&(e.checked=!1)},i=()=>{e.checked&&E.current?.querySelector('input[type="radio"]:checked')?.focus()};return document.addEventListener("keydown",a),e.addEventListener("change",i
1),()=>{document.removeEventListener("keydown",a),e.removeEventListener("change",i)}},[]),!i||0===i.length)return null;let _=i.length,q=_>1;return(0,t.jsxs)(r,{ref:E,className:o,children:[i.map((e,a)=>(0,t.jsx)(s,{type:"radio",name:o,id:`${o}-s${a}`,defaultChecked:0===a,"aria-label":`Image ${a+1} of ${_}`},`r${a}`)),q&&(0,t.jsx)(s,{as:"input",ref:K,type:"checkbox",id:`${o}-lb`,"aria-label":"Open full-screen gallery"}),(0,t.jsx)("style",{dangerouslySetInnerHTML:{__html:((e,a)=>{let i=[`.${e} .gal-slide{display:none}`,`.${e} .gal-ctrl{display:none}`,`.${e} .gal-cap{display:none}`,`.${e} .gal-lb-slide{display:none}`,`.${e} .gal-lb{display:none}`];for(let t=0;t<a;t++)i.push(`#${e}-s${t}:checked~.gal-body .gal-slide.s${t}{display:block}`),i.push(`#${e}-s${t}:checked~.gal-body .gal-ctrl.ctrl${t}{display:flex}`),i.push(`#${e}-s${t}:checked~.gal-caps .gal-cap.cap${t}{display:block}`),i.push(`#${e}-s${t}:checked~.gal-lb .gal-lb-slide.lb${t}{display:flex}`);return i.push(`#${e}-lb:checked~.gal-lb{display:flex}`),i.join("")})(o,_)}}),(0,t.jsxs)(p,{className:"gal-body",$hero:a,children:[(0,t.jsxs)(m,{$hero:a,children:[i.map((e,a)=>(0,t.jsx)(h,{className:`gal-slide s${a}`,src:`${(0,z.Th)(n,e.data?.url)}`,alt:N(e)||`Gallery image ${a+1}`},`m${a}`)),i.map((e,a)=>(0,t.jsxs)(b,{className:`gal-ctrl ctrl${a}`,children:[a>0?(0,t.jsx)(f,{as:"label",htmlFor:`${o}-s${a-1}`,"aria-label":"Previous image",children:(0,t.jsx)(A.qX,{})}):(0,t.jsx)(f,{as:"span","data-disabled":!0,"aria-hidden":"true",children:(0,t.jsx)(A.qX,{})}),a<_-1?(0,t.jsx)(f,{as:"label",htmlFor:`${o}-s${a+1}`,"aria-label":"Next image",children:(0,t.jsx)(A.BJ,{})}):(0,t.jsx)(f,{as:"span","data-disabled":!0,"aria-hidden":"true",children:(0,t.jsx)(A.BJ,{})})]},`c${a}`))]}),(0,t.jsxs)(g,{children:[i[1]&&(0,t.jsx)(u,{htmlFor:`${o}-s1`,"aria-label":"View image 2",$image:`${(0,z.$n)(n,i[1].data?.url)}`}),i[2]&&(0,t.jsx)(u,{htmlFor:`${o}-s2`,"aria-label":"View image 3",$image:`${(0,z.$n)(n,i[2].data?.url)}`}),q&&(0,t.jsx)(x,{htmlFor:`${o}-lb`,"aria-label":"View all images full screen",$image:i[3]&&`${(0,z.$n)(n,i[3].data?.url)}`,children:_>3&&(0,t.jsxs)("p",{children:[" ","+ ",_-3," ",(0,t.jsx)("br",{}),"(View All)"]})})]})]}),(0,t.jsx)(c,{className:"gal-caps",children:i.map((e,a)=>(0,t.jsx)(d,{className:`gal-cap cap${a}`,children:N(e)},`cap${a}`))}),q&&(0,t.jsxs)(y,{className:"gal-lb",role:"dialog","aria-label":"Image gallery",children:[(0,t.jsx)(w,{htmlFor:`${o}-lb`,"aria-label":"Close gallery"}),(0,t.jsx)($,{htmlFor:`${o}-lb`,"aria-label":"Close gallery",children:(0,t.jsx)(A.zh,{})}),(0,t.jsx)(j,{children:i.map((e,a)=>{let i,l;return(0,t.jsxs)(v,{className:`gal-lb-slide lb${a}`,children:[a>0?(0,t.jsx)(k,{"data-prev":!0,htmlFor:`${o}-s${a-1}`,"aria-label":"Previous image",children:(0,t.jsx)(A.qX,{})}):(0,t.jsx)(k,{"data-prev":!0,"data-disabled":!0,"aria-hidden":"true",children:(0,t.jsx)(A.qX,{})}),(0,t.jsx)(C,{src:e?.data?.url,alt:N(e)||`Gallery image ${a+1}`}),(i=N(e),l=L(e?.data?.copyright),(i||l)&&(0,t.jsxs)(I,{children:[i,l?` ${l}`:""]})),a<_-1?(0,t.jsx)(k,{"data-next":!0,htmlFor:`${o}-s${a+1}`,"aria-label":"Next image",children:(0,t.jsx)(A.BJ,{})}):(0,t.jsx)(k,{"data-next":!0,"data-disabled":!0,"aria-hidden":"true",children:(0,t.jsx)(A.BJ,{})})]},`lb${a}`)})})]})]})}}}]);
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.