diff options
-rw-r--r-- | CHANGELOG.md | 1 | ||||
-rw-r--r-- | js/piwik.js | 20 | ||||
-rw-r--r-- | js/piwik.min.js | 68 | ||||
-rw-r--r-- | matomo.js | 68 | ||||
-rw-r--r-- | piwik.js | 68 | ||||
-rw-r--r-- | tests/javascript/index.php | 3 |
6 files changed, 104 insertions, 124 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md index 9158681eca..a4b369281b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -16,6 +16,7 @@ The Product Changelog at **[matomo.org/changelog](https://matomo.org/changelog)* * Support for tracking and reporting of these browser plugins has been discontinued: Gears, Director * Plugins that extend the JS tracker should now add their callback to `matomoPluginAsyncInit` instead of `piwikPluginAsyncInit` * The visitor ID cookie now contains less data (due to the _idvc, _idts, _viewts and _ects tracking parameters no longer being used). This is a breaking change if you use the Matomo PHP Tracker and forward the visitor cookie to it, and you will need to upgrade the PHP tracker to use with Matomo 4. +* The tracker method `setVisitStandardLength` has been removed as there is no need for it anymore. #### Deprecations in Matomo JS tracker diff --git a/js/piwik.js b/js/piwik.js index 101bd1060c..894400c54a 100644 --- a/js/piwik.js +++ b/js/piwik.js @@ -2219,9 +2219,6 @@ if (typeof window.Matomo !== 'object') { // alias to circumvent circular function dependency (JSLint requires this) heartBeatPingIfActivityAlias, - // the standard visit length as configured in Matomo in "visit_standard_length" config setting - configVisitStandardLength = 1800, - // Disallow hash tags in URL configDiscardHashTag, @@ -3729,11 +3726,6 @@ if (typeof window.Matomo !== 'object') { if (!lastTrackerRequestTime) { return false; // no tracking request was ever sent so lets not send heartbeat now } - if ((lastTrackerRequestTime + (1000*configVisitStandardLength)) <= now) { - // heart beat does not extend the visit length and therefore there is pretty much no point - // to send requests after this - return false; - } if (lastTrackerRequestTime + configHeartBeatDelay <= now) { trackerInstance.ping(); @@ -5998,18 +5990,6 @@ if (typeof window.Matomo !== 'object') { }; /** - * Set visit standard length (in seconds). This should ideally match the visit_standard_length setting - * in Matomo in case you customised it. This setting only has an effect if heart beat timer is active - * currently. - * - * @param int visitStandardLengthinSeconds Defaults to 1800s (30 minutes). Cannot be lower than 5. - */ - this.setVisitStandardLength = function (visitStandardLengthinSeconds) { - visitStandardLengthinSeconds = Math.max(visitStandardLengthinSeconds, 5); - configVisitStandardLength = visitStandardLengthinSeconds; - }; - - /** * Set heartbeat (in seconds) * * @param int heartBeatDelayInSeconds Defaults to 15s. Cannot be lower than 5. diff --git a/js/piwik.min.js b/js/piwik.min.js index 4811acb4e5..465c0951fa 100644 --- a/js/piwik.min.js +++ b/js/piwik.min.js @@ -29,40 +29,40 @@ ao=ae.findFirstNodeHavingAttribute(ap,this.CONTENT_PIECE_ATTR);if(!ao){ao=ae.fin },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||S.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(ao){if(ae.hasNodeAttribute(ao,this.CONTENT_IGNOREINTERACTION_ATTR)){return true}if(ae.hasNodeCssClass(ao,this.CONTENT_IGNOREINTERACTION_CLASS)){return true}if(ae.hasNodeCssClass(ao,this.LEGACY_CONTENT_IGNOREINTERACTION_CLASS)){return true}return false}};function W(ap,at){if(at){return at}ap=v.toAbsoluteUrl(ap);if(z(ap,"?")){var ar=ap.indexOf("?");ap=ap.slice(0,ar)}if(Q(ap,"matomo.php")){ap=f(ap,"matomo.php".length) }else{if(Q(ap,"piwik.php")){ap=f(ap,"piwik.php".length)}else{if(Q(ap,".php")){var ao=ap.lastIndexOf("/");var aq=1;ap=ap.slice(0,ao+aq)}}}if(Q(ap,"/js/")){ap=f(ap,"js/".length)}return ap}function N(av){var ax="Matomo_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)}}S.name=ax+"###"+au+"###"+ao+"###"+ar}var aw=S.name.split("###");return aw.length===4&&aw[0]===ax}function Z(ap,av,aq){var au=S.name.split("###"),at=au[1],ao=au[2],ar=au[3],aw=W(ap,av);n(aw+"plugins/Overlay/client/client.js?v=1",function(){Matomo_Overlay_Client.initialize(aw,aq,at,ao,ar)})}function u(){var aq;try{aq=S.frameElement}catch(ap){return true}if(J(aq)){return(aq&&String(aq.nodeName).toLowerCase()==="iframe")?true:false}try{return S.self!==S.top -}catch(ao){return true}}function P(cd,b9){var bJ=this,bd="mtm_consent",cC="mtm_cookie_consent",cL="mtm_consent_removed",b4=aa(G.domain,S.location.href,K()),cT=L(b4[0]),bN=o(b4[1]),bo=o(b4[2]),cR=false,ch="GET",c9=ch,aI="application/x-www-form-urlencoded; charset=UTF-8",cv=aI,aE=cd||"",bI="",cY="",b6=b9||"",bz="",bO="",a4,bj="",c5=["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"],ay=[cT],bA=[],bL=[],a8=[],bK=500,cV=true,cI,a5,bR,c6=1800,bP,ao,co=["pk_campaign","mtm_campaign","piwik_campaign","matomo_campaign","utm_campaign","utm_source","utm_medium"],bH=["pk_kwd","mtm_kwd","piwik_kwd","matomo_kwd","utm_term"],bk="_pk_",av="pk_vid",aZ=180,cW,bq,bS=false,bm=false,cP,be,bw,cJ=33955200000,cm=1800000,c4=15768000000,a2=true,bF=false,bh=false,bQ=false,aQ=false,cb,bW={},cl={},bn={},bu=200,cr={},cZ={},c7={},ca=[],ce=false,cA=false,ap=false,c8=false,cM=false,aN=false,bc=u(),cw=null,cX=null,aR,bB,b7=am,bp,aL,cp=0,bv=["id","ses","cvar","ref"],cz=false,bC=null,cK=[],ax=T++,aw=false; -try{bj=G.title}catch(cx){bj=""}function dd(dp,dm,dl,dn,dk,dj){if(bm){return}var di;if(dl){di=new Date();di.setTime(di.getTime()+dl)}G.cookie=dp+"="+s(dm)+(dl?";expires="+di.toGMTString():"")+";path="+(dn||"/")+(dk?";domain="+dk:"")+(dj?";secure":"")+";SameSite=Lax"}function aD(dk){if(bm){return 0}var di=new RegExp("(^|;)[ ]*"+dk+"=([^;]*)"),dj=di.exec(G.cookie);return dj?R(dj[2]):0}bC=!aD(cL);function b2(di){var dj;di=j(di,av);if(bP){dj=new RegExp("#.*");return di.replace(dj,"")}return di}function bV(dk,di){var dl=r(di),dj;if(dl){return di}if(di.slice(0,1)==="/"){return r(dk)+"://"+d(dk)+di}dk=b2(dk);dj=dk.indexOf("?");if(dj>=0){dk=dk.slice(0,dj)}dj=dk.lastIndexOf("/");if(dj!==dk.length-1){dk=dk.slice(0,dj+1)}return dk+di}function cG(dk,di){var dj;dk=String(dk).toLowerCase();di=String(di).toLowerCase();if(dk===di){return true}if(di.slice(0,1)==="."){if(dk===di.slice(1)){return true}dj=dk.length-di.length;if((dj>0)&&(dk.slice(dj)===di)){return true}}return false}function ck(di){var dj=document.createElement("a"); -if(di.indexOf("//")!==0&&di.indexOf("http")!==0){if(di.indexOf("*")===0){di=di.substr(1)}if(di.indexOf(".")===0){di=di.substr(1)}di="http://"+di}dj.href=v.toAbsoluteUrl(di);if(dj.pathname){return dj.pathname}return""}function a3(dj,di){if(!aj(di,"/")){di="/"+di}if(!aj(dj,"/")){dj="/"+dj}var dk=(di==="/"||di==="/*");if(dk){return true}if(dj===di){return true}di=String(di).toLowerCase();dj=String(dj).toLowerCase();if(Q(di,"*")){di=di.slice(0,-1);dk=(!di||di==="/");if(dk){return true}if(dj===di){return true}return dj.indexOf(di)===0}if(!Q(dj,"/")){dj+="/"}if(!Q(di,"/")){di+="/"}return dj.indexOf(di)===0}function ar(dm,dp){var dj,di,dk,dl,dn;for(dj=0;dj<ay.length;dj++){dl=L(ay[dj]);dn=ck(ay[dj]);if(cG(dm,dl)&&a3(dp,dn)){return true}}return false}function aV(dl){var dj,di,dk;for(dj=0;dj<ay.length;dj++){di=L(ay[dj].toLowerCase());if(dl===di){return true}if(di.slice(0,1)==="."){if(dl===di.slice(1)){return true}dk=dl.length-di.length;if((dk>0)&&(dl.slice(dk)===di)){return true}}}return false}function cn(di,dk){di=di.replace("send_image=0","send_image=1"); -var dj=new Image(1,1);dj.onload=function(){E=0;if(typeof dk==="function"){dk({request:di,trackerUrl:aE,success:true})}};dj.onerror=function(){if(typeof dk==="function"){dk({request:di,trackerUrl:aE,success:false})}};dj.src=aE+(aE.indexOf("?")<0?"?":"&")+di}function cD(di){if(c9==="POST"){return true}return di&&(di.length>2000||di.indexOf('{"requests"')===0)}function aK(){return"object"===typeof g&&"function"===typeof g.sendBeacon&&"function"===typeof Blob}function a6(dm,dq,dp){var dk=aK();if(!dk){return false}var dl={type:"application/x-www-form-urlencoded; charset=UTF-8"};var dr=false;var dj=aE;try{var di=new Blob([dm],dl);if(dp&&!cD(dm)){di=new Blob([],dl);dj=dj+(dj.indexOf("?")<0?"?":"&")+dm}dr=g.sendBeacon(dj,di)}catch(dn){return false}if(dr&&typeof dq==="function"){dq({request:dm,trackerUrl:aE,success:true,isSendBeacon:true})}return dr}function c3(dj,dk,di){if(!J(di)||null===di){di=true}if(l&&a6(dj,dk,di)){return}setTimeout(function(){if(l&&a6(dj,dk,di)){return}var dn;try{var dm=S.XMLHttpRequest?new S.XMLHttpRequest():S.ActiveXObject?new ActiveXObject("Microsoft.XMLHTTP"):null; -dm.open("POST",aE,true);dm.onreadystatechange=function(){if(this.readyState===4&&!(this.status>=200&&this.status<300)){var dp=l&&a6(dj,dk,di);if(!dp&&di){cn(dj,dk)}else{if(typeof dk==="function"){dk({request:dj,trackerUrl:aE,success:false,xhr:this})}}}else{if(this.readyState===4&&(typeof dk==="function")){dk({request:dj,trackerUrl:aE,success:true,xhr:this})}}};dm.setRequestHeader("Content-Type",cv);dm.withCredentials=true;dm.send(dj)}catch(dl){dn=l&&a6(dj,dk,di);if(!dn&&di){cn(dj,dk)}else{if(typeof dk==="function"){dk({request:dj,trackerUrl:aE,success:false})}}}},50)}function cf(dj){var di=new Date();var dk=di.getTime()+dj;if(!q||dk>q){q=dk}}function ba(){bc=true;cw=new Date().getTime()}function dc(){var di=new Date().getTime();return !cw||(di-cw)>a5}function az(){if(dc()){bR()}}function df(){if(aN||!a5){return}aN=true;an(S,"focus",ba);an(S,"blur",az);ab++;t.addPlugin("HeartBeat"+ab,{unload:function(){if(aN&&dc()){bR()}}})}function cB(dm){var dj=new Date();var di=dj.getTime();cX=di;if(cA&&di<cA){var dk=cA-di; -setTimeout(dm,dk);cf(dk+50);cA+=50;return}if(cA===false){var dl=800;cA=di+dl}dm()}function aO(){if(aD(cL)){bC=false}else{if(aD(bd)){bC=true}}}function bG(dj,di,dk){aO();if(!bC){cK.push(dj);return}aw=true;if(!cP&&dj){if(cz&&bC){dj+="&consent=1"}cB(function(){if(cV&&a6(dj,dk,true)){cf(100);return}if(cD(dj)){c3(dj,dk)}else{cn(dj,dk)}cf(di)})}if(!aN){df()}}function cj(di){if(cP){return false}return(di&&di.length)}function c2(di,dm){if(!dm||dm>=di.length){return[di]}var dj=0;var dk=di.length;var dl=[];for(dj;dj<dk;dj+=dm){dl.push(di.slice(dj,dj+dm))}return dl}function de(dj,di){if(!cj(dj)){return}if(!bC){cK.push(dj);return}aw=true;cB(function(){var dm=c2(dj,50);var dk=0,dl;for(dk;dk<dm.length;dk++){dl='{"requests":["?'+dm[dk].join('","?')+'"]}';if(cV&&a6(dl,null,false)){cf(100)}else{c3(dl,null,false)}}cf(di)})}function aT(di){return bk+di+"."+b6+"."+bp}function bY(dk,dj,di){dd(dk,"",-86400,dj,di)}function b5(){if(bm){return"0"}if(!J(S.showModalDialog)&&J(g.cookieEnabled)){return g.cookieEnabled?"1":"0" -}var di=bk+"testcookie";dd(di,"1",undefined,bq,cW,bS);var dj=aD(di)==="1"?"1":"0";bY(di);return dj}function bi(){bp=b7((cW||cT)+(bq||"/")).slice(0,4)}function cH(){if(J(c7.res)){return c7}var dj,dl,dm={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(dj in dm){if(Object.prototype.hasOwnProperty.call(dm,dj)){dl=g.mimeTypes[dm[dj]];c7[dj]=(dl&&dl.enabledPlugin)?"1":"0"}}}if(!((new RegExp("Edge[ /](\\d+[\\.\\d]+)")).test(g.userAgent))&&typeof navigator.javaEnabled!=="unknown"&&J(g.javaEnabled)&&g.javaEnabled()){c7.java="1"}if(!J(S.showModalDialog)&&J(g.cookieEnabled)){c7.cookie=g.cookieEnabled?"1":"0"}else{c7.cookie=b5()}}var dk=parseInt(X.width,10);var di=parseInt(X.height,10);c7.res=parseInt(dk,10)+"x"+parseInt(di,10);return c7}function bX(){var dj=aT("cvar"),di=aD(dj); -if(di&&di.length){di=S.JSON.parse(di);if(V(di)){return di}}return{}}function cE(){if(aQ===false){aQ=bX()}}function cQ(){var di=cH();return b7((g.userAgent||"")+(g.platform||"")+S.JSON.stringify(di)+(new Date()).getTime()+Math.random()).slice(0,16)}function aB(){var di=cH();return b7((g.userAgent||"")+(g.platform||"")+S.JSON.stringify(di)).slice(0,6)}function bf(){return Math.floor((new Date()).getTime()/1000)}function aJ(){var dj=bf();var dk=aB();var di=String(dj)+dk;return di}function c1(dk){dk=String(dk);var dn=aB();var dl=dn.length;var dm=dk.substr(-1*dl,dl);var dj=parseInt(dk.substr(0,dk.length-dl),10);if(dj&&dm&&dm===dn){var di=bf();if(aZ<=0){return true}if(di>=dj&&di<=(dj+aZ)){return true}}return false}function dg(di){if(!cM){return""}var dm=e(di,av);if(!dm){return""}dm=String(dm);var dk=new RegExp("^[a-zA-Z0-9]+$");if(dm.length===32&&dk.test(dm)){var dj=dm.substr(16,32);if(c1(dj)){var dl=dm.substr(0,16);return dl}}return""}function cN(){if(!bO){bO=dg(bN)}var dk=new Date(),di=Math.round(dk.getTime()/1000),dj=aT("id"),dn=aD(dj),dm,dl; -if(dn){dm=dn.split(".");dm.unshift("0");if(bO.length){dm[1]=bO}return dm}if(bO.length){dl=bO}else{if("0"===b5()){dl=""}else{dl=cQ()}}dm=["1",dl,di];return dm}function aY(){var dl=cN(),dj=dl[0],dk=dl[1],di=dl[2];return{newVisitor:dj,uuid:dk,createTs:di}}function aH(){var dl=new Date(),dj=dl.getTime(),dm=aY().createTs;var di=parseInt(dm,10);var dk=(di*1000)+cJ-dj;return dk}function aM(di){if(!b6){return}var dk=new Date(),dj=Math.round(dk.getTime()/1000);if(!J(di)){di=aY()}var dl=di.uuid+"."+di.createTs+".";dd(aT("id"),dl,aH(),bq,cW,bS)}function bM(){var di=aD(aT("ref"));if(di.length){try{di=S.JSON.parse(di);if(V(di)){return di}}catch(dj){}}return["","",0,""]}function bx(dj){var di="testvalue";dd("test",di,10000,null,dj);if(aD("test")===di){bY("test",null,dj);return true}return false}function aF(){var dj=bm;bm=false;var di,dk;for(di=0;di<bv.length;di++){dk=aT(bv[di]);if(dk!==cL&&dk!==bd&&0!==aD(dk)){bY(dk,bq,cW)}}bm=dj}function b3(di){b6=di}function dh(dm){if(!dm||!V(dm)){return}var dl=[]; -var dk;for(dk in dm){if(Object.prototype.hasOwnProperty.call(dm,dk)){dl.push(dk)}}var dn={};dl.sort();var di=dl.length;var dj;for(dj=0;dj<di;dj++){dn[dl[dj]]=dm[dl[dj]]}return dn}function cc(){dd(aT("ses"),"1",cm,bq,cW,bS)}function bg(){var dl="";var dj="abcdefghijklmnopqrstuvwxyz0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ";var dk=dj.length;var di;for(di=0;di<6;di++){dl+=dj.charAt(Math.floor(Math.random()*dk))}return dl}function aA(di){if(h&&h.timing&&h&&h.timing.connectEnd&&h.timing.fetchStart){di+="&pf_net="+(h.timing.connectEnd-h.timing.fetchStart)}if(h&&h.timing&&h&&h.timing.responseStart&&h.timing.requestStart){di+="&pf_srv="+(h.timing.responseStart-h.timing.requestStart)}if(h&&h.timing&&h&&h.timing.responseStart&&h.timing.responseEnd){di+="&pf_tfr="+(h.timing.responseEnd-h.timing.responseStart)}if(h&&h.timing&&h&&h.timing.domInteractive&&h.timing.domLoading){di+="&pf_dm1="+(h.timing.domInteractive-h.timing.domLoading)}if(h&&h.timing&&h&&h.timing.domComplete&&h.timing.domInteractive){di+="&pf_dm2="+(h.timing.domComplete-h.timing.domInteractive) -}if(h&&h.timing&&h&&h.timing.loadEventEnd&&h.timing.loadEventStart){di+="&pf_onl="+(h.timing.loadEventEnd-h.timing.loadEventStart)}return di}function cq(dk,dF,dG){var dE,dj=new Date(),ds=Math.round(dj.getTime()/1000),dp,dC,dl=1024,dL,dt,dB=aQ,dm=aT("ses"),dz=aT("ref"),dw=aT("cvar"),dx=aD(dm),dD=bM(),dH=a4||bN,dq,di;if(bm){aF()}if(cP){return""}var dy=aY();var dv=G.characterSet||G.charset;if(!dv||dv.toLowerCase()==="utf-8"){dv=null}dq=dD[0];di=dD[1];dp=dD[2];dC=dD[3];if(!dx){if(!bw||!dq.length){for(dE in co){if(Object.prototype.hasOwnProperty.call(co,dE)){dq=e(dH,co[dE]);if(dq.length){break}}}for(dE in bH){if(Object.prototype.hasOwnProperty.call(bH,dE)){di=e(dH,bH[dE]);if(di.length){break}}}}dL=d(bo);dt=dC.length?d(dC):"";if(dL.length&&!aV(dL)&&(!bw||!dt.length||aV(dt))){dC=bo}if(dC.length||dq.length){dp=ds;dD=[dq,di,dp,b2(dC.slice(0,dl))];dd(dz,S.JSON.stringify(dD),c4,bq,cW,bS)}}dk+="&idsite="+b6+"&rec=1&r="+String(Math.random()).slice(2,8)+"&h="+dj.getHours()+"&m="+dj.getMinutes()+"&s="+dj.getSeconds()+"&url="+s(b2(dH))+(bo.length?"&urlref="+s(b2(bo)):"")+((bz&&bz.length)?"&uid="+s(bz):"")+"&_id="+dy.uuid+"&_idn="+dy.newVisitor+(dq.length?"&_rcn="+s(dq):"")+(di.length?"&_rck="+s(di):"")+"&_refts="+dp+(String(dC).length?"&_ref="+s(b2(dC.slice(0,dl))):"")+(dv?"&cs="+s(dv):"")+"&send_image=0"; -var dK=cH();for(dE in dK){if(Object.prototype.hasOwnProperty.call(dK,dE)){dk+="&"+dE+"="+dK[dE]}}var dJ=[];if(dF){for(dE in dF){if(Object.prototype.hasOwnProperty.call(dF,dE)&&/^dimension\d+$/.test(dE)){var dn=dE.replace("dimension","");dJ.push(parseInt(dn,10));dJ.push(String(dn));dk+="&"+dE+"="+s(dF[dE]);delete dF[dE]}}}if(dF&&B(dF)){dF=null}for(dE in cr){if(Object.prototype.hasOwnProperty.call(cr,dE)){dk+="&"+dE+"="+s(cr[dE])}}for(dE in bn){if(Object.prototype.hasOwnProperty.call(bn,dE)){var du=(-1===M(dJ,dE));if(du){dk+="&dimension"+dE+"="+s(bn[dE])}}}if(dF){dk+="&data="+s(S.JSON.stringify(dF))}else{if(ao){dk+="&data="+s(S.JSON.stringify(ao))}}function dr(dM,dN){var dO=S.JSON.stringify(dM);if(dO.length>2){return"&"+dN+"="+s(dO)}return""}var dI=dh(bW);var dA=dh(cl);dk+=dr(dI,"cvar");dk+=dr(dA,"e_cvar");if(aQ){dk+=dr(aQ,"_cvar");for(dE in dB){if(Object.prototype.hasOwnProperty.call(dB,dE)){if(aQ[dE][0]===""||aQ[dE][1]===""){delete aQ[dE]}}}if(bQ){dd(dw,S.JSON.stringify(aQ),cm,bq,cW,bS) -}}if(a2&&bF&&!bh){dk=aA(dk);bh=true}if(aL){dk+="&pv_id="+aL}aM(dy);cc();dk+=ac(dG,{tracker:bJ,request:dk});if(cY.length){dk+="&"+cY}if(A(cb)){dk=cb(dk)}return dk}bR=function a7(){var di=new Date();di=di.getTime();if(!cX){return false}if((cX+(1000*c6))<=di){return false}if(cX+a5<=di){bJ.ping();return true}return false};function br(dl,dk,dq,dm,di,dt){var dp="idgoal=0",dj=new Date(),dr=[],ds,dn=String(dl).length;if(dn){dp+="&ec_id="+s(dl)}dp+="&revenue="+dk;if(String(dq).length){dp+="&ec_st="+dq}if(String(dm).length){dp+="&ec_tx="+dm}if(String(di).length){dp+="&ec_sh="+di}if(String(dt).length){dp+="&ec_dt="+dt}if(cZ){for(ds in cZ){if(Object.prototype.hasOwnProperty.call(cZ,ds)){if(!J(cZ[ds][1])){cZ[ds][1]=""}if(!J(cZ[ds][2])){cZ[ds][2]=""}if(!J(cZ[ds][3])||String(cZ[ds][3]).length===0){cZ[ds][3]=0}if(!J(cZ[ds][4])||String(cZ[ds][4]).length===0){cZ[ds][4]=1}dr.push(cZ[ds])}}dp+="&ec_items="+s(S.JSON.stringify(dr))}dp=cq(dp,ao,"ecommerce");bG(dp,bK);if(dn){cZ={}}}function bZ(di,dm,dl,dk,dj,dn){if(String(di).length&&J(dm)){br(di,dm,dl,dk,dj,dn) -}}function bt(di){if(J(di)){br("",di,"","","","")}}function b0(dj,dl,dk){aL=bg();var di=cq("action_name="+s(al(dj||bj)),dl,"log");if(!bh){di=aA(di)}bG(di,bK,dk)}function a0(dk,dj){var dl,di="(^| )(piwik[_-]"+dj+"|matomo[_-]"+dj;if(dk){for(dl=0;dl<dk.length;dl++){di+="|"+dk[dl]}}di+=")( |$)";return new RegExp(di)}function aU(di){return(aE&&di&&0===String(di).indexOf(aE))}function ct(dm,di,dn,dj){if(aU(di)){return 0}var dl=a0(bL,"download"),dk=a0(a8,"link"),dp=new RegExp("\\.("+c5.join("|")+")([?&#]|$)","i");if(dk.test(dm)){return"link"}if(dj||dl.test(dm)||dp.test(di)){return"download"}if(dn){return 0}return"link"}function au(dj){var di;di=dj.parentNode;while(di!==null&&J(di)){if(ae.isLinkElement(dj)){break}dj=di;di=dj.parentNode}return dj}function db(dn){dn=au(dn);if(!ae.hasNodeAttribute(dn,"href")){return}if(!J(dn.href)){return}var dm=ae.getAttributeValueFromNode(dn,"href");var dj=dn.pathname||ck(dn.href);var dp=dn.hostname||d(dn.href);var dq=dp.toLowerCase();var dk=dn.href.replace(dp,dq); -var dl=new RegExp("^(javascript|vbscript|jscript|mocha|livescript|ecmascript|mailto|tel):","i");if(!dl.test(dk)){var di=ct(dn.className,dk,ar(dq,dj),ae.hasNodeAttribute(dn,"download"));if(di){return{type:di,href:dk}}}}function aP(di,dj,dk,dl){var dm=v.buildInteractionRequestParams(di,dj,dk,dl);if(!dm){return}return cq(dm,null,"contentInteraction")}function bb(di,dj){if(!di||!dj){return false}var dk=v.findTargetNode(di);if(v.shouldIgnoreInteraction(dk)){return false}dk=v.findTargetNodeNoDefault(di);if(dk&&!U(dk,dj)){return false}return true}function cs(dk,dj,dm){if(!dk){return}var di=v.findParentContentNode(dk);if(!di){return}if(!bb(di,dk)){return}var dl=v.buildContentBlock(di);if(!dl){return}if(!dl.target&&dm){dl.target=dm}return v.buildInteractionRequestParams(dj,dl.name,dl.piece,dl.target)}function aW(dj){if(!ca||!ca.length){return false}var di,dk;for(di=0;di<ca.length;di++){dk=ca[di];if(dk&&dk.name===dj.name&&dk.piece===dj.piece&&dk.target===dj.target){return true}}return false}function aX(di){return function(dm){if(!di){return -}var dk=v.findParentContentNode(di);var dj;if(dm){dj=dm.target||dm.srcElement}if(!dj){dj=di}if(!bb(dk,dj)){return}if(!dk){return false}var dn=v.findTargetNode(dk);if(!dn||v.shouldIgnoreInteraction(dn)){return false}var dl=db(dn);if(c8&&dl&&dl.type){return dl.type}return bJ.trackContentInteractionNode(dj,"click")}}function b1(dk){if(!dk||!dk.length){return}var di,dj;for(di=0;di<dk.length;di++){dj=v.findTargetNode(dk[di]);if(dj&&!dj.contentInteractionTrackingSetupDone){dj.contentInteractionTrackingSetupDone=true;an(dj,"click",aX(dj))}}}function by(dk,dl){if(!dk||!dk.length){return[]}var di,dj;for(di=0;di<dk.length;di++){if(aW(dk[di])){dk.splice(di,1);di--}else{ca.push(dk[di])}}if(!dk||!dk.length){return[]}b1(dl);var dm=[];for(di=0;di<dk.length;di++){dj=cq(v.buildImpressionRequestParams(dk[di].name,dk[di].piece,dk[di].target),undefined,"contentImpressions");if(dj){dm.push(dj)}}return dm}function cy(dj){var di=v.collectContent(dj);return by(di,dj)}function a9(dj){if(!dj||!dj.length){return[] -}var di;for(di=0;di<dj.length;di++){if(!v.isNodeVisible(dj[di])){dj.splice(di,1);di--}}if(!dj||!dj.length){return[]}return cy(dj)}function aG(dk,di,dj){var dl=v.buildImpressionRequestParams(dk,di,dj);return cq(dl,null,"contentImpression")}function da(dl,dj){if(!dl){return}var di=v.findParentContentNode(dl);var dk=v.buildContentBlock(di);if(!dk){return}if(!dj){dj="Unknown"}return aP(dj,dk.name,dk.piece,dk.target)}function cO(dj,dl,di,dk){return"e_c="+s(dj)+"&e_a="+s(dl)+(J(di)?"&e_n="+s(di):"")+(J(dk)?"&e_v="+s(dk):"")}function at(dk,dm,di,dl,dp,dn){if(!Y(dk)||!Y(dm)){ak("Error while logging event: Parameters `category` and `action` must not be empty or filled with whitespaces");return false}var dj=cq(cO(dk,dm,di,dl),dp,"event");bG(dj,bK,dn)}function b8(di,dl,dj,dm){var dk=cq("search="+s(di)+(dl?"&search_cat="+s(dl):"")+(J(dj)?"&search_count="+dj:""),dm,"sitesearch");bG(dk,bK)}function cS(di,dm,dl,dk){var dj=cq("idgoal="+di+(dm?"&revenue="+dm:""),dl,"goal");bG(dj,bK,dk)}function c0(dl,di,dq,dp,dk){var dn=di+"="+s(b2(dl)); -var dj=cs(dk,"click",dl);if(dj){dn+="&"+dj}var dm=cq(dn,dq,"link");bG(dm,bK,dp)}function bU(dj,di){if(dj!==""){return dj+di.charAt(0).toUpperCase()+di.slice(1)}return di}function cg(dn){var dm,di,dl=["","webkit","ms","moz"],dk;if(!be){for(di=0;di<dl.length;di++){dk=dl[di];if(Object.prototype.hasOwnProperty.call(G,bU(dk,"hidden"))){if(G[bU(dk,"visibilityState")]==="prerender"){dm=true}break}}}if(dm){an(G,dk+"visibilitychange",function dj(){G.removeEventListener(dk+"visibilitychange",dj,false);dn()});return}dn()}function bs(){var dj=bJ.getVisitorId();var di=aJ();return dj+di}function ci(di){if(!di){return}if(!ae.hasNodeAttribute(di,"href")){return}var dj=ae.getAttributeValueFromNode(di,"href");if(!dj||aU(dj)){return}if(!bJ.getVisitorId()){return}dj=j(dj,av);var dk=bs();dj=F(dj,av,dk);ae.setAnyAttribute(di,"href",dj)}function bl(dl){var dm=ae.getAttributeValueFromNode(dl,"href");if(!dm){return false}dm=String(dm);var dj=dm.indexOf("//")===0||dm.indexOf("http://")===0||dm.indexOf("https://")===0; -if(!dj){return false}var di=dl.pathname||ck(dl.href);var dk=(dl.hostname||d(dl.href)).toLowerCase();if(ar(dk,di)){if(!cG(cT,L(dk))){return true}return false}return false}function cF(di){var dj=db(di);if(dj&&dj.type){dj.href=o(dj.href);c0(dj.href,dj.type,undefined,null,di);return}if(cM){di=au(di);if(bl(di)){ci(di)}}}function cu(){return G.all&&!G.addEventListener}function cU(di){var dk=di.which;var dj=(typeof di.button);if(!dk&&dj!=="undefined"){if(cu()){if(di.button&1){dk=1}else{if(di.button&2){dk=3}else{if(di.button&4){dk=2}}}}else{if(di.button===0||di.button==="0"){dk=1}else{if(di.button&1){dk=2}else{if(di.button&2){dk=3}}}}}return dk}function bT(di){switch(cU(di)){case 1:return"left";case 2:return"middle";case 3:return"right"}}function a1(di){return di.target||di.srcElement}function aC(di){return function(dl){dl=dl||S.event;var dk=bT(dl);var dm=a1(dl);if(dl.type==="click"){var dj=false;if(di&&dk==="middle"){dj=true}if(dm&&!dj){cF(dm)}}else{if(dl.type==="mousedown"){if(dk==="middle"&&dm){aR=dk; -bB=dm}else{aR=bB=null}}else{if(dl.type==="mouseup"){if(dk===aR&&dm===bB){cF(dm)}aR=bB=null}else{if(dl.type==="contextmenu"){cF(dm)}}}}}}function aq(dk,dj){var di=typeof dj;if(di==="undefined"){dj=true}an(dk,"click",aC(dj),false);if(dj){an(dk,"mouseup",aC(dj),false);an(dk,"mousedown",aC(dj),false);an(dk,"contextmenu",aC(dj),false)}}function bE(dk,dm){ap=true;var dl,dj=a0(bA,"ignore"),dn=G.links,di=null,dp=null;if(dn){for(dl=0;dl<dn.length;dl++){di=dn[dl];if(!dj.test(di.className)){dp=typeof di.matomoTrackers;if("undefined"===dp){di.matomoTrackers=[]}if(-1===M(di.matomoTrackers,dm)){di.matomoTrackers.push(dm);aq(di,dk)}}}}}function aS(dj,dm,dn){if(ce){return true}ce=true;var dp=false;var dl,dk;function di(){dp=true}m(function(){function dq(ds){setTimeout(function(){if(!ce){return}dp=false;dn.trackVisibleContentImpressions();dq(ds)},ds)}function dr(ds){setTimeout(function(){if(!ce){return}if(dp){dp=false;dn.trackVisibleContentImpressions()}dr(ds)},ds)}if(dj){dl=["scroll","resize"];for(dk=0; -dk<dl.length;dk++){if(G.addEventListener){G.addEventListener(dl[dk],di,false)}else{S.attachEvent("on"+dl[dk],di)}}dr(100)}if(dm&&dm>0){dm=parseInt(dm,10);dq(dm)}})}var bD={enabled:true,requests:[],timeout:null,interval:2500,sendRequests:function(){var di=this.requests;this.requests=[];if(di.length===1){bG(di[0],bK)}else{de(di,bK)}},canQueue:function(){return !l&&this.enabled},pushMultiple:function(dj){if(!this.canQueue()){de(dj,bK);return}var di;for(di=0;di<dj.length;di++){this.push(dj[di])}},push:function(di){if(!di){return}if(!this.canQueue()){bG(di,bK);return}bD.requests.push(di);if(this.timeout){clearTimeout(this.timeout);this.timeout=null}this.timeout=setTimeout(function(){bD.timeout=null;bD.sendRequests()},bD.interval);var dj="RequestQueue"+ax;if(!Object.prototype.hasOwnProperty.call(b,dj)){b[dj]={unload:function(){if(bD.timeout){clearTimeout(bD.timeout)}bD.sendRequests()}}}}};bi();aM();this.hasConsent=function(){return bC};this.getVisitorId=function(){return aY().uuid};this.getVisitorInfo=function(){return cN() -};this.getAttributionInfo=function(){return bM()};this.getAttributionCampaignName=function(){return bM()[0]};this.getAttributionCampaignKeyword=function(){return bM()[1]};this.getAttributionReferrerTimestamp=function(){return bM()[2]};this.getAttributionReferrerUrl=function(){return bM()[3]};this.setTrackerUrl=function(di){aE=di};this.getTrackerUrl=function(){return aE};this.getMatomoUrl=function(){return W(this.getTrackerUrl(),bI)};this.getPiwikUrl=function(){return this.getMatomoUrl()};this.addTracker=function(dk,dj){if(!J(dk)||null===dk){dk=this.getTrackerUrl()}var di=new P(dk,dj);I.push(di);t.trigger("TrackerAdded",[this]);return di};this.getSiteId=function(){return b6};this.setSiteId=function(di){b3(di)};this.resetUserId=function(){bz=""};this.setUserId=function(di){if(Y(di)){bz=di}};this.setVisitorId=function(dj){var di=/[0-9A-Fa-f]{16}/g;if(w(dj)&&di.test(dj)){bO=dj}else{ak("Invalid visitorId set"+dj)}};this.getUserId=function(){return bz};this.setCustomData=function(di,dj){if(V(di)){ao=di -}else{if(!ao){ao={}}ao[di]=dj}};this.getCustomData=function(){return ao};this.setCustomRequestProcessing=function(di){cb=di};this.appendToTrackingUrl=function(di){cY=di};this.getRequest=function(di){return cq(di)};this.addPlugin=function(di,dj){b[di]=dj};this.setCustomDimension=function(di,dj){di=parseInt(di,10);if(di>0){if(!J(dj)){dj=""}if(!w(dj)){dj=String(dj)}bn[di]=dj}};this.getCustomDimension=function(di){di=parseInt(di,10);if(di>0&&Object.prototype.hasOwnProperty.call(bn,di)){return bn[di]}};this.deleteCustomDimension=function(di){di=parseInt(di,10);if(di>0){delete bn[di]}};this.setCustomVariable=function(dj,di,dm,dk){var dl;if(!J(dk)){dk="visit"}if(!J(di)){return}if(!J(dm)){dm=""}if(dj>0){di=!w(di)?String(di):di;dm=!w(dm)?String(dm):dm;dl=[di.slice(0,bu),dm.slice(0,bu)];if(dk==="visit"||dk===2){cE();aQ[dj]=dl}else{if(dk==="page"||dk===3){bW[dj]=dl}else{if(dk==="event"){cl[dj]=dl}}}}};this.getCustomVariable=function(dj,dk){var di;if(!J(dk)){dk="visit"}if(dk==="page"||dk===3){di=bW[dj] -}else{if(dk==="event"){di=cl[dj]}else{if(dk==="visit"||dk===2){cE();di=aQ[dj]}}}if(!J(di)||(di&&di[0]==="")){return false}return di};this.deleteCustomVariable=function(di,dj){if(this.getCustomVariable(di,dj)){this.setCustomVariable(di,"","",dj)}};this.deleteCustomVariables=function(di){if(di==="page"||di===3){bW={}}else{if(di==="event"){cl={}}else{if(di==="visit"||di===2){aQ={}}}}};this.storeCustomVariablesInCookie=function(){bQ=true};this.setLinkTrackingTimer=function(di){bK=di};this.getLinkTrackingTimer=function(){return bK};this.setDownloadExtensions=function(di){if(w(di)){di=di.split("|")}c5=di};this.addDownloadExtensions=function(dj){var di;if(w(dj)){dj=dj.split("|")}for(di=0;di<dj.length;di++){c5.push(dj[di])}};this.removeDownloadExtensions=function(dk){var dj,di=[];if(w(dk)){dk=dk.split("|")}for(dj=0;dj<c5.length;dj++){if(M(dk,c5[dj])===-1){di.push(c5[dj])}}c5=di};this.setDomains=function(di){ay=w(di)?[di]:di;var dm=false,dk=0,dj;for(dk;dk<ay.length;dk++){dj=String(ay[dk]);if(cG(cT,L(dj))){dm=true; -break}var dl=ck(dj);if(dl&&dl!=="/"&&dl!=="/*"){dm=true;break}}if(!dm){ay.push(cT)}};this.enableCrossDomainLinking=function(){cM=true};this.disableCrossDomainLinking=function(){cM=false};this.isCrossDomainLinkingEnabled=function(){return cM};this.setCrossDomainLinkingTimeout=function(di){aZ=di};this.getCrossDomainLinkingUrlParameter=function(){return s(av)+"="+s(bs())};this.setIgnoreClasses=function(di){bA=w(di)?[di]:di};this.setRequestMethod=function(di){c9=di||ch};this.setRequestContentType=function(di){cv=di||aI};this.setReferrerUrl=function(di){bo=di};this.setCustomUrl=function(di){a4=bV(bN,di)};this.getCurrentUrl=function(){return a4||bN};this.setDocumentTitle=function(di){bj=di};this.setAPIUrl=function(di){bI=di};this.setDownloadClasses=function(di){bL=w(di)?[di]:di};this.setLinkClasses=function(di){a8=w(di)?[di]:di};this.setCampaignNameKey=function(di){co=w(di)?[di]:di};this.setCampaignKeywordKey=function(di){bH=w(di)?[di]:di};this.discardHashTag=function(di){bP=di};this.setCookieNamePrefix=function(di){bk=di; -if(aQ){aQ=bX()}};this.setCookieDomain=function(di){var dj=L(di);if(bx(dj)){cW=dj;bi()}};this.getCookieDomain=function(){return cW};this.hasCookies=function(){return"1"===b5()};this.setSessionCookie=function(dk,dj,di){if(!dk){throw new Error("Missing cookie name")}if(!J(di)){di=cm}bv.push(dk);dd(aT(dk),dj,di,bq,cW)};this.getCookie=function(dj){var di=aD(aT(dj));if(di===0){return null}return di};this.setCookiePath=function(di){bq=di;bi()};this.getCookiePath=function(di){return bq};this.setVisitorCookieTimeout=function(di){cJ=di*1000};this.setSessionCookieTimeout=function(di){cm=di*1000};this.getSessionCookieTimeout=function(){return cm};this.setReferralCookieTimeout=function(di){c4=di*1000};this.setConversionAttributionFirstReferrer=function(di){bw=di};this.setSecureCookie=function(di){bS=di};this.disableCookies=function(){bm=true;if(b6){aF()}};this.areCookiesEnabled=function(){return !bm};this.setCookieConsentGiven=function(){if(bm&&!cP){bm=false;if(b6&&aw){aM();var di=cq("ping=1",null,"ping"); -bG(di,bK)}}};this.requireCookieConsent=function(){if(this.getRememberedCookieConsent()){return false}this.disableCookies();return true};this.getRememberedCookieConsent=function(){return aD(cC)};this.forgetCookieConsentGiven=function(){bY(cC,bq,cW);this.disableCookies()};this.rememberCookieConsentGiven=function(dj){if(dj){dj=dj*60*60*1000}else{dj=30*365*24*60*60*1000}this.setCookieConsentGiven();var di=new Date().getTime();dd(cC,di,dj,bq,cW,bS)};this.deleteCookies=function(){aF()};this.setDoNotTrack=function(dj){var di=g.doNotTrack||g.msDoNotTrack;cP=dj&&(di==="yes"||di==="1");if(cP){this.disableCookies()}};this.alwaysUseSendBeacon=function(){cV=true};this.disableAlwaysUseSendBeacon=function(){cV=false};this.addListener=function(dj,di){aq(dj,di)};this.enableLinkTracking=function(dj){c8=true;var di=this;cg(function(){p(function(){bE(dj,di)});m(function(){bE(dj,di)})})};this.enableJSErrorTracking=function(){if(cR){return}cR=true;var di=S.onerror;S.onerror=function(dn,dl,dk,dm,dj){cg(function(){var dp="JavaScript Errors"; -var dq=dl+":"+dk;if(dm){dq+=":"+dm}at(dp,dq,dn)});if(di){return di(dn,dl,dk,dm,dj)}return false}};this.disablePerformanceTracking=function(){a2=false};this.setVisitStandardLength=function(di){di=Math.max(di,5);c6=di};this.enableHeartBeatTimer=function(di){di=Math.max(di||15,5);a5=di*1000;if(cX!==null){df()}};this.disableHeartBeatTimer=function(){if(a5||aN){if(S.removeEventListener){S.removeEventListener("focus",ba);S.removeEventListener("blur",az)}else{if(S.detachEvent){S.detachEvent("onfocus",ba);S.detachEvent("onblur",az)}}}a5=null;aN=false};this.killFrame=function(){if(S.location!==S.top.location){S.top.location=S.location}};this.redirectFile=function(di){if(S.location.protocol==="file:"){S.location=di}};this.setCountPreRendered=function(di){be=di};this.trackGoal=function(di,dl,dk,dj){cg(function(){cS(di,dl,dk,dj)})};this.trackLink=function(dj,di,dl,dk){cg(function(){c0(dj,di,dl,dk)})};this.getNumTrackedPageViews=function(){return cp};this.trackPageView=function(di,dk,dj){ca=[];cK=[]; -if(N(b6)){cg(function(){Z(aE,bI,b6)})}else{cg(function(){cp++;b0(di,dk,dj)})}};this.trackAllContentImpressions=function(){if(N(b6)){return}cg(function(){p(function(){var di=v.findContentNodes();var dj=cy(di);bD.pushMultiple(dj)})})};this.trackVisibleContentImpressions=function(di,dj){if(N(b6)){return}if(!J(di)){di=true}if(!J(dj)){dj=750}aS(di,dj,this);cg(function(){m(function(){var dk=v.findContentNodes();var dl=a9(dk);bD.pushMultiple(dl)})})};this.trackContentImpression=function(dk,di,dj){if(N(b6)){return}dk=a(dk);di=a(di);dj=a(dj);if(!dk){return}di=di||"Unknown";cg(function(){var dl=aG(dk,di,dj);bD.push(dl)})};this.trackContentImpressionsWithinNode=function(di){if(N(b6)||!di){return}cg(function(){if(ce){m(function(){var dj=v.findContentNodesWithinNode(di);var dk=a9(dj);bD.pushMultiple(dk)})}else{p(function(){var dj=v.findContentNodesWithinNode(di);var dk=cy(dj);bD.pushMultiple(dk)})}})};this.trackContentInteraction=function(dk,dl,di,dj){if(N(b6)){return}dk=a(dk);dl=a(dl);di=a(di);dj=a(dj); -if(!dk||!dl){return}di=di||"Unknown";cg(function(){var dm=aP(dk,dl,di,dj);if(dm){bD.push(dm)}})};this.trackContentInteractionNode=function(dk,dj){if(N(b6)||!dk){return}var di=null;cg(function(){di=da(dk,dj);if(di){bD.push(di)}});return di};this.logAllContentBlocksOnPage=function(){var dk=v.findContentNodes();var di=v.collectContent(dk);var dj=typeof console;if(dj!=="undefined"&&console&&console.log){console.log(di)}};this.trackEvent=function(dj,dl,di,dk,dn,dm){cg(function(){at(dj,dl,di,dk,dn,dm)})};this.trackSiteSearch=function(di,dk,dj,dl){ca=[];cg(function(){b8(di,dk,dj,dl)})};this.setEcommerceView=function(dm,di,dk,dj){cr={};if(Y(dk)){dk=String(dk)}if(!J(dk)||dk===null||dk===false||!dk.length){dk=""}else{if(dk instanceof Array){dk=S.JSON.stringify(dk)}}var dl="_pkc";cr[dl]=dk;if(J(dj)&&dj!==null&&dj!==false&&String(dj).length){dl="_pkp";cr[dl]=dj}if(!Y(dm)&&!Y(di)){return}if(Y(dm)){dl="_pks";cr[dl]=dm}if(!Y(di)){di=""}dl="_pkn";cr[dl]=di};this.getEcommerceItems=function(){return JSON.parse(JSON.stringify(cZ)) -};this.addEcommerceItem=function(dm,di,dk,dj,dl){if(Y(dm)){cZ[dm]=[String(dm),di,dk,dj,dl]}};this.removeEcommerceItem=function(di){if(Y(di)){di=String(di);delete cZ[di]}};this.clearEcommerceCart=function(){cZ={}};this.trackEcommerceOrder=function(di,dm,dl,dk,dj,dn){bZ(di,dm,dl,dk,dj,dn)};this.trackEcommerceCartUpdate=function(di){bt(di)};this.trackRequest=function(dj,dl,dk,di){cg(function(){var dm=cq(dj,dl,di);bG(dm,bK,dk)})};this.ping=function(){this.trackRequest("ping=1",null,null,"ping")};this.disableQueueRequest=function(){bD.enabled=false};this.setRequestQueueInterval=function(di){if(di<1000){throw new Error("Request queue interval needs to be at least 1000ms")}bD.interval=di};this.queueRequest=function(di){cg(function(){var dj=cq(di);bD.push(dj)})};this.isConsentRequired=function(){return cz};this.getRememberedConsent=function(){var di=aD(bd);if(aD(cL)){if(di){bY(bd,bq,cW)}return null}if(!di||di===0){return null}return di};this.hasRememberedConsent=function(){return !!this.getRememberedConsent() -};this.requireConsent=function(){cz=true;bC=this.hasRememberedConsent();if(!bC){bm=true}x++;b["CoreConsent"+x]={unload:function(){if(!bC){aF()}}}};this.setConsentGiven=function(dj){bC=true;bY(cL,bq,cW);var dk,di;for(dk=0;dk<cK.length;dk++){di=typeof cK[dk];if(di==="string"){bG(cK[dk],bK)}else{if(di==="object"){de(cK[dk],bK)}}}cK=[];if(!J(dj)||dj){this.setCookieConsentGiven()}};this.rememberConsentGiven=function(dk){if(dk){dk=dk*60*60*1000}else{dk=30*365*24*60*60*1000}var di=true;this.setConsentGiven(di);var dj=new Date().getTime();dd(bd,dj,dk,bq,cW,bS)};this.forgetConsentGiven=function(){var di=30*365*24*60*60*1000;bY(bd,bq,cW);dd(cL,new Date().getTime(),di,bq,cW,bS);this.forgetCookieConsentGiven();this.requireConsent()};this.isUserOptedOut=function(){return !bC};this.optUserOut=this.forgetConsentGiven;this.forgetUserOptOut=function(){this.setConsentGiven(false)};m(function(){setTimeout(function(){bF=true},0)});t.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 Matomo trackers documentation: https://developer.matomo.org/guides/tracking-javascript-guide#multiple-piwik-trackers')}av[ap]++}}}}return au}var C=["addTracker","forgetCookieConsentGiven","requireCookieConsent","disableCookies","setTrackerUrl","setAPIUrl","enableCrossDomainLinking","setCrossDomainLinkingTimeout","setSessionCookieTimeout","setVisitorCookieTimeout","setCookieNamePrefix","setSecureCookie","setCookiePath","setCookieDomain","setDomains","setUserId","setVisitorId","setSiteId","alwaysUseSendBeacon","enableLinkTracking","setCookieConsentGiven","requireConsent","setConsentGiven"];function ad(aq,ap){var ao=new P(aq,ap);I.push(ao);_paq=c(_paq,C);for(E=0; -E<_paq.length;E++){if(_paq[E]){af(_paq[E])}}_paq=new H();t.trigger("TrackerAdded",[ao]);return ao}an(S,"beforeunload",ai,false);an(S,"message",function(au){if(!au||!au.origin){return}var aw,ar,ap;var ax=d(au.origin);var at=t.getAsyncTrackers();for(ar=0;ar<at.length;ar++){ap=d(at[ar].getMatomoUrl());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.getMatomoUrl(),maq_optout_by_default:aw.isConsentRequired()})}else{if(J(aq.maq_opted_in)){at=t.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.getMatomoUrl(),maq_optout_by_default:aw.isConsentRequired()}) +}catch(ao){return true}}function P(cd,b9){var bJ=this,bd="mtm_consent",cC="mtm_cookie_consent",cL="mtm_consent_removed",b4=aa(G.domain,S.location.href,K()),cT=L(b4[0]),bN=o(b4[1]),bo=o(b4[2]),cR=false,ch="GET",c8=ch,aI="application/x-www-form-urlencoded; charset=UTF-8",cv=aI,aE=cd||"",bI="",cY="",b6=b9||"",bz="",bO="",a4,bj="",c5=["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"],ay=[cT],bA=[],bL=[],a8=[],bK=500,cV=true,cI,a5,bR,bP,ao,co=["pk_campaign","mtm_campaign","piwik_campaign","matomo_campaign","utm_campaign","utm_source","utm_medium"],bH=["pk_kwd","mtm_kwd","piwik_kwd","matomo_kwd","utm_term"],bk="_pk_",av="pk_vid",aZ=180,cW,bq,bS=false,bm=false,cP,be,bw,cJ=33955200000,cm=1800000,c4=15768000000,a2=true,bF=false,bh=false,bQ=false,aQ=false,cb,bW={},cl={},bn={},bu=200,cr={},cZ={},c6={},ca=[],ce=false,cA=false,ap=false,c7=false,cM=false,aN=false,bc=u(),cw=null,cX=null,aR,bB,b7=am,bp,aL,cp=0,bv=["id","ses","cvar","ref"],cz=false,bC=null,cK=[],ax=T++,aw=false; +try{bj=G.title}catch(cx){bj=""}function dc(dn,dl,dk,dm,dj,di){if(bm){return}var dh;if(dk){dh=new Date();dh.setTime(dh.getTime()+dk)}G.cookie=dn+"="+s(dl)+(dk?";expires="+dh.toGMTString():"")+";path="+(dm||"/")+(dj?";domain="+dj:"")+(di?";secure":"")+";SameSite=Lax"}function aD(dj){if(bm){return 0}var dh=new RegExp("(^|;)[ ]*"+dj+"=([^;]*)"),di=dh.exec(G.cookie);return di?R(di[2]):0}bC=!aD(cL);function b2(dh){var di;dh=j(dh,av);if(bP){di=new RegExp("#.*");return dh.replace(di,"")}return dh}function bV(dj,dh){var dk=r(dh),di;if(dk){return dh}if(dh.slice(0,1)==="/"){return r(dj)+"://"+d(dj)+dh}dj=b2(dj);di=dj.indexOf("?");if(di>=0){dj=dj.slice(0,di)}di=dj.lastIndexOf("/");if(di!==dj.length-1){dj=dj.slice(0,di+1)}return dj+dh}function cG(dj,dh){var di;dj=String(dj).toLowerCase();dh=String(dh).toLowerCase();if(dj===dh){return true}if(dh.slice(0,1)==="."){if(dj===dh.slice(1)){return true}di=dj.length-dh.length;if((di>0)&&(dj.slice(di)===dh)){return true}}return false}function ck(dh){var di=document.createElement("a"); +if(dh.indexOf("//")!==0&&dh.indexOf("http")!==0){if(dh.indexOf("*")===0){dh=dh.substr(1)}if(dh.indexOf(".")===0){dh=dh.substr(1)}dh="http://"+dh}di.href=v.toAbsoluteUrl(dh);if(di.pathname){return di.pathname}return""}function a3(di,dh){if(!aj(dh,"/")){dh="/"+dh}if(!aj(di,"/")){di="/"+di}var dj=(dh==="/"||dh==="/*");if(dj){return true}if(di===dh){return true}dh=String(dh).toLowerCase();di=String(di).toLowerCase();if(Q(dh,"*")){dh=dh.slice(0,-1);dj=(!dh||dh==="/");if(dj){return true}if(di===dh){return true}return di.indexOf(dh)===0}if(!Q(di,"/")){di+="/"}if(!Q(dh,"/")){dh+="/"}return di.indexOf(dh)===0}function ar(dl,dn){var di,dh,dj,dk,dm;for(di=0;di<ay.length;di++){dk=L(ay[di]);dm=ck(ay[di]);if(cG(dl,dk)&&a3(dn,dm)){return true}}return false}function aV(dk){var di,dh,dj;for(di=0;di<ay.length;di++){dh=L(ay[di].toLowerCase());if(dk===dh){return true}if(dh.slice(0,1)==="."){if(dk===dh.slice(1)){return true}dj=dk.length-dh.length;if((dj>0)&&(dk.slice(dj)===dh)){return true}}}return false}function cn(dh,dj){dh=dh.replace("send_image=0","send_image=1"); +var di=new Image(1,1);di.onload=function(){E=0;if(typeof dj==="function"){dj({request:dh,trackerUrl:aE,success:true})}};di.onerror=function(){if(typeof dj==="function"){dj({request:dh,trackerUrl:aE,success:false})}};di.src=aE+(aE.indexOf("?")<0?"?":"&")+dh}function cD(dh){if(c8==="POST"){return true}return dh&&(dh.length>2000||dh.indexOf('{"requests"')===0)}function aK(){return"object"===typeof g&&"function"===typeof g.sendBeacon&&"function"===typeof Blob}function a6(dl,dp,dn){var dj=aK();if(!dj){return false}var dk={type:"application/x-www-form-urlencoded; charset=UTF-8"};var dq=false;var di=aE;try{var dh=new Blob([dl],dk);if(dn&&!cD(dl)){dh=new Blob([],dk);di=di+(di.indexOf("?")<0?"?":"&")+dl}dq=g.sendBeacon(di,dh)}catch(dm){return false}if(dq&&typeof dp==="function"){dp({request:dl,trackerUrl:aE,success:true,isSendBeacon:true})}return dq}function c3(di,dj,dh){if(!J(dh)||null===dh){dh=true}if(l&&a6(di,dj,dh)){return}setTimeout(function(){if(l&&a6(di,dj,dh)){return}var dm;try{var dl=S.XMLHttpRequest?new S.XMLHttpRequest():S.ActiveXObject?new ActiveXObject("Microsoft.XMLHTTP"):null; +dl.open("POST",aE,true);dl.onreadystatechange=function(){if(this.readyState===4&&!(this.status>=200&&this.status<300)){var dn=l&&a6(di,dj,dh);if(!dn&&dh){cn(di,dj)}else{if(typeof dj==="function"){dj({request:di,trackerUrl:aE,success:false,xhr:this})}}}else{if(this.readyState===4&&(typeof dj==="function")){dj({request:di,trackerUrl:aE,success:true,xhr:this})}}};dl.setRequestHeader("Content-Type",cv);dl.withCredentials=true;dl.send(di)}catch(dk){dm=l&&a6(di,dj,dh);if(!dm&&dh){cn(di,dj)}else{if(typeof dj==="function"){dj({request:di,trackerUrl:aE,success:false})}}}},50)}function cf(di){var dh=new Date();var dj=dh.getTime()+di;if(!q||dj>q){q=dj}}function ba(){bc=true;cw=new Date().getTime()}function db(){var dh=new Date().getTime();return !cw||(dh-cw)>a5}function az(){if(db()){bR()}}function de(){if(aN||!a5){return}aN=true;an(S,"focus",ba);an(S,"blur",az);ab++;t.addPlugin("HeartBeat"+ab,{unload:function(){if(aN&&db()){bR()}}})}function cB(dl){var di=new Date();var dh=di.getTime();cX=dh;if(cA&&dh<cA){var dj=cA-dh; +setTimeout(dl,dj);cf(dj+50);cA+=50;return}if(cA===false){var dk=800;cA=dh+dk}dl()}function aO(){if(aD(cL)){bC=false}else{if(aD(bd)){bC=true}}}function bG(di,dh,dj){aO();if(!bC){cK.push(di);return}aw=true;if(!cP&&di){if(cz&&bC){di+="&consent=1"}cB(function(){if(cV&&a6(di,dj,true)){cf(100);return}if(cD(di)){c3(di,dj)}else{cn(di,dj)}cf(dh)})}if(!aN){de()}}function cj(dh){if(cP){return false}return(dh&&dh.length)}function c2(dh,dl){if(!dl||dl>=dh.length){return[dh]}var di=0;var dj=dh.length;var dk=[];for(di;di<dj;di+=dl){dk.push(dh.slice(di,di+dl))}return dk}function dd(di,dh){if(!cj(di)){return}if(!bC){cK.push(di);return}aw=true;cB(function(){var dl=c2(di,50);var dj=0,dk;for(dj;dj<dl.length;dj++){dk='{"requests":["?'+dl[dj].join('","?')+'"]}';if(cV&&a6(dk,null,false)){cf(100)}else{c3(dk,null,false)}}cf(dh)})}function aT(dh){return bk+dh+"."+b6+"."+bp}function bY(dj,di,dh){dc(dj,"",-86400,di,dh)}function b5(){if(bm){return"0"}if(!J(S.showModalDialog)&&J(g.cookieEnabled)){return g.cookieEnabled?"1":"0" +}var dh=bk+"testcookie";dc(dh,"1",undefined,bq,cW,bS);var di=aD(dh)==="1"?"1":"0";bY(dh);return di}function bi(){bp=b7((cW||cT)+(bq||"/")).slice(0,4)}function cH(){if(J(c6.res)){return c6}var di,dk,dl={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(di in dl){if(Object.prototype.hasOwnProperty.call(dl,di)){dk=g.mimeTypes[dl[di]];c6[di]=(dk&&dk.enabledPlugin)?"1":"0"}}}if(!((new RegExp("Edge[ /](\\d+[\\.\\d]+)")).test(g.userAgent))&&typeof navigator.javaEnabled!=="unknown"&&J(g.javaEnabled)&&g.javaEnabled()){c6.java="1"}if(!J(S.showModalDialog)&&J(g.cookieEnabled)){c6.cookie=g.cookieEnabled?"1":"0"}else{c6.cookie=b5()}}var dj=parseInt(X.width,10);var dh=parseInt(X.height,10);c6.res=parseInt(dj,10)+"x"+parseInt(dh,10);return c6}function bX(){var di=aT("cvar"),dh=aD(di); +if(dh&&dh.length){dh=S.JSON.parse(dh);if(V(dh)){return dh}}return{}}function cE(){if(aQ===false){aQ=bX()}}function cQ(){var dh=cH();return b7((g.userAgent||"")+(g.platform||"")+S.JSON.stringify(dh)+(new Date()).getTime()+Math.random()).slice(0,16)}function aB(){var dh=cH();return b7((g.userAgent||"")+(g.platform||"")+S.JSON.stringify(dh)).slice(0,6)}function bf(){return Math.floor((new Date()).getTime()/1000)}function aJ(){var di=bf();var dj=aB();var dh=String(di)+dj;return dh}function c1(dj){dj=String(dj);var dm=aB();var dk=dm.length;var dl=dj.substr(-1*dk,dk);var di=parseInt(dj.substr(0,dj.length-dk),10);if(di&&dl&&dl===dm){var dh=bf();if(aZ<=0){return true}if(dh>=di&&dh<=(di+aZ)){return true}}return false}function df(dh){if(!cM){return""}var dl=e(dh,av);if(!dl){return""}dl=String(dl);var dj=new RegExp("^[a-zA-Z0-9]+$");if(dl.length===32&&dj.test(dl)){var di=dl.substr(16,32);if(c1(di)){var dk=dl.substr(0,16);return dk}}return""}function cN(){if(!bO){bO=df(bN)}var dj=new Date(),dh=Math.round(dj.getTime()/1000),di=aT("id"),dm=aD(di),dl,dk; +if(dm){dl=dm.split(".");dl.unshift("0");if(bO.length){dl[1]=bO}return dl}if(bO.length){dk=bO}else{if("0"===b5()){dk=""}else{dk=cQ()}}dl=["1",dk,dh];return dl}function aY(){var dk=cN(),di=dk[0],dj=dk[1],dh=dk[2];return{newVisitor:di,uuid:dj,createTs:dh}}function aH(){var dk=new Date(),di=dk.getTime(),dl=aY().createTs;var dh=parseInt(dl,10);var dj=(dh*1000)+cJ-di;return dj}function aM(dh){if(!b6){return}var dj=new Date(),di=Math.round(dj.getTime()/1000);if(!J(dh)){dh=aY()}var dk=dh.uuid+"."+dh.createTs+".";dc(aT("id"),dk,aH(),bq,cW,bS)}function bM(){var dh=aD(aT("ref"));if(dh.length){try{dh=S.JSON.parse(dh);if(V(dh)){return dh}}catch(di){}}return["","",0,""]}function bx(di){var dh="testvalue";dc("test",dh,10000,null,di);if(aD("test")===dh){bY("test",null,di);return true}return false}function aF(){var di=bm;bm=false;var dh,dj;for(dh=0;dh<bv.length;dh++){dj=aT(bv[dh]);if(dj!==cL&&dj!==bd&&0!==aD(dj)){bY(dj,bq,cW)}}bm=di}function b3(dh){b6=dh}function dg(dl){if(!dl||!V(dl)){return}var dk=[]; +var dj;for(dj in dl){if(Object.prototype.hasOwnProperty.call(dl,dj)){dk.push(dj)}}var dm={};dk.sort();var dh=dk.length;var di;for(di=0;di<dh;di++){dm[dk[di]]=dl[dk[di]]}return dm}function cc(){dc(aT("ses"),"1",cm,bq,cW,bS)}function bg(){var dk="";var di="abcdefghijklmnopqrstuvwxyz0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ";var dj=di.length;var dh;for(dh=0;dh<6;dh++){dk+=di.charAt(Math.floor(Math.random()*dj))}return dk}function aA(dh){if(h&&h.timing&&h&&h.timing.connectEnd&&h.timing.fetchStart){dh+="&pf_net="+(h.timing.connectEnd-h.timing.fetchStart)}if(h&&h.timing&&h&&h.timing.responseStart&&h.timing.requestStart){dh+="&pf_srv="+(h.timing.responseStart-h.timing.requestStart)}if(h&&h.timing&&h&&h.timing.responseStart&&h.timing.responseEnd){dh+="&pf_tfr="+(h.timing.responseEnd-h.timing.responseStart)}if(h&&h.timing&&h&&h.timing.domInteractive&&h.timing.domLoading){dh+="&pf_dm1="+(h.timing.domInteractive-h.timing.domLoading)}if(h&&h.timing&&h&&h.timing.domComplete&&h.timing.domInteractive){dh+="&pf_dm2="+(h.timing.domComplete-h.timing.domInteractive) +}if(h&&h.timing&&h&&h.timing.loadEventEnd&&h.timing.loadEventStart){dh+="&pf_onl="+(h.timing.loadEventEnd-h.timing.loadEventStart)}return dh}function cq(dj,dE,dF){var dD,di=new Date(),dr=Math.round(di.getTime()/1000),dn,dB,dk=1024,dK,ds,dA=aQ,dl=aT("ses"),dy=aT("ref"),dv=aT("cvar"),dw=aD(dl),dC=bM(),dG=a4||bN,dp,dh;if(bm){aF()}if(cP){return""}var dx=aY();var du=G.characterSet||G.charset;if(!du||du.toLowerCase()==="utf-8"){du=null}dp=dC[0];dh=dC[1];dn=dC[2];dB=dC[3];if(!dw){if(!bw||!dp.length){for(dD in co){if(Object.prototype.hasOwnProperty.call(co,dD)){dp=e(dG,co[dD]);if(dp.length){break}}}for(dD in bH){if(Object.prototype.hasOwnProperty.call(bH,dD)){dh=e(dG,bH[dD]);if(dh.length){break}}}}dK=d(bo);ds=dB.length?d(dB):"";if(dK.length&&!aV(dK)&&(!bw||!ds.length||aV(ds))){dB=bo}if(dB.length||dp.length){dn=dr;dC=[dp,dh,dn,b2(dB.slice(0,dk))];dc(dy,S.JSON.stringify(dC),c4,bq,cW,bS)}}dj+="&idsite="+b6+"&rec=1&r="+String(Math.random()).slice(2,8)+"&h="+di.getHours()+"&m="+di.getMinutes()+"&s="+di.getSeconds()+"&url="+s(b2(dG))+(bo.length?"&urlref="+s(b2(bo)):"")+((bz&&bz.length)?"&uid="+s(bz):"")+"&_id="+dx.uuid+"&_idn="+dx.newVisitor+(dp.length?"&_rcn="+s(dp):"")+(dh.length?"&_rck="+s(dh):"")+"&_refts="+dn+(String(dB).length?"&_ref="+s(b2(dB.slice(0,dk))):"")+(du?"&cs="+s(du):"")+"&send_image=0"; +var dJ=cH();for(dD in dJ){if(Object.prototype.hasOwnProperty.call(dJ,dD)){dj+="&"+dD+"="+dJ[dD]}}var dI=[];if(dE){for(dD in dE){if(Object.prototype.hasOwnProperty.call(dE,dD)&&/^dimension\d+$/.test(dD)){var dm=dD.replace("dimension","");dI.push(parseInt(dm,10));dI.push(String(dm));dj+="&"+dD+"="+s(dE[dD]);delete dE[dD]}}}if(dE&&B(dE)){dE=null}for(dD in cr){if(Object.prototype.hasOwnProperty.call(cr,dD)){dj+="&"+dD+"="+s(cr[dD])}}for(dD in bn){if(Object.prototype.hasOwnProperty.call(bn,dD)){var dt=(-1===M(dI,dD));if(dt){dj+="&dimension"+dD+"="+s(bn[dD])}}}if(dE){dj+="&data="+s(S.JSON.stringify(dE))}else{if(ao){dj+="&data="+s(S.JSON.stringify(ao))}}function dq(dL,dM){var dN=S.JSON.stringify(dL);if(dN.length>2){return"&"+dM+"="+s(dN)}return""}var dH=dg(bW);var dz=dg(cl);dj+=dq(dH,"cvar");dj+=dq(dz,"e_cvar");if(aQ){dj+=dq(aQ,"_cvar");for(dD in dA){if(Object.prototype.hasOwnProperty.call(dA,dD)){if(aQ[dD][0]===""||aQ[dD][1]===""){delete aQ[dD]}}}if(bQ){dc(dv,S.JSON.stringify(aQ),cm,bq,cW,bS) +}}if(a2&&bF&&!bh){dj=aA(dj);bh=true}if(aL){dj+="&pv_id="+aL}aM(dx);cc();dj+=ac(dF,{tracker:bJ,request:dj});if(cY.length){dj+="&"+cY}if(A(cb)){dj=cb(dj)}return dj}bR=function a7(){var dh=new Date();dh=dh.getTime();if(!cX){return false}if(cX+a5<=dh){bJ.ping();return true}return false};function br(dk,dj,dp,dl,dh,ds){var dn="idgoal=0",di=new Date(),dq=[],dr,dm=String(dk).length;if(dm){dn+="&ec_id="+s(dk)}dn+="&revenue="+dj;if(String(dp).length){dn+="&ec_st="+dp}if(String(dl).length){dn+="&ec_tx="+dl}if(String(dh).length){dn+="&ec_sh="+dh}if(String(ds).length){dn+="&ec_dt="+ds}if(cZ){for(dr in cZ){if(Object.prototype.hasOwnProperty.call(cZ,dr)){if(!J(cZ[dr][1])){cZ[dr][1]=""}if(!J(cZ[dr][2])){cZ[dr][2]=""}if(!J(cZ[dr][3])||String(cZ[dr][3]).length===0){cZ[dr][3]=0}if(!J(cZ[dr][4])||String(cZ[dr][4]).length===0){cZ[dr][4]=1}dq.push(cZ[dr])}}dn+="&ec_items="+s(S.JSON.stringify(dq))}dn=cq(dn,ao,"ecommerce");bG(dn,bK);if(dm){cZ={}}}function bZ(dh,dl,dk,dj,di,dm){if(String(dh).length&&J(dl)){br(dh,dl,dk,dj,di,dm) +}}function bt(dh){if(J(dh)){br("",dh,"","","","")}}function b0(di,dk,dj){aL=bg();var dh=cq("action_name="+s(al(di||bj)),dk,"log");if(!bh){dh=aA(dh)}bG(dh,bK,dj)}function a0(dj,di){var dk,dh="(^| )(piwik[_-]"+di+"|matomo[_-]"+di;if(dj){for(dk=0;dk<dj.length;dk++){dh+="|"+dj[dk]}}dh+=")( |$)";return new RegExp(dh)}function aU(dh){return(aE&&dh&&0===String(dh).indexOf(aE))}function ct(dl,dh,dm,di){if(aU(dh)){return 0}var dk=a0(bL,"download"),dj=a0(a8,"link"),dn=new RegExp("\\.("+c5.join("|")+")([?&#]|$)","i");if(dj.test(dl)){return"link"}if(di||dk.test(dl)||dn.test(dh)){return"download"}if(dm){return 0}return"link"}function au(di){var dh;dh=di.parentNode;while(dh!==null&&J(dh)){if(ae.isLinkElement(di)){break}di=dh;dh=di.parentNode}return di}function da(dm){dm=au(dm);if(!ae.hasNodeAttribute(dm,"href")){return}if(!J(dm.href)){return}var dl=ae.getAttributeValueFromNode(dm,"href");var di=dm.pathname||ck(dm.href);var dn=dm.hostname||d(dm.href);var dp=dn.toLowerCase();var dj=dm.href.replace(dn,dp); +var dk=new RegExp("^(javascript|vbscript|jscript|mocha|livescript|ecmascript|mailto|tel):","i");if(!dk.test(dj)){var dh=ct(dm.className,dj,ar(dp,di),ae.hasNodeAttribute(dm,"download"));if(dh){return{type:dh,href:dj}}}}function aP(dh,di,dj,dk){var dl=v.buildInteractionRequestParams(dh,di,dj,dk);if(!dl){return}return cq(dl,null,"contentInteraction")}function bb(dh,di){if(!dh||!di){return false}var dj=v.findTargetNode(dh);if(v.shouldIgnoreInteraction(dj)){return false}dj=v.findTargetNodeNoDefault(dh);if(dj&&!U(dj,di)){return false}return true}function cs(dj,di,dl){if(!dj){return}var dh=v.findParentContentNode(dj);if(!dh){return}if(!bb(dh,dj)){return}var dk=v.buildContentBlock(dh);if(!dk){return}if(!dk.target&&dl){dk.target=dl}return v.buildInteractionRequestParams(di,dk.name,dk.piece,dk.target)}function aW(di){if(!ca||!ca.length){return false}var dh,dj;for(dh=0;dh<ca.length;dh++){dj=ca[dh];if(dj&&dj.name===di.name&&dj.piece===di.piece&&dj.target===di.target){return true}}return false}function aX(dh){return function(dl){if(!dh){return +}var dj=v.findParentContentNode(dh);var di;if(dl){di=dl.target||dl.srcElement}if(!di){di=dh}if(!bb(dj,di)){return}if(!dj){return false}var dm=v.findTargetNode(dj);if(!dm||v.shouldIgnoreInteraction(dm)){return false}var dk=da(dm);if(c7&&dk&&dk.type){return dk.type}return bJ.trackContentInteractionNode(di,"click")}}function b1(dj){if(!dj||!dj.length){return}var dh,di;for(dh=0;dh<dj.length;dh++){di=v.findTargetNode(dj[dh]);if(di&&!di.contentInteractionTrackingSetupDone){di.contentInteractionTrackingSetupDone=true;an(di,"click",aX(di))}}}function by(dj,dk){if(!dj||!dj.length){return[]}var dh,di;for(dh=0;dh<dj.length;dh++){if(aW(dj[dh])){dj.splice(dh,1);dh--}else{ca.push(dj[dh])}}if(!dj||!dj.length){return[]}b1(dk);var dl=[];for(dh=0;dh<dj.length;dh++){di=cq(v.buildImpressionRequestParams(dj[dh].name,dj[dh].piece,dj[dh].target),undefined,"contentImpressions");if(di){dl.push(di)}}return dl}function cy(di){var dh=v.collectContent(di);return by(dh,di)}function a9(di){if(!di||!di.length){return[] +}var dh;for(dh=0;dh<di.length;dh++){if(!v.isNodeVisible(di[dh])){di.splice(dh,1);dh--}}if(!di||!di.length){return[]}return cy(di)}function aG(dj,dh,di){var dk=v.buildImpressionRequestParams(dj,dh,di);return cq(dk,null,"contentImpression")}function c9(dk,di){if(!dk){return}var dh=v.findParentContentNode(dk);var dj=v.buildContentBlock(dh);if(!dj){return}if(!di){di="Unknown"}return aP(di,dj.name,dj.piece,dj.target)}function cO(di,dk,dh,dj){return"e_c="+s(di)+"&e_a="+s(dk)+(J(dh)?"&e_n="+s(dh):"")+(J(dj)?"&e_v="+s(dj):"")}function at(dj,dl,dh,dk,dn,dm){if(!Y(dj)||!Y(dl)){ak("Error while logging event: Parameters `category` and `action` must not be empty or filled with whitespaces");return false}var di=cq(cO(dj,dl,dh,dk),dn,"event");bG(di,bK,dm)}function b8(dh,dk,di,dl){var dj=cq("search="+s(dh)+(dk?"&search_cat="+s(dk):"")+(J(di)?"&search_count="+di:""),dl,"sitesearch");bG(dj,bK)}function cS(dh,dl,dk,dj){var di=cq("idgoal="+dh+(dl?"&revenue="+dl:""),dk,"goal");bG(di,bK,dj)}function c0(dk,dh,dp,dn,dj){var dm=dh+"="+s(b2(dk)); +var di=cs(dj,"click",dk);if(di){dm+="&"+di}var dl=cq(dm,dp,"link");bG(dl,bK,dn)}function bU(di,dh){if(di!==""){return di+dh.charAt(0).toUpperCase()+dh.slice(1)}return dh}function cg(dm){var dl,dh,dk=["","webkit","ms","moz"],dj;if(!be){for(dh=0;dh<dk.length;dh++){dj=dk[dh];if(Object.prototype.hasOwnProperty.call(G,bU(dj,"hidden"))){if(G[bU(dj,"visibilityState")]==="prerender"){dl=true}break}}}if(dl){an(G,dj+"visibilitychange",function di(){G.removeEventListener(dj+"visibilitychange",di,false);dm()});return}dm()}function bs(){var di=bJ.getVisitorId();var dh=aJ();return di+dh}function ci(dh){if(!dh){return}if(!ae.hasNodeAttribute(dh,"href")){return}var di=ae.getAttributeValueFromNode(dh,"href");if(!di||aU(di)){return}if(!bJ.getVisitorId()){return}di=j(di,av);var dj=bs();di=F(di,av,dj);ae.setAnyAttribute(dh,"href",di)}function bl(dk){var dl=ae.getAttributeValueFromNode(dk,"href");if(!dl){return false}dl=String(dl);var di=dl.indexOf("//")===0||dl.indexOf("http://")===0||dl.indexOf("https://")===0; +if(!di){return false}var dh=dk.pathname||ck(dk.href);var dj=(dk.hostname||d(dk.href)).toLowerCase();if(ar(dj,dh)){if(!cG(cT,L(dj))){return true}return false}return false}function cF(dh){var di=da(dh);if(di&&di.type){di.href=o(di.href);c0(di.href,di.type,undefined,null,dh);return}if(cM){dh=au(dh);if(bl(dh)){ci(dh)}}}function cu(){return G.all&&!G.addEventListener}function cU(dh){var dj=dh.which;var di=(typeof dh.button);if(!dj&&di!=="undefined"){if(cu()){if(dh.button&1){dj=1}else{if(dh.button&2){dj=3}else{if(dh.button&4){dj=2}}}}else{if(dh.button===0||dh.button==="0"){dj=1}else{if(dh.button&1){dj=2}else{if(dh.button&2){dj=3}}}}}return dj}function bT(dh){switch(cU(dh)){case 1:return"left";case 2:return"middle";case 3:return"right"}}function a1(dh){return dh.target||dh.srcElement}function aC(dh){return function(dk){dk=dk||S.event;var dj=bT(dk);var dl=a1(dk);if(dk.type==="click"){var di=false;if(dh&&dj==="middle"){di=true}if(dl&&!di){cF(dl)}}else{if(dk.type==="mousedown"){if(dj==="middle"&&dl){aR=dj; +bB=dl}else{aR=bB=null}}else{if(dk.type==="mouseup"){if(dj===aR&&dl===bB){cF(dl)}aR=bB=null}else{if(dk.type==="contextmenu"){cF(dl)}}}}}}function aq(dj,di){var dh=typeof di;if(dh==="undefined"){di=true}an(dj,"click",aC(di),false);if(di){an(dj,"mouseup",aC(di),false);an(dj,"mousedown",aC(di),false);an(dj,"contextmenu",aC(di),false)}}function bE(dj,dl){ap=true;var dk,di=a0(bA,"ignore"),dm=G.links,dh=null,dn=null;if(dm){for(dk=0;dk<dm.length;dk++){dh=dm[dk];if(!di.test(dh.className)){dn=typeof dh.matomoTrackers;if("undefined"===dn){dh.matomoTrackers=[]}if(-1===M(dh.matomoTrackers,dl)){dh.matomoTrackers.push(dl);aq(dh,dj)}}}}}function aS(di,dl,dm){if(ce){return true}ce=true;var dn=false;var dk,dj;function dh(){dn=true}m(function(){function dp(dr){setTimeout(function(){if(!ce){return}dn=false;dm.trackVisibleContentImpressions();dp(dr)},dr)}function dq(dr){setTimeout(function(){if(!ce){return}if(dn){dn=false;dm.trackVisibleContentImpressions()}dq(dr)},dr)}if(di){dk=["scroll","resize"];for(dj=0; +dj<dk.length;dj++){if(G.addEventListener){G.addEventListener(dk[dj],dh,false)}else{S.attachEvent("on"+dk[dj],dh)}}dq(100)}if(dl&&dl>0){dl=parseInt(dl,10);dp(dl)}})}var bD={enabled:true,requests:[],timeout:null,interval:2500,sendRequests:function(){var dh=this.requests;this.requests=[];if(dh.length===1){bG(dh[0],bK)}else{dd(dh,bK)}},canQueue:function(){return !l&&this.enabled},pushMultiple:function(di){if(!this.canQueue()){dd(di,bK);return}var dh;for(dh=0;dh<di.length;dh++){this.push(di[dh])}},push:function(dh){if(!dh){return}if(!this.canQueue()){bG(dh,bK);return}bD.requests.push(dh);if(this.timeout){clearTimeout(this.timeout);this.timeout=null}this.timeout=setTimeout(function(){bD.timeout=null;bD.sendRequests()},bD.interval);var di="RequestQueue"+ax;if(!Object.prototype.hasOwnProperty.call(b,di)){b[di]={unload:function(){if(bD.timeout){clearTimeout(bD.timeout)}bD.sendRequests()}}}}};bi();aM();this.hasConsent=function(){return bC};this.getVisitorId=function(){return aY().uuid};this.getVisitorInfo=function(){return cN() +};this.getAttributionInfo=function(){return bM()};this.getAttributionCampaignName=function(){return bM()[0]};this.getAttributionCampaignKeyword=function(){return bM()[1]};this.getAttributionReferrerTimestamp=function(){return bM()[2]};this.getAttributionReferrerUrl=function(){return bM()[3]};this.setTrackerUrl=function(dh){aE=dh};this.getTrackerUrl=function(){return aE};this.getMatomoUrl=function(){return W(this.getTrackerUrl(),bI)};this.getPiwikUrl=function(){return this.getMatomoUrl()};this.addTracker=function(dj,di){if(!J(dj)||null===dj){dj=this.getTrackerUrl()}var dh=new P(dj,di);I.push(dh);t.trigger("TrackerAdded",[this]);return dh};this.getSiteId=function(){return b6};this.setSiteId=function(dh){b3(dh)};this.resetUserId=function(){bz=""};this.setUserId=function(dh){if(Y(dh)){bz=dh}};this.setVisitorId=function(di){var dh=/[0-9A-Fa-f]{16}/g;if(w(di)&&dh.test(di)){bO=di}else{ak("Invalid visitorId set"+di)}};this.getUserId=function(){return bz};this.setCustomData=function(dh,di){if(V(dh)){ao=dh +}else{if(!ao){ao={}}ao[dh]=di}};this.getCustomData=function(){return ao};this.setCustomRequestProcessing=function(dh){cb=dh};this.appendToTrackingUrl=function(dh){cY=dh};this.getRequest=function(dh){return cq(dh)};this.addPlugin=function(dh,di){b[dh]=di};this.setCustomDimension=function(dh,di){dh=parseInt(dh,10);if(dh>0){if(!J(di)){di=""}if(!w(di)){di=String(di)}bn[dh]=di}};this.getCustomDimension=function(dh){dh=parseInt(dh,10);if(dh>0&&Object.prototype.hasOwnProperty.call(bn,dh)){return bn[dh]}};this.deleteCustomDimension=function(dh){dh=parseInt(dh,10);if(dh>0){delete bn[dh]}};this.setCustomVariable=function(di,dh,dl,dj){var dk;if(!J(dj)){dj="visit"}if(!J(dh)){return}if(!J(dl)){dl=""}if(di>0){dh=!w(dh)?String(dh):dh;dl=!w(dl)?String(dl):dl;dk=[dh.slice(0,bu),dl.slice(0,bu)];if(dj==="visit"||dj===2){cE();aQ[di]=dk}else{if(dj==="page"||dj===3){bW[di]=dk}else{if(dj==="event"){cl[di]=dk}}}}};this.getCustomVariable=function(di,dj){var dh;if(!J(dj)){dj="visit"}if(dj==="page"||dj===3){dh=bW[di] +}else{if(dj==="event"){dh=cl[di]}else{if(dj==="visit"||dj===2){cE();dh=aQ[di]}}}if(!J(dh)||(dh&&dh[0]==="")){return false}return dh};this.deleteCustomVariable=function(dh,di){if(this.getCustomVariable(dh,di)){this.setCustomVariable(dh,"","",di)}};this.deleteCustomVariables=function(dh){if(dh==="page"||dh===3){bW={}}else{if(dh==="event"){cl={}}else{if(dh==="visit"||dh===2){aQ={}}}}};this.storeCustomVariablesInCookie=function(){bQ=true};this.setLinkTrackingTimer=function(dh){bK=dh};this.getLinkTrackingTimer=function(){return bK};this.setDownloadExtensions=function(dh){if(w(dh)){dh=dh.split("|")}c5=dh};this.addDownloadExtensions=function(di){var dh;if(w(di)){di=di.split("|")}for(dh=0;dh<di.length;dh++){c5.push(di[dh])}};this.removeDownloadExtensions=function(dj){var di,dh=[];if(w(dj)){dj=dj.split("|")}for(di=0;di<c5.length;di++){if(M(dj,c5[di])===-1){dh.push(c5[di])}}c5=dh};this.setDomains=function(dh){ay=w(dh)?[dh]:dh;var dl=false,dj=0,di;for(dj;dj<ay.length;dj++){di=String(ay[dj]);if(cG(cT,L(di))){dl=true; +break}var dk=ck(di);if(dk&&dk!=="/"&&dk!=="/*"){dl=true;break}}if(!dl){ay.push(cT)}};this.enableCrossDomainLinking=function(){cM=true};this.disableCrossDomainLinking=function(){cM=false};this.isCrossDomainLinkingEnabled=function(){return cM};this.setCrossDomainLinkingTimeout=function(dh){aZ=dh};this.getCrossDomainLinkingUrlParameter=function(){return s(av)+"="+s(bs())};this.setIgnoreClasses=function(dh){bA=w(dh)?[dh]:dh};this.setRequestMethod=function(dh){c8=dh||ch};this.setRequestContentType=function(dh){cv=dh||aI};this.setReferrerUrl=function(dh){bo=dh};this.setCustomUrl=function(dh){a4=bV(bN,dh)};this.getCurrentUrl=function(){return a4||bN};this.setDocumentTitle=function(dh){bj=dh};this.setAPIUrl=function(dh){bI=dh};this.setDownloadClasses=function(dh){bL=w(dh)?[dh]:dh};this.setLinkClasses=function(dh){a8=w(dh)?[dh]:dh};this.setCampaignNameKey=function(dh){co=w(dh)?[dh]:dh};this.setCampaignKeywordKey=function(dh){bH=w(dh)?[dh]:dh};this.discardHashTag=function(dh){bP=dh};this.setCookieNamePrefix=function(dh){bk=dh; +if(aQ){aQ=bX()}};this.setCookieDomain=function(dh){var di=L(dh);if(bx(di)){cW=di;bi()}};this.getCookieDomain=function(){return cW};this.hasCookies=function(){return"1"===b5()};this.setSessionCookie=function(dj,di,dh){if(!dj){throw new Error("Missing cookie name")}if(!J(dh)){dh=cm}bv.push(dj);dc(aT(dj),di,dh,bq,cW)};this.getCookie=function(di){var dh=aD(aT(di));if(dh===0){return null}return dh};this.setCookiePath=function(dh){bq=dh;bi()};this.getCookiePath=function(dh){return bq};this.setVisitorCookieTimeout=function(dh){cJ=dh*1000};this.setSessionCookieTimeout=function(dh){cm=dh*1000};this.getSessionCookieTimeout=function(){return cm};this.setReferralCookieTimeout=function(dh){c4=dh*1000};this.setConversionAttributionFirstReferrer=function(dh){bw=dh};this.setSecureCookie=function(dh){bS=dh};this.disableCookies=function(){bm=true;if(b6){aF()}};this.areCookiesEnabled=function(){return !bm};this.setCookieConsentGiven=function(){if(bm&&!cP){bm=false;if(b6&&aw){aM();var dh=cq("ping=1",null,"ping"); +bG(dh,bK)}}};this.requireCookieConsent=function(){if(this.getRememberedCookieConsent()){return false}this.disableCookies();return true};this.getRememberedCookieConsent=function(){return aD(cC)};this.forgetCookieConsentGiven=function(){bY(cC,bq,cW);this.disableCookies()};this.rememberCookieConsentGiven=function(di){if(di){di=di*60*60*1000}else{di=30*365*24*60*60*1000}this.setCookieConsentGiven();var dh=new Date().getTime();dc(cC,dh,di,bq,cW,bS)};this.deleteCookies=function(){aF()};this.setDoNotTrack=function(di){var dh=g.doNotTrack||g.msDoNotTrack;cP=di&&(dh==="yes"||dh==="1");if(cP){this.disableCookies()}};this.alwaysUseSendBeacon=function(){cV=true};this.disableAlwaysUseSendBeacon=function(){cV=false};this.addListener=function(di,dh){aq(di,dh)};this.enableLinkTracking=function(di){c7=true;var dh=this;cg(function(){p(function(){bE(di,dh)});m(function(){bE(di,dh)})})};this.enableJSErrorTracking=function(){if(cR){return}cR=true;var dh=S.onerror;S.onerror=function(dm,dk,dj,dl,di){cg(function(){var dn="JavaScript Errors"; +var dp=dk+":"+dj;if(dl){dp+=":"+dl}at(dn,dp,dm)});if(dh){return dh(dm,dk,dj,dl,di)}return false}};this.disablePerformanceTracking=function(){a2=false};this.enableHeartBeatTimer=function(dh){dh=Math.max(dh||15,5);a5=dh*1000;if(cX!==null){de()}};this.disableHeartBeatTimer=function(){if(a5||aN){if(S.removeEventListener){S.removeEventListener("focus",ba);S.removeEventListener("blur",az)}else{if(S.detachEvent){S.detachEvent("onfocus",ba);S.detachEvent("onblur",az)}}}a5=null;aN=false};this.killFrame=function(){if(S.location!==S.top.location){S.top.location=S.location}};this.redirectFile=function(dh){if(S.location.protocol==="file:"){S.location=dh}};this.setCountPreRendered=function(dh){be=dh};this.trackGoal=function(dh,dk,dj,di){cg(function(){cS(dh,dk,dj,di)})};this.trackLink=function(di,dh,dk,dj){cg(function(){c0(di,dh,dk,dj)})};this.getNumTrackedPageViews=function(){return cp};this.trackPageView=function(dh,dj,di){ca=[];cK=[];if(N(b6)){cg(function(){Z(aE,bI,b6)})}else{cg(function(){cp++;b0(dh,dj,di) +})}};this.trackAllContentImpressions=function(){if(N(b6)){return}cg(function(){p(function(){var dh=v.findContentNodes();var di=cy(dh);bD.pushMultiple(di)})})};this.trackVisibleContentImpressions=function(dh,di){if(N(b6)){return}if(!J(dh)){dh=true}if(!J(di)){di=750}aS(dh,di,this);cg(function(){m(function(){var dj=v.findContentNodes();var dk=a9(dj);bD.pushMultiple(dk)})})};this.trackContentImpression=function(dj,dh,di){if(N(b6)){return}dj=a(dj);dh=a(dh);di=a(di);if(!dj){return}dh=dh||"Unknown";cg(function(){var dk=aG(dj,dh,di);bD.push(dk)})};this.trackContentImpressionsWithinNode=function(dh){if(N(b6)||!dh){return}cg(function(){if(ce){m(function(){var di=v.findContentNodesWithinNode(dh);var dj=a9(di);bD.pushMultiple(dj)})}else{p(function(){var di=v.findContentNodesWithinNode(dh);var dj=cy(di);bD.pushMultiple(dj)})}})};this.trackContentInteraction=function(dj,dk,dh,di){if(N(b6)){return}dj=a(dj);dk=a(dk);dh=a(dh);di=a(di);if(!dj||!dk){return}dh=dh||"Unknown";cg(function(){var dl=aP(dj,dk,dh,di); +if(dl){bD.push(dl)}})};this.trackContentInteractionNode=function(dj,di){if(N(b6)||!dj){return}var dh=null;cg(function(){dh=c9(dj,di);if(dh){bD.push(dh)}});return dh};this.logAllContentBlocksOnPage=function(){var dj=v.findContentNodes();var dh=v.collectContent(dj);var di=typeof console;if(di!=="undefined"&&console&&console.log){console.log(dh)}};this.trackEvent=function(di,dk,dh,dj,dm,dl){cg(function(){at(di,dk,dh,dj,dm,dl)})};this.trackSiteSearch=function(dh,dj,di,dk){ca=[];cg(function(){b8(dh,dj,di,dk)})};this.setEcommerceView=function(dl,dh,dj,di){cr={};if(Y(dj)){dj=String(dj)}if(!J(dj)||dj===null||dj===false||!dj.length){dj=""}else{if(dj instanceof Array){dj=S.JSON.stringify(dj)}}var dk="_pkc";cr[dk]=dj;if(J(di)&&di!==null&&di!==false&&String(di).length){dk="_pkp";cr[dk]=di}if(!Y(dl)&&!Y(dh)){return}if(Y(dl)){dk="_pks";cr[dk]=dl}if(!Y(dh)){dh=""}dk="_pkn";cr[dk]=dh};this.getEcommerceItems=function(){return JSON.parse(JSON.stringify(cZ))};this.addEcommerceItem=function(dl,dh,dj,di,dk){if(Y(dl)){cZ[dl]=[String(dl),dh,dj,di,dk] +}};this.removeEcommerceItem=function(dh){if(Y(dh)){dh=String(dh);delete cZ[dh]}};this.clearEcommerceCart=function(){cZ={}};this.trackEcommerceOrder=function(dh,dl,dk,dj,di,dm){bZ(dh,dl,dk,dj,di,dm)};this.trackEcommerceCartUpdate=function(dh){bt(dh)};this.trackRequest=function(di,dk,dj,dh){cg(function(){var dl=cq(di,dk,dh);bG(dl,bK,dj)})};this.ping=function(){this.trackRequest("ping=1",null,null,"ping")};this.disableQueueRequest=function(){bD.enabled=false};this.setRequestQueueInterval=function(dh){if(dh<1000){throw new Error("Request queue interval needs to be at least 1000ms")}bD.interval=dh};this.queueRequest=function(dh){cg(function(){var di=cq(dh);bD.push(di)})};this.isConsentRequired=function(){return cz};this.getRememberedConsent=function(){var dh=aD(bd);if(aD(cL)){if(dh){bY(bd,bq,cW)}return null}if(!dh||dh===0){return null}return dh};this.hasRememberedConsent=function(){return !!this.getRememberedConsent()};this.requireConsent=function(){cz=true;bC=this.hasRememberedConsent();if(!bC){bm=true +}x++;b["CoreConsent"+x]={unload:function(){if(!bC){aF()}}}};this.setConsentGiven=function(di){bC=true;bY(cL,bq,cW);var dj,dh;for(dj=0;dj<cK.length;dj++){dh=typeof cK[dj];if(dh==="string"){bG(cK[dj],bK)}else{if(dh==="object"){dd(cK[dj],bK)}}}cK=[];if(!J(di)||di){this.setCookieConsentGiven()}};this.rememberConsentGiven=function(dj){if(dj){dj=dj*60*60*1000}else{dj=30*365*24*60*60*1000}var dh=true;this.setConsentGiven(dh);var di=new Date().getTime();dc(bd,di,dj,bq,cW,bS)};this.forgetConsentGiven=function(){var dh=30*365*24*60*60*1000;bY(bd,bq,cW);dc(cL,new Date().getTime(),dh,bq,cW,bS);this.forgetCookieConsentGiven();this.requireConsent()};this.isUserOptedOut=function(){return !bC};this.optUserOut=this.forgetConsentGiven;this.forgetUserOptOut=function(){this.setConsentGiven(false)};m(function(){setTimeout(function(){bF=true},0)});t.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 Matomo trackers documentation: https://developer.matomo.org/guides/tracking-javascript-guide#multiple-piwik-trackers')}av[ap]++}}}}return au}var C=["addTracker","forgetCookieConsentGiven","requireCookieConsent","disableCookies","setTrackerUrl","setAPIUrl","enableCrossDomainLinking","setCrossDomainLinkingTimeout","setSessionCookieTimeout","setVisitorCookieTimeout","setCookieNamePrefix","setSecureCookie","setCookiePath","setCookieDomain","setDomains","setUserId","setVisitorId","setSiteId","alwaysUseSendBeacon","enableLinkTracking","setCookieConsentGiven","requireConsent","setConsentGiven"];function ad(aq,ap){var ao=new P(aq,ap);I.push(ao);_paq=c(_paq,C);for(E=0;E<_paq.length;E++){if(_paq[E]){af(_paq[E])}}_paq=new H();t.trigger("TrackerAdded",[ao]); +return ao}an(S,"beforeunload",ai,false);an(S,"message",function(au){if(!au||!au.origin){return}var aw,ar,ap;var ax=d(au.origin);var at=t.getAsyncTrackers();for(ar=0;ar<at.length;ar++){ap=d(at[ar].getMatomoUrl());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.getMatomoUrl(),maq_optout_by_default:aw.isConsentRequired()})}else{if(J(aq.maq_opted_in)){at=t.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.getMatomoUrl(),maq_optout_by_default:aw.isConsentRequired()}) }}},false);Date.prototype.getTimeAlias=Date.prototype.getTime;t={initialized:false,JSON:S.JSON,DOM:{addEventListener:function(ar,aq,ap,ao){var at=typeof ao;if(at==="undefined"){ao=false}an(ar,aq,ap,ao)},onLoad:m,onReady:p,isNodeVisible:i,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||S,ar)}},addPlugin:function(ao,ap){b[ao]=ap},getTracker:function(ap,ao){if(!J(ao)){ao=this.getAsyncTracker().getSiteId()}if(!J(ap)){ap=this.getAsyncTracker().getTrackerUrl()}return new P(ap,ao)},getAsyncTrackers:function(){return I},addTracker:function(aq,ap){var ao;if(!I.length){ao=ad(aq,ap)}else{ao=I[0].addTracker(aq,ap)}return ao},getAsyncTracker:function(at,ar){var aq;if(I&&I.length&&I[0]){aq=I[0]}else{return ad(at,ar)}if(!ar&&!at){return aq}if((!J(ar)||null===ar)&&aq){ar=aq.getSiteId() }if((!J(at)||null===at)&&aq){at=aq.getTrackerUrl()}var ap,ao=0;for(ao;ao<I.length;ao++){ap=I[ao];if(ap&&String(ap.getSiteId())===String(ar)&&ap.getTrackerUrl()===at){return ap}}},retryMissedPluginCalls:function(){var ap=ah;ah=[];var ao=0;for(ao;ao<ap.length;ao++){af(ap[ao])}}};if(typeof define==="function"&&define.amd){define("piwik",[],function(){return t});define("matomo",[],function(){return t})}return t}())} /*!!! pluginTrackerHook */ @@ -29,40 +29,40 @@ ao=ae.findFirstNodeHavingAttribute(ap,this.CONTENT_PIECE_ATTR);if(!ao){ao=ae.fin },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||S.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(ao){if(ae.hasNodeAttribute(ao,this.CONTENT_IGNOREINTERACTION_ATTR)){return true}if(ae.hasNodeCssClass(ao,this.CONTENT_IGNOREINTERACTION_CLASS)){return true}if(ae.hasNodeCssClass(ao,this.LEGACY_CONTENT_IGNOREINTERACTION_CLASS)){return true}return false}};function W(ap,at){if(at){return at}ap=v.toAbsoluteUrl(ap);if(z(ap,"?")){var ar=ap.indexOf("?");ap=ap.slice(0,ar)}if(Q(ap,"matomo.php")){ap=f(ap,"matomo.php".length) }else{if(Q(ap,"piwik.php")){ap=f(ap,"piwik.php".length)}else{if(Q(ap,".php")){var ao=ap.lastIndexOf("/");var aq=1;ap=ap.slice(0,ao+aq)}}}if(Q(ap,"/js/")){ap=f(ap,"js/".length)}return ap}function N(av){var ax="Matomo_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)}}S.name=ax+"###"+au+"###"+ao+"###"+ar}var aw=S.name.split("###");return aw.length===4&&aw[0]===ax}function Z(ap,av,aq){var au=S.name.split("###"),at=au[1],ao=au[2],ar=au[3],aw=W(ap,av);n(aw+"plugins/Overlay/client/client.js?v=1",function(){Matomo_Overlay_Client.initialize(aw,aq,at,ao,ar)})}function u(){var aq;try{aq=S.frameElement}catch(ap){return true}if(J(aq)){return(aq&&String(aq.nodeName).toLowerCase()==="iframe")?true:false}try{return S.self!==S.top -}catch(ao){return true}}function P(cd,b9){var bJ=this,bd="mtm_consent",cC="mtm_cookie_consent",cL="mtm_consent_removed",b4=aa(G.domain,S.location.href,K()),cT=L(b4[0]),bN=o(b4[1]),bo=o(b4[2]),cR=false,ch="GET",c9=ch,aI="application/x-www-form-urlencoded; charset=UTF-8",cv=aI,aE=cd||"",bI="",cY="",b6=b9||"",bz="",bO="",a4,bj="",c5=["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"],ay=[cT],bA=[],bL=[],a8=[],bK=500,cV=true,cI,a5,bR,c6=1800,bP,ao,co=["pk_campaign","mtm_campaign","piwik_campaign","matomo_campaign","utm_campaign","utm_source","utm_medium"],bH=["pk_kwd","mtm_kwd","piwik_kwd","matomo_kwd","utm_term"],bk="_pk_",av="pk_vid",aZ=180,cW,bq,bS=false,bm=false,cP,be,bw,cJ=33955200000,cm=1800000,c4=15768000000,a2=true,bF=false,bh=false,bQ=false,aQ=false,cb,bW={},cl={},bn={},bu=200,cr={},cZ={},c7={},ca=[],ce=false,cA=false,ap=false,c8=false,cM=false,aN=false,bc=u(),cw=null,cX=null,aR,bB,b7=am,bp,aL,cp=0,bv=["id","ses","cvar","ref"],cz=false,bC=null,cK=[],ax=T++,aw=false; -try{bj=G.title}catch(cx){bj=""}function dd(dp,dm,dl,dn,dk,dj){if(bm){return}var di;if(dl){di=new Date();di.setTime(di.getTime()+dl)}G.cookie=dp+"="+s(dm)+(dl?";expires="+di.toGMTString():"")+";path="+(dn||"/")+(dk?";domain="+dk:"")+(dj?";secure":"")+";SameSite=Lax"}function aD(dk){if(bm){return 0}var di=new RegExp("(^|;)[ ]*"+dk+"=([^;]*)"),dj=di.exec(G.cookie);return dj?R(dj[2]):0}bC=!aD(cL);function b2(di){var dj;di=j(di,av);if(bP){dj=new RegExp("#.*");return di.replace(dj,"")}return di}function bV(dk,di){var dl=r(di),dj;if(dl){return di}if(di.slice(0,1)==="/"){return r(dk)+"://"+d(dk)+di}dk=b2(dk);dj=dk.indexOf("?");if(dj>=0){dk=dk.slice(0,dj)}dj=dk.lastIndexOf("/");if(dj!==dk.length-1){dk=dk.slice(0,dj+1)}return dk+di}function cG(dk,di){var dj;dk=String(dk).toLowerCase();di=String(di).toLowerCase();if(dk===di){return true}if(di.slice(0,1)==="."){if(dk===di.slice(1)){return true}dj=dk.length-di.length;if((dj>0)&&(dk.slice(dj)===di)){return true}}return false}function ck(di){var dj=document.createElement("a"); -if(di.indexOf("//")!==0&&di.indexOf("http")!==0){if(di.indexOf("*")===0){di=di.substr(1)}if(di.indexOf(".")===0){di=di.substr(1)}di="http://"+di}dj.href=v.toAbsoluteUrl(di);if(dj.pathname){return dj.pathname}return""}function a3(dj,di){if(!aj(di,"/")){di="/"+di}if(!aj(dj,"/")){dj="/"+dj}var dk=(di==="/"||di==="/*");if(dk){return true}if(dj===di){return true}di=String(di).toLowerCase();dj=String(dj).toLowerCase();if(Q(di,"*")){di=di.slice(0,-1);dk=(!di||di==="/");if(dk){return true}if(dj===di){return true}return dj.indexOf(di)===0}if(!Q(dj,"/")){dj+="/"}if(!Q(di,"/")){di+="/"}return dj.indexOf(di)===0}function ar(dm,dp){var dj,di,dk,dl,dn;for(dj=0;dj<ay.length;dj++){dl=L(ay[dj]);dn=ck(ay[dj]);if(cG(dm,dl)&&a3(dp,dn)){return true}}return false}function aV(dl){var dj,di,dk;for(dj=0;dj<ay.length;dj++){di=L(ay[dj].toLowerCase());if(dl===di){return true}if(di.slice(0,1)==="."){if(dl===di.slice(1)){return true}dk=dl.length-di.length;if((dk>0)&&(dl.slice(dk)===di)){return true}}}return false}function cn(di,dk){di=di.replace("send_image=0","send_image=1"); -var dj=new Image(1,1);dj.onload=function(){E=0;if(typeof dk==="function"){dk({request:di,trackerUrl:aE,success:true})}};dj.onerror=function(){if(typeof dk==="function"){dk({request:di,trackerUrl:aE,success:false})}};dj.src=aE+(aE.indexOf("?")<0?"?":"&")+di}function cD(di){if(c9==="POST"){return true}return di&&(di.length>2000||di.indexOf('{"requests"')===0)}function aK(){return"object"===typeof g&&"function"===typeof g.sendBeacon&&"function"===typeof Blob}function a6(dm,dq,dp){var dk=aK();if(!dk){return false}var dl={type:"application/x-www-form-urlencoded; charset=UTF-8"};var dr=false;var dj=aE;try{var di=new Blob([dm],dl);if(dp&&!cD(dm)){di=new Blob([],dl);dj=dj+(dj.indexOf("?")<0?"?":"&")+dm}dr=g.sendBeacon(dj,di)}catch(dn){return false}if(dr&&typeof dq==="function"){dq({request:dm,trackerUrl:aE,success:true,isSendBeacon:true})}return dr}function c3(dj,dk,di){if(!J(di)||null===di){di=true}if(l&&a6(dj,dk,di)){return}setTimeout(function(){if(l&&a6(dj,dk,di)){return}var dn;try{var dm=S.XMLHttpRequest?new S.XMLHttpRequest():S.ActiveXObject?new ActiveXObject("Microsoft.XMLHTTP"):null; -dm.open("POST",aE,true);dm.onreadystatechange=function(){if(this.readyState===4&&!(this.status>=200&&this.status<300)){var dp=l&&a6(dj,dk,di);if(!dp&&di){cn(dj,dk)}else{if(typeof dk==="function"){dk({request:dj,trackerUrl:aE,success:false,xhr:this})}}}else{if(this.readyState===4&&(typeof dk==="function")){dk({request:dj,trackerUrl:aE,success:true,xhr:this})}}};dm.setRequestHeader("Content-Type",cv);dm.withCredentials=true;dm.send(dj)}catch(dl){dn=l&&a6(dj,dk,di);if(!dn&&di){cn(dj,dk)}else{if(typeof dk==="function"){dk({request:dj,trackerUrl:aE,success:false})}}}},50)}function cf(dj){var di=new Date();var dk=di.getTime()+dj;if(!q||dk>q){q=dk}}function ba(){bc=true;cw=new Date().getTime()}function dc(){var di=new Date().getTime();return !cw||(di-cw)>a5}function az(){if(dc()){bR()}}function df(){if(aN||!a5){return}aN=true;an(S,"focus",ba);an(S,"blur",az);ab++;t.addPlugin("HeartBeat"+ab,{unload:function(){if(aN&&dc()){bR()}}})}function cB(dm){var dj=new Date();var di=dj.getTime();cX=di;if(cA&&di<cA){var dk=cA-di; -setTimeout(dm,dk);cf(dk+50);cA+=50;return}if(cA===false){var dl=800;cA=di+dl}dm()}function aO(){if(aD(cL)){bC=false}else{if(aD(bd)){bC=true}}}function bG(dj,di,dk){aO();if(!bC){cK.push(dj);return}aw=true;if(!cP&&dj){if(cz&&bC){dj+="&consent=1"}cB(function(){if(cV&&a6(dj,dk,true)){cf(100);return}if(cD(dj)){c3(dj,dk)}else{cn(dj,dk)}cf(di)})}if(!aN){df()}}function cj(di){if(cP){return false}return(di&&di.length)}function c2(di,dm){if(!dm||dm>=di.length){return[di]}var dj=0;var dk=di.length;var dl=[];for(dj;dj<dk;dj+=dm){dl.push(di.slice(dj,dj+dm))}return dl}function de(dj,di){if(!cj(dj)){return}if(!bC){cK.push(dj);return}aw=true;cB(function(){var dm=c2(dj,50);var dk=0,dl;for(dk;dk<dm.length;dk++){dl='{"requests":["?'+dm[dk].join('","?')+'"]}';if(cV&&a6(dl,null,false)){cf(100)}else{c3(dl,null,false)}}cf(di)})}function aT(di){return bk+di+"."+b6+"."+bp}function bY(dk,dj,di){dd(dk,"",-86400,dj,di)}function b5(){if(bm){return"0"}if(!J(S.showModalDialog)&&J(g.cookieEnabled)){return g.cookieEnabled?"1":"0" -}var di=bk+"testcookie";dd(di,"1",undefined,bq,cW,bS);var dj=aD(di)==="1"?"1":"0";bY(di);return dj}function bi(){bp=b7((cW||cT)+(bq||"/")).slice(0,4)}function cH(){if(J(c7.res)){return c7}var dj,dl,dm={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(dj in dm){if(Object.prototype.hasOwnProperty.call(dm,dj)){dl=g.mimeTypes[dm[dj]];c7[dj]=(dl&&dl.enabledPlugin)?"1":"0"}}}if(!((new RegExp("Edge[ /](\\d+[\\.\\d]+)")).test(g.userAgent))&&typeof navigator.javaEnabled!=="unknown"&&J(g.javaEnabled)&&g.javaEnabled()){c7.java="1"}if(!J(S.showModalDialog)&&J(g.cookieEnabled)){c7.cookie=g.cookieEnabled?"1":"0"}else{c7.cookie=b5()}}var dk=parseInt(X.width,10);var di=parseInt(X.height,10);c7.res=parseInt(dk,10)+"x"+parseInt(di,10);return c7}function bX(){var dj=aT("cvar"),di=aD(dj); -if(di&&di.length){di=S.JSON.parse(di);if(V(di)){return di}}return{}}function cE(){if(aQ===false){aQ=bX()}}function cQ(){var di=cH();return b7((g.userAgent||"")+(g.platform||"")+S.JSON.stringify(di)+(new Date()).getTime()+Math.random()).slice(0,16)}function aB(){var di=cH();return b7((g.userAgent||"")+(g.platform||"")+S.JSON.stringify(di)).slice(0,6)}function bf(){return Math.floor((new Date()).getTime()/1000)}function aJ(){var dj=bf();var dk=aB();var di=String(dj)+dk;return di}function c1(dk){dk=String(dk);var dn=aB();var dl=dn.length;var dm=dk.substr(-1*dl,dl);var dj=parseInt(dk.substr(0,dk.length-dl),10);if(dj&&dm&&dm===dn){var di=bf();if(aZ<=0){return true}if(di>=dj&&di<=(dj+aZ)){return true}}return false}function dg(di){if(!cM){return""}var dm=e(di,av);if(!dm){return""}dm=String(dm);var dk=new RegExp("^[a-zA-Z0-9]+$");if(dm.length===32&&dk.test(dm)){var dj=dm.substr(16,32);if(c1(dj)){var dl=dm.substr(0,16);return dl}}return""}function cN(){if(!bO){bO=dg(bN)}var dk=new Date(),di=Math.round(dk.getTime()/1000),dj=aT("id"),dn=aD(dj),dm,dl; -if(dn){dm=dn.split(".");dm.unshift("0");if(bO.length){dm[1]=bO}return dm}if(bO.length){dl=bO}else{if("0"===b5()){dl=""}else{dl=cQ()}}dm=["1",dl,di];return dm}function aY(){var dl=cN(),dj=dl[0],dk=dl[1],di=dl[2];return{newVisitor:dj,uuid:dk,createTs:di}}function aH(){var dl=new Date(),dj=dl.getTime(),dm=aY().createTs;var di=parseInt(dm,10);var dk=(di*1000)+cJ-dj;return dk}function aM(di){if(!b6){return}var dk=new Date(),dj=Math.round(dk.getTime()/1000);if(!J(di)){di=aY()}var dl=di.uuid+"."+di.createTs+".";dd(aT("id"),dl,aH(),bq,cW,bS)}function bM(){var di=aD(aT("ref"));if(di.length){try{di=S.JSON.parse(di);if(V(di)){return di}}catch(dj){}}return["","",0,""]}function bx(dj){var di="testvalue";dd("test",di,10000,null,dj);if(aD("test")===di){bY("test",null,dj);return true}return false}function aF(){var dj=bm;bm=false;var di,dk;for(di=0;di<bv.length;di++){dk=aT(bv[di]);if(dk!==cL&&dk!==bd&&0!==aD(dk)){bY(dk,bq,cW)}}bm=dj}function b3(di){b6=di}function dh(dm){if(!dm||!V(dm)){return}var dl=[]; -var dk;for(dk in dm){if(Object.prototype.hasOwnProperty.call(dm,dk)){dl.push(dk)}}var dn={};dl.sort();var di=dl.length;var dj;for(dj=0;dj<di;dj++){dn[dl[dj]]=dm[dl[dj]]}return dn}function cc(){dd(aT("ses"),"1",cm,bq,cW,bS)}function bg(){var dl="";var dj="abcdefghijklmnopqrstuvwxyz0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ";var dk=dj.length;var di;for(di=0;di<6;di++){dl+=dj.charAt(Math.floor(Math.random()*dk))}return dl}function aA(di){if(h&&h.timing&&h&&h.timing.connectEnd&&h.timing.fetchStart){di+="&pf_net="+(h.timing.connectEnd-h.timing.fetchStart)}if(h&&h.timing&&h&&h.timing.responseStart&&h.timing.requestStart){di+="&pf_srv="+(h.timing.responseStart-h.timing.requestStart)}if(h&&h.timing&&h&&h.timing.responseStart&&h.timing.responseEnd){di+="&pf_tfr="+(h.timing.responseEnd-h.timing.responseStart)}if(h&&h.timing&&h&&h.timing.domInteractive&&h.timing.domLoading){di+="&pf_dm1="+(h.timing.domInteractive-h.timing.domLoading)}if(h&&h.timing&&h&&h.timing.domComplete&&h.timing.domInteractive){di+="&pf_dm2="+(h.timing.domComplete-h.timing.domInteractive) -}if(h&&h.timing&&h&&h.timing.loadEventEnd&&h.timing.loadEventStart){di+="&pf_onl="+(h.timing.loadEventEnd-h.timing.loadEventStart)}return di}function cq(dk,dF,dG){var dE,dj=new Date(),ds=Math.round(dj.getTime()/1000),dp,dC,dl=1024,dL,dt,dB=aQ,dm=aT("ses"),dz=aT("ref"),dw=aT("cvar"),dx=aD(dm),dD=bM(),dH=a4||bN,dq,di;if(bm){aF()}if(cP){return""}var dy=aY();var dv=G.characterSet||G.charset;if(!dv||dv.toLowerCase()==="utf-8"){dv=null}dq=dD[0];di=dD[1];dp=dD[2];dC=dD[3];if(!dx){if(!bw||!dq.length){for(dE in co){if(Object.prototype.hasOwnProperty.call(co,dE)){dq=e(dH,co[dE]);if(dq.length){break}}}for(dE in bH){if(Object.prototype.hasOwnProperty.call(bH,dE)){di=e(dH,bH[dE]);if(di.length){break}}}}dL=d(bo);dt=dC.length?d(dC):"";if(dL.length&&!aV(dL)&&(!bw||!dt.length||aV(dt))){dC=bo}if(dC.length||dq.length){dp=ds;dD=[dq,di,dp,b2(dC.slice(0,dl))];dd(dz,S.JSON.stringify(dD),c4,bq,cW,bS)}}dk+="&idsite="+b6+"&rec=1&r="+String(Math.random()).slice(2,8)+"&h="+dj.getHours()+"&m="+dj.getMinutes()+"&s="+dj.getSeconds()+"&url="+s(b2(dH))+(bo.length?"&urlref="+s(b2(bo)):"")+((bz&&bz.length)?"&uid="+s(bz):"")+"&_id="+dy.uuid+"&_idn="+dy.newVisitor+(dq.length?"&_rcn="+s(dq):"")+(di.length?"&_rck="+s(di):"")+"&_refts="+dp+(String(dC).length?"&_ref="+s(b2(dC.slice(0,dl))):"")+(dv?"&cs="+s(dv):"")+"&send_image=0"; -var dK=cH();for(dE in dK){if(Object.prototype.hasOwnProperty.call(dK,dE)){dk+="&"+dE+"="+dK[dE]}}var dJ=[];if(dF){for(dE in dF){if(Object.prototype.hasOwnProperty.call(dF,dE)&&/^dimension\d+$/.test(dE)){var dn=dE.replace("dimension","");dJ.push(parseInt(dn,10));dJ.push(String(dn));dk+="&"+dE+"="+s(dF[dE]);delete dF[dE]}}}if(dF&&B(dF)){dF=null}for(dE in cr){if(Object.prototype.hasOwnProperty.call(cr,dE)){dk+="&"+dE+"="+s(cr[dE])}}for(dE in bn){if(Object.prototype.hasOwnProperty.call(bn,dE)){var du=(-1===M(dJ,dE));if(du){dk+="&dimension"+dE+"="+s(bn[dE])}}}if(dF){dk+="&data="+s(S.JSON.stringify(dF))}else{if(ao){dk+="&data="+s(S.JSON.stringify(ao))}}function dr(dM,dN){var dO=S.JSON.stringify(dM);if(dO.length>2){return"&"+dN+"="+s(dO)}return""}var dI=dh(bW);var dA=dh(cl);dk+=dr(dI,"cvar");dk+=dr(dA,"e_cvar");if(aQ){dk+=dr(aQ,"_cvar");for(dE in dB){if(Object.prototype.hasOwnProperty.call(dB,dE)){if(aQ[dE][0]===""||aQ[dE][1]===""){delete aQ[dE]}}}if(bQ){dd(dw,S.JSON.stringify(aQ),cm,bq,cW,bS) -}}if(a2&&bF&&!bh){dk=aA(dk);bh=true}if(aL){dk+="&pv_id="+aL}aM(dy);cc();dk+=ac(dG,{tracker:bJ,request:dk});if(cY.length){dk+="&"+cY}if(A(cb)){dk=cb(dk)}return dk}bR=function a7(){var di=new Date();di=di.getTime();if(!cX){return false}if((cX+(1000*c6))<=di){return false}if(cX+a5<=di){bJ.ping();return true}return false};function br(dl,dk,dq,dm,di,dt){var dp="idgoal=0",dj=new Date(),dr=[],ds,dn=String(dl).length;if(dn){dp+="&ec_id="+s(dl)}dp+="&revenue="+dk;if(String(dq).length){dp+="&ec_st="+dq}if(String(dm).length){dp+="&ec_tx="+dm}if(String(di).length){dp+="&ec_sh="+di}if(String(dt).length){dp+="&ec_dt="+dt}if(cZ){for(ds in cZ){if(Object.prototype.hasOwnProperty.call(cZ,ds)){if(!J(cZ[ds][1])){cZ[ds][1]=""}if(!J(cZ[ds][2])){cZ[ds][2]=""}if(!J(cZ[ds][3])||String(cZ[ds][3]).length===0){cZ[ds][3]=0}if(!J(cZ[ds][4])||String(cZ[ds][4]).length===0){cZ[ds][4]=1}dr.push(cZ[ds])}}dp+="&ec_items="+s(S.JSON.stringify(dr))}dp=cq(dp,ao,"ecommerce");bG(dp,bK);if(dn){cZ={}}}function bZ(di,dm,dl,dk,dj,dn){if(String(di).length&&J(dm)){br(di,dm,dl,dk,dj,dn) -}}function bt(di){if(J(di)){br("",di,"","","","")}}function b0(dj,dl,dk){aL=bg();var di=cq("action_name="+s(al(dj||bj)),dl,"log");if(!bh){di=aA(di)}bG(di,bK,dk)}function a0(dk,dj){var dl,di="(^| )(piwik[_-]"+dj+"|matomo[_-]"+dj;if(dk){for(dl=0;dl<dk.length;dl++){di+="|"+dk[dl]}}di+=")( |$)";return new RegExp(di)}function aU(di){return(aE&&di&&0===String(di).indexOf(aE))}function ct(dm,di,dn,dj){if(aU(di)){return 0}var dl=a0(bL,"download"),dk=a0(a8,"link"),dp=new RegExp("\\.("+c5.join("|")+")([?&#]|$)","i");if(dk.test(dm)){return"link"}if(dj||dl.test(dm)||dp.test(di)){return"download"}if(dn){return 0}return"link"}function au(dj){var di;di=dj.parentNode;while(di!==null&&J(di)){if(ae.isLinkElement(dj)){break}dj=di;di=dj.parentNode}return dj}function db(dn){dn=au(dn);if(!ae.hasNodeAttribute(dn,"href")){return}if(!J(dn.href)){return}var dm=ae.getAttributeValueFromNode(dn,"href");var dj=dn.pathname||ck(dn.href);var dp=dn.hostname||d(dn.href);var dq=dp.toLowerCase();var dk=dn.href.replace(dp,dq); -var dl=new RegExp("^(javascript|vbscript|jscript|mocha|livescript|ecmascript|mailto|tel):","i");if(!dl.test(dk)){var di=ct(dn.className,dk,ar(dq,dj),ae.hasNodeAttribute(dn,"download"));if(di){return{type:di,href:dk}}}}function aP(di,dj,dk,dl){var dm=v.buildInteractionRequestParams(di,dj,dk,dl);if(!dm){return}return cq(dm,null,"contentInteraction")}function bb(di,dj){if(!di||!dj){return false}var dk=v.findTargetNode(di);if(v.shouldIgnoreInteraction(dk)){return false}dk=v.findTargetNodeNoDefault(di);if(dk&&!U(dk,dj)){return false}return true}function cs(dk,dj,dm){if(!dk){return}var di=v.findParentContentNode(dk);if(!di){return}if(!bb(di,dk)){return}var dl=v.buildContentBlock(di);if(!dl){return}if(!dl.target&&dm){dl.target=dm}return v.buildInteractionRequestParams(dj,dl.name,dl.piece,dl.target)}function aW(dj){if(!ca||!ca.length){return false}var di,dk;for(di=0;di<ca.length;di++){dk=ca[di];if(dk&&dk.name===dj.name&&dk.piece===dj.piece&&dk.target===dj.target){return true}}return false}function aX(di){return function(dm){if(!di){return -}var dk=v.findParentContentNode(di);var dj;if(dm){dj=dm.target||dm.srcElement}if(!dj){dj=di}if(!bb(dk,dj)){return}if(!dk){return false}var dn=v.findTargetNode(dk);if(!dn||v.shouldIgnoreInteraction(dn)){return false}var dl=db(dn);if(c8&&dl&&dl.type){return dl.type}return bJ.trackContentInteractionNode(dj,"click")}}function b1(dk){if(!dk||!dk.length){return}var di,dj;for(di=0;di<dk.length;di++){dj=v.findTargetNode(dk[di]);if(dj&&!dj.contentInteractionTrackingSetupDone){dj.contentInteractionTrackingSetupDone=true;an(dj,"click",aX(dj))}}}function by(dk,dl){if(!dk||!dk.length){return[]}var di,dj;for(di=0;di<dk.length;di++){if(aW(dk[di])){dk.splice(di,1);di--}else{ca.push(dk[di])}}if(!dk||!dk.length){return[]}b1(dl);var dm=[];for(di=0;di<dk.length;di++){dj=cq(v.buildImpressionRequestParams(dk[di].name,dk[di].piece,dk[di].target),undefined,"contentImpressions");if(dj){dm.push(dj)}}return dm}function cy(dj){var di=v.collectContent(dj);return by(di,dj)}function a9(dj){if(!dj||!dj.length){return[] -}var di;for(di=0;di<dj.length;di++){if(!v.isNodeVisible(dj[di])){dj.splice(di,1);di--}}if(!dj||!dj.length){return[]}return cy(dj)}function aG(dk,di,dj){var dl=v.buildImpressionRequestParams(dk,di,dj);return cq(dl,null,"contentImpression")}function da(dl,dj){if(!dl){return}var di=v.findParentContentNode(dl);var dk=v.buildContentBlock(di);if(!dk){return}if(!dj){dj="Unknown"}return aP(dj,dk.name,dk.piece,dk.target)}function cO(dj,dl,di,dk){return"e_c="+s(dj)+"&e_a="+s(dl)+(J(di)?"&e_n="+s(di):"")+(J(dk)?"&e_v="+s(dk):"")}function at(dk,dm,di,dl,dp,dn){if(!Y(dk)||!Y(dm)){ak("Error while logging event: Parameters `category` and `action` must not be empty or filled with whitespaces");return false}var dj=cq(cO(dk,dm,di,dl),dp,"event");bG(dj,bK,dn)}function b8(di,dl,dj,dm){var dk=cq("search="+s(di)+(dl?"&search_cat="+s(dl):"")+(J(dj)?"&search_count="+dj:""),dm,"sitesearch");bG(dk,bK)}function cS(di,dm,dl,dk){var dj=cq("idgoal="+di+(dm?"&revenue="+dm:""),dl,"goal");bG(dj,bK,dk)}function c0(dl,di,dq,dp,dk){var dn=di+"="+s(b2(dl)); -var dj=cs(dk,"click",dl);if(dj){dn+="&"+dj}var dm=cq(dn,dq,"link");bG(dm,bK,dp)}function bU(dj,di){if(dj!==""){return dj+di.charAt(0).toUpperCase()+di.slice(1)}return di}function cg(dn){var dm,di,dl=["","webkit","ms","moz"],dk;if(!be){for(di=0;di<dl.length;di++){dk=dl[di];if(Object.prototype.hasOwnProperty.call(G,bU(dk,"hidden"))){if(G[bU(dk,"visibilityState")]==="prerender"){dm=true}break}}}if(dm){an(G,dk+"visibilitychange",function dj(){G.removeEventListener(dk+"visibilitychange",dj,false);dn()});return}dn()}function bs(){var dj=bJ.getVisitorId();var di=aJ();return dj+di}function ci(di){if(!di){return}if(!ae.hasNodeAttribute(di,"href")){return}var dj=ae.getAttributeValueFromNode(di,"href");if(!dj||aU(dj)){return}if(!bJ.getVisitorId()){return}dj=j(dj,av);var dk=bs();dj=F(dj,av,dk);ae.setAnyAttribute(di,"href",dj)}function bl(dl){var dm=ae.getAttributeValueFromNode(dl,"href");if(!dm){return false}dm=String(dm);var dj=dm.indexOf("//")===0||dm.indexOf("http://")===0||dm.indexOf("https://")===0; -if(!dj){return false}var di=dl.pathname||ck(dl.href);var dk=(dl.hostname||d(dl.href)).toLowerCase();if(ar(dk,di)){if(!cG(cT,L(dk))){return true}return false}return false}function cF(di){var dj=db(di);if(dj&&dj.type){dj.href=o(dj.href);c0(dj.href,dj.type,undefined,null,di);return}if(cM){di=au(di);if(bl(di)){ci(di)}}}function cu(){return G.all&&!G.addEventListener}function cU(di){var dk=di.which;var dj=(typeof di.button);if(!dk&&dj!=="undefined"){if(cu()){if(di.button&1){dk=1}else{if(di.button&2){dk=3}else{if(di.button&4){dk=2}}}}else{if(di.button===0||di.button==="0"){dk=1}else{if(di.button&1){dk=2}else{if(di.button&2){dk=3}}}}}return dk}function bT(di){switch(cU(di)){case 1:return"left";case 2:return"middle";case 3:return"right"}}function a1(di){return di.target||di.srcElement}function aC(di){return function(dl){dl=dl||S.event;var dk=bT(dl);var dm=a1(dl);if(dl.type==="click"){var dj=false;if(di&&dk==="middle"){dj=true}if(dm&&!dj){cF(dm)}}else{if(dl.type==="mousedown"){if(dk==="middle"&&dm){aR=dk; -bB=dm}else{aR=bB=null}}else{if(dl.type==="mouseup"){if(dk===aR&&dm===bB){cF(dm)}aR=bB=null}else{if(dl.type==="contextmenu"){cF(dm)}}}}}}function aq(dk,dj){var di=typeof dj;if(di==="undefined"){dj=true}an(dk,"click",aC(dj),false);if(dj){an(dk,"mouseup",aC(dj),false);an(dk,"mousedown",aC(dj),false);an(dk,"contextmenu",aC(dj),false)}}function bE(dk,dm){ap=true;var dl,dj=a0(bA,"ignore"),dn=G.links,di=null,dp=null;if(dn){for(dl=0;dl<dn.length;dl++){di=dn[dl];if(!dj.test(di.className)){dp=typeof di.matomoTrackers;if("undefined"===dp){di.matomoTrackers=[]}if(-1===M(di.matomoTrackers,dm)){di.matomoTrackers.push(dm);aq(di,dk)}}}}}function aS(dj,dm,dn){if(ce){return true}ce=true;var dp=false;var dl,dk;function di(){dp=true}m(function(){function dq(ds){setTimeout(function(){if(!ce){return}dp=false;dn.trackVisibleContentImpressions();dq(ds)},ds)}function dr(ds){setTimeout(function(){if(!ce){return}if(dp){dp=false;dn.trackVisibleContentImpressions()}dr(ds)},ds)}if(dj){dl=["scroll","resize"];for(dk=0; -dk<dl.length;dk++){if(G.addEventListener){G.addEventListener(dl[dk],di,false)}else{S.attachEvent("on"+dl[dk],di)}}dr(100)}if(dm&&dm>0){dm=parseInt(dm,10);dq(dm)}})}var bD={enabled:true,requests:[],timeout:null,interval:2500,sendRequests:function(){var di=this.requests;this.requests=[];if(di.length===1){bG(di[0],bK)}else{de(di,bK)}},canQueue:function(){return !l&&this.enabled},pushMultiple:function(dj){if(!this.canQueue()){de(dj,bK);return}var di;for(di=0;di<dj.length;di++){this.push(dj[di])}},push:function(di){if(!di){return}if(!this.canQueue()){bG(di,bK);return}bD.requests.push(di);if(this.timeout){clearTimeout(this.timeout);this.timeout=null}this.timeout=setTimeout(function(){bD.timeout=null;bD.sendRequests()},bD.interval);var dj="RequestQueue"+ax;if(!Object.prototype.hasOwnProperty.call(b,dj)){b[dj]={unload:function(){if(bD.timeout){clearTimeout(bD.timeout)}bD.sendRequests()}}}}};bi();aM();this.hasConsent=function(){return bC};this.getVisitorId=function(){return aY().uuid};this.getVisitorInfo=function(){return cN() -};this.getAttributionInfo=function(){return bM()};this.getAttributionCampaignName=function(){return bM()[0]};this.getAttributionCampaignKeyword=function(){return bM()[1]};this.getAttributionReferrerTimestamp=function(){return bM()[2]};this.getAttributionReferrerUrl=function(){return bM()[3]};this.setTrackerUrl=function(di){aE=di};this.getTrackerUrl=function(){return aE};this.getMatomoUrl=function(){return W(this.getTrackerUrl(),bI)};this.getPiwikUrl=function(){return this.getMatomoUrl()};this.addTracker=function(dk,dj){if(!J(dk)||null===dk){dk=this.getTrackerUrl()}var di=new P(dk,dj);I.push(di);t.trigger("TrackerAdded",[this]);return di};this.getSiteId=function(){return b6};this.setSiteId=function(di){b3(di)};this.resetUserId=function(){bz=""};this.setUserId=function(di){if(Y(di)){bz=di}};this.setVisitorId=function(dj){var di=/[0-9A-Fa-f]{16}/g;if(w(dj)&&di.test(dj)){bO=dj}else{ak("Invalid visitorId set"+dj)}};this.getUserId=function(){return bz};this.setCustomData=function(di,dj){if(V(di)){ao=di -}else{if(!ao){ao={}}ao[di]=dj}};this.getCustomData=function(){return ao};this.setCustomRequestProcessing=function(di){cb=di};this.appendToTrackingUrl=function(di){cY=di};this.getRequest=function(di){return cq(di)};this.addPlugin=function(di,dj){b[di]=dj};this.setCustomDimension=function(di,dj){di=parseInt(di,10);if(di>0){if(!J(dj)){dj=""}if(!w(dj)){dj=String(dj)}bn[di]=dj}};this.getCustomDimension=function(di){di=parseInt(di,10);if(di>0&&Object.prototype.hasOwnProperty.call(bn,di)){return bn[di]}};this.deleteCustomDimension=function(di){di=parseInt(di,10);if(di>0){delete bn[di]}};this.setCustomVariable=function(dj,di,dm,dk){var dl;if(!J(dk)){dk="visit"}if(!J(di)){return}if(!J(dm)){dm=""}if(dj>0){di=!w(di)?String(di):di;dm=!w(dm)?String(dm):dm;dl=[di.slice(0,bu),dm.slice(0,bu)];if(dk==="visit"||dk===2){cE();aQ[dj]=dl}else{if(dk==="page"||dk===3){bW[dj]=dl}else{if(dk==="event"){cl[dj]=dl}}}}};this.getCustomVariable=function(dj,dk){var di;if(!J(dk)){dk="visit"}if(dk==="page"||dk===3){di=bW[dj] -}else{if(dk==="event"){di=cl[dj]}else{if(dk==="visit"||dk===2){cE();di=aQ[dj]}}}if(!J(di)||(di&&di[0]==="")){return false}return di};this.deleteCustomVariable=function(di,dj){if(this.getCustomVariable(di,dj)){this.setCustomVariable(di,"","",dj)}};this.deleteCustomVariables=function(di){if(di==="page"||di===3){bW={}}else{if(di==="event"){cl={}}else{if(di==="visit"||di===2){aQ={}}}}};this.storeCustomVariablesInCookie=function(){bQ=true};this.setLinkTrackingTimer=function(di){bK=di};this.getLinkTrackingTimer=function(){return bK};this.setDownloadExtensions=function(di){if(w(di)){di=di.split("|")}c5=di};this.addDownloadExtensions=function(dj){var di;if(w(dj)){dj=dj.split("|")}for(di=0;di<dj.length;di++){c5.push(dj[di])}};this.removeDownloadExtensions=function(dk){var dj,di=[];if(w(dk)){dk=dk.split("|")}for(dj=0;dj<c5.length;dj++){if(M(dk,c5[dj])===-1){di.push(c5[dj])}}c5=di};this.setDomains=function(di){ay=w(di)?[di]:di;var dm=false,dk=0,dj;for(dk;dk<ay.length;dk++){dj=String(ay[dk]);if(cG(cT,L(dj))){dm=true; -break}var dl=ck(dj);if(dl&&dl!=="/"&&dl!=="/*"){dm=true;break}}if(!dm){ay.push(cT)}};this.enableCrossDomainLinking=function(){cM=true};this.disableCrossDomainLinking=function(){cM=false};this.isCrossDomainLinkingEnabled=function(){return cM};this.setCrossDomainLinkingTimeout=function(di){aZ=di};this.getCrossDomainLinkingUrlParameter=function(){return s(av)+"="+s(bs())};this.setIgnoreClasses=function(di){bA=w(di)?[di]:di};this.setRequestMethod=function(di){c9=di||ch};this.setRequestContentType=function(di){cv=di||aI};this.setReferrerUrl=function(di){bo=di};this.setCustomUrl=function(di){a4=bV(bN,di)};this.getCurrentUrl=function(){return a4||bN};this.setDocumentTitle=function(di){bj=di};this.setAPIUrl=function(di){bI=di};this.setDownloadClasses=function(di){bL=w(di)?[di]:di};this.setLinkClasses=function(di){a8=w(di)?[di]:di};this.setCampaignNameKey=function(di){co=w(di)?[di]:di};this.setCampaignKeywordKey=function(di){bH=w(di)?[di]:di};this.discardHashTag=function(di){bP=di};this.setCookieNamePrefix=function(di){bk=di; -if(aQ){aQ=bX()}};this.setCookieDomain=function(di){var dj=L(di);if(bx(dj)){cW=dj;bi()}};this.getCookieDomain=function(){return cW};this.hasCookies=function(){return"1"===b5()};this.setSessionCookie=function(dk,dj,di){if(!dk){throw new Error("Missing cookie name")}if(!J(di)){di=cm}bv.push(dk);dd(aT(dk),dj,di,bq,cW)};this.getCookie=function(dj){var di=aD(aT(dj));if(di===0){return null}return di};this.setCookiePath=function(di){bq=di;bi()};this.getCookiePath=function(di){return bq};this.setVisitorCookieTimeout=function(di){cJ=di*1000};this.setSessionCookieTimeout=function(di){cm=di*1000};this.getSessionCookieTimeout=function(){return cm};this.setReferralCookieTimeout=function(di){c4=di*1000};this.setConversionAttributionFirstReferrer=function(di){bw=di};this.setSecureCookie=function(di){bS=di};this.disableCookies=function(){bm=true;if(b6){aF()}};this.areCookiesEnabled=function(){return !bm};this.setCookieConsentGiven=function(){if(bm&&!cP){bm=false;if(b6&&aw){aM();var di=cq("ping=1",null,"ping"); -bG(di,bK)}}};this.requireCookieConsent=function(){if(this.getRememberedCookieConsent()){return false}this.disableCookies();return true};this.getRememberedCookieConsent=function(){return aD(cC)};this.forgetCookieConsentGiven=function(){bY(cC,bq,cW);this.disableCookies()};this.rememberCookieConsentGiven=function(dj){if(dj){dj=dj*60*60*1000}else{dj=30*365*24*60*60*1000}this.setCookieConsentGiven();var di=new Date().getTime();dd(cC,di,dj,bq,cW,bS)};this.deleteCookies=function(){aF()};this.setDoNotTrack=function(dj){var di=g.doNotTrack||g.msDoNotTrack;cP=dj&&(di==="yes"||di==="1");if(cP){this.disableCookies()}};this.alwaysUseSendBeacon=function(){cV=true};this.disableAlwaysUseSendBeacon=function(){cV=false};this.addListener=function(dj,di){aq(dj,di)};this.enableLinkTracking=function(dj){c8=true;var di=this;cg(function(){p(function(){bE(dj,di)});m(function(){bE(dj,di)})})};this.enableJSErrorTracking=function(){if(cR){return}cR=true;var di=S.onerror;S.onerror=function(dn,dl,dk,dm,dj){cg(function(){var dp="JavaScript Errors"; -var dq=dl+":"+dk;if(dm){dq+=":"+dm}at(dp,dq,dn)});if(di){return di(dn,dl,dk,dm,dj)}return false}};this.disablePerformanceTracking=function(){a2=false};this.setVisitStandardLength=function(di){di=Math.max(di,5);c6=di};this.enableHeartBeatTimer=function(di){di=Math.max(di||15,5);a5=di*1000;if(cX!==null){df()}};this.disableHeartBeatTimer=function(){if(a5||aN){if(S.removeEventListener){S.removeEventListener("focus",ba);S.removeEventListener("blur",az)}else{if(S.detachEvent){S.detachEvent("onfocus",ba);S.detachEvent("onblur",az)}}}a5=null;aN=false};this.killFrame=function(){if(S.location!==S.top.location){S.top.location=S.location}};this.redirectFile=function(di){if(S.location.protocol==="file:"){S.location=di}};this.setCountPreRendered=function(di){be=di};this.trackGoal=function(di,dl,dk,dj){cg(function(){cS(di,dl,dk,dj)})};this.trackLink=function(dj,di,dl,dk){cg(function(){c0(dj,di,dl,dk)})};this.getNumTrackedPageViews=function(){return cp};this.trackPageView=function(di,dk,dj){ca=[];cK=[]; -if(N(b6)){cg(function(){Z(aE,bI,b6)})}else{cg(function(){cp++;b0(di,dk,dj)})}};this.trackAllContentImpressions=function(){if(N(b6)){return}cg(function(){p(function(){var di=v.findContentNodes();var dj=cy(di);bD.pushMultiple(dj)})})};this.trackVisibleContentImpressions=function(di,dj){if(N(b6)){return}if(!J(di)){di=true}if(!J(dj)){dj=750}aS(di,dj,this);cg(function(){m(function(){var dk=v.findContentNodes();var dl=a9(dk);bD.pushMultiple(dl)})})};this.trackContentImpression=function(dk,di,dj){if(N(b6)){return}dk=a(dk);di=a(di);dj=a(dj);if(!dk){return}di=di||"Unknown";cg(function(){var dl=aG(dk,di,dj);bD.push(dl)})};this.trackContentImpressionsWithinNode=function(di){if(N(b6)||!di){return}cg(function(){if(ce){m(function(){var dj=v.findContentNodesWithinNode(di);var dk=a9(dj);bD.pushMultiple(dk)})}else{p(function(){var dj=v.findContentNodesWithinNode(di);var dk=cy(dj);bD.pushMultiple(dk)})}})};this.trackContentInteraction=function(dk,dl,di,dj){if(N(b6)){return}dk=a(dk);dl=a(dl);di=a(di);dj=a(dj); -if(!dk||!dl){return}di=di||"Unknown";cg(function(){var dm=aP(dk,dl,di,dj);if(dm){bD.push(dm)}})};this.trackContentInteractionNode=function(dk,dj){if(N(b6)||!dk){return}var di=null;cg(function(){di=da(dk,dj);if(di){bD.push(di)}});return di};this.logAllContentBlocksOnPage=function(){var dk=v.findContentNodes();var di=v.collectContent(dk);var dj=typeof console;if(dj!=="undefined"&&console&&console.log){console.log(di)}};this.trackEvent=function(dj,dl,di,dk,dn,dm){cg(function(){at(dj,dl,di,dk,dn,dm)})};this.trackSiteSearch=function(di,dk,dj,dl){ca=[];cg(function(){b8(di,dk,dj,dl)})};this.setEcommerceView=function(dm,di,dk,dj){cr={};if(Y(dk)){dk=String(dk)}if(!J(dk)||dk===null||dk===false||!dk.length){dk=""}else{if(dk instanceof Array){dk=S.JSON.stringify(dk)}}var dl="_pkc";cr[dl]=dk;if(J(dj)&&dj!==null&&dj!==false&&String(dj).length){dl="_pkp";cr[dl]=dj}if(!Y(dm)&&!Y(di)){return}if(Y(dm)){dl="_pks";cr[dl]=dm}if(!Y(di)){di=""}dl="_pkn";cr[dl]=di};this.getEcommerceItems=function(){return JSON.parse(JSON.stringify(cZ)) -};this.addEcommerceItem=function(dm,di,dk,dj,dl){if(Y(dm)){cZ[dm]=[String(dm),di,dk,dj,dl]}};this.removeEcommerceItem=function(di){if(Y(di)){di=String(di);delete cZ[di]}};this.clearEcommerceCart=function(){cZ={}};this.trackEcommerceOrder=function(di,dm,dl,dk,dj,dn){bZ(di,dm,dl,dk,dj,dn)};this.trackEcommerceCartUpdate=function(di){bt(di)};this.trackRequest=function(dj,dl,dk,di){cg(function(){var dm=cq(dj,dl,di);bG(dm,bK,dk)})};this.ping=function(){this.trackRequest("ping=1",null,null,"ping")};this.disableQueueRequest=function(){bD.enabled=false};this.setRequestQueueInterval=function(di){if(di<1000){throw new Error("Request queue interval needs to be at least 1000ms")}bD.interval=di};this.queueRequest=function(di){cg(function(){var dj=cq(di);bD.push(dj)})};this.isConsentRequired=function(){return cz};this.getRememberedConsent=function(){var di=aD(bd);if(aD(cL)){if(di){bY(bd,bq,cW)}return null}if(!di||di===0){return null}return di};this.hasRememberedConsent=function(){return !!this.getRememberedConsent() -};this.requireConsent=function(){cz=true;bC=this.hasRememberedConsent();if(!bC){bm=true}x++;b["CoreConsent"+x]={unload:function(){if(!bC){aF()}}}};this.setConsentGiven=function(dj){bC=true;bY(cL,bq,cW);var dk,di;for(dk=0;dk<cK.length;dk++){di=typeof cK[dk];if(di==="string"){bG(cK[dk],bK)}else{if(di==="object"){de(cK[dk],bK)}}}cK=[];if(!J(dj)||dj){this.setCookieConsentGiven()}};this.rememberConsentGiven=function(dk){if(dk){dk=dk*60*60*1000}else{dk=30*365*24*60*60*1000}var di=true;this.setConsentGiven(di);var dj=new Date().getTime();dd(bd,dj,dk,bq,cW,bS)};this.forgetConsentGiven=function(){var di=30*365*24*60*60*1000;bY(bd,bq,cW);dd(cL,new Date().getTime(),di,bq,cW,bS);this.forgetCookieConsentGiven();this.requireConsent()};this.isUserOptedOut=function(){return !bC};this.optUserOut=this.forgetConsentGiven;this.forgetUserOptOut=function(){this.setConsentGiven(false)};m(function(){setTimeout(function(){bF=true},0)});t.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 Matomo trackers documentation: https://developer.matomo.org/guides/tracking-javascript-guide#multiple-piwik-trackers')}av[ap]++}}}}return au}var C=["addTracker","forgetCookieConsentGiven","requireCookieConsent","disableCookies","setTrackerUrl","setAPIUrl","enableCrossDomainLinking","setCrossDomainLinkingTimeout","setSessionCookieTimeout","setVisitorCookieTimeout","setCookieNamePrefix","setSecureCookie","setCookiePath","setCookieDomain","setDomains","setUserId","setVisitorId","setSiteId","alwaysUseSendBeacon","enableLinkTracking","setCookieConsentGiven","requireConsent","setConsentGiven"];function ad(aq,ap){var ao=new P(aq,ap);I.push(ao);_paq=c(_paq,C);for(E=0; -E<_paq.length;E++){if(_paq[E]){af(_paq[E])}}_paq=new H();t.trigger("TrackerAdded",[ao]);return ao}an(S,"beforeunload",ai,false);an(S,"message",function(au){if(!au||!au.origin){return}var aw,ar,ap;var ax=d(au.origin);var at=t.getAsyncTrackers();for(ar=0;ar<at.length;ar++){ap=d(at[ar].getMatomoUrl());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.getMatomoUrl(),maq_optout_by_default:aw.isConsentRequired()})}else{if(J(aq.maq_opted_in)){at=t.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.getMatomoUrl(),maq_optout_by_default:aw.isConsentRequired()}) +}catch(ao){return true}}function P(cd,b9){var bJ=this,bd="mtm_consent",cC="mtm_cookie_consent",cL="mtm_consent_removed",b4=aa(G.domain,S.location.href,K()),cT=L(b4[0]),bN=o(b4[1]),bo=o(b4[2]),cR=false,ch="GET",c8=ch,aI="application/x-www-form-urlencoded; charset=UTF-8",cv=aI,aE=cd||"",bI="",cY="",b6=b9||"",bz="",bO="",a4,bj="",c5=["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"],ay=[cT],bA=[],bL=[],a8=[],bK=500,cV=true,cI,a5,bR,bP,ao,co=["pk_campaign","mtm_campaign","piwik_campaign","matomo_campaign","utm_campaign","utm_source","utm_medium"],bH=["pk_kwd","mtm_kwd","piwik_kwd","matomo_kwd","utm_term"],bk="_pk_",av="pk_vid",aZ=180,cW,bq,bS=false,bm=false,cP,be,bw,cJ=33955200000,cm=1800000,c4=15768000000,a2=true,bF=false,bh=false,bQ=false,aQ=false,cb,bW={},cl={},bn={},bu=200,cr={},cZ={},c6={},ca=[],ce=false,cA=false,ap=false,c7=false,cM=false,aN=false,bc=u(),cw=null,cX=null,aR,bB,b7=am,bp,aL,cp=0,bv=["id","ses","cvar","ref"],cz=false,bC=null,cK=[],ax=T++,aw=false; +try{bj=G.title}catch(cx){bj=""}function dc(dn,dl,dk,dm,dj,di){if(bm){return}var dh;if(dk){dh=new Date();dh.setTime(dh.getTime()+dk)}G.cookie=dn+"="+s(dl)+(dk?";expires="+dh.toGMTString():"")+";path="+(dm||"/")+(dj?";domain="+dj:"")+(di?";secure":"")+";SameSite=Lax"}function aD(dj){if(bm){return 0}var dh=new RegExp("(^|;)[ ]*"+dj+"=([^;]*)"),di=dh.exec(G.cookie);return di?R(di[2]):0}bC=!aD(cL);function b2(dh){var di;dh=j(dh,av);if(bP){di=new RegExp("#.*");return dh.replace(di,"")}return dh}function bV(dj,dh){var dk=r(dh),di;if(dk){return dh}if(dh.slice(0,1)==="/"){return r(dj)+"://"+d(dj)+dh}dj=b2(dj);di=dj.indexOf("?");if(di>=0){dj=dj.slice(0,di)}di=dj.lastIndexOf("/");if(di!==dj.length-1){dj=dj.slice(0,di+1)}return dj+dh}function cG(dj,dh){var di;dj=String(dj).toLowerCase();dh=String(dh).toLowerCase();if(dj===dh){return true}if(dh.slice(0,1)==="."){if(dj===dh.slice(1)){return true}di=dj.length-dh.length;if((di>0)&&(dj.slice(di)===dh)){return true}}return false}function ck(dh){var di=document.createElement("a"); +if(dh.indexOf("//")!==0&&dh.indexOf("http")!==0){if(dh.indexOf("*")===0){dh=dh.substr(1)}if(dh.indexOf(".")===0){dh=dh.substr(1)}dh="http://"+dh}di.href=v.toAbsoluteUrl(dh);if(di.pathname){return di.pathname}return""}function a3(di,dh){if(!aj(dh,"/")){dh="/"+dh}if(!aj(di,"/")){di="/"+di}var dj=(dh==="/"||dh==="/*");if(dj){return true}if(di===dh){return true}dh=String(dh).toLowerCase();di=String(di).toLowerCase();if(Q(dh,"*")){dh=dh.slice(0,-1);dj=(!dh||dh==="/");if(dj){return true}if(di===dh){return true}return di.indexOf(dh)===0}if(!Q(di,"/")){di+="/"}if(!Q(dh,"/")){dh+="/"}return di.indexOf(dh)===0}function ar(dl,dn){var di,dh,dj,dk,dm;for(di=0;di<ay.length;di++){dk=L(ay[di]);dm=ck(ay[di]);if(cG(dl,dk)&&a3(dn,dm)){return true}}return false}function aV(dk){var di,dh,dj;for(di=0;di<ay.length;di++){dh=L(ay[di].toLowerCase());if(dk===dh){return true}if(dh.slice(0,1)==="."){if(dk===dh.slice(1)){return true}dj=dk.length-dh.length;if((dj>0)&&(dk.slice(dj)===dh)){return true}}}return false}function cn(dh,dj){dh=dh.replace("send_image=0","send_image=1"); +var di=new Image(1,1);di.onload=function(){E=0;if(typeof dj==="function"){dj({request:dh,trackerUrl:aE,success:true})}};di.onerror=function(){if(typeof dj==="function"){dj({request:dh,trackerUrl:aE,success:false})}};di.src=aE+(aE.indexOf("?")<0?"?":"&")+dh}function cD(dh){if(c8==="POST"){return true}return dh&&(dh.length>2000||dh.indexOf('{"requests"')===0)}function aK(){return"object"===typeof g&&"function"===typeof g.sendBeacon&&"function"===typeof Blob}function a6(dl,dp,dn){var dj=aK();if(!dj){return false}var dk={type:"application/x-www-form-urlencoded; charset=UTF-8"};var dq=false;var di=aE;try{var dh=new Blob([dl],dk);if(dn&&!cD(dl)){dh=new Blob([],dk);di=di+(di.indexOf("?")<0?"?":"&")+dl}dq=g.sendBeacon(di,dh)}catch(dm){return false}if(dq&&typeof dp==="function"){dp({request:dl,trackerUrl:aE,success:true,isSendBeacon:true})}return dq}function c3(di,dj,dh){if(!J(dh)||null===dh){dh=true}if(l&&a6(di,dj,dh)){return}setTimeout(function(){if(l&&a6(di,dj,dh)){return}var dm;try{var dl=S.XMLHttpRequest?new S.XMLHttpRequest():S.ActiveXObject?new ActiveXObject("Microsoft.XMLHTTP"):null; +dl.open("POST",aE,true);dl.onreadystatechange=function(){if(this.readyState===4&&!(this.status>=200&&this.status<300)){var dn=l&&a6(di,dj,dh);if(!dn&&dh){cn(di,dj)}else{if(typeof dj==="function"){dj({request:di,trackerUrl:aE,success:false,xhr:this})}}}else{if(this.readyState===4&&(typeof dj==="function")){dj({request:di,trackerUrl:aE,success:true,xhr:this})}}};dl.setRequestHeader("Content-Type",cv);dl.withCredentials=true;dl.send(di)}catch(dk){dm=l&&a6(di,dj,dh);if(!dm&&dh){cn(di,dj)}else{if(typeof dj==="function"){dj({request:di,trackerUrl:aE,success:false})}}}},50)}function cf(di){var dh=new Date();var dj=dh.getTime()+di;if(!q||dj>q){q=dj}}function ba(){bc=true;cw=new Date().getTime()}function db(){var dh=new Date().getTime();return !cw||(dh-cw)>a5}function az(){if(db()){bR()}}function de(){if(aN||!a5){return}aN=true;an(S,"focus",ba);an(S,"blur",az);ab++;t.addPlugin("HeartBeat"+ab,{unload:function(){if(aN&&db()){bR()}}})}function cB(dl){var di=new Date();var dh=di.getTime();cX=dh;if(cA&&dh<cA){var dj=cA-dh; +setTimeout(dl,dj);cf(dj+50);cA+=50;return}if(cA===false){var dk=800;cA=dh+dk}dl()}function aO(){if(aD(cL)){bC=false}else{if(aD(bd)){bC=true}}}function bG(di,dh,dj){aO();if(!bC){cK.push(di);return}aw=true;if(!cP&&di){if(cz&&bC){di+="&consent=1"}cB(function(){if(cV&&a6(di,dj,true)){cf(100);return}if(cD(di)){c3(di,dj)}else{cn(di,dj)}cf(dh)})}if(!aN){de()}}function cj(dh){if(cP){return false}return(dh&&dh.length)}function c2(dh,dl){if(!dl||dl>=dh.length){return[dh]}var di=0;var dj=dh.length;var dk=[];for(di;di<dj;di+=dl){dk.push(dh.slice(di,di+dl))}return dk}function dd(di,dh){if(!cj(di)){return}if(!bC){cK.push(di);return}aw=true;cB(function(){var dl=c2(di,50);var dj=0,dk;for(dj;dj<dl.length;dj++){dk='{"requests":["?'+dl[dj].join('","?')+'"]}';if(cV&&a6(dk,null,false)){cf(100)}else{c3(dk,null,false)}}cf(dh)})}function aT(dh){return bk+dh+"."+b6+"."+bp}function bY(dj,di,dh){dc(dj,"",-86400,di,dh)}function b5(){if(bm){return"0"}if(!J(S.showModalDialog)&&J(g.cookieEnabled)){return g.cookieEnabled?"1":"0" +}var dh=bk+"testcookie";dc(dh,"1",undefined,bq,cW,bS);var di=aD(dh)==="1"?"1":"0";bY(dh);return di}function bi(){bp=b7((cW||cT)+(bq||"/")).slice(0,4)}function cH(){if(J(c6.res)){return c6}var di,dk,dl={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(di in dl){if(Object.prototype.hasOwnProperty.call(dl,di)){dk=g.mimeTypes[dl[di]];c6[di]=(dk&&dk.enabledPlugin)?"1":"0"}}}if(!((new RegExp("Edge[ /](\\d+[\\.\\d]+)")).test(g.userAgent))&&typeof navigator.javaEnabled!=="unknown"&&J(g.javaEnabled)&&g.javaEnabled()){c6.java="1"}if(!J(S.showModalDialog)&&J(g.cookieEnabled)){c6.cookie=g.cookieEnabled?"1":"0"}else{c6.cookie=b5()}}var dj=parseInt(X.width,10);var dh=parseInt(X.height,10);c6.res=parseInt(dj,10)+"x"+parseInt(dh,10);return c6}function bX(){var di=aT("cvar"),dh=aD(di); +if(dh&&dh.length){dh=S.JSON.parse(dh);if(V(dh)){return dh}}return{}}function cE(){if(aQ===false){aQ=bX()}}function cQ(){var dh=cH();return b7((g.userAgent||"")+(g.platform||"")+S.JSON.stringify(dh)+(new Date()).getTime()+Math.random()).slice(0,16)}function aB(){var dh=cH();return b7((g.userAgent||"")+(g.platform||"")+S.JSON.stringify(dh)).slice(0,6)}function bf(){return Math.floor((new Date()).getTime()/1000)}function aJ(){var di=bf();var dj=aB();var dh=String(di)+dj;return dh}function c1(dj){dj=String(dj);var dm=aB();var dk=dm.length;var dl=dj.substr(-1*dk,dk);var di=parseInt(dj.substr(0,dj.length-dk),10);if(di&&dl&&dl===dm){var dh=bf();if(aZ<=0){return true}if(dh>=di&&dh<=(di+aZ)){return true}}return false}function df(dh){if(!cM){return""}var dl=e(dh,av);if(!dl){return""}dl=String(dl);var dj=new RegExp("^[a-zA-Z0-9]+$");if(dl.length===32&&dj.test(dl)){var di=dl.substr(16,32);if(c1(di)){var dk=dl.substr(0,16);return dk}}return""}function cN(){if(!bO){bO=df(bN)}var dj=new Date(),dh=Math.round(dj.getTime()/1000),di=aT("id"),dm=aD(di),dl,dk; +if(dm){dl=dm.split(".");dl.unshift("0");if(bO.length){dl[1]=bO}return dl}if(bO.length){dk=bO}else{if("0"===b5()){dk=""}else{dk=cQ()}}dl=["1",dk,dh];return dl}function aY(){var dk=cN(),di=dk[0],dj=dk[1],dh=dk[2];return{newVisitor:di,uuid:dj,createTs:dh}}function aH(){var dk=new Date(),di=dk.getTime(),dl=aY().createTs;var dh=parseInt(dl,10);var dj=(dh*1000)+cJ-di;return dj}function aM(dh){if(!b6){return}var dj=new Date(),di=Math.round(dj.getTime()/1000);if(!J(dh)){dh=aY()}var dk=dh.uuid+"."+dh.createTs+".";dc(aT("id"),dk,aH(),bq,cW,bS)}function bM(){var dh=aD(aT("ref"));if(dh.length){try{dh=S.JSON.parse(dh);if(V(dh)){return dh}}catch(di){}}return["","",0,""]}function bx(di){var dh="testvalue";dc("test",dh,10000,null,di);if(aD("test")===dh){bY("test",null,di);return true}return false}function aF(){var di=bm;bm=false;var dh,dj;for(dh=0;dh<bv.length;dh++){dj=aT(bv[dh]);if(dj!==cL&&dj!==bd&&0!==aD(dj)){bY(dj,bq,cW)}}bm=di}function b3(dh){b6=dh}function dg(dl){if(!dl||!V(dl)){return}var dk=[]; +var dj;for(dj in dl){if(Object.prototype.hasOwnProperty.call(dl,dj)){dk.push(dj)}}var dm={};dk.sort();var dh=dk.length;var di;for(di=0;di<dh;di++){dm[dk[di]]=dl[dk[di]]}return dm}function cc(){dc(aT("ses"),"1",cm,bq,cW,bS)}function bg(){var dk="";var di="abcdefghijklmnopqrstuvwxyz0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ";var dj=di.length;var dh;for(dh=0;dh<6;dh++){dk+=di.charAt(Math.floor(Math.random()*dj))}return dk}function aA(dh){if(h&&h.timing&&h&&h.timing.connectEnd&&h.timing.fetchStart){dh+="&pf_net="+(h.timing.connectEnd-h.timing.fetchStart)}if(h&&h.timing&&h&&h.timing.responseStart&&h.timing.requestStart){dh+="&pf_srv="+(h.timing.responseStart-h.timing.requestStart)}if(h&&h.timing&&h&&h.timing.responseStart&&h.timing.responseEnd){dh+="&pf_tfr="+(h.timing.responseEnd-h.timing.responseStart)}if(h&&h.timing&&h&&h.timing.domInteractive&&h.timing.domLoading){dh+="&pf_dm1="+(h.timing.domInteractive-h.timing.domLoading)}if(h&&h.timing&&h&&h.timing.domComplete&&h.timing.domInteractive){dh+="&pf_dm2="+(h.timing.domComplete-h.timing.domInteractive) +}if(h&&h.timing&&h&&h.timing.loadEventEnd&&h.timing.loadEventStart){dh+="&pf_onl="+(h.timing.loadEventEnd-h.timing.loadEventStart)}return dh}function cq(dj,dE,dF){var dD,di=new Date(),dr=Math.round(di.getTime()/1000),dn,dB,dk=1024,dK,ds,dA=aQ,dl=aT("ses"),dy=aT("ref"),dv=aT("cvar"),dw=aD(dl),dC=bM(),dG=a4||bN,dp,dh;if(bm){aF()}if(cP){return""}var dx=aY();var du=G.characterSet||G.charset;if(!du||du.toLowerCase()==="utf-8"){du=null}dp=dC[0];dh=dC[1];dn=dC[2];dB=dC[3];if(!dw){if(!bw||!dp.length){for(dD in co){if(Object.prototype.hasOwnProperty.call(co,dD)){dp=e(dG,co[dD]);if(dp.length){break}}}for(dD in bH){if(Object.prototype.hasOwnProperty.call(bH,dD)){dh=e(dG,bH[dD]);if(dh.length){break}}}}dK=d(bo);ds=dB.length?d(dB):"";if(dK.length&&!aV(dK)&&(!bw||!ds.length||aV(ds))){dB=bo}if(dB.length||dp.length){dn=dr;dC=[dp,dh,dn,b2(dB.slice(0,dk))];dc(dy,S.JSON.stringify(dC),c4,bq,cW,bS)}}dj+="&idsite="+b6+"&rec=1&r="+String(Math.random()).slice(2,8)+"&h="+di.getHours()+"&m="+di.getMinutes()+"&s="+di.getSeconds()+"&url="+s(b2(dG))+(bo.length?"&urlref="+s(b2(bo)):"")+((bz&&bz.length)?"&uid="+s(bz):"")+"&_id="+dx.uuid+"&_idn="+dx.newVisitor+(dp.length?"&_rcn="+s(dp):"")+(dh.length?"&_rck="+s(dh):"")+"&_refts="+dn+(String(dB).length?"&_ref="+s(b2(dB.slice(0,dk))):"")+(du?"&cs="+s(du):"")+"&send_image=0"; +var dJ=cH();for(dD in dJ){if(Object.prototype.hasOwnProperty.call(dJ,dD)){dj+="&"+dD+"="+dJ[dD]}}var dI=[];if(dE){for(dD in dE){if(Object.prototype.hasOwnProperty.call(dE,dD)&&/^dimension\d+$/.test(dD)){var dm=dD.replace("dimension","");dI.push(parseInt(dm,10));dI.push(String(dm));dj+="&"+dD+"="+s(dE[dD]);delete dE[dD]}}}if(dE&&B(dE)){dE=null}for(dD in cr){if(Object.prototype.hasOwnProperty.call(cr,dD)){dj+="&"+dD+"="+s(cr[dD])}}for(dD in bn){if(Object.prototype.hasOwnProperty.call(bn,dD)){var dt=(-1===M(dI,dD));if(dt){dj+="&dimension"+dD+"="+s(bn[dD])}}}if(dE){dj+="&data="+s(S.JSON.stringify(dE))}else{if(ao){dj+="&data="+s(S.JSON.stringify(ao))}}function dq(dL,dM){var dN=S.JSON.stringify(dL);if(dN.length>2){return"&"+dM+"="+s(dN)}return""}var dH=dg(bW);var dz=dg(cl);dj+=dq(dH,"cvar");dj+=dq(dz,"e_cvar");if(aQ){dj+=dq(aQ,"_cvar");for(dD in dA){if(Object.prototype.hasOwnProperty.call(dA,dD)){if(aQ[dD][0]===""||aQ[dD][1]===""){delete aQ[dD]}}}if(bQ){dc(dv,S.JSON.stringify(aQ),cm,bq,cW,bS) +}}if(a2&&bF&&!bh){dj=aA(dj);bh=true}if(aL){dj+="&pv_id="+aL}aM(dx);cc();dj+=ac(dF,{tracker:bJ,request:dj});if(cY.length){dj+="&"+cY}if(A(cb)){dj=cb(dj)}return dj}bR=function a7(){var dh=new Date();dh=dh.getTime();if(!cX){return false}if(cX+a5<=dh){bJ.ping();return true}return false};function br(dk,dj,dp,dl,dh,ds){var dn="idgoal=0",di=new Date(),dq=[],dr,dm=String(dk).length;if(dm){dn+="&ec_id="+s(dk)}dn+="&revenue="+dj;if(String(dp).length){dn+="&ec_st="+dp}if(String(dl).length){dn+="&ec_tx="+dl}if(String(dh).length){dn+="&ec_sh="+dh}if(String(ds).length){dn+="&ec_dt="+ds}if(cZ){for(dr in cZ){if(Object.prototype.hasOwnProperty.call(cZ,dr)){if(!J(cZ[dr][1])){cZ[dr][1]=""}if(!J(cZ[dr][2])){cZ[dr][2]=""}if(!J(cZ[dr][3])||String(cZ[dr][3]).length===0){cZ[dr][3]=0}if(!J(cZ[dr][4])||String(cZ[dr][4]).length===0){cZ[dr][4]=1}dq.push(cZ[dr])}}dn+="&ec_items="+s(S.JSON.stringify(dq))}dn=cq(dn,ao,"ecommerce");bG(dn,bK);if(dm){cZ={}}}function bZ(dh,dl,dk,dj,di,dm){if(String(dh).length&&J(dl)){br(dh,dl,dk,dj,di,dm) +}}function bt(dh){if(J(dh)){br("",dh,"","","","")}}function b0(di,dk,dj){aL=bg();var dh=cq("action_name="+s(al(di||bj)),dk,"log");if(!bh){dh=aA(dh)}bG(dh,bK,dj)}function a0(dj,di){var dk,dh="(^| )(piwik[_-]"+di+"|matomo[_-]"+di;if(dj){for(dk=0;dk<dj.length;dk++){dh+="|"+dj[dk]}}dh+=")( |$)";return new RegExp(dh)}function aU(dh){return(aE&&dh&&0===String(dh).indexOf(aE))}function ct(dl,dh,dm,di){if(aU(dh)){return 0}var dk=a0(bL,"download"),dj=a0(a8,"link"),dn=new RegExp("\\.("+c5.join("|")+")([?&#]|$)","i");if(dj.test(dl)){return"link"}if(di||dk.test(dl)||dn.test(dh)){return"download"}if(dm){return 0}return"link"}function au(di){var dh;dh=di.parentNode;while(dh!==null&&J(dh)){if(ae.isLinkElement(di)){break}di=dh;dh=di.parentNode}return di}function da(dm){dm=au(dm);if(!ae.hasNodeAttribute(dm,"href")){return}if(!J(dm.href)){return}var dl=ae.getAttributeValueFromNode(dm,"href");var di=dm.pathname||ck(dm.href);var dn=dm.hostname||d(dm.href);var dp=dn.toLowerCase();var dj=dm.href.replace(dn,dp); +var dk=new RegExp("^(javascript|vbscript|jscript|mocha|livescript|ecmascript|mailto|tel):","i");if(!dk.test(dj)){var dh=ct(dm.className,dj,ar(dp,di),ae.hasNodeAttribute(dm,"download"));if(dh){return{type:dh,href:dj}}}}function aP(dh,di,dj,dk){var dl=v.buildInteractionRequestParams(dh,di,dj,dk);if(!dl){return}return cq(dl,null,"contentInteraction")}function bb(dh,di){if(!dh||!di){return false}var dj=v.findTargetNode(dh);if(v.shouldIgnoreInteraction(dj)){return false}dj=v.findTargetNodeNoDefault(dh);if(dj&&!U(dj,di)){return false}return true}function cs(dj,di,dl){if(!dj){return}var dh=v.findParentContentNode(dj);if(!dh){return}if(!bb(dh,dj)){return}var dk=v.buildContentBlock(dh);if(!dk){return}if(!dk.target&&dl){dk.target=dl}return v.buildInteractionRequestParams(di,dk.name,dk.piece,dk.target)}function aW(di){if(!ca||!ca.length){return false}var dh,dj;for(dh=0;dh<ca.length;dh++){dj=ca[dh];if(dj&&dj.name===di.name&&dj.piece===di.piece&&dj.target===di.target){return true}}return false}function aX(dh){return function(dl){if(!dh){return +}var dj=v.findParentContentNode(dh);var di;if(dl){di=dl.target||dl.srcElement}if(!di){di=dh}if(!bb(dj,di)){return}if(!dj){return false}var dm=v.findTargetNode(dj);if(!dm||v.shouldIgnoreInteraction(dm)){return false}var dk=da(dm);if(c7&&dk&&dk.type){return dk.type}return bJ.trackContentInteractionNode(di,"click")}}function b1(dj){if(!dj||!dj.length){return}var dh,di;for(dh=0;dh<dj.length;dh++){di=v.findTargetNode(dj[dh]);if(di&&!di.contentInteractionTrackingSetupDone){di.contentInteractionTrackingSetupDone=true;an(di,"click",aX(di))}}}function by(dj,dk){if(!dj||!dj.length){return[]}var dh,di;for(dh=0;dh<dj.length;dh++){if(aW(dj[dh])){dj.splice(dh,1);dh--}else{ca.push(dj[dh])}}if(!dj||!dj.length){return[]}b1(dk);var dl=[];for(dh=0;dh<dj.length;dh++){di=cq(v.buildImpressionRequestParams(dj[dh].name,dj[dh].piece,dj[dh].target),undefined,"contentImpressions");if(di){dl.push(di)}}return dl}function cy(di){var dh=v.collectContent(di);return by(dh,di)}function a9(di){if(!di||!di.length){return[] +}var dh;for(dh=0;dh<di.length;dh++){if(!v.isNodeVisible(di[dh])){di.splice(dh,1);dh--}}if(!di||!di.length){return[]}return cy(di)}function aG(dj,dh,di){var dk=v.buildImpressionRequestParams(dj,dh,di);return cq(dk,null,"contentImpression")}function c9(dk,di){if(!dk){return}var dh=v.findParentContentNode(dk);var dj=v.buildContentBlock(dh);if(!dj){return}if(!di){di="Unknown"}return aP(di,dj.name,dj.piece,dj.target)}function cO(di,dk,dh,dj){return"e_c="+s(di)+"&e_a="+s(dk)+(J(dh)?"&e_n="+s(dh):"")+(J(dj)?"&e_v="+s(dj):"")}function at(dj,dl,dh,dk,dn,dm){if(!Y(dj)||!Y(dl)){ak("Error while logging event: Parameters `category` and `action` must not be empty or filled with whitespaces");return false}var di=cq(cO(dj,dl,dh,dk),dn,"event");bG(di,bK,dm)}function b8(dh,dk,di,dl){var dj=cq("search="+s(dh)+(dk?"&search_cat="+s(dk):"")+(J(di)?"&search_count="+di:""),dl,"sitesearch");bG(dj,bK)}function cS(dh,dl,dk,dj){var di=cq("idgoal="+dh+(dl?"&revenue="+dl:""),dk,"goal");bG(di,bK,dj)}function c0(dk,dh,dp,dn,dj){var dm=dh+"="+s(b2(dk)); +var di=cs(dj,"click",dk);if(di){dm+="&"+di}var dl=cq(dm,dp,"link");bG(dl,bK,dn)}function bU(di,dh){if(di!==""){return di+dh.charAt(0).toUpperCase()+dh.slice(1)}return dh}function cg(dm){var dl,dh,dk=["","webkit","ms","moz"],dj;if(!be){for(dh=0;dh<dk.length;dh++){dj=dk[dh];if(Object.prototype.hasOwnProperty.call(G,bU(dj,"hidden"))){if(G[bU(dj,"visibilityState")]==="prerender"){dl=true}break}}}if(dl){an(G,dj+"visibilitychange",function di(){G.removeEventListener(dj+"visibilitychange",di,false);dm()});return}dm()}function bs(){var di=bJ.getVisitorId();var dh=aJ();return di+dh}function ci(dh){if(!dh){return}if(!ae.hasNodeAttribute(dh,"href")){return}var di=ae.getAttributeValueFromNode(dh,"href");if(!di||aU(di)){return}if(!bJ.getVisitorId()){return}di=j(di,av);var dj=bs();di=F(di,av,dj);ae.setAnyAttribute(dh,"href",di)}function bl(dk){var dl=ae.getAttributeValueFromNode(dk,"href");if(!dl){return false}dl=String(dl);var di=dl.indexOf("//")===0||dl.indexOf("http://")===0||dl.indexOf("https://")===0; +if(!di){return false}var dh=dk.pathname||ck(dk.href);var dj=(dk.hostname||d(dk.href)).toLowerCase();if(ar(dj,dh)){if(!cG(cT,L(dj))){return true}return false}return false}function cF(dh){var di=da(dh);if(di&&di.type){di.href=o(di.href);c0(di.href,di.type,undefined,null,dh);return}if(cM){dh=au(dh);if(bl(dh)){ci(dh)}}}function cu(){return G.all&&!G.addEventListener}function cU(dh){var dj=dh.which;var di=(typeof dh.button);if(!dj&&di!=="undefined"){if(cu()){if(dh.button&1){dj=1}else{if(dh.button&2){dj=3}else{if(dh.button&4){dj=2}}}}else{if(dh.button===0||dh.button==="0"){dj=1}else{if(dh.button&1){dj=2}else{if(dh.button&2){dj=3}}}}}return dj}function bT(dh){switch(cU(dh)){case 1:return"left";case 2:return"middle";case 3:return"right"}}function a1(dh){return dh.target||dh.srcElement}function aC(dh){return function(dk){dk=dk||S.event;var dj=bT(dk);var dl=a1(dk);if(dk.type==="click"){var di=false;if(dh&&dj==="middle"){di=true}if(dl&&!di){cF(dl)}}else{if(dk.type==="mousedown"){if(dj==="middle"&&dl){aR=dj; +bB=dl}else{aR=bB=null}}else{if(dk.type==="mouseup"){if(dj===aR&&dl===bB){cF(dl)}aR=bB=null}else{if(dk.type==="contextmenu"){cF(dl)}}}}}}function aq(dj,di){var dh=typeof di;if(dh==="undefined"){di=true}an(dj,"click",aC(di),false);if(di){an(dj,"mouseup",aC(di),false);an(dj,"mousedown",aC(di),false);an(dj,"contextmenu",aC(di),false)}}function bE(dj,dl){ap=true;var dk,di=a0(bA,"ignore"),dm=G.links,dh=null,dn=null;if(dm){for(dk=0;dk<dm.length;dk++){dh=dm[dk];if(!di.test(dh.className)){dn=typeof dh.matomoTrackers;if("undefined"===dn){dh.matomoTrackers=[]}if(-1===M(dh.matomoTrackers,dl)){dh.matomoTrackers.push(dl);aq(dh,dj)}}}}}function aS(di,dl,dm){if(ce){return true}ce=true;var dn=false;var dk,dj;function dh(){dn=true}m(function(){function dp(dr){setTimeout(function(){if(!ce){return}dn=false;dm.trackVisibleContentImpressions();dp(dr)},dr)}function dq(dr){setTimeout(function(){if(!ce){return}if(dn){dn=false;dm.trackVisibleContentImpressions()}dq(dr)},dr)}if(di){dk=["scroll","resize"];for(dj=0; +dj<dk.length;dj++){if(G.addEventListener){G.addEventListener(dk[dj],dh,false)}else{S.attachEvent("on"+dk[dj],dh)}}dq(100)}if(dl&&dl>0){dl=parseInt(dl,10);dp(dl)}})}var bD={enabled:true,requests:[],timeout:null,interval:2500,sendRequests:function(){var dh=this.requests;this.requests=[];if(dh.length===1){bG(dh[0],bK)}else{dd(dh,bK)}},canQueue:function(){return !l&&this.enabled},pushMultiple:function(di){if(!this.canQueue()){dd(di,bK);return}var dh;for(dh=0;dh<di.length;dh++){this.push(di[dh])}},push:function(dh){if(!dh){return}if(!this.canQueue()){bG(dh,bK);return}bD.requests.push(dh);if(this.timeout){clearTimeout(this.timeout);this.timeout=null}this.timeout=setTimeout(function(){bD.timeout=null;bD.sendRequests()},bD.interval);var di="RequestQueue"+ax;if(!Object.prototype.hasOwnProperty.call(b,di)){b[di]={unload:function(){if(bD.timeout){clearTimeout(bD.timeout)}bD.sendRequests()}}}}};bi();aM();this.hasConsent=function(){return bC};this.getVisitorId=function(){return aY().uuid};this.getVisitorInfo=function(){return cN() +};this.getAttributionInfo=function(){return bM()};this.getAttributionCampaignName=function(){return bM()[0]};this.getAttributionCampaignKeyword=function(){return bM()[1]};this.getAttributionReferrerTimestamp=function(){return bM()[2]};this.getAttributionReferrerUrl=function(){return bM()[3]};this.setTrackerUrl=function(dh){aE=dh};this.getTrackerUrl=function(){return aE};this.getMatomoUrl=function(){return W(this.getTrackerUrl(),bI)};this.getPiwikUrl=function(){return this.getMatomoUrl()};this.addTracker=function(dj,di){if(!J(dj)||null===dj){dj=this.getTrackerUrl()}var dh=new P(dj,di);I.push(dh);t.trigger("TrackerAdded",[this]);return dh};this.getSiteId=function(){return b6};this.setSiteId=function(dh){b3(dh)};this.resetUserId=function(){bz=""};this.setUserId=function(dh){if(Y(dh)){bz=dh}};this.setVisitorId=function(di){var dh=/[0-9A-Fa-f]{16}/g;if(w(di)&&dh.test(di)){bO=di}else{ak("Invalid visitorId set"+di)}};this.getUserId=function(){return bz};this.setCustomData=function(dh,di){if(V(dh)){ao=dh +}else{if(!ao){ao={}}ao[dh]=di}};this.getCustomData=function(){return ao};this.setCustomRequestProcessing=function(dh){cb=dh};this.appendToTrackingUrl=function(dh){cY=dh};this.getRequest=function(dh){return cq(dh)};this.addPlugin=function(dh,di){b[dh]=di};this.setCustomDimension=function(dh,di){dh=parseInt(dh,10);if(dh>0){if(!J(di)){di=""}if(!w(di)){di=String(di)}bn[dh]=di}};this.getCustomDimension=function(dh){dh=parseInt(dh,10);if(dh>0&&Object.prototype.hasOwnProperty.call(bn,dh)){return bn[dh]}};this.deleteCustomDimension=function(dh){dh=parseInt(dh,10);if(dh>0){delete bn[dh]}};this.setCustomVariable=function(di,dh,dl,dj){var dk;if(!J(dj)){dj="visit"}if(!J(dh)){return}if(!J(dl)){dl=""}if(di>0){dh=!w(dh)?String(dh):dh;dl=!w(dl)?String(dl):dl;dk=[dh.slice(0,bu),dl.slice(0,bu)];if(dj==="visit"||dj===2){cE();aQ[di]=dk}else{if(dj==="page"||dj===3){bW[di]=dk}else{if(dj==="event"){cl[di]=dk}}}}};this.getCustomVariable=function(di,dj){var dh;if(!J(dj)){dj="visit"}if(dj==="page"||dj===3){dh=bW[di] +}else{if(dj==="event"){dh=cl[di]}else{if(dj==="visit"||dj===2){cE();dh=aQ[di]}}}if(!J(dh)||(dh&&dh[0]==="")){return false}return dh};this.deleteCustomVariable=function(dh,di){if(this.getCustomVariable(dh,di)){this.setCustomVariable(dh,"","",di)}};this.deleteCustomVariables=function(dh){if(dh==="page"||dh===3){bW={}}else{if(dh==="event"){cl={}}else{if(dh==="visit"||dh===2){aQ={}}}}};this.storeCustomVariablesInCookie=function(){bQ=true};this.setLinkTrackingTimer=function(dh){bK=dh};this.getLinkTrackingTimer=function(){return bK};this.setDownloadExtensions=function(dh){if(w(dh)){dh=dh.split("|")}c5=dh};this.addDownloadExtensions=function(di){var dh;if(w(di)){di=di.split("|")}for(dh=0;dh<di.length;dh++){c5.push(di[dh])}};this.removeDownloadExtensions=function(dj){var di,dh=[];if(w(dj)){dj=dj.split("|")}for(di=0;di<c5.length;di++){if(M(dj,c5[di])===-1){dh.push(c5[di])}}c5=dh};this.setDomains=function(dh){ay=w(dh)?[dh]:dh;var dl=false,dj=0,di;for(dj;dj<ay.length;dj++){di=String(ay[dj]);if(cG(cT,L(di))){dl=true; +break}var dk=ck(di);if(dk&&dk!=="/"&&dk!=="/*"){dl=true;break}}if(!dl){ay.push(cT)}};this.enableCrossDomainLinking=function(){cM=true};this.disableCrossDomainLinking=function(){cM=false};this.isCrossDomainLinkingEnabled=function(){return cM};this.setCrossDomainLinkingTimeout=function(dh){aZ=dh};this.getCrossDomainLinkingUrlParameter=function(){return s(av)+"="+s(bs())};this.setIgnoreClasses=function(dh){bA=w(dh)?[dh]:dh};this.setRequestMethod=function(dh){c8=dh||ch};this.setRequestContentType=function(dh){cv=dh||aI};this.setReferrerUrl=function(dh){bo=dh};this.setCustomUrl=function(dh){a4=bV(bN,dh)};this.getCurrentUrl=function(){return a4||bN};this.setDocumentTitle=function(dh){bj=dh};this.setAPIUrl=function(dh){bI=dh};this.setDownloadClasses=function(dh){bL=w(dh)?[dh]:dh};this.setLinkClasses=function(dh){a8=w(dh)?[dh]:dh};this.setCampaignNameKey=function(dh){co=w(dh)?[dh]:dh};this.setCampaignKeywordKey=function(dh){bH=w(dh)?[dh]:dh};this.discardHashTag=function(dh){bP=dh};this.setCookieNamePrefix=function(dh){bk=dh; +if(aQ){aQ=bX()}};this.setCookieDomain=function(dh){var di=L(dh);if(bx(di)){cW=di;bi()}};this.getCookieDomain=function(){return cW};this.hasCookies=function(){return"1"===b5()};this.setSessionCookie=function(dj,di,dh){if(!dj){throw new Error("Missing cookie name")}if(!J(dh)){dh=cm}bv.push(dj);dc(aT(dj),di,dh,bq,cW)};this.getCookie=function(di){var dh=aD(aT(di));if(dh===0){return null}return dh};this.setCookiePath=function(dh){bq=dh;bi()};this.getCookiePath=function(dh){return bq};this.setVisitorCookieTimeout=function(dh){cJ=dh*1000};this.setSessionCookieTimeout=function(dh){cm=dh*1000};this.getSessionCookieTimeout=function(){return cm};this.setReferralCookieTimeout=function(dh){c4=dh*1000};this.setConversionAttributionFirstReferrer=function(dh){bw=dh};this.setSecureCookie=function(dh){bS=dh};this.disableCookies=function(){bm=true;if(b6){aF()}};this.areCookiesEnabled=function(){return !bm};this.setCookieConsentGiven=function(){if(bm&&!cP){bm=false;if(b6&&aw){aM();var dh=cq("ping=1",null,"ping"); +bG(dh,bK)}}};this.requireCookieConsent=function(){if(this.getRememberedCookieConsent()){return false}this.disableCookies();return true};this.getRememberedCookieConsent=function(){return aD(cC)};this.forgetCookieConsentGiven=function(){bY(cC,bq,cW);this.disableCookies()};this.rememberCookieConsentGiven=function(di){if(di){di=di*60*60*1000}else{di=30*365*24*60*60*1000}this.setCookieConsentGiven();var dh=new Date().getTime();dc(cC,dh,di,bq,cW,bS)};this.deleteCookies=function(){aF()};this.setDoNotTrack=function(di){var dh=g.doNotTrack||g.msDoNotTrack;cP=di&&(dh==="yes"||dh==="1");if(cP){this.disableCookies()}};this.alwaysUseSendBeacon=function(){cV=true};this.disableAlwaysUseSendBeacon=function(){cV=false};this.addListener=function(di,dh){aq(di,dh)};this.enableLinkTracking=function(di){c7=true;var dh=this;cg(function(){p(function(){bE(di,dh)});m(function(){bE(di,dh)})})};this.enableJSErrorTracking=function(){if(cR){return}cR=true;var dh=S.onerror;S.onerror=function(dm,dk,dj,dl,di){cg(function(){var dn="JavaScript Errors"; +var dp=dk+":"+dj;if(dl){dp+=":"+dl}at(dn,dp,dm)});if(dh){return dh(dm,dk,dj,dl,di)}return false}};this.disablePerformanceTracking=function(){a2=false};this.enableHeartBeatTimer=function(dh){dh=Math.max(dh||15,5);a5=dh*1000;if(cX!==null){de()}};this.disableHeartBeatTimer=function(){if(a5||aN){if(S.removeEventListener){S.removeEventListener("focus",ba);S.removeEventListener("blur",az)}else{if(S.detachEvent){S.detachEvent("onfocus",ba);S.detachEvent("onblur",az)}}}a5=null;aN=false};this.killFrame=function(){if(S.location!==S.top.location){S.top.location=S.location}};this.redirectFile=function(dh){if(S.location.protocol==="file:"){S.location=dh}};this.setCountPreRendered=function(dh){be=dh};this.trackGoal=function(dh,dk,dj,di){cg(function(){cS(dh,dk,dj,di)})};this.trackLink=function(di,dh,dk,dj){cg(function(){c0(di,dh,dk,dj)})};this.getNumTrackedPageViews=function(){return cp};this.trackPageView=function(dh,dj,di){ca=[];cK=[];if(N(b6)){cg(function(){Z(aE,bI,b6)})}else{cg(function(){cp++;b0(dh,dj,di) +})}};this.trackAllContentImpressions=function(){if(N(b6)){return}cg(function(){p(function(){var dh=v.findContentNodes();var di=cy(dh);bD.pushMultiple(di)})})};this.trackVisibleContentImpressions=function(dh,di){if(N(b6)){return}if(!J(dh)){dh=true}if(!J(di)){di=750}aS(dh,di,this);cg(function(){m(function(){var dj=v.findContentNodes();var dk=a9(dj);bD.pushMultiple(dk)})})};this.trackContentImpression=function(dj,dh,di){if(N(b6)){return}dj=a(dj);dh=a(dh);di=a(di);if(!dj){return}dh=dh||"Unknown";cg(function(){var dk=aG(dj,dh,di);bD.push(dk)})};this.trackContentImpressionsWithinNode=function(dh){if(N(b6)||!dh){return}cg(function(){if(ce){m(function(){var di=v.findContentNodesWithinNode(dh);var dj=a9(di);bD.pushMultiple(dj)})}else{p(function(){var di=v.findContentNodesWithinNode(dh);var dj=cy(di);bD.pushMultiple(dj)})}})};this.trackContentInteraction=function(dj,dk,dh,di){if(N(b6)){return}dj=a(dj);dk=a(dk);dh=a(dh);di=a(di);if(!dj||!dk){return}dh=dh||"Unknown";cg(function(){var dl=aP(dj,dk,dh,di); +if(dl){bD.push(dl)}})};this.trackContentInteractionNode=function(dj,di){if(N(b6)||!dj){return}var dh=null;cg(function(){dh=c9(dj,di);if(dh){bD.push(dh)}});return dh};this.logAllContentBlocksOnPage=function(){var dj=v.findContentNodes();var dh=v.collectContent(dj);var di=typeof console;if(di!=="undefined"&&console&&console.log){console.log(dh)}};this.trackEvent=function(di,dk,dh,dj,dm,dl){cg(function(){at(di,dk,dh,dj,dm,dl)})};this.trackSiteSearch=function(dh,dj,di,dk){ca=[];cg(function(){b8(dh,dj,di,dk)})};this.setEcommerceView=function(dl,dh,dj,di){cr={};if(Y(dj)){dj=String(dj)}if(!J(dj)||dj===null||dj===false||!dj.length){dj=""}else{if(dj instanceof Array){dj=S.JSON.stringify(dj)}}var dk="_pkc";cr[dk]=dj;if(J(di)&&di!==null&&di!==false&&String(di).length){dk="_pkp";cr[dk]=di}if(!Y(dl)&&!Y(dh)){return}if(Y(dl)){dk="_pks";cr[dk]=dl}if(!Y(dh)){dh=""}dk="_pkn";cr[dk]=dh};this.getEcommerceItems=function(){return JSON.parse(JSON.stringify(cZ))};this.addEcommerceItem=function(dl,dh,dj,di,dk){if(Y(dl)){cZ[dl]=[String(dl),dh,dj,di,dk] +}};this.removeEcommerceItem=function(dh){if(Y(dh)){dh=String(dh);delete cZ[dh]}};this.clearEcommerceCart=function(){cZ={}};this.trackEcommerceOrder=function(dh,dl,dk,dj,di,dm){bZ(dh,dl,dk,dj,di,dm)};this.trackEcommerceCartUpdate=function(dh){bt(dh)};this.trackRequest=function(di,dk,dj,dh){cg(function(){var dl=cq(di,dk,dh);bG(dl,bK,dj)})};this.ping=function(){this.trackRequest("ping=1",null,null,"ping")};this.disableQueueRequest=function(){bD.enabled=false};this.setRequestQueueInterval=function(dh){if(dh<1000){throw new Error("Request queue interval needs to be at least 1000ms")}bD.interval=dh};this.queueRequest=function(dh){cg(function(){var di=cq(dh);bD.push(di)})};this.isConsentRequired=function(){return cz};this.getRememberedConsent=function(){var dh=aD(bd);if(aD(cL)){if(dh){bY(bd,bq,cW)}return null}if(!dh||dh===0){return null}return dh};this.hasRememberedConsent=function(){return !!this.getRememberedConsent()};this.requireConsent=function(){cz=true;bC=this.hasRememberedConsent();if(!bC){bm=true +}x++;b["CoreConsent"+x]={unload:function(){if(!bC){aF()}}}};this.setConsentGiven=function(di){bC=true;bY(cL,bq,cW);var dj,dh;for(dj=0;dj<cK.length;dj++){dh=typeof cK[dj];if(dh==="string"){bG(cK[dj],bK)}else{if(dh==="object"){dd(cK[dj],bK)}}}cK=[];if(!J(di)||di){this.setCookieConsentGiven()}};this.rememberConsentGiven=function(dj){if(dj){dj=dj*60*60*1000}else{dj=30*365*24*60*60*1000}var dh=true;this.setConsentGiven(dh);var di=new Date().getTime();dc(bd,di,dj,bq,cW,bS)};this.forgetConsentGiven=function(){var dh=30*365*24*60*60*1000;bY(bd,bq,cW);dc(cL,new Date().getTime(),dh,bq,cW,bS);this.forgetCookieConsentGiven();this.requireConsent()};this.isUserOptedOut=function(){return !bC};this.optUserOut=this.forgetConsentGiven;this.forgetUserOptOut=function(){this.setConsentGiven(false)};m(function(){setTimeout(function(){bF=true},0)});t.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 Matomo trackers documentation: https://developer.matomo.org/guides/tracking-javascript-guide#multiple-piwik-trackers')}av[ap]++}}}}return au}var C=["addTracker","forgetCookieConsentGiven","requireCookieConsent","disableCookies","setTrackerUrl","setAPIUrl","enableCrossDomainLinking","setCrossDomainLinkingTimeout","setSessionCookieTimeout","setVisitorCookieTimeout","setCookieNamePrefix","setSecureCookie","setCookiePath","setCookieDomain","setDomains","setUserId","setVisitorId","setSiteId","alwaysUseSendBeacon","enableLinkTracking","setCookieConsentGiven","requireConsent","setConsentGiven"];function ad(aq,ap){var ao=new P(aq,ap);I.push(ao);_paq=c(_paq,C);for(E=0;E<_paq.length;E++){if(_paq[E]){af(_paq[E])}}_paq=new H();t.trigger("TrackerAdded",[ao]); +return ao}an(S,"beforeunload",ai,false);an(S,"message",function(au){if(!au||!au.origin){return}var aw,ar,ap;var ax=d(au.origin);var at=t.getAsyncTrackers();for(ar=0;ar<at.length;ar++){ap=d(at[ar].getMatomoUrl());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.getMatomoUrl(),maq_optout_by_default:aw.isConsentRequired()})}else{if(J(aq.maq_opted_in)){at=t.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.getMatomoUrl(),maq_optout_by_default:aw.isConsentRequired()}) }}},false);Date.prototype.getTimeAlias=Date.prototype.getTime;t={initialized:false,JSON:S.JSON,DOM:{addEventListener:function(ar,aq,ap,ao){var at=typeof ao;if(at==="undefined"){ao=false}an(ar,aq,ap,ao)},onLoad:m,onReady:p,isNodeVisible:i,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||S,ar)}},addPlugin:function(ao,ap){b[ao]=ap},getTracker:function(ap,ao){if(!J(ao)){ao=this.getAsyncTracker().getSiteId()}if(!J(ap)){ap=this.getAsyncTracker().getTrackerUrl()}return new P(ap,ao)},getAsyncTrackers:function(){return I},addTracker:function(aq,ap){var ao;if(!I.length){ao=ad(aq,ap)}else{ao=I[0].addTracker(aq,ap)}return ao},getAsyncTracker:function(at,ar){var aq;if(I&&I.length&&I[0]){aq=I[0]}else{return ad(at,ar)}if(!ar&&!at){return aq}if((!J(ar)||null===ar)&&aq){ar=aq.getSiteId() }if((!J(at)||null===at)&&aq){at=aq.getTrackerUrl()}var ap,ao=0;for(ao;ao<I.length;ao++){ap=I[ao];if(ap&&String(ap.getSiteId())===String(ar)&&ap.getTrackerUrl()===at){return ap}}},retryMissedPluginCalls:function(){var ap=ah;ah=[];var ao=0;for(ao;ao<ap.length;ao++){af(ap[ao])}}};if(typeof define==="function"&&define.amd){define("piwik",[],function(){return t});define("matomo",[],function(){return t})}return t}())} /*!!! pluginTrackerHook */ @@ -29,40 +29,40 @@ ao=ae.findFirstNodeHavingAttribute(ap,this.CONTENT_PIECE_ATTR);if(!ao){ao=ae.fin },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||S.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(ao){if(ae.hasNodeAttribute(ao,this.CONTENT_IGNOREINTERACTION_ATTR)){return true}if(ae.hasNodeCssClass(ao,this.CONTENT_IGNOREINTERACTION_CLASS)){return true}if(ae.hasNodeCssClass(ao,this.LEGACY_CONTENT_IGNOREINTERACTION_CLASS)){return true}return false}};function W(ap,at){if(at){return at}ap=v.toAbsoluteUrl(ap);if(z(ap,"?")){var ar=ap.indexOf("?");ap=ap.slice(0,ar)}if(Q(ap,"matomo.php")){ap=f(ap,"matomo.php".length) }else{if(Q(ap,"piwik.php")){ap=f(ap,"piwik.php".length)}else{if(Q(ap,".php")){var ao=ap.lastIndexOf("/");var aq=1;ap=ap.slice(0,ao+aq)}}}if(Q(ap,"/js/")){ap=f(ap,"js/".length)}return ap}function N(av){var ax="Matomo_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)}}S.name=ax+"###"+au+"###"+ao+"###"+ar}var aw=S.name.split("###");return aw.length===4&&aw[0]===ax}function Z(ap,av,aq){var au=S.name.split("###"),at=au[1],ao=au[2],ar=au[3],aw=W(ap,av);n(aw+"plugins/Overlay/client/client.js?v=1",function(){Matomo_Overlay_Client.initialize(aw,aq,at,ao,ar)})}function u(){var aq;try{aq=S.frameElement}catch(ap){return true}if(J(aq)){return(aq&&String(aq.nodeName).toLowerCase()==="iframe")?true:false}try{return S.self!==S.top -}catch(ao){return true}}function P(cd,b9){var bJ=this,bd="mtm_consent",cC="mtm_cookie_consent",cL="mtm_consent_removed",b4=aa(G.domain,S.location.href,K()),cT=L(b4[0]),bN=o(b4[1]),bo=o(b4[2]),cR=false,ch="GET",c9=ch,aI="application/x-www-form-urlencoded; charset=UTF-8",cv=aI,aE=cd||"",bI="",cY="",b6=b9||"",bz="",bO="",a4,bj="",c5=["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"],ay=[cT],bA=[],bL=[],a8=[],bK=500,cV=true,cI,a5,bR,c6=1800,bP,ao,co=["pk_campaign","mtm_campaign","piwik_campaign","matomo_campaign","utm_campaign","utm_source","utm_medium"],bH=["pk_kwd","mtm_kwd","piwik_kwd","matomo_kwd","utm_term"],bk="_pk_",av="pk_vid",aZ=180,cW,bq,bS=false,bm=false,cP,be,bw,cJ=33955200000,cm=1800000,c4=15768000000,a2=true,bF=false,bh=false,bQ=false,aQ=false,cb,bW={},cl={},bn={},bu=200,cr={},cZ={},c7={},ca=[],ce=false,cA=false,ap=false,c8=false,cM=false,aN=false,bc=u(),cw=null,cX=null,aR,bB,b7=am,bp,aL,cp=0,bv=["id","ses","cvar","ref"],cz=false,bC=null,cK=[],ax=T++,aw=false; -try{bj=G.title}catch(cx){bj=""}function dd(dp,dm,dl,dn,dk,dj){if(bm){return}var di;if(dl){di=new Date();di.setTime(di.getTime()+dl)}G.cookie=dp+"="+s(dm)+(dl?";expires="+di.toGMTString():"")+";path="+(dn||"/")+(dk?";domain="+dk:"")+(dj?";secure":"")+";SameSite=Lax"}function aD(dk){if(bm){return 0}var di=new RegExp("(^|;)[ ]*"+dk+"=([^;]*)"),dj=di.exec(G.cookie);return dj?R(dj[2]):0}bC=!aD(cL);function b2(di){var dj;di=j(di,av);if(bP){dj=new RegExp("#.*");return di.replace(dj,"")}return di}function bV(dk,di){var dl=r(di),dj;if(dl){return di}if(di.slice(0,1)==="/"){return r(dk)+"://"+d(dk)+di}dk=b2(dk);dj=dk.indexOf("?");if(dj>=0){dk=dk.slice(0,dj)}dj=dk.lastIndexOf("/");if(dj!==dk.length-1){dk=dk.slice(0,dj+1)}return dk+di}function cG(dk,di){var dj;dk=String(dk).toLowerCase();di=String(di).toLowerCase();if(dk===di){return true}if(di.slice(0,1)==="."){if(dk===di.slice(1)){return true}dj=dk.length-di.length;if((dj>0)&&(dk.slice(dj)===di)){return true}}return false}function ck(di){var dj=document.createElement("a"); -if(di.indexOf("//")!==0&&di.indexOf("http")!==0){if(di.indexOf("*")===0){di=di.substr(1)}if(di.indexOf(".")===0){di=di.substr(1)}di="http://"+di}dj.href=v.toAbsoluteUrl(di);if(dj.pathname){return dj.pathname}return""}function a3(dj,di){if(!aj(di,"/")){di="/"+di}if(!aj(dj,"/")){dj="/"+dj}var dk=(di==="/"||di==="/*");if(dk){return true}if(dj===di){return true}di=String(di).toLowerCase();dj=String(dj).toLowerCase();if(Q(di,"*")){di=di.slice(0,-1);dk=(!di||di==="/");if(dk){return true}if(dj===di){return true}return dj.indexOf(di)===0}if(!Q(dj,"/")){dj+="/"}if(!Q(di,"/")){di+="/"}return dj.indexOf(di)===0}function ar(dm,dp){var dj,di,dk,dl,dn;for(dj=0;dj<ay.length;dj++){dl=L(ay[dj]);dn=ck(ay[dj]);if(cG(dm,dl)&&a3(dp,dn)){return true}}return false}function aV(dl){var dj,di,dk;for(dj=0;dj<ay.length;dj++){di=L(ay[dj].toLowerCase());if(dl===di){return true}if(di.slice(0,1)==="."){if(dl===di.slice(1)){return true}dk=dl.length-di.length;if((dk>0)&&(dl.slice(dk)===di)){return true}}}return false}function cn(di,dk){di=di.replace("send_image=0","send_image=1"); -var dj=new Image(1,1);dj.onload=function(){E=0;if(typeof dk==="function"){dk({request:di,trackerUrl:aE,success:true})}};dj.onerror=function(){if(typeof dk==="function"){dk({request:di,trackerUrl:aE,success:false})}};dj.src=aE+(aE.indexOf("?")<0?"?":"&")+di}function cD(di){if(c9==="POST"){return true}return di&&(di.length>2000||di.indexOf('{"requests"')===0)}function aK(){return"object"===typeof g&&"function"===typeof g.sendBeacon&&"function"===typeof Blob}function a6(dm,dq,dp){var dk=aK();if(!dk){return false}var dl={type:"application/x-www-form-urlencoded; charset=UTF-8"};var dr=false;var dj=aE;try{var di=new Blob([dm],dl);if(dp&&!cD(dm)){di=new Blob([],dl);dj=dj+(dj.indexOf("?")<0?"?":"&")+dm}dr=g.sendBeacon(dj,di)}catch(dn){return false}if(dr&&typeof dq==="function"){dq({request:dm,trackerUrl:aE,success:true,isSendBeacon:true})}return dr}function c3(dj,dk,di){if(!J(di)||null===di){di=true}if(l&&a6(dj,dk,di)){return}setTimeout(function(){if(l&&a6(dj,dk,di)){return}var dn;try{var dm=S.XMLHttpRequest?new S.XMLHttpRequest():S.ActiveXObject?new ActiveXObject("Microsoft.XMLHTTP"):null; -dm.open("POST",aE,true);dm.onreadystatechange=function(){if(this.readyState===4&&!(this.status>=200&&this.status<300)){var dp=l&&a6(dj,dk,di);if(!dp&&di){cn(dj,dk)}else{if(typeof dk==="function"){dk({request:dj,trackerUrl:aE,success:false,xhr:this})}}}else{if(this.readyState===4&&(typeof dk==="function")){dk({request:dj,trackerUrl:aE,success:true,xhr:this})}}};dm.setRequestHeader("Content-Type",cv);dm.withCredentials=true;dm.send(dj)}catch(dl){dn=l&&a6(dj,dk,di);if(!dn&&di){cn(dj,dk)}else{if(typeof dk==="function"){dk({request:dj,trackerUrl:aE,success:false})}}}},50)}function cf(dj){var di=new Date();var dk=di.getTime()+dj;if(!q||dk>q){q=dk}}function ba(){bc=true;cw=new Date().getTime()}function dc(){var di=new Date().getTime();return !cw||(di-cw)>a5}function az(){if(dc()){bR()}}function df(){if(aN||!a5){return}aN=true;an(S,"focus",ba);an(S,"blur",az);ab++;t.addPlugin("HeartBeat"+ab,{unload:function(){if(aN&&dc()){bR()}}})}function cB(dm){var dj=new Date();var di=dj.getTime();cX=di;if(cA&&di<cA){var dk=cA-di; -setTimeout(dm,dk);cf(dk+50);cA+=50;return}if(cA===false){var dl=800;cA=di+dl}dm()}function aO(){if(aD(cL)){bC=false}else{if(aD(bd)){bC=true}}}function bG(dj,di,dk){aO();if(!bC){cK.push(dj);return}aw=true;if(!cP&&dj){if(cz&&bC){dj+="&consent=1"}cB(function(){if(cV&&a6(dj,dk,true)){cf(100);return}if(cD(dj)){c3(dj,dk)}else{cn(dj,dk)}cf(di)})}if(!aN){df()}}function cj(di){if(cP){return false}return(di&&di.length)}function c2(di,dm){if(!dm||dm>=di.length){return[di]}var dj=0;var dk=di.length;var dl=[];for(dj;dj<dk;dj+=dm){dl.push(di.slice(dj,dj+dm))}return dl}function de(dj,di){if(!cj(dj)){return}if(!bC){cK.push(dj);return}aw=true;cB(function(){var dm=c2(dj,50);var dk=0,dl;for(dk;dk<dm.length;dk++){dl='{"requests":["?'+dm[dk].join('","?')+'"]}';if(cV&&a6(dl,null,false)){cf(100)}else{c3(dl,null,false)}}cf(di)})}function aT(di){return bk+di+"."+b6+"."+bp}function bY(dk,dj,di){dd(dk,"",-86400,dj,di)}function b5(){if(bm){return"0"}if(!J(S.showModalDialog)&&J(g.cookieEnabled)){return g.cookieEnabled?"1":"0" -}var di=bk+"testcookie";dd(di,"1",undefined,bq,cW,bS);var dj=aD(di)==="1"?"1":"0";bY(di);return dj}function bi(){bp=b7((cW||cT)+(bq||"/")).slice(0,4)}function cH(){if(J(c7.res)){return c7}var dj,dl,dm={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(dj in dm){if(Object.prototype.hasOwnProperty.call(dm,dj)){dl=g.mimeTypes[dm[dj]];c7[dj]=(dl&&dl.enabledPlugin)?"1":"0"}}}if(!((new RegExp("Edge[ /](\\d+[\\.\\d]+)")).test(g.userAgent))&&typeof navigator.javaEnabled!=="unknown"&&J(g.javaEnabled)&&g.javaEnabled()){c7.java="1"}if(!J(S.showModalDialog)&&J(g.cookieEnabled)){c7.cookie=g.cookieEnabled?"1":"0"}else{c7.cookie=b5()}}var dk=parseInt(X.width,10);var di=parseInt(X.height,10);c7.res=parseInt(dk,10)+"x"+parseInt(di,10);return c7}function bX(){var dj=aT("cvar"),di=aD(dj); -if(di&&di.length){di=S.JSON.parse(di);if(V(di)){return di}}return{}}function cE(){if(aQ===false){aQ=bX()}}function cQ(){var di=cH();return b7((g.userAgent||"")+(g.platform||"")+S.JSON.stringify(di)+(new Date()).getTime()+Math.random()).slice(0,16)}function aB(){var di=cH();return b7((g.userAgent||"")+(g.platform||"")+S.JSON.stringify(di)).slice(0,6)}function bf(){return Math.floor((new Date()).getTime()/1000)}function aJ(){var dj=bf();var dk=aB();var di=String(dj)+dk;return di}function c1(dk){dk=String(dk);var dn=aB();var dl=dn.length;var dm=dk.substr(-1*dl,dl);var dj=parseInt(dk.substr(0,dk.length-dl),10);if(dj&&dm&&dm===dn){var di=bf();if(aZ<=0){return true}if(di>=dj&&di<=(dj+aZ)){return true}}return false}function dg(di){if(!cM){return""}var dm=e(di,av);if(!dm){return""}dm=String(dm);var dk=new RegExp("^[a-zA-Z0-9]+$");if(dm.length===32&&dk.test(dm)){var dj=dm.substr(16,32);if(c1(dj)){var dl=dm.substr(0,16);return dl}}return""}function cN(){if(!bO){bO=dg(bN)}var dk=new Date(),di=Math.round(dk.getTime()/1000),dj=aT("id"),dn=aD(dj),dm,dl; -if(dn){dm=dn.split(".");dm.unshift("0");if(bO.length){dm[1]=bO}return dm}if(bO.length){dl=bO}else{if("0"===b5()){dl=""}else{dl=cQ()}}dm=["1",dl,di];return dm}function aY(){var dl=cN(),dj=dl[0],dk=dl[1],di=dl[2];return{newVisitor:dj,uuid:dk,createTs:di}}function aH(){var dl=new Date(),dj=dl.getTime(),dm=aY().createTs;var di=parseInt(dm,10);var dk=(di*1000)+cJ-dj;return dk}function aM(di){if(!b6){return}var dk=new Date(),dj=Math.round(dk.getTime()/1000);if(!J(di)){di=aY()}var dl=di.uuid+"."+di.createTs+".";dd(aT("id"),dl,aH(),bq,cW,bS)}function bM(){var di=aD(aT("ref"));if(di.length){try{di=S.JSON.parse(di);if(V(di)){return di}}catch(dj){}}return["","",0,""]}function bx(dj){var di="testvalue";dd("test",di,10000,null,dj);if(aD("test")===di){bY("test",null,dj);return true}return false}function aF(){var dj=bm;bm=false;var di,dk;for(di=0;di<bv.length;di++){dk=aT(bv[di]);if(dk!==cL&&dk!==bd&&0!==aD(dk)){bY(dk,bq,cW)}}bm=dj}function b3(di){b6=di}function dh(dm){if(!dm||!V(dm)){return}var dl=[]; -var dk;for(dk in dm){if(Object.prototype.hasOwnProperty.call(dm,dk)){dl.push(dk)}}var dn={};dl.sort();var di=dl.length;var dj;for(dj=0;dj<di;dj++){dn[dl[dj]]=dm[dl[dj]]}return dn}function cc(){dd(aT("ses"),"1",cm,bq,cW,bS)}function bg(){var dl="";var dj="abcdefghijklmnopqrstuvwxyz0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ";var dk=dj.length;var di;for(di=0;di<6;di++){dl+=dj.charAt(Math.floor(Math.random()*dk))}return dl}function aA(di){if(h&&h.timing&&h&&h.timing.connectEnd&&h.timing.fetchStart){di+="&pf_net="+(h.timing.connectEnd-h.timing.fetchStart)}if(h&&h.timing&&h&&h.timing.responseStart&&h.timing.requestStart){di+="&pf_srv="+(h.timing.responseStart-h.timing.requestStart)}if(h&&h.timing&&h&&h.timing.responseStart&&h.timing.responseEnd){di+="&pf_tfr="+(h.timing.responseEnd-h.timing.responseStart)}if(h&&h.timing&&h&&h.timing.domInteractive&&h.timing.domLoading){di+="&pf_dm1="+(h.timing.domInteractive-h.timing.domLoading)}if(h&&h.timing&&h&&h.timing.domComplete&&h.timing.domInteractive){di+="&pf_dm2="+(h.timing.domComplete-h.timing.domInteractive) -}if(h&&h.timing&&h&&h.timing.loadEventEnd&&h.timing.loadEventStart){di+="&pf_onl="+(h.timing.loadEventEnd-h.timing.loadEventStart)}return di}function cq(dk,dF,dG){var dE,dj=new Date(),ds=Math.round(dj.getTime()/1000),dp,dC,dl=1024,dL,dt,dB=aQ,dm=aT("ses"),dz=aT("ref"),dw=aT("cvar"),dx=aD(dm),dD=bM(),dH=a4||bN,dq,di;if(bm){aF()}if(cP){return""}var dy=aY();var dv=G.characterSet||G.charset;if(!dv||dv.toLowerCase()==="utf-8"){dv=null}dq=dD[0];di=dD[1];dp=dD[2];dC=dD[3];if(!dx){if(!bw||!dq.length){for(dE in co){if(Object.prototype.hasOwnProperty.call(co,dE)){dq=e(dH,co[dE]);if(dq.length){break}}}for(dE in bH){if(Object.prototype.hasOwnProperty.call(bH,dE)){di=e(dH,bH[dE]);if(di.length){break}}}}dL=d(bo);dt=dC.length?d(dC):"";if(dL.length&&!aV(dL)&&(!bw||!dt.length||aV(dt))){dC=bo}if(dC.length||dq.length){dp=ds;dD=[dq,di,dp,b2(dC.slice(0,dl))];dd(dz,S.JSON.stringify(dD),c4,bq,cW,bS)}}dk+="&idsite="+b6+"&rec=1&r="+String(Math.random()).slice(2,8)+"&h="+dj.getHours()+"&m="+dj.getMinutes()+"&s="+dj.getSeconds()+"&url="+s(b2(dH))+(bo.length?"&urlref="+s(b2(bo)):"")+((bz&&bz.length)?"&uid="+s(bz):"")+"&_id="+dy.uuid+"&_idn="+dy.newVisitor+(dq.length?"&_rcn="+s(dq):"")+(di.length?"&_rck="+s(di):"")+"&_refts="+dp+(String(dC).length?"&_ref="+s(b2(dC.slice(0,dl))):"")+(dv?"&cs="+s(dv):"")+"&send_image=0"; -var dK=cH();for(dE in dK){if(Object.prototype.hasOwnProperty.call(dK,dE)){dk+="&"+dE+"="+dK[dE]}}var dJ=[];if(dF){for(dE in dF){if(Object.prototype.hasOwnProperty.call(dF,dE)&&/^dimension\d+$/.test(dE)){var dn=dE.replace("dimension","");dJ.push(parseInt(dn,10));dJ.push(String(dn));dk+="&"+dE+"="+s(dF[dE]);delete dF[dE]}}}if(dF&&B(dF)){dF=null}for(dE in cr){if(Object.prototype.hasOwnProperty.call(cr,dE)){dk+="&"+dE+"="+s(cr[dE])}}for(dE in bn){if(Object.prototype.hasOwnProperty.call(bn,dE)){var du=(-1===M(dJ,dE));if(du){dk+="&dimension"+dE+"="+s(bn[dE])}}}if(dF){dk+="&data="+s(S.JSON.stringify(dF))}else{if(ao){dk+="&data="+s(S.JSON.stringify(ao))}}function dr(dM,dN){var dO=S.JSON.stringify(dM);if(dO.length>2){return"&"+dN+"="+s(dO)}return""}var dI=dh(bW);var dA=dh(cl);dk+=dr(dI,"cvar");dk+=dr(dA,"e_cvar");if(aQ){dk+=dr(aQ,"_cvar");for(dE in dB){if(Object.prototype.hasOwnProperty.call(dB,dE)){if(aQ[dE][0]===""||aQ[dE][1]===""){delete aQ[dE]}}}if(bQ){dd(dw,S.JSON.stringify(aQ),cm,bq,cW,bS) -}}if(a2&&bF&&!bh){dk=aA(dk);bh=true}if(aL){dk+="&pv_id="+aL}aM(dy);cc();dk+=ac(dG,{tracker:bJ,request:dk});if(cY.length){dk+="&"+cY}if(A(cb)){dk=cb(dk)}return dk}bR=function a7(){var di=new Date();di=di.getTime();if(!cX){return false}if((cX+(1000*c6))<=di){return false}if(cX+a5<=di){bJ.ping();return true}return false};function br(dl,dk,dq,dm,di,dt){var dp="idgoal=0",dj=new Date(),dr=[],ds,dn=String(dl).length;if(dn){dp+="&ec_id="+s(dl)}dp+="&revenue="+dk;if(String(dq).length){dp+="&ec_st="+dq}if(String(dm).length){dp+="&ec_tx="+dm}if(String(di).length){dp+="&ec_sh="+di}if(String(dt).length){dp+="&ec_dt="+dt}if(cZ){for(ds in cZ){if(Object.prototype.hasOwnProperty.call(cZ,ds)){if(!J(cZ[ds][1])){cZ[ds][1]=""}if(!J(cZ[ds][2])){cZ[ds][2]=""}if(!J(cZ[ds][3])||String(cZ[ds][3]).length===0){cZ[ds][3]=0}if(!J(cZ[ds][4])||String(cZ[ds][4]).length===0){cZ[ds][4]=1}dr.push(cZ[ds])}}dp+="&ec_items="+s(S.JSON.stringify(dr))}dp=cq(dp,ao,"ecommerce");bG(dp,bK);if(dn){cZ={}}}function bZ(di,dm,dl,dk,dj,dn){if(String(di).length&&J(dm)){br(di,dm,dl,dk,dj,dn) -}}function bt(di){if(J(di)){br("",di,"","","","")}}function b0(dj,dl,dk){aL=bg();var di=cq("action_name="+s(al(dj||bj)),dl,"log");if(!bh){di=aA(di)}bG(di,bK,dk)}function a0(dk,dj){var dl,di="(^| )(piwik[_-]"+dj+"|matomo[_-]"+dj;if(dk){for(dl=0;dl<dk.length;dl++){di+="|"+dk[dl]}}di+=")( |$)";return new RegExp(di)}function aU(di){return(aE&&di&&0===String(di).indexOf(aE))}function ct(dm,di,dn,dj){if(aU(di)){return 0}var dl=a0(bL,"download"),dk=a0(a8,"link"),dp=new RegExp("\\.("+c5.join("|")+")([?&#]|$)","i");if(dk.test(dm)){return"link"}if(dj||dl.test(dm)||dp.test(di)){return"download"}if(dn){return 0}return"link"}function au(dj){var di;di=dj.parentNode;while(di!==null&&J(di)){if(ae.isLinkElement(dj)){break}dj=di;di=dj.parentNode}return dj}function db(dn){dn=au(dn);if(!ae.hasNodeAttribute(dn,"href")){return}if(!J(dn.href)){return}var dm=ae.getAttributeValueFromNode(dn,"href");var dj=dn.pathname||ck(dn.href);var dp=dn.hostname||d(dn.href);var dq=dp.toLowerCase();var dk=dn.href.replace(dp,dq); -var dl=new RegExp("^(javascript|vbscript|jscript|mocha|livescript|ecmascript|mailto|tel):","i");if(!dl.test(dk)){var di=ct(dn.className,dk,ar(dq,dj),ae.hasNodeAttribute(dn,"download"));if(di){return{type:di,href:dk}}}}function aP(di,dj,dk,dl){var dm=v.buildInteractionRequestParams(di,dj,dk,dl);if(!dm){return}return cq(dm,null,"contentInteraction")}function bb(di,dj){if(!di||!dj){return false}var dk=v.findTargetNode(di);if(v.shouldIgnoreInteraction(dk)){return false}dk=v.findTargetNodeNoDefault(di);if(dk&&!U(dk,dj)){return false}return true}function cs(dk,dj,dm){if(!dk){return}var di=v.findParentContentNode(dk);if(!di){return}if(!bb(di,dk)){return}var dl=v.buildContentBlock(di);if(!dl){return}if(!dl.target&&dm){dl.target=dm}return v.buildInteractionRequestParams(dj,dl.name,dl.piece,dl.target)}function aW(dj){if(!ca||!ca.length){return false}var di,dk;for(di=0;di<ca.length;di++){dk=ca[di];if(dk&&dk.name===dj.name&&dk.piece===dj.piece&&dk.target===dj.target){return true}}return false}function aX(di){return function(dm){if(!di){return -}var dk=v.findParentContentNode(di);var dj;if(dm){dj=dm.target||dm.srcElement}if(!dj){dj=di}if(!bb(dk,dj)){return}if(!dk){return false}var dn=v.findTargetNode(dk);if(!dn||v.shouldIgnoreInteraction(dn)){return false}var dl=db(dn);if(c8&&dl&&dl.type){return dl.type}return bJ.trackContentInteractionNode(dj,"click")}}function b1(dk){if(!dk||!dk.length){return}var di,dj;for(di=0;di<dk.length;di++){dj=v.findTargetNode(dk[di]);if(dj&&!dj.contentInteractionTrackingSetupDone){dj.contentInteractionTrackingSetupDone=true;an(dj,"click",aX(dj))}}}function by(dk,dl){if(!dk||!dk.length){return[]}var di,dj;for(di=0;di<dk.length;di++){if(aW(dk[di])){dk.splice(di,1);di--}else{ca.push(dk[di])}}if(!dk||!dk.length){return[]}b1(dl);var dm=[];for(di=0;di<dk.length;di++){dj=cq(v.buildImpressionRequestParams(dk[di].name,dk[di].piece,dk[di].target),undefined,"contentImpressions");if(dj){dm.push(dj)}}return dm}function cy(dj){var di=v.collectContent(dj);return by(di,dj)}function a9(dj){if(!dj||!dj.length){return[] -}var di;for(di=0;di<dj.length;di++){if(!v.isNodeVisible(dj[di])){dj.splice(di,1);di--}}if(!dj||!dj.length){return[]}return cy(dj)}function aG(dk,di,dj){var dl=v.buildImpressionRequestParams(dk,di,dj);return cq(dl,null,"contentImpression")}function da(dl,dj){if(!dl){return}var di=v.findParentContentNode(dl);var dk=v.buildContentBlock(di);if(!dk){return}if(!dj){dj="Unknown"}return aP(dj,dk.name,dk.piece,dk.target)}function cO(dj,dl,di,dk){return"e_c="+s(dj)+"&e_a="+s(dl)+(J(di)?"&e_n="+s(di):"")+(J(dk)?"&e_v="+s(dk):"")}function at(dk,dm,di,dl,dp,dn){if(!Y(dk)||!Y(dm)){ak("Error while logging event: Parameters `category` and `action` must not be empty or filled with whitespaces");return false}var dj=cq(cO(dk,dm,di,dl),dp,"event");bG(dj,bK,dn)}function b8(di,dl,dj,dm){var dk=cq("search="+s(di)+(dl?"&search_cat="+s(dl):"")+(J(dj)?"&search_count="+dj:""),dm,"sitesearch");bG(dk,bK)}function cS(di,dm,dl,dk){var dj=cq("idgoal="+di+(dm?"&revenue="+dm:""),dl,"goal");bG(dj,bK,dk)}function c0(dl,di,dq,dp,dk){var dn=di+"="+s(b2(dl)); -var dj=cs(dk,"click",dl);if(dj){dn+="&"+dj}var dm=cq(dn,dq,"link");bG(dm,bK,dp)}function bU(dj,di){if(dj!==""){return dj+di.charAt(0).toUpperCase()+di.slice(1)}return di}function cg(dn){var dm,di,dl=["","webkit","ms","moz"],dk;if(!be){for(di=0;di<dl.length;di++){dk=dl[di];if(Object.prototype.hasOwnProperty.call(G,bU(dk,"hidden"))){if(G[bU(dk,"visibilityState")]==="prerender"){dm=true}break}}}if(dm){an(G,dk+"visibilitychange",function dj(){G.removeEventListener(dk+"visibilitychange",dj,false);dn()});return}dn()}function bs(){var dj=bJ.getVisitorId();var di=aJ();return dj+di}function ci(di){if(!di){return}if(!ae.hasNodeAttribute(di,"href")){return}var dj=ae.getAttributeValueFromNode(di,"href");if(!dj||aU(dj)){return}if(!bJ.getVisitorId()){return}dj=j(dj,av);var dk=bs();dj=F(dj,av,dk);ae.setAnyAttribute(di,"href",dj)}function bl(dl){var dm=ae.getAttributeValueFromNode(dl,"href");if(!dm){return false}dm=String(dm);var dj=dm.indexOf("//")===0||dm.indexOf("http://")===0||dm.indexOf("https://")===0; -if(!dj){return false}var di=dl.pathname||ck(dl.href);var dk=(dl.hostname||d(dl.href)).toLowerCase();if(ar(dk,di)){if(!cG(cT,L(dk))){return true}return false}return false}function cF(di){var dj=db(di);if(dj&&dj.type){dj.href=o(dj.href);c0(dj.href,dj.type,undefined,null,di);return}if(cM){di=au(di);if(bl(di)){ci(di)}}}function cu(){return G.all&&!G.addEventListener}function cU(di){var dk=di.which;var dj=(typeof di.button);if(!dk&&dj!=="undefined"){if(cu()){if(di.button&1){dk=1}else{if(di.button&2){dk=3}else{if(di.button&4){dk=2}}}}else{if(di.button===0||di.button==="0"){dk=1}else{if(di.button&1){dk=2}else{if(di.button&2){dk=3}}}}}return dk}function bT(di){switch(cU(di)){case 1:return"left";case 2:return"middle";case 3:return"right"}}function a1(di){return di.target||di.srcElement}function aC(di){return function(dl){dl=dl||S.event;var dk=bT(dl);var dm=a1(dl);if(dl.type==="click"){var dj=false;if(di&&dk==="middle"){dj=true}if(dm&&!dj){cF(dm)}}else{if(dl.type==="mousedown"){if(dk==="middle"&&dm){aR=dk; -bB=dm}else{aR=bB=null}}else{if(dl.type==="mouseup"){if(dk===aR&&dm===bB){cF(dm)}aR=bB=null}else{if(dl.type==="contextmenu"){cF(dm)}}}}}}function aq(dk,dj){var di=typeof dj;if(di==="undefined"){dj=true}an(dk,"click",aC(dj),false);if(dj){an(dk,"mouseup",aC(dj),false);an(dk,"mousedown",aC(dj),false);an(dk,"contextmenu",aC(dj),false)}}function bE(dk,dm){ap=true;var dl,dj=a0(bA,"ignore"),dn=G.links,di=null,dp=null;if(dn){for(dl=0;dl<dn.length;dl++){di=dn[dl];if(!dj.test(di.className)){dp=typeof di.matomoTrackers;if("undefined"===dp){di.matomoTrackers=[]}if(-1===M(di.matomoTrackers,dm)){di.matomoTrackers.push(dm);aq(di,dk)}}}}}function aS(dj,dm,dn){if(ce){return true}ce=true;var dp=false;var dl,dk;function di(){dp=true}m(function(){function dq(ds){setTimeout(function(){if(!ce){return}dp=false;dn.trackVisibleContentImpressions();dq(ds)},ds)}function dr(ds){setTimeout(function(){if(!ce){return}if(dp){dp=false;dn.trackVisibleContentImpressions()}dr(ds)},ds)}if(dj){dl=["scroll","resize"];for(dk=0; -dk<dl.length;dk++){if(G.addEventListener){G.addEventListener(dl[dk],di,false)}else{S.attachEvent("on"+dl[dk],di)}}dr(100)}if(dm&&dm>0){dm=parseInt(dm,10);dq(dm)}})}var bD={enabled:true,requests:[],timeout:null,interval:2500,sendRequests:function(){var di=this.requests;this.requests=[];if(di.length===1){bG(di[0],bK)}else{de(di,bK)}},canQueue:function(){return !l&&this.enabled},pushMultiple:function(dj){if(!this.canQueue()){de(dj,bK);return}var di;for(di=0;di<dj.length;di++){this.push(dj[di])}},push:function(di){if(!di){return}if(!this.canQueue()){bG(di,bK);return}bD.requests.push(di);if(this.timeout){clearTimeout(this.timeout);this.timeout=null}this.timeout=setTimeout(function(){bD.timeout=null;bD.sendRequests()},bD.interval);var dj="RequestQueue"+ax;if(!Object.prototype.hasOwnProperty.call(b,dj)){b[dj]={unload:function(){if(bD.timeout){clearTimeout(bD.timeout)}bD.sendRequests()}}}}};bi();aM();this.hasConsent=function(){return bC};this.getVisitorId=function(){return aY().uuid};this.getVisitorInfo=function(){return cN() -};this.getAttributionInfo=function(){return bM()};this.getAttributionCampaignName=function(){return bM()[0]};this.getAttributionCampaignKeyword=function(){return bM()[1]};this.getAttributionReferrerTimestamp=function(){return bM()[2]};this.getAttributionReferrerUrl=function(){return bM()[3]};this.setTrackerUrl=function(di){aE=di};this.getTrackerUrl=function(){return aE};this.getMatomoUrl=function(){return W(this.getTrackerUrl(),bI)};this.getPiwikUrl=function(){return this.getMatomoUrl()};this.addTracker=function(dk,dj){if(!J(dk)||null===dk){dk=this.getTrackerUrl()}var di=new P(dk,dj);I.push(di);t.trigger("TrackerAdded",[this]);return di};this.getSiteId=function(){return b6};this.setSiteId=function(di){b3(di)};this.resetUserId=function(){bz=""};this.setUserId=function(di){if(Y(di)){bz=di}};this.setVisitorId=function(dj){var di=/[0-9A-Fa-f]{16}/g;if(w(dj)&&di.test(dj)){bO=dj}else{ak("Invalid visitorId set"+dj)}};this.getUserId=function(){return bz};this.setCustomData=function(di,dj){if(V(di)){ao=di -}else{if(!ao){ao={}}ao[di]=dj}};this.getCustomData=function(){return ao};this.setCustomRequestProcessing=function(di){cb=di};this.appendToTrackingUrl=function(di){cY=di};this.getRequest=function(di){return cq(di)};this.addPlugin=function(di,dj){b[di]=dj};this.setCustomDimension=function(di,dj){di=parseInt(di,10);if(di>0){if(!J(dj)){dj=""}if(!w(dj)){dj=String(dj)}bn[di]=dj}};this.getCustomDimension=function(di){di=parseInt(di,10);if(di>0&&Object.prototype.hasOwnProperty.call(bn,di)){return bn[di]}};this.deleteCustomDimension=function(di){di=parseInt(di,10);if(di>0){delete bn[di]}};this.setCustomVariable=function(dj,di,dm,dk){var dl;if(!J(dk)){dk="visit"}if(!J(di)){return}if(!J(dm)){dm=""}if(dj>0){di=!w(di)?String(di):di;dm=!w(dm)?String(dm):dm;dl=[di.slice(0,bu),dm.slice(0,bu)];if(dk==="visit"||dk===2){cE();aQ[dj]=dl}else{if(dk==="page"||dk===3){bW[dj]=dl}else{if(dk==="event"){cl[dj]=dl}}}}};this.getCustomVariable=function(dj,dk){var di;if(!J(dk)){dk="visit"}if(dk==="page"||dk===3){di=bW[dj] -}else{if(dk==="event"){di=cl[dj]}else{if(dk==="visit"||dk===2){cE();di=aQ[dj]}}}if(!J(di)||(di&&di[0]==="")){return false}return di};this.deleteCustomVariable=function(di,dj){if(this.getCustomVariable(di,dj)){this.setCustomVariable(di,"","",dj)}};this.deleteCustomVariables=function(di){if(di==="page"||di===3){bW={}}else{if(di==="event"){cl={}}else{if(di==="visit"||di===2){aQ={}}}}};this.storeCustomVariablesInCookie=function(){bQ=true};this.setLinkTrackingTimer=function(di){bK=di};this.getLinkTrackingTimer=function(){return bK};this.setDownloadExtensions=function(di){if(w(di)){di=di.split("|")}c5=di};this.addDownloadExtensions=function(dj){var di;if(w(dj)){dj=dj.split("|")}for(di=0;di<dj.length;di++){c5.push(dj[di])}};this.removeDownloadExtensions=function(dk){var dj,di=[];if(w(dk)){dk=dk.split("|")}for(dj=0;dj<c5.length;dj++){if(M(dk,c5[dj])===-1){di.push(c5[dj])}}c5=di};this.setDomains=function(di){ay=w(di)?[di]:di;var dm=false,dk=0,dj;for(dk;dk<ay.length;dk++){dj=String(ay[dk]);if(cG(cT,L(dj))){dm=true; -break}var dl=ck(dj);if(dl&&dl!=="/"&&dl!=="/*"){dm=true;break}}if(!dm){ay.push(cT)}};this.enableCrossDomainLinking=function(){cM=true};this.disableCrossDomainLinking=function(){cM=false};this.isCrossDomainLinkingEnabled=function(){return cM};this.setCrossDomainLinkingTimeout=function(di){aZ=di};this.getCrossDomainLinkingUrlParameter=function(){return s(av)+"="+s(bs())};this.setIgnoreClasses=function(di){bA=w(di)?[di]:di};this.setRequestMethod=function(di){c9=di||ch};this.setRequestContentType=function(di){cv=di||aI};this.setReferrerUrl=function(di){bo=di};this.setCustomUrl=function(di){a4=bV(bN,di)};this.getCurrentUrl=function(){return a4||bN};this.setDocumentTitle=function(di){bj=di};this.setAPIUrl=function(di){bI=di};this.setDownloadClasses=function(di){bL=w(di)?[di]:di};this.setLinkClasses=function(di){a8=w(di)?[di]:di};this.setCampaignNameKey=function(di){co=w(di)?[di]:di};this.setCampaignKeywordKey=function(di){bH=w(di)?[di]:di};this.discardHashTag=function(di){bP=di};this.setCookieNamePrefix=function(di){bk=di; -if(aQ){aQ=bX()}};this.setCookieDomain=function(di){var dj=L(di);if(bx(dj)){cW=dj;bi()}};this.getCookieDomain=function(){return cW};this.hasCookies=function(){return"1"===b5()};this.setSessionCookie=function(dk,dj,di){if(!dk){throw new Error("Missing cookie name")}if(!J(di)){di=cm}bv.push(dk);dd(aT(dk),dj,di,bq,cW)};this.getCookie=function(dj){var di=aD(aT(dj));if(di===0){return null}return di};this.setCookiePath=function(di){bq=di;bi()};this.getCookiePath=function(di){return bq};this.setVisitorCookieTimeout=function(di){cJ=di*1000};this.setSessionCookieTimeout=function(di){cm=di*1000};this.getSessionCookieTimeout=function(){return cm};this.setReferralCookieTimeout=function(di){c4=di*1000};this.setConversionAttributionFirstReferrer=function(di){bw=di};this.setSecureCookie=function(di){bS=di};this.disableCookies=function(){bm=true;if(b6){aF()}};this.areCookiesEnabled=function(){return !bm};this.setCookieConsentGiven=function(){if(bm&&!cP){bm=false;if(b6&&aw){aM();var di=cq("ping=1",null,"ping"); -bG(di,bK)}}};this.requireCookieConsent=function(){if(this.getRememberedCookieConsent()){return false}this.disableCookies();return true};this.getRememberedCookieConsent=function(){return aD(cC)};this.forgetCookieConsentGiven=function(){bY(cC,bq,cW);this.disableCookies()};this.rememberCookieConsentGiven=function(dj){if(dj){dj=dj*60*60*1000}else{dj=30*365*24*60*60*1000}this.setCookieConsentGiven();var di=new Date().getTime();dd(cC,di,dj,bq,cW,bS)};this.deleteCookies=function(){aF()};this.setDoNotTrack=function(dj){var di=g.doNotTrack||g.msDoNotTrack;cP=dj&&(di==="yes"||di==="1");if(cP){this.disableCookies()}};this.alwaysUseSendBeacon=function(){cV=true};this.disableAlwaysUseSendBeacon=function(){cV=false};this.addListener=function(dj,di){aq(dj,di)};this.enableLinkTracking=function(dj){c8=true;var di=this;cg(function(){p(function(){bE(dj,di)});m(function(){bE(dj,di)})})};this.enableJSErrorTracking=function(){if(cR){return}cR=true;var di=S.onerror;S.onerror=function(dn,dl,dk,dm,dj){cg(function(){var dp="JavaScript Errors"; -var dq=dl+":"+dk;if(dm){dq+=":"+dm}at(dp,dq,dn)});if(di){return di(dn,dl,dk,dm,dj)}return false}};this.disablePerformanceTracking=function(){a2=false};this.setVisitStandardLength=function(di){di=Math.max(di,5);c6=di};this.enableHeartBeatTimer=function(di){di=Math.max(di||15,5);a5=di*1000;if(cX!==null){df()}};this.disableHeartBeatTimer=function(){if(a5||aN){if(S.removeEventListener){S.removeEventListener("focus",ba);S.removeEventListener("blur",az)}else{if(S.detachEvent){S.detachEvent("onfocus",ba);S.detachEvent("onblur",az)}}}a5=null;aN=false};this.killFrame=function(){if(S.location!==S.top.location){S.top.location=S.location}};this.redirectFile=function(di){if(S.location.protocol==="file:"){S.location=di}};this.setCountPreRendered=function(di){be=di};this.trackGoal=function(di,dl,dk,dj){cg(function(){cS(di,dl,dk,dj)})};this.trackLink=function(dj,di,dl,dk){cg(function(){c0(dj,di,dl,dk)})};this.getNumTrackedPageViews=function(){return cp};this.trackPageView=function(di,dk,dj){ca=[];cK=[]; -if(N(b6)){cg(function(){Z(aE,bI,b6)})}else{cg(function(){cp++;b0(di,dk,dj)})}};this.trackAllContentImpressions=function(){if(N(b6)){return}cg(function(){p(function(){var di=v.findContentNodes();var dj=cy(di);bD.pushMultiple(dj)})})};this.trackVisibleContentImpressions=function(di,dj){if(N(b6)){return}if(!J(di)){di=true}if(!J(dj)){dj=750}aS(di,dj,this);cg(function(){m(function(){var dk=v.findContentNodes();var dl=a9(dk);bD.pushMultiple(dl)})})};this.trackContentImpression=function(dk,di,dj){if(N(b6)){return}dk=a(dk);di=a(di);dj=a(dj);if(!dk){return}di=di||"Unknown";cg(function(){var dl=aG(dk,di,dj);bD.push(dl)})};this.trackContentImpressionsWithinNode=function(di){if(N(b6)||!di){return}cg(function(){if(ce){m(function(){var dj=v.findContentNodesWithinNode(di);var dk=a9(dj);bD.pushMultiple(dk)})}else{p(function(){var dj=v.findContentNodesWithinNode(di);var dk=cy(dj);bD.pushMultiple(dk)})}})};this.trackContentInteraction=function(dk,dl,di,dj){if(N(b6)){return}dk=a(dk);dl=a(dl);di=a(di);dj=a(dj); -if(!dk||!dl){return}di=di||"Unknown";cg(function(){var dm=aP(dk,dl,di,dj);if(dm){bD.push(dm)}})};this.trackContentInteractionNode=function(dk,dj){if(N(b6)||!dk){return}var di=null;cg(function(){di=da(dk,dj);if(di){bD.push(di)}});return di};this.logAllContentBlocksOnPage=function(){var dk=v.findContentNodes();var di=v.collectContent(dk);var dj=typeof console;if(dj!=="undefined"&&console&&console.log){console.log(di)}};this.trackEvent=function(dj,dl,di,dk,dn,dm){cg(function(){at(dj,dl,di,dk,dn,dm)})};this.trackSiteSearch=function(di,dk,dj,dl){ca=[];cg(function(){b8(di,dk,dj,dl)})};this.setEcommerceView=function(dm,di,dk,dj){cr={};if(Y(dk)){dk=String(dk)}if(!J(dk)||dk===null||dk===false||!dk.length){dk=""}else{if(dk instanceof Array){dk=S.JSON.stringify(dk)}}var dl="_pkc";cr[dl]=dk;if(J(dj)&&dj!==null&&dj!==false&&String(dj).length){dl="_pkp";cr[dl]=dj}if(!Y(dm)&&!Y(di)){return}if(Y(dm)){dl="_pks";cr[dl]=dm}if(!Y(di)){di=""}dl="_pkn";cr[dl]=di};this.getEcommerceItems=function(){return JSON.parse(JSON.stringify(cZ)) -};this.addEcommerceItem=function(dm,di,dk,dj,dl){if(Y(dm)){cZ[dm]=[String(dm),di,dk,dj,dl]}};this.removeEcommerceItem=function(di){if(Y(di)){di=String(di);delete cZ[di]}};this.clearEcommerceCart=function(){cZ={}};this.trackEcommerceOrder=function(di,dm,dl,dk,dj,dn){bZ(di,dm,dl,dk,dj,dn)};this.trackEcommerceCartUpdate=function(di){bt(di)};this.trackRequest=function(dj,dl,dk,di){cg(function(){var dm=cq(dj,dl,di);bG(dm,bK,dk)})};this.ping=function(){this.trackRequest("ping=1",null,null,"ping")};this.disableQueueRequest=function(){bD.enabled=false};this.setRequestQueueInterval=function(di){if(di<1000){throw new Error("Request queue interval needs to be at least 1000ms")}bD.interval=di};this.queueRequest=function(di){cg(function(){var dj=cq(di);bD.push(dj)})};this.isConsentRequired=function(){return cz};this.getRememberedConsent=function(){var di=aD(bd);if(aD(cL)){if(di){bY(bd,bq,cW)}return null}if(!di||di===0){return null}return di};this.hasRememberedConsent=function(){return !!this.getRememberedConsent() -};this.requireConsent=function(){cz=true;bC=this.hasRememberedConsent();if(!bC){bm=true}x++;b["CoreConsent"+x]={unload:function(){if(!bC){aF()}}}};this.setConsentGiven=function(dj){bC=true;bY(cL,bq,cW);var dk,di;for(dk=0;dk<cK.length;dk++){di=typeof cK[dk];if(di==="string"){bG(cK[dk],bK)}else{if(di==="object"){de(cK[dk],bK)}}}cK=[];if(!J(dj)||dj){this.setCookieConsentGiven()}};this.rememberConsentGiven=function(dk){if(dk){dk=dk*60*60*1000}else{dk=30*365*24*60*60*1000}var di=true;this.setConsentGiven(di);var dj=new Date().getTime();dd(bd,dj,dk,bq,cW,bS)};this.forgetConsentGiven=function(){var di=30*365*24*60*60*1000;bY(bd,bq,cW);dd(cL,new Date().getTime(),di,bq,cW,bS);this.forgetCookieConsentGiven();this.requireConsent()};this.isUserOptedOut=function(){return !bC};this.optUserOut=this.forgetConsentGiven;this.forgetUserOptOut=function(){this.setConsentGiven(false)};m(function(){setTimeout(function(){bF=true},0)});t.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 Matomo trackers documentation: https://developer.matomo.org/guides/tracking-javascript-guide#multiple-piwik-trackers')}av[ap]++}}}}return au}var C=["addTracker","forgetCookieConsentGiven","requireCookieConsent","disableCookies","setTrackerUrl","setAPIUrl","enableCrossDomainLinking","setCrossDomainLinkingTimeout","setSessionCookieTimeout","setVisitorCookieTimeout","setCookieNamePrefix","setSecureCookie","setCookiePath","setCookieDomain","setDomains","setUserId","setVisitorId","setSiteId","alwaysUseSendBeacon","enableLinkTracking","setCookieConsentGiven","requireConsent","setConsentGiven"];function ad(aq,ap){var ao=new P(aq,ap);I.push(ao);_paq=c(_paq,C);for(E=0; -E<_paq.length;E++){if(_paq[E]){af(_paq[E])}}_paq=new H();t.trigger("TrackerAdded",[ao]);return ao}an(S,"beforeunload",ai,false);an(S,"message",function(au){if(!au||!au.origin){return}var aw,ar,ap;var ax=d(au.origin);var at=t.getAsyncTrackers();for(ar=0;ar<at.length;ar++){ap=d(at[ar].getMatomoUrl());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.getMatomoUrl(),maq_optout_by_default:aw.isConsentRequired()})}else{if(J(aq.maq_opted_in)){at=t.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.getMatomoUrl(),maq_optout_by_default:aw.isConsentRequired()}) +}catch(ao){return true}}function P(cd,b9){var bJ=this,bd="mtm_consent",cC="mtm_cookie_consent",cL="mtm_consent_removed",b4=aa(G.domain,S.location.href,K()),cT=L(b4[0]),bN=o(b4[1]),bo=o(b4[2]),cR=false,ch="GET",c8=ch,aI="application/x-www-form-urlencoded; charset=UTF-8",cv=aI,aE=cd||"",bI="",cY="",b6=b9||"",bz="",bO="",a4,bj="",c5=["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"],ay=[cT],bA=[],bL=[],a8=[],bK=500,cV=true,cI,a5,bR,bP,ao,co=["pk_campaign","mtm_campaign","piwik_campaign","matomo_campaign","utm_campaign","utm_source","utm_medium"],bH=["pk_kwd","mtm_kwd","piwik_kwd","matomo_kwd","utm_term"],bk="_pk_",av="pk_vid",aZ=180,cW,bq,bS=false,bm=false,cP,be,bw,cJ=33955200000,cm=1800000,c4=15768000000,a2=true,bF=false,bh=false,bQ=false,aQ=false,cb,bW={},cl={},bn={},bu=200,cr={},cZ={},c6={},ca=[],ce=false,cA=false,ap=false,c7=false,cM=false,aN=false,bc=u(),cw=null,cX=null,aR,bB,b7=am,bp,aL,cp=0,bv=["id","ses","cvar","ref"],cz=false,bC=null,cK=[],ax=T++,aw=false; +try{bj=G.title}catch(cx){bj=""}function dc(dn,dl,dk,dm,dj,di){if(bm){return}var dh;if(dk){dh=new Date();dh.setTime(dh.getTime()+dk)}G.cookie=dn+"="+s(dl)+(dk?";expires="+dh.toGMTString():"")+";path="+(dm||"/")+(dj?";domain="+dj:"")+(di?";secure":"")+";SameSite=Lax"}function aD(dj){if(bm){return 0}var dh=new RegExp("(^|;)[ ]*"+dj+"=([^;]*)"),di=dh.exec(G.cookie);return di?R(di[2]):0}bC=!aD(cL);function b2(dh){var di;dh=j(dh,av);if(bP){di=new RegExp("#.*");return dh.replace(di,"")}return dh}function bV(dj,dh){var dk=r(dh),di;if(dk){return dh}if(dh.slice(0,1)==="/"){return r(dj)+"://"+d(dj)+dh}dj=b2(dj);di=dj.indexOf("?");if(di>=0){dj=dj.slice(0,di)}di=dj.lastIndexOf("/");if(di!==dj.length-1){dj=dj.slice(0,di+1)}return dj+dh}function cG(dj,dh){var di;dj=String(dj).toLowerCase();dh=String(dh).toLowerCase();if(dj===dh){return true}if(dh.slice(0,1)==="."){if(dj===dh.slice(1)){return true}di=dj.length-dh.length;if((di>0)&&(dj.slice(di)===dh)){return true}}return false}function ck(dh){var di=document.createElement("a"); +if(dh.indexOf("//")!==0&&dh.indexOf("http")!==0){if(dh.indexOf("*")===0){dh=dh.substr(1)}if(dh.indexOf(".")===0){dh=dh.substr(1)}dh="http://"+dh}di.href=v.toAbsoluteUrl(dh);if(di.pathname){return di.pathname}return""}function a3(di,dh){if(!aj(dh,"/")){dh="/"+dh}if(!aj(di,"/")){di="/"+di}var dj=(dh==="/"||dh==="/*");if(dj){return true}if(di===dh){return true}dh=String(dh).toLowerCase();di=String(di).toLowerCase();if(Q(dh,"*")){dh=dh.slice(0,-1);dj=(!dh||dh==="/");if(dj){return true}if(di===dh){return true}return di.indexOf(dh)===0}if(!Q(di,"/")){di+="/"}if(!Q(dh,"/")){dh+="/"}return di.indexOf(dh)===0}function ar(dl,dn){var di,dh,dj,dk,dm;for(di=0;di<ay.length;di++){dk=L(ay[di]);dm=ck(ay[di]);if(cG(dl,dk)&&a3(dn,dm)){return true}}return false}function aV(dk){var di,dh,dj;for(di=0;di<ay.length;di++){dh=L(ay[di].toLowerCase());if(dk===dh){return true}if(dh.slice(0,1)==="."){if(dk===dh.slice(1)){return true}dj=dk.length-dh.length;if((dj>0)&&(dk.slice(dj)===dh)){return true}}}return false}function cn(dh,dj){dh=dh.replace("send_image=0","send_image=1"); +var di=new Image(1,1);di.onload=function(){E=0;if(typeof dj==="function"){dj({request:dh,trackerUrl:aE,success:true})}};di.onerror=function(){if(typeof dj==="function"){dj({request:dh,trackerUrl:aE,success:false})}};di.src=aE+(aE.indexOf("?")<0?"?":"&")+dh}function cD(dh){if(c8==="POST"){return true}return dh&&(dh.length>2000||dh.indexOf('{"requests"')===0)}function aK(){return"object"===typeof g&&"function"===typeof g.sendBeacon&&"function"===typeof Blob}function a6(dl,dp,dn){var dj=aK();if(!dj){return false}var dk={type:"application/x-www-form-urlencoded; charset=UTF-8"};var dq=false;var di=aE;try{var dh=new Blob([dl],dk);if(dn&&!cD(dl)){dh=new Blob([],dk);di=di+(di.indexOf("?")<0?"?":"&")+dl}dq=g.sendBeacon(di,dh)}catch(dm){return false}if(dq&&typeof dp==="function"){dp({request:dl,trackerUrl:aE,success:true,isSendBeacon:true})}return dq}function c3(di,dj,dh){if(!J(dh)||null===dh){dh=true}if(l&&a6(di,dj,dh)){return}setTimeout(function(){if(l&&a6(di,dj,dh)){return}var dm;try{var dl=S.XMLHttpRequest?new S.XMLHttpRequest():S.ActiveXObject?new ActiveXObject("Microsoft.XMLHTTP"):null; +dl.open("POST",aE,true);dl.onreadystatechange=function(){if(this.readyState===4&&!(this.status>=200&&this.status<300)){var dn=l&&a6(di,dj,dh);if(!dn&&dh){cn(di,dj)}else{if(typeof dj==="function"){dj({request:di,trackerUrl:aE,success:false,xhr:this})}}}else{if(this.readyState===4&&(typeof dj==="function")){dj({request:di,trackerUrl:aE,success:true,xhr:this})}}};dl.setRequestHeader("Content-Type",cv);dl.withCredentials=true;dl.send(di)}catch(dk){dm=l&&a6(di,dj,dh);if(!dm&&dh){cn(di,dj)}else{if(typeof dj==="function"){dj({request:di,trackerUrl:aE,success:false})}}}},50)}function cf(di){var dh=new Date();var dj=dh.getTime()+di;if(!q||dj>q){q=dj}}function ba(){bc=true;cw=new Date().getTime()}function db(){var dh=new Date().getTime();return !cw||(dh-cw)>a5}function az(){if(db()){bR()}}function de(){if(aN||!a5){return}aN=true;an(S,"focus",ba);an(S,"blur",az);ab++;t.addPlugin("HeartBeat"+ab,{unload:function(){if(aN&&db()){bR()}}})}function cB(dl){var di=new Date();var dh=di.getTime();cX=dh;if(cA&&dh<cA){var dj=cA-dh; +setTimeout(dl,dj);cf(dj+50);cA+=50;return}if(cA===false){var dk=800;cA=dh+dk}dl()}function aO(){if(aD(cL)){bC=false}else{if(aD(bd)){bC=true}}}function bG(di,dh,dj){aO();if(!bC){cK.push(di);return}aw=true;if(!cP&&di){if(cz&&bC){di+="&consent=1"}cB(function(){if(cV&&a6(di,dj,true)){cf(100);return}if(cD(di)){c3(di,dj)}else{cn(di,dj)}cf(dh)})}if(!aN){de()}}function cj(dh){if(cP){return false}return(dh&&dh.length)}function c2(dh,dl){if(!dl||dl>=dh.length){return[dh]}var di=0;var dj=dh.length;var dk=[];for(di;di<dj;di+=dl){dk.push(dh.slice(di,di+dl))}return dk}function dd(di,dh){if(!cj(di)){return}if(!bC){cK.push(di);return}aw=true;cB(function(){var dl=c2(di,50);var dj=0,dk;for(dj;dj<dl.length;dj++){dk='{"requests":["?'+dl[dj].join('","?')+'"]}';if(cV&&a6(dk,null,false)){cf(100)}else{c3(dk,null,false)}}cf(dh)})}function aT(dh){return bk+dh+"."+b6+"."+bp}function bY(dj,di,dh){dc(dj,"",-86400,di,dh)}function b5(){if(bm){return"0"}if(!J(S.showModalDialog)&&J(g.cookieEnabled)){return g.cookieEnabled?"1":"0" +}var dh=bk+"testcookie";dc(dh,"1",undefined,bq,cW,bS);var di=aD(dh)==="1"?"1":"0";bY(dh);return di}function bi(){bp=b7((cW||cT)+(bq||"/")).slice(0,4)}function cH(){if(J(c6.res)){return c6}var di,dk,dl={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(di in dl){if(Object.prototype.hasOwnProperty.call(dl,di)){dk=g.mimeTypes[dl[di]];c6[di]=(dk&&dk.enabledPlugin)?"1":"0"}}}if(!((new RegExp("Edge[ /](\\d+[\\.\\d]+)")).test(g.userAgent))&&typeof navigator.javaEnabled!=="unknown"&&J(g.javaEnabled)&&g.javaEnabled()){c6.java="1"}if(!J(S.showModalDialog)&&J(g.cookieEnabled)){c6.cookie=g.cookieEnabled?"1":"0"}else{c6.cookie=b5()}}var dj=parseInt(X.width,10);var dh=parseInt(X.height,10);c6.res=parseInt(dj,10)+"x"+parseInt(dh,10);return c6}function bX(){var di=aT("cvar"),dh=aD(di); +if(dh&&dh.length){dh=S.JSON.parse(dh);if(V(dh)){return dh}}return{}}function cE(){if(aQ===false){aQ=bX()}}function cQ(){var dh=cH();return b7((g.userAgent||"")+(g.platform||"")+S.JSON.stringify(dh)+(new Date()).getTime()+Math.random()).slice(0,16)}function aB(){var dh=cH();return b7((g.userAgent||"")+(g.platform||"")+S.JSON.stringify(dh)).slice(0,6)}function bf(){return Math.floor((new Date()).getTime()/1000)}function aJ(){var di=bf();var dj=aB();var dh=String(di)+dj;return dh}function c1(dj){dj=String(dj);var dm=aB();var dk=dm.length;var dl=dj.substr(-1*dk,dk);var di=parseInt(dj.substr(0,dj.length-dk),10);if(di&&dl&&dl===dm){var dh=bf();if(aZ<=0){return true}if(dh>=di&&dh<=(di+aZ)){return true}}return false}function df(dh){if(!cM){return""}var dl=e(dh,av);if(!dl){return""}dl=String(dl);var dj=new RegExp("^[a-zA-Z0-9]+$");if(dl.length===32&&dj.test(dl)){var di=dl.substr(16,32);if(c1(di)){var dk=dl.substr(0,16);return dk}}return""}function cN(){if(!bO){bO=df(bN)}var dj=new Date(),dh=Math.round(dj.getTime()/1000),di=aT("id"),dm=aD(di),dl,dk; +if(dm){dl=dm.split(".");dl.unshift("0");if(bO.length){dl[1]=bO}return dl}if(bO.length){dk=bO}else{if("0"===b5()){dk=""}else{dk=cQ()}}dl=["1",dk,dh];return dl}function aY(){var dk=cN(),di=dk[0],dj=dk[1],dh=dk[2];return{newVisitor:di,uuid:dj,createTs:dh}}function aH(){var dk=new Date(),di=dk.getTime(),dl=aY().createTs;var dh=parseInt(dl,10);var dj=(dh*1000)+cJ-di;return dj}function aM(dh){if(!b6){return}var dj=new Date(),di=Math.round(dj.getTime()/1000);if(!J(dh)){dh=aY()}var dk=dh.uuid+"."+dh.createTs+".";dc(aT("id"),dk,aH(),bq,cW,bS)}function bM(){var dh=aD(aT("ref"));if(dh.length){try{dh=S.JSON.parse(dh);if(V(dh)){return dh}}catch(di){}}return["","",0,""]}function bx(di){var dh="testvalue";dc("test",dh,10000,null,di);if(aD("test")===dh){bY("test",null,di);return true}return false}function aF(){var di=bm;bm=false;var dh,dj;for(dh=0;dh<bv.length;dh++){dj=aT(bv[dh]);if(dj!==cL&&dj!==bd&&0!==aD(dj)){bY(dj,bq,cW)}}bm=di}function b3(dh){b6=dh}function dg(dl){if(!dl||!V(dl)){return}var dk=[]; +var dj;for(dj in dl){if(Object.prototype.hasOwnProperty.call(dl,dj)){dk.push(dj)}}var dm={};dk.sort();var dh=dk.length;var di;for(di=0;di<dh;di++){dm[dk[di]]=dl[dk[di]]}return dm}function cc(){dc(aT("ses"),"1",cm,bq,cW,bS)}function bg(){var dk="";var di="abcdefghijklmnopqrstuvwxyz0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ";var dj=di.length;var dh;for(dh=0;dh<6;dh++){dk+=di.charAt(Math.floor(Math.random()*dj))}return dk}function aA(dh){if(h&&h.timing&&h&&h.timing.connectEnd&&h.timing.fetchStart){dh+="&pf_net="+(h.timing.connectEnd-h.timing.fetchStart)}if(h&&h.timing&&h&&h.timing.responseStart&&h.timing.requestStart){dh+="&pf_srv="+(h.timing.responseStart-h.timing.requestStart)}if(h&&h.timing&&h&&h.timing.responseStart&&h.timing.responseEnd){dh+="&pf_tfr="+(h.timing.responseEnd-h.timing.responseStart)}if(h&&h.timing&&h&&h.timing.domInteractive&&h.timing.domLoading){dh+="&pf_dm1="+(h.timing.domInteractive-h.timing.domLoading)}if(h&&h.timing&&h&&h.timing.domComplete&&h.timing.domInteractive){dh+="&pf_dm2="+(h.timing.domComplete-h.timing.domInteractive) +}if(h&&h.timing&&h&&h.timing.loadEventEnd&&h.timing.loadEventStart){dh+="&pf_onl="+(h.timing.loadEventEnd-h.timing.loadEventStart)}return dh}function cq(dj,dE,dF){var dD,di=new Date(),dr=Math.round(di.getTime()/1000),dn,dB,dk=1024,dK,ds,dA=aQ,dl=aT("ses"),dy=aT("ref"),dv=aT("cvar"),dw=aD(dl),dC=bM(),dG=a4||bN,dp,dh;if(bm){aF()}if(cP){return""}var dx=aY();var du=G.characterSet||G.charset;if(!du||du.toLowerCase()==="utf-8"){du=null}dp=dC[0];dh=dC[1];dn=dC[2];dB=dC[3];if(!dw){if(!bw||!dp.length){for(dD in co){if(Object.prototype.hasOwnProperty.call(co,dD)){dp=e(dG,co[dD]);if(dp.length){break}}}for(dD in bH){if(Object.prototype.hasOwnProperty.call(bH,dD)){dh=e(dG,bH[dD]);if(dh.length){break}}}}dK=d(bo);ds=dB.length?d(dB):"";if(dK.length&&!aV(dK)&&(!bw||!ds.length||aV(ds))){dB=bo}if(dB.length||dp.length){dn=dr;dC=[dp,dh,dn,b2(dB.slice(0,dk))];dc(dy,S.JSON.stringify(dC),c4,bq,cW,bS)}}dj+="&idsite="+b6+"&rec=1&r="+String(Math.random()).slice(2,8)+"&h="+di.getHours()+"&m="+di.getMinutes()+"&s="+di.getSeconds()+"&url="+s(b2(dG))+(bo.length?"&urlref="+s(b2(bo)):"")+((bz&&bz.length)?"&uid="+s(bz):"")+"&_id="+dx.uuid+"&_idn="+dx.newVisitor+(dp.length?"&_rcn="+s(dp):"")+(dh.length?"&_rck="+s(dh):"")+"&_refts="+dn+(String(dB).length?"&_ref="+s(b2(dB.slice(0,dk))):"")+(du?"&cs="+s(du):"")+"&send_image=0"; +var dJ=cH();for(dD in dJ){if(Object.prototype.hasOwnProperty.call(dJ,dD)){dj+="&"+dD+"="+dJ[dD]}}var dI=[];if(dE){for(dD in dE){if(Object.prototype.hasOwnProperty.call(dE,dD)&&/^dimension\d+$/.test(dD)){var dm=dD.replace("dimension","");dI.push(parseInt(dm,10));dI.push(String(dm));dj+="&"+dD+"="+s(dE[dD]);delete dE[dD]}}}if(dE&&B(dE)){dE=null}for(dD in cr){if(Object.prototype.hasOwnProperty.call(cr,dD)){dj+="&"+dD+"="+s(cr[dD])}}for(dD in bn){if(Object.prototype.hasOwnProperty.call(bn,dD)){var dt=(-1===M(dI,dD));if(dt){dj+="&dimension"+dD+"="+s(bn[dD])}}}if(dE){dj+="&data="+s(S.JSON.stringify(dE))}else{if(ao){dj+="&data="+s(S.JSON.stringify(ao))}}function dq(dL,dM){var dN=S.JSON.stringify(dL);if(dN.length>2){return"&"+dM+"="+s(dN)}return""}var dH=dg(bW);var dz=dg(cl);dj+=dq(dH,"cvar");dj+=dq(dz,"e_cvar");if(aQ){dj+=dq(aQ,"_cvar");for(dD in dA){if(Object.prototype.hasOwnProperty.call(dA,dD)){if(aQ[dD][0]===""||aQ[dD][1]===""){delete aQ[dD]}}}if(bQ){dc(dv,S.JSON.stringify(aQ),cm,bq,cW,bS) +}}if(a2&&bF&&!bh){dj=aA(dj);bh=true}if(aL){dj+="&pv_id="+aL}aM(dx);cc();dj+=ac(dF,{tracker:bJ,request:dj});if(cY.length){dj+="&"+cY}if(A(cb)){dj=cb(dj)}return dj}bR=function a7(){var dh=new Date();dh=dh.getTime();if(!cX){return false}if(cX+a5<=dh){bJ.ping();return true}return false};function br(dk,dj,dp,dl,dh,ds){var dn="idgoal=0",di=new Date(),dq=[],dr,dm=String(dk).length;if(dm){dn+="&ec_id="+s(dk)}dn+="&revenue="+dj;if(String(dp).length){dn+="&ec_st="+dp}if(String(dl).length){dn+="&ec_tx="+dl}if(String(dh).length){dn+="&ec_sh="+dh}if(String(ds).length){dn+="&ec_dt="+ds}if(cZ){for(dr in cZ){if(Object.prototype.hasOwnProperty.call(cZ,dr)){if(!J(cZ[dr][1])){cZ[dr][1]=""}if(!J(cZ[dr][2])){cZ[dr][2]=""}if(!J(cZ[dr][3])||String(cZ[dr][3]).length===0){cZ[dr][3]=0}if(!J(cZ[dr][4])||String(cZ[dr][4]).length===0){cZ[dr][4]=1}dq.push(cZ[dr])}}dn+="&ec_items="+s(S.JSON.stringify(dq))}dn=cq(dn,ao,"ecommerce");bG(dn,bK);if(dm){cZ={}}}function bZ(dh,dl,dk,dj,di,dm){if(String(dh).length&&J(dl)){br(dh,dl,dk,dj,di,dm) +}}function bt(dh){if(J(dh)){br("",dh,"","","","")}}function b0(di,dk,dj){aL=bg();var dh=cq("action_name="+s(al(di||bj)),dk,"log");if(!bh){dh=aA(dh)}bG(dh,bK,dj)}function a0(dj,di){var dk,dh="(^| )(piwik[_-]"+di+"|matomo[_-]"+di;if(dj){for(dk=0;dk<dj.length;dk++){dh+="|"+dj[dk]}}dh+=")( |$)";return new RegExp(dh)}function aU(dh){return(aE&&dh&&0===String(dh).indexOf(aE))}function ct(dl,dh,dm,di){if(aU(dh)){return 0}var dk=a0(bL,"download"),dj=a0(a8,"link"),dn=new RegExp("\\.("+c5.join("|")+")([?&#]|$)","i");if(dj.test(dl)){return"link"}if(di||dk.test(dl)||dn.test(dh)){return"download"}if(dm){return 0}return"link"}function au(di){var dh;dh=di.parentNode;while(dh!==null&&J(dh)){if(ae.isLinkElement(di)){break}di=dh;dh=di.parentNode}return di}function da(dm){dm=au(dm);if(!ae.hasNodeAttribute(dm,"href")){return}if(!J(dm.href)){return}var dl=ae.getAttributeValueFromNode(dm,"href");var di=dm.pathname||ck(dm.href);var dn=dm.hostname||d(dm.href);var dp=dn.toLowerCase();var dj=dm.href.replace(dn,dp); +var dk=new RegExp("^(javascript|vbscript|jscript|mocha|livescript|ecmascript|mailto|tel):","i");if(!dk.test(dj)){var dh=ct(dm.className,dj,ar(dp,di),ae.hasNodeAttribute(dm,"download"));if(dh){return{type:dh,href:dj}}}}function aP(dh,di,dj,dk){var dl=v.buildInteractionRequestParams(dh,di,dj,dk);if(!dl){return}return cq(dl,null,"contentInteraction")}function bb(dh,di){if(!dh||!di){return false}var dj=v.findTargetNode(dh);if(v.shouldIgnoreInteraction(dj)){return false}dj=v.findTargetNodeNoDefault(dh);if(dj&&!U(dj,di)){return false}return true}function cs(dj,di,dl){if(!dj){return}var dh=v.findParentContentNode(dj);if(!dh){return}if(!bb(dh,dj)){return}var dk=v.buildContentBlock(dh);if(!dk){return}if(!dk.target&&dl){dk.target=dl}return v.buildInteractionRequestParams(di,dk.name,dk.piece,dk.target)}function aW(di){if(!ca||!ca.length){return false}var dh,dj;for(dh=0;dh<ca.length;dh++){dj=ca[dh];if(dj&&dj.name===di.name&&dj.piece===di.piece&&dj.target===di.target){return true}}return false}function aX(dh){return function(dl){if(!dh){return +}var dj=v.findParentContentNode(dh);var di;if(dl){di=dl.target||dl.srcElement}if(!di){di=dh}if(!bb(dj,di)){return}if(!dj){return false}var dm=v.findTargetNode(dj);if(!dm||v.shouldIgnoreInteraction(dm)){return false}var dk=da(dm);if(c7&&dk&&dk.type){return dk.type}return bJ.trackContentInteractionNode(di,"click")}}function b1(dj){if(!dj||!dj.length){return}var dh,di;for(dh=0;dh<dj.length;dh++){di=v.findTargetNode(dj[dh]);if(di&&!di.contentInteractionTrackingSetupDone){di.contentInteractionTrackingSetupDone=true;an(di,"click",aX(di))}}}function by(dj,dk){if(!dj||!dj.length){return[]}var dh,di;for(dh=0;dh<dj.length;dh++){if(aW(dj[dh])){dj.splice(dh,1);dh--}else{ca.push(dj[dh])}}if(!dj||!dj.length){return[]}b1(dk);var dl=[];for(dh=0;dh<dj.length;dh++){di=cq(v.buildImpressionRequestParams(dj[dh].name,dj[dh].piece,dj[dh].target),undefined,"contentImpressions");if(di){dl.push(di)}}return dl}function cy(di){var dh=v.collectContent(di);return by(dh,di)}function a9(di){if(!di||!di.length){return[] +}var dh;for(dh=0;dh<di.length;dh++){if(!v.isNodeVisible(di[dh])){di.splice(dh,1);dh--}}if(!di||!di.length){return[]}return cy(di)}function aG(dj,dh,di){var dk=v.buildImpressionRequestParams(dj,dh,di);return cq(dk,null,"contentImpression")}function c9(dk,di){if(!dk){return}var dh=v.findParentContentNode(dk);var dj=v.buildContentBlock(dh);if(!dj){return}if(!di){di="Unknown"}return aP(di,dj.name,dj.piece,dj.target)}function cO(di,dk,dh,dj){return"e_c="+s(di)+"&e_a="+s(dk)+(J(dh)?"&e_n="+s(dh):"")+(J(dj)?"&e_v="+s(dj):"")}function at(dj,dl,dh,dk,dn,dm){if(!Y(dj)||!Y(dl)){ak("Error while logging event: Parameters `category` and `action` must not be empty or filled with whitespaces");return false}var di=cq(cO(dj,dl,dh,dk),dn,"event");bG(di,bK,dm)}function b8(dh,dk,di,dl){var dj=cq("search="+s(dh)+(dk?"&search_cat="+s(dk):"")+(J(di)?"&search_count="+di:""),dl,"sitesearch");bG(dj,bK)}function cS(dh,dl,dk,dj){var di=cq("idgoal="+dh+(dl?"&revenue="+dl:""),dk,"goal");bG(di,bK,dj)}function c0(dk,dh,dp,dn,dj){var dm=dh+"="+s(b2(dk)); +var di=cs(dj,"click",dk);if(di){dm+="&"+di}var dl=cq(dm,dp,"link");bG(dl,bK,dn)}function bU(di,dh){if(di!==""){return di+dh.charAt(0).toUpperCase()+dh.slice(1)}return dh}function cg(dm){var dl,dh,dk=["","webkit","ms","moz"],dj;if(!be){for(dh=0;dh<dk.length;dh++){dj=dk[dh];if(Object.prototype.hasOwnProperty.call(G,bU(dj,"hidden"))){if(G[bU(dj,"visibilityState")]==="prerender"){dl=true}break}}}if(dl){an(G,dj+"visibilitychange",function di(){G.removeEventListener(dj+"visibilitychange",di,false);dm()});return}dm()}function bs(){var di=bJ.getVisitorId();var dh=aJ();return di+dh}function ci(dh){if(!dh){return}if(!ae.hasNodeAttribute(dh,"href")){return}var di=ae.getAttributeValueFromNode(dh,"href");if(!di||aU(di)){return}if(!bJ.getVisitorId()){return}di=j(di,av);var dj=bs();di=F(di,av,dj);ae.setAnyAttribute(dh,"href",di)}function bl(dk){var dl=ae.getAttributeValueFromNode(dk,"href");if(!dl){return false}dl=String(dl);var di=dl.indexOf("//")===0||dl.indexOf("http://")===0||dl.indexOf("https://")===0; +if(!di){return false}var dh=dk.pathname||ck(dk.href);var dj=(dk.hostname||d(dk.href)).toLowerCase();if(ar(dj,dh)){if(!cG(cT,L(dj))){return true}return false}return false}function cF(dh){var di=da(dh);if(di&&di.type){di.href=o(di.href);c0(di.href,di.type,undefined,null,dh);return}if(cM){dh=au(dh);if(bl(dh)){ci(dh)}}}function cu(){return G.all&&!G.addEventListener}function cU(dh){var dj=dh.which;var di=(typeof dh.button);if(!dj&&di!=="undefined"){if(cu()){if(dh.button&1){dj=1}else{if(dh.button&2){dj=3}else{if(dh.button&4){dj=2}}}}else{if(dh.button===0||dh.button==="0"){dj=1}else{if(dh.button&1){dj=2}else{if(dh.button&2){dj=3}}}}}return dj}function bT(dh){switch(cU(dh)){case 1:return"left";case 2:return"middle";case 3:return"right"}}function a1(dh){return dh.target||dh.srcElement}function aC(dh){return function(dk){dk=dk||S.event;var dj=bT(dk);var dl=a1(dk);if(dk.type==="click"){var di=false;if(dh&&dj==="middle"){di=true}if(dl&&!di){cF(dl)}}else{if(dk.type==="mousedown"){if(dj==="middle"&&dl){aR=dj; +bB=dl}else{aR=bB=null}}else{if(dk.type==="mouseup"){if(dj===aR&&dl===bB){cF(dl)}aR=bB=null}else{if(dk.type==="contextmenu"){cF(dl)}}}}}}function aq(dj,di){var dh=typeof di;if(dh==="undefined"){di=true}an(dj,"click",aC(di),false);if(di){an(dj,"mouseup",aC(di),false);an(dj,"mousedown",aC(di),false);an(dj,"contextmenu",aC(di),false)}}function bE(dj,dl){ap=true;var dk,di=a0(bA,"ignore"),dm=G.links,dh=null,dn=null;if(dm){for(dk=0;dk<dm.length;dk++){dh=dm[dk];if(!di.test(dh.className)){dn=typeof dh.matomoTrackers;if("undefined"===dn){dh.matomoTrackers=[]}if(-1===M(dh.matomoTrackers,dl)){dh.matomoTrackers.push(dl);aq(dh,dj)}}}}}function aS(di,dl,dm){if(ce){return true}ce=true;var dn=false;var dk,dj;function dh(){dn=true}m(function(){function dp(dr){setTimeout(function(){if(!ce){return}dn=false;dm.trackVisibleContentImpressions();dp(dr)},dr)}function dq(dr){setTimeout(function(){if(!ce){return}if(dn){dn=false;dm.trackVisibleContentImpressions()}dq(dr)},dr)}if(di){dk=["scroll","resize"];for(dj=0; +dj<dk.length;dj++){if(G.addEventListener){G.addEventListener(dk[dj],dh,false)}else{S.attachEvent("on"+dk[dj],dh)}}dq(100)}if(dl&&dl>0){dl=parseInt(dl,10);dp(dl)}})}var bD={enabled:true,requests:[],timeout:null,interval:2500,sendRequests:function(){var dh=this.requests;this.requests=[];if(dh.length===1){bG(dh[0],bK)}else{dd(dh,bK)}},canQueue:function(){return !l&&this.enabled},pushMultiple:function(di){if(!this.canQueue()){dd(di,bK);return}var dh;for(dh=0;dh<di.length;dh++){this.push(di[dh])}},push:function(dh){if(!dh){return}if(!this.canQueue()){bG(dh,bK);return}bD.requests.push(dh);if(this.timeout){clearTimeout(this.timeout);this.timeout=null}this.timeout=setTimeout(function(){bD.timeout=null;bD.sendRequests()},bD.interval);var di="RequestQueue"+ax;if(!Object.prototype.hasOwnProperty.call(b,di)){b[di]={unload:function(){if(bD.timeout){clearTimeout(bD.timeout)}bD.sendRequests()}}}}};bi();aM();this.hasConsent=function(){return bC};this.getVisitorId=function(){return aY().uuid};this.getVisitorInfo=function(){return cN() +};this.getAttributionInfo=function(){return bM()};this.getAttributionCampaignName=function(){return bM()[0]};this.getAttributionCampaignKeyword=function(){return bM()[1]};this.getAttributionReferrerTimestamp=function(){return bM()[2]};this.getAttributionReferrerUrl=function(){return bM()[3]};this.setTrackerUrl=function(dh){aE=dh};this.getTrackerUrl=function(){return aE};this.getMatomoUrl=function(){return W(this.getTrackerUrl(),bI)};this.getPiwikUrl=function(){return this.getMatomoUrl()};this.addTracker=function(dj,di){if(!J(dj)||null===dj){dj=this.getTrackerUrl()}var dh=new P(dj,di);I.push(dh);t.trigger("TrackerAdded",[this]);return dh};this.getSiteId=function(){return b6};this.setSiteId=function(dh){b3(dh)};this.resetUserId=function(){bz=""};this.setUserId=function(dh){if(Y(dh)){bz=dh}};this.setVisitorId=function(di){var dh=/[0-9A-Fa-f]{16}/g;if(w(di)&&dh.test(di)){bO=di}else{ak("Invalid visitorId set"+di)}};this.getUserId=function(){return bz};this.setCustomData=function(dh,di){if(V(dh)){ao=dh +}else{if(!ao){ao={}}ao[dh]=di}};this.getCustomData=function(){return ao};this.setCustomRequestProcessing=function(dh){cb=dh};this.appendToTrackingUrl=function(dh){cY=dh};this.getRequest=function(dh){return cq(dh)};this.addPlugin=function(dh,di){b[dh]=di};this.setCustomDimension=function(dh,di){dh=parseInt(dh,10);if(dh>0){if(!J(di)){di=""}if(!w(di)){di=String(di)}bn[dh]=di}};this.getCustomDimension=function(dh){dh=parseInt(dh,10);if(dh>0&&Object.prototype.hasOwnProperty.call(bn,dh)){return bn[dh]}};this.deleteCustomDimension=function(dh){dh=parseInt(dh,10);if(dh>0){delete bn[dh]}};this.setCustomVariable=function(di,dh,dl,dj){var dk;if(!J(dj)){dj="visit"}if(!J(dh)){return}if(!J(dl)){dl=""}if(di>0){dh=!w(dh)?String(dh):dh;dl=!w(dl)?String(dl):dl;dk=[dh.slice(0,bu),dl.slice(0,bu)];if(dj==="visit"||dj===2){cE();aQ[di]=dk}else{if(dj==="page"||dj===3){bW[di]=dk}else{if(dj==="event"){cl[di]=dk}}}}};this.getCustomVariable=function(di,dj){var dh;if(!J(dj)){dj="visit"}if(dj==="page"||dj===3){dh=bW[di] +}else{if(dj==="event"){dh=cl[di]}else{if(dj==="visit"||dj===2){cE();dh=aQ[di]}}}if(!J(dh)||(dh&&dh[0]==="")){return false}return dh};this.deleteCustomVariable=function(dh,di){if(this.getCustomVariable(dh,di)){this.setCustomVariable(dh,"","",di)}};this.deleteCustomVariables=function(dh){if(dh==="page"||dh===3){bW={}}else{if(dh==="event"){cl={}}else{if(dh==="visit"||dh===2){aQ={}}}}};this.storeCustomVariablesInCookie=function(){bQ=true};this.setLinkTrackingTimer=function(dh){bK=dh};this.getLinkTrackingTimer=function(){return bK};this.setDownloadExtensions=function(dh){if(w(dh)){dh=dh.split("|")}c5=dh};this.addDownloadExtensions=function(di){var dh;if(w(di)){di=di.split("|")}for(dh=0;dh<di.length;dh++){c5.push(di[dh])}};this.removeDownloadExtensions=function(dj){var di,dh=[];if(w(dj)){dj=dj.split("|")}for(di=0;di<c5.length;di++){if(M(dj,c5[di])===-1){dh.push(c5[di])}}c5=dh};this.setDomains=function(dh){ay=w(dh)?[dh]:dh;var dl=false,dj=0,di;for(dj;dj<ay.length;dj++){di=String(ay[dj]);if(cG(cT,L(di))){dl=true; +break}var dk=ck(di);if(dk&&dk!=="/"&&dk!=="/*"){dl=true;break}}if(!dl){ay.push(cT)}};this.enableCrossDomainLinking=function(){cM=true};this.disableCrossDomainLinking=function(){cM=false};this.isCrossDomainLinkingEnabled=function(){return cM};this.setCrossDomainLinkingTimeout=function(dh){aZ=dh};this.getCrossDomainLinkingUrlParameter=function(){return s(av)+"="+s(bs())};this.setIgnoreClasses=function(dh){bA=w(dh)?[dh]:dh};this.setRequestMethod=function(dh){c8=dh||ch};this.setRequestContentType=function(dh){cv=dh||aI};this.setReferrerUrl=function(dh){bo=dh};this.setCustomUrl=function(dh){a4=bV(bN,dh)};this.getCurrentUrl=function(){return a4||bN};this.setDocumentTitle=function(dh){bj=dh};this.setAPIUrl=function(dh){bI=dh};this.setDownloadClasses=function(dh){bL=w(dh)?[dh]:dh};this.setLinkClasses=function(dh){a8=w(dh)?[dh]:dh};this.setCampaignNameKey=function(dh){co=w(dh)?[dh]:dh};this.setCampaignKeywordKey=function(dh){bH=w(dh)?[dh]:dh};this.discardHashTag=function(dh){bP=dh};this.setCookieNamePrefix=function(dh){bk=dh; +if(aQ){aQ=bX()}};this.setCookieDomain=function(dh){var di=L(dh);if(bx(di)){cW=di;bi()}};this.getCookieDomain=function(){return cW};this.hasCookies=function(){return"1"===b5()};this.setSessionCookie=function(dj,di,dh){if(!dj){throw new Error("Missing cookie name")}if(!J(dh)){dh=cm}bv.push(dj);dc(aT(dj),di,dh,bq,cW)};this.getCookie=function(di){var dh=aD(aT(di));if(dh===0){return null}return dh};this.setCookiePath=function(dh){bq=dh;bi()};this.getCookiePath=function(dh){return bq};this.setVisitorCookieTimeout=function(dh){cJ=dh*1000};this.setSessionCookieTimeout=function(dh){cm=dh*1000};this.getSessionCookieTimeout=function(){return cm};this.setReferralCookieTimeout=function(dh){c4=dh*1000};this.setConversionAttributionFirstReferrer=function(dh){bw=dh};this.setSecureCookie=function(dh){bS=dh};this.disableCookies=function(){bm=true;if(b6){aF()}};this.areCookiesEnabled=function(){return !bm};this.setCookieConsentGiven=function(){if(bm&&!cP){bm=false;if(b6&&aw){aM();var dh=cq("ping=1",null,"ping"); +bG(dh,bK)}}};this.requireCookieConsent=function(){if(this.getRememberedCookieConsent()){return false}this.disableCookies();return true};this.getRememberedCookieConsent=function(){return aD(cC)};this.forgetCookieConsentGiven=function(){bY(cC,bq,cW);this.disableCookies()};this.rememberCookieConsentGiven=function(di){if(di){di=di*60*60*1000}else{di=30*365*24*60*60*1000}this.setCookieConsentGiven();var dh=new Date().getTime();dc(cC,dh,di,bq,cW,bS)};this.deleteCookies=function(){aF()};this.setDoNotTrack=function(di){var dh=g.doNotTrack||g.msDoNotTrack;cP=di&&(dh==="yes"||dh==="1");if(cP){this.disableCookies()}};this.alwaysUseSendBeacon=function(){cV=true};this.disableAlwaysUseSendBeacon=function(){cV=false};this.addListener=function(di,dh){aq(di,dh)};this.enableLinkTracking=function(di){c7=true;var dh=this;cg(function(){p(function(){bE(di,dh)});m(function(){bE(di,dh)})})};this.enableJSErrorTracking=function(){if(cR){return}cR=true;var dh=S.onerror;S.onerror=function(dm,dk,dj,dl,di){cg(function(){var dn="JavaScript Errors"; +var dp=dk+":"+dj;if(dl){dp+=":"+dl}at(dn,dp,dm)});if(dh){return dh(dm,dk,dj,dl,di)}return false}};this.disablePerformanceTracking=function(){a2=false};this.enableHeartBeatTimer=function(dh){dh=Math.max(dh||15,5);a5=dh*1000;if(cX!==null){de()}};this.disableHeartBeatTimer=function(){if(a5||aN){if(S.removeEventListener){S.removeEventListener("focus",ba);S.removeEventListener("blur",az)}else{if(S.detachEvent){S.detachEvent("onfocus",ba);S.detachEvent("onblur",az)}}}a5=null;aN=false};this.killFrame=function(){if(S.location!==S.top.location){S.top.location=S.location}};this.redirectFile=function(dh){if(S.location.protocol==="file:"){S.location=dh}};this.setCountPreRendered=function(dh){be=dh};this.trackGoal=function(dh,dk,dj,di){cg(function(){cS(dh,dk,dj,di)})};this.trackLink=function(di,dh,dk,dj){cg(function(){c0(di,dh,dk,dj)})};this.getNumTrackedPageViews=function(){return cp};this.trackPageView=function(dh,dj,di){ca=[];cK=[];if(N(b6)){cg(function(){Z(aE,bI,b6)})}else{cg(function(){cp++;b0(dh,dj,di) +})}};this.trackAllContentImpressions=function(){if(N(b6)){return}cg(function(){p(function(){var dh=v.findContentNodes();var di=cy(dh);bD.pushMultiple(di)})})};this.trackVisibleContentImpressions=function(dh,di){if(N(b6)){return}if(!J(dh)){dh=true}if(!J(di)){di=750}aS(dh,di,this);cg(function(){m(function(){var dj=v.findContentNodes();var dk=a9(dj);bD.pushMultiple(dk)})})};this.trackContentImpression=function(dj,dh,di){if(N(b6)){return}dj=a(dj);dh=a(dh);di=a(di);if(!dj){return}dh=dh||"Unknown";cg(function(){var dk=aG(dj,dh,di);bD.push(dk)})};this.trackContentImpressionsWithinNode=function(dh){if(N(b6)||!dh){return}cg(function(){if(ce){m(function(){var di=v.findContentNodesWithinNode(dh);var dj=a9(di);bD.pushMultiple(dj)})}else{p(function(){var di=v.findContentNodesWithinNode(dh);var dj=cy(di);bD.pushMultiple(dj)})}})};this.trackContentInteraction=function(dj,dk,dh,di){if(N(b6)){return}dj=a(dj);dk=a(dk);dh=a(dh);di=a(di);if(!dj||!dk){return}dh=dh||"Unknown";cg(function(){var dl=aP(dj,dk,dh,di); +if(dl){bD.push(dl)}})};this.trackContentInteractionNode=function(dj,di){if(N(b6)||!dj){return}var dh=null;cg(function(){dh=c9(dj,di);if(dh){bD.push(dh)}});return dh};this.logAllContentBlocksOnPage=function(){var dj=v.findContentNodes();var dh=v.collectContent(dj);var di=typeof console;if(di!=="undefined"&&console&&console.log){console.log(dh)}};this.trackEvent=function(di,dk,dh,dj,dm,dl){cg(function(){at(di,dk,dh,dj,dm,dl)})};this.trackSiteSearch=function(dh,dj,di,dk){ca=[];cg(function(){b8(dh,dj,di,dk)})};this.setEcommerceView=function(dl,dh,dj,di){cr={};if(Y(dj)){dj=String(dj)}if(!J(dj)||dj===null||dj===false||!dj.length){dj=""}else{if(dj instanceof Array){dj=S.JSON.stringify(dj)}}var dk="_pkc";cr[dk]=dj;if(J(di)&&di!==null&&di!==false&&String(di).length){dk="_pkp";cr[dk]=di}if(!Y(dl)&&!Y(dh)){return}if(Y(dl)){dk="_pks";cr[dk]=dl}if(!Y(dh)){dh=""}dk="_pkn";cr[dk]=dh};this.getEcommerceItems=function(){return JSON.parse(JSON.stringify(cZ))};this.addEcommerceItem=function(dl,dh,dj,di,dk){if(Y(dl)){cZ[dl]=[String(dl),dh,dj,di,dk] +}};this.removeEcommerceItem=function(dh){if(Y(dh)){dh=String(dh);delete cZ[dh]}};this.clearEcommerceCart=function(){cZ={}};this.trackEcommerceOrder=function(dh,dl,dk,dj,di,dm){bZ(dh,dl,dk,dj,di,dm)};this.trackEcommerceCartUpdate=function(dh){bt(dh)};this.trackRequest=function(di,dk,dj,dh){cg(function(){var dl=cq(di,dk,dh);bG(dl,bK,dj)})};this.ping=function(){this.trackRequest("ping=1",null,null,"ping")};this.disableQueueRequest=function(){bD.enabled=false};this.setRequestQueueInterval=function(dh){if(dh<1000){throw new Error("Request queue interval needs to be at least 1000ms")}bD.interval=dh};this.queueRequest=function(dh){cg(function(){var di=cq(dh);bD.push(di)})};this.isConsentRequired=function(){return cz};this.getRememberedConsent=function(){var dh=aD(bd);if(aD(cL)){if(dh){bY(bd,bq,cW)}return null}if(!dh||dh===0){return null}return dh};this.hasRememberedConsent=function(){return !!this.getRememberedConsent()};this.requireConsent=function(){cz=true;bC=this.hasRememberedConsent();if(!bC){bm=true +}x++;b["CoreConsent"+x]={unload:function(){if(!bC){aF()}}}};this.setConsentGiven=function(di){bC=true;bY(cL,bq,cW);var dj,dh;for(dj=0;dj<cK.length;dj++){dh=typeof cK[dj];if(dh==="string"){bG(cK[dj],bK)}else{if(dh==="object"){dd(cK[dj],bK)}}}cK=[];if(!J(di)||di){this.setCookieConsentGiven()}};this.rememberConsentGiven=function(dj){if(dj){dj=dj*60*60*1000}else{dj=30*365*24*60*60*1000}var dh=true;this.setConsentGiven(dh);var di=new Date().getTime();dc(bd,di,dj,bq,cW,bS)};this.forgetConsentGiven=function(){var dh=30*365*24*60*60*1000;bY(bd,bq,cW);dc(cL,new Date().getTime(),dh,bq,cW,bS);this.forgetCookieConsentGiven();this.requireConsent()};this.isUserOptedOut=function(){return !bC};this.optUserOut=this.forgetConsentGiven;this.forgetUserOptOut=function(){this.setConsentGiven(false)};m(function(){setTimeout(function(){bF=true},0)});t.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 Matomo trackers documentation: https://developer.matomo.org/guides/tracking-javascript-guide#multiple-piwik-trackers')}av[ap]++}}}}return au}var C=["addTracker","forgetCookieConsentGiven","requireCookieConsent","disableCookies","setTrackerUrl","setAPIUrl","enableCrossDomainLinking","setCrossDomainLinkingTimeout","setSessionCookieTimeout","setVisitorCookieTimeout","setCookieNamePrefix","setSecureCookie","setCookiePath","setCookieDomain","setDomains","setUserId","setVisitorId","setSiteId","alwaysUseSendBeacon","enableLinkTracking","setCookieConsentGiven","requireConsent","setConsentGiven"];function ad(aq,ap){var ao=new P(aq,ap);I.push(ao);_paq=c(_paq,C);for(E=0;E<_paq.length;E++){if(_paq[E]){af(_paq[E])}}_paq=new H();t.trigger("TrackerAdded",[ao]); +return ao}an(S,"beforeunload",ai,false);an(S,"message",function(au){if(!au||!au.origin){return}var aw,ar,ap;var ax=d(au.origin);var at=t.getAsyncTrackers();for(ar=0;ar<at.length;ar++){ap=d(at[ar].getMatomoUrl());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.getMatomoUrl(),maq_optout_by_default:aw.isConsentRequired()})}else{if(J(aq.maq_opted_in)){at=t.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.getMatomoUrl(),maq_optout_by_default:aw.isConsentRequired()}) }}},false);Date.prototype.getTimeAlias=Date.prototype.getTime;t={initialized:false,JSON:S.JSON,DOM:{addEventListener:function(ar,aq,ap,ao){var at=typeof ao;if(at==="undefined"){ao=false}an(ar,aq,ap,ao)},onLoad:m,onReady:p,isNodeVisible:i,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||S,ar)}},addPlugin:function(ao,ap){b[ao]=ap},getTracker:function(ap,ao){if(!J(ao)){ao=this.getAsyncTracker().getSiteId()}if(!J(ap)){ap=this.getAsyncTracker().getTrackerUrl()}return new P(ap,ao)},getAsyncTrackers:function(){return I},addTracker:function(aq,ap){var ao;if(!I.length){ao=ad(aq,ap)}else{ao=I[0].addTracker(aq,ap)}return ao},getAsyncTracker:function(at,ar){var aq;if(I&&I.length&&I[0]){aq=I[0]}else{return ad(at,ar)}if(!ar&&!at){return aq}if((!J(ar)||null===ar)&&aq){ar=aq.getSiteId() }if((!J(at)||null===at)&&aq){at=aq.getTrackerUrl()}var ap,ao=0;for(ao;ao<I.length;ao++){ap=I[ao];if(ap&&String(ap.getSiteId())===String(ar)&&ap.getTrackerUrl()===at){return ap}}},retryMissedPluginCalls:function(){var ap=ah;ah=[];var ao=0;for(ao;ao<ap.length;ao++){af(ap[ao])}}};if(typeof define==="function"&&define.amd){define("piwik",[],function(){return t});define("matomo",[],function(){return t})}return t}())} /*!!! pluginTrackerHook */ diff --git a/tests/javascript/index.php b/tests/javascript/index.php index 69ae30e95a..e4fbcecd54 100644 --- a/tests/javascript/index.php +++ b/tests/javascript/index.php @@ -2089,7 +2089,7 @@ function PiwikTest() { }); test("API methods", function() { - expect(118); + expect(117); equal( typeof Piwik.addPlugin, 'function', 'addPlugin' ); equal( typeof Piwik.addPlugin, 'function', 'addTracker' ); @@ -2170,7 +2170,6 @@ function PiwikTest() { equal( typeof tracker.setConversionAttributionFirstReferrer, 'function', 'setConversionAttributionFirstReferrer' ); equal( typeof tracker.addListener, 'function', 'addListener' ); equal( typeof tracker.enableLinkTracking, 'function', 'enableLinkTracking' ); - equal( typeof tracker.setVisitStandardLength, 'function', 'setVisitStandardLength' ); equal( typeof tracker.enableHeartBeatTimer, 'function', 'enableHeartBeatTimer' ); equal( typeof tracker.disableHeartBeatTimer, 'function', 'disableHeartBeatTimer' ); equal( typeof tracker.killFrame, 'function', 'killFrame' ); |