1import{f as p,l as h,u as f,o,c as n,a as t,t as l,h as e,F as v,r as x,j as r,b as c,w as b,m as y,s as P,_ as w}from"./DO3Kh52p.js";import{P as T,_ as $}from"./DEBxs01p.js";import{$ as k}from"./DIbMzmQH.js";import{g as d}from"./BZPvnJ-j.js";const C={class:"page-container mb-6 sm:mb-12"},L={class:"mx-auto max-w-2xl lg:max-w-4xl"},H={class:"h2 mb-3"},M=["innerHTML"],N={class:"pt-4 mt-8 lg:mt-16 border-t border-neutral-200"},B={class:"hover:bg-primary/50 transition-all p-6 rounded-2xl relative isolate flex flex-col items-center gap-8 lg:flex-row mb-3"},V={class:"relative aspect-[16/9] sm:aspect-[2/1] lg:w-56 lg:h-56 lg:shrink-0"},j=["src","alt"],D=t("div",{class:"absolute inset-0 rounded-2xl ring-1 ring-inset ring-neutral-900/10"},null,-1),F={key:0,class:"sub-heading"},G={class:"group relative"},S={class:"h5 my-2"},q=["innerHTML"],I=p({__name:"index",setup(E){const u=h();f({title:"Yugoslavia: The Story"});const i=d("yugoslavia"),_=d("yugoslavia_posts"),a=new T(_,"/yugoslavia-the-story",u.query);return(O,R)=>{const g=w,m=$;return o(),n("div",C,[t("div",L,[t("h2",H,l(e(i).title),1),t("div",{class:"large-body",innerHTML:e(i).description},null,8,M),t("div",N,[e(a).paginatedCollections().length?(o(!0),n(v,{key:0},x(e(a).paginatedCollections(),s=>(o(),n("article",null,[c(g,{to:`/yugoslavia-the-story/${s.slug}/${e(P)(s.fields.title)}`},{default:b(()=>[t("div",B,[t("div",V,[t("img",{src:s.fields.image,alt:s.fields.title,class:"absolute inset-0 h-full w-full rounded-2xl bg-neutral-50 object-cover"},null,8,j),D]),t("div",null,[s.fields.subtitle?(o(),n("p",F,l(s.fields.subtitle),1)):r("",!0),t("div",G,[t("h3",S,l(s.fields.title),1),t("div",{class:"body max-w-3xl",innerHTML:`${e(k)(s.fields.content,300,e(y))}`},null,8,q)])])])]),_:2},1032,["to"])]))),256)):r("",!0),c(m,{onGoToPage:e(a).goToPage,currentPage:e(a).currentPage.value,totalPages:e(a).totalPages},null,8,["onGoToPage","currentPage","totalPages"])])])])}}});export{I 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.