import{L as e,N as t,Nt as n,O as r,Pt as i,Vt as a,d as o,ft as s,g as c,m as l,mt as u,o as d,s as f,z as p}from"./xY0c-UfG.js";import"./xihTtKlq.js";import{o as m}from"./B7ikU8uG.js";var h=p(`<div><!></div>`);function g(t,l){i(l,!0);let u=d(l,`ref`,15,null),p=d(l,`class`,3,``),m=f(l,[`$$slots`,`$$events`,`$$legacy`,`children`,`ref`,`class`]);var g=h();c(g,()=>({class:`inline-list ${p()??``}`,role:`listbox`,...m}),void 0,void 0,void 0,`svelte-18vl7ae`),r(s(g),()=>l.children),a(g),o(g,e=>u(e),()=>u()),e(t,g),n()}var _=p(`<span class="sg-menu-check"><!></span>`),v=p(`<button><!> <!></button>`);function y(n,i){let o=d(i,`selected`,3,!1),p=d(i,`showCheck`,3,!0),h=d(i,`class`,3,``),g=f(i,[`$$slots`,`$$events`,`$$legacy`,`children`,`selected`,`showCheck`,`class`]);var y=v();c(y,()=>({type:`button`,class:`inline-list-item ${h()??``}`,role:`option`,"aria-selected":o(),"data-selected":o()?`true`:void 0,...g,[l]:{"is-selected":o()}}),void 0,void 0,void 0,`svelte-19pr0ny`);var b=s(y),x=n=>{var r=_(),i=s(r),c=e=>{m(e,{size:16})};t(i,e=>{o()&&e(c)}),a(r),e(n,r)};t(b,e=>{p()&&e(x)}),r(u(b,2),()=>i.children),a(y),e(n,y)}export{g as n,y as t};