1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7671],{97671:function(e,t,a){a.d(t,{Z:function(){return F}}),a(34598),a(76347);var n=a(68117);a(58316),a(21346),a(19298),a(67525),a(15997),new RegExp("".concat("/edit","/?$")),a(77988),a(88843),a(56210);var o=a(94390);a(65655);var r=a(56694);a(72699);var i=a(41834);a(78569),a(2705);var l=a(53442),u=a(85893),d=a(11163),s=a(84929),p=a(8196),g=a(98337),c=a(1004),v=a(6585),m=e=>e.charAt(0).toUpperCase()+e.slice(1),h=a(47111),f=e=>{var t;return(null===(t=null==e?void 0:e.authors)||void 0===t?void 0:t.nodes)?{type:"Authors",authors:{nodes:e.authors.nodes.filter(h.Z).map(e=>{if("author"in e){let t=e.author;return Object.assign(Object.assign({},e),{author:t})}return null}).filter(h.Z),pageInfo:e.authors.pageInfo}}:null},x=a(72329),Z=e=>{var t;let{authors:a,pagination:n}=e,o=(0,v.Z)(),{authorSettings:r,defaultImage:i,site:l}=(0,c.Z)(),d=null===(t=o.pageTypes.author.plural)||void 0===t?void 0:t.default,s=f(a);if(!d||!s)return null;let{component:p,options:h}=d,Z=i?{date:"",excerpt:"",featuredImage:{node:i},featuredImageUrl:null==i?void 0:i.sourceUrl,modified:"",title:"".concat(m(r.taxonomySlug)," | ").concat(l.name),uri:(0,g.normalizePathTrailingSlash)("".concat(r.taxonomySlug))}:null;return(0,u.jsxs)(u.Fragment,{children:[Z&&(0,u.jsx)(x.Z,{page:Z,pageNum:n.pageNum,pageType:"Tag"}),(0,u.jsx)(p,{authors:s,options:h,pagination:n})]})},j=a(71386),y=a(39930),I=e=>{var t,a,n,o;let{author:r,description:i,generalAuthorMetaDesc:l,link:u,name:d,seo:s,uri:p}=e,g=(null==r?void 0:r.authorBio)||(null==s?void 0:s.opengraphDescription)||l&&(null==l?void 0:l.replace(/\[username\]/i,d||""))||null;return{author:r,featuredImage:{node:{id:"",mediaAdditionalData:null,title:null,altText:d,sourceUrl:(null===(a=null===(t=null==r?void 0:r.authorAvatar)||void 0===t?void 0:t.node)||void 0===a?void 0:a.sourceUrl)||"",caption:null,mediaDetails:{height:250,width:250},cropPosition:null}},date:"",excerpt:(null==s?void 0:s.opengraphDescription)||i||"",featuredImageUrl:(null===(o=null===(n=null==r?void 0:r.authorAvatar)||void 0===n?void 0:n.node)||void 0===o?void 0:o.sourceUrl)||"",link:u||"",modified:"",seo:s&&Object.assign(Object.assign({},s),{metaDesc:g}),title:(null==s?void 0:s.title)||"".concat(d," Archives"),uri:p||""}},T=e=>{let{authorData:t,pagination:a}=e,{author:n,description:i,link:l,name:d,seo:s,uri:p}=t,g=(0,v.Z)(),{data:c}=(0,y.Z)(),{data:m}=(0,j.Z)(),{component:h,options:f}=(0,o.pC)(t,c||r.$,g);return(0,u.jsxs)(u.Fragment,{children:[(0,u.jsx)(x.Z,{page:I({author:n,description:i,link:l,name:d,seo:s,uri:p,generalAuthorMetaDesc:null==m?void 0:m.optAuthorMetadesc}),pageNum:a.pageNum,pageType:"Author"}),(0,u.jsx)(h,{authorData:t,options:f,pagination:a})]})},b=(e,t,a)=>{var n;let o;return t&&(o={node:t}),{date:"",excerpt:e.description||"",featuredImage:o,featuredImageUrl:null==t?void 0:t.sourceUrl,modified:"",primaryCategory:void 0,title:e.name,uri:e.uri,seo:null!==(n=e.seo)&&void 0!==n?n:null,breadcrumbs:a}},A=e=>{let{categoryPageData:t,pagination:a}=e,{defaultImage:n}=(0,c.Z)(),{category:o}=t,l=function(e){var t,a;let n=null===(a=null===(t=null==e?void 0:e.ancestors)||void 0===t?void 0:t.nodes)||void 0===a?void 0:a.filter(h.Z);if(!n||(null==n?void 0:n.length)===0)return[];let o=null;return[...n.map(()=>{let e=n.find(e=>e.parentDatabaseId===o);return e?(o=e.databaseId,{text:e.name||"",url:e.uri||""}):null}).filter(h.Z),{text:e.name||"",url:e.uri||""}].filter(e=>e.text&&e.url)}(o),d=(0,v.Z)(),{data:s}=(0,y.Z)(),{component:p,options:g}=(0,i.y)(t,s||r.$,d);return(0,u.jsxs)(u.Fragment,{children:[(0,u.jsx)(x.Z,{page:b(o,n,l),pageNum:a.pageNum,pageType:"Category"}),(0,u.jsx)(p,{categoryPageData:t,options:g,pagination:a})]})},D=a(13776),U=(e,t)=>({date:"",excerpt:"",featuredImage:t?{node:t}:void 0,featuredImageUrl:null==t?void 0:t.sourceUrl,modified:"",title:e.name,uri:e.uri,seo:e.seo}),N=e=>{let{data:t,pagination:a}=e,n=(0,v.Z)(),{defaultImage:o}=(0,c.Z)(),{data:i}=(0,y.Z)(),{component:d,options:s}=(0,l.G)(t,i||r.$,n);return(0,u.jsxs)(u.Fragment,{children:[(0,u.jsx)(x.Z,{page:U(t,o),pageNum:a.pageNum,pageType:"Tag",robots:(null==i?void 0:i.tagSupportDisable)?"noindex, follow":""}),(0,u.jsx)(d,{data:t,options:s,pagination:a})]})},C=a(93990),P=a(15717),k=a(11125),w=a(9961),F=function(){let e=(0,d.useRouter)(),t=(0,n.fu)(),{node:a}=(0,k.Z)(),o=(0,C.Z)(a),r=(0,P.Z)();if(r&&("redirect"in r&&e.push(r.redirect.destination),"notFound"in r)||!a)return(0,u.jsx)(w.Z,{statusCode:404});let{type:i}=a,l="Post"===i?a.primaryCategory:a;return(0,u.jsxs)(s.Z,Object.assign({category:l,ogTemplateInfo:o},{children:["Post"===i&&(0,u.jsx)(p.Z,{data:a}),"Page"===i&&(0,u.jsx)(D.Z,{page:a}),"Category"===i&&(0,u.jsx)(A,{categoryPageData:{category:a},pagination:t}),"Tag"===i&&(0,u.jsx)(N,{data:a,pagination:t}),"AuthorTag"===i&&(0,u.jsx)(T,{authorData:a,pagination:t}),"Authors"===i&&(0,u.jsx)(Z,{authors:a,pagination:t})]}))}}}]); 2//# sourceMappingURL=7671-f4a5b0babbaf7cfc.js.map
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.