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