import{aY as a,aZ as e,j as i,dJ as n}from"./index-ea7817a2.js";import{N as c}from"./NoData-8733f606.js";import{S as x,C as u}from"./StatisticsContent-3bf60bee.js";import{u as T,T as m}from"./TDPanel-4ae9ce95.js";import"./index-0443c26e.js";import"./StatisticsTables-d20123a2.js";import"./generateCategoricalChart-e28fa4a2.js";import"./index-43e7382e.js";import"./index-1c428bf7.js";import"./point-ea70dc51.js";import"./Deprecated-9bfe2e44.js";import"./TdFeatureGroupHandle-d5486ece.js";import"./FeatureGroupTypeBadge-0e65ce60.js";import"./FeaturesLayout-990a2693.js";import"./FilterResult-9d9dd7e5.js";import"./useFeatureFilters-c103b717.js";import"./utils-aedc41ca.js";import"./FeatureFilters-9d528cd7.js";import"./index-6ffd126a.js";import"./FileUploaderButton-495e1c87.js";import"./useDownload-09eaf3eb.js";import"./useCurrentProject-0132f110.js";import"./useProject-77619fff.js";import"./Panel-041c5d61.js";import"./CardActionButton-6aa39bc1.js";const k=()=>{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{k as default};
