import{aX as a,aY as e,j as i,dF as n}from"./index-d6499a22.js";import{N as c}from"./NoData-789df290.js";import{S as x,C as u}from"./StatisticsContent-88ec2161.js";import{u as T,T as m}from"./TDPanel-3ba2fa27.js";import"./index-620add9c.js";import"./StatisticsTables-f4036ad4.js";import"./generateCategoricalChart-1633db29.js";import"./index-ddf2d065.js";import"./index-038a72d6.js";import"./point-ea70dc51.js";import"./Deprecated-ec8916ed.js";import"./TdFeatureGroupHandle-84d5ab3b.js";import"./FeatureGroupTypeBadge-0a81479c.js";import"./FeaturesLayout-e0d1f0d6.js";import"./FilterResult-550b3b9f.js";import"./useFeatureFilters-659d6dec.js";import"./utils-2cbbb028.js";import"./FeatureFilters-d7ede7cc.js";import"./useQueryParam-5b0284e3.js";import"./index-6716d449.js";import"./FileUploaderButton-c4f1b533.js";import"./useDownload-7167ff3b.js";import"./useCurrentProject-b23444be.js";import"./useProject-0d0fdeb3.js";import"./Panel-b19e8cc0.js";import"./CardActionButton-ccf1bc35.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};
