You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
19 lines
125 KiB
19 lines
125 KiB
var QCLogin=function(t){function e(n){if(i[n])return i[n].exports;var o=i[n]={exports:{},id:n,loaded:!1};return t[n].call(o.exports,o,o.exports,e),o.loaded=!0,o.exports}var i={};return e.m=t,e.c=i,e.p="//<%=CSS_DOMAIN%>/qcloud/main/scripts/",e(0)}({0:function(t,e,i){"use strict";t.exports=i("YIfu")},"+dHT":function(t,e,i){"use strict";var n=i("WPtr"),o=n.get("language")||"zh";"zh"!=o&&(o="en");var s="https://ssl.captcha.qq.com/TCaptcha.js",r=function(t){if(window.TencentCaptcha)return t();var e=document.createElement("script"),i=!1,n=function(e){var n=setInterval(function(){if(window.TencentCaptcha){if(clearInterval(n),i)return;i=!0,t(e)}},50)};e.addEventListener?e.addEventListener("load",function(){n()},!1):e.attachEvent&&e.attachEvent("onreadystatechange",function(){4!=e.readyState&&"complete"!=e.readyState&&"loaded"!=e.readyState||n()}),e.src=s,document.head.appendChild(e),setTimeout(function(){i||(i=!0,n({ret:9999}))},8e3)};t.exports={getAppid:function(){return location.host.indexOf("qcloud.com")>-1?"en"==o?"2067090065":"2042382584":location.host.indexOf("cloud.tencent.com")>-1?"en"==o?"2009899766":"2006043797":void 0},verify:function(t){var e=$.Deferred(),i=this.getAppid(),n={};"zh"!=o&&""!=o&&(n={needFeedBack:!1,forceLang:"en"});var s=function(t){if(t&&0==t.ret){var n={ticket:t.ticket,captchaAppId:i,randstr:t.randstr};e.resolve(n)}else e.reject(t)},a=function(){t?(n.type="embed",new TencentCaptcha(t,i,s,n).show()):new TencentCaptcha(i,s,n).show()};return window.TencentCaptcha?a(e):r(function(t){t?e.resolve(t):a(e)}),e.promise()}}},WPtr:function(t,e,i){var n,o;"function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t};!function(s){n=s,o="function"==typeof n?n.call(e,i,e,t):n,!(void 0!==o&&(t.exports=o))}(function(){function t(){for(var t=0,e={};t<arguments.length;t++){var i=arguments[t];for(var n in i)e[n]=i[n]}return e}function e(i){function n(e,o,s){var r;if("undefined"!=typeof document){if(arguments.length>1){if(s=t({path:"/"},n.defaults,s),"number"==typeof s.expires){var a=new Date;a.setMilliseconds(a.getMilliseconds()+864e5*s.expires),s.expires=a}try{r=JSON.stringify(o),/^[\{\[]/.test(r)&&(o=r)}catch(t){}return o=i.write?i.write(o,e):encodeURIComponent(String(o)).replace(/%(23|24|26|2B|3A|3C|3E|3D|2F|3F|40|5B|5D|5E|60|7B|7D|7C)/g,decodeURIComponent),e=encodeURIComponent(String(e)),e=e.replace(/%(23|24|26|2B|5E|60|7C)/g,decodeURIComponent),e=e.replace(/[\(\)]/g,escape),document.cookie=[e,"=",o,s.expires&&"; expires="+s.expires.toUTCString(),s.path&&"; path="+s.path,s.domain&&"; domain="+s.domain,s.secure?"; secure":""].join("")}e||(r={});for(var c=document.cookie?document.cookie.split("; "):[],h=/(%[0-9A-Z]{2})+/g,l=0;l<c.length;l++){var u=c[l].split("="),d=u.slice(1).join("=");'"'===d.charAt(0)&&(d=d.slice(1,-1));try{var p=u[0].replace(h,decodeURIComponent);if(d=i.read?i.read(d,p):i(d,p)||d.replace(h,decodeURIComponent),this.json)try{d=JSON.parse(d)}catch(t){}if(e===p){r=d;break}e||(r[p]=d)}catch(t){}}return r}}return n.set=n,n.get=function(t){return n(t)},n.getJSON=function(){return n.apply({json:!0},[].slice.call(arguments))},n.defaults={},n.remove=function(e,i){n(e,"",t(i,{expires:-1}))},n.withConverter=e,n}return e(function(){})})},"4G7m":function(t,e,i){"use strict";var n=i("M34W"),o=n.getRealHostname(),s=n.getQcmainHostname(),r=i("3but").getCDNDomain(),a={encrypt:!0,encryptPublicKey:"-----BEGIN PUBLIC KEY-----\t\t\t\t\t\t\tMIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDmRjZFlLX9akll+2dCdtN5ehDx\t\t\t\t\t\t\tPvmWes3kchShI1FafeorF+LWm5oK2YJFTpzA9WO2Xod1Q1FUrt82bjfYRHDfoerJ\t\t\t\t\t\t\t6rjMtjgXnDAYsk6nbhefibbQzYzxNA62yc6TbpUvRi+SosLfGQifqwtu/6OBMoka\t\t\t\t\t\t\tgLvbujKFpAfb9cfGewIDAQAB\t\t\t\t\t\t\t-----END PUBLIC KEY-----",hide_close_icon:1,enable_qq:1,enable_qcloud:1,hide_register:0,login_css:"https://"+r+"/open_proj/proj_qcloud_v2/gateway/login-regist/login/pc/css/login-20199031724.css?t=20190910",qcloud_login_url:"https://"+o+"/login/ajax/",qcloud_post_proxy:"https://"+o+"/login/proxy",s_url:"https://"+o,login_forward_url:"https://"+s+"/login/forward",pt_login_forward_url:"https://"+o+"/login/qqAccessCallback",vcode_url:"https://"+o+"/captcha",forgetpwd_url:"https://"+s+"/password/recover",forget_account_url:"https://"+s+"/services/forgotAccount",register_url:"https://"+s+"/register?",subaccount_url:"https://"+s+"/login/subAccount",wework_subaccount_url:"https://"+s+"/login/subAccount/wework",ptlogin_url:"https://xui.ptlogin2.qq.com/cgi-bin/xlogin",ptlogin_config:{appid:543009503,daid:0,style:20,enable_qlogin:1,target:"self",link_target:"blank",hide_close_icon:1,hide_border:1,hide_title_bar:1,hide_reg:1,hide_feedback:1,hide_title:1,s_url:""},qqLoginUrl:"https://"+o+"/login/qqConnect?",mpLoginUrl:"https://"+o+"/login/mp?",wechatLoginUrl:"https://"+o+"/login/wechat?",mWechatLoginUrl:"https://"+o+"/login/mWechat?scope=snsapi_userinfo&",weworkQrcodeUrl:"https://"+o+"/account/wework/qrcode",weworkLoginUrl:"https://"+o+"/account/wework/login",defaultLoginType:"wx",isThirdParty:0,enableIframeWechatLogin:1,isIntl:0,hideQQ:0,hideMP:0,check_login_url:"https://"+o+"/login/ajax/info"};t.exports=a},M34W:function(t,e){"use strict";var i={getRealHostname:function(){var t=location.hostname;return t.indexOf("qcloud.com")!=-1?"www.qcloud.com":t.indexOf("cloud.tencent.com")!=-1?"cloud.tencent.com":"www.qcloud.com"},getCookieDomain:function(){var t=location.hostname;return t.indexOf("qcloud.com")!=-1?".qcloud.com":t.indexOf("cloud.tencent.com")!=-1?".cloud.tencent.com":".qcloud.com"},getQcmainHostname:function(){var t=location.hostname;return t.indexOf("qcloud.com")!=-1?"www.qcloud.com":t.indexOf("intl.cloud.tencent.com")!=-1?"intl.cloud.tencent.com":t.indexOf("cloud.tencent.com")!=-1?"cloud.tencent.com":"www.qcloud.com"}};t.exports=i},"3but":function(t,e){"use strict";var i={getRealHostname:function(){var t=location.hostname;return t.indexOf("qcloud.com")!=-1?"www.qcloud.com":t.indexOf("cloud.tencent.com")!=-1?"cloud.tencent.com":"www.qcloud.com"},getCookieDomain:function(){var t=location.hostname;return t.indexOf("qcloud.com")!=-1?".qcloud.com":t.indexOf("cloud.tencent.com")!=-1?".cloud.tencent.com":".qcloud.com"},getQcmainHostname:function(){var t=location.hostname;return t.indexOf("qcloud.com")!=-1?"www.qcloud.com":t.indexOf("intl.cloud.tencent.com")!=-1?"intl.cloud.tencent.com":t.indexOf("cloud.tencent.com")!=-1?"cloud.tencent.com":"www.qcloud.com"},getCDNDomain:function(){return window.__CDN_DOMAIN||window.QCCDN_HOST||"imgcache.qq.com"}};t.exports=i},ijdI:function(t,e){t.exports='<div class="clg-mod J-commonLoginContent <% if(language == "en") {%>international<%}%> <% if(isThirdParty) {%>outside<%}%>">\n\t<% if (!hide_close_icon) { %>\n\t<a href="javascript:;" class="clg-mod-dialog-close J-closeLoginBox"></a>\n\t<% } %>\n\t<div class="J-loginMainContent">\n\t\t<div class="clg-mod-tab J-loginContentBox J-mainloginBox" style="display: none">\n\t\t\t<% if (!isMobile) { %>\n\t\t\t\t<% if (isThirdParty || isOauth2) { %>\n\t\t\t\t<div class="clg-mod-tit "><%=__("\u5fae\u4fe1\u626b\u7801\u767b\u5f55")%></div>\n\t\t\t\t<% } else { %>\n\t\t\t\t<div class="clg-tab-tit">\n\t\t\t\t\t<div class="clg-tab-tit-inner">\n\t\t\t\t\t\t<div class="clg-tab-item actived J-loginTab" data-type="wx">\n\t\t\t\t\t\t\t<a href="javascript:;"><%=__("\u5fae\u4fe1\u626b\u7801\u767b\u5f55")%></a>\n\t\t\t\t\t\t</div>\n\t\t\t\t\t\t<div class="clg-tab-item J-loginTab" data-type="wework">\n\t\t\t\t\t\t\t<a href="javascript:;"><%=__("\u4f01\u4e1a\u5fae\u4fe1\u626b\u7801\u767b\u5f55")%></a>\n\t\t\t\t\t\t</div>\n\t\t\t\t\t</div>\n\t\t\t\t</div>\n\t\t\t\t<% } %>\n\t\t\t<div class="J-wxModContaner">\n\t\t\t\t<div class="clg-mod-txt clg-mod-txt-center">\n\t\t\t\t\t<%=__("\u8bf7\u4f7f\u7528\u5fae\u4fe1\u626b\u4e00\u626b\u767b\u5f55")%> <a href="javascript:;" class="clg-mod-txt-link J-reloadWX"><%=__("\u5237\u65b0")%><i class="clg-icon-reload"></i></a>\n\t\t\t\t</div>\n\t\t\t\t<div class="clg-qr-wrap clg-qr-center">\n\t\t\t\t\t<iframe id="wxFrame" frameborder="no" scrolling="no" style="width:100%; height:100%;" src="" style="display: none;"></iframe>\n\t\t\t\t</div>\n\t\t\t</div>\n\t\t\t<div class="J-weworkModContaner" style="display: none">\n\t\t\t\t<div class="clg-mod-txt clg-mod-txt-center">\n\t\t\t\t\t<%=__("\u8bf7\u4f7f\u7528\u4f01\u4e1a\u5fae\u4fe1\u626b\u4e00\u626b\u767b\u5f55")%> <a href="javascript:;" class="clg-mod-txt-link J-reloadWework"><%=__("\u5237\u65b0")%><i class="clg-icon-reload"></i></a>\n\t\t\t\t</div>\n\t\t\t\t<div class="clg-qr-wrap clg-qr-center">\n\t\t\t\t\t<iframe id="weworkFrame" frameborder="no" scrolling="no" style="width:100%; height:100%;" src="" style="display: none;"></iframe>\n\t\t\t\t</div>\n\t\t\t</div>\n\n\t\t\t<% } else { %>\n\t\t\t<div class="lg-wx-box">\n\t\t\t\t<% if(isPad) {%>\n\t\t\t\t<div class="clg-tab-tit">\n\t\t\t\t\t<div class="clg-tab-tit-inner">\n\t\t\t\t\t\t<div class="clg-tab-item actived J-loginTab" data-type="wx">\n\t\t\t\t\t\t\t<a href="javascript:;"><%=__("\u5fae\u4fe1\u626b\u7801\u767b\u5f55")%></a>\n\t\t\t\t\t\t</div>\n\t\t\t\t\t\t<div class="clg-tab-item J-loginTab" data-type="wework">\n\t\t\t\t\t\t\t<a href="javascript:;"><%=__("\u4f01\u4e1a\u5fae\u4fe1\u626b\u7801\u767b\u5f55")%></a>\n\t\t\t\t\t\t</div>\n\t\t\t\t\t</div>\n\t\t\t\t</div>\n\t\t\t\t<div class="J-wxModContaner">\n\t\t\t\t\t<% if (isWechat) { %>\n\t\t\t\t\t<a data-action="wxBreak" href="<%=wechatLoginUrl%>s_url=<%=encodeURIComponent(s_url)%>&fwd_flag=<%= fwd_flag %>" class="clg-btn wx J-link"><%=__("\u53bb\u5fae\u4fe1\u6388\u6743")%></a>\n\t\t\t\t\t<% } else { %>\n\t\t\t\t\t<div class="qrcode-img">\n\t\t\t\t\t\t<iframe id="wxFrame" frameborder="no" scrolling="no" style="width:100%; height:100%;" src="" style="display: none;"></iframe>\n\t\t\t\t\t</div>\n\t\t\t\t\t<a data-action="wxBreak" href="<%=wechatLoginUrl%>s_url=<%=encodeURIComponent(s_url)%>&fwd_flag=<%= fwd_flag %>" class="clg-btn wx-link J-link"><%=__("\u53bb\u5fae\u4fe1\u6388\u6743")%></a>\n\t\t\t\t\t<% } %>\n\t\t\t\t</div>\n\t\t\t\t<div class="J-weworkModContaner" style="display: none">\n\t\t\t\t\t<div class="qrcode-img">\n\t\t\t\t\t\t<iframe id="weworkFrame" frameborder="no" scrolling="no" style="width:100%; height:100%;" src="" style="display: none;"></iframe>\n\t\t\t\t\t</div>\n\t\t\t\t\t<!-- \u4ec5\u505a\u9ad8\u5ea6\u5360\u4f4d\uff0c\u9632\u6b62\u9ad8\u5ea6\u6296\u52a8 -->\n\t\t\t\t\t<a href="javascript:;" class="clg-btn wx-link" style="color: #999">\u4f7f\u7528\u4f01\u4e1a\u5fae\u4fe1\u626b\u7801\u767b\u5f55\u5b50\u8d26\u53f7</a>\n\t\t\t\t</div>\n\t\t\t\t<%} else {%>\n\t\t\t\t<div class="clg-mod-tit"><%=__("\u4f7f\u7528\u5fae\u4fe1\u767b\u5f55")%></div>\n\t\t\t\t<a data-action="wxBreak" href="<%=wechatLoginUrl%>s_url=<%=encodeURIComponent(s_url)%>&fwd_flag=<%= fwd_flag %>" class="clg-btn wx J-link"><%=__("\u53bb\u5fae\u4fe1\u6388\u6743")%></a>\n\t\t\t\t<%}%>\n\t\t\t</div>\n\t\t\t<%}%>\n\t\t</div>\n\n\t\t<div class="clg-mod-tab J-loginContentBox J-qcloginBox" style="display: none">\n\t\t\t<div class="clg-mod-tit"><%=__("\u90ae\u7bb1\u767b\u5f55")%></div>\n\t\t\t<div class="clg-form J-loginForm">\n\t\t\t\t<ul class="clg-form-list">\n\t\t\t\t\t<li>\n\t\t\t\t\t\t<div class="clg-form-input">\n\t\t\t\t\t\t\t<div class="clg-form-unit">\n\t\t\t\t\t\t\t\t<% if (isThirdParty || isIntl) {%>\n\t\t\t\t\t\t\t\t\t<input value="<%=lusername%>" type="text" class="clg-input J-username" placeholder="<%=__("\u90ae\u7bb1\u5730\u5740")%>">\n\t\t\t\t\t\t\t\t<%} else {%>\n\t\t\t\t\t\t\t\t\t<input value="<%=lusername%>" type="text" class="clg-input J-username" placeholder="<%=__("\u90ae\u7bb1\u5730\u5740/DNSPod\u8d26\u53f7")%>">\n\t\t\t\t\t\t\t\t<%}%>\n\t\t\t\t\t\t\t\t<ul class="clg-form-tips-list J-mailSuggest" style="display:none;">\n\t\t\t\t\t\t\t\t</ul>\n\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t</div>\n\t\t\t\t\t</li>\n\t\t\t\t\t<li>\n\t\t\t\t\t\t<div class="clg-form-input">\n\t\t\t\t\t\t\t<div class="clg-form-unit">\n\t\t\t\t\t\t\t\t<input type="password" class="clg-input J-password" placeholder="<%=__("\u5bc6\u7801")%>">\n\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t</div>\n\t\t\t\t\t</li>\n\t\t\t\t\t<li style="display:none" class="J-vcodeArea">\n\t\t\t\t\t\t<div class="clg-form-input security">\n\t\t\t\t\t\t\t<div class="clg-form-unit">\n\t\t\t\t\t\t\t\t<input type="text" class="clg-input J-vcodeInput" placeholder="<%=__("\u9a8c\u8bc1\u7801")%>">\n\t\t\t\t\t\t\t\t<a href="javascript:;" class="clg-security-num J-changeVCode">\n\t\t\t\t\t\t\t\t\t<img class="security-img J-vcodeImg">\n\t\t\t\t\t\t\t\t</a>\n\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t</div>\n\t\t\t\t\t</li>\n\t\t\t\t</ul>\n\t\t\t\t<div class="clg-form-tips error J-loginTip" style="display: none"></div>\n\t\t\t\t<div class="clg-form-btn">\n\t\t\t\t\t<a href="javascript:;" hotrep="login.btn.doLogin" class="clg-btn J-loginBtn"><%=__("\u767b \u5f55")%></a>\n\t\t\t\t\t<a href="javascript:;" class="clg-btn" style="display: none">\n\t\t\t\t\t\t<div class="clg-loading clg-loading-weak">\n\t\t\t\t\t\t\t<div class="clg-loading-inner">\n\t\t\t\t\t\t\t\t<div class="one"></div>\n\t\t\t\t\t\t\t\t<div class="two"></div>\n\t\t\t\t\t\t\t\t<div class="three"></div>\n\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t</div>\n\t\t\t\t\t</a>\n\t\t\t\t</div>\n\t\t\t</div>\n\t\t\t<div class="clg-back-mod J-backToMainMod">\n\t\t\t\t<a href="javascript:;" class="J-btnSwitchLoginType" data-type="wx"><i class="clg-icon-link-left"></i><%=__("\u5207\u6362\u5176\u4ed6\u767b\u5f55\u65b9\u5f0f")%></a>\n\t\t\t</div>\n\t\t</div>\n\n\t\t<div class="clg-mod-tab J-loginContentBox J-captchaBox" style="display: none">\n\t\t\t<div class="clg-mod-tit"><%=__("\u90ae\u7bb1\u767b\u5f55")%></div>\n\t\t\t<div class="clg-form">\n\t\t\t\t<ul class="clg-form-list">\n\t\t\t\t\t<li>\n\t\t\t\t\t\t<div class="clg-security-img-mod J-captchaContent">\n\t\t\t\t\t\t</div>\n\t\t\t\t\t</li>\n\t\t\t\t</ul>\n\t\t\t</div>\n\t\t\t<div class="clg-back-mod clg-mod-txt-center">\n\t\t\t\t<a href="javascript:;" class="J-btnSwitchLoginType" data-type="email"><i class="clg-icon-link-left"></i><%=__("\u53d6\u6d88\u9a8c\u8bc1\uff0c\u8fd4\u56de\u90ae\u7bb1\u767b\u5f55")%></a>\n\t\t\t</div>\n\t\t</div>\n\n\t\t<div class="clg-other-mod J-otherMod">\n\t\t\t<% if (!isIntl) { %>\n\t\t\t<div class="clg-other-tit J-switchLoginTypeArea"><span><%=__("\u5176\u4ed6\u767b\u5f55\u65b9\u5f0f")%></span></div>\n\t\t\t<div class="clg-other-con J-switchLoginTypeArea">\n\t\t\t\t<div class="clg-other-link">\n\t\t\t\t\t<a title="<%=__("\u90ae\u7bb1")%>" class="J-btnSwitchLoginType" data-type="email" href="javascript:;" data-hot="login.email" hotrep="login.email">\n\t\t\t\t\t\t<i class="clg-icon-mail"></i><span><%=__("\u90ae\u7bb1")%></span>\n\t\t\t\t\t</a>\n\t\t\t\t</div>\n\t\t\t\t<% if (!isInWeapp && !hideQQ) {%>\n\t\t\t\t<div class="clg-other-link">\n\t\t\t\t\t<a title="<%=__("QQ")%>" class="J-btnSwitchLoginType" href="javascript:;" data-type="qq" data-hot="login.qq" hotrep="login.qq">\n\t\t\t\t\t\t<i class="clg-icon-qq"></i><span><%=__("QQ")%></span>\n\t\t\t\t\t</a>\n\t\t\t\t</div>\n\t\t\t\t<%}%>\n\t\t\t\t<% if (!hideMP) {%>\n\t\t\t\t<div class="clg-other-link">\n\t\t\t\t\t<a title="<%=__("\u5fae\u4fe1\u516c\u4f17\u53f7")%>" class="J-btnSwitchLoginType" href="javascript:;" data-type="wxmp" data-hot="login.mp" hotrep="login.mp">\n\t\t\t\t\t\t<i class="clg-icon-wxoa"></i><span><%=__("\u5fae\u4fe1\u516c\u4f17\u53f7")%></span>\n\t\t\t\t\t</a>\n\t\t\t\t</div>\n\t\t\t\t<%}%>\n\t\t\t\t<% if (isMobile && !isPad) {%>\n\t\t\t\t<div class="clg-other-link">\n\t\t\t\t\t<a title="<%=__("\u4f01\u4e1a\u5fae\u4fe1")%>" class="J-btnSwitchLoginType" href="javascript:;" data-type="wework-m" data-hot="login.wework" hotrep="login.wework">\n\t\t\t\t\t\t<i class="clg-icon-work"></i><span><%=__("\u4f01\u4e1a\u5fae\u4fe1")%></span>\n\t\t\t\t\t</a>\n\t\t\t\t</div>\n\t\t\t\t<% } %>\n\t\t\t</div>\n\t\t\t<%}%>\n\t\t\t<div class="clg-other-tool" <% if (isThirdParty || (hideQQ && hideMP)) {%>style="text-align: center"<%}%>>\n\t\t\t\t<% if (!hide_register) { %>\n\t\t\t\t<div class="clg-other-tool-item">\n\t\t\t\t\t<a href="<%=register_url%>&s_url=<%=encodeURIComponent(s_url)%>" class="J-link" hotrep="login.register"><%=__("\u7acb\u5373\u6ce8\u518c")%></a>\n\t\t\t\t</div>\n\t\t\t\t<%}%>\n\t\t\t\t<div class="clg-other-tool-item">\n\t\t\t\t\t<a href="<%=forget_account_url%>" class="J-link" hotrep="login.forgetAccount"><%=__("\u5fd8\u8bb0\u8d26\u53f7")%></a>\n\t\t\t\t</div>\n\t\t\t\t<div class="clg-other-tool-item">\n\t\t\t\t\t<a href="<%=forgetpwd_url%>?s_url=<%=encodeURIComponent(s_url)%>" class="J-link" hotrep="login.forgetPsw"><%=__("\u5fd8\u8bb0\u5bc6\u7801")%></a>\n\t\t\t\t</div>\n\t\t\t\t<% if (!isThirdParty && !hideQQ && !hideMP) {%>\n\t\t\t\t<div class="clg-other-tool-item">\n\t\t\t\t\t<a href="<%=subaccount_url%>?s_url=<%=encodeURIComponent(s_url)%>" class="J-subAccountLogin"><%=__("\u5b50\u7528\u6237\u767b\u5f55")%></a>\n\t\t\t\t</div>\n\t\t\t\t<%}%>\n\t\t\t</div>\n\t\t</div>\n\n\t\t<div class="clg-mod-tab J-loginContentBox J-loginedInfo">\n\t\t\t<div class="clg-mod-tit"><%=__("\u5df2\u767b\u5f55\u8d26\u53f7")%></div>\n\t\t\t<div class="clg-form">\n\t\t\t\t<ul class="clg-form-list">\n\t\t\t\t\t<div class="clg-form-tips-item J-showMsg"></div>\n\t\t\t\t</ul>\n\n\t\t\t\t<div class="clg-form-btn">\n\t\t\t\t\t<a href="javascript:;" class="clg-btn J-btn"><%=__("\u5feb\u901f\u767b\u5f55")%></a>\n\t\t\t\t</div>\n\t\t\t</div>\n\t\t\t<div class="clg-back-mod">\n\t\t\t\t<a href="javascript:;" class="J-loginContinue"><i class="clg-icon-link-left"></i><%=__("\u767b\u5f55\u5176\u4ed6\u8d26\u53f7")%></a>\n\t\t\t</div>\n\t\t</div>\n\n\t</div>\n</div>\n\n\n\n'},sdDX:function(t,e,i){"use strict";var n=i("WPtr"),o=i("HbSM"),s=i("rCGI"),r=i("h97R"),a=i("4G7m"),c=i("M34W"),h=i("5zD2"),l=new h(navigator.userAgent).getResult(),u=new o;u.setPublicKey(a.encryptPublicKey);var d=n.get("language"),p={loadCss:function(){var t=this,e=$.Deferred();return t.cssLoaded?e.resolve():r(a.login_css,function(){t.cssLoaded=!0,e.resolve()}),e},showInputErrorTip:function(t,e,i){t=$(t),this.hideInputErrorTip(),this.hidePromptTip(t),i=i||{},$(".J-loginTip").html(this.__(e)).show(),t.addClass("error").focus(),this.notifyResize()},hideInputErrorTip:function(t){t?$(t).removeClass("error").parent().find(".J-errorTip").hide():$(".J-errorTip").hide().parent().find("input").removeClass("error"),this.notifyResize()},showPromptTip:function(t,e,i){t=$(t),this.hidePromptTip();var n=t.closest(".clg-form-input");if(!n.find(".J-errorTip:visible").length){var o=n.find(".J-promptTip");i=i||{},o.length||(o=n.append('<div class="clg-bubble clg-bubble-bottom J-promptTip" style="bottom: 70px; left: 0px; width: 280px;">\t <div class="clg-bubble-inner" style="left: 30px;"></div>\t </div>').find(".J-promptTip")),o.show().find(".clg-bubble-inner").html(this.__(e)),this.notifyResize()}},hidePromptTip:function(t){t?$(t).parent().find(".J-promptTip").hide():$(".J-promptTip").hide(),this.notifyResize()},checkLoginForm:function(){var t=$(".J-commonLoginContent"),e=t.find(".J-username"),i=$.trim(e.val()),n=t.find(".J-password"),o=$.trim(n.val()),s=t.find(".J-vcodeArea"),r=t.find(".J-vcodeInput"),c=$.trim(r.val()),h={},l=this;if(""==i)return l.showInputErrorTip(e,"\u8bf7\u8f93\u5165\u90ae\u7bb1"),!1;if(i.indexOf("@")==-1)return l.showInputErrorTip(e,"\u90ae\u7bb1\u683c\u5f0f\u6709\u8bef\uff0c\u8bf7\u4fee\u6539"),!1;if(h.username=i,""==o)return l.showInputErrorTip(n,"\u8bf7\u8f93\u5165\u5bc6\u7801"),!1;if(h.password=a.encrypt?u.encrypt(o):o,s.is(":visible")){if(""==c)return l.showInputErrorTip(r,"\u8bf7\u8f93\u5165\u9a8c\u8bc1\u7801"),!1;h.vcode=c}return h},query:function(t){return t=String(t).replace(/([.*+?^=!:${}()|[\]\/\\])/g,"\\$1"),location.search.slice(1).match(RegExp("(?:^|&)"+t+"(?:=([^&#]*)?|[&#]|$)"))?String(RegExp.$1||"").replace(/\+/g," "):void 0},__:function(t,e){var e=e||d;return e&&"en"==e&&s&&s[t]?s[t]:t},getTranslator:function(t){var e=this;return function(i){return e.__(i,t)}},capslock:function(t){if(/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent))return!1;var e=t.keyCode||t.which,i=t.shiftKey||16==e||!1;return e>=65&&e<=90&&!i||e>=97&&e<=122&&i},tmpl:function(){var t={},e=function(t){return 0==t?t:(t=(t||"").toString(),t.replace(/&(?!\w+;)/g,"&").replace(/</g,"<").replace(/>/g,">").replace(/\"/g,"""))},i=function(t,e){if(e)for(var i in e){var n=new RegExp("<%#\\s?"+i+"%>","g");t=t.replace(n,e[i])}return t};return function n(o,s,r){var a=!/\W/.test(o);!a&&(o=i(o,r));var c=a?t[o]=t[o]||n(i(document.getElementById(o).innerHTML,r)):new Function("obj","_escape","var _p='';with(obj){_p+='"+o.replace(/[\r\t\n]/g," ").split("\\'").join("\\\\'").split("'").join("\\'").split("<%").join("\t").replace(/\t-(.*?)%>/g,"'+$1+'").replace(/\t=(.*?)%>/g,"'+_escape($1)+'").split("\t").join("';").split("%>").join("_p+='")+"';} return _p;"),h=function(t){return c(t,e)};return s?h(s):h}}(),loadProxyFrame:function(t){var e=this;if(e.loadProxyFrameDfd)return e.loadProxyFrameDfd;e.loadProxyFrameDfd=$.Deferred();var i=document.createElement("iframe");return i.style.display="none",i.src=t,i.onload=function(){e.loadProxyFrameDfd.resolve(i),i.onload=null},document.body.appendChild(i),e.loadProxyFrameDfd},proxyPost:function(t,e){var i=this,n="callback"+Math.floor(1e7*Math.random());window[n]=function(t){e(t);try{delete window[n]}catch(t){window[n]=null}};var o=function e(o){try{o.contentWindow.postSend(t.url,t.data,n)}catch(s){"TypeError"!==s.name||o.contentWindow?o.contentWindow.postMessage(JSON.stringify({url:t.url,data:t.data,requestType:n}),"*"):(i.loadProxyFrameDfd=null,i.loadProxyFrame(a.qcloud_post_proxy).done(e))}};i.loadProxyFrame(a.qcloud_post_proxy).done(o)},isMobile:function(){var t=(navigator.userAgent||"").toLowerCase(),e=["android","iphone","windows phone","ipad"];if(a.isThirdParty)return!1;for(var i=0;i<e.length;i++)if(t.indexOf(e[i])!=-1)return!0;return!1},isWechat:function(){return navigator.userAgent.toLowerCase().indexOf("micromessenger")>-1},getWechatLoginUrl:function(){return this.isMobile()?a.mWechatLoginUrl:a.wechatLoginUrl},saveLoginTypeInLocal:function(t){var e=180;n.set("lastLoginType",t,{domain:c.getCookieDomain(),path:"/",expires:e})},getLastLoginType:function(){return n.get("lastLoginType")||""},notifyResize:function(){top.postMessage(JSON.stringify({action:"resize",width:$(".J-loginMainContent").width()+80,height:$(".J-loginMainContent").height()+100}),"*")},isSupportWxLoginInMobile:function(){var t=l&&l.browser&&l.browser.name?l.browser.name:"",e=l&&l.os&&l.os.name?l.os.name:"";t=t.toLowerCase(),e=e.toLowerCase();var i=this.isMobile()&&("ucbrowser"==t||"qqbrowser"==t||"mobile safari"==t&&"ios"==e);return this.isInWeapp()||this.isWechat()||i},isInMQQ:function(){var t=navigator.userAgent,e=this.isMobile()&&/qqbrowser/i.test(t)&&/\bQQ\/[\d\.]+/i.test(t);return e},isInWeapp:function(){return this.isMobile()&&"miniprogram"===window.__wxjs_environment},isPad:function(){var t=window.screen.width||0;return this.isMobile()&&t>=601},isInConsole:function(){var t=location.hostname;return"console.cloud.tencent.com"==t||"console.qcloud.com"==t},requireSeajsModule:function(t){if(window.seajs){var e=window.seajs.Module.get(window.seajs.Module.resolve(t));return e.exports||e.exec()}},htmlEncode:function(t){var e="";return null==t||"undefined"==typeof t||0==t.length?"":(e=t.replace(/&/g,"&"),e=e.replace(/</g,"<"),e=e.replace(/>/g,">"),e=e.replace(/ /g," "),e=e.replace(/\'/g,"'"),e=e.replace(/\"/g,"""),e=e.replace(/\n/g,"<br>"))},detectWxDomain:function(){if(!this.wxDomainDetected&&window.$){this.wxDomainDetected=!0;var t=!1,e="https://long.open.weixin.qq.com/connect/l/qrconnect?uuid=0213Kqcw8dy8ul5L&_t="+(new Date).getTime();$.getScript(e,function(){t=!0}),setTimeout(function(){t||$.getScript("https://"+c.getRealHostname()+"/services/ajax/empty_return/wxDomainNotResponse5?t="+(new Date).getTime())},5e3),setTimeout(function(){t||$.getScript("https://"+c.getRealHostname()+"/services/ajax/empty_return/wxDomainNotResponse10?t="+(new Date).getTime())},1e4)}}};t.exports=p},HbSM:function(t,e){"use strict";function i(t,e,i){null!=t&&("number"==typeof t?this.fromNumber(t,e,i):null==e&&"string"!=typeof t?this.fromString(t,256):this.fromString(t,e))}function n(){return new i(null)}function o(t,e,i,n,o,s){for(;--s>=0;){var r=e*this[t++]+i[n]+o;o=Math.floor(r/67108864),i[n++]=67108863&r}return o}function s(t,e,i,n,o,s){for(var r=32767&e,a=e>>15;--s>=0;){var c=32767&this[t],h=this[t++]>>15,l=a*c+h*r;c=r*c+((32767&l)<<15)+i[n]+(1073741823&o),o=(c>>>30)+(l>>>15)+a*h+(o>>>30),i[n++]=1073741823&c}return o}function r(t,e,i,n,o,s){for(var r=16383&e,a=e>>14;--s>=0;){var c=16383&this[t],h=this[t++]>>14,l=a*c+h*r;c=r*c+((16383&l)<<14)+i[n]+o,o=(c>>28)+(l>>14)+a*h,i[n++]=268435455&c}return o}function a(t){return Ce.charAt(t)}function c(t,e){var i=De[t.charCodeAt(e)];return null==i?-1:i}function h(t){for(var e=this.t-1;e>=0;--e)t[e]=this[e];t.t=this.t,t.s=this.s}function l(t){this.t=1,this.s=t<0?-1:0,t>0?this[0]=t:t<-1?this[0]=t+this.DV:this.t=0}function u(t){var e=n();return e.fromInt(t),e}function d(t,e){var n;if(16==e)n=4;else if(8==e)n=3;else if(256==e)n=8;else if(2==e)n=1;else if(32==e)n=5;else{if(4!=e)return void this.fromRadix(t,e);n=2}this.t=0,this.s=0;for(var o=t.length,s=!1,r=0;--o>=0;){var a=8==n?255&t[o]:c(t,o);a<0?"-"==t.charAt(o)&&(s=!0):(s=!1,0==r?this[this.t++]=a:r+n>this.DB?(this[this.t-1]|=(a&(1<<this.DB-r)-1)<<r,this[this.t++]=a>>this.DB-r):this[this.t-1]|=a<<r,r+=n,r>=this.DB&&(r-=this.DB))}8==n&&0!=(128&t[0])&&(this.s=-1,r>0&&(this[this.t-1]|=(1<<this.DB-r)-1<<r)),this.clamp(),s&&i.ZERO.subTo(this,this)}function p(){for(var t=this.s&this.DM;this.t>0&&this[this.t-1]==t;)--this.t}function f(t){if(this.s<0)return"-"+this.negate().toString(t);var e;if(16==t)e=4;else if(8==t)e=3;else if(2==t)e=1;else if(32==t)e=5;else{if(4!=t)return this.toRadix(t);e=2}var i,n=(1<<e)-1,o=!1,s="",r=this.t,c=this.DB-r*this.DB%e;if(r-- >0)for(c<this.DB&&(i=this[r]>>c)>0&&(o=!0,s=a(i));r>=0;)c<e?(i=(this[r]&(1<<c)-1)<<e-c,i|=this[--r]>>(c+=this.DB-e)):(i=this[r]>>(c-=e)&n,c<=0&&(c+=this.DB,--r)),i>0&&(o=!0),o&&(s+=a(i));return o?s:"0"}function g(){var t=n();return i.ZERO.subTo(this,t),t}function m(){return this.s<0?this.negate():this}function w(t){var e=this.s-t.s;if(0!=e)return e;var i=this.t;if(e=i-t.t,0!=e)return this.s<0?-e:e;for(;--i>=0;)if(0!=(e=this[i]-t[i]))return e;return 0}function b(t){var e,i=1;return 0!=(e=t>>>16)&&(t=e,i+=16),0!=(e=t>>8)&&(t=e,i+=8),0!=(e=t>>4)&&(t=e,i+=4),0!=(e=t>>2)&&(t=e,i+=2),0!=(e=t>>1)&&(t=e,i+=1),i}function y(){return this.t<=0?0:this.DB*(this.t-1)+b(this[this.t-1]^this.s&this.DM)}function x(t,e){var i;for(i=this.t-1;i>=0;--i)e[i+t]=this[i];for(i=t-1;i>=0;--i)e[i]=0;e.t=this.t+t,e.s=this.s}function T(t,e){for(var i=t;i<this.t;++i)e[i-t]=this[i];e.t=Math.max(this.t-t,0),e.s=this.s}function S(t,e){var i,n=t%this.DB,o=this.DB-n,s=(1<<o)-1,r=Math.floor(t/this.DB),a=this.s<<n&this.DM;for(i=this.t-1;i>=0;--i)e[i+r+1]=this[i]>>o|a,a=(this[i]&s)<<n;for(i=r-1;i>=0;--i)e[i]=0;e[r]=a,e.t=this.t+r+1,e.s=this.s,e.clamp()}function _(t,e){e.s=this.s;var i=Math.floor(t/this.DB);if(i>=this.t)return void(e.t=0);var n=t%this.DB,o=this.DB-n,s=(1<<n)-1;e[0]=this[i]>>n;for(var r=i+1;r<this.t;++r)e[r-i-1]|=(this[r]&s)<<o,e[r-i]=this[r]>>n;n>0&&(e[this.t-i-1]|=(this.s&s)<<o),e.t=this.t-i,e.clamp()}function E(t,e){for(var i=0,n=0,o=Math.min(t.t,this.t);i<o;)n+=this[i]-t[i],e[i++]=n&this.DM,n>>=this.DB;if(t.t<this.t){for(n-=t.s;i<this.t;)n+=this[i],e[i++]=n&this.DM,n>>=this.DB;n+=this.s}else{for(n+=this.s;i<t.t;)n-=t[i],e[i++]=n&this.DM,n>>=this.DB;n-=t.s}e.s=n<0?-1:0,n<-1?e[i++]=this.DV+n:n>0&&(e[i++]=n),e.t=i,e.clamp()}function R(t,e){var n=this.abs(),o=t.abs(),s=n.t;for(e.t=s+o.t;--s>=0;)e[s]=0;for(s=0;s<o.t;++s)e[s+n.t]=n.am(0,o[s],e,s,0,n.t);e.s=0,e.clamp(),this.s!=t.s&&i.ZERO.subTo(e,e)}function k(t){for(var e=this.abs(),i=t.t=2*e.t;--i>=0;)t[i]=0;for(i=0;i<e.t-1;++i){var n=e.am(i,e[i],t,2*i,0,1);(t[i+e.t]+=e.am(i+1,2*e[i],t,2*i+1,n,e.t-i-1))>=e.DV&&(t[i+e.t]-=e.DV,t[i+e.t+1]=1)}t.t>0&&(t[t.t-1]+=e.am(i,e[i],t,2*i,0,1)),t.s=0,t.clamp()}function L(t,e,o){var s=t.abs();if(!(s.t<=0)){var r=this.abs();if(r.t<s.t)return null!=e&&e.fromInt(0),void(null!=o&&this.copyTo(o));null==o&&(o=n());var a=n(),c=this.s,h=t.s,l=this.DB-b(s[s.t-1]);l>0?(s.lShiftTo(l,a),r.lShiftTo(l,o)):(s.copyTo(a),r.copyTo(o));var u=a.t,d=a[u-1];if(0!=d){var p=d*(1<<this.F1)+(u>1?a[u-2]>>this.F2:0),f=this.FV/p,g=(1<<this.F1)/p,m=1<<this.F2,v=o.t,w=v-u,y=null==e?n():e;for(a.dlShiftTo(w,y),o.compareTo(y)>=0&&(o[o.t++]=1,o.subTo(y,o)),i.ONE.dlShiftTo(u,y),y.subTo(a,a);a.t<u;)a[a.t++]=0;for(;--w>=0;){var x=o[--v]==d?this.DM:Math.floor(o[v]*f+(o[v-1]+m)*g);if((o[v]+=a.am(0,x,o,w,0,u))<x)for(a.dlShiftTo(w,y),o.subTo(y,o);o[v]<--x;)o.subTo(y,o)}null!=e&&(o.drShiftTo(u,e),c!=h&&i.ZERO.subTo(e,e)),o.t=u,o.clamp(),l>0&&o.rShiftTo(l,o),c<0&&i.ZERO.subTo(o,o)}}}function C(t){var e=n();return this.abs().divRemTo(t,null,e),this.s<0&&e.compareTo(i.ZERO)>0&&t.subTo(e,e),e}function D(t){this.m=t}function J(t){return t.s<0||t.compareTo(this.m)>=0?t.mod(this.m):t}function I(t){return t}function A(t){t.divRemTo(this.m,null,t)}function U(t,e,i){t.multiplyTo(e,i),this.reduce(i)}function B(t,e){t.squareTo(e),this.reduce(e)}function O(){if(this.t<1)return 0;var t=this[0];if(0==(1&t))return 0;var e=3&t;return e=e*(2-(15&t)*e)&15,e=e*(2-(255&t)*e)&255,e=e*(2-((65535&t)*e&65535))&65535,e=e*(2-t*e%this.DV)%this.DV,e>0?this.DV-e:-e}function M(t){this.m=t,this.mp=t.invDigit(),this.mpl=32767&this.mp,this.mph=this.mp>>15,this.um=(1<<t.DB-15)-1,this.mt2=2*t.t}function q(t){var e=n();return t.abs().dlShiftTo(this.m.t,e),e.divRemTo(this.m,null,e),t.s<0&&e.compareTo(i.ZERO)>0&&this.m.subTo(e,e),e}function P(t){var e=n();return t.copyTo(e),this.reduce(e),e}function $(t){for(;t.t<=this.mt2;)t[t.t++]=0;for(var e=0;e<this.m.t;++e){var i=32767&t[e],n=i*this.mpl+((i*this.mph+(t[e]>>15)*this.mpl&this.um)<<15)&t.DM;for(i=e+this.m.t,t[i]+=this.m.am(0,n,t,e,0,this.m.t);t[i]>=t.DV;)t[i]-=t.DV,t[++i]++}t.clamp(),t.drShiftTo(this.m.t,t),t.compareTo(this.m)>=0&&t.subTo(this.m,t)}function N(t,e){t.squareTo(e),this.reduce(e)}function K(t,e,i){t.multiplyTo(e,i),this.reduce(i)}function V(){return 0==(this.t>0?1&this[0]:this.s)}function j(t,e){if(t>4294967295||t<1)return i.ONE;var o=n(),s=n(),r=e.convert(this),a=b(t)-1;for(r.copyTo(o);--a>=0;)if(e.sqrTo(o,s),(t&1<<a)>0)e.mulTo(s,r,o);else{var c=o;o=s,s=c}return e.revert(o)}function Q(t,e){var i;return i=t<256||e.isEven()?new D(e):new M(e),this.exp(t,i)}function W(){var t=n();return this.copyTo(t),t}function F(){if(this.s<0){if(1==this.t)return this[0]-this.DV;if(0==this.t)return-1}else{if(1==this.t)return this[0];if(0==this.t)return 0}return(this[1]&(1<<32-this.DB)-1)<<this.DB|this[0]}function H(){return 0==this.t?this.s:this[0]<<24>>24}function z(){return 0==this.t?this.s:this[0]<<16>>16}function G(t){return Math.floor(Math.LN2*this.DB/Math.log(t))}function X(){return this.s<0?-1:this.t<=0||1==this.t&&this[0]<=0?0:1}function Y(t){if(null==t&&(t=10),0==this.signum()||t<2||t>36)return"0";var e=this.chunkSize(t),i=Math.pow(t,e),o=u(i),s=n(),r=n(),a="";for(this.divRemTo(o,s,r);s.signum()>0;)a=(i+r.intValue()).toString(t).substr(1)+a,s.divRemTo(o,s,r);return r.intValue().toString(t)+a}function Z(t,e){this.fromInt(0),null==e&&(e=10);for(var n=this.chunkSize(e),o=Math.pow(e,n),s=!1,r=0,a=0,h=0;h<t.length;++h){var l=c(t,h);l<0?"-"==t.charAt(h)&&0==this.signum()&&(s=!0):(a=e*a+l,++r>=n&&(this.dMultiply(o),this.dAddOffset(a,0),r=0,a=0))}r>0&&(this.dMultiply(Math.pow(e,r)),this.dAddOffset(a,0)),s&&i.ZERO.subTo(this,this)}function tt(t,e,n){if("number"==typeof e)if(t<2)this.fromInt(1);else for(this.fromNumber(t,n),this.testBit(t-1)||this.bitwiseTo(i.ONE.shiftLeft(t-1),ct,this),this.isEven()&&this.dAddOffset(1,0);!this.isProbablePrime(e);)this.dAddOffset(2,0),this.bitLength()>t&&this.subTo(i.ONE.shiftLeft(t-1),this);else{var o=new Array,s=7&t;
|
|
o.length=(t>>3)+1,e.nextBytes(o),s>0?o[0]&=(1<<s)-1:o[0]=0,this.fromString(o,256)}}function et(){var t=this.t,e=new Array;e[0]=this.s;var i,n=this.DB-t*this.DB%8,o=0;if(t-- >0)for(n<this.DB&&(i=this[t]>>n)!=(this.s&this.DM)>>n&&(e[o++]=i|this.s<<this.DB-n);t>=0;)n<8?(i=(this[t]&(1<<n)-1)<<8-n,i|=this[--t]>>(n+=this.DB-8)):(i=this[t]>>(n-=8)&255,n<=0&&(n+=this.DB,--t)),0!=(128&i)&&(i|=-256),0==o&&(128&this.s)!=(128&i)&&++o,(o>0||i!=this.s)&&(e[o++]=i);return e}function it(t){return 0==this.compareTo(t)}function nt(t){return this.compareTo(t)<0?this:t}function ot(t){return this.compareTo(t)>0?this:t}function st(t,e,i){var n,o,s=Math.min(t.t,this.t);for(n=0;n<s;++n)i[n]=e(this[n],t[n]);if(t.t<this.t){for(o=t.s&this.DM,n=s;n<this.t;++n)i[n]=e(this[n],o);i.t=this.t}else{for(o=this.s&this.DM,n=s;n<t.t;++n)i[n]=e(o,t[n]);i.t=t.t}i.s=e(this.s,t.s),i.clamp()}function rt(t,e){return t&e}function at(t){var e=n();return this.bitwiseTo(t,rt,e),e}function ct(t,e){return t|e}function ht(t){var e=n();return this.bitwiseTo(t,ct,e),e}function lt(t,e){return t^e}function ut(t){var e=n();return this.bitwiseTo(t,lt,e),e}function dt(t,e){return t&~e}function pt(t){var e=n();return this.bitwiseTo(t,dt,e),e}function ft(){for(var t=n(),e=0;e<this.t;++e)t[e]=this.DM&~this[e];return t.t=this.t,t.s=~this.s,t}function gt(t){var e=n();return t<0?this.rShiftTo(-t,e):this.lShiftTo(t,e),e}function mt(t){var e=n();return t<0?this.lShiftTo(-t,e):this.rShiftTo(t,e),e}function vt(t){if(0==t)return-1;var e=0;return 0==(65535&t)&&(t>>=16,e+=16),0==(255&t)&&(t>>=8,e+=8),0==(15&t)&&(t>>=4,e+=4),0==(3&t)&&(t>>=2,e+=2),0==(1&t)&&++e,e}function wt(){for(var t=0;t<this.t;++t)if(0!=this[t])return t*this.DB+vt(this[t]);return this.s<0?this.t*this.DB:-1}function bt(t){for(var e=0;0!=t;)t&=t-1,++e;return e}function yt(){for(var t=0,e=this.s&this.DM,i=0;i<this.t;++i)t+=bt(this[i]^e);return t}function xt(t){var e=Math.floor(t/this.DB);return e>=this.t?0!=this.s:0!=(this[e]&1<<t%this.DB)}function Tt(t,e){var n=i.ONE.shiftLeft(t);return this.bitwiseTo(n,e,n),n}function St(t){return this.changeBit(t,ct)}function _t(t){return this.changeBit(t,dt)}function Et(t){return this.changeBit(t,lt)}function Rt(t,e){for(var i=0,n=0,o=Math.min(t.t,this.t);i<o;)n+=this[i]+t[i],e[i++]=n&this.DM,n>>=this.DB;if(t.t<this.t){for(n+=t.s;i<this.t;)n+=this[i],e[i++]=n&this.DM,n>>=this.DB;n+=this.s}else{for(n+=this.s;i<t.t;)n+=t[i],e[i++]=n&this.DM,n>>=this.DB;n+=t.s}e.s=n<0?-1:0,n>0?e[i++]=n:n<-1&&(e[i++]=this.DV+n),e.t=i,e.clamp()}function kt(t){var e=n();return this.addTo(t,e),e}function Lt(t){var e=n();return this.subTo(t,e),e}function Ct(t){var e=n();return this.multiplyTo(t,e),e}function Dt(){var t=n();return this.squareTo(t),t}function Jt(t){var e=n();return this.divRemTo(t,e,null),e}function It(t){var e=n();return this.divRemTo(t,null,e),e}function At(t){var e=n(),i=n();return this.divRemTo(t,e,i),new Array(e,i)}function Ut(t){this[this.t]=this.am(0,t-1,this,0,0,this.t),++this.t,this.clamp()}function Bt(t,e){if(0!=t){for(;this.t<=e;)this[this.t++]=0;for(this[e]+=t;this[e]>=this.DV;)this[e]-=this.DV,++e>=this.t&&(this[this.t++]=0),++this[e]}}function Ot(){}function Mt(t){return t}function qt(t,e,i){t.multiplyTo(e,i)}function Pt(t,e){t.squareTo(e)}function $t(t){return this.exp(t,new Ot)}function Nt(t,e,i){var n=Math.min(this.t+t.t,e);for(i.s=0,i.t=n;n>0;)i[--n]=0;var o;for(o=i.t-this.t;n<o;++n)i[n+this.t]=this.am(0,t[n],i,n,0,this.t);for(o=Math.min(t.t,e);n<o;++n)this.am(0,t[n],i,n,0,e-n);i.clamp()}function Kt(t,e,i){--e;var n=i.t=this.t+t.t-e;for(i.s=0;--n>=0;)i[n]=0;for(n=Math.max(e-this.t,0);n<t.t;++n)i[this.t+n-e]=this.am(e-n,t[n],i,0,0,this.t+n-e);i.clamp(),i.drShiftTo(1,i)}function Vt(t){this.r2=n(),this.q3=n(),i.ONE.dlShiftTo(2*t.t,this.r2),this.mu=this.r2.divide(t),this.m=t}function jt(t){if(t.s<0||t.t>2*this.m.t)return t.mod(this.m);if(t.compareTo(this.m)<0)return t;var e=n();return t.copyTo(e),this.reduce(e),e}function Qt(t){return t}function Wt(t){for(t.drShiftTo(this.m.t-1,this.r2),t.t>this.m.t+1&&(t.t=this.m.t+1,t.clamp()),this.mu.multiplyUpperTo(this.r2,this.m.t+1,this.q3),this.m.multiplyLowerTo(this.q3,this.m.t+1,this.r2);t.compareTo(this.r2)<0;)t.dAddOffset(1,this.m.t+1);for(t.subTo(this.r2,t);t.compareTo(this.m)>=0;)t.subTo(this.m,t)}function Ft(t,e){t.squareTo(e),this.reduce(e)}function Ht(t,e,i){t.multiplyTo(e,i),this.reduce(i)}function zt(t,e){var i,o,s=t.bitLength(),r=u(1);if(s<=0)return r;i=s<18?1:s<48?3:s<144?4:s<768?5:6,o=s<8?new D(e):e.isEven()?new Vt(e):new M(e);var a=new Array,c=3,h=i-1,l=(1<<i)-1;if(a[1]=o.convert(this),i>1){var d=n();for(o.sqrTo(a[1],d);c<=l;)a[c]=n(),o.mulTo(d,a[c-2],a[c]),c+=2}var p,f,g=t.t-1,m=!0,v=n();for(s=b(t[g])-1;g>=0;){for(s>=h?p=t[g]>>s-h&l:(p=(t[g]&(1<<s+1)-1)<<h-s,g>0&&(p|=t[g-1]>>this.DB+s-h)),c=i;0==(1&p);)p>>=1,--c;if((s-=c)<0&&(s+=this.DB,--g),m)a[p].copyTo(r),m=!1;else{for(;c>1;)o.sqrTo(r,v),o.sqrTo(v,r),c-=2;c>0?o.sqrTo(r,v):(f=r,r=v,v=f),o.mulTo(v,a[p],r)}for(;g>=0&&0==(t[g]&1<<s);)o.sqrTo(r,v),f=r,r=v,v=f,--s<0&&(s=this.DB-1,--g)}return o.revert(r)}function Gt(t){var e=this.s<0?this.negate():this.clone(),i=t.s<0?t.negate():t.clone();if(e.compareTo(i)<0){var n=e;e=i,i=n}var o=e.getLowestSetBit(),s=i.getLowestSetBit();if(s<0)return e;for(o<s&&(s=o),s>0&&(e.rShiftTo(s,e),i.rShiftTo(s,i));e.signum()>0;)(o=e.getLowestSetBit())>0&&e.rShiftTo(o,e),(o=i.getLowestSetBit())>0&&i.rShiftTo(o,i),e.compareTo(i)>=0?(e.subTo(i,e),e.rShiftTo(1,e)):(i.subTo(e,i),i.rShiftTo(1,i));return s>0&&i.lShiftTo(s,i),i}function Xt(t){if(t<=0)return 0;var e=this.DV%t,i=this.s<0?t-1:0;if(this.t>0)if(0==e)i=this[0]%t;else for(var n=this.t-1;n>=0;--n)i=(e*i+this[n])%t;return i}function Yt(t){var e=t.isEven();if(this.isEven()&&e||0==t.signum())return i.ZERO;for(var n=t.clone(),o=this.clone(),s=u(1),r=u(0),a=u(0),c=u(1);0!=n.signum();){for(;n.isEven();)n.rShiftTo(1,n),e?(s.isEven()&&r.isEven()||(s.addTo(this,s),r.subTo(t,r)),s.rShiftTo(1,s)):r.isEven()||r.subTo(t,r),r.rShiftTo(1,r);for(;o.isEven();)o.rShiftTo(1,o),e?(a.isEven()&&c.isEven()||(a.addTo(this,a),c.subTo(t,c)),a.rShiftTo(1,a)):c.isEven()||c.subTo(t,c),c.rShiftTo(1,c);n.compareTo(o)>=0?(n.subTo(o,n),e&&s.subTo(a,s),r.subTo(c,r)):(o.subTo(n,o),e&&a.subTo(s,a),c.subTo(r,c))}return 0!=o.compareTo(i.ONE)?i.ZERO:c.compareTo(t)>=0?c.subtract(t):c.signum()<0?(c.addTo(t,c),c.signum()<0?c.add(t):c):c}function Zt(t){var e,i=this.abs();if(1==i.t&&i[0]<=Je[Je.length-1]){for(e=0;e<Je.length;++e)if(i[0]==Je[e])return!0;return!1}if(i.isEven())return!1;for(e=1;e<Je.length;){for(var n=Je[e],o=e+1;o<Je.length&&n<Ie;)n*=Je[o++];for(n=i.modInt(n);e<o;)if(n%Je[e++]==0)return!1}return i.millerRabin(t)}function te(t){var e=this.subtract(i.ONE),o=e.getLowestSetBit();if(o<=0)return!1;var s=e.shiftRight(o);t=t+1>>1,t>Je.length&&(t=Je.length);for(var r=n(),a=0;a<t;++a){r.fromInt(Je[Math.floor(Math.random()*Je.length)]);var c=r.modPow(s,this);if(0!=c.compareTo(i.ONE)&&0!=c.compareTo(e)){for(var h=1;h++<o&&0!=c.compareTo(e);)if(c=c.modPowInt(2,this),0==c.compareTo(i.ONE))return!1;if(0!=c.compareTo(e))return!1}}return!0}function ee(){this.i=0,this.j=0,this.S=new Array}function ie(t){var e,i,n;for(e=0;e<256;++e)this.S[e]=e;for(i=0,e=0;e<256;++e)i=i+this.S[e]+t[e%t.length]&255,n=this.S[e],this.S[e]=this.S[i],this.S[i]=n;this.i=0,this.j=0}function ne(){var t;return this.i=this.i+1&255,this.j=this.j+this.S[this.i]&255,t=this.S[this.i],this.S[this.i]=this.S[this.j],this.S[this.j]=t,this.S[t+this.S[this.i]&255]}function oe(){return new ee}function se(){if(null==Ae){for(Ae=oe();Be<Oe;){var t=Math.floor(65536*Math.random());Ue[Be++]=255&t}for(Ae.init(Ue),Be=0;Be<Ue.length;++Be)Ue[Be]=0;Be=0}return Ae.next()}function re(t){var e;for(e=0;e<t.length;++e)t[e]=se()}function ae(){}function ce(t,e){return new i(t,e)}function he(t,e){if(e<t.length+11)return console.error("Message too long for RSA"),null;for(var n=new Array,o=t.length-1;o>=0&&e>0;){var s=t.charCodeAt(o--);s<128?n[--e]=s:s>127&&s<2048?(n[--e]=63&s|128,n[--e]=s>>6|192):(n[--e]=63&s|128,n[--e]=s>>6&63|128,n[--e]=s>>12|224)}n[--e]=0;for(var r=new ae,a=new Array;e>2;){for(a[0]=0;0==a[0];)r.nextBytes(a);n[--e]=a[0]}return n[--e]=2,n[--e]=0,new i(n)}function le(){this.n=null,this.e=0,this.d=null,this.p=null,this.q=null,this.dmp1=null,this.dmq1=null,this.coeff=null}function ue(t,e){null!=t&&null!=e&&t.length>0&&e.length>0?(this.n=ce(t,16),this.e=parseInt(e,16)):console.error("Invalid RSA public key")}function de(t){return t.modPowInt(this.e,this.n)}function pe(t){var e=he(t,this.n.bitLength()+7>>3);if(null==e)return null;var i=this.doPublic(e);if(null==i)return null;var n=i.toString(16);return 0==(1&n.length)?n:"0"+n}function fe(t,e){for(var i=t.toByteArray(),n=0;n<i.length&&0==i[n];)++n;if(i.length-n!=e-1||2!=i[n])return null;for(++n;0!=i[n];)if(++n>=i.length)return null;for(var o="";++n<i.length;){var s=255&i[n];s<128?o+=String.fromCharCode(s):s>191&&s<224?(o+=String.fromCharCode((31&s)<<6|63&i[n+1]),++n):(o+=String.fromCharCode((15&s)<<12|(63&i[n+1])<<6|63&i[n+2]),n+=2)}return o}function ge(t,e,i){null!=t&&null!=e&&t.length>0&&e.length>0?(this.n=ce(t,16),this.e=parseInt(e,16),this.d=ce(i,16)):console.error("Invalid RSA private key")}function me(t,e,i,n,o,s,r,a){null!=t&&null!=e&&t.length>0&&e.length>0?(this.n=ce(t,16),this.e=parseInt(e,16),this.d=ce(i,16),this.p=ce(n,16),this.q=ce(o,16),this.dmp1=ce(s,16),this.dmq1=ce(r,16),this.coeff=ce(a,16)):console.error("Invalid RSA private key")}function ve(t,e){var n=new ae,o=t>>1;this.e=parseInt(e,16);for(var s=new i(e,16);;){for(;this.p=new i(t-o,1,n),0!=this.p.subtract(i.ONE).gcd(s).compareTo(i.ONE)||!this.p.isProbablePrime(10););for(;this.q=new i(o,1,n),0!=this.q.subtract(i.ONE).gcd(s).compareTo(i.ONE)||!this.q.isProbablePrime(10););if(this.p.compareTo(this.q)<=0){var r=this.p;this.p=this.q,this.q=r}var a=this.p.subtract(i.ONE),c=this.q.subtract(i.ONE),h=a.multiply(c);if(0==h.gcd(s).compareTo(i.ONE)){this.n=this.p.multiply(this.q),this.d=s.modInverse(h),this.dmp1=this.d.mod(a),this.dmq1=this.d.mod(c),this.coeff=this.q.modInverse(this.p);break}}}function we(t){if(null==this.p||null==this.q)return t.modPow(this.d,this.n);for(var e=t.mod(this.p).modPow(this.dmp1,this.p),i=t.mod(this.q).modPow(this.dmq1,this.q);e.compareTo(i)<0;)e=e.add(this.p);return e.subtract(i).multiply(this.coeff).mod(this.p).multiply(this.q).add(i)}function be(t){var e=ce(t,16),i=this.doPrivate(e);return null==i?null:fe(i,this.n.bitLength()+7>>3)}function ye(t){var e,i,n="";for(e=0;e+3<=t.length;e+=3)i=parseInt(t.substring(e,e+3),16),n+=$e.charAt(i>>6)+$e.charAt(63&i);for(e+1==t.length?(i=parseInt(t.substring(e,e+1),16),n+=$e.charAt(i<<2)):e+2==t.length&&(i=parseInt(t.substring(e,e+2),16),n+=$e.charAt(i>>2)+$e.charAt((3&i)<<4));(3&n.length)>0;)n+=Ne;return n}function xe(t){var e,i,n="",o=0;for(e=0;e<t.length&&t.charAt(e)!=Ne;++e)v=$e.indexOf(t.charAt(e)),v<0||(0==o?(n+=a(v>>2),i=3&v,o=1):1==o?(n+=a(i<<2|v>>4),i=15&v,o=2):2==o?(n+=a(i),n+=a(v>>2),i=3&v,o=3):(n+=a(i<<2|v>>4),n+=a(15&v),o=0));return 1==o&&(n+=a(i<<2)),n}var Te,Se="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},_e=0xdeadbeefcafe,Ee=15715070==(16777215&_e);Ee&&"Microsoft Internet Explorer"==navigator.appName?(i.prototype.am=s,Te=30):Ee&&"Netscape"!=navigator.appName?(i.prototype.am=o,Te=26):(i.prototype.am=r,Te=28),i.prototype.DB=Te,i.prototype.DM=(1<<Te)-1,i.prototype.DV=1<<Te;var Re=52;i.prototype.FV=Math.pow(2,Re),i.prototype.F1=Re-Te,i.prototype.F2=2*Te-Re;var ke,Le,Ce="0123456789abcdefghijklmnopqrstuvwxyz",De=new Array;for(ke="0".charCodeAt(0),Le=0;Le<=9;++Le)De[ke++]=Le;for(ke="a".charCodeAt(0),Le=10;Le<36;++Le)De[ke++]=Le;for(ke="A".charCodeAt(0),Le=10;Le<36;++Le)De[ke++]=Le;D.prototype.convert=J,D.prototype.revert=I,D.prototype.reduce=A,D.prototype.mulTo=U,D.prototype.sqrTo=B,M.prototype.convert=q,M.prototype.revert=P,M.prototype.reduce=$,M.prototype.mulTo=K,M.prototype.sqrTo=N,i.prototype.copyTo=h,i.prototype.fromInt=l,i.prototype.fromString=d,i.prototype.clamp=p,i.prototype.dlShiftTo=x,i.prototype.drShiftTo=T,i.prototype.lShiftTo=S,i.prototype.rShiftTo=_,i.prototype.subTo=E,i.prototype.multiplyTo=R,i.prototype.squareTo=k,i.prototype.divRemTo=L,i.prototype.invDigit=O,i.prototype.isEven=V,i.prototype.exp=j,i.prototype.toString=f,i.prototype.negate=g,i.prototype.abs=m,i.prototype.compareTo=w,i.prototype.bitLength=y,i.prototype.mod=C,i.prototype.modPowInt=Q,i.ZERO=u(0),i.ONE=u(1),Ot.prototype.convert=Mt,Ot.prototype.revert=Mt,Ot.prototype.mulTo=qt,Ot.prototype.sqrTo=Pt,Vt.prototype.convert=jt,Vt.prototype.revert=Qt,Vt.prototype.reduce=Wt,Vt.prototype.mulTo=Ht,Vt.prototype.sqrTo=Ft;var Je=[2,3,5,7,11,13,17,19,23,29,31,37,41,43,47,53,59,61,67,71,73,79,83,89,97,101,103,107,109,113,127,131,137,139,149,151,157,163,167,173,179,181,191,193,197,199,211,223,227,229,233,239,241,251,257,263,269,271,277,281,283,293,307,311,313,317,331,337,347,349,353,359,367,373,379,383,389,397,401,409,419,421,431,433,439,443,449,457,461,463,467,479,487,491,499,503,509,521,523,541,547,557,563,569,571,577,587,593,599,601,607,613,617,619,631,641,643,647,653,659,661,673,677,683,691,701,709,719,727,733,739,743,751,757,761,769,773,787,797,809,811,821,823,827,829,839,853,857,859,863,877,881,883,887,907,911,919,929,937,941,947,953,967,971,977,983,991,997],Ie=(1<<26)/Je[Je.length-1];i.prototype.chunkSize=G,i.prototype.toRadix=Y,i.prototype.fromRadix=Z,i.prototype.fromNumber=tt,i.prototype.bitwiseTo=st,i.prototype.changeBit=Tt,i.prototype.addTo=Rt,i.prototype.dMultiply=Ut,i.prototype.dAddOffset=Bt,i.prototype.multiplyLowerTo=Nt,i.prototype.multiplyUpperTo=Kt,i.prototype.modInt=Xt,i.prototype.millerRabin=te,i.prototype.clone=W,i.prototype.intValue=F,i.prototype.byteValue=H,i.prototype.shortValue=z,i.prototype.signum=X,i.prototype.toByteArray=et,i.prototype.equals=it,i.prototype.min=nt,i.prototype.max=ot,i.prototype.and=at,i.prototype.or=ht,i.prototype.xor=ut,i.prototype.andNot=pt,i.prototype.not=ft,i.prototype.shiftLeft=gt,i.prototype.shiftRight=mt,i.prototype.getLowestSetBit=wt,i.prototype.bitCount=yt,i.prototype.testBit=xt,i.prototype.setBit=St,i.prototype.clearBit=_t,i.prototype.flipBit=Et,i.prototype.add=kt,i.prototype.subtract=Lt,i.prototype.multiply=Ct,i.prototype.divide=Jt,i.prototype.remainder=It,i.prototype.divideAndRemainder=At,i.prototype.modPow=zt,i.prototype.modInverse=Yt,i.prototype.pow=$t,i.prototype.gcd=Gt,i.prototype.isProbablePrime=Zt,i.prototype.square=Dt,ee.prototype.init=ie,ee.prototype.next=ne;var Ae,Ue,Be,Oe=256;if(null==Ue){Ue=new Array,Be=0;var Me;if(window.crypto&&window.crypto.getRandomValues){var qe=new Uint32Array(256);for(window.crypto.getRandomValues(qe),Me=0;Me<qe.length;++Me)Ue[Be++]=255&qe[Me]}var Pe=function t(e){if(this.count=this.count||0,this.count>=256||Be>=Oe)return void(window.removeEventListener?window.removeEventListener("mousemove",t,!1):window.detachEvent&&window.detachEvent("onmousemove",t));try{var i=e.x+e.y;Ue[Be++]=255&i,this.count+=1}catch(t){}};window.addEventListener?window.addEventListener("mousemove",Pe,!1):window.attachEvent&&window.attachEvent("onmousemove",Pe)}ae.prototype.nextBytes=re,le.prototype.doPublic=de,le.prototype.setPublic=ue,le.prototype.encrypt=pe,le.prototype.doPrivate=we,le.prototype.setPrivate=ge,le.prototype.setPrivateEx=me,le.prototype.generate=ve,le.prototype.decrypt=be,function(){var t=function(t,e,o){var s=new ae,r=t>>1;this.e=parseInt(e,16);var a=new i(e,16),c=this,h=function e(){var h=function(){if(c.p.compareTo(c.q)<=0){var t=c.p;c.p=c.q,c.q=t}var n=c.p.subtract(i.ONE),s=c.q.subtract(i.ONE),r=n.multiply(s);0==r.gcd(a).compareTo(i.ONE)?(c.n=c.p.multiply(c.q),c.d=a.modInverse(r),c.dmp1=c.d.mod(n),c.dmq1=c.d.mod(s),c.coeff=c.q.modInverse(c.p),setTimeout(function(){o()},0)):setTimeout(e,0)},l=function t(){c.q=n(),c.q.fromNumberAsync(r,1,s,function(){c.q.subtract(i.ONE).gcda(a,function(e){0==e.compareTo(i.ONE)&&c.q.isProbablePrime(10)?setTimeout(h,0):setTimeout(t,0)})})},u=function e(){c.p=n(),c.p.fromNumberAsync(t-r,1,s,function(){c.p.subtract(i.ONE).gcda(a,function(t){0==t.compareTo(i.ONE)&&c.p.isProbablePrime(10)?setTimeout(l,0):setTimeout(e,0)})})};setTimeout(u,0)};setTimeout(h,0)};le.prototype.generateAsync=t;var e=function(t,e){var i=this.s<0?this.negate():this.clone(),n=t.s<0?t.negate():t.clone();if(i.compareTo(n)<0){var o=i;i=n,n=o}var s=i.getLowestSetBit(),r=n.getLowestSetBit();if(r<0)return void e(i);s<r&&(r=s),r>0&&(i.rShiftTo(r,i),n.rShiftTo(r,n));var a=function t(){(s=i.getLowestSetBit())>0&&i.rShiftTo(s,i),(s=n.getLowestSetBit())>0&&n.rShiftTo(s,n),i.compareTo(n)>=0?(i.subTo(n,i),i.rShiftTo(1,i)):(n.subTo(i,n),n.rShiftTo(1,n)),i.signum()>0?setTimeout(t,0):(r>0&&n.lShiftTo(r,n),setTimeout(function(){e(n)},0))};setTimeout(a,10)};i.prototype.gcda=e;var o=function(t,e,n,o){if("number"==typeof e)if(t<2)this.fromInt(1);else{this.fromNumber(t,n),this.testBit(t-1)||this.bitwiseTo(i.ONE.shiftLeft(t-1),ct,this),this.isEven()&&this.dAddOffset(1,0);var s=this,r=function n(){s.dAddOffset(2,0),s.bitLength()>t&&s.subTo(i.ONE.shiftLeft(t-1),s),s.isProbablePrime(e)?setTimeout(function(){o()},0):setTimeout(n,0)};setTimeout(r,0)}else{var a=new Array,c=7&t;a.length=(t>>3)+1,e.nextBytes(a),c>0?a[0]&=(1<<c)-1:a[0]=0,this.fromString(a,256)}};i.prototype.fromNumberAsync=o}();var $e="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",Ne="=",Ke=Ke||{};Ke.env=Ke.env||{};var Ve=Ke,je=Object.prototype,Qe="[object Function]",We=["toString","valueOf"];Ke.env.parseUA=function(t){var e,i=function(t){var e=0;return parseFloat(t.replace(/\./g,function(){return 1==e++?"":"."}))},n=navigator,o={ie:0,opera:0,gecko:0,webkit:0,chrome:0,mobile:null,air:0,ipad:0,iphone:0,ipod:0,ios:null,android:0,webos:0,caja:n&&n.cajaVersion,secure:!1,os:null},s=t||navigator&&navigator.userAgent,r=window&&window.location,a=r&&r.href;return o.secure=a&&0===a.toLowerCase().indexOf("https"),s&&(/windows|win32/i.test(s)?o.os="windows":/macintosh/i.test(s)?o.os="macintosh":/rhino/i.test(s)&&(o.os="rhino"),/KHTML/.test(s)&&(o.webkit=1),e=s.match(/AppleWebKit\/([^\s]*)/),e&&e[1]&&(o.webkit=i(e[1]),/ Mobile\//.test(s)?(o.mobile="Apple",e=s.match(/OS ([^\s]*)/),e&&e[1]&&(e=i(e[1].replace("_","."))),o.ios=e,o.ipad=o.ipod=o.iphone=0,e=s.match(/iPad|iPod|iPhone/),e&&e[0]&&(o[e[0].toLowerCase()]=o.ios)):(e=s.match(/NokiaN[^\/]*|Android \d\.\d|webOS\/\d\.\d/),e&&(o.mobile=e[0]),/webOS/.test(s)&&(o.mobile="WebOS",e=s.match(/webOS\/([^\s]*);/),e&&e[1]&&(o.webos=i(e[1]))),/ Android/.test(s)&&(o.mobile="Android",e=s.match(/Android ([^\s]*);/),e&&e[1]&&(o.android=i(e[1])))),e=s.match(/Chrome\/([^\s]*)/),e&&e[1]?o.chrome=i(e[1]):(e=s.match(/AdobeAIR\/([^\s]*)/),e&&(o.air=e[0]))),o.webkit||(e=s.match(/Opera[\s\/]([^\s]*)/),e&&e[1]?(o.opera=i(e[1]),e=s.match(/Version\/([^\s]*)/),e&&e[1]&&(o.opera=i(e[1])),e=s.match(/Opera Mini[^;]*/),e&&(o.mobile=e[0])):(e=s.match(/MSIE\s([^;]*)/),e&&e[1]?o.ie=i(e[1]):(e=s.match(/Gecko\/([^\s]*)/),e&&(o.gecko=1,e=s.match(/rv:([^\s\)]*)/),e&&e[1]&&(o.gecko=i(e[1]))))))),o},Ke.env.ua=Ke.env.parseUA(),Ke.isFunction=function(t){return"function"==typeof t||je.toString.apply(t)===Qe},Ke._IEEnumFix=Ke.env.ua.ie?function(t,e){var i,n,o;for(i=0;i<We.length;i+=1)n=We[i],o=e[n],Ve.isFunction(o)&&o!=je[n]&&(t[n]=o)}:function(){},Ke.extend=function(t,e,i){if(!e||!t)throw new Error("extend failed, please check that all dependencies are included.");var n,o=function(){};if(o.prototype=e.prototype,t.prototype=new o,t.prototype.constructor=t,t.superclass=e.prototype,e.prototype.constructor==je.constructor&&(e.prototype.constructor=e),i){for(n in i)Ve.hasOwnProperty(i,n)&&(t.prototype[n]=i[n]);Ve._IEEnumFix(t.prototype,i)}},/**
|
|
* @fileOverview
|
|
* @name asn1-1.0.js
|
|
* @author Kenji Urushima kenji.urushima@gmail.com
|
|
* @version 1.0.2 (2013-May-30)
|
|
* @since 2.1
|
|
* @license <a href="http://kjur.github.io/jsrsasign/license/">MIT License</a>
|
|
*/
|
|
"undefined"!=typeof KJUR&&window.KJUR||(window.KJUR={}),"undefined"!=typeof KJUR.asn1&&KJUR.asn1||(KJUR.asn1={}),KJUR.asn1.ASN1Util=new function(){this.integerToByteHex=function(t){var e=t.toString(16);return e.length%2==1&&(e="0"+e),e},this.bigIntToMinTwosComplementsHex=function(t){var e=t.toString(16);if("-"!=e.substr(0,1))e.length%2==1?e="0"+e:e.match(/^[0-7]/)||(e="00"+e);else{var n=e.substr(1),o=n.length;o%2==1?o+=1:e.match(/^[0-7]/)||(o+=2);for(var s="",r=0;r<o;r++)s+="f";var a=new i(s,16),c=a.xor(t).add(i.ONE);e=c.toString(16).replace(/^-/,"")}return e},this.getPEMStringFromHex=function(t,e){var i=CryptoJS.enc.Hex.parse(t),n=CryptoJS.enc.Base64.stringify(i),o=n.replace(/(.{64})/g,"$1\r\n");return o=o.replace(/\r\n$/,""),"-----BEGIN "+e+"-----\r\n"+o+"\r\n-----END "+e+"-----\r\n"}},KJUR.asn1.ASN1Object=function(){var t="";this.getLengthHexFromValue=function(){if("undefined"==typeof this.hV||null==this.hV)throw"this.hV is null or undefined.";if(this.hV.length%2==1)throw"value hex must be even length: n="+t.length+",v="+this.hV;var e=this.hV.length/2,i=e.toString(16);if(i.length%2==1&&(i="0"+i),e<128)return i;var n=i.length/2;if(n>15)throw"ASN.1 length too long to represent by 8x: n = "+e.toString(16);var o=128+n;return o.toString(16)+i},this.getEncodedHex=function(){return(null==this.hTLV||this.isModified)&&(this.hV=this.getFreshValueHex(),this.hL=this.getLengthHexFromValue(),this.hTLV=this.hT+this.hL+this.hV,this.isModified=!1),this.hTLV},this.getValueHex=function(){return this.getEncodedHex(),this.hV},this.getFreshValueHex=function(){return""}},KJUR.asn1.DERAbstractString=function(t){KJUR.asn1.DERAbstractString.superclass.constructor.call(this);this.getString=function(){return this.s},this.setString=function(t){this.hTLV=null,this.isModified=!0,this.s=t,this.hV=stohex(this.s)},this.setStringHex=function(t){this.hTLV=null,this.isModified=!0,this.s=null,this.hV=t},this.getFreshValueHex=function(){return this.hV},"undefined"!=typeof t&&("undefined"!=typeof t.str?this.setString(t.str):"undefined"!=typeof t.hex&&this.setStringHex(t.hex))},Ke.extend(KJUR.asn1.DERAbstractString,KJUR.asn1.ASN1Object),KJUR.asn1.DERAbstractTime=function(t){KJUR.asn1.DERAbstractTime.superclass.constructor.call(this);this.localDateToUTC=function(t){utc=t.getTime()+6e4*t.getTimezoneOffset();var e=new Date(utc);return e},this.formatDate=function(t,e){var i=this.zeroPadding,n=this.localDateToUTC(t),o=String(n.getFullYear());"utc"==e&&(o=o.substr(2,2));var s=i(String(n.getMonth()+1),2),r=i(String(n.getDate()),2),a=i(String(n.getHours()),2),c=i(String(n.getMinutes()),2),h=i(String(n.getSeconds()),2);return o+s+r+a+c+h+"Z"},this.zeroPadding=function(t,e){return t.length>=e?t:new Array(e-t.length+1).join("0")+t},this.getString=function(){return this.s},this.setString=function(t){this.hTLV=null,this.isModified=!0,this.s=t,this.hV=stohex(this.s)},this.setByDateValue=function(t,e,i,n,o,s){var r=new Date(Date.UTC(t,e-1,i,n,o,s,0));this.setByDate(r)},this.getFreshValueHex=function(){return this.hV}},Ke.extend(KJUR.asn1.DERAbstractTime,KJUR.asn1.ASN1Object),KJUR.asn1.DERAbstractStructured=function(t){KJUR.asn1.DERAbstractString.superclass.constructor.call(this);this.setByASN1ObjectArray=function(t){this.hTLV=null,this.isModified=!0,this.asn1Array=t},this.appendASN1Object=function(t){this.hTLV=null,this.isModified=!0,this.asn1Array.push(t)},this.asn1Array=new Array,"undefined"!=typeof t&&"undefined"!=typeof t.array&&(this.asn1Array=t.array)},Ke.extend(KJUR.asn1.DERAbstractStructured,KJUR.asn1.ASN1Object),KJUR.asn1.DERBoolean=function(){KJUR.asn1.DERBoolean.superclass.constructor.call(this),this.hT="01",this.hTLV="0101ff"},Ke.extend(KJUR.asn1.DERBoolean,KJUR.asn1.ASN1Object),KJUR.asn1.DERInteger=function(t){KJUR.asn1.DERInteger.superclass.constructor.call(this),this.hT="02",this.setByBigInteger=function(t){this.hTLV=null,this.isModified=!0,this.hV=KJUR.asn1.ASN1Util.bigIntToMinTwosComplementsHex(t)},this.setByInteger=function(t){var e=new i(String(t),10);this.setByBigInteger(e)},this.setValueHex=function(t){this.hV=t},this.getFreshValueHex=function(){return this.hV},"undefined"!=typeof t&&("undefined"!=typeof t.bigint?this.setByBigInteger(t.bigint):"undefined"!=typeof t.int?this.setByInteger(t.int):"undefined"!=typeof t.hex&&this.setValueHex(t.hex))},Ke.extend(KJUR.asn1.DERInteger,KJUR.asn1.ASN1Object),KJUR.asn1.DERBitString=function(t){KJUR.asn1.DERBitString.superclass.constructor.call(this),this.hT="03",this.setHexValueIncludingUnusedBits=function(t){this.hTLV=null,this.isModified=!0,this.hV=t},this.setUnusedBitsAndHexValue=function(t,e){if(t<0||7<t)throw"unused bits shall be from 0 to 7: u = "+t;var i="0"+t;this.hTLV=null,this.isModified=!0,this.hV=i+e},this.setByBinaryString=function(t){t=t.replace(/0+$/,"");var e=8-t.length%8;8==e&&(e=0);for(var i=0;i<=e;i++)t+="0";for(var n="",i=0;i<t.length-1;i+=8){var o=t.substr(i,8),s=parseInt(o,2).toString(16);1==s.length&&(s="0"+s),n+=s}this.hTLV=null,this.isModified=!0,this.hV="0"+e+n},this.setByBooleanArray=function(t){for(var e="",i=0;i<t.length;i++)e+=1==t[i]?"1":"0";this.setByBinaryString(e)},this.newFalseArray=function(t){for(var e=new Array(t),i=0;i<t;i++)e[i]=!1;return e},this.getFreshValueHex=function(){return this.hV},"undefined"!=typeof t&&("undefined"!=typeof t.hex?this.setHexValueIncludingUnusedBits(t.hex):"undefined"!=typeof t.bin?this.setByBinaryString(t.bin):"undefined"!=typeof t.array&&this.setByBooleanArray(t.array))},Ke.extend(KJUR.asn1.DERBitString,KJUR.asn1.ASN1Object),KJUR.asn1.DEROctetString=function(t){KJUR.asn1.DEROctetString.superclass.constructor.call(this,t),this.hT="04"},Ke.extend(KJUR.asn1.DEROctetString,KJUR.asn1.DERAbstractString),KJUR.asn1.DERNull=function(){KJUR.asn1.DERNull.superclass.constructor.call(this),this.hT="05",this.hTLV="0500"},Ke.extend(KJUR.asn1.DERNull,KJUR.asn1.ASN1Object),KJUR.asn1.DERObjectIdentifier=function(t){var e=function(t){var e=t.toString(16);return 1==e.length&&(e="0"+e),e},n=function(t){var n="",o=new i(t,10),s=o.toString(2),r=7-s.length%7;7==r&&(r=0);for(var a="",c=0;c<r;c++)a+="0";s=a+s;for(var c=0;c<s.length-1;c+=7){var h=s.substr(c,7);c!=s.length-7&&(h="1"+h),n+=e(parseInt(h,2))}return n};KJUR.asn1.DERObjectIdentifier.superclass.constructor.call(this),this.hT="06",this.setValueHex=function(t){this.hTLV=null,this.isModified=!0,this.s=null,this.hV=t},this.setValueOidString=function(t){if(!t.match(/^[0-9.]+$/))throw"malformed oid string: "+t;var i="",o=t.split("."),s=40*parseInt(o[0])+parseInt(o[1]);i+=e(s),o.splice(0,2);for(var r=0;r<o.length;r++)i+=n(o[r]);this.hTLV=null,this.isModified=!0,this.s=null,this.hV=i},this.setValueName=function(t){if("undefined"==typeof KJUR.asn1.x509.OID.name2oidList[t])throw"DERObjectIdentifier oidName undefined: "+t;var e=KJUR.asn1.x509.OID.name2oidList[t];this.setValueOidString(e)},this.getFreshValueHex=function(){return this.hV},"undefined"!=typeof t&&("undefined"!=typeof t.oid?this.setValueOidString(t.oid):"undefined"!=typeof t.hex?this.setValueHex(t.hex):"undefined"!=typeof t.name&&this.setValueName(t.name))},Ke.extend(KJUR.asn1.DERObjectIdentifier,KJUR.asn1.ASN1Object),KJUR.asn1.DERUTF8String=function(t){KJUR.asn1.DERUTF8String.superclass.constructor.call(this,t),this.hT="0c"},Ke.extend(KJUR.asn1.DERUTF8String,KJUR.asn1.DERAbstractString),KJUR.asn1.DERNumericString=function(t){KJUR.asn1.DERNumericString.superclass.constructor.call(this,t),this.hT="12"},Ke.extend(KJUR.asn1.DERNumericString,KJUR.asn1.DERAbstractString),KJUR.asn1.DERPrintableString=function(t){KJUR.asn1.DERPrintableString.superclass.constructor.call(this,t),this.hT="13"},Ke.extend(KJUR.asn1.DERPrintableString,KJUR.asn1.DERAbstractString),KJUR.asn1.DERTeletexString=function(t){KJUR.asn1.DERTeletexString.superclass.constructor.call(this,t),this.hT="14"},Ke.extend(KJUR.asn1.DERTeletexString,KJUR.asn1.DERAbstractString),KJUR.asn1.DERIA5String=function(t){KJUR.asn1.DERIA5String.superclass.constructor.call(this,t),this.hT="16"},Ke.extend(KJUR.asn1.DERIA5String,KJUR.asn1.DERAbstractString),KJUR.asn1.DERUTCTime=function(t){KJUR.asn1.DERUTCTime.superclass.constructor.call(this,t),this.hT="17",this.setByDate=function(t){this.hTLV=null,this.isModified=!0,this.date=t,this.s=this.formatDate(this.date,"utc"),this.hV=stohex(this.s)},"undefined"!=typeof t&&("undefined"!=typeof t.str?this.setString(t.str):"undefined"!=typeof t.hex?this.setStringHex(t.hex):"undefined"!=typeof t.date&&this.setByDate(t.date))},Ke.extend(KJUR.asn1.DERUTCTime,KJUR.asn1.DERAbstractTime),KJUR.asn1.DERGeneralizedTime=function(t){KJUR.asn1.DERGeneralizedTime.superclass.constructor.call(this,t),this.hT="18",this.setByDate=function(t){this.hTLV=null,this.isModified=!0,this.date=t,this.s=this.formatDate(this.date,"gen"),this.hV=stohex(this.s)},"undefined"!=typeof t&&("undefined"!=typeof t.str?this.setString(t.str):"undefined"!=typeof t.hex?this.setStringHex(t.hex):"undefined"!=typeof t.date&&this.setByDate(t.date))},Ke.extend(KJUR.asn1.DERGeneralizedTime,KJUR.asn1.DERAbstractTime),KJUR.asn1.DERSequence=function(t){KJUR.asn1.DERSequence.superclass.constructor.call(this,t),this.hT="30",this.getFreshValueHex=function(){for(var t="",e=0;e<this.asn1Array.length;e++){var i=this.asn1Array[e];t+=i.getEncodedHex()}return this.hV=t,this.hV}},Ke.extend(KJUR.asn1.DERSequence,KJUR.asn1.DERAbstractStructured),KJUR.asn1.DERSet=function(t){KJUR.asn1.DERSet.superclass.constructor.call(this,t),this.hT="31",this.getFreshValueHex=function(){for(var t=new Array,e=0;e<this.asn1Array.length;e++){var i=this.asn1Array[e];t.push(i.getEncodedHex())}return t.sort(),this.hV=t.join(""),this.hV}},Ke.extend(KJUR.asn1.DERSet,KJUR.asn1.DERAbstractStructured),KJUR.asn1.DERTaggedObject=function(t){KJUR.asn1.DERTaggedObject.superclass.constructor.call(this),this.hT="a0",this.hV="",this.isExplicit=!0,this.asn1Object=null,this.setASN1Object=function(t,e,i){this.hT=e,this.isExplicit=t,this.asn1Object=i,this.isExplicit?(this.hV=this.asn1Object.getEncodedHex(),this.hTLV=null,this.isModified=!0):(this.hV=null,this.hTLV=i.getEncodedHex(),this.hTLV=this.hTLV.replace(/^../,e),this.isModified=!1)},this.getFreshValueHex=function(){return this.hV},"undefined"!=typeof t&&("undefined"!=typeof t.tag&&(this.hT=t.tag),"undefined"!=typeof t.explicit&&(this.isExplicit=t.explicit),"undefined"!=typeof t.obj&&(this.asn1Object=t.obj,this.setASN1Object(this.isExplicit,this.hT,this.asn1Object)))},Ke.extend(KJUR.asn1.DERTaggedObject,KJUR.asn1.ASN1Object),function(t){var e,i={};i.decode=function(i){var n;if(e===t){var o="0123456789ABCDEF",s=" \f\n\r\t\xa0\u2028\u2029";for(e=[],n=0;n<16;++n)e[o.charAt(n)]=n;for(o=o.toLowerCase(),n=10;n<16;++n)e[o.charAt(n)]=n;for(n=0;n<s.length;++n)e[s.charAt(n)]=-1}var r=[],a=0,c=0;for(n=0;n<i.length;++n){var h=i.charAt(n);if("="==h)break;if(h=e[h],h!=-1){if(h===t)throw"Illegal character at offset "+n;a|=h,++c>=2?(r[r.length]=a,a=0,c=0):a<<=4}}if(c)throw"Hex encoding incomplete: 4 bits missing";return r},window.Hex=i}(),function(t){var e,i={};i.decode=function(i){var n;if(e===t){var o="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",s="= \f\n\r\t\xa0\u2028\u2029";for(e=[],n=0;n<64;++n)e[o.charAt(n)]=n;for(n=0;n<s.length;++n)e[s.charAt(n)]=-1}var r=[],a=0,c=0;for(n=0;n<i.length;++n){var h=i.charAt(n);if("="==h)break;if(h=e[h],h!=-1){if(h===t)throw"Illegal character at offset "+n;a|=h,++c>=4?(r[r.length]=a>>16,r[r.length]=a>>8&255,r[r.length]=255&a,a=0,c=0):a<<=6}}switch(c){case 1:throw"Base64 encoding incomplete: at least 2 bits missing";case 2:r[r.length]=a>>10;break;case 3:r[r.length]=a>>16,r[r.length]=a>>8&255}return r},i.re=/-----BEGIN [^-]+-----([A-Za-z0-9+\/=\s]+)-----END [^-]+-----|begin-base64[^\n]+\n([A-Za-z0-9+\/=\s]+)====/,i.unarmor=function(t){var e=i.re.exec(t);if(e)if(e[1])t=e[1];else{if(!e[2])throw"RegExp out of sync";t=e[2]}return i.decode(t)},window.Base64=i}(),function(t){function e(t,i){t instanceof e?(this.enc=t.enc,this.pos=t.pos):(this.enc=t,this.pos=i)}function i(t,e,i,n,o){this.stream=t,this.header=e,this.length=i,this.tag=n,this.sub=o}var n=100,o="\u2026",s={tag:function(t,e){var i=document.createElement(t);return i.className=e,i},text:function(t){return document.createTextNode(t)}};e.prototype.get=function(e){if(e===t&&(e=this.pos++),e>=this.enc.length)throw"Requesting byte offset "+e+" on a stream of length "+this.enc.length;return this.enc[e]},e.prototype.hexDigits="0123456789ABCDEF",e.prototype.hexByte=function(t){return this.hexDigits.charAt(t>>4&15)+this.hexDigits.charAt(15&t)},e.prototype.hexDump=function(t,e,i){for(var n="",o=t;o<e;++o)if(n+=this.hexByte(this.get(o)),i!==!0)switch(15&o){case 7:n+=" ";break;case 15:n+="\n";break;default:n+=" "}return n},e.prototype.parseStringISO=function(t,e){for(var i="",n=t;n<e;++n)i+=String.fromCharCode(this.get(n));return i},e.prototype.parseStringUTF=function(t,e){for(var i="",n=t;n<e;){var o=this.get(n++);i+=o<128?String.fromCharCode(o):o>191&&o<224?String.fromCharCode((31&o)<<6|63&this.get(n++)):String.fromCharCode((15&o)<<12|(63&this.get(n++))<<6|63&this.get(n++))}return i},e.prototype.parseStringBMP=function(t,e){for(var i="",n=t;n<e;n+=2){var o=this.get(n),s=this.get(n+1);i+=String.fromCharCode((o<<8)+s)}return i},e.prototype.reTime=/^((?:1[89]|2\d)?\d\d)(0[1-9]|1[0-2])(0[1-9]|[12]\d|3[01])([01]\d|2[0-3])(?:([0-5]\d)(?:([0-5]\d)(?:[.,](\d{1,3}))?)?)?(Z|[-+](?:[0]\d|1[0-2])([0-5]\d)?)?$/,e.prototype.parseTime=function(t,e){var i=this.parseStringISO(t,e),n=this.reTime.exec(i);return n?(i=n[1]+"-"+n[2]+"-"+n[3]+" "+n[4],n[5]&&(i+=":"+n[5],n[6]&&(i+=":"+n[6],n[7]&&(i+="."+n[7]))),n[8]&&(i+=" UTC","Z"!=n[8]&&(i+=n[8],n[9]&&(i+=":"+n[9]))),i):"Unrecognized time: "+i},e.prototype.parseInteger=function(t,e){var i=e-t;if(i>4){i<<=3;var n=this.get(t);if(0===n)i-=8;else for(;n<128;)n<<=1,--i;return"("+i+" bit)"}for(var o=0,s=t;s<e;++s)o=o<<8|this.get(s);return o},e.prototype.parseBitString=function(t,e){var i=this.get(t),n=(e-t-1<<3)-i,o="("+n+" bit)";if(n<=20){var s=i;o+=" ";for(var r=e-1;r>t;--r){for(var a=this.get(r),c=s;c<8;++c)o+=a>>c&1?"1":"0";s=0}}return o},e.prototype.parseOctetString=function(t,e){var i=e-t,s="("+i+" byte) ";i>n&&(e=t+n);for(var r=t;r<e;++r)s+=this.hexByte(this.get(r));return i>n&&(s+=o),s},e.prototype.parseOID=function(t,e){for(var i="",n=0,o=0,s=t;s<e;++s){var r=this.get(s);if(n=n<<7|127&r,o+=7,!(128&r)){if(""===i){var a=n<80?n<40?0:1:2;i=a+"."+(n-40*a)}else i+="."+(o>=31?"bigint":n);n=o=0}}return i},i.prototype.typeName=function(){if(this.tag===t)return"unknown";var e=this.tag>>6,i=(this.tag>>5&1,31&this.tag);switch(e){case 0:switch(i){case 0:return"EOC";case 1:return"BOOLEAN";case 2:return"INTEGER";case 3:return"BIT_STRING";case 4:return"OCTET_STRING";case 5:return"NULL";case 6:return"OBJECT_IDENTIFIER";case 7:return"ObjectDescriptor";case 8:return"EXTERNAL";case 9:return"REAL";case 10:return"ENUMERATED";case 11:return"EMBEDDED_PDV";case 12:return"UTF8String";case 16:return"SEQUENCE";case 17:return"SET";case 18:return"NumericString";case 19:return"PrintableString";case 20:return"TeletexString";case 21:return"VideotexString";case 22:return"IA5String";case 23:return"UTCTime";case 24:return"GeneralizedTime";case 25:return"GraphicString";case 26:return"VisibleString";case 27:return"GeneralString";case 28:return"UniversalString";case 30:return"BMPString";default:return"Universal_"+i.toString(16)}case 1:return"Application_"+i.toString(16);case 2:return"["+i+"]";case 3:return"Private_"+i.toString(16)}},i.prototype.reSeemsASCII=/^[ -~]+$/,i.prototype.content=function(){if(this.tag===t)return null;var e=this.tag>>6,i=31&this.tag,s=this.posContent(),r=Math.abs(this.length);if(0!==e){if(null!==this.sub)return"("+this.sub.length+" elem)";var a=this.stream.parseStringISO(s,s+Math.min(r,n));return this.reSeemsASCII.test(a)?a.substring(0,2*n)+(a.length>2*n?o:""):this.stream.parseOctetString(s,s+r)}switch(i){case 1:return 0===this.stream.get(s)?"false":"true";case 2:return this.stream.parseInteger(s,s+r);case 3:return this.sub?"("+this.sub.length+" elem)":this.stream.parseBitString(s,s+r);case 4:return this.sub?"("+this.sub.length+" elem)":this.stream.parseOctetString(s,s+r);case 6:return this.stream.parseOID(s,s+r);case 16:case 17:return"("+this.sub.length+" elem)";case 12:return this.stream.parseStringUTF(s,s+r);case 18:case 19:case 20:case 21:case 22:case 26:return this.stream.parseStringISO(s,s+r);case 30:return this.stream.parseStringBMP(s,s+r);case 23:case 24:return this.stream.parseTime(s,s+r)}return null},i.prototype.toString=function(){return this.typeName()+"@"+this.stream.pos+"[header:"+this.header+",length:"+this.length+",sub:"+(null===this.sub?"null":this.sub.length)+"]"},i.prototype.print=function(e){if(e===t&&(e=""),document.writeln(e+this),null!==this.sub){e+=" ";for(var i=0,n=this.sub.length;i<n;++i)this.sub[i].print(e)}},i.prototype.toPrettyString=function(e){e===t&&(e="");var i=e+this.typeName()+" @"+this.stream.pos;if(this.length>=0&&(i+="+"),i+=this.length,32&this.tag?i+=" (constructed)":3!=this.tag&&4!=this.tag||null===this.sub||(i+=" (encapsulates)"),i+="\n",null!==this.sub){e+=" ";for(var n=0,o=this.sub.length;n<o;++n)i+=this.sub[n].toPrettyString(e)}return i},i.prototype.toDOM=function(){var t=s.tag("div","node");t.asn1=this;var e=s.tag("div","head"),i=this.typeName().replace(/_/g," ");e.innerHTML=i;var n=this.content();if(null!==n){n=String(n).replace(/</g,"<");var o=s.tag("span","preview");o.appendChild(s.text(n)),e.appendChild(o)}t.appendChild(e),this.node=t,this.head=e;var r=s.tag("div","value");if(i="Offset: "+this.stream.pos+"<br/>",i+="Length: "+this.header+"+",i+=this.length>=0?this.length:-this.length+" (undefined)",32&this.tag?i+="<br/>(constructed)":3!=this.tag&&4!=this.tag||null===this.sub||(i+="<br/>(encapsulates)"),null!==n&&(i+="<br/>Value:<br/><b>"+n+"</b>","object"===("undefined"==typeof oids?"undefined":Se(oids))&&6==this.tag)){var a=oids[n];a&&(a.d&&(i+="<br/>"+a.d),a.c&&(i+="<br/>"+a.c),a.w&&(i+="<br/>(warning!)"))}r.innerHTML=i,t.appendChild(r);var c=s.tag("div","sub");if(null!==this.sub)for(var h=0,l=this.sub.length;h<l;++h)c.appendChild(this.sub[h].toDOM());return t.appendChild(c),e.onclick=function(){t.className="node collapsed"==t.className?"node":"node collapsed"},t},i.prototype.posStart=function(){return this.stream.pos},i.prototype.posContent=function(){return this.stream.pos+this.header},i.prototype.posEnd=function(){return this.stream.pos+this.header+Math.abs(this.length)},i.prototype.fakeHover=function(t){this.node.className+=" hover",t&&(this.head.className+=" hover")},i.prototype.fakeOut=function(t){var e=/ ?hover/;this.node.className=this.node.className.replace(e,""),t&&(this.head.className=this.head.className.replace(e,""))},i.prototype.toHexDOM_sub=function(t,e,i,n,o){if(!(n>=o)){var r=s.tag("span",e);r.appendChild(s.text(i.hexDump(n,o))),t.appendChild(r)}},i.prototype.toHexDOM=function(e){var i=s.tag("span","hex");if(e===t&&(e=i),this.head.hexNode=i,this.head.onmouseover=function(){this.hexNode.className="hexCurrent"},this.head.onmouseout=function(){this.hexNode.className="hex"},i.asn1=this,i.onmouseover=function(){var t=!e.selected;t&&(e.selected=this.asn1,this.className="hexCurrent"),this.asn1.fakeHover(t)},i.onmouseout=function(){var t=e.selected==this.asn1;this.asn1.fakeOut(t),t&&(e.selected=null,this.className="hex")},this.toHexDOM_sub(i,"tag",this.stream,this.posStart(),this.posStart()+1),this.toHexDOM_sub(i,this.length>=0?"dlen":"ulen",this.stream,this.posStart()+1,this.posContent()),null===this.sub)i.appendChild(s.text(this.stream.hexDump(this.posContent(),this.posEnd())));else if(this.sub.length>0){var n=this.sub[0],o=this.sub[this.sub.length-1];this.toHexDOM_sub(i,"intro",this.stream,this.posContent(),n.posStart());for(var r=0,a=this.sub.length;r<a;++r)i.appendChild(this.sub[r].toHexDOM(e));this.toHexDOM_sub(i,"outro",this.stream,o.posEnd(),this.posEnd())}return i},i.prototype.toHexString=function(t){return this.stream.hexDump(this.posStart(),this.posEnd(),!0)},i.decodeLength=function(t){var e=t.get(),i=127&e;if(i==e)return i;if(i>3)throw"Length over 24 bits not supported at position "+(t.pos-1);if(0===i)return-1;e=0;for(var n=0;n<i;++n)e=e<<8|t.get();return e},i.hasContent=function(t,n,o){if(32&t)return!0;if(t<3||t>4)return!1;var s=new e(o);3==t&&s.get();var r=s.get();if(r>>6&1)return!1;try{var a=i.decodeLength(s);return s.pos-o.pos+a==n}catch(t){return!1}},i.decode=function(t){t instanceof e||(t=new e(t,0));var n=new e(t),o=t.get(),s=i.decodeLength(t),r=t.pos-n.pos,a=null;if(i.hasContent(o,s,t)){var c=t.pos;if(3==o&&t.get(),a=[],s>=0){for(var h=c+s;t.pos<h;)a[a.length]=i.decode(t);if(t.pos!=h)throw"Content size is not correct for container starting at offset "+c}else try{for(;;){var l=i.decode(t);if(0===l.tag)break;a[a.length]=l}s=c-t.pos}catch(t){throw"Exception while decoding undefined length content: "+t}}else t.pos+=s;return new i(n,r,s,o,a)},i.test=function(){for(var t=[{value:[39],expected:39},{value:[129,201],expected:201},{value:[131,254,220,186],expected:16702650}],n=0,o=t.length;n<o;++n){var s=new e(t[n].value,0),r=i.decodeLength(s);r!=t[n].expected&&document.write("In test["+n+"] expected "+t[n].expected+" got "+r+"\n")}},window.ASN1=i}(),ASN1.prototype.getHexStringValue=function(){var t=this.toHexString(),e=2*this.header,i=2*this.length;return t.substr(e,i)},le.prototype.parseKey=function(t){try{var e=0,i=0,n=/^\s*(?:[0-9A-Fa-f][0-9A-Fa-f]\s*)+$/,o=n.test(t)?Hex.decode(t):Base64.unarmor(t),s=ASN1.decode(o);if(3===s.sub.length&&(s=s.sub[2].sub[0]),9===s.sub.length){e=s.sub[1].getHexStringValue(),this.n=ce(e,16),i=s.sub[2].getHexStringValue(),this.e=parseInt(i,16);var r=s.sub[3].getHexStringValue();this.d=ce(r,16);var a=s.sub[4].getHexStringValue();this.p=ce(a,16);var c=s.sub[5].getHexStringValue();this.q=ce(c,16);var h=s.sub[6].getHexStringValue();this.dmp1=ce(h,16);var l=s.sub[7].getHexStringValue();this.dmq1=ce(l,16);var u=s.sub[8].getHexStringValue();this.coeff=ce(u,16)}else{if(2!==s.sub.length)return!1;var d=s.sub[1],p=d.sub[0];e=p.sub[0].getHexStringValue(),this.n=ce(e,16),i=p.sub[1].getHexStringValue(),this.e=parseInt(i,16)}return!0}catch(t){return!1}},le.prototype.getPrivateBaseKey=function(){var t={array:[new KJUR.asn1.DERInteger({int:0}),new KJUR.asn1.DERInteger({bigint:this.n}),new KJUR.asn1.DERInteger({int:this.e}),new KJUR.asn1.DERInteger({bigint:this.d}),new KJUR.asn1.DERInteger({bigint:this.p}),new KJUR.asn1.DERInteger({bigint:this.q}),new KJUR.asn1.DERInteger({bigint:this.dmp1}),new KJUR.asn1.DERInteger({bigint:this.dmq1}),new KJUR.asn1.DERInteger({bigint:this.coeff})]},e=new KJUR.asn1.DERSequence(t);return e.getEncodedHex()},le.prototype.getPrivateBaseKeyB64=function(){return ye(this.getPrivateBaseKey())},le.prototype.getPublicBaseKey=function(){var t={array:[new KJUR.asn1.DERObjectIdentifier({oid:"1.2.840.113549.1.1.1"}),new KJUR.asn1.DERNull]},e=new KJUR.asn1.DERSequence(t);t={array:[new KJUR.asn1.DERInteger({bigint:this.n}),new KJUR.asn1.DERInteger({int:this.e})]};var i=new KJUR.asn1.DERSequence(t);t={hex:"00"+i.getEncodedHex()};var n=new KJUR.asn1.DERBitString(t);t={array:[e,n]};var o=new KJUR.asn1.DERSequence(t);return o.getEncodedHex()},le.prototype.getPublicBaseKeyB64=function(){return ye(this.getPublicBaseKey())},le.prototype.wordwrap=function(t,e){if(e=e||64,!t)return t;var i="(.{1,"+e+"})( +|$\n?)|(.{1,"+e+"})";return t.match(RegExp(i,"g")).join("\n")},le.prototype.getPrivateKey=function(){var t="-----BEGIN RSA PRIVATE KEY-----\n";return t+=this.wordwrap(this.getPrivateBaseKeyB64())+"\n",t+="-----END RSA PRIVATE KEY-----"},le.prototype.getPublicKey=function(){var t="-----BEGIN PUBLIC KEY-----\n";return t+=this.wordwrap(this.getPublicBaseKeyB64())+"\n",t+="-----END PUBLIC KEY-----"},le.prototype.hasPublicKeyProperty=function(t){return t=t||{},t.hasOwnProperty("n")&&t.hasOwnProperty("e")},le.prototype.hasPrivateKeyProperty=function(t){return t=t||{},t.hasOwnProperty("n")&&t.hasOwnProperty("e")&&t.hasOwnProperty("d")&&t.hasOwnProperty("p")&&t.hasOwnProperty("q")&&t.hasOwnProperty("dmp1")&&t.hasOwnProperty("dmq1")&&t.hasOwnProperty("coeff")},le.prototype.parsePropertiesFrom=function(t){this.n=t.n,this.e=t.e,t.hasOwnProperty("d")&&(this.d=t.d,this.p=t.p,this.q=t.q,this.dmp1=t.dmp1,this.dmq1=t.dmq1,this.coeff=t.coeff)};var Fe=function(t){le.call(this),t&&("string"==typeof t?this.parseKey(t):(this.hasPrivateKeyProperty(t)||this.hasPublicKeyProperty(t))&&this.parsePropertiesFrom(t))};Fe.prototype=new le,Fe.prototype.constructor=Fe;var He=function(t){t=t||{},this.default_key_size=parseInt(t.default_key_size)||1024,this.default_public_exponent=t.default_public_exponent||"010001",this.log=t.log||!1,this.key=null};He.prototype.setKey=function(t){this.log&&this.key&&console.warn("A key was already set, overriding existing."),this.key=new Fe(t)},He.prototype.setPrivateKey=function(t){this.setKey(t)},He.prototype.setPublicKey=function(t){this.setKey(t)},He.prototype.decrypt=function(t){try{return this.getKey().decrypt(xe(t))}catch(t){return!1}},He.prototype.encrypt=function(t){try{return ye(this.getKey().encrypt(t))}catch(t){return!1}},He.prototype.getKey=function(t){if(!this.key){if(this.key=new Fe,t&&"[object Function]"==={}.toString.call(t))return void this.key.generateAsync(this.default_key_size,this.default_public_exponent,t);this.key.generate(this.default_key_size,this.default_public_exponent)}return this.key},He.prototype.getPrivateKey=function(){return this.getKey().getPrivateKey()},He.prototype.getPrivateKeyB64=function(){return this.getKey().getPrivateBaseKeyB64()},He.prototype.getPublicKey=function(){return this.getKey().getPublicKey()},He.prototype.getPublicKeyB64=function(){return this.getKey().getPublicBaseKeyB64()},He.version="2.3.1",t.exports=He},YIfu:function(t,e,i){"use strict";var n=i("WPtr"),o=Math.random().toString(36).slice(2),s=i("4G7m"),r=i("ijdI"),a=i("sdDX"),c=i("Uzku"),h=i("M34W"),l=h.getRealHostname(),u=i("N7Fw"),d=i("wohU"),p=i("+dHT"),f=a.__,g={name:"login",_uin:"",_csrfCode:"",_loginNamespace:".qcmain_login_dialog",_loginboxId:"qcmain_login_box_"+o,_loginmaskId:"qcmain_login_mask_"+o,_currentLoginType:"",init:function(){return this.updateUin(),this.updateCsrfCode(),window.QCLoginCssLoaded&&(a.cssLoaded=!0),this},getUin:function(){return this._uin},getCsrfCode:function(){return this._csrfCode},updateUin:function(){var t=n.get("uin")||"";this._uin=t.replace(/^o0*/,"")},isLogin:function(){var t=n.get("skey"),e=n.get("uin")||"";return e&&t},updateCsrfCode:function(){var t=n.get("skey")||n.get("p_skey");if(t){for(var e=5381,i=0,o=t.length;i<o;i+=1)e+=(e<<5)+t.charCodeAt(i);this._csrfCode=2147483647&e}else this._csrfCode=""},gotoLoginPage:function(t){var e="https://"+l+"/login";t!==!0&&(e+="?s_url="+encodeURIComponent(location.href)),this._clearLoginState(),location.href=e},gotoMobilePtloginPage:function(t,e){var i=this;i.redirectToQQConnect()},redirectToQQConnect:function(){var t=this;!d.isSupportQQOauth()&&a.isMobile()?d.showQQNotSupportGuide():t._redirect(t._getPtloginUrl(t.opts))},redirectToWeworkSubaccount:function(){var t=this.opts.wework_subaccount_url+"?s_url="+encodeURIComponent(this.opts.s_url);this._redirect(t)},gotoMobileLoginPage:function(t){return this.gotoLoginPage()},gotoRegisterPage:function(){location.href="https://"+l+"/register?s_url="+encodeURIComponent(location.href)},preHandlerOpts:function(t){var e=this;t=t||{},t.s_url||t.container||(s.s_url=location.href),t.isThirdParty&&(s.isThirdParty=t.isThirdParty,s.defaultLoginType="email"),t.theme&&"default"!==t.theme?s.isOauth2=!0:s.isOauth2=!1,t.hideQQ&&(s.register_url=s.register_url+"&hideQQ=1"),t.hideMP&&(s.register_url=s.register_url+"&hideMP=1"),t.language&&(f=a.getTranslator(t.language));var i=a.getLastLoginType(),o=(""+t.defaultLoginType).toLowerCase();/^(email|wx|wework)$/.test(o)||(o=s.defaultLoginType),"wx"!==o||s.enableIframeWechatLogin||(o=s.defaultLoginType),i||(i=o),"wx"!==i||s.enableIframeWechatLogin||(i=o),"qq"===i&&(i=o),t.isThirdParty||(i=o),t.defaultLoginType=o,this._currentLoginType=i,location.hostname&&location.hostname.indexOf("intl.cloud.tencent.com")!=-1&&(this._currentLoginType=t.defaultLoginType=s.defaultLoginType="email",s.isIntl=1),!d.isSupportWxOauth()&&a.isMobile()&&(this._currentLoginType=t.defaultLoginType=s.defaultLoginType="email"),t.fwd_flag=this._getForwardDirectiveFlag(t),this.opts=$.extend({__:f,lusername:n.get("lusername")||"",language:e._getLanguage(t),isMobile:a.isMobile(),isWechat:a.isWechat(),isSupportWxLoginInMobile:a.isSupportWxLoginInMobile(),isInWeapp:a.isInWeapp(),isPad:a.isPad(),activeTab:"wx"},s,t),this.opts.wechatLoginUrl=a.getWechatLoginUrl(),this.opts.skipRegisterCompletion||(this.opts.wechatLoginUrl=this.opts.wechatLoginUrl+"action=associate&")},ensureCSRFToken:function(){var t=n.get("qcmainCSRFToken");if(!t){var e={domain:h.getCookieDomain(),path:"/"};t=u.gen(),n.set("qcmainCSRFToken",t,e)}},showLoginBox:function(t){var e=this;e.checkWeappEnv(t),e.ensureCSRFToken(),e.preHandlerOpts(t),a.detectWxDomain();var i=n.get("subAccountLoginPage");return!e.opts.container&&i?(i.indexOf("?")==-1&&(i=i+"?s_url="+encodeURIComponent(e.opts.s_url)),location.href=i):e.opts.container||!a.isMobile()&&2!=n.get("intl")?void a.loadCss().done(function(){if($('[data-name="loginApiCss"]').removeAttr("disabled").prop("disabled",!1),e.opts.container){var t=e.$loginbox=$(a.tmpl(r,e.opts));$(e.opts.container).append(t)}else{var t=e._getLoginBox().show(),i=(e._getLoginMask().show(),$(window)),n="resize"+e._loginNamespace;"message"+e._loginNamespace;t.html($(a.tmpl(r,e.opts))),i.off(n).on(n,function(){t.css({left:function(){return(i.width()-t.width())/2},top:function(){var e=(i.height()-t.height())/2;return Math.max(0,Math.min(300,e))}})}).trigger(n)}e.opts.beforeBindEvent&&"function"==typeof e.opts.beforeBindEvent&&e.opts.beforeBindEvent(),e.bindEvents(),e.cssHandler(),e.configDeviceChecker()}):e._getLoginPage()},checkWeappEnv:function(t){a.isInWeapp()&&$.getScript("https://res.wx.qq.com/open/js/jweixin-1.4.0.js",function(){setTimeout(function(){if(wx&&wx.miniProgram&&wx.miniProgram.navigateTo)try{var e="/pages/web-view/web-view?needLogin=true&url="+t.s_url;wx.miniProgram.navigateTo({url:"/pages/login/login-index/login-index?backUrl="+encodeURIComponent(e)})}catch(t){}},100)})},configDeviceChecker:function(){var t=this;d.config({switchToQQ:function(){t.switchLoginType("qq")},switchToWX:function(){t._redirect(t._getWXLoginUrl())},switchToEmail:function(){t.switchLoginType("email")}})},cssHandler:function(){var t=this;3==t.$loginbox.find(".clg-other-tool .clg-other-tool-item").length&&t.$loginbox.find(".clg-other-tool .clg-other-tool-item:eq(2)").css("text-align","inherit")},doCheckLogin:function(){var t=this,e=this.opts.theme;if(window.top==window.self&&this.opts.container&&!(e&&"default"!=e||this.stopCheckLogin))return this.isLogin()?window.G_isLogined&&window.G_nickname?(window.G_isIntl!=t.opts.isIntl?t.checkLoginResult(!1):t.checkLoginResult(window.G_isLogined,G_nickname),window.G_isLogined=!1,void(window.G_nickname="")):void this.checkLoginRequest(function(e,i){setTimeout(function(){t.checkLoginResult(e,i)},3e3)}):this.checkLoginResult(!1)},checkLoginRequest:function(t){var e=this;this.updateCsrfCode(),this.updateUin(),$.ajax({url:s.check_login_url,method:"GET",type:"GET",dataType:"jsonp",jsonp:"callback",data:{csrfCode:this.getCsrfCode(),uin:this.getUin(),action:"checkLogin"},cache:!1,success:function(i){i=i||{};var n=i.data||{};0==i.code?e.opts&&e.opts.container&&n.isIntl!=e.opts.isIntl?t(!1):t(!0,n.nickname||e.getUin()):t(!1)},error:function(){t(!1)}})},checkLoginResult:function(t,e){var i=this,n=(a.requireSeajsModule("dialog"),i.$loginbox.find(".J-loginedInfo"));this.stopCheckLogin||(t?(i.$loginbox.find(".J-loginContentBox").hide(),i.$loginbox.find(".J-otherMod").hide(),n.find(".J-showMsg").html(f("\u8d26\u53f7")+"\uff08"+a.htmlEncode(e)+"\uff09"+f("\u5df2\u767b\u5f55\uff0c\u53ef\u4ee5\u9009\u62e9\u76f4\u63a5\u767b\u5f55\u7ee7\u7eed\u4f7f\u7528\uff0c\u4e5f\u53ef\u4ee5\u4f7f\u7528\u5176\u4ed6\u8d26\u53f7\u767b\u5f55")),n.show(),$("#loginAbout").hide()):n.is(":visible")&&(i.$loginbox.find(".J-otherMod").show(),
|
|
i.switchLoginType(i._currentLoginType)),setTimeout(function(){i.doCheckLogin()},3e3))},bindEvents:function(){var t=this;t.switchLoginType(t._currentLoginType),t.$loginbox.find(".J-loginBtn").off().on("click",function(){t.sendLoginRequest()}),t.$loginbox.find(".J-changeVCode").off().on("click",function(){t._setVCodeImgUrl()}),t.$loginbox.find(".J-loginForm input").off().on("blur",function(){a.hideInputErrorTip(this),a.hidePromptTip(this)}).on("keypress",function(t){a.hideInputErrorTip(this),$(this).hasClass("J-password")&&a.capslock(t)&&a.showPromptTip(this,"\u952e\u76d8\u5927\u5199\u9501\u5b9a\u5df2\u6253\u5f00\uff0c\u8bf7\u6ce8\u610f")}),t.$loginbox.on("keyup",".J-password",function(t){20==(t.which||t.keyCode)&&a.hidePromptTip()}),t.$loginbox.find(".J-password, .J-vcodeInput").off("keydown").on("keydown",function(e){10!=e.which&&13!=e.which||t.sendLoginRequest()}),t.$loginbox.find(".J-closeLoginBox").off().on("click",function(){t.hideLoginBox()}),t.$loginbox.find(".J-link").off().on("click",function(){var e=$(this);return"wxBreak"==e.attr("data-action")?d.isSupportWxOauth()?t._redirect($(this).attr("href")):d.showWxNotSupportGuide():t._redirect($(this).attr("href")),!1}),t.$loginbox.find(".J-btnSwitchLoginType").off().on("click",function(e){e.preventDefault();var i=$(this).data("type");t.switchLoginType(i)}),t.$loginbox.on("click",".J-loginTab",function(){var e=$(this),i=e.data("type");e.addClass("actived").siblings().removeClass("actived"),"wx"===i?(t.$loginbox.find(".J-wxModContaner").show(),t.$loginbox.find(".J-weworkModContaner").hide()):(t.$loginbox.find(".J-wxModContaner").hide(),t.$loginbox.find(".J-weworkModContaner").show()),t.switchLoginType(i)}),"wework"===this._currentLoginType&&$('.J-loginTab[data-type="wework"]').trigger("click"),!t.opts.hide_close_icon&&t.$loginmask&&t.$loginmask.off().on("click",function(){t.hideLoginBox()}),a.isMobile()||t.opts.hideMailSuggest||new c({input:t.$loginbox.find(".J-username"),suggest:t.$loginbox.find(".J-mailSuggest")}),t.$loginbox.on("click",".J-switchChineseLogin",function(){n.remove("intl",{domain:h.getCookieDomain(),path:"/"}),t.logout(),t._redirect("https://cloud.tencent.com/login?s_url="+encodeURIComponent(t.opts.s_url))}),t.$loginbox.on("click",".J-switchIntlLogin",function(){t.logout(),t._redirect("https://intl.cloud.tencent.com/login?s_url="+encodeURIComponent(t.opts.s_url))}),t.$loginbox.on("click",".J-switchQQLogin",function(){a.saveLoginTypeInLocal("qq"),t.redirectToQQConnect()}),t.$loginbox.find(".J-loginContinue").off().on("click",function(){t.stopCheckLogin=!0,t.$loginbox.find(".J-otherMod").show(),t.switchLoginType(t._currentLoginType)}),t.$loginbox.find(".J-loginedInfo .J-btn").off().on("click",function(){t._redirect(t.opts.s_url)}),t.$loginbox.find(".J-subAccountLogin").off().on("click",function(){t.logout();var e=t.opts.subaccount_url+"?s_url="+encodeURIComponent(t.opts.s_url);t._redirect(e)}),t.$loginbox.on("click",".J-forgetPsw",function(){t._redirect(t.opts.forgetpwd_url)}),t.$loginbox.on("click",".J-forgetAccount",function(){t._redirect(t.opts.forget_account_url)}),t.$loginbox.on("click",".J-reloadWX",function(){t.$loginbox.find("#wxFrame").attr("src",t._getWXQrcodeUrl()).show()}),t.$loginbox.on("click",".J-reloadWework",function(){t.$loginbox.find("#weworkFrame").attr("src",t._getWeworkLoginUrl()).show()}),t.$loginbox.on("click",".J-backToMainMod a",function(){t._leaveEmailMod();var e=t.$loginbox.find(".J-loginTab.actived").data("type")||"wx";t.switchLoginType(e)}),$(".J-openToWXLink").off().on("click",function(){window.open(t._getWXLoginUrl())}),t.doCheckLogin()},sendLoginRequest:function(t){var e=this,i=a.checkLoginForm();i&&(i.action="login",e.opts.isThirdParty||(i.areaType=e.opts.isIntl?2:1),t&&(i=$.extend(i,t)),e.$loginbox.find(".J-loginBtn").hide().next("a").show(),l==location.host&&location.protocol.indexOf("https")!=-1?$.ajax({url:this.opts.qcloud_login_url,data:JSON.stringify(i||{}),method:"POST",type:"POST",timeout:2e4,contentType:"application/json; charset=UTF-8"}).always(function(t){e.loginReturnHandle(t)}):a.proxyPost({url:this.opts.qcloud_login_url,data:i},function(t){e.loginReturnHandle(t)}))},checkNeedRefreshVcode:function(){var t=this;t.$loginbox.find(".J-vcodeArea").is(":visible")&&(t.$loginbox.find(".J-password").val(""),t.$loginbox.find(".J-vcodeInput").val(""),t.$loginbox.find(".J-vcodeArea").show(),t._setVCodeImgUrl())},showCaptcha:function(){var t,e=this.$loginbox.find(".J-qcloginBox"),i=this.$loginbox.find(".J-captchaBox"),n=this.$loginbox.find(".J-captchaContent"),o=this,s=this.isDialogScene()||this.isIframeScene()?"inner":"dialog";"inner"==s?(e.hide(),i.show(),t=p.verify(n[0]),a.notifyResize()):t=p.verify(),t.then(function(t){return"inner"==s&&(e.show(),i.hide(),a.notifyResize()),t&&9999==t.ret?void a.showInputErrorTip(null,'\u9a8c\u8bc1\u7801\u52a0\u8f7d\u5931\u8d25\uff0c\u60a8\u53ef\u4ee5\u66f4\u6362\u5176\u4ed6\u767b\u5f55\u65b9\u5f0f\u6216<a target="_blank" href="/act/event/connect-service">\u8054\u7cfb\u6211\u4eec</a>'):void(t.captchaAppId&&o.sendLoginRequest(t))})},loginReturnHandle:function(t){var e=this;switch(t=t||{},0!=t.code&&e.$loginbox.find(".J-loginBtn").show().next("a").hide(),+t.code){case 0:e._redirect(e.opts.login_forward_url+"?s_url="+encodeURIComponent(e.opts.s_url)+"&fwd_flag="+encodeURIComponent(this.opts.fwd_flag));break;case 70002:a.showInputErrorTip(e.$loginbox.find(".J-username"),"\u53c2\u6570\u9519\u8bef\uff0c\u8bf7\u91cd\u65b0\u8f93\u5165");break;case 70006:case 70008:a.showInputErrorTip(e.$loginbox.find(".J-password"),"\u8d26\u53f7\u4e0d\u5b58\u5728\u6216\u5bc6\u7801\u9519\u8bef\uff0c\u8bf7\u91cd\u65b0\u8f93\u5165");break;case 70007:e.$loginbox.find(".J-password").val(""),a.showInputErrorTip(e.$loginbox.find(".J-password"),"\u8d26\u53f7\u4e0d\u5b58\u5728\u6216\u5bc6\u7801\u9519\u8bef\uff0c\u8bf7\u91cd\u65b0\u8f93\u5165");break;case 70010:a.showInputErrorTip(null,f('\u8d26\u53f7\u5bc6\u7801\u9519\u8bef\u6b21\u6570\u8d85\u8fc7\u5f53\u65e5\u6700\u5927\u6b21\u6570\uff0c\u5efa\u8bae\u60a8\u901a\u8fc7 <a class="J-forgetPsw" href="javascript:;">\u5fd8\u8bb0\u5bc6\u7801</a> \u6216 <a class="J-forgetAccount" href="javascript:;">\u5fd8\u8bb0\u8d26\u53f7</a> \u627e\u56de\u8d26\u53f7\u5bc6\u7801\uff0c\u6b21\u65e5\u518d\u5c1d\u8bd5\u767b\u5f55'));break;case 310001:e.showCaptcha();break;case 310002:a.showInputErrorTip(null,"\u9a8c\u8bc1\u7801\u9519\u8bef\uff0c\u8bf7\u91cd\u65b0\u8f93\u5165");break;case 70024:e.opts.isIntl?a.showInputErrorTip(null,'Your account is for Tencent Cloud China\uff0c<a href="javascript:;" class="J-switchChineseLogin">Log in now</a>'):a.showInputErrorTip(null,f("\u8be5\u8d26\u53f7\u5c5e\u4e8e\u56fd\u9645\u7ad9\u8d26\u53f7\uff0c")+'<a href="javascript:;" class="J-switchIntlLogin">'+f("\u524d\u5f80\u767b\u5f55")+"</a>");break;case 30301:a.isInWeapp()?a.showInputErrorTip(e.$loginbox.find(".J-password"),"\u8d26\u53f7\u4e0d\u5b58\u5728\u6216\u5bc6\u7801\u9519\u8bef\uff0c\u8bf7\u91cd\u65b0\u8f93\u5165"):a.showInputErrorTip(null,f('\u8be5\u8d26\u53f7\u53ef\u80fd\u662f\u901a\u8fc7QQ\u5feb\u6377\u6ce8\u518c\uff0c\u8bf7<a href="javascript:;" class="J-switchQQLogin">\u5207\u6362\u81f3QQ\u767b\u5f55<a/>'));break;case 20003:e.showMailActivationTip();break;case 30007:a.showInputErrorTip(null,f('\u8d26\u53f7\u5bc6\u7801\u8f93\u5165\u5f53\u65e5\u4ec5\u52691\u6b21\u673a\u4f1a\uff0c\u662f\u5426 <a class="J-forgetPsw" href="javascript:;">\u5fd8\u8bb0\u5bc6\u7801</a> \u6216 <a class="J-forgetAccount" href="javascript:;">\u5fd8\u8bb0\u8d26\u53f7</a>'));break;default:a.showInputErrorTip(e.$loginbox.find(".J-username"),"\u767b\u5f55\u5931\u8d25\uff0c\u8bf7\u91cd\u8bd5")}},showMailActivationTip:function(){var t=this,e={"qq.com":"qq.com","163.com":"163.com","sina.com":"sina.com","gmail.com":"google.com","126.com":"126.com","hotmail.com":"live.com","21cn.com":"21cn.com","yahoo.com":"yahoo.com","yahoo.com.cn":"yahoo.com.cn","live.com":"live.com","sohu.com":"sohu.com","sina.com.cn":"sina.com.cn","tencent.com":"tencent.com","msn.com":"msn.com","tom.com":"tom.com"},i=t.$loginbox.find(".J-username"),n=$.trim(i.val()),o=n.split("@")[1];e[o]?(a.showInputErrorTip(i,'\u6b64\u90ae\u7bb1\u5730\u5740\u5c1a\u672a\u6fc0\u6d3b\uff0c\u8bf7<a target="_blank">\u67e5\u770b\u6fc0\u6d3b\u90ae\u4ef6<a/>\uff0c\u5b8c\u6210\u6fc0\u6d3b\u540e\u91cd\u65b0\u767b\u5f55\u3002'),$(".J-loginTip a").attr("href","http://mail."+e[o])):a.showInputErrorTip(i,"\u6b64\u90ae\u7bb1\u5730\u5740\u5c1a\u672a\u6fc0\u6d3b\uff0c\u8bf7\u67e5\u770b\u6fc0\u6d3b\u90ae\u4ef6\uff0c\u5b8c\u6210\u6fc0\u6d3b\u540e\u91cd\u65b0\u767b\u5f55\u3002")},switchLoginType:function(t,e){var i=this;switch(t){default:case"email":$("#loginAbout").hide(),i._currentLoginType=t,i._enterEmailMod(),a.saveLoginTypeInLocal("email");break;case"qq":a.saveLoginTypeInLocal("qq"),i.redirectToQQConnect();break;case"wx":$("#loginAbout").show(),i.opts.enableIframeWechatLogin?(i._currentLoginType=t,i._leaveEmailMod(),i.$loginbox.find("#wxFrame").attr("src")||(i.$loginbox.find("#wxFrame").hide().attr("src",i._getWXQrcodeUrl()),setTimeout(function(){i.$loginbox.find("#wxFrame").show()},400)),a.saveLoginTypeInLocal(t)):i._redirect(i._getWXLoginUrl());break;case"wework":i._leaveEmailMod(),i.$loginbox.find("#weworkFrame").hide().attr("src",i._getWeworkLoginUrl()),setTimeout(function(){i.$loginbox.find("#weworkFrame").show()},400);break;case"wework-m":a.saveLoginTypeInLocal("wework"),i.redirectToWeworkSubaccount();break;case"wxmp":window.wxmpBreak?window.wxmpBreak(function(){i._redirect(i._getWXMPLoginUrl())}):i._redirect(i._getWXMPLoginUrl())}a.notifyResize()},isDialogScene:function(){return this.opts&&!this.opts.container},isIframeScene:function(){try{return window.top!=window.self}catch(t){return!0}},hideLoginBox:function(){this.$loginbox&&this.$loginbox.empty().hide(),this.$loginmask&&this.$loginmask.hide(),this.isDialogScene()&&$('[data-name="loginApiCss"]').attr("disabled",!0).prop("disabled",!0)},logout:function(){this._clearLoginState()},_getLoginBox:function(){var t=$("#"+this._loginboxId);return t.length||(t=$("<div>").css({position:"fixed",left:0,top:0,width:"460px",height:"534px","background-color":"transparent","z-index":9001,"border-radius":"4px"}).attr("id",this._loginboxId).appendTo("body")),this.$loginbox=t},_getLoginMask:function(){var t=$("#"+this._loginmaskId);return t.length||(t=$("<div>").css({position:"fixed",left:0,top:0,right:0,bottom:0,background:"#000",opacity:".75","z-index":9e3}).attr("id",this._loginmaskId).appendTo("body")),this.$loginmask=t},_getPtloginUrl:function(t){var e=this.opts.qqLoginUrl,i={};return i.s_url=this.opts.s_url,"undefined"!=typeof this.opts.fwd_flag&&(i.fwd_flag=this.opts.fwd_flag),e+$.param(i)},_getWXLoginUrl:function(t){var e=this.opts.wechatLoginUrl+"s_url="+encodeURIComponent(this.opts.s_url);return t&&(e+="&theme=simple"),e+="&t="+(new Date).getTime(),"undefined"!=typeof this.opts.fwd_flag&&(e+="&fwd_flag="+encodeURIComponent(this.opts.fwd_flag)),e},_getWXQrcodeUrl:function(){var t=s.wechatLoginUrl;return this.opts.skipRegisterCompletion||(t+="action=associate&"),t+="s_url="+encodeURIComponent(this.opts.s_url),t+="&theme=simple&t="+(new Date).getTime(),"undefined"!=typeof this.opts.fwd_flag&&(t+="&fwd_flag="+encodeURIComponent(this.opts.fwd_flag)),t},_getWXMPLoginUrl:function(){var t=this.opts.mpLoginUrl+"s_url="+encodeURIComponent(this.opts.s_url);return"undefined"!=this.opts.fwd_flag&&(t+="&fwd_flag="+encodeURIComponent(this.opts.fwd_flag)),t},_getWeworkLoginUrl:function(){var t=s.weworkLoginUrl+"?s_url="+encodeURIComponent(this.opts.s_url);"undefined"!=this.opts.fwd_flag&&(t+="&fwd_flag="+encodeURIComponent(this.opts.fwd_flag));var e=s.weworkQrcodeUrl+"?s_url="+encodeURIComponent(t);return e},_getForwardDirectiveFlag:function(t){var e=1,i=2,n=4,o=0;return t.shallowLogin||t.skipRegisterCompletion||(o+=e),t.shallowLogin||t.skipLoginProtect||(o+=i),t.shallowLogin||t.skipOwnerSelection||(o+=n),o},_getLanguage:function(t){return(t||{}).language||n.get("language")||""},_getVCodeUrl:function(){return this.opts.vcode_url+"?t="+(new Date).getTime()},_setVCodeImgUrl:function(){this.$loginbox.find(".J-vcodeImg").attr("src",this._getVCodeUrl()),a.notifyResize()},_clearLoginState:function(){var t={domain:h.getCookieDomain(),path:"/"};n.remove("uin",t),n.remove("skey",t),n.remove("p_skey",t),n.remove("nick",t),n.remove("tinyid",t),this.updateCsrfCode()},_messageCallback:function(t){var e=this,i={},n=t.origin||t.originalEvent.origin;if(n&&(n=n.replace(/(:\d+)/g,"")),/\.(tencent\.com|qcloud\.com|qq\.com|dnspod\.cn|dnspod\.com)$/i.test(n)){try{i=JSON.parse(t.data||"")}catch(t){}switch(i.action){case"redirect":i&&i.url&&!/^http/i.test(i.url)&&(i.url=""),e._redirect(i.url||top.location.href);break;case"loginReturnHandle":e.loginReturnHandle(i.resp);break;case"loginCompletion":e._loginCompletionCallback()}}},_redirect:function(t){this.stopCheckLogin=!0,window.LOGIN_API_COMPLETE=!0;try{var e=top.location.href;t.indexOf("#")!=-1&&e.split("#")[0]==t.split("#")[0]?top.location.reload():top.location.href=t}catch(e){top.postMessage(JSON.stringify({action:"redirect",url:t}),"*")}},_loginCompletionCallback:function(){this.hideLoginBox(),this.opts.completionCallback&&this.opts.completionCallback()},_getLoginPage:function(){var t="https://"+l+"/login";t+="?s_url="+encodeURIComponent(this.opts.s_url),this.opts.skipRegisterCompletion&&(t+="&rc=0"),this.opts.skipLoginProtect&&(t+="&vf=0"),this.opts.skipOwnerSelection&&(t+="&sc=0"),"undefined"!=typeof this.opts.fwd_flag&&(t+="&fwd_flag="+this.opts.fwd_flag),this._clearLoginState(),location.href=t},_enterEmailMod:function(){var t=this;t.$loginbox.find(".J-loginContentBox").hide(),t.opts.isIntl?(t.$loginbox.find(".J-backToMainMod").hide(),t.$loginbox.find(".J-switchLoginTypeArea").show()):(t.$loginbox.find(".J-backToMainMod").show(),t.$loginbox.find(".J-switchLoginTypeArea").hide(),t.$loginbox.find(".J-footerLinkArea").hide());var e=t.$loginbox.find(".J-qcloginBox"),i=e.find(".J-username"),n=e.find(".J-password");e.show(),$.trim(i.val())?n.focus():i.focus()},_leaveEmailMod:function(){var t=this;t.$loginbox.find(".J-loginContentBox").hide(),t.$loginbox.find(".J-switchLoginTypeArea").show(),t.$loginbox.find(".J-mainloginBox").show(),t.$loginbox.find(".J-backToMainMod").hide(),t.$loginbox.find(".J-footerLinkArea").show()}};window.addEventListener&&window.addEventListener("message",function(t){g._messageCallback(t)},!1),t.exports=g.init()},h97R:function(t,e){"use strict";function i(t,e,i){var o=h.test(t),l=r.createElement(o?"link":"script");if(i){var u=isFunction(i)?i(t):i;u&&(l.charset=u)}n(l,e,o,t),o?(l.rel="stylesheet",l.href=t,l.setAttribute("data-role","global"),l.setAttribute("data-name","loginApiCss")):(l.async=!0,l.src=t),s=l,c?a.insertBefore(l,c):a.appendChild(l),s=null}function n(t,e,i,n){function s(){t.onload=t.onerror=t.onreadystatechange=null,t=null,e()}var r="onload"in t;return!i||!l&&r?void(r?(t.onload=s,t.onerror=function(){s()}):t.onreadystatechange=function(){/loaded|complete/.test(t.readyState)&&s()}):void setTimeout(function(){o(t,e)},1)}function o(t,e){var i,n=t.sheet;if(l)n&&(i=!0);else if(n)try{n.cssRules&&(i=!0)}catch(t){"NS_ERROR_DOM_SECURITY_ERR"===t.name&&(i=!0)}setTimeout(function(){i?e():o(t,e)},20)}var s,r=document,a=r.head||r.getElementsByTagName("head")[0]||r.documentElement,c=a.getElementsByTagName("base")[0],h=/\.css(?:\?|$)/i,l=+navigator.userAgent.replace(/.*(?:AppleWebKit|AndroidWebKit)\/(\d+).*/,"$1")<536;t.exports=i},"5zD2":function(t,e,i){var n;(function(t){"use strict";var o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t};/*!
|
|
* UAParser.js v0.7.19
|
|
* Lightweight JavaScript-based User-Agent string parser
|
|
* https://github.com/faisalman/ua-parser-js
|
|
*
|
|
* Copyright © 2012-2016 Faisal Salman <fyzlman@gmail.com>
|
|
* Dual licensed under GPLv2 or MIT
|
|
*/
|
|
!function(s,r){var a="0.7.19",c="",h="?",l="function",u="undefined",d="object",p="string",f="major",g="model",m="name",v="type",w="vendor",b="version",y="architecture",x="console",T="mobile",S="tablet",_="smarttv",E="wearable",R="embedded",k={extend:function(t,e){var i={};for(var n in t)e[n]&&e[n].length%2===0?i[n]=e[n].concat(t[n]):i[n]=t[n];return i},has:function(t,e){return"string"==typeof t&&e.toLowerCase().indexOf(t.toLowerCase())!==-1},lowerize:function(t){return t.toLowerCase()},major:function(t){return("undefined"==typeof t?"undefined":o(t))===p?t.replace(/[^\d\.]/g,"").split(".")[0]:r},trim:function(t){return t.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"")}},L={rgx:function(t,e){for(var i,n,s,a,c,h,u=0;u<e.length&&!c;){var p=e[u],f=e[u+1];for(i=n=0;i<p.length&&!c;)if(c=p[i++].exec(t))for(s=0;s<f.length;s++)h=c[++n],a=f[s],("undefined"==typeof a?"undefined":o(a))===d&&a.length>0?2==a.length?o(a[1])==l?this[a[0]]=a[1].call(this,h):this[a[0]]=a[1]:3==a.length?o(a[1])!==l||a[1].exec&&a[1].test?this[a[0]]=h?h.replace(a[1],a[2]):r:this[a[0]]=h?a[1].call(this,h,a[2]):r:4==a.length&&(this[a[0]]=h?a[3].call(this,h.replace(a[1],a[2])):r):this[a]=h?h:r;u+=2}},str:function(t,e){for(var i in e)if(o(e[i])===d&&e[i].length>0){for(var n=0;n<e[i].length;n++)if(k.has(e[i][n],t))return i===h?r:i}else if(k.has(e[i],t))return i===h?r:i;return t}},C={browser:{oldsafari:{version:{"1.0":"/8",1.2:"/1",1.3:"/3","2.0":"/412","2.0.2":"/416","2.0.3":"/417","2.0.4":"/419","?":"/"}}},device:{amazon:{model:{"Fire Phone":["SD","KF"]}},sprint:{model:{"Evo Shift 4G":"7373KT"},vendor:{HTC:"APA",Sprint:"Sprint"}}},os:{windows:{version:{ME:"4.90","NT 3.11":"NT3.51","NT 4.0":"NT4.0",2000:"NT 5.0",XP:["NT 5.1","NT 5.2"],Vista:"NT 6.0",7:"NT 6.1",8:"NT 6.2",8.1:"NT 6.3",10:["NT 6.4","NT 10.0"],RT:"ARM"}}}},D={browser:[[/(opera\smini)\/([\w\.-]+)/i,/(opera\s[mobiletab]+).+version\/([\w\.-]+)/i,/(opera).+version\/([\w\.]+)/i,/(opera)[\/\s]+([\w\.]+)/i],[m,b],[/(opios)[\/\s]+([\w\.]+)/i],[[m,"Opera Mini"],b],[/\s(opr)\/([\w\.]+)/i],[[m,"Opera"],b],[/(kindle)\/([\w\.]+)/i,/(lunascape|maxthon|netfront|jasmine|blazer)[\/\s]?([\w\.]*)/i,/(avant\s|iemobile|slim|baidu)(?:browser)?[\/\s]?([\w\.]*)/i,/(?:ms|\()(ie)\s([\w\.]+)/i,/(rekonq)\/([\w\.]*)/i,/(chromium|flock|rockmelt|midori|epiphany|silk|skyfire|ovibrowser|bolt|iron|vivaldi|iridium|phantomjs|bowser|quark|qupzilla|falkon)\/([\w\.-]+)/i],[m,b],[/(konqueror)\/([\w\.]+)/i],[[m,"Konqueror"],b],[/(trident).+rv[:\s]([\w\.]+).+like\sgecko/i],[[m,"IE"],b],[/(edge|edgios|edga)\/((\d+)?[\w\.]+)/i],[[m,"Edge"],b],[/(yabrowser)\/([\w\.]+)/i],[[m,"Yandex"],b],[/(puffin)\/([\w\.]+)/i],[[m,"Puffin"],b],[/(focus)\/([\w\.]+)/i],[[m,"Firefox Focus"],b],[/(opt)\/([\w\.]+)/i],[[m,"Opera Touch"],b],[/((?:[\s\/])uc?\s?browser|(?:juc.+)ucweb)[\/\s]?([\w\.]+)/i],[[m,"UCBrowser"],b],[/(comodo_dragon)\/([\w\.]+)/i],[[m,/_/g," "],b],[/(micromessenger)\/([\w\.]+)/i],[[m,"WeChat"],b],[/(brave)\/([\w\.]+)/i],[[m,"Brave"],b],[/(qqbrowserlite)\/([\w\.]+)/i],[m,b],[/(QQ)\/([\d\.]+)/i],[m,b],[/m?(qqbrowser)[\/\s]?([\w\.]+)/i],[m,b],[/(BIDUBrowser)[\/\s]?([\w\.]+)/i],[m,b],[/(2345Explorer)[\/\s]?([\w\.]+)/i],[m,b],[/(MetaSr)[\/\s]?([\w\.]+)/i],[m],[/(LBBROWSER)/i],[m],[/xiaomi\/miuibrowser\/([\w\.]+)/i],[b,[m,"MIUI Browser"]],[/;fbav\/([\w\.]+);/i],[b,[m,"Facebook"]],[/safari\s(line)\/([\w\.]+)/i,/android.+(line)\/([\w\.]+)\/iab/i],[m,b],[/headlesschrome(?:\/([\w\.]+)|\s)/i],[b,[m,"Chrome Headless"]],[/\swv\).+(chrome)\/([\w\.]+)/i],[[m,/(.+)/,"$1 WebView"],b],[/((?:oculus|samsung)browser)\/([\w\.]+)/i],[[m,/(.+(?:g|us))(.+)/,"$1 $2"],b],[/android.+version\/([\w\.]+)\s+(?:mobile\s?safari|safari)*/i],[b,[m,"Android Browser"]],[/(chrome|omniweb|arora|[tizenoka]{5}\s?browser)\/v?([\w\.]+)/i],[m,b],[/(dolfin)\/([\w\.]+)/i],[[m,"Dolphin"],b],[/((?:android.+)crmo|crios)\/([\w\.]+)/i],[[m,"Chrome"],b],[/(coast)\/([\w\.]+)/i],[[m,"Opera Coast"],b],[/fxios\/([\w\.-]+)/i],[b,[m,"Firefox"]],[/version\/([\w\.]+).+?mobile\/\w+\s(safari)/i],[b,[m,"Mobile Safari"]],[/version\/([\w\.]+).+?(mobile\s?safari|safari)/i],[b,m],[/webkit.+?(gsa)\/([\w\.]+).+?(mobile\s?safari|safari)(\/[\w\.]+)/i],[[m,"GSA"],b],[/webkit.+?(mobile\s?safari|safari)(\/[\w\.]+)/i],[m,[b,L.str,C.browser.oldsafari.version]],[/(webkit|khtml)\/([\w\.]+)/i],[m,b],[/(navigator|netscape)\/([\w\.-]+)/i],[[m,"Netscape"],b],[/(swiftfox)/i,/(icedragon|iceweasel|camino|chimera|fennec|maemo\sbrowser|minimo|conkeror)[\/\s]?([\w\.\+]+)/i,/(firefox|seamonkey|k-meleon|icecat|iceape|firebird|phoenix|palemoon|basilisk|waterfox)\/([\w\.-]+)$/i,/(mozilla)\/([\w\.]+).+rv\:.+gecko\/\d+/i,/(polaris|lynx|dillo|icab|doris|amaya|w3m|netsurf|sleipnir)[\/\s]?([\w\.]+)/i,/(links)\s\(([\w\.]+)/i,/(gobrowser)\/?([\w\.]*)/i,/(ice\s?browser)\/v?([\w\._]+)/i,/(mosaic)[\/\s]([\w\.]+)/i],[m,b]],cpu:[[/(?:(amd|x(?:(?:86|64)[_-])?|wow|win)64)[;\)]/i],[[y,"amd64"]],[/(ia32(?=;))/i],[[y,k.lowerize]],[/((?:i[346]|x)86)[;\)]/i],[[y,"ia32"]],[/windows\s(ce|mobile);\sppc;/i],[[y,"arm"]],[/((?:ppc|powerpc)(?:64)?)(?:\smac|;|\))/i],[[y,/ower/,"",k.lowerize]],[/(sun4\w)[;\)]/i],[[y,"sparc"]],[/((?:avr32|ia64(?=;))|68k(?=\))|arm(?:64|(?=v\d+[;l]))|(?=atmel\s)avr|(?:irix|mips|sparc)(?:64)?(?=;)|pa-risc)/i],[[y,k.lowerize]]],device:[[/\((ipad|playbook);[\w\s\),;-]+(rim|apple)/i],[g,w,[v,S]],[/applecoremedia\/[\w\.]+ \((ipad)/],[g,[w,"Apple"],[v,S]],[/(apple\s{0,1}tv)/i],[[g,"Apple TV"],[w,"Apple"]],[/(archos)\s(gamepad2?)/i,/(hp).+(touchpad)/i,/(hp).+(tablet)/i,/(kindle)\/([\w\.]+)/i,/\s(nook)[\w\s]+build\/(\w+)/i,/(dell)\s(strea[kpr\s\d]*[\dko])/i],[w,g,[v,S]],[/(kf[A-z]+)\sbuild\/.+silk\//i],[g,[w,"Amazon"],[v,S]],[/(sd|kf)[0349hijorstuw]+\sbuild\/.+silk\//i],[[g,L.str,C.device.amazon.model],[w,"Amazon"],[v,T]],[/android.+aft([bms])\sbuild/i],[g,[w,"Amazon"],[v,_]],[/\((ip[honed|\s\w*]+);.+(apple)/i],[g,w,[v,T]],[/\((ip[honed|\s\w*]+);/i],[g,[w,"Apple"],[v,T]],[/(blackberry)[\s-]?(\w+)/i,/(blackberry|benq|palm(?=\-)|sonyericsson|acer|asus|dell|meizu|motorola|polytron)[\s_-]?([\w-]*)/i,/(hp)\s([\w\s]+\w)/i,/(asus)-?(\w+)/i],[w,g,[v,T]],[/\(bb10;\s(\w+)/i],[g,[w,"BlackBerry"],[v,T]],[/android.+(transfo[prime\s]{4,10}\s\w+|eeepc|slider\s\w+|nexus 7|padfone|p00c)/i],[g,[w,"Asus"],[v,S]],[/(sony)\s(tablet\s[ps])\sbuild\//i,/(sony)?(?:sgp.+)\sbuild\//i],[[w,"Sony"],[g,"Xperia Tablet"],[v,S]],[/android.+\s([c-g]\d{4}|so[-l]\w+)(?=\sbuild\/|\).+chrome\/(?![1-6]{0,1}\d\.))/i],[g,[w,"Sony"],[v,T]],[/\s(ouya)\s/i,/(nintendo)\s([wids3u]+)/i],[w,g,[v,x]],[/android.+;\s(shield)\sbuild/i],[g,[w,"Nvidia"],[v,x]],[/(playstation\s[34portablevi]+)/i],[g,[w,"Sony"],[v,x]],[/(sprint\s(\w+))/i],[[w,L.str,C.device.sprint.vendor],[g,L.str,C.device.sprint.model],[v,T]],[/(lenovo)\s?(S(?:5000|6000)+(?:[-][\w+]))/i],[w,g,[v,S]],[/(htc)[;_\s-]+([\w\s]+(?=\)|\sbuild)|\w+)/i,/(zte)-(\w*)/i,/(alcatel|geeksphone|lenovo|nexian|panasonic|(?=;\s)sony)[_\s-]?([\w-]*)/i],[w,[g,/_/g," "],[v,T]],[/(nexus\s9)/i],[g,[w,"HTC"],[v,S]],[/d\/huawei([\w\s-]+)[;\)]/i,/(nexus\s6p)/i],[g,[w,"Huawei"],[v,T]],[/(microsoft);\s(lumia[\s\w]+)/i],[w,g,[v,T]],[/[\s\(;](xbox(?:\sone)?)[\s\);]/i],[g,[w,"Microsoft"],[v,x]],[/(kin\.[onetw]{3})/i],[[g,/\./g," "],[w,"Microsoft"],[v,T]],[/\s(milestone|droid(?:[2-4x]|\s(?:bionic|x2|pro|razr))?:?(\s4g)?)[\w\s]+build\//i,/mot[\s-]?(\w*)/i,/(XT\d{3,4}) build\//i,/(nexus\s6)/i],[g,[w,"Motorola"],[v,T]],[/android.+\s(mz60\d|xoom[\s2]{0,2})\sbuild\//i],[g,[w,"Motorola"],[v,S]],[/hbbtv\/\d+\.\d+\.\d+\s+\([\w\s]*;\s*(\w[^;]*);([^;]*)/i],[[w,k.trim],[g,k.trim],[v,_]],[/hbbtv.+maple;(\d+)/i],[[g,/^/,"SmartTV"],[w,"Samsung"],[v,_]],[/\(dtv[\);].+(aquos)/i],[g,[w,"Sharp"],[v,_]],[/android.+((sch-i[89]0\d|shw-m380s|gt-p\d{4}|gt-n\d+|sgh-t8[56]9|nexus 10))/i,/((SM-T\w+))/i],[[w,"Samsung"],g,[v,S]],[/smart-tv.+(samsung)/i],[w,[v,_],g],[/((s[cgp]h-\w+|gt-\w+|galaxy\snexus|sm-\w[\w\d]+))/i,/(sam[sung]*)[\s-]*(\w+-?[\w-]*)/i,/sec-((sgh\w+))/i],[[w,"Samsung"],g,[v,T]],[/sie-(\w*)/i],[g,[w,"Siemens"],[v,T]],[/(maemo|nokia).*(n900|lumia\s\d+)/i,/(nokia)[\s_-]?([\w-]*)/i],[[w,"Nokia"],g,[v,T]],[/android[x\d\.\s;]+\s([ab][1-7]\-?[0178a]\d\d?)/i],[g,[w,"Acer"],[v,S]],[/android.+([vl]k\-?\d{3})\s+build/i],[g,[w,"LG"],[v,S]],[/android\s3\.[\s\w;-]{10}(lg?)-([06cv9]{3,4})/i],[[w,"LG"],g,[v,S]],[/(lg) netcast\.tv/i],[w,g,[v,_]],[/(nexus\s[45])/i,/lg[e;\s\/-]+(\w*)/i,/android.+lg(\-?[\d\w]+)\s+build/i],[g,[w,"LG"],[v,T]],[/android.+(ideatab[a-z0-9\-\s]+)/i],[g,[w,"Lenovo"],[v,S]],[/linux;.+((jolla));/i],[w,g,[v,T]],[/((pebble))app\/[\d\.]+\s/i],[w,g,[v,E]],[/android.+;\s(oppo)\s?([\w\s]+)\sbuild/i],[w,g,[v,T]],[/crkey/i],[[g,"Chromecast"],[w,"Google"]],[/android.+;\s(glass)\s\d/i],[g,[w,"Google"],[v,E]],[/android.+;\s(pixel c)[\s)]/i],[g,[w,"Google"],[v,S]],[/android.+;\s(pixel( [23])?( xl)?)\s/i],[g,[w,"Google"],[v,T]],[/android.+;\s(\w+)\s+build\/hm\1/i,/android.+(hm[\s\-_]*note?[\s_]*(?:\d\w)?)\s+build/i,/android.+(mi[\s\-_]*(?:one|one[\s_]plus|note lte)?[\s_]*(?:\d?\w?)[\s_]*(?:plus)?)\s+build/i,/android.+(redmi[\s\-_]*(?:note)?(?:[\s_]*[\w\s]+))\s+build/i],[[g,/_/g," "],[w,"Xiaomi"],[v,T]],[/android.+(mi[\s\-_]*(?:pad)(?:[\s_]*[\w\s]+))\s+build/i],[[g,/_/g," "],[w,"Xiaomi"],[v,S]],[/android.+;\s(m[1-5]\snote)\sbuild/i],[g,[w,"Meizu"],[v,S]],[/(mz)-([\w-]{2,})/i],[[w,"Meizu"],g,[v,T]],[/android.+a000(1)\s+build/i,/android.+oneplus\s(a\d{4})\s+build/i],[g,[w,"OnePlus"],[v,T]],[/android.+[;\/]\s*(RCT[\d\w]+)\s+build/i],[g,[w,"RCA"],[v,S]],[/android.+[;\/\s]+(Venue[\d\s]{2,7})\s+build/i],[g,[w,"Dell"],[v,S]],[/android.+[;\/]\s*(Q[T|M][\d\w]+)\s+build/i],[g,[w,"Verizon"],[v,S]],[/android.+[;\/]\s+(Barnes[&\s]+Noble\s+|BN[RT])(V?.*)\s+build/i],[[w,"Barnes & Noble"],g,[v,S]],[/android.+[;\/]\s+(TM\d{3}.*\b)\s+build/i],[g,[w,"NuVision"],[v,S]],[/android.+;\s(k88)\sbuild/i],[g,[w,"ZTE"],[v,S]],[/android.+[;\/]\s*(gen\d{3})\s+build.*49h/i],[g,[w,"Swiss"],[v,T]],[/android.+[;\/]\s*(zur\d{3})\s+build/i],[g,[w,"Swiss"],[v,S]],[/android.+[;\/]\s*((Zeki)?TB.*\b)\s+build/i],[g,[w,"Zeki"],[v,S]],[/(android).+[;\/]\s+([YR]\d{2})\s+build/i,/android.+[;\/]\s+(Dragon[\-\s]+Touch\s+|DT)(\w{5})\sbuild/i],[[w,"Dragon Touch"],g,[v,S]],[/android.+[;\/]\s*(NS-?\w{0,9})\sbuild/i],[g,[w,"Insignia"],[v,S]],[/android.+[;\/]\s*((NX|Next)-?\w{0,9})\s+build/i],[g,[w,"NextBook"],[v,S]],[/android.+[;\/]\s*(Xtreme\_)?(V(1[045]|2[015]|30|40|60|7[05]|90))\s+build/i],[[w,"Voice"],g,[v,T]],[/android.+[;\/]\s*(LVTEL\-)?(V1[12])\s+build/i],[[w,"LvTel"],g,[v,T]],[/android.+;\s(PH-1)\s/i],[g,[w,"Essential"],[v,T]],[/android.+[;\/]\s*(V(100MD|700NA|7011|917G).*\b)\s+build/i],[g,[w,"Envizen"],[v,S]],[/android.+[;\/]\s*(Le[\s\-]+Pan)[\s\-]+(\w{1,9})\s+build/i],[w,g,[v,S]],[/android.+[;\/]\s*(Trio[\s\-]*.*)\s+build/i],[g,[w,"MachSpeed"],[v,S]],[/android.+[;\/]\s*(Trinity)[\-\s]*(T\d{3})\s+build/i],[w,g,[v,S]],[/android.+[;\/]\s*TU_(1491)\s+build/i],[g,[w,"Rotor"],[v,S]],[/android.+(KS(.+))\s+build/i],[g,[w,"Amazon"],[v,S]],[/android.+(Gigaset)[\s\-]+(Q\w{1,9})\s+build/i],[w,g,[v,S]],[/\s(tablet|tab)[;\/]/i,/\s(mobile)(?:[;\/]|\ssafari)/i],[[v,k.lowerize],w,g],[/[\s\/\(](smart-?tv)[;\)]/i],[[v,_]],[/(android[\w\.\s\-]{0,9});.+build/i],[g,[w,"Generic"]]],engine:[[/windows.+\sedge\/([\w\.]+)/i],[b,[m,"EdgeHTML"]],[/webkit\/537\.36.+chrome\/(?!27)/i],[[m,"Blink"]],[/(presto)\/([\w\.]+)/i,/(webkit|trident|netfront|netsurf|amaya|lynx|w3m|goanna)\/([\w\.]+)/i,/(khtml|tasman|links)[\/\s]\(?([\w\.]+)/i,/(icab)[\/\s]([23]\.[\d\.]+)/i],[m,b],[/rv\:([\w\.]{1,9}).+(gecko)/i],[b,m]],os:[[/microsoft\s(windows)\s(vista|xp)/i],[m,b],[/(windows)\snt\s6\.2;\s(arm)/i,/(windows\sphone(?:\sos)*)[\s\/]?([\d\.\s\w]*)/i,/(windows\smobile|windows)[\s\/]?([ntce\d\.\s]+\w)/i],[m,[b,L.str,C.os.windows.version]],[/(win(?=3|9|n)|win\s9x\s)([nt\d\.]+)/i],[[m,"Windows"],[b,L.str,C.os.windows.version]],[/\((bb)(10);/i],[[m,"BlackBerry"],b],[/(blackberry)\w*\/?([\w\.]*)/i,/(tizen)[\/\s]([\w\.]+)/i,/(android|webos|palm\sos|qnx|bada|rim\stablet\sos|meego|contiki)[\/\s-]?([\w\.]*)/i,/linux;.+(sailfish);/i],[m,b],[/(symbian\s?os|symbos|s60(?=;))[\/\s-]?([\w\.]*)/i],[[m,"Symbian"],b],[/\((series40);/i],[m],[/mozilla.+\(mobile;.+gecko.+firefox/i],[[m,"Firefox OS"],b],[/(nintendo|playstation)\s([wids34portablevu]+)/i,/(mint)[\/\s\(]?(\w*)/i,/(mageia|vectorlinux)[;\s]/i,/(joli|[kxln]?ubuntu|debian|suse|opensuse|gentoo|(?=\s)arch|slackware|fedora|mandriva|centos|pclinuxos|redhat|zenwalk|linpus)[\/\s-]?(?!chrom)([\w\.-]*)/i,/(hurd|linux)\s?([\w\.]*)/i,/(gnu)\s?([\w\.]*)/i],[m,b],[/(cros)\s[\w]+\s([\w\.]+\w)/i],[[m,"Chromium OS"],b],[/(sunos)\s?([\w\.\d]*)/i],[[m,"Solaris"],b],[/\s([frentopc-]{0,4}bsd|dragonfly)\s?([\w\.]*)/i],[m,b],[/(haiku)\s(\w+)/i],[m,b],[/cfnetwork\/.+darwin/i,/ip[honead]{2,4}(?:.*os\s([\w]+)\slike\smac|;\sopera)/i],[[b,/_/g,"."],[m,"iOS"]],[/(mac\sos\sx)\s?([\w\s\.]*)/i,/(macintosh|mac(?=_powerpc)\s)/i],[[m,"Mac OS"],[b,/_/g,"."]],[/((?:open)?solaris)[\/\s-]?([\w\.]*)/i,/(aix)\s((\d)(?=\.|\)|\s)[\w\.])*/i,/(plan\s9|minix|beos|os\/2|amigaos|morphos|risc\sos|openvms|fuchsia)/i,/(unix)\s?([\w\.]*)/i],[m,b]]},J=function t(e,i){if("object"===("undefined"==typeof e?"undefined":o(e))&&(i=e,e=r),!(this instanceof t))return new t(e,i).getResult();var n=e||(s&&s.navigator&&s.navigator.userAgent?s.navigator.userAgent:c),a=i?k.extend(D,i):D;return this.getBrowser=function(){var t={name:r,version:r};return L.rgx.call(t,n,a.browser),t.major=k.major(t.version),t},this.getCPU=function(){var t={architecture:r};return L.rgx.call(t,n,a.cpu),t},this.getDevice=function(){var t={vendor:r,model:r,type:r};return L.rgx.call(t,n,a.device),t},this.getEngine=function(){var t={name:r,version:r};return L.rgx.call(t,n,a.engine),t},this.getOS=function(){var t={name:r,version:r};return L.rgx.call(t,n,a.os),t},this.getResult=function(){return{ua:this.getUA(),browser:this.getBrowser(),engine:this.getEngine(),os:this.getOS(),device:this.getDevice(),cpu:this.getCPU()}},this.getUA=function(){return n},this.setUA=function(t){return n=t,this},this};J.VERSION=a,J.BROWSER={NAME:m,MAJOR:f,VERSION:b},J.CPU={ARCHITECTURE:y},J.DEVICE={MODEL:g,VENDOR:w,TYPE:v,CONSOLE:x,MOBILE:T,SMARTTV:_,TABLET:S,WEARABLE:E,EMBEDDED:R},J.ENGINE={NAME:m,VERSION:b},J.OS={NAME:m,VERSION:b},o(e)!==u?(o(t)!==u&&t.exports&&(e=t.exports=J),e.UAParser=J):o(i("knfd"))===l&&i("2tW8")?(n=function(){return J}.call(e,i,e,t),!(n!==r&&(t.exports=n))):s&&(s.UAParser=J);var I=s&&(s.jQuery||s.Zepto);if(("undefined"==typeof I?"undefined":o(I))!==u&&!I.ua){var A=new J;I.ua=A.getResult(),I.ua.get=function(){return A.getUA()},I.ua.set=function(t){A.setUA(t);var e=A.getResult();for(var i in e)I.ua[i]=e[i]}}}("object"===("undefined"==typeof window?"undefined":o(window))?window:void 0)}).call(e,i("aYag")(t))},aYag:function(t,e){t.exports=function(t){return t.webpackPolyfill||(t.deprecate=function(){},t.paths=[],t.children=[],t.webpackPolyfill=1),t}},knfd:function(t,e){t.exports=function(){throw new Error("define cannot be used indirect")}},"2tW8":function(t,e){(function(e){t.exports=e}).call(e,{})},Uzku:function(t,e){"use strict";function i(t){this.inputElem=$(t.input),this.suggestList=$(t.suggest),this.init()}i.prototype={suggestSuffix:["qq.com","gmail.com","126.com","163.com","hotmail.com","263.com","21cn.com","yahoo.com","yahoo.com.cn","live.com","sohu.com","sina.com","sina.com.cn"],canSuggest:function(t){for(var e=0;e<this.suggestSuffix.length;e++){if(0==this.suggestSuffix[e].indexOf(t)&&this.suggestSuffix[e]!=t)return!0;if(this.suggestSuffix[e]==t)return!1}return!1},init:function(){this.bindEvent()},getInputVal:function(){return $.trim(this.inputElem.val())},updateSuggestList:function(){var t=this.getInputVal(),e=t.split("@");if(e.length>2)return void this.hideSuggest();var i=this.suggestSuffix.slice();if(1==e.length)return void this.hideSuggest();if(!this.canSuggest(e[1])||""==e[0])return void this.hideSuggest();if(t=e[0]+"@",""!=e[1])for(var n=i.length-1;n>=0;n--)0==!i[n].indexOf(e[1])&&i.splice(n,1);for(var o=[],n=0;n<i.length;n++)o.push('<li><a class="tip">'+this.htmlEncode(t)+i[n]+"</a></li>");this.suggestList.html(o.join("")),this.showSuggest()},showSuggest:function(){this.suggestList.show()},hideSuggest:function(){this.suggestList.hide()},switchSuggestList:function(t){if(this.suggestList.is(":visible")){var e=this.suggestList.find("li.tip-hover").index()||0,i=this.suggestList.find("li").length;"down"==t?e==i-1?e=0:e++:"up"==t&&(0==e?e=i-1:e--),this.suggestList.find("li").eq(e).addClass("tip-hover").siblings().removeClass("tip-hover"),this.inputElem.val(this.suggestList.find("li").eq(e).text())}},suggestEnterHandle:function(){var t=this.suggestList.find("li.tip-hover");t.length&&this.inputElem.val(t.text()),this.hideSuggest()},suggestClickHandle:function(t){var e=$(t.target);this.inputElem.val(e.text()),this.hideSuggest()},htmlEncode:function(t){var e="";return null==t||"undefined"==typeof t||0==t.length?"":(e=t.replace(/&/g,"&"),e=e.replace(/</g,"<"),e=e.replace(/>/g,">"),e=e.replace(/ /g," "),e=e.replace(/\'/g,"'"),e=e.replace(/\"/g,"""),e=e.replace(/\n/g,"<br>"))},bindEvent:function(){var t=this;this.inputElem.off("keyup.loginInput focus.loginInput keydown.loginInput blur.loginInput").on("keyup.loginInput focus.loginInput",function(e){var i=e.which||e.keyCode;switch(i){case 38:return!1;case 40:return}var n=t.getInputVal();t.htmlEncode(n)!=n?t.hideSuggest():n.length>0&&n.length<30&&n.split("@").length<=2?t.updateSuggestList():t.hideSuggest()}).on("keydown.loginInput",function(e){var i=e.which||e.keyCode;switch(i){case 27:return void t.hideSuggest();case 38:return t.switchSuggestList("up"),!1;case 40:return void t.switchSuggestList("down");case 13:return void t.suggestEnterHandle()}}).on("blur.loginInput",function(){t.hideSuggest()}),this.suggestList.off().on("mousedown","li",function(e){t.suggestClickHandle(e)})}},t.exports=i},N7Fw:function(t,e,i){var n,o;!function(s,r){"use strict";n=r,o="function"==typeof n?n.call(e,i,e,t):n,!(void 0!==o&&(t.exports=o))}(void 0,function(){var t=14603328e5,e=["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","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"],i=62,n=function(t,e){return(t+e).slice(-t.length)},o=function(t){this._opt=t||{}};return o.prototype={_toBase:function(t,i){var n=this._opt,o=n.symbols||e,s="";if(i>o.length||i<=1)return!1;for(;t>=1;)s=o[t-i*Math.floor(t/i)]+s,t=Math.floor(t/i);return i<11?parseInt(s):s},_salts:function(){for(var t=this,e=t._opt,o=e.salts||2,s="",r=0;r<o;r++){var a=Math.floor(3844*Math.random());s+=n("00",t._toBase(a,i))}return s},gen:function(){var e=this,n=e._opt,o=n.interval||1,s=n.initTime||t,r=o>0?Math.floor(((new Date).getTime()-s)/o):0,a=e._salts();return 0===r?a:e._toBase(r,i)+a}},{inst:function(t){return new o(t)},gen:function(t){return new o(t).gen()},uuid:function(){return new o({salts:4}).gen()}}})},wohU:function(t,e,i){"use strict";var n=i("sdDX"),o=(i("M34W"),i("3but").getCDNDomain()),s={config:function(t){this.options=t||{}},inited:!1,init:function(){return this.inited?this:(this.inited=!0,this.$guideWrapper=$(".J-deviceNotSupportGuide"),this.$guideWrapper.length?(this.$title=this.$guideWrapper.find(".J-title"),this.$detail=this.$guideWrapper.find(".J-detail"),this.$copyUrlContent=this.$guideWrapper.find(".J-copyUrlContent"),this.$copyUrlBtn=this.$guideWrapper.find(".J-copyUrlBtn"),this.$qqBtn=this.$guideWrapper.find(".J-qqBtn"),this.$wxBtn=this.$guideWrapper.find(".J-wxBtn"),this.$emailBtn=this.$guideWrapper.find(".J-emailBtn"),this.$copyTip=this.$guideWrapper.find(".J-copyTip"),this.bindEvents(),this.bindCopyEvent(),this.$copyUrlContent.html(n.htmlEncode(location.href)),this):void 0)},bindEvents:function(){var t=this;this.$qqBtn.off("click").on("click",function(){t.hide(),t.options.switchToQQ()}),this.$wxBtn.off("click").on("click",function(){t.hide(),t.options.switchToWX()}),this.$emailBtn.off("click").on("click",function(){t.hide(),t.options.switchToEmail()})},isIpad:function(){var t=navigator.userAgent||"";return/ipad/i.test(t)},isSupportWxOauth:function(){return null==window.G_isSupportWxOauth||window.G_isSupportWxOauth},isSupportQQOauth:function(){return null==window.G_isSupportQQOauth||window.G_isSupportQQOauth},showWxNotSupportGuide:function(){return this.init(),this.$guideWrapper.length?(this.$wxBtn.hide(),this.$copyTip.hide(),this.isSupportQQOauth()?this.$qqBtn.show():this.$qqBtn.hide(),this.$title.html("\u5fae\u4fe1\u5feb\u901f\u767b\u5f55\u5931\u8d25"),this.isIpad()?this.$detail.html("\u5f53\u524d\u5e94\u7528\u4e0d\u652f\u6301\u5fae\u4fe1\u5feb\u901f\u767b\u5f55\uff0c\u8bf7\u4f7f\u7528Safari\u3001UC\u6216\u5728\u5fae\u4fe1\u5185\u6253\u5f00\u9875\u9762\u6216\u4f7f\u7528\u5176\u4ed6\u65b9\u5f0f\u8fdb\u884c\u767b\u5f55\u3002"):this.$detail.html("\u5f53\u524d\u5e94\u7528\u4e0d\u652f\u6301\u5fae\u4fe1\u5feb\u901f\u767b\u5f55\uff0c\u8bf7\u4f7f\u7528Safari\u3001UC\u3001QQ\u6d4f\u89c8\u5668\u6216\u5728\u5fae\u4fe1\u5185\u6253\u5f00\u9875\u9762\u6216\u4f7f\u7528\u5176\u4ed6\u65b9\u5f0f\u8fdb\u884c\u767b\u5f55\u3002"),void this.$guideWrapper.show()):this.options.switchToWX()},showQQNotSupportGuide:function(){return this.init(),this.$guideWrapper.length?(this.$qqBtn.hide(),this.$copyTip.hide(),this.isSupportWxOauth()?this.$wxBtn.show():this.$wxBtn.hide(),this.$title.html("QQ\u5feb\u901f\u767b\u5f55\u5931\u8d25"),this.$detail.html("\u5f53\u524d\u5e94\u7528\u4e0d\u652f\u6301QQ\u5feb\u901f\u767b\u5f55\uff0c\u8bf7\u4f7f\u7528Safari\u3001Chrome\u3001QQ\u6d4f\u89c8\u5668\u6216\u5728QQ\u5185\u6253\u5f00\u9875\u9762\u6216\u4f7f\u7528\u5176\u4ed6\u65b9\u5f0f\u8fdb\u884c\u767b\u5f55\u3002"),void this.$guideWrapper.show()):this.options.switchToQQ()},hide:function(){this.$guideWrapper&&this.$guideWrapper.hide()},bindCopyEvent:function(){var t=this,e=function(t){$.getScript("https://"+o+"/qcloud/main/scripts/release/common/vendors/clipboard.min.js",function(){setTimeout(function(){t()},200)})};e(function(){if(window.Clipboard)try{var e=new Clipboard(t.$copyUrlBtn[0],{text:function(){return location.href}});e.on("success",function(e){t.$copyTip.html('<i class="oab-global-tips-icon success"></i> <span>\u590d\u5236\u6210\u529f</span>').fadeIn(),setTimeout(function(){t.$copyTip.fadeOut()},3e3)}),e.on("error",function(e){t.$copyTip.html('<i class="oab-global-tips-icon error"></i> <span>\u60a8\u7684\u6d4f\u89c8\u5668\u4e0d\u652f\u6301\u4e00\u952e\u590d\u5236\uff0c\u8bf7\u957f\u6309\u590d\u5236\u5185\u5bb9\uff1a'+n.htmlEncode(location.href)+"</span>").fadeIn()})}catch(t){}})}};t.exports=s},rCGI:function(t,e){"use strict";t.exports={"\u767b\u5f55":"Sign In","\u90ae\u7bb1":"Email","\u90ae\u7bb1\u767b\u5f55":"Sign In with Email","\u90ae\u7bb1\u624b\u673a\u767b\u5f55":"Email/Phone","QQ\u767b\u5f55":"Sign In with QQ","\u5fae\u4fe1\u767b\u5f55":"Sign In with WeChat","\u90ae\u7bb1\u5730\u5740":"Email address","\u90ae\u7bb1\u5730\u5740/\u624b\u673a\u53f7\u7801":"Email address or Phone number","\u90ae\u7bb1\u5730\u5740/DNSPod\u8d26\u53f7":"Email address or DNSPod account","\u5bc6\u7801":"Password","\u9a8c\u8bc1\u7801":"Verifiy Code","\u5fd8\u8bb0\u5bc6\u7801":"Forgot password","\u5fd8\u8bb0\u5bc6\u7801\uff1f":"Forgot password?","\u767b \u5f55":"Sign In","\u8fd8\u6ca1\u6709\u8d26\u53f7\uff1f":"No account ?","\u7acb\u5373\u6ce8\u518c":"Sign up now","\u53c2\u6570\u9519\u8bef\uff0c\u8bf7\u91cd\u65b0\u8f93\u5165":"Param error,Please enter again","\u8d26\u53f7\u4e0d\u5b58\u5728\u6216\u5bc6\u7801\u9519\u8bef\uff0c\u8bf7\u91cd\u65b0\u8f93\u5165":"Account does not exist or password error , please re-enter","\u9a8c\u8bc1\u7801\u9519\u8bef\uff0c\u8bf7\u91cd\u65b0\u8f93\u5165":"Verification code error. Please enter again","\u767b\u5f55\u5931\u8d25\uff0c\u8bf7\u91cd\u8bd5":"Login failed. Please enter again","\u8bf7\u8f93\u5165\u90ae\u7bb1":"Please enter email","\u8bf7\u8f93\u5165\u90ae\u7bb1\u6216\u8005\u624b\u673a\u53f7\u7801":"Please enter email or phone number","\u8bf7\u8f93\u5165\u5bc6\u7801":"Please enter your password","\u8bf7\u8f93\u5165\u9a8c\u8bc1\u7801":"Please enter the verification code","\u8d26\u53f7\u5bc6\u7801\u9519\u8bef\u6b21\u6570\u8fbe\u5230\u4e0a\u9650\uff0c\u5f53\u65e5\u4e0d\u53ef\u767b\u5f55":"Too many password errors today , to ensure account security , please try tomorrow","\u5fae\u4fe1\u516c\u4f17\u53f7":"WeChat OA","\u5fae\u4fe1\u8d26\u53f7":"WeChat","QQ\u8d26\u53f7":"QQ","\u90ae\u7bb1\u8d26\u53f7":"Email","\u767b\u5f55\u817e\u8baf\u4e91":"Sign in Tencent Cloud","\u5176\u4ed6\u767b\u5f55\u65b9\u5f0f":"More","\u4f7f\u7528\u90ae\u7bb1\u8d26\u53f7\u767b\u5f55":"Sign in using your email account","\u8bf7\u4f7f\u7528\u5fae\u4fe1\u626b\u63cf\u4e8c\u7ef4\u7801\u767b\u5f55":"Scan QR-code in WeChat to login","\u201c\u817e\u8baf\u4e91\u201d":'"Tencent Cloud"',"\u8bf7\u8f93\u5165\u6b63\u786e\u7684\u90ae\u7bb1":"Please enter a correct email","\u90ae\u7bb1\u683c\u5f0f\u6709\u8bef\uff0c\u8bf7\u4fee\u6539":"Email format error , please re-edit","\u8be5\u8d26\u53f7\u5c5e\u4e8e\u56fd\u9645\u7ad9\u8d26\u53f7\uff0c":"Your account is for Tencent Cloud International\uff0c","\u524d\u5f80\u767b\u5f55":"Log in now","\u952e\u76d8\u5927\u5199\u9501\u5b9a\u5df2\u6253\u5f00\uff0c\u8bf7\u6ce8\u610f":"CapsLock On","\u5feb\u6377\u767b\u5f55":"More","\u5fd8\u8bb0\u8d26\u53f7\u6216\u5bc6\u7801\uff1f":"Forgot account or password?",'\u8be5\u8d26\u53f7\u53ef\u80fd\u662f\u901a\u8fc7QQ\u5feb\u6377\u6ce8\u518c\uff0c\u8bf7<a href="javascript:;" class="J-switchQQLogin">\u5207\u6362\u81f3QQ\u767b\u5f55<a/>':'Your account was signed in with QQ , please <a href="javascript:;" class="J-switchQQLogin">switch to QQ login window</a>',"\u8fd8\u6ca1\u6709\u6ce8\u518c\u817e\u8baf\u4e91\u8d26\u53f7\uff1f":"No account ?","\u5fd8\u8bb0\u8d26\u53f7":"Forgot account","\u8fd4\u56de\u817e\u8baf\u4e91\u767b\u5f55":"Back to Tencent Cloud login","\u6b64\u90ae\u7bb1\u5730\u5740\u5c1a\u672a\u6fc0\u6d3b\uff0c\u8bf7\u67e5\u770b\u6fc0\u6d3b\u90ae\u4ef6\uff0c\u5b8c\u6210\u6fc0\u6d3b\u540e\u91cd\u65b0\u767b\u5f55\u3002":"This email account has not been activated on Tencent Cloud. Please check your email to activate it and log in again.",'\u6b64\u90ae\u7bb1\u5730\u5740\u5c1a\u672a\u6fc0\u6d3b\uff0c\u8bf7<a target="_blank">\u67e5\u770b\u6fc0\u6d3b\u90ae\u4ef6<a/>\uff0c\u5b8c\u6210\u6fc0\u6d3b\u540e\u91cd\u65b0\u767b\u5f55\u3002':'This email account has not been activated on Tencent Cloud. Please <a target="_blank">check your email</a> to activate it and log in again.',"\u5207\u6362\u5176\u4ed6\u767b\u5f55\u65b9\u5f0f":"Log in via other methods","\u5fae\u4fe1\u626b\u7801\u767b\u5f55":"Sign In with WeChat","\u53bb\u5fae\u4fe1\u6388\u6743":"Authorize on WeChat","\u4f7f\u7528\u5fae\u4fe1\u767b\u5f55":"Sign In with WeChat","\u5b50\u7528\u6237\u767b\u5f55":"CAM user sign in","\u5df2\u767b\u5f55\u8d26\u53f7":"Signed in account","\u5feb\u901f\u767b\u5f55":"Quick Login","\u767b\u5f55\u5176\u4ed6\u8d26\u53f7":"Log in to another account","\u8d26\u53f7":"The account","\u5df2\u767b\u5f55\uff0c\u53ef\u4ee5\u9009\u62e9\u76f4\u63a5\u767b\u5f55\u7ee7\u7eed\u4f7f\u7528\uff0c\u4e5f\u53ef\u4ee5\u4f7f\u7528\u5176\u4ed6\u8d26\u53f7\u767b\u5f55":"is logged in. You can choose to log in directly to continue using it, or you can log in with another account.",'\u8d26\u53f7\u5bc6\u7801\u8f93\u5165\u5f53\u65e5\u4ec5\u52691\u6b21\u673a\u4f1a\uff0c\u662f\u5426 <a class="J-forgetPsw" href="javascript:;">\u5fd8\u8bb0\u5bc6\u7801</a> \u6216 <a class="J-forgetAccount" href="javascript:;">\u5fd8\u8bb0\u8d26\u53f7</a>':'Only 1 chance left to input account and password today. <a class="J-forgetPsw" href="javascript:;">Forget password</a> or <a class="J-forgetAccount" href="javascript:;">forget account</a>?','\u8d26\u53f7\u5bc6\u7801\u9519\u8bef\u6b21\u6570\u8d85\u8fc7\u5f53\u65e5\u6700\u5927\u6b21\u6570\uff0c\u5efa\u8bae\u60a8\u901a\u8fc7 <a class="J-forgetPsw" href="javascript:;">\u5fd8\u8bb0\u5bc6\u7801</a> \u6216 <a class="J-forgetAccount" href="javascript:;">\u5fd8\u8bb0\u8d26\u53f7</a> \u627e\u56de\u8d26\u53f7\u5bc6\u7801\uff0c\u6b21\u65e5\u518d\u5c1d\u8bd5\u767b\u5f55':'Account and password errors exceed the maximum number today. <a class="J-forgetPsw" href="javascript:;">Forget password</a> or <a class="J-forgetAccount" href="javascript:;">forget account</a>?',"\u8bf7\u4f7f\u7528\u5fae\u4fe1\u626b\u4e00\u626b\u767b\u5f55":"Scan code with WeChat to log in","\u5237\u65b0":"Refresh"}}}); |