import{u as i}from"./DsNA9-h5.js";import{cG as r,cA as m,ch as p,O as v}from"#entry";import{u as d}from"./Clw9ztwl.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};
