"use strict";exports.id=579,exports.ids=[579],exports.modules={10579:(a,b,c)=>{c.r(b),c.d(b,{useCalendarNotificationStore:()=>f});var d=c(31417),e=c(300);let f=(0,d.v)()((0,e.Zr)((a,b)=>({acknowledgedAlerts:{},acknowledgeAlert:(b,c)=>{a(a=>({acknowledgedAlerts:{...a.acknowledgedAlerts,[b]:c}}))},isAcknowledged:a=>a in b().acknowledgedAlerts,cleanupStaleAlerts:()=>{let c=Date.now();a({acknowledgedAlerts:Object.fromEntries(Object.entries(b().acknowledgedAlerts).filter(([,a])=>c-a<864e5))})},clearAll:()=>{a({acknowledgedAlerts:{}})}}),{name:"calendar-notification-storage",partialize:a=>({acknowledgedAlerts:a.acknowledgedAlerts})}))}};