text: function soPerfLog(e){!function(){if(e&&e.pro&&e.pid){var o=$.extend({q:"",hasTg:0,resDomain:["p.ssl.qhimg.com","hs.qhupdate.com","s.360.cn","s.qhupdate.com","e.tf.360.cn"],rate:10},e),r=/webkit/gi.test(navigator.userAgent)?1:0,n=o.rate>0&&o.rate<=100?o.rate/100:.1;if(r&&window.performance&&Math.random()<n){var t=0,a=0,i=0,s=0,d=0,p=0,m=0;$(window).on("load",function(){var e=performance.timing;t=e.responseEnd-e.responseStart,a=e.domComplete-e.domLoading,i=e.loadEventStart-e.navigationStart,m=$("*").length;for(var r=[],n=[],c=[],g=[],f={},u=window.performance.getEntries(),h=u.length,l=0;l<h;l++){var v=u[l],w=v.name;if("resource"===v.entryType){/\.js$/.test(w)?p++:/\.css/.test(w)?d++:/\.(?:jpg|png|webp|gif|jpeg)(?:$|\?)/i.test(w)&&s++;var q=o.resDomain.length;if(q)for(var j=0;j<q;j++){var b=o.resDomain[j];if(-1!=w.indexOf(b)){r.push(b),n.push(v.duration.toFixed(0)),o.resDomain.splice(j,1);break}j==q-1&&!f[w]&&c.length<6&&(c.push(w.slice(0,70)),g.push(v.duration.toFixed(0)),f[w]=!0)}}}var x=location.protocol+"//s.qhupdate.com/sou/visit_duration.gif";monitor.setConf("perfUrl",x),monitor.log({pro:o.pro,pid:o.pid,mod:"perf",domain:document.domain,q:o.q,ob:o.hasOnebox,tg:o.hasTg,img:s,tag:m,js:p,css:d,resource:h,ready:t,render:a,load:i,resDomain:r.concat(c).join("|"),resTime:n.concat(g).join("|")},"perf",[],!0)})}}}()};