1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8361],{44613:function(e,t,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/media",function(){return n(59825)}])},59825:function(e,t,n){"use strict";n.r(t),n.d(t,{__N_SSP:function(){return v},default:function(){return C}});var r=n(85893),i=n(67294),o=n(26447),a=n(15861),s=n(67720),c=n(87357),l=n(11703),d=n(40044),u=n(86886),h=n(53117),x=n(7448),p=n(55031),m=n(25675),f=n.n(m),g=n(41664),w=n.n(g),j=n(42784),y=n(92685),b=n(11163),Z=n(399),v=!0;function C(e){let{articles:t,categories:n,locale:m,pathname:g}=e;const v=(0,p.Z)("up","md"),{translate:C}=(0,y.Z)(),k=(0,b.useRouter)(),S=k.query.category;let _=0;S&&n.length>0&&(_=n.findIndex((e=>e.slug===S))+1);const[E,T]=(0,i.useState)(_),F=e=>(0,r.jsxs)(o.Z,{spacing:1,alignItems:"left",children:[(0,r.jsx)(o.Z,{justifyContent:"center",children:(0,r.jsx)(f(),{style:{borderRadius:"8px",objectFit:"cover"},src:e.image,width:v?270:340,height:v?202:190,alt:e.title})}),(0,r.jsx)(o.Z,{sx:{display:"block",width:"100%"},children:(0,r.jsx)(j.Z,{color:"info",sx:{fontWeight:"bold"},children:e.category})}),(0,r.jsx)(o.Z,{children:(0,r.jsx)(w(),{href:"/media/".concat(e.slug),locale:m,style:{textDecoration:"none"},children:(0,r.jsx)(a.Z,{variant:"subtitle1",sx:{height:"auto"},children:e.title})})}),(0,r.jsx)(o.Z,{children:(0,r.jsx)(a.Z,{variant:"body2",sx:{color:"#637381"},children:new Date(e.created).toLocaleDateString(m,{month:"long",day:"numeric",year:"numeric"})})})]});return(0,r.jsxs)(h.Z,{locale:m,pathname:g,children:[(0,r.jsx)(o.Z,{direction:"row",justifyContent:"center",alignItems:"center",sx:{backgroundColor:"white",marginTop:v?"0":"100px"},children:(0,r.jsxs)(o.Z,{sx:{maxWidth:"1200px",width:v?"1200px":"100%"},children:[(0,r.jsx)(a.Z,{sx:{...Z.qt,textAlign:"center"},height:"100%",variant:"h1",children:C("mediaRoom.title")}),(0,r.jsx)(s.Z,{sx:{marginTop:"32px"}}),(0,r.jsx)(c.Z,{sx:{width:"100%",bgcolor:"background.paper"},children:(0,r.jsx)(o.Z,{direction:"row",justifyContent:"center",children:(0,r.jsx)(c.Z,{sx:{width:v?"100%":"90%"},children:(0,r.jsxs)(l.Z,{variant:"standard",value:E,onChange:(e,t)=>
1{T(t),0!==t?k.push("/media?category=".concat(n[t-1].slug)):k.push("/media")},centered:!0,sx:{".MuiTabs-flexContainer":{display:{xs:"grid",md:"flex"},gridTemplateColumns:{xs:"repeat(auto-fill, minmax(120px, 1fr))",md:"none"},justifyContent:"center",gap:{xs:1,md:0}},".MuiTab-root":{minWidth:{xs:"auto",md:160},px:{xs:2,md:3},position:"relative","&::after":{content:'""',position:"absolute",bottom:0,left:0,right:0,height:2,bgcolor:"primary.main",opacity:0,transition:"opacity 0.2s"},"&.Mui-selected::after":{opacity:1}},".MuiTabs-indicator":{display:{xs:"none",md:"block"}}},children:[(0,r.jsx)(d.Z,{label:C("mediaRoom.allTypes")}),n.map(((e,t)=>(0,r.jsx)(d.Z,{label:e.name},"map".concat(t,"}"))))]})})})}),(0,r.jsx)(u.ZP,{container:!0,py:8,rowSpacing:10,columnSpacing:4,children:t?t.map(((e,t)=>(0,r.jsx)(u.ZP,{item:!0,md:3,xs:12,sx:{display:"flex",justifyContent:"center"},children:(0,r.jsx)(o.Z,{direction:"row",justifyContent:"center",sx:{width:v?"270px":"340px"},children:(0,r.jsx)(F,{title:e.title,slug:e.slug,image:e.thumbnail?e.thumbnail.url:e.summaryImage.url,category:e.category.name,created:e.created})})},"map".concat(t,"}")))):null})]})}),(0,r.jsx)(o.Z,{direction:"row",justifyContent:"center",alignItems:"center",sx:{backgroundColor:"white"},children:(0,r.jsx)(x.default,{locale:m,pathname:g})})]})}},42784:function(e,t,n){"use strict";n.d(t,{Z:function(){return l}});var r=n(85893),i=n(90948),o=n(41796),a=n(2734),s=n(87357);const c=(0,i.ZP)("span")((e=>{let{theme:t,ownerState:n}=e;const r="light"===t.palette.mode,{color:i,variant:a}=n;return{height:22,minWidth:22,lineHeight:0,borderRadius:6,cursor:"default",alignItems:"center",whiteSpace:"nowrap",display:"inline-flex",justifyContent:"center",padding:t.spacing(0,1),color:t.palette.grey[800],fontSize:t.typography.pxToRem(12),backgroundColor:t.palette.grey[300],..."default"!==i?{..."filled"===a&&{...(e=>({color:t.palette[e].contrastText,backgroundColor:t.palette[e].main}))(i)},..."outlined"===a&&{...(e=>({color:t.palette[e].main,backgroundColor:"transparent",border:"1px solid ".concat(t.palette[e].main)}))(i)},..."ghost"===a&&{...(e=>({color:t.palette[e][r?"dark":"light"],backgroundColor:(0,o.Fq)(t.palette[e].main,.16)}))(i)}}:{..."outlined"===a&&{backgroundColor:"transparent",color:t.palette.text.primary,border:"1px solid ".concat(t.palette.grey[500])},..."ghost"===a&&{color:r?t.palette.text.secondary:t.palette.common.white,backgroundColor:t.palette.grey[500]}}}}));function l(e){let{children:t,color:n="default",variant:i="ghost",startIcon:o,endIcon:l,sx:d}=e;const u=(0,a.Z)(),h={width:16,height:16,"& svg, img":{width:1,height:1,objectFit:"cover"}};return(0,r.jsxs)(c,{ownerState:{color:n,variant:i},sx:{...o&&{pl:.75},...l&&{pr:.75},...d},theme:u,children:[o&&(0,r.jsx)(s.Z,{sx:{mr:.75,...h},children:o}),t,l&&(0,r.jsx)(s.Z,{sx:{ml:.75,...h},children:l})]})}},53117:function(e,t,n){"use strict";var r=n(85893),i=n(26447),o=n(67294),a=n(58833),s=n(55031);function c(){const{innerWidth:e,innerHeight:t}=window;return{innerWidth:e,innerHeight:t}}t.Z=e=>{let{children:t,sx:n,locale:l,pathname:d,...u}=e;const h=(0,s.Z)("up","md"),[x,p]=(0,o.useState)(c()),[m,f]=(0,o.useState)(!0),g=(0,o.useRef)(0),w=(0,o.useRef)(null),[j,y]=(0,o.useState)(0);return(0,o.useEffect)((()=>{function e(){p(c())}return window.addEventListener("resize",e),()=>{window.removeEventListener("resize",e)}}),[]),(0,o.useEffect)((()=>{if(h)return;const e=()=>{w.current&&y(w.current.offsetHeight)},t=setTimeout(e,0);return window.addEventListener("resize",e),()=>{clearTimeout(t),window.removeEventListener("resize",e)}}),[h]),(0,o.useEffect)((()=>{if(h)return;let e=!1;function t(){e||(window.requestAnimationFrame((()=>{const t=window.scrollY;Math.abs(t-g.current)>5&&(t>g.current&&t>10?f(!1):t<g.current&&f(!0)),t<10&&f(!0),g.current=t,e=!1})),e=!0)}return window.addEventListener("scroll",t,{passive:!0}),()=>{window.removeEventListener("scroll",t)}}),[h]),(0,r.jsxs)(i.Z,{component:"main",sx:{...n},...u,children:[(0,r.jsx)(i.Z,{ref:w,position:"fixed",direction:"row",justifyContent:"center",zIndex:200,sx:{width:"100%",backgroundColor:"#F9FAFB",top:h||m?0:"-".concat(j,"px"),transition:"top 0.3s ease-in-out"},children:(0,r.jsx)(a.Z,{locale:l,pathname:d})}),(0,r.jsx)(i.Z,{pt:h?"94px":0,children:t})]})}},399:function(e,t,n){"use strict";n.d(t,{Cj:function(){return o},Te:function(){return l},qt:function(){return a},tk:function(){return s},u:function(){return i}});var r=n(55623);const i={fontFamily:r.Q,fontSize:{xs:"32px",md:"64px"},lineHeight:1.2},o={fontFamily:r.Q,fontSize:"36px",lineHeight:"47px",paddingBottom:0},a={fontFamily:r.Q,fontSize:{xs:"36px",md:"64px"},color:"#212b36"},s={fontFamily:r.Q,color:"inherit"},c={fontFamily:r.Q,color:"#212b36",height:"auto",minHeight:0,lineHeight:1.35,wordBreak:"break-word",display:"block",whiteSpace:"normal"},l={...c,fontSize:{xs:"28px",md:"36px"},fontWeight:600,mb:0}}},function(e){e.O(0,[8523,6131,8833,7448,9774,2888,179],(function(){return t=44613,e(e.s=t);var t}));var t=e.O();_N_E=t}]);
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.