import{p as l,e as p,b as h}from"./i18n-Dnhn5Rxr.js";import{R as g,t as y,a as x,T as _,U as r,W as b,a0 as j,V as E,Y as R}from"./index-DWyDLubb.js";var S=b("<div> </div>");function W(d,t){g(t,!1);let n=l(t,"value",12),s=l(t,"type",12),c=l(t,"selected",12,!1),i=l(t,"choices",12),f=n().map(e=>i().find(m=>m[1]===e)?.[0]).filter(e=>e!==void 0).join(", ");var o={get value(){return n()},set value(e){n(e),r()},get type(){return s()},set type(e){s(e),r()},get selected(){return c()},set selected(e){c(e),r()},get choices(){return i()},set choices(e){i(e),r()}};p();var a=S();let u;var v=E(a,!0);return R(a),y(()=>{u=h(a,1,"svelte-25nhtv",null,u,{table:s()==="table",gallery:s()==="gallery",selected:c()}),j(v,f)}),x(d,a),_(o)}export{W as default};
