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