(function(m){m.MtaH5=m.MtaH5||{};MtaH5.hack=function(){var u=document.getElementsByName("MTAH5"),r={conf:{autoReport:1,senseHash:1,senseQuery:0,userReport:0},user:{user_id:""},version:"2.0.18"};if(0==u.length)for(var w=document.getElementsByTagName("script"),v=0;v]*)?(?:\?([^'"\\<>#]*))?(?:#(\w+))?/i)||[],a=b[1],t=b[2],k=b[3],d=b[4];void 0!==d&&(d=d.replace(/"|'|<|>/ig,"M"));k&&function(){for(var f=k.split("&"),l=0,h=f.length;le;e++)b=10*b+c[e];return(a||"")+(b+""+ +new Date)}function x(){var a=v(),c={dm:a.host,pvi:"",si:"",url:a.path,arg:encodeURIComponent(a.search||"").substr(0,512),ty:0};c.pvi=function(){var e=(new Date((new Date).getTime()+63072E6)).toGMTString();if(m.userReport){var b=r("pgv_uid");b&&b==m.user.user_id|| (c.ty=1,w("pgv_uid",m.user.user_id,e));b=m.user.user_id}else b=r("pgv_pvi"),b||(c.ty=1,b=n(void 0),w("pgv_pvi",b,e));return b}();c.si=function(){var e=r("pgv_si");e||(e=n("s"),w("pgv_si",e));return e}();c.url=function(){var e=a.path;m.senseQuery&&(e+=a.search?"?"+encodeURIComponent(a.search||"").substr(0,512):"");m.senseHash&&(e+=a.hash?encodeURIComponent(a.hash):"");return e}();return c}function A(){var a=v(document.referrer),c=v();return{rdm:a.host,rurl:a.path,rarg:encodeURIComponent(a.search|| "").substr(0,512),adt:c.param.ADTAG||c.param.adtag||c.param.CKTAG||c.param.cktag||c.param.PTAG||c.param.ptag||c.adtag}}function y(){try{var a=navigator,c=screen||{width:"",height:"",colorDepth:""},e={scr:c.width+"x"+c.height,scl:c.colorDepth+"-bit",lg:(a.language||a.userLanguage).toLowerCase(),tz:(new Date).getTimezoneOffset()/60}}catch(b){return{}}return e}function z(a){arr={};if(a){var c=arr,e=[],b;for(b in a)a.hasOwnProperty(b)&&e.push(encodeURIComponent(b)+"="+encodeURIComponent(a[b]));a=e.join(";"); c.ext=a}return arr}function B(a){a=a||{};for(var c in a)a.hasOwnProperty(c)&&(m[c]=a[c]);if(m.sid)if(!m.userReport||m.user.user_id&&!parseInt(m.user.user_id,10)!==m.user.user_id){a=[];for(var e=0,b=[x(),A(),{r2:m.sid},y(),z({version:m.version}),{random:+new Date}],t=b.length;eg&&(g=0):g=-1;d={domainLookupTime:f,connectTime:l,requestTime:h,resourcesLoadedTime:{value:g},domParsingTime:{value:d.domContentLoadedEventStart? d.domInteractive-d.domLoading:-1},domContentLoadedTime:{value:d.domContentLoadedEventStart?d.domContentLoadedEventStart-d.fetchStart:-1}}}else d="";f=d;l=[];d=[];h=0;g=[x(),{r2:m.cid},y(),{random:+new Date}];for(var p=g.length;h