"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[551],{60551:(e,l,t)=>{t.r(l),t.d(l,{useCalendarNotificationStore:()=>d});var a=t(1934),r=t(31692);let d=(0,a.v)()((0,r.Zr)((e,l)=>({acknowledgedAlerts:{},acknowledgeAlert:(l,t)=>{e(e=>({acknowledgedAlerts:{...e.acknowledgedAlerts,[l]:t}}))},isAcknowledged:e=>e in l().acknowledgedAlerts,cleanupStaleAlerts:()=>{let t=Date.now();e({acknowledgedAlerts:Object.fromEntries(Object.entries(l().acknowledgedAlerts).filter(([,e])=>t-e<864e5))})},clearAll:()=>{e({acknowledgedAlerts:{}})}}),{name:"calendar-notification-storage",partialize:e=>({acknowledgedAlerts:e.acknowledgedAlerts})}))}}]);