diff options
Diffstat (limited to 'piwik.js')
-rw-r--r-- | piwik.js | 62 |
1 files changed, 31 insertions, 31 deletions
@@ -28,37 +28,37 @@ if(-1!==M(aq,ao)&&ae.findFirstNodeHavingAttributeWithValue(at,"src")){var ar=ae. if(T.innerHeight&&ao>T.innerHeight){ao=T.innerHeight}return((at.bottom>0||aq)&&at.right>0&&at.left<ap&&((at.top<ao)||aq))},isNodeVisible:function(ap){var ao=j(ap);var aq=this.isOrWasNodeInViewport(ap);return ao&&aq},buildInteractionRequestParams:function(ao,ap,aq,ar){var at="";if(ao){at+="c_i="+t(ao)}if(ap){if(at){at+="&"}at+="c_n="+t(ap)}if(aq){if(at){at+="&"}at+="c_p="+t(aq)}if(ar){if(at){at+="&"}at+="c_t="+t(ar)}return at},buildImpressionRequestParams:function(ao,ap,aq){var ar="c_n="+t(ao)+"&c_p="+t(ap);if(aq){ar+="&c_t="+t(aq)}return ar},buildContentBlock:function(aq){if(!aq){return}var ao=this.findContentName(aq);var ap=this.findContentPiece(aq);var ar=this.findContentTarget(aq);ao=this.trim(ao);ap=this.trim(ap);ar=this.trim(ar);return{name:ao||"Unknown",piece:ap||"Unknown",target:ar||""}},collectContent:function(ar){if(!ar||!ar.length){return[]}var aq=[];var ao,ap;for(ao=0;ao<ar.length;ao++){ap=this.buildContentBlock(ar[ao]);if(J(ap)){aq.push(ap)}}return aq},setLocation:function(ao){this.location=ao },getLocation:function(){var ao=this.location||T.location;if(!ao.origin){ao.origin=ao.protocol+"//"+ao.hostname+(ao.port?":"+ao.port:"")}return ao},toAbsoluteUrl:function(ap){if((!ap||String(ap)!==ap)&&ap!==""){return ap}if(""===ap){return this.getLocation().href}if(ap.search(/^\/\//)!==-1){return this.getLocation().protocol+ap}if(ap.search(/:\/\//)!==-1){return ap}if(0===ap.indexOf("#")){return this.getLocation().origin+this.getLocation().pathname+ap}if(0===ap.indexOf("?")){return this.getLocation().origin+this.getLocation().pathname+ap}if(0===ap.search("^[a-zA-Z]{2,11}:")){return ap}if(ap.search(/^\//)!==-1){return this.getLocation().origin+ap}var ao="(.*/)";var aq=this.getLocation().origin+this.getLocation().pathname.match(new RegExp(ao))[0];return aq+ap},isUrlToCurrentDomain:function(ap){var aq=this.toAbsoluteUrl(ap);if(!aq){return false}var ao=this.getLocation().origin;if(ao===aq){return true}if(0===String(aq).indexOf(ao)){if(":"===String(aq).substr(ao.length,1)){return false}return true }return false},setHrefAttribute:function(ap,ao){if(!ap||!ao){return}ae.setAnyAttribute(ap,"href",ao)},shouldIgnoreInteraction:function(aq){var ap=ae.hasNodeAttribute(aq,this.CONTENT_IGNOREINTERACTION_ATTR);var ao=ae.hasNodeCssClass(aq,this.CONTENT_IGNOREINTERACTION_CLASS);return ap||ao}};function O(ap,at){if(at){return at}ap=v.toAbsoluteUrl(ap);if(z(ap,"?")){var ar=ap.indexOf("?");ap=ap.slice(0,ar)}if(R(ap,"matomo.php")){ap=g(ap,"matomo.php".length)}else{if(R(ap,"piwik.php")){ap=g(ap,"piwik.php".length)}else{if(R(ap,".php")){var ao=ap.lastIndexOf("/");var aq=1;ap=ap.slice(0,ao+aq)}}}if(R(ap,"/js/")){ap=g(ap,"js/".length)}return ap}function N(av){var ax="Piwik_Overlay";var ap=new RegExp("index\\.php\\?module=Overlay&action=startOverlaySession&idSite=([0-9]+)&period=([^&]+)&date=([^&]+)(&segment=.*)?$");var aq=ap.exec(G.referrer);if(aq){var at=aq[1];if(at!==String(av)){return false}var au=aq[2],ao=aq[3],ar=aq[4];if(!ar){ar=""}else{if(ar.indexOf("&segment=")===0){ar=ar.substr("&segment=".length) -}}T.name=ax+"###"+au+"###"+ao+"###"+ar}var aw=T.name.split("###");return aw.length===4&&aw[0]===ax}function Z(ap,aw,ar){var av=T.name.split("###"),au=av[1],ao=av[2],at=av[3],aq=O(ap,aw);o(aq+"plugins/Overlay/client/client.js?v=1",function(){Piwik_Overlay_Client.initialize(aq,ar,au,ao,at)})}function u(){var aq;try{aq=T.frameElement}catch(ap){return true}if(J(aq)){return(aq&&String(aq.nodeName).toLowerCase()==="iframe")?true:false}try{return T.self!==T.top}catch(ao){return true}}function Q(cb,b6){var bF=this,bc="mtm_consent",cI="mtm_consent_removed",b1=aa(G.domain,T.location.href,K()),cQ=L(b1[0]),bK=p(b1[1]),bl=p(b1[2]),cO=false,cf="GET",c6=cf,aH="application/x-www-form-urlencoded; charset=UTF-8",cu=aH,aD=cb||"",bE="",cV="",b3=b6||"",bw="",bL="",a3,bh="",c2=["7z","aac","apk","arc","arj","asf","asx","avi","azw3","bin","csv","deb","dmg","doc","docx","epub","exe","flv","gif","gz","gzip","hqx","ibooks","jar","jpg","jpeg","js","mobi","mp2","mp3","mp4","mpg","mpeg","mov","movie","msi","msp","odb","odf","odg","ods","odt","ogg","ogv","pdf","phps","png","ppt","pptx","qt","qtm","ra","ram","rar","rpm","sea","sit","tar","tbz","tbz2","bz","bz2","tgz","torrent","txt","wav","wma","wmv","wpd","xls","xlsx","xml","z","zip"],ax=[cQ],bx=[],bI=[],a7=[],bG=500,cS=true,cF,a4,bO,c3=1800,bM,ao,co=["pk_campaign","piwik_campaign","utm_campaign","utm_source","utm_medium"],bD=["pk_kwd","piwik_kwd","utm_term"],bi="_pk_",av="pk_vid",aY=180,cT,bn,bP=false,bj=false,cM,bd,bt,cG=33955200000,cm=1800000,c1=15768000000,a1=true,ck=0,bN=false,aP=false,b8,bT={},cj={},bk={},br=200,cW={},c4={},b7=[],cc=false,cz=false,ap=false,c5=false,cJ=false,aM=false,bb=u(),cv=null,cU=null,b9,aQ,by,b4=am,bm,aK,cp=0,bs=["id","ses","cvar","ref"],cy=false,bz=null,cH=[],aw=U++; -try{bh=G.title}catch(cw){bh=""}function da(dl,dj,di,dk,dh,dg){if(bj){return}var df;if(di){df=new Date();df.setTime(df.getTime()+di)}G.cookie=dl+"="+t(dj)+(di?";expires="+df.toGMTString():"")+";path="+(dk||"/")+(dh?";domain="+dh:"")+(dg?";secure":"")+";SameSite=Lax"}function aC(dh){if(bj){return 0}var df=new RegExp("(^|;)[ ]*"+dh+"=([^;]*)"),dg=df.exec(G.cookie);return dg?S(dg[2]):0}bz=!aC(cI);function bZ(df){var dg;df=k(df,av);if(bM){dg=new RegExp("#.*");return df.replace(dg,"")}return df}function bS(dh,df){var di=s(df),dg;if(di){return df}if(df.slice(0,1)==="/"){return s(dh)+"://"+d(dh)+df}dh=bZ(dh);dg=dh.indexOf("?");if(dg>=0){dh=dh.slice(0,dg)}dg=dh.lastIndexOf("/");if(dg!==dh.length-1){dh=dh.slice(0,dg+1)}return dh+df}function cD(dh,df){var dg;dh=String(dh).toLowerCase();df=String(df).toLowerCase();if(dh===df){return true}if(df.slice(0,1)==="."){if(dh===df.slice(1)){return true}dg=dh.length-df.length;if((dg>0)&&(dh.slice(dg)===df)){return true}}return false}function ci(df){var dg=document.createElement("a"); -if(df.indexOf("//")!==0&&df.indexOf("http")!==0){if(df.indexOf("*")===0){df=df.substr(1)}if(df.indexOf(".")===0){df=df.substr(1)}df="http://"+df}dg.href=v.toAbsoluteUrl(df);if(dg.pathname){return dg.pathname}return""}function a2(dg,df){if(!aj(df,"/")){df="/"+df}if(!aj(dg,"/")){dg="/"+dg}var dh=(df==="/"||df==="/*");if(dh){return true}if(dg===df){return true}df=String(df).toLowerCase();dg=String(dg).toLowerCase();if(R(df,"*")){df=df.slice(0,-1);dh=(!df||df==="/");if(dh){return true}if(dg===df){return true}return dg.indexOf(df)===0}if(!R(dg,"/")){dg+="/"}if(!R(df,"/")){df+="/"}return dg.indexOf(df)===0}function ar(dj,dl){var dg,df,dh,di,dk;for(dg=0;dg<ax.length;dg++){di=L(ax[dg]);dk=ci(ax[dg]);if(cD(dj,di)&&a2(dl,dk)){return true}}return false}function aU(di){var dg,df,dh;for(dg=0;dg<ax.length;dg++){df=L(ax[dg].toLowerCase());if(di===df){return true}if(df.slice(0,1)==="."){if(di===df.slice(1)){return true}dh=di.length-df.length;if((dh>0)&&(di.slice(dh)===df)){return true}}}return false}function cn(df,dh){df=df.replace("send_image=0","send_image=1"); -var dg=new Image(1,1);dg.onload=function(){E=0;if(typeof dh==="function"){dh({request:df,trackerUrl:aD,success:true})}};dg.onerror=function(){if(typeof dh==="function"){dh({request:df,trackerUrl:aD,success:false})}};dg.src=aD+(aD.indexOf("?")<0?"?":"&")+df}function aJ(){return"object"===typeof h&&"function"===typeof h.sendBeacon&&"function"===typeof Blob}function a5(di,dm){var dh=aJ();if(!dh){return false}var dl={type:"application/x-www-form-urlencoded; charset=UTF-8"};var dk=false;var dg=aD;try{var df=new Blob([di],dl);if(di.length<=2000){df=new Blob([],dl);dg=dg+(dg.indexOf("?")<0?"?":"&")+di}dk=h.sendBeacon(dg,df)}catch(dj){return false}if(dk&&typeof dm==="function"){dm({request:di,trackerUrl:aD,success:true,isSendBeacon:true})}return dk}function c0(dg,dh,df){if(!J(df)||null===df){df=true}if(m&&a5(dg,dh)){return}setTimeout(function(){if(m&&a5(dg,dh)){return}var dk;try{var dj=T.XMLHttpRequest?new T.XMLHttpRequest():T.ActiveXObject?new ActiveXObject("Microsoft.XMLHTTP"):null;dj.open("POST",aD,true); -dj.onreadystatechange=function(){if(this.readyState===4&&!(this.status>=200&&this.status<300)){var dl=m&&a5(dg,dh);if(!dl&&df){cn(dg,dh)}else{if(typeof dh==="function"){dh({request:dg,trackerUrl:aD,success:false,xhr:this})}}}else{if(this.readyState===4&&(typeof dh==="function")){dh({request:dg,trackerUrl:aD,success:true,xhr:this})}}};dj.setRequestHeader("Content-Type",cu);dj.withCredentials=true;dj.send(dg)}catch(di){dk=m&&a5(dg,dh);if(!dk&&df){cn(dg,dh)}else{if(typeof dh==="function"){dh({request:dg,trackerUrl:aD,success:false})}}}},50)}function cd(dg){var df=new Date();var dh=df.getTime()+dg;if(!r||dh>r){r=dh}}function cl(df){if(b9||!a4||!bz){return}b9=setTimeout(function dg(){b9=null;if(!bb){bb=(!G.hasFocus||G.hasFocus())}if(!bb){cl(a4);return}if(bO()){return}var dh=new Date(),di=a4-(dh.getTime()-cU);di=Math.min(a4,di);cl(di)},df||a4)}function bH(){if(!b9){return}clearTimeout(b9);b9=null}function a9(){bb=true;cv=new Date().getTime()}function c9(){var df=new Date().getTime();return !cv||(df-cv)>a4 -}function ay(){if(c9()){bO()}bH()}function dc(){if(aM||!a4){return}aM=true;an(T,"focus",a9);an(T,"blur",ay);ab++;e.addPlugin("HeartBeat"+ab,{unload:function(){if(aM&&c9()){bO()}}})}function cA(dj){var dg=new Date();var df=dg.getTime();cU=df;if(cz&&df<cz){var dh=cz-df;setTimeout(dj,dh);cd(dh+50);cz+=50;return}if(cz===false){var di=800;cz=df+di}dj()}function aN(){if(aC(cI)){bz=false}else{if(aC(bc)){bz=true}}}function bC(dg,df,dh){aN();if(!bz){cH.push(dg);return}if(!cM&&dg){if(cy&&bz){dg+="&consent=1"}cA(function(){if(cS&&a5(dg,dh)){cd(100);return}if(c6==="POST"||String(dg).length>2000){c0(dg,dh)}else{cn(dg,dh)}cd(df)})}if(!aM){dc()}}function ch(df){if(cM){return false}return(df&&df.length)}function cZ(df,dj){if(!dj||dj>=df.length){return[df]}var dg=0;var dh=df.length;var di=[];for(dg;dg<dh;dg+=dj){di.push(df.slice(dg,dg+dj))}return di}function db(dg,df){if(!ch(dg)){return}if(!bz){cH.push(dg);return}cA(function(){var dj=cZ(dg,50);var dh=0,di;for(dh;dh<dj.length;dh++){di='{"requests":["?'+dj[dh].join('","?')+'"]}'; -c0(di,null,false)}cd(df)})}function aS(df){return bi+df+"."+b3+"."+bm}function bV(dh,dg,df){da(dh,"",-86400,dg,df)}function b2(){if(bj){return"0"}if(!J(T.showModalDialog)&&J(h.cookieEnabled)){return h.cookieEnabled?"1":"0"}var df=bi+"testcookie";da(df,"1",undefined,bn,cT,bP);var dg=aC(df)==="1"?"1":"0";bV(df);return dg}function bg(){bm=b4((cT||cQ)+(bn||"/")).slice(0,4)}function cE(){if(J(c4.res)){return c4}var dg,di,dj={pdf:"application/pdf",qt:"video/quicktime",realp:"audio/x-pn-realaudio-plugin",wma:"application/x-mplayer2",dir:"application/x-director",fla:"application/x-shockwave-flash",java:"application/x-java-vm",gears:"application/x-googlegears",ag:"application/x-silverlight"};if(!((new RegExp("MSIE")).test(h.userAgent))){if(h.mimeTypes&&h.mimeTypes.length){for(dg in dj){if(Object.prototype.hasOwnProperty.call(dj,dg)){di=h.mimeTypes[dj[dg]];c4[dg]=(di&&di.enabledPlugin)?"1":"0"}}}if(!((new RegExp("Edge[ /](\\d+[\\.\\d]+)")).test(h.userAgent))&&typeof navigator.javaEnabled!=="unknown"&&J(h.javaEnabled)&&h.javaEnabled()){c4.java="1" -}if(A(T.GearsFactory)){c4.gears="1"}c4.cookie=b2()}var dh=parseInt(X.width,10);var df=parseInt(X.height,10);c4.res=parseInt(dh,10)+"x"+parseInt(df,10);return c4}function bU(){var dg=aS("cvar"),df=aC(dg);if(df&&df.length){df=T.JSON.parse(df);if(W(df)){return df}}return{}}function cB(){if(aP===false){aP=bU()}}function cN(){var df=cE();return b4((h.userAgent||"")+(h.platform||"")+T.JSON.stringify(df)+(new Date()).getTime()+Math.random()).slice(0,16)}function az(){var df=cE();return b4((h.userAgent||"")+(h.platform||"")+T.JSON.stringify(df)).slice(0,6)}function be(){return Math.floor((new Date()).getTime()/1000)}function aI(){var dg=be();var dh=az();var df=String(dg)+dh;return df}function cY(dh){dh=String(dh);var dk=az();var di=dk.length;var dj=dh.substr(-1*di,di);var dg=parseInt(dh.substr(0,dh.length-di),10);if(dg&&dj&&dj===dk){var df=be();if(aY<=0){return true}if(df>=dg&&df<=(dg+aY)){return true}}return false}function dd(df){if(!cJ){return""}var dj=f(df,av);if(!dj){return""}dj=String(dj); -var dh=new RegExp("^[a-zA-Z0-9]+$");if(dj.length===32&&dh.test(dj)){var dg=dj.substr(16,32);if(cY(dg)){var di=dj.substr(0,16);return di}}return""}function cK(){if(!bL){bL=dd(bK)}var dh=new Date(),df=Math.round(dh.getTime()/1000),dg=aS("id"),dk=aC(dg),dj,di;if(dk){dj=dk.split(".");dj.unshift("0");if(bL.length){dj[1]=bL}return dj}if(bL.length){di=bL}else{if("0"===b2()){di=""}else{di=cN()}}dj=["1",di,df,0,df,"",""];return dj}function aX(){var dm=cK(),di=dm[0],dj=dm[1],dg=dm[2],df=dm[3],dk=dm[4],dh=dm[5];if(!J(dm[6])){dm[6]=""}var dl=dm[6];return{newVisitor:di,uuid:dj,createTs:dg,visitCount:df,currentVisitTs:dk,lastVisitTs:dh,lastEcommerceOrderTs:dl}}function aG(){var di=new Date(),dg=di.getTime(),dj=aX().createTs;var df=parseInt(dj,10);var dh=(df*1000)+cG-dg;return dh}function aL(df){if(!b3){return}var dh=new Date(),dg=Math.round(dh.getTime()/1000);if(!J(df)){df=aX()}var di=df.uuid+"."+df.createTs+"."+df.visitCount+"."+dg+"."+df.lastVisitTs+"."+df.lastEcommerceOrderTs;da(aS("id"),di,aG(),bn,cT,bP) -}function bJ(){var df=aC(aS("ref"));if(df.length){try{df=T.JSON.parse(df);if(W(df)){return df}}catch(dg){}}return["","",0,""]}function bu(dg){var df="testvalue";da("test",df,10000,null,dg);if(aC("test")===df){bV("test",null,dg);return true}return false}function aE(){var dg=bj;bj=false;var df,dh;for(df=0;df<bs.length;df++){dh=aS(bs[df]);if(dh!==cI&&dh!==bc&&0!==aC(dh)){bV(dh,bn,cT)}}bj=dg}function b0(df){b3=df;aL()}function de(dj){if(!dj||!W(dj)){return}var di=[];var dh;for(dh in dj){if(Object.prototype.hasOwnProperty.call(dj,dh)){di.push(dh)}}var dk={};di.sort();var df=di.length;var dg;for(dg=0;dg<df;dg++){dk[di[dg]]=dj[di[dg]]}return dk}function ca(){da(aS("ses"),"1",cm,bn,cT,bP)}function bf(){var di="";var dg="abcdefghijklmnopqrstuvwxyz0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ";var dh=dg.length;var df;for(df=0;df<6;df++){di+=dg.charAt(Math.floor(Math.random()*dh))}return di}function cq(dh,dD,dE,di){var dC,dg=new Date(),dq=Math.round(dg.getTime()/1000),dm,dB,dj=1024,dK,dr,dz=aP,dk=aS("ses"),dx=aS("ref"),du=aS("cvar"),dv=aC(dk),dA=bJ(),dG=a3||bK,dn,df; -if(bj){aE()}if(cM){return""}var dw=aX();if(!J(di)){di=""}var dt=G.characterSet||G.charset;if(!dt||dt.toLowerCase()==="utf-8"){dt=null}dn=dA[0];df=dA[1];dm=dA[2];dB=dA[3];if(!dv){var dF=cm/1000;if(!dw.lastVisitTs||(dq-dw.lastVisitTs)>dF){dw.visitCount++;dw.lastVisitTs=dw.currentVisitTs}if(!bt||!dn.length){for(dC in co){if(Object.prototype.hasOwnProperty.call(co,dC)){dn=f(dG,co[dC]);if(dn.length){break}}}for(dC in bD){if(Object.prototype.hasOwnProperty.call(bD,dC)){df=f(dG,bD[dC]);if(df.length){break}}}}dK=d(bl);dr=dB.length?d(dB):"";if(dK.length&&!aU(dK)&&(!bt||!dr.length||aU(dr))){dB=bl}if(dB.length||dn.length){dm=dq;dA=[dn,df,dm,bZ(dB.slice(0,dj))];da(dx,T.JSON.stringify(dA),c1,bn,cT,bP)}}dh+="&idsite="+b3+"&rec=1&r="+String(Math.random()).slice(2,8)+"&h="+dg.getHours()+"&m="+dg.getMinutes()+"&s="+dg.getSeconds()+"&url="+t(bZ(dG))+(bl.length?"&urlref="+t(bZ(bl)):"")+((bw&&bw.length)?"&uid="+t(bw):"")+"&_id="+dw.uuid+"&_idts="+dw.createTs+"&_idvc="+dw.visitCount+"&_idn="+dw.newVisitor+(dn.length?"&_rcn="+t(dn):"")+(df.length?"&_rck="+t(df):"")+"&_refts="+dm+"&_viewts="+dw.lastVisitTs+(String(dw.lastEcommerceOrderTs).length?"&_ects="+dw.lastEcommerceOrderTs:"")+(String(dB).length?"&_ref="+t(bZ(dB.slice(0,dj))):"")+(dt?"&cs="+t(dt):"")+"&send_image=0"; -var dJ=cE();for(dC in dJ){if(Object.prototype.hasOwnProperty.call(dJ,dC)){dh+="&"+dC+"="+dJ[dC]}}var dI=[];if(dD){for(dC in dD){if(Object.prototype.hasOwnProperty.call(dD,dC)&&/^dimension\d+$/.test(dC)){var dl=dC.replace("dimension","");dI.push(parseInt(dl,10));dI.push(String(dl));dh+="&"+dC+"="+t(dD[dC]);delete dD[dC]}}}if(dD&&B(dD)){dD=null}for(dC in bk){if(Object.prototype.hasOwnProperty.call(bk,dC)){var ds=(-1===M(dI,dC));if(ds){dh+="&dimension"+dC+"="+t(bk[dC])}}}if(dD){dh+="&data="+t(T.JSON.stringify(dD))}else{if(ao){dh+="&data="+t(T.JSON.stringify(ao))}}function dp(dL,dM){var dN=T.JSON.stringify(dL);if(dN.length>2){return"&"+dM+"="+t(dN)}return""}var dH=de(bT);var dy=de(cj);dh+=dp(dH,"cvar");dh+=dp(dy,"e_cvar");if(aP){dh+=dp(aP,"_cvar");for(dC in dz){if(Object.prototype.hasOwnProperty.call(dz,dC)){if(aP[dC][0]===""||aP[dC][1]===""){delete aP[dC]}}}if(bN){da(du,T.JSON.stringify(aP),cm,bn,cT,bP)}}if(a1){if(ck){dh+=">_ms="+ck}else{if(i&&i.timing&&i.timing.requestStart&&i.timing.responseEnd){dh+=">_ms="+(i.timing.responseEnd-i.timing.requestStart) -}}}if(aK){dh+="&pv_id="+aK}dw.lastEcommerceOrderTs=J(di)&&String(di).length?di:dw.lastEcommerceOrderTs;aL(dw);ca();dh+=ac(dE,{tracker:bF,request:dh});if(cV.length){dh+="&"+cV}if(A(b8)){dh=b8(dh)}return dh}bO=function a6(){var df=new Date();df=df.getTime();if(!cU){return false}if((cU+(1000*c3))<=df){return false}if(cU+a4<=df){bF.ping();return true}return false};function bo(di,dh,dn,dj,df,dr){var dl="idgoal=0",dm,dg=new Date(),dp=[],dq,dk=String(di).length;if(dk){dl+="&ec_id="+t(di);dm=Math.round(dg.getTime()/1000)}dl+="&revenue="+dh;if(String(dn).length){dl+="&ec_st="+dn}if(String(dj).length){dl+="&ec_tx="+dj}if(String(df).length){dl+="&ec_sh="+df}if(String(dr).length){dl+="&ec_dt="+dr}if(cW){for(dq in cW){if(Object.prototype.hasOwnProperty.call(cW,dq)){if(!J(cW[dq][1])){cW[dq][1]=""}if(!J(cW[dq][2])){cW[dq][2]=""}if(!J(cW[dq][3])||String(cW[dq][3]).length===0){cW[dq][3]=0}if(!J(cW[dq][4])||String(cW[dq][4]).length===0){cW[dq][4]=1}dp.push(cW[dq])}}dl+="&ec_items="+t(T.JSON.stringify(dp)) -}dl=cq(dl,ao,"ecommerce",dm);bC(dl,bG);if(dk){cW={}}}function bW(df,dj,di,dh,dg,dk){if(String(df).length&&J(dj)){bo(df,dj,di,dh,dg,dk)}}function bq(df){if(J(df)){bo("",df,"","","","")}}function bX(dg,di,dh){aK=bf();var df=cq("action_name="+t(al(dg||bh)),di,"log");bC(df,bG,dh)}function aZ(dh,dg){var di,df="(^| )(piwik[_-]"+dg;if(dh){for(di=0;di<dh.length;di++){df+="|"+dh[di]}}df+=")( |$)";return new RegExp(df)}function aT(df){return(aD&&df&&0===String(df).indexOf(aD))}function cs(dj,df,dk,dg){if(aT(df)){return 0}var di=aZ(bI,"download"),dh=aZ(a7,"link"),dl=new RegExp("\\.("+c2.join("|")+")([?&#]|$)","i");if(dh.test(dj)){return"link"}if(dg||di.test(dj)||dl.test(df)){return"download"}if(dk){return 0}return"link"}function au(dg){var df;df=dg.parentNode;while(df!==null&&J(df)){if(ae.isLinkElement(dg)){break}dg=df;df=dg.parentNode}return dg}function c8(dk){dk=au(dk);if(!ae.hasNodeAttribute(dk,"href")){return}if(!J(dk.href)){return}var dj=ae.getAttributeValueFromNode(dk,"href");var dg=dk.pathname||ci(dk.href); -var dl=dk.hostname||d(dk.href);var dm=dl.toLowerCase();var dh=dk.href.replace(dl,dm);var di=new RegExp("^(javascript|vbscript|jscript|mocha|livescript|ecmascript|mailto|tel):","i");if(!di.test(dh)){var df=cs(dk.className,dh,ar(dm,dg),ae.hasNodeAttribute(dk,"download"));if(df){return{type:df,href:dh}}}}function aO(df,dg,dh,di){var dj=v.buildInteractionRequestParams(df,dg,dh,di);if(!dj){return}return cq(dj,null,"contentInteraction")}function ba(df,dg){if(!df||!dg){return false}var dh=v.findTargetNode(df);if(v.shouldIgnoreInteraction(dh)){return false}dh=v.findTargetNodeNoDefault(df);if(dh&&!V(dh,dg)){return false}return true}function cr(dh,dg,dj){if(!dh){return}var df=v.findParentContentNode(dh);if(!df){return}if(!ba(df,dh)){return}var di=v.buildContentBlock(df);if(!di){return}if(!di.target&&dj){di.target=dj}return v.buildInteractionRequestParams(dg,di.name,di.piece,di.target)}function aV(dg){if(!b7||!b7.length){return false}var df,dh;for(df=0;df<b7.length;df++){dh=b7[df];if(dh&&dh.name===dg.name&&dh.piece===dg.piece&&dh.target===dg.target){return true -}}return false}function aW(df){return function(dj){if(!df){return}var dh=v.findParentContentNode(df);var dg;if(dj){dg=dj.target||dj.srcElement}if(!dg){dg=df}if(!ba(dh,dg)){return}if(!dh){return false}var dk=v.findTargetNode(dh);if(!dk||v.shouldIgnoreInteraction(dk)){return false}var di=c8(dk);if(c5&&di&&di.type){return di.type}return bF.trackContentInteractionNode(dg,"click")}}function bY(dh){if(!dh||!dh.length){return}var df,dg;for(df=0;df<dh.length;df++){dg=v.findTargetNode(dh[df]);if(dg&&!dg.contentInteractionTrackingSetupDone){dg.contentInteractionTrackingSetupDone=true;an(dg,"click",aW(dg))}}}function bv(dh,di){if(!dh||!dh.length){return[]}var df,dg;for(df=0;df<dh.length;df++){if(aV(dh[df])){dh.splice(df,1);df--}else{b7.push(dh[df])}}if(!dh||!dh.length){return[]}bY(di);var dj=[];for(df=0;df<dh.length;df++){dg=cq(v.buildImpressionRequestParams(dh[df].name,dh[df].piece,dh[df].target),undefined,"contentImpressions");if(dg){dj.push(dg)}}return dj}function cx(dg){var df=v.collectContent(dg); -return bv(df,dg)}function a8(dg){if(!dg||!dg.length){return[]}var df;for(df=0;df<dg.length;df++){if(!v.isNodeVisible(dg[df])){dg.splice(df,1);df--}}if(!dg||!dg.length){return[]}return cx(dg)}function aF(dh,df,dg){var di=v.buildImpressionRequestParams(dh,df,dg);return cq(di,null,"contentImpression")}function c7(di,dg){if(!di){return}var df=v.findParentContentNode(di);var dh=v.buildContentBlock(df);if(!dh){return}if(!dg){dg="Unknown"}return aO(dg,dh.name,dh.piece,dh.target)}function cL(dg,di,df,dh){return"e_c="+t(dg)+"&e_a="+t(di)+(J(df)?"&e_n="+t(df):"")+(J(dh)?"&e_v="+t(dh):"")}function at(dh,dj,df,di,dl,dk){if(a(String(dh)).length===0||a(String(dj)).length===0){ak("Error while logging event: Parameters `category` and `action` must not be empty or filled with whitespaces");return false}var dg=cq(cL(dh,dj,df,di),dl,"event");bC(dg,bG,dk)}function b5(df,di,dg,dj){var dh=cq("search="+t(df)+(di?"&search_cat="+t(di):"")+(J(dg)?"&search_count="+dg:""),dj,"sitesearch");bC(dh,bG)}function cP(df,dj,di,dh){var dg=cq("idgoal="+df+(dj?"&revenue="+dj:""),di,"goal"); -bC(dg,bG,dh)}function cX(di,df,dm,dl,dh){var dk=df+"="+t(bZ(di));var dg=cr(dh,"click",di);if(dg){dk+="&"+dg}var dj=cq(dk,dm,"link");bC(dj,bG,dl)}function bR(dg,df){if(dg!==""){return dg+df.charAt(0).toUpperCase()+df.slice(1)}return df}function ce(dk){var dj,df,di=["","webkit","ms","moz"],dh;if(!bd){for(df=0;df<di.length;df++){dh=di[df];if(Object.prototype.hasOwnProperty.call(G,bR(dh,"hidden"))){if(G[bR(dh,"visibilityState")]==="prerender"){dj=true}break}}}if(dj){an(G,dh+"visibilitychange",function dg(){G.removeEventListener(dh+"visibilitychange",dg,false);dk()});return}dk()}function bp(){var dg=aX().uuid;var df=aI();return dg+df}function cg(df){if(!df){return}if(!ae.hasNodeAttribute(df,"href")){return}var dg=ae.getAttributeValueFromNode(df,"href");if(!dg||aT(dg)){return}dg=k(dg,av);var dh=bp();dg=F(dg,av,dh);ae.setAnyAttribute(df,"href",dg)}function aA(di){var dj=ae.getAttributeValueFromNode(di,"href");if(!dj){return false}dj=String(dj);var dg=dj.indexOf("//")===0||dj.indexOf("http://")===0||dj.indexOf("https://")===0; -if(!dg){return false}var df=di.pathname||ci(di.href);var dh=(di.hostname||d(di.href)).toLowerCase();if(ar(dh,df)){if(!cD(cQ,L(dh))){return true}return false}return false}function cC(df){var dg=c8(df);if(dg&&dg.type){dg.href=p(dg.href);cX(dg.href,dg.type,undefined,null,df);return}if(cJ){df=au(df);if(aA(df)){cg(df)}}}function ct(){return G.all&&!G.addEventListener}function cR(df){var dh=df.which;var dg=(typeof df.button);if(!dh&&dg!=="undefined"){if(ct()){if(df.button&1){dh=1}else{if(df.button&2){dh=3}else{if(df.button&4){dh=2}}}}else{if(df.button===0||df.button==="0"){dh=1}else{if(df.button&1){dh=2}else{if(df.button&2){dh=3}}}}}return dh}function bQ(df){switch(cR(df)){case 1:return"left";case 2:return"middle";case 3:return"right"}}function a0(df){return df.target||df.srcElement}function aB(df){return function(di){di=di||T.event;var dh=bQ(di);var dj=a0(di);if(di.type==="click"){var dg=false;if(df&&dh==="middle"){dg=true}if(dj&&!dg){cC(dj)}}else{if(di.type==="mousedown"){if(dh==="middle"&&dj){aQ=dh; -by=dj}else{aQ=by=null}}else{if(di.type==="mouseup"){if(dh===aQ&&dj===by){cC(dj)}aQ=by=null}else{if(di.type==="contextmenu"){cC(dj)}}}}}}function aq(dh,dg){var df=typeof dg;if(df==="undefined"){dg=true}an(dh,"click",aB(dg),false);if(dg){an(dh,"mouseup",aB(dg),false);an(dh,"mousedown",aB(dg),false);an(dh,"contextmenu",aB(dg),false)}}function bB(dh,dj){ap=true;var di,dg=aZ(bx,"ignore"),dk=G.links,df=null,dl=null;if(dk){for(di=0;di<dk.length;di++){df=dk[di];if(!dg.test(df.className)){dl=typeof df.piwikTrackers;if("undefined"===dl){df.piwikTrackers=[]}if(-1===M(df.piwikTrackers,dj)){df.piwikTrackers.push(dj);aq(df,dh)}}}}}function aR(dg,dj,dk){if(cc){return true}cc=true;var dl=false;var di,dh;function df(){dl=true}n(function(){function dm(dp){setTimeout(function(){if(!cc){return}dl=false;dk.trackVisibleContentImpressions();dm(dp)},dp)}function dn(dp){setTimeout(function(){if(!cc){return}if(dl){dl=false;dk.trackVisibleContentImpressions()}dn(dp)},dp)}if(dg){di=["scroll","resize"];for(dh=0;dh<di.length; -dh++){if(G.addEventListener){G.addEventListener(di[dh],df,false)}else{T.attachEvent("on"+di[dh],df)}}dn(100)}if(dj&&dj>0){dj=parseInt(dj,10);dm(dj)}})}var bA={enabled:true,requests:[],timeout:null,interval:2500,sendRequests:function(){var df=this.requests;this.requests=[];if(df.length===1){bC(df[0],bG)}else{db(df,bG)}},push:function(df){if(!df){return}if(m||!this.enabled){bC(df,bG);return}bA.requests.push(df);if(this.timeout){clearTimeout(this.timeout);this.timeout=null}this.timeout=setTimeout(function(){bA.timeout=null;bA.sendRequests()},bA.interval);var dg="RequestQueue"+aw;if(!Object.prototype.hasOwnProperty.call(b,dg)){b[dg]={unload:function(){if(bA.timeout){clearTimeout(bA.timeout)}bA.sendRequests()}}}}};bg();aL();this.hasConsent=function(){return bz};this.getVisitorId=function(){return aX().uuid};this.getVisitorInfo=function(){return cK()};this.getAttributionInfo=function(){return bJ()};this.getAttributionCampaignName=function(){return bJ()[0]};this.getAttributionCampaignKeyword=function(){return bJ()[1] -};this.getAttributionReferrerTimestamp=function(){return bJ()[2]};this.getAttributionReferrerUrl=function(){return bJ()[3]};this.setTrackerUrl=function(df){aD=df};this.getTrackerUrl=function(){return aD};this.getPiwikUrl=function(){return O(this.getTrackerUrl(),bE)};this.addTracker=function(df,dh){if(!J(df)||null===df){df=this.getTrackerUrl()}var dg=new Q(df,dh);I.push(dg);e.trigger("TrackerAdded",[this]);return dg};this.getSiteId=function(){return b3};this.setSiteId=function(df){b0(df)};this.resetUserId=function(){bw=""};this.setUserId=function(df){if(Y(df)){bw=df}};this.getUserId=function(){return bw};this.setCustomData=function(df,dg){if(W(df)){ao=df}else{if(!ao){ao={}}ao[df]=dg}};this.getCustomData=function(){return ao};this.setCustomRequestProcessing=function(df){b8=df};this.appendToTrackingUrl=function(df){cV=df};this.getRequest=function(df){return cq(df)};this.addPlugin=function(df,dg){b[df]=dg};this.setCustomDimension=function(df,dg){df=parseInt(df,10);if(df>0){if(!J(dg)){dg=""}if(!w(dg)){dg=String(dg) -}bk[df]=dg}};this.getCustomDimension=function(df){df=parseInt(df,10);if(df>0&&Object.prototype.hasOwnProperty.call(bk,df)){return bk[df]}};this.deleteCustomDimension=function(df){df=parseInt(df,10);if(df>0){delete bk[df]}};this.setCustomVariable=function(dg,df,dj,dh){var di;if(!J(dh)){dh="visit"}if(!J(df)){return}if(!J(dj)){dj=""}if(dg>0){df=!w(df)?String(df):df;dj=!w(dj)?String(dj):dj;di=[df.slice(0,br),dj.slice(0,br)];if(dh==="visit"||dh===2){cB();aP[dg]=di}else{if(dh==="page"||dh===3){bT[dg]=di}else{if(dh==="event"){cj[dg]=di}}}}};this.getCustomVariable=function(dg,dh){var df;if(!J(dh)){dh="visit"}if(dh==="page"||dh===3){df=bT[dg]}else{if(dh==="event"){df=cj[dg]}else{if(dh==="visit"||dh===2){cB();df=aP[dg]}}}if(!J(df)||(df&&df[0]==="")){return false}return df};this.deleteCustomVariable=function(df,dg){if(this.getCustomVariable(df,dg)){this.setCustomVariable(df,"","",dg)}};this.deleteCustomVariables=function(df){if(df==="page"||df===3){bT={}}else{if(df==="event"){cj={}}else{if(df==="visit"||df===2){aP={} -}}}};this.storeCustomVariablesInCookie=function(){bN=true};this.setLinkTrackingTimer=function(df){bG=df};this.getLinkTrackingTimer=function(){return bG};this.setDownloadExtensions=function(df){if(w(df)){df=df.split("|")}c2=df};this.addDownloadExtensions=function(dg){var df;if(w(dg)){dg=dg.split("|")}for(df=0;df<dg.length;df++){c2.push(dg[df])}};this.removeDownloadExtensions=function(dh){var dg,df=[];if(w(dh)){dh=dh.split("|")}for(dg=0;dg<c2.length;dg++){if(M(dh,c2[dg])===-1){df.push(c2[dg])}}c2=df};this.setDomains=function(df){ax=w(df)?[df]:df;var dj=false,dh=0,dg;for(dh;dh<ax.length;dh++){dg=String(ax[dh]);if(cD(cQ,L(dg))){dj=true;break}var di=ci(dg);if(di&&di!=="/"&&di!=="/*"){dj=true;break}}if(!dj){ax.push(cQ)}};this.enableCrossDomainLinking=function(){cJ=true};this.disableCrossDomainLinking=function(){cJ=false};this.isCrossDomainLinkingEnabled=function(){return cJ};this.setCrossDomainLinkingTimeout=function(df){aY=df};this.getCrossDomainLinkingUrlParameter=function(){return t(av)+"="+t(bp()) -};this.setIgnoreClasses=function(df){bx=w(df)?[df]:df};this.setRequestMethod=function(df){c6=df||cf};this.setRequestContentType=function(df){cu=df||aH};this.setReferrerUrl=function(df){bl=df};this.setCustomUrl=function(df){a3=bS(bK,df)};this.getCurrentUrl=function(){return a3||bK};this.setDocumentTitle=function(df){bh=df};this.setAPIUrl=function(df){bE=df};this.setDownloadClasses=function(df){bI=w(df)?[df]:df};this.setLinkClasses=function(df){a7=w(df)?[df]:df};this.setCampaignNameKey=function(df){co=w(df)?[df]:df};this.setCampaignKeywordKey=function(df){bD=w(df)?[df]:df};this.discardHashTag=function(df){bM=df};this.setCookieNamePrefix=function(df){bi=df;if(aP){aP=bU()}};this.setCookieDomain=function(df){var dg=L(df);if(bu(dg)){cT=dg;bg()}};this.getCookieDomain=function(){return cT};this.hasCookies=function(){return"1"===b2()};this.setSessionCookie=function(dh,dg,df){if(!dh){throw new Error("Missing cookie name")}if(!J(df)){df=cm}bs.push(dh);da(aS(dh),dg,df,bn,cT)};this.getCookie=function(dg){var df=aC(aS(dg)); -if(df===0){return null}return df};this.setCookiePath=function(df){bn=df;bg()};this.getCookiePath=function(df){return bn};this.setVisitorCookieTimeout=function(df){cG=df*1000};this.setSessionCookieTimeout=function(df){cm=df*1000};this.getSessionCookieTimeout=function(){return cm};this.setReferralCookieTimeout=function(df){c1=df*1000};this.setConversionAttributionFirstReferrer=function(df){bt=df};this.setSecureCookie=function(df){bP=df};this.disableCookies=function(){bj=true;c4.cookie="0";if(b3){aE()}};this.deleteCookies=function(){aE()};this.setDoNotTrack=function(dg){var df=h.doNotTrack||h.msDoNotTrack;cM=dg&&(df==="yes"||df==="1");if(cM){this.disableCookies()}};this.alwaysUseSendBeacon=function(){cS=true};this.disableAlwaysUseSendBeacon=function(){cS=false};this.addListener=function(dg,df){aq(dg,df)};this.enableLinkTracking=function(dg){c5=true;var df=this;ce(function(){q(function(){bB(dg,df)})})};this.enableJSErrorTracking=function(){if(cO){return}cO=true;var df=T.onerror;T.onerror=function(dk,di,dh,dj,dg){ce(function(){var dl="JavaScript Errors"; -var dm=di+":"+dh;if(dj){dm+=":"+dj}at(dl,dm,dk)});if(df){return df(dk,di,dh,dj,dg)}return false}};this.disablePerformanceTracking=function(){a1=false};this.setGenerationTimeMs=function(df){ck=parseInt(df,10)};this.setVisitStandardLength=function(df){df=Math.max(df,5);c3=df};this.enableHeartBeatTimer=function(df){df=Math.max(df,5);a4=(df||15)*1000;if(cU!==null){dc()}};this.disableHeartBeatTimer=function(){bH();if(a4||aM){if(T.removeEventListener){T.removeEventListener("focus",a9);T.removeEventListener("blur",ay)}else{if(T.detachEvent){T.detachEvent("onfocus",a9);T.detachEvent("onblur",ay)}}}a4=null;aM=false};this.killFrame=function(){if(T.location!==T.top.location){T.top.location=T.location}};this.redirectFile=function(df){if(T.location.protocol==="file:"){T.location=df}};this.setCountPreRendered=function(df){bd=df};this.trackGoal=function(df,di,dh,dg){ce(function(){cP(df,di,dh,dg)})};this.trackLink=function(dg,df,di,dh){ce(function(){cX(dg,df,di,dh)})};this.getNumTrackedPageViews=function(){return cp -};this.trackPageView=function(df,dh,dg){b7=[];cH=[];if(N(b3)){ce(function(){Z(aD,bE,b3)})}else{ce(function(){cp++;bX(df,dh,dg)})}};this.trackAllContentImpressions=function(){if(N(b3)){return}ce(function(){q(function(){var df=v.findContentNodes();var dg=cx(df);db(dg,bG)})})};this.trackVisibleContentImpressions=function(df,dg){if(N(b3)){return}if(!J(df)){df=true}if(!J(dg)){dg=750}aR(df,dg,this);ce(function(){n(function(){var dh=v.findContentNodes();var di=a8(dh);db(di,bG)})})};this.trackContentImpression=function(dh,df,dg){if(N(b3)){return}dh=a(dh);df=a(df);dg=a(dg);if(!dh){return}df=df||"Unknown";ce(function(){var di=aF(dh,df,dg);bC(di,bG)})};this.trackContentImpressionsWithinNode=function(df){if(N(b3)||!df){return}ce(function(){if(cc){n(function(){var dg=v.findContentNodesWithinNode(df);var dh=a8(dg);db(dh,bG)})}else{q(function(){var dg=v.findContentNodesWithinNode(df);var dh=cx(dg);db(dh,bG)})}})};this.trackContentInteraction=function(dh,di,df,dg){if(N(b3)){return}dh=a(dh);di=a(di);df=a(df); -dg=a(dg);if(!dh||!di){return}df=df||"Unknown";ce(function(){var dj=aO(dh,di,df,dg);if(dj){bC(dj,bG)}})};this.trackContentInteractionNode=function(dh,dg){if(N(b3)||!dh){return}var df=null;ce(function(){df=c7(dh,dg);if(df){bC(df,bG)}});return df};this.logAllContentBlocksOnPage=function(){var dh=v.findContentNodes();var df=v.collectContent(dh);var dg=typeof console;if(dg!=="undefined"&&console&&console.log){console.log(df)}};this.trackEvent=function(dg,di,df,dh,dk,dj){ce(function(){at(dg,di,df,dh,dk,dj)})};this.trackSiteSearch=function(df,dh,dg,di){b7=[];ce(function(){b5(df,dh,dg,di)})};this.setEcommerceView=function(di,df,dh,dg){if(Y(dh)){dh=String(dh)}if(!J(dh)||dh===null||dh===false||!dh.length){dh=""}else{if(dh instanceof Array){dh=T.JSON.stringify(dh)}}bT[5]=["_pkc",dh];if(J(dg)&&dg!==null&&dg!==false&&String(dg).length){bT[2]=["_pkp",dg]}if(!Y(di)&&!Y(df)){return}if(Y(di)){bT[3]=["_pks",di]}if(!Y(df)){df=""}bT[4]=["_pkn",df]};this.getEcommerceItems=function(){return JSON.parse(JSON.stringify(cW)) -};this.addEcommerceItem=function(dj,df,dh,dg,di){if(Y(dj)){cW[dj]=[String(dj),df,dh,dg,di]}};this.removeEcommerceItem=function(df){if(Y(df)){df=String(df);delete cW[df]}};this.clearEcommerceCart=function(){cW={}};this.trackEcommerceOrder=function(df,dj,di,dh,dg,dk){bW(df,dj,di,dh,dg,dk)};this.trackEcommerceCartUpdate=function(df){bq(df)};this.trackRequest=function(dg,di,dh,df){ce(function(){var dj=cq(dg,di,df);bC(dj,bG,dh)})};this.ping=function(){this.trackRequest("ping=1",null,null,"ping")};this.disableQueueRequest=function(){bA.enabled=false};this.setRequestQueueInterval=function(df){if(df<1000){throw new Error("Request queue interval needs to be at least 1000ms")}bA.interval=df};this.queueRequest=function(df){ce(function(){var dg=cq(df);bA.push(dg)})};this.isConsentRequired=function(){return cy};this.getRememberedConsent=function(){var df=aC(bc);if(aC(cI)){if(df){bV(bc,bn,cT)}return null}if(!df||df===0){return null}return df};this.hasRememberedConsent=function(){return !!this.getRememberedConsent() -};this.requireConsent=function(){cy=true;bz=this.hasRememberedConsent();x++;b["CoreConsent"+x]={unload:function(){if(!bz){aE()}}}};this.setConsentGiven=function(){bz=true;bV(cI,bn,cT);var dg,df;for(dg=0;dg<cH.length;dg++){df=typeof cH[dg];if(df==="string"){bC(cH[dg],bG)}else{if(df==="object"){db(cH[dg],bG)}}}cH=[]};this.rememberConsentGiven=function(dg){if(dg){dg=dg*60*60*1000}else{dg=30*365*24*60*60*1000}this.setConsentGiven();var df=new Date().getTime();da(bc,df,dg,bn,cT,bP)};this.forgetConsentGiven=function(){var df=30*365*24*60*60*1000;bV(bc,bn,cT);da(cI,new Date().getTime(),df,bn,cT,bP);this.requireConsent()};this.isUserOptedOut=function(){return !bz};this.optUserOut=this.forgetConsentGiven;this.forgetUserOptOut=this.rememberConsentGiven;e.trigger("TrackerSetup",[this])}function H(){return{push:af}}function c(au,at){var av={};var aq,ar;for(aq=0;aq<at.length;aq++){var ao=at[aq];av[ao]=1;for(ar=0;ar<au.length;ar++){if(au[ar]&&au[ar][0]){var ap=au[ar][0];if(ao===ap){af(au[ar]);delete au[ar]; +}}T.name=ax+"###"+au+"###"+ao+"###"+ar}var aw=T.name.split("###");return aw.length===4&&aw[0]===ax}function Z(ap,aw,ar){var av=T.name.split("###"),au=av[1],ao=av[2],at=av[3],aq=O(ap,aw);o(aq+"plugins/Overlay/client/client.js?v=1",function(){Piwik_Overlay_Client.initialize(aq,ar,au,ao,at)})}function u(){var aq;try{aq=T.frameElement}catch(ap){return true}if(J(aq)){return(aq&&String(aq.nodeName).toLowerCase()==="iframe")?true:false}try{return T.self!==T.top}catch(ao){return true}}function Q(cb,b6){var bF=this,bc="mtm_consent",cJ="mtm_consent_removed",b1=aa(G.domain,T.location.href,K()),cR=L(b1[0]),bK=p(b1[1]),bl=p(b1[2]),cP=false,cf="GET",c7=cf,aH="application/x-www-form-urlencoded; charset=UTF-8",cu=aH,aD=cb||"",bE="",cW="",b3=b6||"",bw="",bL="",a3,bh="",c3=["7z","aac","apk","arc","arj","asf","asx","avi","azw3","bin","csv","deb","dmg","doc","docx","epub","exe","flv","gif","gz","gzip","hqx","ibooks","jar","jpg","jpeg","js","mobi","mp2","mp3","mp4","mpg","mpeg","mov","movie","msi","msp","odb","odf","odg","ods","odt","ogg","ogv","pdf","phps","png","ppt","pptx","qt","qtm","ra","ram","rar","rpm","sea","sit","tar","tbz","tbz2","bz","bz2","tgz","torrent","txt","wav","wma","wmv","wpd","xls","xlsx","xml","z","zip"],ax=[cR],bx=[],bI=[],a7=[],bG=500,cT=true,cG,a4,bO,c4=1800,bM,ao,co=["pk_campaign","piwik_campaign","utm_campaign","utm_source","utm_medium"],bD=["pk_kwd","piwik_kwd","utm_term"],bi="_pk_",av="pk_vid",aY=180,cU,bn,bP=false,bj=false,cN,bd,bt,cH=33955200000,cm=1800000,c2=15768000000,a1=true,ck=0,bN=false,aP=false,b8,bT={},cj={},bk={},br=200,cX={},c5={},b7=[],cc=false,cz=false,ap=false,c6=false,cK=false,aM=false,bb=u(),cv=null,cV=null,b9,aQ,by,b4=am,bm,aK,cp=0,bs=["id","ses","cvar","ref"],cy=false,bz=null,cI=[],aw=U++; +try{bh=G.title}catch(cw){bh=""}function db(dm,dk,dj,dl,di,dh){if(bj){return}var dg;if(dj){dg=new Date();dg.setTime(dg.getTime()+dj)}G.cookie=dm+"="+t(dk)+(dj?";expires="+dg.toGMTString():"")+";path="+(dl||"/")+(di?";domain="+di:"")+(dh?";secure":"")+";SameSite=Lax"}function aC(di){if(bj){return 0}var dg=new RegExp("(^|;)[ ]*"+di+"=([^;]*)"),dh=dg.exec(G.cookie);return dh?S(dh[2]):0}bz=!aC(cJ);function bZ(dg){var dh;dg=k(dg,av);if(bM){dh=new RegExp("#.*");return dg.replace(dh,"")}return dg}function bS(di,dg){var dj=s(dg),dh;if(dj){return dg}if(dg.slice(0,1)==="/"){return s(di)+"://"+d(di)+dg}di=bZ(di);dh=di.indexOf("?");if(dh>=0){di=di.slice(0,dh)}dh=di.lastIndexOf("/");if(dh!==di.length-1){di=di.slice(0,dh+1)}return di+dg}function cE(di,dg){var dh;di=String(di).toLowerCase();dg=String(dg).toLowerCase();if(di===dg){return true}if(dg.slice(0,1)==="."){if(di===dg.slice(1)){return true}dh=di.length-dg.length;if((dh>0)&&(di.slice(dh)===dg)){return true}}return false}function ci(dg){var dh=document.createElement("a"); +if(dg.indexOf("//")!==0&&dg.indexOf("http")!==0){if(dg.indexOf("*")===0){dg=dg.substr(1)}if(dg.indexOf(".")===0){dg=dg.substr(1)}dg="http://"+dg}dh.href=v.toAbsoluteUrl(dg);if(dh.pathname){return dh.pathname}return""}function a2(dh,dg){if(!aj(dg,"/")){dg="/"+dg}if(!aj(dh,"/")){dh="/"+dh}var di=(dg==="/"||dg==="/*");if(di){return true}if(dh===dg){return true}dg=String(dg).toLowerCase();dh=String(dh).toLowerCase();if(R(dg,"*")){dg=dg.slice(0,-1);di=(!dg||dg==="/");if(di){return true}if(dh===dg){return true}return dh.indexOf(dg)===0}if(!R(dh,"/")){dh+="/"}if(!R(dg,"/")){dg+="/"}return dh.indexOf(dg)===0}function ar(dk,dm){var dh,dg,di,dj,dl;for(dh=0;dh<ax.length;dh++){dj=L(ax[dh]);dl=ci(ax[dh]);if(cE(dk,dj)&&a2(dm,dl)){return true}}return false}function aU(dj){var dh,dg,di;for(dh=0;dh<ax.length;dh++){dg=L(ax[dh].toLowerCase());if(dj===dg){return true}if(dg.slice(0,1)==="."){if(dj===dg.slice(1)){return true}di=dj.length-dg.length;if((di>0)&&(dj.slice(di)===dg)){return true}}}return false}function cn(dg,di){dg=dg.replace("send_image=0","send_image=1"); +var dh=new Image(1,1);dh.onload=function(){E=0;if(typeof di==="function"){di({request:dg,trackerUrl:aD,success:true})}};dh.onerror=function(){if(typeof di==="function"){di({request:dg,trackerUrl:aD,success:false})}};dh.src=aD+(aD.indexOf("?")<0?"?":"&")+dg}function cB(dg){if(c7==="POST"){return true}return dg&&(dg.length>2000||dg.indexOf('{"requests"')===0)}function aJ(){return"object"===typeof h&&"function"===typeof h.sendBeacon&&"function"===typeof Blob}function a5(dk,dn,dm){var di=aJ();if(!di){return false}var dj={type:"application/x-www-form-urlencoded; charset=UTF-8"};var dp=false;var dh=aD;try{var dg=new Blob([dk],dj);if(dm&&!cB(dk)){dg=new Blob([],dj);dh=dh+(dh.indexOf("?")<0?"?":"&")+dk}dp=h.sendBeacon(dh,dg)}catch(dl){return false}if(dp&&typeof dn==="function"){dn({request:dk,trackerUrl:aD,success:true,isSendBeacon:true})}return dp}function c1(dh,di,dg){if(!J(dg)||null===dg){dg=true}if(m&&a5(dh,di,dg)){return}setTimeout(function(){if(m&&a5(dh,di,dg)){return}var dl;try{var dk=T.XMLHttpRequest?new T.XMLHttpRequest():T.ActiveXObject?new ActiveXObject("Microsoft.XMLHTTP"):null; +dk.open("POST",aD,true);dk.onreadystatechange=function(){if(this.readyState===4&&!(this.status>=200&&this.status<300)){var dm=m&&a5(dh,di,dg);if(!dm&&dg){cn(dh,di)}else{if(typeof di==="function"){di({request:dh,trackerUrl:aD,success:false,xhr:this})}}}else{if(this.readyState===4&&(typeof di==="function")){di({request:dh,trackerUrl:aD,success:true,xhr:this})}}};dk.setRequestHeader("Content-Type",cu);dk.withCredentials=true;dk.send(dh)}catch(dj){dl=m&&a5(dh,di,dg);if(!dl&&dg){cn(dh,di)}else{if(typeof di==="function"){di({request:dh,trackerUrl:aD,success:false})}}}},50)}function cd(dh){var dg=new Date();var di=dg.getTime()+dh;if(!r||di>r){r=di}}function cl(dg){if(b9||!a4||!bz){return}b9=setTimeout(function dh(){b9=null;if(!bb){bb=(!G.hasFocus||G.hasFocus())}if(!bb){cl(a4);return}if(bO()){return}var di=new Date(),dj=a4-(di.getTime()-cV);dj=Math.min(a4,dj);cl(dj)},dg||a4)}function bH(){if(!b9){return}clearTimeout(b9);b9=null}function a9(){bb=true;cv=new Date().getTime()}function da(){var dg=new Date().getTime(); +return !cv||(dg-cv)>a4}function ay(){if(da()){bO()}bH()}function dd(){if(aM||!a4){return}aM=true;an(T,"focus",a9);an(T,"blur",ay);ab++;e.addPlugin("HeartBeat"+ab,{unload:function(){if(aM&&da()){bO()}}})}function cA(dk){var dh=new Date();var dg=dh.getTime();cV=dg;if(cz&&dg<cz){var di=cz-dg;setTimeout(dk,di);cd(di+50);cz+=50;return}if(cz===false){var dj=800;cz=dg+dj}dk()}function aN(){if(aC(cJ)){bz=false}else{if(aC(bc)){bz=true}}}function bC(dh,dg,di){aN();if(!bz){cI.push(dh);return}if(!cN&&dh){if(cy&&bz){dh+="&consent=1"}cA(function(){if(cT&&a5(dh,di,true)){cd(100);return}if(cB(dh)){c1(dh,di)}else{cn(dh,di)}cd(dg)})}if(!aM){dd()}}function ch(dg){if(cN){return false}return(dg&&dg.length)}function c0(dg,dk){if(!dk||dk>=dg.length){return[dg]}var dh=0;var di=dg.length;var dj=[];for(dh;dh<di;dh+=dk){dj.push(dg.slice(dh,dh+dk))}return dj}function dc(dh,dg){if(!ch(dh)){return}if(!bz){cI.push(dh);return}cA(function(){var dk=c0(dh,50);var di=0,dj;for(di;di<dk.length;di++){dj='{"requests":["?'+dk[di].join('","?')+'"]}'; +if(cT&&a5(dj,null,false)){cd(100)}else{c1(dj,null,false)}}cd(dg)})}function aS(dg){return bi+dg+"."+b3+"."+bm}function bV(di,dh,dg){db(di,"",-86400,dh,dg)}function b2(){if(bj){return"0"}if(!J(T.showModalDialog)&&J(h.cookieEnabled)){return h.cookieEnabled?"1":"0"}var dg=bi+"testcookie";db(dg,"1",undefined,bn,cU,bP);var dh=aC(dg)==="1"?"1":"0";bV(dg);return dh}function bg(){bm=b4((cU||cR)+(bn||"/")).slice(0,4)}function cF(){if(J(c5.res)){return c5}var dh,dj,dk={pdf:"application/pdf",qt:"video/quicktime",realp:"audio/x-pn-realaudio-plugin",wma:"application/x-mplayer2",dir:"application/x-director",fla:"application/x-shockwave-flash",java:"application/x-java-vm",gears:"application/x-googlegears",ag:"application/x-silverlight"};if(!((new RegExp("MSIE")).test(h.userAgent))){if(h.mimeTypes&&h.mimeTypes.length){for(dh in dk){if(Object.prototype.hasOwnProperty.call(dk,dh)){dj=h.mimeTypes[dk[dh]];c5[dh]=(dj&&dj.enabledPlugin)?"1":"0"}}}if(!((new RegExp("Edge[ /](\\d+[\\.\\d]+)")).test(h.userAgent))&&typeof navigator.javaEnabled!=="unknown"&&J(h.javaEnabled)&&h.javaEnabled()){c5.java="1" +}if(A(T.GearsFactory)){c5.gears="1"}c5.cookie=b2()}var di=parseInt(X.width,10);var dg=parseInt(X.height,10);c5.res=parseInt(di,10)+"x"+parseInt(dg,10);return c5}function bU(){var dh=aS("cvar"),dg=aC(dh);if(dg&&dg.length){dg=T.JSON.parse(dg);if(W(dg)){return dg}}return{}}function cC(){if(aP===false){aP=bU()}}function cO(){var dg=cF();return b4((h.userAgent||"")+(h.platform||"")+T.JSON.stringify(dg)+(new Date()).getTime()+Math.random()).slice(0,16)}function az(){var dg=cF();return b4((h.userAgent||"")+(h.platform||"")+T.JSON.stringify(dg)).slice(0,6)}function be(){return Math.floor((new Date()).getTime()/1000)}function aI(){var dh=be();var di=az();var dg=String(dh)+di;return dg}function cZ(di){di=String(di);var dl=az();var dj=dl.length;var dk=di.substr(-1*dj,dj);var dh=parseInt(di.substr(0,di.length-dj),10);if(dh&&dk&&dk===dl){var dg=be();if(aY<=0){return true}if(dg>=dh&&dg<=(dh+aY)){return true}}return false}function de(dg){if(!cK){return""}var dk=f(dg,av);if(!dk){return""}dk=String(dk); +var di=new RegExp("^[a-zA-Z0-9]+$");if(dk.length===32&&di.test(dk)){var dh=dk.substr(16,32);if(cZ(dh)){var dj=dk.substr(0,16);return dj}}return""}function cL(){if(!bL){bL=de(bK)}var di=new Date(),dg=Math.round(di.getTime()/1000),dh=aS("id"),dl=aC(dh),dk,dj;if(dl){dk=dl.split(".");dk.unshift("0");if(bL.length){dk[1]=bL}return dk}if(bL.length){dj=bL}else{if("0"===b2()){dj=""}else{dj=cO()}}dk=["1",dj,dg,0,dg,"",""];return dk}function aX(){var dn=cL(),dj=dn[0],dk=dn[1],dh=dn[2],dg=dn[3],dl=dn[4],di=dn[5];if(!J(dn[6])){dn[6]=""}var dm=dn[6];return{newVisitor:dj,uuid:dk,createTs:dh,visitCount:dg,currentVisitTs:dl,lastVisitTs:di,lastEcommerceOrderTs:dm}}function aG(){var dj=new Date(),dh=dj.getTime(),dk=aX().createTs;var dg=parseInt(dk,10);var di=(dg*1000)+cH-dh;return di}function aL(dg){if(!b3){return}var di=new Date(),dh=Math.round(di.getTime()/1000);if(!J(dg)){dg=aX()}var dj=dg.uuid+"."+dg.createTs+"."+dg.visitCount+"."+dh+"."+dg.lastVisitTs+"."+dg.lastEcommerceOrderTs;db(aS("id"),dj,aG(),bn,cU,bP) +}function bJ(){var dg=aC(aS("ref"));if(dg.length){try{dg=T.JSON.parse(dg);if(W(dg)){return dg}}catch(dh){}}return["","",0,""]}function bu(dh){var dg="testvalue";db("test",dg,10000,null,dh);if(aC("test")===dg){bV("test",null,dh);return true}return false}function aE(){var dh=bj;bj=false;var dg,di;for(dg=0;dg<bs.length;dg++){di=aS(bs[dg]);if(di!==cJ&&di!==bc&&0!==aC(di)){bV(di,bn,cU)}}bj=dh}function b0(dg){b3=dg;aL()}function df(dk){if(!dk||!W(dk)){return}var dj=[];var di;for(di in dk){if(Object.prototype.hasOwnProperty.call(dk,di)){dj.push(di)}}var dl={};dj.sort();var dg=dj.length;var dh;for(dh=0;dh<dg;dh++){dl[dj[dh]]=dk[dj[dh]]}return dl}function ca(){db(aS("ses"),"1",cm,bn,cU,bP)}function bf(){var dj="";var dh="abcdefghijklmnopqrstuvwxyz0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ";var di=dh.length;var dg;for(dg=0;dg<6;dg++){dj+=dh.charAt(Math.floor(Math.random()*di))}return dj}function cq(di,dE,dF,dj){var dD,dh=new Date(),dr=Math.round(dh.getTime()/1000),dn,dC,dk=1024,dL,ds,dA=aP,dl=aS("ses"),dy=aS("ref"),dv=aS("cvar"),dw=aC(dl),dB=bJ(),dH=a3||bK,dp,dg; +if(bj){aE()}if(cN){return""}var dx=aX();if(!J(dj)){dj=""}var du=G.characterSet||G.charset;if(!du||du.toLowerCase()==="utf-8"){du=null}dp=dB[0];dg=dB[1];dn=dB[2];dC=dB[3];if(!dw){var dG=cm/1000;if(!dx.lastVisitTs||(dr-dx.lastVisitTs)>dG){dx.visitCount++;dx.lastVisitTs=dx.currentVisitTs}if(!bt||!dp.length){for(dD in co){if(Object.prototype.hasOwnProperty.call(co,dD)){dp=f(dH,co[dD]);if(dp.length){break}}}for(dD in bD){if(Object.prototype.hasOwnProperty.call(bD,dD)){dg=f(dH,bD[dD]);if(dg.length){break}}}}dL=d(bl);ds=dC.length?d(dC):"";if(dL.length&&!aU(dL)&&(!bt||!ds.length||aU(ds))){dC=bl}if(dC.length||dp.length){dn=dr;dB=[dp,dg,dn,bZ(dC.slice(0,dk))];db(dy,T.JSON.stringify(dB),c2,bn,cU,bP)}}di+="&idsite="+b3+"&rec=1&r="+String(Math.random()).slice(2,8)+"&h="+dh.getHours()+"&m="+dh.getMinutes()+"&s="+dh.getSeconds()+"&url="+t(bZ(dH))+(bl.length?"&urlref="+t(bZ(bl)):"")+((bw&&bw.length)?"&uid="+t(bw):"")+"&_id="+dx.uuid+"&_idts="+dx.createTs+"&_idvc="+dx.visitCount+"&_idn="+dx.newVisitor+(dp.length?"&_rcn="+t(dp):"")+(dg.length?"&_rck="+t(dg):"")+"&_refts="+dn+"&_viewts="+dx.lastVisitTs+(String(dx.lastEcommerceOrderTs).length?"&_ects="+dx.lastEcommerceOrderTs:"")+(String(dC).length?"&_ref="+t(bZ(dC.slice(0,dk))):"")+(du?"&cs="+t(du):"")+"&send_image=0"; +var dK=cF();for(dD in dK){if(Object.prototype.hasOwnProperty.call(dK,dD)){di+="&"+dD+"="+dK[dD]}}var dJ=[];if(dE){for(dD in dE){if(Object.prototype.hasOwnProperty.call(dE,dD)&&/^dimension\d+$/.test(dD)){var dm=dD.replace("dimension","");dJ.push(parseInt(dm,10));dJ.push(String(dm));di+="&"+dD+"="+t(dE[dD]);delete dE[dD]}}}if(dE&&B(dE)){dE=null}for(dD in bk){if(Object.prototype.hasOwnProperty.call(bk,dD)){var dt=(-1===M(dJ,dD));if(dt){di+="&dimension"+dD+"="+t(bk[dD])}}}if(dE){di+="&data="+t(T.JSON.stringify(dE))}else{if(ao){di+="&data="+t(T.JSON.stringify(ao))}}function dq(dM,dN){var dO=T.JSON.stringify(dM);if(dO.length>2){return"&"+dN+"="+t(dO)}return""}var dI=df(bT);var dz=df(cj);di+=dq(dI,"cvar");di+=dq(dz,"e_cvar");if(aP){di+=dq(aP,"_cvar");for(dD in dA){if(Object.prototype.hasOwnProperty.call(dA,dD)){if(aP[dD][0]===""||aP[dD][1]===""){delete aP[dD]}}}if(bN){db(dv,T.JSON.stringify(aP),cm,bn,cU,bP)}}if(a1){if(ck){di+=">_ms="+ck}else{if(i&&i.timing&&i.timing.requestStart&&i.timing.responseEnd){di+=">_ms="+(i.timing.responseEnd-i.timing.requestStart) +}}}if(aK){di+="&pv_id="+aK}dx.lastEcommerceOrderTs=J(dj)&&String(dj).length?dj:dx.lastEcommerceOrderTs;aL(dx);ca();di+=ac(dF,{tracker:bF,request:di});if(cW.length){di+="&"+cW}if(A(b8)){di=b8(di)}return di}bO=function a6(){var dg=new Date();dg=dg.getTime();if(!cV){return false}if((cV+(1000*c4))<=dg){return false}if(cV+a4<=dg){bF.ping();return true}return false};function bo(dj,di,dp,dk,dg,ds){var dm="idgoal=0",dn,dh=new Date(),dq=[],dr,dl=String(dj).length;if(dl){dm+="&ec_id="+t(dj);dn=Math.round(dh.getTime()/1000)}dm+="&revenue="+di;if(String(dp).length){dm+="&ec_st="+dp}if(String(dk).length){dm+="&ec_tx="+dk}if(String(dg).length){dm+="&ec_sh="+dg}if(String(ds).length){dm+="&ec_dt="+ds}if(cX){for(dr in cX){if(Object.prototype.hasOwnProperty.call(cX,dr)){if(!J(cX[dr][1])){cX[dr][1]=""}if(!J(cX[dr][2])){cX[dr][2]=""}if(!J(cX[dr][3])||String(cX[dr][3]).length===0){cX[dr][3]=0}if(!J(cX[dr][4])||String(cX[dr][4]).length===0){cX[dr][4]=1}dq.push(cX[dr])}}dm+="&ec_items="+t(T.JSON.stringify(dq)) +}dm=cq(dm,ao,"ecommerce",dn);bC(dm,bG);if(dl){cX={}}}function bW(dg,dk,dj,di,dh,dl){if(String(dg).length&&J(dk)){bo(dg,dk,dj,di,dh,dl)}}function bq(dg){if(J(dg)){bo("",dg,"","","","")}}function bX(dh,dj,di){aK=bf();var dg=cq("action_name="+t(al(dh||bh)),dj,"log");bC(dg,bG,di)}function aZ(di,dh){var dj,dg="(^| )(piwik[_-]"+dh;if(di){for(dj=0;dj<di.length;dj++){dg+="|"+di[dj]}}dg+=")( |$)";return new RegExp(dg)}function aT(dg){return(aD&&dg&&0===String(dg).indexOf(aD))}function cs(dk,dg,dl,dh){if(aT(dg)){return 0}var dj=aZ(bI,"download"),di=aZ(a7,"link"),dm=new RegExp("\\.("+c3.join("|")+")([?&#]|$)","i");if(di.test(dk)){return"link"}if(dh||dj.test(dk)||dm.test(dg)){return"download"}if(dl){return 0}return"link"}function au(dh){var dg;dg=dh.parentNode;while(dg!==null&&J(dg)){if(ae.isLinkElement(dh)){break}dh=dg;dg=dh.parentNode}return dh}function c9(dl){dl=au(dl);if(!ae.hasNodeAttribute(dl,"href")){return}if(!J(dl.href)){return}var dk=ae.getAttributeValueFromNode(dl,"href");var dh=dl.pathname||ci(dl.href); +var dm=dl.hostname||d(dl.href);var dn=dm.toLowerCase();var di=dl.href.replace(dm,dn);var dj=new RegExp("^(javascript|vbscript|jscript|mocha|livescript|ecmascript|mailto|tel):","i");if(!dj.test(di)){var dg=cs(dl.className,di,ar(dn,dh),ae.hasNodeAttribute(dl,"download"));if(dg){return{type:dg,href:di}}}}function aO(dg,dh,di,dj){var dk=v.buildInteractionRequestParams(dg,dh,di,dj);if(!dk){return}return cq(dk,null,"contentInteraction")}function ba(dg,dh){if(!dg||!dh){return false}var di=v.findTargetNode(dg);if(v.shouldIgnoreInteraction(di)){return false}di=v.findTargetNodeNoDefault(dg);if(di&&!V(di,dh)){return false}return true}function cr(di,dh,dk){if(!di){return}var dg=v.findParentContentNode(di);if(!dg){return}if(!ba(dg,di)){return}var dj=v.buildContentBlock(dg);if(!dj){return}if(!dj.target&&dk){dj.target=dk}return v.buildInteractionRequestParams(dh,dj.name,dj.piece,dj.target)}function aV(dh){if(!b7||!b7.length){return false}var dg,di;for(dg=0;dg<b7.length;dg++){di=b7[dg];if(di&&di.name===dh.name&&di.piece===dh.piece&&di.target===dh.target){return true +}}return false}function aW(dg){return function(dk){if(!dg){return}var di=v.findParentContentNode(dg);var dh;if(dk){dh=dk.target||dk.srcElement}if(!dh){dh=dg}if(!ba(di,dh)){return}if(!di){return false}var dl=v.findTargetNode(di);if(!dl||v.shouldIgnoreInteraction(dl)){return false}var dj=c9(dl);if(c6&&dj&&dj.type){return dj.type}return bF.trackContentInteractionNode(dh,"click")}}function bY(di){if(!di||!di.length){return}var dg,dh;for(dg=0;dg<di.length;dg++){dh=v.findTargetNode(di[dg]);if(dh&&!dh.contentInteractionTrackingSetupDone){dh.contentInteractionTrackingSetupDone=true;an(dh,"click",aW(dh))}}}function bv(di,dj){if(!di||!di.length){return[]}var dg,dh;for(dg=0;dg<di.length;dg++){if(aV(di[dg])){di.splice(dg,1);dg--}else{b7.push(di[dg])}}if(!di||!di.length){return[]}bY(dj);var dk=[];for(dg=0;dg<di.length;dg++){dh=cq(v.buildImpressionRequestParams(di[dg].name,di[dg].piece,di[dg].target),undefined,"contentImpressions");if(dh){dk.push(dh)}}return dk}function cx(dh){var dg=v.collectContent(dh); +return bv(dg,dh)}function a8(dh){if(!dh||!dh.length){return[]}var dg;for(dg=0;dg<dh.length;dg++){if(!v.isNodeVisible(dh[dg])){dh.splice(dg,1);dg--}}if(!dh||!dh.length){return[]}return cx(dh)}function aF(di,dg,dh){var dj=v.buildImpressionRequestParams(di,dg,dh);return cq(dj,null,"contentImpression")}function c8(dj,dh){if(!dj){return}var dg=v.findParentContentNode(dj);var di=v.buildContentBlock(dg);if(!di){return}if(!dh){dh="Unknown"}return aO(dh,di.name,di.piece,di.target)}function cM(dh,dj,dg,di){return"e_c="+t(dh)+"&e_a="+t(dj)+(J(dg)?"&e_n="+t(dg):"")+(J(di)?"&e_v="+t(di):"")}function at(di,dk,dg,dj,dm,dl){if(a(String(di)).length===0||a(String(dk)).length===0){ak("Error while logging event: Parameters `category` and `action` must not be empty or filled with whitespaces");return false}var dh=cq(cM(di,dk,dg,dj),dm,"event");bC(dh,bG,dl)}function b5(dg,dj,dh,dk){var di=cq("search="+t(dg)+(dj?"&search_cat="+t(dj):"")+(J(dh)?"&search_count="+dh:""),dk,"sitesearch");bC(di,bG)}function cQ(dg,dk,dj,di){var dh=cq("idgoal="+dg+(dk?"&revenue="+dk:""),dj,"goal"); +bC(dh,bG,di)}function cY(dj,dg,dn,dm,di){var dl=dg+"="+t(bZ(dj));var dh=cr(di,"click",dj);if(dh){dl+="&"+dh}var dk=cq(dl,dn,"link");bC(dk,bG,dm)}function bR(dh,dg){if(dh!==""){return dh+dg.charAt(0).toUpperCase()+dg.slice(1)}return dg}function ce(dl){var dk,dg,dj=["","webkit","ms","moz"],di;if(!bd){for(dg=0;dg<dj.length;dg++){di=dj[dg];if(Object.prototype.hasOwnProperty.call(G,bR(di,"hidden"))){if(G[bR(di,"visibilityState")]==="prerender"){dk=true}break}}}if(dk){an(G,di+"visibilitychange",function dh(){G.removeEventListener(di+"visibilitychange",dh,false);dl()});return}dl()}function bp(){var dh=aX().uuid;var dg=aI();return dh+dg}function cg(dg){if(!dg){return}if(!ae.hasNodeAttribute(dg,"href")){return}var dh=ae.getAttributeValueFromNode(dg,"href");if(!dh||aT(dh)){return}dh=k(dh,av);var di=bp();dh=F(dh,av,di);ae.setAnyAttribute(dg,"href",dh)}function aA(dj){var dk=ae.getAttributeValueFromNode(dj,"href");if(!dk){return false}dk=String(dk);var dh=dk.indexOf("//")===0||dk.indexOf("http://")===0||dk.indexOf("https://")===0; +if(!dh){return false}var dg=dj.pathname||ci(dj.href);var di=(dj.hostname||d(dj.href)).toLowerCase();if(ar(di,dg)){if(!cE(cR,L(di))){return true}return false}return false}function cD(dg){var dh=c9(dg);if(dh&&dh.type){dh.href=p(dh.href);cY(dh.href,dh.type,undefined,null,dg);return}if(cK){dg=au(dg);if(aA(dg)){cg(dg)}}}function ct(){return G.all&&!G.addEventListener}function cS(dg){var di=dg.which;var dh=(typeof dg.button);if(!di&&dh!=="undefined"){if(ct()){if(dg.button&1){di=1}else{if(dg.button&2){di=3}else{if(dg.button&4){di=2}}}}else{if(dg.button===0||dg.button==="0"){di=1}else{if(dg.button&1){di=2}else{if(dg.button&2){di=3}}}}}return di}function bQ(dg){switch(cS(dg)){case 1:return"left";case 2:return"middle";case 3:return"right"}}function a0(dg){return dg.target||dg.srcElement}function aB(dg){return function(dj){dj=dj||T.event;var di=bQ(dj);var dk=a0(dj);if(dj.type==="click"){var dh=false;if(dg&&di==="middle"){dh=true}if(dk&&!dh){cD(dk)}}else{if(dj.type==="mousedown"){if(di==="middle"&&dk){aQ=di; +by=dk}else{aQ=by=null}}else{if(dj.type==="mouseup"){if(di===aQ&&dk===by){cD(dk)}aQ=by=null}else{if(dj.type==="contextmenu"){cD(dk)}}}}}}function aq(di,dh){var dg=typeof dh;if(dg==="undefined"){dh=true}an(di,"click",aB(dh),false);if(dh){an(di,"mouseup",aB(dh),false);an(di,"mousedown",aB(dh),false);an(di,"contextmenu",aB(dh),false)}}function bB(di,dk){ap=true;var dj,dh=aZ(bx,"ignore"),dl=G.links,dg=null,dm=null;if(dl){for(dj=0;dj<dl.length;dj++){dg=dl[dj];if(!dh.test(dg.className)){dm=typeof dg.piwikTrackers;if("undefined"===dm){dg.piwikTrackers=[]}if(-1===M(dg.piwikTrackers,dk)){dg.piwikTrackers.push(dk);aq(dg,di)}}}}}function aR(dh,dk,dl){if(cc){return true}cc=true;var dm=false;var dj,di;function dg(){dm=true}n(function(){function dn(dq){setTimeout(function(){if(!cc){return}dm=false;dl.trackVisibleContentImpressions();dn(dq)},dq)}function dp(dq){setTimeout(function(){if(!cc){return}if(dm){dm=false;dl.trackVisibleContentImpressions()}dp(dq)},dq)}if(dh){dj=["scroll","resize"];for(di=0;di<dj.length; +di++){if(G.addEventListener){G.addEventListener(dj[di],dg,false)}else{T.attachEvent("on"+dj[di],dg)}}dp(100)}if(dk&&dk>0){dk=parseInt(dk,10);dn(dk)}})}var bA={enabled:true,requests:[],timeout:null,interval:2500,sendRequests:function(){var dg=this.requests;this.requests=[];if(dg.length===1){bC(dg[0],bG)}else{dc(dg,bG)}},push:function(dg){if(!dg){return}if(m||!this.enabled){bC(dg,bG);return}bA.requests.push(dg);if(this.timeout){clearTimeout(this.timeout);this.timeout=null}this.timeout=setTimeout(function(){bA.timeout=null;bA.sendRequests()},bA.interval);var dh="RequestQueue"+aw;if(!Object.prototype.hasOwnProperty.call(b,dh)){b[dh]={unload:function(){if(bA.timeout){clearTimeout(bA.timeout)}bA.sendRequests()}}}}};bg();aL();this.hasConsent=function(){return bz};this.getVisitorId=function(){return aX().uuid};this.getVisitorInfo=function(){return cL()};this.getAttributionInfo=function(){return bJ()};this.getAttributionCampaignName=function(){return bJ()[0]};this.getAttributionCampaignKeyword=function(){return bJ()[1] +};this.getAttributionReferrerTimestamp=function(){return bJ()[2]};this.getAttributionReferrerUrl=function(){return bJ()[3]};this.setTrackerUrl=function(dg){aD=dg};this.getTrackerUrl=function(){return aD};this.getPiwikUrl=function(){return O(this.getTrackerUrl(),bE)};this.addTracker=function(dg,di){if(!J(dg)||null===dg){dg=this.getTrackerUrl()}var dh=new Q(dg,di);I.push(dh);e.trigger("TrackerAdded",[this]);return dh};this.getSiteId=function(){return b3};this.setSiteId=function(dg){b0(dg)};this.resetUserId=function(){bw=""};this.setUserId=function(dg){if(Y(dg)){bw=dg}};this.getUserId=function(){return bw};this.setCustomData=function(dg,dh){if(W(dg)){ao=dg}else{if(!ao){ao={}}ao[dg]=dh}};this.getCustomData=function(){return ao};this.setCustomRequestProcessing=function(dg){b8=dg};this.appendToTrackingUrl=function(dg){cW=dg};this.getRequest=function(dg){return cq(dg)};this.addPlugin=function(dg,dh){b[dg]=dh};this.setCustomDimension=function(dg,dh){dg=parseInt(dg,10);if(dg>0){if(!J(dh)){dh=""}if(!w(dh)){dh=String(dh) +}bk[dg]=dh}};this.getCustomDimension=function(dg){dg=parseInt(dg,10);if(dg>0&&Object.prototype.hasOwnProperty.call(bk,dg)){return bk[dg]}};this.deleteCustomDimension=function(dg){dg=parseInt(dg,10);if(dg>0){delete bk[dg]}};this.setCustomVariable=function(dh,dg,dk,di){var dj;if(!J(di)){di="visit"}if(!J(dg)){return}if(!J(dk)){dk=""}if(dh>0){dg=!w(dg)?String(dg):dg;dk=!w(dk)?String(dk):dk;dj=[dg.slice(0,br),dk.slice(0,br)];if(di==="visit"||di===2){cC();aP[dh]=dj}else{if(di==="page"||di===3){bT[dh]=dj}else{if(di==="event"){cj[dh]=dj}}}}};this.getCustomVariable=function(dh,di){var dg;if(!J(di)){di="visit"}if(di==="page"||di===3){dg=bT[dh]}else{if(di==="event"){dg=cj[dh]}else{if(di==="visit"||di===2){cC();dg=aP[dh]}}}if(!J(dg)||(dg&&dg[0]==="")){return false}return dg};this.deleteCustomVariable=function(dg,dh){if(this.getCustomVariable(dg,dh)){this.setCustomVariable(dg,"","",dh)}};this.deleteCustomVariables=function(dg){if(dg==="page"||dg===3){bT={}}else{if(dg==="event"){cj={}}else{if(dg==="visit"||dg===2){aP={} +}}}};this.storeCustomVariablesInCookie=function(){bN=true};this.setLinkTrackingTimer=function(dg){bG=dg};this.getLinkTrackingTimer=function(){return bG};this.setDownloadExtensions=function(dg){if(w(dg)){dg=dg.split("|")}c3=dg};this.addDownloadExtensions=function(dh){var dg;if(w(dh)){dh=dh.split("|")}for(dg=0;dg<dh.length;dg++){c3.push(dh[dg])}};this.removeDownloadExtensions=function(di){var dh,dg=[];if(w(di)){di=di.split("|")}for(dh=0;dh<c3.length;dh++){if(M(di,c3[dh])===-1){dg.push(c3[dh])}}c3=dg};this.setDomains=function(dg){ax=w(dg)?[dg]:dg;var dk=false,di=0,dh;for(di;di<ax.length;di++){dh=String(ax[di]);if(cE(cR,L(dh))){dk=true;break}var dj=ci(dh);if(dj&&dj!=="/"&&dj!=="/*"){dk=true;break}}if(!dk){ax.push(cR)}};this.enableCrossDomainLinking=function(){cK=true};this.disableCrossDomainLinking=function(){cK=false};this.isCrossDomainLinkingEnabled=function(){return cK};this.setCrossDomainLinkingTimeout=function(dg){aY=dg};this.getCrossDomainLinkingUrlParameter=function(){return t(av)+"="+t(bp()) +};this.setIgnoreClasses=function(dg){bx=w(dg)?[dg]:dg};this.setRequestMethod=function(dg){c7=dg||cf};this.setRequestContentType=function(dg){cu=dg||aH};this.setReferrerUrl=function(dg){bl=dg};this.setCustomUrl=function(dg){a3=bS(bK,dg)};this.getCurrentUrl=function(){return a3||bK};this.setDocumentTitle=function(dg){bh=dg};this.setAPIUrl=function(dg){bE=dg};this.setDownloadClasses=function(dg){bI=w(dg)?[dg]:dg};this.setLinkClasses=function(dg){a7=w(dg)?[dg]:dg};this.setCampaignNameKey=function(dg){co=w(dg)?[dg]:dg};this.setCampaignKeywordKey=function(dg){bD=w(dg)?[dg]:dg};this.discardHashTag=function(dg){bM=dg};this.setCookieNamePrefix=function(dg){bi=dg;if(aP){aP=bU()}};this.setCookieDomain=function(dg){var dh=L(dg);if(bu(dh)){cU=dh;bg()}};this.getCookieDomain=function(){return cU};this.hasCookies=function(){return"1"===b2()};this.setSessionCookie=function(di,dh,dg){if(!di){throw new Error("Missing cookie name")}if(!J(dg)){dg=cm}bs.push(di);db(aS(di),dh,dg,bn,cU)};this.getCookie=function(dh){var dg=aC(aS(dh)); +if(dg===0){return null}return dg};this.setCookiePath=function(dg){bn=dg;bg()};this.getCookiePath=function(dg){return bn};this.setVisitorCookieTimeout=function(dg){cH=dg*1000};this.setSessionCookieTimeout=function(dg){cm=dg*1000};this.getSessionCookieTimeout=function(){return cm};this.setReferralCookieTimeout=function(dg){c2=dg*1000};this.setConversionAttributionFirstReferrer=function(dg){bt=dg};this.setSecureCookie=function(dg){bP=dg};this.disableCookies=function(){bj=true;c5.cookie="0";if(b3){aE()}};this.deleteCookies=function(){aE()};this.setDoNotTrack=function(dh){var dg=h.doNotTrack||h.msDoNotTrack;cN=dh&&(dg==="yes"||dg==="1");if(cN){this.disableCookies()}};this.alwaysUseSendBeacon=function(){cT=true};this.disableAlwaysUseSendBeacon=function(){cT=false};this.addListener=function(dh,dg){aq(dh,dg)};this.enableLinkTracking=function(dh){c6=true;var dg=this;ce(function(){q(function(){bB(dh,dg)})})};this.enableJSErrorTracking=function(){if(cP){return}cP=true;var dg=T.onerror;T.onerror=function(dl,dj,di,dk,dh){ce(function(){var dm="JavaScript Errors"; +var dn=dj+":"+di;if(dk){dn+=":"+dk}at(dm,dn,dl)});if(dg){return dg(dl,dj,di,dk,dh)}return false}};this.disablePerformanceTracking=function(){a1=false};this.setGenerationTimeMs=function(dg){ck=parseInt(dg,10)};this.setVisitStandardLength=function(dg){dg=Math.max(dg,5);c4=dg};this.enableHeartBeatTimer=function(dg){dg=Math.max(dg,5);a4=(dg||15)*1000;if(cV!==null){dd()}};this.disableHeartBeatTimer=function(){bH();if(a4||aM){if(T.removeEventListener){T.removeEventListener("focus",a9);T.removeEventListener("blur",ay)}else{if(T.detachEvent){T.detachEvent("onfocus",a9);T.detachEvent("onblur",ay)}}}a4=null;aM=false};this.killFrame=function(){if(T.location!==T.top.location){T.top.location=T.location}};this.redirectFile=function(dg){if(T.location.protocol==="file:"){T.location=dg}};this.setCountPreRendered=function(dg){bd=dg};this.trackGoal=function(dg,dj,di,dh){ce(function(){cQ(dg,dj,di,dh)})};this.trackLink=function(dh,dg,dj,di){ce(function(){cY(dh,dg,dj,di)})};this.getNumTrackedPageViews=function(){return cp +};this.trackPageView=function(dg,di,dh){b7=[];cI=[];if(N(b3)){ce(function(){Z(aD,bE,b3)})}else{ce(function(){cp++;bX(dg,di,dh)})}};this.trackAllContentImpressions=function(){if(N(b3)){return}ce(function(){q(function(){var dg=v.findContentNodes();var dh=cx(dg);dc(dh,bG)})})};this.trackVisibleContentImpressions=function(dg,dh){if(N(b3)){return}if(!J(dg)){dg=true}if(!J(dh)){dh=750}aR(dg,dh,this);ce(function(){n(function(){var di=v.findContentNodes();var dj=a8(di);dc(dj,bG)})})};this.trackContentImpression=function(di,dg,dh){if(N(b3)){return}di=a(di);dg=a(dg);dh=a(dh);if(!di){return}dg=dg||"Unknown";ce(function(){var dj=aF(di,dg,dh);bC(dj,bG)})};this.trackContentImpressionsWithinNode=function(dg){if(N(b3)||!dg){return}ce(function(){if(cc){n(function(){var dh=v.findContentNodesWithinNode(dg);var di=a8(dh);dc(di,bG)})}else{q(function(){var dh=v.findContentNodesWithinNode(dg);var di=cx(dh);dc(di,bG)})}})};this.trackContentInteraction=function(di,dj,dg,dh){if(N(b3)){return}di=a(di);dj=a(dj);dg=a(dg); +dh=a(dh);if(!di||!dj){return}dg=dg||"Unknown";ce(function(){var dk=aO(di,dj,dg,dh);if(dk){bC(dk,bG)}})};this.trackContentInteractionNode=function(di,dh){if(N(b3)||!di){return}var dg=null;ce(function(){dg=c8(di,dh);if(dg){bC(dg,bG)}});return dg};this.logAllContentBlocksOnPage=function(){var di=v.findContentNodes();var dg=v.collectContent(di);var dh=typeof console;if(dh!=="undefined"&&console&&console.log){console.log(dg)}};this.trackEvent=function(dh,dj,dg,di,dl,dk){ce(function(){at(dh,dj,dg,di,dl,dk)})};this.trackSiteSearch=function(dg,di,dh,dj){b7=[];ce(function(){b5(dg,di,dh,dj)})};this.setEcommerceView=function(dj,dg,di,dh){if(Y(di)){di=String(di)}if(!J(di)||di===null||di===false||!di.length){di=""}else{if(di instanceof Array){di=T.JSON.stringify(di)}}bT[5]=["_pkc",di];if(J(dh)&&dh!==null&&dh!==false&&String(dh).length){bT[2]=["_pkp",dh]}if(!Y(dj)&&!Y(dg)){return}if(Y(dj)){bT[3]=["_pks",dj]}if(!Y(dg)){dg=""}bT[4]=["_pkn",dg]};this.getEcommerceItems=function(){return JSON.parse(JSON.stringify(cX)) +};this.addEcommerceItem=function(dk,dg,di,dh,dj){if(Y(dk)){cX[dk]=[String(dk),dg,di,dh,dj]}};this.removeEcommerceItem=function(dg){if(Y(dg)){dg=String(dg);delete cX[dg]}};this.clearEcommerceCart=function(){cX={}};this.trackEcommerceOrder=function(dg,dk,dj,di,dh,dl){bW(dg,dk,dj,di,dh,dl)};this.trackEcommerceCartUpdate=function(dg){bq(dg)};this.trackRequest=function(dh,dj,di,dg){ce(function(){var dk=cq(dh,dj,dg);bC(dk,bG,di)})};this.ping=function(){this.trackRequest("ping=1",null,null,"ping")};this.disableQueueRequest=function(){bA.enabled=false};this.setRequestQueueInterval=function(dg){if(dg<1000){throw new Error("Request queue interval needs to be at least 1000ms")}bA.interval=dg};this.queueRequest=function(dg){ce(function(){var dh=cq(dg);bA.push(dh)})};this.isConsentRequired=function(){return cy};this.getRememberedConsent=function(){var dg=aC(bc);if(aC(cJ)){if(dg){bV(bc,bn,cU)}return null}if(!dg||dg===0){return null}return dg};this.hasRememberedConsent=function(){return !!this.getRememberedConsent() +};this.requireConsent=function(){cy=true;bz=this.hasRememberedConsent();x++;b["CoreConsent"+x]={unload:function(){if(!bz){aE()}}}};this.setConsentGiven=function(){bz=true;bV(cJ,bn,cU);var dh,dg;for(dh=0;dh<cI.length;dh++){dg=typeof cI[dh];if(dg==="string"){bC(cI[dh],bG)}else{if(dg==="object"){dc(cI[dh],bG)}}}cI=[]};this.rememberConsentGiven=function(dh){if(dh){dh=dh*60*60*1000}else{dh=30*365*24*60*60*1000}this.setConsentGiven();var dg=new Date().getTime();db(bc,dg,dh,bn,cU,bP)};this.forgetConsentGiven=function(){var dg=30*365*24*60*60*1000;bV(bc,bn,cU);db(cJ,new Date().getTime(),dg,bn,cU,bP);this.requireConsent()};this.isUserOptedOut=function(){return !bz};this.optUserOut=this.forgetConsentGiven;this.forgetUserOptOut=this.rememberConsentGiven;e.trigger("TrackerSetup",[this])}function H(){return{push:af}}function c(au,at){var av={};var aq,ar;for(aq=0;aq<at.length;aq++){var ao=at[aq];av[ao]=1;for(ar=0;ar<au.length;ar++){if(au[ar]&&au[ar][0]){var ap=au[ar][0];if(ao===ap){af(au[ar]);delete au[ar]; if(av[ap]>1&&ap!=="addTracker"){ak("The method "+ap+' is registered more than once in "_paq" variable. Only the last call has an effect. Please have a look at the multiple Piwik trackers documentation: https://developer.piwik.org/guides/tracking-javascript-guide#multiple-piwik-trackers')}av[ap]++}}}}return au}var C=["addTracker","disableCookies","setTrackerUrl","setAPIUrl","enableCrossDomainLinking","setCrossDomainLinkingTimeout","setSessionCookieTimeout","setVisitorCookieTimeout","setCookieNamePrefix","setSecureCookie","setCookiePath","setCookieDomain","setDomains","setUserId","setSiteId","alwaysUseSendBeacon","enableLinkTracking","requireConsent","setConsentGiven"];function ad(ao,aq){var ap=new Q(ao,aq);I.push(ap);_paq=c(_paq,C);for(E=0;E<_paq.length;E++){if(_paq[E]){af(_paq[E])}}_paq=new H();e.trigger("TrackerAdded",[ap]);return ap}an(T,"beforeunload",ai,false);an(T,"message",function(au){if(!au||!au.origin){return}var aw,ar,ap;var ax=d(au.origin);var at=e.getAsyncTrackers();for(ar=0; ar<at.length;ar++){ap=d(at[ar].getPiwikUrl());if(ap===ax){aw=at[ar];break}}if(!aw){return}var aq=null;try{aq=JSON.parse(au.data)}catch(av){return}if(!aq){return}function ao(aA){var aC=G.getElementsByTagName("iframe");for(ar=0;ar<aC.length;ar++){var aB=aC[ar];var ay=d(aB.src);if(aB.contentWindow&&J(aB.contentWindow.postMessage)&&ay===ax){var az=JSON.stringify(aA);aB.contentWindow.postMessage(az,"*")}}}if(J(aq.maq_initial_value)){ao({maq_opted_in:aq.maq_initial_value&&aw.hasConsent(),maq_url:aw.getPiwikUrl(),maq_optout_by_default:aw.isConsentRequired()})}else{if(J(aq.maq_opted_in)){at=e.getAsyncTrackers();for(ar=0;ar<at.length;ar++){aw=at[ar];if(aq.maq_opted_in){aw.rememberConsentGiven()}else{aw.forgetConsentGiven()}}ao({maq_confirm_opted_in:aw.hasConsent(),maq_url:aw.getPiwikUrl(),maq_optout_by_default:aw.isConsentRequired()})}}},false);Date.prototype.getTimeAlias=Date.prototype.getTime;e={initialized:false,JSON:T.JSON,DOM:{addEventListener:function(ar,aq,ap,ao){var at=typeof ao;if(at==="undefined"){ao=false }an(ar,aq,ap,ao)},onLoad:n,onReady:q,isNodeVisible:j,isOrWasNodeVisible:v.isNodeVisible},on:function(ap,ao){if(!y[ap]){y[ap]=[]}y[ap].push(ao)},off:function(aq,ap){if(!y[aq]){return}var ao=0;for(ao;ao<y[aq].length;ao++){if(y[aq][ao]===ap){y[aq].splice(ao,1)}}},trigger:function(aq,ar,ap){if(!y[aq]){return}var ao=0;for(ao;ao<y[aq].length;ao++){y[aq][ao].apply(ap||T,ar)}},addPlugin:function(ao,ap){b[ao]=ap},getTracker:function(ao,ap){if(!J(ap)){ap=this.getAsyncTracker().getSiteId()}if(!J(ao)){ao=this.getAsyncTracker().getTrackerUrl()}return new Q(ao,ap)},getAsyncTrackers:function(){return I},addTracker:function(ao,aq){var ap;if(!I.length){ap=ad(ao,aq)}else{ap=I[0].addTracker(ao,aq)}return ap},getAsyncTracker:function(ap,at){var ar;if(I&&I.length&&I[0]){ar=I[0]}else{return ad(ap,at)}if(!at&&!ap){return ar}if((!J(at)||null===at)&&ar){at=ar.getSiteId()}if((!J(ap)||null===ap)&&ar){ap=ar.getTrackerUrl()}var aq,ao=0;for(ao;ao<I.length;ao++){aq=I[ao];if(aq&&String(aq.getSiteId())===String(at)&&aq.getTrackerUrl()===ap){return aq |