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