1import{H as B,T as C,L as N,M as R}from"./components.rrVuynMr.js";import{o as a,c as r,r as _,a as s,t as m,g as e,F as q,C as z,v as h,d as U,I as F,b as o,j as H,i as V,J as j,K as O,B as P,w as x,L as G,M as K,N as Q}from"./entry.Yh3GnwLp.js";import J from"./Image.mbU41gld.js";import{a as W}from"./Video.U7wchbLL.js";import X from"./Slideshow.1ieOcHjS.js";import{a as Y}from"./Text.sAhiZ8I9.js";import{_ as Z}from"./client-only.12QWQddV.js";import"./icons.Nb8Vrb4F.js";const tt=["src"],et={name:"bImgLazy"},ot=Object.assign(et,{props:["src"],setup(l){return(c,i)=>(a(),r("img",{src:l.src,alt:"",loading:"lazy"},null,8,tt))}}),nt=ot,at={class:"byline mb-16 flex flex-col gap-5 text-primary md:flex-row md:gap-10"},st={class:"whitespace-nowrap"},rt={key:0,class:"flex flex-col gap-4 md:flex-row"},lt={class:"flex max-w-[300px] items-center gap-6 md:items-start"},ct={class:"aspect-square max-w-[56px] rounded-full bg-blue md:max-w-[80px]"},it=["src"],pt={class:"text-sm"},mt={key:0},ut=["href"],dt=s("br",null,null,-1),_t={__name:"Byline",props:{date:String,authors:Object},setup(l){const c=l;let i=_(null);const p=c.date;return i=new Date(p).toLocaleDateString("en-US",{month:"long",day:"numeric",year:"numeric"}),(u,f)=>(a(),r("div",at,[s("p",st,m(e(i)),1),l.authors?(a(),r("div",rt,[(a(!0),r(q,null,z(l.authors,(t,d)=>(a(),r("div",lt,[s("p",ct,[s("img",{class:"aspect-square h-auto w-20 rounded-full object-cover mix-blend-screen grayscale",src:t.featuredImage.node.mediaItemUrl,alt:""},null,8,it)]),s("p",pt,[d===0?(a(),r("span",mt,"By ")):h("",!0),s("a",{href:`https://atlantahistorycenter.com/authors/${t.slug}`},m(t.title),9,ut),dt,U(" "+m(t.authorFields.authorTitle),1)])]))),256))])):h("",!0)]))}},ht=_t,gt={__name:"DynamicComponents",props:["content"],setup(l){const i=F({components:{bImgLazy:nt,Image:J,ahcVideo:W,ahcSlideshow:X,ahcText:Y},template:l.content});return(p,g)=>(a(),r("div",null,[o(e(i))]))}},ft=gt,xt={"data-theme-color":"dark",class:"fixed bottom-0 top-20 z-20 h-auto w-full overflow-y-auto bg-secondary text-primary md:top-[157px]"},yt={class:"relative mx-auto max-w-container pb-2xl"},wt={class:"min-[1480px]:px-0 grid grid-cols-4 gap-6 px-5 pt-[80px] md:grid-cols-12 md:pt-[180px]"},bt={class:"col-span-full md:col-span-6 md:col-start-4"},vt={class:"mb-xl text-4xl leading-3 md:text-6xl"},Dt={key:0},Bt={__name:"index",async setup(l){let c,i;const p=H(),g=K(),u=V(),f=Q();u.theme.current.color="dark";let t=_(null),d=_(null);_(null);let{data:y}=j(`${p.params.slug}`);y.value&&(t=y.value);const{data:I,error:w,refresh:Tt,pending:b}=([c,i]=O(()=>G(`${g.public.wordpressUrl}/wp/graphql`,{method:"get",headers:f.headers,lazy:!0,key:`${p.params.slug}`,query:{query:` 2 query getPostBySlug { 3 post( 4 idType: SLUG 5 id: "${p.params.slug}" 6 asPreview: ${f.asPreview} 7 ) { 8 slug 9 title 10 date 11 seo { 12 metaDesc 13 title 14 metaKeywords 15 canonical 16 opengraphUrl 17 opengraphType 18 opengraphTitle 19 opengraphDescription 20 opengraphSiteName 21 opengraphModifiedTime 22 opengraphImage { 23 sourceUrl(size: ALMOST_SQUARE_MEDIUM) 24 } 25 twitterTitle 26 twitterDescription 27 twitterImage { 28 sourceUrl(size: ALMOST_SQUARE_MEDIUM) 29 } 30 } 31 fields { 32 postAuthor { 33 ... on Author { 34 authorFields { 35 authorTitle 36 } 37 slug 38 title(format: RENDERED) 39 featuredImage { 40 node { 41 mediaItemUrl 42 } 43 } 44 } 45 } 46 } 47 content(format: RENDERED) 48 } 49 }`},transform(v){return v.data.post}},"$SqiuagoBeh")),c=await c,i(),c);return w.value?console.log(w.value):(t=I,d=u.currentTitle||t.value.title),(v,$t)=>{const k=C,E=N,n=R,M=B,L=ft,A=Z;return a(),r("section",xt,[e(b)?h("",!0):(a(),P(M,{key:0},{default:x(()=>{var D,T,$,S;return[o(k,null,{default:x(()=>[U("AHC Exhibitions: "+m(e(t).seo.title),1)]),_:1}),o(E,{rel:"canonical",href:e(t).seo.canonical},null,8,["href"]),o(n,{name:"description",content:e(t).seo.metaDesc},null,8,["content"]),o(n,{property:"og:locale",content:"en_US"}),o(n,{property:"og:type",content:"article"}),o(n,{property:"og:Title",content:e(t).seo.opengraphTitle},null,8,["content"]),o(n,{property:"og:description",content:e(t).seo.opengraphDescription},null,8,["content"]),o(n,{property:"og:url",content:`https://exbplatform.netlify.app${e(p).path}`},null,8,["content"]),o(n,{property:"og:image",content:((D=e(t).seo.opengraphImage)==null?void 0:D.sourceUrl)||((T=e(t).seo.twitterImage)==null?void 0:T.sourceUrl)||""},null,8,["content"]),o(n,{property:"og:site_name",content:`${e(u).exhibition.title} | Atlanta History Center`},null,8,["content"]),o(n,{property:"article:modified_time",content:e(t).seo.opengraphModifiedTime},null,8,["content"]),o(n,{name:"twitter:card",content:"summary_large_image"}),o(n,{name:"twitter:Title",content:e(t).seo.twitterTitle},null,8,["content"]),o(n,{name:"twitter:description",content:e(t).seo.twitterDescription},null,8,["content"]),o(n,{name:"twitter:image",content:(($=e(t).seo.twitterImage)==null?void 0:$.sourceUrl)||((S=e(t).seo.opengraphImage)==null?void 0:S.sourceUrl)||""},null,8,["content"])]}),_:1})),s("div",yt,[s("div",wt,[s("div",bt,[s("h1",vt,m(e(d)),1),e(b)?h("",!0):(a(),r("div",Dt,[o(ht,{date:e(t).date,authors:e(t).fields.postAuthor},null,8,["date","authors"]),o(A,null,{default:x(()=>[o(L,{class:"text font-primary text-md font-400 text-primary md:text-xl [&_.heading-2]:font-title [&_.heading-2]:text-lg",content:e(t).content},null,8,["content"])]),_:1})]))])])])])}}};export{Bt as default};
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.