"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5364],{58883:function(e,t,r){r.d(t,{Z:function(){return g}});var n=r(20567),i=r(14932),o=r(35944),a=r(59090),l=r(14104),s=r(24469),p=r(2962),d=r(41664),c=r.n(d),u=r(45697),h=r.n(u);let m=e=>{let{className:t,items:r,separator:d,sx:u,typographyProps:h}=e;return(0,o.BX)(o.HY,{children:[(0,o.tZ)(p.gR,{itemListElements:r.reduce((e,t,r)=>[...e,{position:r+1,name:t.label,item:(null==t?void 0:t.fullUrl)||(null==t?void 0:t.url)}],[])}),(0,o.tZ)(a.Z,{className:t,separator:d,sx:u,children:r.map((e,t)=>{let{key:a,label:p,url:d}=e;return t+1===r.length?(0,o.tZ)(l.Z,(0,i._)((0,n._)({variant:"bodyMedium",color:"inherit",sx:{opacity:"0.5"}},h),{children:p}),a):(0,o.tZ)(c(),{legacyBehavior:!0,href:d,passHref:!0,children:(0,o.tZ)(s.Z,(0,i._)((0,n._)({variant:"bodyMedium",color:"inherit",underline:"hover"},h),{children:p}))},a)})})]})};m.propTypes={className:h().string,items:h().arrayOf(h().shape({label:h().string,url:h().string})).isRequired,separator:h().node,sx:h().oneOfType([h().arrayOf(h().oneOfType([h().func,h().object,h().bool])),h().func,h().object]),typographyProps:h().object},m.defaultProps={className:void 0,separator:void 0,sx:{},typographyProps:{}};var g=m},35788:function(e,t,r){r.d(t,{Z:function(){return f}});var n=r(35944),i=r(79334),o=r(32358),a=r(61797),l=r(41664),s=r.n(l),p=r(11163),d=r(45697),c=r.n(d),u=r(20567),h=r(14932),m=r(4920),g=r(14104),y=r(33803);let b=e=>{let{component:t,href:r,label:o,icon:a}=e;return(0,n.BX)(i.Z,(0,h._)((0,u._)({},t?{component:t}:{},r?{href:r}:{}),{position:"relative",display:"flex",flexDirection:"column",alignItems:"center",px:2,pb:1.5,sx:e=>({color:e.palette.text.primary,textDecoration:"none","&:hover":{color:e.palette.grayGreen[800],textDecoration:"underline"},[e.breakpoints.down("sm")]:{"&:nth-child(2n+2)::before":{display:"none"}},[e.breakpoints.between("sm","md")]:{"&:nth-child(3n+3)::before":{display:"none"}},[e.breakpoints.up("md")]:{"&:nth-child(4n+4)::before":{display:"none"}},"&::before":{content:'""',position:"absolute",top:0,left:"100%",width:"1px",height:"100%",backgroundColor:e.palette.grey[300]},"&::after":{content:'""',position:"absolute",marginTop:3,top:"100%",left:0,width:"100%",height:"1px",backgroundColor:e.palette.grey[300]}}),children:[(0,n.tZ)(m.Z,{src:a.url,width:60,height:60,alt:o}),(0,n.tZ)(g.Z,{mt:2,variant:"bodyExtraLarge",fontWeight:500,align:"center",children:o})]}))};b.propTypes={component:c().elementType,href:c().string,icon:y.Z,label:c().string},b.defaultProps={component:void 0,href:void 0,icon:void 0,label:void 0};let Z=e=>{let{categories:t}=e,{locale:r}=(0,p.useRouter)();return(0,n.tZ)(i.Z,{display:"grid",gridTemplateColumns:{xs:"repeat(2, 1fr)",sm:"repeat(3, 1fr)",md:"repeat(4, 1fr)"},rowGap:6,pb:3,children:(t||[]).map(e=>{let{icon:t,label:i,link:l}=e,p=(0,o.k)(l,r);return p&&(0,a.Z)(p)?(0,n.tZ)(s(),{legacyBehavior:!0,href:p,passHref:!0,children:(0,n.tZ)(b,{label:i,icon:t,component:"a"})},i):(0,a.Z)(p)?(0,n.tZ)(b,{label:i,icon:t},i):(0,n.tZ)(b,{label:i,icon:t,component:"a",href:p},i)})})};Z.propTypes={categories:c().arrayOf(c().shape({icon:c().elementType,label:c().string,link:c().object}))},Z.defaultProps={categories:[]};var f=Z},51292:function(e,t,r){r.d(t,{Z:function(){return y}});var n=r(20567),i=r(14932),o=r(47702),a=r(35944),l=r(89646),s=r(14104),p=r(39085),d=r(45697),c=r.n(d),u=r(77366),h=r(79334);let m=(0,u.Z)(h.Z,{target:"eh0wo5m0"})("position:sticky;top:0;display:flex;justify-content:space-between;align-items:center;padding:",e=>e.theme.spacing(2)," ",e=>e.theme.spacing(2.5)," ",e=>e.theme.spacing(2)," ",e=>e.theme.spacing(2),";border-bottom:1px solid ",e=>e.theme.palette.grayGreen["100"],";background-color:",e=>e.theme.palette.background.paper,";z-index:1;"),g=e=>{var{title:t,onClose:r}=e,d=(0,o._)(e,["title","onClose"]);return(0,a.BX)(m,(0,i._)((0,n._)({},d),{children:[t&&(0,a.tZ)(s.Z,{variant:"bodyExtraLarge",fontWeight:"bold",children:t}),(0,a.tZ)(p.Z,{color:"grayGreen",onClick:r,sx:{ml:"auto",mr:-1},children:(0,a.tZ)(l.Z,{})})]}))};g.propTypes={onClose:c().func.isRequired,title:c().node},g.defaultProps={title:void 0};var y=g},12881:function(e,t,r){r.d(t,{Z:function(){return h}});var n=r(35944),i=r(90512),o=r(41664),a=r.n(o),l=r(45697),s=r.n(l),p=r(77366);let d=(0,p.Z)("div",{target:"ezcyg4n0"})("position:relative;display:flex;justify-content:center;gap:",e=>e.theme.spacing(1),";",e=>e.theme.breakpoints.up("md"),"{gap:",e=>e.theme.spacing(2),";}&::before{position:absolute;top:50%;right:0;left:0;height:1px;content:'';background-color:",e=>e.theme.palette.primary[600],";transform:translateY(-50%);z-index:-1;}"),c=(0,p.Z)("a",{target:"ezcyg4n1"})("padding:",e=>e.theme.spacing(.5)," ",e=>e.theme.spacing(2),";background-color:#fff;border-radius:40px;border:1px solid ",e=>e.theme.palette.primary[900],";color:",e=>e.theme.palette.grayGreen[800],";text-decoration:none;white-space:nowrap;",e=>e.theme.typography.buttonSmall," transition:",e=>e.theme.transitions.create(["border-color","background-color","color"],{duration:e.theme.transitions.duration.shortest,easing:e.theme.transitions.easing.sharp}),";",e=>e.theme.breakpoints.up("md"),"{",e=>e.theme.typography.bodyLarge,"}&.active,&:hover{border-color:",e=>e.theme.palette.primary[600],";background-color:",e=>e.theme.palette.primary[600],";color:",e=>e.theme.palette.grayGreen[800],";}"),u=e=>{let{items:t}=e;return(0,n.tZ)(d,{children:t.map(e=>{let{label:t,href:r,active:o}=e;return(0,n.tZ)(a(),{href:r,legacyBehavior:!0,passHref:!0,prefetch:!1,children:(0,n.tZ)(c,{className:(0,i.Z)({active:o}),children:t})})})})};u.propTypes={items:s().arrayOf(s().shape({label:s().string,href:s().string,active:s().bool}))},u.defaultProps={items:[]};var h=u},98180:function(e,t,r){r.d(t,{Z:function(){return w}});var n=r(35944),i=r(51292),o=r(45084),a=r(27471),l=r(4327),s=r(55643),p=r(45697),d=r.n(p),c=r(67294),u=r(44012),h=r(20567),m=r(14932),g=r(51648),y=r(14918),b=r(39085),Z=r(58963),f=r(51373),v=r(88327),x=r(61797),k=r(41664),C=r.n(k);let T=e=>{let t=[];return e.map(e=>{var r;return(null==e?void 0:null===(r=e.items)||void 0===r?void 0:r.length)&&(t=[...t,...e.items]),e}).concat(t.length?T(t):t)},P=e=>{let{label:t,level:r,locale:i,title:o,url:a,items:l,currentUrl:s,onClick:p}=e,d=T(l||[]).some(e=>e.url===s),u=a===s,k=d||u,[_,w]=(0,c.useState)(k);return(0,c.useEffect)(()=>(w(k),()=>{}),[k]),(0,n.BX)(n.HY,{children:[(0,n.BX)(y.ZP,{disablePadding:!0,divider:!0,sx:(0,m._)((0,h._)({},r>1?{backgroundColor:e=>e.palette.grey[100]}:{},k?{backgroundColor:e=>e.palette.primary[900],color:e=>e.palette.primary.contrastText}:{}),{transition:e=>e.transitions.create(["background-color","color"],{duration:e.transitions.duration.shortest})}),secondaryAction:l&&(0,n.tZ)(b.Z,{edge:"end",onClick:()=>w(!_),"aria-label":"toggle sub items",children:(0,n.tZ)(g.Z,{sx:(0,m._)((0,h._)({},k?{backgroundColor:e=>e.palette.primary[900],color:e=>e.palette.primary.contrastText}:{}),{transform:"rotate(".concat(_?"180deg":"0deg",")"),transition:e=>e.transitions.create("transform")})})}),children:[!!a&&(0,x.Z)(a)&&(0,n.tZ)(C(),{legacyBehavior:!0,href:a,passHref:!0,children:(0,n.tZ)(Z.Z,{component:"a",title:o,sx:{pl:2*r,py:{xs:2,md:1}},onClick:p,children:(0,n.tZ)(f.Z,{primaryTypographyProps:{variant:"bodyMedium"},primary:t,sx:{my:0}})})}),!!a&&!(0,x.Z)(a)&&(0,n.tZ)(Z.Z,{href:a,component:"a",title:o,sx:{pl:2*r,py:{xs:2,md:1}},onClick:p,children:(0,n.tZ)(f.Z,{primaryTypographyProps:{variant:"bodyMedium"},primary:t,sx:{my:0}})}),!a&&(0,n.tZ)(Z.Z,{title:o,sx:{pl:2*r,py:{xs:2,md:1}},onClick:p,disabled:!0,children:(0,n.tZ)(f.Z,{primaryTypographyProps:{variant:"bodyMedium"},primary:t,sx:{my:0}})})]}),l&&(0,n.tZ)(v.Z,{in:_,children:(l||[]).map(e=>{let{label:t,title:r,url:o,items:a,level:l}=e;return(0,n.tZ)(P,{label:t,title:r,url:o,items:a,locale:i,level:l,currentUrl:s,onClick:p})})})]})};P.propTypes={currentUrl:d().string.isRequired,items:d().array.isRequired,label:d().string.isRequired,level:d().number.isRequired,locale:d().string.isRequired,title:d().string.isRequired,url:d().string.isRequired,onClick:d().func.isRequired};let _=e=>{let{items:t,locale:r,currentUrl:p,drawerTitle:d}=e,[h,m]=(0,c.useState)(!1);return(0,n.BX)(n.HY,{children:[(0,n.tZ)(o.Z,{}),(0,n.tZ)(a.Z,{disablePadding:!0,dense:!0,sx:{display:{xs:"none",md:"block"}},children:(null!=t?t:[]).map(e=>{let{label:t,title:i,url:o,items:a}=e;return(0,n.tZ)(P,{label:t,title:i,items:a,url:o,locale:r,currentUrl:p})})}),(0,n.tZ)(l.Z,{fullWidth:!0,variant:"contained",sx:{display:{md:"none"}},onClick:()=>m(!0),children:(0,n.tZ)(u.Z,{id:"components.sidebarNavigation.mobile.trigger.label",defaultMessage:"Menu"})}),(0,n.BX)(s.ZP,{open:h,anchor:"right",sx:{display:{md:"none"}},onClose:()=>m(!1),PaperProps:{sx:{width:"100%",maxWidth:320}},children:[(0,n.tZ)(i.Z,{onClose:()=>m(!1),title:d}),(0,n.tZ)(a.Z,{dense:!0,disablePadding:!0,children:(null!=t?t:[]).map(e=>{let{label:t,title:i,url:o,items:a}=e;return(0,n.tZ)(P,{label:t,title:i,items:a,url:o,locale:r,currentUrl:p,onClick:()=>m(!1)})})})]})]})};_.propTypes={drawerTitle:d().string,items:d().array.isRequired,locale:d().string.isRequired,currentUrl:d().string},_.defaultProps={drawerTitle:void 0,currentUrl:void 0};var w=_},33803:function(e,t,r){var n=r(45697),i=r.n(n);let o=i().shape({url:i().string,dimension:i().shape({width:i().number,height:i().number}),alt:i().string,copyright:i().string});t.Z=o}}]);