1 line
8.7 KiB
JavaScript
1 line
8.7 KiB
JavaScript
|
|
"use strict";(self.webpackChunkitblog_site=self.webpackChunkitblog_site||[]).push([[867],{778:(e,t,a)=>{a.r(t),a.d(t,{default:()=>b});a(6540);var s=a(4164),n=a(7559),r=a(5500),i=a(6461),o=a(8774),l=a(4096),c=a(8027),d=a(7713),g=a(1463),u=a(3892),h=a(6382),m=a(4848);function p({author:e}){const t=(0,i.wI)(e);return(0,m.jsxs)(m.Fragment,{children:[(0,m.jsx)(r.be,{title:t}),(0,m.jsx)(g.A,{tag:"blog_authors_posts"})]})}function x(){const{authorsListPath:e}=(0,l.x)();return(0,m.jsx)(o.A,{href:e,children:(0,m.jsx)(i.np,{})})}function j({author:e,items:t,sidebar:a,listMetadata:s}){return(0,m.jsxs)(c.A,{sidebar:a,children:[(0,m.jsxs)("header",{className:"margin-bottom--xl",children:[(0,m.jsx)(h.A,{as:"h1",author:e}),e.description&&(0,m.jsx)("p",{children:e.description}),(0,m.jsx)(x,{})]}),0===t.length?(0,m.jsx)("p",{children:(0,m.jsx)(i.Y4,{})}):(0,m.jsxs)(m.Fragment,{children:[(0,m.jsx)("hr",{}),(0,m.jsx)(u.A,{items:t}),(0,m.jsx)(d.A,{metadata:s})]})]})}function b(e){return(0,m.jsxs)(r.e3,{className:(0,s.A)(n.G.wrapper.blogPages,n.G.page.blogAuthorsPostsPage),children:[(0,m.jsx)(p,{...e}),(0,m.jsx)(j,{...e})]})}},2907:(e,t,a)=>{a.d(t,{A:()=>C});a(6540);var s=a(4164),n=a(4096),r=a(4848);function i({children:e,className:t}){return(0,r.jsx)("article",{className:t,children:e})}var o=a(8774);const l={title:"title_f1Hy"};function c({className:e}){const{metadata:t,isBlogPostPage:a}=(0,n.e7)(),{permalink:i,title:c}=t,d=a?"h1":"h2";return(0,r.jsx)(d,{className:(0,s.A)(l.title,e),children:a?c:(0,r.jsx)(o.A,{to:i,children:c})})}var d=a(1312),g=a(5846),u=a(6266);const h={container:"container_mt6G"};function m({readingTime:e}){const t=function(){const{selectMessage:e}=(0,g.W)();return t=>{const a=Math.ceil(t);return e(a,(0,d.T)({id:"theme.blog.post.readingTime.plurals",description:'Pluralized label for "{readingTime} min read". Use as much plural forms (separated by "|") as your language support (see https://www.unicode.org/cldr/cldr-aux/charts/34/supplemental/language_plural_rules.html)',message:"One min read|{readingTime} min read"},{readingTime:a}))}}();return(0,r.jsx)(r.Fragment,{children:t(e)})}function p({date:e,formattedDate:t}){return(0,r.jsx)("time",{dateTime:e,children:t})}function x(){return(0,r.jsx)(r.Fragment,{children:" \xb7 "})}function j({className:e}){const{metadata:t}=(0,n.e7)(),{date:a,readingTime:i}=t,o=(0,u.i)({day:"numeric",month:"long",year:"numeric",timeZone:"UTC"});return(0,r.jsxs)("div",{className:(0,s.A)(h.container,"margin-vert--md",e),children:[(0,r.jsx)(p,{date:a,formattedDate:(l=a,o.format(new Date(l)))}),void 0!==i&&(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(x,{}),(0,r.jsx)(m,{readingTime:i})]})]});var l}var b=a(6382);const f={authorCol:"authorCol_Hf19",imageOnlyAuthorRow:"imageOnlyAuthorRow_pa_O",imageOnlyAuthorCol:"imageOnlyAuthorCol_G86a"};function A({className:e}){const{metadata:{authors:t},assets:a}=(0,n.e7)();if(0===t.length)return null;const i=t.every(({name:e})=>!e),o=1===t.length;return(0,r.jsx)("div",{className:(0,s.A)("margin-top--md margin-bottom--sm",i?f.imageOnlyAuthorRow:"row",e),children:t.map((e,t)=>(0,r.jsx)("div",{className:(0,s.A)(!i&&(o?"col col--12":"col col--6"),i?f.imageOnlyAuthorCol:f.authorCol),children:(0,r.jsx)(b.A,{author:{...e,imageURL:a.authorsImageUrls[t]??e.imageURL}})},t))})}function v(){return(0,r.jsxs)("header",{children:[(0,r.jsx)(c,{}),(0,r.jsx)(j,{}),(0,r.jsx)(A,{})]})}var N=a(440),T=a(5219);function w({children:e,className:t}){const{isBlogPostPage:a}=(0,n.e7)();return(0,r.jsx)("div",{id:a?N.LU:void 0,className:(0,s.A)("markdown",t),children:(0,r.jsx)(T.A,{children:e})})}var _=a(7559),P=a(4336),k=a(4434);function y(){return(0,r.jsx)("b",{children:(0,r.jsx)(d.A,{id:"theme.blog.post.readMore",description:"The label used in blog post item excerpts to link to full blog posts",children:"Read more"})})}function R(e){const{blogPostTitle:t,...a}=e;return(0,r.jsx)(o.A,{"aria-label":(0,d.T)({message:"Read more about {title}",id:"theme.blog.post.readMoreLabel",description:"The ARIA label for the link to full blog posts from excerpts"},{title:t}),...a,children:(0,r.jsx)(y,{})})}fun
|