import{bh as p}from"./index-B7qwhRTg.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-44v1qTwa.js";import"./filters-popup-sidebar.vue_vue_type_style_index_0_lang-F1_VuV8h.js";import"./useSlugInfo-CsaEdl-y.js";import"./product-card.vue_vue_type_script_setup_true_lang-BNAp9V9h.js";import"./product-skeleton-grid-BcT3yZ5L.js";import"./product-skeleton-list-BuB7jJGJ.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-Utu5hJ_9.js.map
