import{F as c,aL as i,cb as l,P as r,Q as u,R as e,Z as m,e as v,_,S as p,a9 as f,a1 as d,X as g,T as k,a0 as x}from"./vendor-DYYUXsKb.js";const C={class:"account-navigation-item__text"},h=c({__name:"account-navigation-item",props:{item:{},formatTextFunction:{type:Function,default:a=>a??""}},setup(a){const t=i(a,"item"),{isActive:n}=l({to:t.value?.route??{}});return(o,F)=>{const s=r("VcIcon");return e(),u("div",{class:m(["account-navigation-item",{"account-navigation-item--active":v(n)}])},[(e(),_(f(t.value?.route?"router-link":"a"),{to:t.value?.route,class:"account-navigation-item__link"},{default:d(()=>[g(s,{size:"sm",class:"account-navigation-item__icon",name:t.value?.icon},null,8,["name"]),k("span",C,x(a.formatTextFunction(t.value?.title)),1)]),_:1},8,["to"])),p(o.$slots,"default")],2)}}});export{h as _};
//# sourceMappingURL=account-navigation-item.vue_vue_type_script_setup_true_lang-D-PysD8v.js.map
