<html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">import{_ as $}from"./Ce3jt1-8.js";import{_ as H}from"./CrQcRc9p.js";import{d as Y,u as j,w as D,l as z,bD as O,c as Q,a as c,b as W,o as s,f as y,g as q,h as r,i as m,e,k as _,j as w,N as p,F as A,U as G,O as I,m as J,W as K,_ as X}from"./DBTS8Y3D.js";import{_ as Z}from"./5xpK3c3G.js";import{_ as tt}from"./D5VV-ii-.js";import{_ as et}from"./DeOHLI1Z.js";import{u as ot}from"./CwUsCHi8.js";import{u as nt}from"./lI3kcHWb.js";import{u as at}from"./BP95XMF3.js";import{u as st}from"./CUCa2FH6.js";const rt={class:"mb-4"},it={key:0},lt={key:0,class:"mb-6 border-t border-black pt-8"},ct=["innerHTML"],Bt=Y({__name:"BlogPage",async setup(ut){var v,R;let n,u;const F={uri:j().path.replace(/^\//,""),limit:1},{data:L}=([n,u]=D(()=&gt;z(O,F)),n=await n,u(),n),t=(v=L.value.blogPostsEntries)==null?void 0:v[0];if(!t)throw Q({statusCode:404,message:"Blog Post not found",fatal:!0});const N=c(()=&gt;t.blogCategories.length?t.blogCategories[0]??[]:null),C=c(()=&gt;t.authors.length?t.authors??[]:null),x=c(()=&gt;{var g;if(!((g=t.authors)!=null&amp;&amp;g.length))return null;const o=[];return t.authors.map(f=&gt;{const i=f,d=ot(i);if(d){const b=nt(d,400),h={id:i.id,bio:b,uri:i.uri};o.push(h)}}),o}),P=c(()=&gt;t.image.length?t.image[0]:null),k=c(()=&gt;t.topRelatedContent.length?t.topRelatedContent:null),B=[...t.topRelatedContent,...t.relatedContent],{getTaxonomies:T}=W(t),{$gaEvent:M}=J(),E=([n,u]=D(()=&gt;T()),n=await n,u(),n);return M("initialize_dataLayer",{content_title:t.title,content_type:t.sectionHandle,content_author:(R=C.value)==null?void 0:R.map(o=&gt;o==null?void 0:o.title),first_publication_date:t.postDate,updated_publication_date:t.dateUpdated,...E}),(o,g)=&gt;{const f=$,i=H,d=K,b=Z,h=tt,S=et,U=X;return s(),y(U,{name:"page-single",entry:e(t)},q({header:r(()=&gt;{var l;return[m(f,{eyebrow:(l=e(N))==null?void 0:l.title,heading:e(t).title,"sub-heading":e(t).subtitle,authors:e(C),image:e(P),uri:e(t).uri,date:("useDateFormat"in o?o.useDateFormat:e(st))(e(t).postDate,"MMMM DD, YYYY").value},null,8,["eyebrow","heading","sub-heading","authors","image","uri","date"])]}),sidebar:r(()=&gt;[m(h,null,{default:r(()=&gt;[e(k)?(s(),y(b,{key:0,heading:"Related Content","related-content":e(k)},null,8,["related-content"])):_("",!0)]),_:1})]),default:r(()=&gt;{var l;return[w("section",rt,[e(t).body?(s(),y(i,{key:0,content:e(t).body,"content-classes":"max-[668px]:text-xl",large:""},null,8,["content"])):_("",!0)]),(l=e(x))!=null&amp;&amp;l.length?(s(),p("div",it,[(s(!0),p(A,null,G(e(x),(a,V)=&gt;(s(),p(A,{key:V},[a!=null&amp;&amp;a.bio?(s(),p("div",lt,[w("p",{class:"font-serif text-xl leading-snug",innerHTML:a.bio},null,8,ct),m(d,{to:("useSiteUrl"in o?o.useSiteUrl:e(at))(a==null?void 0:a.uri),class:"mt-6 inline-block text-xs font-semibold underline hover:text-red hover:no-underline md:text-sm"},{default:r(()=&gt;[I(" Read Full Biography ")]),_:2},1032,["to"])])):_("",!0)],64))),128))])):_("",!0)]}),_:2},[B.length?{name:"footer",fn:r(()=&gt;[m(S,{related:B})]),key:"0"}:void 0]),1032,["entry"])}}});export{Bt as _};
</pre></body></html>