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