import{_ as d}from"./CglRsQQc.js";import{b as f,s as r,a as h,c as k,H as y,f as t,h as S,Q as v,n as q,i as w,w as C,j as T,k as o,t as b}from"./BCLrUOBx.js";const g={class:"container"},x={class:"home-section"},E={__name:"social-callback",setup(B){const a=f(),{customScripts:R}=r(a),s=h(),{profile:j}=r(s),{setProfile:u}=s,c=k(),{setToken:l}=c,e=y(),n=t(()=>e.query.error||null);t(()=>e.query.id||null),t(()=>e.query.name||null);const i=t(()=>e.query.email||null),m=t(()=>e.query.token||null);return S(()=>{n.value?v({statusCode:400,message:n.value}):(u({email:i.value}),l(m.value),setTimeout(()=>q("/"),3e3))}),(_,z)=>{const p=d;return T(),w(p,null,{default:C(()=>[o("div",g,[o("section",x,[o("h3",null,b(_.$t("razorpayCallback.wait"))+"...",1)])])]),_:1})}}};export{E as default};
