import { f as fallback } from './async-Djx13DAD.js';
import { d as attr_class, c as bind_props } from './index-B7gr0Dsc.js';
import { e as escape_html } from './escaping-CBnpiEl5.js';
import './context-BZS6UlnY.js';
import './uneval-DjLoL4oF.js';
import './clone-BLo8hHdj.js';

/* empty css                                     */function v(o,t){o.component(c=>{let i=t.value,r=t.type,n=fallback(t.selected,false);function f(e,s=60){if(!e)return "";const a=String(e);return a.length<=s?a:a.slice(0,s)+"..."}c.push(`<div${attr_class("svelte-xxobeb",void 0,{table:r==="table",gallery:r==="gallery",selected:n})}>${escape_html(f(i))}</div>`),bind_props(t,{value:i,type:r,selected:n});});}

export { v as default };
//# sourceMappingURL=Example2-Bga9nSuW.js.map
