import{bh as p}from"./index-GCDRvGOr.js";import{u as l}from"./useBreadcrumbs-CLanN9FL.js";import{M as b,aX as f,aM as _,U as t,R as a,O as s,V as y,a8 as g,X as C,e as o}from"./vendor-CsGITfgk.js";import{b as V}from"./index-o5FTalq2.js";import{_ as v}from"./category.vue_vue_type_style_index_0_lang-DCT5fQyo.js";import"./filters-popup-sidebar.vue_vue_type_style_index_0_lang-BM2NMQK9.js";import"./useSlugInfo-vjQlUSx_.js";import"./product-card.vue_vue_type_script_setup_true_lang-DVxnzjEY.js";import"./product-skeleton-grid-C5BGP13J.js";import"./product-skeleton-list-2NTva31N.js";const U=b({__name:"category",props:{categoryId:{}},setup(c){const m=c,{categoryId:e}=f(m),{category:r,fetchCategory:n}=p(),u=l(()=>V(r.value?.breadcrumbs));return _(()=>{e.value&&n({categoryId:e.value,maxLevel:0})}),(B,h)=>{const i=t("VcBreadcrumbs"),d=t("VcContainer");return s(),a(d,null,{default:y(()=>[o(r)?.breadcrumbs?(s(),a(i,{key:0,class:"mb-2.5 md:mb-4",items:o(u)},null,8,["items"])):g("",!0),C(v,{"category-id":o(e),"allow-set-meta":""},null,8,["category-id"])]),_:1})}}});export{U as default};
//# sourceMappingURL=category-DS9lpwWe.js.map
