import{_ as h}from"./EmptyStateBlock-Dt7jmbAi.js";import{_ as u}from"./BlockBalanceAgreement-396E9Da8.js";import{u as v}from"./content-Be03vzee.js";import{_ as f}from"./_plugin-vue_export-helper-DlAUqK2U.js";import{g,x as k,o as e,c as o,b as C,a as t,F as m,h as y,m as B,t as n}from"./index-Bb2UEb_P.js";import"./index-Dax_IkAt.js";import"./ButtonDefault-CzWpVlv6.js";import"./common-U_VzDrmL.js";const x={class:"section"},L={class:"container"},S={key:0,class:"list"},b={class:"list-item_client"},I={class:"list-item__header"},N={class:"list-item__header-col"},R={class:"list-item__img"},U=["src"],w={class:"list-item__header-col"},A={class:"list-item__title"},D={class:"list-item__subtitle"},E=["href"],F={class:"list-item__text"},V={__name:"ContentClients",async setup(j){let _,a;const i=v(),c=g(()=>Object.keys(i?.clientsList)?.map(l=>i?.clientsList[l])?.reverse());return[_,a]=k(()=>i.fetchClients()),await _,a(),(l,r)=>{const d=u,p=h;return e(),o(m,null,[C(d),t("section",x,[t("div",L,[r[0]||(r[0]=t("div",{class:"section-header"},[t("h1",{class:"section-title"},"Клиенты")],-1)),c.value&&c.value.length>0?(e(),o("div",S,[(e(!0),o(m,null,y(c.value,s=>(e(),o("div",{class:"list-col",key:s?.ID},[t("div",b,[t("div",I,[t("div",N,[t("div",R,[t("img",{class:"list-item__image",src:s?.IconURL},null,8,U)])]),t("div",w,[t("div",A,n(s?.Name),1),t("div",D,[t("a",{href:s?.SiteURL},n(s?.SiteURL),9,E)])])]),t("div",F,n(s?.Comment),1)])]))),128))])):(e(),B(p,{key:1,label:"Пока что нет добавленных клиентов"}))])])],64)}}},M=f(V,[["__scopeId","data-v-72c984c6"]]);export{M as default};
