(window.webpackJsonp=window.webpackJsonp||[]).push([[203],{"/pIo":function(b,o,e){"use strict";e.r(o);var T=e("cWXX"),g=e("/ezw"),y=e("WmNS"),a=e.n(y),p=e("9og8"),O=e("tJVT"),r=e("q1tI"),s=e.n(r),i=e("Ty5D"),D=e("ErOA"),P=e("m3rI");o.default=function(){var f=Object(i.l)(),l=Object(i.k)(),u=f.query,m=u.code,d=u.state;return Object(r.useEffect)(function(){var M=d.split(","),c=Object(O.a)(M,2),v=c[0],I=c[1];function U(){return t.apply(this,arguments)}function t(){return t=Object(p.a)(a.a.mark(function R(){var n,E,h;return a.a.wrap(function(_){for(;;)switch(_.prev=_.next){case 0:return _.next=2,Object(D.d)("auth/qq/callback",{code:m,redirect_uri:"".concat(P.a.QQLoginCB,"/otherloginqq")});case 2:n=_.sent,E=n.status,h=n.new_user,E===0&&(h?l.replace("/otherlogin?type=qq"):l.replace(v==="account"?"/account/binding":"/"));case 6:case"end":return _.stop()}},R)})),t.apply(this,arguments)}U()},[m,d]),s.a.createElement("div",{className:"other-login",style:{height:"100vh",background:"#fff"}},s.a.createElement(g.a,null))}}}]);
