(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([[186],{"/pIo":function(e,t,n){"use strict";n.r(t);n("2mHG");var c=n("KFRP"),a=n("VBJJ"),r=n.n(a),u=n("z3+T"),o=n("GZha"),i=n("ZZRV"),s=n.n(i),l=n("q5+0"),p=n("ErOA");t["default"]=function(){var e=Object(l["l"])(),t=Object(l["k"])(),n=e.query,a=n.code,h=n.state;return Object(i["useEffect"])((function(){var e=h.split(","),n=Object(o["a"])(e,2),c=n[0];n[1];function i(){return s.apply(this,arguments)}function s(){return s=Object(u["a"])(r.a.mark((function e(){var n,u,o;return r.a.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,Object(p["d"])("auth/qq/callback",{code:a,redirect_uri:"https://www.educoder.net/otherloginqq"});case 2:n=e.sent,u=n.status,o=n.new_user,0===u&&(o?t.replace("/otherlogin?type=qq"):t.replace("account"===c?"/account/binding":"/"));case 6:case"end":return e.stop()}}),e)}))),s.apply(this,arguments)}i()}),[a,h]),s.a.createElement("div",{className:"other-login",style:{height:"100vh",background:"#fff"}},s.a.createElement(c["a"],null))}}}]);