1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5634],{51341:(e,s,t)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/verify-email/[token]",function(){return t(68466)}])},68466:(e,s,t)=>{"use strict";t.r(s),t.d(s,{default:()=>d});var l=t(6029),r=t(73492),n=t(34245),i=t(13471),a=t(98622),u=t(66310),c=t(81278),o=t(55729);let d=function(){let{token:e,emailToVerify:s}=(0,c.useRouter)().query,{toast:t}=(0,n.dj)(),{isError:d,error:f,isSuccess:v}=(0,r.rot)(s,e);return(0,o.useEffect)(()=>{v&&t({title:"Email v\xe9rifi\xe9",description:"Votre email a bien \xe9t\xe9 v\xe9rifi\xe9"})},[v,t]),(0,l.jsxs)("div",{className:"mx-auto my-10 flex h-full w-fit flex-col items-center rounded-lg border-gray-50 bg-white p-4 shadow-sm",children:[(0,l.jsx)("div",{className:"flex flex-col items-center gap-2",children:(0,l.jsx)(i.A,{src:"/images/logos/logo_connect_events_horizontale.png",alt:"logo avec nom Connect'Events",className:"static h-9 w-auto",width:880,height:200})}),(0,l.jsxs)("div",{className:"flex w-full flex-col items-center justify-center gap-1",children:[v?"Email v\xe9rifi\xe9, vous pouvez vous connecter":null,d?(()=>{if(!f)return"";if((0,u.F0)(f)){var e;return null==(e=f.response)?void 0:e.data.message}return f.message})():null]}),(0,l.jsx)(a.D,{})]})}},98622:(e,s,t)=>{"use strict";t.d(s,{D:()=>a});var l=t(6029),r=t(65403),n=t(81278),i=t(55729);let a=e=>{let{redirectAfterSeconds:s=5}=e,t=(0,n.useRouter)(),[a,u]=(0,i.useState)(s);return(0,i.useEffect)(()=>{if(a<=0)return void t.push("/");let e=setInterval(()=>{u(e=>e-1)},1e3);return()=>clearInterval(e)},[a,t]),(0,l.jsxs)(l.Fragment,{children:[(0,l.jsxs)("p",{children:["Vous allez \xeatre redirig\xe9 dans ",a," secondes"]}),(0,l.jsx)(r.$,{variant:"blue",className:"w-full",onClick:()=>t.push("/"),children:"Retour \xe0 l'accueil"})]})}}},e=>{e.O(0,[636,6593,8792],()=>e(e.s=51341)),_N_E=e.O()}]); 2//# sourceMappingURL=[token]-8dd9a4a16494dd74.js.map
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.