import{c as l,e as d,f as m,h as x,g as p,a as t,i as c,o,F as i,k as u,t as a}from"./app-DE5EohoY.js";import{_ as f}from"./PublicLayout-DbteHrlL.js";import"./keyboard-Dv1rPSug.js";import"./transition-DGEEpog3.js";import"./focus-management-kdTTqDTv.js";import"./use-resolve-button-type-DXPQmTZV.js";import"./_plugin-vue_export-helper-DlAUqK2U.js";import"./ClockIcon-DItaisvz.js";import"./XMarkIcon-DP8qbKLL.js";import"./BanknotesIcon-F0qhSNAB.js";const g={class:"max-w-5xl mx-auto px-4 py-12"},_={class:"grid gap-6"},h={key:0,class:"text-center py-12 bg-white rounded-xl shadow-sm border border-slate-100"},b={class:"flex-shrink-0 w-full md:w-32 bg-slate-100 rounded-lg flex flex-col items-center justify-center p-4 text-center"},w={class:"text-sm font-bold text-slate-700 mt-2"},k={class:"text-xs text-slate-500"},v={class:"flex-grow"},y={class:"text-xl font-bold text-slate-800 mb-2"},A={class:"text-slate-600 mb-3 whitespace-pre-line"},B={class:"flex items-center gap-2 text-sm text-emerald-700 font-medium bg-emerald-50 inline-block px-3 py-1 rounded-full"},M={__name:"Agenda",props:{agendas:Array},setup(n){return(N,e)=>(o(),l(i,null,[d(m(x),{title:"Agenda Kegiatan"}),d(f,null,{default:p(()=>[e[3]||(e[3]=t("div",{class:"bg-emerald-700 pt-32 pb-16 text-center text-white"},[t("h1",{class:"text-4xl font-bold mb-4"},"Agenda Kegiatan"),t("p",{class:"text-emerald-100"},"Ikuti kegiatan bermanfaat di Masjid Al-Hidayah")],-1)),t("div",g,[t("div",_,[n.agendas.length===0?(o(),l("div",h,[...e[0]||(e[0]=[t("p",{class:"text-slate-500"},"Belum ada agenda kegiatan mendatang.",-1)])])):c("",!0),(o(!0),l(i,null,u(n.agendas,(s,r)=>(o(),l("div",{key:r,class:"bg-white rounded-xl shadow-md p-6 border-l-4 border-emerald-500 flex flex-col md:flex-row gap-6 hover:shadow-lg transition-shadow"},[t("div",b,[e[1]||(e[1]=t("span",{class:"text-2xl"},"📅",-1)),t("span",w,a(s.date),1),t("span",k,a(s.time),1)]),t("div",v,[t("h3",y,a(s.title),1),t("p",A,a(s.description),1),t("div",B,[e[2]||(e[2]=t("span",null,"📍",-1)),t("span",null,a(s.location),1)])])]))),128))])])]),_:1})],64))}};export{M as default};
