'+w),void e.close())}),e}function t(t,e){if(e=e||window,u||!t){var r=u||e;return t&&t(r),r}n(function(n){u=n,t(n)},e)}function e(n,t,e){if(U[n])return U[n];var r=new F(n,t,e);return U[n]=r,r}var r=function(n){this._data=n||[]};r.prototype.on=function(n){this._data[n]=!0},r.prototype.off=function(n){this._data[n]=!1},r.prototype.merge=function(n){for(var t=this._data.slice(),e=n._data,o=0;o=0?"&":"?"),o="S3PING_IMG"+d(),i=new Image;window[o]=i;var a=function(n){if(i.onload=i.onerror=i.onabort=null,window[o]=null,i=null,e){var t=null;n&&(t=new Error,t.name="ImgPing"+n),e(t)}};return i.onload=function(){a()},i.onerror=function(){a("Error")},i.onabort=function(){a("Abort")},i.src=r,!0},I=function(n,t){return O()&&window.navigator.sendBeacon(n,t)},R=function(n,t,e){if("xhr"!==A())return!1;var r=new window.XMLHttpRequest;return r.open("POST",n,!0),r.withCredentials=!0,r.setRequestHeader("Content-Type","text/plain"),e&&(r.onreadystatechange=function(){if(4===r.readyState){var n=r.status,t=n>=200&&n<400,o=null;if(!t){var i="XhrPing"+(n<500?"ClientError":"ServerError");o=new Error(i+" "+n),o.name=i}e(o)}}),r.send(t),!0},D=function(n,t,e){var r=n.length+e.length+1;return r>2083&&r-t.length>2048},P=function(n,t,e){t=T(t,e);var r=n.match(/(?:https?|ftp):\/\/[^\/]+/);if(!r)throw new Error('URL: "'+n+'" not absolute url.');var o=r[0],i=e&&e.transport,a=e&&e.callback;return"img"===i?k(n,t,a):"xhr"===i?R(n,t,a):"beacon"===i?I(n,t):D(n,o,t)?!(a||!I(n,t))||(!!R(n,t,a)||k(n,t,a)):k(n,t,a)},N=function(n,t,e){var r=O();if(e=e||{},e.transport=r?"beacon":"img",P(n,t,e),!r){var o,i=200,a=+new Date;for(o=a+i;a=1)){if(this.sending)return void this.errorQueue.push(arguments);this.sending=!0;var l=t().encodeURIComponent,s=this.trackingServer+"/ping/err";if(a=(a||"v="+this.version+"&t="+L(+new Date))+"&fg="+c.encode(i)+"&tp="+l(n)+"&p1="+l(this.module+"-"+e)+(r?"&p2="+l(r.slice(0,100)):"")+(o?"&p3="+l(o.slice(0,100)):""),u)N(s,a);else{var f=this;P(s,a,{callback:function(){f.sending=!1;var n=f.errorQueue.shift();n&&f.sendError.apply(f,n)}})}}}};var U={},B=function(n,e){e=e||window;for(var r=[],o=e.document.cookie.split(";"),i=new RegExp("^\\s*"+l(n)+"=\\s*(.*?)\\s*$"),a=0;aa;a++){var u=r.GetData(a),c=u.GetDWord("dwSSO_Account_dwAccountUin"),l="";try{l=u.GetStr("strSSO_Account_strNickName")}catch(n){l=""}var s={uin:c+"",nick:l};i.push(s)}return i}catch(n){}},V=window.navigator,Q=V.userAgent,W=null!=window.chrome&&"Google Inc."===V.vendor&&/Chrome/.test(Q)&&Q.indexOf("OPR")===-1&&Q.indexOf("Edge")===-1,$=function(n){if(!W){n=n||window;var t=n.document,e=t.createElement("embed");e.type="application/nptxsso",e.style.width="0px",e.style.height="0px",y(e,n);var r=[];if("function"==typeof e.InitPVANoST)try{var o=e.InitPVA();if(0==o)return;for(var i=e.GetPVACount(),a=0;a1&&n.lastIndexOf("/")===n.length-1&&(n=n.substr(0,n.length-1)),0!==n.indexOf("/")&&(n="/"+n),n):"/"},Y=function(n){return n=K(n),"/"===n?1:n.split("/").length},Z=function(n,t,e){n=n||window;var r=n.location,o=Y(null!=e?e:r.pathname),i=J(null!=t?t:r.hostname);return i+(o>1?"-"+o:"")+"-"},nn=function(n,t,e,r,o,i){var a=Z(e,o,i);return t+="",H(n,a+t.replace(/\-/g,"%2d"),e,r,o,i)},tn=function(n,t,e,r){var o=new Date(0);return nn(n,"",t,o,e,r)},en=function(n,t,e){var r=n.length;if(r>0){e=e||r,t=t||0;for(var o=new Array(e-t),i=0,a=t;a-1)){var e="pt_local_token",r=B(e,t);r.length&&r[0]||(r=Math.random(),H(e,r,t,null,".qq.com","/"));var o=t.location.protocol,i="https"===o,a=4300,u=4301,c=i?u:a,l=o+"http://localhost.ptlogin2.qq.com:"+c+"/pt_get_uins?r="+Math.random()+"&pt_local_tk="+r;on(l,function(r,o){if(r)n(r);else{var i=[];if(o&&o.length)for(var a=0;a