import{p as a,b as h}from"./i18n-Dnhn5Rxr.js";import{R as b,w as k,t as x,a as y,T as z,U as r,V as w,ad as M,G as S,z as q,W as C,Y as E}from"./index-DWyDLubb.js";import{M as G}from"./MarkdownCode-B8HQ3LiU.js";/* empty css                                              */import"./html-Ih_5QVTo.js";import"./prism-python-B4lzO_Nz.js";import"./index-B_pwUImq.js";var R=C("<div><!></div>");function B(f,t){b(t,!1);let l=a(t,"value",12),s=a(t,"type",12),n=a(t,"selected",12,!1),u=a(t,"sanitize_html",12),d=a(t,"line_breaks",12),m=a(t,"latex_delimiters",12);function g(e,c=60){if(!e)return"";const _=String(e);return _.length<=c?_:_.slice(0,c)+"..."}var p={get value(){return l()},set value(e){l(e),r()},get type(){return s()},set type(e){s(e),r()},get selected(){return n()},set selected(e){n(e),r()},get sanitize_html(){return u()},set sanitize_html(e){u(e),r()},get line_breaks(){return d()},set line_breaks(e){d(e),r()},get latex_delimiters(){return m()},set latex_delimiters(e){m(e),r()}},i=R();let o;var v=w(i);{let e=M(()=>(S(l()),q(()=>g(l()))));G(v,{get message(){return k(e)},get latex_delimiters(){return m()},get sanitize_html(){return u()},get line_breaks(){return d()},chatbot:!1})}return E(i),x(()=>o=h(i,1,"prose svelte-11ua876",null,o,{table:s()==="table",gallery:s()==="gallery",selected:n()})),y(f,i),z(p)}export{B as default};
