1import{b as u,o as m}from"./rYqlmPdd.js";import{L as s,M as l,O as i,P as g,U as y,_ as c,$ as h}from"./DQsU5YNN.js";const w={class:"grid grid-cols-12 gap-x-[18px] gap-y-[22px] w-full"},L={__name:"LPostsList",props:{posts:{type:Array,default:()=>[]},type:{type:String,default:"default"},noLazy:{type:Boolean,default:!1},showDate:{type:Boolean,default:!1},showTimeAgo:{type:Boolean,default:!1}},setup(e){const o=u().path==="/naujausi";return(r,z)=>{const n=m;return s(),l("div",w,[(s(!0),l(i,null,g(e.posts.slice(0,5),(a,t)=>(s(),l("div",{key:a.kpm3id,class:y(["col-span-12",{"lg:col-span-4":o||t>1&&e.type!=="listing2","lg:col-span-6":!o&&t<=1&&e.type!=="listing"&&e.type!=="listing2","lg:col-span-3":e.type==="listing2"}])},[c(n,{post:a,"no-lazy":e.noLazy,showDate:e.showDate,showTimeAgo:e.showTimeAgo,size:(t<2||t>6&&t<9)&&e.type!=="category"?"large":""},null,8,["post","no-lazy","showDate","showTimeAgo","size"])],2))),128)),e.type==="category"||e.type==="listing"||e.type==="listing2"?(s(!0),l(i,{key:0},g(e.posts.slice(5,e.posts.length),(a,t)=>(s(),l("div",{key:a.kpm3id,class:y(["col-span-12",{"lg:col-span-4":o||t>1&&e.type!=="listing2","lg:col-span-6":!o&&t<=1&&e.type!=="listing"&&e.type!=="listing2","lg:col-span-3":e.type==="listing2"}])},[c(n,{post:a,"no-lazy":e.noLazy,showDate:e.showDate,showTimeAgo:e.showTimeAgo,size:(t<2||t>6&&t<9)&&e.type!=="category"?"large":""},null,8,["post","no-lazy","showDate","showTimeAgo","size"])],2))),128)):h("",!0)])}}};export{L 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.