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