1import L from"./B-0A4xkR.js";import{_ as x}from"./P6QHJmc3.js";import{_ as k,a as v}from"./NVA2Hg1X.js";import{u as T}from"./7mtKKr6I.js";import{V as e,G as s,W as i,Y as a,a3 as o,L as r,ac as p,$ as C,ah as H,a4 as u,a5 as M,X as $,f as b}from"./C6hukAae.js";import"./Cs0wvkk2.js";const D=["id"],w={class:"container"},B=["innerHTML"],N=["innerHTML"],V=["innerHTML"],q={key:3},S={key:4},z={class:"row"},I=["innerHTML"],j=["innerHTML"],A=["innerHTML"],E=["innerHTML"],F={__name:"Blog",props:{rootClass:{type:String,required:!0},sectionData:{type:Object,required:!0},postType:{type:String,default:""}},setup(t){const _=v(),g=b(()=>_.settings),{query:l,pending:m,error:c}=T({post_type:"blog",post_status:"publish",posts_per_page:3,orderby:"date",post_fields:["image"]});return(G,d)=>{const h=L,y=x;return e(),s("section",{id:t.sectionData.unique_id,class:a(`${t.rootClass}`)},[i("div",{class:a([`${t.rootClass}__wrapper`])},[i("div",w,[t.sectionData.supheading?(e(),s("div",{key:0,class:a(`${t.rootClass}__supheading`),innerHTML:t.sectionData.supheading},null,10,B)):o("",!0),t.sectionData.heading?(e(),s("div",{key:1,class:a(`${t.rootClass}__heading`),innerHTML:t.sectionData.heading},null,10,N)):o("",!0),t.sectionData.intro?(e(),s("div",{key:2,class:a(`${t.rootClass}__intro`),innerHTML:t.sectionData.intro},null,10,V)):o("",!0),r(m)?(e(),s("div",q," Loading... ")):o("",!0),r(c)?(e(),s("div",S,[i("pre",null,p(r(c)),1)])):o("",!0),r(l)?(e(),s("div",{key:5,class:a([`${t.rootClass}__articles`])},[i("div",z,[(e(!0),s(C,null,H(r(l).results,(n,f)=>(e(),s("div",{key:f,class:"col-xl-4"},[u(y,{to:n.permalink,class:a([`${t.rootClass}__article`])},{default:M(()=>[n.acf_fields.image?(e(),s("div",{key:0,class:a([`${t.rootClass}__article-image`])},[u(h,{"desktop-image":n.acf_fields.image,sizes:"(max-width: 1200px) calc(100vw - 34px), 768px"},null,8,["desktop-image"])],2)):o("",!0),n?.taxonomies?.["blog-category"]?.[0]?.title?(e(),s("div",{key:1,class:a([`${t.rootClass}__article-category`]),innerHTML:n.taxonomies["blog-category"][0].title},null,10,I)):o("",!0),i("div",{class:a([`${t.rootClass}__article-title`]),innerHTML:n.title},null,10,j),n.taxonomies?.["blog-author"]?.[0]?.title?(e(),s("div",{key:2,class:a([`${t.rootClass}__article-author`])},[i("span",{innerHTML:r(g).global_labels.from},null,8,A),d[0]||(d[0]=$()),i("span",{innerHTML:n.taxonomies["blog-author"][0].title},null,8,E)],2)):o("",!0)]),_:2},1032,["to","class"])]))),128))])],2)):o("",!0)])],2)],10,D)}}},J=k(F,[["__scopeId","data-v-ec759864"]]);export{J 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.