import{u as p,g4 as G,eb as h,bH as D,r as S}from"./index-46ma1THH.js";const m=(e,a,t)=>{const{computationTime:s}=p(),{currentData:o}=G({fsId:t}),{currentData:c,isFetching:r,refetch:i}=h({pId:e,fsId:t,fgId:a}),u=D(),n=S.useCallback(()=>{u.featureGroupStatistics.clear(),i(),o&&t&&!r&&u.featureGroupStatistics.fetch({projectId:+e,featureStoreId:t,featureGroupId:+a,computationTime:s})},[u.featureGroupStatistics,i,o,t,r,e,a,s]);return{data:c,isLoading:r||!c,fetchData:n}};export{m as u};
