import{C as f,q as _,aI as d,a8 as x,K as h,O as a,E as t,N as o,D as n,a3 as k,F as v,J as y,u as V,Q as i,S as C,R as D}from"./vendor-BGtMsOoo.js";import{aV as w}from"./index-CRze-aDK.js";import{_ as I}from"./account-navigation-item.vue_vue_type_script_setup_true_lang-BXhNrOOe.js";const F=f({__name:"link-lists",props:{item:{}},setup(L){const{lists:r,fetchWishlists:c}=w(),s=_(()=>l.name==="ListDetails"),l=d();return x(async()=>{s.value&&await c()}),(m,N)=>{const p=o("VcIcon"),u=o("router-link");return t(),h(I,{item:m.item},{default:a(()=>[s.value?(t(!0),n(v,{key:0},y(V(r),e=>(t(),n("div",{key:e.id,class:"ml-4 flex items-center space-x-2 overflow-hidden text-ellipsis px-3 text-sm"},[i(p,{class:"flex-none fill-primary",size:"xs",name:"minus"}),i(u,{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:a(()=>[C(D(e.name),1)]),_:2},1032,["to"])]))),128)):k("",!0)]),_:1},8,["item"])}}});export{F as _};
//# sourceMappingURL=link-lists.vue_vue_type_script_setup_true_lang-DpuWsZWw.js.map
