import{o as r}from"./rolldown-runtime-iuO8RvI4.js";import{At as t,It as e}from"./vendor-all-0-fRSUBfCr.js";import{Mi as s}from"./vendor-frame-CwiylG4Y.js";var o=r(s(),1);function a(r,s){const a=t(s),n=a.getQueryCache();return o.useSyncExternalStore(o.useCallback(r=>n.subscribe(e.batchCalls(r)),[n]),()=>a.isFetching(r),()=>a.isFetching(r))}export{a as t};