import{u as i}from"./D96dsyvB.js";import{K as r,L as m,N as p,i as v}from"#entry";import{u as d}from"./CzzGYI2c.js";const y=()=>{const e=i(),u=r("settings"),n=m(),t=r("params",()=>({show_recurrent:u.value.recurrent_event_visible,start:e.startMonth(e.currentYear(),e.currentMonth()),query:n.query?.query})),{data:s,pending:a,refresh:o}=p("/api/events",{query:t,dedupe:"defer"},"$BJ5cMdaLtK"),c=v(()=>d(s?.value??[]));return{params:t,events:s,attributes:c,refresh:o,pending:a}};export{y as u};
