PageSourceSearch

https://alliancy.fr/_nuxt/CidbVHK2.js

js alliancy.fr collected 2026-09-24 17:18:41 UTC 2,009 bytes, 1 lines download raw bytes

1import{_ as A}from"./DHOoXjBd.js";import{_ as B}from"./DHGbN52r.js";import{s as g,d as S,l as $,m as R,h as T,E as D,G as M,p as r,q as v,n as d,H,I as N,k as _,o as i,c as h,a as c,u as o,F as U,t as y,j as V,B as j,e as q}from"./BBsw3eGQ.js";import{i as G}from"./CF0zyXkr.js";import"./BNl9p8Q0.js";import"./BBUU_hT7.js";import"./oGq_4d4p.js";import"./BuwRzxah.js";import"./mPk1XEn8.js";function L(a,t){return{id:a.id,event:g(a.event,t),updatedAt:new Date(a.updated_at)}}const z={class:"container py-12"},J={class:"mx-auto max-w-2xl"},K={class:"mb-2 text-2xl font-bold"},O={class:"mb-8 text-surface"},rt=S({name:"CommunityEventInvitationPage",__name:"[invitationId]",async setup(a){let t,e;const{t:s}=$(),I=R(),w=T(),{userInfo:m,fetch:x}=D(),P=M(),E=I.params.invitationId,{data:u,error:C}=([t,e]=r(()=>v(`/invitations/${E}`,{transform:L})),t=await t,e(),t);if(C.value||!u.value)throw d({statusCode:404,statusMessage:"Invitation not found"});const{data:l,error:F}=([t,e]=r(()=>v(`/community/events/${u.value.event.id}`,{transform:g})),t=await t,e(),t);if(F.value||!l.value)throw d({statusCode:404,statusMessage:"Event not found"});const n=l.value;m.value?.profile&&([t,e]=r(()=>G(n)),t=await t,e(),t)&&([t,e]=r(()=>H(w({name:"community_event_form",params:N(n)}))),await t,e());const p=P.hub?.defaultPersonProfileTypeId,f=q(()=>!!m.value?.profile);return!f.value&&!p&&console.error("[CommunityEventInvitationPage] Missing `defaultPersonProfileTypeId` configuration — the profile creation form will not submit without it."),_({title:n.name?`${n.name} — ${s("eventForm.title")}`:s("eventForm.title")}),_({meta:[{name:"robots",content:"noindex, nofollow"}]}),(Q,W)=>{const b=A,k=B;return i(),h("div",z,[c("div",J,[o(f)?(i(),j(k,{key:1,event:o(n)},null,8,["event"])):(i(),h(U,{key:0},[c("h1",K,y(o(s)("eventForm.profileStep.title")),1),c("p",O,y(o(s)("eventForm.profileStep.subtitle")),1),V(b,{"profile-type-id":o(p),onSuccess:o(x)},null,8,["profile-type-id","onSuccess"])],64))])])}}});export{rt 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.