import"./index.1e25aa14.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},n=new Error().stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="55dface2-ebcf-4fe9-99b9-4f9d5e1dffcf",e._sentryDebugIdIdentifier="sentry-dbid-55dface2-ebcf-4fe9-99b9-4f9d5e1dffcf")}catch{}})();const l=1e3,s=e=>{let n=null;return{startPolling:()=>{const t=async()=>{var f;try{!document.hidden&&!e.keepPollingOnOutOfFocus&&await e.task()}finally{n=setTimeout(t,(f=e.interval)!=null?f:l)}};t()},endPolling:()=>{n&&clearTimeout(n)}}};export{s as u};
//# sourceMappingURL=polling.d49a4a24.js.map
