import{F as f,m as _,af as d,as as x,P as s,_ as k,R as t,a1 as n,Q as o,W as h,a6 as v,a7 as y,e as V,X as i,a2 as C,a0 as D}from"./vendor-3e8OGtgt.js";import{c5 as L}from"./index-D8gWJXbr.js";import{_ as g}from"./account-navigation-item.vue_vue_type_script_setup_true_lang-BoUOBAEZ.js";const E=f({__name:"link-lists",props:{item:{}},setup(r){const{lists:c,fetchWishlists:l}=L(),a=_(()=>m.name==="ListDetails"),m=d();return x(async()=>{a.value&&await l()}),(w,B)=>{const u=s("VcIcon"),p=s("router-link");return t(),k(g,{item:r.item},{default:n(()=>[a.value?(t(!0),o(v,{key:0},y(V(c),e=>(t(),o("div",{key:e.id,class:"flex items-center gap-2 px-3 text-sm"},[i(u,{class:"flex-none fill-primary",size:"xs",name:"minus"}),i(p,{to:{name:"ListDetails",params:{listId:e.id}},class:"line-clamp-2 cursor-pointer py-0.5 font-bold text-neutral hover:text-additional-950","active-class":"!text-neutral-950"},{default:n(()=>[C(D(e.name),1)]),_:2},1032,["to"])]))),128)):h("",!0)]),_:1},8,["item"])}}});export{E as default};
//# sourceMappingURL=link-lists-DwPDkxk5.js.map
