const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./PlotlyPlot-Dg2-NYRI.js","./i18n-Dnhn5Rxr.js","./index-DWyDLubb.js","./index-CyHPbdIk.css","./i18n-9kYrHpuJ.css","./BokehPlot-BBQZH3vU.js","./BokehPlot-DTqQzqHn.css","./MatplotlibPlot-B9p5biLs.js","./MatplotlibPlot-DvS6m0KD.css","./AltairPlot-Cj80tEjo.js","./color-DNxsOKs1.js","./mollweide-XXUPULVr.js","./ordinal-BeghXfj9.js","./init-Dmth1JHB.js","./linear-8mDBZVC7.js","./step-B-Gbak1k.js","./defaultLocale-CzDG__Ur.js","./time-BMaLdJ6b.js","./dispatch-kxCwF96_.js","./range-OtVwhkKS.js","./index-BU4IRnz1.js","./colors-Cc3OSVma.js","./dsv-DB8NKgIY.js","./arc-Bt_eNeYl.js","./AltairPlot-Dp2S7wtT.css"])))=>i.map(i=>d[i]);
import{a as n,f as M,R as O,y as R,z as A,x as a,w as r,a6 as f,S as d,T as V,u as i,af as c}from"./index-DWyDLubb.js";import{i as D}from"./i18n-Dnhn5Rxr.js";import{k as I}from"./key-Xd_8JrI4.js";import{c as z}from"./ScrollFade.svelte_svelte_type_style_lang-DPHOQHBm.js";import{b as S}from"./misc-vsnLZ-Y1.js";import{E as j}from"./Empty-BIB2W5at.js";var H=M('<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" aria-hidden="true" role="img" class="iconify iconify--carbon" width="100%" height="100%" preserveAspectRatio="xMidYMid meet" viewBox="0 0 32 32"><circle cx="20" cy="4" r="2" fill="currentColor"></circle><circle cx="8" cy="16" r="2" fill="currentColor"></circle><circle cx="28" cy="12" r="2" fill="currentColor"></circle><circle cx="11" cy="7" r="2" fill="currentColor"></circle><circle cx="16" cy="24" r="2" fill="currentColor"></circle><path fill="currentColor" d="M30 3.413L28.586 2L4 26.585V2H2v26a2 2 0 0 0 2 2h26v-2H5.413Z"></path></svg>');function B(s){var e=H();n(s,e)}function Y(s,e){O(e,!0);let l=i(null),v=i(!1),_=i(0);const g={plotly:()=>c(()=>import("./PlotlyPlot-Dg2-NYRI.js"),__vite__mapDeps([0,1,2,3,4]),import.meta.url),bokeh:()=>c(()=>import("./BokehPlot-BBQZH3vU.js"),__vite__mapDeps([5,1,2,3,4,6]),import.meta.url),matplotlib:()=>c(()=>import("./MatplotlibPlot-B9p5biLs.js"),__vite__mapDeps([7,1,2,3,4,8]),import.meta.url),altair:()=>c(()=>import("./AltairPlot-Cj80tEjo.js"),__vite__mapDeps([9,1,2,3,4,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24]),import.meta.url)};let u={};const w=typeof window<"u";let p=i(null);R(()=>{let t=e.value?.type;A(()=>{a(_,r(_)+1),t!==r(p)&&a(l,null),t&&t in g&&w&&(u[t]?a(l,u[t],!0):g[t]().then(o=>{a(l,o.default,!0),u[t]=r(l)})),a(p,t,!0)}),e.on_change()});var h=f(),x=d(h);{var P=t=>{var o=f(),y=d(o);I(y,()=>r(_),E=>{var b=f(),T=d(b);z(T,()=>r(l),(C,L)=>{L(C,{get value(){return e.value},colors:[],get theme_mode(){return e.theme_mode},get show_label(){return e.show_label},get caption(){return e.caption},get bokeh_version(){return e.bokeh_version},get show_actions_button(){return e.show_actions_button},get _selectable(){return e._selectable},get x_lim(){return e.x_lim},get loaded_plotly_css(){return r(v)},set loaded_plotly_css(m){a(v,m,!0)},$$events:{select(m){S.call(this,e,m)}}})}),n(E,b)}),n(t,o)},k=t=>{j(t,{unpadded_box:!0,size:"large",children:(o,y)=>{B(o)},$$slots:{default:!0}})};D(x,t=>{e.value&&r(l)?t(P):t(k,!1)})}n(s,h),V()}const N=Object.freeze(Object.defineProperty({__proto__:null,default:Y},Symbol.toStringTag,{value:"Module"}));export{B as P,Y as a,N as b};
