import{aX as a,aY as e,j as i,dF as n}from"./index-4a12e52c.js";import{N as c}from"./NoData-430a62e8.js";import{S as x,C as u}from"./StatisticsContent-7875018f.js";import{u as T,T as m}from"./TDPanel-554840be.js";import"./index-539818b3.js";import"./StatisticsTables-efa2bf60.js";import"./generateCategoricalChart-243e9fb9.js";import"./index-91a459dc.js";import"./index-e10b6a93.js";import"./point-ea70dc51.js";import"./Deprecated-f408f795.js";import"./TdFeatureGroupHandle-f46bb0aa.js";import"./FeatureGroupTypeBadge-15dd5814.js";import"./FeaturesLayout-7b46329c.js";import"./FilterResult-127dcdca.js";import"./useFeatureFilters-da4ec062.js";import"./utils-2cbbb028.js";import"./FeatureFilters-418593c0.js";import"./useQueryParam-26b0a3b9.js";import"./index-5e7fe491.js";import"./FileUploaderButton-546aa096.js";import"./useDownload-e87fcc63.js";import"./useCurrentProject-9bb1c6a4.js";import"./useProject-04893095.js";import"./Panel-0ad7afe5.js";import"./CardActionButton-e444b6e2.js";const z=()=>{const o=T(),{statistics:s,trainingDataset:t,fv:r,isFetching:p}=o;return a(`${e.statistics} ${(t==null?void 0:t.name)??"Training data"}`),p?i.jsx(m,{...o}):i.jsxs(i.Fragment,{children:[i.jsx(m,{...o}),s?i.jsx(x,{data:{...t,features:(r==null?void 0:r.features)??[]},type:n.td,statistics:s}):i.jsx(c,{mainText:`No statistics available for Training Data v${t==null?void 0:t.version}`,children:i.jsx(u,{})})]})};export{z as default};
