import{d as f,e as b,V as x,W as c,g as r,aD as h,H as y,k as e,c as C,h as n,a as E,i as k,aE as D,o as V,j as s,aF as g,Z as w,aG as F}from"./index-B5elPXvm.js";import{u as I}from"./usePageTitle-c6xxeh_y.js";const W=f({__name:"Event",async setup(Z){let a,o;const u=b(),v=x(),l=c("eventDate"),_=c("eventId"),m=r(()=>D(l.value)),p=h({startDate:m,eventId:[_.value]}),t=([a,o]=y(()=>u.events.getFirstEvent(p.value)),a=await a,o(),a),d=r(()=>[{text:"Event Feed",to:v.events()},{text:t.eventLabel}]);return I(`Event: ${t.eventLabel}`),(j,B)=>{const i=k("p-layout-default");return e(t)?(V(),C(i,{key:0,class:"event"},{header:n(()=>[s(e(w),{crumbs:d.value},{actions:n(()=>[s(e(g),{event:e(t)},null,8,["event"])]),_:1},8,["crumbs"])]),default:n(()=>[s(e(F),{event:e(t)},null,8,["event"])]),_:1})):E("",!0)}}});export{W as default};
//# sourceMappingURL=Event-SmtmwjzA.js.map
