import './async-D55cHugf.js';
import { c as spread_props, f as attr_class } from './index-u8mz_F03.js';
import './2-BLdXJizP.js';
import { $ } from './utils.svelte-B2py64Fz.js';
import { K } from './Index.svelte_svelte_type_style_lang2-D59k2DMS.js';
import { W } from './index3-Df92vI-L.js';
import { G as G$1 } from './Block-DZmzQwnI.js';
import { u } from './ScrollFade-Yfqlww91.js';
export { default as BaseExample } from './Example7-DQRo7Gao.js';
import './escaping-CBnpiEl5.js';
import './context-CBkBucIx.js';
import './index5-BoOEKc6P.js';
import './dev-fallback-Bc5Ork7Y.js';
import './index-Cg-Pg6j3.js';
import './clone-Yk88IHKV.js';
import './Check-C7_ZsXgh.js';
import './Copy-B8YOhH7c.js';
import './IconButton-BRnu7KaR.js';
import './IconButtonWrapper-CjFRPb3y.js';
import './MarkdownCode-DLHRxFlS.js';
import './prism-python--2v-p3P4.js';
import './index50-G3WrDDFf.js';
import 'path';
import 'url';
import 'fs';
import './html-CfyvkLET.js';
import './Clear-D7Yjckqz.js';

function G(t,o){t.component(i=>{let{$$slots:c,$$events:u$1,...r}=o;const s=new $(r);let l=false;G$1(i,{visible:s.shared.visible,elem_id:s.shared.elem_id,elem_classes:s.shared.elem_classes,container:s.shared.container,allow_overflow:true,overflow_behavior:"auto",height:s.props.height,min_height:s.props.min_height,max_height:s.props.max_height,rtl:s.props.rtl,children:a=>{W(a,spread_props([{autoscroll:s.shared.autoscroll,i18n:s.i18n},s.shared.loading_status,{variant:"center",on_clear_status:()=>s.dispatch("clear_status",s.shared.loading_status)}])),a.push(`<!----> <div data-testid="markdown-wrapper"${attr_class("svelte-16ln60g",void 0,{padding:s.shared.padding,pending:s.shared.loading_status?.status==="pending"&&s.shared.loading_status?.show_progress!=="hidden"})}>`),K(a,{value:s.props.value,elem_classes:s.shared.elem_classes,visible:s.shared.visible,rtl:s.props.rtl,onchange:()=>s.dispatch("change"),oncopy:p=>s.dispatch("copy",p.detail),latex_delimiters:s.props.latex_delimiters,sanitize_html:s.props.sanitize_html,line_breaks:s.props.line_breaks,header_links:s.props.header_links,show_copy_button:s.props.buttons?.includes("copy"),loading_status:s.shared.loading_status,theme_mode:s.shared.theme_mode}),a.push("<!----></div> "),u(a,{visible:l}),a.push("<!---->");},$$slots:{default:true}});});}

export { K as BaseMarkdown, G as default };
//# sourceMappingURL=Index12-BreooZPb.js.map
