import{i as e}from"./chunk-B3pr0VN8.js";import{n as t}from"./jsx-runtime-wTfS3W87.js";import{a as n,d as r,i,l as a,m as o}from"./taskStore-CaAgSklI.js";var s=e(t(),1);function c(){return(0,s.useSyncExternalStore)(o,r,r)}function l(e){return(0,s.useSyncExternalStore)(o,()=>a(e),()=>void 0)}function u(){return(0,s.useSyncExternalStore)(o,()=>{let e=n(),t=i();return d.unseenDone===e&&d.running===t?d:d={unseenDone:e,running:t}},()=>d)}var d={unseenDone:0,running:0};export{u as n,l as r,c as t};