1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[465],{9257:function(e,t,a){(window.__NEXT_P=window.__NEXT_P||[]).push(["/blog/category/[slug]",function(){return a(3777)}])},2873:function(e,t,a){"use strict";a.d(t,{$2:function(){return o},BY:function(){return r},_r:function(){return c}});var n=a(3454);let o=()=>"https://effulgent-bombolone-77534e.netlify.app".replace(/\/$/,""),r=e=>{if(!e)return"";if(/^https?:\/\//i.test(e))return e;let t=e.startsWith("/")?e:"/".concat(e);return"".concat(o()).concat(t)},l=()=>r(n.env.BLOG_DEFAULT_SOCIAL_IMAGE||"/logo.png"),c=e=>{let t=(null==e?void 0:e.ogImageUrl)||(null==e?void 0:e.featuredImageUrl)||l();return r(t)}},3777:function(e,t,a){"use strict";a.r(t),a.d(t,{__N_SSG:function(){return u},default:function(){return m}});var n=a(5893),o=a(7294),r=a(1664),l=a.n(r),c=a(9008),i=a.n(c),s=a(2873),_=a(4691),g=a.n(_),d=a(3454);let h=e=>e?new Date(e).toLocaleDateString("en-US",{month:"long",day:"numeric",year:"numeric"}):"";var u=!0;function m(e){let{category:t,posts:a}=e,[r,c]=(0,o.useState)(1),_=(0,s.$2)(),u="".concat(_,"/blog/category/").concat(t.slug),m=(0,s.BY)(d.env.BLOG_DEFAULT_SOCIAL_IMAGE||"/logo.png"),b=Math.max(1,Math.ceil(a.length/6)),p=Math.min(r,b),x=a.slice((p-1)*6,6*p);return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsxs)(i(),{children:[(0,n.jsx)("title",{children:"".concat(t.name," | Blog | Flying Pig")}),(0,n.jsx)("meta",{name:"description",content:"Posts in ".concat(t.name,".")}),(0,n.jsx)("meta",{property:"og:title",content:"".concat(t.name," | Blog | Flying Pig")}),(0,n.jsx)("meta",{property:"og:description",content:"Posts in ".concat(t.name,".")}),(0,n.jsx)("meta",{property:"og:type",content:"website"}),(0,n.jsx)("meta",{property:"og:url",content:u}),(0,n.jsx)("meta",{property:"og:image",content:m}),(0,n.jsx)("meta",{property:"og:site_name",content:"Flying Pig"}),(0,n.jsx)("meta",{name:"twitter:card",content:"summary_large_image"}),(0,n.jsx)("meta",{name:"twitter:title",content:"".concat(t.name," | Blog | Flying Pig")}),(0,n.jsx)("meta",{name:"twitter:description",content:"Posts in ".concat(t.name,".")}),(0,n.jsx)("meta",{name:"twitter:image",content:m}),(0,n.jsx)("link",{rel:"canonical",href:u})]}),(0,n.jsx)("main",{children:(0,n.jsxs)("section",{className:g().section,"data-contain":"true",children:[(0,n.jsxs)("div",{className:g().blogHeaderRow,children:[(0,n.jsx)("h1",{className:g().pageTitle,children:t.name}),(0,n.jsx)(l(),{href:"/blog",className:g().archiveLink,children:"Back to Blog"})]}),0===x.length?(0,n.jsx)("div",{className:g().emptyState,children:(0,n.jsx)("h2",{children:"No posts yet"})}):(0,n.jsx)("div",{className:g().grid,children:x.map(e=>(0,n.jsxs)("article",{className:g().card,children:[(0,n.jsx)(l(),{href:"/blog/".concat(e.slug),className:g().cardImageLink,children:e.featuredImageUrl?(0,n.jsx)("img",{src:e.featuredImageUrl,alt:e.title,className:g().cardImage}):null}),(0,n.jsxs)("div",{className:g().cardBody,children:[(0,n.jsx)("p",{className:g().date,children:h(e.publishedAt)}),(0,n.jsx)("h2",{className:g().cardTitle,children:(0,n.jsx)(l(),{href:"/blog/".concat(e.slug),children:e.title})}),e.excerpt&&(0,n.jsx)("p",{children:e.excerpt})]})]},e.id))}),b>1&&(0,n.jsxs)("div",{className:g().paginationRow,children:[(0,n.jsx)("button",{type:"button",className:g().secondaryButton,onClick:()=>c(e=>Math.max(1,e-1)),disabled:1===p,children:"Previous"}),(0,n.jsxs)("span",{className:g().helper,children:["Page ",p," of ",b]}),(0,n.jsx)("button",{type:"button",className:g().secondaryButton,onClick:()=>c(e=>Math.min(b,e+1)),disabled:p===b,children:"Next"})]})]})})]})}},4691:function(e){e.exports={section:"blog_section__DuoL5",pageTitle:"blog_pageTitle___fOlp",blogHeaderRow:"blog_blogHeaderRow__AQWwA",headerActions:"blog_headerActions__8mduY",archiveLink:"blog_archiveLink__D5lhU",loginLink:"blog_loginLink__JbXNx",filtersRow:"blog_filtersRow__IYCi_",searchControl:"blog_searchControl__GCPlp",searchToggleButton:"blog_searchToggleButton__Pibhw",searchInputWrap:"blog_searchInputWrap__PHgEz",searchInput:"blog_searchInput__MnvIF",categoryFilter:"blog_categoryFilter__u3qFp",searchClearButton:"blog_searchClearButton__BXPJO",grid:"blog_grid__SCUL2",emptyState:"blog_emptyState__G9iQT",card:"blog_card__ygzov",cardImageLink:"blog_cardImageLink__hErNe",cardImage:"blog_cardImage__8UIvT",cardBody:"blog_cardBody__DcCC9",date:"blog_date__xpgoT",cardTitle:"blog_cardTitle__n4PWe",categoryPill:"blog_categoryPill__7zALv",article:"blog_article__dQHbU",articleTitle:"blog_articleTitle__hbxFx",featuredImage:"blog_featuredImage__ZvKu9",shareRow:"blog_shareRow__DvDgv",shareLabel:"blog_shareLabel__CR9Hv",shareLink:"blog_shareLink__glzuo",shareButton:"blog_shareButton__Cb9Mj",shareIcon:"blog_shareIcon__C9XM5",breadcrumbs:"blog_breadcrumbs__gUs2A",metaRow:"blog_metaRow__E88Uk",backToBlog:"blog_backToBlog__t7atF",content:"blog_content__ssJTN",postNav:"blog_postNav__ksjWx",postNavLink:"blog_postNavLink__tqC5y",postNavPlaceholder:"blog_postNavPlaceholder__qFq_g",paginationRow:"blog_paginationRow__DsDWz",secondaryButton:"blog_secondaryButton__fNEmf",archiveGrid:"blog_archiveGrid__3
1C1Ku",archiveGroup:"blog_archiveGroup__ktTIP"}}},function(e){e.O(0,[774,888,179],function(){return e(e.s=9257)}),_N_E=e.O()}]);
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.