"use strict";(self.webpackChunk=self.webpackChunk||[]).push([[75786],{83640:function(o,i,t){t.r(i),t.d(i,{default:function(){return w}});var e=t(59301),n="bg___jd0Hp",l="logo___ROAyE",s="outLetWrapper___g0uSd",A="quickLogin___ilamT",c="text___Z9Y9R",r="dot___XM0SF",I="icon___mymBj",a="wx___mWm0f",g="qq___X5Onh",d="qrcodeModal___p_trY",B=t(49389),C=t(43418),E=t(95237),Q=t(43604),j=t(6848),h=t(83287),u=t(91689),b=t(37712),R=window.location.host,f=u.Z.QQLoginCB;function G(){(0,h.b9)()?window.location.href="https://graph.qq.com/oauth2.0/show?which=Login&display=pc&client_id=101508858&redirect_uri=".concat(f,"%2fotherloginqq&state=null,").concat(R,"&response_type=code"):(0,h.xg)("https://xui.ptlogin2.qq.com/cgi-bin/xlogin?appid=716027609&pt_3rd_aid=101508858&daid=383&pt_skey_valid=0&style=35&s_url=http%3A%2F%2Fconnect.qq.com&refer_cgi=authorize&which=&client_id=101508858&response_type=code&scope=get_user_info&redirect_uri=".concat(f,"%2fotherloginqq&state=null,").concat(R,"&response_type=code"))}function O(){C.Z.info({icon:null,closable:!0,centered:!0,maskClosable:!0,className:d,content:(0,b.jsx)("iframe",{frameBorder:"0",sandbox:"allow-scripts allow-same-origin allow-top-navigation",scrolling:"no",src:"https://open.weixin.qq.com/connect/qrconnect?appid=wx6b119e2d829c13fa&redirect_uri=".concat(f,"%2fotherloginstart&response_type=code&scope=snsapi_login&state=null,").concat(R,"#wechat_redirect")})})}var w=(0,B.connect)((function(o){return{globalSetting:o.globalSetting}}))((function(o){var i,t,d,C=o.globalSetting,h=o.dispatch;(0,e.useEffect)((function(){C.setting||h({type:"globalSetting/query"})}),[]);null===(i=C.setting)||void 0===i||i.main_site;var R=null===(t=C.setting)||void 0===t?void 0:t.login_logo_url;null===(d=C.setting)||void 0===d||d.is_local;return(0,b.jsxs)("div",{className:n,children:[(0,b.jsx)(E.Z,{className:l,justify:"center",children:(0,b.jsx)("img",{alt:"logo",src:R?"".concat(u.Z.IMG_SERVER,"/").concat(R):"data:image/png;base64,[encoded data, 14444 characters]",onClick:function(){return B.history.push("/")}})}),(0,b.jsxs)("div",{className:s,children:[(0,b.jsx)(B.Outlet,{}),(0,b.jsxs)(E.Z,{align:"middle",gutter:8,className:A,children:[(0,b.jsx)(Q.Z,{flex:1,children:(0,b.jsx)("div",{className:r})}),(0,b.jsx)(Q.Z,{className:c,children:"快速登录"}),(0,b.jsx)(Q.Z,{flex:1,children:(0,b.jsx)("div",{className:r})})]}),(0,b.jsxs)(E.Z,{justify:"center",children:[(0,b.jsx)(Q.Z,{children:(0,b.jsx)(j.Z,{title:"使用微信账号登录",children:(0,b.jsx)("div",{className:"".concat(I," ").concat(a),onClick:O})})}),(0,b.jsx)(Q.Z,{children:(0,b.jsx)(j.Z,{title:"使用QQ账号登录",children:(0,b.jsx)("div",{className:"".concat(I," ").concat(g),onClick:G})})})]})]})]})}))}}]);