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