1import{f as k,T as w,e as L,a7 as z}from"./bS0gHfOR.js";import A from"./DLbq9mW9.js";import{u as N}from"./9o0LXtrG.js";import{v as S,ab as T,U,y as e,z as s,B as t,a7 as l,a8 as b,A as a,C as c,G as g,H as _,F as d,I as V,K as $}from"./qHTv0qqf.js";import"./ga_jkbhe.js";import"./Dw2FOL6A.js";const D={key:0,class:"my-8 grid grid-cols-1 gap-7 sm:grid-cols-2 lg:grid-cols-3 xl:grid-cols-4"},F={key:0},H={class:"grid grid-cols-1 items-stretch gap-7 sm:grid-cols-2 lg:grid-cols-3 xl:grid-cols-4"},I={key:1,class:"py-16 text-center"},j=S({__name:"BlogCategoryListing",async setup(E){let n,m;const{t:r}=k(),u=$(null),{fetchCategories:f,blogCategories:o,categoriesLoading:p}=N({scrollContainer:u}),{status:h}=([n,m]=T(async()=>w("blog-categories-list",async()=>(await f(),o.value))),n=await n,m(),n);return U(h,y=>{p.value=y==="pending"},{immediate:!0}),(y,v)=>{const x=L,B=A,C=z;return e(),s("div",{ref_key:"listingContainer",ref:u,class:"container mt-4"},[t(p)?(e(),s("div",D,[(e(),s(l,null,b(12,i=>a("div",{key:`skeleton-${i}`,class:"rounded border bg-white p-4 shadow-sm"},[...v[0]||(v[0]=[a("div",{class:"mb-3 h-32 animate-pulse bg-gray-200"},null,-1),a("div",{class:"mb-2 h-6 animate-pulse bg-gray-200"},null,-1),a("div",{class:"h-4 w-3/4 animate-pulse bg-gray-200"},null,-1)])])),64))])):(e(),s(l,{key:1},[c(x,{class:"mb-7 text-center",size:"lg",tag:"h1"},{default:g(()=>[_(d(t(r)("blog.overview.title")),1)]),_:1}),t(o)&&t(o).length>0?(e(),s("div",F,[c(x,{class:"mb-7 text-center",size:"xs",tag:"div"},{default:g(()=>[_(d(t(r)("blog.overview.topicsCount",{count:t(o).length})),1)]),_:1}),a("div",H,[(e(!0),s(l,null,b(t(o),i=>(e(),V(B,{key:i.uuid,category:i},null,8,["category"]))),128))])])):(e(),s("div",I,[c(C,{size:"md"},{default:g(()=>[_(d(t(r)("blog.overview.noCategories")),1)]),_:1})]))],64))],512)}}}),P=Object.assign(j,{__name:"SBBlogCategoryListing"});export{P 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.