1import{u as g,N as m,aa as y,W as f,a as t,d as h,f as o,o as e,e as c,F as k,r as b,v as P}from"./Do1nZpFk.js";import"./BM5aYONo.js";const B={key:0},$={key:0,class:"list-unstyled mb-0 p-0"},j=["href"],v={key:1},F={__name:"MostPopular",async setup(x){let s,r;const l=f(),{project:n,blogStore:u}=g(),{data:p,pending:_}=([s,r]=m(()=>y(`${l.public.apiBase}/api/projects/${n.getProject.id}/blog/popular-posts`,"$DL2xzkWA6H")),s=await s,r(),s),d=p.value.data;return(S,i)=>o(u).getBlogSettings.widget_sidebar.display_popular_posts?(e(),t("div",B,[i[0]||(i[0]=c("h6",{class:"title"},"Most Popular Posts",-1)),o(_)?(e(),t("div",v,"Loading...")):(e(),t("ul",$,[(e(!0),t(k,null,b(o(d),a=>(e(),t("li",{key:a.id,class:"category cursor-pinter truncate"},[c("a",{href:`/${o(n).getProject.blog_slug}/${a.slug}`},P(a.title),9,j)]))),128))]))])):h("",!0)}};export{F 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.