import './async-Djx13DAD.js';
import { b as spread_props } from './index-B7gr0Dsc.js';
import './2-CeYbpaU1.js';
import { g } from './utils.svelte-D8Xdzglu.js';
import { J, P } from './JSON-tGH46T_l.js';
import { G } from './Block-2-03Azgw.js';
import './MarkdownCode.svelte_svelte_type_style_lang-DJRtJayx.js';
import { k } from './BlockLabel-DYKzuObf.js';
import { R } from './index3-DONAw0dG.js';
import './escaping-CBnpiEl5.js';
import './context-BZS6UlnY.js';
import './uneval-DjLoL4oF.js';
import './clone-BLo8hHdj.js';
import './index5-BoOEKc6P.js';
import './dev-fallback-Bc5Ork7Y.js';
import './Check-THd8EJll.js';
import './Copy-DNPvPwdp.js';
import './IconButton-7VBZdgpA.js';
import './Empty-uaeWNu3s.js';
import './IconButtonWrapper-DlgTGGi-.js';
import './prism-python-BaDPvmdn.js';
import './spring-DyDQVd5U.js';
import './Clear-CiR-WD8W.js';

function I(a,e){a.component(i=>{const{$$slots:d,$$events:b,...p}=e,s$1=new g(p);s$1.props.value;let l=0;G(i,{visible:s$1.shared.visible,test_id:"json",elem_id:s$1.shared.elem_id,elem_classes:s$1.shared.elem_classes,container:s$1.shared.container,scale:s$1.shared.scale,min_width:s$1.shared.min_width,padding:false,allow_overflow:true,overflow_behavior:"auto",height:s$1.props.height,min_height:s$1.props.min_height,max_height:s$1.props.max_height,children:o=>{o.push("<div>"),s$1.shared.label?(o.push("<!--[-->"),k(o,{Icon:J,show_label:s$1.shared.show_label,label:s$1.shared.label,float:false,disable:s$1.shared.container===false})):o.push("<!--[!-->"),o.push("<!--]--></div> "),R(o,spread_props([{autoscroll:s$1.shared.autoscroll,i18n:s$1.i18n},s$1.shared.loading_status,{on_clear_status:()=>s$1.dispatch("clear_status",s$1.shared.loading_status)}])),o.push("<!----> "),P(o,{value:s$1.props.value,open:s$1.props.open,theme_mode:s$1.props.theme_mode,show_indices:s$1.props.show_indices,show_copy_button:s$1.props.buttons==null?true:s$1.props.buttons.some(t=>typeof t=="string"&&t==="copy"),buttons:s$1.props.buttons,on_custom_button_click:t=>{s$1.dispatch("custom_button_click",{id:t});},label_height:l}),o.push("<!---->");},$$slots:{default:true}});});}

export { P as BaseJSON, I as default };
//# sourceMappingURL=Index13-q4NBLUxG.js.map
