"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[53608],{45722:(e,r,t)=>{t.r(r),t.d(r,{default:()=>f});var n=t(24246),a=(t(27378),t(41428)),c=t(36712),i=t(44008),o=t(54461),s=t(88613),l=t(52615);function u(e,r,t){return r in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e}function d(e){for(var r=1;r{return(0,n.jsx)("li",{children:(0,n.jsxs)(a.Z,{to:e.metadata.permalink,children:[(r=e.metadata.date,t.format(new Date(r)))," - ",e.metadata.title]})},e.metadata.date);var r}))})]})}function m({years:e}){return(0,n.jsx)("section",{className:"margin-vert--lg",children:(0,n.jsx)("div",{className:"container",children:(0,n.jsx)("div",{className:"row",children:e.map(((e,r)=>(0,n.jsx)("div",{className:"col col--4 margin-vert--lg",children:(0,n.jsx)(h,d({},e))},r)))})})})}function f({archive:e}){const r=(0,c.I)({id:"theme.blog.archive.title",message:"Archive",description:"The page & hero title of the blog archive page"}),t=(0,c.I)({id:"theme.blog.archive.description",message:"Archive",description:"The page & hero description of the blog archive page"}),a=function(e){const r=e.reduce(((e,r)=>{const t=r.metadata.date.split("-")[0];var n;const a=null!==(n=e.get(t))&&void 0!==n?n:[];return e.set(t,[r,...a])}),new Map);return Array.from(r,(([e,r])=>({year:e,posts:r})))}(e.blogPosts);return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(i.d,{title:r,description:t}),(0,n.jsxs)(s.Z,{children:[(0,n.jsx)("header",{className:"hero hero--primary",children:(0,n.jsxs)("div",{className:"container",children:[(0,n.jsx)(l.Z,{as:"h1",className:"hero__title",children:r}),(0,n.jsx)("p",{className:"hero__subtitle",children:t})]})}),(0,n.jsx)("main",{children:a.length>0&&(0,n.jsx)(m,{years:a})})]})]})}},54461:(e,r,t)=>{t.d(r,{P:()=>c});var n=t(4423);function a(e,r,t){return r in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e}function c(e={}){const{i18n:{currentLocale:r}}=(0,n.Z)(),t=function(){const{i18n:{currentLocale:e,localeConfigs:r}}=(0,n.Z)();return r[e].calendar}();return new Intl.DateTimeFormat(r,function(e){for(var r=1;r