import{bk as l}from"./index-Bjc9_X6l.js";import{u as p}from"./useBreadcrumbs-C3iwaFYZ.js";import{F as b,b1 as _,aQ as f,P as t,_ as a,R as s,a1 as y,W as g,X as C,e as o}from"./vendor-CB-jpi5M.js";import{b as v}from"./index-o5FTalq2.js";import{_ as B}from"./category.vue_vue_type_style_index_0_lang-nJ871fDy.js";import"./filters-popup-sidebar.vue_vue_type_style_index_0_lang-CVf9-2--.js";import"./product-skeleton-grid-C553Wj-S.js";import"./product-skeleton-list-2_d6_BOZ.js";const M=b({__name:"category",props:{categoryId:{}},setup(c){const m=c,{categoryId:e}=_(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=t("VcBreadcrumbs"),i=t("VcContainer");return s(),a(i,null,{default:y(()=>[o(r)?.breadcrumbs?(s(),a(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-DlYYeeId.js.map
