import { f as fallback } from './async-D55cHugf.js';
import { f as attr_class, d as bind_props } from './index-u8mz_F03.js';
import { e as escape_html } from './escaping-CBnpiEl5.js';
import './context-CBkBucIx.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-zAdYDcJY.js.map
