1webpackJsonp([0],{1135:function(e,t){},1136:function(e,t){},1137:function(e,t){e.exports={code_box:"index-code_box-1zIwr",code_item:"index-code_item-3vpAB",code_input:"index-code_input-3iZPV",active:"index-active-347N2"}},1138:function(e,t){e.exports={mobile:"index-mobile-3dhsz"}},1139:function(e,t){e.exports={mobile:"index-mobile-a0JHr"}},1140:function(e,t){e.exports={mobileCarousel:"index-mobileCarousel-cDc1A",mobileContent:"index-mobileContent-1ZghK",anim_box:"index-anim_box-140WY",submit:"index-submit-3EsSq",half_opacity:"index-half_opacity-1uHVO",mobileForm:"index-mobileForm-AzgtX",mobileFormBg:"index-mobileFormBg-3PxlU",mobileLogo:"index-mobileLogo-21va0",mobileTitleName:"index-mobileTitleName-1TJGl",mobile_btn:"index-mobile_btn-WFXM7",checkContent:"index-checkContent-1DOW2",type:"index-type-1txVU",otherLink:"index-otherLink-ug8Yu",inputWrapper:"index-inputWrapper-1Bl26",formMargin:"index-formMargin-2FVnC",error:"index-error-2UrvR",passworRequired:"index-passworRequired-3ZUEX",inputLabel:"index-inputLabel-17b8X",inputIcon:"index-inputIcon-2amQ_",captcha:"index-captcha-3PbXM",codeMask:"index-codeMask-1VU09",codeHide:"index-codeHide-3mUEw",jzmm:"index-jzmm-3VG50",mb0:"index-mb0-2GZsj",icon_qq:"index-icon_qq-3oHWV",icon_weibo:"index-icon_weibo-1YecM",icon_dingding:"index-icon_dingding-3r5wh",icon_mobile:"index-icon_mobile-1Dgwd",icon_mm:"index-icon_mm-5tDJU",icon_finger:"index-icon_finger-RKxEA",icon_wx:"index-icon_wx-1WF2h",icon_ukey:"index-icon_ukey-q-F4j",type_icon:"index-type_icon-1qZ1i",code:"index-code-BO__K",send:"index-send-1-GOg",disabled:"index-disabled-dAB4e",tabs:"index-tabs-AhcT8"}},1141:function(e,t){e.exports={container:"index-container-2bkXf",codeMask:"index-codeMask-2AAVF",codeHide:"index-codeHide-19Ar6",tabColor:"index-tabColor-t8slr",tabBackColor:"index-tabBackColor-2p81y",content:"index-content-T88md",header:"index-header-2Mf60",mobileCarousel:"index-mobileCarousel-2zGDZ",carousel:"index-carousel-3KUq3",banner:"index-banner-1mrzM",loginIcon:"index-loginIcon-37hYX",loginBoxHeader:"index-loginBoxHeader-20mwM",loginTitle:"index-loginTitle-30ESS",loginContent:"index-loginContent-2Phjm",moblieContent:"index-moblieContent-1xkFi",mobileLogin:"index-mobileLogin-2S443",moblielogo:"index-moblielogo-3VP7Z",moblieFooter:"index-moblieFooter-2fP4W",topNav:"index-topNav-36fqM",accountLogin:"index-accountLogin-1UH0y",codeLogin:"index-codeLogin-rj-1v",formContent:"index-formContent-1Vyrg",login:"index-login-3jKPo",tab:"index-tab-13YJG",verticalMiddle:"index-verticalMiddle-asekk",anim_box:"index-anim_box-12u9a",submit:"index-submit-3n60m",reset:"index-reset-1RyXj",codeSubmit:"index-codeSubmit-3wbua",or:"index-or-1itc2",type_box:"index-type_box-3vlqL",type:"index-type-xD5w6",type_icon:"index-type_icon-1v3IM",icon_qq:"index-icon_qq-1lJ7I",icon_dingding:"index-icon_dingding-3zV-r",icon_mobile:"index-icon_mobile-1C6Ss",icon_mm:"index-icon_mm--3v6s",icon_scan:"index-icon_scan-21bTT",icon_finger:"index-icon_finger-232Ik",icon_wx:"index-icon_wx-jalBM",icon_ukey:"index-icon_ukey-PLbeN",send:"index-send-1NYc6",disabled:"index-disabled-1TVem",bottomInfo:"index-bottomInfo-1p_XZ",bottomLeft:"index-bottomLeft-1FCfx",bottomRight:"index-bottomRight-1YlN8",bottomContent:"index-bottomContent-wjh1v",img:"index-img-28e8e",systemList:"index-systemList-1VVog",systemListItem:"index-systemListItem-2hgcg",saveList:"index-saveList-2CX1t",bottomTips:"index-bottomTips-1Mnsf",description:"index-description-1C8HL",descriptionHeader:"index-descriptionHeader-1ibFx",descriptionContent:"index-descriptionContent-1XDNL",tips:"index-tips-d8Jf9",warning:"index-warning-16aV-",descriptionRight:"index-descriptionRight-kr-08",red:"index-red-1_vz-",green:"index-green-fdkMh",hover:"index-hover-1bRez",footer:"index-footer-SG6Ec",finger_box:"index-finger_box-2RP3b",finger_img:"index-finger_img-RKCrV",finger_overtime:"index-finger_overtime-3SgfD",finger_timeout:"index-finger_timeout-10htu",finger_zw:"index-finger_zw-27Dx7",finger_a:"index-finger_a-2snmI",finger_dh:"index-finger_dh-1NBGV",myMove:"index-myMove-3ERa3",finger_line:"index-finger_line-1tOuj",myMoveTwo:"index-myMoveTwo-2SrEk",finger_tip:"index-finger_tip-1RYym",ukey:"index-ukey-2BmwU",ukey1:"index-ukey1-1EEfv",qr_box_Finger:"index-qr_box_Finger-3wwis",qr_box_ukey:"index-qr_box_ukey-2HW9h",qr_box:"index-qr_box-ZEh8h",qr_title:"index-qr_title-2MjQk",qr_img_box:"index-qr_img_box-2JWLj",qr_type_box:"index-qr_type_box-2G302",qr_type:"index-qr_type-zx5HT",active:"index-active-273Ok",icon_app:"index-icon_app-3o0G1",qrMask:"index-qrMask-1r-f7",link_refresh:"index-link_refresh-1dxT_",link_span:"index-link_span-1eK2b",qrMaskHide:"index-qrMaskHide-r62Wj",moblieTitle:"index-moblieTitle-YTUSx",grey:"index-grey-3KoKq",imgssdiv:"index-imgssdiv-MkqtJ",imgss:"index-imgss-3rCAJ",imgsstitle:"index-imgsstitle-13x-d",inputWrapper:"index-inputWrapper-1M5cw",inputIcon:"index-inputIcon-222TW",inputEyeIcon:"index-inputEyeIcon-3XACd",input
1Label:"index-inputLabel-mSp0x",formMargin:"index-formMargin-3GkWI",error:"index-error-27COf",passworRequired:"index-passworRequired-R9XSb",block:"index-block-I8P82",password:"index-password-1mUQm",half_opacity:"index-half_opacity-3rDZL",borderRadius_20:"index-borderRadius_20-3Gbx3",new_topNav:"index-new_topNav-2UriU",qrBottomInfo:"index-qrBottomInfo-33o40",appDownload:"index-appDownload-l9Soo"}},1142:function(e,t){e.exports={login_again:"index-login_again-34NkW",page_top:"index-page_top-2F5Id",logo:"index-logo-2l3DU",page_img_box:"index-page_img_box-3HDBg",page_img_a:"index-page_img_a-2W0xf",Move:"index-Move-3eM72",page_m_top:"index-page_m_top-1CtAI",container:"index-container-FMtk4",content:"index-content-2xsvs",mb0:"index-mb0-Y9zNu",main:"index-main-3asNf",tip:"index-tip-2Ua8c",box:"index-box-2wzvq",setting:"index-setting-2O6GL",send:"index-send-1PyFp",submit:"index-submit-1DQzW",submitDisable:"index-submitDisable-6j718",footer:"index-footer-I8mug",mobile:"index-mobile-2XThs",main_r:"index-main_r-1Ax8h",desc:"index-desc-1aW9p"}},1143:function(e,t){e.exports={login_first:"index-login_first-3Wu8_",container:"index-container-3ndEl",content:"index-content-1Fa80",page_top:"index-page_top-1hteE",logo:"index-logo-29OlH",page_img_box:"index-page_img_box-1FTRQ",page_img_a:"index-page_img_a-3t1-g",Move:"index-Move-3vY6w",page_m_top:"index-page_m_top-3dk-j",main:"index-main-3zhIC",tip:"index-tip-2aSoq",box:"index-box-1gsUJ",send:"index-send-X987n",submit:"index-submit-4qDgb",footer:"index-footer-FMgLD",mobile:"index-mobile-_J21I",main_r:"index-main_r-2wg-v",qrMask:"index-qrMask-36a0-",link_refresh:"index-link_refresh-1HwmT",link_span:"index-link_span-2SI1b",qrMaskHide:"index-qrMaskHide-3rDyz",center:"index-center-2wIgp",qr_img_box:"index-qr_img_box-1eOUr"}},1144:function(e,t){e.exports={login_first:"index-login_first-3C4Ak",container:"index-container-1ogLg",content:"index-content-39J_9",page_top:"index-page_top-3xINm",logo:"index-logo-up84z",page_img_box:"index-page_img_box-3FQJB",page_img_a:"index-page_img_a-ZbV7C",Move:"index-Move-1vjy_",page_m_top:"index-page_m_top-1Z4La",main:"index-main-2ykIN",tip:"index-tip-X8b-o",box:"index-box-1V-45",send:"index-send-21wPV",submit:"index-submit-2ZUwA",footer:"index-footer---gif",mobile:"index-mobile-yM-UV",main_r:"index-main_r-1hyl2"}},1145:function(e,t){e.exports={login_first:"index-login_first-1njbT",container:"index-container-2kWo_",content:"index-content-1P-va",page_top:"index-page_top-SVVp4",logo:"index-logo-a9fIs",page_img_box:"index-page_img_box-3Sakv",page_img_a:"index-page_img_a-2NTbt",Move:"index-Move-2BZdd",page_m_top:"index-page_m_top-inlAP",main:"index-main-2btVQ",tip:"index-tip-eh30c",box:"index-box-6Dc1X",strength:"index-strength-24av7",submit:"index-submit-39qzj",footer:"index-footer-1BXDq",mobile:"index-mobile-3ruVn",main_r:"index-main_r-t22oz"}},1146:function(e,t){e.exports={login_first:"index-login_first-3L46D",container:"index-container-3Jyiz",content:"index-content-s6gHi",page_top:"index-page_top-13kGr",logo:"index-logo-2mtnT",page_img_box:"index-page_img_box-38ywk",page_img_a:"index-page_img_a-12CHa",Move:"index-Move-rrPZC",page_m_top:"index-page_m_top-3Cgdl",main:"index-main-2DoT0",tip:"index-tip-3dkhD",box:"index-box-3zuL6",button:"index-button-d1ItB",strength:"index-strength-R3GFV",submit:"index-submit-ufjn2",footer:"index-footer-1iyj6",mobile:"index-mobile-1kxLF",main_r:"index-main_r-3MTqg"}},1147:function(e,t){e.exports={carousel:"index-carousel-gEAwz",banner:"index-banner-1I9mh",carousel_box_img:"index-carousel_box_img-1DnQ0",control_box:"index-control_box-17Qhs",mobile_control_box:"index-mobile_control_box-G0r_q",logo_box:"index-logo_box-63ule",login_box:"index-login_box-1qRJ9",mobile_login_box:"index-mobile_login_box-2hkg6",password:"index-password-WKUrM",codeMask:"index-codeMask-2HVZy",codeHide:"index-codeHide-35pRb",submit:"index-submit-2iXUP",half_opacity:"index-half_opacity-1dIoz",qr_img_box:"index-qr_img_box-oJ4Ez",qrMask:"index-qrMask-1EX7X",link_refresh:"index-link_refresh-2prEK",link_span:"index-link_span-32Xvf",qrMaskHide:"index-qrMaskHide-3WFLS",qr_type:"index-qr_type-2SdHJ",active:"index-active-fB4ZV",code_btn:"index-code_btn-WgaNM",footer_box:"index-footer_box-1cyZH",white_font_color:"index-white_font_color-2KzT_"}},1148:function(e,t){e.exports={login_first:"index-login_first-3jSwX",container:"index-container-1ZfI_",content:"index-content-c6Q6T",page_top:"index-page_top-1Au3H",logo:"index-logo-18nIu",page_img_box:"index-page_img_box-csdl4",page_img_a:"index-page_img_a-nBVF0",Move:"index-Move-3xSXt",page_m_top:"index-page_m_top-3kuJT",main:"index-main-7yLvr",tip:"index-tip-1RupC",box:"index-box-1Glh3",send:"index-send-3t4aV",submit:"index-submit-1NbK6",footer
1:"index-footer-aILou",mobile:"index-mobile-4moG9",main_r:"index-main_r-2afgV",qrMask:"index-qrMask-1iZCc",link_refresh:"index-link_refresh-VS86m",link_span:"index-link_span-7Kcxq",qrMaskHide:"index-qrMaskHide-1n5dm",center:"index-center-3tTkT",qr_img_box:"index-qr_img_box-29uDU",code_box:"index-code_box-1I5eB",code_item:"index-code_item-3hLUm",code_input:"index-code_input-3PCNi",active:"index-active-1fxUY"}},1149:function(e,t){e.exports={descBox:"index-descBox-3ddQx",my_svgImg:"index-my_svgImg-1ywRI",title:"index-title-ATn4l",left_box:"index-left_box-hGZy3",right_box:"index-right_box-hgAc3",grey_font_888:"index-grey_font_888-2vWns",margin_right_10:"index-margin_right_10-2Tw1G",margin_right_18:"index-margin_right_18-1cFXe"}},1150:function(e,t){e.exports={login_user_select:"index-login_user_select-3Zdjx",container:"index-container-3qJ2b",content:"index-content-3_RLZ",page_top:"index-page_top-1RV1l",logo:"index-logo-3rujH",page_img_box:"index-page_img_box-qgQek",page_img_a:"index-page_img_a-3BvFM",Move:"index-Move-3d3WJ",page_m_top:"index-page_m_top-2iSBZ",main:"index-main-1r3KI",tip:"index-tip-3Y50T",box:"index-box-3kgqb",userCardWarp_title:"index-userCardWarp_title-3nnAS",userCardWarp:"index-userCardWarp-149KY",userCard:"index-userCard-oZ_Ot",active:"index-active-2dti0",userImg:"index-userImg-1zm2f",userCode:"index-userCode-B9UiL",userRole:"index-userRole-1Ojs-",confirmBtn:"index-confirmBtn-3C9x7",mobile:"index-mobile-1sURM",main_r:"index-main_r-1z8hP"}},1151:function(e,t){e.exports={wx_loading:"index-wx_loading-nCYwM",tip:"index-tip-32lw2",passtip:"index-passtip-3Xuua",img_box:"index-img_box-2OPzI",wx_login:"index-wx_login-1d9U2",form_box:"index-form_box-2wVvo",submit:"index-submit-1sACY",cancel:"index-cancel-eudKw",binds:"index-binds-3_YEx",show:"index-show-3pY5a",tip2:"index-tip2-Gpdbc"}},1152:function(e,t){e.exports={wx_login:"index-wx_login-1IoeK",img_box:"index-img_box-2HDIG",form_box:"index-form_box-38p4J",submit:"index-submit-et5by",cancel:"index-cancel-3y9LS",binds:"index-binds-11qaS",show:"index-show-2zNXo",tip:"index-tip-GWnR7",tip2:"index-tip2-3o_F5",inputAcc:"index-inputAcc-1QjL1"}},1153:function(e,t){e.exports={wx_loading:"index-wx_loading-3z5l-",img_box:"index-img_box-3MjS9",tip:"index-tip-HI56V"}},141:function(e,t,a){e.exports=a.p+"assets/images/loginLoading.gif"},144:function(e,t,a){"use strict";var n=a(218),o=(a.n(n),a(217)),i=a.n(o),r=a(1),l=a.n(r),s=function(){function e(e,t){var a=[],n=!0,o=!1,i=void 0;try{for(var r,l=e[Symbol.iterator]();!(n=(r=l.next()).done)&&(a.push(r.value),!t||a.length!==t);n=!0);}catch(e){o=!0,i=e}finally{try{!n&&l.return&&l.return()}finally{if(o)throw i}}return a}return function(t,a){if(Array.isArray(t))return t;if(Symbol.iterator in Object(t))return e(t,a);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),c=i.a.TabPane,u=a.i(r.forwardRef)(function(e,t){var n=e.locale,o=e.themeColor,u=e.type,d=e.showType,p=e.tabType,m=e.loginData,g=a.i(r.useState)(""),h=s(g,2),f=h[0],_=h[1],w=a.i(r.useState)(!0),y=s(w,2),b=y[0],v=y[1],E=a.i(r.useState)(""),C=s(E,2),T=C[0],x=C[1],S=a.i(r.useState)(window.locale[n].pass_login),k=s(S,2),O=k[0],A=k[1],D=a.i(r.useState)(window.locale[n].scan_login),Q=s(D,2),N=Q[0],I=Q[1],L=function(t){e.handle_change_tab(t),x(t)};return a.i(r.useImperativeHandle)(t,function(){return{handle_change_tab:L}}),a.i(r.useEffect)(function(){_(o);var e=document.querySelectorAll(".ant-tabs-ink-bar")[0];e&&(e.style.background=o+"!important"),document.body.style.setProperty("--primary-color",o)},[o]),a.i(r.useEffect)(function(){2==u?1==p&&(A(window.locale[n].sms_login),2==T&&x("1")):1==u?A(window.locale[n].pass_login):3!=u&&4!=u||(2==p?A(window.locale[n].scan_login):1==p&&x("2"))},[p,u]),a.i(r.useEffect)(function(){d&&x(d)},[]),a.i(r.useEffect)(function(){switch(p){case"1":A(window.locale[n].pass_login),I(window.locale[n].scan_login);break;case"2":A(window.locale[n].pass_login),I(window.locale[n].sms_login)}},[p]),a.i(r.useEffect)(function(){"0"==m.isApp&&"0"==m.isWeChat&&N==window.locale[n].scan_login?v(!1):"1"==m.isSMS&&"2"==p&&v(!0)},[O,N]),l.a.createElement("div",{ref:t},e.isMobile?l.a.createElement("div",{style:{fontSize:"24px",color:"#444",fontWeight:"700",marginBottom:"20px"}},O):l.a.createElement(i.a,{activeKey:T,animated:!1,type:e.isMobile?"card":"line",onChange:L},l.a.createElement(c,{tab:O,key:1}),b&&l.a.createElement(c,{tab:N,key:2})),l.a.createElement("style",null,"\n :global{\n .ant-tabs-ink-bar{\n background:"+f+"!important;\n }\n }\n "))});t.a=u},1449:function(e,t,a){"use strict";var n=a(464),o=a.n(n),i=a(465),r=a.n(i),l=new o.a({id:"info",use:"info-usage",viewBox:"0 0 50 50",content:'<symbol viewBox="0 0 50 50" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" id="info">\r\n <title>
1SVGåè²icon-使ç¨è¯´æä¹¦</title>\r\n <g id="info_认è¯é£æ ¼1" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">\r\n <g id="info_2024年认è¯éæ°è®¾è®¡" transform="translate(-360.000000, -721.000000)">\r\n <g id="info_SVGåè²icon-使ç¨è¯´æä¹¦" transform="translate(360.000000, 721.000000)">\r\n <rect id="info_ç©å½¢" fill="#D8D8D8" opacity="0" x="0" y="0" width="50" height="50" />\r\n <path d="M17,5.5 C22.2467271,5.5 26.5,9.75327288 26.5,15 L26.5,42 C26.5,44 23.5,44 23.5,42 C23.5,39.5147271 21.4852729,37.5 19,37.5 L6,37.5 C5.17157288,37.5 4.5,36.8284271 4.5,36 L4.5,7 C4.5,6.17157288 5.17157288,5.5 6,5.5 L17,5.5 Z M7.5,34.5 L19,34.5 C20.6243636,34.5 22.128119,35.0163972 23.356055,35.8939802 L23.5,36 L23.5,15 C23.5,11.4881678 20.7150248,8.62684851 17.2331355,8.50410297 L17,8.5 L7.5,8.5 L7.5,34.5 Z" id="info_è·¯å¾" fill="currentColor" fill-rule="nonzero" />\r\n <path d="M23.5,15 C23.5,9.75327288 27.7532729,5.5 33,5.5 L44,5.5 C44.8284271,5.5 45.5,6.17157288 45.5,7 L45.5,36 C45.5,36.8284271 44.8284271,37.5 44,37.5 L31,37.5 C28.5147271,37.5 26.5,39.5147271 26.5,42 C26.5,44 23.5,44 23.5,42 L23.5,15 Z M42.5,8.5 L33,8.5 C29.4101271,8.5 26.5,11.4101271 26.5,15 L26.5,35.999 L26.643945,35.8939802 C27.8104842,35.0602764 29.2259504,34.5525427 30.7572694,34.5038536 L31,34.5 L42.5,34.5 L42.5,8.5 Z" id="info_è·¯å¾" fill="currentColor" fill-rule="nonzero" />\r\n </g>\r\n </g>\r\n </g>\r\n</symbol>'});r.a.add(l)},1450:function(e,t,a){"use strict";var n=a(464),o=a.n(n),i=a(465),r=a.n(i),l=new o.a({id:"tips",use:"tips-usage",viewBox:"0 0 50 50",content:'<symbol viewBox="0 0 50 50" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" id="tips">\r\n <title>SVGåè²icon-å®å
¨æç¤º</title>\r\n <g id="tips_认è¯é£æ ¼1" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">\r\n <g id="tips_2024年认è¯éæ°è®¾è®¡" transform="translate(-1172.000000, -721.000000)">\r\n <g id="tips_SVGåè²icon-å®å
¨æç¤º" transform="translate(1172.000000, 721.000000)">\r\n <rect id="tips_ç©å½¢" fill="#B4B4B4" opacity="0" x="0" y="0" width="50" height="50" />\r\n <path d="M24.5883692,2.56006733 C24.862925,2.47994081 25.1546658,2.47997831 25.4292009,2.56017541 L43.4206009,7.81581541 C44.0603004,8.00268415 44.5,8.58920518 44.5,9.25564 L44.5,20.0337 C44.5,32.0078965 36.836986,42.6383585 25.4767708,46.4235819 C25.1690186,46.5261249 24.8363176,46.5261397 24.5285562,46.4236242 C13.1653749,42.6385396 5.5,32.0057446 5.5,20.0287 L5.5,9.25564 C5.5,8.58906236 5.93988462,8.00245161 6.57976923,7.81570733 L24.5883692,2.56006733 Z M25.007,5.562 L8.5,10.38 L8.5,20.0287 C8.5,30.4470843 15.0011283,39.725389 24.7225461,43.3127281 L25.002,43.413 L25.2823155,43.3127702 C34.8764024,39.7714743 41.3328298,30.6863136 41.4968023,20.4337323 L41.5,20.0337 L41.5,10.38 L25.007,5.562 Z" id="tips_è·¯å¾" fill="currentColor" fill-rule="nonzero" />\r\n <path d="M33.9393398,16.9393398 C34.5251263,16.3535534 35.4748737,16.3535534 36.0606602,16.9393398 C36.6464466,17.5251263 36.6464466,18.4748737 36.0606602,19.0606602 L24.0606602,31.0606602 C23.4748737,31.6464466 22.5251263,31.6464466 21.9393398,31.0606602 L14.9393398,24.0606602 C14.3535534,23.4748737 14.3535534,22.5251263 14.9393398,21.9393398 C15.5251263,21.3535534 16.4748737,21.3535534 17.0606602,21.9393398 L23,27.879 L33.9393398,16.9393398 Z" id="tips_è·¯å¾" fill="currentColor" fill-rule="nonzero" />\r\n </g>\r\n </g>\r\n </g>\r\n</symbol>'});r.a.add(l)},1456:function(e,t,a){e.exports=a.p+"assets/images/APPä¸è½½.png"},1457:function(e,t){e.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAB4AAAAeCAYAAAA7MK6iAAAAAXNSR0IArs4c6QAAAERlWElmTU0AKgAAAAgAAYdpAAQAAAABAAAAGgAAAAAAA6ABAAMAAAABAAEAAKACAAQAAAABAAAAHqADAAQAAAABAAAAHgAAAADKQTcFAAADTklEQVRIDcVXzUsVURT/3Xl+Z2IfKJmhT0swiL5sUy0koohIFxZUi1a9VkUuIoo2A9kiKgpaVbsWUZCR/gPZohZhBSFJH74S7YlvkZYZVurtnLnOezPT3PFaWQfmzb3n63fPnXvOPU/AgKRtW0jd3Awpm+lpgBAVZMYPU4p4KeJ109OBikOPhW1PK5H+V+hFgLQbCzDYfwwCJ8h5WZRuRi
1ZEGhIXUVl1VdhdExl+YKAFlomaFgK7TPArAjaGUzGAmGgV15L3wgysIFNKKeTheBvk9N3fB2WvtOCp6Xb2xT6DOD6Go3Akfou2an9Q8Y/mArdx/d1BIYR0/fgjTtSc/eugjMSBsG8PZSJW35S3dx4pZrW439wBnjm9r42+aV4hsPsoUL8FyM0D3nQDnVeALx8NVkwHrrKqjk97jqPNKWNyevOLgDOdwLLaLEhlPbBxF9DWBIwMZfmhIzpwDhYuWE5x4Dw1oT3H/aCuTclS4IDtzqLfhMWYbkUyKw6rt+qd8taLzJHR63EhoipoUZFo1msFJLn5AYZnmpMLWDEPI2JImAzcEKHiF/U988+9s/cvgKlJL0c/JkxrpuDrlbyS+5eAr5+9HDVmwDu+NP1Vx8uhS4YLiHvLeEXh49FhdXp7HgI/vqkIk8+B8/sAjticKoRMxMdou4vNbWY0Y5SJgtY9+X3OpmQ4xnmcoqcu0nrJcmDvaWDNNqDvKfCEcvnDKxVxeVzl8drtAEfPWz7wMtIdXbNDdBNVPyCtRq1mabkqGqVmGYeJcbX1g71alyTo4sNFNS+CmloBU1B2U7CAdudUhEMSESYDd2i1uCCs36kVawVcTIpKtGLGtLhHokE6VKt4MVC8KFQUyeRCUlYdrsJYhGk5jRn3SGHEOfuWDtNcaagPSPeHWxEWY9Je0r2kmjr9tbhqE7BuB1C7gS6JlUDhwmxdltRU8AKHk2qRPV1A76NwUGSvRQfYAXeaO8NGgPOXvyGfgfFPtPJZu1m1EE8jQB4UiRvJdvJ0zp1HvhlofJQu/xFzUPLtdh/sOxMxT/5bs+d0gdQNGkfOq52VaBcDHSab+CL2+vjnDb0L7nxzasxobSe1ee4qe99OTSAbbuo0/yJYXRux19d8/Gn7CapRMJTPCnpAAAAAAElFTkSuQmCC"},1458:function(e,t,a){e.exports=a.p+"assets/images/chrome_new.png"},1459:function(e,t,a){e.exports=a.p+"assets/images/edge.png"},1460:function(e,t,a){e.exports=a.p+"assets/images/innerBg.png"},1461:function(e,t){e.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAB4AAAAeCAYAAAA7MK6iAAAAAXNSR0IArs4c6QAAA09JREFUSEvFl1tIVFEUhv+1Z0bFAjOIiDTwQUlLC8USMrGL0yj1lBlpPdVDEdJDFzTvt7QLQUjUQz1VD5U9ZmZWgxoiUZSZWj0IaVAElZS3mTl7xTk2k2NzZs50mw1n4MxZe31nrf3vtfYhGBnVEJuybWlmE21kM7IgkcKSF6tTSdAHCPSRC50uhR/ct7c9QTVkILfkzyD7YXZEmCWiiEyimCWnqBxdl0LzxCSojxXZ7HBOXbNvsE/p+dcF53TmriMzLhBTMksOFIDXcxIEJn7BLhy4l3Xnka/JPsHWbttREqKeFQ4LijjHmEzkYCnL2zPbTs/18wvY2p3XCHAJggtS//00AjW1Z7aWzjbyAquRAnTqr0HdJI3Cx2ZH7gFv7rJlmoToYMnhf5JeXTEJmlak3Nyxvq1by4H6o6k3LPIxJK/0LQTChkXZiLYsAEhHj8z47PyChx/tYL2UCep3OCbSVbVrXqzdtr1E4pKeeuMi49CU3IDrIzfgYpfPoMxkxs6YApT0l2F4YtinjaZ2lvvaM9suE6ohtuTkPWXJq/TSlDA/Hjti8lE7UA+TMPk0U6SCyqRy3Bxtwetvb3RXiwQ9v3uvNZU22W3pJgv1Qs6k3dfwgAfrYSIdMCuoTAwMhgArTl5L1i5bCQQ1+itygcCSJdSrKqkiYMRQK5zkUrL25N6GC3n+lOwPzMwoiMnH0NdX2LZkK1re3fKbao1jRitZu3JHAMQYAdcM1EGQ0C51qFEWxRYiPToNpS/LcCThcOCIZ0CjlNNlcxDIEgicv3Q7br9vRfz8eNwYvamZF8buwpqF6TjeX45xZdzYGqulBOw0DFZVfeb1WTStbEDPp15NiRkLM1DaX4YpOQXFqLjc4GBSXTtYj3nmeTi54gQkWIt0Uk5q0QcD1lL9O+IKF2rTIkzLac8KBQWeEZfx7aSKy18BCWo7GS0gtUk1uPL2qqdk0o96467Lasncs2w3Kgeq/G8ndwExWjKbV5/zEn7DUKN2X7bcq82i+NkhYyXTaJO4mHreC1wzWKfdVyVWeP2//+lBg00iiLYYZYnyQOamWn0w5hwLri2qk0JyEHCHEZKjz094CA57syP/78dbNzwkB3o3PCSfMF6b8x98tH0H67b92By89Q8AAAAASUVORK5CYII="},1462:function(e,t,a){e.exports=a.p+"assets/images/ç«ç.png"},1463:function(e,t,a){e.exports=a.p+"assets/images/boy.png"},1464:function(e,t,a){e.exports=a.p+"assets/images/gril.png"},1465:function(e,t,a){e.exports=a.p+"assets/images/lianyi-edu.png"},1466:function(e,t,a){e.exports=a.p+"assets/images/bg_1.png"},1467:function(e,t,a){e.exports=a.p+"assets/images/bg_2.png"},1468:function(e,t,a){e.exports=a.p+"assets/images/bg_3.png"},1469:function(e,t,a){e.exports=a.p+"assets/images/mircoOTP.jpg"},1470:function(e,t,a){e.exports=a.p+"assets/images/success.png"},1471:function(e,t,a){e.exports=a.p+"assets/images/banner1.jpg"},1472:function(e,t,a){e.exports=a.p+"assets/images/banner2.jpg"},1473:function(e,t,a){e.exports=a.p+"assets/images/banner3.jpg"},1474:function(e,t,a){e.exports=a.p+"assets/images/bg1.png"},1475:function(e,t,a){e.exports=a.p+"assets/images/chrome.png"},1476:function(e,t,a){e.exports=a.p+"assets/images/firefox.png"},1477:function(e,t,a){e.exports=a.p+"assets/images/ie_edge.png"},1478:function(e,t,a){e.exports=a.p+"assets/images/logo.png"},1479:function(e,t,a){e.exports=a.p+"assets/images/loading.gif"},1480:function(e,t,a){e.exports=a.p+"assets/images/qr.png"},1482:function(e,t,a){a(298),e.exports=a(467)},16:function(e,t,a){"use strict";a.d(t,"a",function(){return o});var n="/lyuapServer";window.locale&&window.locale.casName&&(n=window.locale.casName);var o={LOGIN:"/auth/login",LOGOUT:"/auth/logout",CAS:n,TAG:"lyasp",public_exponent:"010001",private_exponent:"413798867d69babed22e0dd3d4031c635f3e9dbca0fa50a32974a0e230787b7f7ba78caefbee828a051c690357a8cc31dba8efc738b4db22e887571ef1ec5a5a55b6d866f6a67527f6a7d78a127c9f687008bb540228b50aa2d1ca5a4ff71107234f936b611ac46432a26da9c302eaa7180820df70593353b3f8c0247fe97a45",modulus:"00b5eeb166e069920e80bebd1fea4829d3d1f3216f2aabe79b6c47a3c18dcee5fd22c2e7ac519cab59198ece036dcf289ea8201e2a0b9ded307f8fb704136eaeb670286f5ad44e691005ba9ea5af04ada5367cd724b5a26fdb5120cc95b6431604bd219c6b7d83a6f8f24b43918ea988a76f93c333aa5a20991493d4eb1117e7b1"}},161:function(e,t,a){e.exports=a.p+"assets/images/mobile_logo2.png"},162:function(e,t,a){e.exports=a.p+"assets/images/plane.gif"},164:function(e,t,a){"use strict";var n=a(218),o=(a.n(n),a(217)),i=a.n(o),r=a(1),l=a.n(r),s=a(336),c=(a.n(s),function(){function e(e,t){var a=[],n=!0,o=!1,i=void 0;try{for(var r,l=e[Symbol.iterator]();!(n=(r=l.next()).done)&&(a.push(r.value),!t||a.length!==t);n=!0);}catch(e){o=!0,i=e}finally{try{!n&&l.return&&l.return()}finally{if(o)throw i}}return a}return function(t,a){if(Array.isArray(t))return t;if(Symbol.iterator in Object(t))return e(t,a);
1throw new TypeError("Invalid attempt to destructure non-iterable instance")}}()),u=i.a.TabPane,d=a.i(r.forwardRef)(function(e,t){var n=e.locale,o=e.themeColor,s=(e.type,e.showType,e.tabType,e.loginData),d=a.i(r.useState)(""),p=c(d,2),m=p[0],g=p[1],h=a.i(r.useState)(""),f=c(h,2),_=f[0],w=f[1],y=a.i(r.useState)([]),b=c(y,2),v=b[0],E=b[1],C=function(t){e.handle_change_tab(t),w(t)};return a.i(r.useImperativeHandle)(t,function(){return{handle_change_tab:C}}),a.i(r.useEffect)(function(){g(o);var e=document.querySelectorAll(".ant-tabs-ink-bar")[0];e&&(e.style.background=o+"!important"),document.body.style.setProperty("--primary-color",o)},[o]),a.i(r.useEffect)(function(){var t=s.loginTabType,a=s.loginTabDefault,o=s.isAccount,i=s.isSMS,r=s.isApp,c=s.isWeChat,d=s.isDingDing;w(a),e.handle_change_tab(a),console.log(t.split(","));var p=[];t.split(",").map(function(e){switch(e){case"1":"1"==o&&p.push(l.a.createElement(u,{tab:window.locale[n].pass_login,key:1}));break;case"2":"1"==i&&p.push(l.a.createElement(u,{tab:window.locale[n].sms_login,key:2}));break;case"3":"1"!=r&&"1"!=c&&"1"!=d||p.push(l.a.createElement(u,{tab:window.locale[n].scan_login,key:3}))}}),E(p)},[]),l.a.createElement("div",{ref:t},l.a.createElement(i.a,{activeKey:_,animated:!1,onChange:C},v.length&&v.map(function(e){return e})),l.a.createElement("style",null,"\n :global{\n .ant-tabs-ink-bar{\n background:"+m+"!important;\n }\n }\n "))});t.a=d},165:function(e,t,a){"use strict";function n(e,t,a){return t in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a,e}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function r(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var l,s,c=a(120),u=(a.n(c),a(119)),d=a.n(u),p=a(125),m=(a.n(p),a(124)),g=a.n(m),h=a(87),f=(a.n(h),a(74)),_=a.n(f),w=a(22),y=(a.n(w),a(21)),b=a.n(y),v=a(41),E=(a.n(v),a(40)),C=a.n(E),T=a(48),x=(a.n(T),a(47)),S=a.n(x),k=a(45),O=(a.n(k),a(44)),A=a.n(O),D=a(56),Q=(a.n(D),a(10)),N=a.n(Q),I=a(218),L=(a.n(I),a(217)),M=a.n(L),P=a(37),W=(a.n(P),a(36)),q=a.n(W),U=a(28),R=(a.n(U),a(27)),B=a.n(R),F=a(1),K=a.n(F),j=a(12),z=a(29),X=a.n(z),H=a(23),V=a(51),G=a(3),J=a.n(G),Y=a(16),Z=(a(32),a(31)),$=a(25),ee=a(1140),te=a.n(ee),ae=a(203),ne=(a.n(ae),a(86)),oe=(a.n(ne),a(540)),ie=(a.n(oe),function(){function e(e,t){for(var a=0;a<t.length;a++){var n=t[a];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}return function(t,a,n){return a&&e(t.prototype,a),n&&e(t,n),t}}()),re=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var a=arguments[t];for(var n in a)Object.prototype.hasOwnProperty.call(a,n)&&(e[n]=a[n])}return e},le=B.a.Item,se=(l=a.i(j.b)(function(e){return re({},e)}))(s=function(e){function t(){var e,r,l,s;o(this,t);for(var c=arguments.length,u=Array(c),d=0;d<c;d++)u[d]=arguments[d];return r=l=i(this,(e=t.__proto__||Object.getPrototypeOf(t)).call.apply(e,[this].concat(u))),l.state={loginType:l.props.loginType,sending:!1,hasError:!1,userInfo:l.props.userInfo,loginCode:{isLoginCode:!0,refresh:!1},login_btn_show:!1,is_PasswordValue:!1,is_AccountValue:!1},l.handleAccountSubmit=function(e){var t=l.props.login.loginData,n=l.state.loginCode;l.props.form.validateFieldsAndScroll(function(e,o){if(!e){if(!document.getElementById("password").value)return void l.setState({hasError:!0});var i="",r="";"1"==t.isVerifyCode&&(i=n.uid,r=o.captcha);var s=a(5),c=window.location.search;c=c.substring(c.indexOf("?")+1);var u=s.parse(c),d=t.defaultLoginUrl;d=u&&u.service?u.service:t.defaultLoginUrl,r=r?r.replace(/(^\s*)|(\s*$)/g,""):"";try{new Promise(function(e){l.props.dispatch(a.i(H.c)(o.userName,o.password,d,"",l.props.history,o.rememberMe,l.state.userInfo.change,i,r,e,t.captchaType))}).then(function(){l.queryLoginKaptcha(i)})}catch(e){l.props.dispatch(a.i(H.e)("block","none","none"))}}})},l.handleSmsSubmit=function(e){e.preventDefault(),l.props.form.validateFieldsAndScroll(function(e,t){if(!e){var n={mobile:t.mobile,code:t.smsCode};a.i($.b)(Y.a.CAS+"/sms/validateCode",n).then(function(e){var t=e.meta,n=e.data;if(t.success){if(n){var o=a(5),i=window.location.search;i=i.substring(i.indexOf("?")+1);var r=o.parse(i),s=n.service;r&&r.service&&(s=r.service),l.props.dispatch(a.i(H.c)(n.userName,n.passWord,s,"2",l.props.history))}}else q.a.error({title:window.locale[l.props.login.locale].sms_login,content:t.message})})}})},l.encodePass=function(e){a.i(Z.a)(131);var t=a.i(Z.b)(Y.a.public_exponent,"",Y.a.modulus);return a.i(Z.c)(t,e)}
1,l.onSendCode=function(){l.state.sending||l.props.form.validateFields(["mobile","captcha"],{force:!0},function(e,t){if(!e){l.setState({sending:!0});var a=(new Date).getTime(),n=l.encodePass(Y.a.TAG+a),o=l.props.login.loginData.smsSendTime;o=60*parseInt(o),l.setState({count:o}),l.timer=setInterval(function(){l.setState({count:o--},function(){0===l.state.count&&(clearInterval(l.timer),l.timer=null,l.setState({sending:!1}))})},1e3);var i={mobile:t.mobile,username:t.mobile,module:"0"};l.props.login.loginData.isVerifyCodeType.indexOf("2")>-1&&(i.module="3",i.code=t.captcha,i.id=l.state.loginCode.uid),X.a.post(Y.a.CAS+"/login/mobile/generateCode",i,{headers:{token:n}}).then(function(e){var t=e.data,a=t.meta;t.data;if(a.success)q.a.success({title:window.locale[l.props.login.locale].warn,content:window.locale[l.props.login.locale].send_sms_code_success});else{l.timer&&(clearInterval(l.timer),l.timer=null),l.setState({sending:!1});var n=a.message;"CODEFALSE"==a.message&&(n="éªè¯ç é误"),q.a.error({title:window.locale[l.props.login.locale].warn,content:n}),l.queryLoginKaptcha(l.state.loginCode.uid)}})}})},l.queryLoginKaptcha=function(e){X.a.get(Y.a.CAS+"/kaptcha",{params:{uid:e}}).then(function(e){"200"==e.status&&e.data&&(e.data.uid&&"-1"!=e.data.uid&&l.setState({loginCode:re({},e.data,{isLoginCode:!1,refresh:!1})}),l.handleCodeTime())})},l.handleCodeTime=function(){l.codeTimer=setTimeout(function(){l.setState({loginCode:re({},l.state.loginCode,{refresh:!0})})},l.state.loginCode.timeout?1e3*l.state.loginCode.timeout:3e5)},l.reFreshCode=function(){l.queryLoginKaptcha(l.state.loginCode.uid),l.setState({loginCode:re({},l.state.loginCode,{refresh:!1})})},l.onInputChange=function(e,t){l.setState(n({},e,!!t.target.value),function(){l.setState({login_btn_show:l.state.is_PasswordValue&&l.state.is_AccountValue}),"is_PasswordValue"==e&&l.setState({hasError:!l.state.is_PasswordValue})})},l.loadAccountInfo=function(){var e=localStorage.getItem("accountInfo")&&JSON.parse(localStorage.getItem("accountInfo"));if(e){if(!(e&&(new Date).getTime()<e.expires))return localStorage.removeItem("accountInfo"),null;var t="",a="",n=new Array;n=e.value.split("&"),t=n[0],a=n[1],l.setState({userInfo:re({},l.state.userInfo,{userName:t,password:a,inputPassWord:a,rememberMe:!0}),login_btn_show:!0,is_AccountValue:!0,is_PasswordValue:!0})}},s=r,i(l,s)}return r(t,e),ie(t,[{key:"componentDidMount",value:function(){this.queryLoginKaptcha(""),this.loadAccountInfo()}},{key:"render",value:function(){var e=this,t=this.state,a=t.loginType,o=t.sending,i=t.loginCode,r=(t.login_btn_show,t.hasError),l=t.count,s=this.props,c=s.mobileLogo,u=s.login_logo,p=s.loginData,m=s.userInfo,h=s.themeColor,f=s.dataSource,w=s.columns,y=s.QueueAnimConfig,v=this.props.form.getFieldDecorator;te.a.formMargin;return r&&te.a.error,K.a.createElement("div",{className:te.a.mobileContent},K.a.createElement("div",{className:te.a.mobileForm},K.a.createElement("div",{className:te.a.mobileFormBg,style:window.tip.mobileBg?window.tip.mobileBg:{}}),c.length>0?K.a.createElement("img",{className:te.a.mobileLogo,src:c[0].source,onError:function(e){e.target.src=u}}):K.a.createElement("img",{className:te.a.mobileLogo,src:u}),window.tip.mobileUseTabs?null:1==a?K.a.createElement("div",{className:te.a.mobileTitleName},window.locale[this.props.login.locale].pass_login):K.a.createElement("div",{className:te.a.mobileTitleName},window.locale[this.props.login.locale].sms_login),window.tip.mobileUseTabs?K.a.createElement(M.a,{animated:!1,onChange:function(t){return e.setState({loginType:t})},className:te.a.tabs},K.a.createElement(M.a.TabPane,{tab:window.locale[this.props.login.locale].pass_login,key:"1"}),"1"==p.isSMS&&K.a.createElement(M.a.TabPane,{tab:window.locale[this.props.login.locale].sms_login,key:"2"})):null,2==a?K.a.createElement(V.a,y,K.a.createElement("div",{style:{background:this.props.login.submitpending},className:te.a.anim_box,key:"B"},K.a.createElement(B.a,{style:{display:this.props.login.submitting},onSubmit:this.handleSmsSubmit},K.a.createElement(le,null,v("mobile",{rules:[{required:!0,message:window.locale[this.props.login.locale].enter_phone},{pattern:/^1[3457896]([0-9]{9})$/,message:window.locale[this.props.login.locale].phone_format_error}]})(K.a.createElement(A.a,{size:"large",ref:function(t){return e.inputRef2=t},prefix:K.a.createElement(N.a,{type:"user",style:{color:"rgba(0,0,0,.25)"}}),placeholder:window.locale[this.props.login.locale].enter_phone}))),p.isVerifyCodeType.indexOf("2")>-1?K.a.createElement(le,{className:te.a.mb6},K.a.createElement(C.a,{gutter:8},K.a.createElement(S.a,{span:13},v("captcha",{rules:[{required:!0,message:window.locale[this.props.login.locale].enter_arithmetic_answer}]})(K.a.createElement(A.a,{size:"large",autoComplete:"off",onPressEnter:this.handleAccountSubmit,placeholder:window.locale[this.props.login.locale].enter_arithmetic_answer}))),K.a.createElement(S.a,{span:10},K.a.createElement("div",{className:te.a.captcha,onClick:function(){return e.queryLoginKaptcha(i.uid)}},K.a.createElement("img",{style:{width:"100%",height:"46px",margin:"0 0 2px 14px"},alt:"logo",src:i.content}))))):null,K.a.createElement(le,null,v("smsCode",{rules:[{required:!0,message:window.locale[this.props.login.locale].enter_security_code}]})(K.a.createElement(A.a,{size:"large",className:te.a.code,prefix:K.a.createElement(N.a,{type:"lock",style:{color:"rgba(0,0,0,.25)"}}),placeholder:window.locale[this.props.login.locale].enter_security_code})),K.a.createElement("div",{className:J()(te.a.send,n({},te.a.disabled,o)),style:Array.isArray(h)?{color:h[0]}:{color:h},onClick:function(){e.onSendCode()}},o?l:window.locale[this.props.login.locale].send_security_code)),K.a.createElement(le,{className:te.a.mb0},K.a.createElement(b.a,{className:J()(te.a.submit,te.a.mobile_btn),style:Array.isArray(h)?{borderColor:h[0],background:h[0]}:{borderColor:h,background:h},type:"primary",size:"large",htmlType:"submit"},window.locale[this.props.login.locale].login))),K.a.createElement("div",{style:{color:"#01774F",fontSize:"15px",fontWeight:"bold",display:this.props.login.submitnote,textAlign:"center",top:"180px",left:"95px",position:"absolute"}},window.locale[this.props.login.locale].verify_wait))):K.a.createElement(B.a,{name:"accountForm",style:{display:this.props.login.submitting}},K.a.createElement(le,null,v("userName",{rules:[{required:!0,message:window.locale[this.props.login.locale].enter_account}],initialValue:m.userName})(K.a.createElement(A.a,{size:"large",ref:function(t){return e.inputRef=t},prefix:K.a.createElement(N.a,{type:"user",style:{color:"rgba(0,0,0,.25)"}}),onChange:function(t){return e.onInputChange("is_AccountValue",t)},placeholder:window.locale[this.props.login.locale].enter_account}))),K.a.createElement(le,null,v("password",{rules:[{required:!0,message:window.locale[this.props.login.locale].enter_pass}],initialValue:m.password})(K.a.createElement(A.a.Password,{size:"large",ref:function(t){return e.inputRef=t},prefix:K.a.createElement(N.a,{type:"lock",style:{color:"rgba(0,0,0,.25)"}}),onChange:function(t){return e.onInputChange("is_PasswordValue",t)},placeholder:window.locale[this.props.login.locale].enter_pass}))),(1==p.isVerifyCode&&p.verifyCodeNum<=0||p.verifyCodeNum&&sessionStorage.getItem("errorNum")&&p.verifyCodeNum<=sessionStorage.getItem("errorNum")&&(p.isVerifyCodeType.indexOf("1")>-1||"1"==p.isVerifyCode))&&(["1","2"].indexOf(p.captchaType)>-1||!p.captchaType)?K.a.createElement(le,{style:{marginBottom:6}},K.a.createElement(C.a,{gutter:8},K.a.createElement(S.a,{span:14},v("captcha",{rules:[{required:!0,message:window.locale[this.props.login.locale].enter_arithmetic_answer}]})(K.a.createElement(A.a,{autoComplete:"off",size:"large",placeholder:window.locale[this.props.login.locale].enter_arithmetic_answer,onPressEnter:this.handleAccountSubmit}))),K.a.createElement(S.a,{span:10},K.a.createElement("div",{className:te.a.captcha,onClick:function(){e.queryLoginKaptcha(i.uid)}},K.a.createElement("img",{alt:"logo",src:i.content}),K.a.createElement("div",{className:te.a.codeMask+" "+(i.refresh?"":te.a.codeHide),onClick:function(t){t.stopPropagation(),e.reFreshCode()}},window.locale[this.props.login.locale].security_code_invalid))))):null,K.a.createElement(le,{style:{marginBottom:20}},K.a.createElement(C.a,null,K.a.createElement(S.a,{span:14},v("rememberMe",{valuePropName:"checked",initialValue:m.rememberMe})(K.a.createElement(_.a,null,K.a.createElement("a",{style:Array.isArray(h)?{color:h[0]}:{color:h}},window.locale[this.props.login.locale].remember_pass)))),K.a.createElement(S.a,{span:10,className:te.a.jzmm},window.tip.isShowAppDownload?K.a.createElement(Fragment,null,K.a.createElement("span",{onMouseEnter:function(){document.getElementById("downCodeImg").style.display="block"},onMouseLeave:function(){document.getElementById("downCodeImg").style.display="none"}},window.tip.appDownName,"APPä¸è½½"),K.a.createElement(Divider,{type:"vertical"}),K.a.createElement("img",{id:"downCodeImg",style:{display:"none",position:"absolute",top:"-270px",left:0,width:280,height:280}
1,src:window.tip.codeImg})):null,p.mobileLoginfoundPaawordUrl&&"null"!=p.mobileLoginfoundPaawordUrl?K.a.createElement("a",{onClick:function(){var e=p.mobileLoginfoundPaawordUrl;window.location.href=e}},window.locale[this.props.login.locale].forget_pass):null))),K.a.createElement(le,{className:te.a.mb0},K.a.createElement(b.a,{className:J()(te.a.submit,{},te.a.mobile_btn),style:Array.isArray(h)?{borderColor:h[0],background:h[0]}:{borderColor:h,background:h},onClick:this.handleAccountSubmit,type:"primary",size:"large"},window.locale[this.props.login.locale].login),K.a.createElement("div",{id:"captcha-box"})))),K.a.createElement("div",{className:te.a.checkContent},window.tip.mobileUseTabs?null:2!=a?"1"==p.isSMS?K.a.createElement("span",{className:te.a.type,style:Array.isArray(h)?{color:h[0]}:{color:h},onClick:function(){e.setState({loginType:2,mobileTitle:"çä¿¡ç»å½"},function(){return e.queryLoginKaptcha(e.state.loginCode.uid)})}},K.a.createElement("span",{className:J()(te.a.icon_mobile,te.a.type_icon)}),window.locale[this.props.login.locale].sms_login):null:K.a.createElement("span",{className:te.a.type,style:Array.isArray(h)?{color:h[0]}:{color:h},onClick:function(){e.setState({loginType:1,mobileTitle:"å¯ç ç»å½"},function(){return e.queryLoginKaptcha(e.state.loginCode.uid)})}},K.a.createElement("span",{className:J()(te.a.icon_mm,te.a.type_icon)}),window.locale[this.props.login.locale].pass_login),K.a.createElement(le,{className:te.a.otherLink},K.a.createElement(C.a,null,p.mobileLoginQuestionUrl&&"null"!=p.mobileLoginQuestionUrl?K.a.createElement("a",{style:Array.isArray(h)?{color:h[0]}:{color:h},onClick:function(){var e=p.mobileLoginQuestionUrl;window.location.href=e}},window.locale[this.props.login.locale].common_problem):null,p.isOpenLoginAppeal&&1==p.isOpenLoginAppeal?K.a.createElement("a",{style:Array.isArray(h)?{color:h[0]}:{color:h},onClick:function(){var e=p.loginAppealUrl;window.location.href=e}},window.locale[this.props.login.locale].account_appeal):null,p.isOpenLoginAcountCheck&&1==p.isOpenLoginAcountCheck?K.a.createElement(d.a,{content:K.a.createElement("div",null,K.a.createElement(A.a,{size:"large",onBlur:this.getusername,placeholder:window.locale[this.props.login.locale].enter_name,style:{marginBottom:"10px"}}),K.a.createElement(A.a,{size:"large",onBlur:this.getusercardid,placeholder:window.locale[this.props.login.locale].enter_ID_card,style:{marginBottom:"10px"}}),K.a.createElement(C.a,{gutter:8},K.a.createElement(S.a,{span:14},K.a.createElement(A.a,{autoComplete:"off",size:"large",placeholder:window.locale[this.props.login.locale].enter_arithmetic_answer,onBlur:this.getQueryCode,style:{marginBottom:"10px"}})),K.a.createElement(S.a,{span:10},K.a.createElement("div",{style:{marginTop:"7px"},onClick:function(){e.queryQueryKaptcha(i.uid)}},K.a.createElement("img",{alt:"logo",src:i.content})))),K.a.createElement(b.a,{className:J()(te.a.submit,n({},te.a.logining,!0)),style:Array.isArray(h)?{border:"none",width:"100%",background:h[0]}:{border:"none",width:"100%",background:h},onClick:this.handleCheckAccount,type:"primary",size:"large"},window.locale[this.props.login.locale].query),K.a.createElement(g.a,{dataSource:f,columns:w}),K.a.createElement("a",{style:Array.isArray(h)?{color:h[0]}:{color:h},onClick:this.hide},window.locale[this.props.login.locale].close)),title:window.locale[this.props.login.locale].account_query,trigger:"click",visible:this.state.visible,onVisibleChange:this.handleVisibleChange}):null))),K.a.createElement("style",null,"\n .ant-tabs-nav .ant-tabs-tab-active {\n border-bottom: 4px solid "+h+";\n }\n "))}}]),t}(K.a.Component))||s;t.a=se},185:function(e,t){e.exports={container:"index-container-hLZ3z",codeMask:"index-codeMask-3r7Qg",codeHide:"index-codeHide-3DK8f",tabColor:"index-tabColor-3zzwe",tabBackColor:"index-tabBackColor-h-3lA",content:"index-content-3jicD",header:"index-header-jwL3d",cas_logo:"index-cas_logo-3oee9",mobileCarousel:"index-mobileCarousel-2qk0F",carousel:"index-carousel-FBi3J",banner:"index-banner-3dCTk",descAFooter:"index-descAFooter-2lYqr",loginIcon:"index-loginIcon-3MRXQ",loginBoxHeader:"index-loginBoxHeader-2wqP5",loginTitle:"index-loginTitle-1ZeyN",loginContent:"index-loginContent-1Get3",moblieContent:"index-moblieContent-U4410",borderRadius_20:"index-borderRadius_20-2HfGo",mobileLogin:"index-mobileLogin-2nGzk",moblielogo:"index-moblielogo-1YX7Q",moblieFooter:"index-moblieFooter-3lGW_",new_topNav:"index-new_topNav-2ZZEa",to
1pNav:"index-topNav-2QVG-",accountLogin:"index-accountLogin-3fiIs",codeLogin:"index-codeLogin-NVq7D",formContent:"index-formContent-2fe6T",login:"index-login-1PwOJ",tab:"index-tab-3z0rS",verticalMiddle:"index-verticalMiddle-2X5G0",anim_box:"index-anim_box-1jzai",submit:"index-submit-36Dah",half_opacity:"index-half_opacity-_czMf",reset:"index-reset-2k4XJ",codeSubmit:"index-codeSubmit-1x5SC",or:"index-or-1-Avm",type_box:"index-type_box-1saR8",type:"index-type-1BKI6",type_icon:"index-type_icon-1h82S",icon_qq:"index-icon_qq-3NGoZ",icon_dingding:"index-icon_dingding-2sw6V",icon_mobile:"index-icon_mobile-2_lci",icon_mm:"index-icon_mm-2XSQx",icon_finger:"index-icon_finger-2ZFwN",icon_wx:"index-icon_wx-1EAc0",icon_ukey:"index-icon_ukey-3rz9L",send:"index-send-2UVkM",disabled:"index-disabled-1azT-",bottomHeader:"index-bottomHeader-2tJeZ",bottomLeft:"index-bottomLeft-1dOZ1",bottomRight:"index-bottomRight-YW57t",bottomContent:"index-bottomContent-2ZZTs",img:"index-img-200rR",systemList:"index-systemList-3jgjZ",systemListItem:"index-systemListItem-11o-W",saveList:"index-saveList-2xnKs",bottomTips:"index-bottomTips-3MTKm",description:"index-description-1xxjS",descriptionHeader:"index-descriptionHeader-7IZBw",descriptionContent:"index-descriptionContent-1mFKA",tips:"index-tips-1WzBe",warning:"index-warning-yhdV0",descriptionRight:"index-descriptionRight-1Nqn8",red:"index-red-Zd0Q1",green:"index-green-2t1k8",hover:"index-hover-264W8",footer:"index-footer-1QAFH",finger_box:"index-finger_box-1H6DH",finger_img:"index-finger_img-3H4VB",finger_overtime:"index-finger_overtime-1Hj1L",finger_timeout:"index-finger_timeout-IiWHj",finger_zw:"index-finger_zw-3jlqL",finger_a:"index-finger_a-1bSWd",finger_dh:"index-finger_dh-1woHk",myMove:"index-myMove-3-Jrj",finger_line:"index-finger_line-3ePGW",myMoveTwo:"index-myMoveTwo-2jRkY",finger_tip:"index-finger_tip-2CeFF",ukey:"index-ukey-2NaRq",ukey1:"index-ukey1-j5OWM",qr_box_Finger:"index-qr_box_Finger-181yW",qr_box_ukey:"index-qr_box_ukey-1xa2o",qr_box:"index-qr_box-1NRvJ",qr_img_box:"index-qr_img_box-21Fx6",qr_type_box:"index-qr_type_box-2rDHM",qr_type:"index-qr_type-2QT63",active:"index-active-1An1l",icon_app:"index-icon_app-3GY2G",qrMask:"index-qrMask-27FBL",link_refresh:"index-link_refresh-y3Je3",link_span:"index-link_span-2nA_9",qrMaskHide:"index-qrMaskHide-3p9Fn",moblieTitle:"index-moblieTitle-1HD80",grey:"index-grey-XQ3Fn",imgssdiv:"index-imgssdiv-cLP5p",imgss:"index-imgss-mnfyt",imgsstitle:"index-imgsstitle-1CTBp",inputWrapper:"index-inputWrapper-3AvtZ",inputIcon:"index-inputIcon-1FnnW",inputEyeIcon:"index-inputEyeIcon-1_TSy",inputLabel:"index-inputLabel-2sJC_",formMargin:"index-formMargin-3aHuf",error:"index-error-Tb0o_",passworRequired:"index-passworRequired-3p8R3",block:"index-block-3scka",descContainer:"index-descContainer-2nbwj",password:"index-password-7JCsX",margin_bottom_30:"index-margin_bottom_30-E3L8P"}},203:function(e,t,a){e.exports=a.p+"assets/images/base_logo.png"},204:function(e,t){e.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAB4AAAAeCAYAAAA7MK6iAAAAAXNSR0IArs4c6QAAAvtJREFUSEvFl0tIVkEYQM9oZqWVLTRQw8rQFqmLwhSiSCqJ1NJWlW0CV6khlRr2IFPSLCS1ldAmq1UvLaQHRhFZggu1RUpWkgnqopdZ5mNi7qj4m/73jkbN6sL9zpyZOzPffFfgoMm1eDFEPCNsQ7AOCAUWAwL4ArQjaETyAC9qRSODdt0qcNomV+GND+lIsoEAu85G3/cCJfRTJt4wMB0zrVhGsAtBKbDcoXByWAeCLNHEran4P8RSfb4ITiM4PvopZ+i1MImkgBZOCfU8obmILWkkVcBet7bgUEjL0yGVhdDZbje4azSTOlHuKo4iH8kJt714eEB1GyxT+wv40A5JYTAy4l4uOSNaODkWNC6WUSQjuWH7eQNXQO1bV8n2ldD1zm7WEsHusTW3xNbuXUArEGJHs9APnn1yDduwBL59tkWBDvoJV7tdiyM5CpxzQloxL/pgvo8O//EdYnwdo0C2aKZEWMlhkI+Av2O6uhVCwnR4RxskhTtGgV68CBIykiTgjglJZR1Eb9ZIw2NIizPCgZ1CRlGB5KARWXgFElI1crcK8vYb4QguqRnXAzFG5KEiOJCjkcvFcDHXCFe7RIl7jNZXKfZkQG6ZlhVlwvVyU3GvEqtEPteIjEuG0psayUqBuinTsbsuf81MvCYarr7UHe9bD68ajMYNDChxt8GVpwUBQfCwUz9vDYYedRqNWo8SPwdijTDPOTqJqKaSx/CQEQ7UCxlBGYIMU5JjFRo5m26MIilX5zgBSY05PQtCkDiWMtWCOS1tZmG00B68CNaXRBSHkZx33GNsPGQV6/DSHKi/7xhFcEQ0cWHitfjaUX3lPQ/qusF3kZb1fYW4pTDw04n8Pf2sHr8WrVnr4k5lBbeVJ/6B8GjS8dkSBL1ddmJVf6WIFm6rQNfSJ4J8hE3po6iyatiUqEVPaiBTXXA2bbrSx5q102LPwxM27tCmp/dgZNhO677YG5f/zfJWUECTTXk7cdj/vKB3kf+PXxiXAUz90+Y3GjOjn7bfT/ftYY2pN2IAAAAASUVORK5CYII="},220:function(e,t,a){"use strict";a.d(t,"a",function(){return n});var n=function(){return{certId:document.getElementById("id_cert_list")&&document.getElementById("id_cert_list").value,deviceId:document.getElementById("id_device_list")&&document.getElementById("id_device_list").value}}},221:function(e,t,a){"use strict";a.d(t,"a",function(){return n});var n={_keyStr:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789
1+/=",encode:function(e){var t,a,o,i,r,l,s,c="",u=0;for(e=n._utf8_encode(e);u<e.length;)t=e.charCodeAt(u++),a=e.charCodeAt(u++),o=e.charCodeAt(u++),i=t>>2,r=(3&t)<<4|a>>4,l=(15&a)<<2|o>>6,s=63&o,isNaN(a)?l=s=64:isNaN(o)&&(s=64),c=c+this._keyStr.charAt(i)+this._keyStr.charAt(r)+this._keyStr.charAt(l)+this._keyStr.charAt(s);return c},decode:function(e){var t,a,o,i,r,l,s,c="",u=0;for(e=e.replace(/[^A-Za-z0-9\+\/\=]/g,"");u<e.length;)i=this._keyStr.indexOf(e.charAt(u++)),r=this._keyStr.indexOf(e.charAt(u++)),l=this._keyStr.indexOf(e.charAt(u++)),s=this._keyStr.indexOf(e.charAt(u++)),t=i<<2|r>>4,a=(15&r)<<4|l>>2,o=(3&l)<<6|s,c+=String.fromCharCode(t),64!=l&&(c+=String.fromCharCode(a)),64!=s&&(c+=String.fromCharCode(o));return c=n._utf8_decode(c)},_utf8_encode:function(e){var t="";e=e.replace(/\r\n/g,"\n");for(var a=0;a<e.length;a++){var n=e.charCodeAt(a);n<128?t+=String.fromCharCode(n):n>127&&n<2048?(t+=String.fromCharCode(n>>6|192),t+=String.fromCharCode(63&n|128)):(t+=String.fromCharCode(n>>12|224),t+=String.fromCharCode(n>>6&63|128),t+=String.fromCharCode(63&n|128))}return t},_utf8_decode:function(e){var t,a,n,o="",i=0;for(t=a=0;i<e.length;)t=e.charCodeAt(i),t<128?(o+=String.fromCharCode(t),i++):t>191&&t<224?(a=e.charCodeAt(i+1),o+=String.fromCharCode((31&t)<<6|63&a),i+=2):(a=e.charCodeAt(i+1),n=e.charCodeAt(i+2),o+=String.fromCharCode((15&t)<<12|(63&a)<<6|63&n),i+=3);return o}}},23:function(e,t,a){"use strict";a.d(t,"g",function(){return g}),a.d(t,"h",function(){return h}),a.d(t,"i",function(){return f}),a.d(t,"d",function(){return _}),a.d(t,"j",function(){return w}),a.d(t,"k",function(){return y}),a.d(t,"l",function(){return b}),a.d(t,"m",function(){return v}),a.d(t,"b",function(){return E}),a.d(t,"a",function(){return C}),a.d(t,"f",function(){return T}),a.d(t,"e",function(){return S}),a.d(t,"c",function(){return k});var n=a(37),o=(a.n(n),a(36)),i=a.n(o),r=a(16),l=a(29),s=a.n(l),c=(a(25),a(32)),u=a(31),d=a(141),p=a.n(d),m="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},g="RECEIVE_USERINFO",h="CLEAR_USERINFO",f="RECEIVE_LOGINTYPE",_="RECEIVE_CASUSERINFO",w="CLEAR_CASUSERINFO",y="GET_LOCALE",b="SET_LOCALE",v="CHANGE_WINDOW",E=function(e){return{type:f,data:e}},C=function(e){return{type:y,data:e}},T=function(e){return{type:b,data:e}},x=function(e){return{type:_,data:e}},S=function(e,t,a){return{type:v,data:{submitting:e,submitpending:t,submitnote:a}}},k=function(e,t,n,o,i,l,s,d,p,m,g){return function(h){e=e.replace(/\s+/g,""),t=t.replace(/\s+/g,"");var f="";if(!o){a.i(u.a)(131);var _=a.i(u.b)(r.a.public_exponent,"",r.a.modulus);f=a.i(u.c)(_,t)}var w=!1,y={},b={username:e,password:o?t:f,service:n,loginType:o,id:d,code:p};if(window.location.pathname.indexOf("oauth2login")>-1||localStorage.getItem("isOAuth2")){w=!0;var v=a.i(c.d)("response_type")||localStorage.getItem("response_type"),E=a.i(c.d)("client_id")||localStorage.getItem("client_id"),C=a.i(c.d)("redirect_uri")||localStorage.getItem("redirect_uri"),T=a.i(c.d)("scope")||localStorage.getItem("scope"),x=a.i(c.d)("state")||localStorage.getItem("state");localStorage.setItem("response_type",v),localStorage.setItem("client_id",E),localStorage.setItem("redirect_uri",C),localStorage.setItem("scope",T),localStorage.setItem("state",x),b.service=C,y={response_type:v,client_id:E,redirect_uri:C,scope:T,state:x},b=Object.assign(b,y)}["1","2"].indexOf(g)>-1||!g?A(b,f,h,w,o,e,t,l,s,i,n,m):O(b,f,h,w,o,e,t,l,s,i,n,m)}},O=function(e,t,a,n,o,i,r,l,s,c,u,d){var p={requestCaptchaDataUrl:"/lyuapServer/kaptcha",validCaptchaUrl:"/lyuapServer/validateKaptcha",bindEl:"#captcha-box",validSuccess:function(p,m,g){g.destroyWindow(),console.log("éªè¯æåï¼å端è¿åçæ°æ®ä¸º",p.data.id),e.id=p.data.id,A(e,t,a,n,o,i,r,l,s,c,u,d)},validFail:function(e,t,a){console.log("éªè¯ç éªè¯å¤±è´¥åè°...",e,t),a.reloadCaptcha()},btnRefreshFun:function(e,t){console.log("å·æ°æé®è§¦åäºä»¶..."),t.reloadCaptcha()},btnCloseFun:function(e,t){console.log("å
³éæé®è§¦åäºä»¶..."),t.destroyWindow()}},m={logoUrl:null,moveTrackMaskBgColor:"#f7b645",moveTrackMaskBorderColor:"#ef9c0d"};window.initTAC("assets/tac",p,m).then(function(e){e.init()}).catch(function(e){console.log("åå§åtac失败",e)})},A=function(e,t,n,o,l,u,d,g,h,f,_,w){n(S("none","url("+p.a+") no-repeat 50% 30%","block"));var y=a(5);s.a.post(r.a.CAS+(o?"/oauth2/code":"/v1/tickets"),y.stringify(e)).then(function(t){if(201==t.status||200==t.status)if("object"==m(t.data.data)&&t.data.data.code){var r=t.data.data;if(r.code){var s=r.code,p=r.uid,y={type:l,service:o?e.service:_,userName:u,passWord:d,rememberMe:g,change:h,vcodes:p};if("ISBINDOTP"==s)y.code=s,n(x(y)),f.push("/loginBindOTP");else if("CODEFALSE"==s){var b="éªè¯ç é误";window.locale.zh_CN.code_false&&(b=window.locale.zh_CN.code_false),i.a.error({title:"ç»å½å¤±è´¥",content:b}),n(S("block","none","none")),a.i(c.b)("CODEFALSE",e.uid)}else if("NOREGISTER"==s){var v={unAuthorizeUrl:_,unAuthorizeType:"1"};sessionStorage.setItem("unAuthorizeInfo",JSON.stringify(v)),f.push("/loginUnAuthorize")}else if("NOAUTHORIZATION"==s){var E={unAuthorizeUrl:_,unAuthorizeType:"2",unAuthorizeName:r.data};sessionStorage.setItem("unAuthorizeInfo",JSON.stringify(E)),f.push("/loginUnAuthorize")}else if("NETWORKCOMMITMENT"==s)y.code=s,n(x(y)),f.push("/loginNetcommit");else if("ISMODIFYPASS"==s)y.code=s,n(x(y)),f.push("/loginFirst");else if("ISPHONEOREMAILORANSWER"==s){var C=r.data;if(C.indexOf("userName")>=0){var T=C.split(","),O=T[T.length-1].split("=")[1];y.name=O}C.indexOf("answer")>=0?("1",y.checkType="1"):C.indexOf("phone")>=0?("2",y.checkType="2"):C.indexOf("email")>=0&&("3",y.checkType="3"),n(x(y));var A={pathname:"/loginCheck"};f.push(A)}else if("ISBINDWX"==s)y.code=s,n(x(y)),f.push("/loginBindWx");else if("PEOPLEMOREACCOUNT"==s){var D=r.data;if(y.content=JSON.parse(D),1==y.content.users.length){var Q=y.content.users[0];return n(k(Q.userId,Q.passWord,_,15,f,g,h))}n(x(y)),f.push("/userSelect")}else if("NOUSER"==s){var N="ç¨æ·åæå¯ç é误ã";window.locale.zh_CN.nouser&&(N=window.locale.zh_CN.nouser),i.a.error({title:"ç»å½å¤±è´¥",content:N}),n(S("block","none","none"))}else if("USERNOTONLY"==s)i.a.error({title:"ç»å½å¤±è´¥",content:r.tips}),n(S("block","none","none"));else if("USERDISABLED"==s){var I="è´¦å·è¢«åç¨ï¼è¯·èç³»ç¸å
³ç®¡çåå¤çã";window.locale.zh_CN.user_disabled&&(I=window.locale.zh_CN.user_disabled),i.a.error({title:"ç»å½å¤±è´¥",content:I}),n(S("block","none","none"))}else if("USERLOCK"==s){var L=r.data;L.length>0&&(L=L.substring(11,L.length)),i.a.error({title:"è´¦å·éå®",content:"è´¦å·éå®è³:"+L+"ï¼è¯·ç¨åéæ°ç»å½æè系管çåå¤çã"}),n(S("block","none","none"))}else if("TWOVERIFY"==s){var M=r.data;y.code=s,y.content=JSON.parse(M),n(x(y)),o&&localStorage.setItem("isOAuth2",!0),f.push("/loginAgain")}else{var P="è¯·æ£æ¥è´¦å·æå¯ç æ¯å¦æ£ç¡®";if(r.data.indexOf(",")>0){var W=r.data.split(",")[0],q=r.data.split(",")[1];sessionStorage.setItem("errorNum",q),P=W==q?"å¯ç å·²è¿ç»é误ã"+q+"ãæ¬¡ï¼è´¦å·éå®ã":"å¯ç å·²è¿ç»é误ã"+q+"ãæ¬¡ï¼è¿ç»é误ã"+W+"ãæ¬¡è´¦å·å°è¢«éå®ã"}else if("number"==typeof Number(r.data)&&!isNaN(r.data)){var U=r.data;sessionStorage.setItem("errorNum",U)}i.a.error({title:"ç»å½å¤±è´¥",content:P}),n(S("block","none","none"))}w&&w()}}else{n(S("block","none","none"));var R=void 0;if(t.data.tgt)R=t.data.tgt;else{try{R=t.data}catch(e){console.log(e)}console.log("请修æ¹é
ç½®æä»¶isLoginticketæè
å端æå¡åçº§å°ææ°åå å
¥isLoginticket")}var B={type:l,service:_,tgt:R};if(window.tip.isChangeHttps&&(B.service=_.indexOf("https")>-1?_:_.replace("http","https")),localStorage.setItem("TGC",JSON.stringify(B)),l||(l=1),a.i(c.b)("session","1",.5),a.i(c.b)("CASTGC",B.tgt,"","/",window.tip.my
1Domain?window.tip.myDomain:""),null!=g&&void 0!=g&&a.i(c.e)(u,d,g,h),o){var F=decodeURIComponent(e.redirect_uri),K=F.indexOf("?")>-1?"&":"?",j=F+K+"code="+t.data.code+"&state="+e.state;window.location=j}else{var z=void 0;if(_.indexOf("?")>-1){_.split("?")[0],_.split("?")[1];z=_}else z=decodeURIComponent(_);_.indexOf("shiro-cas?loginService")>0&&(z=_.substring(0,_.indexOf("?"))),z.indexOf("?")<0&&z.indexOf("&")<0?z+="?":z+="&";var X=z+"ticket="+t.data.ticket||R;if(_.indexOf("shiro-cas?loginService")>0){var H=_.substring(_.indexOf("loginService=")+13);X+="&service="+H}window.location=X}}else i.a.error({title:"ç»å½å¤±è´¥",content:"è¯·æ£æ¥è´¦å·å¯ç æ¯å¦æ£ç¡®"}),n(S("block","none","none"))}).catch(function(e){console.log(e),i.a.error({title:"ç»å½å¤±è´¥",content:e.response}),n(S("block","none","none"))})}},25:function(e,t,a){"use strict";function n(e,t){return new Promise(function(a,n){c.a.get(e,{params:t}).then(function(e){e&&e.data?a(e.data):n(e)}).catch(function(e){n(e)})})}function o(e,t){return new Promise(function(a,n){c.a.post(e,t).then(function(e){e&&e.data?a(e.data):n(e)}).catch(function(e){n(e)})})}t.a=n,t.b=o;var i=a(53),r=(a.n(i),a(52)),l=a.n(r),s=a(29),c=a.n(s),u=a(31),d=a(16);l.a.config({maxCount:1}),c.a.defaults.withCredentials=!0,c.a.defaults.headers.get["X-Requested-With"]="XMLHttpRequest",c.a.defaults.headers.post["X-Requested-With"]="XMLHttpRequest",c.a.defaults.headers.post["Content-Type"]="application/x-www-form-urlencoded;charset=utf-8",c.a.defaults.headers.put["X-Requested-With"]="XMLHttpRequest",c.a.defaults.headers.delete["X-Requested-With"]="XMLHttpRequest",c.a.interceptors.response.use(function(e){return e.data.meta?(302==e.data.meta.statusCode?(l.a.error(e.data.meta.message),window.sessionStorage.removeItem("userLogin"),window.casStatus?window.location.href="/auth?service="+encodeURIComponent(window.location.origin+window.location.pathname+"/index"):window.browserHistory.push(d.a.CAS+"/login")):401==e.data.meta.statusCode&&l.a.error(e.data.meta.message),e):e},function(e){if(!e.response.data.meta)return e.response;if(302==e.response.data.meta.statusCode)l.a.error(e.response.data.meta.message),window.sessionStorage.removeItem("userLogin"),window.casStatus?window.location.href="/auth?service="+encodeURIComponent(window.location.origin+window.location.pathname+"/index"):window.browserHistory.push(d.a.CAS+"/login");else if(401==e.response.data.meta.statusCode)l.a.error(e.response.data.meta.message);else if(500==e.response.data.meta.statusCode)return e.response}),c.a.interceptors.request.use(function(e){var t=JSON.parse(window.sessionStorage.getItem("userLogin")),n=window.sessionStorage.getItem("Authorization");a.i(u.a)(131);var o=a.i(u.b)(d.a.public_exponent,"",d.a.modulus),i=(new Date).getTime(),r=a.i(u.c)(o,d.a.TAG+i);return t&&(e.headers.delete.loginUserId=t.userId,e.headers.get.loginUserId=t.userId,e.headers.post.loginUserId=t.userId,e.headers.delete.loginUserOrgId=t.orgId,e.headers.get.loginUserOrgId=t.orgId,e.headers.post.loginUserOrgId=t.orgId),e.headers.delete.loginUserToken=r,e.headers.get.loginUserToken=r,e.headers.post.loginUserToken=r,e.headers.delete.loginUserToken=r,e.headers.get.loginUserToken=r,e.headers.post.loginUserToken=r,e.headers.delete.loginToken="loginToken",e.headers.get.loginToken="loginToken",e.headers.post.loginToken="loginToken",e.headers.delete.loginToken="loginToken",e.headers.get.loginToken="loginToken",e.headers.post.loginToken="loginToken",null!=n&&""!=n&&(e.headers.delete.Authorization=n,e.headers.get.Authorization=n,e.headers.post.Authorization=n,e.headers.put.Authorization=n),e})},269:function(e,t){e.exports={login_first:"index-login_first-1T729",container:"index-container-271AH",content:"index-content-17SFO",page_top:"index-page_top-qfITn",logo:"index-logo-2ye2F",page_img_box:"index-page_img_box-1ckUB",page_img_a:"index-page_img_a-1PX2g",Move:"index-Move-3W_RP",page_m_top:"index-page_m_top-2lkZp",main:"index-main-3OW6a",tip:"index-tip-2idvf",box:"index-box-3d6V1",submit:"index-submit-3Nbf7",footer:"index-footer-3S_Rb",mobile:"index-mobile-3FWC5",main_r:"index-main_r-2blvo"}},270:function(e,t){e.exports={login:"index-login-3VDKN",password:"index-password-2ctVv",localeSelect:"index-localeSelect-WaSBH",mobileCarousel:"index-mobileCarousel-3sAsz",mobileContent:"index-mobileContent-21k4y",anim_box:"index-anim_box-VEiR-",mobileForm:"index-mobileForm-3YPYj",mobileLogo:"index-mobileLogo-17Hkd",mobileTitleName:"index-mobileTitleName-16ftC",mobile_btn:"index-mobile_btn-3suYT",checkContent:"index-checkContent-3zxjG",type:"index-type-3QqfW",otherLink:"index-otherLink-I5JZs",codeMask:"index-codeMask-20jm4",codeHide:"index-codeHide-3sDqT",qrMask:"index-qrMask-1X8Ss",link_refresh:"index-link_refresh-Ks07j",link_span:"index-link_span-IXxBc",qrMaskHide:"index-qrMaskHide-2MoNt",container:"index-container-386_R",content:"index-content-1yLXB",page_m_top:"index-page_m_top-3-6Ih",mb0:"index-mb0-2YmCj",main:"index-main-1Nmlz",TL_radius:"index-TL_radiu
1s-3_Vsr",TR_radius:"index-TR_radius-_xxQr",BR_radius:"index-BR_radius-1IPRj",BL_radius:"index-BL_radius-2iwGk",captcha:"index-captcha-2FKeU",eye:"index-eye-WKtSw",code:"index-code-2G0-l",send:"index-send-37YBo",disabled:"index-disabled-3zQeT",jzmm:"index-jzmm-3lGPu",main_l:"index-main_l-oFOhV",bg_1:"index-bg_1-jfeyu",bg_2:"index-bg_2-1kjfz",bg_3:"index-bg_3-2Ibq4",bg_1_img:"index-bg_1_img-1S4-S",bg_2_img:"index-bg_2_img-3vvif",bg_3_img:"index-bg_3_img-21--8",bg_2_line:"index-bg_2_line-1hSFh",spin:"index-spin-1pUFX",bg_2_light:"index-bg_2_light-36W6S",fd:"index-fd-3SPZs",bg_3_1:"index-bg_3_1-1JFa7",bg1:"index-bg1-Q6_Rc",bg_3_2:"index-bg_3_2-TYSqS",bg_3_3:"index-bg_3_3-2BrHI",bg3:"index-bg3-22cY9",bg_3_4:"index-bg_3_4-1KXGj",main_r:"index-main_r-2irmV",main_r2:"index-main_r2-25hxu",title:"index-title-d71Th",logtip:"index-logtip-2iLc4",tip:"index-tip-kPsHR",tip_icon:"index-tip_icon-3EM51",tip_qr:"index-tip_qr-1P7Iu",tip_mm:"index-tip_mm-21AM7",qr_btn:"index-qr_btn-3JpGS",sj_btn:"index-sj_btn-11Xsa",submit:"index-submit-1UOCo",logining:"index-logining-HO9Db",scaleDraw:"index-scaleDraw-3629F",or:"index-or-17NTJ",type_box:"index-type_box-1R6Y0",qr_box_Finger:"index-qr_box_Finger-2dlEv",qr_box_ukey:"index-qr_box_ukey-3H2cn",qr_box:"index-qr_box-3YLBI",qr_img_box:"index-qr_img_box-yEgr_",qr_type_box:"index-qr_type_box-3u8fh",qr_type:"index-qr_type-2qfV9",active:"index-active-N8VFh",type_icon:"index-type_icon-BptoG",icon_wx:"index-icon_wx-3izQ0",icon_app:"index-icon_app-TyWJf",footer:"index-footer-2RFks",moblieTitle:"index-moblieTitle-srF7h",moblielogo:"index-moblielogo-3gc6R",mobile:"index-mobile-2EJlE",pt_page_rotateFall:"index-pt_page_rotateFall-1OWF9",rotateFall:"index-rotateFall-1-f34",pt_page_scaleUp:"index-pt_page_scaleUp-155Kt",scaleUp:"index-scaleUp-1t_rQ",finger_box:"index-finger_box-22-Pq",finger_img:"index-finger_img-2FxbO",finger_overtime:"index-finger_overtime-1dXsC",finger_timeout:"index-finger_timeout-RmRZX",finger_zw:"index-finger_zw-3XTjG",finger_a:"index-finger_a-jywn5",finger_dh:"index-finger_dh-3G-cH",myMove:"index-myMove-2RrL8",finger_line:"index-finger_line-1s9Ib",myMoveTwo:"index-myMoveTwo-3UIK8",finger_tip:"index-finger_tip-orzCC",ukey:"index-ukey-VyfPm",ukey1:"index-ukey1-1eczk",imgssdiv:"index-imgssdiv-1ZaPO",imgss:"index-imgss-S-fA7",imgsstitle:"index-imgsstitle-1H9tk",inputWrapper:"index-inputWrapper-24qrs",inputIcon:"index-inputIcon-2LNto",inputEyeIcon:"index-inputEyeIcon-2XbCa",inputLabel:"index-inputLabel-mfHFv",formMargin:"index-formMargin-2iXm2",error:"index-error-3tQM8",passworRequired:"index-passworRequired-3Dl59",block:"index-block-PxJB8",car_mask:"index-car_mask-2TWGX",mask_header:"index-mask_header-2Y3pm",mask_content:"index-mask_content-1g9dl",top_logo:"index-top_logo-rXTPO",mask_center:"index-mask_center-1rGk0",mask_footer:"index-mask_footer-3itue",new_topNav:"index-new_topNav-3co_7",topTitle:"index-topTitle-alZGb",icon_qq:"index-icon_qq-1wIz6",icon_weibo:"index-icon_weibo-3Bcyt",icon_dingding:"index-icon_dingding-wOw1t",icon_mobile:"index-icon_mobile-g69Pv",icon_mm:"index-icon_mm-1ICWn",icon_finger:"index-icon_finger-TXFDI",icon_ukey:"index-icon_ukey-1m6KU",half_opacity:"index-half_opacity-6Asvi"}},271:function(e,t){e.exports={container:"index-container-ENhgq",codeMask:"index-codeMask-1eTZs",codeHide:"index-codeHide-3XVCA",content:"index-content-1tUwo",header:"index-header-2AOyB",mobileCarousel:"index-mobileCarousel-3CxnV",carousel:"index-carousel-1pXOS",banner:"index-banner-2Faoi",loginIcon:"index-loginIcon-1s2Hk",loginBoxHeader:"index-loginBoxHeader-3oWBI",loginTitle:"index-loginTitle-3Q3iD",loginContent:"index-loginContent-1v6dJ",moblieContent:"index-moblieContent-1ZW0S",mobileLogin:"index-mobileLogin-3MBPs",moblielogo:"index-moblielogo-_hvDh",moblieFooter:"index-moblieFooter-1qi29",footerContent:"index-footerContent-1Lcf5",login:"index-login-1zJP3",logo:"index-logo-3EPMo",tab:"index-tab-3_Vhp",active:"index-active-3KaD9",formContent:"index-formContent-3PCc4",anim_box_mobile:"index-anim_box_mobile-1pUAh",anim_box:"index-anim_box-25ua7",submit:"index-submit-3pVUa",reset:"index-reset-JJkpY",codeSubmit:"index-codeSubmit-2HbOg",or:"index-or-3wlEj",type_box:"index-type_box-39pcS",type:"index-type-baqvZ",type_icon:"index-type_icon-1ChNd",icon_qq:"index-icon_qq-1Q8vA",icon_dingding:"index-icon_dingding-2uQT8",icon_mobile:"index-icon_mobile-20ec8",icon_mm:"index-icon_mm-2GWzL",icon_finger:"index-icon_finger-3mWDR",icon_wx:"index-icon_wx-1TzIJ",icon_ukey:"index-icon_ukey-UJQRj",send:"index-send-1Px25",disabled:"index-disabled-1KqLv",description:"index-description-RInwZ",descriptionHeader:"index-descriptionHeader-eGZMs",descriptionContent:"index-descriptionContent-250oY",descriptionRight:"index-descriptionRight-7iK7-",red:"index-red-3dkxd",footer
1:"index-footer-1-9bP",finger_box:"index-finger_box-20nkF",finger_img:"index-finger_img-1yMx9",finger_overtime:"index-finger_overtime-iU_aa",finger_timeout:"index-finger_timeout-3IFu2",finger_zw:"index-finger_zw-PaMj-",finger_a:"index-finger_a-KLHBI",finger_dh:"index-finger_dh-2cdux",myMove:"index-myMove-26HTl",finger_line:"index-finger_line-2H_7W",myMoveTwo:"index-myMoveTwo-1I5Y_",finger_tip:"index-finger_tip-3H5K7",ukey1:"index-ukey1-2DhN8",qr_box_Finger:"index-qr_box_Finger-1TZ3s",qr_box_ukey:"index-qr_box_ukey-1l3qn",qr_box:"index-qr_box-3j9xT",qr_img_box:"index-qr_img_box-3w5fe",qr_type_box:"index-qr_type_box-3ZVvf",qr_type:"index-qr_type-16Ce7",icon_app:"index-icon_app-3hea_",qrMask:"index-qrMask-SkGcn",link_refresh:"index-link_refresh-2SHbK",link_span:"index-link_span-CfLXa",qrMaskHide:"index-qrMaskHide-1MxOL",moblieTitle:"index-moblieTitle-1jsDq",imgssdiv:"index-imgssdiv-2P2d1",imgss:"index-imgss-3mL2z",imgsstitle:"index-imgsstitle-3cTah",inputWrapper:"index-inputWrapper-dUmek",inputIcon:"index-inputIcon-OjDkJ",inputEyeIcon:"index-inputEyeIcon-1lH4k",inputLabel:"index-inputLabel-3N53b",formMargin:"index-formMargin-UfjM6",error:"index-error-V-0Iq",passworRequired:"index-passworRequired-2Q5hg",block:"index-block-CgIC7",pcOption:"index-pcOption-3UUPy",optionItem:"index-optionItem-2B7fs",appQr:"index-appQr-KVTLk",borwersItem:"index-borwersItem-3CaER",mobileOption:"index-mobileOption-5QQ1E",lyeduimg:"index-lyeduimg-2d7_S",lyedup:"index-lyedup-Y7wkX",password:"index-password-2c0RZ",mb20:"index-mb20-1-nhK",mb6:"index-mb6-3jxGg",otherLink:"index-otherLink-31-wx",icon_weibo:"index-icon_weibo-15Trq",borwers:"index-borwers-3WT3e"}},295:function(e,t,a){e.exports=a.p+"assets/images/Biazfanxmam.png"},296:function(e,t,a){e.exports=a.p+"assets/images/ukey_find.gif"},297:function(e,t,a){e.exports=a.p+"assets/images/wxlogo.png"},31:function(e,t,a){"use strict";function n(e){q=e,U=new Array(q);for(var t=0;t<U.length;t++)U[t]=0;R=new o,B=new o,B.digits[0]=1}function o(e){this.digits="boolean"==typeof e&&1==e?null:U.slice(0),this.isNeg=!1}function i(e){var t=new o(!0);return t.digits=e.digits.slice(0),t.isNeg=e.isNeg,t}function r(e){var t=new o;t.isNeg=e<0,e=Math.abs(e);for(var a=0;e>0;)t.digits[a++]=e&H,e=Math.floor(e/j);return t}function l(e){for(var t="",a=e.length-1;a>-1;--a)t+=e.charAt(a);return t}function s(e,t){var a=new o;a.digits[0]=t;for(var n=O(e,a),i=V[n[1].digits[0]];1==k(n[0],R);)n=O(n[0],a),digit=n[1].digits[0],i+=V[n[1].digits[0]];return(e.isNeg?"-":"")+l(i)}function c(e){for(var t="",a=0;a<4;++a)t+=G[15&e],e>>>=4;return l(t)}function u(e){for(var t="",a=(_(e),_(e));a>-1;--a)t+=c(e.digits[a]);return t}function d(e){return e>=48&&e<=57?e-48:e>=65&&e<=90?10+e-65:e>=97&&e<=122?10+e-97:0}function p(e){for(var t=0,a=Math.min(e.length,4),n=0;n<a;++n)t<<=4,t|=d(e.charCodeAt(n));return t}function m(e){for(var t=new o,a=e.length,n=a,i=0;n>0;n-=4,++i)t.digits[i]=p(e.substr(Math.max(n-4,0),Math.min(n,4)));return t}function g(e,t){var a="-"==e.charAt(0),n=a?1:0,i=new o,r=new o;r.digits[0]=1;for(var l=e.length-1;l>=n;l--){i=h(i,b(r,d(e.charCodeAt(l)))),r=b(r,t)}return i.isNeg=a,i}function h(e,t){var a;if(e.isNeg!=t.isNeg)t.isNeg=!t.isNeg,a=f(e,t),t.isNeg=!t.isNeg;else{a=new o;for(var n,i=0,r=0;r<e.digits.length;++r)n=e.digits[r]+t.digits[r]+i,a.digits[r]=n%j,i=Number(n>=j);a.isNeg=e.isNeg}return a}function f(e,t){var a;if(e.isNeg!=t.isNeg)t.isNeg=!t.isNeg,a=h(e,t),t.isNeg=!t.isNeg;else{a=new o;var n,i;i=0;for(var r=0;r<e.digits.length;++r)n=e.digits[r]-t.digits[r]+i,a.digits[r]=n%j,a.digits[r]<0&&(a.digits[r]+=j),i=0-Number(n<0);if(-1==i){i=0;for(var r=0;r<e.digits.length;++r)n=0-a.digits[r]+i,a.digits[r]=n%j,a.digits[r]<0&&(a.digits[r]+=j),i=0-Number(n<0);a.isNeg=!e.isNeg}else a.isNeg=e.isNeg}return a}function _(e){for(var t=e.digits.length-1;t>0&&0==e.digits[t];)--t;return t}function w(e){var t,a=_(e),n=e.digits[a],o=(a+1)*K;for(t=o;t>o-K&&0==(32768&n);--t)n<<=1;return t}function y(e,t){for(var a,n,i,r=new o,l=_(e),s=_(t),c=0;c<=s;++c){a=0,i=c;for(var u=0;u<=l;++u,++i)n=r.digits[i]+e.digits[u]*t.digits[c]+a,r.digits[i]=n&H,a=n>>>F;r.digits[c+l+1]=a}return r.isNeg=e.isNeg!=t.isNeg,r}function b(e,t){var a,n,i,r=new o;a=_(e),n=0;for(var l=0;l<=a;++l)i=r.digits[l]+e.digits[l]*t+n,r.digits[l]=i&H,n=i>>>F;return r.digits[1+a]=n,r}function v(e,t,a,n,o){for(var i=Math.min(t+o,e.length),r=t,l=n;r<i;++r,++l)a[l]=e[r]}function E(e,t){var a=Math.floor(t/K),n=new o;
1v(e.digits,0,n.digits,a,n.digits.length-a);for(var i=t%K,r=K-i,l=n.digits.length-1,s=l-1;l>0;--l,--s)n.digits[l]=n.digits[l]<<i&H|(n.digits[s]&J[i])>>>r;return n.digits[0]=n.digits[l]<<i&H,n.isNeg=e.isNeg,n}function C(e,t){var a=Math.floor(t/K),n=new o;v(e.digits,a,n.digits,0,e.digits.length-a);for(var i=t%K,r=K-i,l=0,s=l+1;l<n.digits.length-1;++l,++s)n.digits[l]=n.digits[l]>>>i|(n.digits[s]&Y[i])<<r;return n.digits[n.digits.length-1]>>>=i,n.isNeg=e.isNeg,n}function T(e,t){var a=new o;return v(e.digits,0,a.digits,t,a.digits.length-t),a}function x(e,t){var a=new o;return v(e.digits,t,a.digits,0,a.digits.length-t),a}function S(e,t){var a=new o;return v(e.digits,0,a.digits,0,t),a}function k(e,t){if(e.isNeg!=t.isNeg)return 1-2*Number(e.isNeg);for(var a=e.digits.length-1;a>=0;--a)if(e.digits[a]!=t.digits[a])return e.isNeg?1-2*Number(e.digits[a]>t.digits[a]):1-2*Number(e.digits[a]<t.digits[a]);return 0}function O(e,t){var a,n,r=w(e),l=w(t),s=t.isNeg;if(r<l)return e.isNeg?(a=i(B),a.isNeg=!t.isNeg,e.isNeg=!1,t.isNeg=!1,n=f(t,e),e.isNeg=!0,t.isNeg=s):(a=new o,n=i(e)),new Array(a,n);a=new o,n=e;for(var c=Math.ceil(l/K)-1,u=0;t.digits[c]<z;)t=E(t,1),++u,++l,c=Math.ceil(l/K)-1;n=E(n,u),r+=u;for(var d=Math.ceil(r/K)-1,p=T(t,d-c);-1!=k(n,p);)++a.digits[d-c],n=f(n,p);for(var m=d;m>c;--m){var g=m>=n.digits.length?0:n.digits[m],y=m-1>=n.digits.length?0:n.digits[m-1],v=m-2>=n.digits.length?0:n.digits[m-2],x=c>=t.digits.length?0:t.digits[c],S=c-1>=t.digits.length?0:t.digits[c-1];a.digits[m-c-1]=g==x?H:Math.floor((g*j+y)/x);for(var O=a.digits[m-c-1]*(x*j+S),A=g*X+(y*j+v);O>A;)--a.digits[m-c-1],O=a.digits[m-c-1]*(x*j|S),A=g*j*j+(y*j+v);p=T(t,m-c-1),n=f(n,b(p,a.digits[m-c-1])),n.isNeg&&(n=h(n,p),--a.digits[m-c-1])}return n=C(n,u),a.isNeg=e.isNeg!=s,e.isNeg&&(a=s?h(a,B):f(a,B),t=C(t,u),n=f(t,n)),0==n.digits[0]&&0==_(n)&&(n.isNeg=!1),new Array(a,n)}function A(e,t){return O(e,t)[0]}function D(e){this.modulus=i(e),this.k=_(this.modulus)+1;var t=new o;t.digits[2*this.k]=1,this.mu=A(t,this.modulus),this.bkplus1=new o,this.bkplus1.digits[this.k+1]=1,this.modulo=Q,this.multiplyMod=N,this.powMod=I}function Q(e){var t=x(e,this.k-1),a=y(t,this.mu),n=x(a,this.k+1),o=S(e,this.k+1),i=y(n,this.modulus),r=S(i,this.k+1),l=f(o,r);l.isNeg&&(l=h(l,this.bkplus1));for(var s=k(l,this.modulus)>=0;s;)l=f(l,this.modulus),s=k(l,this.modulus)>=0;return l}function N(e,t){var a=y(e,t);return this.modulo(a)}function I(e,t){var a=new o;a.digits[0]=1;for(var n=e,i=t;;){if(0!=(1&i.digits[0])&&(a=this.multiplyMod(a,n)),i=C(i,1),0==i.digits[0]&&0==_(i))break;n=this.multiplyMod(n,n)}return a}function L(e,t,a){this.e=m(e),this.d=m(t),this.m=m(a),this.chunkSize=2*_(this.m),this.radix=16,this.barrett=new D(this.m)}function M(e,t,a){return new L(e,t,a)}function P(e,t){for(var a=new Array,n=t.length,i=0;i<n;)a[i]=t.charCodeAt(i),i++;for(;a.length%e.chunkSize!=0;)a[i++]=0;var r,l,c,d=a.length,p="";for(i=0;i<d;i+=e.chunkSize){for(c=new o,r=0,l=i;l<i+e.chunkSize;++r)c.digits[r]=a[l++],c.digits[r]+=a[l++]<<8;var m=e.barrett.powMod(c,e.e);p+=(16==e.radix?u(m):s(m,e.radix))+" "}return p.substring(0,p.length-1)}function W(e,t){var a,n,o,i=t.split(" "),r="";for(a=0;a<i.length;++a){var l;for(l=16==e.radix?m(i[a]):g(i[a],e.radix),o=e.barrett.powMod(l,e.d),n=0;n<=_(o);++n)r+=String.fromCharCode(255&o.digits[n],o.digits[n]>>8)}return r.charCodeAt(r.length-1),r}t.a=n,t.b=M,t.c=P,t.d=W;var q,U,R,B,F=16,K=F,j=65536,z=j>>>1,X=j*j,H=j-1;n(20);var V=(r(1e15),new Array("0","1","2","3","4","5","6","7","8","9","a","b","c","d","e","f","g","h","i","j","k","l","m","n","o","p","q","r","s","t","u","v","w","x","y","z")),G=new Array("0","1","2","3","4","5","6","7","8","9","a","b","c","d","e","f"),J=new Array(0,32768,49152,57344,61440,63488,64512,65024,65280,65408,65472,65504,65520,65528,65532,65534,65535),Y=new Array(0,1,3,7,15,31,63,127,255,511,1023,2047,4095,8191,16383,32767,65535)},32:function(e,t,a){"use strict";function n(e){return e>=48&&e<=57?1:e>=65&&e<=90?2:e>=97&&e<=122?4:8}function o(e){for(var t=0,a=0;a<4;a++)1&e&&t++,e>>>=1;return t}function i(e){if(e.length<=4)return 0;for(var t=0,a=0;a<e.length;a++)t|=n(e.charCodeAt(a));return o(t)}function r(e){var t=null,a=null,n=null;if(null==e||""==e)t=a=n="#d9d9d9";else{switch(i(e)){case 0:t=a=n="#d9d9d9";case 1:t="#FF0000",a=n="#d9d9d9";break;case 2:t=a="#FF9900",n="#d9d9d9";break;default:t=a=n="#33CC00"}}return{Lcolor:t,Mcolor:a,Hcolor:n}}function l(e,t,a,n,o){var i=e+"="+escape(t),r=n||"/";document.cookie=i+";path="+r+";domain="+o}function s(e){for(var t=e+"=",a=document.cookie.split(";"),n=0;n<a.length;n++){var o=a[n].trim();if(0==o.indexOf(t))return o.substring(t.length,o.length)}return""}function c(e,t){l(e,"","",t)}a.d(t,"c",function(){return d}),a.d(t,"g",function(){return p}),t.i=i,t.j=r,a.d(t,"e",function(){return m}),t.b=l,t.a=s,t.f=c,a.d(t,"d",function(){return g}),a.d(t,"h",function(){return h});var u=a(1),d=(a.n(u),function(){var e=void 0,t=void 0,a=void 0,n=void 0,o=void 0;return t=window.innerHeight,e=window.innerWidth,o=document.documentElement.scrollTop||document.body.scrollTop,a=document.documentElement.scrollHeight>document.body.scrollHeight?document.documentElement.scrollHeight:document.body.scrollHeight,n=document.documentElement.scrollWidth>document.body.scrollWidth?document.documentElement.scrollWidth:document.body.scrollWidth,{windowW:e,windowH:t,contentH:a,contentW:n,scrollT:o}}),p={dateAddKey:function(e){var t=1;return e.forEach(function(e){e.key=t++}),e},dataFormat:function(e){var t=new Date(e);return t.getFullYear()+"-"+(t.getMonth()+1>=10?t.getMonth()+1:"0"+(t.getMonth()+1))+"-"+(t.getDate()>=10?t.getDate():"0"+t.getDate())+" "+(t.getHours()>=10?t.getHours():"0"+t.getHours())+":"+(t.getMinutes()>=10?t.getMinutes():"0"+t.getMinutes())+":"+(t.getSeconds()>=10?t.getSeconds():"0"+t.getSeconds())},dateFormat:function(e){var t=new Date(e);return t.getFullYear()+(t.getMonth()+1>=10?t.getMonth()+1:"0"+(t.getMonth()+1))+(t.getDate()>=10?t.getDate():"0"+t.getDate())},stringToDate:function(e){var t=e.split(" "),a=t[0].split("-"),e=new Date(a[0],a[1]-1,a[2]);return e}},m=function(e,t,a,n){if(a)if(null!=n&&""!=n&&void 0!=n&&n){var o=new Date;o.setTime(o.getTime()-1);var i=document.cookie,r=i.indexOf("accountInfo");-1!=r&&(document.cookie="accountInfo= ;expires="+o.toGMTString());var s=e+"&"+t,c=new Date;c.setTime(c.getTime()+6048e5),document.cookie="accountInfo="+escape(s)+";expires="+c.toGMTString()+";path=/"}else{var u=(new RegExp("(^| )accountInfo=([^;]*)(;|$)"),{value:e+"&"+t,expires:(new Date).getTime()+6048e5});localStorage.setItem("accountInfo",JSON.stringify(u))}else{var d=new Date;d.setTime(d.getTime()-1);var p=document.cookie,r=p.indexOf("accountInfo");-1!=r&&l("accountInfo","")}},g=function(e){var t=new RegExp("(^|&)"+e+"=([^&]*)(&|$)"),a=window.location.search.split("?")[1]||"",n=a.match(t);return n?decodeURIComponent(n[2]):null},h=function(){for(var e=document.cookie.split(";"),t=window.locale.cookiesWhiteList||[],a=0;a<e.length;a++)!function(a){var n=e[a];if(0===t.length){var o=n.indexOf("="),i=o>-1?n.substr(0,o):n;document.cookie=i+"=; expires=Thu, 01 Jan 1970 00:00:00 UTC; path=/;"}else t.map(function(e){if(n.split("=")[0].indexOf(e)<0){var t=n.indexOf("="),a=t>-1?n.substr(0,t):n;document.cookie=a+"=; expires=Thu, 01 Jan 1970 00:00:00 UTC; path=/;"}})}(a)}},328:function(e,t,a){"use strict";var n=a(1),o=a.n(n),i=a(1137),r=a.n(i),l=function(e){var t=e.width,i=function(){var e=document.querySelectorAll(".code-item"),t=document.querySelector(".code-input"),a=function(){var a=t.value;Array.from(e).map(function(e,t){a[t]?e.innerText=a[t]:e.innerText=""})},n=function(a){var n=t.value.length;Array.from(e).map(function(e){e.className=r.a.code_item+" code-item "}),"focus"===a&&(e[6===n?n-1:n].className=r.a.code_item+" code-item "+r.a.active)};t.addEventListener("focus",function(){n("focus")}),t.addEventListener("blur",function(){n("blur")}),t.addEventListener("input",function(){a(),n("focus")}),t.focus()};return a.i(n.useEffect)(function(){i()},[]),o.a.createElement("div",{className:r.a.code_box+" code-box",style:t?{width:Number(6*t+30)+"px"}:{}},new Array(6).fill("").map(function(e,a){return o.a.createElement("div",{key:a,className:r.a.code_item+" code-item",style:t?{width:t,height:t,lineHeight:t+"px"}:{}})}),o.a.createElement("input",{type:"text",className:r.a.code_input+" code-input",maxLength:"6"}))};t.a=l},329:function(module,__webpack_exports__,__webpack_require__){"use strict";function _classCallCheck(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function _possibleConstructorReturn(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function _inherits(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}__webpack_require__.d(__webpack_exports__,"a",function(){return FingerLogin});var __WEBPACK_IMPORTED_MODULE_0_antd_lib_button_style__=__webpack_require__(22),__WEBPACK_IMPORTED_MODULE_0_antd_lib_button_style___default=__webpack_require__.n(__WEBPACK_IMPORTED_MODULE_0_antd_lib_button_style__),__WEBPACK_IMPORTED_MODULE_1_antd_lib_button__=__webpack_require__(21),__WEBPACK_IMPORTED_MODULE_1_antd_lib_button___default=__webpack_require__.n(__WEBPACK_IMPORTED_MODULE_1_antd_lib_button__),__WEBPACK_IMPORTED_MODULE_2_antd_lib_modal_style__=__webpack_require__(37),__WEBPACK_IMPORTED_MODULE_2_antd_lib_modal_style___default=__webpack_require__.n(__WEBPACK_IMPORTED_MODULE_2_antd_lib_modal_style__),__WEBPACK_IMPORTED_MODULE_3_antd_lib_modal__=__webpack_require__(36),__WEBPACK_IMPORTED_MODULE_3_antd_lib_modal___default=__webpack_require__.n(__WEBPACK_IMPORTED_MODULE_3_antd_lib_modal__),__WEBPACK_IMPORTED_MODULE_4_react__=__webpack_require__(1),__WEBPACK_IMPORTED_MODULE_4_react___default=__webpack_require__.n(__WEBPACK_IMPORTED_MODULE_4_react__),__WEBPACK_IMPORTED_MODULE_5_util_base64__=__webpack_require__(221),__WEBPACK_IMPORTED_MODULE_6__index_less__=__webpack_require__(185),__WEBPACK_IMPORTED_MODULE_6__index_less___default=__webpack_require__.n(__WEBPACK_IMPORTED_MODULE_6__index_less__),__WEBPACK_IMPORTED_MODULE_7_react_redux__=__webpack_require__(12),__WEBPACK_IMPORTED_MODULE_8__redux_actions_login__=__webpack_require__(23),__WEBPACK_IMPORTED_MODULE_9_util_rsa__=__webpack_require__(31),__WEBPACK_IMPORTED_MODULE_10_axios__=__webpack_require__(29),__WEBPACK_IMPORTED_MODULE_10_axios___default=__webpack_require__.n(__WEBPACK_IMPORTED_MODULE_10_axios__),__WEBPACK_IMPORTED_MODULE_11__app_config_names__=__webpack_require__(16),__WEBPACK_IMPORTED_MODULE_12_rc_queue_anim__=__webpack_require__(51),_createClass=function(){function e(e,t){for(var a=0;a<t.length;a++){var n=t[a];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}return function(t,a,n){return a&&e(t.prototype,a),n&&e(t,n),t}}(),_dec,_class,FingerLogin=(_dec=__webpack_require__.i(__WEBPACK_IMPORTED_MODULE_7_react_redux__.b)(function(e){return{dispatch:e.dispatch,login:e.login}}))(_class=function(_React$Component){function FingerLogin(props){_classCallCheck(this,FingerLogin);var _this=_possibleConstructorReturn(this,(FingerLogin.__proto__||Object.getPrototypeOf(FingerLogin)).call(this,props));return _this.fingerInterval=function(e){_this.interval=setInterval(function(){var e=_this.state.fingerTime;1==e?(clearInterval(_this.interval),_this.setState({type:1,fingerTime:3})):_this.setState({fingerTime:e-1})},1e3)},_this.fingerAgain=function(){_this.setState({type:0,tip:"æçº¹æ«æç»å½"},function(){_this.fingerInterval(),_this.connect("ws://127.0.0.1:21187/fps")})},_this.encodePass=function(e){__webpack_require__.i(__WEBPACK_IMPORTED_MODULE_9_util_rsa__.a)(131);var t=__webpack_require__.i(__WEBPACK_IMPORTED_MODULE_9_util_rsa__.b)(__WEBPACK_IMPORTED_MODULE_11__app_config_names__.a.public_exponent,"",__WEBPACK_IMPORTED_MODULE_11__app_config_names__.a.modulus);return __webpack_require__.i(__WEBPACK_IMPORTED_MODULE_9_util_rsa__.c)(t,e)},_this.Transaction=function(){var e={value:""},t=FPEngineEx1.GetWorkMsg();switch(t){case 1:e.value="è®¾å¤æªè¿æ¥";break;case 2:e.value="è¯·æææ";break;case 3:e.value="请æ¬èµ·ææ";break;case 4:e.value="ééå¾åæå";FPEngineEx1.GetImageEx();break;case 5:e.value="ééæçº¹ç¹å¾ç¹å®æ";var a=FPEngineEx1.GetCharEx();clearTimeout(_this.timer),_this.timer=null,_this.postFingerLogin(a);break;case 6:e.value="ç»è®°æçº¹ç¹å¾ç¹å®æ";FPEngineEx1.GetFptEx();clearTimeout(_this.timer),_this.timer=null}-1!=t&&_this.setState({tip:e.value}),_this.timer=setTimeout(_this.Transaction,500)},_this.postFingerLogin=function(e){var t=__WEBPACK_IMPORTED_MODULE_5_util_base64__.a.encode(e),a={matchStr:t},n=(new Date).getTime(),o=_this.encodePass(__WEBPACK_IMPORTED_MODULE_11__app_config_names__.a.TAG+n);__WEBPACK_IMPORTED_MODULE_10_axios___default.a.post(__WEBPACK_IMPORTED_MODULE_11__app_config_names__.a.CAS+"/finger/login",a,{headers:{token:o}}).then(function(e){var t=e.data,a=t.meta,n=t.data;a.success?n?(_this.props.dispatch(__webpack_require__.i(__WEBPACK_IMPORTED_MODULE_8__redux_actions_login__.c)(n.userName,n.passWord,n.service,"5",_this.props.history)),_this.setState({tip:"æ£å¨ç»å½ä¸..."})):__WEBPACK_IMPORTED_MODULE_3_antd_lib_modal___default.a.error({title:"æçº¹ç»å½",content:"æçº¹å¹é
失败,è¯·éæ°å¹é
æééæçº¹!",onOk:function(){_this.isIE()?_this.GetMatTemplate():_this.isSupportWebSocket()?_this.ws?_this.GetMatTemplateWS():_this.connect("ws://127.0.0.1:21187/fps"):__WEBPACK_IMPORTED_MODULE_3_antd_lib_modal___default.a.error({title:"æçº¹ç»å½",content:"æµè§å¨ä¸æ¯æwsåè®®,请使ç¨IEæµè§å¨"})}}):__WEBPACK_IMPORTED_MODULE_3_antd_lib_modal___default.a.error({title:"æçº¹ç»å½",content:"æçº¹å¹é
失败ï¼è¯·éæ°å¹é
æééæçº¹ï¼",onOk:function(){_this.isIE()?_this.GetMatTemplate():_this.isSupportWebSocket()?_this.ws?_this.GetMatTemplateWS():_this.connect("ws://127.0.0.1:21187/fps"):__WEBPACK_IMPORTED_MODULE_3_antd_lib_modal___default.a.error({title:"æçº¹ç»å½",content:"æµè§å¨ä¸æ¯æwsåè®®,请使ç¨IEæµè§å¨"})}})})},_this.GetMatTemplate=function(){1==FPEngineEx1.OpenDevice(0,0,0)?1==FPEngineEx1.LinkDevice()?(FPEngineEx1.GenCharEx(),_this.timer=setTimeout(_this.Transaction,500)):__WEBPACK_IMPORTED_MODULE_3_antd_lib_modal___default.a.error({title:"æçº¹ç»å½",content:"è¿æ¥USBæçº¹ä»
1ªå¤±è´¥"}):__WEBPACK_IMPORTED_MODULE_3_antd_lib_modal___default.a.error({title:"æçº¹ç»å½",content:"æå¼USBæçº¹ä»ªå¤±è´¥"})},_this.GetMatTemplateWS=function(){_this.ws.send('{"cmd":"capture","data1":"","data2":""}'),_this.setState({tip:"è¯·æææ"})},_this.ReOpen=function(){_this.ws.send('{"cmd":"opendevice","data1":"","data2":""}')},_this.connect=function(host){if(_this.isFireFox())__WEBPACK_IMPORTED_MODULE_3_antd_lib_modal___default.a.error({title:"æçº¹ç»å½",content:"ç«çæµè§å¨ä¸æ¯æ,è¯·æ´æ¢å
¶å®æµè§å¨!"});else{_this.ws&&(_this.ws.close(),_this.ws=null);try{_this.ws=new WebSocket(host)}catch(e){console.log("error")}_this.ws.onopen=function(){console.log("Connected OK!"),_this.ReOpen(),setTimeout(function(){_this.GetMatTemplateWS()},3e3)},_this.ws.onmessage=function(evt){var obj=eval("("+evt.data+")"),status={value:""};switch(obj.workmsg){case 1:status.value="è®¾å¤æªè¿æ¥",_this.setState({type:2}),_this.ws&&(_this.ws.close(),_this.ws=null);break;case 2:status.value="è¯·æææ";break;case 3:status.value="请æ¬èµ·ææ";break;case 4:break;case 5:if(1==obj.retmsg){status.value="ééæçº¹ç¹å¾ç¹å®æ";var matdata=void 0;matdata="null"==obj.data1?obj.data2:obj.data1,_this.postFingerLogin(matdata)}else status.value="ééæçº¹ç¹å¾ç¹å¤±è´¥",_this.setState({type:2}),_this.ws&&(_this.ws.close(),_this.ws=null);break;case 6:if(1==obj.retmsg)if(status.value="ç»è®°æçº¹ç¹å¾ç¹å®æ","null"==obj.data1);else var refdata=obj.data1;else status.value="ç»è®°æçº¹ç¹å¾ç¹å¤±è´¥";break;case 7:if("null"==obj.image);else var imageData="data:image/png;base64,"+obj.image;break;case 8:status.value="è¿æ¥æçº¹ä»ªè¶
æ¶",_this.setState({type:2}),_this.ws&&(_this.ws.close(),_this.ws=null);break;case 9:status.value="Match Result:"+obj.retmsg}obj.workmsg&&-1!=obj.workmsg&&7!=obj.workmsg&&9!=obj.workmsg&&_this.setState({tip:status.value})},_this.ws.onclose=function(){_this.ws&&(_this.ws=null)}}},_this.isFireFox=function(){return navigator.userAgent.indexOf("Firefox")>=0},_this.isIE=function(){return!!(window.ActiveXObject||"ActiveXObject"in window)},_this.isSupportWebSocket=function(){return"WebSocket"in window},_this.state={tip:"æçº¹æ«æç»å½",type:0,fingerTime:3},_this}return _inherits(FingerLogin,_React$Component),_createClass(FingerLogin,[{key:"componentDidMount",value:function(){this.fingerInterval(),this.isIE()?this.GetMatTemplate():this.isSupportWebSocket()?this.connect("ws://127.0.0.1:21187/fps"):__WEBPACK_IMPORTED_MODULE_3_antd_lib_modal___default.a.error({title:"æçº¹ç»å½",content:"æµè§å¨ä¸æ¯æwsåè®®,请使ç¨IEæµè§å¨"})}},{key:"componentWillUnmount",value:function(){this.ws&&(this.ws.close(),this.ws=null)}},{key:"render",value:function(){var e=this.props.config,t=this.state,a=t.tip,n=t.type,o=t.fingerTime;return __WEBPACK_IMPORTED_MODULE_4_react___default.a.createElement(__WEBPACK_IMPORTED_MODULE_4_react___default.a.Fragment,null,__WEBPACK_IMPORTED_MODULE_4_react___default.a.createElement("object",{classID:"clsid:059059BE-8F4C-49AC-B2A9-5649F02A4FC6",id:"FPEngineEx1",data:"DATA:application/x-oleobject",style:{display:"none"},codebase:window.location.origin+"/assets/cab/fpactive.cab"}),__WEBPACK_IMPORTED_MODULE_4_react___default.a.createElement(__WEBPACK_IMPORTED_MODULE_12_rc_queue_anim__.a,e,__WEBPACK_IMPORTED_MODULE_4_react___default.a.createElement("div",{key:"D",className:__WEBPACK_IMPORTED_MODULE_6__index_less___default.a.finger_box},__WEBPACK_IMPORTED_MODULE_4_react___default.a.createElement("div",{className:__WEBPACK_IMPORTED_MODULE_6__index_less___default.a.finger_img},__WEBPACK_IMPORTED_MODULE_4_react___default.a.createElement("div",{className:__WEBPACK_IMPORTED_MODULE_6__index_less___default.a.finger_zw}),__WEBPACK_IMPORTED_MODULE_4_react___default.a.createElement("div",{className:__WEBPACK_IMPORTED_MODULE_6__index_less___default.a.finger_a},1==n?__WEBPACK_IMPORTED_MODULE_4_react___default.a.createElement("div",{className:__WEBPACK_IMPORTED_MODULE_6__index_less___default.a.finger_dh}):null),0==n?__WEBPACK_IMPORTED_MODULE_4_react___default.a.createElement("div",{className:__WEBPACK_IMPORTED_MODULE_6__index_less___default.a.finger_timeout},o):null,1==n?__WEBPACK_IMPORTED_MODULE_4_react___default.a.createElement("div",{className:__WEBPACK_IMPORTED_MODULE_6__index_less___default.a.finger_line}):null,2==n?__WEBPACK_IMPORTED_MODULE_4_react___default.a.createElement("div",{className:__WEBPACK_IMPORTED_MODULE_6__index_less___default.a.finger_overt
1ime},__WEBPACK_IMPORTED_MODULE_4_react___default.a.createElement(__WEBPACK_IMPORTED_MODULE_1_antd_lib_button___default.a,{type:"primary",onClick:this.fingerAgain},"请ç¹å»å·æ°")):null),__WEBPACK_IMPORTED_MODULE_4_react___default.a.createElement("div",{className:__WEBPACK_IMPORTED_MODULE_6__index_less___default.a.finger_tip},a))))}}]),FingerLogin}(__WEBPACK_IMPORTED_MODULE_4_react___default.a.Component))||_class},330:function(e,t,a){"use strict";function n(e,t,a){return t in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a,e}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function r(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}a.d(t,"a",function(){return z});var l,s,c,u=a(22),d=(a.n(u),a(21)),p=a.n(d),m=a(45),g=(a.n(m),a(44)),h=a.n(g),f=a(56),_=(a.n(f),a(10)),w=a.n(_),y=a(53),b=(a.n(y),a(52)),v=a.n(b),E=a(28),C=(a.n(E),a(27)),T=a.n(C),x=a(1),S=a.n(x),k=a(3),O=a.n(k),A=a(12),D=a(23),Q=a(16),N=a(195),I=a.n(N),L=a(29),M=a.n(L),P=a(51),W=a(88),q=a(31),U=a(185),R=a.n(U),B=a(296),F=a.n(B),K=function(){function e(e,t){for(var a=0;a<t.length;a++){var n=t[a];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}return function(t,a,n){return a&&e(t.prototype,a),n&&e(t,n),t}}(),j=T.a.Item,z=(l=T.a.create(),s=a.i(A.b)(function(e){return{dispatch:e.dispatch,login:e.login}}),l(c=s(c=function(e){function t(e){o(this,t);var n=i(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return n.encodePass=function(e){a.i(q.a)(131);var t=a.i(q.b)(Q.a.public_exponent,"",Q.a.modulus);return a.i(q.c)(t,e)},n.ukeyEventListener=function(){if((navigator.userAgent.indexOf("MSIE")>-1||navigator.userAgent.indexOf("Firefox")>-1)&&!navigator.userAgent.indexOf("opera")>-1)return n.ukeyEventListenerIE10();var e=void 0,t=void 0;try{var a=new W.a;return a.Socket_UK.onopen=function(){a.ResetOrder()},a.Socket_UK.onmessage=function(o){var i=JSON.parse(o.data);if("Process"==i.type)switch(i.order){case 0:a.FindPort(0);break;case 1:if(0!=i.LastError)return n.setState({ukeyIsIn:!1}),a.Socket_UK.close(),!1;n.ukeyTimeout=setTimeout(function(){n.setState({ukeyIsIn:!0})},1e3),e=i.return_value,a.YReadEx(0,1,"ffffffff","ffffffff",e);break;case 2:if(0!=i.LastError)return n.setState({ukeyIsIn:!1}),a.Socket_UK.close(),!1;a.GetBuf(0);break;case 3:if(0!=i.LastError)return n.setState({ukeyIsIn:!1}),a.Socket_UK.close(),!1;t=i.return_value,a.YReadString(1,t,"ffffffff","ffffffff",e);break;case 4:if(0!=i.LastError)return n.setState({ukeyIsIn:!1}),a.Socket_UK.close(),!1;var r={ukeyId:i.return_value},l=(new Date).getTime(),s=n.encodePass(Q.a.TAG+l);n.state.userName||M.a.get(Q.a.CAS+"/ukey/getUserName",{headers:{token:s},params:r}).then(function(e){var t=e.data,a=t.meta,o=t.data;a.success?n.setState({userName:o,ukeyId:r.ukeyId}):v.a.error(a.message)}),a.YReadEx(20,1,"ffffffff","ffffffff",e);break;case 5:if(0!=i.LastError)return n.setState({ukeyIsIn:!1}),a.Socket_UK.close(),!1;a.GetBuf(0);break;case 6:if(0!=i.LastError)return n.setState({ukeyIsIn:!1}),a.Socket_UK.close(),!1;t=i.return_value,a.YReadString(21,t,"ffffffff","ffffffff",e);break;case 7:if(0!=i.LastError)return n.setState({ukeyIsIn:!1}),a.Socket_UK.close(),!1;n.setState({password:i.return_value}),a.EncString(I()().format("YYYYMMDD"),e);break;case 8:if(0!=i.LastError)return n.setState({ukeyIsIn:!1}),a.Socket_UK.close(),!1;n.setState({key:i.return_value}),a.Socket_UK.close()}},a.Socket_UK.onclose=function(){},!0}catch(e){}},n.ukeyEventListenerIE10=function(){try{var e=new ActiveXObject("Syunew3A.s_simnew3"),t=e.FindPort(0);if(0!=e.LastError)return n.setState({ukeyIsIn:!1}),!1;e.YReadEx(0,1,"ffffffff","ffffffff",t);var a=e.GetBuf(0),o={ukeyId:e.YReadString(1,a,"ffffffff","ffffffff",t)},i=(new Date).getTime(),r=n.encodePass(Q.a.TAG+i);return M.a.get(Q.a.CAS+"/ukey/getUserName",{headers:{token:r},params:o}).then(function(e){var t=e.data,a=t.meta,i=t.data;a.success?n.setState({userName:i,ukeyId:o.ukeyId}):v.a.error(a.message)}),0!=e.LastError?(n.setState({ukeyIsIn:!1}),!1):(e.YReadEx(20,1,"ffffffff","ffffffff",t),a=e.GetBuf(0),void n.setState({password:e.YReadString(21,a,"ffffffff","ffffffff",t),key:e.EncString(I()().format("YYYYMMDD"),t)}))}catch(e){}},n.handleSubmit=function(){n.props.form.validateFieldsAndScroll(function(e,t){if(!e){var o={password:n.state.password,key:n.state.key,pin:n.encodePass(t.password),ukeyId:n.state.ukeyId},i=(new Date).getTime(),r=n.encodePass(Q.a.TAG+i);M.a.post(Q.a.CAS+"/ukey",JSON.stringify(o),{headers:{token:r,"Content-Type":"application/json;charset=UTF-8"}}).then(function(e){var t=e.data,o=t.meta,i=t.data;if(o.success){var r=a(5),l=window.location.search;l=l.substring(l.indexOf("?")+1);var s=r.parse(l),c=i.service;s&&s.service&&(c=s.service),n.props.dispatch(a.i(D.c)(i.userName,i.passWord,c,"6",n.props.history))}else v.a.error(o.message)})}})},n.state={ukeyId:"",userName:"",password:"",key:"",ukeyIsIn:n.props.ukeyIsIn},n}
1return r(t,e),K(t,[{key:"componentWillMount",value:function(){}},{key:"componentDidMount",value:function(){this.ukeyEventListener()}},{key:"componentWillReceiveProps",value:function(e){}},{key:"render",value:function(){var e=this.state,t=e.ukeyIsIn,a=e.userName,o=this.props.config,i=this.props.form.getFieldDecorator;return S.a.createElement(S.a.Fragment,null,t?S.a.createElement(P.a,o,S.a.createElement("div",{className:R.a.ukey1,key:"D"},S.a.createElement(T.a,null,S.a.createElement(j,null,S.a.createElement("div",{style:{fontSize:"16px",fontWeight:"bold"}},"å§åï¼",a)),S.a.createElement(j,null,i("password",{rules:[{required:!0,message:"请è¾å
¥PINç ï¼"}]})(S.a.createElement(h.a,{style:{width:"200px"},className:R.a.password,size:"large",prefix:S.a.createElement(w.a,{type:"lock",style:{color:"rgba(0,0,0,.25)"}}),type:"password",placeholder:"请è¾å
¥PINç "}))),S.a.createElement(j,{className:R.a.mb0},S.a.createElement(p.a,{className:O()(R.a.submit,n({},R.a.logining,!0)),type:"primary",size:"large",onClick:this.handleSubmit},"ç»å½"))))):S.a.createElement(P.a,o,S.a.createElement("div",{key:"D",className:R.a.ukey1},S.a.createElement("div",{className:R.a.ukey},S.a.createElement("img",{src:F.a,alt:""})),S.a.createElement("div",{style:{fontWeight:"bold"}},(navigator.userAgent.indexOf("MSIE")>-1||navigator.userAgent.indexOf("Mozilla")>-1)&&!navigator.userAgent.indexOf("opera")>-1?"IEæµè§å¨ä¸æå
¥Ukeyåéå·æ°é¡µé¢":"æªæ£æµå°è®¾å¤"))))}}]),t}(S.a.Component))||c)||c)},331:function(e,t,a){"use strict";a.d(t,"b",function(){return n}),a.d(t,"c",function(){return o}),a.d(t,"d",function(){return i}),a.d(t,"e",function(){return r}),a.d(t,"f",function(){return l}),a.d(t,"a",function(){return s});var n="WINDOW_RESIZE",o="MENU_OPENKEY",i="CLEAR_MENU_OPENKEYS",r="USER_ID",l="CLEAR_USER_ID",s=function(e,t){return{type:n,data:{clientWidth:t,clientHeight:e}}}},395:function(e,t){e.exports={login_error:"index-login_error-3EtMh",page_top:"index-page_top-2oBP5",logo:"index-logo-3Pvek",page_img_box:"index-page_img_box-CspZ4",page_img_a:"index-page_img_a-2-llh",fadeInUp:"index-fadeInUp-2v_SB",page_m_top:"index-page_m_top-3F0g-",main:"index-main-22Yis",title:"index-title-yAiJB",tip:"index-tip-1trn9",tip1:"index-tip1-Esl35",p:"index-p-dT_9t",footer:"index-footer-3I0_4",mobile:"index-mobile-289JF"}},467:function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=a(513),o=(a.n(n),a(316)),i=a.n(o),r=a(298),l=(a.n(r),a(1)),s=a.n(l),c=a(11),u=a.n(c),d=a(12),p=a(1387),m=(a.n(p),a(514)),g=a.n(m),h=a(285),f=(a.n(h),a(1135)),_=(a.n(f),a(1136)),w=(a.n(_),a(583)),y=a(620),b=a(414),v=(a.n(b),a(1176));v.attach(document.body),v.prototype.focus=function(e){var t=void 0;e.setSelectionRange&&0!==e.type.indexOf("date")&&"time"!==e.type&&"month"!==e.type?(t=e.value.length,e.focus(),e.setSelectionRange(t,t)):e.focus()},console.log(a.i({library:"LY-IAP-CAS-UI",projectName:"认è¯åå°ç»å½é¡µ",buildTime:"2025/12/19 15:37:01"}));var E=function(e){u.a.render(s.a.createElement(p.AppContainer,null,s.a.createElement(d.a,{store:y.a},s.a.createElement(i.a,{locale:g.a},s.a.createElement(e,null)))),document.getElementById("root"))};E(w.a)},57:function(e,t,a){"use strict";function n(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}a.d(t,"a",function(){return u});var r=a(1),l=a.n(r),s=a(580),c=function(){function e(e,t){for(var a=0;a<t.length;a++){var n=t[a];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}return function(t,a,n){return a&&e(t.prototype,a),n&&e(t,n),t}}(),u=function(e){function t(e){n(this,t);var a=o(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return a.state={},a}
1return i(t,e),c(t,[{key:"render",value:function(){var e=this.props.content?this.props.content:"Copyright © 2014-2018 TECHNOLOGY CO.,LTD. All Rights Reserved. çæ¬å·("+s.a.version+")";return l.a.createElement("div",{className:"yui-page-footer",dangerouslySetInnerHTML:{__html:e}})}}]),t}(l.a.Component)},580:function(e,t,a){"use strict";a.d(t,"a",function(){return n});var n={appId:"license",title:"å¾®æå¡è®¤è¯ç®¡çå¹³å°",english:"",version:"V5.0.20190101"}},581:function(e,t,a){"use strict";function n(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var r,l,s=a(28),c=(a.n(s),a(27)),u=a.n(c),d=a(123),p=(a.n(d),a(122)),m=a.n(p),g=a(1),h=a.n(g),f=a(12),_=a(25),w=a(1138),y=a.n(w),b=function(){function e(e,t){for(var a=0;a<t.length;a++){var n=t[a];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}return function(t,a,n){return a&&e(t.prototype,a),n&&e(t,n),t}}(),v=(r=a.i(f.b)(function(e){return{dispatch:e.dispatch,login:e.login}}))(l=function(e){function t(e){n(this,t);var i=o(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return i.getRedirect=function(e){a.i(_.a)("/lyuapServer/openoauth/dd/authCallback?returnType=json&code="+e.code+"&state="+e.state).then(function(e){var t=e.meta,a=e.data;t.success&&dd.replacePage({url:a.url})})},i.state={},i}return i(t,e),b(t,[{key:"componentWillReceiveProps",value:function(e){document.getElementsByTagName("title")[0].innerText=e.login.loginData.casTitle?e.login.loginData.casTitle:window.locale[this.props.login.locale].login_pageInfo_4}},{key:"componentDidMount",value:function(){var e=window.location.search,t=e.indexOf("?"),a=e.substr(t,e.length),n=/[?&][^?&]+=[^?&]+/g,o=a.match(n),i={};o&&o.forEach(function(e){var t=e.substring(1).split("="),a=t[0],n=t[1];i[a]=n}),this.getRedirect(i)}},{key:"render",value:function(){return h.a.createElement("div",{className:y.a.mobile}," ",h.a.createElement(m.a,null)," ")}}]),t}(h.a.Component))||l,E=u.a.create()(v);t.a=E},582:function(e,t,a){"use strict";function n(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var r,l,s=a(28),c=(a.n(s),a(27)),u=a.n(c),d=a(123),p=(a.n(d),a(122)),m=a.n(p),g=a(1),h=a.n(g),f=a(12),_=a(25),w=a(1139),y=a.n(w),b=function(){function e(e,t){for(var a=0;a<t.length;a++){var n=t[a];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}return function(t,a,n){return a&&e(t.prototype,a),n&&e(t,n),t}}(),v=(r=a.i(f.b)(function(e){return{dispatch:e.dispatch,login:e.login}}))(l=function(e){function t(e){n(this,t);var i=o(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return i.getRedirect=function(e){a.i(_.a)("/lyuapServer/openoauth/dd/authRedirect?returnType=json&service="+e).then(function(e){var t=e.meta,a=e.data;t.success&&dd.replacePage({url:a.url})})},i.state={},i}return i(t,e),b(t,[{key:"componentWillReceiveProps",value:function(e){document.getElementsByTagName("title")[0].innerText=e.login.loginData.casTitle?e.login.loginData.casTitle:window.locale[this.props.login.locale].login_pageInfo_4}},{key:"componentDidMount",value:function(){var e=window.location.search,t=e.split("service=")[1];t&&this.getRedirect(t)}},{key:"render",value:function(){return h.a.createElement("div",{className:y.a.mobile}," ",h.a.createElement(m.a,null)," ")}}]),t}(h.a.Component))||l,E=u.a.create()(v);t.a=E},583:function(e,t,a){"use strict";function n(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}a.d(t,"a",function(){return Y});var r,l,s=a(53),c=(a.n(s),a(52)),u=a.n(c),d=a(1),p=a.n(d),m=a(12),g=a(1411),h=a(29),f=(a.n(h),a(1188)),_=(a.n(f),a(273)),w=a.n(_),y=a(1430),b=a.n(y),v=a(331),E=a(23),C=a(25),T=a(32),x=a(598),S=a(586),k=a(594),O=a(593),A=a(592),D=a(590),Q=a(589),N=a(587),I=a(584),L=a(591),M=a(595),P=a(610),W=a(612),q=a(611),U=a(609),R=a(600),B=a(16),F=(a(607),a(588)),K=a(601),j=a(582),z=a(581),X=a(608),H=a(604),V=a(585),G=(a(599),function(){function e(e,t){for(var a=0;a<t.length;a++){var n=t[a];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}return function(t,a,n){return a&&e(t.prototype,a),n&&e(t,n),t}}()),J=w()(),Y=(r=a.i(m.b)(function(e){return{commonData:e.commonData,login:e.login}}))(l=function(e){function t(e){n(this,t);var i=o(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));i.receiveLoginData=function(){a.i(C.a)(B.a.CAS+"/loginType").then(function(e){var t=e.meta,n=e.data;if(t.success&&n){var o="zh_CN";n.language&&(o=n.language);a.i(T.a)("locale")||a.i(T.b)("locale",o);try{n.casTitle=JSON.parse(n.casTitle)[o],n.casfoot=JSON.parse(n.casfoot)[o],n.casDesc=JSON.parse(n.casDesc)[o]}catch(e){}i.props.dispatch(a.i(E.a)(o)),i.props.dispatch(a.i(E.b)(n)),i.setState({loginpage:n.loginpage});var r="/assets/images/favicon.ico",l=document.getElementsByTagName("link")[0];
1n.attachments.forEach(function(e){"ly-iap-attachment_pageLogo"==e.sourceId&&(r=e.source)}),l.setAttribute("href",r)}})},i.toggle=function(){i.setState({collapsed:!i.state.collapsed})},i.changeTheme=function(e){i.setState({themeColor:e})},i.queryPageLogo=function(){var e="/assets/images/favicon.ico";a.i(C.a)("/api/uap/unauthorize/attachment/getAttachmentId",{sourceId:"ly-iap-attachment_pageLogo"}).then(function(t){var a=t.meta,n=t.data,o=document.getElementsByTagName("link")[0];a.success&&(e="/zuul/docrepo/download?attachmentId="+(n&&n.attachmentId)),o.setAttribute("href",e)})};var r=localStorage.getItem("themeType")||"#1890ff";i.state={collapsed:!1,expandedKeys:[],transition:!0,onClick:!1,themeColor:r,selectedKeys:["home"],theme:"light",loginpage:void 0};var l=JSON.parse(localStorage.getItem("app-theme"));return l&&window.less.modifyVars(l).then(function(){i.forceUpdate()}).catch(function(e){u.a.error("Failed to update theme")}),i}return i(t,e),G(t,[{key:"componentWillMount",value:function(){var e=this;this.props.dispatch(a.i(v.a)(document.documentElement.clientHeight,document.documentElement.clientWidth)),window.onresize=function(){e.props.dispatch(a.i(v.a)(document.documentElement.clientHeight,document.documentElement.clientWidth))},this.receiveLoginData(),localStorage.getItem("response_type")&&localStorage.removeItem("response_type"),localStorage.getItem("client_id")&&localStorage.removeItem("client_id"),localStorage.getItem("redirect_uri")&&localStorage.removeItem("redirect_uri"),localStorage.getItem("scope")&&localStorage.removeItem("scope"),localStorage.getItem("state")&&localStorage.removeItem("state"),localStorage.getItem("isOAuth2")&&localStorage.removeItem("isOAuth2")}},{key:"componentDidMount",value:function(){if("true"===window.isEnableAssistant){var e={id:"aiScript",type:"text/javascript",src:"/assets/js/ai.min.js",domain:window.domain,accessLayerId:window.accessLayerId,auth:window.assistantAuth},t=document.createElement("script");for(var a in e)t.setAttribute(a,e[a]);document.head.appendChild(t)}}},{key:"render",value:function(){var e=this.state.loginpage;return void 0===e?null:p.a.createElement(g.a,{history:J},p.a.createElement(g.b,{render:function(t){var a=t.location,n=t.history;return window.browserHistory||(window.browserHistory=n),p.a.createElement(b.a,{transitionName:"",transitionEnter:!0,transitionLeave:!0,transitionEnterTimeout:500,transitionLeaveTimeout:500},p.a.createElement(g.c,{location:a},p.a.createElement(g.b,{location:a,exact:!0,path:"/",render:function(){return p.a.createElement(g.d,{to:B.a.CAS+"/login"})}}),p.a.createElement(g.b,{location:a,path:"/wx/loading",exact:!0,component:P.a}),p.a.createElement(g.b,{location:a,path:"/wx/qr",exact:!0,component:W.a}),p.a.createElement(g.b,{location:a,path:"/wx/login",exact:!0,component:q.a}),p.a.createElement(g.b,{location:a,path:"/wx/changePasswordRedirect",exact:!0,component:k.a}),p.a.createElement(g.b,{location:a,path:"/yiban/changePasswordRedirect",exact:!0,component:k.a}),p.a.createElement(g.b,{location:a,path:B.a.CAS+"/logout",exact:!0,component:R.a}),p.a.createElement(g.b,{location:a,path:B.a.CAS+"/oauth2logout",exact:!0,component:R.a}),p.a.createElement(g.b,{location:a,path:"/loginBindqq",exact:!0,component:D.a}),p.a.createElement(g.b,{location:a,path:"/loginBindWeiBo",exact:!0,component:Q.a}),p.a.createElement(g.b,{location:a,path:"/loginBindDingDing",exact:!0,component:N.a}),p.a.createElement(g.b,{location:a,path:"/dingdingAuz",exact:!0,component:I.a}),p.a.createElement(g.b,{location:a,path:"/loginCheck",exact:!0,component:L.a}),p.a.createElement(g.b,{location:a,path:"/loginError",exact:!0,component:O.a}),p.a.createElement(g.b,{location:a,path:"/loginUnAuthorize",exact:!0,component:A.a}),p.a.createElement(g.b,{location:a,path:"/loginNetcommit",exact:!0,component:M.a}),p.a.createElement(g.b,{location:a,path:"/loginFirst",exact:!0,component:k.a}),p.a.createElement(g.b,{location:a,path:"/loginBindWx",exact:!0,component:F.a}),p.a.createElement(g.b,{location:a,path:"/loginBindOTP",exact:!0,component:K.a}),p.a.createElement(g.b,{location:a,path:"/dd/authRedirect",exact:!0,component:j.a}),p.a.createElement(g.b,{location:a,path:"/dd/authCallback",exact:!0,component:z.a}),p.a.createElement(g.b,{location:a,path:B.a.CAS+"/login",exact:!0,component:V.a}),p.a.createElement(g.b,{location:a,path:B.a.CAS+"/oauth2login",exact:!0,component:0==e?x.a:1==e?X.a:2==e?H.a:V.a}),p.a.createElement(g.b,{location:a,path:"/loginAgain",exact:!0,component:S.a}),p.a.createElement(g.b,{location:a,path:"/userSelect",exact:!0,component:U.a}),p.a.createElement(g.b,{location:a,render:function(){return p.a.createElement(g.d,{to:B.a.CAS+"/login"})}})))}}))}}]),t}(p.a.Component))||l},584:function(e,t,a){"use strict";function n(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var r,l,s,c=a(28),u=(a.n(c),a(27)),d=a.n(u),p=a(1),m=a.n(p),g=a(1097),h=(a.n(g),a(25)),f=a(12),_=a(16),w=(a(23),function(){function e(e,t){for(var a=0;a<t.length;a++){var n=t[a];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}return function(t,a,n){return a&&e(t.prototype,a),n&&e(t,n),t}}()),y=(r=d.a.create(),l=a.i(f.b)(function(e){return{dispatch:e.dispatch,login:e.login}}),r(s=l(s=function(e){function t(e){return n(this,t),o(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e))}
1return i(t,e),w(t,[{key:"componentDidMount",value:function(){var e=a(5),t=window.location.search;t=t.substring(t.indexOf("?")+1);var n=e.parse(t);if(n.corpId&&n.state){if("notInDingTalk"!==g.env.platform){g.ready(function(){g.runtime.permission.requestAuthCode({corpId:n.corpId,onSuccess:function(e){var t=e.code;a.i(h.b)(_.a.CAS+"/dingdingauz",{code:t,state:n.state}).then(function(e){var t=e.meta,a=e.data;t.success?a&&(window.location.href=a.service):window.location.href=_.a.CAS+"/login"})},onFail:function(e){alert("fail"),alert(JSON.stringify(e))}})})}}else window.location.href=_.a.CAS+"/login"}},{key:"render",value:function(){return m.a.createElement(p.Fragment,null)}}]),t}(m.a.Component))||s)||s),b=d.a.create()(y);t.a=b},585:function(e,t,a){"use strict";function n(e,t,a){return t in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a,e}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function r(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var l,s,c,u,d,p=a(53),m=(a.n(p),a(52)),g=a.n(m),h=a(37),f=(a.n(h),a(36)),_=a.n(f),w=a(143),y=(a.n(w),a(97)),b=a.n(y),v=a(56),E=(a.n(v),a(10)),C=a.n(E),T=a(120),x=(a.n(T),a(119)),S=a.n(x),k=a(125),O=(a.n(k),a(124)),A=a.n(O),D=a(22),Q=(a.n(D),a(21)),N=a.n(Q),I=a(87),L=(a.n(I),a(74)),M=a.n(L),P=a(41),W=(a.n(P),a(40)),q=a.n(W),U=a(48),R=(a.n(U),a(47)),B=a.n(R),F=a(45),K=(a.n(F),a(44)),j=a.n(K),z=a(117),X=(a.n(z),a(116)),H=a.n(X),V=a(28),G=(a.n(V),a(27)),J=a.n(G),Y=a(1),Z=a.n(Y),$=a(3),ee=a.n($),te=a(51),ae=a(29),ne=a.n(ae),oe=a(12),ie=a(32),re=a(16),le=a(1141),se=a.n(le),ce=a(25),ue=a(23),de=a(31),pe=a(88),me=a(165),ge=a(144),he=a(164),fe=a(161),_e=a.n(fe),we=a(141),ye=a.n(we),be=a(162),ve=a.n(be),Ee=a(86),Ce=a.n(Ee),Te=a(203),xe=a.n(Te),Se=a(204),ke=a.n(Se),Oe=a(1456),Ae=a.n(Oe),De=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var a=arguments[t];for(var n in a)Object.prototype.hasOwnProperty.call(a,n)&&(e[n]=a[n])}return e},Qe=function(){function e(e,t){for(var a=0;a<t.length;a++){var n=t[a];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}return function(t,a,n){return a&&e(t.prototype,a),n&&e(t,n),t}}(),Ne=J.a.Item,Ie="",Le=(l=a.i(oe.b)(function(e){return{dispatch:e.dispatch,login:e.login}}))((u=c=function(e){function t(e){o(this,t);var n=i(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return d.call(n),n.state={windowW:a.i(ie.c)().windowW,logoIcon:{bgIcon1:Ce.a,bgIcon2:Ce.a,bgIcon3:Ce.a,loginLogo:xe.a},tabList:[{id:1,name:window.locale[n.props.login.locale].account_login},{id:2,name:window.locale[n.props.login.locale].Qr_code_Login}],tabHover1:{color:n.props.login.loginData.themeColor?n.props.login.loginData.themeColor:"#1890fe"},tabHover2:{background:n.props.login.loginData.themeColor?n.props.login.loginData.themeColor:"#1890fe"},tab:"1",userInfo:{userName:"",password:"",inputPassWord:"",rememberMe:!1,change:!1},loginType:1,loginCode:{isLoginCode:!0,refresh:!1},eye:!1,sending:!1,login_btn_show:!1,wechatCode:{isWeChatCode:!0,stop:!1,refresh:!1},appCode:{isAppCode:!0,stop:!1,refresh:!1},ddCode:{isDdCode:!0,stop:!1,refresh:!1},qqLoginUrl:"",dingdingLoginUrl:"",isFirst:!1,ukeyIsConn:!1,ukeyIsIn:!1,firstLoading:{display:"block"},themeColor:null,secondThemeColor:null,bgList:[],defaultBgList:[Ce.a,Ce.a,Ce.a],mobileBg:[],mobileLogo:[],casLogo:[],queryCode:{isQueryCode:!0},dataSource:[],columns:[],visible:!1,memban:"none",queryCodeValue:"",queryUserName:null,queryIdCard:null},n}return r(t,e),Qe(t,[{key:"componentWillMount",value:function(){var e=this,t=this.props.login.loginData;if(t.attachments&&t.attachments.length>0){var a=t.attachments.filter(function(e){return"ly-iap-attachment_mobile_bg"==e.sourceId}),n=t.attachments.filter(function(e){return"ly-iap-attachment_mobile_casLogo"==e.sourceId}),o=t.attachments.filter(function(e){return"ly-iap-attachment_casLogo"==e.sourceId}),i=t.attachments.filter(function(e){return-1!==e.sourceId.indexOf("attachment_bg")});this.setState({mobileBg:a,mobileLogo:n,casLogo:o,bgList:i})}if(this.setState({isLogin:!0,firstLoading:{display:"none"}}),t.themeColor&&null!==t.themeColor)if(3==t.themeColor.split(",").length)this.setState({themeColor:t.themeColor,secondThemeColor:t.themeColor});else{var r=t.themeColor.split("),");
1this.setState({secondThemeColor:""+r[1],themeColor:[r[0]+")",""+r[1]]})}var l=[{title:window.locale[this.props.login.locale].account,dataIndex:"screenname",key:"screenname"},{title:window.locale[this.props.login.locale].name,dataIndex:"username",key:"username"},{title:window.locale[this.props.login.locale].alias,dataIndex:"othername",key:"othername"},{title:window.locale[this.props.login.locale].ID_card,dataIndex:"cardId",key:"cardId"}];this.setState({columns:l}),window.addEventListener("keyup",function(t){"Enter"==t.code&&e.handleAccountSubmit()})}},{key:"componentDidMount",value:function(){this.props.login.loginData;a.i(ie.c)().windowH<970&&a.i(ie.c)().windowW>980?document.body.style.overflowY="auto":this.setState({loginType:1}),this.resize(),window.addEventListener("resize",this.resize,!1),this.loadAccountInfo(),this.queryLogin(this.props),(navigator.userAgent.indexOf("MSIE")>-1||navigator.userAgent.indexOf("Firefox")>-1)&&!navigator.userAgent.indexOf("opera")>-1?this.setState({ukeyIsConn:!0}):this.findUkeyClient(),document.getElementsByTagName("title")[0].innerText=this.props.login.loginData.casTitle?this.props.login.loginData.casTitle:"ç»ä¸èº«ä»½è®¤è¯å¹³å°-认è¯ä¸å¿"}},{key:"componentWillReceiveProps",value:function(e){this.queryLogin(e),document.getElementsByTagName("title")[0].innerText=e.login.loginData.casTitle?e.login.loginData.casTitle:"ç»ä¸èº«ä»½è®¤è¯å¹³å°-认è¯ä¸å¿"}},{key:"componentWillUnmount",value:function(){window.removeEventListener("resize",this.resize),this.setState=function(e,t){}}},{key:"render",value:function(){var e,t=this,a=this.props.form.getFieldDecorator,o=this.state,i=o.queryCode,r=o.dataSource,l=o.columns,s=o.windowW,c=o.logoIcon,u=o.userInfo,d=o.loginType,p=o.loginCode,m=(o.isFirst,o.ukeyIsIn),g=o.sending,h=o.count,f=(o.isLogin,o.wechatCode),_=o.ddCode,w=o.appCode,y=o.ukeyIsConn,v=o.themeColor,E=o.secondThemeColor,T=o.mobileBg,x=o.mobileLogo,k=o.bgList,O=o.defaultBgList,D=o.casLogo,Q=(o.tabList,o.login_btn_show),I={animConfig:[{opacity:[1,0],rotateY:[0,180]},{opacity:[1,0],rotateY:[0,-180]}],duration:1e3},L=this.props.login.locale,P={};this.props.login.loginData&&(P=this.props.login.loginData);var W=P,U=W.tabType,R=(W.showType,Number(P.isUkeyLogin),Number(P.isFinger),Number(P.isWeChat),Number(P.isqq),s<=980);"1"==P.isApp||P.isWeChat,P.isSMS,"1"==P.isFinger&&("1"==P.isSMS||P.isqq),"1"==P.isqq&&P.isDingDing,"1"==P.isUkeyLogin&&("1"==P.isFinger||"1"==P.isSMS||P.isqq),P.attachments&&P.attachments.filter(function(e){return"ly-iap-attachment_appQRCode"==e.sourceId}),window.tip.isOpenResetBtn;return"none"!=this.state.firstLoading.display?null:Z.a.createElement(Z.a.Fragment,null,Z.a.createElement("div",{id:"memban",style:{width:"100%",height:"1000px",backgroundColor:"rgb(0,0,0,0.5)",position:"absolute",zIndex:"3",display:this.state.visible?"block":"none"}}," "),Z.a.createElement("div",{style:this.state.firstLoading},Z.a.createElement("div",{className:se.a.imgssdiv}),Z.a.createElement("img",{src:ve.a,className:se.a.imgss}),Z.a.createElement("span",{className:se.a.imgsstitle},window.locale[L].login_wait)),Z.a.createElement("div",{className:se.a.container},R?Z.a.createElement("div",{className:se.a.mobileCarousel,style:T.length>0?{background:"url("+T[0].source+")",backgroundSize:"100% 100%",backgroundRepeat:"no-repeat"}:{}},Z.a.createElement(me.a,De({},this.props,{mobileLogo:x,login_logo:_e.a,loginData:P,form:this.props.form,userInfo:u,loginCode:p,themeColor:v,dataSource:r,columns:l,loginType:d,QueueAnimConfig:I,history:this.props.history}))):null,R?null:Z.a.createElement("div",{className:se.a.header+" "+se.a.content,style:R?{paddingLeft:"0"}:window.tip.isFouthThemeCenter?{position:"absolute",left:"20%",paddingLeft:0}:window.tip.loginLogoStyle?De({},window.tip.loginLogoStyle,{position:"absolute"}):{position:"absolute"}},Z.a.createElement("div",{className:ee()(n({},se.a.moblielogo,R))},R?Z.a.createElement("img",{src:x.length>0?x[0].source:c.loginLogo,onError:function(e){e.target.src=c.loginLogo}}):Z.a.createElement("img",{style:window.tip.loginLogoStyle?{width:"100%"}:{},src:D.length>0?D[0].source:c.loginLogo,onError:function(e){e.target.src="/assets/images/base-2024/err_logo.png"}}))),R?null:Z.a.createElement("div",{className:se.a.carousel,style:R?{padding:"0 20px"}:{}},R?null:Z.a.createElement(H.a,{autoplay:!0,autoplaySpeed:6e3},k.length>0?k.map(function(e,t){return Z.a.createElement("img",{key:t,src:e.source,onError:function(e){e.target.src="/assets/images/traditionLogin/banner"+(t+1)+".jpg"}})}):O.map(function(e,t){return Z.a.createElement("img",{key:t,src:e})})),Z.a.createElement("div",{className:ee()((e={},n(e,se.a.loginContent,!R),n(e,se.a.moblieContent,R),e))},Z.a.createElement("div",{style:window.tip.loginBoxPosition&&!R?De({},window.tip.loginBoxPosition):{width:360,top:180},className:ee()(se.a.login,n({},se.a.mobileLogin,R))},Z.a.createElement("div",{className:se.a.new_topNav},P.loginTabType?Z.a.createElement(he.a,{loginData:P,locale:this.props.login.locale,handle_change_tab:this.onChangNewTab,themeColor:v}):Z.a.createElement(ge.a,{handle_change_tab:this.onChangTab,locale:this.props.login.locale,isMobile:R,themeColor:v,type:d,showType:P.showType,tabType:U,loginData:P})),Z.a.createElement("div",{className:se.a.formContent},1==d||8==d?Z.a.createElement(te.a,I,Z.a.createElement("div",{style:{background:this.props.login.submitpending,padding:"0px 40px 0"},className:se.a.anim_box,key:"A"},Z.a.createElement(J.a,{style:{display:this.props.login.submitting}},Z.a.createElement(Ne,null,a("userName",{initialValue:u.userName})(Z.a.createElement(j.a,{size:"large",onPressEnter:this.handleAccountSubmit,onKeyUp:this.handleAccountInputChange,onChange:function(e){return t.onInputChange("is_AccountValue",e)},placeholder:window.locale[this.props.login.locale].enter_account}))),Z.a.createElement(Ne,null,a("password",{initialValue:u.inputPassWord}
1)(Z.a.createElement(j.a.Password,{id:"password",className:window.tip.unlock?null:se.a.password,size:"large",type:"password",placeholder:window.locale[this.props.login.locale].enter_pass,ref:function(e){t.passRef=e},autoComplete:"new-password",onChange:function(e){return t.onInputChange("is_PasswordValue",e)},onPressEnter:this.handleAccountSubmit,onKeyUp:this.handleChangePass}))),((1==P.isVerifyCode||P.isVerifyCodeType.indexOf("1")>-1)&&P.verifyCodeNum<=0||P.verifyCodeNum&&sessionStorage.getItem("errorNum")&&P.verifyCodeNum<=sessionStorage.getItem("errorNum")&&(P.isVerifyCodeType.indexOf("1")>-1||"1"==P.isVerifyCode))&&(["1","2"].indexOf(P.captchaType)>-1||!P.captchaType)?Z.a.createElement(Ne,null,Z.a.createElement(q.a,{gutter:8},Z.a.createElement(B.a,{span:14},a("captcha",{})(Z.a.createElement(j.a,{size:"large",placeholder:window.locale[this.props.login.locale].enter_arithmetic_answer,onPressEnter:this.handleAccountSubmit}))),Z.a.createElement(B.a,{span:10},Z.a.createElement("div",{className:se.a.captcha,onClick:function(){t.queryLoginKaptcha(p.uid)}},Z.a.createElement("img",{style:{width:"100%",height:"40px"},alt:"logo",src:p.content}),Z.a.createElement("div",{className:se.a.codeMask+" "+(p.refresh?"":se.a.codeHide),onClick:function(e){e.stopPropagation(),t.reFreshCode()}},window.locale[this.props.login.locale].click_refresh))))):null,Z.a.createElement("div",{style:{marginTop:"-4px",position:"relative",zIndex:1}},!R&&window.locale.isRememberPass&&"1"==window.locale.isRememberPass&&Z.a.createElement(B.a,{className:"fl margin_bottom_30"},a("rememberMe",{valuePropName:"checked",initialValue:u.rememberMe})(Z.a.createElement(M.a,null,Z.a.createElement("a",{style:{color:"#333"}},window.locale[this.props.login.locale].remember_pass)))),Z.a.createElement(B.a,{className:se.a.green+" fr"},P.loginfoundPaawordUrl&&"null"!=P.loginfoundPaawordUrl?Z.a.createElement("a",{style:{color:v},onClick:function(){window.location.href=R?P.mobileLoginfoundPaawordUrl:P.loginfoundPaawordUrl}},window.locale[this.props.login.locale].forget_pass,"?"):null)),Z.a.createElement(q.a,null,Z.a.createElement(N.a,{style:Array.isArray(v)?{color:"#fff",marginTop:"30px",borderColor:v[0],background:v[0]}:{color:"#fff",marginTop:"30px",borderColor:v,background:v},className:ee()(se.a.submit,n({},se.a.half_opacity,!Q),n({},se.a.borderRadius_20,R),n({},se.a.logining,!0),"fl"),onClick:this.handleAccountSubmit,type:"primary",size:"large"},window.locale[this.props.login.locale].login),Z.a.createElement("div",{id:"captcha-box"})),!R&&Z.a.createElement(q.a,null,Z.a.createElement(B.a,{className:"fr"},P.loginQuestionUrl&&"null"!=P.loginQuestionUrl?Z.a.createElement("a",{style:{color:v},onClick:function(){window.location.href=R?P.mobileLoginQuestionUrl:P.loginQuestionUrl}},window.locale[this.props.login.locale].common_problem):null,R&&P.isOpenLoginAppeal&&1==P.isOpenLoginAppeal?Z.a.createElement("a",{style:{color:v,marginLeft:30},onClick:function(){var e=P.loginAppealUrl;window.location.href=e}},window.locale[this.props.login.locale].account_appeal):null,Z.a.createElement(S.a,{content:Z.a.createElement("div",null,Z.a.createElement(j.a,{size:"large",allowClear:!0,onBlur:this.getusername,placeholder:window.locale[this.props.login.locale].enter_name,style:{marginBottom:"10px"}}),Z.a.createElement(j.a,{size:"large",allowClear:!0,onBlur:this.getusercardid,placeholder:window.locale[this.props.login.locale].enter_ID_card,style:{marginBottom:"10px"}}),P.isVerifyCodeType.indexOf("3")>-1?Z.a.createElement(q.a,{gutter:8},Z.a.createElement(B.a,{span:14},Z.a.createElement(j.a,{autoComplete:"off",size:"large",allowClear:!0,placeholder:window.locale[this.props.login.locale].enter_arithmetic_answer,onBlur:this.getQueryCode,style:{marginBottom:"10px"}})),Z.a.createElement(B.a,{span:10},Z.a.createElement("div",{style:{marginTop:"7px"},onClick:function(){t.queryQueryKaptcha(i.uid)}},Z.a.createElement("img",{alt:"logo",src:i.content})))):null,Z.a.createElement(N.a,{className:ee()(se.a.submit,n({},se.a.logining,!0)),style:Array.isArray(v)?{border:"none",width:"100%",background:v[0]}:{border:"none",width:"100%",background:v},onClick:this.handleCheckAccount,type:"primary",size:"large"},window.locale[this.props.login.locale].query),Z.a.createElement(A.a,{dataSource:r,columns:l}),Z.a.createElement("a",{onClick:this.hide,style:E?{color:E}:{color:v}},window.locale[this.props.login.locale].close)),title:window.locale[this.props.login.locale].account_query,trigger:"click",visible:this.state.visible,onVisibleChange:this.handleVisibleChange},R||P.isOpenLoginAcountCheck&&1!=P.isOpenLoginAcountCheck?null:Z.a.createElement("a",{style:{color:v,marginLeft:30}},window.locale[this.props.login.locale].account_query))))),Z.a.createElement("div",{style:R?{color:"#01774F",fontSize:"15px",fontWeight:"bold",display:this.props.login.submitnote,textAlign:"center",top:"220px",left:"130px",position:"absolute"}:{color:"#01774F",fontSize:"15px",fontWeight:"bold",display:this.props.login.submitnote,textAlign:"center",top:"215px",left:"90px",position:"absolute"}},"éªè¯ä¸ï¼è¯·ç¨ç..."))):null,2==d&&"1"==P.isSMS?Z.a.createElement(te.a,I,Z.a.createElement("div",{style:{background:this.props.login.submitpending,padding:"20px 40px 0"},className:se.a.anim_box,key:"B"},Z.a.createElement(J.a,{style:{display:this.props.login.submitting},onSubmit:this.handleSmsSubmit},Z.a.createElement(Ne,null,a("mobile",{rules:[{required:!0,message:window.locale[this.props.login.locale].enter_phone},{pattern:/^1[3457896]([0-9]{9})$/,message:"ææºå·æ ¼å¼ä¸æ£ç¡®"}]})(Z.a.createElement(j.a,{size:"large",prefix:Z.a.createElement(C.a,{type:"user",style:{color:"rgba(0,0,0,.25)"}}),placeholder:window.locale[this.props.login.locale].enter_phone}))),P.isVerifyCodeType.indexOf("2")>-1?Z.a.createElement(Ne,{className:se.a.mb6},Z.a.createElement(q.a,{gutter:8},Z.a.createElement(B.a,{span:13},a("captcha",{rules:[{required:!0,message:window.locale[L].enter_arithmetic_answer}]})(Z.a.createElement(j.a,{size:"large",autoComplete:"off",onPressEnter:this.handleAccountSubmit,placeholder:window.locale[L].enter_arithmetic_answer}))),Z.a.createElement(B.a,{span:10},Z.a.createElement("div",{className:se.a.captcha,onClick:function(){return t.queryLoginKaptcha(p.uid)}},Z.a.createElement("img",{style:{width:"100%",height:"46px",margin:"0 0 2px 14px"},alt:"logo",src:p.content}))))):null,Z.a.createElement(Ne,{className:"mb10"},a("smsCode",{rules:[{required:!0,message:window.locale[this.props.login.locale].enter_security_code}]})(Z.a.createElement(j.a,{size:"large",className:se.a.code,prefix:Z.a.createElement(C.a,{type:"lock",style:{color:"rgba(0,0,0,.25)"}}),placeholder:window.locale[this.props.login.locale].enter_security_code})),Z.a.createElement("div",{className:ee()(se.a.send,n({},se.a.disabled,g)),onClick:this.onSendCode},g?h:window.locale[this.props.login.locale].send_security_code)),Z.a.createElement(q.a,{className:"mb10"},Z.a.createElement(B.a,{className:"fr"},P.loginQuestionUrl&&"null"!=P.loginQuestionUrl?Z.a.createElement("a",{style:{color:v},className:se.a.grey,onClick:function(){window.location.href=R?P.mobileLoginQuestionUrl:P.loginQuestionUrl}},window.locale[this.props.login.locale].common_problem):null)),Z.a.createElement(Ne,{className:"mt30"},Z.a.createElement(N.a,{className:ee()(se.a.codeSubmit,n({},se.a.borderRadius_20,R)),style:Array.isArray(v)?{borderColor:v[0],background:v[0]}:{borderColor:v,background:v},type:"primary",size:"large",htmlType:"submit"},window.locale[this.props.login.locale].login))),Z.a.createElement("div",{style:R?{color:"#01774F",fontSize:"15px",fontWeight:"bold",display:this.props.login.submitnote,textAlign:"center",top:"220px",left:"130px",position:"absolute"}:{color:"#01774F",fontSize:"15px",fontWeight:"bold",display:this.props.login.submitnote,textAlign:"center",top:"215px",left:"90px",position:"absolute"}},"éªè¯ä¸ï¼è¯·ç¨ç..."))):null,5==d&&"1"==P.isFinger?Z.a.createElement("div",{className:se.a.qr_box_Finger},Z.a.createElement(FingerLogin,{history:this.props.history,config:I}
1)):null,6==d&&"1"==P.isUkeyLogin?Z.a.createElement("div",{className:se.a.qr_box_ukey},Z.a.createElement(UkeyLogin,{history:this.props.history,config:I,ukeyIsIn:m,isConn:y})):null,!R&&3==d||4==d||13==d?Z.a.createElement("div",{className:se.a.qr_box},3==d&&"1"==P.isWeChat?Z.a.createElement(te.a,I,this.state.showDownload?Z.a.createElement("div",{key:"D",className:se.a.qr_img_box},Z.a.createElement("img",{alt:"logo",src:Ae.a})):Z.a.createElement("div",{key:"D",className:se.a.qr_img_box},Z.a.createElement("img",{alt:"logo",src:f.content}),Z.a.createElement("div",{className:se.a.qrMask+" "+(f.refresh?"":se.a.qrMaskHide)},Z.a.createElement("img",{src:ke.a,style:{marginBottom:"20px",width:"30px",height:"30px"}}),Z.a.createElement("span",{className:se.a.link_span},window.locale[this.props.login.locale].QR_code_invalid),Z.a.createElement("a",{href:"javascript:void(0)",onClick:this.handleRefreshWXQrClick,className:se.a.link_refresh},window.locale[this.props.login.locale].click_refresh)))):null,4==d&&"1"==P.isApp?Z.a.createElement(te.a,I,Z.a.createElement("div",{className:se.a.qr_title},this.state.showDownload?"æ¹å·¥åeè¡ä¸è½½":"æ¹å·¥åeè¡æ«ç ç»å½"),this.state.showDownload?Z.a.createElement("div",{key:"D",className:se.a.qr_img_box},Z.a.createElement("img",{alt:"logo",src:Ae.a})):Z.a.createElement("div",{key:"D",className:se.a.qr_img_box},Z.a.createElement("img",{alt:"logo",src:w.content}),Z.a.createElement("div",{className:se.a.qrMask+" "+(w.refresh?"":se.a.qrMaskHide)},Z.a.createElement("img",{src:ke.a,style:{marginBottom:"20px",width:"30px",height:"30px"}}),Z.a.createElement("span",{className:se.a.link_span},window.locale[this.props.login.locale].QR_code_invalid),Z.a.createElement("a",{href:"javascript:void(0)",onClick:this.handleRefreshAppQrClick,className:se.a.link_refresh},window.locale[this.props.login.locale].click_refresh)))):null,13==d&&"1"==P.isDingDing?Z.a.createElement(te.a,I,Z.a.createElement("div",{key:"D",className:se.a.qr_img_box},Z.a.createElement("img",{alt:"logo",src:_.content}),Z.a.createElement("div",{className:se.a.qrMask+" "+(_.refresh?"":se.a.qrMaskHide)},Z.a.createElement("img",{src:ke.a,style:{marginBottom:"20px",width:"30px",height:"30px"}}),Z.a.createElement("span",{className:se.a.link_span},window.locale[this.props.login.locale].QR_code_invalid),Z.a.createElement("a",{href:"javascript:void(0)",onClick:this.handleRefreshDdQrClick,className:se.a.link_refresh},window.locale[this.props.login.locale].click_refresh)))):null,this.handleChangeButtonPosition()):null),!R&&Z.a.createElement("div",{className:se.a.type_box},"1"==P.isqq&&!R&&P.loginIconType.indexOf("3")>=0?Z.a.createElement(b.a,{title:"qq"},Z.a.createElement("span",{className:se.a.type,onClick:function(){window.location=t.state.qqLoginUrl,t.setState({tab:"1"})}},Z.a.createElement("span",{className:ee()(se.a.icon_qq,se.a.type_icon)}))):null,(P.tabType&&2!=P.tabType&&3!=P.tabType||(!P.loginTabType||P.loginTabType.indexOf(2)>=0)&&2!=d&&P.loginIconType.indexOf("1")>=0)&&"1"==P.isSMS&&2!==d&&P.loginIconType.indexOf("1")>=0?Z.a.createElement(Z.a.Fragment,null,Z.a.createElement(b.a,{title:window.locale[L].sms_login},Z.a.createElement("span",{className:se.a.type,onClick:function(){t.setState({loginType:2,tabList:[{key:"1",name:window.locale[L].sms_login},{key:"2",name:window.locale[L].Qr_code_Login}],tabHover1:{color:P.themeColor?t.state.secondThemeColor:"#1890fe"},tabHover2:{background:P.themeColor?t.state.secondThemeColor:"#1890fe"}},function(){t.appQrTimeout&&(clearTimeout(t.appQrTimeout),t.appQrTimeout=null),t.wxQrTimeout&&(clearTimeout(t.wxQrTimeout),t.wxQrTimeout=null),t.mmdlQrTimeout&&(clearTimeout(t.mmdlQrTimeout),t.mmdlQrTimeout=null),t.changeAppQrTimeOut&&(clearTimeout(t.changeAppQrTimeOut),t.changeAppQrTimeOut=null),t.changeWXQrTimeOut&&(clearTimeout(t.changeWXQrTimeOut),t.changeWXQrTimeOut=null),t.changeMMDLQrTimeOut&&(clearTimeout(t.changeMMDLQrTimeOut),t.changeMMDLQrTimeOut=null)})}},Z.a.createElement("span",{className:ee()(se.a.icon_mobile,se.a.type_icon)})))):null,(2!=U&&2==d||1!=U&&3==d||1!=U&&4==d||9==d||3==U&&1!=d)&&P.loginIconType.indexOf("1")>=0?Z.a.createElement(Z.a.Fragment,null,Z.a.createElement(b.a,{title:window.locale[L].pass_login},Z.a.createElement("span",{className:se.a.type,onClick:function(){t.setState({loginType:1,tabHover1:{color:P.themeColor?t.state.secondThemeColor:"#1890fe"},tabHover2:{background:P.themeColor?t.state.secondThemeColor:"#1890fe"},tabList:[{key:"1",name:window.locale[L].pass_login},{key:"2",name:2==P.tabType?window.locale[L].sms_login:window.locale[L].Qr_code_Login}]},function(){t.appQrTimeout&&(clearTimeout(t.appQrTimeout),t.appQrTimeout=null),t.changeAppQrTimeOut&&(clearTimeout(t.changeAppQrTimeOut),t.changeAppQrTimeOut=null),t.wxQrTimeout&&(clearTimeout(t.wxQrTimeout),t.wxQrTimeout=null),t.changeWXQrTimeOut&&(clearTimeout(t.changeWXQrTimeOut),t.changeWXQrTimeOut=null),t.mmdlQrTimeout&&(clearTimeout(t.mmdlQrTimeout),t.mmdlQrTimeout=null),t.changeMMDLQrTimeOut&&(clearTimeout(t.changeMMDLQrTimeOut),t.changeMMDLQrTimeOut=null)})}},Z.a.createElement("span",{className:ee()(se.a.icon_mm,se.a.type_icon)})))):null,"1"!=P.isApp&&"1"!=P.isWeChat||!P.tabType||1==P.tabType||R||3===d||4===d||9===d?null:Z.a.createElement(Z.a.Fragment,null,Z.a.createElement(b.a,{title:window.locale[this.props.login.locale].scan_login},Z.a.createElement("span",{className:se.a.type,onClick:function(){t.setState({loginType:1==P.isWeChat?3:4,tabList:[{key:"1",name:window.locale[L].Qr_code_Login},{key:"2",name:window.locale[L].sms_login}],isFirst:!0,tabHover1:{color:P.themeColor?t.state.secondThemeColor:"#1890fe"},tabHover2:{background:P.themeColor?t.state.secondThemeColor:"#1890fe"}},function(){1==P.isWeChat?(t.queryWechat(),t.handleWXCode()):(t.queryAppQrCode(),t.handleAppCode())})}},Z.a.createElement("span",{className:ee()(se.a.icon_wx,se.a.type_icon)})))),R?null:Z.a.createElement("span",null,"1"==P.isFinger&&P.loginIconType.indexOf("5")>=0?R||5==d?Z.a.createElement(b.a,{title:window.locale[L].account_login},Z.a.createElement("span",{className:se.a.type,onClick:function(){t.setState({loginType:1,tab:"1"},function(){t.appQrTimeout&&(clearTimeout(t.appQrTimeout),t.appQrTimeout=null),t.changeAppQrTimeOut&&(clearTimeout(t.changeAppQrTimeOut),t.changeAppQrTimeOut=null),t.wxQrTimeout&&(clearTimeout(t.wxQrTimeout),t.wxQrTimeout=null),t.changeWXQrTimeOut&&(clearTimeout(t.changeWXQrTimeOut),t.changeWXQrTimeOut=null)})}},Z.a.createElement("span",{className:ee()(se.a.icon_mm,se.a.type_icon)}))):Z.a.createElement(b.a,{title:window.locale[L].finger_login},Z.a.createElement("span",{className:se.a.type,onClick:function(){t.setState({loginType:5,tab:"1"},function(){t.appQrTimeout&&(clearTimeout(t.appQrTimeout),t.appQrTimeout=null),t.wxQrTimeout&&(clearTimeout(t.wxQrTimeout),t.wxQrTimeout=null),t.changeAppQrTimeOut&&(clearTimeout(t.changeAppQrTimeOut),t.changeAppQrTimeOut=null),t.changeWXQrTimeOut&&(clearTimeout(t.changeWXQrTimeOut),t.changeWXQrTimeOut=null)})}},Z.a.createElement("span",{className:ee()(se.a.icon_finger,se.a.type_icon)}))):null)))),Z.a.createElement("div",{style:window.tip.isFouthThemeCenter?{left:"20%"}:{},className:se.a.bottomInfo},R?null:Z.a.createElement("div",{dangerouslySetInnerHTML:{__html:P.casDesc?P.casDesc.indexOf("zh_CN")>0?JSON.parse(P.casDesc)[L]:P.casDesc:null}}))),R?null:Z.a.createElement("div",{style:window.tip.fourthThemeFooter?window.tip.fourthThemeFooter:{},className:""+se.a.footer},Z.a.createElement("div",{dangerouslySetInnerHTML:{__html:P.casfoot?P.casfoot:"<div><p>çæææÂ©</p></div>"}}))))}}]),t}(Z.a.Component),d=function(){var e=this;this.onInputChange=function(t,a){e.setState(n({},t,!!a.target.value),function(){e.setState({login_btn_show:e.state.is_PasswordValue&&e.state.is_AccountValue})})},this.resize=function(){e.setState({windowW:a.i(ie.c)().windowW},function(){a.i(ie.c)().windowH<970||(document.body.style.overflowY="hidden",e.setState({loginType:1}))})},this.handleReset=function(){e.props.form.resetFields()},this.handleChangePass=function(t){if(!e.state.eye){var a=t.target.value;if(a.length>0){if(8==t.keyCode)Ie=Ie.substr(0,Ie.length-1);else if(a.length>=Ie.length){var n=a.length-Ie.length;Ie+=a.substr(a.length-n,n)}else if(a.length<Ie.length){Ie="";var o=a.length-Ie.length;Ie+=a.substr(a.length-o,o)}}else Ie="";e.props.form.setFieldsValue({password:a});var i=Ie,r=e.state.userInfo.password;r&&(r!=i?e.setState({userInfo:De({},e.state.userInfo,{change:!0})}):e.setState({userInfo:De({},e.state.userInfo,{change:!1})}
1))}},this.encodePass=function(e){a.i(de.a)(131);var t=a.i(de.b)(re.a.public_exponent,"",re.a.modulus);return a.i(de.c)(t,e)},this.handleAccountSubmit=function(t){t.preventDefault();var n=e.props.login.loginData,o=e.state.loginCode;e.props.form.validateFieldsAndScroll(function(t,i){if(!t){var r="",l="",s=document.getElementById("password").value;"1"==n.isVerifyCode&&(r=o.uid,l=i.captcha);var c=a(5),u=window.location.search;u=u.substring(u.indexOf("?")+1);var d=c.parse(u),p=n.defaultLoginUrl;p=d&&d.service?d.service:n.defaultLoginUrl,l=l&&l.replace(/(^\s*)|(\s*$)/g,""),new Promise(function(t){e.props.dispatch(a.i(ue.e)("block","none","none")),e.props.dispatch(a.i(ue.c)(i.userName,s,p,"",e.props.history,i.rememberMe,e.state.userInfo.change,r,l,t,n.captchaType))}).then(function(){e.queryLoginKaptcha(r)})}})},this.handleSmsSubmit=function(t){t.preventDefault(),e.props.form.validateFieldsAndScroll(function(t,n){if(!t){var o={mobile:n.mobile,code:n.smsCode};e.props.dispatch(a.i(ue.e)("none","url("+ye.a+") no-repeat 50% 30%","block")),a.i(ce.b)(re.a.CAS+"/sms/validateCode",o).then(function(t){var n=t.meta,o=t.data;if(n.success){if(o){var i=a(5),r=window.location.search;r=r.substring(r.indexOf("?")+1);var l=i.parse(r),s=o.service;l&&l.service&&(s=l.service),e.props.dispatch(a.i(ue.c)(o.userName,o.passWord,s,"2",e.props.history))}}else _.a.error({title:window.locale[e.props.login.locale].sms_login,content:n.message}),e.props.dispatch(a.i(ue.e)("block","none","none"))})}})},this.handleWXCode=function(){e.setState({loginType:3,wechatCode:De({},e.state.wechatCode,{stop:!1}),appCode:De({},e.state.appCode,{stop:!0})},function(){e.clearAllTimers(),e.wxQrTimeout||e.checkScanWXQr(e.state.wechatCode.uuid),e.handleChangeWXQr()})},this.handleAppCode=function(){e.setState({loginType:4,appCode:De({},e.state.appCode,{stop:!1}),wechatCode:De({},e.state.wechatCode,{stop:!0})},function(){e.clearAllTimers(),e.appQrTimeout||e.checkScanPhoneQr(e.state.appCode.uuid),e.handleChangeAppQr()})},this.onChangTab=function(t){var a=e.state,n=a.loginType,o=a.secondThemeColor,i=e.props.login,r=i.loginData,l=i.locale;1==t?e.setState({tab:"1",tabList:[{key:"1",name:window.locale[l].account_login},{key:"2",name:2==r.tabType?window.locale[l].sms_login:window.locale[l].Qr_code_Login}],tabHover1:{color:r.themeColor?o||r.themeColor:"#1890fe"},tabHover2:{background:r.themeColor?o||r.themeColor:"#1890fe"},loginType:1,isFirst:!0,appCode:De({},e.state.appCode,{stop:!0}),wechatCode:De({},e.state.wechatCode,{stop:!0})},function(){e.clearAllTimers()}):2==r.tabType?e.setState({loginType:2,tabList:[{key:"1",name:window.locale[l].account_login},{key:"2",name:window.locale[l].sms_login}],tabHover2:{color:r.themeColor?o||r.themeColor:"#1890fe"},tabHover1:{background:r.themeColor?o||r.themeColor:"#1890fe"}},function(){e.clearAllTimers()}):(n<3||5==n||6==n)&&(e.setState({tabList:[{id:1,name:window.locale[e.props.login.locale].account_login},{id:2,name:window.locale[e.props.login.locale].Qr_code_Login}],tabHover2:{color:r.themeColor?o||r.themeColor:"#1890fe"},tabHover1:{background:r.themeColor?o||r.themeColor:"#1890fe"}}),r.isWeChat&&"1"==r.isWeChat&&!window.tip.isAppBtnFirst?e.setState({loginType:3,isFirst:!0},function(){e.queryWechat(),e.handleWXCode()}):r.isApp&&"1"==r.isApp&&e.setState({loginType:4,isFirst:!0},function(){e.queryAppQrCode(),e.handleAppCode()}))},this.onEye=function(){e.setState({eye:!e.state.eye})},this.handleRefreshAppQrClick=function(){var t=e.props.login;t.loginData&&"1"==t.loginData.isApp&&e.state.appCode.refresh&&e.setState({appCode:De({},e.state.appCode,{refresh:!1})},function(){e.queryAppQrCode(""),e.checkScanPhoneQr()})},this.handleRefreshWXQrClick=function(){var t=e.props.login;t.loginData&&"1"==t.loginData.isWeChat&&e.state.wechatCode.refresh&&e.setState({wechatCode:De({},e.state.wechatCode,{refresh:!1})},function(){e.queryWechat(""),e.checkScanWXQr()})},this.handleRefreshDdQrClick=function(){var t=e.props.login;t.loginData&&"1"==t.loginData.isDingDing&&e.state.ddCode.refresh&&e.setState({ddCode:De({},e.state.ddCode,{refresh:!1})},function(){e.queryDdCode(""),e.checkScanDdQr()})},this.queryDdCode=function(){ne.a.get(re.a.CAS+"/weChat/CreateQRcode",{params:{serviceType:"login",platformType:"dd"}}).then(function(t){"200"==t.status&&t.data&&e.setState({ddCode:De({},e.state.ddCode,t.data,{isDdCode:!1})},function(){e.changeDdQrTimeOut&&(clearTimeout(e.changeDdQrTimeOut),e.changeDdQrTimeOut=null),e.ddQrTimeout&&(clearTimeout(e.ddQrTimeout),e.ddQrTimeout=null,e.handleDdCode())})})},this.handleDdCode=function(){e.setState({loginType:13,ddCode:De({},e.state.ddCode,{stop:!1}),wechatCode:De({},e.state.wechatCode,{stop:!1}),appCode:De({},e.state.appCode,{stop:!0}),mmdlCode:De({},e.state.mmdlCode,{stop:!0})},function(){e.clearAllTimers(),e.ddQrTimeout||e.checkScanDdQr(e.state.ddCode.uuid),e.handleChangeDdQr()})},this.checkScanDdQr=function(t){e.ddQrTimeout=setTimeout(function(){a.i(ce.b)(re.a.CAS+"/weChat/wx/CheckScan",{state:t}).then(function(n){var o=n.meta,i=n.data;if(o.success){var r=a(5),l=window.location.search;l=l.substring(l.indexOf("?")+1);var s=r.parse(l),c=i.service;s&&s.service&&(c=s.service),i?(e.ddQrTimeout&&(clearTimeout(e.ddQrTimeout),e.ddQrTimeout=null),e.changeDdQrTimeOut&&(clearTimeout(e.changeDdQrTimeOut),e.changeDdQrTimeOut=null),e.setState({ddQr:De({},i)},function(){e.props.dispatch(a.i(ue.c)(i.userName,i.passWord,c,"13",e.props.history))})):e.state.ddCode.stop||e.state.ddCode.refresh?(e.ddQrTimeout&&(clearTimeout(e.ddQrTimeout),e.ddQrTimeout=null),e.changeDdQrTimeOut&&(clearTimeout(e.changeDdQrTimeOut),e.changeDdQrTimeOut=null)):e.checkScanDdQr(t)}
1else e.state.ddCode.stop||e.state.ddCode.refresh?(e.ddQrTimeout&&(clearTimeout(e.ddQrTimeout),e.ddQrTimeout=null),e.changeDdQrTimeOut&&(clearTimeout(e.changeDdQrTimeOut),e.changeDdQrTimeOut=null)):e.checkScanDdQr(t)})},1e3)},this.handleChangeDdQr=function(){e.state.ddCode.refresh&&e.setState({ddCode:De({},e.state.ddCode,{refresh:!1})},function(){e.queryDdCode(""),e.changeDdQrTimeOut&&(clearTimeout(e.changeDdQrTimeOut),e.changeDdQrTimeOut=null)}),e.changeDdQrTimeOut=setTimeout(function(){e.state.ddCode.stop||e.state.ddCode.refresh||e.setState({ddCode:De({},e.state.ddCode,{refresh:!0})})},3e5)},this.clearAllTimers=function(){e.appQrTimeout&&(clearTimeout(e.appQrTimeout),e.appQrTimeout=null),e.ddQrTimeout&&(clearTimeout(e.ddQrTimeout),e.ddQrTimeout=null),e.changeAppQrTimeOut&&(clearTimeout(e.changeAppQrTimeOut),e.changeAppQrTimeOut=null),e.wxQrTimeout&&(clearTimeout(e.wxQrTimeout),e.wxQrTimeout=null),e.changeWXQrTimeOut&&(clearTimeout(e.changeWXQrTimeOut),e.changeWXQrTimeOut=null),e.changeDdQrTimeOut&&(clearTimeout(e.changeDdQrTimeOut),e.changeDdQrTimeOut=null),e.mmdlQrTimeout&&(clearTimeout(e.mmdlQrTimeout),e.mmdlQrTimeout=null),e.changeMMDLQrTimeOut&&(clearTimeout(e.changeMMDLQrTimeOut),e.changeMMDLQrTimeOut=null)},this.onSendCode=function(){e.state.sending||e.props.form.validateFields(["mobile","captcha"],{force:!0},function(t,a){if(!t){e.setState({sending:!0});var n=(new Date).getTime(),o=e.encodePass(re.a.TAG+n),i=e.props.login.loginData.smsSendTime;i=60*parseInt(i),e.setState({count:i}),e.timer=setInterval(function(){e.setState({count:i--},function(){0===e.state.count&&(clearInterval(e.timer),e.timer=null,e.setState({sending:!1}))})},1e3);var r={mobile:a.mobile,username:a.mobile,module:"0"};e.props.login.loginData.isVerifyCodeType.indexOf("2")>-1&&(r.module="3",r.code=a.captcha,r.id=e.state.loginCode.uid),ne.a.post(re.a.CAS+"/login/mobile/generateCode",r,{headers:{token:o}}).then(function(t){var a=t.data,n=a.meta;a.data;if(n.success)_.a.success({title:window.locale[e.props.login.locale].warn,content:window.locale[e.props.login.locale].send_sms_code_success});else{e.timer&&(clearInterval(e.timer),e.timer=null),e.setState({sending:!1});var o=n.message;"CODEFALSE"==n.message&&(o="éªè¯ç é误"),_.a.error({title:window.locale[e.props.login.locale].warn,content:o}),e.queryLoginKaptcha(e.state.loginCode.uid)}})}})},this.queryLoginKaptcha=function(t){ne.a.get(re.a.CAS+"/kaptcha",{params:{uid:t}}).then(function(t){"200"==t.status&&t.data&&(t.data.uid&&"-1"!=t.data.uid&&e.setState({loginCode:De({},t.data,{isLoginCode:!1,refresh:!1})}),e.handleCodeTime())})},this.queryAppQrCode=function(){ne.a.get(re.a.CAS+"/QrCode",{params:{cmd:"getQr"}}).then(function(t){"200"==t.status&&t.data&&e.setState({appCode:De({},e.state.appCode,t.data,{isAppCode:!1})},function(){e.changeAppQrTimeOut&&(clearTimeout(e.changeAppQrTimeOut),e.changeAppQrTimeOut=null),e.appQrTimeout&&(clearTimeout(e.appQrTimeout),e.appQrTimeout=null,e.handleAppCode())})})},this.queryWechat=function(){ne.a.get(re.a.CAS+"/weChat/CreateQRcode",{params:{businessType:"login",platformType:"wx"}}).then(function(t){"200"==t.status&&t.data&&e.setState({wechatCode:De({},e.state.wechatCode,t.data,{isWeChatCode:!1})},function(){e.changeWXQrTimeOut&&(clearTimeout(e.changeWXQrTimeOut),e.changeWXQrTimeOut=null),e.wxQrTimeout&&(clearTimeout(e.wxQrTimeout),e.wxQrTimeout=null,e.handleWXCode())})})},this.queryQQLoginUrl=function(){var t=a(5),n=window.location.search;n=n.substring(n.indexOf("?")+1);var o=t.parse(n),i="";o&&o.service&&(i=o.service),a.i(ce.a)(re.a.CAS+"/qq/qqLoginURL",{service:i}).then(function(t){var a=t.meta,n=t.data;a.success&&n&&e.setState({qqLoginUrl:n})})},this.queryPreLoginType=function(){return},this.hide=function(){e.setState({visible:!1,memban:"none"}),e.queryLoginKaptcha(e.state.loginCode.uid)},this.handleVisibleChange=function(t){e.queryQueryKaptcha(e.state.loginCode.uid),e.setState({visible:t,memban:"block"})},this.getQueryCode=function(t){e.setState({queryCodeValue:t.target.value})},this.getusercardid=function(t){e.setState({queryIdCard:t.target.value})},this.getusername=function(t){e.setState({queryUserName:t.target.value})},this.handleCheckAccount=function(t){var a=(e.props.login.loginData,e.state.queryCode),n="",o="";n=a.uid,o=e.state.queryCodeValue;var i={username:e.state.queryUserName,cardID:e.state.queryIdCard,uid:n,code:o};ne.a.get(re.a.CAS+"/checkAccount",{params:i}).then(function(t){if(e.setState({dataSource:[]}),"200"==t.status&&t.data)if(t.data.meta.success){for(var a=[],n=0;n<t.data.data.length;n++)a[n]={screenname:null==t.data.data[n].screenName?"":t.data.data[n].screenName,username:null==t.data.data[n].userName?"":t.data.data[n].userName,othern
1ame:null==t.data.data[n].alias?"":t.data.data[n].alias,cardId:null==t.data.data[n].cardId?"":t.data.data[n].cardId};e.setState({dataSource:a})}else _.a.error({title:window.locale[e.props.login.locale].query_fail,content:t.data.meta.message})}),e.queryQueryKaptcha(n)},this.queryQueryKaptcha=function(t){ne.a.get(re.a.CAS+"/kaptcha",{params:{uid:t}}).then(function(t){"200"==t.status&&t.data&&t.data.uid&&"-1"!=t.data.uid&&e.setState({queryCode:De({},t.data,{isQueryCode:!1})})})},this.queryLogin=function(t){var n=t.login;if(n.loginData&&"1"==n.loginData.isVerifyCode&&e.state.loginCode.isLoginCode){if(a.i(ie.c)().windowW<=980)return;e.queryLoginKaptcha("")}n.loginData&&"1"==n.loginData.isqq&&!e.state.qqLoginUrl&&e.queryQQLoginUrl()},this.checkScanPhoneQr=function(t){var n=a(5);e.appQrTimeout=setTimeout(function(){a.i(ce.b)(re.a.CAS+"/CheckScan",n.stringify({ticket:t})).then(function(n){var o=n.meta,i=n.data;if(o.success){var r=a(5),l=window.location.search;l=l.substring(l.indexOf("?")+1);var s=r.parse(l),c=i.service;s&&s.service&&(c=s.service),i?(e.appQrTimeout&&(clearTimeout(e.appQrTimeout),e.appQrTimeout=null),e.changeAppQrTimeOut&&(clearTimeout(e.changeAppQrTimeOut),e.changeAppQrTimeOut=null),e.setState({appQr:De({},i)},function(){e.props.dispatch(a.i(ue.c)(i.userName,i.passWord,c,"4",e.props.history))})):e.state.appCode.stop||e.state.appCode.refresh?(e.appQrTimeout&&(clearTimeout(e.appQrTimeout),e.appQrTimeout=null),e.changeAppQrTimeOut&&(clearTimeout(e.changeAppQrTimeOut),e.changeAppQrTimeOut=null)):e.checkScanPhoneQr(t)}else e.state.appCode.stop||e.state.appCode.refresh?(e.appQrTimeout&&(clearTimeout(e.appQrTimeout),e.appQrTimeout=null),e.changeAppQrTimeOut&&(clearTimeout(e.changeAppQrTimeOut),e.changeAppQrTimeOut=null)):e.checkScanPhoneQr(t)})},1e3)},this.checkScanWXQr=function(t){e.wxQrTimeout=setTimeout(function(){a.i(ce.b)(re.a.CAS+"/weChat/wx/CheckScan",{state:t}).then(function(n){var o=n.meta,i=n.data;if(o.success){var r=a(5),l=window.location.search;l=l.substring(l.indexOf("?")+1);var s=r.parse(l),c=i.service;s&&s.service&&(c=s.service),i?(e.wxQrTimeout&&(clearTimeout(e.wxQrTimeout),e.wxQrTimeout=null),e.changeWXQrTimeOut&&(clearTimeout(e.changeWXQrTimeOut),e.changeWXQrTimeOut=null),e.setState({wxQr:De({},i)},function(){e.props.dispatch(a.i(ue.c)(i.userName,i.passWord,c,"3",e.props.history))})):e.state.wechatCode.stop||e.state.wechatCode.refresh?(e.wxQrTimeout&&(clearTimeout(e.wxQrTimeout),e.wxQrTimeout=null),e.changeWXQrTimeOut&&(clearTimeout(e.changeWXQrTimeOut),e.changeWXQrTimeOut=null)):e.checkScanWXQr(t)}else e.state.wechatCode.stop||e.state.wechatCode.refresh?(e.wxQrTimeout&&(clearTimeout(e.wxQrTimeout),e.wxQrTimeout=null),e.changeWXQrTimeOut&&(clearTimeout(e.changeWXQrTimeOut),e.changeWXQrTimeOut=null)):e.checkScanWXQr(t)})},1e3)},this.handleChangeAppQr=function(){e.state.appCode.refresh&&e.setState({appCode:De({},e.state.appCode,{refresh:!1})},function(){e.queryAppQrCode(""),e.changeAppQrTimeOut&&(clearTimeout(e.changeAppQrTimeOut),e.changeAppQrTimeOut=null)}),e.changeAppQrTimeOut=setTimeout(function(){e.state.appCode.stop||e.state.appCode.refresh||e.setState({appCode:De({},e.state.appCode,{refresh:!0})})},3e5)},this.handleChangeWXQr=function(){e.state.wechatCode.refresh&&e.setState({wechatCode:De({},e.state.wechatCode,{refresh:!1})},function(){e.queryWechat(""),e.changeWXQrTimeOut&&(clearTimeout(e.changeWXQrTimeOut),e.changeWXQrTimeOut=null)}),e.changeWXQrTimeOut=setTimeout(function(){e.state.wechatCode.stop||e.state.wechatCode.refresh||e.setState({wechatCode:De({},e.state.wechatCode,{refresh:!0})})},3e5)},this.loadAccountInfo=function(){var t=localStorage.getItem("accountInfo")&&JSON.parse(localStorage.getItem("accountInfo"));if(t){if(!(t&&(new Date).getTime()<t.expires))return localStorage.removeItem("accountInfo"),null;var a="",n="",o=new Array;o=t.value.split("&"),a=o[0],n=o[1],e.setState({userInfo:De({},e.state.userInfo,{userName:a,password:n,inputPassWord:n,rememberMe:!0}),login_btn_show:!0,is_AccountValue:!0,is_PasswordValue:!0})}},this.findUkeyClient=function(){try{(new pe.a).Socket_UK.onopen=function(){e.setState({ukeyIsConn:!0})}}catch(e){}},this.ukeyEventListener=function(){try{if((navigator.userAgent.indexOf("MSIE")>-1||navigator.userAgent.indexOf("Firefox")>-1)&&!navigator.userAgent.indexOf("opera")>-1)return e.ukeyEventListenerIE10();var t=new pe.a;e.setState({ukeyIsIn:!0}),t.Socket_UK.onmessage=function(t){var a=JSON.parse(t.data);"PnpEvent"==a.type&&(a.IsIn?(g.a.info(window.locale[e.props.login.locale].ukey_insert),e.setState({ukeyIsIn:!0})):(g.a.info(window.locale[e.props.login.locale].ukey_pull),e.setState({ukeyIsIn:!1})))}}catch(t){_.a.error({title:window.locale[e.props.login.locale].warn,content:window.locale[e.props.login.locale].ukey_login_not_use})}},this.ukeyEventListenerIE10=function(){try{var t=new ActiveXObject("Syunew3A.s_simnew3");if(t.FindPort(0),0==t.LastError)return e.ukeyTimeout=setTimeout(function(){e.setState({ukeyIsIn:!0})},1e3),!1}catch(t){_.a.error({title:window.locale[e.props.login.locale].warn,content:window.locale[e.props.login.locale].ukey_login_not_use})}},this.reFreshCode=function(){e.queryLoginKaptcha(e.state.loginCode.uid),e.setState({loginCode:De({},e.state.loginCode,{refresh:!1})})},this.handleCodeTime=function(){e.codeTimer=setTimeout(function(){e.setState({loginCode:De({},e.state.loginCode,{refresh:!0})})},1e3*e.state.loginCode.timeout)},this.onChangNewTab=function(t){var a=e.state,n=a.loginType,o=(a.secondThemeColor,a.loginCode),i=e.props.login,r=i.loginData;i.locale;e.queryLoginKaptcha(o.uid),1==t?e.setState({loginType:1,isFirst:!0,appCode:De({},e.state.appCode,{stop:!0}),wechatCode:De({},e.state.wechatCode,{stop:!0})},function(){e.clearAllTimers()}
1):2==t?e.setState({loginType:2,appCode:De({},e.state.appCode,{stop:!0}),wechatCode:De({},e.state.wechatCode,{stop:!0})},function(){e.clearAllTimers()}):(n<3||5==n||6==n)&&(r.isWeChat&&"1"==r.isWeChat?e.setState({loginType:3,isFirst:!0},function(){e.queryWechat(),e.handleWXCode()}):r.isApp&&"1"==r.isApp?e.setState({loginType:4,isFirst:!0},function(){e.queryAppQrCode(),e.handleAppCode()}):e.setState({loginType:13},function(){e.queryDdCode(),e.handleDdCode()}))},this.onShowDownload=function(){e.setState({showDownload:!0}),e.clearAllTimers()},this.handleChangeButtonPosition=function(){var t=e.state,a=t.loginType,o=t.showDownload,i=e.props.login.loginData,r=i.attachments&&i.attachments.filter(function(e){return"ly-iap-attachment_appQRCode"==e.sourceId}),l="1"==i.isWeChat?Z.a.createElement("span",{className:ee()(se.a.qr_type,n({},se.a.active,3==a)),onClick:function(){e.setState({loginType:3},function(){e.queryWechat(),e.handleWXCode()})}},Z.a.createElement("span",{className:ee()(se.a.icon_wx,se.a.type_icon)}),window.locale[e.props.login.locale].WeChat_scan_login):null,s="1"==i.isApp?Z.a.createElement("span",{className:ee()(se.a.qr_type,n({},se.a.active,4==a&&!o)),onClick:function(){e.setState({loginType:4,showDownload:!1},function(){e.queryAppQrCode(),e.handleAppCode()})},style:{width:window.tip.appWidth?window.tip.appWidth:14*(window.locale[e.props.login.locale].APP_scan_login.length-5)+100}},Z.a.createElement("span",{className:ee()(se.a.icon_app,se.a.type_icon),style:r&&r.length>0?{background:"url("+r[0].source+")"}:{}}),window.locale[e.props.login.locale].APP_scan_login):null,c="1"==i.isDingDing?Z.a.createElement("span",{className:ee()(se.a.qr_type,n({},se.a.active,13==a),se.a.qr_app_type),onClick:function(){e.setState({loginType:13},function(){e.queryDdCode(),e.handleDdCode()})}},Z.a.createElement("span",{className:ee()(se.a.icon_dingding,se.a.type_icon)}),window.locale[e.props.login.locale].Dd_scan_login):null,u=[];u=window.tip.isAppBtnFirst?[s,l,c]:[l,s,c];var d=window.tip.appWidth?window.tip.appWidth+8:14*(window.locale[e.props.login.locale].APP_scan_login.length-5)+108,p=window.locale[e.props.login.locale].WeChat_scan_login?14*window.locale[e.props.login.locale].WeChat_scan_login.length+52:0,m=window.locale[e.props.login.locale].Dd_scan_login?14*window.locale[e.props.login.locale].Dd_scan_login.length+52:0;"1"!=i.isDingDing&&(m=0),"1"!=i.isWeChat&&(p=0),"1"!=i.isApp&&(d=0);var g=d+p+m+108;return Z.a.createElement("div",{className:se.a.qrBottomInfo},Z.a.createElement("div",{className:se.a.qr_type_box,style:{width:g}},Z.a.createElement("span",{style:{background:"#F1F2F5",borderRadius:"25px",padding:"4px 0",height:"50px",display:"flex"}},Z.a.createElement("div",{className:ee()(se.a.appDownload,n({},se.a.active,o)),onClick:e.onShowDownload,style:{background:o?"#fff":""}},Z.a.createElement("span",{className:ee()(se.a.icon_app,se.a.type_icon),style:r&&r.length>0?{background:"url("+r[0].source+")"}:{}}),"APPä¸è½½"),u.map(function(e){return e}))))}},s=u))||s,Me=J.a.create()(Le);t.a=Me},586:function(e,t,a){"use strict";function n(e,t,a){return t in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a,e}function o(e){return function(){var t=e.apply(this,arguments);return new Promise(function(e,a){function n(o,i){try{var r=t[o](i),l=r.value}catch(e){return void a(e)}if(!r.done)return Promise.resolve(l).then(function(e){n("next",e)},function(e){n("throw",e)});e(l)}return n("next")})}}function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function r(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function l(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var s,c,u=a(87),d=(a.n(u),a(74)),p=a.n(d),m=a(22),g=(a.n(m),a(21)),h=a.n(g),f=a(45),_=(a.n(f),a(44)),w=a.n(_),y=a(41),b=(a.n(y),a(40)),v=a.n(b),E=a(48),C=(a.n(E),a(47)),T=a.n(C),x=a(56),S=(a.n(x),a(10)),k=a.n(S),O=a(334),A=a.n(O),D=a(37),Q=(a.n(D),a(36)),N=a.n(Q),I=a(121),L=(a.n(I),a(96)),M=a.n(L),P=a(28),W=(a.n(P),a(27)),q=a.n(W),U=a(1),R=a.n(U),B=a(3),F=a.n(B),K=a(12),j=a(29),z=
1a.n(j),X=a(23),H=a(57),V=a(328),G=a(32),J=a(414),Y=(a.n(J),a(31)),Z=a(1142),$=a.n(Z),ee=a(16),te=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var a=arguments[t];for(var n in a)Object.prototype.hasOwnProperty.call(a,n)&&(e[n]=a[n])}return e},ae=function(){function e(e,t){for(var a=0;a<t.length;a++){var n=t[a];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}return function(t,a,n){return a&&e(t.prototype,a),n&&e(t,n),t}}(),ne=q.a.Item,oe=M.a.Option,ie=(s=a.i(K.b)(function(e){return{dispatch:e.dispatch,login:e.login}}))(c=function(e){function t(e){var n=this;i(this,t);var l=r(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return l.resize=function(){l.setState({windowW:a.i(G.c)().windowW})},l.encodePass=function(e){a.i(Y.a)(131);var t=a.i(Y.b)(ee.a.public_exponent,"",ee.a.modulus);return a.i(Y.c)(t,e)},l.onSendCode=function(){if(!l.state.sending){l.setState({sending:!0});var e=sessionStorage.getItem("twoverifyInfo")?JSON.parse(sessionStorage.getItem("twoverifyInfo")):l.props.login.casdata;l.props.form.validateFields(["mobile","email"],{force:!0},function(t,a){if(!t){var n="",o={};"0"==l.props.form.getFieldValue("type")&&(n=ee.a.CAS+"/login/mobile/generateCode",o={mobile:e.content.phone,username:e.userName,module:"0"});var i=(new Date).getTime(),r=l.encodePass(ee.a.TAG+i);z.a.post(n,o,{headers:{token:r}}).then(function(e){var t=e.data,a=t.meta,n=t.data;if(a.success){if(n){var o=l.props.login.loginData.smsSendTime;o=60*parseInt(o);var i=setInterval(function(){l.setState({count:o--},function(){0===o&&(clearInterval(i),l.setState({sending:!1}))})},1e3)}}else l.setState({sending:!1})})}})}},l.handleRedirectLogin=function(){var e=sessionStorage.getItem("twoverifyInfo")?JSON.parse(sessionStorage.getItem("twoverifyInfo")):l.props.login.casdata;if(!e)return void l.props.history.push(ee.a.CAS+"/login");if(!e.code||"TWOVERIFY"!=e.code)return void l.props.history.push(ee.a.CAS+"/login");var t=l.props.login.loginData;t&&"0"==t.isTwoVerify&&!e.content.isCommonIP&&l.props.history.push(ee.a.CAS+"/login")},l.handleSubmit=function(e){e.preventDefault(),console.log(l.submitBtn.current),l.setState({submitBtnDisabled:!0},function(){var e=sessionStorage.getItem("twoverifyInfo")?JSON.parse(sessionStorage.getItem("twoverifyInfo")):l.props.login.casdata;l.props.form.validateFieldsAndScroll(function(t,n){if(!t){var o=document.querySelector(".code-input"),i=n.type,r="",s="",c="";if("0"==i){if(!(r=e.content.phone))return void N.a.error({title:window.locale[l.props.login.locale].auth_fail,content:window.locale[l.props.login.locale].bind_phone});s=n.code}else if("1"==i){if(!(r=n.email))return void N.a.error({title:window.locale[l.props.login.locale].auth_fail,content:window.locale[l.props.login.locale].bind_email});s=n.code}else"2"==i?(r=n.question,n.custom&&(r=n.custom),s=n.answer):4==i&&(s=o.value,r=o.value);e.content.isCommonIP&&(c="0"),n.isCommonIP&&(c="1");var u={userName:e.userName,credential:s,principal:r,type:i,service:decodeURIComponent(e.service),loginType:e.type,isCommonIP:c},d=e.passWord,p=(new Date).getTime(),m=l.encodePass(ee.a.TAG+p);z.a.post(ee.a.CAS+"/login/twoVertify",u,{headers:{token:m,vcodes:e.vcodes}}).then(function(t){var n=t.data,o=n.meta,i=n.data;if(o.success){if(i.flag){var r=!!sessionStorage.getItem("twoverifyInfo");if(r){var s=e.service,c=e.userName,u={service:s,userName:c,cookieTGC:a.i(G.a)("CASTGC")};l.loginAlready(u)}else e.type&&(d=i.encode),l.props.dispatch(a.i(X.c)(e.userName,d,decodeURIComponent(e.service),e.type,l.props.history,e.rememberMe,e.change))}}else l.setState({submitBtnDisabled:!1}),N.a.error({title:window.locale[l.props.login.locale].auth_fail,content:o.message})})}})})},l.loginAlready=function(){var e=o(A.a.mark(function e(t){var a,o,i,r,s,c,u,d,p,m,g;return A.a.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:a=window.locale?window.locale.casName:"/lyuapServer",o=new FormData,o.append("service",t.service),i=t.cookieTGC;try{r=JSON.parse(localStorage.getItem("TGC")),r&&r.tgt&&(i=r.tgt)}catch(e){console.log(e)}return e.next=7,z.a.post(a+"/v1/tickets/"+i,o,{headers:{"Content-Type":"application/x-www-form-urlencoded"}});case 7:s=e.sent,c=s.data,u=c.meta,d=c.data,u?(p=new Map([["NOREGISTER",l.handleLoginByCode_NOREGISTER],["NOAUTHORIZATION",l.handleLoginByCode_NOAUTHORIZATION]]),m=p.get(d.code),g={service:t.service,userName:t.userName},m(g)):(sessionStorage.getItem("twoverifyInfo")&&sessionStorage.removeItem("twoverifyInfo"),window.location=l.getLoginService(t.service,s.data));case 10:case"end":return e.stop()}},e,n)}));return function(t){return e.apply(this,arguments)}}(),l.handleLoginByCode_NOREGISTER=function(e){var t=e.service,a={unAuthorizeUrl:t,unAuthorizeType:"1"};sessionStorage.setItem("unAuthorizeInfo",JSON.stringify(a)),window.location.href=window.location.origin+"/loginUnAuthorize"},l.handleLoginByCode_NOAUTHORIZATION=function(e){var t=e.service,a=e.userName,n={unAuthorizeUrl:t,unAuthorizeType:"2",unAuthorizeName:a};sessionStorage.setItem("unAuthorizeInfo",JSON.stringify(n)),window.location.href=window.location.origin+"/loginUnAuthorize"},l.changeType=function(e){l.setState({type:e}),"3"==e?l.getWxCode(l.state.wxCode):l.timer&&(clearTimeout(l.timer),l.timer=null)},l.getWxCode=function(e){var t=sessionStorage.getItem("twoverifyInfo")?JSON.parse(sessionStorage.getItem("twoverifyInfo")):l.props.login.casdata,n=decodeURIComponent(t.service);z.a.get(ee.a.CAS+"/weChat/CreateQRcode",{params:{businessType:"twoVerify",platformType:"wx",wechatId:e}}).then(function(e){console.log(e.data),l.setState({wxContent:e.data}),l.timer=setInterval(function(){z.a.post(ee.a.CAS+"/weChat/wx/CheckScan",{state:e.data.uuid,service:n}).then(function(e){if(e.data.data){l.timer&&(clearTimeout(l.timer),l.timer=null);var o=t.passWord;l.props.dispatch(a.i(X.c)(t.userName,o,n,t.type,l.props.history,t.rememberMe,t.change))}})},1e3)})},l.state={type:"0",codeList:["phone","question"],windowW:a.i(G.c)().windowW,sending:!1,submitBtnDisabled:!1,wxCode:"",wxContent:{},options:[]},l.submitBtn=a.i(U.createRef)(),l}return l(t,e),ae(t,[{key:"getLoginService",value:function(e,t){var a=decodeURIComponent(e);e&&e.indexOf("shiro-cas?loginService")>0&&(a=e.substring(0,e.indexOf("?"))),a.indexOf("?")>0||a.indexOf("&")>0?a+="&":a+="?";var n=a+"ticket="+t;if(e.indexOf("shiro-cas?loginService")>0){n+="&service="+e.substring(e.indexOf("loginService=")+13)}return n}},{key:"componentWillUpdate",value:function(e,t){document.getElementsByTagName("title")[0].innerText=e.login.loginData.casTitle?e.login.loginData.casTitle:window.locale[this.props.login.locale].login_pageInfo_4}},{key:"componentWillMount",value:function(){}},{key:"componentDidMount",value:function(){var e=this;window.addEventListener("resize",this.resize,!1);var t=(this.props.login.loginData,this.props.login.casdata);if(t||(t=sessionStorage.getItem("twoverifyInfo")?JSON.parse(sessionStorage.getItem("twoverifyInfo")):this.props.login.casdata),"TWOVERIFY"==t.code){var a=t,n=a.content,o="0",i={1:"phone",2:"wechat",3:"question",4:"otp"},r=[];this.props.login.loginData.twoVerifyWay.split(",").forEach(function(e){n[i[e]]&&r.push(i[e])}),"phone"==r[0]&&(o="0"),"wechat"==r[0]&&(o="3",this.getWxCode(n.wechat)),"question"==r[0]&&(o="2"),"otp"==r[0]&&(o="4");var l=[];r.map(function(t){"phone"==t&&l.push(R.a.createElement(oe,{key:"0",value:"
10"},R.a.createElement(k.a,{type:"mobile"}),window.locale[e.props.login.locale].phone_verify)),"question"==t&&l.push(R.a.createElement(oe,{key:"2",value:"2"},R.a.createElement(k.a,{type:"safety"}),window.locale[e.props.login.locale].encrypted_verify)),"wechat"==t&&l.push(R.a.createElement(oe,{key:"3",value:"3"},R.a.createElement(k.a,{type:"wechat"}),window.locale[e.props.login.locale].WeChat_scan_verify)),"otp"==t&&l.push(R.a.createElement(oe,{key:"4",value:"4"},R.a.createElement(k.a,{type:"safety"}),"OTPå¨æç æ ¡éª"))}),this.setState({type:o,codeList:r,wxCode:n.wechat,options:l})}}},{key:"componentWillUnmount",value:function(){window.removeEventListener("resize",this.resize),this.timer&&(clearTimeout(this.timer),this.timer=null)}},{key:"componentWillReceiveProps",value:function(e){e.login.casdata}},{key:"render",value:function(){var e=this.state,t=e.windowW,a=e.sending,o=e.count,i=e.type,r=(e.codeList,e.wxContent),l=(e.isOTP,e.options),s=this.props.form,c=s.getFieldDecorator,u=s.getFieldValue,d=sessionStorage.getItem("twoverifyInfo")?JSON.parse(sessionStorage.getItem("twoverifyInfo")):this.props.login.casdata,m={labelCol:{span:8},wrapperCol:{span:16}},g={wrapperCol:{span:16,offset:8}},f=t<=980;u("question");return R.a.createElement("div",{className:F()($.a.login_again,n({},$.a.mobile,f))},f?null:R.a.createElement(v.a,{className:$.a.page_top},R.a.createElement(T.a,{span:12})),R.a.createElement("div",{className:$.a.container},R.a.createElement("div",{className:$.a.content},f?R.a.createElement("div",{className:$.a.page_m_top}):null,R.a.createElement("div",{className:$.a.main},R.a.createElement("div",{className:$.a.tip},d?d.content.isCommonIP?window.locale[this.props.login.locale].tip_romote_login:window.locale[this.props.login.locale].tip_encrypted_phone:null),R.a.createElement("div",{className:$.a.box},R.a.createElement(R.a.Fragment,null,R.a.createElement("div",{className:$.a.setting},R.a.createElement(k.a,{type:"setting"}),R.a.createElement("span",null," ",window.locale[this.props.login.locale].security_setting)),R.a.createElement(v.a,null,f?null:R.a.createElement(T.a,{span:6},R.a.createElement("div",{className:$.a.page_img_box},R.a.createElement("div",{className:$.a.page_img_a}))),R.a.createElement(T.a,{span:f?24:18},R.a.createElement(q.a,{onSubmit:this.handleSubmit},R.a.createElement(ne,te({},m,{label:window.locale[this.props.login.locale].verify_way}),c("type",{rules:[{required:!0,message:window.locale[this.props.login.locale].select_verify_way}],initialValue:i})(R.a.createElement(M.a,{style:{width:200},onSelect:this.changeType},l.length>0&&l.map(function(e){return e})))),"0"!=i&&i?null:R.a.createElement(R.a.Fragment,null,R.a.createElement(ne,te({},m,{label:window.locale[this.props.login.locale].phone}),R.a.createElement(v.a,null,R.a.createElement(T.a,{span:14},c("phone",{initialValue:d&&d.content&&d.content.phone?d.content.phone.substring(0,3)+"***"+d.content.phone.substring(7,11):"",rules:[{required:!0}]})(R.a.createElement(w.a,{disabled:!0}))))),R.a.createElement(ne,te({},m,{label:window.locale[this.props.login.locale].security_code}),R.a.createElement(v.a,null,R.a.createElement(T.a,{span:14},c("code",{rules:[{required:!0,message:window.locale[this.props.login.locale].enter_security_code}]})(R.a.createElement(w.a,null))),R.a.createElement(T.a,{span:8,offset:2},R.a.createElement(h.a,{disabled:a,className:$.a.send,onClick:this.onSendCode},a?o:window.locale[this.props.login.locale].send_security_code))))),"2"==i?R.a.createElement(R.a.Fragment,null,R.a.createElement(ne,te({},m,{label:window.locale[this.props.login.locale].encrypted_question}),R.a.createElement(v.a,{style:{display:"none"}},R.a.createElement(T.a,{span:14},c("question",{initialValue:d&&d.content?d.content.question:"",rules:[{required:!0,message:window.locale[this.props.login.locale].select_encrypted_question}]})(R.a.createElement(w.a,null)))),R.a.createElement(v.a,null,R.a.createElement(T.a,{span:14},R.a.createElement("div",{className:$.a.desc},d&&d.content?d.content.question:"")))),R.a.createElement(ne,te({},m,{label:"é®é¢çæ¡"}),R.a.createElement(v.a,null,R.a.createElement(T.a,{span:14},c("answer",{rules:[{required:!0,message:window.locale[this.props.login.locale].question_answer_not_empty},{min:2,message:"é¿åº¦ä¸º2-50"},{max:50,message:"é¿åº¦ä¸º2-50"}]})(R.a.createElement(w.a,null)))))):null,d&&"3"!=i&&d.content.isCommonIP?R.a.createElement(ne,te({},m,{label:window.locale[this.props.login.locale].romote_login}),R.a.createElement(v.a,null,R.a.createElement(T.a,{span:18}
1,c("isCommonIP",{valuePropName:"checked"})(R.a.createElement(p.a,null,R.a.createElement("a",null,window.locale[this.props.login.locale].flag_romote_login)))))):null,4==i&&R.a.createElement(V.a,{width:50}),R.a.createElement(ne,g,"3"!=i?R.a.createElement(h.a,{ref:this.submitBtn,disabled:this.state.submitBtnDisabled,className:$.a.submit+" "+$.a.submitDisable,htmlType:"submit"},window.locale[this.props.login.locale].confirm):R.a.createElement("img",{className:$.a.wxQrCode,src:r.content}))))))),f?null:R.a.createElement("div",{className:$.a.footer},R.a.createElement(H.a,{content:this.props.login.loginData.casfoot?this.props.login.loginData.casfoot:""}))))),f?R.a.createElement("div",{className:$.a.footer},R.a.createElement(H.a,{content:this.props.login.loginData.casfoot?this.props.login.loginData.casfoot:""})):null)}}]),t}(R.a.Component))||c,re=q.a.create()(ie);t.a=re},587:function(e,t,a){"use strict";function n(e,t,a){return t in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a,e}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function r(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var l,s,c,u=a(22),d=(a.n(u),a(21)),p=a.n(d),m=a(45),g=(a.n(m),a(44)),h=a.n(g),f=a(48),_=(a.n(f),a(47)),w=a.n(_),y=a(41),b=(a.n(y),a(40)),v=a.n(b),E=a(37),C=(a.n(E),a(36)),T=a.n(C),x=a(28),S=(a.n(x),a(27)),k=a.n(S),O=a(1),A=a.n(O),D=a(3),Q=a.n(D),N=a(12),I=a(57),L=a(32),M=a(31),P=a(25),W=a(23),q=a(269),U=a.n(q),R=a(16),B=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var a=arguments[t];for(var n in a)Object.prototype.hasOwnProperty.call(a,n)&&(e[n]=a[n])}return e},F=function(){function e(e,t){for(var a=0;a<t.length;a++){var n=t[a];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}return function(t,a,n){return a&&e(t.prototype,a),n&&e(t,n),t}}(),K=k.a.Item,j=(l=k.a.create(),s=a.i(N.b)(function(e){return{dispatch:e.dispatch,login:e.login}}),l(c=s(c=function(e){function t(e){o(this,t);var n=i(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return n.resize=function(){n.setState({windowW:a.i(L.c)().windowW})},n.encodePass=function(e){a.i(M.a)(131);var t=a.i(M.b)(R.a.public_exponent,"",R.a.modulus);return a.i(M.c)(t,e)},n.handleBindDingDing=function(){var e=n.state.loginData;n.props.form.validateFieldsAndScroll(function(t,o){if(!t){var i=n.encodePass(o.password),r={openid:e.userName,username:o.username,password:i};a.i(P.b)(R.a.CAS+"/dingding/dingdingBind",r).then(function(e){var t=e.meta,o=e.data;if(t.success)if(o){if("1"==o.type){var i=a(5),r=window.location.search;r=r.substring(r.indexOf("?")+1);var l=i.parse(r),s=o.service;l&&l.service&&(s=l.service),n.props.dispatch(a.i(W.c)(o.userName,o.passWord,s,"13",n.props.history))}}else T.a.error({title:window.locale[n.props.login.locale].DingDing_bind,content:t.message});else T.a.error({title:window.locale[n.props.login.locale].DingDing_bind,content:t.message})})}})},n.state={windowW:a.i(L.c)().windowW,loginData:{},firstBindDingDing:!1},n}
1return r(t,e),F(t,[{key:"componentWillMount",value:function(){var e=this,t=a(5),n=window.location.search;n=n.substring(n.indexOf("?")+1);var o=t.parse(n);o.code?a.i(P.b)(R.a.CAS+"/dingding/login",{code:o.code,state:""}).then(function(t){var n=t.meta,o=t.data;if(n.success&&o)if("0"==o.type)e.setState({loginData:o,firstBindDingDing:!0});else if("1"==o.type){var i=a(5),r=window.location.search;r=r.substring(r.indexOf("?")+1);var l=i.parse(r),s=o.service;l&&l.service&&(s=l.service),e.props.dispatch(a.i(W.c)(o.userName,o.passWord,s,"13",e.props.history))}}):this.props.history.push(R.a.CAS+"/login")}},{key:"componentWillUpdate",value:function(e,t){document.getElementsByTagName("title")[0].innerText=e.login.loginData.casTitle?e.login.loginData.casTitle:window.locale[this.props.login.locale].login_pageInfo_4}},{key:"componentDidMount",value:function(){window.addEventListener("resize",this.resize,!1)}},{key:"componentWillUnmount",value:function(){window.removeEventListener("resize",this.resize)}},{key:"render",value:function(){var e=this.state,t=e.windowW,a=e.loginData,o=e.firstBindDingDing,i=this.props.form.getFieldDecorator,r={labelCol:{span:8},wrapperCol:{span:16}},l={wrapperCol:{span:16,offset:8}},s=t<=980,c=!a.type||"0"==a.type;return A.a.createElement(O.Fragment,null,c&&o?A.a.createElement("div",{className:Q()(U.a.login_first,n({},U.a.mobile,s))},s?null:A.a.createElement(v.a,{className:U.a.page_top}),A.a.createElement("div",{className:U.a.container},A.a.createElement("div",{className:U.a.content},s?A.a.createElement("div",{className:U.a.page_m_top}):null,A.a.createElement("div",{className:U.a.main},A.a.createElement("div",{className:U.a.tip},window.locale[this.props.login.locale].bind_DingDing_tip1),A.a.createElement("div",{className:U.a.box},A.a.createElement(v.a,null,s?null:A.a.createElement(w.a,{span:6},A.a.createElement("div",{className:U.a.page_img_box},A.a.createElement("div",{className:U.a.page_img_a}))),A.a.createElement(w.a,{span:s?24:18},A.a.createElement(k.a,null,A.a.createElement(K,B({},r,{label:window.locale[this.props.login.locale].bind_QQ_tip2}),i("username")(A.a.createElement(h.a,null))),A.a.createElement(K,B({},r,{label:window.locale[this.props.login.locale].bind_QQ_tip3}),i("password")(A.a.createElement(h.a,{type:"password"}))),A.a.createElement(K,l,A.a.createElement(p.a,{className:U.a.submit,onClick:this.handleBindDingDing},window.locale[this.props.login.locale].save)))))),s?null:A.a.createElement("div",{className:U.a.footer},A.a.createElement(I.a,{content:this.props.login.loginData.casfoot?this.props.login.loginData.casfoot:""}))))),s?A.a.createElement("div",{className:U.a.footer},A.a.createElement(I.a,{content:this.props.login.loginData.casfoot?this.props.login.loginData.casfoot.value:""})):null):null)}}]),t}(A.a.Component))||c)||c),z=k.a.create()(j);t.a=z},588:function(e,t,a){"use strict";function n(e,t,a){return t in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a,e}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function r(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var l,s,c=a(41),u=(a.n(c),a(40)),d=a.n(u),p=a(121),m=(a.n(p),a(96)),g=a.n(m),h=a(28),f=(a.n(h),a(27)),_=a.n(f),w=a(1),y=a.n(w),b=a(12),v=a(23),E=a(57),C=a(29),T=a.n(C),x=a(25),S=a(32),k=a(51),O=a(3),A=a.n(O),D=a(1143),Q=a.n(D),N=a(16),I=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var a=arguments[t];for(var n in a)Object.prototype.hasOwnProperty.call(a,n)&&(e[n]=a[n])}return e},L=function(){function e(e,t){for(var a=0;a<t.length;a++){var n=t[a];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}return function(t,a,n){return a&&e(t.prototype,a),n&&e(t,n),t}}(),M=(_.a.Item,g.a.Option,(l=a.i(b.b)(function(e){return{dispatch:e.dispatch,login:e.login}}))(s=function(e){function t(e){o(this,t);var n=i(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return n.queryWechat=function(){var e=n.props.login.casdata;T.a.get(N.a.CAS+"/weChat/CreateQRcode",{params:{username:e.userName,businessType:"loginBind",platformType:"wx"}}).then(function(e){"200"==e.status&&e.data&&n.setState({wechatCode:I({},n.state.wechatCode,e.data,{isWeChatCode:!1})},function(){n.changeWXQrTimeOut&&(clearTimeout(n.changeWXQrTimeOut),n.changeWXQrTimeOut=null),n.wxQrTimeout&&(clearTimeout(n.wxQrTimeout),n.wxQrTimeout=null,n.handleWXCode())})})},n.handleChangeWXQr=function(){n.state.wechatCode.refresh&&n.setState({wechatCode:I({},n.state.wechatCode,{refresh:!1})},function(){n.queryWechat(""),n.changeWXQrTimeOut&&(clearTimeout(n.changeWXQrTimeOut),n.changeWXQrTimeOut=null)}),n.changeWXQrTimeOut=setTimeout(function(){n.state.wechatCode.stop||n.state.wechatCode.refresh||n.setState({wechatCode:I({},n.state.wechatCode,{refresh:!0})})},3e5)},n.checkScanWXQr=function(e){var t=n.props.login.casdata,o=t.passWord;n.wxQrTimeout=setTimeout(function(){a.i(x.b)(N.a.CAS+"/weChat/wx/CheckScan",{state:e}).then(function(i){var r=i.meta,l=i.data;if(r.success){var s=a(5),c=window.location.search;c=c.substring(c.indexOf("?")+1);var u=s.parse(c);l.service;u&&u.service&&u.service,l?(n.wxQrTimeout&&(clearTimeout(n.wxQrTimeout),n.wxQrTimeout=null),n.changeWXQrTimeOut&&(clearTimeout(n.changeWXQrTimeOut),n.changeWXQrTimeOut=null),n.props.dispatch(a.i(v.c)(t.userName,o,t.service,t.type,n.props.history,t.rememberMe,t.change))):n.state.wechatCode.stop||n.state.wechatCode.refresh?(n.wxQrTimeout&&(clearTimeout(n.wxQrTimeout),n.wxQrTimeout=null),n.changeWXQrTimeOut&&(clearTimeout(n.changeWXQrTimeOut),n.changeWXQrTimeOut=null)):n.checkScanWXQr(e)}else n.state.wechatCode.stop||n.state.wechatCode.refresh?(n.wxQrTimeout&&(clearTimeout(n.wxQrTimeout),n.wxQrTimeout=null),n.changeWXQrTimeOut&&(clearTimeout(n.changeWXQrTimeOut),n.changeWXQrTimeOut=null)):n.checkScanWXQr(e)}
1)},1e3)},n.handleWXCode=function(){n.setState({loginType:3,wechatCode:I({},n.state.wechatCode,{stop:!1}),appCode:I({},n.state.appCode,{stop:!0})},function(){n.wxQrTimeout||n.checkScanWXQr(n.state.wechatCode.uuid),n.handleChangeWXQr()})},n.handleRefreshWXQrClick=function(){n.props.login;n.state.wechatCode.refresh&&n.setState({wechatCode:I({},n.state.wechatCode,{refresh:!1})},function(){n.queryWechat(""),n.checkScanWXQr()})},n.resize=function(){n.setState({windowW:a.i(S.c)().windowW})},n.handleSubmit=function(e){e.preventDefault()},n.state={windowW:a.i(S.c)().windowW,type:1,sending:!1,wechatCode:{isWeChatCode:!0,stop:!1,refresh:!1}},n}return r(t,e),L(t,[{key:"componentWillUpdate",value:function(e,t){}},{key:"componentWillReceiveProps",value:function(e){document.getElementsByTagName("title")[0].innerText=e.login.loginData.casTitle?e.login.loginData.casTitle:window.locale[this.props.login.locale].login_pageInfo_4}},{key:"componentWillMount",value:function(){window.addEventListener("resize",this.resize,!1),this.queryWechat(),this.handleWXCode()}},{key:"componentWillUnmount",value:function(){window.removeEventListener("resize",this.resize)}},{key:"render",value:function(){var e=this.state,t=e.windowW,a=e.wechatCode,o=t<=980;return y.a.createElement("div",{className:A()(Q.a.login_first,n({},Q.a.mobile,o))},y.a.createElement(d.a,{className:Q.a.page_top}),y.a.createElement("div",{className:Q.a.container},y.a.createElement("div",{className:Q.a.content},y.a.createElement("div",{className:Q.a.main},y.a.createElement("div",{className:Q.a.tip},window.locale[this.props.login.locale].bind_WeChat_tip1),y.a.createElement("div",{className:Q.a.qr_box},y.a.createElement(k.a,null,y.a.createElement("div",{key:"D",className:Q.a.qr_img_box},y.a.createElement("img",{alt:"logo",src:a.content}),y.a.createElement("div",{className:Q.a.center},y.a.createElement("span",null,window.locale[this.props.login.locale].bind_WeChat_tip2)),y.a.createElement("div",{className:Q.a.qrMask+" "+(a.refresh?"":Q.a.qrMaskHide)},y.a.createElement("span",{className:Q.a.link_span},window.locale[this.props.login.locale].QR_code_invalid),y.a.createElement("a",{href:"javascript:void(0)",onClick:this.handleRefreshWXQrClick,className:Q.a.link_refresh},window.locale[this.props.login.locale].click_refresh)))))))),y.a.createElement("div",{className:Q.a.footer},y.a.createElement(E.a,{content:this.props.login.loginData.casfoot?this.props.login.loginData.casfoot:""})))}}]),t}(y.a.Component))||s),P=_.a.create()(M);t.a=P},589:function(e,t,a){"use strict";function n(e,t,a){return t in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a,e}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function r(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var l,s,c,u=a(22),d=(a.n(u),a(21)),p=a.n(d),m=a(45),g=(a.n(m),a(44)),h=a.n(g),f=a(48),_=(a.n(f),a(47)),w=a.n(_),y=a(41),b=(a.n(y),a(40)),v=a.n(b),E=a(37),C=(a.n(E),a(36)),T=a.n(C),x=a(28),S=(a.n(x),a(27)),k=a.n(S),O=a(1),A=a.n(O),D=a(3),Q=a.n(D),N=a(12),I=a(57),L=a(32),M=a(31),P=a(25),W=a(23),q=a(269),U=a.n(q),R=a(16),B=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var a=arguments[t];for(var n in a)Object.prototype.hasOwnProperty.call(a,n)&&(e[n]=a[n])}return e},F=function(){function e(e,t){for(var a=0;a<t.length;a++){var n=t[a];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}return function(t,a,n){return a&&e(t.prototype,a),n&&e(t,n),t}}(),K=k.a.Item,j=(l=k.a.create(),s=a.i(N.b)(function(e){return{dispatch:e.dispatch,login:e.login}}),l(c=s(c=function(e){function t(e){o(this,t);var n=i(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return n.resize=function(){n.setState({windowW:a.i(L.c)().windowW})},n.encodePass=function(e){a.i(M.a)(131);var t=a.i(M.b)(R.a.public_exponent,"",R.a.modulus);return a.i(M.c)(t,e)},n.handleBindWeiBo=function(){var e=n.state.loginData;n.props.form.validateFieldsAndScroll(function(t,o){if(!t){var i=n.encodePass(o.password),r={uid:e.userName,username:o.username,password:i};a.i(P.b)(R.a.CAS+"/weibo/weiboBind",r).then(function(e){var t=e.meta,o=e.data;if(t.success)if(o){if("1"==o.type){var i=a(5),r=window.location.search;r=r.substring(r.indexOf("?")+1);var l=i.parse(r),s=o.service;l&&l.service&&(s=l.service),n.props.dispatch(a.i(W.c)(o.userName,o.passWord,s,"12",n.props.history))}}else T.a.error({title:window.locale[n.props.login.locale].WeiBo_bind,content:t.message});else T.a.error({title:window.locale[n.props.login.locale].WeiBo_bind,content:t.message})})}})},n.state={windowW:a.i(L.c)().windowW,loginData:{},firstBindWeiBo:!1},n}
1return r(t,e),F(t,[{key:"componentWillMount",value:function(){var e=this,t=a(5),n=window.location.search;n=n.substring(n.indexOf("?")+1);var o=t.parse(n);o.code?a.i(P.b)(R.a.CAS+"/weibo/login",{code:o.code,state:""}).then(function(t){var n=t.meta,o=t.data;if(n.success&&o)if("0"==o.type)e.setState({loginData:o,firstBindWeiBo:!0});else if("1"==o.type){var i=a(5),r=window.location.search;r=r.substring(r.indexOf("?")+1);var l=i.parse(r),s=o.service;l&&l.service&&(s=l.service),e.props.dispatch(a.i(W.c)(o.userName,o.passWord,s,"12",e.props.history))}}):this.props.history.push(R.a.CAS+"/login")}},{key:"componentWillUpdate",value:function(e,t){document.getElementsByTagName("title")[0].innerText=e.login.loginData.casTitle?e.login.loginData.casTitle:window.locale[this.props.login.locale].login_pageInfo_4}},{key:"componentDidMount",value:function(){window.addEventListener("resize",this.resize,!1)}},{key:"componentWillUnmount",value:function(){window.removeEventListener("resize",this.resize)}},{key:"render",value:function(){var e=this.state,t=e.windowW,a=e.loginData,o=e.firstBindWeiBo,i=this.props.form.getFieldDecorator,r={labelCol:{span:8},wrapperCol:{span:16}},l={wrapperCol:{span:16,offset:8}},s=t<=980,c=!a.type||"0"==a.type;return A.a.createElement(O.Fragment,null,c&&o?A.a.createElement("div",{className:Q()(U.a.login_first,n({},U.a.mobile,s))},s?null:A.a.createElement(v.a,{className:U.a.page_top}),A.a.createElement("div",{className:U.a.container},A.a.createElement("div",{className:U.a.content},s?A.a.createElement("div",{className:U.a.page_m_top}):null,A.a.createElement("div",{className:U.a.main},A.a.createElement("div",{className:U.a.tip},window.locale[this.props.login.locale].bind_WeiBo_tip1),A.a.createElement("div",{className:U.a.box},A.a.createElement(v.a,null,s?null:A.a.createElement(w.a,{span:6},A.a.createElement("div",{className:U.a.page_img_box},A.a.createElement("div",{className:U.a.page_img_a}))),A.a.createElement(w.a,{span:s?24:18},A.a.createElement(k.a,null,A.a.createElement(K,B({},r,{label:window.locale[this.props.login.locale].bind_QQ_tip2}),i("username")(A.a.createElement(h.a,null))),A.a.createElement(K,B({},r,{label:window.locale[this.props.login.locale].bind_QQ_tip3}),i("password")(A.a.createElement(h.a,{type:"password"}))),A.a.createElement(K,l,A.a.createElement(p.a,{className:U.a.submit,onClick:this.handleBindWeiBo},window.locale[this.props.login.locale].save)))))),s?null:A.a.createElement("div",{className:U.a.footer},A.a.createElement(I.a,{content:this.props.login.loginData.casfoot?this.props.login.loginData.casfoot:""}))))),s?A.a.createElement("div",{className:U.a.footer},A.a.createElement(I.a,{content:this.props.login.loginData.casfoot?this.props.login.loginData.casfoot.value:""})):null):null)}}]),t}(A.a.Component))||c)||c),z=k.a.create()(j);t.a=z},590:function(e,t,a){"use strict";function n(e,t,a){return t in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a,e}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function r(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var l,s,c,u=a(22),d=(a.n(u),a(21)),p=a.n(d),m=a(45),g=(a.n(m),a(44)),h=a.n(g),f=a(48),_=(a.n(f),a(47)),w=a.n(_),y=a(41),b=(a.n(y),a(40)),v=a.n(b),E=a(37),C=(a.n(E),a(36)),T=a.n(C),x=a(28),S=(a.n(x),a(27)),k=a.n(S),O=a(1),A=a.n(O),D=a(3),Q=a.n(D),N=a(12),I=a(57),L=a(32),M=a(31),P=a(25),W=a(23),q=a(269),U=a.n(q),R=a(16),B=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var a=arguments[t];for(var n in a)Object.prototype.hasOwnProperty.call(a,n)&&(e[n]=a[n])}return e},F=function(){function e(e,t){for(var a=0;a<t.length;a++){var n=t[a];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}return function(t,a,n){return a&&e(t.prototype,a),n&&e(t,n),t}}(),K=k.a.Item,j=(l=k.a.create(),s=a.i(N.b)(function(e){return{dispatch:e.dispatch,login:e.login}}),l(c=s(c=function(e){function t(e){o(this,t);var n=i(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return n.resize=function(){n.setState({windowW:a.i(L.c)().windowW})},n.encodePass=function(e){a.i(M.a)(131);var t=a.i(M.b)(R.a.public_exponent,"",R.a.modulus);return a.i(M.c)(t,e)},n.handleBindQQ=function(){var e=n.state.loginData;n.props.form.validateFieldsAndScroll(function(t,o){if(!t){var i=n.encodePass(o.password),r={openId:e.userName,username:o.username,password:i};a.i(P.b)(R.a.CAS+"/qq/qqBind",r).then(function(e){var t=e.meta,o=e.data;if(t.success)if(o){if("1"==o.type){var i=a(5),r=window.location.search;r=r.substring(r.indexOf("?")+1);var l=i.parse(r),s=o.service;l&&l.service&&(s=l.service),n.props.dispatch(a.i(W.c)(o.userName,o.passWord,s,"8",n.props.history))}}else T.a.error({title:window.locale[n.props.login.locale].QQ_bind,content:t.message});else T.a.error({title:window.locale[n.props.login.locale].QQ_bind,content:t.message})})}})},n.state={windowW:a.i(L.c)().windowW,loginData:{},firstBindQQ:!1},n}
1return r(t,e),F(t,[{key:"componentWillMount",value:function(){var e=this,t=a(5),n=window.location.href;n=n.substring(n.indexOf("?")+1);var o=t.parse(n);o.code?a.i(P.b)(R.a.CAS+"/qq/login",{code:o.code,state:""}).then(function(t){var n=t.meta,i=t.data;if(n.success&&i)if("0"==i.type)e.setState({loginData:i,firstBindQQ:!0});else if("1"==i.type){var r=a(5),l=window.location.href;l=l.substring(l.indexOf("?")+1);var s=r.parse(l),c=i.service;s&&s.service&&(c=s.service),c.indexOf("loginBindqq")>0&&(c=c+"&code="+o.code+"&userName="+i.userName),e.props.dispatch(a.i(W.c)(i.userName,i.passWord,c,"8",e.props.history))}}):this.props.history.push(R.a.CAS+"/login")}},{key:"componentWillUpdate",value:function(e,t){document.getElementsByTagName("title")[0].innerText=e.login.loginData.casTitle?e.login.loginData.casTitle:window.locale[this.props.login.locale].login_pageInfo_4}},{key:"componentDidMount",value:function(){window.addEventListener("resize",this.resize,!1)}},{key:"componentWillUnmount",value:function(){window.removeEventListener("resize",this.resize)}},{key:"render",value:function(){var e=this.state,t=e.windowW,a=e.loginData,o=e.firstBindQQ,i=this.props.form.getFieldDecorator,r={labelCol:{span:8},wrapperCol:{span:16}},l={wrapperCol:{span:16,offset:8}},s=t<=980,c=!a.type||"0"==a.type;return A.a.createElement(O.Fragment,null,c&&o?A.a.createElement("div",{className:Q()(U.a.login_first,n({},U.a.mobile,s))},s?null:A.a.createElement(v.a,{className:U.a.page_top}),A.a.createElement("div",{className:U.a.container},A.a.createElement("div",{className:U.a.content},s?A.a.createElement("div",{className:U.a.page_m_top}):null,A.a.createElement("div",{className:U.a.main},A.a.createElement("div",{className:U.a.tip},window.locale[this.props.login.locale].bind_QQ_tip1),A.a.createElement("div",{className:U.a.box},A.a.createElement(v.a,null,s?null:A.a.createElement(w.a,{span:6},A.a.createElement("div",{className:U.a.page_img_box},A.a.createElement("div",{className:U.a.page_img_a}))),A.a.createElement(w.a,{span:s?24:18},A.a.createElement(k.a,null,A.a.createElement(K,B({},r,{label:window.locale[this.props.login.locale].bind_QQ_tip2}),i("username")(A.a.createElement(h.a,null))),A.a.createElement(K,B({},r,{label:window.locale[this.props.login.locale].bind_QQ_tip3}),i("password")(A.a.createElement(h.a,{type:"password"}))),A.a.createElement(K,l,A.a.createElement(p.a,{className:U.a.submit,onClick:this.handleBindQQ},window.locale[this.props.login.locale].save)))))),s?null:A.a.createElement("div",{className:U.a.footer},A.a.createElement(I.a,{content:this.props.login.loginData.casfoot?this.props.login.loginData.casfoot:""}))))),s?A.a.createElement("div",{className:U.a.footer},A.a.createElement(I.a,{content:this.props.login.loginData.casfoot?this.props.login.loginData.casfoot.value:""})):null):null)}}]),t}(A.a.Component))||c)||c),z=k.a.create()(j);t.a=z},591:function(e,t,a){"use strict";function n(e,t,a){return t in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a,e}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function r(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var l,s,c,u,d,p=a(37),m=(a.n(p),a(36)),g=a.n(m),h=a(22),f=(a.n(h),a(21)),_=a.n(f),w=a(45),y=(a.n(w),a(44)),b=a.n(y),v=a(48),E=(a.n(v),a(47)),C=a.n(E),T=a(41),x=(a.n(T),a(40)),S=a.n(x),k=a(121),O=(a.n(k),a(96)),A=a.n(O),D=a(28),Q=(a.n(D),a(27)),N=a.n(Q),I=a(1),L=a.n(I),M=a(3),P=a.n(M),W=a(12),q=a(23),U=a(31),R=a(57),B=a(29),F=a.n(B),K=(a(25),a(32)),j=a(1144),z=a.n(j),X=a(16),H=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var a=arguments[t];for(var n in a)Object.prototype.hasOwnProperty.call(a,n)&&(e[n]=a[n])}return e},V=function(){function e(e,t){for(var a=0;a<t.length;a++){var n=t[a];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}return function(t,a,n){return a&&e(t.prototype,a),n&&e(t,n),t}}(),G=N.a.Item,J=A.a.Option,Y=(l=a.i(W.b)(function(e){return{dispatch:e.dispatch,login:e.login}}))((u=c=function(e){function t(e){o(this,t);var n=i(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return d.call(n),n.state={windowW:a.i(K.c)().windowW,type:1,sending:!1},n}
1return r(t,e),V(t,[{key:"componentWillUpdate",value:function(e,t){}},{key:"componentWillReceiveProps",value:function(e){this.queryType(e),document.getElementsByTagName("title")[0].innerText=e.login.loginData.casTitle?e.login.loginData.casTitle:window.locale[this.props.login.locale].login_pageInfo_4}},{key:"componentWillMount",value:function(){window.addEventListener("resize",this.resize,!1),this.queryType()}},{key:"componentWillUnmount",value:function(){window.removeEventListener("resize",this.resize)}},{key:"render",value:function(){var e=this.state,t=e.windowW,a=e.type,o=e.sending,i=e.count,r=this.props.form,l=r.getFieldDecorator,s=r.getFieldValue,c=this.props.login,u=t<=980,d={};c.casdata&&(d=c.casdata);var p={labelCol:{span:8},wrapperCol:{span:16}},m={wrapperCol:{span:16,offset:u?"unset":8}},g=s("question"),h=d.userName,f=d.name,w=window.locale[this.props.login.locale].login_check_tip1+""+(f||h)+window.locale[this.props.login.locale].login_check_tip2;return 2==a?w=window.locale[this.props.login.locale].login_check_tip3+""+(f||h)+window.locale[this.props.login.locale].login_check_tip4:3==a&&(w=window.locale[this.props.login.locale].login_check_tip5+""+(f||h)+window.locale[this.props.login.locale].login_check_tip6),L.a.createElement("div",{className:P()(z.a.login_first,n({},z.a.mobile,u))},u?null:L.a.createElement(S.a,{className:z.a.page_top}),L.a.createElement("div",{className:z.a.container},L.a.createElement("div",{className:z.a.content},u?L.a.createElement("div",{className:z.a.page_m_top}):null,L.a.createElement("div",{className:z.a.main},L.a.createElement("div",{className:z.a.tip},w),L.a.createElement("div",{className:z.a.box},L.a.createElement(S.a,null,u?null:L.a.createElement(C.a,{span:6},L.a.createElement("div",{className:z.a.page_img_box},L.a.createElement("div",{className:z.a.page_img_a}))),L.a.createElement(C.a,{span:u?24:18},1==a?L.a.createElement(N.a,{onSubmit:this.handleSubmit},L.a.createElement(G,H({},p,{label:window.locale[this.props.login.locale].encrypted_question}),l("question",{rules:[{required:!0,message:window.locale[this.props.login.locale].select_encrypted_question}]})(L.a.createElement(A.a,null,L.a.createElement(J,{value:"æ¨ç第ä¸ä½èå¸å«ä»ä¹"},window.locale[this.props.login.locale].first_teacher),L.a.createElement(J,{value:"æ¨çå¾ä¹¦å¡å·ç æ¯ä»ä¹"},window.locale[this.props.login.locale].library_card_number),L.a.createElement(J,{value:"æ¨å¸¸ç¨çQQå·ç æ¯å¤å°"},window.locale[this.props.login.locale].common_QQ),L.a.createElement(J,{value:"æ¨ç第ä¸ä¸ªçµè¯å·ç æ¯å¤å°"},window.locale[this.props.login.locale].first_phone),L.a.createElement(J,{value:"æ¨çå¹¸è¿æ°åæ¯å¤å°"},window.locale[this.props.login.locale].luck_number),L.a.createElement(J,{value:"0"},window.locale[this.props.login.locale].custom_question)))),0==g?L.a.createElement(G,H({},p,{label:window.locale[this.props.login.locale].custom_question}),l("custom",{rules:[{required:!0,message:window.locale[this.props.login.locale].custom_question_not_empty}]})(L.a.createElement(b.a,null))):null,L.a.createElement(G,H({},p,{label:window.locale[this.props.login.locale].question_answer}),l("answer",{rules:[{required:!0,message:window.locale[this.props.login.locale].question_answer_not_empty},{min:2,message:"é¿åº¦ä¸º2-50"},{max:50,message:"é¿åº¦ä¸º2-50"}]})(L.a.createElement(b.a,null))),L.a.createElement(G,H({},m,{style:u?{marginLeft:"unset",textAlign:"center"}:{}}),L.a.createElement(_.a,{className:z.a.submit,htmlType:"submit"},window.locale[this.props.login.locale].save))):null,2==a?L.a.createElement(N.a,{onSubmit:this.handleSubmit},L.a.createElement(G,H({},p,{label:window.locale[this.props.login.locale].phone}),l("mobile",{rules:[{required:!0,message:window.locale[this.props.login.locale].enter_phone},{pattern:/^1[3457896]([0-9]{9})$/,message:window.locale[this.props.login.locale].phone_format_error}]})(L.a.createElement(b.a,null))),L.a.createElement(G,H({},p,{label:window.locale[this.props.login.locale].security_code}),L.a.createElement(S.a,null,L.a.createElement(C.a,{span:14},l("code",{rules:[{required:!0,message:window.locale[this.props.login.locale].enter_security_code}]})(L.a.createElement(b.a,null))),L.a.createElement(C.a,{span:8,offset:2},L.a.createElement(_.a,{disabled:o,className:z.a.send,onClick:this.onSendCode},o?i:window.locale[this.props.login.locale].send_security_code)))),L.a.createElement(G,m,L.a.createElement(_.a,{className:z.a.submit,htmlType:"submit"},window.locale[this.props.login.locale].check))):null,3==a?L.a.createElement(N.a,{onSubmit:this.handleSubmit},L.a.createElement(G,H({},p,{label:window.locale[this.props.login.locale].email}),l("email",{rules:[{required:!0,message:window.locale[this.props.login.locale].enter_email},{pattern:/\w+([-+.]\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*/,message:window.locale[this.props.login.locale].email_format_error}]})(L.a.createElement(b.a,null))),L.a.createElement(G,H({},p,{label:window.locale[this.props.login.locale].security_code}),L.a.createElement(S.a,null,L.a.createElement(C.a,{span:14},l("emailCode",{rules:[{required:!0,message:window.locale[this.props.login.locale].enter_security_code}]})(L.a.createElement(b.a,null))),L.a.createElement(C.a,{span:8,offset:2},L.a.createElement(_.a,{disabled:o,className:z.a.send,onClick:this.onSendCode},o?i:window.locale[this.props.login.locale].send_security_code)))),L.a.createElement(G,H({},m,{offset:u?0:8,style:u?{marginLeft:"unset",textAlign:"center"}:{}}),L.a.createElement(_.a,{className:z.a.submit,htmlType:"submit"},window.locale[this.props.login.locale].check))):null))),u?null:L.a.createElement("div",{className:z.a.footer},L.a.createElement(R.a,{content:this.props.login.loginData.casfoot?this.props.login.loginData.casfoot:""}))))))}}]),t}(L.a.Component),d=function(){var e=this;this.resize=function(){e.setState({windowW:a.i(K.c)().windowW})},this.encodePass=function(e){a.i(U.a)(131);var t=a.i(U.b)(X.a.public_exponent,"",X.a.modulus);return a.i(U.c)(t,e)},this.onSendCode=function(){if(!e.state.sending){var t=e.state.type,a=e.props.login.casdata;e.props.form.validateFields(["mobile","email"],{force:!0},function(n,o){if(!n){e.setState({sending:!0});var i="",r={},l="1";"2"==t?(l=e.props.login.loginData.smsSendTime,i=X.a.CAS+"/login/mobile/generateCode",r={mobile:o.mobile,username:a.userName,module:"1"}):"3"==t&&(l=e.props.login.loginData.emailSendTime,i=X.a.CAS+"/login/email/generateCode",r={email:o.email,username:a.userName,module:"1"}),l=60*parseInt(l),e.setState({count:l}),e.timer=setInterval(function(){e.setState({count:l--},function(){0===e.state.count&&(clearInterval(e.timer),e.timer=null,e.setState({sending:!1}))})},1e3);var s=(new Date).getTime(),c=e.encodePass(X.a.TAG+s);F.a.post(i,r,{headers:{token:c,vcodes:a.vcodes}}).then(function(a){var n=a.data,o=n.meta,i=n.data;o.success?i&&("2"==t?g.a.success({title:window.locale[e.props.login.locale].warn,content:window.locale[e.props.login.locale].send_sms_code_success}):"3"==t&&g.a.success({title:window.locale[e.props.login.locale].warn,content:window.locale[e.props.login.locale].send_email_code_success})):(e.timer&&(clearInterval(e.timer),e.timer=null),e.setState({sending:!1}),"2"==t?g.a.error({title:window.locale[e.props.login.locale].warn,content:window.locale[e.props.login.locale].send_sms_code_fail}):"3"==t&&g.a.error({title:window.locale[e.props.login.locale].warn,content:window.locale[e.props.login.locale].send_email_code_fail}))})}})}},this.handleSubmit=function(t){t.preventDefault();var n=e.state.type,o=e.props.login.casdata,i=o.passWord,r=(new Date).getTime(),l=e.encodePass(X.a.TAG+r);"1"==n?e.props.form.validateFields(["question","custom","answer"],{force:!0},function(t,n){if(!t){var r=n.question;n.custom&&(r=n.custom),F.a.post(X.a.CAS+"/login/question/update",{question:r,answer:n.answer,username:o.userName,loginType:o.type},{headers:{token:l,vcodes:o.vcodes}}).then(function(t){var n=t.data,r=n.meta,l=n.data;r.success&&l.flag?(o.type&&(i=l.encode),e.props.dispatch(a.i(q.c)(o.userName,i,o.service,o.type,e.props.history,o.rememberMe,o.change))):g.a.error({title:window.locale[e.props.login.locale].encrypted_bind,content:window.locale[e.props.login.locale].encrypted_bind_fail})})}}):"2"==n?e.props.form.validateFields(["mobile","code"],{force:!0},function(t,n){t||F.a.post(X.a.CAS+"/login/mobile/validate",{mobile:n.mobile,code:n.code,username:o.userName,loginType:o.type},{headers:{token:l,vcodes:o.vcodes}}).then(function(t){var n=t.data,r=n.meta,l=n.data;r.success?l.flag?(o.type&&(i=l.encode),e.timer&&(clearInterval(e.timer),e.timer=null),e.setState({sending:!1,count:60}),e.props.dispatch(a.i(q.c)(o.userName,i,o.service,o.type,e.props.history,o.rememberMe,o.change))):g.a.error({title:window.locale[e.props.login.locale].phone_bind,content:window.locale[e.props.login.locale].phone_bind_fail}):g.a.error({title:window.locale[e.props.login.locale].phone_bind,content:r.message})})}):"3"==n&&e.props.form.validateFields(["email","emailCode"],{force:!0},function(t,n){t||F.a.post(X.a.CAS+"/login/email/validate",{email:n.email,code:n.emailCode,username:o.userName,loginType:o.type},{headers:{token:l,vcodes:o.vcodes}}).then(function(t){var n=t.data,r=n.meta,l=n.data;r.success?l.flag?(o.type&&(i=l.encode),e.timer&&(clearInterval(e.timer),e.timer=null),e.setState({sending:!1,count:60}),e.props.dispatch(a.i(q.c)(o.userName,i,o.service,o.type,e.props.history,o.rememberMe,o.change))):g.a.error({title:window.locale[e.props.login.locale].email_bind,content:window.locale[e.props.login.locale].email_bind_fail}):g.a.error({title:window.locale[e.props.login.locale].email_bind,content:r.message})})})},this.handleRedirectLogin=function(t){var a=e.props.login.loginData;a&&("0"==a.isFristBindPhone&&"2"==t||"0"==a.isFristBindEmail&&"3"==t||"0"==a.isFristBindQus&&"1"==t)&&e.props.history.push(X.a.CAS+"/login")},this.queryType=function(t){var a=t;t||(a=e.props);var n=a.login.casdata;if(!n)return void e.props.history.push(X.a.CAS+"/login");n.checkType?e.setState({type:n.checkType},function(){e.handleRedirectLogin(n.checkType)}):e.props.history.push(X.a.CAS+"/login")}},s=u))||s,Z=N.a.create()(Y);t.a=Z},592:function(e,t,a){"use strict";function n(e,t,a){return t in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a,e}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function r(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}a.d(t,"a",function(){return x});var l,s,c=a(48),u=(a.n(c),a(47)),d=a.n(u),p=a(41),m=(a.n(p),a(40)),g=a.n(m),h=a(1),f=a.n(h),_=a(3),w=a.n(_),y=a(12),b=a(57),v=a(32),E=a(395),C=a.n(E),T=function(){function e(e,t){for(var a=0;a<t.length;a++){var n=t[a];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}return function(t,a,n){return a&&e(t.prototype,a),n&&e(t,n),t}}(),x=(l=a.i(y.b)(function(e){return{dispatch:e.dispatch,login:e.login}}))(s=function(e){function t(e){o(this,t);var n=i(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return n.resize=function(){n.setState({windowW:a.i(v.c)().windowW})},n.state={windowW:a.i(v.c)().windowW},n}
1return r(t,e),T(t,[{key:"componentWillReceiveProps",value:function(e){document.getElementsByTagName("title")[0].innerText=e.login.loginData.casTitle?e.login.loginData.casTitle:window.locale[this.props.login.locale].login_pageInfo_4}},{key:"componentDidMount",value:function(){if(window.addEventListener("resize",this.resize,!1),sessionStorage.getItem("unAuthorizeInfo")){var e=JSON.parse(sessionStorage.getItem("unAuthorizeInfo"));this.setState({unAuthorizeInfo:e})}}},{key:"componentWillUnmount",value:function(){window.removeEventListener("resize",this.resize)}},{key:"render",value:function(){var e=this.state,t=e.windowW,a=e.unAuthorizeInfo,o=t<=980;return f.a.createElement("div",{className:w()(C.a.login_error,n({},C.a.mobile,o))},o?null:f.a.createElement(g.a,{className:C.a.page_top}),f.a.createElement("div",{className:C.a.container},o?f.a.createElement("div",{className:C.a.page_m_top}):null,f.a.createElement("div",{className:C.a.main},f.a.createElement("div",{className:C.a.box},f.a.createElement(g.a,null,o?null:f.a.createElement(d.a,{span:12},f.a.createElement("div",{className:C.a.page_img_box},f.a.createElement("div",{className:C.a.page_img_a}))),f.a.createElement(d.a,{span:o?24:12},f.a.createElement("div",{className:C.a.title},a&&a.unAuthorizeType&&"1"==a.unAuthorizeType?window.locale[this.props.login.locale].login_unAuthorize_tip1:null,a&&a.unAuthorizeType&&"2"==a.unAuthorizeType?window.locale[this.props.login.locale].login_unAuthorize_tip2:null),f.a.createElement("div",{className:C.a.tip1},a&&a.unAuthorizeUrl?a.unAuthorizeUrl:""),f.a.createElement("div",{className:C.a.p},a&&a.unAuthorizeType&&"1"==a.unAuthorizeType?window.locale[this.props.login.locale].login_unAuthorize_tip3:null,a&&a.unAuthorizeType&&"2"==a.unAuthorizeType?a.unAuthorizeName+","+window.locale[this.props.login.locale].login_unAuthorize_tip4:null),f.a.createElement("div",{className:C.a.p},window.locale[this.props.login.locale].login_unAuthorize_tip5),f.a.createElement("div",{className:C.a.tip},window.locale[this.props.login.locale].login_unAuthorize_tip6),f.a.createElement("div",{className:C.a.p},window.locale[this.props.login.locale].login_unAuthorize_tip7,f.a.createElement("a",{href:"/"},window.locale[this.props.login.locale].login_unAuthorize_tip8),"ã")))))),f.a.createElement("div",{className:C.a.footer},f.a.createElement(b.a,{content:this.props.login.loginData.casfoot?this.props.login.loginData.casfoot:""})))}}]),t}(f.a.Component))||s},593:function(e,t,a){"use strict";function n(e,t,a){return t in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a,e}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function r(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}a.d(t,"a",function(){return x});var l,s,c=a(48),u=(a.n(c),a(47)),d=a.n(u),p=a(41),m=(a.n(p),a(40)),g=a.n(m),h=a(1),f=a.n(h),_=a(3),w=a.n(_),y=a(12),b=a(57),v=a(32),E=a(395),C=a.n(E),T=function(){function e(e,t){for(var a=0;a<t.length;a++){var n=t[a];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}return function(t,a,n){return a&&e(t.prototype,a),n&&e(t,n),t}}(),x=(l=a.i(y.b)(function(e){return{dispatch:e.dispatch,login:e.login}}))(s=function(e){function t(e){o(this,t);var n=i(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return n.resize=function(){n.setState({windowW:a.i(v.c)().windowW})},n.state={windowW:a.i(v.c)().windowW},n}return r(t,e),T(t,[{key:"componentWillReceiveProps",value:function(e){document.getElementsByTagName("title")[0].innerText=e.login.loginData.casTitle?e.login.loginData.casTitle:window.locale[this.props.login.locale].login_pageInfo_4}},{key:"componentDidMount",value:function(){window.addEventListener("resize",this.resize,!1)}},{key:"componentWillUnmount",value:function(){window.removeEventListener("resize",this.resize)}},{key:"render",value:function(){var e=this.state.windowW,t=e<=980;return f.a.createElement("div",{className:w()(C.a.login_error,n({},C.a.mobile,t))},t?null:f.a.createElement(g.a,{className:C.a.page_top}),f.a.createElement("div",{className:C.a.container},t?f.a.createElement("div",{className:C.a.page_m_top}):null,f.a.createElement("div",{className:C.a.main},f.a.createElement("div",{className:C.a.box},f.a.createElement(g.a,null,t?null:f.a.createElement(d.a,{span:12},f.a.createElement("div",{className:C.a.page_img_box},f.a.createElement("div",{className:C.a.page_img_a}))),f.a.createElement(d.a,{span:t?24:12},f.a.createElement("div",{className:C.a.title},window.locale[this.props.login.locale].login_error_tip1),f.a.createElement("div",{className:C.a.tip},window.locale[this.props.login.locale].login_error_tip2),f.a.createElement("div",{className:C.a.p},window.locale[this.props.login.locale].login_error_tip3),f.a.createElement("div",{className:C.a.p},window.locale[this.props.login.locale].login_error_tip4),f.a.createElement("div",{className:C.a.p},window.locale[this.props.login.locale].login_error_tip5),f.a.createElement("div",{className:C.a.tip},window.locale[this.props.login.locale].login_error_tip6),f.a.createElement("div",{className:C.a.p},window.locale[this.props.login.locale].login_error_tip7)))))),f.a.createElement("div",{className:C.a.footer},f.a.createElement(b.a,{content:this.props.login.loginData.casfoot?this.props.login.loginData.casfoot:""})))}}]),t}(f.a.Component))||s},594:function(e,t,a){"use strict";function n(e,t,a){return t in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a,e}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function r(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}
1var l,s,c=a(22),u=(a.n(c),a(21)),d=a.n(u),p=a(45),m=(a.n(p),a(44)),g=a.n(m),h=a(48),f=(a.n(h),a(47)),_=a.n(f),w=a(41),y=(a.n(w),a(40)),b=a.n(y),v=a(37),E=(a.n(v),a(36)),C=a.n(E),T=a(53),x=(a.n(T),a(52)),S=a.n(x),k=a(56),O=(a.n(k),a(10)),A=a.n(O),D=a(28),Q=(a.n(D),a(27)),N=a.n(Q),I=a(1),L=a.n(I),M=a(29),P=a.n(M),W=a(3),q=a.n(W),U=a(12),R=a(23),B=a(57),F=a(25),K=a(32),j=a(31),z=a(1145),X=a.n(z),H=a(1470),V=a.n(H),G=a(16),J=a(336),Y=(a.n(J),Object.assign||function(e){for(var t=1;t<arguments.length;t++){var a=arguments[t];for(var n in a)Object.prototype.hasOwnProperty.call(a,n)&&(e[n]=a[n])}return e}),Z=function(){function e(e,t){for(var a=0;a<t.length;a++){var n=t[a];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}return function(t,a,n){return a&&e(t.prototype,a),n&&e(t,n),t}}(),$=N.a.Item,ee=window.location.pathname.indexOf("changePasswordRedirect")>0,te=window.location.pathname.indexOf("yiban")>0,ae=function(){return L.a.createElement(L.a.Fragment,null,L.a.createElement("div",{style:{display:"flex",flexDirection:"column",alignItems:"center",marginTop:"50px"}},L.a.createElement("div",null,L.a.createElement(A.a,{type:"info-circle",theme:"filled",style:{fontSize:"150px",color:"skyblue"}})),L.a.createElement("div",{style:{fontSize:"22px",fontWeight:700}},"请å¨å¾®ä¿¡å®¢æ·ç«¯æå¼é¾æ¥")))}
1,ne=(l=a.i(U.b)(function(e){return{dispatch:e.dispatch,login:e.login}}))(s=function(e){function t(e){o(this,t);var n=i(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return n.validateIp=function(){a.i(F.b)(G.a.CAS+"/validateIp").then(function(e){var t=e.meta,a=e.data;t.success?a||n.props.history.push("/loginError"):S.a.error(t.message)})},n.resize=function(){n.setState({windowW:a.i(K.c)().windowW})},n.encodePass=function(e){a.i(j.a)(131);var t=a.i(j.b)(G.a.public_exponent,"",G.a.modulus);return a.i(j.c)(t,e)},n.handle_FirstLogin_Submit=function(){var e=n.props.login.casdata;n.props.form.validateFieldsAndScroll(function(t,o){if(!t){var i=a.i(K.i)(o.confirm),r=n.encodePass(o.confirm),l=(new Date).getTime(),s=n.encodePass(G.a.TAG+l);P.a.post(G.a.CAS+"/login/initPass",{username:e.userName,password:r,level:i,loginType:e.type},{headers:{token:s,vcodes:e.vcodes}}).then(function(t){var i=t.data,r=i.meta,l=i.data;r.success?l.flag?e.type?n.props.dispatch(a.i(R.c)(e.userName,l.encode,e.service,e.type,n.props.history)):n.props.dispatch(a.i(R.c)(e.userName,o.confirm,e.service,e.type,n.props.history,e.rememberMe,e.change)):C.a.error({title:window.locale[n.props.login.locale].change_password,content:window.locale[n.props.login.locale].change_password_fail}):C.a.error({title:window.locale[n.props.login.locale].change_password,content:r.message})})}})},n.handle_wxChange_submit=function(){n.props.form.validateFieldsAndScroll(function(e,t){if(!e){var o=n.encodePass(t.confirm),i="/lyuapServer/wechatauz/changePasswordRedirect";te&&(i="/lyuapServer/custom/yibanChangePasswordRedirect"),a.i(F.b)(i,{pass:o}).then(function(e){var t=e.meta,a=e.data;t.success&&a?window.location.href=a:C.a.error({title:window.locale[n.props.login.locale].change_password,content:t.message})})}})},n.handleSubmit=function(e){e.preventDefault(),ee?n.handle_wxChange_submit():n.handle_FirstLogin_Submit()},n.validateToNextPassword=function(e,t,a){var o=n.props.form;t&&n.state.confirmDirty&&o.validateFields(["confirm"],{force:!0}),a()},n.compareToFirstPassword=function(e,t,a){var o=n.props.form;if(t&&t!==o.getFieldValue("password"))a("两次è¾å
¥çå¯ç ä¸ä¸è´!");
1else{var i=n.state,r=i.passMaxLen,l=i.passMinLen;i.passLetter,i.passNum,i.passSpecial;new RegExp("^.{"+l+","+r+"}$").test(t)||a(window.locale[n.props.login.locale].password_length_error1+l+window.locale[n.props.login.locale].password_length_error2+r+window.locale[n.props.login.locale].password_length_error3),/\s/.test(t)&&a(window.locale[n.props.login.locale].password_without_whitespace),a()}},n.handleConfirmBlur=function(e){var t=e.target.value;n.setState({confirmDirty:n.state.confirmDirty||!!t})},n.queryPWStrategy=function(){a.i(F.a)(G.a.CAS+"/login/pwStrategy").then(function(e){var t=e.meta,a=e.data;t.success?a&&n.setState({passMinLen:a.passMinLen,passMaxLen:a.passMaxLen,passNum:a.passNum,passLetter:a.passLetter,passUpperLetter:a.passUpperLetter,passLowerLetter:a.passLowerLetter,passSpecial:a.passSpecial}):n.setState({passMinLen:0,passMaxLen:0,passNum:0,passLetter:0,passLowerLetter:0,passUpperLetter:0,passSpecial:0})})},n.handleRedirectLogin=function(){var e=n.props.login.casdata;return e&&e&&"ISMODIFYPASS"==e.code?void 0:void n.props.history.push(G.a.CAS+"/login")},n.handleChangePassWord=function(e){var t=e.target.value,o=a.i(K.j)(t);n.setState({color:o})},n.handle_checkWXEnvironment=function(e){return-1!==navigator.userAgent.toLowerCase().indexOf("micromessenger")?(e(),!0):(n.setState({is_showWXError:!0}),!1)},n.handle_changePass_toUrl=function(){var e=window.location.search,t={};if(e.length>0){e.split("?")[1].split("&").map(function(e){-1!=e.indexOf("verify_request")?t.verify_request=e.split("=")[1]:-1!=e.indexOf("state")&&(t.state=e.split("=")[1])});var o="/lyuapServer/wechatauz/changePasswordByCode";te&&(o="/lyuapServer/custom/yibanChangePasswordByCode"),a.i(F.a)(o,t).then(function(e){var t=e.meta;e.data;if(!t.success)return S.a.error(t.message||window.locale[n.props.login.locale].change_password_fail);S.a.success(window.locale[n.props.login.locale].change_password_success),n.setState({isShowSuccess:!0})})}},n.state={windowW:a.i(K.c)().windowW,is_showWXError:!1,confirmDirty:!1,isShowSuccess:!1,password:"",passMinLen:"",passMaxLen:"",passNum:"",passLetter:"",passSpecial:"",color:{Lcolor:"#d9d9d9",Mcolor:"#d9d9d9",Hcolor:"#d9d9d9"}},n}
1return r(t,e),Z(t,[{key:"componentWillUpdate",value:function(e,t){document.getElementsByTagName("title")[0].innerText=e.login.loginData.casTitle?e.login.loginData.casTitle:window.locale[this.props.login.locale].login_pageInfo_4}},{key:"componentWillMount",value:function(){ee||te?ee&&!te?this.handle_checkWXEnvironment(this.handle_changePass_toUrl):this.handle_changePass_toUrl():this.handleRedirectLogin(),this.queryPWStrategy()}},{key:"componentDidMount",value:function(){window.addEventListener("resize",this.resize,!1)}},{key:"componentWillUnmount",value:function(){window.removeEventListener("resize",this.resize),this.setState=function(e,t){}}},{key:"render",value:function(){var e=this.state,t=e.is_showWXError,a=e.windowW,o=(e.color,e.passMinLen),i=e.passMaxLen,r=e.passNum,l=(e.passLetter,e.passLowerLetter),s=e.passUpperLetter,c=e.passSpecial,u=e.isShowSuccess,p=this.props.form.getFieldDecorator,m={labelCol:{span:8},wrapperCol:{span:16}},h=a<=980,f={wrapperCol:{span:16,offset:h?"unset":8}};return t?L.a.createElement(ae,null):L.a.createElement(L.a.Fragment,null,u&&L.a.createElement("div",{style:{marginTop:"200px",display:"flex",justifyContent:"center",alignItems:"center",flexDirection:"column"}},L.a.createElement("img",{src:V.a,style:{width:"30vw"}}),L.a.createElement("div",{style:{fontSize:"18px",fontWeight:700}},window.locale[this.props.login.locale].change_password_success)),!u&&L.a.createElement("div",{className:q()(X.a.login_first,n({},X.a.mobile,h))},h?null:L.a.createElement(b.a,{className:X.a.page_top}),L.a.createElement("div",{className:X.a.container},L.a.createElement("div",{className:X.a.content},h?L.a.createElement("div",{className:X.a.page_m_top}):null,L.a.createElement("div",{className:X.a.main},L.a.createElement("div",{className:X.a.tip},!ee&&L.a.createElement("p",null,window.locale[this.props.login.locale].first_login_tip1),L.a.createElement("b",null,window.locale[this.props.login.locale].first_login_tip2,o,"-",i,window.locale[this.props.login.locale].first_login_tip3,r,window.locale[this.props.login.locale].first_login_tipUpper,s,window.locale[this.props.login.locale].first_login_tipLower,l,window.locale[this.props.login.locale].first_login_tip5,c,window.locale[this.props.login.locale].first_login_tip6)),L.a.createElement("div",{className:X.a.box},L.a.createElement(b.a,null,h?null:L.a.createElement(_.a,{span:6},L.a.createElement("div",{className:X.a.page_img_box},L.a.createElement("div",{className:X.a.page_img_a}))),L.a.createElement(_.a,{span:h?24:18},L.a.createElement(N.a,{onSubmit:this.handleSubmit},L.a.createElement($,Y({},m,{label:window.locale[this.props.login.locale].new_pass}),L.a.createElement(b.a,{style:{whiteSpace:"nowrap"}},L.a.createElement(_.a,{style:{zIndex:99}},p("password",{rules:[{required:!0,message:window.locale[this.props.login.locale].enter_new_pass},{validator:this.validateToNextPassword}]})(L.a.createElement(g.a,{type:"password",onChange:this.handleChangePassWord}))))),L.a.createElement($,Y({},m,{label:window.locale[this.props.login.locale].confirm_pass}),L.a.createElement(b.a,null,L.a.createElement(_.a,null,p("confirm",{rules:[{required:!0,message:window.locale[this.props.login.locale].enter_confirm_pass},{validator:this.compareToFirstPassword}]})(L.a.createElement(g.a,{type:"password",onBlur:this.handleConfirmBlur}))))),L.a.createElement($,Y({},f,{style:h?{marginLeft:"unset",textAlign:"center"}:{}}),L.a.createElement(d.a,{className:X.a.submit,htmlType:"submit"},window.locale[this.props.login.locale].confirm))))))))),h?null:L.a.createElement("div",{className:X.a.footer},L.a.createElement(B.a,{content:this.props.login.loginData.casfoot?this.props.login.loginData.casfoot:""}))))}}]),t}(L.a.Component))||s,oe=N.a.create()(ne);t.a=oe},595:function(e,t,a){"use strict";function n(e,t,a){return t in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a,e}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function r(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}
1var l,s,c=a(22),u=(a.n(c),a(21)),d=a.n(u),p=a(37),m=(a.n(p),a(36)),g=a.n(m),h=a(28),f=(a.n(h),a(27)),_=a.n(f),w=a(1),y=a.n(w),b=a(29),v=a.n(b),E=a(3),C=a.n(E),T=a(12),x=a(23),S=a(57),k=a(25),O=a(32),A=a(31),D=a(1146),Q=a.n(D),N=a(16),I=function(){function e(e,t){for(var a=0;a<t.length;a++){var n=t[a];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}return function(t,a,n){return a&&e(t.prototype,a),n&&e(t,n),t}}(),L=(_.a.Item,10),M=null,P=(l=a.i(T.b)(function(e){return{dispatch:e.dispatch,login:e.login}}))(s=function(e){function t(e){o(this,t);var n=i(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return n.resize=function(){n.setState({windowW:a.i(O.c)().windowW})},n.encodePass=function(e){a.i(A.a)(131);var t=a.i(A.b)(N.a.public_exponent,"",N.a.modulus);return a.i(A.c)(t,e)},n.handleSubmit=function(e){e.preventDefault();var t=n.props.login.casdata,o=(new Date).getTime(),i=n.encodePass(N.a.TAG+o);v.a.post(N.a.CAS+"/login/networkCommit",{username:t.userName},{headers:{token:i,vcodes:t.vcodes}}).then(function(e){var o=e.data,i=o.meta,r=o.data;i.success&&r.flag?n.props.dispatch(a.i(x.c)(t.userName,r.encode,t.service,"10",n.props.history)):g.a.error({title:window.locale[n.props.login.locale].warm_prompt,content:i.message})})},n.queryNetcommit=function(){a.i(k.a)(N.a.CAS+"/login/queryNetcommit").then(function(e){var t=e.meta,a=e.data;t.success&&a&&n.setState({content:a.content})})},n.handleRedirectLogin=function(){var e=n.props.login.casdata;if(!e)return void n.props.history.push(N.a.CAS+"/login");if(!e||"NETWORKCOMMITMENT"!=e.code)return void n.props.history.push(N.a.CAS+"/login");var t=n.props.login.loginData;t&&"0"==t.netcommit&&n.props.history.push(N.a.CAS+"/login")},n.blackIndex=function(){n.props.history.push(N.a.CAS+"/login")},n.state={submitDisable:!0,count:10,windowW:a.i(O.c)().windowW,confirmDirty:!1,content:"",color:{Lcolor:"#d9d9d9",Mcolor:"#d9d9d9",Hcolor:"#d9d9d9"}},n}
1return r(t,e),I(t,[{key:"componentWillUpdate",value:function(e,t){document.getElementsByTagName("title")[0].innerText=e.login.loginData.casTitle?e.login.loginData.casTitle:window.locale[this.props.login.locale].login_pageInfo_4}},{key:"componentWillMount",value:function(){this.handleRedirectLogin(),this.queryNetcommit()}},{key:"componentDidMount",value:function(){var e=this;window.addEventListener("resize",this.resize,!1),M=setInterval(function(){L-=1,e.setState({count:L,submitDisable:!(L<=0)})},1e3)}},{key:"componentWillUnmount",value:function(){window.removeEventListener("resize",this.resize),clearInterval(M)}},{key:"render",value:function(){var e=this.state,t=e.windowW,a=e.submitDisable,o=e.count,i=(e.color,e.passMinLen,e.passMaxLen,e.passNum,e.passLetter,e.passSpecial,this.props.form.getFieldDecorator,t<=980),r=this.state.content;return y.a.createElement("div",{className:C()(Q.a.login_first,n({},Q.a.mobile,i))},y.a.createElement("div",{className:Q.a.container},y.a.createElement("div",{className:Q.a.content},y.a.createElement("div",{className:Q.a.main},y.a.createElement("div",{className:Q.a.box},y.a.createElement("div",{id:"cconets"}," ",y.a.createElement("div",{dangerouslySetInnerHTML:{__html:r}})),y.a.createElement("div",{className:Q.a.button},y.a.createElement(d.a,{disabled:a,className:C()(n({},Q.a.submit,!a)),htmlType:"button",onClick:this.handleSubmit},window.locale[this.props.login.locale].confirm,o>0&&"("+o+")"),!window.tip.isHiddenReject&&y.a.createElement(d.a,{className:Q.a.submit,style:{"margin-left":"5%"},htmlType:"button",onClick:this.blackIndex},window.locale[this.props.login.locale].reject))),i?null:y.a.createElement("div",{className:Q.a.footer},y.a.createElement(S.a,{content:this.props.login.loginData.casfoot?this.props.login.loginData.casfoot:""}))))),i?y.a.createElement("div",{className:Q.a.footer},y.a.createElement(S.a,{content:this.props.login.loginData.casfoot?this.props.login.loginData.casfoot:""})):null)}}]),t}(y.a.Component))||s,W=_.a.create()(P);t.a=W},596:function(module,__webpack_exports__,__webpack_require__){"use strict";function _classCallCheck(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function _possibleConstructorReturn(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function _inherits(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}__webpack_require__.d(__webpack_exports__,"a",function(){return FingerLogin});var __WEBPACK_IMPORTED_MODULE_0_antd_lib_button_style__=__webpack_require__(22),__WEBPACK_IMPORTED_MODULE_0_antd_lib_button_style___default=__webpack_require__.n(__WEBPACK_IMPORTED_MODULE_0_antd_lib_button_style__),__WEBPACK_IMPORTED_MODULE_1_antd_lib_button__=__webpack_require__(21),__WEBPACK_IMPORTED_MODULE_1_antd_lib_button___default=__webpack_require__.n(__WEBPACK_IMPORTED_MODULE_1_antd_lib_button__),__WEBPACK_IMPORTED_MODULE_2_antd_lib_modal_style__=__webpack_require__(37),__WEBPACK_IMPORTED_MODULE_2_antd_lib_modal_style___default=__webpack_require__.n(__WEBPACK_IMPORTED_MODULE_2_antd_lib_modal_style__),__WEBPACK_IMPORTED_MODULE_3_antd_lib_modal__=__webpack_require__(36),__WEBPACK_IMPORTED_MODULE_3_antd_lib_modal___default=__webpack_require__.n(__WEBPACK_IMPORTED_MODULE_3_antd_lib_modal__),__WEBPACK_IMPORTED_MODULE_4_react__=__webpack_require__(1),__WEBPACK_IMPORTED_MODULE_4_react___default=__webpack_require__.n(__WEBPACK_IMPORTED_MODULE_4_react__),__WEBPACK_IMPORTED_MODULE_5_util_base64__=__webpack_require__(221),__WEBPACK_IMPORTED_MODULE_6__index_less__=__webpack_require__(270),__WEBPACK_IMPORTED_MODULE_6__index_less___default=__webpack_require__.n(__WEBPACK_IMPORTED_MODULE_6__index_less__),__WEBPACK_IMPORTED_MODULE_7_react_redux__=__webpack_require__(12),__WEBPACK_IMPORTED_MODULE_8__redux_actions_login__=__webpack_require__(23),__WEBPACK_IMPORTED_MODULE_9_util_rsa__=__webpack_require__(31),__WEBPACK_IMPORTED_MODULE_10_axios__=__webpack_require__(29),__WEBPACK_IMPORTED_MODULE_10_axios___default=__webpack_require__.n(__WEBPACK_IMPORTED_MODULE_10_axios__),__WEBPACK_IMPORTED_MODULE_11__app_config_names__=__webpack_require__(16),__WEBPACK_IMPORTED_MODULE_12_rc_queue_anim__=__webpack_require__(51),_createClass=function(){function e(e,t){for(var a=0;a<t.length;a++){var n=t[a];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}return function(t,a,n){return a&&e(t.prototype,a),n&&e(t,n),t}}(),_dec,_class,FingerLogin=(_dec=__webpack_require__.i(__WEBPACK_IMPORTED_MODULE_7_react_redux__.b)(function(e){return{dispatch:e.dispatch,login:e.login}}))(_class=function(_React$Component){function FingerLogin(props){_classCallCheck(this,FingerLogin);var _this=_possibleConstructorReturn(this,(FingerLogin.__proto__||Object.getPrototypeOf(FingerLogin)).call(this,props));return _this.fingerInterval=function(e){_this.interval=setInterval(function(){var e=_this.state.fingerTime;1==e?(clearInterval(_this.interval),_this.setState({type:1,fingerTime:3})):_this.setState({fingerTime:e-1})},1e3)},_this.fingerAgain=function(){_this.setState({type:0,tip:window.locale[_this.props.login.locale].finger_scan_login},function(){_this.fingerInterval(),_this.connect("ws://127.0.0.1:21187/fps")})},_this.encodePass=function(e){__webpack_require__.i(__WEBPACK_IMPORTED_MODULE_9_util_rsa__.a)(131);var t=__webpack_require__.i(__WEBPACK_IMPORTED_MODULE_9_util_rsa__.b)(__WEBPACK_IMPORTED_MODULE_11__app_config_names__.a.public_exponent,"",__WEBPACK_IMPORTED_MODULE_11__app_config_names__.a.modulus);return __webpack_require__.i(__WEBPACK_IMPORTED_MODULE_9_util_rsa__.c)(t,e)},_this.Transaction=function(){var e={value:""},t=FPEngineEx1.GetWorkMsg();switch(t){case 1:e.value=window.locale[_this.props.login.locale].finger_login_step1;break;case 2:e.value=window.locale[_this.props.login.locale].finger_login_step2;break;case 3:e.value=window.locale[_this.props.login.locale].finger_login_step3;break;case 4:e.value=window.locale[_this.props.login.locale].finger_login_step4;FPEngineEx1.GetImageEx();break;case 5:e.value=window.locale[_this.props.login.locale].finger_login_step5;var a=FPEngineEx1.GetCharEx();clearTimeout(_this.timer),_this.timer=null,_this.postFingerLogin(a);break;case 6:e.value=window.locale[_this.props.login.locale].finger_login_step6;FPEngineEx1.GetFptEx();clearTimeout(_this.timer),_this.timer=null}-1!=t&&_this.setState({tip:e.value}),_this.timer=setTimeout(_this.Transaction,500)},_this.postFingerLogin=function(e){var t=__WEBPACK_IMPORTED_MODULE_5_util_base64__.a.encode(e),a={matchStr:t},n=(new Date).getTime(),o=_this.encodePass(__WEBPACK_IMPORTED_MODULE_11__app_config_names__.a.TAG+n);__WEBPACK_IMPORTED_MODULE_10_axios___default.a.post(__WEBPACK_IMPORTED_MODULE_11__app_config_names__.a.CAS+"/finger/login",a,{headers:{token:o}}).then(function(e){var t=e.data,a=t.meta,n=t.data;a.success&&n?(_this.props.dispatch(__webpack_require__.i(__WEBPACK_IMPORTED_MODULE_8__redux_actions_login__.c)(n.userName,n.passWord,n.service,"5",_this.props.history)),_this.setState({tip:window.locale[_this.props.login.locale].login_wait})):__WEBPACK_IMPORTED_MODULE_3_antd_lib_modal___default.a.error({title:window.locale[_this.props.login.locale].finger_login,content:window.locale[_this.props.login.locale].finger_match_fail,onOk:function(){_this.isIE()?_this.GetMatTemplate():_this.isSupportWebSocket()?_this.ws?_this.GetMatTemplateWS():_this.connect("ws://127.0.0.1:21187/fps"):__WEBPACK_IMPORTED_MODULE_3_antd_lib_modal___default.a.error({title:window.locale[_this.props.login.locale].finger_login,content:window.locale[_this.props.login.locale].browser_not_ws})}})})},_this.GetMatTemplate=function(){1==FPEngineEx1.OpenDevice(0,0,0)?1==FPEngineEx1.LinkDevice()?(FPEngineEx1.GenCharEx(),_this.timer=setTimeout(_this.Transaction,500)):__WEBPACK_IMPORTED_MODULE_3_antd_lib_modal___default.a.error({title:window.locale[_this.props.login.locale].finger_login,content:window.locale[_this.props.login.locale].connect_usb_fail}):__WEBPACK_IMPORTED_MODULE_3_antd_lib_modal___default.a.error({title:window.locale[_this.props.login.locale].finger_login,content:window.locale[_this.props.login.locale].open_usb_fail})},_this.GetMatTemplateWS=function(){_this.ws.send('{"cmd":"capture","data1":"","data2":""}'),_this.setState({tip:window.locale[_this.props.login.locale].finger_login_step2})},_this.ReOpen=function(){_this.ws.send('{"cmd":"opendevice","data1":"","data2":""}')},_this.connect=function(host){if(_this.isFireFox())__WEBPACK_IMPORTED_MODULE_3_antd_lib_modal___default.a.error({title:window.locale[_this.props.login.locale].finger_login,content:window.locale[_this.props.login.locale].change_browser});else{_this.ws&&(_this.ws.close(),_this.ws=null);try{_this.ws=new WebSocket(host)}catch(e){console.log("error")}_this.ws.onopen=function(){console.log("Connected OK!"),_this.ReOpen(),setTimeout(function(){_this.GetMatTemplateWS()},3e3)},_this.ws.onmessage=function(evt){var obj=eval("("+evt.data+")"),status={value:""};switch(obj.workmsg){case 1:status.value=window.locale[_this.props.login.locale].finger_login_step1,_this.setState({type:2}),_this.ws&&(_this.ws.close(),_this.ws=null);break;case 2:status.value=window.locale[_this.props.login.locale].finger_login_step2;break;case 3:status.value=window.locale[_this.props.login.locale].finger_login_step3;break;case 4:break;case 5:if(1==obj.retmsg){status.value=window.locale[_this.props.login.locale].finger_login_step5;var matdata=void 0;matdata="null"==obj.data1?obj.data2:obj.data1,_this.postFingerLogin(matdata)}else status.value=window.locale[_this.props.login.locale].collect_finger_fail,_this.setState({type:2}),_this.ws&&(_this.ws.close(),_this.ws=null);break;case 6:if(1==obj.retmsg)if(status.value=window.locale[_this.props.login.locale].finger_login_step6,"null"==obj.data1);else var refdata=obj.data1;else status.value=window.locale[_this.props.login.locale].register_finger_fail;break;case 7:if("null"==obj.image);else var imageData="data:image/png;base64,"+obj.image;break;case 8:status.value=window.locale[_this.props.login.locale].connect_finger_fail,_this.setState({type:2}),_this.ws&&(_this.ws.close(),_this.ws=null);break;case 9:status.value="Match Result:"+obj.retmsg}obj.workmsg&&-1!=obj.workmsg&&7!=obj.workmsg&&9!=obj.workmsg&&_this.setState({tip:status.value})}
1,_this.ws.onclose=function(){_this.ws&&(_this.ws=null)}}},_this.isFireFox=function(){return navigator.userAgent.indexOf("Firefox")>=0},_this.isIE=function(){return!!(window.ActiveXObject||"ActiveXObject"in window)},_this.isSupportWebSocket=function(){return"WebSocket"in window},_this.state={tip:window.locale[_this.props.login.locale].finger_scan_login,type:0,fingerTime:3},_this}return _inherits(FingerLogin,_React$Component),_createClass(FingerLogin,[{key:"componentDidMount",value:function(){this.fingerInterval(),this.isIE()?this.GetMatTemplate():this.isSupportWebSocket()?this.connect("ws://127.0.0.1:21187/fps"):__WEBPACK_IMPORTED_MODULE_3_antd_lib_modal___default.a.error({title:window.locale[this.props.login.locale].finger_login,content:window.locale[this.props.login.locale].browser_not_ws})}},{key:"componentWillUnmount",value:function(){this.ws&&(this.ws.close(),this.ws=null)}},{key:"render",value:function(){var e=this.props.config,t=this.state,a=t.tip,n=t.type,o=t.fingerTime;return console.log(o,"fingerTime"),__WEBPACK_IMPORTED_MODULE_4_react___default.a.createElement(__WEBPACK_IMPORTED_MODULE_4_react___default.a.Fragment,null,__WEBPACK_IMPORTED_MODULE_4_react___default.a.createElement("object",{classID:"clsid:059059BE-8F4C-49AC-B2A9-5649F02A4FC6",id:"FPEngineEx1",data:"DATA:application/x-oleobject",style:{display:"none"},codebase:window.location.origin+"/assets/cab/fpactive.cab"}),__WEBPACK_IMPORTED_MODULE_4_react___default.a.createElement(__WEBPACK_IMPORTED_MODULE_12_rc_queue_anim__.a,e,__WEBPACK_IMPORTED_MODULE_4_react___default.a.createElement("div",{key:"D",className:__WEBPACK_IMPORTED_MODULE_6__index_less___default.a.finger_box},__WEBPACK_IMPORTED_MODULE_4_react___default.a.createElement("div",{className:__WEBPACK_IMPORTED_MODULE_6__index_less___default.a.finger_img},__WEBPACK_IMPORTED_MODULE_4_react___default.a.createElement("div",{className:__WEBPACK_IMPORTED_MODULE_6__index_less___default.a.finger_zw}),__WEBPACK_IMPORTED_MODULE_4_react___default.a.createElement("div",{className:__WEBPACK_IMPORTED_MODULE_6__index_less___default.a.finger_a},1==n?__WEBPACK_IMPORTED_MODULE_4_react___default.a.createElement("div",{className:__WEBPACK_IMPORTED_MODULE_6__index_less___default.a.finger_dh}):null),0==n?__WEBPACK_IMPORTED_MODULE_4_react___default.a.createElement("div",{className:__WEBPACK_IMPORTED_MODULE_6__index_less___default.a.finger_timeout},o):null,1==n?__WEBPACK_IMPORTED_MODULE_4_react___default.a.createElement("div",{className:__WEBPACK_IMPORTED_MODULE_6__index_less___default.a.finger_line}):null,2==n?__WEBPACK_IMPORTED_MODULE_4_react___default.a.createElement("div",{className:__WEBPACK_IMPORTED_MODULE_6__index_less___default.a.finger_overtime},__WEBPACK_IMPORTED_MODULE_4_react___default.a.createElement(__WEBPACK_IMPORTED_MODULE_1_antd_lib_button___default.a,{type:"primary",onClick:this.fingerAgain},window.locale[this.props.login.locale].click_refresh)):null),__WEBPACK_IMPORTED_MODULE_4_react___default.a.createElement("div",{className:__WEBPACK_IMPORTED_MODULE_6__index_less___default.a.finger_tip},a))))}}]),FingerLogin}(__WEBPACK_IMPORTED_MODULE_4_react___default.a.Component))||_class},597:function(e,t,a){"use strict";function n(e,t,a){return t in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a,e}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function r(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}a.d(t,"a",function(){return z});var l,s,c,u=a(22),d=(a.n(u),a(21)),p=a.n(d),m=a(45),g=(a.n(m),a(44)),h=a.n(g),f=a(56),_=(a.n(f),a(10)),w=a.n(_),y=a(53),b=(a.n(y),a(52)),v=a.n(b),E=a(28),C=(a.n(E),a(27)),T=a.n(C),x=a(1),S=a.n(x),k=a(3),O=a.n(k),A=a(12),D=a(23),Q=a(16),N=a(195),I=a.n(N),L=a(29),M=a.n(L),P=a(51),W=a(88),q=a(31),U=a(270),R=a.n(U),B=a(29
16),F=a.n(B),K=function(){function e(e,t){for(var a=0;a<t.length;a++){var n=t[a];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}return function(t,a,n){return a&&e(t.prototype,a),n&&e(t,n),t}}(),j=T.a.Item,z=(l=T.a.create(),s=a.i(A.b)(function(e){return{dispatch:e.dispatch,login:e.login}}),l(c=s(c=function(e){function t(e){o(this,t);var n=i(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return n.encodePass=function(e){a.i(q.a)(131);var t=a.i(q.b)(Q.a.public_exponent,"",Q.a.modulus);return a.i(q.c)(t,e)},n.ukeyEventListener=function(){if((navigator.userAgent.indexOf("MSIE")>-1||navigator.userAgent.indexOf("Firefox")>-1)&&!navigator.userAgent.indexOf("opera")>-1)return n.ukeyEventListenerIE10();var e=void 0,t=void 0;try{var a=new W.a;return a.Socket_UK.onopen=function(){a.ResetOrder()},a.Socket_UK.onmessage=function(o){var i=JSON.parse(o.data);if("Process"==i.type)switch(i.order){case 0:a.FindPort(0);break;case 1:if(0!=i.LastError)return n.setState({ukeyIsIn:!1}),a.Socket_UK.close(),!1;n.ukeyTimeout=setTimeout(function(){n.setState({ukeyIsIn:!0})},1e3),e=i.return_value,a.YReadEx(0,1,"ffffffff","ffffffff",e);break;case 2:if(0!=i.LastError)return n.setState({ukeyIsIn:!1}),a.Socket_UK.close(),!1;a.GetBuf(0);break;case 3:if(0!=i.LastError)return n.setState({ukeyIsIn:!1}),a.Socket_UK.close(),!1;t=i.return_value,a.YReadString(1,t,"ffffffff","ffffffff",e);break;case 4:if(0!=i.LastError)return n.setState({ukeyIsIn:!1}),a.Socket_UK.close(),!1;var r={ukeyId:i.return_value},l=(new Date).getTime(),s=n.encodePass(Q.a.TAG+l);n.state.userName||M.a.get(Q.a.CAS+"/ukey/getUserName",{headers:{token:s},params:r}).then(function(e){var t=e.data,a=t.meta,o=t.data;a.success?n.setState({userName:o,ukeyId:r.ukeyId}):v.a.error(a.message)}),a.YReadEx(20,1,"ffffffff","ffffffff",e);break;case 5:if(0!=i.LastError)return n.setState({ukeyIsIn:!1}),a.Socket_UK.close(),!1;a.GetBuf(0);break;case 6:if(0!=i.LastError)return n.setState({ukeyIsIn:!1}),a.Socket_UK.close(),!1;t=i.return_value,a.YReadString(21,t,"ffffffff","ffffffff",e);break;case 7:if(0!=i.LastError)return n.setState({ukeyIsIn:!1}),a.Socket_UK.close(),!1;n.setState({password:i.return_value}),a.EncString(I()().format("YYYYMMDD"),e);break;case 8:if(0!=i.LastError)return n.setState({ukeyIsIn:!1}),a.Socket_UK.close(),!1;n.setState({key:i.return_value}),a.Socket_UK.close()}},a.Socket_UK.onclose=function(){},!0}catch(e){}},n.ukeyEventListenerIE10=function(){try{var e=new ActiveXObject("Syunew3A.s_simnew3"),t=e.FindPort(0);if(0!=e.LastError)return n.setState({ukeyIsIn:!1}),!1;e.YReadEx(0,1,"ffffffff","ffffffff",t);var a=e.GetBuf(0),o={ukeyId:e.YReadString(1,a,"ffffffff","ffffffff",t)},i=(new Date).getTime(),r=n.encodePass(Q.a.TAG+i);return M.a.get(Q.a.CAS+"/ukey/getUserName",{headers:{token:r},params:o}).then(function(e){var t=e.data,a=t.meta,i=t.data;a.success?n.setState({userName:i,ukeyId:o.ukeyId}):v.a.error(a.message)}),0!=e.LastError?(n.setState({ukeyIsIn:!1}),!1):(e.YReadEx(20,1,"ffffffff","ffffffff",t),a=e.GetBuf(0),void n.setState({password:e.YReadString(21,a,"ffffffff","ffffffff",t),key:e.EncString(I()().format("YYYYMMDD"),t)}))}catch(e){}},n.handleSubmit=function(e){n.props.form.validateFieldsAndScroll(function(e,t){if(!e){var o={password:n.state.password,key:n.state.key,pin:n.encodePass(t.password),ukeyId:n.state.ukeyId},i=(new Date).getTime(),r=n.encodePass(Q.a.TAG+i);M.a.post(Q.a.CAS+"/ukey",o,{headers:{token:r}}).then(function(e){var t=e.data,o=t.meta,i=t.data;if(o.success){var r=a(5),l=window.location.search;l=l.substring(l.indexOf("?")+1);var s=r.parse(l),c=i.service;s&&s.service&&(c=s.service),n.props.dispatch(a.i(D.c)(i.userName,i.passWord,c,"6",n.props.history))}else v.a.error(o.message)})}})},n.state={ukeyId:"",userName:"",password:"",key:"",ukeyIsIn:n.props.ukeyIsIn},n}return r(t,e),K(t,[{key:"componentWillMount",value:function(){}},{key:"componentDidMount",value:function(){this.ukeyEventListener()}},{key:"componentWillReceiveProps",value:function(e){}},{key:"render",value:function(){var e=this.state,t=e.ukeyIsIn,a=e.userName,o=this.props.config,i=this.props.form.getFieldDecorator;return S.a.createElement(S.a.Fragment,null,t?S.a.createElement(P.a,o,S.a.createElement("div",{className:R.a.ukey1,key:"D"},S.a.createElement(T.a,null,S.a.createElement(j,null,S.a.createElement("div",{style:{fontSize:"16px",fontWeight:"bold"}},window.locale[this.props.login.locale].name,"ï¼",a)),S.a.createElement(j,null,i("password",{rules:[{required:!0,message:window.locale[this.props.login.locale].enter_pin_code}]})(S.a.createElement(h.a,{className:R.a.password,size:"large",prefix:S.a.createElement(w.a,{type:"lock",style:{color:"rgba(0,0,0,.25)"}}),type:"password",placeholder:window.locale[this.props.login.locale].enter_pin_code}))),S.a.createElement(j,{className:R.a.mb0},S.a.createElement(p.a,{className:O()(R.a.submit,n({},R.a.logining,!0)),type:"primary",size:"large",onClick:this.handleSubmit},window.locale[this.props.login.locale].login))))):S.a.createElement(P.a,o,S.a.createElement("div",{key:"D",className:R.a.ukey1},S.a.createElement("div",{className:R.a.ukey},S.a.createElement("img",{src:F.a,alt:""})),S.a.createElement("div",{style:{fontWeight:"bold"}},(navigator.userAgent.indexOf("MSIE")>-1||navigator.userAgent.indexOf("Mozilla")>-1)&&!navigator.userAgent.indexOf("opera")>-1?window.locale[this.props.login.locale].ie_insert_ukey:window.locale[this.props.login.locale].not_check_device))))}}]),t}(S.a.Component))||c)||c)},598:function(e,t,a){"use strict";function n(e,t,a){return t in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a,e}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function r(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var l,s,c,u,d,p=a(53),m=(a.n(p),a(52)),g=a.n(m),h=a(37),f=(a.n(h),a(36)),w=a.n(f),y=a(143),b=(a.n(y),a(97)),v=a.n(b),E=a(120
1),C=(a.n(E),a(119)),T=a.n(C),x=a(125),S=(a.n(x),a(124)),k=a.n(S),O=a(210),A=(a.n(O),a(209)),D=a.n(A),Q=a(87),N=(a.n(Q),a(74)),I=a.n(N),L=a(41),M=(a.n(L),a(40)),P=a.n(M),W=a(48),q=(a.n(W),a(47)),U=a.n(q),R=a(45),B=(a.n(R),a(44)),F=a.n(B),K=a(56),j=(a.n(K),a(10)),z=a.n(j),X=a(22),H=(a.n(X),a(21)),V=a.n(H),G=a(117),J=(a.n(G),a(116)),Y=a.n(J),Z=a(121),$=(a.n(Z),a(96)),ee=a.n($),te=a(28),ae=(a.n(te),a(27)),ne=a.n(ae),oe=a(1),ie=a.n(oe),re=a(3),le=a.n(re),se=a(12),ce=a(23),ue=a(57),de=a(596),pe=a(597),me=a(29),ge=a.n(me),he=a(32),fe=a(31),_e=a(88),we=a(51),ye=a(144),be=a(164),ve=a(383),Ee=a(165),Ce=a(270),Te=a.n(Ce),xe=a(16),Se=a(25),ke=a(141),Oe=a.n(ke),Ae=a(162),De=a.n(Ae),Qe=a(161),Ne=a.n(Qe),Ie=a(1466),Le=(a.n(Ie),a(1467)),Me=(a.n(Le),a(1468)),Pe=(a.n(Me),a(86)),We=a.n(Pe),qe=a(23),Ue=a(204),Re=a.n(Ue),Be=a(1460),Fe=a.n(Be),Ke=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var a=arguments[t];for(var n in a)Object.prototype.hasOwnProperty.call(a,n)&&(e[n]=a[n])}return e},je=function(){function e(e,t){for(var a=0;a<t.length;a++){var n=t[a];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}return function(t,a,n){return a&&e(t.prototype,a),n&&e(t,n),t}}(),ze=ne.a.Item,Xe=(ee.a.Option,""),He=(l=a.i(se.b)(function(e){return{dispatch:e.dispatch,login:e.login}}))((u=c=function(e){function t(e){o(this,t);var n=i(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return d.call(n),n.myBg2=a.i(oe.createRef)(),n.myBg3=a.i(oe.createRef)(),n.state={windowW:a.i(he.c)().windowW,isLogin:!1,loginType:1,eye:!1,sending:!1,loginCode:{isLoginCode:!0,refresh:!1},wechatCode:{isWeChatCode:!0,stop:!1,refresh:!1},ddCode:{isDdCode:!0,stop:!1,refresh:!1},appCode:{isAppCode:!0,stop:!1,refresh:!1},mmdlCode:{isMMDLCode:!0,stop:!1,refresh:!1},qqLoginUrl:"",weiboLoginUrl:"",dingdingLoginUrl:"",isFirst:!1,isAvoidPass:"0",userInfo:{userName:"",password:"",inputPassWord:"",rememberMe:!1,change:!1},leftIcon:{bgIcon1:"",bgIcon2:"",isBicon2:!1,bgIcon3:"",isBicon3:!1,loginLogo:""},ukeyIsConn:!1,ukeyIsIn:!1,oldLoginType:0,firstLoading:{display:"block"},defaultBgList:[We.a],bgList:[],columns:[],dataSource:[],visible:!1,accountInfo:{userName:"",cardid:""},userName:"",cardid:"",queryCode:{isQueryCode:!0},queryCodeValue:"",memban:"none",loginToken:"",systemName:"",currentLocale:"zh_CN",localeList:window.locale?window.locale.list:[],themeColor:"",appIcon:[],mobileBg:[],mobileLogo:[],mobileTitle:"å¯ç ç»å½",login_btn_show:!1,is_PasswordValue:!1,is_AccountValue:!1},n}return r(t,e),je(t,[{key:"goHome",value:function(){this.props.login.loginData;this.state.isLogin?(this.initLogin(),this.setState({isLogin:!0,firstLoading:{display:"none"}})):this.setState({isLogin:!0,firstLoading:{display:"none"}})}},{key:"componentWillReceiveProps",value:function(e){_.isEqual(e.login.loginData,this.props.login.loginData)||(this.queryLogin(e),document.getElementsByTagName("title")[0].innerText=e.login.loginData.casTitle?e.login.loginData.casTitle:window.locale[this.props.login.locale].login_pageInfo_4)}},{key:"componentWillMount",value:function(){var e=this;this.setState({isLogin:!0,firstLoading:{display:"none"}}),this.initLogin();var t=this.props.login.loginData;if(t.attachments&&t.attachments.length>0){var n=t.attachments.filter(function(e){return"ly-iap-attachment_mobile_bg"==e.sourceId}),o=t.attachments.filter(function(e){return"ly-iap-attachment_mobile_casLogo"==e.sourceId}),i=t.attachments.filter(function(e){return"ly-iap-attachment_casLogo"==e.sourceId}),r=t.attachments.filter(function(e){return-1!==e.sourceId.indexOf("attachment_bg")}),l=t.attachments.filter(function(e){return"ly-iap-attachment_appQRCode"==e.sourceId});this.setState({mobileBg:n,mobileLogo:o,casLogo:i,bgList:r,appIcon:l})}var s=[{title:window.locale[this.props.login.locale].account,dataIndex:"screenname",key:"screenname"},{title:window.locale[this.props.login.locale].name,dataIndex:"username",key:"username"},{title:window.locale[this.props.login.locale].alias,dataIndex:"othername",key:"othername"},{title:window.locale[this.props.login.locale].ID_card,dataIndex:"cardId",key:"cardId"}];if(a.i(he.a)("browserId")&&this.setState({isAvoidPass:"1"}),this.setState({columns:s}),t.themeColor&&null!==t.themeColor)if(t.themeColor.split(",").length<=3)this.setState({themeColor:t.themeColor,secondThemeColor:t.themeColor});else{var c=t.themeColor.split("),r");this.setState({themeColor:[c[0]+")","r"+c[1]]})}window.addEventListener("keyup",function(t){"Enter"==t.code&&e.handleAccountSubmit()})}},{key:"componentDidMount",value:function(){this.props.dispatch(a.i(ce.e)("block","none","none"));var e=this.props.login.loginData;
1if(window.tip.isRamdamBackground&&window.tip.backgroundUrlList.length>1){var t=(Number(window.tip.backgroundUrlList.length)+1-0)*Math.random()+0,n=Math.floor(t);document.getElementById("loginBack").src=window.tip.backgroundUrlList[n]}else window.tip.isRamdamBackground&&1==window.tip.backgroundUrlList.length&&(loginBack.src=window.tip.backgroundUrlList[0]);a.i(he.c)().windowH<970&&a.i(he.c)().windowW>980?document.body.style.overflowY="scroll":1==e.tabType&&2==e.showType?this.setState({loginType:3}):this.setState({loginType:1}),this.resize(),window.addEventListener("keydown",this.onKeyDown),window.addEventListener("resize",this.resize,!1);var o=a.i(he.a)("locale");if(o&&""!=o){document.cookie.split("=");this.setState({currentLocale:o}),this.props.dispatch(a.i(qe.f)(o))}this.querySystemName(""),document.getElementsByTagName("title")[0].innerText=this.props.login.loginData.casTitle?this.props.login.loginData.casTitle:"ç»ä¸èº«ä»½è®¤è¯å¹³å°-认è¯ä¸å¿"}},{key:"componentWillUnmount",value:function(){window.removeEventListener("resize",this.resize),window.removeEventListener("keydown",this.onKeyDown)}},{key:"componentDidUpdate",value:function(e){var t=this,a=this.state,n=a.oldLoginType,o=a.loginType,i=a.windowW;if(n!=o){if(!(i<=980))var r=setInterval(function(){t.inputRef&&t.inputRef.input&&1==o?(t.inputRef.focus(),clearInterval(r)):t.inputRef2&&t.inputRef2.input&&2==o&&(t.inputRef2.focus(),clearInterval(r))},100);this.setState({oldLoginType:this.state.loginType})}}},{key:"render",value:function(){var e=this,t=this.state,o=t.windowW,i=t.loginType,r=(t.isFirst,t.ukeyIsIn),l=t.sending,s=t.count,c=t.loginCode,u=t.ddCode,d=t.isLogin,p=t.wechatCode,m=t.appCode,g=t.mmdlCode,h=t.userInfo,f=t.leftIcon,_=t.ukeyIsConn,w=t.columns,y=t.dataSource,b=t.hasError,E=(t.systemName,t.localeList,t.currentLocale,t.queryCode,t.themeColor),C=t.mobileBg,x=t.mobileLogo,S=(t.mobileTitle,t.appIcon),O=t.bgList,A=t.defaultBgList,Q=t.login_btn_show,N=this.props.login,L={};N.loginData&&(L=N.loginData);var M=this.props.form.getFieldDecorator;window.locale[this.props.login.locale].pass_login;2==i?window.locale[this.props.login.locale].sms_login:3==i||4==i||9==i?window.locale[this.props.login.locale].scan_login:5==i?window.locale[this.props.login.locale].finger_login:6==i&&window.locale[this.props.login.locale].ukey_login;var W={animConfig:[{opacity:[1,0],rotateY:[0,180]},{opacity:[1,0],rotateY:[0,-180]}],duration:1e3},q=o<=980,R=("1"==L.isApp||"1"==L.isWeChat||L.isMMDL,"1"==L.isWeiBo&&L.isqq,"1"==L.isWeiBo&&"1"==L.isqq&&L.isDingDing,"1"==L.isSMS&&("1"==L.isWeiBo||"1"==L.isqq||L.isDingDing),"1"==L.isFinger&&("1"==L.isSMS||"1"==L.isWeiBo||"1"==L.isqq||L.isDingDing),"1"==L.isUkeyLogin&&("1"==L.isFinger||"1"==L.isSMS||"1"==L.isWeiBo||"1"==L.isqq||L.isDingDing),Number(L.isUkeyLogin),Number(L.isFinger),Number(L.isSMS),Number(L.isqq),a(5)),B=window.location.search;B=B.substring(B.indexOf("?")+1);var K=R.parse(B);L.defaultLoginUrl;K&&K.service?K.service:L.defaultLoginUrl;Te.a.formMargin;if(b&&Te.a.error,"none"!=this.state.firstLoading.display)return null;var j=L,X=j.tabType;j.showType;return ie.a.createElement(ie.a.Fragment,null,ie.a.createElement("div",{id:"memban",style:{width:"100%",height:"1000px",backgroundColor:"rgb(0,0,0,0.5)",position:"absolute",zIndex:"3",display:this.state.visible?"block":"none"}}),ie.a.createElement("div",{style:this.state.firstLoading},ie.a.createElement("div",{className:Te.a.imgssdiv}),ie.a.createElement("img",{src:De.a,className:Te.a.imgss}),ie.a.createElement("span",{className:Te.a.imgsstitle},window.locale[this.props.login.locale].login_wait)),q?ie.a.createElement("div",{className:Te.a.mobileCarousel,style:C.length?{background:"url("+C[0].source+")",backgroundRepeat:"no - repeat",backgroundSize:"cover"}:{}},ie.a.createElement(Ee.a,{mobileLogo:x,login_logo:Ne.a,loginData:L,form:this.props.form,userInfo:h,loginCode:c,themeColor:E,dataSource:y,columns:w,loginType:i,QueueAnimConfig:W,history:this.props.history})):null,d&&!q?ie.a.createElement("div",{style:window.tip.isLargeBg?{backgroundSize:"100% 100%",minHeight:"667px"}:q?{background:"transparent",minHeight:"667px"}:{},className:le()(Te.a.login,n({},Te.a.mobile,q))}
1,window.tip.isRamdamBackground&&window.tip.backgroundUrlList.length>0&&ie.a.createElement("img",{id:"loginBack",style:{position:"absolute",top:"0",left:"0",width:"100%",height:"100%"}}),ie.a.createElement(Y.a,{effect:"fade",className:Te.a.carousel,autoplay:!0,autoplaySpeed:6e3},O.length>0?O.map(function(e,t){return ie.a.createElement("img",{key:t,src:e.source,onError:function(e){e.target.src="/assets/images/base-2024/err_bg.jpg"}})}):A.map(function(e,t){return ie.a.createElement("img",{key:t,src:e})})),ie.a.createElement("div",{className:Te.a.car_mask},ie.a.createElement("div",{className:Te.a.mask_header}),ie.a.createElement("div",{className:Te.a.mask_content},ie.a.createElement("img",{className:Te.a.top_logo,src:f.loginLogo,onError:function(e){e.target.src="/assets/images/base-2024/err_logo.png"}}),ie.a.createElement("div",{className:Te.a.mask_center}),ie.a.createElement("div",{className:Te.a.content},ie.a.createElement("div",{className:Te.a.main,style:{borderRadius:window.tip.radius||6}},ie.a.createElement("div",{className:Te.a.TL_radius,style:{width:window.tip.radius||6,height:window.tip.radius||6}}),ie.a.createElement("div",{className:Te.a.TR_radius,style:{width:window.tip.radius||6,height:window.tip.radius||6}}),ie.a.createElement("div",{className:Te.a.BR_radius,style:{width:window.tip.radius||6,height:window.tip.radius||6}}),ie.a.createElement("div",{className:Te.a.BL_radius,style:{width:window.tip.radius||6,height:window.tip.radius||6}}),q?null:ie.a.createElement("div",{className:Te.a.main_l,style:window.tip.main_left_width?{width:window.tip.main_left_width+"px",backgroundImage:window.tip.isShowInnerBackground?"url("+Fe.a+")":"",borderTopLeftRadius:window.tip.radius||6,borderBottomLeftRadius:window.tip.radius||6}:{backgroundImage:window.tip.isShowInnerBackground?"url("+Fe.a+")":"",borderTopLeftRadius:window.tip.radius||6,borderBottomLeftRadius:window.tip.radius||6}}),ie.a.createElement("div",{style:window.tip.main_right_width?{width:window.tip.main_right_width+"px",borderTopRightRadius:window.tip.radius||6,borderBottomRightRadius:window.tip.radius||6}:{borderTopRightRadius:window.tip.radius||6,borderBottomRightRadius:window.tip.radius||6},className:le()(Te.a.main_r)},ie.a.createElement("div",{className:Te.a.new_topNav},ie.a.createElement("div",{className:Te.a.topTitle},"ç»ä¸èº«ä»½è®¤è¯å¹³å°"),L.loginTabType?ie.a.createElement(be.a,{loginData:L,locale:this.props.login.locale,handle_change_tab:this.onChangNewTab,themeColor:E}):ie.a.createElement(ye.a,{handle_change_tab:this.onChangTab,locale:this.props.login.locale,isMobile:q,themeColor:E,type:i,showType:L.showType,tabType:X,loginData:L})),3==i||4==i||13==i?ie.a.createElement("div",null,3==i||4==i||9==i||13==i?ie.a.createElement("div",{className:Te.a.qr_box},3==i&&"1"==L.isWeChat?ie.a.createElement(we.a,W,ie.a.createElement("div",{key:"D",className:Te.a.qr_img_box},ie.a.createElement("img",{alt:"logo",src:p.content}),ie.a.createElement("div",{className:Te.a.qrMask+" "+(p.refresh?"":Te.a.qrMaskHide)},ie.a.createElement("img",{src:Re.a,style:{marginBottom:"20px",width:"30px",height:"30px"}}),ie.a.createElement("span",{className:Te.a.link_span},window.locale[this.props.login.locale].QR_code_invalid),ie.a.createElement("a",{href:"javascript:void(0)",onClick:this.handleRefreshWXQrClick,className:Te.a.link_refresh},window.locale[this.props.login.locale].click_refresh)))):null,13==i&&"1"==L.isDingDing?ie.a.createElement(we.a,W,ie.a.createElement("div",{key:"D",className:Te.a.qr_img_box},ie.a.createElement("img",{alt:"logo",src:u.content}),ie.a.createElement("div",{className:Te.a.qrMask+" "+(u.refresh?"":Te.a.qrMaskHide)},ie.a.createElement("img",{src:Re.a,style:{marginBottom:"20px",width:"30px",height:"30px"}}),ie.a.createElement("span",{className:Te.a.link_span},window.locale[this.props.login.locale].QR_code_invalid),ie.a.createElement("a",{href:"javascript:void(0)",onClick:this.handleRefreshDdQrClick,className:Te.a.link_refresh},window.locale[this.props.login.locale].click_refresh)))):null,4==i&&"1"==L.isApp?ie.a.createElement(we.a,W,ie.a.createElement("div",{key:"D",className:Te.a.qr_img_box},ie.a.createElement("img",{alt:"logo",src:m.content}),ie.a.createElement("div",{className:Te.a.qrMask+" "+(m.refresh?"":Te.a.qrMaskHide)},ie.a.createElement("img",{src:Re.a,style:{marginBottom:"20px",width:"30px",height:"30px"}}),ie.a.createElement("span",{className:Te.a.link_span},window.locale[this.props.login.locale].QR_code_invalid),ie.a.createElement("a",{href:"javascript:void(0)",onClick:this.handleRefreshAppQrClick,className:Te.a.link_refresh},window.locale[this.props.login.locale].click_refresh)))):null,9==i&&"1"==L.isMMDL?ie.a.createElement(we.a,W,"0"==this.state.isAvoidPass?ie.a.createElement("div",{key:"D",className:Te.a.qr_img_box},ie.a.createElement("img",{alt:"logo",src:g.content}),ie.a.createElement("div",{className:Te.a.qrMask+" "+(p.refresh?"":Te.a.qrMaskHide)},ie.a.createElement("img",{src:Re.a,style:{marginBottom:"20px",width:"30px",height:"30px"}}),ie.a.createElement("span",{className:Te.a.link_span},window.locale[this.props.login.locale].QR_code_invalid),ie.a.createElement("a",{href:"javascript:void(0)",onClick:this.handleRefreshWXQrClick,className:Te.a.link_refresh},window.locale[this.props.login.locale].click_refresh))):ie.a.createElement("div",{key:"D",className:Te.a.qr_img_box},ie.a.createElement("img",{src:a(295)}),ie.a.createElement("div",{style:{textAlign:"center",marginTop:"10px"}}
1,ie.a.createElement(V.a,{className:le()(Te.a.codeSubmit),type:"primary",htmlType:"submit",style:{width:"185px"},onClick:function(){return e.goMMDL()}},window.locale[this.props.login.locale].login)))):null,ie.a.createElement("div",{className:Te.a.qr_type_box,style:{width:this.setQr(L.isWeChat,L.isApp,L.isMMDL,L.isDingDing)}},"1"==L.isWeChat?ie.a.createElement("span",{className:le()(Te.a.qr_type,n({},Te.a.active,3==i),Te.a.qr_wx_type),onClick:function(){e.setState({loginType:3},function(){e.queryWechat(),e.handleWXCode()})}},ie.a.createElement("span",{className:le()(Te.a.icon_wx,Te.a.type_icon)}),window.locale[this.props.login.locale].WeChat_scan_login):null,"1"==L.isApp?ie.a.createElement("span",{className:le()(Te.a.qr_type,n({},Te.a.active,4==i),Te.a.qr_app_type),onClick:function(){e.setState({loginType:4},function(){e.queryAppQrCode(),e.handleAppCode()})},style:{width:window.tip.appWidth?window.tip.appWidth:14*(window.locale[this.props.login.locale].APP_scan_login.length-5)+100}},ie.a.createElement("span",{className:le()(Te.a.icon_app,Te.a.type_icon),style:S&&S.length>0?{background:"url("+S[0].source+")"}:{}}),window.locale[this.props.login.locale].APP_scan_login):null,"1"==L.isDingDing?ie.a.createElement("span",{className:le()(Te.a.qr_type,n({},Te.a.active,13==i),Te.a.qr_app_type),onClick:function(){e.setState({loginType:13},function(){e.queryDdCode(),e.handleDdCode()})}},ie.a.createElement("span",{className:le()(Te.a.icon_dingding,Te.a.type_icon)}),window.locale[this.props.login.locale].Dd_scan_login):null,"1"==L.isMMDL?"0"==this.state.isAvoidPass?ie.a.createElement("span",{className:le()(Te.a.qr_type,n({},Te.a.active,9==i),Te.a.qr_mmdl_type),onClick:function(){e.setState({loginType:9},function(){e.queryMMDLQrCode(),e.handleMMDLCode()})}},ie.a.createElement("span",{className:le()(Te.a.icon_app,Te.a.type_icon)}),window.locale[this.props.login.locale].auth_scan_login):ie.a.createElement("span",{className:le()(Te.a.qr_type,n({},Te.a.active,9==i)),onClick:function(){e.setState({loginType:9,mmdlCode:Ke({},e.state.mmdlCode,{stop:!0}),appCode:Ke({},e.state.appCode,{stop:!0}),wechatCode:Ke({},e.state.wechatCode,{stop:!0})})}},ie.a.createElement("span",{className:le()(Te.a.icon_app,Te.a.type_icon)}),window.locale[this.props.login.locale].auth_scan_login):null)):null):null,1!=L.isAccount||1!=i&&8!=i&&12!=i?null:ie.a.createElement(we.a,W,ie.a.createElement("div",{style:{background:this.props.login.submitpending},className:Te.a.anim_box,key:"A"},ie.a.createElement(ne.a,{name:"accountForm",style:{display:this.props.login.submitting}},ie.a.createElement(ze,null,M("userName",{rules:[{required:!0,message:window.locale[this.props.login.locale].enter_account}],initialValue:h.userName})(ie.a.createElement(F.a,{size:"large",ref:function(t){return e.inputRef=t},prefix:ie.a.createElement(z.a,{type:"user",style:{color:"rgba(0,0,0,.25)"}}),onPressEnter:this.handleAccountSubmit,onChange:function(t){return e.onInputChange("is_AccountValue",t)},placeholder:window.locale[this.props.login.locale].enter_account}))),ie.a.createElement(ze,null,M("password",{initialValue:h.inputPassWord})(ie.a.createElement(F.a.Password,{className:window.tip.unlock?null:Te.a.password,size:"large",type:"password",placeholder:window.locale[this.props.login.locale].enter_pass,ref:function(t){e.passRef=t},autoComplete:"new-password",onChange:function(t){e.handlePasswordChange(t),e.onInputChange("is_PasswordValue",t)},onPressEnter:this.handleAccountSubmit,prefix:ie.a.createElement(z.a,{type:"lock",style:{color:"rgba(0,0,0,.25)"}})}))),((1==L.isVerifyCode||L.isVerifyCodeType.indexOf("1")>-1)&&L.verifyCodeNum<=0||L.verifyCodeNum&&sessionStorage.getItem("errorNum")&&L.verifyCodeNum<=sessionStorage.getItem("errorNum")&&(L.isVerifyCodeType.indexOf("1")>-1||"1"==L.isVerifyCode))&&(["1","2"].indexOf(L.captchaType)>-1||!L.captchaType)?ie.a.createElement(ze,{style:{marginBottom:6}},ie.a.createElement(P.a,{gutter:8},ie.a.createElement(U.a,{span:14},M("captcha",{rules:[{required:!0,message:window.locale[this.props.login.locale].enter_arithmetic_answer}]})(ie.a.createElement(F.a,{autoComplete:"off",size:"large",placeholder:window.locale[this.props.login.locale].enter_arithmetic_answer,onPressEnter:this.handleAccountSubmit}))),ie.a.createElement(U.a,{span:10},ie.a.createElement("div",{className:Te.a.captcha,onClick:function(){e.queryLoginKaptcha(c.uid)}},ie.a.createElement("img",{alt:"logo",src:c.content}),ie.a.createElement("div",{className:Te.a.codeMask+" "+(c.refresh?"":Te.a.codeHide),onClick:function(t){t.stopPropagation(),e.reFreshCode()}},window.locale[this.props.login.locale].security_code_invalid))))):null,ie.a.createElement(ze,{style:{marginBottom:20}},ie.a.createElement(P.a,null,ie.a.createElement(U.a,{span:q?3:8},q?null:M("rememberMe",{valuePropName:"checked",initialValue:h.rememberMe})(ie.a.createElement(I.a,null,ie.a.createElement("a",{style:Array.isArray(E)?{color:E[0]}:{color:E}},window.locale[this.props.login.locale].remember_pass)))),ie.a.createElement(U.a,{span:q?21:16,className:Te.a.jzmm},window.tip.isShowAppDownload?ie.a.createElement(oe.Fragment,null,ie.a.createElement("span",{onMouseEnter:function(){document.getElementById("downCodeImg").style.display="block"},onMouseLeave:function(){document.getElementById("downCodeImg").style.display="none"}},window.tip.appDownName,"APPä¸è½½"),ie.a.createElement(D.a,{type:"vertical"}),ie.a.createElement("img",{id:"downCodeImg",style:{display:"none",position:"absolute",top:"-270px",left:0,width:280,height:280}
1,src:window.tip.codeImg})):null,L.loginfoundPaawordUrl&&"null"!=L.loginfoundPaawordUrl?ie.a.createElement("a",{onClick:function(){var e=L.loginfoundPaawordUrl;q&&(e=L.mobileLoginfoundPaawordUrl),window.location.href=e}},window.locale[this.props.login.locale].forget_pass):null))),ie.a.createElement(ze,{className:Te.a.mb0},ie.a.createElement(V.a,{className:le()(Te.a.submit,n({},Te.a.logining,!0),n({},Te.a.half_opacity,!Q)),style:Array.isArray(E)?{borderColor:E[0],background:E[0]}:{borderColor:E,background:E},onClick:this.handleAccountSubmit,type:"primary",size:"large",disabled:!Q},window.locale[this.props.login.locale].login),ie.a.createElement("div",{id:"captcha-box"})),ie.a.createElement(ze,{className:Te.a.otherLink},ie.a.createElement(P.a,null,L.loginQuestionUrl&&"null"!=L.loginQuestionUrl?ie.a.createElement("a",{onClick:function(){var e=L.loginQuestionUrl;q&&(e=L.mobileLoginQuestionUrl),window.location.href=e}},window.locale[this.props.login.locale].common_problem):null,q&&L.isOpenLoginAppeal&&1==L.isOpenLoginAppeal?ie.a.createElement("a",{onClick:function(){var e=L.loginAppealUrl;window.location.href=e}},window.locale[this.props.login.locale].account_appeal):null,L.isOpenLoginAcountCheck&&1==L.isOpenLoginAcountCheck?ie.a.createElement(T.a,{content:ie.a.createElement("div",null,ie.a.createElement(F.a,{size:"large",onBlur:this.getusername,placeholder:window.locale[this.props.login.locale].enter_name,style:{marginBottom:"10px"}}),ie.a.createElement(F.a,{size:"large",onBlur:this.getusercardid,placeholder:window.locale[this.props.login.locale].enter_ID_card,style:{marginBottom:"10px"}}),L.isVerifyCodeType.indexOf("3")>-1?ie.a.createElement(P.a,{gutter:8},ie.a.createElement(U.a,{span:14},ie.a.createElement(F.a,{autoComplete:"off",size:"large",placeholder:window.locale[this.props.login.locale].enter_arithmetic_answer,onBlur:this.getQueryCode,style:{marginBottom:"10px"}})),ie.a.createElement(U.a,{span:10},ie.a.createElement("div",{style:{marginTop:"7px"},onClick:function(){e.queryQueryKaptcha(e.state.loginCode.uid)}},ie.a.createElement("img",{alt:"logo",src:this.state.loginCode.content})))):null,ie.a.createElement(V.a,{className:le()(Te.a.submit,n({},Te.a.logining,!0)),style:Array.isArray(E)?{border:"none",width:"100%",background:E[0]}:{border:"none",width:"100%",background:E},onClick:this.handleCheckAccount,type:"primary",size:"large"},window.locale[this.props.login.locale].query),ie.a.createElement(k.a,{dataSource:y,columns:w}),ie.a.createElement("a",{onClick:this.hide,style:{color:"#40a9ff"}},window.locale[this.props.login.locale].close)),title:window.locale[this.props.login.locale].account_query,trigger:"click",visible:this.state.visible,onVisibleChange:this.handleVisibleChange},q?null:ie.a.createElement("a",null,window.locale[this.props.login.locale].account_query)):null))),ie.a.createElement("div",{style:q?{color:"#01774F",fontSize:"15px",fontWeight:"bold",display:this.props.login.submitnote,textAlign:"center",top:"180px",left:"95px",position:"absolute"}:{color:"#01774F",fontSize:"15px",fontWeight:"bold",display:this.props.login.submitnote,textAlign:"center",top:"215px",left:"50%",transform:"translate(-50%, 0)",position:"absolute"}},window.locale[this.props.login.locale].verify_wait))),2==i&&"1"==L.isSMS?ie.a.createElement(we.a,W,ie.a.createElement("div",{style:{background:this.props.login.submitpending},className:Te.a.anim_box,key:"B"},ie.a.createElement(ne.a,{style:{display:this.props.login.submitting},onSubmit:this.handleSmsSubmit},ie.a.createElement(ze,null,M("mobile",{rules:[{required:!0,message:window.locale[this.props.login.locale].enter_phone},{pattern:/^1[3457896]([0-9]{9})$/,message:window.locale[this.props.login.locale].phone_format_error}]})(ie.a.createElement(F.a,{size:"large",ref:function(t){return e.inputRef2=t},prefix:ie.a.createElement(z.a,{type:"user",style:{color:"rgba(0,0,0,.25)"}}),placeholder:window.locale[this.props.login.locale].enter_phone}))),L.isVerifyCodeType.indexOf("2")>-1?ie.a.createElement(ze,{className:Te.a.mb6},ie.a.createElement(P.a,{gutter:8},ie.a.createElement(U.a,{span:13},M("captcha",{rules:[{required:!0,message:window.locale[this.props.login.locale].enter_arithmetic_answer}]})(ie.a.createElement(F.a,{size:"large",autoComplete:"off",onPressEnter:this.handleAccountSubmit,placeholder:window.locale[this.props.login.locale].enter_arithmetic_answer}))),ie.a.createElement(U.a,{span:10},ie.a.createElement("div",{className:Te.a.captcha,onClick:function(){return e.queryLoginKaptcha(c.uid)}},ie.a.createElement("img",{style:{width:"100%",height:"46px",margin:"0 0 2px 14px"},alt:"logo",src:c.content}))))):null,ie.a.createElement(ze,null,M("smsCode",{rules:[{required:!0,message:window.locale[this.props.login.locale].enter_security_code}]})(ie.a.createElement(F.a,{size:"large",className:Te.a.code,prefix:ie.a.createElement(z.a,{type:"lock",style:{color:"rgba(0,0,0,.25)"}}),placeholder:window.locale[this.props.login.locale].enter_security_code})),ie.a.createElement("div",{className:le()(Te.a.send,n({},Te.a.disabled,l)),style:Array.isArray(E)?{color:E[0]}:{color:E},onClick:function(){e.onSendCode()}},l?s:window.locale[this.props.login.locale].send_security_code)),ie.a.createElement(ze,{className:Te.a.mb0},ie.a.createElement(V.a,{className:le()(Te.a.submit,n({},Te.a.logining,!0)),style:Array.isArray(E)?{borderColor:E[0],background:E[0]}:{borderColor:E,background:E},type:"primary",size:"large",htmlType:"submit"},window.locale[this.props.login.locale].login)),ie.a.createElement(ze,{className:Te.a.jzmm},L.loginQuestionUrl&&"null"!=L.loginQuestionUrl?ie.a.createElement("a",{onClick:function(){window.location.href=q?L.mobileLoginQuestionUrl:L.loginQuestionUrl}},window.locale[this.props.login.locale].common_problem):null)),ie.a.createElement("div",{style:q?{color:"#01774F",fontSize:"15px",fontWeight:"bold",display:this.props.login.submitnote,textAlign:"center",top:"180px",left:"95px",position:"absolute"}:{color:"#01774F",fontSize:"15px",fontWeight:"bold",display:this.props.login.submitnote,textAlign:"center",top:"215px",left:"175px",position:"absolute"}},window.locale[this.props.login.locale].verify_wait))):null,5==i&&"1"==L.isFinger?ie.a.createElement("div",{className:Te.a.qr_box_Finger},ie.a.createElement(de.a,{history:this.props.history,config:W})):null,6==i&&"1"==L.isUkeyLogin?ie.a.createElement("div",{className:Te.a.qr_box_ukey},ie.a.createElement(pe.a,{history:this.props.history,config:W,ukeyIsIn:r,
1isConn:_})):null,ie.a.createElement("div",{className:Te.a.type_box},"1"==L.isqq&&!q&&L.loginIconType.indexOf("3")>=0?ie.a.createElement(v.a,{title:window.locale[this.props.login.locale].QQ_login},ie.a.createElement("span",{className:Te.a.type,onClick:function(){window.location=e.state.qqLoginUrl}},ie.a.createElement("span",{className:le()(Te.a.icon_qq,Te.a.type_icon)}))):null,"1"==L.isWeiBo&&!q&&!q&&L.loginIconType.indexOf("4")>=0?ie.a.createElement(v.a,{title:window.locale[this.props.login.locale].weibo_login},ie.a.createElement("span",{className:Te.a.type,onClick:function(){window.location=e.state.weiboLoginUrl}},ie.a.createElement("span",{className:le()(Te.a.icon_weibo,Te.a.type_icon)}))):null,2!=i||!L.loginTabType||L.loginTabType.indexOf(2)>=0?"1"==L.isSMS&&L.loginIconType.indexOf("1")>=0?ie.a.createElement(v.a,{title:window.locale[this.props.login.locale].sms_login},ie.a.createElement("span",{className:Te.a.type,onClick:function(){e.setState({loginType:2,mobileTitle:"çä¿¡ç»å½"},function(){e.clearAllTimers()})}},ie.a.createElement("span",{className:le()(Te.a.icon_mobile,Te.a.type_icon)}))):null:ie.a.createElement(v.a,{title:window.locale[this.props.login.locale].pass_login},ie.a.createElement("span",{className:Te.a.type,onClick:function(){e.setState({loginType:1,mobileTitle:"å¯ç ç»å½"},function(){e.clearAllTimers()})}},ie.a.createElement("span",{className:le()(Te.a.icon_mm,Te.a.type_icon)}))),"1"==L.isFinger&&!q&&L.loginIconType.indexOf("5")>=0?q||5==i?ie.a.createElement(v.a,{title:window.locale[this.props.login.locale].pass_login},ie.a.createElement("span",{className:Te.a.type,onClick:function(){e.setState({loginType:1},function(){e.clearAllTimers()})}},ie.a.createElement("span",{className:le()(Te.a.icon_mm,Te.a.type_icon)}))):ie.a.createElement(v.a,{title:window.locale[this.props.login.locale].finger_login},ie.a.createElement("span",{className:Te.a.type,onClick:function(){e.setState({loginType:5},function(){e.clearAllTimers()})}},ie.a.createElement("span",{className:le()(Te.a.icon_finger,Te.a.type_icon)}))):null)),!q&&L.casDesc&&ie.a.createElement(ve.a,{html:L.casDesc}))),ie.a.createElement("div",{className:Te.a.mask_center})),ie.a.createElement("div",{className:Te.a.mask_footer},q?null:ie.a.createElement("div",{className:Te.a.footer},ie.a.createElement(ue.a,{content:L.casfoot?L.casfoot:""}))))):null)}}]),t}(ie.a.Component),d=function(){var e=this;this.resize=function(){a.i(he.c)().windowH<970&&a.i(he.c)().windowW>980?document.body.style.overflowY="auto":document.body.style.overflowY="hidden",e.setState({windowW:a.i(he.c)().windowW})},this.initLogin=function(){e.loadAccountInfo(),e.queryLogin(e.props),e.queryLogo(),(navigator.userAgent.indexOf("MSIE")>-1||navigator.userAgent.indexOf("Firefox")>-1)&&!navigator.userAgent.indexOf("opera")>-1&&e.setState({ukeyIsConn:!0})},this.handleChangePass=function(t){var a=t.target.value;a.length>0||(Xe=""),a=a.replace(/./g,"*"),e.props.form.setFieldsValue({password:a});var n=Xe,o=e.state.userInfo.password;o&&(o!=n?e.setState({userInfo:Ke({},e.state.userInfo,{change:!0})}):e.setState({userInfo:Ke({},e.state.userInfo,{change:!1})}))},this.encodePass=function(e){a.i(fe.a)(131);var t=a.i(fe.b)(xe.a.public_exponent,"",xe.a.modulus);return a.i(fe.c)(t,e)},this.handleAccountSubmit=function(t){t.preventDefault();var n=e.props.login.loginData,o=e.state.loginCode;e.props.form.validateFieldsAndScroll(function(t,i){if(console.log(i),!t){if(!document.getElementById("password").value)return void e.setState({hasError:!0});var r="",l="";"1"==n.isVerifyCode&&(r=o.uid,l=i.captcha);var s=a(5),c=window.location.search;c=c.substring(c.indexOf("?")+1);var u=s.parse(c),d=n.defaultLoginUrl;d=u&&u.service?u.service:n.defaultLoginUrl,l=l?l.replace(/(^\s*)|(\s*$)/g,""):"";try{new Promise(function(t){e.props.dispatch(a.i(ce.c)(i.userName,i.password,d,"",e.props.history,i.rememberMe,e.state.userInfo.change,r,l,t,n.captchaType))}).then(function(){e.queryLoginKaptcha(r)})}catch(t){e.props.dispatch(a.i(ce.e)("block","none","none"))}}})},this.handleSmsSubmit=function(t){t.preventDefault(),e.props.form.validateFieldsAndScroll(function(t,n){if(!t){var o={mobile:n.mobile,code:n.smsCode};e.props.dispatch(a.i(ce.e)("none","url("+Oe.a+") no-repeat 50% 30%","block")),a.i(Se.b)(xe.a.CAS+"/sms/validateCode",o).then(function(t){var n=t.meta,o=t.data;if(n.success){if(o){var i=a(5),r=window.location.search;r=r.substring(r.indexOf("?")+1);var l=i.parse(r),s=o.service;l&&l.service&&(s=l.service),e.props.dispatch(a.i(ce.c)(o.userName,o.passWord,s,"2",e.props.history))}}else w.a.error({title:window.locale[e.props.login.locale].sms_login,content:n.message}),e.props.dispatch(a.i(ce.e)("block","none","none"))})}})},this.handleWXCode=function(){e.setState({loginType:3,wechatCode:Ke({},e.state.wechatCode,{stop:!1}),appCode:Ke({},e.state.appCode,{stop:!0}),mmdlCode:Ke({},e.state.mmdlCode,{stop:!0})},function(){e.clearAllTimers(),e.wxQrTimeout||e.checkScanWXQr(e.state.wechatCode.uuid),e.handleChangeWXQr()})},this.handleDdCode=function(){e.setState({loginType:13,ddCode:Ke({},e.state.ddCode,{stop:!1}),wechatCode:Ke({},e.state.wechatCode,{stop:!1}),appCode:Ke({},e.state.appCode,{stop:!0}),mmdlCode:Ke({},e.state.mmdlCode,{stop:!0})},function(){e.clearAllTimers(),e.ddQrTimeout||e.checkScanDdQr(e.state.ddCode.uuid),e.handleChangeDdQr()})},this.handleAppCode=function(){e.setState({loginType:4,appCode:Ke({},e.state.appCode,{stop:!1}),wechatCode:Ke({},e.state.wechatCode,{stop:!0}),mmdlCode:Ke({},e.state.mmdlCode,{stop:!0})},function(){e.clearAllTimers(),e.appQrTimeout||e.checkScanPhoneQr(e.state.appCode.uuid),e.handleChangeAppQr()})},this.handleMMDLCode=function(){e.setState({loginType:9,mmdlCode:Ke({},e.state.mmdlCode,{stop:!1}),appCode:Ke({},e.state.appCode,{stop:!0}),wechatCode:Ke({},e.state.wechatCode,{stop:!0})},function(){e.clearAllTimers(),e.mmdlQrTimeout||e.checkScanMMDLQr(e.state.mmdlCode.uuid),a.i(he.a)("browserId")||e.handleChangeMMDLQr()})},this.goMMDL=function(){var t=a(5),n=a.i(he.a)("browserId");a.i(Se.b)(xe.a.CAS+"/cam/v1/confirm",t.stringify({browserId:n})).then(function(t){var a=t.meta;t.data;a.success?e.handleMMDLCode():w.a.error({title:window.locale[e.props.login.locale].warn,content:a.message})})},this.onEye=function(){e.setState({eye:!e.state.eye})},this.handleRefreshAppQrClick=function(){var t=e.props.login;t.loginData&&"1"==t.loginData.isApp&&e.state.appCode.refresh&&e.setState({appCode:Ke({},e.state.appCode,{refresh:!1})},function(){e.queryAppQrCode(""),e.checkScanPhoneQr()})}
1,this.handleRefreshMMDLQrClick=function(){var t=e.props.login;t.loginData&&"1"==t.loginData.isMMDL&&e.state.mmdlCode.refresh&&e.setState({mmdlCode:Ke({},e.state.mmdlCode,{refresh:!1})},function(){e.queryMMDLQrCode(""),e.checkScanMMDLQr()})},this.handleRefreshWXQrClick=function(){var t=e.props.login;t.loginData&&"1"==t.loginData.isWeChat&&e.state.wechatCode.refresh&&e.setState({wechatCode:Ke({},e.state.wechatCode,{refresh:!1})},function(){e.queryWechat(""),e.checkScanWXQr()})},this.handleRefreshDdQrClick=function(){var t=e.props.login;t.loginData&&"1"==t.loginData.isDingDing&&e.state.ddCode.refresh&&e.setState({ddCode:Ke({},e.state.ddCode,{refresh:!1})},function(){e.queryDdCode(""),e.checkScanDdQr()})},this.onSendCode=function(){e.state.sending||e.props.form.validateFields(["mobile","captcha"],{force:!0},function(t,a){if(!t){e.setState({sending:!0});var n=(new Date).getTime(),o=e.encodePass(xe.a.TAG+n),i=e.props.login.loginData.smsSendTime;i=60*parseInt(i),e.setState({count:i}),e.timer=setInterval(function(){e.setState({count:i--},function(){0===e.state.count&&(clearInterval(e.timer),e.timer=null,e.setState({sending:!1}))})},1e3);var r={mobile:a.mobile,username:a.mobile,module:"0"};e.props.login.loginData.isVerifyCodeType.indexOf("2")>-1&&(r.module="3",r.code=a.captcha,r.id=e.state.loginCode.uid),ge.a.post(xe.a.CAS+"/login/mobile/generateCode",r,{headers:{token:o}}).then(function(t){var a=t.data,n=a.meta;a.data;if(n.success)w.a.success({title:window.locale[e.props.login.locale].warn,content:window.locale[e.props.login.locale].send_sms_code_success});else{e.timer&&(clearInterval(e.timer),e.timer=null),e.setState({sending:!1});var o=n.message;"CODEFALSE"==n.message&&(o="éªè¯ç é误"),w.a.error({title:window.locale[e.props.login.locale].warn,content:o}),e.queryLoginKaptcha(e.state.loginCode.uid)}})}})},this.queryLogo=function(){var t=e.state.leftIcon.bgIcon1,a=e.state.leftIcon.bgIcon2,n=e.state.leftIcon.bgIcon3,o=e.state.leftIcon.loginLogo,i=!1,r=!1;e.props.login.loginData.attachments&&e.props.login.loginData.attachments.forEach(function(e){"ly-iap-attachment_bg1"==e.sourceId&&(t=e.source),"ly-iap-attachment_bg2"==e.sourceId&&(a=e.source,i=!0),"ly-iap-attachment_bg3"==e.sourceId&&(n=e.source,r=!0),"ly-iap-attachment_casLogo"==e.sourceId&&(o=e.source)}),e.setState({leftIcon:{bgIcon1:t,bgIcon2:a,bgIcon3:n,loginLogo:o,isBicon2:i,isBicon3:r}})},this.queryLoginKaptcha=function(t){ge.a.get(xe.a.CAS+"/kaptcha",{params:{uid:t}}).then(function(t){"200"==t.status&&t.data&&(t.data.uid&&"-1"!=t.data.uid&&e.setState({loginCode:Ke({},t.data,{isLoginCode:!1,refresh:!1})}),e.handleCodeTime())})},this.queryQueryKaptcha=function(t){ge.a.get(xe.a.CAS+"/kaptcha",{params:{uid:t}}).then(function(t){"200"==t.status&&t.data&&t.data.uid&&"-1"!=t.data.uid&&e.setState({queryCode:Ke({},t.data,{isQueryCode:!1})})})},this.queryAppQrCode=function(){ge.a.get(xe.a.CAS+"/QrCode",{params:{cmd:"getQr"}}).then(function(t){"200"==t.status&&t.data&&e.setState({appCode:Ke({},e.state.appCode,t.data,{isAppCode:!1})},function(){e.changeAppQrTimeOut&&(clearTimeout(e.changeAppQrTimeOut),e.changeAppQrTimeOut=null),e.appQrTimeout&&(clearTimeout(e.appQrTimeout),e.appQrTimeout=null,e.handleAppCode())})})},this.queryWechat=function(){ge.a.get(xe.a.CAS+"/weChat/CreateQRcode",{params:{businessType:"login",platformType:"wx"}}).then(function(t){"200"==t.status&&t.data&&e.setState({wechatCode:Ke({},e.state.wechatCode,t.data,{isWeChatCode:!1})},function(){e.changeWXQrTimeOut&&(clearTimeout(e.changeWXQrTimeOut),e.changeWXQrTimeOut=null),e.wxQrTimeout&&(clearTimeout(e.wxQrTimeout),e.wxQrTimeout=null,e.handleWXCode())})})},this.queryDdCode=function(){ge.a.get(xe.a.CAS+"/weChat/CreateQRcode",{params:{serviceType:"login",platformType:"dd"}}).then(function(t){"200"==t.status&&t.data&&e.setState({ddCode:Ke({},e.state.ddCode,t.data,{isDdCode:!1})},function(){e.changeDdQrTimeOut&&(clearTimeout(e.changeDdQrTimeOut),e.changeDdQrTimeOut=null),e.ddQrTimeout&&(clearTimeout(e.ddQrTimeout),e.ddQrTimeout=null,e.handleDdCode())})})},this.queryMMDLQrCode=function(){ge.a.get(xe.a.CAS+"/cam/v1/MMDLQrCode",{params:{cmd:"getQr"}}).then(function(t){"200"==t.status&&t.data&&e.setState({mmdlCode:Ke({},e.state.mmdlCode,t.data,{isMMDLCode:!1})},function(){e.changeMMDLQrTimeOut&&(clearTimeout(e.changeMMDLQrTimeOut),e.changeMMDLQrTimeOut=null),e.mmdlQrTimeout&&(clearTimeout(e.mmdlQrTimeout),e.mmdlQrTimeout=null,e.handleMMDLCode())})})},this.queryQQLoginUrl=function(){var t=a(5),n=window.location.search;n=n.substring(n.indexOf("?")+1);var o=t.parse(n),i="";o&&o.service&&(i=o.service),i.replace("&","&").replace("<","<").replace(">",">").replace('"',""").replace("'","'").replace("/","/"),a.i(Se.a)(xe.a.CAS+"/qq/qqLoginURL",{service:i}).then(function(t){var a=t.meta,n=t.data;a.success&&n&&e.setState({qqLoginUrl:n})})},this.queryWeiBoLoginUrl=function(){var t=a(5),n=window.location.search;n=n.substring(n.indexOf("?")+1);var o=t.parse(n),i="";o&&o.service&&(i=o.service),i.replace("&","&").replace("<","<").replace(">",">").replace('"',""").replace("'","'").replace("/","/"),a.i(Se.a)(xe.a.CAS+"/weibo/weiboLoginURL",{service:i}).then(function(t){var a=t.meta,n=t.data;a.success&&n&&e.setState({weiboLoginUrl:n})})},this.queryDingDingLoginUrl=function(){var t=a(5),n=window.location.search;n=n.substring(n.indexOf("?")+1);var o=t.parse(n),i="";o&&o.service&&(i=o.service),i.replace("&","&").replace("<","<").replace(">",">").replace('"',""").replace("'","'").replace("/","/"),a.i(Se.a)(xe.a.CAS+"/dingding/dingdingLoginURL",{service:i}).then(function(t){var a=t.meta,n=t.data;a.success&&n&&e.setState({dingdingLoginUrl:n})})},this.queryPreLoginType=function(){var t=a.i(he.a)("loginType");t&&(e.setState({loginType:t,isFirst:!0}),3==t&&(e.queryWechat(""),e.checkScanWXQr()),4==t&&(e.queryAppQrCode(""),e.checkScanPhoneQr(e.state.appCode.uuid)),13==t&&(e.queryDdCode(""),e.checkScanDdQr(e.state.ddCode.uuid)),9==t&&(e.queryMMDLQrCode(""),e.checkScanMMDLQr(e.state.mmdlCode.uuid)))},this.queryLogin=function(t){var n=t.login;if(n.loginData&&"1"==n.loginData.isVerifyCode&&e.state.loginCode.isLoginCode){if(a.i(he.c)().windowW<=980)return;e.queryLoginKaptcha(""),e.queryQueryKaptcha("")}n.loginData&&"1"==n.loginData.isqq&&!e.state.qqLoginUrl&&e.queryQQLoginUrl(),n.loginData&&"1"==n.loginData.isWei
1Bo&&!e.state.weiboLoginUrl&&e.queryWeiBoLoginUrl()},this.checkScanMMDLQr=function(t){var n=a(5),o=a.i(he.a)("browserId");o&&(t=o),e.mmdlQrTimeout=setTimeout(function(){a.i(Se.b)(xe.a.CAS+"/cam/v1/checkScanMMDL",n.stringify({ticket:t})).then(function(n){var o=n.meta,i=n.data;if(o.success){var r=a(5),l=window.location.search;l=l.substring(l.indexOf("?")+1);var s=r.parse(l),c=i.service;s&&s.service&&(c=s.service),i?(e.mmdlQrTimeout&&(clearTimeout(e.mmdlQrTimeout),e.mmdlQrTimeout=null),e.changeMMDLQrTimeOut&&(clearTimeout(e.changeMMDLQrTimeOut),e.changeMMDLQrTimeOut=null),i.browserId&&a.i(he.b)("browserId",i.browserId),e.setState({mmdlQr:Ke({},i)},function(){e.props.dispatch(a.i(ce.c)(i.userName,i.passWord,c,"9",e.props.history))})):e.state.mmdlCode.stop||e.state.mmdlCode.refresh?(e.mmdlQrTimeout&&(clearTimeout(e.mmdlQrTimeout),e.mmdlQrTimeout=null),e.changeMMDLQrTimeOut&&(clearTimeout(e.changeMMDLQrTimeOut),e.changeMMDLQrTimeOut=null)):e.checkScanMMDLQr(t)}else"noLogin"==o.message&&(a.i(he.f)("browserId"),e.setState({isAvoidPass:"0"})),e.state.mmdlCode.stop||e.state.mmdlCode.refresh?(e.mmdlQrTimeout&&(clearTimeout(e.mmdlQrTimeout),e.mmdlQrTimeout=null),e.changeMMDLQrTimeOut&&(clearTimeout(e.changeMMDLQrTimeOut),e.changeMMDLQrTimeOut=null)):e.checkScanMMDLQr(t)})},1e3)},this.checkScanPhoneQr=function(t){var n=a(5);e.appQrTimeout=setTimeout(function(){a.i(Se.b)(xe.a.CAS+"/CheckScan",n.stringify({ticket:t})).then(function(n){var o=n.meta,i=n.data;if(o.success){var r=a(5),l=window.location.search;l=l.substring(l.indexOf("?")+1);var s=r.parse(l),c=i.service;s&&s.service&&(c=s.service),i?(e.appQrTimeout&&(clearTimeout(e.appQrTimeout),e.appQrTimeout=null),e.changeAppQrTimeOut&&(clearTimeout(e.changeAppQrTimeOut),e.changeAppQrTimeOut=null),e.setState({appQr:Ke({},i)},function(){e.props.dispatch(a.i(ce.c)(i.userName,i.passWord,c,"4",e.props.history))})):e.state.appCode.stop||e.state.appCode.refresh?(e.appQrTimeout&&(clearTimeout(e.appQrTimeout),e.appQrTimeout=null),e.changeAppQrTimeOut&&(clearTimeout(e.changeAppQrTimeOut),e.changeAppQrTimeOut=null)):e.checkScanPhoneQr(t)}else e.state.appCode.stop||e.state.appCode.refresh?(e.appQrTimeout&&(clearTimeout(e.appQrTimeout),e.appQrTimeout=null),e.changeAppQrTimeOut&&(clearTimeout(e.changeAppQrTimeOut),e.changeAppQrTimeOut=null)):e.checkScanPhoneQr(t)})},1e3)},this.checkScanWXQr=function(t){e.wxQrTimeout=setTimeout(function(){a.i(Se.b)(xe.a.CAS+"/weChat/wx/CheckScan",{state:t}).then(function(n){var o=n.meta,i=n.data;if(o.success){var r=a(5),l=window.location.search;l=l.substring(l.indexOf("?")+1);var s=r.parse(l),c=i.service;s&&s.service&&(c=s.service),i?(e.wxQrTimeout&&(clearTimeout(e.wxQrTimeout),e.wxQrTimeout=null),e.changeWXQrTimeOut&&(clearTimeout(e.changeWXQrTimeOut),e.changeWXQrTimeOut=null),e.setState({wxQr:Ke({},i)},function(){e.props.dispatch(a.i(ce.c)(i.userName,i.passWord,c,"3",e.props.history))})):e.state.wechatCode.stop||e.state.wechatCode.refresh?(e.wxQrTimeout&&(clearTimeout(e.wxQrTimeout),e.wxQrTimeout=null),e.changeWXQrTimeOut&&(clearTimeout(e.changeWXQrTimeOut),e.changeWXQrTimeOut=null)):e.checkScanWXQr(t)}else e.state.wechatCode.stop||e.state.wechatCode.refresh?(e.wxQrTimeout&&(clearTimeout(e.wxQrTimeout),e.wxQrTimeout=null),e.changeWXQrTimeOut&&(clearTimeout(e.changeWXQrTimeOut),e.changeWXQrTimeOut=null)):e.checkScanWXQr(t)})},1e3)},this.checkScanDdQr=function(t){e.ddQrTimeout=setTimeout(function(){a.i(Se.b)(xe.a.CAS+"/weChat/wx/CheckScan",{state:t}).then(function(n){var o=n.meta,i=n.data;if(o.success){var r=a(5),l=window.location.search;l=l.substring(l.indexOf("?")+1);var s=r.parse(l),c=i.service;s&&s.service&&(c=s.service),i?(e.ddQrTimeout&&(clearTimeout(e.ddQrTimeout),e.ddQrTimeout=null),e.changeDdQrTimeOut&&(clearTimeout(e.changeDdQrTimeOut),e.changeDdQrTimeOut=null),e.setState({ddQr:Ke({},i)},function(){e.props.dispatch(a.i(ce.c)(i.userName,i.passWord,c,"13",e.props.history))})):e.state.ddCode.stop||e.state.ddCode.refresh?(e.ddQrTimeout&&(clearTimeout(e.ddQrTimeout),e.ddQrTimeout=null),e.changeDdQrTimeOut&&(clearTimeout(e.changeDdQrTimeOut),e.changeDdQrTimeOut=null)):e.checkScanDdQr(t)}
1else e.state.ddCode.stop||e.state.ddCode.refresh?(e.ddQrTimeout&&(clearTimeout(e.ddQrTimeout),e.ddQrTimeout=null),e.changeDdQrTimeOut&&(clearTimeout(e.changeDdQrTimeOut),e.changeDdQrTimeOut=null)):e.checkScanDdQr(t)})},1e3)},this.handleChangeAppQr=function(){e.state.appCode.refresh&&e.setState({appCode:Ke({},e.state.appCode,{refresh:!1})},function(){e.queryAppQrCode(""),e.changeAppQrTimeOut&&(clearTimeout(e.changeAppQrTimeOut),e.changeAppQrTimeOut=null)}),e.changeAppQrTimeOut=setTimeout(function(){e.state.appCode.stop||e.state.appCode.refresh||e.setState({appCode:Ke({},e.state.appCode,{refresh:!0})})},3e5)},this.handleChangeWXQr=function(){e.state.wechatCode.refresh&&e.setState({wechatCode:Ke({},e.state.wechatCode,{refresh:!1})},function(){e.queryWechat(""),e.changeWXQrTimeOut&&(clearTimeout(e.changeWXQrTimeOut),e.changeWXQrTimeOut=null)}),e.changeWXQrTimeOut=setTimeout(function(){e.state.wechatCode.stop||e.state.wechatCode.refresh||e.setState({wechatCode:Ke({},e.state.wechatCode,{refresh:!0})})},3e5)},this.handleChangeDdQr=function(){e.state.ddCode.refresh&&e.setState({ddCode:Ke({},e.state.ddCode,{refresh:!1})},function(){e.queryDdCode(""),e.changeDdQrTimeOut&&(clearTimeout(e.changeDdQrTimeOut),e.changeDdQrTimeOut=null)}),e.changeDdQrTimeOut=setTimeout(function(){e.state.ddCode.stop||e.state.ddCode.refresh||e.setState({ddCode:Ke({},e.state.ddCode,{refresh:!0})})},3e5)},this.handleChangeMMDLQr=function(){e.state.mmdlCode.refresh&&e.setState({mmdlCode:Ke({},e.state.mmdlCode,{refresh:!1})},function(){e.queryMMDLQrCode(""),e.changeMMDLQrTimeOut&&(clearTimeout(e.changeMMDLQrTimeOut),e.changeMMDLQrTimeOut=null)}),e.changeMMDLQrTimeOut=setTimeout(function(){e.state.mmdlCode.stop||e.state.mmdlCode.refresh||e.setState({mmdlCode:Ke({},e.state.mmdlCode,{refresh:!0})})},3e5)},this.loadAccountInfo=function(){var t=localStorage.getItem("accountInfo")&&JSON.parse(localStorage.getItem("accountInfo"));if(t){if(!(t&&(new Date).getTime()<t.expires))return localStorage.removeItem("accountInfo"),null;var a="",n="",o=new Array;o=t.value.split("&"),a=o[0],n=o[1],e.setState({userInfo:Ke({},e.state.userInfo,{userName:a,password:n,inputPassWord:n,rememberMe:!0}),login_btn_show:!0,is_AccountValue:!0,is_PasswordValue:!0})}},this.findUkeyClient=function(){try{(new _e.a).Socket_UK.onopen=function(){e.setState({ukeyIsConn:!0})}}catch(e){}},this.ukeyEventListener=function(){try{if((navigator.userAgent.indexOf("MSIE")>-1||navigator.userAgent.indexOf("Firefox")>-1)&&!navigator.userAgent.indexOf("opera")>-1)return e.ukeyEventListenerIE10();var t=new _e.a;e.setState({ukeyIsIn:!0}),t.Socket_UK.onmessage=function(t){var a=JSON.parse(t.data);"PnpEvent"==a.type&&(a.IsIn?(g.a.info(window.locale[e.props.login.locale].ukey_insert),e.setState({ukeyIsIn:!0})):(g.a.info(window.locale[e.props.login.locale].ukey_insert),e.setState({ukeyIsIn:!1})))}}catch(t){w.a.error({title:window.locale[e.props.login.locale].warn,content:window.locale[e.props.login.locale].ukey_login_not_use})}},this.ukeyEventListenerIE10=function(){try{var t=new ActiveXObject("Syunew3A.s_simnew3");if(t.FindPort(0),0==t.LastError)return e.ukeyTimeout=setTimeout(function(){e.setState({ukeyIsIn:!0})},1e3),!1}catch(t){w.a.error({title:window.locale[e.props.login.locale].warn,content:window.locale[e.props.login.locale].ukey_login_not_use})}},this.querySystemName=function(t){a.i(Se.a)("/api/uap/unauthorize/getSystemName",{realmName:t}).then(function(a){var n=a.meta,o=a.data;n.success&&(o?e.setState({systemName:o}):t&&""!=t&&void 0!=t||e.setState({systemName:""}))})},this.hide=function(){e.setState({visible:!1,memban:"none"}),e.queryLoginKaptcha(e.state.loginCode.uid)},this.handleVisibleChange=function(t){e.setState({visible:t,memban:"block"}),e.queryLoginKaptcha(e.state.loginCode.uid)},this.handleCheckAccount=function(t){var a=e.props.login.loginData,n=e.state.loginCode,o="",i="";"1"==a.isVerifyCode&&(o=n.uid,i=e.state.queryCodeValue);var r={username:e.state.userName,cardID:e.state.cardid,uid:o,code:i};ge.a.get(xe.a.CAS+"/checkAccount",{params:r}).then(function(t){if(e.setState({dataSource:[]}),"200"==t.status&&t.data)if(t.data.meta.success){for(var a=[],n=0;n<t.data.data.length;n++)a[n]={screenname:null==t.data.data[n].screenName?"":t.data.data[n].screenName,username:null==t.data.data[n].userName?"":t.data.data[n].userName,othern
1ame:null==t.data.data[n].alias?"":t.data.data[n].alias,cardId:null==t.data.data[n].cardId?"":t.data.data[n].cardId};e.setState({dataSource:a})}else w.a.error({title:window.locale[e.props.login.locale].query_fail,content:t.data.meta.message})}),e.queryQueryKaptcha(o)},this.getusercardid=function(t){e.setState({cardid:t.target.value})},this.getusername=function(t){e.setState({userName:t.target.value})},this.getQueryCode=function(t){e.setState({queryCodeValue:t.target.value})},this.handlePasswordChange=function(t){var a=!1;""==t.target.value&&(a=!0),e.setState({hasError:a})},this.onKeyDown=function(e){if(9==e.keyCode){var t=document.activeElement.getAttribute("id");"userName"==t?document.getElementById("password").click():"password"==t&&document.getElementById("captcha").click()}},this.changeLocaleSelect=function(t){a.i(he.b)("locale",t),e.props.dispatch(a.i(qe.f)(t)),e.setState({currentLocale:t}),e.props.form.resetFields()},this.reFreshCode=function(){e.queryLoginKaptcha(e.state.loginCode.uid),e.setState({loginCode:Ke({},e.state.loginCode,{refresh:!1})})},this.handleCodeTime=function(){e.codeTimer=setTimeout(function(){e.setState({loginCode:Ke({},e.state.loginCode,{refresh:!0})})},e.state.loginCode.timeout?1e3*e.state.loginCode.timeout:3e5)},this.onChangTab=function(t){var a=e.state,n=a.loginType,o=a.secondThemeColor,i=e.props.login,r=i.loginData,l=i.locale;1==t?e.setState({tab:"1",tabList:[{key:"1",name:window.locale[l].account_login},{key:"2",name:2==r.tabType?window.locale[l].sms_login:window.locale[l].Qr_code_Login}],tabHover1:{color:r.themeColor?o||r.themeColor:"#1890fe"},tabHover2:{background:r.themeColor?o||r.themeColor:"#1890fe"},loginType:1,isFirst:!0,appCode:Ke({},e.state.appCode,{stop:!0}),wechatCode:Ke({},e.state.wechatCode,{stop:!0})},function(){e.clearAllTimers()}):2==r.tabType?e.setState({loginType:2,tabList:[{key:"1",name:window.locale[l].account_login},{key:"2",name:window.locale[l].sms_login}],tabHover2:{color:r.themeColor?o||r.themeColor:"#1890fe"},tabHover1:{background:r.themeColor?o||r.themeColor:"#1890fe"}},function(){e.clearAllTimers()}):(n<3||5==n||6==n)&&(e.setState({tab:"2",tabList:[{key:"1",name:3!=r.tabType?window.locale[l].account_login:window.locale[l].sms_login},{key:"2",name:window.locale[l].Qr_code_Login}],tabHover2:{color:r.themeColor?o||r.themeColor:"#1890fe"},tabHover1:{background:r.themeColor?o||r.themeColor:"#1890fe"}}),r.isWeChat&&"1"==r.isWeChat?e.setState({loginType:3,isFirst:!0},function(){e.queryWechat(),e.handleWXCode()}):r.isApp&&"1"==r.isApp&&e.setState({loginType:4,isFirst:!0},function(){e.queryAppQrCode(),e.handleAppCode()}))},this.onChangNewTab=function(t){var a=e.state,n=a.loginType,o=(a.secondThemeColor,a.loginCode),i=e.props.login,r=i.loginData;i.locale;e.queryLoginKaptcha(o.uid),1==t?e.setState({loginType:1,isFirst:!0,appCode:Ke({},e.state.appCode,{stop:!0}),wechatCode:Ke({},e.state.wechatCode,{stop:!0})},function(){e.clearAllTimers()}):2==t?e.setState({loginType:2,appCode:Ke({},e.state.appCode,{stop:!0}),wechatCode:Ke({},e.state.wechatCode,{stop:!0})},function(){e.clearAllTimers()}):(n<3||5==n||6==n)&&(r.isWeChat&&"1"==r.isWeChat?e.setState({loginType:3,isFirst:!0},function(){e.queryWechat(),e.handleWXCode()}):r.isApp&&"1"==r.isApp?e.setState({loginType:4,isFirst:!0},function(){e.queryAppQrCode(),e.handleAppCode()}):e.setState({loginType:13},function(){e.queryDdCode(),e.handleDdCode()}))},this.setQr=function(t,a,n,o){var i=window.tip.appWidth?window.tip.appWidth+8:14*(window.locale[e.props.login.locale].APP_scan_login.length-5)+108,r=window.locale[e.props.login.locale].WeChat_scan_login?14*window.locale[e.props.login.locale].WeChat_scan_login.length+52:0,l=window.locale[e.props.login.locale].auth_scan_login?14*window.locale[e.props.login.locale].auth_scan_login.length+52:0,s=window.locale[e.props.login.locale].Dd_scan_login?14*window.locale[e.props.login.locale].Dd_scan_login.length+52:0;return"1"!=t&&(r=0),"1"!=a&&(i=0),"1"!=n&&(l=0),"1"!=o&&(s=0),i+r+l+s},this.onInputChange=function(t,a){e.setState(n({},t,!!a.target.value),function(){return e.setState({login_btn_show:e.state.is_PasswordValue&&e.state.is_AccountValue})})},this.clearAllTimers=function(){e.appQrTimeout&&(clearTimeout(e.appQrTimeout),e.appQrTimeout=null),e.ddQrTimeout&&(clearTimeout(e.ddQrTimeout),e.ddQrTimeout=null),e.changeAppQrTimeOut&&(clearTimeout(e.changeAppQrTimeOut),e.changeAppQrTimeOut=null),e.wxQrTimeout&&(clearTimeout(e.wxQrTimeout),e.wxQrTimeout=null),e.changeWXQrTimeOut&&(clearTimeout(e.changeWXQrTimeOut),e.changeWXQrTimeOut=null),e.changeDdQrTimeOut&&(clearTimeout(e.changeDdQrTimeOut),e.changeDdQrTimeOut=null),e.mmdlQrTimeout&&(clearTimeout(e.mmdlQrTimeout),e.mmdlQrTimeout=null),e.changeMMDLQrTimeOut&&(clearTimeout(e.changeMMDLQrTimeOut),e.changeMMDLQrTimeOut=null)}},s=u))||s,Ve=ne.a.create()(He);t.a=Ve},599:function(e,t,a){"use strict";function n(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}function r(e,t,a){return t in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a,e}var l,s,c=a(117),u=(a.n(c),a(116)),d=a.n(u),p=a(22),m=(a.n(p),a(21)),g=a.n(m),h=a(41),f=(a.n(h),a(40)),_=a.n(f),w=a(48),y=(a.n(w),a(47)),b=a.n(y),v=a(45),E=(a.n(v),a(44)),C=a.n(E),T=a(28),x=(a.n(T),a(27)),S=a.n(x),k=a(1),O=a.n(k),A=a(12),D=a(51),Q=a(3),N=a.n(Q),I=a(16),L=a(32),M=a(25),P=a(144),W=a(1147),q=a.n(W),U=a(203),R=a.n(U),B=a(86),F=a.n(B),K=function(){function e(e,t){for(var a=0;a<t.length;a++){var n=t[a];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}return function(t,a,n){return a&&e(t.prototype,a),n&&e(t,n),t}}(),j=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var a=arguments[t];for(var n in a)Object.prototype.hasOwnProperty.call(a,n)&&(e[n]=a[n])}return e},z=this,X=function(){function e(e,t){var a=[],n=!0,o=!1,i=void 0;try{for(var r,l=e[Symbol.iterator]();!(n=(r=l.next()).done)&&(a.push(r.value),!t||a.length!==t);n=!0);}catch(e){o=!0,i=e}finally{try{!n&&l.return&&l.return()}finally{if(o)throw i}}return a}return function(t,a){if(Array.isArray(t))return t;if(Symbol.iterator in Object(t))return e(t,a);
1throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),H=S.a.Item,V=a.i(L.c)().windowW<=980,G={animConfig:[{opacity:[1,0],rotateY:[0,180]},{opacity:[1,0],rotateY:[0,-180]}],duration:1e3},J=function(e){var t=e.Children,a=e.locale,n=e.type;return O.a.createElement(D.a,G,O.a.createElement(t,{key:"A",locale:a,type:n}))},Y=function(e){var t=e.login_data,n=t.locale,o=a.i(k.useRef)(null),i=a.i(k.useState)("account"),l=X(i,2),s=l[0],c=l[1],u=S.a.create()(function(e){var t=e.form,a=(t.validateFields,t.getFieldDecorator);return O.a.createElement("div",null,O.a.createElement(S.a,null,O.a.createElement(H,null,a("userName",{rules:[{required:!0,message:window.locale[n].enter_account}]})(O.a.createElement(C.a,{size:"large",placeholder:window.locale[n].enter_account}))),O.a.createElement(H,null,a("password",{rules:[{required:!0,message:window.locale[n].enter_pass}]})(O.a.createElement(C.a.Password,{id:"password",className:window.tip.unlock?null:q.a.password,size:"large",placeholder:window.locale[n].enter_pass,ref:function(e){z.passRef=e},autoComplete:"off"}))),O.a.createElement(H,null,O.a.createElement(_.a,{gutter:8},O.a.createElement(b.a,{span:14},a("captcha",{rules:[{required:!0,message:window.locale[n].enter_arithmetic_answer}]})(O.a.createElement(C.a,{size:"large",placeholder:window.locale[n].enter_arithmetic_answer}))),O.a.createElement(b.a,{span:10},O.a.createElement("div",{className:q.a.captcha},O.a.createElement("img",{style:{width:"100%",height:"40px"},alt:"logo",src:""}),O.a.createElement("div",{className:q.a.codeHide,onClick:function(e){e.stopPropagation()}},window.locale[n].click_refresh))))),O.a.createElement(_.a,null,O.a.createElement(g.a,{className:N()(q.a.submit,q.a.half_opacity,q.a.white_font_color),size:"large"},window.locale[n].login))))}),d=function(e){c(e)};return a.i(k.useEffect)(function(){},[]),O.a.createElement("div",{className:N()(q.a.login_box,r({},q.a.mobile_login_box,V))},O.a.createElement("div",null,O.a.createElement(P.a,{ref:o,locale:n,handle_change_tab:d})),O.a.createElement("div",null,"account"==s&&O.a.createElement(J,{locale:n,Children:u}),("code"==s||"app"==s)&&O.a.createElement(J,{locale:n,type:s,Children:Z})))},Z=function(e){var t=null,n=e.locale,o=e.type,i=a.i(k.useState)({isWeChatCode:!0,stop:!1,refresh:!1}),l=X(i,2),s=l[0],c=l[1],u=a.i(k.useState)({isAppCode:!0,stop:!1,refresh:!1}),d=X(u,2),p=(d[0],d[1],function(){s.refresh&&(c(j({},s,{refresh:!1})),z.queryWechat(""),z.changeWXQrTimeOut&&(clearTimeout(z.changeWXQrTimeOut),z.changeWXQrTimeOut=null)),z.changeWXQrTimeOut=setTimeout(function(){z.state.wechatCode.stop||z.state.wechatCode.refresh||z.setState({wechatCode:j({},z.state.wechatCode,{refresh:!0})})},3e5)}),m=function(e){t=setTimeout(function(){a.i(M.b)(I.a.CAS+"/weChat/wx/CheckScan",{state:e}).then(function(e){})},1e3)};return a.i(k.useEffect)(function(){t||m(s.uuid),p()},[s]),O.a.createElement(O.a.Fragment,null,O.a.createElement("div",{className:q.a.qr_img_box},O.a.createElement("img",{alt:"logo",src:s.content||""}),O.a.createElement("div",{className:q.a.qrMask+" "+(s.refresh?"":q.a.qrMaskHide)},O.a.createElement("span",{className:q.a.link_span},window.locale[n].QR_code_invalid),O.a.createElement("a",{href:"javascript:void(0)",className:q.a.link_refresh},window.locale[n].click_refresh))),O.a.createElement("div",{className:q.a.code_btn},O.a.createElement("span",{className:N()(q.a.qr_type,r({},q.a.active,"code"==o)),onClick:function(){}},O.a.createElement("span",{className:N()(q.a.icon_wx,q.a.type_icon)}),window.locale[n].WeChat_scan_login)))},$=function(e){return O.a.createElement("div",{className:q.a.logo_box},O.a.createElement("img",{src:R.a}))},ee=function(e){return O.a.createElement("div",{className:q.a.footer_box},O.a.createElement("p",null,"èå¥ç§æçæææ 粤ICPå¤120378"),O.a.createElement("p",null,"æ»é¨å°åï¼å¹¿ä¸ç广å·å¸å¤©æ²³åºææè·¯49å·"))},te=function(e){var t=a.i(k.useState)([]),n=X(t,2),o=n[0],i=n[1],r=function(){var e=[{id:"default",source:F.a}];i(e)};return a.i(k.useEffect)(function(){r()}
1,[]),O.a.createElement("div",{className:q.a.Carousel},O.a.createElement(d.a,{autoplay:!0},o.length>0&&o.map(function(e){return O.a.createElement("img",{className:q.a.carousel_box_img,src:e.source,key:e.id,onError:function(e){return e.target.src=F.a}})}),o.length<0&&O.a.createElement("img",{src:F.a})))};(l=a.i(A.b)(function(e){return j({},e)}))(s=function(e){function t(){var e,a,i,r;n(this,t);for(var l=arguments.length,s=Array(l),c=0;c<l;c++)s[c]=arguments[c];return a=i=o(this,(e=t.__proto__||Object.getPrototypeOf(t)).call.apply(e,[this].concat(s))),i.state={name:"éæç认è¯çé¢",login_data:i.props.login},r=a,o(i,r)}return i(t,e),K(t,[{key:"componentDidMount",value:function(){}},{key:"render",value:function(){var e=this.state,t=(e.name,e.login_data),a=t.loginPage,n=t.showType,o=t.tabType;return O.a.createElement("div",null,O.a.createElement("div",{className:N()(q.a.control_box,r({},q.a.mobile_control_box,V))},O.a.createElement($,{type:a}),O.a.createElement(Y,{login_data:t,showType:n,tabType:o}),O.a.createElement(ee,null)),O.a.createElement("div",null,O.a.createElement(te,null)))}}]),t}(O.a.Component))},600:function(e,t,a){"use strict";function n(e){if(Array.isArray(e)){for(var t=0,a=Array(e.length);t<e.length;t++)a[t]=e[t];return a}return Array.from(e)}function o(e){return function(){var t=e.apply(this,arguments);return new Promise(function(e,a){function n(o,i){try{var r=t[o](i),l=r.value}catch(e){return void a(e)}if(!r.done)return Promise.resolve(l).then(function(e){n("next",e)},function(e){n("throw",e)});e(l)}return n("next")})}}function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function r(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function l(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}a.d(t,"a",function(){return E});var s,c,u=a(334),d=a.n(u),p=a(1),m=a.n(p),g=a(12),h=a(29),f=a.n(h),_=a(16),w=a(32),y=a(25),b=function(){function e(e,t){for(var a=0;a<t.length;a++){var n=t[a];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}return function(t,a,n){return a&&e(t.prototype,a),n&&e(t,n),t}}(),v=function(){return{type:"CLEAR_USERINFO",data:null}},E=(s=a.i(g.b)(function(e){return{dispatch:e.dispatch,login:e.login}}))(c=function(e){function t(e){var l=this;i(this,t);var s=r(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return s.casLogout=function(){a.i(y.a)("gatewayLogout").then(function(){var e=o(d.a.mark(function e(t){var o,i;return d.a.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:o=t.meta,i=t.data,o.success&&(a.i(y.a)((window.locale.casName||"/lyuapServer")+"/uniLogout/logoutUrlForFront").then(function(e){var t=e.meta,o=e.data;t.success&&s.setState({logoutList:[].concat(n(s.state.logoutList),n(o))},function(){var e=window.location.search;e=e.substring(e.indexOf("?")+1);var t=a(5),n=t.parse(e);if(n.service&&n.service.split("/")[2],s.state.logoutList.length>0){return}s.handleLogout()})}),s.handleLogout());case 2:case"end":return e.stop()}},e,l)}));return function(t){return e.apply(this,arguments)}}())},s.deleteAllLocalStorage=function(){localStorage.removeItem("response_type"),localStorage.removeItem("client_id"),localStorage.removeItem("redirect_uri"),localStorage.removeItem("scope"),localStorage.removeItem("state"),localStorage.removeItem("isOAuth2")},s.handleLogout=function(){a.i(w.a)("session")&&a.i(w.f)("session"),sessionStorage.removeItem("userLogin"),s.props.dispatch(v());var e=window.location.search;e=e.substring(e.indexOf("?")+1);var t=a(5),n=t.parse(e);if(a.i(w.a)("CASTGC"))f.a.get(_.a.CAS+"/uniLogout?tgt="+a.i(w.a)("CASTGC")).then(function(e){a.i(w.h)(),a.i(w.f)("CASTGC"),s.deleteAllLocalStorage(),window.locale.casName&&a.i(w.f)("CASTGC",window.locale.casName);var t="";n&&n.service&&(t=decodeURIComponent(n.service)),t.indexOf("#")>-1&&(t=decodeURIComponent(t),t=t.replace("#","%23"));var o="/lyuapServer";if(window.locale&&window.locale.casName&&(o=window.locale.casName),window.location.pathname.indexOf("oauth2logout")>-1){var i=o+"/oauth2login?response_type="+getHashParam("response_type")+"&client_id="+getHashParam("client_id")+"&redirect_uri="+encodeURIComponent(getHashParam("redirect_uri"))+"&scope="+getHashParam("scope")+"&state="+getHashParam("state");window.location=i}else window.location=_.a.CAS+"/login?service="+t});else if(localStorage.getItem("TGC")){var o=JSON.parse(localStorage.getItem("TGC")),i=o.tgt,r="";r=n&&n.service?decodeURIComponent(n.service):o.service,f.a.get(_.a.CAS+"/uniLogout?tgt="+i).then(function(e){a.i(w.h)(),localStorage.removeItem("TGC"),r.indexOf("#")>-1&&(r=decodeURIComponent(r),r=r.replace("#","%23"));var t="/lyuapServer";if(window.locale&&window.locale.casName&&(t=window.locale.casName),window.location.pathname.indexOf("oauth2logout")>-1){var n=t+"/oauth2login?response_type="+getHashParam("response_type")+"&client_id="+getHashParam("client_id")+"&redirect_uri="+encodeURIComponent(getHashParam("redirect_uri"))+"&scope="+getHashParam("scope")+"&state="+getHashParam("state");window.location=n}else window.location=_.a.CAS+"/login?service="+r})}else{var l="/lyuapServer";if(window.locale&&window.locale.casName&&(l=window.locale.casName),!(window.location.pathname.indexOf("oauth2logout")>-1)){var c="/lyuapServer/login";return n&&n.service&&(n.service.indexOf("#")>-1&&(n.service=decodeURIComponent(n.service),n.service=n.service.replace("#","%23")),c=_.a.CAS+"/login?service="+n.service),void(window.location=c)}var u=l+"/oauth2login?response_type="+getHashParam("response_type")+"&client_id="+getHashParam("client_id")+"&redirect_uri="+encodeURIComponent(getHashParam("redirect_uri"))+"&scope="+getHashParam("scope")+"&state="+getHashParam("state");window.location=u}},s.state={logoutList:[],handleLogoutList:[]},s}
1return l(t,e),b(t,[{key:"componentWillReceiveProps",value:function(e){document.getElementsByTagName("title")[0].innerText=e.login.loginData.casTitle?e.login.loginData.casTitle:window.locale[this.props.login.locale].login_pageInfo_4}},{key:"componentWillMount",value:function(){this.casLogout()}},{key:"render",value:function(){var e=this.state,t=e.logoutList,a=e.handleLogoutList;return m.a.createElement(m.a.Fragment,null,t.length>0&&t.map(function(e){return m.a.createElement("iframe",{className:"casLogoutList",width:100,height:100,style:{display:"none"},src:e.logoutUrl})}),a.length>0&&a.indexOf(0)<0&&this.handleLogout())}}]),t}(m.a.Component))||c},601:function(e,t,a){"use strict";function n(e,t,a){return t in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a,e}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function r(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var l,s,c=a(22),u=(a.n(c),a(21)),d=a.n(u),p=a(210),m=(a.n(p),a(209)),g=a.n(m),h=a(41),f=(a.n(h),a(40)),_=a.n(f),w=a(53),y=(a.n(w),a(52)),b=a.n(y),v=a(528),E=(a.n(v),a(527)),C=a.n(E),T=a(121),x=(a.n(T),a(96)),S=a.n(x),k=a(28),O=(a.n(k),a(27)),A=a.n(O),D=a(1),Q=a.n(D),N=a(12),I=a(23),L=a(57),M=a(29),P=a.n(M),W=(a(25),a(32)),q=a(51),U=a(3),R=a.n(U),B=a(328),F=a(1148),K=a.n(F),j=a(1469),z=a.n(j),X=a(16),H=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var a=arguments[t];for(var n in a)Object.prototype.hasOwnProperty.call(a,n)&&(e[n]=a[n])}return e},V=function(){function e(e,t){for(var a=0;a<t.length;a++){var n=t[a];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}return function(t,a,n){return a&&e(t.prototype,a),n&&e(t,n),t}}(),G=(A.a.Item,S.a.Option,C.a.Step),J=(l=a.i(N.b)(function(e){return{dispatch:e.dispatch,login:e.login}}))(s=function(e){function t(e){o(this,t);var n=i(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return n.queryOTP=function(){var e=n.props.login.casdata;P.a.get(X.a.CAS+"/login/otp/createQRcode",{username:e.userName,headers:{username:e.userName||"admin",vcodes:e.vcodes||1}}).then(function(t){if("200"==t.status){var a=t.data.meta;a&&!a.success&&(b.a.error("æä½å·²è¶
æ¶ï¼è¯·éæ°ç»å½ç»å®"),window.location=e.service),t.data&&n.setState({wechatCode:H({},n.state.wechatCode,t.data,{isWeChatCode:!1})},function(){n.changeWXQrTimeOut&&(clearTimeout(n.changeWXQrTimeOut),n.changeWXQrTimeOut=null),n.wxQrTimeout&&(clearTimeout(n.wxQrTimeout),n.wxQrTimeout=null)})}})},n.resize=function(){n.setState({windowW:a.i(W.c)().windowW})},n.handleSubmit=function(e){e.preventDefault()},n.handleNextStep=function(){var e=n.state.currentStep,t=e;if(2==e){var o=n.props.login.casdata,i=document.querySelector(".code-input"),r={username:o.userName,code:i.value,loginType:o.type};P.a.post(X.a.CAS+"/login/otp/update",r,{headers:{vcodes:o.vcodes}}).then(function(e){var t=e.data,i=t.meta,r=t.data;if(!i.success)return b.a.error("æ¥å£éªè¯å¤±è´¥ï¼");if(r&&r.flag){var l=o.userName,s=o.passWord,c=o.service,u=o.type,d=o.rememberMe,p=o.change;n.props.dispatch(a.i(I.c)(l,s,c,u,n.props.history,d,p))}}).catch(function(e){b.a.error("æ¥å£éªè¯å¤±è´¥ï¼")})}else n.setState({currentStep:t+=1},function(){})},n.handlePreStep=function(){var e=n.state.currentStep,t=e;0!=e&&n.setState({currentStep:t-=1})},n.state={currentStep:0,windowW:a.i(W.c)().windowW,type:1,sending:!1,wechatCode:{isWeChatCode:!0,stop:!1,refresh:!1}},n}return r(t,e),V(t,[{key:"componentWillUpdate",value:function(e,t){}},{key:"componentWillReceiveProps",value:function(e){document.getElementsByTagName("title")[0].innerText=e.login.loginData.casTitle?e.login.loginData.casTitle:window.locale[this.props.login.locale].login_pageInfo_4}},{key:"componentWillMount",value:function(){window.addEventListener("resize",this.resize,!1),this.queryOTP()}},{key:"componentWillUnmount",value:function(){window.removeEventListener("resize",this.resize)}},{key:"render",value:function(){var e=this.state,t=e.windowW,a=e.wechatCode,o=e.currentStep,i=t<=980;return Q.a.createElement("div",{className:R()(K.a.login_first,n({},K.a.mobile,i))},Q.a.createElement(_.a,{className:K.a.page_top,style:i?{display:"none"}:{}}),Q.a.createElement("div",{className:K.a.container},Q.a.createElement("div",{className:K.a.content},Q.a.createElement("div",{className:K.a.main},Q.a.createElement("div",{style:{fontSize:26,color:"#397ef0",marginBottom:16}},"卿å£ä»¤è®¤è¯"),Q.a.createElement(C.a,{current:o},Q.a.createElement(G,{title:"ä¸è½½åºç¨"}),Q.a.createElement(G,{title:"ç»å®è´¦å·"}),Q.a.createElement(G,{title:"éªè¯è´¦å·"})),Q.a.createElement(g.a,{style:{margin:"32px auto 16px"}}),0==o&&Q.a.createElement("div",{style:{display:"flex",flexDirection:"column",alignItems:"center",marginTop:32}},Q.a.createElement("div",null,"å½åè´¦å·æªç»å®ä»¤çAPPï¼è¯·åå¾å大åºç¨å°¸åºä¸è½½å¹¶å®è£
令çAPPï¼æ¨èä¸è½½å¾®è½¯èº«ä»½éªè¯å¨(Microsoft Authenticator)è¿è¡è®¤è¯æä½"),Q.a.createElement("div",{style:{display:"flex",flexDirection:"column",alignItems:"center",marginTop:32}},Q.a.createElement("img",{src:z.a}),Q.a.createElement("p",{style:{fontWeight:700}},"微软身份éªè¯å¨(Microsoft Authenticator)"))),1==o&&Q.a.createElement("div",{className:K.a.qr_box},Q.a.createElement(q.a,null,Q.a.createElement("div",{key:"D",className:K.a.qr_img_box},Q.a.createElement("img",{alt:"logo",src:a.content}),Q.a.createElement("div",{className:K.a.center},Q.a.createElement("span",null,"请使ç¨ä»¤çAPPè¿è¡æ«ç ç»å®"))))),2==o&&Q.a.createElement("div",null,Q.a.createElement("div",null,"请è¾å
¥å¨æå£ä»¤"),Q.a.createElement(B.a,null)),Q.a.createElement("div",{style:{position:"absolute",bottom:16,right:16,textAlign:"right"}},0!=o&&Q.a.createElement(d.a,{type:"info",style:{marginRight:16},onClick:this.handlePreStep},"ä¸ä¸æ¥"),Q.a.createElement(d.a,{type:"primary",onClick:this.handleNextStep},2==o?"éªè¯ç»å½":"ä¸ä¸æ¥"))))),Q.a.createElement("div",{className:K.a.footer},Q.a.createElement(L.a,{content:this.props.login.loginData.casfoot?this.props.login.loginData.casfoot:""})))}}]),t}(Q.a.Component))||s,Y=A.a.create()(J);t.a=Y},602:function(module,__webpack_exports__,__webpack_require__){"use strict";function _classCallCheck(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function _possibleConstructorReturn(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function _inherits(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}__webpack_require__.d(__webpack_exports__,"a",function(){return FingerLogin});var __WEBPACK_IMPORTED_MODULE_0_antd_lib_button_style__=__webpack_require__(22),__WEBPACK_IMPORTED_MODULE_0_antd_lib_button_style___default=__webpack_require__.n(__WEBPACK_IMPORTED_MODULE_0_antd_lib_button_style__),__WEBPACK_IMPORTED_MODULE_1_antd_lib_button__=__webpack_require__(21),__WEBPACK_IMPORTED_MODULE_1_antd_lib_button___default=__webpack_require__.n(__WEBPACK_IMPORTED_MODULE_1_antd_lib_button__),__WEBPACK_IMPORTED_MODULE_2_antd_lib_modal_style__=__webpack_require__(37),__WEBPACK_IMPORTED_MODULE_2_antd_lib_modal_style___default=__webpack_require__.n(__WEBPACK_IMPORTED_MODULE_2_antd_lib_modal_style__),__WEBPACK_IMPORTED_MODULE_3_antd_lib_modal__=__webpack_require__(36),__WEBPACK_IMPORTED_MODULE_3_antd_lib_modal___default=__webpack_require__.n(__WEBPACK_IMPORTED_MODULE_3_antd_lib_modal__),__WEBPACK_IMPORTED_MODULE_4_react__=__webpack_require__(1),__WEBPACK_IMPORTED_MODULE_4_react___default=__webpack_require__.n(__WEBPACK_IMPORTED_MODULE_4_react__),__WEBPACK_IMPORTED_MODULE_5_util_base64__=__webpack_require__(221),__WEBPACK_IMPORTED_MODULE_6__index_less__=__webpack_require__(271),__WEBPACK_IMPORTED_MODULE_6__index_less___default=__webpack_require__.n(__WEBPACK_IMPORTED_MODULE_6__index_less__),__WEBPACK_IMPORTED_MODULE_7_react_redux__=__webpack_require__(12),__WEBPACK_IMPORTED_MODULE_8__redux_actions_login__=__webpack_require__(23),__WEBPACK_IMPORTED_MODULE_9_util_rsa__=__webpack_require__(31),__WEBPACK_IMPORTED_MODULE_10_axios__=__webpack_require__(29),__WEBPACK_IMPORTED_MODULE_10_axios___default=__webpack_require__.n(__WEBPACK_IMPORTED_MODULE_10_axios__),__WEBPACK_IMPORTED_MODULE_11__app_config_names__=__webpack_require__(16),__WEBPACK_IMPORTED_MODULE_12_rc_queue_anim__=__webpack_require__(51),_createClass=function(){function e(e,t){for(var a=0;a<t.length;a++){var n=t[a];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}return function(t,a,n){return a&&e(t.prototype,a),n&&e(t,n),t}}(),_dec,_class,FingerLogin=(_dec=__webpack_require__.i(__WEBPACK_IMPORTED_MODULE_7_react_redux__.b)(function(e){return{dispatch:e.dispatch,login:e.login}}))(_class=function(_React$Component){function FingerLogin(props){_classCallCheck(this,FingerLogin);var _this=_possibleConstructorReturn(this,(FingerLogin.__proto__||Object.getPrototypeOf(FingerLogin)).call(this,props));return _this.fingerInterval=function(e){_this.interval=setInterval(function(){var e=_this.state.fingerTime;1==e?(clearInterval(_this.interval),_this.setState({type:1,fingerTime:3})):_this.setState({fingerTime:e-1})},1e3)},_this.fingerAgain=function(){_this.setState({type:0,tip:"æçº¹æ«æç»å½"},function(){_this.fingerInterval(),_this.connect("ws://127.0.0.1:21187/fps")})},_this.encodePass=function(e){__webpack_require__.i(__WEBPACK_IMPORTED_MODULE_9_util_rsa__.a)(131);var t=__webpack_require__.i(__WEBPACK_IMPORTED_MODULE_9_util_rsa__.b)(__WEBPACK_IMPORTED_MODULE_11__app_config_names__.a.public_exponent,"",__WEBPACK_IMPORTED_MODULE_11__app_config_names__.a.modulus);return __webpack_require__.i(__WEBPACK_IMPORTED_MODULE_9_util_rsa__.c)(t,e)},_this.Transaction=function(){var e={value:""},t=FPEngineEx1.GetWorkMsg();switch(t){case 1:e.value="è®¾å¤æªè¿æ¥";break;case 2:e.value="è¯·æææ";break;case 3:e.value="请æ¬èµ·ææ";break;case 4:e.value="ééå¾åæå";FPEngineEx1.GetImageEx();break;case 5:e.value="ééæçº¹ç¹å¾ç¹å®æ";var a=FPEngineEx1.GetCharEx();clearTimeout(_this.timer),_this.timer=null,_this.postFingerLogin(a);break;case 6:e.value="ç»è®°æçº¹ç¹å¾ç¹å®æ";FPEngineEx1.GetFptEx();clearTimeout(_this.timer),_this.timer=null}-1!=t&&_this.setState({tip:e.value}),_this.timer=setTimeout(_this.Transaction,500)},_this.postFingerLogin=function(e){var t=__WEBPACK_IMPORTED_MODULE_5_util_base64__.a.encode(e),a={matchStr:t},n=(new Date).getTime(),o=_this.encodePass(__WEBPACK_IMPORTED_MODULE_11__app_config_names__.a.TAG+n);__WEBPACK_IMPORTED_MODULE_10_axios___default.a.post(__WEBPACK_IMPORTED_MODULE_11__app_config_names__.a.CAS+"/finger/login",a,{headers:{token:o}}).then(function(e){var t=e.data,a=t.meta,n=t.data;a.success?n?(_this.props.dispatch(__webpack_require__.i(__WEBPACK_IMPORTED_MODULE_8__redux_actions_login__.c)(n.userName,n.passWord,n.service,"5",_this.props.history)),_this.setState({tip:"æ£å¨ç»å½ä¸..."})):__WEBPACK_IMPORTED_MODULE_3_antd_lib_modal___default.a.error({title:"æçº¹ç»å½",content:"æçº¹å¹é
失败,è¯·éæ°å¹é
æééæçº¹!",onOk:function(){_this.isIE()?_this.GetMatTemplate():_this.isSupportWebSocket()?_this.ws?_this.GetMatTemplateWS():_this.connect("ws://127.0.0.1:21187/fps"):__WEBPACK_IMPORTED_MODULE_3_antd_lib_modal___default.a.error({title:"æçº¹ç»å½",content:"æµè§å¨ä¸æ¯æwsåè®®,请使ç¨IEæµè§å¨"})}}):__WEBPACK_IMPORTED_MODULE_3_antd_lib_modal___default.a.error({title:"æçº¹ç»å½",content:"æçº¹å¹é
失败ï¼è¯·éæ°å¹é
æééæçº¹ï¼",onOk:function(){_this.isIE()?_this.GetMatTemplate():_this.isSupportWebSocket()?_this.ws?_this.GetMatTemplateWS():_this.connect("ws://127.0.0.1:21187/fps"):__WEBPACK_IMPORTED_MODULE_3_antd_lib_modal___default.a.error({title:"æçº¹ç»å½",content:"æµè§å¨ä¸æ¯æwsåè®®,请使ç¨IEæµè§å¨"})}})})},_this.GetMatTemplate=function(){1==FPEngineEx1.OpenDevice(0,0,0)?1==FPEngineEx1.LinkDevice()?(FPEngineEx1.GenCharEx(),_this.timer=setTimeout(_this.Transaction,500)):__WEBPACK_IMPORTED_MODULE_3_antd_lib_modal___default.a.error({title:"æçº¹ç»å½",content:"è¿æ¥USBæçº¹ä»
1ªå¤±è´¥"}):__WEBPACK_IMPORTED_MODULE_3_antd_lib_modal___default.a.error({title:"æçº¹ç»å½",content:"æå¼USBæçº¹ä»ªå¤±è´¥"})},_this.GetMatTemplateWS=function(){_this.ws.send('{"cmd":"capture","data1":"","data2":""}'),_this.setState({tip:"è¯·æææ"})},_this.ReOpen=function(){_this.ws.send('{"cmd":"opendevice","data1":"","data2":""}')},_this.connect=function(host){if(_this.isFireFox())__WEBPACK_IMPORTED_MODULE_3_antd_lib_modal___default.a.error({title:"æçº¹ç»å½",content:"ç«çæµè§å¨ä¸æ¯æ,è¯·æ´æ¢å
¶å®æµè§å¨!"});else{_this.ws&&(_this.ws.close(),_this.ws=null);try{_this.ws=new WebSocket(host)}catch(e){console.log("error")}_this.ws.onopen=function(){console.log("Connected OK!"),_this.ReOpen(),setTimeout(function(){_this.GetMatTemplateWS()},3e3)},_this.ws.onmessage=function(evt){var obj=eval("("+evt.data+")"),status={value:""};switch(obj.workmsg){case 1:status.value="è®¾å¤æªè¿æ¥",_this.setState({type:2}),_this.ws&&(_this.ws.close(),_this.ws=null);break;case 2:status.value="è¯·æææ";break;case 3:status.value="请æ¬èµ·ææ";break;case 4:break;case 5:if(1==obj.retmsg){status.value="ééæçº¹ç¹å¾ç¹å®æ";var matdata=void 0;matdata="null"==obj.data1?obj.data2:obj.data1,_this.postFingerLogin(matdata)}else status.value="ééæçº¹ç¹å¾ç¹å¤±è´¥",_this.setState({type:2}),_this.ws&&(_this.ws.close(),_this.ws=null);break;case 6:if(1==obj.retmsg)if(status.value="ç»è®°æçº¹ç¹å¾ç¹å®æ","null"==obj.data1);else var refdata=obj.data1;else status.value="ç»è®°æçº¹ç¹å¾ç¹å¤±è´¥";break;case 7:if("null"==obj.image);else var imageData="data:image/png;base64,"+obj.image;break;case 8:status.value="è¿æ¥æçº¹ä»ªè¶
æ¶",_this.setState({type:2}),_this.ws&&(_this.ws.close(),_this.ws=null);break;case 9:status.value="Match Result:"+obj.retmsg}obj.workmsg&&-1!=obj.workmsg&&7!=obj.workmsg&&9!=obj.workmsg&&_this.setState({tip:status.value})},_this.ws.onclose=function(){_this.ws&&(_this.ws=null)}}},_this.isFireFox=function(){return navigator.userAgent.indexOf("Firefox")>=0},_this.isIE=function(){return!!(window.ActiveXObject||"ActiveXObject"in window)},_this.isSupportWebSocket=function(){return"WebSocket"in window},_this.state={tip:"æçº¹æ«æç»å½",type:0,fingerTime:3},_this}return _inherits(FingerLogin,_React$Component),_createClass(FingerLogin,[{key:"componentDidMount",value:function(){this.fingerInterval(),this.isIE()?this.GetMatTemplate():this.isSupportWebSocket()?this.connect("ws://127.0.0.1:21187/fps"):__WEBPACK_IMPORTED_MODULE_3_antd_lib_modal___default.a.error({title:"æçº¹ç»å½",content:"æµè§å¨ä¸æ¯æwsåè®®,请使ç¨IEæµè§å¨"})}},{key:"componentWillUnmount",value:function(){this.ws&&(this.ws.close(),this.ws=null)}},{key:"render",value:function(){var e=this.props.config,t=this.state,a=t.tip,n=t.type,o=t.fingerTime;return __WEBPACK_IMPORTED_MODULE_4_react___default.a.createElement(__WEBPACK_IMPORTED_MODULE_4_react___default.a.Fragment,null,__WEBPACK_IMPORTED_MODULE_4_react___default.a.createElement("object",{classID:"clsid:059059BE-8F4C-49AC-B2A9-5649F02A4FC6",id:"FPEngineEx1",data:"DATA:application/x-oleobject",style:{display:"none"},codebase:window.location.origin+"/assets/cab/fpactive.cab"}),__WEBPACK_IMPORTED_MODULE_4_react___default.a.createElement(__WEBPACK_IMPORTED_MODULE_12_rc_queue_anim__.a,e,__WEBPACK_IMPORTED_MODULE_4_react___default.a.createElement("div",{key:"D",className:__WEBPACK_IMPORTED_MODULE_6__index_less___default.a.finger_box},__WEBPACK_IMPORTED_MODULE_4_react___default.a.createElement("div",{className:__WEBPACK_IMPORTED_MODULE_6__index_less___default.a.finger_img},__WEBPACK_IMPORTED_MODULE_4_react___default.a.createElement("div",{className:__WEBPACK_IMPORTED_MODULE_6__index_less___default.a.finger_zw}),__WEBPACK_IMPORTED_MODULE_4_react___default.a.createElement("div",{className:__WEBPACK_IMPORTED_MODULE_6__index_less___default.a.finger_a},1==n?__WEBPACK_IMPORTED_MODULE_4_react___default.a.createElement("div",{className:__WEBPACK_IMPORTED_MODULE_6__index_less___default.a.finger_dh}):null),0==n?__WEBPACK_IMPORTED_MODULE_4_react___default.a.createElement("div",{className:__WEBPACK_IMPORTED_MODULE_6__index_less___default.a.finger_timeout},o):null,1==n?__WEBPACK_IMPORTED_MODULE_4_react___default.a.createElement("div",{className:__WEBPACK_IMPORTED_MODULE_6__index_less___default.a.finger_line}):null,2==n?__WEBPACK_IMPORTED_MODULE_4_react___default.a.createElement("div",{className:__WEBPACK_IMPORTED_MODULE_6__index_less___default.a.finger_overt
1ime},__WEBPACK_IMPORTED_MODULE_4_react___default.a.createElement(__WEBPACK_IMPORTED_MODULE_1_antd_lib_button___default.a,{type:"primary",onClick:this.fingerAgain},"请ç¹å»å·æ°")):null),__WEBPACK_IMPORTED_MODULE_4_react___default.a.createElement("div",{className:__WEBPACK_IMPORTED_MODULE_6__index_less___default.a.finger_tip},a))))}}]),FingerLogin}(__WEBPACK_IMPORTED_MODULE_4_react___default.a.Component))||_class},603:function(e,t,a){"use strict";function n(e,t,a){return t in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a,e}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function r(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}a.d(t,"a",function(){return Y});var l,s,c,u=a(37),d=(a.n(u),a(36)),p=a.n(d),m=a(123),g=(a.n(m),a(122)),h=a.n(g),f=a(22),_=(a.n(f),a(21)),w=a.n(_),y=a(45),b=(a.n(y),a(44)),v=a.n(b),E=a(56),C=(a.n(E),a(10)),T=a.n(C),x=a(53),S=(a.n(x),a(52)),k=a.n(S),O=a(28),A=(a.n(O),a(27)),D=a.n(A),Q=a(1),N=a.n(Q),I=a(3),L=a.n(I),M=a(12),P=a(23),W=a(16),q=a(220),U=(a(25),a(29)),R=a.n(U),B=a(51),F=a(88),K=a(31),j=a(32),z=a(271),X=a.n(z),H=a(296),V=a.n(H),G=function(){function e(e,t){for(var a=0;a<t.length;a++){var n=t[a];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}return function(t,a,n){return a&&e(t.prototype,a),n&&e(t,n),t}}(),J=D.a.Item,Y=(l=D.a.create(),s=a.i(M.b)(function(e){return{dispatch:e.dispatch,login:e.login}}),l(c=s(c=function(e){function t(e){o(this,t);var n=i(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return n.encodePass=function(e){a.i(K.a)(131);var t=a.i(K.b)(W.a.public_exponent,"",W.a.modulus);return a.i(K.c)(t,e)},n.ukeyEventListener=function(){if((navigator.userAgent.indexOf("MSIE")>-1||navigator.userAgent.indexOf("Firefox")>-1)&&!navigator.userAgent.indexOf("opera")>-1)return n.ukeyEventListenerIE10();var e=void 0,t=void 0;try{var a=new F.a;return a.Socket_UK.onopen=function(){a.ResetOrder()},a.Socket_UK.onmessage=function(o){var i=JSON.parse(o.data);if("Process"==i.type)switch(i.order){case 0:a.FindPort(0);break;case 1:if(0!=i.LastError)return n.setState({ukeyIsIn:!1}),a.Socket_UK.close(),!1;n.ukeyTimeout=setTimeout(function(){n.setState({ukeyIsIn:!0})},1e3),e=i.return_value,a.YReadEx(0,1,"ffffffff","ffffffff",e);break;case 2:if(0!=i.LastError)return n.setState({ukeyIsIn:!1}),a.Socket_UK.close(),!1;a.GetBuf(0);break;case 3:if(0!=i.LastError)return n.setState({ukeyIsIn:!1}),a.Socket_UK.close(),!1;t=i.return_value,a.YReadString(1,t,"ffffffff","ffffffff",e);break;case 4:if(0!=i.LastError)return n.setState({ukeyIsIn:!1}),a.Socket_UK.close(),!1;var r={ukeyId:i.return_value},l=(new Date).getTime(),s=n.encodePass(W.a.TAG+l);n.state.userName||R.a.get(W.a.CAS+"/ukey/getUserName",{headers:{token:s},params:r}).then(function(e){var t=e.data,a=t.meta,o=t.data;a.success?n.setState({userName:o,ukeyId:r.ukeyId}):k.a.error(a.message)}),a.YReadEx(20,1,"ffffffff","ffffffff",e);break;case 5:if(0!=i.LastError)return n.setState({ukeyIsIn:!1}),a.Socket_UK.close(),!1;a.GetBuf(0);break;case 6:if(0!=i.LastError)return n.setState({ukeyIsIn:!1}),a.Socket_UK.close(),!1;t=i.return_value,a.YReadString(21,t,"ffffffff","ffffffff",e);break;case 7:if(0!=i.LastError)return n.setState({ukeyIsIn:!1}),a.Socket_UK.close(),!1;n.setState({password:i.return_value}),a.EncString(j.g.dateFormat(new Date),e);break;case 8:if(0!=i.LastError)return n.setState({ukeyIsIn:!1}),a.Socket_UK.close(),!1;n.setState({key:i.return_value}),a.Socket_UK.close()}},a.Socket_UK.onclose=function(){},!0}catch(e){}},n.ukeyEventListenerIE10=function(){try{var e=new ActiveXObject("Syunew3A.s_simnew3"),t=e.FindPort(0);if(0!=e.LastError)return n.setState({ukeyIsIn:!1}),!1;e.YReadEx(0,1,"ffffffff","ffffffff",t);var a=e.GetBuf(0),o={ukeyId:e.YReadString(1,a,"ffffffff","ffffffff",t)},i=(new Date).getTime(),r=n.encodePass(W.a.TAG+i);return R.a.get(W.a.CAS+"/ukey/getUserName",{headers:{token:r},params:o}).then(function(e){var t=e.data,a=t.meta,i=t.data;a.success?n.setState({userName:i,ukeyId:o.ukeyId}):k.a.error(a.message)}),0!=e.LastError?(n.setState({ukeyIsIn:!1}),!1):(e.YReadEx(20,1,"ffffffff","ffffffff",t),a=e.GetBuf(0),void n.setState({password:e.YReadString(21,a,"ffffffff","ffffffff",t),key:e.EncString(j.g.dateFormat(new Date),t)}))}catch(e){}}
1,n.handleSubmit=function(){a(5);n.props.form.validateFieldsAndScroll(function(e,t){if(!e){var o={password:n.state.password,key:n.state.key,pin:n.encodePass(t.password),ukeyId:n.state.ukeyId},i=(new Date).getTime(),r=n.encodePass(W.a.TAG+i);R.a.post(W.a.CAS+"/ukey",JSON.stringify(o),{headers:{token:r,"Content-Type":"application/json;charset=UTF-8"}}).then(function(e){var t=e.data,o=t.meta,i=t.data;o.success?n.props.dispatch(a.i(P.c)(i.userName,i.passWord,i.service,"6",n.props.history)):k.a.error(o.message)})}})},n.checkIsUSBIn=function(){if(!a.i(q.a)().certId)return n.setState({ukeyIsIn:!1});n.setState({ukeyIsIn:!0}),console.log("ç¬¬ä¸æ¥è·åæå
¥uçä¿¡æ¯ï¼"+JSON.stringify(a.i(q.a)())),console.log("第äºé¨å¾å°ç¾åè¯ä¹¦ï¼"+window.SOF_ExportUserCert(a.i(q.a)().certId)),console.log("ç¬¬ä¸æ¥å¾å°æ°æ®ç¾åå¼ï¼"+window.SOF_SignData(a.i(q.a)().certId,"0OgKaeKjMOJJxMOs9tm+bg=="))},n.state={ukeyVisible:!1,ukeyId:"",userName:"",password:"",key:"",ukeyIsIn:n.props.ukeyIsIn},n}return r(t,e),G(t,[{key:"componentWillMount",value:function(){}},{key:"componentDidMount",value:function(){this.checkIsUSBIn()}},{key:"componentWillReceiveProps",value:function(e){}},{key:"render",value:function(){var e=this.state,t=e.ukeyIsIn,a=e.userName,o=e.ukeyVisible,i=this.props.config,r=this.props.form.getFieldDecorator;return N.a.createElement(N.a.Fragment,null,t?N.a.createElement(B.a,i,N.a.createElement("div",{className:X.a.ukey1,key:"D"},N.a.createElement(D.a,null,N.a.createElement(J,null,N.a.createElement("div",{style:{fontSize:"16px",fontWeight:"bold"}},"è´¦å·ï¼",a)),N.a.createElement(J,null,r("password",{rules:[{required:!0,message:"请è¾å
¥è´¦å·ï¼"}]})(N.a.createElement(v.a,{style:{width:"200px"},className:X.a.password,size:"large",prefix:N.a.createElement(T.a,{type:"lock",style:{color:"rgba(0,0,0,.25)"}}),type:"password",placeholder:"请è¾å
¥è´¦å·å¹é
"}))),N.a.createElement(J,{className:X.a.mb0},N.a.createElement(w.a,{className:L()(X.a.submit,n({},X.a.logining,!0)),type:"primary",size:"large",onClick:this.handleSubmit},"ç»å½"))))):N.a.createElement(B.a,i,N.a.createElement("div",{key:"D",className:X.a.ukey1},N.a.createElement("div",{className:X.a.ukey},N.a.createElement("img",{src:V.a,alt:""})),N.a.createElement("div",{style:{fontWeight:"bold"}},"æªæ£æµå°è®¾å¤"))),N.a.createElement(p.a,{visible:o,footer:null},N.a.createElement("div",{style:{width:"100%",textAlign:"center"}},N.a.createElement(h.a,{spinning:!0,tip:"æ£æµå°Ukeyæ£å¨ç»å½......"}))))}}]),t}(N.a.Component))||c)||c)},604:function(e,t,a){"use strict";function n(e,t,a){return t in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a,e}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function r(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var l,s,c,u,d,p=a(53),m=(a.n(p),a(52)),g=a.n(m),h=a(37),f=(a.n(h),a(36)),w=a.n(f),y=a(123),b=(a.n(y),a(122)),v=a.n(b),E=a(143),C=(a.n(E),a(97)),T=a.n(C),x=a(120),S=(a.n(x),a(119)),k=a.n(S),O=a(125),A=(a.n(O),a(124)),D=a.n(A),Q=a(22),N=(a.n(Q),a(21)),I=a.n(N),L=a(87),M=(a.n(L),a(74)),P=a.n(M),W=a(41),q=(a.n(W),a(40)),U=a.n(q),R=a(48),B=(a.n(R),a(47)),F=a.n(B),K=a(45),j=(a.n(K),a(44)),z=a.n(j),X=a(56),H=(a.n(X),a(10)),V=a.n(H),G=a(117),J=(a.n(G),a(116)),Y=a.n(J),Z=a(28),$=(a.n(Z),a(27)),ee=a.n($),te=a(1),ae=a.n(te),ne=a(3),oe=a.n(ne),ie=a(51),re=a(29),le=a.n(re),se=a(12),ce=a(32),ue=a(16),de=a(271),pe=a.n(de),me=a(25),ge=a(23),he=a(31),fe=a(88),_e=a(602),we=a(603),ye=a(144),be=a(164),ve=a(165),Ee=a(220),Ce=a(161),Te=a.n(Ce),xe=a(203),Se=a.n(xe),ke=a(141),Oe=a.n(ke),Ae=a(162),De=(a.n(Ae),a(1474)),Qe=a.n(De),Ne=a(1458),Ie=a.n(Ne),Le=a(1462),Me=a.n(Le),Pe=a(1459),We=a.n(Pe),qe=a(1465),Ue=(a.n(qe),a(204)),Re=a.n(Ue),Be=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var a=arguments[t];for(var n in a)Object.prototype.hasOwnProperty.call(a,n)&&(e[n]=a[n])}return e},Fe=function(){function e(e,t){for(var a=0;a<t.length;a++){var n=t[a];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}return function(t,a,n){return a&&e(t.prototype,a),n&&e(t,n),t}}(),Ke=ee.a.Item,je="",ze=(l=a.i(se.b)(function(e){return{dispatch:e.dispatch,login:e.login}}))((u=c=function(e){function t(e){o(this,t);var n=i(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));d.call(n);var r=e.login.locale;return n.state={windowW:a.i(ce.c)().windowW,tabList:[{key:"1",name:window.locale[r].account_login},{key:"2",name:window.locale[r].Qr_code_Login}],tabHover1:{color:n.props.login.loginData.themeColor,borderBottom:"4px solid "+n.props.login.loginData.themeColor},tabHover2:{color:"#666",borderBottom:"none"},mobileTitle:"å¯ç ç»å½",userInfo:{userName:"",password:"",inputPassWord:"",rememberMe:!1,change:!1},loginType:1,loginCode:{isLoginCode:!0},eye:!1,sending:!1,wechatCode:{isWeChatCode:!0,stop:!1,refresh:!1},appCode:{isAppCode:!0,stop:!1,refresh:!1},mmdlCode:{isMMDLCode:!0,stop:!1,refresh:!1},ddCode:{isDdCode:!0,stop:!1,refresh:!1},qqLoginUrl:"",dingdingLoginUrl:"",isFirst:!1,isAvoidPass:"0",ukeyIsConn:!1,ukeyIsIn:!1,is_ukeyLogin:!1,firstLoading:{display:"block"},eyes:"eye-invisible",columns:[],dataSource:[],visible:!1,accountInfo:{userName:"",cardid:""},userName:"",cardid:"",queryCode:"",memban:"none",loginToken:"",isLowPx:!0,themeColor:"",secondThemeColor:"",bgList:[],mobileBg:{},mobileLogo:{},casLogo:[],appIcon:null},n}
1return r(t,e),Fe(t,[{key:"componentWillMount",value:function(){this.setState({isLogin:!0,firstLoading:{display:"none"}});var e=this.props.login.loginData;if(null!==e.attachments&&e.attachments.length>0){var t=e.attachments.filter(function(e){return"ly-iap-attachment_mobile_bg"==e.sourceId}),n=e.attachments.filter(function(e){return"ly-iap-attachment_mobile_casLogo"==e.sourceId}),o=e.attachments.filter(function(e){return"ly-iap-attachment_casLogo"==e.sourceId}),i=e.attachments.filter(function(e){return"ly-iap-attachment_appQRCode"==e.sourceId}),r=e.attachments.filter(function(e){return-1!==e.sourceId.indexOf("attachment_bg")});this.setState({mobileBg:t,mobileLogo:n,casLogo:o,appIcon:i,bgList:r})}var l=[{title:window.locale[this.props.login.locale].account,dataIndex:"screenname",key:"screenname"},{title:window.locale[this.props.login.locale].name,dataIndex:"username",key:"username"},{title:window.locale[this.props.login.locale].alias,dataIndex:"othername",key:"othername"},{title:window.locale[this.props.login.locale].ID_card,dataIndex:"cardId",key:"cardId"}];if(a.i(ce.a)("browserId")&&this.setState({isAvoidPass:"1"}),this.setState({columns:l}),e.themeColor)if(3==e.themeColor.split(",").length)this.setState({themeColor:e.themeColor,secondThemeColor:e.themeColor});else{var s=e.themeColor.split("),r");this.setState({secondThemeColor:"r"+s[1],themeColor:[s[0]+")","r"+s[1]]})}}},{key:"componentDidMount",value:function(){var e=this.props.login,t=e.loginData;e.locale,this.state.secondThemeColor,t.themeColor;if(1==t.isUkeyLogin){var n=document.createElement("script");n.type="text/javascript",n.src="/assets/js/xtxsync.js",document.body.appendChild(n),this.setState({is_ukeyLogin:!0})}a.i(ce.c)().windowH<970&&a.i(ce.c)().windowW>980?document.body.style.overflowY="scroll":this.setState({loginType:1}),this.props.dispatch(a.i(ge.e)("block","none","none")),this.resize(),this.initLogin(),window.addEventListener("resize",this.resize,!1),document.getElementsByTagName("title")[0].innerText=this.props.login.loginData.casTitle?this.props.login.loginData.casTitle:"ç»ä¸èº«ä»½è®¤è¯å¹³å°-认è¯ä¸å¿"}},{key:"componentWillReceiveProps",value:function(e){_.isEqual(e.login.loginData,this.props.login.loginData)||(this.queryLogin(e),document.getElementsByTagName("title")[0].innerText=e.login.loginData.casTitle?e.login.loginData.casTitle:window.locale[this.props.login.locale].login_pageInfo_4)}},{key:"componentWillUnmount",value:function(){window.removeEventListener("resize",this.resize),this.setState=function(e,t){}}},{key:"componentDidUpdate",value:function(e){var t=this,a=this.state,n=a.oldLoginType,o=a.loginType;if(n!=o){var i=setInterval(function(){t.inputRef&&t.inputRef.input&&1==o?(t.inputRef.focus(),clearInterval(i)):t.inputRef2&&t.inputRef2.input&&2==o&&(t.inputRef2.focus(),clearInterval(i))},100);this.setState({oldLoginType:this.state.loginType})}}},{key:"render",value:function(){var e,t,o,i,r=this,l=this.props,s=l.form,c=l.login,u=s.getFieldDecorator,d=c.locale,p=c.submitpending,m=c.submitting,g=this.state,h=g.windowW,f=(g.tab,g.tabList,g.userInfo),_=g.loginType,y=g.loginCode,b=(g.isFirst,g.ukeyIsIn),E=g.sending,C=g.count,x=(g.isLogin,g.wechatCode),S=g.appCode,O=g.ddCode,A=g.mmdlCode,Q=g.ukeyIsConn,N=g.columns,L=g.dataSource,M=g.hasError,W=g.isLowPx,q=g.themeColor,R=(g.secondThemeColor,g.bgList),B=g.mobileBg,K=g.mobileLogo,j=(g.mobileTitle,g.appIcon),X=g.casLogo,H=g.ukeyVisible,G={animConfig:[{opacity:[1,0],rotateY:[0,180]},{opacity:[1,0],rotateY:[0,-180]}],duration:1e3},J={};c.loginData&&(J=c.loginData);var Z=J,$=(Z.isSMS,Z.isApp,Z.isWeChat,J),te=$.casfoot,ne=$.tabType,re=(Number(J.isUkeyLogin),Number(J.isFinger),Number(J.isSMS),Number(J.isqq),h<=980),le=("1"==J.isApp||"1"==J.isWeChat||J.isMMDL,"1"==J.isqq&&J.isDingDing,"1"==J.isSMS&&"1"==J.isqq||J.isDingDing,"1"==J.isFinger&&("1"==J.isSMS||J.isqq),"1"==J.isUkeyLogin&&("1"==J.isFinger||"1"==J.isSMS||J.isqq),M?pe.a.error:pe.a.formMargin,a(5)),se=window.location.search;se=se.substring(se.indexOf("?")+1);var ce=le.parse(se);J.defaultLoginUrl;ce&&ce.service?ce.service:J.defaultLoginUrl;var ue=1!=_&&8!=_||"1"!=J.isVerifyCode?"":pe.a.hasVerifyCode;return"none"!=this.state.firstLoading.display?null:ae.a.createElement(ae.a.Fragment,null,ae.a.createElement("div",{id:"memban",style:{width:"100%",height:"1000px",backgroundColor:"rgb(0,0,0,0.5)",position:"absolute",zIndex:"3",display:this.state.visible?"block":"none"}}),ae.a.createElement("div",{style:this.state.firstLoading},ae.a.createElement("div",{className:pe.a.imgssdiv}),ae.a.createElement("span",{className:pe.a.imgsstitle},window.locale[d].login_wait)),ae.a.createElement("div",{className:pe.a.container},re?ae.a.createElement("div",{className:pe.a.mobileCarousel,style:B.length>0?{background:"url("+B[0].source+")",backgroundSize:"100% 100%",backgroundRepeat:"no-repeat"}:{}},ae.a.createElement(ve.a,{mobileLogo:K,login_logo:Te.a,loginData:J,form:this.props.form,userInfo:f,loginCode:y,themeColor:q,dataSource:L,columns:N,loginType:_,QueueAnimConfig:G,history:this.props.history})):ae.a.createElement("div",{className:pe.a.carousel},ae.a.createElement(Y.a,{autoplay:!0},R.length>0?R.map(function(e,t){return ae.a.createElement("img",{key:t,src:e.source,onError:function(e){e.target.src=Qe.a}})}):ae.a.createElement("img",{src:Qe.a}))),ae.a.createElement("div",null,re?null:ae.a.createElement("div",{style:window.tip.loginBoxPosition&&!re?Be({},window.tip.loginBoxPosition):{},className:oe()("clearfix",(e={},n(e,pe.a.loginContent,!re),n(e,pe.a.moblieContent,re),e))},ae.a.createElement("div",{className:oe()((t={},n(t,pe.a.login,!re),n(t,pe.a.mobileLogin,re),t)),style:re&&window.tip.mobileBottomInfo?window.tip.mobileBottomInfo.infoStyle:{}},ae.a.createElement("div",{className:oe()((o={},n(o,pe.a.logo,!re),n(o,pe.a.moblielogo,re),o))},re?K.length>0?ae.a.createElement("img",{id:"mobileLogo",src:K[0].source,onError:function(e){e.target.src=Se.a}}):ae.a.createElement("img",{id:"mobileLogo",src:Te.a}):ae.a.createElement("img",{src:X.length>0?X[0].source:Se.a,onError:function(e){e.target.src="/assets/images/base-2024/err_logo.png"}})),ae.a.createElement("div",{style:{position:"relative"}}
1,J.loginTabType?ae.a.createElement(be.a,{loginData:J,locale:this.props.login.locale,handle_change_tab:this.onChangNewTab,themeColor:q}):ae.a.createElement(ye.a,{handle_change_tab:this.onChangTab,locale:this.props.login.locale,isMobile:re,themeColor:q,type:_,showType:J.showType,tabType:ne,loginData:J}),re?null:ae.a.createElement("div",{dangerouslySetInnerHTML:{__html:J.casDesc?J.casDesc.indexOf("zh_CN")>0?JSON.parse(J.casDesc)[d]:J.casDesc:null}})),ae.a.createElement("div",{className:pe.a.formContent+" "+ue},1==J.isAccount&&1==_||8==_?ae.a.createElement(ie.a,Be({},G,{style:{minHeight:"inherit"}}),ae.a.createElement("div",{key:"A",className:oe()(pe.a.anim_box,n({},pe.a.anim_box_mobile,re)),style:{background:p}},ae.a.createElement(ee.a,{style:{display:m},className:pe.a.verticalMiddle},ae.a.createElement(Ke,{className:pe.a.mb20},u("userName",{rules:[{required:!0,message:window.locale[d].enter_account}],initialValue:f.userName})(ae.a.createElement(z.a,{size:W?"default":"large",onPressEnter:this.handleAccountSubmit,prefix:ae.a.createElement(V.a,{type:"user",style:{color:"rgba(0,0,0,.25)"}}),placeholder:window.locale[d].enter_account,onBlur:function(e){return r.handleCheckIsNeedUkey(e)}}))),ae.a.createElement(Ke,{className:pe.a.mb20},u("password",{rules:[{required:!0,message:window.locale[d].enter_pass}],initialValue:f.inputPassWord})(ae.a.createElement(z.a.Password,{className:window.tip.unlock?null:pe.a.password,type:"password",autoComplete:"off",size:W?"default":"large",prefix:ae.a.createElement(V.a,{type:"lock",style:{color:"rgba(0,0,0,.25)"}}),onPressEnter:this.handleAccountSubmit,placeholder:window.locale[d].enter_pass}))),ae.a.createElement("div",{style:M?{display:"block"}:{},className:oe()(""+pe.a.passworRequired)},window.locale[d].enter_pass),((J.isVerifyCodeType.indexOf("1")>-1||1==J.isVerifyCode)&&J.verifyCodeNum<=0||J.verifyCodeNum&&sessionStorage.getItem("errorNum")&&J.verifyCodeNum<=sessionStorage.getItem("errorNum")&&(J.isVerifyCodeType.indexOf("1")>-1||"1"==J.isVerifyCode))&&(["1","2"].indexOf(J.captchaType)>-1||!J.captchaType)?ae.a.createElement(Ke,{className:pe.a.mb6},ae.a.createElement(U.a,{gutter:8},ae.a.createElement(F.a,{span:13},u("captcha",{rules:[{required:!0,message:window.locale[d].enter_arithmetic_answer}]})(ae.a.createElement(z.a,{size:"large",autoComplete:"off",onPressEnter:this.handleAccountSubmit,placeholder:window.locale[d].enter_arithmetic_answer}))),ae.a.createElement(F.a,{span:10},ae.a.createElement("div",{className:pe.a.captcha,onClick:function(){return r.queryLoginKaptcha(y.uid)}},ae.a.createElement("img",{style:{width:"100%",height:"46px",margin:"0 0 2px 14px"},alt:"logo",src:y.content}))))):null,ae.a.createElement(U.a,{className:pe.a.mb20},ae.a.createElement(F.a,{className:"fl"},re?null:u("rememberMe",{valuePropName:"checked",initialValue:f.rememberMe})(ae.a.createElement(P.a,null,ae.a.createElement("a",{className:pe.a.green,style:{color:"#333"}},window.locale[this.props.login.locale].remember_pass)))),ae.a.createElement(F.a,{className:pe.a.grey+" "+(re?"inline_center":"fr")},J.loginfoundPaawordUrl&&"null"!=J.loginfoundPaawordUrl?ae.a.createElement("a",{style:{color:"#397EF0"},onClick:function(){var e=J.loginfoundPaawordUrl;window.location.href=e}},window.locale[this.props.login.locale].forget_pass):null)),ae.a.createElement(U.a,null,ae.a.createElement(I.a,{className:oe()(pe.a.submit,n({},pe.a.logining,!0),"fl"),style:Array.isArray(q)?{borderColor:q[0],background:q[0]}:{borderColor:q,background:q},size:"large",type:"primary",onClick:this.handleAccountSubmit},window.locale[d].login),ae.a.createElement("div",{id:"captcha-box"})),ae.a.createElement(U.a,{className:pe.a.otherLink},ae.a.createElement(F.a,{className:""+pe.a.grey},J.loginQuestionUrl&&"null"!=J.loginQuestionUrl?ae.a.createElement("a",{onClick:function(){var e=J.loginQuestionUrl;re&&(e=J.mobileLoginQuestionUrl),window.location.href=e}},window.locale[this.props.login.locale].common_problem):null,re&&J.isOpenLoginAppeal&&1==J.isOpenLoginAppeal?ae.a.createElement("a",{onClick:function(){var e=J.loginAppealUrl;window.location.href=e}},window.locale[this.props.login.locale].account_appeal):null,ae.a.createElement(k.a,{content:ae.a.createElement("div",null,ae.a.createElement(z.a,{size:"large",allowClear:!0,onBlur:this.getusername,placeholder:window.locale[this.props.login.locale].enter_name,style:{marginBottom:"10px"}}),ae.a.createElement(z.a,{size:"large",allowClear:!0,onBlur:this.getusercardid,placeholder:window.locale[this.props.login.locale].enter_ID_card,style:{marginBottom:"10px"}}),J.isVerifyCodeType.indexOf("3")>-1?ae.a.createElement(U.a,{gutter:8}
1,ae.a.createElement(F.a,{span:14},ae.a.createElement(z.a,{autoComplete:"off",allowClear:!0,size:"large",placeholder:window.locale[this.props.login.locale].enter_arithmetic_answer,onBlur:this.getQueryCode,style:{marginBottom:"10px"}})),ae.a.createElement(F.a,{span:10},ae.a.createElement("div",{style:{marginTop:"7px"},onClick:function(){r.queryLoginKaptcha(r.state.loginCode.uid)}},ae.a.createElement("img",{alt:"logo",src:this.state.loginCode.content})))):null,ae.a.createElement(I.a,{className:oe()(pe.a.submit,n({},pe.a.logining,!0)),style:Array.isArray(q)?{border:"none",width:"100%",background:q[0]}:{border:"none",width:"100%",background:q},onClick:this.handleCheckAccount,type:"primary",size:"large"},window.locale[this.props.login.locale].query),ae.a.createElement(D.a,{dataSource:L,columns:N}),ae.a.createElement("a",{onClick:this.hide,style:{color:"#000",fontWeight:700}},window.locale[this.props.login.locale].close)),title:window.locale[this.props.login.locale].account_query,trigger:"click",visible:this.state.visible,onVisibleChange:this.handleVisibleChange},re||J.isOpenLoginAcountCheck&&1!=J.isOpenLoginAcountCheck?null:ae.a.createElement("a",null,window.locale[this.props.login.locale].account_query))))),ae.a.createElement("div",{style:re?{color:"#01774F",fontSize:"15px",fontWeight:"bold",display:this.props.login.submitnote,textAlign:"center",top:"220px",left:"130px",position:"absolute"}:(i={color:"#01774F",fontSize:"15px",fontWeight:"bold",display:this.props.login.submitnote,textAlign:"center",top:"215px",left:"90px"},n(i,"left","50%"),n(i,"transform","translate(-50%, 0)"),n(i,"position","absolute"),i)},window.locale[d].verify_wait))):null,2==_&&"1"==J.isSMS?ae.a.createElement(ie.a,Be({},G,{style:{minHeight:"inherit"}}),ae.a.createElement("div",{key:"B",className:oe()(pe.a.anim_box,n({},pe.a.anim_box_mobile,re)),style:{background:p}},ae.a.createElement(ee.a,{onSubmit:this.handleSmsSubmit,className:pe.a.verticalMiddle,style:{display:m}},ae.a.createElement(Ke,null,u("mobile",{rules:[{required:!0,message:window.locale[d].enter_phone},{pattern:/^(0|86|17951)?(1[0-9][0-9]|15[012356789]|166|17[3678]|18[0-9]|14[57])[0-9]{8}$/,message:window.locale[d].phone_format_error}]})(ae.a.createElement(z.a,{size:W?"default":"large",prefix:ae.a.createElement(V.a,{type:"user",style:{color:"rgba(0,0,0,.25)"}}),placeholder:window.locale[d].enter_phone}))),J.isVerifyCodeType.indexOf("2")>-1?ae.a.createElement(Ke,{className:pe.a.mb6},ae.a.createElement(U.a,{gutter:8},ae.a.createElement(F.a,{span:13},u("captcha",{rules:[{required:!0,message:window.locale[d].enter_arithmetic_answer}]})(ae.a.createElement(z.a,{size:"large",autoComplete:"off",onPressEnter:this.handleAccountSubmit,placeholder:window.locale[d].enter_arithmetic_answer}))),ae.a.createElement(F.a,{span:10},ae.a.createElement("div",{className:pe.a.captcha,onClick:function(){return r.queryLoginKaptcha(y.uid)}},ae.a.createElement("img",{style:{width:"100%",height:"46px",margin:"0 0 2px 14px"},alt:"logo",src:y.content}))))):null,ae.a.createElement(Ke,null,u("smsCode",{rules:[{required:!0,message:window.locale[d].enter_security_code}]})(ae.a.createElement(z.a,{autoComplete:"off",size:W?"default":"large",className:pe.a.code,prefix:ae.a.createElement(V.a,{type:"lock",style:{color:"rgba(0,0,0,.25)"}}),placeholder:window.locale[d].enter_security_code})),ae.a.createElement("div",{onClick:this.onSendCode,className:oe()(pe.a.send,n({},pe.a.disabled,E))},E?C:window.locale[d].send_security_code)),ae.a.createElement(Ke,null,ae.a.createElement(I.a,{style:Array.isArray(q)?{borderColor:q[0],background:q[0]}:{borderColor:q,background:q},size:"large",type:"primary",htmlType:"submit",className:oe()(pe.a.codeSubmit)},window.locale[d].login)),ae.a.createElement("div",{className:pe.a.mobileOption},J.loginQuestionUrl&&"null"!=J.loginQuestionUrl?ae.a.createElement("a",{className:re?"":"fr",onClick:function(){var e=J.loginQuestionUrl;re&&(e=J.mobileLoginQuestionUrl),window.location.href=e}},window.locale[d].common_problem):null)),ae.a.createElement("div",{style:re?{color:"#01774F",fontSize:"15px",fontWeight:"bold",display:this.props.login.submitnote,textAlign:"center",top:"220px",left:"130px",position:"absolute"}:{color:"#01774F",fontSize:"15px",fontWeight:"bold",display:this.props.login.submitnote,textAlign:"center",top:"215px",left:"90px",position:"absolute"}},window.locale[d].verify_wait))):null,5==_&&"1"==J.isFinger?ae.a.createElement("div",{className:pe.a.qr_box_Finger}
1,ae.a.createElement(_e.a,{history:this.props.history,config:G})):null,6==_&&"1"==J.isUkeyLogin?ae.a.createElement("div",{className:pe.a.qr_box_ukey},ae.a.createElement(we.a,{history:this.props.history,config:G,ukeyIsIn:b,isConn:Q})):null,re||3!=_&&4!=_&&9!=_&&13!=_?null:ae.a.createElement("div",{className:pe.a.qr_box},3==_&&"1"==J.isWeChat?ae.a.createElement(ie.a,G,ae.a.createElement("div",{key:"D",className:pe.a.qr_img_box},ae.a.createElement("img",{alt:"logo",src:x.content}),ae.a.createElement("div",{className:pe.a.qrMask+" "+(x.refresh?"":pe.a.qrMaskHide)},ae.a.createElement("img",{src:Re.a,style:{marginBottom:"20px",width:"30px",height:"30px"}}),ae.a.createElement("span",{className:pe.a.link_span},window.locale[this.props.login.locale].QR_code_invalid),ae.a.createElement("a",{href:"javascript:void(0)",onClick:this.handleRefreshWXQrClick,className:pe.a.link_refresh},window.locale[this.props.login.locale].click_refresh)))):null,4==_&&"1"==J.isApp?ae.a.createElement(ie.a,G,ae.a.createElement("div",{key:"D",className:pe.a.qr_img_box},ae.a.createElement("img",{alt:"logo",src:S.content}),ae.a.createElement("div",{className:pe.a.qrMask+" "+(S.refresh?"":pe.a.qrMaskHide)},ae.a.createElement("img",{src:Re.a,style:{marginBottom:"20px",width:"30px",height:"30px"}}),ae.a.createElement("span",{className:pe.a.link_span},window.locale[this.props.login.locale].QR_code_invalid),ae.a.createElement("a",{href:"javascript:void(0)",onClick:this.handleRefreshAppQrClick,className:pe.a.link_refresh},window.locale[this.props.login.locale].click_refresh)))):null,9==_&&"1"==J.isMMDL?ae.a.createElement(ie.a,G,"0"==this.state.isAvoidPass?ae.a.createElement("div",{key:"D",className:pe.a.qr_img_box},ae.a.createElement("img",{alt:"logo",src:A.content}),ae.a.createElement("div",{className:pe.a.qrMask+" "+(S.refresh?"":pe.a.qrMaskHide)},ae.a.createElement("img",{src:Re.a,style:{marginBottom:"20px",width:"30px",height:"30px"}}),ae.a.createElement("span",{className:pe.a.link_span},window.locale[this.props.login.locale].QR_code_invalid),ae.a.createElement("a",{href:"javascript:void(0)",onClick:this.handleRefreshAppQrClick,className:pe.a.link_refresh},window.locale[this.props.login.locale].click_refresh))):ae.a.createElement("div",{key:"D",className:pe.a.qr_img_box},ae.a.createElement("img",{src:a(295)}),ae.a.createElement("div",{style:{textAlign:"center"}},ae.a.createElement(I.a,{style:{width:"185px"},type:"primary",htmlType:"submit",onClick:function(){return r.goMMDL()},className:oe()(pe.a.codeSubmit)},window.locale[d].login)))):null,13==_&&"1"==J.isDingDing?ae.a.createElement(ie.a,G,ae.a.createElement("div",{key:"D",className:pe.a.qr_img_box},ae.a.createElement("img",{alt:"logo",src:O.content}),ae.a.createElement("div",{className:pe.a.qrMask+" "+(O.refresh?"":pe.a.qrMaskHide)},ae.a.createElement("img",{src:Re.a,style:{marginBottom:"20px",width:"30px",height:"30px"}}),ae.a.createElement("span",{className:pe.a.link_span},window.locale[this.props.login.locale].QR_code_invalid),ae.a.createElement("a",{href:"javascript:void(0)",onClick:this.handleRefreshDdQrClick,className:pe.a.link_refresh},window.locale[this.props.login.locale].click_refresh)))):null,ae.a.createElement("div",{className:pe.a.qr_type_box,style:{width:this.setQr(J.isWeChat,J.isApp,J.isMMDL,J.isDingDing)}},"1"==J.isWeChat?ae.a.createElement("span",{className:oe()(pe.a.qr_type,n({},pe.a.active,3==_),pe.a.qr_wx_type),onClick:function(){r.setState({loginType:3},function(){r.queryWechat(),r.handleWXCode()})}},ae.a.createElement("span",{className:oe()(pe.a.icon_wx,pe.a.type_icon)}),window.locale[this.props.login.locale].WeChat_scan_login):null,"1"==J.isApp?ae.a.createElement("span",{className:oe()(pe.a.qr_type,n({},pe.a.active,4==_),pe.a.qr_app_type),onClick:function(){r.setState({loginType:4},function(){r.queryAppQrCode(),r.handleAppCode()})},style:{width:window.tip.appWidth?window.tip.appWidth:14*(window.locale[this.props.login.locale].APP_scan_login.length-5)+100}},ae.a.createElement("span",{className:oe()(pe.a.icon_app,pe.a.type_icon),style:j&&j.length>0?{background:"url("+j[0].source+")"}:{}}),window.locale[this.props.login.locale].APP_scan_login):null,"1"==J.isDingDing?ae.a.createElement("span",{className:oe()(pe.a.qr_type,n({},pe.a.active,13==_),pe.a.qr_app_type),onClick:function(){r.setState({loginType:13},function(){r.queryDdCode(),r.handleDdCode()})}},ae.a.createElement("span",{className:oe()(pe.a.icon_dingding,pe.a.type_icon)}),window.locale[this.props.login.locale].Dd_scan_login):null,"1"==J.isMMDL?"0"==this.state.isAvoidPass?ae.a.createElement("span",{className:oe()(pe.a.qr_type,n({},pe.a.active,9==_),pe.a.qr_mmdl_type),onClick:function(){r.setState({loginType:9},function(){r.queryMMDLQrCode(),r.handleMMDLCode()})}},ae.a.createElement("span",{className:oe()(pe.a.icon_app,pe.a.type_icon)}),window.locale[this.props.login.locale].auth_scan_login):ae.a.createElement("span",{className:oe()(pe.a.qr_type,n({},pe.a.active,9==_)),onClick:function(){r.setState({loginType:9,mmdlCode:Be({},r.state.mmdlCode,{stop:!0}),appCode:Be({},r.state.appCode,{stop:!0}),wechatCode:Be({},r.state.wechatCode,{stop:!0})})}},ae.a.createElement("span",{className:oe()(pe.a.icon_app,pe.a.type_icon)}),window.locale[this.props.login.locale].auth_scan_login):null)),ae.a.createElement("div",{className:pe.a.pcOption})),ae.a.createElement("div",{className:pe.a.type_box},"1"==J.isqq&&!re&&J.loginIconType.indexOf("3")>=0?ae.a.createElement(T.a,{title:window.locale[this.props.login.locale].QQ_login},ae.a.createElement("span",{className:pe.a.type,onClick:function(){window.location=r.state.qqLoginUrl}},ae.a.createElement("span",{className:oe()(pe.a.icon_qq,pe.a.type_icon)}))):null,"1"==J.isWeiBo&&!re&&J.loginIconType.indexOf("4")>=0?ae.a.createElement(T.a,{title:window.locale[this.props.login.locale].weibo_login},ae.a.createElement("span",{className:pe.a.type,onClick:function(){window.location=r.state.weiboLoginUrl}},ae.a.createElement("span",{className:oe()(pe.a.icon_weibo,pe.a.type_icon)}))):null,2!=_||!J.loginTabType||J.loginTabType.indexOf(2)>=0?"1"==J.isSMS&&J.loginIconType.indexOf("1")>=0?ae.a.createElement(T.a,{title:window.locale[this.props.login.locale].sms_login},ae.a.createElement("span",{className:pe.a.type,onClick:function(){r.setState({loginType:2,mobileTitle:"çä¿¡ç»å½"},function(){r.clearAllTimers()})}},ae.a.createElement("span",{className:oe()(pe.a.icon_mobile,pe.a.type_icon)}))):null:ae.a.createElement(T.a,{title:window.locale[this.props.login.locale].pass_login},ae.a.createElement("span",{className:pe.a.type,onClick:function(){r.setState({loginType:1,mobileTitle:"å¯ç ç»å½"},function(){r.clearAllTimers()})}},ae.a.createElement("span",{className:oe()(pe.a.icon_mm,pe.a.type_icon)}))),"1"==J.isFinger&&!re&&J.loginIconType.indexOf("5")>=0?re||5==_?ae.a.createElement(T.a,{title:window.locale[this.props.login.locale].pass_login},ae.a.createElement("span",{className:pe.a.type,onClick:function(){r.setState({loginType:1},function(){r.clearAllTimers()})}},ae.a.createElement("span",{className:oe()(pe.a.icon_mm,pe.a.type_icon)}))):ae.a.createElement(T.a,{title:window.locale[this.props.login.locale].finger_login},ae.a.createElement("span",{className:pe.a.type,onClick:function(){r.setState({loginType:5},function(){r.clearAllTimers()})}},ae.a.createElement("span",{className:oe()(pe.a.icon_finger,pe.a.type_icon)}
1))):null),ae.a.createElement("div",{className:pe.a.borwers},ae.a.createElement("div",null,window.locale[d].browser_recommended),ae.a.createElement("div",{className:pe.a.borwersItem},ae.a.createElement("img",{src:We.a})," Edge"),ae.a.createElement("div",{className:pe.a.borwersItem},ae.a.createElement("img",{src:Me.a})," ç«ç"),ae.a.createElement("div",{className:pe.a.borwersItem},ae.a.createElement("img",{src:Ie.a})," è°·æ"))),ae.a.createElement("div",{className:pe.a.footer,style:window.tip.fourthThemeFooter?window.tip.fourthThemeFooter:{}},ae.a.createElement("div",{className:pe.a.footerContent,dangerouslySetInnerHTML:{__html:te||"<div><p>"+window.locale[d].copyright_company+"</p></div>"}}))))),ae.a.createElement(w.a,{visible:H,footer:null,onCancel:function(){return r.setState({ukeyVisible:!1})}},ae.a.createElement("div",{style:{width:"100%",textAlign:"center"}},ae.a.createElement(v.a,{spinning:!0,tip:"æ£æµå°Ukeyæ£å¨ç»å½......"}))))}}]),t}(ae.a.Component),d=function(){var e=this;this.resize=function(){a.i(ce.c)().windowH<970&&a.i(ce.c)().windowW>980?document.body.style.overflowY="scroll":document.body.style.overflowY="hidden",a.i(ce.c)().windowH<701?e.setState({isLowPx:!0}):e.setState({isLowPx:!1}),e.setState({windowW:a.i(ce.c)().windowW})},this.handleReset=function(){e.props.form.resetFields()},this.initLogin=function(){e.loadAccountInfo(),e.queryLogin(e.props),(navigator.userAgent.indexOf("MSIE")>-1||navigator.userAgent.indexOf("Firefox")>-1)&&!navigator.userAgent.indexOf("opera")>-1?e.setState({ukeyIsConn:!0}):e.findUkeyClient()},this.handleChangePass=function(t){var a=t.target.value;if(a.length>0){if(8==t.keyCode)je=je.substr(0,je.length-1);else if(a.length>=je.length){var n=a.length-je.length;je+=a.substr(a.length-n,n)}else if(a.length<je.length){je="";var o=a.length-je.length;je+=a.substr(a.length-o,o)}}else je="";a=a.replace(/./g,"*"),e.props.form.setFieldsValue({password:a});var i=je,r=e.state.userInfo.password;r&&(r!=i?e.setState({userInfo:Be({},e.state.userInfo,{change:!0})}):e.setState({userInfo:Be({},e.state.userInfo,{change:!1})}))},this.encodePass=function(e){a.i(he.a)(131);var t=a.i(he.b)(ue.a.public_exponent,"",ue.a.modulus);return a.i(he.c)(t,e)},this.passKeyCheck=function(e){console.log(e)},this.handleAccountSubmit=function(t){t&&t.preventDefault();var n=e.props.login.loginData,o=e.state.loginCode;e.props.form.validateFieldsAndScroll(function(t,i){if(!t){var r=document.getElementById("password").value;if(!r)return void e.setState({hasError:!0});var l="",s="";"1"==n.isVerifyCode&&(l=o.uid,s=i.captcha);var c=a(5),u=window.location.search;u=u.substring(u.indexOf("?")+1);var d=c.parse(u),p=n.defaultLoginUrl;p=d&&d.service?d.service:n.defaultLoginUrl,s=s&&s.replace(/(^\s*)|(\s*$)/g,""),new Promise(function(t){e.props.dispatch(a.i(ge.c)(i.userName,r,p,"",e.props.history,i.rememberMe,e.state.userInfo.change,l,s,t,n.captchaType))}).then(function(){e.queryLoginKaptcha(l)})}})},this.handleSmsSubmit=function(t){t.preventDefault(),e.props.form.validateFieldsAndScroll(function(t,n){if(!t){var o={mobile:n.mobile,code:n.smsCode};e.props.dispatch(a.i(ge.e)("none","url("+Oe.a+") no-repeat 50% 30%","block")),a.i(me.b)(ue.a.CAS+"/sms/validateCode",o).then(function(t){var n=t.meta,o=t.data;if(n.success){if(o){var i=a(5),r=window.location.search;r=r.substring(r.indexOf("?")+1);var l=i.parse(r),s=o.service;l&&l.service&&(s=l.service),e.props.dispatch(a.i(ge.c)(o.userName,o.passWord,s,"2",e.props.history))}}else w.a.error({title:window.locale[e.props.login.locale].sms_login,content:n.message}),e.props.dispatch(a.i(ge.e)("block","none","none"))})}})},this.handleWXCode=function(){e.setState({loginType:3,wechatCode:Be({},e.state.wechatCode,{stop:!1}),appCode:Be({},e.state.appCode,{stop:!0}),mmdlCode:Be({},e.state.mmdlCode,{stop:!0})},function(){e.clearAllTimers(),e.wxQrTimeout||e.checkScanWXQr(e.state.wechatCode.uuid),e.handleChangeWXQr()})},this.queryDdCode=function(){le.a.get(ue.a.CAS+"/weChat/CreateQRcode",{params:{serviceType:"login",platformType:"dd"}}).then(function(t){"200"==t.status&&t.data&&e.setState({ddCode:Be({},e.state.ddCode,t.data,{isDdCode:!1})},function(){e.changeDdQrTimeOut&&(clearTimeout(e.changeDdQrTimeOut),e.changeDdQrTimeOut=null),e.ddQrTimeout&&(clearTimeout(e.ddQrTimeout),e.ddQrTimeout=null,e.handleDdCode())})})},this.handleDdCode=function(){e.setState({loginType:13,ddCode:Be({},e.state.ddCode,{stop:!1}),wechatCode:Be({},e.state.wechatCode,{stop:!1}),appCode:Be({},e.state.appCode,{stop:!0}),mmdlCode:Be({},e.state.mmdlCode,{stop:!0})},function(){e.clearAllTimers(),e.ddQrTimeout||e.checkScanDdQr(e.state.ddCode.uuid),e.handleChangeDdQr()})},this.checkScanDdQr=function(t){e.ddQrTimeout=setTimeout(function(){a.i(me.b)(ue.a.CAS+"/weChat/wx/CheckScan",{state:t}).then(function(n){var o=n.meta,i=n.data;if(o.success){var r=a(5),l=window.location.search;l=l.substring(l.indexOf("?")+1);var s=r.parse(l),c=i.service;s&&s.service&&(c=s.service),i?(e.ddQrTimeout&&(clearTimeout(e.ddQrTimeout),e.ddQrTimeout=null),e.changeDdQrTimeOut&&(clearTimeout(e.changeDdQrTimeOut),e.changeDdQrTimeOut=null),e.setState({ddQr:Be({},i)},function(){e.props.dispatch(a.i(ge.c)(i.userName,i.passWord,c,"13",e.props.history))})):e.state.ddCode.stop||e.state.ddCode.refresh?(e.ddQrTimeout&&(clearTimeout(e.ddQrTimeout),e.ddQrTimeout=null),e.changeDdQrTimeOut&&(clearTimeout(e.changeDdQrTimeOut),e.changeDdQrTimeOut=null)):e.checkScanDdQr(t)}
1else e.state.ddCode.stop||e.state.ddCode.refresh?(e.ddQrTimeout&&(clearTimeout(e.ddQrTimeout),e.ddQrTimeout=null),e.changeDdQrTimeOut&&(clearTimeout(e.changeDdQrTimeOut),e.changeDdQrTimeOut=null)):e.checkScanDdQr(t)})},1e3)},this.handleChangeDdQr=function(){e.state.ddCode.refresh&&e.setState({ddCode:Be({},e.state.ddCode,{refresh:!1})},function(){e.queryDdCode(""),e.changeDdQrTimeOut&&(clearTimeout(e.changeDdQrTimeOut),e.changeDdQrTimeOut=null)}),e.changeDdQrTimeOut=setTimeout(function(){e.state.ddCode.stop||e.state.ddCode.refresh||e.setState({ddCode:Be({},e.state.ddCode,{refresh:!0})})},3e5)},this.clearAllTimers=function(){e.appQrTimeout&&(clearTimeout(e.appQrTimeout),e.appQrTimeout=null),e.ddQrTimeout&&(clearTimeout(e.ddQrTimeout),e.ddQrTimeout=null),e.changeAppQrTimeOut&&(clearTimeout(e.changeAppQrTimeOut),e.changeAppQrTimeOut=null),e.wxQrTimeout&&(clearTimeout(e.wxQrTimeout),e.wxQrTimeout=null),e.changeWXQrTimeOut&&(clearTimeout(e.changeWXQrTimeOut),e.changeWXQrTimeOut=null),e.changeDdQrTimeOut&&(clearTimeout(e.changeDdQrTimeOut),e.changeDdQrTimeOut=null),e.mmdlQrTimeout&&(clearTimeout(e.mmdlQrTimeout),e.mmdlQrTimeout=null),e.changeMMDLQrTimeOut&&(clearTimeout(e.changeMMDLQrTimeOut),e.changeMMDLQrTimeOut=null)},this.handleAppCode=function(){e.setState({loginType:4,appCode:Be({},e.state.appCode,{stop:!1}),wechatCode:Be({},e.state.wechatCode,{stop:!0}),mmdlCode:Be({},e.state.mmdlCode,{stop:!0})},function(){e.clearAllTimers(),e.appQrTimeout||e.checkScanPhoneQr(e.state.appCode.uuid),e.handleChangeAppQr()})},this.handleMMDLCode=function(){e.setState({loginType:9,mmdlCode:Be({},e.state.mmdlCode,{stop:!1}),appCode:Be({},e.state.appCode,{stop:!0}),wechatCode:Be({},e.state.wechatCode,{stop:!0})},function(){e.clearAllTimers(),e.mmdlQrTimeout||e.checkScanMMDLQr(e.state.mmdlCode.uuid),a.i(ce.a)("browserId")||e.handleChangeMMDLQr()})},this.goMMDL=function(){var t=a.i(ce.a)("browserId");a.i(me.b)(ue.a.CAS+"/cam/v1/confirm",{browserId:t}).then(function(t){t.data?e.handleMMDLCode:w.a.error({title:window.locale[e.props.login.locale].warn,content:data})})},this.onEye=function(){e.setState({eye:!e.state.eye})},this.handleRefreshAppQrClick=function(){var t=e.props.login;t.loginData&&"1"==t.loginData.isApp&&e.state.appCode.refresh&&e.setState({appCode:Be({},e.state.appCode,{refresh:!1})},function(){e.queryAppQrCode(""),e.checkScanPhoneQr()})},this.handleRefreshMMDLQrClick=function(){var t=e.props.login;t.loginData&&"1"==t.loginData.isMMDL&&e.state.mmdlCode.refresh&&e.setState({mmdlCode:Be({},e.state.mmdlCode,{refresh:!1})},function(){e.queryMMDLQrCode(""),e.checkScanMMDLQr()})},this.handleRefreshWXQrClick=function(){var t=e.props.login;t.loginData&&"1"==t.loginData.isWeChat&&e.state.wechatCode.refresh&&e.setState({wechatCode:Be({},e.state.wechatCode,{refresh:!1})},function(){e.queryWechat(""),e.checkScanWXQr()})},this.handleRefreshDdQrClick=function(){var t=e.props.login;t.loginData&&"1"==t.loginData.isDingDing&&e.state.ddCode.refresh&&e.setState({ddCode:Be({},e.state.ddCode,{refresh:!1})},function(){e.queryDdCode(""),e.checkScanDdQr()})},this.onSendCode=function(){e.state.sending||e.props.form.validateFields(["mobile","captcha"],{force:!0},function(t,a){if(!t){e.setState({sending:!0});var n=(new Date).getTime(),o=e.encodePass(ue.a.TAG+n),i=e.props.login.loginData.smsSendTime;i=60*parseInt(i),e.setState({count:i}),e.timer=setInterval(function(){e.setState({count:i--},function(){0===e.state.count&&(clearInterval(e.timer),e.timer=null,e.setState({sending:!1}))})},1e3);var r={mobile:a.mobile,username:a.mobile,module:"0"};e.props.login.loginData.isVerifyCodeType.indexOf("2")>-1&&(r.module="3",r.code=a.captcha,r.id=e.state.loginCode.uid),le.a.post(ue.a.CAS+"/login/mobile/generateCode",r,{headers:{token:o}}).then(function(t){var a=t.data,n=a.meta;a.data;if(n.success)w.a.success({title:window.locale[e.props.login.locale].warn,content:window.locale[e.props.login.locale].send_sms_code_success});else{e.timer&&(clearInterval(e.timer),e.timer=null),e.setState({sending:!1});var o=n.message;"CODEFALSE"==n.message&&(o="éªè¯ç é误"),w.a.error({title:window.locale[e.props.login.locale].warn,content:o}),e.queryLoginKaptcha(e.state.loginCode.uid)}})}})},this.queryLoginKaptcha=function(t){le.a.get(ue.a.CAS+"/kaptcha",{params:{uid:t}}).then(function(t){"200"==t.status&&t.data&&t.data.uid&&"-1"!=t.data.uid&&e.setState({loginCode:Be({},t.data,{isLoginCode:!1})})})},this.queryAppQrCode=function(){le.a.get(ue.a.CAS+"/QrCode",{params:{cmd:"getQr"}}).then(function(t){"200"==t.status&&t.data&&e.setState({appCode:Be({},e.state.appCode,t.data,{isAppCode:!1})},function(){e.changeAppQrTimeOut&&(clearTimeout(e.changeAppQrTimeOut),e.changeAppQrTimeOut=null),e.appQrTimeout&&(clearTimeout(e.appQrTimeout),e.appQrTimeout=null,e.handleAppCode())})})},this.queryWechat=function(){le.a.get(ue.a.CAS+"/weChat/CreateQRcode",{params:{businessType:"login",platformType:"wx"}}).then(function(t){"200"==t.status&&t.data&&e.setState({wechatCode:Be({},e.state.wechatCode,t.data,{isWeChatCode:!1})},function(){e.changeWXQrTimeOut&&(clearTimeout(e.changeWXQrTimeOut),e.changeWXQrTimeOut=null),e.wxQrTimeout&&(clearTimeout(e.wxQrTimeout),e.wxQrTimeout=null,e.handleWXCode())})})},this.queryMMDLQrCode=function(){le.a.get(ue.a.CAS+"/cam/v1/MMDLQrCode",{params:{cmd:"getQr"}}).then(function(t){"200"==t.status&&t.data&&e.setState({mmdlCode:Be({},e.state.mmdlCode,t.data,{isMMDLCode:!1})},function(){e.changeMMDLQrTimeOut&&(clearTimeout(e.changeMMDLQrTimeOut),e.changeMMDLQrTimeOut=null),e.mmdlQrTimeout&&(clearTimeout(e.mmdlQrTimeout),e.mmdlQrTimeout=null,e.handleMMDLCode())})})},this.queryQQLoginUrl=function(){var t=a(5),n=window.location.search;n=n.substring(n.indexOf("?")+1);var o=t.parse(n),i="";o&&o.service&&(i=o.service),i.replace("&","&").replace("<","<").replace(">",">").replace('"',""").replace("'","'").replace("/","/"),a.i(me.a)(ue.a.CAS+"/qq/qqLoginURL",{service:i}).then(function(t){var a=t.meta,n=t.data;a.success&&n&&e.setState({qqLoginUrl:n})})},this.queryPreLoginType=function(){var t=a.i(ce.a)("loginType");t&&(e.setState({loginType:t}),3==t&&(e.queryWechat(""),e.checkScanWXQr()),4==t&&(e.queryAppQrCode(""),e.checkScanPhoneQr(e.state.appCode.uuid)),9==t&&(e.queryMMDLQrCode(""),e.checkScanMMDLQr(e.state.mmdlCode.uuid)),13==t&&(e.queryDdCode(""),e.checkScanDdQr(e.state.ddCode.uuid)))},this.queryLogin=function(t){var n=t.login;if(n.loginData&&"1"==n.loginData.isVerifyCode&&e.state.loginCode.isLoginCode){if(a.i(ce.c)().windowW<=980)return;e.queryLoginKaptcha("")}n.loginData&&"1"==n.loginData.isqq&&!e.state.qqLoginUrl&&e.queryQQLoginUrl()},this.checkScanMMDLQr=function(t){var n=a(5),o=a.i(ce.a)("browserId");o&&(t=o),e.mmdlQrTimeout=setTimeout(function(){a.i(me.b)(ue.a.CAS+"/cam/v1/checkScanMMDL",n.str
1ingify({ticket:t})).then(function(n){var o=n.meta,i=n.data;if(o.success){var r=a(5),l=window.location.search;l=l.substring(l.indexOf("?")+1);var s=r.parse(l),c=i.service;s&&s.service&&(c=s.service),i?(e.mmdlQrTimeout&&(clearTimeout(e.mmdlQrTimeout),e.mmdlQrTimeout=null),e.changeMMDLQrTimeOut&&(clearTimeout(e.changeMMDLQrTimeOut),e.changeMMDLQrTimeOut=null),i.browserId&&a.i(ce.b)("browserId",i.browserId),e.setState({mmdlQr:Be({},i)},function(){e.props.dispatch(a.i(ge.c)(i.userName,i.passWord,c,"9",e.props.history))})):e.state.mmdlCode.stop||e.state.mmdlCode.refresh?(e.mmdlQrTimeout&&(clearTimeout(e.mmdlQrTimeout),e.mmdlQrTimeout=null),e.changeMMDLQrTimeOut&&(clearTimeout(e.changeMMDLQrTimeOut),e.changeMMDLQrTimeOut=null)):e.checkScanMMDLQr(t)}else"noLogin"==o.message&&(a.i(ce.f)("browserId"),e.setState({isAvoidPass:"0"})),e.state.mmdlCode.stop||e.state.mmdlCode.refresh?(e.mmdlQrTimeout&&(clearTimeout(e.mmdlQrTimeout),e.mmdlQrTimeout=null),e.changeMMDLQrTimeOut&&(clearTimeout(e.changeMMDLQrTimeOut),e.changeMMDLQrTimeOut=null)):e.checkScanMMDLQr(t)})},1e3)},this.checkScanPhoneQr=function(t){var n=a(5);e.appQrTimeout=setTimeout(function(){a.i(me.b)(ue.a.CAS+"/CheckScan",n.stringify({ticket:t})).then(function(n){var o=n.meta,i=n.data;if(o.success){var r=a(5),l=window.location.search;l=l.substring(l.indexOf("?")+1);var s=r.parse(l),c=i.service;s&&s.service&&(c=s.service),i?(e.appQrTimeout&&(clearTimeout(e.appQrTimeout),e.appQrTimeout=null),e.changeAppQrTimeOut&&(clearTimeout(e.changeAppQrTimeOut),e.changeAppQrTimeOut=null),e.setState({appQr:Be({},i)},function(){e.props.dispatch(a.i(ge.c)(i.userName,i.passWord,c,"4",e.props.history))})):e.state.appCode.stop||e.state.appCode.refresh?(e.appQrTimeout&&(clearTimeout(e.appQrTimeout),e.appQrTimeout=null),e.changeAppQrTimeOut&&(clearTimeout(e.changeAppQrTimeOut),e.changeAppQrTimeOut=null)):e.checkScanPhoneQr(t)}else e.state.appCode.stop||e.state.appCode.refresh?(e.appQrTimeout&&(clearTimeout(e.appQrTimeout),e.appQrTimeout=null),e.changeAppQrTimeOut&&(clearTimeout(e.changeAppQrTimeOut),e.changeAppQrTimeOut=null)):e.checkScanPhoneQr(t)})},1e3)},this.checkScanWXQr=function(t){e.wxQrTimeout=setTimeout(function(){a.i(me.b)(ue.a.CAS+"/weChat/wx/CheckScan",{state:t}).then(function(n){var o=n.meta,i=n.data;if(o.success){var r=a(5),l=window.location.search;l=l.substring(l.indexOf("?")+1);var s=r.parse(l),c=i.service;s&&s.service&&(c=s.service),i?(e.wxQrTimeout&&(clearTimeout(e.wxQrTimeout),e.wxQrTimeout=null),e.changeWXQrTimeOut&&(clearTimeout(e.changeWXQrTimeOut),e.changeWXQrTimeOut=null),e.setState({wxQr:Be({},i)},function(){e.props.dispatch(a.i(ge.c)(i.userName,i.passWord,c,"3",e.props.history))})):e.state.wechatCode.stop||e.state.wechatCode.refresh?(e.wxQrTimeout&&(clearTimeout(e.wxQrTimeout),e.wxQrTimeout=null),e.changeWXQrTimeOut&&(clearTimeout(e.changeWXQrTimeOut),e.changeWXQrTimeOut=null)):e.checkScanWXQr(t)}else e.state.wechatCode.stop||e.state.wechatCode.refresh?(e.wxQrTimeout&&(clearTimeout(e.wxQrTimeout),e.wxQrTimeout=null),e.changeWXQrTimeOut&&(clearTimeout(e.changeWXQrTimeOut),e.changeWXQrTimeOut=null)):e.checkScanWXQr(t)})},1e3)},this.handleChangeAppQr=function(){e.state.appCode.refresh&&e.setState({appCode:Be({},e.state.appCode,{refresh:!1})},function(){e.queryAppQrCode(""),e.changeAppQrTimeOut&&(clearTimeout(e.changeAppQrTimeOut),e.changeAppQrTimeOut=null)}),e.changeAppQrTimeOut=setTimeout(function(){e.state.appCode.stop||e.state.appCode.refresh||e.setState({appCode:Be({},e.state.appCode,{refresh:!0})})},3e5)},this.handleChangeWXQr=function(){e.state.wechatCode.refresh&&e.setState({wechatCode:Be({},e.state.wechatCode,{refresh:!1})},function(){e.queryWechat(""),e.changeWXQrTimeOut&&(clearTimeout(e.changeWXQrTimeOut),e.changeWXQrTimeOut=null)}),e.changeWXQrTimeOut=setTimeout(function(){e.state.wechatCode.stop||e.state.wechatCode.refresh||e.setState({wechatCode:Be({},e.state.wechatCode,{refresh:!0})})},3e5)},this.handleChangeMMDLQr=function(){e.state.mmdlCode.refresh&&e.setState({mmdlCode:Be({},e.state.mmdlCode,{refresh:!1})},function(){e.queryMMDLQrCode(""),e.changeMMDLQrTimeOut&&(clearTimeout(e.changeMMDLQrTimeOut),e.changeMMDLQrTimeOut=null)}),e.changeMMDLQrTimeOut=setTimeout(function(){e.state.mmdlCode.stop||e.state.mmdlCode.refresh||e.setState({mmdlCode:Be({},e.state.mmdlCode,{refresh:!0})})},3e5)},this.loadAccountInfo=function(){var t=localStorage.getItem("accountInfo")&&JSON.parse(localStorage.getItem("accountInfo"));if(t){if(!(t&&(new Date).getTime()<t.expires))return localStorage.removeItem("accountInfo"),null;var a="",n="",o=new Array;o=t.value.split("&"),a=o[0],n=o[1],e.setState({userInfo:Be({},e.state.userInfo,{userName:a,password:n,inputPassWord:n,rememberMe:!0}),login_btn_show:!0,is_AccountValue:!0,is_PasswordValue:!0})}},this.handlePasswordChange=function(t){console.log(t);var a=!1;
1""==t.target.value&&(a=!0),e.setState({hasError:a})},this.onKeyDown=function(e){if(9==e.keyCode){var t=document.activeElement.getAttribute("id");"userName"==t?document.getElementById("password").click():"password"==t&&document.getElementById("captcha").click()}},this.onEye=function(t){"text"==document.getElementById("password").type?(document.getElementById("password").type="password",e.setState({eyes:"eye-invisible"})):(document.getElementById("password").type="text",e.setState({eyes:"eye"}))},this.hide=function(){e.queryLoginKaptcha(e.state.loginCode.uid),e.setState({visible:!1,memban:"none"},function(){})},this.handleVisibleChange=function(t){e.queryLoginKaptcha(e.state.loginCode.uid),e.setState({visible:t,memban:"block"},function(){})},this.handleCheckAccount=function(t){var a={username:e.state.userName,cardID:e.state.cardid,code:e.state.queryCode,uid:e.state.loginCode.uid};le.a.get(ue.a.CAS+"/checkAccount",{params:a}).then(function(t){if(e.setState({dataSource:[]}),"200"==t.status&&t.data)if(t.data.meta.success){for(var a=[],n=0;n<t.data.data.length;n++)a[n]={screenname:null==t.data.data[n].screenName?"":t.data.data[n].screenName,username:null==t.data.data[n].userName?"":t.data.data[n].userName,othername:null==t.data.data[n].alias?"":t.data.data[n].alias,cardId:null==t.data.data[n].cardId?"":t.data.data[n].cardId};e.setState({dataSource:a})}else w.a.error({title:window.locale[e.props.login.locale].query_fail,content:t.data.meta.message})})},this.getusercardid=function(t){e.setState({cardid:t.target.value})},this.getusername=function(t){e.setState({userName:t.target.value})},this.getQueryCode=function(t){e.setState({queryCode:t.target.value})},this.handleClickOption=function(e){switch(e){case 1:window.open(window.mobileSafeProblem);break;case 2:window.open(window.mobileSafePassWord);break;case 3:window.open(window.mobileSafeAppeal);break;default:window.open(window.mobileSafeProblem)}},this.onChangTab=function(t){var a=e.state,n=a.loginType,o=a.secondThemeColor,i=e.props.login,r=i.loginData,l=i.locale;1==t?e.setState({tab:"1",tabList:[{key:"1",name:window.locale[l].account_login},{key:"2",name:2==r.tabType?window.locale[l].sms_login:window.locale[l].Qr_code_Login}],tabHover1:{color:r.themeColor?o||r.themeColor:"#1890fe"},tabHover2:{background:r.themeColor?o||r.themeColor:"#1890fe"},loginType:1,isFirst:!0,appCode:Be({},e.state.appCode,{stop:!0}),wechatCode:Be({},e.state.wechatCode,{stop:!0})},function(){e.clearAllTimers()}):2==r.tabType?e.setState({loginType:2,tabList:[{key:"1",name:window.locale[l].account_login},{key:"2",name:window.locale[l].sms_login}],tabHover2:{color:r.themeColor?o||r.themeColor:"#1890fe"},tabHover1:{background:r.themeColor?o||r.themeColor:"#1890fe"}},function(){e.clearAllTimers()}):(n<3||5==n||6==n)&&(e.setState({tab:"2",tabList:[{key:"1",name:3!=r.tabType?window.locale[l].account_login:window.locale[l].sms_login},{key:"2",name:window.locale[l].Qr_code_Login}],tabHover2:{color:r.themeColor?o||r.themeColor:"#1890fe"},tabHover1:{background:r.themeColor?o||r.themeColor:"#1890fe"}}),r.isWeChat&&"1"==r.isWeChat?e.setState({loginType:3,isFirst:!0},function(){e.queryWechat(),e.handleWXCode()}):r.isApp&&"1"==r.isApp&&e.setState({loginType:4,isFirst:!0},function(){e.queryAppQrCode(),e.handleAppCode()}))},this.onChangNewTab=function(t){var a=e.state,n=a.loginType,o=(a.secondThemeColor,a.loginCode),i=e.props.login,r=i.loginData;i.locale;e.queryLoginKaptcha(o.uid),1==t?e.setState({loginType:1,isFirst:!0,appCode:Be({},e.state.appCode,{stop:!0}),wechatCode:Be({},e.state.wechatCode,{stop:!0})},function(){e.clearAllTimers()}):2==t?e.setState({loginType:2,appCode:Be({},e.state.appCode,{stop:!0}),wechatCode:Be({},e.state.wechatCode,{stop:!0})},function(){e.clearAllTimers()}):(n<3||5==n||6==n)&&(r.isWeChat&&"1"==r.isWeChat?e.setState({loginType:3,isFirst:!0},function(){e.queryWechat(),e.handleWXCode()}):r.isApp&&"1"==r.isApp?e.setState({loginType:4,isFirst:!0},function(){e.queryAppQrCode(),e.handleAppCode()}):e.setState({loginType:13},function(){e.queryDdCode(),e.handleDdCode()}))},this.setQr=function(t,a,n,o){var i=window.tip.appWidth?window.tip.appWidth+8:14*(window.locale[e.props.login.locale].APP_scan_login.length-5)+108,r=window.locale[e.props.login.locale].WeChat_scan_login?14*window.locale[e.props.login.locale].WeChat_scan_login.length+52:0,l=window.locale[e.props.login.locale].auth_scan_login?14*window.locale[e.props.login.locale].auth_scan_login.length+52:0,s=window.locale[e.props.login.locale].Dd_scan_login?14*window.locale[e.props.login.locale].Dd_scan_login.length+52:0;return"1"!=t&&(r=0),"1"!=a&&(i=0),"1"!=n&&(l=0),"1"!=o&&(s=0),i+r+l+s},this.ukeyLoginRundown=function(){var t=a.i(Ee.a)().certId;le.a.get("/lyuapServer/UKey/getRandom").then(function(n){var o=n.data,i=o.meta,r=o.data;if(i&&i.success){var l=e.props.login.loginData,s=a(5),c=window.location.search;c=c.substring(c.indexOf("?")+1);var u=s.parse(c),d=l.defaultLoginUrl;d=u&&u.service?u.service:l.defaultLoginUrl;var p={random:r,signValue:window.SOF_SignData(t,r),cret:window.SOF_ExportUserCert(a.i(Ee.a)().certId),service:d};a.i(me.b)("/lyuapServer/UKey/login",p).then(function(t){var n=t.meta;if(n&&!n.success)return e.setState({ukeyVisible:!1}),void g.a.error("ç»å½å¤±è´¥ï¼");console.log(t);var o={type:1,service:d,tgt:t.tgt};window.tip.isChangeHttps&&(o.service=d.indexOf("https")>-1?d:d.replace("http","https")),localStorage.setItem("TGC",JSON.stringify(o)),a.i(ce.b)("loginType",1,.5),a.i(ce.b)("session","1",.5),a.i(ce.b)("CASTGC",o.tgt);var i=void 0;i=d.indexOf("?")>-1?d:decodeURIComponent(d),d.indexOf("shiro-cas?loginService")>0&&(i=d.substring(0,d.indexOf("?"))),i.indexOf("?")<0&&i.indexOf("&")<0?i+="?":i+="&";var r=i+"ticket="+t.data.ticket||data_tgt;if(d.indexOf("shiro-cas?loginService")>0){r+="&service="+d.substring(d.indexOf("loginService=")+13)}setTimeout(function(){},500)})}})},this.handleCheckIsNeedUkey=function(t){e.state.is_ukeyLogin&&(console.log(t.target.value),le.a.get("/lyuapServer/UKey/auth?uKeyAccount="+t.target.value.trim(),{headers:{uKeyAccount:t.target.value.trim()}}).then(function(t){var n=t.data,o=n.meta,i=n.data;if(o&&o.success&&"true"==i){if(!a.i(Ee.a)().certId)return void g.a.error("请æå
¥ç®¡çåçUKeyæ°åè¯ä¹¦ï¼åè¿è¡UKeyéªè¯ç»å½ï¼");e.setState({ukeyVisible:!0},function(){e.ukeyLoginRundown()})}}))},this.findUkeyClient=function(){try{e.setState({ukeyIsConn:!0});(new fe.a).Socket_UK.onopen=function(){e.setState({ukeyIsConn:!0})}}catch(e){}},this.ukeyEventListener=function(){try{if((navigator.userAgent.indexOf("MSIE")>-1||navigator.userAgent.indexOf("Firefox")>-1)&&!navigator.userAgent.indexOf("opera")>-1)return e.ukeyEventListenerIE10();var t=new fe.a;e.setState({ukeyIsIn:!0}),t.Socket_UK.onmessage=function(t){var a=JSON.parse(t.data);"PnpEvent"==a.type&&(a.IsIn?(g.a.info(window.locale[e.props.login.locale].ukey_insert),e.setState({ukeyIsIn:!0})):(g.a.info(window.locale[e.props.login.locale].ukey_pull),e.setState({ukeyIsIn:!1})))}}catch(t){w.a.error({title:window.locale[e.props.login.locale].warn,content:window.locale[e.props.login.locale].ukey_login_not_use})}},this.ukeyEventListenerIE10=function(){try{var t=new ActiveXObject("Syunew3A.s_simnew3");if(t.FindPort(0),0==t.LastError)return e.ukeyTimeout=setTimeout(function(){e.setState({ukeyIsIn:!0})},1e3),!1}catch(t){w.a.error({title:window.locale[e.props.login.locale].warn,content:window.locale[e.props.login.locale].ukey_login_not_use})}}},s=u))||s,Xe=ee.a.create()(ze);t.a=Xe},605:function(e,t,a){"use strict";var n=a(1),o=a.n(n),i=a(1149),r=a.n(i),l=a(1475),s=a.n(l),c=a(1476),u=a.n(c),d=a(1477),p=a.n(d),m=(a(1449),a(1450),function(){function e(e,t){var a=[],n=!0,o=!1,i=void 0;try{for(var r,l=e[Symbol.iterator]();!(n=(r=l.next()).done)&&(a.push(r.value),!t||a.length!==t);n=!0);}catch(e){o=!0,i=e}finally{try{!n&&l.return&&l.return()}finally{if(o)throw i}}return a}return function(t,a){if(Array.isArray(t))return t;if(Symbol.iterator in Object(t))return e(t,a);
1throw new TypeError("Invalid attempt to destructure non-iterable instance")}}()),g=function(e){var t=a.i(n.useState)(""),i=m(t,2),l=i[0],c=i[1];return a.i(n.useEffect)(function(){c(e.themeColor)},[e.themeColor]),o.a.createElement("div",{className:r.a.descBox},o.a.createElement("div",null,o.a.createElement("div",{className:r.a.title},o.a.createElement("b",null,"使ç¨è¯´æä¹¦")),o.a.createElement("div",{style:{position:"relative"}},o.a.createElement("svg",{width:50,height:50,style:{color:l},className:r.a.my_svgImg},o.a.createElement("use",{xlinkHref:"#info"})),o.a.createElement("div",{className:r.a.left_box},o.a.createElement("div",{style:{marginBottom:"10px"}},o.a.createElement("span",{className:r.a.grey_font_888+" "+r.a.margin_right_10},"æ¨èä½¿ç¨æµè§å¨"),o.a.createElement("span",{className:r.a.margin_right_18},o.a.createElement("img",{src:s.a,style:{marginRight:"8px"}}),"Edge"),o.a.createElement("span",{className:r.a.margin_right_18},o.a.createElement("img",{src:u.a,style:{marginRight:"8px"}}),"ç«ç"),o.a.createElement("span",{className:r.a.margin_right_18},o.a.createElement("img",{src:p.a,style:{marginRight:"8px"}}),"è°·æ")),o.a.createElement("span",{className:r.a.grey_font_888},o.a.createElement("a",{className:r.a.grey_font_888+" "+r.a.margin_right_10,href:"",target:"_blank"},"OAç³»ç»"),o.a.createElement("a",{className:r.a.grey_font_888+" "+r.a.margin_right_10,href:"",target:"_blank"},"人äºç³»ç»"),o.a.createElement("a",{className:r.a.grey_font_888+" "+r.a.margin_right_10,href:"",target:"_blank"},"æå¡ç®¡çç³»ç»"),o.a.createElement("a",{className:r.a.grey_font_888+" "+r.a.margin_right_10,href:"",target:"_blank"},"è´¢å¡ç³»ç»"),o.a.createElement("a",{className:r.a.grey_font_888+" "+r.a.margin_right_10,href:"",target:"_blank"},"ç§ç 管çç³»ç»"),o.a.createElement("a",{className:r.a.grey_font_888+" "+r.a.margin_right_10,href:"",target:"_blank"},"è¿æ°ç®¡çç³»ç»"),o.a.createElement("a",{className:r.a.grey_font_888+" "+r.a.margin_right_10,href:"",target:"_blank"},"æ ¡å管çç³»ç»")))),o.a.createElement("div",{style:{marginTop:"10px"}},o.a.createElement("p",null,o.a.createElement("span",{style:{color:"#FF0000"}},"温馨æç¤ºï¼"),"åºäºå®å
¨èèï¼ä¸æ¦æ¨è®¿é®è¿é£äºéè¦æ¨æä¾åè¯ä¿¡æ¯çåºç¨æ¶ï¼è¯·æä½å®ä¹åå
³éæµè§å¨ã"))),o.a.createElement("div",null,o.a.createElement("div",{className:r.a.title},o.a.createElement("b",null,"ç½ç»å®å
¨æ¸©é¦¨æç¤º")),o.a.createElement("div",{style:{position:"relative"}},o.a.createElement("svg",{width:50,height:50,style:{color:l},className:r.a.my_svgImg},o.a.createElement("use",{xlinkHref:"#tips"})),o.a.createElement("div",{className:r.a.right_box+" "+r.a.grey_font_888},o.a.createElement("p",{style:{marginBottom:"10px"}},"ç½å®ï¼æ°å®ï¼å½å®¶å®ï¼å
±å»ºç½ç»å®å
¨ï¼å
±äº«ç½ç»ææ"),o.a.createElement("p",null,"注æç½ç»å®å
¨ï¼ä¿æ¤ä¸ªäººéç§")))))};t.a=g},606:function(e,t,a){"use strict";var n=a(1),o=a.n(n),i=function(){return o.a.createElement("div",{style:{padding:"20px 0",height:"80px",background:"#fff",color:"#333"}},o.a.createElement("p",null,"èå¥ç§æçæææ 粤ICPå¤12037813å·-2"),o.a.createElement("p",null),o.a.createElement("p",null,"æ»é¨å°åï¼å¹¿ä¸ç广å·å¸å¤©æ²³åºææè·¯49å·èå¥ç§æ"))};t.a=i},607:function(e,t,a){"use strict";function n(e,t,a){return t in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a,e}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function r(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var l,s,c,u,d,p=a(37),m=(a.n(p),a(36)),g=a.n(m),h=a(53),f=(a.n(h),a(52)),w=a.n(f),y=a(143),b=(a.n(y),a(97)),v=a.n(b),E=a(120
1),C=(a.n(E),a(119)),T=a.n(C),x=a(125),S=(a.n(x),a(124)),k=a.n(S),O=a(210),A=(a.n(O),a(209)),D=a.n(A),Q=a(87),N=(a.n(Q),a(74)),I=a.n(N),L=a(22),M=(a.n(L),a(21)),P=a.n(M),W=a(41),q=(a.n(W),a(40)),U=a.n(q),R=a(48),B=(a.n(R),a(47)),F=a.n(B),K=a(45),j=(a.n(K),a(44)),z=a.n(j),X=a(56),H=(a.n(X),a(10)),V=a.n(H),G=a(117),J=(a.n(G),a(116)),Y=a.n(J),Z=a(28),$=(a.n(Z),a(27)),ee=a.n($),te=a(1),ae=a.n(te),ne=a(3),oe=a.n(ne),ie=a(51),re=a(29),le=a.n(re),se=a(12),ce=a(32),ue=a(16),de=a(185),pe=a.n(de),me=a(25),ge=a(23),he=a(31),fe=a(88),_e=a(329),we=a(330),ye=a(141),be=a.n(ye),ve=a(162),Ee=a.n(ve),Ce=a(1471),Te=a.n(Ce),xe=a(1472),Se=a.n(xe),ke=a(1473),Oe=a.n(ke),Ae=a(1478),De=a.n(Ae),Qe=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var a=arguments[t];for(var n in a)Object.prototype.hasOwnProperty.call(a,n)&&(e[n]=a[n])}return e},Ne=function(){function e(e,t){for(var a=0;a<t.length;a++){var n=t[a];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}return function(t,a,n){return a&&e(t.prototype,a),n&&e(t,n),t}}(),Ie=ee.a.Item,Le="",Me=(l=a.i(se.b)(function(e){return{dispatch:e.dispatch,login:e.login}}))((u=c=function(e){function t(e){o(this,t);var n=i(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return d.call(n),n.state={windowW:a.i(ce.c)().windowW,logoIcon:{bgIcon1:Te.a,bgIcon2:Se.a,bgIcon3:Oe.a,loginLogo:De.a},tabList:[{key:"1",name:window.locale[n.props.login.locale].account_login},{key:"2",name:window.locale[n.props.login.locale].Qr_code_Login}],tab:"1",userInfo:{userName:"",password:"",inputPassWord:"",rememberMe:!1,change:!1},loginType:1,loginCode:{isLoginCode:!0},eye:!1,sending:!1,wechatCode:{isWeChatCode:!0,stop:!1,refresh:!1},appCode:{isAppCode:!0,stop:!1,refresh:!1},mmdlCode:{isMMDLCode:!0,stop:!1,refresh:!1},qqLoginUrl:"",dingdingLoginUrl:"",isFirst:!1,isAvoidPass:"0",ukeyIsConn:!1,ukeyIsIn:!1,firstLoading:{display:"block"},eyes:"eye-invisible",columns:[],dataSource:[],visible:!1,accountInfo:{userName:"",cardid:""},userName:"",cardid:"",queryCode:{isQueryCode:!0},queryCodeValue:"",memban:"none",loginToken:""},n}return r(t,e),Ne(t,[{key:"componentWillMount",value:function(){this.goHome();var e=[{title:window.locale[this.props.login.locale].account,dataIndex:"screenname",key:"screenname"},{title:window.locale[this.props.login.locale].name,dataIndex:"username",key:"username"},{title:window.locale[this.props.login.locale].alias,dataIndex:"othername",key:"othername"},{title:window.locale[this.props.login.locale].ID_card,dataIndex:"cardId",key:"cardId"}];a.i(ce.a)("browserId")&&this.setState({isAvoidPass:"1"}),this.setState({columns:e})}},{key:"componentDidMount",value:function(){this.props.dispatch(a.i(ge.e)("block","none","none")),a.i(ce.c)().windowH<970&&a.i(ce.c)().windowW>980&&(document.body.style.overflowY="scroll"),this.resize(),window.addEventListener("resize",this.resize,!1)}},{key:"componentWillReceiveProps",value:function(e){_.isEqual(e.login.loginData,this.props.login.loginData)||(this.queryLogin(e),document.getElementsByTagName("title")[0].innerText=e.login.loginData.casTitle?e.login.loginData.casTitle:window.locale[this.props.login.locale].login_pageInfo_4)}},{key:"componentWillUnmount",value:function(){window.removeEventListener("resize",this.resize)}},{key:"goHome",value:function(){var e=this,t=this.props.login.loginData;if(this.state.isLogin)this.initLogin(),this.setState({isLogin:!0,firstLoading:{display:"none"}});else{if(a.i(ce.a)("CASTGC")){var n=a.i(ce.a)("CASTGC"),o=a(5),i=window.location.search;i=i.substring(i.indexOf("?")+1);var r=o.parse(i),l=t.defaultLoginUrl;l=r&&r.service?r.service:t.defaultLoginUrl;var s=this.getService(l);return void le.a.post(ue.a.CAS+"/v1/tickets/"+n,o.stringify({service:s,loginToken:"loginToken"})).then(function(t){if(200==t.status&&t.data){var a=t.data,n=void 0,o=void 0;if(-1!==a.indexOf(";")?(n=a.split(";")[0],o=a.split(";")[1]):n=a,"NOREGISTER"==n){var i={unAuthorizeUrl:l,unAuthorizeType:"1"};return sessionStorage.setItem("unAuthorizeInfo",JSON.stringify(i)),void e.props.history.push("/loginUnAuthorize")}if("NOAUTHORIZATION"==n){var r={unAuthorizeUrl:l,unAuthorizeType:"2",unAuthorizeName:o};return sessionStorage.setItem("unAuthorizeInfo",JSON.stringify(r)),void e.props.history.push("/loginUnAuthorize")}var s=e.getService1(l,t);window.location=s}else e.initLogin(),e.setState({isLogin:!0,firstLoading:{display:"none"}})})}if(a.i(ce.a)("session"))if(localStorage.getItem("TGC")){var c=JSON.parse(localStorage.getItem("TGC")),u=c.tgt,d=a(5),p=window.location.search;p=p.substring(p.indexOf("?")+1);var m=d.parse(p),g=t.defaultLoginUrl;g=m&&m.service?m.service:t.defaultLoginUrl;var h=this.getService(g);le.a.post(ue.a.CAS+"/v1/tickets/"+u,d.stringify({service:h,loginToken:"loginToken"})).then(function(t){if(200==t.status&&t.data){var a=t.data,n=a.split(";")[0],o=a.split(";")[1];if("NOREGISTER"==n){var i={unAuthorizeUrl:g,unAuthorizeType:"1"};return sessionStorage.setItem("unAuthorizeInfo",JSON.stringify(i)),void e.props.history.push("/loginUnAuthorize")}if("NOAUTHORIZATION"==n){var r={unAuthorizeUrl:g,unAuthorizeType:"2",unAuthorizeName:o};return sessionStorage.setItem("unAuthorizeInfo",JSON.stringify(r)),void e.props.history.push("/loginUnAuthorize")}var l=e.getService1(g,t);window.location=l}else e.initLogin(),e.setState({isLogin:!0,firstLoading:{display:"none"}})})}else this.initLogin(),this.setState({isLogin:!0,firstLoading:{display:"none"}});else this.initLogin(),this.setState({isLogin:!0,firstLoading:{display:"none"}},function(){localStorage.removeItem("TGC")}
1)}}},{key:"componentDidUpdate",value:function(e){var t=this,a=this.state,n=a.oldLoginType,o=a.loginType;if(n!=o){var i=setInterval(function(){t.inputRef&&t.inputRef.input&&1==o?(t.inputRef.focus(),clearInterval(i)):t.inputRef2&&t.inputRef2.input&&2==o&&(t.inputRef2.focus(),clearInterval(i))},100);this.setState({oldLoginType:this.state.loginType})}}},{key:"render",value:function(){var e,t=this,o=this.props.form.getFieldDecorator,i=this.state,r=i.windowW,l=i.logoIcon,s=i.tab,c=i.tabList,u=i.userInfo,d=i.loginType,p=i.loginCode,m=i.queryCode,g=i.ukeyIsIn,h=i.sending,f=i.count,_=(i.isLogin,i.wechatCode),y=i.appCode,b=i.mmdlCode,E=i.ukeyIsConn,C=i.columns,x=i.dataSource,S=i.hasError,O={animConfig:[{opacity:[1,0],rotateY:[0,180]},{opacity:[1,0],rotateY:[0,-180]}],duration:1e3},A=this.props.login,Q={};A.loginData&&(Q=A.loginData);var N=Number(Q.isUkeyLogin)+Number(Q.isFinger)+Number(Q.isSMS)+Number(Q.isqq),L=r<=980,M=("1"==Q.isApp||"1"==Q.isWeChat||Q.isMMDL,"1"==Q.isqq&&"1"==Q.isDingDing),W="1"==Q.isSMS&&"1"==Q.isqq||"1"==Q.isDingDing,q="1"==Q.isFinger&&("1"==Q.isSMS||"1"==Q.isqq),R="1"==Q.isUkeyLogin&&("1"==Q.isFinger||"1"==Q.isSMS||"1"==Q.isqq),B=pe.a.formMargin;S&&(B=pe.a.error);var K=a(5),j=window.location.search;j=j.substring(j.indexOf("?")+1);var X=K.parse(j),H=Q.defaultLoginUrl;return H=X&&X.service?X.service:Q.defaultLoginUrl,"none"!=this.state.firstLoading.display?null:ae.a.createElement(ae.a.Fragment,null,ae.a.createElement("div",{id:"memban",style:{width:"100%",height:"1000px",backgroundColor:"rgb(0,0,0,0.5)",position:"absolute",zIndex:"3",display:this.state.visible?"block":"none"}}),ae.a.createElement("div",{style:this.state.firstLoading},ae.a.createElement("div",{className:pe.a.imgssdiv}),ae.a.createElement("img",{src:Ee.a,className:pe.a.imgss}),ae.a.createElement("span",{className:pe.a.imgsstitle},window.locale[this.props.login.locale].login_wait)),ae.a.createElement("div",{className:pe.a.header+" "+pe.a.content},ae.a.createElement("div",{className:oe()(n({},pe.a.moblielogo,L))},ae.a.createElement("img",{src:l.loginLogo}))),ae.a.createElement("div",{className:pe.a.carousel},L?null:ae.a.createElement(Y.a,{autoplay:!0,autoplaySpeed:6e3},ae.a.createElement("img",{src:l.bgIcon1,className:pe.a.banner}),ae.a.createElement("img",{src:l.bgIcon2,className:pe.a.banner}),ae.a.createElement("img",{src:l.bgIcon3,className:pe.a.banner})),ae.a.createElement("div",{className:oe()((e={},n(e,pe.a.loginContent,!L),n(e,pe.a.moblieContent,L),e))},ae.a.createElement("div",{className:oe()(pe.a.login,n({},pe.a.mobileLogin,L))},L?null:"0"==Q.isWeChat&&"0"==Q.isApp?ae.a.createElement("ul",{className:pe.a.tab},ae.a.createElement("li",{style:{width:"100%"},onClick:function(){return t.onChangeType(c[0].key)}},c[0].name)):ae.a.createElement("ul",{className:pe.a.tab},c.map(function(e){return ae.a.createElement("li",{key:e.key,className:oe()({active:s==e.key}),onClick:function(){return t.onChangeType(e.key)}},e.name)})),ae.a.createElement("div",{className:pe.a.formContent},1==d||8==d?ae.a.createElement(ie.a,O,ae.a.createElement("div",{style:{background:this.props.login.submitpending},className:pe.a.anim_box,key:"A"},L?ae.a.createElement("div",{style:{display:this.props.login.submitting},className:pe.a.moblieTitle},window.locale[this.props.login.locale].pass_login):null,ae.a.createElement(ee.a,{style:{display:this.props.login.submitting},className:pe.a.verticalMiddle},ae.a.createElement(Ie,null,o("userName",{rules:[{required:!0,message:window.locale[this.props.login.locale].enter_account}],initialValue:u.userName})(ae.a.createElement(z.a,{size:"large",prefix:ae.a.createElement(V.a,{type:"user",style:{color:"rgba(0,0,0,.25)"}}),onPressEnter:this.handleAccountSubmit,placeholder:window.locale[this.props.login.locale].enter_account}))),ae.a.createElement("div",{className:oe()(""+pe.a.inputWrapper,""+B)},ae.a.createElement(V.a,{type:"lock",className:pe.a.inputIcon}),ae.a.createElement("input",{className:pe.a.inputLabel,id:"password",placeholder:window.locale[this.props.login.locale].enter_pass,type:"password",autoComplete:"off",onChange:function(e){return t.handlePasswordChange(e)}})),ae.a.createElement("div",{className:oe()(""+pe.a.passworRequired),style:S?{display:"block"}:{}},window.locale[this.props.login.locale].enter_pass),"1"==Q.isVerifyCode?ae.a.
1createElement(Ie,null,ae.a.createElement(U.a,{gutter:8},ae.a.createElement(F.a,{span:14},o("captcha",{rules:[{required:!0,message:window.locale[this.props.login.locale].enter_arithmetic_answer}]})(ae.a.createElement(z.a,{type:"number",min:"0",max:"82",autoComplete:"off",size:"large",placeholder:window.locale[this.props.login.locale].enter_arithmetic_answer,onPressEnter:this.handleAccountSubmit}))),ae.a.createElement(F.a,{span:10},ae.a.createElement("div",{className:pe.a.captcha,onClick:function(){t.queryLoginKaptcha(p.uid)}},ae.a.createElement("img",{alt:"logo",src:p.content}))))):null,ae.a.createElement(U.a,null,ae.a.createElement(P.a,{className:oe()(pe.a.submit,n({},pe.a.logining,!0),"fl"),onClick:this.handleAccountSubmit,type:"primary",size:"large"},window.locale[this.props.login.locale].login),ae.a.createElement(P.a,{className:pe.a.reset+" fr",size:"large",onClick:function(){return t.handleReset()}},window.locale[this.props.login.locale].reset)),ae.a.createElement(U.a,null,ae.a.createElement(F.a,{className:"fl mt10"},L?null:o("rememberMe",{valuePropName:"checked",initialValue:u.rememberMe})(ae.a.createElement(I.a,null,ae.a.createElement("a",{className:pe.a.green},window.locale[this.props.login.locale].remember_pass)))),ae.a.createElement(F.a,{className:pe.a.grey+" mt10 fr"},L&&window.mobileSafeAppeal?ae.a.createElement("a",{onClick:function(){window.location.href=window.mobileSafeAppeal}},window.locale[this.props.login.locale].account_appeal):null,L&&window.mobileSafeAppeal?ae.a.createElement(D.a,{type:"vertical"}):null,window.mobileSafeProblem||window.safeQuestion?ae.a.createElement("a",{onClick:function(){var e=window.safeQuestion;L&&(e=window.mobileSafeProblem),window.location.href=e}},window.locale[this.props.login.locale].common_problem):null,window.mobileSafePassWord||window.safePassWord?ae.a.createElement(D.a,{type:"vertical"}):null,window.mobileSafePassWord||window.safePassWord?ae.a.createElement("a",{onClick:function(){var e=window.safePassWord;L&&(e=window.mobileSafePassWord+"?service="+H),window.location.href=e}},window.locale[this.props.login.locale].forget_pass):null,L?null:ae.a.createElement(D.a,{type:"vertical"}),ae.a.createElement(T.a,{content:ae.a.createElement("div",null,ae.a.createElement(z.a,{size:"large",prefix:ae.a.createElement(V.a,null),onBlur:this.getusername,placeholder:window.locale[this.props.login.locale].enter_name,style:{marginBottom:"10px"}}),ae.a.createElement(z.a,{size:"large",prefix:ae.a.createElement(V.a,null),onBlur:this.getusercardid,placeholder:window.locale[this.props.login.locale].enter_ID_card,style:{marginBottom:"10px"}}),"1"==Q.isVerifyCode?ae.a.createElement(U.a,{gutter:8},ae.a.createElement(F.a,{span:14},ae.a.createElement(z.a,{autoComplete:"off",size:"large",placeholder:window.locale[this.props.login.locale].enter_arithmetic_answer,onBlur:this.getQueryCode,style:{marginBottom:"10px"}})),ae.a.createElement(F.a,{span:10},ae.a.createElement("div",{style:{marginTop:"7px"},onClick:function(){t.queryQueryKaptcha(m.uid)}},ae.a.createElement("img",{alt:"logo",src:m.content})))):null,ae.a.createElement(P.a,{className:oe()(pe.a.submit,n({},pe.a.logining,!0)),style:{width:"100%"},onClick:this.handleCheckAccount,type:"primary",size:"large"},window.locale[this.props.login.locale].query),ae.a.createElement(k.a,{dataSource:x,columns:C}),ae.a.createElement("a",{onClick:this.hide,style:{color:"#40a9ff"}},window.locale[this.props.login.locale].close)),title:window.locale[this.props.login.locale].account_query,trigger:"click",visible:this.state.visible,onVisibleChange:this.handleVisibleChange},L?null:ae.a.createElement("a",null,window.locale[this.props.login.locale].account_query))))),ae.a.createElement("div",{style:L?{color:"#01774F",fontSize:"15px",fontWeight:"bold",display:this.props.login.submitnote,textAlign:"center",top:"220px",left:"130px",position:"absolute"}:{color:"#01774F",fontSize:"15px",fontWeight:"bold",display:this.props.login.submitnote,textAlign:"center",top:"215px",left:"90px",position:"absolute"}},window.locale[this.props.login.locale].verify_wait))):null,2==d&&"1"==Q.isSMS?ae.a.createElement(ie.a,O,ae.a.createElement("div",{style:{background:this.props.login.submitpending},className:pe.a.anim_box,key:"B"},L?ae.a.createElement("div",{style:{display:this.props.login.submitting},className:pe.a.moblieTitle},window.locale[this.props.login.locale].sms_login):null,ae.a.createElement(ee.a,{style:{display:this.props.login.submitting},className:pe.a.verticalMiddle,onSubmit:this.handleSmsSubmit},ae.a.createElement(Ie,null,o("mobile",{rules:[{required:!0,message:window.locale[this.props.login.locale].enter_phone},{pattern:/^1[3457896]([0-9]{9})$/,message:window.locale[this.props.login.locale].phone_format_error}]})(ae.a.createElement(z.a,{size:"large",prefix:ae.a.createElement(V.a,{type:"user",style:{color:"rgba(0,0,0,.25)"}}),placeholder:window.locale[this.props.login.locale].enter_phone}))),ae.a.createElement(Ie,{className:"mb10"},o("smsCode",{rules:[{required:!0,message:window.locale[this.props.login.locale].enter_security_code}]})(ae.a.createElement(z.a,{autocomplete:"off",size:"large",className:pe.a.code,prefix:ae.a.createElement(V.a,{type:"lock",style:{color:"rgba(0,0,0,.25)"}}),placeholder:window.locale[this.props.login.locale].enter_security_code})),ae.a.createElement("div",{className:oe()(pe.a.send,n({},pe.a.disabled,h)),onClick:this.onSendCode},h?f:window.locale[this.props.login.locale].send_security_code)),ae.a.createElement(U.a,{className:"mb10"},ae.a.createElement(F.a,{className:"fr"}
1,ae.a.createElement("a",{className:pe.a.grey,onClick:function(){window.location.href=window.safeQuestion}},window.locale[this.props.login.locale].common_problem),ae.a.createElement(D.a,{type:"vertical"}),ae.a.createElement("a",{className:pe.a.grey,onClick:function(){window.location.href=window.safePassWord}},window.locale[this.props.login.locale].forget_pass))),ae.a.createElement(Ie,{className:"mt30"},ae.a.createElement(P.a,{className:oe()(pe.a.codeSubmit),type:"primary",size:"large",htmlType:"submit"},window.locale[this.props.login.locale].login))),ae.a.createElement("div",{style:L?{color:"#01774F",fontSize:"15px",fontWeight:"bold",display:this.props.login.submitnote,textAlign:"center",top:"220px",left:"130px",position:"absolute"}:{color:"#01774F",fontSize:"15px",fontWeight:"bold",display:this.props.login.submitnote,textAlign:"center",top:"215px",left:"90px",position:"absolute"}},window.locale[this.props.login.locale].verify_wait))):null,5==d&&"1"==Q.isFinger?ae.a.createElement("div",{className:pe.a.qr_box_Finger},ae.a.createElement(_e.a,{history:this.props.history,config:O})):null,6==d&&"1"==Q.isUkeyLogin?ae.a.createElement("div",{className:pe.a.qr_box_ukey},ae.a.createElement(we.a,{history:this.props.history,config:O,ukeyIsIn:g,isConn:E})):null,L||3!=d&&4!=d&&9!=d?null:ae.a.createElement("div",{className:pe.a.qr_box},3==d&&"1"==Q.isWeChat?ae.a.createElement(ie.a,O,ae.a.createElement("div",{key:"D",className:pe.a.qr_img_box},ae.a.createElement("img",{alt:"logo",src:_.content}),ae.a.createElement("div",{className:pe.a.qrMask+" "+(_.refresh?"":pe.a.qrMaskHide)},ae.a.createElement("span",{className:pe.a.link_span},window.locale[this.props.login.locale].QR_code_invalid),ae.a.createElement("a",{href:"javascript:void(0)",onClick:this.handleRefreshWXQrClick,className:pe.a.link_refresh},window.locale[this.props.login.locale].click_refresh)))):null,4==d&&"1"==Q.isApp?ae.a.createElement(ie.a,O,ae.a.createElement("div",{key:"D",className:pe.a.qr_img_box},ae.a.createElement("img",{alt:"logo",src:y.content}),ae.a.createElement("div",{className:pe.a.qrMask+" "+(y.refresh?"":pe.a.qrMaskHide)},ae.a.createElement("span",{className:pe.a.link_span},window.locale[this.props.login.locale].QR_code_invalid),ae.a.createElement("a",{href:"javascript:void(0)",onClick:this.handleRefreshAppQrClick,className:pe.a.link_refresh},window.locale[this.props.login.locale].click_refresh)))):null,9==d&&"1"==Q.isMMDL?ae.a.createElement(ie.a,O,"0"==this.state.isAvoidPass?ae.a.createElement("div",{key:"D",className:pe.a.qr_img_box},ae.a.createElement("img",{alt:"logo",src:b.content}),ae.a.createElement("div",{className:pe.a.qrMask+" "+(b.refresh?"":pe.a.qrMaskHide)},ae.a.createElement("span",{className:pe.a.link_span},window.locale[this.props.login.locale].QR_code_invalid),ae.a.createElement("a",{href:"javascript:void(0)",onClick:this.handleRefreshMMDLQrClick,className:pe.a.link_refresh},window.locale[this.props.login.locale].click_refresh))):ae.a.createElement("div",{key:"D",className:pe.a.qr_img_box},ae.a.createElement("img",{src:a(295)}),ae.a.createElement("div",{style:{textAlign:"center"}},ae.a.createElement(P.a,{className:oe()(pe.a.codeSubmit),type:"primary",htmlType:"submit",style:{width:"185px"},onClick:function(){return t.goMMDL()}},window.locale[this.props.login.locale].login)))):null,ae.a.createElement("div",{className:pe.a.qr_type_box,style:{marginTop:"20px"}},"1"==Q.isWeChat?ae.a.createElement("span",{className:oe()(pe.a.qr_type,n({},pe.a.active,3==d)),onClick:function(){t.setState({loginType:3},function(){t.queryWechat(),t.handleWXCode()})}},ae.a.createElement("span",{className:oe()(pe.a.icon_wx,pe.a.type_icon)}),window.locale[this.props.login.locale].WeChat_scan_login):null,"1"==Q.isApp&&"1"==Q.isWeChat?ae.a.createElement(D.a,{type:"vertical"}):null,"1"==Q.isApp?ae.a.createElement("span",{className:oe()(pe.a.qr_type,n({},pe.a.active,4==d)),onClick:function(){t.setState({loginType:4},function(){t.queryAppQrCode(),t.handleAppCode()})}},ae.a.createElement("span",{className:oe()(pe.a.icon_app,pe.a.type_icon)}),window.locale[this.props.login.locale].APP_scan_login):null,"1"==Q.isMMDL&&"1"==Q.isApp?ae.a.createElement(D.a,{type:"vertical"}):null,"1"==Q.isMMDL?"0"==this.state.isAvoidPass?ae.a.createElement("span",{className:oe()(pe.a.qr_type,n({},pe.a.active,9==d)),onClick:function(){t.setState({loginType:9},function(){t.queryMMDLQrCode(),t.handleMMDLCode()})}},ae.a.createElement("span",{className:oe()(pe.a.icon_app,pe.a.type_icon)}),window.locale[this.props.login.locale].auth_scan_login):ae.a.createElement("span",{className:oe()(pe.a.qr_type,n({},pe.a.active,9==d)),onClick:function(){t.setState({loginType:9,mmdlCode:Qe({},t.state.mmdlCode,{stop:!0}),appCode:Qe({},t.state.appCode,{stop:!0}),wechatCode:Qe({},t.state.wechatCode,{stop:!0})}),t.queryAppQrCode()}},ae.a.createElement("span",{className:oe()(pe.a.icon_app,pe.a.type_icon)}),window.locale[this.props.login.locale].auth_scan_login):null))),"1"==Q.isqq||"1"==Q.isSMS||"1"==Q.isFinger||"1"==Q.isUkeyLogin?ae.a.createElement(D.a,{style:{to
1p:"10px"}},ae.a.createElement("span",{className:pe.a.or},"or")):null,ae.a.createElement("div",{className:pe.a.type_box},"1"!=Q.isqq||L?null:ae.a.createElement(v.a,{placement:"topLeft",title:window.locale[this.props.login.locale].QQ_login},ae.a.createElement("span",{className:pe.a.type,onClick:function(){window.location=t.state.qqLoginUrl,t.setState({tab:"1"})}},ae.a.createElement("span",{className:oe()(pe.a.icon_qq,pe.a.type_icon)}),N<3?window.locale[this.props.login.locale].QQ_login:null)),M&&!L?ae.a.createElement(D.a,{type:"vertical"}):null,"1"!=Q.isDingDing||L?null:ae.a.createElement(v.a,{placement:"topLeft",title:window.locale[this.props.login.locale].dingding_login},ae.a.createElement("span",{className:pe.a.type,onClick:function(){window.location=t.state.dingdingLoginUrl}},ae.a.createElement("span",{className:oe()(pe.a.icon_dingding,pe.a.type_icon)}),N<3?window.locale[this.props.login.locale].dingding_login:null)),W&&!L?ae.a.createElement(D.a,{type:"vertical"}):null,2!=d?"1"==Q.isSMS?ae.a.createElement(v.a,{placement:"topLeft",title:window.locale[this.props.login.locale].sms_login},ae.a.createElement("span",{className:pe.a.type,onClick:function(){t.setState({loginType:2,tab:"1"},function(){t.appQrTimeout&&(clearTimeout(t.appQrTimeout),t.appQrTimeout=null),t.wxQrTimeout&&(clearTimeout(t.wxQrTimeout),t.wxQrTimeout=null),t.mmdlQrTimeout&&(clearTimeout(t.mmdlQrTimeout),t.mmdlQrTimeout=null),t.changeAppQrTimeOut&&(clearTimeout(t.changeAppQrTimeOut),t.changeAppQrTimeOut=null),t.changeWXQrTimeOut&&(clearTimeout(t.changeWXQrTimeOut),t.changeWXQrTimeOut=null),t.changeMMDLQrTimeOut&&(clearTimeout(t.changeMMDLQrTimeOut),t.changeMMDLQrTimeOut=null)})}},ae.a.createElement("span",{className:oe()(pe.a.icon_mobile,pe.a.type_icon)}),L||N<3?window.locale[this.props.login.locale].sms_login:null)):null:ae.a.createElement(v.a,{placement:"topLeft",title:window.locale[this.props.login.locale].pass_login},ae.a.createElement("span",{className:pe.a.type,onClick:function(){t.setState({loginType:1,tab:"1"},function(){t.appQrTimeout&&(clearTimeout(t.appQrTimeout),t.appQrTimeout=null),t.changeAppQrTimeOut&&(clearTimeout(t.changeAppQrTimeOut),t.changeAppQrTimeOut=null),t.wxQrTimeout&&(clearTimeout(t.wxQrTimeout),t.wxQrTimeout=null),t.changeWXQrTimeOut&&(clearTimeout(t.changeWXQrTimeOut),t.changeWXQrTimeOut=null),t.mmdlQrTimeout&&(clearTimeout(t.mmdlQrTimeout),t.mmdlQrTimeout=null),t.changeMMDLQrTimeOut&&(clearTimeout(t.changeMMDLQrTimeOut),t.changeMMDLQrTimeOut=null)})}},ae.a.createElement("span",{className:oe()(pe.a.icon_mm,pe.a.type_icon)}),L||N<3?window.locale[this.props.login.locale].pass_login:null)),q&&!L?ae.a.createElement(D.a,{type:"vertical"}):null,L?null:ae.a.createElement("span",null,"1"==Q.isFinger?L||5==d?ae.a.createElement(v.a,{placement:"topLeft",title:window.locale[this.props.login.locale].pass_login},ae.a.createElement("span",{className:pe.a.type,onClick:function(){t.setState({loginType:1,tab:"1"},function(){t.appQrTimeout&&(clearTimeout(t.appQrTimeout),t.appQrTimeout=null),t.changeAppQrTimeOut&&(clearTimeout(t.changeAppQrTimeOut),t.changeAppQrTimeOut=null),t.mmdlQrTimeout&&(clearTimeout(t.mmdlQrTimeout),t.mmdlQrTimeout=null),t.wxQrTimeout&&(clearTimeout(t.wxQrTimeout),t.wxQrTimeout=null),t.changeWXQrTimeOut&&(clearTimeout(t.changeWXQrTimeOut),t.changeWXQrTimeOut=null),t.changeMMDLQrTimeOut&&(clearTimeout(t.changeMMDLQrTimeOut),t.changeMMDLQrTimeOut=null)})}},ae.a.createElement("span",{className:oe()(pe.a.icon_mm,pe.a.type_icon)}),N<3?window.locale[this.props.login.locale].pass_login:null)):ae.a.createElement(v.a,{placement:"topLeft",title:window.locale[this.props.login.locale].finger_login},ae.a.createElement("span",{className:pe.a.type,onClick:function(){t.setState({loginType:5,tab:"1"},function(){t.appQrTimeout&&(clearTimeout(t.appQrTimeout),t.appQrTimeout=null),t.wxQrTimeout&&(clearTimeout(t.wxQrTimeout),t.wxQrTimeout=null),t.mmdlQrTimeout&&(clearTimeout(t.mmdlQrTimeout),t.mmdlQrTimeout=null),t.changeAppQrTimeOut&&(clearTimeout(t.changeAppQrTimeOut),t.changeAppQrTimeOut=null),t.changeWXQrTimeOut&&(clearTimeout(t.changeWXQrTimeOut),t.changeWXQrTimeOut=null),t.changeMMDLQrTimeOut&&(clearTimeout(t.changeMMDLQrTimeOut),t.changeMMDLQrTimeOut=null)})}},ae.a.createElement("span",{className:oe()(pe.a.icon_finger,pe.a.type_icon)}),N<3?window.locale[this.props.login.locale].finger_login:null)):null),R&&!L?ae.a.createElement(D.a,{type:"vertical"}):null,L?null:ae.a.createElement("span",null,"1"==Q.isUkeyLogin?L||6==d?ae.a.createElement(v.a,{placement:"topLeft",title:window.locale[this.props.login.locale].pass_login},ae.a.createElement("span",{className:pe.a.type,onClick:function(){t.setState({loginType:1,tab:"1"},function(){t.appQrTimeout&&(clearTimeout(t.appQrTimeout),t.appQrTimeout=null),t.changeAppQrTimeOut&&(clearTimeout(t.changeAppQrTimeOut),t.changeAppQrTimeOut=null),t.wxQrTimeout&&(clearTimeout(t.wxQrTimeout),t.wxQrTimeout=null),t.changeWXQrTimeOut&&(clearTimeout(t.changeWXQrTimeOut),t.changeWXQrTimeOut=null),t.mmdlQrTimeout&&(clearTimeout(t.mmdlQrTimeout),t.mmdlQrTimeout=null),t.changeMMDLQrTimeOut&&(clearTimeout(t.changeMMDLQrTimeOut),t.changeMMDLQrTimeOut=null)})}},ae.a.createElement("span",{className:oe()(pe.a.icon_mm,pe.a.type_icon)}),N<3?window.locale[this.props.login.locale].pass_login:null)):ae.a.createElement(v.a,{placement:"topLeft",title:window.locale[this.props.login.locale].ukey_login},ae.a.createElement("span",{className:pe.a.type,onClick:function(){t.setState({loginType:6,tab:"1"},function(){t.state.ukeyIsConn?(t.ukeyEventListener(),t.appQrTimeout&&(clearTimeout(t.appQrTimeout),t.appQrTimeout=null),t.wxQrTimeout&&(clearTimeout(t.wxQrTimeout),t.wxQrTimeout=null),t.mmdlQrTimeout&&(clearTimeout(t.mmdlQrTimeout),t.mmdlQrTimeout=null),t.changeAppQrTimeOut&&(clearTimeout(t.changeAppQrTimeOut),t.changeAppQrTimeOut=null),t.changeWXQrTimeOut&&(clearTimeout(t.changeWXQrTimeOut),t.changeWXQrTimeOut=null),t.changeMMDLQrTimeOut&&(clearTimeout(t.changeMMDLQrTimeOut),t.changeMMDLQrTimeOut=null)):w.a.error(window.locale[t.props.login.locale].first_install_ukey)})}},ae.a.createElement("span",{className:oe()(pe.a.icon_ukey,pe.a.type_icon)}),N<3?window.locale[this.props.login.locale].ukey_login:null)):null))))),L?null:ae.a.createElement("div",{className:pe.a.description+" "+pe.a.content},ae.a.createElement("div",{dangerouslySetInnerHTML:{__html:this.props.login.loginData.casDesc?this.props.login.loginData.casDesc:""}})),L?null:ae.a.createElement("div",{className:pe.a.footer}
1,ae.a.createElement("div",{dangerouslySetInnerHTML:{__html:this.props.login.loginData.casfoot?this.props.login.loginData.casfoot:"<div><p>"+window.locale[this.props.login.locale].copyright_company+"</p></div>"}})),L?ae.a.createElement("div",{className:pe.a.moblieFooter},ae.a.createElement("div",{dangerouslySetInnerHTML:{__html:this.props.login.loginData.casfoot?this.props.login.loginData.casfoot:"<div><p>"+window.locale[this.props.login.locale].copyright_company+"</p></div>"}})):null)}}]),t}(ae.a.Component),d=function(){var e=this;this.resize=function(){a.i(ce.c)().windowH<970&&a.i(ce.c)().windowW>980?document.body.style.overflowY="scroll":document.body.style.overflowY="hidden",e.setState({windowW:a.i(ce.c)().windowW})},this.handleTabChange=function(t){e.setState({tab:t})},this.handleReset=function(){e.props.form.resetFields()},this.getService=function(e){var t=e;return e.indexOf("shiro-cas?loginService")>0&&(t=e.substring(0,e.indexOf("?"))),t},this.getService1=function(e,t){var a=e;e.indexOf("shiro-cas?loginService")>0&&(a=e.substring(0,e.indexOf("?"))),a.indexOf("?")>0?a+="&":a+="?";var n=a+"ticket="+t.data;if(e.indexOf("shiro-cas?loginService")>0){n+="&service="+e.substring(e.indexOf("loginService=")+13)}return n},this.initLogin=function(){e.loadAccountInfo(),e.queryLogin(e.props),e.queryLogo(),(navigator.userAgent.indexOf("MSIE")>-1||navigator.userAgent.indexOf("Firefox")>-1)&&!navigator.userAgent.indexOf("opera")>-1?e.setState({ukeyIsConn:!0}):e.findUkeyClient()},this.handleChangePass=function(t){var a=t.target.value;if(a.length>0){if(8==t.keyCode)Le=Le.substr(0,Le.length-1);else if(a.length>=Le.length){var n=a.length-Le.length;Le+=a.substr(a.length-n,n)}else if(a.length<Le.length){Le="";var o=a.length-Le.length;Le+=a.substr(a.length-o,o)}}else Le="";a=a.replace(/./g,"*"),e.props.form.setFieldsValue({password:a});var i=Le,r=e.state.userInfo.password;r&&(r!=i?e.setState({userInfo:Qe({},e.state.userInfo,{change:!0})}):e.setState({userInfo:Qe({},e.state.userInfo,{change:!1})}))},this.encodePass=function(e){a.i(he.a)(131);var t=a.i(he.b)(ue.a.public_exponent,"",ue.a.modulus);return a.i(he.c)(t,e)},this.handleAccountSubmit=function(t){t.preventDefault();var n=e.props.login.loginData,o=e.state.loginCode;e.props.form.validateFieldsAndScroll(function(t,i){if(!t){var r=document.getElementById("password").value;if(!r)return void e.setState({hasError:!0});var l="",s="";"1"==n.isVerifyCode&&(l=o.uid,s=i.captcha);var c=a(5),u=window.location.search;u=u.substring(u.indexOf("?")+1);var d=c.parse(u),p=n.defaultLoginUrl;p=d&&d.service?d.service:n.defaultLoginUrl,s=s.replace(/(^\s*)|(\s*$)/g,""),e.props.dispatch(a.i(ge.e)("none","url("+be.a+") no-repeat 50% 30%","block")),e.props.dispatch(a.i(ge.c)(i.userName,r,p,"",e.props.history,i.rememberMe,e.state.userInfo.change,l,s)),setTimeout(function(){var t=a.i(ce.a)("CODEFALSE");t&&t==l&&(a.i(ce.f)("CODEFALSE"),e.queryLoginKaptcha(l))},500)}})},this.handleSmsSubmit=function(t){t.preventDefault(),e.props.form.validateFieldsAndScroll(function(t,n){if(!t){var o={mobile:n.mobile,code:n.smsCode};e.props.dispatch(a.i(ge.e)("none","url("+be.a+") no-repeat 50% 30%","block")),a.i(me.b)(ue.a.CAS+"/sms/validateCode",o).then(function(t){var n=t.meta,o=t.data,i=a(5),r=window.location.search;r=r.substring(r.indexOf("?")+1);var l=i.parse(r),s=o.service;l&&l.service&&(s=l.service),n.success?o&&e.props.dispatch(a.i(ge.c)(o.userName,o.passWord,s,"2",e.props.history)):(g.a.error({title:window.locale[e.props.login.locale].sms_login,content:n.message}),e.props.dispatch(a.i(ge.e)("block","none","none")))})}})},this.handleWXCode=function(){e.setState({loginType:3,wechatCode:Qe({},e.state.wechatCode,{stop:!1}),appCode:Qe({},e.state.appCode,{stop:!0}),mmdlCode:Qe({},e.state.mmdlCode,{stop:!0})},function(){e.wxQrTimeout||e.checkScanWXQr(e.state.wechatCode.uuid),e.handleChangeWXQr()})},this.handleAppCode=function(){e.setState({loginType:4,appCode:Qe({},e.state.appCode,{stop:!1}),wechatCode:Qe({},e.state.wechatCode,{stop:!0}),mmdlCode:Qe({},e.state.mmdlCode,{stop:!0})},function(){e.appQrTimeout||e.checkScanPhoneQr(e.state.appCode.uuid),e.handleChangeAppQr()})},this.handleMMDLCode=function(){e.setState({loginType:9,mmdlCode:Qe({},e.state.mmdlCode,{stop:!1}),appCode:Qe({},e.state.appCode,{stop:!0}),wechatCode:Qe({},e.state.wechatCode,{stop:!0})},function(){e.mmdlQrTimeout||e.checkScanMMDLQr(e.state.mmdlCode.uuid),a.i(ce.a)("browserId")||e.handleChangeMMDLQr()})},this.goMMDL=function(){var t=a.i(ce.a)("browserId");a.i(me.b)(ue.a.CAS+"/cam/v1/confirm",{browserId:t}).then(function(t){t.data?e.handleMMDLCode:g.a.error({title:window.locale[e.props.login.locale].warn,content:data})})},this.onChangeType=function(){var t=e.state.loginType,a=e.props.login.loginData;t<3||5==t||6==t?(e.setState({tab:"2"}),a.isWeChat&&"1"==a.isWeChat?e.setState({loginType:3,isFirst:!0},function(){e.queryWechat(),e.handleWXCode()}):a.isApp&&"1"==a.isApp?e.setState({loginType:4,isFirst:!0},function(){e.queryAppQrCode(),e.handleAppCode()}):a.isMMDL&&"1"==a.isMMDL&&e.setState({loginType:9,isFirst:!0},function(){"0"==e.state.isAvoidPass&&(e.queryMMDLQrCode(),e.handleMMDLCode())})):e.setState({tab:"1",loginType:1,isFirst:!0,appCode:Qe({},e.state.appCode,{stop:!0}),wechatCode:Qe({},e.state.wechatCode,{stop:!0}),mmdlCode:Qe({},e.state.mmdlCode,{stop:!0})},function(){e.appQrTimeout&&(clearTimeout(e.appQrTimeout),e.appQrTimeout=null),e.wxQrTimeout&&(clearTimeout(e.wxQrTimeout),e.wxQrTimeout=null),e.mmdlQrTimeout&&(clearTimeout(e.mmdlQrTimeout),e.mmdlQrTimeout=null),e.changeAppQrTimeOut&&(clearTimeout(e.changeAppQrTimeOut),e.changeAppQrTimeOut=null),e.changeWXQrTimeOut&&(clearTimeout(e.changeWXQrTimeOut),e.changeWXQrTimeOut=null),e.changeMMDLQrTimeOut&&(clearTimeout(e.changeMMDLQrTimeOut),e.changeMMDLQrTimeOut=null)})},this.onEye=function(){e.setState({eye:!e.state.eye})},this.handleRefreshAppQrClick=function(){var t=e.props.login;t.loginData&&"1"==t.loginData.isApp&&e.state.appCode.refresh&&e.setState({appCode:Qe({},e.state.appCode,{refresh:!1})},function(){e.queryAppQrCode(""),e.checkScanPhoneQr()})}
1,this.handleRefreshMMDLQrClick=function(){var t=e.props.login;t.loginData&&"1"==t.loginData.isMMDL&&e.state.mmdlCode.refresh&&e.setState({mmdlCode:Qe({},e.state.mmdlCode,{refresh:!1})},function(){e.queryMMDLQrCode(""),e.checkScanMMDLQr()})},this.handleRefreshWXQrClick=function(){var t=e.props.login;t.loginData&&"1"==t.loginData.isWeChat&&e.state.wechatCode.refresh&&e.setState({wechatCode:Qe({},e.state.wechatCode,{refresh:!1})},function(){e.queryWechat(""),e.checkScanWXQr()})},this.onSendCode=function(){e.state.sending||e.props.form.validateFields(["mobile"],{force:!0},function(t,a){if(!t){e.setState({sending:!0});var n=(new Date).getTime(),o=e.encodePass(ue.a.TAG+n),i=e.props.login.loginData.smsSendTime;i=60*parseInt(i),e.setState({count:i}),e.timer=setInterval(function(){e.setState({count:i--},function(){0===e.state.count&&(clearInterval(e.timer),e.timer=null,e.setState({sending:!1}))})},1e3),le.a.post(ue.a.CAS+"/login/mobile/generateCode",{mobile:a.mobile,username:a.mobile,module:"0"},{headers:{token:o}}).then(function(t){var a=t.data,n=a.meta;a.data;n.success?g.a.success({title:window.locale[e.props.login.locale].warn,content:window.locale[e.props.login.locale].send_sms_code_success}):(e.timer&&(clearInterval(e.timer),e.timer=null),e.setState({sending:!1}),g.a.error({title:window.locale[e.props.login.locale].warn,content:n.message}))})}})},this.queryLogo=function(){var t=e.state.logoIcon.bgIcon1,a=e.state.logoIcon.bgIcon2,n=e.state.logoIcon.bgIcon3,o=e.state.logoIcon.loginLogo;e.props.login.loginData.attachments&&e.props.login.loginData.attachments.map(function(e){"ly-iap-attachment_bg1"==e.sourceId&&(t=e.source),"ly-iap-attachment_bg2"==e.sourceId&&(a=e.source),"ly-iap-attachment_bg3"==e.sourceId&&(n=e.source),"ly-iap-attachment_casLogo"==e.sourceId&&(o=e.source)}),e.setState({logoIcon:{bgIcon1:t,bgIcon2:a,bgIcon3:n,loginLogo:o}})},this.queryLoginKaptcha=function(t){le.a.get(ue.a.CAS+"/kaptcha",{params:{uid:t}}).then(function(t){"200"==t.status&&t.data&&t.data.uid&&"-1"!=t.data.uid&&e.setState({loginCode:Qe({},t.data,{isLoginCode:!1})})})},this.queryQueryKaptcha=function(t){le.a.get(ue.a.CAS+"/kaptcha",{params:{uid:t}}).then(function(t){"200"==t.status&&t.data&&t.data.uid&&"-1"!=t.data.uid&&e.setState({queryCode:Qe({},t.data,{isQueryCode:!1})})})},this.queryAppQrCode=function(){le.a.get(ue.a.CAS+"/QrCode",{params:{cmd:"getQr"}}).then(function(t){"200"==t.status&&t.data&&e.setState({appCode:Qe({},e.state.appCode,t.data,{isAppCode:!1})},function(){e.changeAppQrTimeOut&&(clearTimeout(e.changeAppQrTimeOut),e.changeAppQrTimeOut=null),e.appQrTimeout&&(clearTimeout(e.appQrTimeout),e.appQrTimeout=null,e.handleAppCode())})})},this.queryWechat=function(){le.a.get(ue.a.CAS+"/weChat/CreateQRcode").then(function(t){"200"==t.status&&t.data&&e.setState({wechatCode:Qe({},e.state.wechatCode,t.data,{isWeChatCode:!1})},function(){e.changeWXQrTimeOut&&(clearTimeout(e.changeWXQrTimeOut),e.changeWXQrTimeOut=null),e.wxQrTimeout&&(clearTimeout(e.wxQrTimeout),e.wxQrTimeout=null,e.handleWXCode())})})},this.queryMMDLQrCode=function(){le.a.get(ue.a.CAS+"/cam/v1/MMDLQrCode",{params:{cmd:"getQr"}}).then(function(t){"200"==t.status&&t.data&&e.setState({mmdlCode:Qe({},e.state.mmdlCode,t.data,{isMMDLCode:!1})},function(){e.changeMMDLQrTimeOut&&(clearTimeout(e.changeMMDLQrTimeOut),e.changeMMDLQrTimeOut=null),e.mmdlQrTimeout&&(clearTimeout(e.mmdlQrTimeout),e.mmdlQrTimeout=null,e.handleMMDLCode())})})},this.queryQQLoginUrl=function(){var t=a(5),n=window.location.search;n=n.substring(n.indexOf("?")+1);var o=t.parse(n),i="";o&&o.service&&(i=o.service),i.replace("&","&").replace("<","<").replace(">",">").replace('"',""").replace("'","'").replace("/","/"),a.i(me.a)(ue.a.CAS+"/qq/qqLoginURL",{service:i}).then(function(t){var a=t.meta,n=t.data;a.success&&n&&e.setState({qqLoginUrl:n})})},this.queryDingDingLoginUrl=function(){var t=a(5),n=window.location.search;n=n.substring(n.indexOf("?")+1);var o=t.parse(n),i="";o&&o.service&&(i=o.service),i.replace("&","&").replace("<","<").replace(">",">").replace('"',""").replace("'","'").replace("/","/"),a.i(me.a)(ue.a.CAS+"/dingding/dingdingLoginURL",{service:i}).then(function(t){var a=t.meta,n=t.data;a.success&&n&&e.setState({dingdingLoginUrl:n})})},this.queryPreLoginType=function(){var t=a.i(ce.a)("loginType");t&&(e.setState({loginType:t}),3==t&&(e.queryWechat(""),e.checkScanWXQr()),4==t&&(e.queryAppQrCode(""),e.checkScanPhoneQr(e.state.appCode.uuid)),9==t&&(e.queryMMDLQrCode(""),e.checkScanMMDLQr(e.state.mmdlCode.uuid)))},this.queryLogin=function(t){var a=t.login;a.loginData&&"1"==a.loginData.isVerifyCode&&e.state.loginCode.isLoginCode&&(e.queryLoginKaptcha(""),e.queryQueryKaptcha("")),a.loginData&&"1"==a.loginData.isqq&&!e.state.qqLoginUrl&&e.queryQQLoginUrl(),a.loginData&&"1"==a.loginData.isDingDing&&!e.state.dingdingLoginUrl&&e.queryDingDingLoginUrl()},this.checkScanMMDLQr=function(t){var n=a(5),o=a.i(ce.a)("browserId");o&&(t=o),e.mmdlQrTimeout=setTimeout(function(){a.i(me.b)(ue.a.CAS+"/cam/v1/checkScanMMDL",n.str
1ingify({ticket:t})).then(function(n){var o=n.meta,i=n.data;if(o.success){var r=a(5),l=window.location.search;l=l.substring(l.indexOf("?")+1);var s=r.parse(l),c=i.service;s&&s.service&&(c=s.service),i?(e.mmdlQrTimeout&&(clearTimeout(e.mmdlQrTimeout),e.mmdlQrTimeout=null),e.changeMMDLQrTimeOut&&(clearTimeout(e.changeMMDLQrTimeOut),e.changeMMDLQrTimeOut=null),i.browserId&&a.i(ce.b)("browserId",i.browserId),e.setState({mmdlQr:Qe({},i)},function(){e.props.dispatch(a.i(ge.c)(i.userName,i.passWord,c,"9",e.props.history))})):e.state.mmdlCode.stop||e.state.mmdlCode.refresh?(e.mmdlQrTimeout&&(clearTimeout(e.mmdlQrTimeout),e.mmdlQrTimeout=null),e.changeMMDLQrTimeOut&&(clearTimeout(e.changeMMDLQrTimeOut),e.changeMMDLQrTimeOut=null)):e.checkScanMMDLQr(t)}else"noLogin"==o.message&&(a.i(ce.f)("browserId"),e.setState({isAvoidPass:"0"})),e.state.mmdlCode.stop||e.state.mmdlCode.refresh?(e.mmdlQrTimeout&&(clearTimeout(e.mmdlQrTimeout),e.mmdlQrTimeout=null),e.changeMMDLQrTimeOut&&(clearTimeout(e.changeMMDLQrTimeOut),e.changeMMDLQrTimeOut=null)):e.checkScanMMDLQr(t)})},1e3)},this.checkScanPhoneQr=function(t){var n=a(5);e.appQrTimeout=setTimeout(function(){a.i(me.b)(ue.a.CAS+"/CheckScan",n.stringify({ticket:t})).then(function(n){var o=n.meta,i=n.data;if(o.success){var r=a(5),l=window.location.search;l=l.substring(l.indexOf("?")+1);var s=r.parse(l),c=i.service;s&&s.service&&(c=s.service),i?(e.appQrTimeout&&(clearTimeout(e.appQrTimeout),e.appQrTimeout=null),e.changeAppQrTimeOut&&(clearTimeout(e.changeAppQrTimeOut),e.changeAppQrTimeOut=null),e.setState({appQr:Qe({},i)},function(){e.props.dispatch(a.i(ge.c)(i.userName,i.passWord,c,"4",e.props.history))})):e.state.appCode.stop||e.state.appCode.refresh?(e.appQrTimeout&&(clearTimeout(e.appQrTimeout),e.appQrTimeout=null),e.changeAppQrTimeOut&&(clearTimeout(e.changeAppQrTimeOut),e.changeAppQrTimeOut=null)):e.checkScanPhoneQr(t)}else e.state.appCode.stop||e.state.appCode.refresh?(e.appQrTimeout&&(clearTimeout(e.appQrTimeout),e.appQrTimeout=null),e.changeAppQrTimeOut&&(clearTimeout(e.changeAppQrTimeOut),e.changeAppQrTimeOut=null)):e.checkScanPhoneQr(t)})},1e3)},this.checkScanWXQr=function(t){e.wxQrTimeout=setTimeout(function(){a.i(me.b)(ue.a.CAS+"/weChat/wx/CheckScan",{state:t}).then(function(n){var o=n.meta,i=n.data;if(o.success){var r=a(5),l=window.location.search;l=l.substring(l.indexOf("?")+1);var s=r.parse(l),c=i.service;s&&s.service&&(c=s.service),i?(e.wxQrTimeout&&(clearTimeout(e.wxQrTimeout),e.wxQrTimeout=null),e.changeWXQrTimeOut&&(clearTimeout(e.changeWXQrTimeOut),e.changeWXQrTimeOut=null),e.setState({wxQr:Qe({},i)},function(){e.props.dispatch(a.i(ge.c)(i.userName,i.passWord,c,"3",e.props.history))})):e.state.wechatCode.stop||e.state.wechatCode.refresh?(e.wxQrTimeout&&(clearTimeout(e.wxQrTimeout),e.wxQrTimeout=null),e.changeWXQrTimeOut&&(clearTimeout(e.changeWXQrTimeOut),e.changeWXQrTimeOut=null)):e.checkScanWXQr(t)}else e.state.wechatCode.stop||e.state.wechatCode.refresh?(e.wxQrTimeout&&(clearTimeout(e.wxQrTimeout),e.wxQrTimeout=null),e.changeWXQrTimeOut&&(clearTimeout(e.changeWXQrTimeOut),e.changeWXQrTimeOut=null)):e.checkScanWXQr(t)})},1e3)},this.handleChangeAppQr=function(){e.state.appCode.refresh&&e.setState({appCode:Qe({},e.state.appCode,{refresh:!1})},function(){e.queryAppQrCode(""),e.changeAppQrTimeOut&&(clearTimeout(e.changeAppQrTimeOut),e.changeAppQrTimeOut=null)}),e.changeAppQrTimeOut=setTimeout(function(){e.state.appCode.stop||e.state.appCode.refresh||e.setState({appCode:Qe({},e.state.appCode,{refresh:!0})})},3e5)},this.handleChangeWXQr=function(){e.state.wechatCode.refresh&&e.setState({wechatCode:Qe({},e.state.wechatCode,{refresh:!1})},function(){e.queryWechat(""),e.changeWXQrTimeOut&&(clearTimeout(e.changeWXQrTimeOut),e.changeWXQrTimeOut=null)}),e.changeWXQrTimeOut=setTimeout(function(){e.state.wechatCode.stop||e.state.wechatCode.refresh||e.setState({wechatCode:Qe({},e.state.wechatCode,{refresh:!0})})},3e5)},this.handleChangeMMDLQr=function(){e.state.mmdlCode.refresh&&e.setState({mmdlCode:Qe({},e.state.mmdlCode,{refresh:!1})},function(){e.queryMMDLQrCode(""),e.changeMMDLQrTimeOut&&(clearTimeout(e.changeMMDLQrTimeOut),e.changeMMDLQrTimeOut=null)}),e.changeMMDLQrTimeOut=setTimeout(function(){e.state.mmdlCode.stop||e.state.mmdlCode.refresh||e.setState({mmdlCode:Qe({},e.state.mmdlCode,{refresh:!0})})},3e5)},this.loadAccountInfo=function(){var t=void 0,n=new RegExp("(^| )accountInfo=([^;]*)(;|$)"),o="";if(o=(t=document.cookie.match(n))?unescape(t[2]):null,0==Boolean(o))return!1;var i="",r="",l=new Array;l=o.split("&"),i=l[0],r=l[1],a.i(he.a)(131);var s=a.i(he.b)("",ue.a.private_exponent,ue.a.modulus);r=a.i(he.d)(s,r),setTimeout(function(){document.getElementById("password").value=r},2e3),Le=r,e.setState({userInfo:Qe({},e.state.userInfo,{userName:i,password:r,inputPassWord:r,rememberMe:!0})})},this.findUkeyClient=function(){try{(new fe.a).Socket_UK.onopen=function(){e.setState({ukeyIsConn:!0})}}catch(e){}},this.ukeyEventListener=function(){try{if((navigator.userAgent.indexOf("MSIE")>-1||navigator.userAgent.indexOf("Firefox")>-1)&&!navigator.userAgent.indexOf("opera")>-1)return e.ukeyEventListenerIE10();var t=new fe.a;e.setState({ukeyIsIn:!0}),t.Socket_UK.onmessage=function(t){var a=JSON.parse(t.data);"PnpEvent"==a.type&&(a.IsIn?(w.a.info(window.locale[e.props.login.locale].ukey_insert),e.setState({ukeyIsIn:!0})):(w.a.info(window.locale[e.props.login.locale].ukey_pull),e.setState({ukeyIsIn:!1})))}}catch(t){g.a.error({title:window.locale[e.props.login.locale].warn,content:window.locale[e.props.login.locale].ukey_login_not_use})}},this.handlePasswordChange=function(t){var a=!1;
1""==t.target.value&&(a=!0),e.setState({hasError:a})},this.onKeyDown=function(e){if(9==e.keyCode){var t=document.activeElement.getAttribute("id");"userName"==t?document.getElementById("password").click():"password"==t&&document.getElementById("captcha").click()}},this.onEye=function(t){"text"==document.getElementById("password").type?(document.getElementById("password").type="password",e.setState({eyes:"eye-invisible"})):(document.getElementById("password").type="text",e.setState({eyes:"eye"}))},this.ukeyEventListenerIE10=function(){try{var t=new ActiveXObject("Syunew3A.s_simnew3");if(t.FindPort(0),0==t.LastError)return e.ukeyTimeout=setTimeout(function(){e.setState({ukeyIsIn:!0})},1e3),!1}catch(t){g.a.error({title:window.locale[e.props.login.locale].warn,content:window.locale[e.props.login.locale].ukey_login_not_use})}},this.hide=function(){e.setState({visible:!1,memban:"none"})},this.handleVisibleChange=function(t){e.setState({visible:t,memban:"block"})},this.handleCheckAccount=function(t){var a=e.props.login.loginData,n=e.state.queryCode,o="",i="";"1"==a.isVerifyCode&&(o=n.uid,i=e.state.queryCodeValue);var r={username:e.state.userName,cardID:e.state.cardid,uid:o,code:i};le.a.get(ue.a.CAS+"/checkAccount",{params:r}).then(function(t){if(e.setState({dataSource:[]}),"200"==t.status&&t.data)if(t.data.meta.success){for(var a=[],n=0;n<t.data.data.length;n++)a[n]={screenname:null==t.data.data[n].screenName?"":t.data.data[n].screenName,username:t.data.data[n].userName=t.data.data[n].userName,othername:t.data.data[n].nickname=t.data.data[n].nickname,cardId:t.data.data[n].cardId=t.data.data[n].cardId};e.setState({dataSource:a})}else g.a.error({title:window.locale[e.props.login.locale].query_fail,content:t.data.meta.message})}),e.queryQueryKaptcha(o)},this.getusercardid=function(t){e.setState({cardid:t.target.value})},this.getusername=function(t){e.setState({userName:t.target.value})},this.getQueryCode=function(t){e.setState({queryCodeValue:t.target.value})}},s=u))||s;ee.a.create()(Me)},608:function(e,t,a){"use strict";function n(e,t,a){return t in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a,e}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function r(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var l,s,c,u,d,p=a(53),m=(a.n(p),a(52)),g=a.n(m),h=a(37),f=(a.n(h),a(36)),_=a.n(f),w=a(123),y=(a.n(w),a(122)),b=a.n(y),v=a(143),E=(a.n(v),a(97)),C=a.n(E),T=a(56),x=(a.n(T),a(10)),S=a.n(x),k=a(120),O=(a.n(k),a(119)),A=a.n(O),D=a(125),Q=(a.n(D),a(124)),N=a.n(Q),I=a(22),L=(a.n(I),a(21)),M=a.n(L),P=a(87),W=(a.n(P),a(74)),q=a.n(W),U=a(41),R=(a.n(U),a(40)),B=a.n(R),F=a(48),K=(a.n(F),a(47)),j=a.n(K),z=a(45),X=(a.n(z),a(44)),H=a.n(X),V=a(117),G=(a.n(V),a(116)),J=a.n(G),Y=a(28),Z=(a.n(Y),a(27)),$=a.n(Z),ee=a(1),te=a.n(ee),ae=a(3),ne=a.n(ae),oe=a(51),ie=a(29),re=a.n(ie),le=a(12),se=a(383),ce=a(32),ue=a(16),de=a(185),pe=a.n(de),me=a(25),ge=a(23),he=a(31),fe=a(220),_e=a(88),we=a(329),ye=a(330),be=a(606),ve=a(605),Ee=a(144),Ce=a(164),Te=a(165),xe=a(141),Se=a.n(xe),ke=a(162),Oe=a.n(ke),Ae=a(86),De=a.n(Ae),Qe=a(161),Ne=a.n(Qe),Ie=a(1461),Le=a.n(Ie),Me=a(1457),Pe=a.n(Me),We=a(204),qe=a.n(We),Ue=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var a=arguments[t];for(var n in a)Object.prototype.hasOwnProperty.call(a,n)&&(e[n]=a[n])}return e},Re=function(){function e(e,t){for(var a=0;a<t.length;a++){var n=t[a];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}return function(t,a,n){return a&&e(t.prototype,a),n&&e(t,n),t}}(),Be=$.a.Item,Fe="",Ke=(l=a.i(le.b)(function(e){return{dispatch:e.dispatch,login:e.login}}))((u=c=function(e){function t(e){o(this,t);var n=i(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return d.call(n),n.state={windowW:a.i(ce.c)().windowW,LoginBtn_disabled:!0,logoIcon:{bgIcon1:De.a,bgIcon2:De.a,bgIcon3:De.a,loginLogo:Ne.a},login_btn_show:!1,tabList:[{id:1,name:window.locale[n.props.login.locale].account_login},{id:2,name:window.locale[n.props.login.locale].Qr_code_Login}],tabHover1:{color:n.props.login.loginData.themeColor?n.props.login.loginData.themeColor:"#1890fe"},tabHover2:{background:n.props.login.loginData.themeColor?n.props.login.loginData.themeColor:"#1890fe"},tab:"1",userInfo:{userName:"",password:"",inputPassWord:"",rememberMe:!1,change:!1},loginType:1,loginCode:{isLoginCode:!0,refresh:!1},eye:!1,sending:!1,wechatCode:{isWeChatCode:!0,stop:!1,refresh:!1},appCode:{isAppCode:!0,stop:!1,refresh:!1},ddCode:{isDdCode:!0,stop:!1,refresh:!1},qqLoginUrl:"",dingdingLoginUrl:"",isFirst:!1,ukeyIsConn:!1,ukeyIsIn:!1,firstLoading:{display:"block"},themeColor:null,secondThemeColor:null,bgList:[],defaultBgList:[De.a,De.a,De.a],mobileBg:[],mobileLogo:[],casLogo:[],queryCode:{isQueryCode:!0},dataSource:[],columns:[],visible:!1,memban:"none",queryCodeValue:"",queryUserName:null,queryIdCard:null,ukeyVisible:!1,is_ukeyLogin:!1},n}
1return r(t,e),Re(t,[{key:"componentWillMount",value:function(){var e=this,t=this.props.login.loginData;if(t.attachments&&t.attachments.length>0){var a=t.attachments.filter(function(e){return"ly-iap-attachment_mobile_bg"==e.sourceId}),n=t.attachments.filter(function(e){return"ly-iap-attachment_mobile_casLogo"==e.sourceId}),o=t.attachments.filter(function(e){return"ly-iap-attachment_casLogo"==e.sourceId}),i=t.attachments.filter(function(e){return-1!==e.sourceId.indexOf("attachment_bg")});this.setState({mobileBg:a,mobileLogo:n,casLogo:o,bgList:i})}if(this.setState({isLogin:!0,firstLoading:{display:"none"}}),t.themeColor&&null!==t.themeColor)if(3==t.themeColor.split(",").length)this.setState({themeColor:t.themeColor,secondThemeColor:t.themeColor});else{var r=t.themeColor.split("),");this.setState({secondThemeColor:""+r[1],themeColor:[r[0]+")",""+r[1]]})}var l=[{title:window.locale[this.props.login.locale].account,dataIndex:"screenname",key:"screenname"},{title:window.locale[this.props.login.locale].name,dataIndex:"username",key:"username"},{title:window.locale[this.props.login.locale].alias,dataIndex:"othername",key:"othername"},{title:window.locale[this.props.login.locale].ID_card,dataIndex:"cardId",key:"cardId"}];this.setState({columns:l}),window.addEventListener("keyup",function(t){"Enter"==t.code&&e.handleAccountSubmit()})}},{key:"componentDidMount",value:function(){if(1==this.props.login.loginData.isUkeyLogin){var e=document.createElement("script");e.type="text/javascript",e.src="/assets/js/xtxsync.js",document.body.appendChild(e),this.setState({is_ukeyLogin:!0},function(){setTimeout(function(){var e=document.createElement("script");e.type="text/javascript",e.src="/assets/js/ukeyInit.js",document.body.appendChild(e)},1e3)})}a.i(ce.c)().windowH<970&&a.i(ce.c)().windowW>980||this.setState({loginType:1}),this.resize(),window.addEventListener("resize",this.resize,!1),this.loadAccountInfo(),this.queryLogin(this.props),(navigator.userAgent.indexOf("MSIE")>-1||navigator.userAgent.indexOf("Firefox")>-1)&&!navigator.userAgent.indexOf("opera")>-1&&this.setState({ukeyIsConn:!0}),document.getElementsByTagName("title")[0].innerText=this.props.login.loginData.casTitle?this.props.login.loginData.casTitle:"ç»ä¸èº«ä»½è®¤è¯å¹³å°-认è¯ä¸å¿"}},{key:"componentWillReceiveProps",value:function(e,t){this.queryLogin(e),document.getElementsByTagName("title")[0].innerText=e.login.loginData.casTitle?e.login.loginData.casTitle:"ç»ä¸èº«ä»½è®¤è¯å¹³å°-认è¯ä¸å¿"}},{key:"componentWillUnmount",value:function(){window.removeEventListener("resize",this.resize),this.setState=function(e,t){}}},{key:"render",value:function(){var e,t,a=this,o=this.props.form.getFieldDecorator,i=this.state,r=i.queryCode,l=i.dataSource,s=i.columns,c=i.windowW,u=i.logoIcon,d=i.userInfo,p=i.loginType,m=i.loginCode,g=(i.isFirst,i.ukeyIsIn),h=i.sending,f=i.count,w=(i.isLogin,i.wechatCode),y=i.appCode,v=i.ddCode,E=i.ukeyIsConn,T=i.themeColor,x=i.secondThemeColor,k=i.mobileBg,O=i.mobileLogo,D=i.bgList,Q=i.defaultBgList,I=i.casLogo,L=(i.tabList,i.login_btn_show,i.ukeyVisible),P={animConfig:[{opacity:[1,0],rotateY:[0,180]},{opacity:[1,0],rotateY:[0,-180]}],duration:1e3},W=this.props.login,U=W.locale,R=(W.submitpending,W.submitting,{});W.loginData&&(R=W.loginData);var F=R,K=F.tabType,z=(F.showType,Number(R.isUkeyLogin),Number(R.isFinger),Number(R.isSMS),Number(R.isqq),c<=980);"1"==R.isApp||R.isWeChat,"1"==R.isSMS&&"1"==R.isqq||R.isDingDing,"1"==R.isFinger&&("1"==R.isSMS||R.isqq),"1"==R.isqq&&R.isDingDing,"1"==R.isUkeyLogin&&("1"==R.isFinger||"1"==R.isSMS||R.isqq);return"none"!=this.state.firstLoading.display?null:te.a.createElement(te.a.Fragment,null,te.a.createElement("div",{id:"memban",style:{width:"100%",height:"1000px",backgroundColor:"rgb(0,0,0,0.5)",position:"absolute",zIndex:"3",display:this.state.visible?"block":"none"}}," "),te.a.createElement("div",{style:this.state.firstLoading},te.a.createElement("div",{className:pe.a.imgssdiv}),te.a.createElement("img",{src:Oe.a,className:pe.a.imgss}),te.a.createElement("span",{className:pe.a.imgsstitle},window.locale[U].login_wait)),te.a.createElement("div",{className:pe.a.container},z?te.a.createElement("div",{className:pe.a.mobileCarousel,style:k.length>0?{background:"url("+k[0].source+")",backgroundSize:"100% 100%",backgroundRepeat:"no-repeat"}:{}},te.a.createElement(Te.a,{mobileLogo:O,login_logo:Ne.a,loginData:R,form:this.props.form,userInfo:d,loginCode:m,themeColor:T,dataSource:l,columns:s,loginType:p,QueueAnimConfig:P,history:this.props.history})):null,z?null:te.a.createElement("div",null,te.a.createElement("div",{className:pe.a.header+" \n "+pe.a.content,style:z?{width:"100%"}:window.tip.loginLogoStyle?window.tip.loginLogoStyle:{}},te.a.createElement("div",{className:ne()((e={},n(e,pe.a.moblielogo,z),n(e,pe.a.cas_logo,!z),e))},z?O.length>0?te.a.createElement("img",{src:O[0].source,onError:function(e){e.target.src=u.loginLogo}}):te.a.createElement("img",{src:u.loginLogo,style:window.tip.logoStyle?window.tip.logoStyle:{}}):I.length>0?te.a.createElement("img",{src:I[0].source,onError:function(e){e.target.src="/assets/images/base-2024/err_logo.png"}}):te.a.createElement("img",{src:u.loginLogo}))),te.a.createElement("div",{className:pe.a.carousel,style:z?{padding:"0 20px"}:window.tip.middleImgStyle?window.tip.middleImgStyle:{}},z?null:te.a.createElement(J.a,{autoplay:!0,autoplaySpeed:6e3},D.length>0?D.map(function(e,t){return te.a.createElement("img",{key:t,src:e.source,onError:function(e){e.target.src="/assets/images/traditionLogin/banner"+(t+1)+".jpg"}})}):Q.map(function(e,t){return te.a.createElement("img",{key:t,src:e})})),te.a.createElement("div",{className:ne()((t={},n(t,pe.a.loginContent,!z),n(t,pe.a.moblieContent,z),t))},te.a.createElement("div",{style:window.tip.loginBoxPosition&&!z?Ue({},window.tip.loginBoxPosition):{width:360,top:154},className:ne()(pe.a.login,n({},pe.a.mobileLogin,z))},te.a.createElement("div",{className:pe.a.new_topNav},R.loginTabType?te.a.createElement(Ce.a,{loginData:R,locale:this.props.login.locale,handle_change_tab:this.onChangNewTab,themeColor:T}):te.a.createElement(Ee.a,{handle_change_tab:this.onChangTab,locale:this.props.login.locale,isMobile:z,themeColor:T,type:p,showType:R.showType,tabType:K,loginData:R})),te.a.createElement("div",{className:pe.a.formContent},1==p||8==p?te.a.createElement(oe.a,P,te.a.createElement("div",{style:{background:this.props.login.submitpending,padding:"0px 40px 0"},className:pe.a.anim_box,key:"A"},te.a.createElement($.a,{style:{display:this.props.login.submitting}},te.a.createElement(Be,null,o("userName",{initialValue:d.userName})(te.a.createElement(H.a,{size:"large",onPressEnter:this.handleAccountSubmit,onKeyUp:this.handleAccountInputChange,placeholder:window.locale[this.props.login.locale].enter_account,onBlur:function(e){return a.handleCheckIsNeedUkey(e)}}))),te.a.createElement(Be,null,o("password",{initialValue:d.inputPassWord})(te.a.createElement(H.a.Password,{id:"password",className:window.tip.unlock?null:pe.a.password,size:"large",type:"password",placeholder:window.locale[this.props.login.locale].enter_pass,ref:function(e){a.passRef=e},autoComplete:"new-password",onPressEnter:this.handleAccountSubmit,onKeyUp:this.handleChangePass}))),((1==R.isVerifyCode||R.isVerifyCodeType.indexOf("1")>-1)&&R.verifyCodeNum<=0||R.verifyCodeNum&&sessionStorage.getItem("errorNum")&&R.verifyCodeNum<=sessionStorage.getItem("errorNum")&&(R.isVerifyCodeType.indexOf("1")>-1||"1"==R.isVerifyCode))&&(["1","2"].indexOf(R.captchaType)>-1||!R.captchaType)?te.a.createElement(Be,null,te.a.createElement(B.a,{gutter:8},te.a.createElement(j.a,{span:14},o("captcha",{})(te.a.createElement(H.a,{size:"large",placeholder:window.locale[this.props.login.locale].enter_arithmetic_answer,onPressEnter:this.handleAccountSubmit}))),te.a.createElement(j.a,{span:10},te.a.createElement("div",{className:pe.a.captcha,onClick:function(){a.queryLoginKaptcha(m.uid)}},te.a.createElement("img",{style:{width:"100%",height:"40px"},alt:"logo",src:m.content}),te.a.createElement("div",{className:pe.a.codeMask+" "+(m.refresh?"":pe.a.codeHide),onClick:function(e){e.stopPropagation(),a.reFreshCode()}},window.locale[this.props.login.locale].click_refresh))))):null,te.a.createElement("div",{style:{marginTop:"-4px",position:"relative",zIndex:1}},!z&&window.locale.isRememberPass&&"1"==window.locale.isRememberPass&&te.a.createElement(j.a,{className:"fl margin_bottom_30"},o("rememberMe",{valuePropName:"checked",initialValue:d.rememberMe})(te.a.createElement(q.a,null,te.a.createElement("a",{style:{color:"#333"}},window.locale[this.props.login.locale].remember_pass)))),te.a.createElement(j.a,{className:pe.a.green+" fr"},R.loginfoundPaawordUrl&&"null"!=R.loginfoundPaawordUrl?te.a.createElement("a",{style:{color:"#397EF0"},onClick:function(){window.location.href=z?R.mobileLoginfoundPaawordUrl:R.loginfoundPaawordUrl}},window.locale[this.props.login.locale].forget_pass,"?"):null)),te.a.createElement(B.a,null,te.a.createElement(M.a,{style:Array.isArray(T)?{color:"#fff",marginTop:"30px",borderColor:T[0],background:T[0]}:{color:"#fff",marginTop:"30px",borderColor:T,background:T},className:ne()(pe.a.submit,n({},pe.a.borderRadius_20,z),n({},pe.a.logining,!0),"fl"),onClick:this.handleAccountSubmit,type:"primary",size:"large"},window.locale[this.props.login.locale].login),te.a.createElement("div",{id:"captcha-box"})),!z&&te.a.createElement(B.a,null,te.a.createElement(j.a,{className:"fr"},R.loginQuestionUrl&&"null"!=R.loginQuestionUrl?te.a.createElement("a",{style:{color:"#888",marginRight:z?"unset":"30px"},onClick:function(){window.location.href=z?R.mobileLoginQuestionUrl:R.loginQuestionUrl}},window.locale[this.props.login.locale].common_problem):null,z&&R.isOpenLoginAppeal&&1==R.isOpenLoginAppeal?te.a.createElement("a",{style:{color:"#888"},onClick:function(){var e=R.loginAppealUrl;window.location.href=e}},window.locale[this.props.login.locale].account_appeal):null,te.a.createElement(A.a,{content:te.a.createElement("div",null,te.a.createElement(H.a,{size:"large",allowClear:!0,onBlur:this.getusername,placeholder:window.locale[this.props.login.locale].enter_name,style:{marginBottom:"10px"}}),te.a.createElement(H.a,{size:"large",allowClear:!0,onBlur:this.getusercardid,placeholder:window.locale[this.props.login.locale].enter_ID_card,style:{marginBottom:"10px"}}),R.isVerifyCodeType.indexOf("3")>-1?te.a.createElement(B.a,{gutter:8},te.a.createElement(j.a,{span:14},te.a.createElement(H.a,{autoComplete:"off",size:"large",allowClear:!0,placeholder:window.locale[this.props.login.locale].enter_arithmetic_answer,onBlur:this.getQueryCode,style:{marginBottom:"10px"}})),te.a.createElement(j.a,{span:10},te.a.createElement("div",{style:{marginTop:"7px"},onClick:function(){a.queryQueryKaptcha(r.uid)}},te.a.createElement("img",{alt:"logo",src:r.content})))):null,te.a.createElement(M.a,{className:ne()(pe.a.submit,n({},pe.a.logining,!0)),style:Array.isArray(T)?{border:"none",width:"100%",background:T[0]}:{border:"none",width:"100%",background:T},onClick:this.handleCheckAccount,type:"primary",size:"large"},window.locale[this.props.login.locale].query),te.a.createElement(N.a,{dataSource:l,columns:s}),te.a.createElement("a",{onClick:this.hide,style:x?{color:x}:{color:T}},window.locale[this.props.login.locale].close)),title:window.locale[this.props.login.locale].account_query,trigger:"click",visible:this.state.visible,onVisibleChange:this.handleVisibleChange},z||R.isOpenLoginAcountCheck&&1!=R.isOpenLoginAcountCheck?null:te.a.createElement("a",null,window.locale[this.props.login.locale].account_query))))),te.a.createElement("div",{style:z?{color:"#01774F",fontSize:"15px",fontWeight:"bold",display:this.props.login.submitnote,textAlign:"center",top:"220px",left:"130px",position:"absolute"}:{color:"#01774F",fontSize:"15px",fontWeight:"bold",display:this.props.login.submitnote,textAlign:"center",top:"215px",left:"90px",position:"absolute"}},"éªè¯ä¸ï¼è¯·ç¨ç..."))):null,2==p&&"1"==R.isSMS?te.a.createElement(oe.a,P,te.a.createElement("div",{style:{background:this.props.login.submitpending,padding:"20px 40px 0"},className:pe.a.anim_box,key:"B"},te.a.createElement($.a,{style:{display:this.props.login.submitting},onSubmit:this.handleSmsSubmit},te.a.createElement(Be,null,o("mobile",{rules:[{required:!0,message:window.locale[this.props.login.locale].enter_phone},{pattern:/^1[3457896]([0-9]{9})$/,message:"ææºå·æ ¼å¼ä¸æ£ç¡®"}]})(te.a.createElement(H.a,{size:"large",prefix:te.a.createElement(S.a,{type:"user",style:{color:"rgba(0,0,0,.25)"}}),placeholder:window.locale[this.props.login.locale].enter_phone}))),R.isVerifyCodeType.indexOf("2")>-1?te.a.createElement(Be,{className:pe.a.mb6},te.a.createElement(B.a,{gutter:8},te.a.createElement(j.a,{span:13},o("captcha",{rules:[{required:!0,message:window.locale[U].enter_arithmetic_answer}]})(te.a.createElement(H.a,{size:"large",autoComplete:"off",onPressEnter:this.handleAccountSubmit,placeholder:window.locale[U].enter_arithmetic_answer}))),te.a.createElement(j.a,{span:10},te.a.createElement("div",{className:pe.a.captcha,onClick:function(){return a.queryLoginKaptcha(m.uid)}},te.a.createElement("img",{style:{width:"100%",height:"46px",margin:"0 0 2px 14px"},alt:"logo",src:m.content}))))):null,te.a.createElement(Be,{className:"mb10"},o("smsCode",{rules:[{required:!0,message:window.locale[this.props.login.locale].enter_security_code}]})(te.a.createElement(H.a,{size:"large",className:pe.a.code,prefix:te.a.createElement(S.a,{type:"lock",style:{color:"rgba(0,0,0,.25)"}}),placeholder:window.locale[this.props.login.locale].enter_security_code})),te.a.createElement("div",{className:ne()(pe.a.send,n({},pe.a.disabled,h)),onClick:this.onSendCode},h?f:window.locale[this.props.login.locale].send_security_code)),te.a.createElement(B.a,{className:"mb10"},te.a.createElement(j.a,{className:"fr"},R.loginQuestionUrl&&"null"!=R.loginQuestionUrl?te.a.createElement("a",{className:pe.a.grey,onClick:function(){window.location.href=z?R.mobileLoginQuestionUrl:R.loginQuestionUrl}},window.locale[this.props.login.locale].common_problem):null)),te.a.createElement(Be,{className:"mt30"},te.a.createElement(M.a,{className:ne()(pe.a.codeSubmit,n({},pe.a.borderRadius_20,z)),style:Array.isArray(T)?{borderColor:T[0],background:T[0]}:{borderColor:T,background:T},type:"primary",size:"large",htmlType:"submit"},window.locale[this.props.login.locale].login))),te.a.createElement("div",{style:z?{color:"#01774F",fontSize:"15px",fontWeight:"bold",display:this.props.login.submitnote,textAlign:"center",top:"220px",left:"130px",position:"absolute"}:{color:"#01774F",fontSize:"15px",fontWeight:"bold",display:this.props.login.submitnote,textAlign:"center",top:"215px",left:"90px",position:"absolute"}},"éªè¯ä¸ï¼è¯·ç¨ç..."))):null,5==p&&"1"==R.isFinger?te.a.createElement("div",{className:pe.a.qr_box_Finger},te.a.createElement(we.a,{history:this.props.history,config:P})):null,6==p&&"1"==R.isUkeyLogin?te.a.createElement("div",{className:pe.a.qr_box_ukey},te.a.createElement(ye.a,{history:this.props.history,config:P,ukeyIsIn:g,isConn:E})):null,!z&&3==p||4==p||13==p?te.a.createElement("div",{className:pe.a.qr_box},3==p&&"1"==R.isWeChat?te.a.createElement(oe.a,P,te.a.createElement("div",{key:"D",className:pe.a.qr_img_box},te.a.createElement("img",{alt:"logo",src:w.content}),te.a.createElement("div",{className:pe.a.qrMask+" "+(w.refresh?"":pe.a.qrMaskHide)},te.a.createElement("img",{src:qe.a,style:{marginBottom:"20px",width:"30px",height:"30px"}}),te.a.createElement("span",{className:pe.a.link_span},window.locale[this.props.login.locale].QR_code_invalid),te.a.createElement("a",{href:"javascript:void(0)",onClick:this.handleRefreshWXQrClick,className:pe.a.link_refresh},window.locale[this.props.login.locale].click_refresh)))):null,13==p&&"1"==R.isDingDing?te.a.createElement(oe.a,P,te.a.createElement("div",{key:"D",className:pe.a.qr_img_box},te.a.createElement("img",{alt:"logo",src:v.content}),te.a.createElement("div",{className:pe.a.qrMask+" "+(v.refresh?"":pe.a.qrMaskHide)},te.a.createElement("img",{src:qe.a,style:{marginBottom:"20px",width:"30px",height:"30px"}}),te.a.createElement("span",{className:pe.a.link_span},window.locale[this.props.login.locale].QR_code_invalid),te.a.createElement("a",{href:"javascript:void(0)",onClick:this.handleRefreshDdQrClick,className:pe.a.link_refresh},window.locale[this
1.props.login.locale].click_refresh)))):null,4==p&&"1"==R.isApp?te.a.createElement(oe.a,P,te.a.createElement("div",{key:"D",className:pe.a.qr_img_box},te.a.createElement("img",{alt:"logo",src:y.content}),te.a.createElement("div",{className:pe.a.qrMask+" "+(y.refresh?"":pe.a.qrMaskHide)},te.a.createElement("img",{src:qe.a,style:{marginBottom:"20px",width:"30px",height:"30px"}}),te.a.createElement("span",{className:pe.a.link_span},window.locale[this.props.login.locale].QR_code_invalid),te.a.createElement("a",{href:"javascript:void(0)",onClick:this.handleRefreshAppQrClick,className:pe.a.link_refresh},window.locale[this.props.login.locale].click_refresh)))):null,this.handleChangeButtonPosition()):null),!z&&te.a.createElement("div",{className:pe.a.type_box},"1"==R.isqq&&!z&&R.loginIconType.indexOf("3")>=0?te.a.createElement(C.a,{placement:"top",title:"qq"},te.a.createElement("span",{className:pe.a.type,onClick:function(){window.location=a.state.qqLoginUrl,a.setState({tab:"1"})}},te.a.createElement("span",{className:ne()(pe.a.icon_qq,pe.a.type_icon)}))):null,(R.tabType&&2!=R.tabType&&3!=R.tabType||(!R.loginTabType||R.loginTabType.indexOf(2)>=0)&&2!=p)&&"1"==R.isSMS&&2!==p&&R.loginIconType.indexOf("1")>=0?te.a.createElement(te.a.Fragment,null,te.a.createElement(C.a,{placement:"top",title:window.locale[U].sms_login},te.a.createElement("span",{className:pe.a.type,onClick:function(){a.setState({loginType:2,tabList:[{key:"1",name:window.locale[U].sms_login},{key:"2",name:window.locale[U].Qr_code_Login}],tabHover1:{color:R.themeColor?a.state.secondThemeColor:"#1890fe"},tabHover2:{background:R.themeColor?a.state.secondThemeColor:"#1890fe"}},function(){a.appQrTimeout&&(clearTimeout(a.appQrTimeout),a.appQrTimeout=null),a.wxQrTimeout&&(clearTimeout(a.wxQrTimeout),a.wxQrTimeout=null),a.mmdlQrTimeout&&(clearTimeout(a.mmdlQrTimeout),a.mmdlQrTimeout=null),a.changeAppQrTimeOut&&(clearTimeout(a.changeAppQrTimeOut),a.changeAppQrTimeOut=null),a.changeWXQrTimeOut&&(clearTimeout(a.changeWXQrTimeOut),a.changeWXQrTimeOut=null),a.changeMMDLQrTimeOut&&(clearTimeout(a.changeMMDLQrTimeOut),a.changeMMDLQrTimeOut=null)})}},te.a.createElement("span",{className:ne()(pe.a.icon_mobile,pe.a.type_icon)})))):null,2!=K&&2==p||1!=K&&3==p||1!=K&&4==p||9==p||3==K&&1!=p?te.a.createElement(te.a.Fragment,null,te.a.createElement(C.a,{placement:"top",title:window.locale[U].pass_login},te.a.createElement("span",{className:pe.a.type,onClick:function(){a.setState({loginType:1,tabHover1:{color:R.themeColor?a.state.secondThemeColor:"#1890fe"},tabHover2:{background:R.themeColor?a.state.secondThemeColor:"#1890fe"},tabList:[{key:"1",name:window.locale[U].pass_login},{key:"2",name:2==R.tabType?window.locale[U].sms_login:window.locale[U].Qr_code_Login}]},function(){a.appQrTimeout&&(clearTimeout(a.appQrTimeout),a.appQrTimeout=null),a.changeAppQrTimeOut&&(clearTimeout(a.changeAppQrTimeOut),a.changeAppQrTimeOut=null),a.wxQrTimeout&&(clearTimeout(a.wxQrTimeout),a.wxQrTimeout=null),a.changeWXQrTimeOut&&(clearTimeout(a.changeWXQrTimeOut),a.changeWXQrTimeOut=null),a.mmdlQrTimeout&&(clearTimeout(a.mmdlQrTimeout),a.mmdlQrTimeout=null),a.changeMMDLQrTimeOut&&(clearTimeout(a.changeMMDLQrTimeOut),a.changeMMDLQrTimeOut=null)})}},te.a.createElement("span",{className:ne()(pe.a.icon_mm,pe.a.type_icon)})))):null,R.tabType&&1!=R.tabType&&!z&&3!==p&&4!==p&&9!==p?te.a.createElement(te.a.Fragment,null,te.a.createElement(C.a,{title:window.locale[this.props.login.locale].scan_login},te.a.createElement("span",{className:pe.a.type,onClick:function(){a.setState({loginType:1==R.isWeChat?3:4,tabList:[{key:"1",name:window.locale[U].Qr_code_Login},{key:"2",name:window.locale[U].sms_login}],isFirst:!0,tabHover1:{color:R.themeColor?a.state.secondThemeColor:"#1890fe"},tabHover2:{background:R.themeColor?a.state.secondThemeColor:"#1890fe"}},function(){1==R.isWeChat?(a.queryWechat(),a.handleWXCode()):(a.queryAppQrCode(),a.handleAppCode())})}},te.a.createElement("span",{className:ne()(pe.a.icon_wx,pe.a.type_icon)})))):null,z?null:te.a.createElement("span",null,"1"==R.isFinger&&R.loginIconType.indexOf("5")>=0?z||5==p?te.a.createElement(C.a,{placement:"top",title:window.locale[U].account_login},te.a.createElement("span",{className:pe.a.type,onClick:function(){a.setState({loginType:1,tab:"1"},function(){a.appQrTimeout&&(clearTimeout(a.appQrTimeout),a.appQrTimeout=null),a.changeAppQrTimeOut&&(clearTimeout(a.changeAppQrTimeOut),a.changeAppQrTimeOut=null),a.wxQrTimeout&&(clearTimeout(a.wxQrTimeout),a.wxQrTimeout=null),a.changeWXQrTimeOut&&(clearTimeout(a.changeWXQrTimeOut),a.changeWXQrTimeOut=null)})}},te.a.createElement("span",{className:ne()(pe.a.icon_mm,pe.a.type_icon)}))):te.a.createElement(C.a,{placement:"top",title:window.locale[U].finger_login},te.a.createElement("span",{className:pe.a.type,onClick:function(){a.setState({loginType:5,tab:"1"},function(){a.appQrTimeout&&(clearTimeout(a.appQrTimeout),a.appQrTimeout=null),a.wxQrTimeout&&(clearTimeout(a.wxQrTimeout),a.wxQrTimeout=null),a.changeAppQrTimeOut&&(clearTimeout(a.changeAppQrTimeOut),a.changeAppQrTimeOut=null),a.changeWXQrTimeOut&&(clearTimeout(a.changeWXQrTimeOut),a.changeWXQrTimeOut=null)})}},te.a.createElement("span",{className:ne()(pe.a.icon_finger,pe.a.type_icon)}))):null))))),te.a.createElement("div",{className:pe.a.descAFooter},te.a.createElement("div",{className:pe.a.descContainer,style:window.tip.descStyle?window.tip.descStyle:{}},!z&&(R.casDesc?R.casDesc.indexOf("zh_CN")>0?te.a.createElement(se.a,{html:JSON.parse(JSON.stringify(R.casDesc))[U]}):te.a.createElement(se.a,{html:R.casDesc}):te.a.createElement(ve.a,{themeColor:T})),z&&te.a.createElement(te.a.Fragment,null,te.a.createElement("div",{style:{textAlign:"center"}},1==p&&1==R.isSMS&&te.a.createElement(C.a,{placement:"top",title:window.locale[U].sms_login},te.a.createElement("span",{className:pe.a.type,onClick:function(){a.setState({loginType:2,tabList:[{key:"1",name:window.locale[U].sms_login},{key:"2",name:window.locale[U].Qr_code_Login}
1],tabHover1:{color:R.themeColor?a.state.secondThemeColor:"#1890fe"},tabHover2:{background:R.themeColor?a.state.secondThemeColor:"#1890fe"}},function(){a.appQrTimeout&&(clearTimeout(a.appQrTimeout),a.appQrTimeout=null),a.wxQrTimeout&&(clearTimeout(a.wxQrTimeout),a.wxQrTimeout=null),a.mmdlQrTimeout&&(clearTimeout(a.mmdlQrTimeout),a.mmdlQrTimeout=null),a.changeAppQrTimeOut&&(clearTimeout(a.changeAppQrTimeOut),a.changeAppQrTimeOut=null),a.changeWXQrTimeOut&&(clearTimeout(a.changeWXQrTimeOut),a.changeWXQrTimeOut=null),a.changeMMDLQrTimeOut&&(clearTimeout(a.changeMMDLQrTimeOut),a.changeMMDLQrTimeOut=null)})}},te.a.createElement("img",{src:Le.a,style:{marginRight:"8px"}}),te.a.createElement("span",null,window.locale[U].sms_login))),2==p&&te.a.createElement(C.a,{placement:"top",title:window.locale[U].pass_login},te.a.createElement("span",{className:pe.a.type,onClick:function(){a.setState({loginType:1,tabHover1:{color:R.themeColor?a.state.secondThemeColor:"#1890fe"},tabHover2:{background:R.themeColor?a.state.secondThemeColor:"#1890fe"},tabList:[{key:"1",name:window.locale[U].pass_login},{key:"2",name:2==R.tabType?window.locale[U].sms_login:window.locale[U].Qr_code_Login}]},function(){a.appQrTimeout&&(clearTimeout(a.appQrTimeout),a.appQrTimeout=null),a.changeAppQrTimeOut&&(clearTimeout(a.changeAppQrTimeOut),a.changeAppQrTimeOut=null),a.wxQrTimeout&&(clearTimeout(a.wxQrTimeout),a.wxQrTimeout=null),a.changeWXQrTimeOut&&(clearTimeout(a.changeWXQrTimeOut),a.changeWXQrTimeOut=null),a.mmdlQrTimeout&&(clearTimeout(a.mmdlQrTimeout),a.mmdlQrTimeout=null),a.changeMMDLQrTimeOut&&(clearTimeout(a.changeMMDLQrTimeOut),a.changeMMDLQrTimeOut=null)})}},te.a.createElement("img",{src:Pe.a,style:{marginRight:"8px"}}),te.a.createElement("span",null,window.locale[U].pass_login)))),te.a.createElement("div",{style:{marginTop:"28px",textAlign:"center"}},R.loginQuestionUrl&&"null"!=R.loginQuestionUrl?te.a.createElement("a",{className:pe.a.grey,onClick:function(){window.location.href=z?R.mobileLoginQuestionUrl:R.loginQuestionUrl}},window.locale[this.props.login.locale].common_problem):null))),!z&&te.a.createElement("div",{className:""+pe.a.footer,style:window.tip.footerStyle?window.tip.footerStyle:{}},R.casfoot&&te.a.createElement("div",{style:{padding:"10px 0"},dangerouslySetInnerHTML:{__html:R.casfoot?R.casfoot:null}}),!R.casfoot&&te.a.createElement(be.a,null))))),te.a.createElement(_.a,{visible:L,footer:null,onCancel:function(){return a.setState({ukeyVisible:!1})}},te.a.createElement("div",{style:{width:"100%",textAlign:"center"}},te.a.createElement(b.a,{spinning:!0,tip:"æ£æµå°Ukeyæ£å¨ç»å½......"}))))}}]),t}(te.a.Component),d=function(){var e=this;this.resize=function(){a.i(ce.c)().windowH<970&&a.i(ce.c)().windowW>980||(document.body.style.overflowY="hidden"),e.setState({windowW:a.i(ce.c)().windowW})},this.handleReset=function(){e.props.form.resetFields()},this.handleAccountInputChange=function(t){e.setState({is_AccountValue:!!t.target.value},function(){e.state.is_PasswordValue&&e.state.is_AccountValue?e.setState({LoginBtn_disabled:!1,login_btn_show:!0}):e.setState({LoginBtn_disabled:!0,login_btn_show:!1})})},this.handleChangePass=function(t){if(!e.state.eye){var a=t.target.value;a.length>0?e.setState({login_btn_show:!0,is_PasswordValue:!0},function(){e.state.is_PasswordValue&&e.state.is_AccountValue?e.setState({LoginBtn_disabled:!1,login_btn_show:!0}):e.setState({LoginBtn_disabled:!0,login_btn_show:!1})}):(e.setState({login_btn_show:!1,is_PasswordValue:!1},function(){e.state.is_PasswordValue&&e.state.is_AccountValue?e.setState({LoginBtn_disabled:!1,login_btn_show:!0}):e.setState({LoginBtn_disabled:!0,login_btn_show:!1})}),Fe=""),e.props.form.setFieldsValue({password:a});var n=Fe,o=e.state.userInfo.password;o&&(o!=n?e.setState({userInfo:Ue({},e.state.userInfo,{change:!0})}):e.setState({userInfo:Ue({},e.state.userInfo,{change:!1})}))}},this.encodePass=function(e){a.i(he.a)(131);var t=a.i(he.b)(ue.a.public_exponent,"",ue.a.modulus);return a.i(he.c)(t,e)},this.handleAccountSubmit=function(t){t.preventDefault();var n=e.props.login.loginData,o=e.state.loginCode;e.props.form.validateFieldsAndScroll(function(t,i){if(!t){var r="",l="";document.getElementById("password").value;"1"==n.isVerifyCode&&(r=o.uid,l=i.captcha);var s=a(5),c=window.location.search;c=c.substring(c.indexOf("?")+1);var u=s.parse(c),d=n.defaultLoginUrl;d=u&&u.service?u.service:n.defaultLoginUrl,l=l&&l.replace(/(^\s*)|(\s*$)/g,"");try{new Promise(function(t){e.props.dispatch(a.i(ge.c)(i.userName,i.password,d,"",e.props.history,i.rememberMe,e.state.userInfo.change,r,l,t,n.captchaType))}).then(function(){e.props.dispatch(a.i(ge.e)("block","none","none")),e.queryLoginKaptcha(r)})}catch(e){}}})},this.handleSmsSubmit=function(t){t.preventDefault(),e.props.form.validateFieldsAndScroll(function(t,n){if(!t){var o={mobile:n.mobile,code:n.smsCode};e.props.dispatch(a.i(ge.e)("none","url("+Se.a+") no-repeat 50% 30%","block")),a.i(me.b)(ue.a.CAS+"/sms/validateCode",o).then(function(t){var n=t.meta,o=t.data;if(n.success){if(o){var i=a(5),r=window.location.search;r=r.substring(r.indexOf("?")+1);var l=i.parse(r),s=o.service;l&&l.service&&(s=l.service),e.props.dispatch(a.i(ge.c)(o.userName,o.passWord,s,"2",e.props.history))}}else _.a.error({title:window.locale[e.props.login.locale].sms_login,content:n.message}),e.props.dispatch(a.i(ge.e)("block","none","none"))})}})},this.handleWXCode=function(){e.setState({loginType:3,wechatCode:Ue({},e.state.wechatCode,{stop:!1}),appCode:Ue({},e.state.appCode,{stop:!0})},function(){e.clearAllTimers(),e.wxQrTimeout||e.checkScanWXQr(e.state.wechatCode.uuid),e.handleChangeWXQr()})},this.handleAppCode=function(){e.setState({loginType:4,appCode:Ue({},e.state.appCode,{stop:!1}),wechatCode:Ue({},e.state.wechatCode,{stop:!0})},function(){e.clearAllTimers(),e.appQrTimeout||e.checkScanPhoneQr(e.state.appCode.uuid),e.handleChangeAppQr()})},this.onChangTab=function(t){var a=e.state,n=a.loginType,o=a.secondThemeColor,i=e.props.login,r=i.loginData,l=i.locale;1==t?e.setState({tab:"1",tabList:[{key:"1",name:window.locale[l].account_login},{key:"2",name:2==r.tabType?window.locale[l].sms_login:window.locale[l].Qr_code_Login}],tabHover1:{color:r.themeColor?o||r.themeColor:"#1890fe"},tabHover2:{background:r.themeColor?o||r.themeColor:"#1890fe"},loginType:1,isFirst:!0,appCode:Ue({},e.state.appCode,{stop:!0}),wechatCode:Ue({},e.state.wechatCode,{stop:!0})},function(){e.clearAllTimers()}):2==r.tabType?e.setState({loginType:2,tabList:[{key:"1",name:window.locale[l].account_login},{key:"2",name:window.locale[l].sms_login}],tabHover2:{color:r.themeColor?o||r.themeColor:"#1890fe"},tabHover1:{background:r.themeColor?o||r.themeColor:"#1890fe"}},function(){e.clearAllTimers()}):(n<3||5==n||6==n)&&(e.setState({tab:"2",tabList:[{key:"1",name:3!=r.tabType?window.locale[l].account_login:window.locale[l].sms_login},{key:"2",name:window.locale[l].Qr_code_Login}],tabHover2:{color:r.themeColor?o||r.themeColor:"#1890fe"},tabHover1:{background:r.themeColor?o||r.themeColor:"#1890fe"}}),r.isWeChat&&"1"==r.isWeChat?e.setState({loginType:3,isFirst:!0},function(){e.queryWechat(),e.handleWXCode()}):r.isApp&&"1"==r.isApp&&e.setState({loginType:4,isFirst:!0},function(){e.queryAppQrCode(),e.handleAppCode()}))},this.onEye=function(){e.setState({eye:!e.state.eye})},this.handleRefreshAppQrClick=function(){var t=e.props.login;t.loginData&&"1"==t.loginData.isApp&&e.state.appCode.refresh&&e.setState({appCode:Ue({},e.state.appCode,{refresh:!1})},function(){e.queryAppQrCode(""),e.checkScanPhoneQr()})},this.handleRefreshWXQrClick=function(){var t=e.props.login;t.loginData&&"1"==t.loginData.isWeChat&&e.state.wechatCode.refresh&&e.setState({wechatCode:Ue({},e.state.wechatCode,{refresh:!1})},function(){e.queryWechat(""),e.checkScanWXQr()})},this.handleRefreshDdQrClick=function(){var t=e.props.login;t.loginData&&"1"==t.loginData.isDingDing&&e.state.ddCode.refresh&&e.setState({ddCode:Ue({},e.state.ddCode,{refresh:!1})},function(){e.queryDdCode(""),e.checkScanDdQr()})},this.onSendCode=function(){e.state.sending||e.props.form.validateFields(["mobile","captcha"],{force:!0},function(t,a){if(!t){e.setState({sending:!0});var n=(new Date).getTime(),o=e.encodePass(ue.a.TAG+n),i=e.props.login.loginData.smsSendTime;i=60*parseInt(i),e.setState({count:i}),e.timer=setInterval(function(){e.setState({count:i--},function(){0===e.state.count&&(clearInterval(e.timer),e.timer=null,e.setState({sending:!1}))})},1e3);var r={mobile:a.mobile,username:a.mobile,module:"0"};e.props.login.loginData.isVerifyCodeType.indexOf("2")>-1&&(r.module="3",r.code=a.captcha,r.id=e.state.loginCode.uid),re.a.post(ue.a.CAS+"/login/mobile/generateCode",r,{headers:{token:o}}).then(function(t){var a=t.data,n=a.meta;a.data;if(n.success)_.a.success({title:window.locale[e.props.login.locale].warn,content:window.locale[e.props.login.locale].send_sms_code_success});else{e.timer&&(clearInterval(e.timer),e.timer=null),e.setState({sending:!1});var o=n.message;"CODEFALSE"==n.message&&(o="éªè¯ç é误"),_.a.error({title:window.locale[e.props.login.locale].warn,content:o}),e.queryLoginKaptcha(e.state.loginCode.uid)}})}})},this.queryLoginKaptcha=function(t){re.a.get(ue.a.CAS+"/kaptcha",{params:{uid:t}}).then(function(t){"200"==t.status&&t.data&&(t.data.uid&&"-1"!=t.data.uid&&e.setState({loginCode:Ue({},t.data,{isLoginCode:!1,refresh:!1})}),e.handleCodeTime())})},this.queryAppQrCode=function(){re.a.get(ue.a.CAS+"/QrCode",{params:{cmd:"getQr"}}).then(function(t){"200"==t.status&&t.data&&e.setState({appCode:Ue({},e.state.appCode,t.data,{isAppCode:!1})},function(){e.changeAppQrTimeOut&&(clearTimeout(e.changeAppQrTimeOut),e.changeAppQrTimeOut=null),e.appQrTimeout&&(clearTimeout(e.appQrTimeout),e.appQrTimeout=null,e.handleAppCode())})})},this.queryWechat=function(){re.a.get(ue.a.CAS+"/weChat/CreateQRcode",{params:{businessType:"login",platformType:"wx"}}).then(function(t){"200"==t.status&&t.data&&e.setState({wechatCode:Ue({},e.state.wechatCode,t.data,{isWeChatCode:!1})},function(){e.changeWXQrTimeOut&&(clearTimeout(e.changeWXQrTimeOut),e.changeWXQrTimeOut=null),e.wxQrTimeout&&(clearTimeout(e.wxQrTimeout),e.wxQrTimeout=null,e.handleWXCode())})})},this.queryDdCode=function(){re.a.get(ue.a.CAS+"/weChat/CreateQRcode",{params:{serviceType:"login",platformType:"dd"}}).then(function(t){"200"==t.status&&t.data&&e.setState({ddCode:Ue({},e.state.ddCode,t.data,{isDdCode:!1})},function(){e.changeDdQrTimeOut&&(clearTimeout(e.changeDdQrTimeOut),e.changeDdQrTimeOut=null),e.ddQrTimeout&&(clearTimeout(e.ddQrTimeout),e.ddQrTimeout=null,e.handleDdCode())})})},this.handleDdCode=function(){e.setState({loginType:13,ddCode:Ue({},e.state.ddCode,{stop:!1}),wechatCode:Ue({},e.state.wechatCode,{stop:!1}),appCode:Ue({},e.state.appCode,{stop:!0}),mmdlCode:Ue({},e.state.mmdlCode,{stop:!0})},function(){e.clearAllTimers(),e.ddQrTimeout||e.checkScanDdQr(e.state.ddCode.uuid),e.handleChangeDdQr()})},this.checkScanDdQr=function(t){e.ddQrTimeout=setTimeout(function(){a.i(me.b)(ue.a.CAS+"/weChat/wx/CheckScan",{state:t}).then(function(n){var o=n.meta,i=n.data;if(o.success){var r=a(5),l=window.location.search;l=l.substring(l.indexOf("?")+1);var s=r.parse(l),c=i.service;s&&s.service&&(c=s.service),i?(e.ddQrTimeout&&(clearTimeout(e.ddQrTimeout),e.ddQrTimeout=null),e.changeDdQrTimeOut&&(clearTimeout(e.changeDdQrTimeOut),e.changeDdQrTimeOut=null),e.setState({ddQr:Ue({},i)},function(){e.props.dispatch(a.i(ge.c)(i.userName,i.passWord,c,"13",e.props.history))})):e.state.ddCode.stop||e.state.ddCode.refresh?(e.ddQrTimeout&&(clearTimeout(e.ddQrTimeout),e.ddQrTimeout=null),e.changeDdQrTimeOut&&(clearTimeout(e.changeDdQrTimeOut),e.changeDdQrTimeOut=null)):e.checkScanDdQr(t)}
1else e.state.ddCode.stop||e.state.ddCode.refresh?(e.ddQrTimeout&&(clearTimeout(e.ddQrTimeout),e.ddQrTimeout=null),e.changeDdQrTimeOut&&(clearTimeout(e.changeDdQrTimeOut),e.changeDdQrTimeOut=null)):e.checkScanDdQr(t)})},1e3)},this.handleChangeDdQr=function(){e.state.ddCode.refresh&&e.setState({ddCode:Ue({},e.state.ddCode,{refresh:!1})},function(){e.queryDdCode(""),e.changeDdQrTimeOut&&(clearTimeout(e.changeDdQrTimeOut),e.changeDdQrTimeOut=null)}),e.changeDdQrTimeOut=setTimeout(function(){e.state.ddCode.stop||e.state.ddCode.refresh||e.setState({ddCode:Ue({},e.state.ddCode,{refresh:!0})})},3e5)},this.clearAllTimers=function(){e.appQrTimeout&&(clearTimeout(e.appQrTimeout),e.appQrTimeout=null),e.ddQrTimeout&&(clearTimeout(e.ddQrTimeout),e.ddQrTimeout=null),e.changeAppQrTimeOut&&(clearTimeout(e.changeAppQrTimeOut),e.changeAppQrTimeOut=null),e.wxQrTimeout&&(clearTimeout(e.wxQrTimeout),e.wxQrTimeout=null),e.changeWXQrTimeOut&&(clearTimeout(e.changeWXQrTimeOut),e.changeWXQrTimeOut=null),e.changeDdQrTimeOut&&(clearTimeout(e.changeDdQrTimeOut),e.changeDdQrTimeOut=null),e.mmdlQrTimeout&&(clearTimeout(e.mmdlQrTimeout),e.mmdlQrTimeout=null),e.changeMMDLQrTimeOut&&(clearTimeout(e.changeMMDLQrTimeOut),e.changeMMDLQrTimeOut=null)},this.queryQQLoginUrl=function(){var t=a(5),n=window.location.search;n=n.substring(n.indexOf("?")+1);var o=t.parse(n),i="";o&&o.service&&(i=o.service),a.i(me.a)(ue.a.CAS+"/qq/qqLoginURL",{service:i}).then(function(t){var a=t.meta,n=t.data;a.success&&n&&e.setState({qqLoginUrl:n})})},this.queryPreLoginType=function(){var t=a.i(ce.a)("loginType");t&&(e.setState({loginType:t}),3==t&&(e.queryWechat(""),e.checkScanWXQr()),4==t&&(e.queryAppQrCode(""),e.checkScanPhoneQr(e.state.appCode.uuid)),13==t&&(e.queryDdCode(""),e.checkScanDdQr(e.state.ddCode.uuid)))},this.hide=function(){e.queryLoginKaptcha(e.state.loginCode.uid),e.setState({visible:!1,memban:"none"})},this.handleVisibleChange=function(t){new Promise(function(t){e.queryQueryKaptcha(e.state.loginCode.uid),t()}).then(function(){e.setState({visible:t,memban:"block"})})},this.getQueryCode=function(t){e.setState({queryCodeValue:t.target.value})},this.getusercardid=function(t){e.setState({queryIdCard:t.target.value})},this.getusername=function(t){e.setState({queryUserName:t.target.value})},this.handleCheckAccount=function(t){var a=(e.props.login.loginData,e.state),n=a.queryCode,o=a.queryCodeValue,i=a.queryIdCard,r=a.queryUserName,l="";l=n.uid,e.state.queryCodeValue;var s={username:r,cardID:i,uid:l,code:o};re.a.get(ue.a.CAS+"/checkAccount",{params:s}).then(function(t){if(e.setState({dataSource:[]}),"200"==t.status&&t.data)if(t.data.meta.success){for(var a=[],n=0;n<t.data.data.length;n++)a[n]={screenname:null==t.data.data[n].screenName?"":t.data.data[n].screenName,username:null==t.data.data[n].userName?"":t.data.data[n].userName,othername:null==t.data.data[n].alias?"":t.data.data[n].alias,cardId:null==t.data.data[n].cardId?"":t.data.data[n].cardId};e.setState({dataSource:a})}else _.a.error({title:window.locale[e.props.login.locale].query_fail,content:t.data.meta.message})}),e.queryQueryKaptcha(l)},this.queryQueryKaptcha=function(t){re.a.get(ue.a.CAS+"/kaptcha",{params:{uid:t}}).then(function(t){"200"==t.status&&t.data&&t.data.uid&&"-1"!=t.data.uid&&e.setState({queryCode:Ue({},t.data,{isQueryCode:!1})})})},this.queryLogin=function(t){var n=t.login;if(n.loginData&&"1"==n.loginData.isVerifyCode&&e.state.loginCode.isLoginCode){a.i(ce.c)().windowW;e.queryLoginKaptcha("")}n.loginData&&"1"==n.loginData.isqq&&!e.state.qqLoginUrl&&e.queryQQLoginUrl()},this.checkScanPhoneQr=function(t){var n=a(5);e.appQrTimeout=setTimeout(function(){a.i(me.b)(ue.a.CAS+"/CheckScan",n.stringify({ticket:t})).then(function(n){var o=n.meta,i=n.data;if(o.success){var r=a(5),l=window.location.search;l=l.substring(l.indexOf("?")+1);var s=r.parse(l),c=i.service;s&&s.service&&(c=s.service),i?(e.appQrTimeout&&(clearTimeout(e.appQrTimeout),e.appQrTimeout=null),e.changeAppQrTimeOut&&(clearTimeout(e.changeAppQrTimeOut),e.changeAppQrTimeOut=null),e.setState({appQr:Ue({},i)},function(){e.props.dispatch(a.i(ge.c)(i.userName,i.passWord,c,"4",e.props.history))})):e.state.appCode.stop||e.state.appCode.refresh?(e.appQrTimeout&&(clearTimeout(e.appQrTimeout),e.appQrTimeout=null),e.changeAppQrTimeOut&&(clearTimeout(e.changeAppQrTimeOut),e.changeAppQrTimeOut=null)):e.checkScanPhoneQr(t)}else e.state.appCode.stop||e.state.appCode.refresh?(e.appQrTimeout&&(clearTimeout(e.appQrTimeout),e.appQrTimeout=null),e.changeAppQrTimeOut&&(clearTimeout(e.changeAppQrTimeOut),e.changeAppQrTimeOut=null)):e.checkScanPhoneQr(t)})},1e3)},this.checkScanWXQr=function(t){e.wxQrTimeout=setTimeout(function(){a.i(me.b)(ue.a.CAS+"/weChat/wx/CheckScan",{state:t}).then(function(n){var o=n.meta,i=n.data;if(o.success){var r=a(5),l=window.location.search;l=l.substring(l.indexOf("?")+1);var s=r.parse(l),c=i.service;s&&s.service&&(c=s.service),i?(e.wxQrTimeout&&(clearTimeout(e.wxQrTimeout),e.wxQrTimeout=null),e.changeWXQrTimeOut&&(clearTimeout(e.changeWXQrTimeOut),e.changeWXQrTimeOut=null),e.setState({wxQr:Ue({},i)},function(){e.props.dispatch(a.i(ge.c)(i.userName,i.passWord,c,"3",e.props.history))})):e.state.wechatCode.stop||e.state.wechatCode.refresh?(e.wxQrTimeout&&(clearTimeout(e.wxQrTimeout),e.wxQrTimeout=null),e.changeWXQrTimeOut&&(clearTimeout(e.changeWXQrTimeOut),e.changeWXQrTimeOut=null)):e.checkScanWXQr(t)}
1else e.state.wechatCode.stop||e.state.wechatCode.refresh?(e.wxQrTimeout&&(clearTimeout(e.wxQrTimeout),e.wxQrTimeout=null),e.changeWXQrTimeOut&&(clearTimeout(e.changeWXQrTimeOut),e.changeWXQrTimeOut=null)):e.checkScanWXQr(t)})},1e3)},this.handleChangeAppQr=function(){e.state.appCode.refresh&&e.setState({appCode:Ue({},e.state.appCode,{refresh:!1})},function(){e.queryAppQrCode(""),e.changeAppQrTimeOut&&(clearTimeout(e.changeAppQrTimeOut),e.changeAppQrTimeOut=null)}),e.changeAppQrTimeOut=setTimeout(function(){e.state.appCode.stop||e.state.appCode.refresh||e.setState({appCode:Ue({},e.state.appCode,{refresh:!0})})},3e5)},this.handleChangeWXQr=function(){e.state.wechatCode.refresh&&e.setState({wechatCode:Ue({},e.state.wechatCode,{refresh:!1})},function(){e.queryWechat(""),e.changeWXQrTimeOut&&(clearTimeout(e.changeWXQrTimeOut),e.changeWXQrTimeOut=null)}),e.changeWXQrTimeOut=setTimeout(function(){e.state.wechatCode.stop||e.state.wechatCode.refresh||e.setState({wechatCode:Ue({},e.state.wechatCode,{refresh:!0})})},3e5)},this.loadAccountInfo=function(){var t=localStorage.getItem("accountInfo")&&JSON.parse(localStorage.getItem("accountInfo"));if(t){if(!(t&&(new Date).getTime()<t.expires))return localStorage.removeItem("accountInfo"),null;var a="",n="",o=new Array;o=t.value.split("&"),a=o[0],n=o[1],e.setState({userInfo:Ue({},e.state.userInfo,{userName:a,password:n,inputPassWord:n,rememberMe:!0}),login_btn_show:!0,is_AccountValue:!0,is_PasswordValue:!0})}},this.findUkeyClient=function(){try{(new _e.a).Socket_UK.onopen=function(){e.setState({ukeyIsConn:!0})}}catch(e){}},this.ukeyEventListener=function(){try{if((navigator.userAgent.indexOf("MSIE")>-1||navigator.userAgent.indexOf("Firefox")>-1)&&!navigator.userAgent.indexOf("opera")>-1)return e.ukeyEventListenerIE10();var t=new _e.a;e.setState({ukeyIsIn:!0}),t.Socket_UK.onmessage=function(t){var a=JSON.parse(t.data);"PnpEvent"==a.type&&(a.IsIn?(g.a.info(window.locale[e.props.login.locale].ukey_insert),e.setState({ukeyIsIn:!0})):(g.a.info(window.locale[e.props.login.locale].ukey_pull),e.setState({ukeyIsIn:!1})))}}catch(t){_.a.error({title:window.locale[e.props.login.locale].warn,content:window.locale[e.props.login.locale].ukey_login_not_use})}},this.ukeyEventListenerIE10=function(){try{var t=new ActiveXObject("Syunew3A.s_simnew3");if(t.FindPort(0),0==t.LastError)return e.ukeyTimeout=setTimeout(function(){e.setState({ukeyIsIn:!0})},1e3),!1}catch(t){_.a.error({title:window.locale[e.props.login.locale].warn,content:window.locale[e.props.login.locale].ukey_login_not_use})}},this.reFreshCode=function(){e.queryLoginKaptcha(e.state.loginCode.uid),e.setState({loginCode:Ue({},e.state.loginCode,{refresh:!1})})},this.handleCodeTime=function(){e.codeTimer=setTimeout(function(){e.setState({loginCode:Ue({},e.state.loginCode,{refresh:!0})})},1e3*e.state.loginCode.timeout)},this.onChangNewTab=function(t){var a=e.state,n=a.loginType,o=(a.secondThemeColor,a.loginCode),i=e.props.login,r=i.loginData;i.locale;e.queryLoginKaptcha(o.uid),1==t?e.setState({loginType:1,isFirst:!0,appCode:Ue({},e.state.appCode,{stop:!0}),wechatCode:Ue({},e.state.wechatCode,{stop:!0})},function(){e.clearAllTimers()}):2==t?e.setState({loginType:2,appCode:Ue({},e.state.appCode,{stop:!0}),wechatCode:Ue({},e.state.wechatCode,{stop:!0})},function(){e.clearAllTimers()}):(n<3||5==n||6==n)&&(r.isWeChat&&"1"==r.isWeChat?e.setState({loginType:3,isFirst:!0},function(){e.queryWechat(),e.handleWXCode()}):r.isApp&&"1"==r.isApp?e.setState({loginType:4,isFirst:!0},function(){e.queryAppQrCode(),e.handleAppCode()}):e.setState({loginType:13},function(){e.queryDdCode(),e.handleDdCode()}))},this.handleChangeButtonPosition=function(){var t=e.state.loginType,a=e.props.login.loginData,o=a.attachments&&a.attachments.filter(function(e){return"ly-iap-attachment_appQRCode"==e.sourceId}),i="1"==a.isWeChat?te.a.createElement("span",{className:ne()(pe.a.qr_type,n({},pe.a.active,3==t)),onClick:function(){e.setState({loginType:3},function(){e.queryWechat(),e.handleWXCode()})}},te.a.createElement("span",{className:ne()(pe.a.icon_wx,pe.a.type_icon)}),window.locale[e.props.login.locale].WeChat_scan_login):null,r="1"==a.isApp?te.a.createElement("span",{className:ne()(pe.a.qr_type,n({},pe.a.active,4==t)),onClick:function(){e.setState({loginType:4},function(){e.queryAppQrCode(),e.handleAppCode()})},style:{width:window.tip.appWidth?window.tip.appWidth:14*(window.locale[e.props.login.locale].APP_scan_login.length-5)+100}},te.a.createElement("span",{className:ne()(pe.a.icon_app,pe.a.type_icon),style:o&&o.length>0?{backgroundImage:"url("+o[0].source+")"}:{}}),window.locale[e.props.login.locale].APP_scan_login):null,l="1"==a.isDingDing?te.a.createElement("span",{className:ne()(pe.a.qr_type,n({},pe.a.active,13==t),pe.a.qr_app_type),onClick:function(){e.setState({loginType:13},function(){e.queryDdCode(),e.handleDdCode()})}},te.a.createElement("span",{className:ne()(pe.a.icon_dingding,pe.a.type_icon)}),window.locale[e.props.login.locale].Dd_scan_login):null,s=[];s=window.tip.isAppBtnFirst?[r,i,l]:[i,r,l];var c=window.tip.appWidth?window.tip.appWidth+8:14*(window.locale[e.props.login.locale].APP_scan_login.length-5)+108,u=window.locale[e.props.login.locale].WeChat_scan_login?14*window.locale[e.props.login.locale].WeChat_scan_login.length+52:0,d=window.locale[e.props.login.locale].Dd_scan_login?14*window.locale[e.props.login.locale].Dd_scan_login.length+52:0;"1"!=a.isDingDing&&(d=0),"1"!=a.isWeChat&&(u=0),"1"!=a.isApp&&(c=0);var p=c+u+d;return te.a.createElement("div",{className:pe.a.qr_type_box,style:{width:p}},te.a.createElement("span",{style:{background:"#F1F2F5",borderRadius:"25px",padding:"4px 0",height:"50px",display:"flex"}},s.map(function(e){return e})))},this.ukeyLoginRundown=function(t){var n=a.i(fe.a)().certId;re.a.get("/lyuapServer/UKey/getRandom").then(function(o){var i=o.data,r=i.meta,l=i.data;if(r&&r.success){var s=e.props.login.loginData,c=a(5),u=window.location.search;u=u.substring(u.indexOf("?")+1);var d=c.parse(u),p=s.defaultLoginUrl;p=d&&d.service?d.service:s.defaultLoginUrl;var m={account:t,random:l,signValue:window.SOF_SignData(n,l),cret:window.SOF_ExportUserCert(a.i(fe.a)().certId),service:p};a.i(me.b)("/lyuapServer/UKey/login",m).then(function(t){var n=t.meta;if(n&&!n.success)return e.setState({ukeyVisible:!1}),void g.a.error("ç»å½å¤±è´¥ï¼");console.log(t);var o={type:1,service:p,tgt:t.tgt};window.tip.isChangeHttps&&(o.service=p.indexOf("https")>-1?p:p.replace("http","https")),localStorage.setItem("TGC",JSON.stringify(o)),a.i(ce.b)("loginType",1,.5),a.i(ce.b)("session","1",.5),a.i(ce.b)("CASTGC",o.tgt);var i=void 0;i=p.indexOf("?")>-1?p:decodeURIComponent(p),p.indexOf("shiro-cas?loginService")>0&&(i=p.substring(0,p.indexOf("?"))),i.indexOf("?")<0&&i.indexOf("&")<0?i+="?":i+="&";var r=i+"ticket="+t.tgt;if(p.indexOf("shiro-cas?loginService")>0){var l=p.substring(p.indexOf("loginService=")+13);r+="&service="+l}setTimeout(function(){window.location=r},500)})}})},this.handleCheckIsNeedUkey=function(t){if(e.state.is_ukeyLogin){console.log(t.target.value);var n=t.target.value.trim();re.a.get("/lyuapServer/UKey/auth?uKeyAccount="+n,{headers:{uKeyAccount:n}}).then(function(t){var o=t.data,i=o.meta,r=o.data;if(i&&i.success&&"true"==r){if(!a.i(fe.a)().certId)return void g.a.error("请æå
¥ç®¡çåçUKeyæ°åè¯ä¹¦ï¼åè¿è¡UKeyéªè¯ç»å½ï¼");e.setState({ukeyVisible:!0},function(){e.ukeyLoginRundown(n)})}})}}},s=u))||s,je=$.a.create()(Ke);t.a=je},609:function(e,t,a){"use strict";function n(e,t,a){return t in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a,e}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function r(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}
1var l,s,c=a(22),u=(a.n(c),a(21)),d=a.n(u),p=a(41),m=(a.n(p),a(40)),g=a.n(m),h=a(37),f=(a.n(h),a(36)),_=a.n(f),w=a(1),y=a.n(w),b=a(12),v=(a(57),a(1150)),E=a.n(v),C=a(32),T=a(3),x=a.n(T),S=a(1463),k=a.n(S),O=a(1464),A=a.n(O),D=a(23),Q=a(29),N=a.n(Q),I=a(16),L=function(){function e(e,t){for(var a=0;a<t.length;a++){var n=t[a];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}return function(t,a,n){return a&&e(t.prototype,a),n&&e(t,n),t}}(),M=(l=a.i(b.b)(function(e){return{dispatch:e.dispatch,login:e.login}}))(s=function(e){function t(e){o(this,t);var n=i(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return n.clickUser=function(e){e.userId&&n.setState({activeKey:e.userId,user:e})},n.clickConfirm=function(){var e=n.props.login.casdata,t=n.state.user;if(t){var o=a(5);N.a.post(I.a.CAS+"/login/updateDefaultAccount",o.stringify({userId:t.userId})).then(function(o){var i=o.data.meta;i.success?n.props.dispatch(a.i(D.c)(t.userId,t.passWord,e.service,15,n.props.history,e.rememberMe,e.change)):_.a.error({title:window.locale[n.props.login.locale].user_account_select,content:i.message})})}else _.a.error({title:window.locale[n.props.login.locale].user_account_select,content:window.locale[n.props.login.locale].user_account_select_one})},n.state={windowW:a.i(C.c)().windowW,accountList:[],activeKey:"1",user:""},n}return r(t,e),L(t,[{key:"componentWillMount",value:function(){var e=this.props.login.casdata,t=e.content.users;this.setState({accountList:t})}},{key:"render",value:function(){var e=this,t=this.state,a=t.windowW,o=t.accountList,i=t.activeKey,r=a<=980;return y.a.createElement("div",{className:x()(E.a.login_user_select,n({},E.a.mobile,r))},r?null:y.a.createElement(g.a,{className:E.a.page_top}),y.a.createElement("div",{className:E.a.container},y.a.createElement("div",{className:E.a.content},r?y.a.createElement("div",{className:E.a.page_m_top}):null,y.a.createElement("div",{className:E.a.main},y.a.createElement("div",{className:E.a.tip},y.a.createElement("p",null,window.locale[this.props.login.locale].user_account_select_tip_1,y.a.createElement("span",{style:{color:"red"}},window.locale[this.props.login.locale].user_account_select_tip_2),window.locale[this.props.login.locale].user_account_select_tip_3),y.a.createElement("b",null,window.locale[this.props.login.locale].user_account_select_tip_4,y.a.createElement("span",{style:{color:"red"}},window.locale[this.props.login.locale].user_account_select_tip_5),window.locale[this.props.login.locale].user_account_select_tip_6)),y.a.createElement("div",{className:E.a.box},y.a.createElement("div",{className:E.a.userCardWarp,style:{justifyContent:r?"left":"center"}},o&&o.length>0?o.map(function(t,a){return y.a.createElement("div",{className:x()(E.a.userCard,n({},E.a.active,i==t.userId)),onClick:function(){return e.clickUser(t)},style:{width:r?"120px":"130px"}},y.a.createElement("div",{className:E.a.userImg},y.a.createElement("img",{src:t.userFace?t.userFace:"1"==t.sex?k.a:A.a,style:{width:"100%"}})),y.a.createElement("div",{className:E.a.userCode},window.locale[e.props.login.locale].user_account_select_tip_7,t.userId),y.a.createElement("div",{className:E.a.userCode},"å§åï¼",t.userName),y.a.createElement("div",{className:E.a.userRole},window.locale[e.props.login.locale].user_account_select_tip_8,t.userType))}):null),y.a.createElement("div",{className:E.a.confirmBtn},y.a.createElement(d.a,{onClick:this.clickConfirm,type:"primary"},window.locale[this.props.login.locale].confirm))),r?null:y.a.createElement("div",{className:E.a.footer})))),r?y.a.createElement("div",{className:E.a.footer}):null)}}]),t}(w.Component))||s;t.a=M},610:function(e,t,a){"use strict";function n(e,t,a){return t in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a,e}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function r(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var l,s,c=a(41),u=(a.n(c),a(40)),d=a.n(u),p=a(48),m=(a.n(p),a(47)),g=a.n(m),h=a(318),f=(a.n(h),a(215)
1),_=a.n(f),w=a(37),y=(a.n(w),a(36)),b=a.n(y),v=a(22),E=(a.n(v),a(21)),C=a.n(E),T=a(45),x=(a.n(T),a(44)),S=a.n(x),k=a(56),O=(a.n(k),a(10)),A=a.n(O),D=a(53),Q=(a.n(D),a(52)),N=a.n(Q),I=a(28),L=(a.n(I),a(27)),M=a.n(L),P=a(1),W=a.n(P),q=a(3),U=a.n(q),R=a(1151),B=a.n(R),F=a(25),K=a(16),j=a(31),z=a(12),X=a(29),H=a.n(X),V=function(){function e(e,t){for(var a=0;a<t.length;a++){var n=t[a];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}return function(t,a,n){return a&&e(t.prototype,a),n&&e(t,n),t}}(),G=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var a=arguments[t];for(var n in a)Object.prototype.hasOwnProperty.call(a,n)&&(e[n]=a[n])}return e},J=function(){function e(e,t){var a=[],n=!0,o=!1,i=void 0;try{for(var r,l=e[Symbol.iterator]();!(n=(r=l.next()).done)&&(a.push(r.value),!t||a.length!==t);n=!0);}catch(e){o=!0,i=e}finally{try{!n&&l.return&&l.return()}finally{if(o)throw i}}return a}return function(t,a){if(Array.isArray(t))return t;if(Symbol.iterator in Object(t))return e(t,a);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),Y=M.a.Item,Z=function(e){var t=e.casUserId,n=e.id,o=e.login,i=e.encodePass,r=e.form,l=r.getFieldDecorator,s=r.validateFieldsAndScroll,c=a.i(P.useState)(!1),u=J(c,2),d=u[0],p=u[1],m=a.i(P.useState)({passMinLen:"",passMaxLen:"",passNum:"",passLetter:"",passLowerLetter:"",passUpperLetter:"",passSpecial:""}),g=J(m,2),h=g[0],f=g[1],_=function(){s(function(e,a){if(!e){var o=a.password;if(o!==a.password_confirm)return N.a.error("请è¾å
¥ä¸¤æ¬¡ç¸åçå¯ç ï¼");var r=i(o),l={casUserId:t,id:n,password:r};H.a.post(K.a.CAS+"/weChat/wxConfirm",l).then(function(e){var t=e.data,a=t.meta;t.data;if(!a.success)return N.a.error(a.message);p(!0)})}})};return a.i(P.useEffect)(function(){a.i(F.a)(K.a.CAS+"/login/pwStrategy").then(function(e){var t=e.meta,a=e.data;if(!t.success)return N.a.error(t.message||"è·åå¯ç çç¥å¤±è´¥ï¼");
1f(G({},a))})},[]),W.a.createElement("div",{className:B.a.wx_login},d?W.a.createElement("div",null,W.a.createElement(A.a,{type:"check-circle",theme:"filled",style:{color:"#00c574",fontSize:"100px",marginBottom:"15px"}}),W.a.createElement("p",{style:{fontSize:"18px"}},window.locale[o.locale].change_password_success)):W.a.createElement(W.a.Fragment,null,W.a.createElement("div",{className:B.a.img_box},W.a.createElement("img",{src:a(297)})),W.a.createElement("div",{className:B.a.passtip},W.a.createElement("p",null,window.locale[o.locale].first_login_tip1),W.a.createElement("b",null,window.locale[o.locale].first_login_tip2,h.passMinLen,"-",h.passMaxLen,window.locale[o.locale].first_login_tip3,h.passNum,window.locale[o.locale].first_login_tipUpper,h.passUpperLetter,window.locale[o.locale].first_login_tipLower,h.passLowerLetter,window.locale[o.locale].first_login_tip5,h.passSpecial,window.locale[o.locale].first_login_tip6)),W.a.createElement("div",{className:B.a.form_box},W.a.createElement(M.a,null,W.a.createElement(Y,null,l("password",{rules:[{required:!0,message:window.locale[o.locale].pass_not_empty}]})(W.a.createElement(S.a.Password,{size:"large",allowClear:!0,placeholder:window.locale.passwordChange?window.locale.passwordChange:"请设置å¯ç "}))),W.a.createElement(Y,null,l("password_confirm",{rules:[{required:!0,message:window.locale[o.locale].pass_confirm_not_empty}]})(W.a.createElement(S.a.Password,{size:"large",allowClear:!0,placeholder:window.locale.passwordConfirm?window.locale.passwordConfirm:"è¯·åæ¬¡è¾å
¥å¯ç "}))),W.a.createElement(Y,null,W.a.createElement(C.a,{size:"large",className:B.a.submit,onClick:_},window.locale[o.locale].confirm))))))},$=M.a.create({name:"passwordForm"})(Z),ee=(l=a.i(z.b)(function(e){return{dispatch:e.dispatch,login:e.login}}))(s=function(e){function t(e){o(this,t);var n=i(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return n.onChangeType=function(e){n.setState({firstType:e.target.value})},n.onSendCode=function(){n.state.sending||n.props.form.validateFields(["mobile"],{force:!0},function(e,t){if(!e){n.setState({sending:!0});var o=(new Date).getTime(),i=n.encodePass(K.a.TAG+o),r=n.props.login.loginData.smsSendTime;r=60*parseInt(r),n.setState({count:r}),n.timer=setInterval(function(){n.setState({count:r--},function(){0===n.state.count&&(clearInterval(n.timer),n.timer=null,n.setState({sending:!1}))})},1e3);var l={mobile:t.mobile};a.i(F.b)(K.a.CAS+"/weChat/bindWXCodePhone",l).then(function(e){var a=e.meta,o=e.data;a.success?o&&H.a.post(K.a.CAS+"/login/mobile/generateCode",{mobile:t.mobile,username:t.mobile,module:"0"},{headers:{token:i}}).then(function(e){var t=e.data,a=t.meta;t.data;a.success?b.a.success({title:window.locale[n.props.login.locale].warn,content:window.locale[n.props.login.locale].send_sms_code_success}):(n.timer&&(clearInterval(n.timer),n.timer=null),n.setState({sending:!1}),b.a.error({title:window.locale[n.props.login.locale].warn,content:a.message}))}):(b.a.error({title:window.locale[n.props.login.locale].WeChat_bind,content:a.message}),n.setState({sending:!1}))})}})},n.encodePass=function(e){a.i(j.a)(131);var t=a.i(j.b)(K.a.public_exponent,"",K.a.modulus);return a.i(j.c)(t,e)},n.cancel=function(){WeixinJSBridge.call("closeWindow")},n.onBind=function(){n.setState({loading:!0});var e=n.state.wxLoginData;n.props.form.validateFieldsAndScroll(function(t,o){if(t)n.setState({loading:!1});else{var i={},r="";if("1"==n.state.firstType){var l=n.encodePass(o.password);i={id:e.id,userId:e.name,username:o.name,password:l},r="/weChat/bindWX"}else i={id:e.id,userId:e.name,mobile:o.mobile,code:o.smsCode},r="/weChat/bindWXCode";a.i(F.b)(K.a.CAS+r,i).then(function(e){var t=e.meta,a=e.data;t.success?(a&&n.setState({bindS:!0,loading:!1}),setTimeout(function(){WeixinJSBridge.call("closeWindow")},1500)):(b.a.error({title:window.locale[n.props.login.locale].WeChat_bind,content:t.message}),n.setState({loading:!1}))})}})},n.onLogin=function(){n.setState({loading:!0});var e=n.state.wxLoginData;if(2!=e.type&&5!=e.type){var t={id:e.id,userName:e.name,type:e.type};a.i(F.b)(K.a.CAS+"/weChat/wxConfirm",t).then(function(e){var t=e.meta,a=e.data;t.success&&(a&&n.setState({bindS:!0,loading:!1}),setTimeout(function(){WeixinJSBridge.call("closeWindow")},1500))})}else{var o={id:e.id,userName:e.name,state:e.vcodes,type:e.type};a.i(F.b)(K.a.CAS+"/weChat/wxConfirm",o).then(function(e){var t=e.meta,a=e.data;t.success&&(a&&n.setState({bindS:!0,loading:!1}),setTimeout(function(){WeixinJSBridge.call("closeWindow")},1500))})}},n.onVerifyLogin=function(e){n.setState({loading:!0});var t={id:n.state.uuid,casUserId:n.state.twoVerify.casUserId};a.i(F.b)(K.a.CAS+"/weChat/wxConfirm",t).then(function(e){var t=e.meta,a=e.data;t.success&&(a&&n.setState({bindS:!0,loading:!1}),setTimeout(function(){WeixinJSBridge.call("closeWindow")},1500))})},n.state={setp1:"block",setp2:"none",qrShow:"none",loadShow:"block",isShow_WxChangePassword:!1,casUserId:"",qr:"assets/images/wx/qr.png",showType:2,bindS:!1,loading:!1,type:0,firstType:"1",isWeChatCode:"0",sending:!1,wxLoginData:{id:"",name:"",type:"0",vcodes:"",isWeChatCode:"0"},isCompany:!0},n}
1return r(t,e),V(t,[{key:"componentWillReceiveProps",value:function(e){document.getElementsByTagName("title")[0].innerText=e.login.loginData.casTitle?e.login.loginData.casTitle:window.locale[this.props.login.locale].login_pageInfo_4}},{key:"componentDidMount",value:function(){var e=this,t="";this.props.login.loginData.attachments&&this.props.login.loginData.attachments.map(function(a){"ly-iap-attachment_weChat_concern"==a.sourceId&&(t=a.source,e.setState({qr:t}))});var n=a(5),o=window.location.search;o=o.substring(o.indexOf("?")+1);var i=n.parse(o),r="",l="";if(i.code&&i.state){r=i.code,l=i.state;var s={code:r,state:l};this.setState({uuid:l}),a.i(F.b)(K.a.CAS+"/weChat/wx/login",s).then(function(t){var a=t.meta,n=t.data;if(e.setState({wxData:n}),a.success){if(n){if("twoVerify"==n.type&&e.setState({twoVerify:n}),n.selfBind&&"0"==n.selfBind&&N.a.error(window.locale[e.props.login.locale].self_bind_tip),"-1"==n.userName)return void e.setState({qrShow:"block",loadShow:"none"});2==n.wechatType&&e.setState({isCompany:!1});var o={id:l,name:n.userName,type:n.type,vcodes:n.vcodes,isWeChatCode:n.isWeChatCode};"wxRedirectChangePass"==n.type?e.setState({setp1:"none",setp2:"none",loadShow:"none",isShow_WxChangePassword:!0,casUserId:n.casUserId,type:n.type,id:o.id}):e.setState({wxLoginData:o,setp1:"none",setp2:"block",type:n.type,isWeChatCode:n.isWeChatCode,firstType:"0"==n.isWeChatCode?"1":"2"})}}else N.a.error(a.message)})}else N.a.error(window.locale[this.props.login.locale].auth_fail)}},{key:"render",value:function(){var e=this.state,t=e.showType,o=e.qrShow,i=(e.loadShow,e.type),r=e.bindS,l=e.loading,s=e.setp1,c=e.setp2,u=(e.qr,e.isWeChatCode),p=e.firstType,m=e.sending,h=e.count,f=e.isCompany,w=e.casUserId,y=e.id,b=e.isShow_WxChangePassword,v=e.twoVerify,E=this.props.form.getFieldDecorator,T={labelCol:{span:8},wrapperCol:{span:16}};return W.a.createElement("div",null,W.a.createElement("div",{className:B.a.wx_loading,style:{display:s}},W.a.createElement("div",{className:B.a.box,style:{display:"none"}},W.a.createElement("img",{src:a(1479)}),W.a.createElement("div",{className:B.a.tip},window.locale[this.props.login.locale].loading_wait)),W.a.createElement("div",{className:B.a.box,style:{display:o}},W.a.createElement("div",{className:B.a.img_box},W.a.createElement("img",{src:this.state.qr})),W.a.createElement("div",{className:B.a.tip},1==t?window.locale[this.props.login.locale].Qr_code_invalid_scan:f?window.locale[this.props.login.locale].WeChat_scan_tip1:window.locale[this.props.login.locale].WeChat_scan_tip1_))),W.a.createElement("div",{className:B.a.wx_login,style:{display:c}},W.a.createElement("div",{className:B.a.img_box},W.a.createElement("img",{src:a(297)})),W.a.createElement("div",{className:U()(B.a.binds,n({},B.a.show,r))},W.a.createElement(A.a,{type:"check-circle",style:{color:"#03c510",marginRight:10}}),"0"==i||"3"==i?window.locale[this.props.login.locale].binding_success:window.locale[this.props.login.locale].login_success),W.a.createElement("div",{className:B.a.form_box},v?W.a.createElement("div",null,W.a.createElement(Y,null,W.a.createElement(C.a,{size:"large",loading:l,className:B.a.submit,onClick:this.onVerifyLogin},window.locale[this.props.login.locale].confirm_login)),W.a.createElement(Y,null,W.a.createElement(C.a,{size:"large",className:B.a.cancel,onClick:this.cancel},window.locale[this.props.login.locale].cancel_login))):null,"0"==i?"1"==p?W.a.createElement(M.a,null,W.a.createElement(Y,null,E("name",{rules:[{required:!0,message:window.locale[this.props.login.locale].login_name_not_empty}]})(W.a.createElement(S.a,{size:"large",placeholder:window.locale.inputInfo?window.locale.inputInfo:"",prefix:W.a.createElement(A.a,{type:"user",style:{color:"rgba(0,0,0,.25)"}})}))),W.a.createElement(Y,null,E("password",{rules:[{required:!0,message:window.locale[this.props.login.locale].pass_not_empty}]})(W.a.createElement(S.a,{size:"large",type:"password",placeholder:window.locale.passwordInfo?window.locale.passwordInfo:"",prefix:W.a.createElement(A.a,{type:"lock",style:{color:"rgba(0,0,0,.25)"}})}))),"1"==u?W.a.createElement(Y,null,W.a.createElement(_.a.Group,{defaultValue:p,buttonStyle:"solid",onChange:this.onChangeType},W.a.createElement(_.a.Button,{value:"1"},window.locale[this.props.login.locale].account_pass),W.a.createElement(_.a.Button,{value:"2"},window.locale[this.props.login.locale].phone_code))):null,W.a.createElement(Y,null,W.a.createElement(C.a,{size:"large",loading:l,className:B.a.submit,onClick:this.onBind},window.locale[this.props.login.locale].confirm_login)),W.a.createElement(Y,null,W.a.createElement(C.a,{size:"large",className:B.a.cancel,onClick:this.cancel},window.locale[this.props.login.locale].cancel_login))):W.a.createElement(M.a,null,W.a.createElement(Y,G({},T,{label:window.locale[this.props.login.locale].phone}),E("mobile",{rules:[{required:!0,message:window.locale[this.props.login.locale].enter_phone},{pattern:/^1[3457896]([0-9]{9})$/,message:window.locale[this.props.login.locale].phone_format_error}]})(W.a.createElement(S.a,null))),W.a.createElement(Y,G({},T,{label:window.locale[this.props.login.locale].security_code}),W.a.createElement(d.a,null,W.a.createElement(g.a,{span:14},E("smsCode",{rules:[{required:!0,message:window.locale[this.props.login.locale].enter_security_code}]})(W.a.createElement(S.a,null))),W.a.createElement(g.a,{span:8,offset:2},W.a.createElement(C.a,{type:"primary",disabled:m,className:B.a.send,onClick:this.onSendCode},m?h:window.locale[this.props.login.locale].send_security_code)))),"1"==u?W.a.createElement(Y,null,W.a.createElement(_.a.Group,{defaultValue:p,buttonStyle:"solid",onChange:this.onChangeType},W.a.createElement(_.a.Button,{value:"1"},window.locale[this.props.login.locale].account_pass),W.a.createElement(_.a.Button,{value:"2"},window.locale[this.props.login.locale].phone_code))):null,W.a.createElement(Y,null,W.a.createElement(C.a,{size:"large",loading:l,className:B.a.submit,onClick:this.onBind},window.locale[this.props.login.locale].confirm_login)),W.a.createElement(Y,null,W.a.createElement(C.a,{size:"large",className:B.a.cancel,onClick:this.cancel},window.locale[this.props.login.locale].cancel_login))):null,"1"==i||"2"==i||"5"==i?W.a.createElement("div",null,W.a.createElement("div",{className:B.a.tip2}),W.a.createElement(M.a,null,W.a.createElement(Y,null,W.a.createElement(C.a,{size:"large",loading:l,className:B.a.submit,onClick:this.onLogin},"5"==i?window.locale[this.props.login.locale].confirm_unbinding:window.locale[this.props.login.locale].confirm_login)),W.a.createElement(Y,null,W.a.createElement(C.a,{size:"large",className:B.a.cancel,onClick:this.cancel},"5"==i?window.locale[this.props.login.locale].cancel_unbinding:window.locale[this.props.login.locale].cancel_login)))):null,"0"==i?W.a.createElement("div",{className:B.a.tip},1==p?window.locale[this.props.login.locale].WeChat_scan_tip2:"馿¬¡ç»å½è¯·éªè¯ææºå·è¿è¡ç»å®"):null,"3"==i?W.a.createElement("div",null,W.a.createElement("div",{className:B.a.tip2},window.locale[this.props.login.locale].is_binding_account),W.a.createElement(M.a,null,W.a.createElement(Y,null,W.a.createElement(C.a,{size:"large",loading:l,className:B.a.submit,onClick:this.onLogin},window.locale[this.props.login.locale].confirm_binding)),W.a.createElement(Y,null,W.a.createElement(C.a,{size:"large",className:B.a.cancel,onClick:this.cancel},window.locale[this.props.login.locale].cancel_binding)))):null,"4"==i?W.a.createElement("div",null,W.a.createElement("div",{className:B.a.tip2},window.locale[this.props.login.locale].WeChat_scan_tip3),W.a.createElement(M.a,null,W.a.createElement(Y,null,W.a.createElement(C.a,{size:"large",className:B.a.cancel,onClick:this.cancel},window.locale[this.props.login.locale].confirm)))):null)),b&&W.a.createElement($,{login:this.props.login,id:y,casUserId:w,encodePass:this.encodePass}))}}]),t}(W.a.Component))||s,te=M.a.create({name:"MainForm"})(ee);t.a=te},611:function(e,t,a){"use strict";function n(e,t,a){return t in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a,e}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function r(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}
1var l,s,c=a(22),u=(a.n(c),a(21)),d=a.n(u),p=a(45),m=(a.n(p),a(44)),g=a.n(m),h=a(56),f=(a.n(h),a(10)),_=a.n(f),w=a(37),y=(a.n(w),a(36)),b=a.n(y),v=a(53),E=(a.n(v),a(52)),C=a.n(E),T=a(28),x=(a.n(T),a(27)),S=a.n(x),k=a(1),O=a.n(k),A=a(3),D=a.n(A),Q=a(25),N=a(31),I=a(12),L=a(1152),M=a.n(L),P=a(16),W=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var a=arguments[t];for(var n in a)Object.prototype.hasOwnProperty.call(a,n)&&(e[n]=a[n])}return e},q=function(){function e(e,t){for(var a=0;a<t.length;a++){var n=t[a];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}return function(t,a,n){return a&&e(t.prototype,a),n&&e(t,n),t}}(),U=S.a.Item,R=(l=a.i(I.b)(function(e){return{dispatch:e.dispatch,login:e.login}}))(s=function(e){function t(e){o(this,t);var n=i(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return n.validateIp=function(){a.i(Q.b)(P.a.CAS+"/validateIp").then(function(e){var t=e.meta,a=e.data;t.success?a||n.props.history.push("/loginError"):C.a.error(t.message)})},n.encodePass=function(e){a.i(N.a)(131);var t=a.i(N.b)(P.a.public_exponent,"",P.a.modulus);return a.i(N.c)(t,e)},n.onBind=function(){n.setState({loading:!0});var e=n.state.wxLoginData;n.props.form.validateFieldsAndScroll(function(t,o){if(!t){var i=n.encodePass(o.password),r={id:e.id,userId:e.name,username:o.name,password:i};a.i(Q.b)(P.a.CAS+"/weChat/bindWX",r).then(function(e){var t=e.meta,a=e.data;t.success?(a&&n.setState({bindS:!0,loading:!1}),setTimeout(function(){WeixinJSBridge.call("closeWindow")},1500)):(b.a.error({title:"微信ç»å®",content:t.message}),n.setState({loading:!1}))})}})},n.onLogin=function(){n.setState({loading:!0});var e=n.state.wxLoginData,t={id:e.id,userName:e.name};a.i(Q.b)(P.a.CAS+"/weChat/wxConfirm",t).then(function(e){var t=e.meta,a=e.data;t.success&&(a&&n.setState({bindS:!0,loading:!1}),setTimeout(function(){WeixinJSBridge.call("closeWindow")},1500))})},n.state={type:"0",bindS:!1,loading:!1,wxLoginData:{}},n}return r(t,e),q(t,[{key:"componentWillReceiveProps",value:function(e){document.getElementsByTagName("title")[0].innerText=e.login.loginData.casTitle?e.login.loginData.casTitle:"ç»ä¸èº«ä»½è®¤è¯å¹³å°-认è¯ä¸å¿"}},{key:"componentWillUpdate",value:function(e,t){}},{key:"componentWillMount",value:function(){var e=a(5),t=window.location.search;t=t.substring(t.indexOf("?")+1);var n=e.parse(t);n.id&&this.setState({wxLoginData:W({},n),type:n.type})}},{key:"render",value:function(){var e=this.state,t=e.type,o=e.bindS,i=e.loading,r=this.props.form.getFieldDecorator;return O.a.createElement("div",{className:M.a.wx_login},O.a.createElement("div",{className:M.a.img_box},O.a.createElement("img",{src:a(297)})),O.a.createElement("div",{className:D()(M.a.binds,n({},M.a.show,o))},O.a.createElement(_.a,{type:"check-circle",style:{color:"#03c510",marginRight:10}}),"0"==t?"ç»å®æå":"ç»å½æå"),O.a.createElement("div",{className:M.a.form_box},"0"==t?O.a.createElement(S.a,null,O.a.createElement(U,null,r("name",{rules:[{required:!0,message:"ç»å½åä¸è½ä¸ºç©º"}]})(O.a.createElement(O.a.Fragment,null,O.a.createElement(g.a,{size:"large",placeholder:"请è¾å
¥è®¤è¯å¹³å°å¸å·",prefix:O.a.createElement(_.a,{type:"user",style:{color:"rgba(0,0,0,.25)"}})})))),O.a.createElement(U,null,r("password",{rules:[{required:!0,message:"å¯ç ä¸è½ä¸ºç©º"}]})(O.a.createElement(O.a.Fragment,null,O.a.createElement(g.a,{size:"large",placeholder:"é»è®¤å¯ç 身份è¯åå
ä½",type:"password",prefix:O.a.createElement(_.a,{type:"lock",style:{color:"rgba(0,0,0,.25)"}})})))),O.a.createElement(U,null,O.a.createElement(d.a,{size:"large",loading:i,className:M.a.submit,onClick:this.onBind},"确认ç»å½")),O.a.createElement(U,null,O.a.createElement(d.a,{size:"large",className:M.a.cancel},"åæ¶ç»å½"))):null,"1"==t?O.a.createElement("div",null,O.a.createElement("div",{className:M.a.tip2},"æ£æµå°æ¨å·²ç»ç»å½è¿è´¦å·"),O.a.createElement(S.a,null,O.a.createElement(U,null,O.a.createElement(d.a,{size:"large",loading:i,className:M.a.submit,onClick:this.onLogin},"确认ç»å½")),O.a.createElement(U,null,O.a.createElement(d.a,{size:"large",className:M.a.cancel},"åæ¶ç»å½")))):null,"0"==t?O.a.createElement("div",{className:M.a.tip},"馿¬¡ç»å½è¯·è¾å
¥è®¤è¯å¹³å°çè´¦å·åå¯ç è¿è¡ç»å®"):null))}}]),t}(O.a.Component))||s,B=S.a.create()(R);t.a=B},612:function(e,t,a){"use strict";function n(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}a.d(t,"a",function(){return f});var r,l,s=a(1),c=a.n(s),u=a(1153),d=a.n(u),p=a(12),m=a(25),g=a(16),h=function(){function e(e,t){for(var a=0;a<t.length;a++){var n=t[a];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}return function(t,a,n){return a&&e(t.prototype,a),n&&e(t,n),t}}(),f=(r=a.i(p.b)(function(e){return{dispatch:e.dispatch,login:e.login}}))(l=function(e){function t(e){n(this,t);var i=o(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return i.validateIp=function(){a.i(m.b)(g.a.CAS+"/validateIp").then(function(e){var t=e.meta,a=e.data;t.success?a||i.props.history.push("/loginError"):message.error(t.message)})},i.state={loading:!1,type:2},i}
1return i(t,e),h(t,[{key:"componentWillReceiveProps",value:function(e){document.getElementsByTagName("title")[0].innerText=e.login.loginData.casTitle?e.login.loginData.casTitle:"ç»ä¸èº«ä»½è®¤è¯å¹³å°-认è¯ä¸å¿"}},{key:"componentWillUpdate",value:function(e,t){}},{key:"componentWillMount",value:function(){}},{key:"render",value:function(){var e=this.state.type;return c.a.createElement("div",{className:d.a.wx_loading},c.a.createElement("div",{className:d.a.box},c.a.createElement("div",{className:d.a.img_box},c.a.createElement("img",{src:a(1480)})),c.a.createElement("div",{className:d.a.tip},1==e?"æ¤äºç»´ç å·²è¿æï¼è¯·éæ°æ«æ":"æ¨å°æªå
³æ³¨å¾®ä¿¡ä¼ä¸å·ï¼è¯·é¿æä¸å¾äºç»´ç è¿è¡å
³æ³¨")))}}]),t}(c.a.Component))||l},613:function(e,t,a){"use strict";a.d(t,"b",function(){return n}),a.d(t,"c",function(){return o}),a.d(t,"a",function(){return i});var n="FETCH_ERROR",o="CLEAR_ERROR",i="FETCH_START"},614:function(e,t,a){"use strict";a.d(t,"b",function(){return n}),a.d(t,"a",function(){return o}),a.d(t,"c",function(){return i});var n="SET_TRANSITION",o="SET_HASH_URL",i="SET_JUMP_MODE"},615:function(e,t,a){"use strict";var n=a(331),o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var a=arguments[t];for(var n in a)Object.prototype.hasOwnProperty.call(a,n)&&(e[n]=a[n])}return e},i={clientWidth:document.documentElement.clientWidth,clientHeight:document.documentElement.clientHeight},r=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:i,t=arguments[1];switch(t.type){case n.b:return o({},e,{clientHeight:t.data.clientHeight,clientWidth:t.data.clientWidth});case n.c:return o({},e,{href:t.data.href});case n.d:return o({},e,{href:null});case n.e:return o({},e,{ids:t.data.ids});case n.f:return o({},e,{ids:null});default:return e}};t.a=r},616:function(e,t,a){"use strict";var n=a(613),o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var a=arguments[t];for(var n in a)Object.prototype.hasOwnProperty.call(a,n)&&(e[n]=a[n])}return e},i=sessionStorage.getItem("store")?JSON.parse(sessionStorage.getItem("store")).fetchError:{error:null,fetched:null},r=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:i,t=arguments[1];switch(t.type){case n.a:return o({},e,{fetched:"start"});case n.b:return o({},e,{error:t.data,fetched:"failed"});case n.c:return o({},e,{error:null});default:return e}};t.a=r},617:function(e,t,a){"use strict";var n=a(614),o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var a=arguments[t];for(var n in a)Object.prototype.hasOwnProperty.call(a,n)&&(e[n]=a[n])}return e},i=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{oldUrl:"/",currentUrl:"/",transition:"none"},t=arguments[1];switch(t.type){case n.a:case n.b:case n.c:return o({},e,t.data);default:return e}};t.a=i},618:function(e,t,a){"use strict";var n=a(201),o=a(453),i=(a.n(o),a(617)),r=a(619),l=a(616),s=a(615),c=a.i(n.combineReducers)({routing:o.routerReducer,hashUrl:i.a,login:r.a,fetchError:l.a,commonData:s.a});t.a=c},619:function(e,t,a){"use strict";var n=a(23),o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var a=arguments[t];for(var n in a)Object.prototype.hasOwnProperty.call(a,n)&&(e[n]=a[n])}return e},i=sessionStorage.getItem("userLogin")?{data:JSON.parse(sessionStorage.getItem("userLogin")),submitnote:"none",submitpending:"none",submitting:"block"}:{data:null,submitnote:"none",submitpending:"none",submitting:"block",casdata:""},r=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:i,t=arguments[1];switch(t.type){case n.g:return o({},e,{loading:!1,data:t.data});case n.h:return o({},e,{loading:!1,data:null});case n.i:return o({},e,{loginData:t.data});case n.d:return o({},e,{casdata:t.data});case n.j:return o({},e,{casdata:null});case n.k:case n.l:return o({},e,{locale:t.data});case n.m:return o({},e,{submitnote:t.data.submitnote,submitting:t.data.submitting,submitpending:t.data.submitpending});default:return e}};t.a=r},620:function(e,t,a){"use strict";var n=a(201),o=a(1435),i=(a.n(o),a(1440)),r=a(1439),l=a.n(r),s=a(453),c=(a.n(s),a(273)),u=a.n(c),d=a(618),p=u()(),m=a.i(s.routerMiddleware)(p),g=(l()({collapsed:!0}),[i.a,m]),h=a.i(n.createStore)(d.a,a.i(o.composeWithDevTools)(n.applyMiddleware.apply(void 0,g)));t.a=h},86:function(e,t,a){e.exports=a.p+"assets/images/base_bg.jpg"},88:function(e,t,a){"use strict";function n(){var e,t=document.URL;t.substring(0,5),e="ws://127.0.0.1:4006/xxx";var a;a="undefined"!=typeof MozWebSocket?new MozWebSocket(e,"usbkey-protocol"):new WebSocket(e,"usbkey-protocol"),this.Socket_UK=a,this.FindPort=function(e){var t={FunName:"FindPort",start:e};this.Socket_UK.send(JSON.stringify(t))},this.FindPort_2=function(e,t,a){var n={FunName:"FindPort_2",start:e,in_data:t,verf_data:a};this.Socket_UK.send(JSON.stringify(n))},this.FindPort_3=function(e,t,a){var n={FunName:"FindPort_3",start:e,in_data:t,verf_data:a};this.Socket_UK.send(JSON.stringify(n))},this.GetVersion=function(e){var t={FunName:"GetVersion",Path:e};this.Socket_UK.send(JSON.stringify(t))},this.GetVersionEx=function(e){var t={FunName:"GetVersionEx",Path:e};this.Socket_UK.send(JSON.stringify(t))},this.GetID_1=function(e){var t={FunName:"GetID_1",Path:e};this.Socket_UK.send(JSON.stringify(t))},this.GetID_2=function(e){var t={FunName:"GetID_2",Path:e};this.Socket_UK.send(JSON.stringify(t))},this.sRead=function(e){var t={FunName:"sRead",Path:e};this.Socket_UK.send(JSON.stringify(t))},this.sWrite=function(e,t){var a={FunName:"sWrite",InData:e,Path:t};this.Socket_UK.send(JSON.stringify(a))},this.sWrite_2=function(e,t){var a={FunName:"sWrite_2",InData:e,Path:t};this.Socket_UK.send(JSON.stringify(a))},this.sWrite_2Ex=function(e,t){var a={FunName:"sWrite_2Ex",InData:e,Path:t};this.Socket_UK.send(JSON.stringify(a))},this.sWriteEx=function(e,t){var a={FunName:"sWriteEx",InData:e,Path:t};this.Socket_UK.send(JSON.stringify(a))},this.sWriteEx_New=function(e,t){var a={FunName:"sWriteEx_New",InData:e,Path:t};this.Socket_UK.send(JSON.stringify(a))},this.sWrite_2Ex_New=function(e,t){var a={FunName:"sWrite_2Ex_New",InData:e,Path:t};this.Socket_UK.send(JSON.stringify(a))},this.SetCal=function(e,t,a,n,o){var i={FunName:"SetCal",Hkey:e,Lkey:t,new_Hkey:a,new_Lkey:n,Path:o};this.Socket_UK.send(JSON.stringify(i))},this.SetBuf=function(e,t){var a={FunName:"SetBuf",InData:e,pos:t};this.Socket_UK.send(JSON.stringify(a))},this.GetBuf=function(e){var t={FunName:"GetBuf",pos:e};this.Socket_UK.send(JSON.stringify(t))},this.YRead=function(e,t,a,n){var o={FunName:"YRead",Address:e,HKey:t,LKey:a,Path:n};this.Socket_UK.send(JSON.stringify(o))},this.YWrite=function(e,t,a,n,o){var i={FunName:"YWrite",InData:e,Address:t,HKey:a,LKey:n,Path:o};this.Socket_UK.send(JSON.stringify(i))},this.YReadEx=function(e,t,a,n,o){var i={FunName:"YReadEx",Address:e,len:t,HKey:a,LKey:n,Path:o};this.Socket_UK.send(JSON.stringify(i))},this.YWriteEx=function(e,t,a,n,o){var i={FunName:"YWriteEx",Address:e,len:t,HKey:a,LKey:n,Path:o};this.Socket_UK.send(JSON.stringify(i))},this.YReadString=function(e,t,a,n,o){var i={FunName:"YReadString",Address:e,len:t,HKey:a,LKey:n,Path:o};this.Socket_UK.send(JSON.stringify(i))},this.YWriteString=function(e,t,a,n,o){var i={FunName:"YWriteString",InString:e,Address:t,HKey:a,LKey:n,Path:o};this.Socket_UK.send(JSON.stringify(i))},this.SetWritePassword=function(e,t,a,n,o){var i={FunName:"SetWritePassword",W_Hkey:e,W_Lkey:t,new_Hkey:a,new_Lkey:n,Path:o};this.Socket_UK.send(JSON.stringify(i))},this.SetReadPassword=function(e,t,a,n,o){var i={FunName:"SetReadPassword",W_Hkey:e,W_Lkey:t,new_Hkey:a,new_Lkey:n,Path:o};this.Socket_UK.send(JSON.stringify(i))},this.DecString=function(e,t){var a={FunName:"DecString",InString:e,Key:t};this.Socket_UK.send(JSON.stringify(a))},this.EncString=function(e,t){var a={FunName:"EncString",InString:e,Path:t};this.Socket_UK.send(JSON.stringify(a))},this.EncString_New=function(e,t){var a={FunName:"EncString_New",InString:e,Path:t};this.Socket_UK.send(JSON.stringify(a))},this.Cal=function(e){var t={FunName:"Cal",Path:e};this.Socket_UK.send(JSON.stringify(t))},this.Cal_New=function(e){var t={FunName:"Cal_New",Path:e};this.Socket_UK.send(JSON.stringify(t))},this.SetCal_2=function(e,t){var a={FunName:"SetCal_2",Key:e,Path:t};this.Socket_UK.send(JSON.stringify(a))},this.SetCal_New=function(e,t){var a={FunName:"SetCal_New",Key:e,Path:t};this.Socket_UK.send(JSON.stringify(a))},this.SetEncBuf=function(e,t){var a={FunName:"SetEncBuf",InData:e,pos:t};this.Socket_UK.send(JSON.stringify(a))},this.GetEncBuf=function(e){var t={FunName:"GetEncBuf",pos:e};this.Socket_UK.send(JSON.stringify(t))},this.ReSet=function(e){var t={FunName:"ReSet",Path:e};this.Socket_UK.send(JSON.stringify(t))},this.SetID=function(e,t){var a={FunName:"SetID",Seed:e,Path:t};this.Socket_UK.send(JSON.stringify(a))},this.GetProduceDate=function(e){var t={FunName:"GetProduceDate",Path:e};this.Socket_UK.send(JSON.stringify(t))},this.MacAddr=function(){var e={FunName:"MacAddr"};this.Socket_UK.send(JSON.stringify(e))},this.GetChipID=function(e){var t={FunName:"GetChipID",Path:e};this.Socket_UK.send(JSON.stringify(t))},this.StarGenKeyPair=function(e){var t={FunName:"StarGenKeyPair",Path:e};this.Socket_UK.send(JSON.stringify(t))},this.GenPubKeyY=function(){var e={FunName:"GenPubKeyY"};this.Socket_UK.send(JSON.stringify(e))},this.GenPubKeyX=function(){var e={FunName:"GenPubKeyX"};this.Socket_UK.send(JSON.stringify(e))}
1,this.GenPriKey=function(){var e={FunName:"GenPriKey"};this.Socket_UK.send(JSON.stringify(e))},this.GetPubKeyY=function(e){var t={FunName:"GetPubKeyY",Path:e};this.Socket_UK.send(JSON.stringify(t))},this.GetPubKeyX=function(e){var t={FunName:"GetPubKeyX",Path:e};this.Socket_UK.send(JSON.stringify(t))},this.GetSm2UserName=function(e){var t={FunName:"GetSm2UserName",Path:e};this.Socket_UK.send(JSON.stringify(t))},this.Set_SM2_KeyPair=function(e,t,a,n,o){var i={FunName:"Set_SM2_KeyPair",PriKey:e,PubKeyX:t,PubKeyY:a,sm2UserName:n,Path:o};this.Socket_UK.send(JSON.stringify(i))},this.YtSign=function(e,t,a){var n={FunName:"YtSign",SignMsg:e,Pin:t,Path:a};this.Socket_UK.send(JSON.stringify(n))},this.YtSign_2=function(e,t,a){var n={FunName:"YtSign_2",SignMsg:e,Pin:t,Path:a};this.Socket_UK.send(JSON.stringify(n))},this.YtVerfiy=function(e,t,a,n,o,i){var r={FunName:"YtVerfiy",id:e,SignMsg:t,PubKeyX:a,PubKeyY:n,VerfiySign:o,Path:i};this.Socket_UK.send(JSON.stringify(r))},this.SM2_DecString=function(e,t,a){var n={FunName:"SM2_DecString",InString:e,Pin:t,Path:a};this.Socket_UK.send(JSON.stringify(n))},this.SM2_EncString=function(e,t){var a={FunName:"SM2_EncString",InString:e,Path:t};this.Socket_UK.send(JSON.stringify(a))},this.YtSetPin=function(e,t,a){var n={FunName:"YtSetPin",OldPin:e,NewPin:t,Path:a};this.Socket_UK.send(JSON.stringify(n))},this.FindU=function(e){var t={FunName:"FindU",start:e};this.Socket_UK.send(JSON.stringify(t))},this.FindU_2=function(e,t,a){var n={FunName:"FindU_2",start:e,in_data:t,verf_data:a};this.Socket_UK.send(JSON.stringify(n))},this.FindU_3=function(e,t,a){var n={FunName:"FindU_3",start:e,in_data:t,verf_data:a};this.Socket_UK.send(JSON.stringify(n))},this.IsUReadOnly=function(e){var t={FunName:"IsUReadOnly",Path:e};this.Socket_UK.send(JSON.stringify(t))},this.SetUReadOnly=function(e){var t={FunName:"SetUReadOnly",Path:e};this.Socket_UK.send(JSON.stringify(t))},this.SetHidOnly=function(e,t){var a={FunName:"SetHidOnly",IsHidOnly:e,Path:t};this.Socket_UK.send(JSON.stringify(a))},this.ResetOrder=function(){var e={FunName:"ResetOrder"};this.Socket_UK.send(JSON.stringify(e))},this.ContinueOrder=function(){var e={FunName:"ContinueOrder"};this.Socket_UK.send(JSON.stringify(e))}}t.a=n}},[1482]);
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.