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