PageSourceSearch

https://boomingencore.com/_nuxt/cw9HrNUm.js

js boomingencore.com collected 2026-09-28 08:23:35 UTC 7,167 bytes, 1 lines download raw bytes

1import{d as x,l as w,M as N,o,c as u,j as f,N as F,a as _,t as g,u as s,h as P,B as y,O as H,w as D,f as M,e as z,I as U,P as q,E as G,Q as J,F as T,K as V,b as k,x as L,R as ee,m as te,p as I,S as ne,q as se,s as oe,n as ae,H as re,U as S,V as ie,k as O,W as j,X as ce,Y as le,Z as me}from"./B5CFlgYr.js";import{_ as ue,a as de,b as _e,c as pe,d as fe,e as ve}from"./Dfm4QjSv.js";import{i as ge}from"./HePZhFlY.js";import"./Ci8q__c0.js";import"./Db5afOfm.js";import"./BWAq-MjC.js";const ye={class:"event-date-info flex items-center gap-3 text-surface text-md"},he={class:"font-bold"},xe={key:0},ke={key:1},be=x({name:"EventDateInfo",__name:"EventDateInfo",props:{startsAt:{},endsAt:{},isAllDay:{type:Boolean}},setup(e){const t=e,{t:a}=w(),{formatDateRange:l,formatTimeRange:c}=N(),p=l(t.startsAt,t.endsAt,t.isAllDay),r=t.isAllDay?null:c(t.startsAt,t.endsAt);return(d,m)=>{const v=F;return o(),u("div",ye,[f(v,{class:"flex h-12 w-12 shrink-0 flex-col items-center justify-center"}),_("div",null,[_("p",he,g(s(p)),1),s(r)?(o(),u("p",xe,g(s(r)),1)):(o(),u("p",ke,g(s(a)("community.allDay")),1))])])}}}),Ee=Object.assign(be,{__name:"EventDateInfo"}),Re=x({name:"EventUnregisterLink",__name:"EventUnregisterLink",props:{event:{}},setup(e){const t=e,a=P(),l=z(()=>a({name:"community_event_unregister",params:U(t.event)}));return(c,p)=>{const r=H;return o(),y(r,{to:s(l),class:"event-unregister-link"},{default:D(()=>[M(c.$slots,"default")]),_:3},8,["to"])}}}),De=Object.assign(Re,{__name:"EventUnregisterLink"}),we=x({name:"EventRegisterLink",__name:"EventRegisterLink",props:{event:{}},setup(e){const t=e,a=P(),l=z(()=>a({name:"community_event_form",params:U(t.event)}));return(c,p)=>{const r=H;return o(),y(r,{to:s(l),class:"event-register-link"},{default:D(()=>[M(c.$slots,"default")]),_:3},8,["to"])}}}),$e=Object.assign(we,{__name:"EventRegisterLink"}),Ae={key:1},Le=x({name:"EventRegistrationButton",__name:"EventRegistrationButton",props:{event:{}},setup(e){const{t}=w(),{isEnabled:a}=q(),l=a("event-registration"),{userInfo:c}=G(),p=e,r=L(!1),d=L(!1),m=L(!1);async function v(){d.value=!0,m.value=!1;try{r.value=await ge(p.event)}finally{d.value=!1,m.value=!0}}return J(()=>c.value?.profile,n=>{n?v():r.value=!1},{immediate:!0}),(n,b)=>{const i=De,h=$e;return s(l)?(o(),u(T,{key:0},[!s(c)?.profile||s(m)?(o(),u(T,{key:0},[s(r)?(o(),y(i,{key:0,event:e.event,class:"event-registration-button block h-12 w-full rounded-xl bg-primary px-4 py-3 text-center font-semibold leading-6 text-surface transition-opacity hover:opacity-90"},{default:D(()=>[V(g(s(t)("community.unregister")),1)]),_:1},8,["event"])):(o(),y(h,{key:1,event:e.event,class:"event-registration-button block h-12 w-full rounded-xl bg-primary px-4 py-3 text-center font-semibold leading-6 text-surface transition-opacity hover:opacity-90"},{default:D(()=>[V(g(s(t)("community.register")),1)]),_:1},8,["event"]))],64)):k("",!0)],64)):(o(),u("div",Ae))}}}),Ie=Object.assign(Le,{__name:"EventRegistrationButton"}),Pe={class:"grid gap-6 lg:grid-cols-3 lg:gap-8"},Ue={class:"block order-last space-y-6"},Ce=["href"],Be={class:"text-sm font-medium"},Te={class:"space-y-6 lg:col-span-2"},Ve={class:"overflow-hidden rounded-xl bg-card"},Se={class:"w-full overflow-hidden bg-surface/5"},Oe={class:"space-y-3 p-4 lg:p-6"},je={class:"text-2xl font-bold leading-tight tracking-tight text-surface lg:text-3xl"},Ne=["innerHTML"],Fe=x({name:"CommunityProfileViewerDefaultEventViewer",__name:"DefaultEventViewer",props:{profile:{}},setup(e){const{t}=w(),{isEnabled:a}=q(),l=a("event-registration");return(c,p)=>{const r=Ee,d=ue,m=Ie,v=F,n=de,b=ee,i=_e,h=pe;return o(),u("div",Pe,[_("div",Ue,[f(r,{"starts-at":e.profile.startsAt,"ends-at":e.profile.endsAt,"is-all-day":e.profile.isAllDay,class:"rounded-lg bg-secondary p-4"},null,8,["starts-at","ends-at","is-all-day"]),f(d,{categories:e.profile.categories,class:"rounded-xl bg-card p-4 lg:p-6"},null,8,["categories"]),s(l)&&!e.profile.subscriptionURL?(o(),y(m,{key:0,event:e.profile},null,8,["event"])):k("",!0),e.profile.subscriptionURL?(o(),u("a",{key:1,href:e.profile.subscriptionURL,target:"_blank",rel:"noopener noreferrer",class:"flex items-center gap-3 rounded-xl bg-card p-4 transition-colors hover:bg-primary hover:text-white"},[f(v,{class:"size-5 shrink-0"}),_("span",Be,g(s(t)("community.registerToThisEvent")),1)],8,Ce)):k("",!0),f(n,{address:e.profile.address,contact:e.profile.contact,"profile-type":e.profile.profileType,class:"rounded-xl bg-card p-4 lg:p-6"},null,8,["address","contact","profile-type"])]),_("div",Te,[_("div",Ve,[_("div",Se,[e.profile.coverImageURL?(o(),y(b,{key:0,src:e.profile.coverImageURL,alt:e.profile.name??"",fit:"contain",size:"hd"},null,8,["src","alt"])):(o(),y(i,{key:1}))]),_("div",Oe,[_("h1",je,g(e.profile.name),1),e.profile.summaryHtml?(o(),u("div",{key:0,class:"prose prose-sm max-w-none text-surface",innerHTML:e.profile.summaryHtml},null,8,Ne)):k("",!0),f(h,{blocks:e.profile.description?.blocks,class:"border-t border-surface/10 pt-4 lg:pt-6"},null,8,["blocks"])])])])])}}}),He=Object.assign(Fe,{__name:"CommunityProfileViewerDefaultEventViewer"}),Me={key:0,class:"container py-8"},Ye=x({name:"CommunityEventDetailPage",__name:"[eventId]",async setup(e){let t,a;const l=He,{t:c}=w(),{formatDateRange:p,formatTimeRange:r}=N(),d=P(),m=te(),{media:v}=([t,a]=I(()=>ne()),t=await t,a(),t),{data:n,error:b}=([t,a]=I(()=>se(`/community/events/${m.params.eventId}`,{transform:oe})),t=await t,a(),t);
1if(b.value||!n.value)throw ae({statusCode:404,statusMessage:"Event not found"});m.params.year||([t,a]=I(()=>re(d({name:"community_event",params:U(n.value)}),{replace:!0})),await t,a());const i=n.value.address,h=i?[i.city,i.state,i.country].filter(Boolean).join(", "):null,K=p(n.value.startsAt,n.value.endsAt,n.value.isAllDay),Q=n.value.isAllDay?null:r(n.value.startsAt,n.value.endsAt),E=S(n.value.name)??"",W=[K,Q||c("community.allDay"),h,n.value.summaryText].filter(Boolean),$=S(W.join(" — ")),A=n.value.profileImageURL||null,C=X(n.value);function X(R){if(R.canonicalUrl)return R.canonicalUrl;const B=d({name:"community_events",params:{year:void 0,month:void 0,day:void 0}});return new URL(`${B}/${R.id}`,ie().url).href}return O({title:E,meta:[{property:"og:title",content:E},{name:"description",content:$},{property:"og:description",content:$},{property:"og:url",content:C}]}),O({link:[{rel:"canonical",href:C}]}),A?j({}):j({}),ce([le({name:E,description:$,startDate:n.value.startsAt.toISOString(),endDate:n.value.endsAt.toISOString(),...A&&{image:A},...i&&{location:{"@type":"Place",name:h,address:{"@type":"PostalAddress",streetAddress:i.street||void 0,addressLocality:i.city||void 0,addressRegion:i.state||void 0,addressCountry:i.country||void 0}}}}),me({itemListElement:[{name:v.value?.displayName||"Home",item:"/"},{name:c("events.title"),item:d({name:"community_events"})},{name:E}]})]),(R,B)=>{const Y=fe,Z=ve;return s(n)?(o(),u("div",Me,[f(Y,{profile:s(n),"profile-kind":"event","profile-type":s(n).profileType?.key,fallback:s(l)},null,8,["profile","profile-type","fallback"]),f(Z,{"profile-type":"events","profile-id":s(m).params.eventId,class:"mt-8"},null,8,["profile-id"])])):k("",!0)}}});export{Ye as default};

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.