import{i as r}from"./main.chunk.N-eZ2ybB.js";function t(t,{Loading:n,Error:e,Empty:o,EmptyResult:s,Success:i}){if(t.isLoading)return n;if(t.isError)return"function"==typeof e?e(t.error):e;const u=t.data;if((!r(u?.overall)||0===u.overall)&&o)return o;return i(t,(!r(u?.results)||0===u.results.length)&&s?s:null)}export{t as m};
