import"./svelte/svelte_internal_flags_async.js";import*as e from"./svelte/svelte_internal_client.js";var n=e.from_html("<div> </div>");function y(i,t){e.push(t,!0);let s=e.prop(t,"selected",3,!1),u=(t.value?Array.isArray(t.value)?t.value:[t.value]:[]).map(l=>t.choices.find(d=>d[1]===l)?.[0]).filter(l=>l!==void 0).join(", ");var a=n();let r;var v=e.child(a,!0);e.reset(a),e.template_effect(()=>{r=e.set_class(a,1,"svelte-1by696e",null,r,{table:t.type==="table",gallery:t.type==="gallery",selected:s()}),e.set_text(v,u)}),e.append(i,a),e.pop()}export{y as default};
