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