import{d as f,f as x,g as b,W as c,i as r,aG as y,L as C,m as e,c as D,j as n,a as I,k as h,aH as k,o as w,l as s,aI as E,Z as g,aJ as L}from"./index-CcVNxLw9.js";import{u as W}from"./usePageTitle-B0-KYjWV.js";const j=f({__name:"Event",async setup(B){let a,o;const v=x(),l=b(),u=c("eventDate"),_=c("eventId"),m=r(()=>k(u.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:l.events()},{text:t.eventLabel}]);return W(`Event: ${t.eventLabel}`),(F,N)=>{const i=h("p-layout-default");return e(t)?(w(),D(i,{key:0,class:"event"},{header:n(()=>[s(e(g),{crumbs:p.value},{actions:n(()=>[s(e(E),{event:e(t)},null,8,["event"])]),_:1},8,["crumbs"])]),default:n(()=>[s(e(L),{event:e(t)},null,8,["event"])]),_:1})):I("",!0)}}});export{j as default};
//# sourceMappingURL=Event-BLrgQuDb.js.map
