import{bk as l}from"./index-EAGRne_f.js";import{u as p}from"./useBreadcrumbs-Dvqw9dNT.js";import{F as _,a_ as b,aN as f,P as a,_ as t,R as s,a1 as y,W as g,X as C,e as o}from"./vendor-BMB8ItLC.js";import{b as v}from"./index-o5FTalq2.js";import{_ as B}from"./category.vue_vue_type_style_index_0_lang-Oq5Ong34.js";import"./filters-popup-sidebar.vue_vue_type_style_index_0_lang-BVHPuxAf.js";import"./product-skeleton-grid-CqWkFHS-.js";import"./product-skeleton-list-CrYUl-Vg.js";const M=_({__name:"category",props:{categoryId:{}},setup(c){const m=c,{categoryId:e}=b(m),{category:r,fetchCategory:n}=l(),u=p(()=>v(r.value?.breadcrumbs));return f(()=>{e.value&&n({categoryId:e.value,maxLevel:0})}),(V,k)=>{const d=a("VcBreadcrumbs"),i=a("VcContainer");return s(),t(i,null,{default:y(()=>[o(r)?.breadcrumbs?(s(),t(d,{key:0,class:"mb-2.5 md:mb-4",items:o(u)},null,8,["items"])):g("",!0),C(B,{"category-id":o(e),"allow-set-meta":""},null,8,["category-id"])]),_:1})}}});export{M as default};
//# sourceMappingURL=category-D23hfISB.js.map
