import{F as e,L as t,N as n,O as r,Vt as i,b as a,ft as o,g as s,m as c,mt as l,o as u,ot as d,s as f,w as p,z as m}from"./BT3KAag_.js";import"./t62M88qj.js";import{t as h}from"./BRAte_-b.js";var g=m(`<span class="entity-row-meta svelte-5f87zg"><!></span>`),_=m(`<span class="entity-row-meta svelte-5f87zg"> </span>`),v=m(`<button><span class="entity-row-dot svelte-5f87zg"></span> <span class="entity-row-name svelte-5f87zg"> </span> <!></button>`);function y(m,y){let b=u(y,`selected`,3,!1),x=u(y,`variant`,3,`inline`),S=u(y,`class`,3,``),C=f(y,[`$$slots`,`$$events`,`$$legacy`,`dotColor`,`name`,`meta`,`metaSnippet`,`selected`,`variant`,`class`]);var w=v();s(w,()=>({type:`button`,class:`entity-row ${x()??``} ${S()??``}`,...C,[c]:{selected:b()}}),void 0,void 0,void 0,`svelte-5f87zg`);var T=o(w);let E;var D=l(T,2),O=o(D,!0);i(D),p(D,e=>h?.(e));var k=l(D,2),A=e=>{var n=g();r(o(n),()=>y.metaSnippet),i(n),t(e,n)},j=n=>{var r=_(),a=o(r,!0);i(r),d(()=>e(a,y.meta)),t(n,r)};n(k,e=>{y.metaSnippet?e(A):y.meta&&e(j,1)}),i(w),d(()=>{E=a(T,``,E,{"--dot-color":y.dotColor??`var(--color-text-tertiary)`}),e(O,y.name)}),t(m,w)}export{y as t};