import{bw as e,bx as p,j as i,ee as n,bS as c}from"./index-46ma1THH.js";import{S as x,C as u}from"./StatisticsContent-CpSklm6W.js";import{u as T,T as m}from"./TDPanel-Cldbp_M_.js";import"./index-Dp4ot73A.js";import"./StatisticsTables-C8cLXJBs.js";import"./randomArrayString---X8tfjV.js";import"./generateCategoricalChart-ysjj5Swo.js";import"./bump-BmRQ39WQ.js";import"./linear-Fo8SwKqx.js";import"./string-CFFdVFMV.js";import"./max-DBeXZoyG.js";import"./Deprecated-CcWZugSq.js";import"./TdFeatureGroupHandle-DNdFQDy0.js";import"./FeatureGroupTypeBadge-DK0B-B3q.js";import"./useFeatureFilters-DTSd2vm9.js";import"./FeaturesLayout-C2iMigz-.js";import"./FilterResult-CWV4237e.js";import"./sort-BOLIcXtz.js";import"./FeatureFilters-BE0wmtut.js";import"./min-C0KmOMTA.js";import"./Panel-CnxQ3Lqy.js";const R=()=>{const s=T(),{statistics:r,trainingDataset:t,fv:o,isFetching:a}=s;return e(`${p.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{R as default};
