PageSourceSearch

https://geovelo.app/component---src-pages-communities-invites-[code]-index-es-tsx-bc24456f4f0fc7c617a1.js

js geovelo.app collected 2026-09-24 09:51:01 UTC 3,593 bytes, 1 lines download raw bytes

1try{!function(){var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="cb5cd1c9-e94c-4be1-968e-ca5acd317a2b",e._sentryDebugIdIdentifier="sentry-dbid-cb5cd1c9-e94c-4be1-968e-ca5acd317a2b")}()}catch(e){}!function(){try{("undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{}).SENTRY_RELEASE={id:"1a8adf42d44ed541b19a17a483e7c1104aabf013"}}catch(e){}}(),(self.webpackChunk_geovelo_frontends_geovelo=self.webpackChunk_geovelo_frontends_geovelo||[]).push([[2911],{61196:function(e,n,o){var t=o(13567),i=o(10699),a=o(13687),s=o(88581),c=o(89575),r=o(72998),l=o(96691),d=o(42173),u=o(78373),m=o(74253),p=o(35819),y=o(70505),f=o(54938),g=o(65517),v=o(987),_=o(15428);const b=p.styled.div.withConfig({displayName:"community-invitation__Wrapper",componentId:"sc-1ohy3na-0"})(["display:flex;flex-grow:1;height:100%;flex-direction:column;align-items:center;justify-content:center;"]),h=p.styled.div.withConfig({displayName:"community-invitation__PhotoWrapper",componentId:"sc-1ohy3na-1"})(["display:flex;flex-direction:row;justify-content:center;margin:16px 0;"]),x=p.styled.img.withConfig({displayName:"community-invitation__CommunityPhoto",componentId:"sc-1ohy3na-2"})(["max-height:300px;"]),j=(0,p.styled)(t.A).withConfig({displayName:"community-invitation__StyledCardActions",componentId:"sc-1ohy3na-3"})(["justify-content:space-between;"]);n.A=function(e){var n,o;const{0:t,1:p}=(0,u.useState)(),{user:{current:w}}=(0,u.useContext)(g.BR),{t:A,i18n:{language:C}}=(0,m.useTranslation)(),{enqueueSnackbar:I}=(0,d.useSnackbar)();return(0,u.useEffect)((()=>{!async function(){try{const n=await r.GeogroupService.getGeogroupFromInvitationCode(e.params.code);"company"===n.type&&n.partner?setTimeout((()=>window.open(`${v.A.enterpriseUrl}join/${e.params.code}`,"_top"))):p(n)}catch{I(A("geovelo.communities.server_error"),{variant:"error"}),(0,l.oo)(`/${C}/route`)}}()}),[]),(0,_.jsx)(u.Fragment,null,(0,_.jsx)(f.A,(0,c.A)({noIndex:!0,description:(null===(n=e.data.prismicCommunities)||void 0===n||null===(o=n.data.description)||void 0===o?void 0:o.text)||A("geovelo.pages_descriptions.communities"),title:`${A("geovelo.pages_titles.community_join")}`},e)),(0,_.jsx)(b,null,t&&(0,_.jsx)(i.A,null,(0,_.jsx)(a.A,null,(0,_.jsx)(s.A,{variant:"body1"},(0,_.jsx)(m.Trans,{components:[(0,_.jsx)("strong",{key:0})],i18nKey:"geovelo.communities.invitation_title",values:{title:t.title}})),t.photo&&(0,_.jsx)(h,null,(0,_.jsx)(x,{src:t.photo})),w?(0,_.jsx)(s.A,{variant:"body1"},(0,_.jsx)(m.Trans,{components:[(0,_.jsx)("br",{key:0})],i18nKey:"geovelo.communities.invitation_description",values:{pseudo:w.pseudo}})):(0,_.jsx)(s.A,{variant:"body1"},A("geovelo.communities.invitation_sign_in"))),(0,_.jsx)(j,null,(0,_.jsx)(y.A,{component:l.N_,to:`/${C}/route`},A("commons.actions.cancel")),w?(0,_.jsx)(y.A,{color:"primary",onClick:()=>async function(){try{await r.GeogroupService.joinGeogroupWithInvitation(e.params.code),(0,l.oo)(`/${C}/communities/${null==t?void 0:t.id}`)}catch{I(A("geovelo.communities.join_error"),{variant:"error"})}}(),variant:"contained"},A("commons.communities.actions.join")):(0,_.jsx)(y.A,{color:"primary",component:l.N_,state:{prevPath:e.location.pathname},to:`/${C}/sign-in`,variant:"contained"},A("commons.actions.sign_in"))))))}},85848:function(e,n,o){o.r(n);var t=o(61196),i=o(15428);n.default=e=>(0,i.jsx)(t.A,e)}}]);

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.