import{bx as p,by as e,j as i,ef as n,bT as c}from"./index-Cc-6WbPt.js";import{S as x,C as u}from"./StatisticsContent-BtaCsjfF.js";import{u as T,T as m}from"./TDPanel-DRqXphn5.js";import"./index-BPF_whuQ.js";import"./StatisticsTables-rKXkEYeG.js";import"./randomArrayString---X8tfjV.js";import"./generateCategoricalChart-8n_1qaxs.js";import"./bump-BmRQ39WQ.js";import"./linear-Fo8SwKqx.js";import"./string-CFFdVFMV.js";import"./max-DBeXZoyG.js";import"./BarChart-BKh16QjM.js";import"./Deprecated-BleiYoSW.js";import"./TdFeatureGroupHandle-CboaakWl.js";import"./FeatureGroupTypeBadge-gEAI1mzE.js";import"./useFeatureFilters-CUzwpXiy.js";import"./FeaturesLayout-RJ74U3un.js";import"./FilterResult-XzfQEEq5.js";import"./sort-BOLIcXtz.js";import"./FeatureFilters-B9d45TTA.js";import"./min-CZ7D4Cve.js";import"./Panel-BCZwmXoJ.js";const k=()=>{const s=T(),{statistics:r,trainingDataset:t,fv:o,isFetching:a}=s;return p(`${e.statistics} ${(t==null?void 0:t.name)??"Training data"}`),a?i.jsx(m,{...s}):i.jsxs(i.Fragment,{children:[i.jsx(m,{...s}),r?i.jsx(x,{data:{...t,features:(o==null?void 0:o.features)??[]},type:n.td,statistics:r}):i.jsx(c,{mainText:`No statistics available for Training Data v${t==null?void 0:t.version}`,children:i.jsx(u,{})})]})};export{k as default};
