import{c as s,e as h,f as m,h as _,g as x,a as t,i as u,o,F as d,k as n,t as l}from"./app-DE5EohoY.js";import{_ as p}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 f={class:"max-w-6xl mx-auto px-4 py-12"},g={class:"flex flex-col items-center space-y-12"},b={key:0,class:"w-full max-w-sm"},v={class:"h-32 bg-emerald-50 relative"},w={class:"absolute -bottom-12 left-1/2 transform -translate-x-1/2"},k=["src","alt"],y={class:"pt-16 pb-6 px-6 text-center"},j={class:"text-xl font-bold text-slate-900"},I={class:"text-emerald-600 font-medium"},S={key:1,class:"grid grid-cols-1 md:grid-cols-2 gap-8 w-full max-w-3xl"},B=["src","alt"],D={class:"font-bold text-slate-800"},K={class:"text-emerald-600 text-sm font-medium"},M={class:"w-full"},P={class:"grid grid-cols-1 md:grid-cols-2 lg:grid-cols-4 gap-6"},V={key:0,class:"bg-white rounded-xl shadow p-6 hover:shadow-lg transition-shadow"},C={class:"font-bold text-emerald-700 mb-4 border-b border-slate-100 pb-2"},F={class:"space-y-4"},A=["src","alt"],E={class:"text-sm font-bold text-slate-800"},H={class:"text-xs text-slate-500"},U={__name:"Struktur",props:{committee:Object},setup(a){return(L,r)=>(o(),s(d,null,[h(m(_),{title:"Struktur Pengurus DKM"}),h(p,null,{default:x(()=>[r[1]||(r[1]=t("div",{class:"bg-emerald-700 pt-32 pb-16 text-center text-white"},[t("h1",{class:"text-4xl font-bold mb-4"},"Struktur Pengurus DKM"),t("p",{class:"text-emerald-100"},"Dewan Kemakmuran Masjid Al-Hidayah Periode 2024-2027")],-1)),t("div",f,[t("div",g,[a.committee.Inti?(o(),s("div",b,[(o(!0),s(d,null,n(a.committee.Inti.filter(e=>e.order===1),e=>(o(),s("div",{key:e.id,class:"bg-white rounded-2xl shadow-xl overflow-hidden border-t-8 border-emerald-600"},[t("div",v,[t("div",w,[t("img",{src:e.photo_url,alt:e.name,class:"w-24 h-24 rounded-full border-4 border-white shadow-md object-cover"},null,8,k)])]),t("div",y,[t("h3",j,l(e.name),1),t("p",I,l(e.position),1)])]))),128))])):u("",!0),a.committee.Inti?(o(),s("div",S,[(o(!0),s(d,null,n(a.committee.Inti.filter(e=>e.order>1),e=>(o(),s("div",{key:e.id,class:"bg-white rounded-xl shadow-lg p-6 border border-slate-100 flex items-center gap-4"},[t("img",{src:e.photo_url,alt:e.name,class:"w-16 h-16 rounded-full border-2 border-slate-100 object-cover"},null,8,B),t("div",null,[t("h4",D,l(e.name),1),t("p",K,l(e.position),1)])]))),128))])):u("",!0),t("div",M,[r[0]||(r[0]=t("h3",{class:"text-2xl font-bold text-center text-slate-800 mb-8"},"Bidang & Seksi",-1)),t("div",P,[(o(!0),s(d,null,n(a.committee,(e,c)=>(o(),s(d,{key:c},[c!=="Inti"?(o(),s("div",V,[t("h4",C,l(c),1),t("div",F,[(o(!0),s(d,null,n(e,i=>(o(),s("div",{key:i.id,class:"flex items-center gap-3"},[t("img",{src:i.photo_url,alt:i.name,class:"w-10 h-10 rounded-full bg-slate-100 object-cover"},null,8,A),t("div",null,[t("div",E,l(i.name),1),t("div",H,l(i.position),1)])]))),128))])])):u("",!0)],64))),128))])])])])]),_:1})],64))}};export{U as default};
