import{d as f,v as x,B as b,W as c,e as r,aG as h,J as y,k as e,c as C,g as n,a as k,h as B,aH as E,o as I,j as s,aI as g,K as w,aJ as D}from"./index-Bp1Bhxow.js";import{u as J}from"./usePageTitle-CccNdtFw.js";const V=f({__name:"Event",async setup(L){let a,o;const v=x(),u=b(),l=c("eventDate"),_=c("eventId"),m=r(()=>E(l.value)),d=h({startDate:m,eventId:[_.value]}),t=([a,o]=y(()=>v.events.getFirstEvent(d.value)),a=await a,o(),a),p=r(()=>[{text:"Event Feed",to:u.events()},{text:t.eventLabel}]);return J(`Event: ${t.eventLabel}`),(F,K)=>{const i=B("p-layout-default");return e(t)?(I(),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{V as default};
//# sourceMappingURL=Event-D9Y5e_tg.js.map
