import{F as f,ag as _,b8 as d,m as x,P as s,_ as k,R as t,a1 as n,Q as o,W as h,a5 as v,a6 as y,e as L,X as i,a2 as V,a0 as g}from"./vendor-DWvj1jit.js";import{bL as C}from"./index-8PssKxKU.js";import{_ as D}from"./account-navigation-item.vue_vue_type_script_setup_true_lang-Dqo_VpJA.js";const W=f({__name:"link-lists",props:{item:{}},setup(r){const{lists:c,fetchWishlists:l}=C(),a=x(()=>m.name==="ListDetails"),m=_();return d(async()=>{a.value&&await l()}),(b,w)=>{const u=s("VcIcon"),p=s("router-link");return t(),k(D,{item:r.item},{default:n(()=>[a.value?(t(!0),o(v,{key:0},y(L(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(()=>[V(g(e.name),1)]),_:2},1032,["to"])]))),128)):h("",!0)]),_:1},8,["item"])}}});export{W as default};
//# sourceMappingURL=link-lists-DrRBpagv.js.map
