Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/matomo-org/matomo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Steur <tsteur@users.noreply.github.com>2016-10-01 01:56:01 +0300
committerMatthieu Aubry <mattab@users.noreply.github.com>2016-10-01 01:56:01 +0300
commit65bc19b4dca9cd951c36bb5de39231aed2df85dd (patch)
tree9af9e9fed2d6998251a1b568369e58ac304da043 /piwik.js
parent40f535174a305aa19d37e6367dca2bfc8eb1c4c8 (diff)
Track a unique id for each pageview (#10499)
* track a unique id for each pageview * fix tests * reduce idpageview to 6 bytes * added changelog entry
Diffstat (limited to 'piwik.js')
-rw-r--r--piwik.js52
1 files changed, 26 insertions, 26 deletions
diff --git a/piwik.js b/piwik.js
index da6dfce406..548d87f62e 100644
--- a/piwik.js
+++ b/piwik.js
@@ -36,32 +36,32 @@ if(ad){return ad}ad=U.findFirstNodeHavingAttribute(ac,this.CONTENT_TARGET_ATTR);
}var ad=af.clientWidth;if(L.innerWidth&&ad>L.innerWidth){ad=L.innerWidth}var ac=af.clientHeight;if(L.innerHeight&&ac>L.innerHeight){ac=L.innerHeight}return((ag.bottom>0||ae)&&ag.right>0&&ag.left<ad&&((ag.top<ac)||ae))},isNodeVisible:function(ad){var ac=h(ad);var ae=this.isOrWasNodeInViewport(ad);return ac&&ae},buildInteractionRequestParams:function(ac,ad,ae,af){var ag="";if(ac){ag+="c_i="+n(ac)}if(ad){if(ag){ag+="&"}ag+="c_n="+n(ad)}if(ae){if(ag){ag+="&"}ag+="c_p="+n(ae)}if(af){if(ag){ag+="&"}ag+="c_t="+n(af)}return ag},buildImpressionRequestParams:function(ac,ad,ae){var af="c_n="+n(ac)+"&c_p="+n(ad);if(ae){af+="&c_t="+n(ae)}return af},buildContentBlock:function(ae){if(!ae){return}var ac=this.findContentName(ae);var ad=this.findContentPiece(ae);var af=this.findContentTarget(ae);ac=this.trim(ac);ad=this.trim(ad);af=this.trim(af);return{name:ac||"Unknown",piece:ad||"Unknown",target:af||""}},collectContent:function(af){if(!af||!af.length){return[]}var ae=[];var ac,ad;for(ac=0;ac<af.length;
ac++){ad=this.buildContentBlock(af[ac]);if(B(ad)){ae.push(ad)}}return ae},setLocation:function(ac){this.location=ac},getLocation:function(){var ac=this.location||L.location;if(!ac.origin){ac.origin=ac.protocol+"//"+ac.hostname+(ac.port?":"+ac.port:"")}return ac},toAbsoluteUrl:function(ad){if((!ad||String(ad)!==ad)&&ad!==""){return ad}if(""===ad){return this.getLocation().href}if(ad.search(/^\/\//)!==-1){return this.getLocation().protocol+ad}if(ad.search(/:\/\//)!==-1){return ad}if(0===ad.indexOf("#")){return this.getLocation().origin+this.getLocation().pathname+ad}if(0===ad.indexOf("?")){return this.getLocation().origin+this.getLocation().pathname+ad}if(0===ad.search("^[a-zA-Z]{2,11}:")){return ad}if(ad.search(/^\//)!==-1){return this.getLocation().origin+ad}var ac="(.*/)";var ae=this.getLocation().origin+this.getLocation().pathname.match(new RegExp(ac))[0];return ae+ad},isUrlToCurrentDomain:function(ad){var ae=this.toAbsoluteUrl(ad);if(!ae){return false}var ac=this.getLocation().origin;
if(ac===ae){return true}if(0===String(ae).indexOf(ac)){if(":"===String(ae).substr(ac.length,1)){return false}return true}return false},setHrefAttribute:function(ad,ac){if(!ad||!ac){return}U.setAnyAttribute(ad,"href",ac)},shouldIgnoreInteraction:function(ae){var ad=U.hasNodeAttribute(ae,this.CONTENT_IGNOREINTERACTION_ATTR);var ac=U.hasNodeCssClass(ae,this.CONTENT_IGNOREINTERACTION_CLASS);return ad||ac}};function G(ad,ag){if(ag){return ag}if(s(ad,"?")){var af=ad.indexOf("?");ad=ad.slice(0,af)}if(J(ad,"piwik.php")){ad=e(ad,"piwik.php".length)}else{if(J(ad,".php")){var ac=ad.lastIndexOf("/");var ae=1;ad=ad.slice(0,ac+ae)}}if(J(ad,"/js/")){ad=e(ad,"js/".length)}return ad}function F(ai){var ak="Piwik_Overlay";var ad=new RegExp("index\\.php\\?module=Overlay&action=startOverlaySession&idSite=([0-9]+)&period=([^&]+)&date=([^&]+)(&segment=.*)?$");var ae=ad.exec(y.referrer);if(ae){var ag=ae[1];if(ag!==String(ai)){return false}var ah=ae[2],ac=ae[3],af=ae[4];if(!af){af=""}else{if(af.indexOf("&segment=")===0){af=af.substr("&segment=".length)
-}}L.name=ak+"###"+ah+"###"+ac+"###"+af}var aj=L.name.split("###");return aj.length===4&&aj[0]===ak}function Q(ad,aj,af){var ai=L.name.split("###"),ah=ai[1],ac=ai[2],ag=ai[3],ae=G(ad,aj);j(ae+"plugins/Overlay/client/client.js?v=1",function(){Piwik_Overlay_Client.initialize(ae,af,ah,ac,ag)})}function o(){var ae;try{ae=L.frameElement}catch(ad){return true}if(B(ae)){return(ae&&String(ae.nodeName).toLowerCase()==="iframe")?true:false}try{return L.self!==L.top}catch(ac){return true}}function I(bK,bE){var bA=R(y.domain,L.location.href,C()),cj=D(bA[0]),bk=k(bA[1]),aZ=k(bA[2]),ch=false,bO="GET",cv=bO,aq="application/x-www-form-urlencoded; charset=UTF-8",b0=aq,am=bK||"",bf="",cn="",bC=bE||"",a8="",bl="",aK,aV="",cs=["7z","aac","apk","arc","arj","asf","asx","avi","azw3","bin","csv","deb","dmg","doc","docx","epub","exe","flv","gif","gz","gzip","hqx","ibooks","jar","jpg","jpeg","js","mobi","mp2","mp3","mp4","mpg","mpeg","mov","movie","msi","msp","odb","odf","odg","ods","odt","ogg","ogv","pdf","phps","png","ppt","pptx","qt","qtm","ra","ram","rar","rpm","sea","sit","tar","tbz","tbz2","bz","bz2","tgz","torrent","txt","wav","wma","wmv","wpd","xls","xlsx","xml","z","zip"],ai=[cj],a9=[],bi=[],aN=[],bg=500,ca,aL,bo,bm,ac,bW=["pk_campaign","piwik_campaign","utm_campaign","utm_source","utm_medium"],be=["pk_kwd","piwik_kwd","utm_term"],aW="_pk_",cl,a1,aX=false,cf,aT,a5,cb=33955200000,bU=1800000,cr=15768000000,aI=true,bS=0,bn=false,ax=false,bH,bs={},bR={},aY={},a4=200,co={},ct={},bG=[],bL=false,b4=false,ad=false,cu=false,av=false,aS=o(),cm=null,bI,ay,ba,bD=Z,a0;
-try{aV=y.title}catch(b2){aV=""}function cy(cI,cF,cE,cH,cD,cG){if(aX){return}var cC;if(cE){cC=new Date();cC.setTime(cC.getTime()+cE)}y.cookie=cI+"="+n(cF)+(cE?";expires="+cC.toGMTString():"")+";path="+(cH||"/")+(cD?";domain="+cD:"")+(cG?";secure":"")}function al(cE){if(aX){return 0}var cC=new RegExp("(^|;)[ ]*"+cE+"=([^;]*)"),cD=cC.exec(y.cookie);return cD?K(cD[2]):0}function by(cC){var cD;if(bm){cD=new RegExp("#.*");return cC.replace(cD,"")}return cC}function br(cE,cC){var cF=m(cC),cD;if(cF){return cC}if(cC.slice(0,1)==="/"){return m(cE)+"://"+c(cE)+cC}cE=by(cE);cD=cE.indexOf("?");if(cD>=0){cE=cE.slice(0,cD)}cD=cE.lastIndexOf("/");if(cD!==cE.length-1){cE=cE.slice(0,cD+1)}return cE+cC}function b8(cE,cC){var cD;cE=String(cE).toLowerCase();cC=String(cC).toLowerCase();if(cE===cC){return true}if(cC.slice(0,1)==="."){if(cE===cC.slice(1)){return true}cD=cE.length-cC.length;if((cD>0)&&(cE.slice(cD)===cC)){return true}}return false}function bQ(cC){var cD=document.createElement("a");if(cC.indexOf("//")!==0&&cC.indexOf("http")!==0){if(cC.indexOf("*")===0){cC=cC.substr(1)
-}if(cC.indexOf(".")===0){cC=cC.substr(1)}cC="http://"+cC}cD.href=p.toAbsoluteUrl(cC);if(cD.pathname){return cD.pathname}return""}function aJ(cD,cC){if(!X(cC,"/")){cC="/"+cC}if(!X(cD,"/")){cD="/"+cD}var cE=(cC==="/"||cC==="/*");if(cE){return true}if(cD===cC){return true}cC=String(cC).toLowerCase();cD=String(cD).toLowerCase();if(J(cC,"*")){cC=cC.slice(0,-1);cE=(!cC||cC==="/");if(cE){return true}if(cD===cC){return true}return cD.indexOf(cC)===0}if(!J(cD,"/")){cD+="/"}if(!J(cC,"/")){cC+="/"}return cD.indexOf(cC)===0}function af(cG,cI){var cD,cC,cE,cF,cH;for(cD=0;cD<ai.length;cD++){cF=D(ai[cD]);cH=bQ(ai[cD]);if(b8(cG,cF)&&aJ(cI,cH)){return true}}return false}function aC(cF){var cD,cC,cE;for(cD=0;cD<ai.length;cD++){cC=D(ai[cD].toLowerCase());if(cF===cC){return true}if(cC.slice(0,1)==="."){if(cF===cC.slice(1)){return true}cE=cF.length-cC.length;if((cE>0)&&(cF.slice(cE)===cC)){return true}}}return false}function bV(cC,cE){var cD=new Image(1,1);cD.onload=function(){x=0;if(typeof cE==="function"){cE()
-}};cC=cC.replace("send_image=0","send_image=1");cD.src=am+(am.indexOf("?")<0?"?":"&")+cC}function cq(cD,cG,cC){if(!B(cC)||null===cC){cC=true}try{var cF=L.XMLHttpRequest?new L.XMLHttpRequest():L.ActiveXObject?new ActiveXObject("Microsoft.XMLHTTP"):null;cF.open("POST",am,true);cF.onreadystatechange=function(){if(this.readyState===4&&!(this.status>=200&&this.status<300)&&cC){bV(cD,cG)}else{if(this.readyState===4&&(typeof cG==="function")){cG()}}};cF.setRequestHeader("Content-Type",b0);cF.send(cD)}catch(cE){if(cC){bV(cD,cG)}}}function bM(cD){var cC=new Date();var cE=cC.getTime()+cD;if(!l||cE>l){l=cE}}function bT(cC){if(bI||!aL){return}bI=setTimeout(function cD(){bI=null;if(!aS){aS=(!y.hasFocus||y.hasFocus())}if(!aS){bT(aL);return}if(bo()){return}var cE=new Date(),cF=aL-(cE.getTime()-cm);cF=Math.min(aL,cF);bT(cF)},cC||aL)}function bh(){if(!bI){return}clearTimeout(bI);bI=null}function aP(){aS=true;if(bo()){return}bT()}function aj(){bh()}function cA(){if(av||!aL){return}av=true;aa(L,"focus",aP);
-aa(L,"blur",aj);bT()}function b5(cG){var cD=new Date();var cC=cD.getTime();cm=cC;if(b4&&cC<b4){var cE=b4-cC;setTimeout(cG,cE);bM(cE+50);b4+=50;return}if(b4===false){var cF=800;b4=cC+cF}cG()}function bd(cD,cC,cE){if(!cf&&cD){b5(function(){if(cv==="POST"){cq(cD,cE)}else{bV(cD,cE)}bM(cC)})}if(!av){cA()}else{bT()}}function bP(cC){if(cf){return false}return(cC&&cC.length)}function cz(cE,cC){if(!bP(cE)){return}var cD='{"requests":["?'+cE.join('","?')+'"]}';b5(function(){cq(cD,null,false);bM(cC)})}function aA(cC){return aW+cC+"."+bC+"."+a0}function bB(){if(aX){return"0"}if(!B(f.cookieEnabled)){var cC=aA("testcookie");cy(cC,"1");return al(cC)==="1"?"1":"0"}return f.cookieEnabled?"1":"0"}function aU(){a0=bD((cl||cj)+(a1||"/")).slice(0,4)}function bt(){var cD=aA("cvar"),cC=al(cD);if(cC.length){cC=JSON2.parse(cC);if(O(cC)){return cC}}return{}}function b6(){if(ax===false){ax=bt()}}function cg(){return bD((f.userAgent||"")+(f.platform||"")+JSON2.stringify(ct)+(new Date()).getTime()+Math.random()).slice(0,16)
-}function cd(){var cE=new Date(),cC=Math.round(cE.getTime()/1000),cD=aA("id"),cH=al(cD),cG,cF;if(cH){cG=cH.split(".");cG.unshift("0");if(bl.length){cG[1]=bl}return cG}if(bl.length){cF=bl}else{if("0"===bB()){cF=""}else{cF=cg()}}cG=["1",cF,cC,0,cC,"",""];return cG}function aE(){var cJ=cd(),cF=cJ[0],cG=cJ[1],cD=cJ[2],cC=cJ[3],cH=cJ[4],cE=cJ[5];if(!B(cJ[6])){cJ[6]=""}var cI=cJ[6];return{newVisitor:cF,uuid:cG,createTs:cD,visitCount:cC,currentVisitTs:cH,lastVisitTs:cE,lastEcommerceOrderTs:cI}}function ap(){var cF=new Date(),cD=cF.getTime(),cG=aE().createTs;var cC=parseInt(cG,10);var cE=(cC*1000)+cb-cD;return cE}function at(cC){if(!bC){return}var cE=new Date(),cD=Math.round(cE.getTime()/1000);if(!B(cC)){cC=aE()}var cF=cC.uuid+"."+cC.createTs+"."+cC.visitCount+"."+cD+"."+cC.lastVisitTs+"."+cC.lastEcommerceOrderTs;cy(aA("id"),cF,ap(),a1,cl)}function bj(){var cC=al(aA("ref"));if(cC.length){try{cC=JSON2.parse(cC);if(O(cC)){return cC}}catch(cD){}}return["","",0,""]}function bu(cE,cD,cC){cy(cE,"",-86400,cD,cC)
-}function a6(cD){var cC="testvalue";cy("test",cC,10000,null,cD);if(al("test")===cC){bu("test",null,cD);return true}return false}function an(){var cE=aX;aX=false;var cC=["id","ses","cvar","ref"];var cD,cF;for(cD=0;cD<cC.length;cD++){cF=aA(cC[cD]);if(0!==al(cF)){bu(cF,a1,cl)}}aX=cE}function bz(cC){bC=cC;at()}function cB(cG){if(!cG||!O(cG)){return}var cF=[];var cE;for(cE in cG){if(Object.prototype.hasOwnProperty.call(cG,cE)){cF.push(cE)}}var cH={};cF.sort();var cC=cF.length;var cD;for(cD=0;cD<cC;cD++){cH[cF[cD]]=cG[cF[cD]]}return cH}function bJ(){cy(aA("ses"),"*",bU,a1,cl)}function bX(cE,cZ,c0,cF){var cY,cD=new Date(),cM=Math.round(cD.getTime()/1000),cJ,cX,cG=1024,c5,cN,cV=ax,cH=aA("ses"),cT=aA("ref"),cQ=aA("cvar"),cR=al(cH),cW=bj(),c2=aK||bk,cK,cC;if(aX){an()}if(cf){return""}var cS=aE();if(!B(cF)){cF=""}var cP=y.characterSet||y.charset;if(!cP||cP.toLowerCase()==="utf-8"){cP=null}cK=cW[0];cC=cW[1];cJ=cW[2];cX=cW[3];if(!cR){var c1=bU/1000;if(!cS.lastVisitTs||(cM-cS.lastVisitTs)>c1){cS.visitCount++;
-cS.lastVisitTs=cS.currentVisitTs}if(!a5||!cK.length){for(cY in bW){if(Object.prototype.hasOwnProperty.call(bW,cY)){cK=N(c2,bW[cY]);if(cK.length){break}}}for(cY in be){if(Object.prototype.hasOwnProperty.call(be,cY)){cC=N(c2,be[cY]);if(cC.length){break}}}}c5=c(aZ);cN=cX.length?c(cX):"";if(c5.length&&!aC(c5)&&(!a5||!cN.length||aC(cN))){cX=aZ}if(cX.length||cK.length){cJ=cM;cW=[cK,cC,cJ,by(cX.slice(0,cG))];cy(cT,JSON2.stringify(cW),cr,a1,cl)}}cE+="&idsite="+bC+"&rec=1&r="+String(Math.random()).slice(2,8)+"&h="+cD.getHours()+"&m="+cD.getMinutes()+"&s="+cD.getSeconds()+"&url="+n(by(c2))+(aZ.length?"&urlref="+n(by(aZ)):"")+((a8&&a8.length)?"&uid="+n(a8):"")+"&_id="+cS.uuid+"&_idts="+cS.createTs+"&_idvc="+cS.visitCount+"&_idn="+cS.newVisitor+(cK.length?"&_rcn="+n(cK):"")+(cC.length?"&_rck="+n(cC):"")+"&_refts="+cJ+"&_viewts="+cS.lastVisitTs+(String(cS.lastEcommerceOrderTs).length?"&_ects="+cS.lastEcommerceOrderTs:"")+(String(cX).length?"&_ref="+n(by(cX.slice(0,cG))):"")+(cP?"&cs="+n(cP):"")+"&send_image=0";
-for(cY in ct){if(Object.prototype.hasOwnProperty.call(ct,cY)){cE+="&"+cY+"="+ct[cY]}}var c4=[];if(cZ){for(cY in cZ){if(Object.prototype.hasOwnProperty.call(cZ,cY)&&/^dimension\d+$/.test(cY)){var cI=cY.replace("dimension","");c4.push(parseInt(cI,10));c4.push(String(cI));cE+="&"+cY+"="+cZ[cY];delete cZ[cY]}}}if(cZ&&u(cZ)){cZ=null}for(cY in aY){if(Object.prototype.hasOwnProperty.call(aY,cY)){var cO=(-1===E(c4,cY));if(cO){cE+="&dimension"+cY+"="+aY[cY]}}}if(cZ){cE+="&data="+n(JSON2.stringify(cZ))}else{if(ac){cE+="&data="+n(JSON2.stringify(ac))}}function cL(c6,c7){var c8=JSON2.stringify(c6);if(c8.length>2){return"&"+c7+"="+n(c8)}return""}var c3=cB(bs);var cU=cB(bR);cE+=cL(c3,"cvar");cE+=cL(cU,"e_cvar");if(ax){cE+=cL(ax,"_cvar");for(cY in cV){if(Object.prototype.hasOwnProperty.call(cV,cY)){if(ax[cY][0]===""||ax[cY][1]===""){delete ax[cY]}}}if(bn){cy(cQ,JSON2.stringify(ax),bU,a1,cl)}}if(aI){if(bS){cE+="&gt_ms="+bS}else{if(g&&g.timing&&g.timing.requestStart&&g.timing.responseEnd){cE+="&gt_ms="+(g.timing.responseEnd-g.timing.requestStart)
-}}}cS.lastEcommerceOrderTs=B(cF)&&String(cF).length?cF:cS.lastEcommerceOrderTs;at(cS);bJ();cE+=S(c0);if(cn.length){cE+="&"+cn}if(t(bH)){cE=bH(cE)}return cE}bo=function aM(){var cC=new Date();if(cm+aL<=cC.getTime()){var cD=bX("ping=1",null,"ping");bd(cD,bg);return true}return false};function a2(cF,cE,cK,cG,cC,cN){var cI="idgoal=0",cJ,cD=new Date(),cL=[],cM,cH=String(cF).length;if(cH){cI+="&ec_id="+n(cF);cJ=Math.round(cD.getTime()/1000)}cI+="&revenue="+cE;if(String(cK).length){cI+="&ec_st="+cK}if(String(cG).length){cI+="&ec_tx="+cG}if(String(cC).length){cI+="&ec_sh="+cC}if(String(cN).length){cI+="&ec_dt="+cN}if(co){for(cM in co){if(Object.prototype.hasOwnProperty.call(co,cM)){if(!B(co[cM][1])){co[cM][1]=""}if(!B(co[cM][2])){co[cM][2]=""}if(!B(co[cM][3])||String(co[cM][3]).length===0){co[cM][3]=0}if(!B(co[cM][4])||String(co[cM][4]).length===0){co[cM][4]=1}cL.push(co[cM])}}cI+="&ec_items="+n(JSON2.stringify(cL))}cI=bX(cI,ac,"ecommerce",cJ);bd(cI,bg);if(cH){co={}}}function bv(cC,cG,cF,cE,cD,cH){if(String(cC).length&&B(cG)){a2(cC,cG,cF,cE,cD,cH)
-}}function a3(cC){if(B(cC)){a2("",cC,"","","","")}}function bw(cD,cF,cE){var cC=bX("action_name="+n(ab(cD||aV)),cF,"log");bd(cC,bg,cE)}function aG(cE,cD){var cF,cC="(^| )(piwik[_-]"+cD;if(cE){for(cF=0;cF<cE.length;cF++){cC+="|"+cE[cF]}}cC+=")( |$)";return new RegExp(cC)}function aB(cC){return(am&&cC&&0===String(cC).indexOf(am))}function bY(cG,cC,cH,cD){if(aB(cC)){return 0}var cF=aG(bi,"download"),cE=aG(aN,"link"),cI=new RegExp("\\.("+cs.join("|")+")([?&#]|$)","i");if(cE.test(cG)){return"link"}if(cD||cF.test(cG)||cI.test(cC)){return"download"}if(cH){return 0}return"link"}function ag(cD){var cC;cC=cD.parentNode;while(cC!==null&&B(cC)){if(U.isLinkElement(cD)){break}cD=cC;cC=cD.parentNode}return cD}function cw(cH){cH=ag(cH);if(!U.hasNodeAttribute(cH,"href")){return}if(!B(cH.href)){return}var cG=U.getAttributeValueFromNode(cH,"href");if(aB(cG)){return}var cD=cH.pathname||bQ(cH.href);var cI=cH.hostname||c(cH.href);var cJ=cI.toLowerCase();var cE=cH.href.replace(cI,cJ);var cF=new RegExp("^(javascript|vbscript|jscript|mocha|livescript|ecmascript|mailto|tel):","i");
-if(!cF.test(cE)){var cC=bY(cH.className,cE,af(cJ,cD),U.hasNodeAttribute(cH,"download"));if(cC){return{type:cC,href:cE}}}}function aw(cC,cD,cE,cF){var cG=p.buildInteractionRequestParams(cC,cD,cE,cF);if(!cG){return}return bX(cG,null,"contentInteraction")}function cc(cE,cF,cJ,cC,cD){if(!B(cE)){return}if(aB(cE)){return cE}var cH=p.toAbsoluteUrl(cE);var cG="redirecturl="+n(cH)+"&";cG+=aw(cF,cJ,cC,(cD||cE));var cI="&";if(am.indexOf("?")<0){cI="?"}return am+cI+cG}function aQ(cC,cD){if(!cC||!cD){return false}var cE=p.findTargetNode(cC);if(p.shouldIgnoreInteraction(cE)){return false}cE=p.findTargetNodeNoDefault(cC);if(cE&&!M(cE,cD)){return false}return true}function bZ(cE,cD,cG){if(!cE){return}var cC=p.findParentContentNode(cE);if(!cC){return}if(!aQ(cC,cE)){return}var cF=p.buildContentBlock(cC);if(!cF){return}if(!cF.target&&cG){cF.target=cG}return p.buildInteractionRequestParams(cD,cF.name,cF.piece,cF.target)}function aD(cD){if(!bG||!bG.length){return false}var cC,cE;for(cC=0;cC<bG.length;cC++){cE=bG[cC];
-if(cE&&cE.name===cD.name&&cE.piece===cD.piece&&cE.target===cD.target){return true}}return false}function bc(cF){if(!cF){return false}var cI=p.findTargetNode(cF);if(!cI||p.shouldIgnoreInteraction(cI)){return false}var cJ=cw(cI);if(cu&&cJ&&cJ.type){return false}if(U.isLinkElement(cI)&&U.hasNodeAttributeWithValue(cI,"href")){var cC=String(U.getAttributeValueFromNode(cI,"href"));if(0===cC.indexOf("#")){return false}if(aB(cC)){return true}if(!p.isUrlToCurrentDomain(cC)){return false}var cG=p.buildContentBlock(cF);if(!cG){return}var cE=cG.name;var cK=cG.piece;var cH=cG.target;if(!U.hasNodeAttributeWithValue(cI,p.CONTENT_TARGET_ATTR)||cI.wasContentTargetAttrReplaced){cI.wasContentTargetAttrReplaced=true;cH=p.toAbsoluteUrl(cC);U.setAnyAttribute(cI,p.CONTENT_TARGET_ATTR,cH)}var cD=cc(cC,"click",cE,cK,cH);p.setHrefAttribute(cI,cD);return true}return false}function au(cD){if(!cD||!cD.length){return}var cC;for(cC=0;cC<cD.length;cC++){bc(cD[cC])}}function aF(cC){return function(cD){if(!cC){return}var cG=p.findParentContentNode(cC);
-var cH;if(cD){cH=cD.target||cD.srcElement}if(!cH){cH=cC}if(!aQ(cG,cH)){return}bM(bg);if(U.isLinkElement(cC)&&U.hasNodeAttributeWithValue(cC,"href")&&U.hasNodeAttributeWithValue(cC,p.CONTENT_TARGET_ATTR)){var cE=U.getAttributeValueFromNode(cC,"href");if(!aB(cE)&&cC.wasContentTargetAttrReplaced){U.setAnyAttribute(cC,p.CONTENT_TARGET_ATTR,"")}}var cL=cw(cC);if(ad&&cL&&cL.type){return cL.type}if(bc(cG)){return"href"}var cI=p.buildContentBlock(cG);if(!cI){return}var cF=cI.name;var cM=cI.piece;var cK=cI.target;var cJ=aw("click",cF,cM,cK);bd(cJ,bg);return cJ}}function bx(cE){if(!cE||!cE.length){return}var cC,cD;for(cC=0;cC<cE.length;cC++){cD=p.findTargetNode(cE[cC]);if(cD&&!cD.contentInteractionTrackingSetupDone){cD.contentInteractionTrackingSetupDone=true;aa(cD,"click",aF(cD))}}}function a7(cE,cF){if(!cE||!cE.length){return[]}var cC,cD;for(cC=0;cC<cE.length;cC++){if(aD(cE[cC])){cE.splice(cC,1);cC--}else{bG.push(cE[cC])}}if(!cE||!cE.length){return[]}au(cF);bx(cF);var cG=[];for(cC=0;cC<cE.length;
-cC++){cD=bX(p.buildImpressionRequestParams(cE[cC].name,cE[cC].piece,cE[cC].target),undefined,"contentImpressions");if(cD){cG.push(cD)}}return cG}function b3(cD){var cC=p.collectContent(cD);return a7(cC,cD)}function aO(cD){if(!cD||!cD.length){return[]}var cC;for(cC=0;cC<cD.length;cC++){if(!p.isNodeVisible(cD[cC])){cD.splice(cC,1);cC--}}if(!cD||!cD.length){return[]}return b3(cD)}function ao(cE,cC,cD){var cF=p.buildImpressionRequestParams(cE,cC,cD);return bX(cF,null,"contentImpression")}function cx(cF,cD){if(!cF){return}var cC=p.findParentContentNode(cF);var cE=p.buildContentBlock(cC);if(!cE){return}if(!cD){cD="Unknown"}return aw(cD,cE.name,cE.piece,cE.target)}function ce(cD,cF,cC,cE){return"e_c="+n(cD)+"&e_a="+n(cF)+(B(cC)?"&e_n="+n(cC):"")+(B(cE)?"&e_v="+n(cE):"")}function ah(cE,cG,cC,cF,cI,cH){if(String(cE).length===0||String(cG).length===0){return false}var cD=bX(ce(cE,cG,cC,cF),cI,"event");bd(cD,bg,cH)}function bF(cC,cF,cD,cG){var cE=bX("search="+n(cC)+(cF?"&search_cat="+n(cF):"")+(B(cD)?"&search_count="+cD:""),cG,"sitesearch");
-bd(cE,bg)}function ci(cC,cF,cE){var cD=bX("idgoal="+cC+(cF?"&revenue="+cF:""),cE,"goal");bd(cD,bg)}function cp(cF,cC,cJ,cI,cE){var cH=cC+"="+n(by(cF));var cD=bZ(cE,"click",cF);if(cD){cH+="&"+cD}var cG=bX(cH,cJ,"link");bd(cG,bg,cI)}function bp(cD,cC){if(cD!==""){return cD+cC.charAt(0).toUpperCase()+cC.slice(1)}return cC}function bN(cH){var cG,cC,cF=["","webkit","ms","moz"],cE;if(!aT){for(cC=0;cC<cF.length;cC++){cE=cF[cC];if(Object.prototype.hasOwnProperty.call(y,bp(cE,"hidden"))){if(y[bp(cE,"visibilityState")]==="prerender"){cG=true}break}}}if(cG){aa(y,cE+"visibilitychange",function cD(){y.removeEventListener(cE+"visibilitychange",cD,false);cH()});return}cH()}function ar(cC){if(y.readyState==="complete"){cC()}else{if(L.addEventListener){L.addEventListener("load",cC)}else{if(L.attachEvent){L.attachEvent("onload",cC)}}}}function aR(cF){var cC=false;if(y.attachEvent){cC=y.readyState==="complete"}else{cC=y.readyState!=="loading"}if(cC){cF();return}var cE;if(y.addEventListener){aa(y,"DOMContentLoaded",function cD(){y.removeEventListener("DOMContentLoaded",cD,false);
-if(!cC){cC=true;cF()}})}else{if(y.attachEvent){y.attachEvent("onreadystatechange",function cD(){if(y.readyState==="complete"){y.detachEvent("onreadystatechange",cD);if(!cC){cC=true;cF()}}});if(y.documentElement.doScroll&&L===L.top){(function cD(){if(!cC){try{y.documentElement.doScroll("left")}catch(cG){setTimeout(cD,0);return}cC=true;cF()}}())}}}aa(L,"load",function(){if(!cC){cC=true;cF()}},false)}function b9(cC){var cD=cw(cC);if(cD&&cD.type){cD.href=k(cD.href);cp(cD.href,cD.type,undefined,null,cC)}}function b1(){return y.all&&!y.addEventListener}function ck(cC){var cE=cC.which;var cD=(typeof cC.button);if(!cE&&cD!=="undefined"){if(b1()){if(cC.button&1){cE=1}else{if(cC.button&2){cE=3}else{if(cC.button&4){cE=2}}}}else{if(cC.button===0||cC.button==="0"){cE=1}else{if(cC.button&1){cE=2}else{if(cC.button&2){cE=3}}}}}return cE}function bq(cC){switch(ck(cC)){case 1:return"left";case 2:return"middle";case 3:return"right"}}function aH(cC){return cC.target||cC.srcElement}function ak(cC){return function(cF){cF=cF||L.event;
-var cE=bq(cF);var cG=aH(cF);if(cF.type==="click"){var cD=false;if(cC&&cE==="middle"){cD=true}if(cG&&!cD){b9(cG)}}else{if(cF.type==="mousedown"){if(cE==="middle"&&cG){ay=cE;ba=cG}else{ay=ba=null}}else{if(cF.type==="mouseup"){if(cE===ay&&cG===ba){b9(cG)}ay=ba=null}else{if(cF.type==="contextmenu"){b9(cG)}}}}}}function ae(cD,cC){aa(cD,"click",ak(cC),false);if(cC){aa(cD,"mouseup",ak(cC),false);aa(cD,"mousedown",ak(cC),false);aa(cD,"contextmenu",ak(cC),false)}}function bb(cD){if(!ad){ad=true;var cE,cC=aG(a9,"ignore"),cF=y.links;if(cF){for(cE=0;cE<cF.length;cE++){if(!cC.test(cF[cE].className)){ae(cF[cE],cD)}}}}}function az(cE,cG,cH){if(bL){return true}bL=true;var cI=false;var cF,cD;function cC(){cI=true}ar(function(){function cJ(cL){setTimeout(function(){if(!bL){return}cI=false;cH.trackVisibleContentImpressions();cJ(cL)},cL)}function cK(cL){setTimeout(function(){if(!bL){return}if(cI){cI=false;cH.trackVisibleContentImpressions()}cK(cL)},cL)}if(cE){cF=["scroll","resize"];for(cD=0;cD<cF.length;cD++){if(y.addEventListener){y.addEventListener(cF[cD],cC)
-}else{L.attachEvent("on"+cF[cD],cC)}}cK(100)}if(cG&&cG>0){cG=parseInt(cG,10);cJ(cG)}})}function b7(){var cD,cF,cG={pdf:"application/pdf",qt:"video/quicktime",realp:"audio/x-pn-realaudio-plugin",wma:"application/x-mplayer2",dir:"application/x-director",fla:"application/x-shockwave-flash",java:"application/x-java-vm",gears:"application/x-googlegears",ag:"application/x-silverlight"};if(!((new RegExp("MSIE")).test(f.userAgent))){if(f.mimeTypes&&f.mimeTypes.length){for(cD in cG){if(Object.prototype.hasOwnProperty.call(cG,cD)){cF=f.mimeTypes[cG[cD]];ct[cD]=(cF&&cF.enabledPlugin)?"1":"0"}}}if(typeof navigator.javaEnabled!=="unknown"&&B(f.javaEnabled)&&f.javaEnabled()){ct.java="1"}if(t(L.GearsFactory)){ct.gears="1"}ct.cookie=bB()}var cE=parseInt(P.width,10);var cC=parseInt(P.height,10);ct.res=parseInt(cE,10)+"x"+parseInt(cC,10)}b7();aU();at();this.getVisitorId=function(){return aE().uuid};this.getVisitorInfo=function(){return cd()};this.getAttributionInfo=function(){return bj()};this.getAttributionCampaignName=function(){return bj()[0]
-};this.getAttributionCampaignKeyword=function(){return bj()[1]};this.getAttributionReferrerTimestamp=function(){return bj()[2]};this.getAttributionReferrerUrl=function(){return bj()[3]};this.setTrackerUrl=function(cC){am=cC};this.getTrackerUrl=function(){return am};this.addTracker=function(cC,cE){if(!cE){throw new Error("A siteId must be given to add a new tracker")}if(!B(cC)||null===cC){cC=this.getTrackerUrl()}var cD=new I(cC,cE);A.push(cD);return cD};this.getSiteId=function(){return bC};this.setSiteId=function(cC){bz(cC)};this.setUserId=function(cC){if(!B(cC)||!cC.length){return}a8=cC;bl=bD(a8).substr(0,16)};this.getUserId=function(){return a8};this.setCustomData=function(cC,cD){if(O(cC)){ac=cC}else{if(!ac){ac={}}ac[cC]=cD}};this.getCustomData=function(){return ac};this.setCustomRequestProcessing=function(cC){bH=cC};this.appendToTrackingUrl=function(cC){cn=cC};this.getRequest=function(cC){return bX(cC)};this.addPlugin=function(cC,cD){a[cC]=cD};this.setCustomDimension=function(cC,cD){cC=parseInt(cC,10);
-if(cC>0){if(!B(cD)){cD=""}if(!q(cD)){cD=String(cD)}aY[cC]=cD}};this.getCustomDimension=function(cC){cC=parseInt(cC,10);if(cC>0&&Object.prototype.hasOwnProperty.call(aY,cC)){return aY[cC]}};this.deleteCustomDimension=function(cC){cC=parseInt(cC,10);if(cC>0){delete aY[cC]}};this.setCustomVariable=function(cD,cC,cG,cE){var cF;if(!B(cE)){cE="visit"}if(!B(cC)){return}if(!B(cG)){cG=""}if(cD>0){cC=!q(cC)?String(cC):cC;cG=!q(cG)?String(cG):cG;cF=[cC.slice(0,a4),cG.slice(0,a4)];if(cE==="visit"||cE===2){b6();ax[cD]=cF}else{if(cE==="page"||cE===3){bs[cD]=cF}else{if(cE==="event"){bR[cD]=cF}}}}};this.getCustomVariable=function(cD,cE){var cC;if(!B(cE)){cE="visit"}if(cE==="page"||cE===3){cC=bs[cD]}else{if(cE==="event"){cC=bR[cD]}else{if(cE==="visit"||cE===2){b6();cC=ax[cD]}}}if(!B(cC)||(cC&&cC[0]==="")){return false}return cC};this.deleteCustomVariable=function(cC,cD){if(this.getCustomVariable(cC,cD)){this.setCustomVariable(cC,"","",cD)}};this.storeCustomVariablesInCookie=function(){bn=true};this.setLinkTrackingTimer=function(cC){bg=cC
-};this.setDownloadExtensions=function(cC){if(q(cC)){cC=cC.split("|")}cs=cC};this.addDownloadExtensions=function(cD){var cC;if(q(cD)){cD=cD.split("|")}for(cC=0;cC<cD.length;cC++){cs.push(cD[cC])}};this.removeDownloadExtensions=function(cE){var cD,cC=[];if(q(cE)){cE=cE.split("|")}for(cD=0;cD<cs.length;cD++){if(E(cE,cs[cD])===-1){cC.push(cs[cD])}}cs=cC};this.setDomains=function(cC){ai=q(cC)?[cC]:cC;var cG=false,cE=0,cD;for(cE;cE<ai.length;cE++){cD=String(ai[cE]);if(b8(cj,D(cD))){cG=true;break}var cF=bQ(cD);if(cF&&cF!=="/"&&cF!=="/*"){cG=true;break}}if(!cG){ai.push(cj)}};this.setIgnoreClasses=function(cC){a9=q(cC)?[cC]:cC};this.setRequestMethod=function(cC){cv=cC||bO};this.setRequestContentType=function(cC){b0=cC||aq};this.setReferrerUrl=function(cC){aZ=cC};this.setCustomUrl=function(cC){aK=br(bk,cC)};this.setDocumentTitle=function(cC){aV=cC};this.setAPIUrl=function(cC){bf=cC};this.setDownloadClasses=function(cC){bi=q(cC)?[cC]:cC};this.setLinkClasses=function(cC){aN=q(cC)?[cC]:cC};this.setCampaignNameKey=function(cC){bW=q(cC)?[cC]:cC
-};this.setCampaignKeywordKey=function(cC){be=q(cC)?[cC]:cC};this.discardHashTag=function(cC){bm=cC};this.setCookieNamePrefix=function(cC){aW=cC;ax=bt()};this.setCookieDomain=function(cC){var cD=D(cC);if(a6(cD)){cl=cD;aU()}};this.setCookiePath=function(cC){a1=cC;aU()};this.setVisitorCookieTimeout=function(cC){cb=cC*1000};this.setSessionCookieTimeout=function(cC){bU=cC*1000};this.setReferralCookieTimeout=function(cC){cr=cC*1000};this.setConversionAttributionFirstReferrer=function(cC){a5=cC};this.disableCookies=function(){aX=true;ct.cookie="0";if(bC){an()}};this.deleteCookies=function(){an()};this.setDoNotTrack=function(cD){var cC=f.doNotTrack||f.msDoNotTrack;cf=cD&&(cC==="yes"||cC==="1");if(cf){this.disableCookies()}};this.addListener=function(cD,cC){ae(cD,cC)};this.enableLinkTracking=function(cC){cu=true;bN(function(){aR(function(){bb(cC)})})};this.enableJSErrorTracking=function(){if(ch){return}ch=true;var cC=L.onerror;L.onerror=function(cH,cF,cE,cG,cD){bN(function(){var cI="JavaScript Errors";
-var cJ=cF+":"+cE;if(cG){cJ+=":"+cG}ah(cI,cJ,cH)});if(cC){return cC(cH,cF,cE,cG,cD)}return false}};this.disablePerformanceTracking=function(){aI=false};this.setGenerationTimeMs=function(cC){bS=parseInt(cC,10)};this.enableHeartBeatTimer=function(cC){cC=Math.max(cC,1);aL=(cC||15)*1000;if(cm!==null){cA()}};this.killFrame=function(){if(L.location!==L.top.location){L.top.location=L.location}};this.redirectFile=function(cC){if(L.location.protocol==="file:"){L.location=cC}};this.setCountPreRendered=function(cC){aT=cC};this.trackGoal=function(cC,cE,cD){bN(function(){ci(cC,cE,cD)})};this.trackLink=function(cD,cC,cF,cE){bN(function(){cp(cD,cC,cF,cE)})};this.trackPageView=function(cC,cE,cD){bG=[];if(F(bC)){bN(function(){Q(am,bf,bC)})}else{bN(function(){bw(cC,cE,cD)})}};this.trackAllContentImpressions=function(){if(F(bC)){return}bN(function(){aR(function(){var cC=p.findContentNodes();var cD=b3(cC);cz(cD,bg)})})};this.trackVisibleContentImpressions=function(cC,cD){if(F(bC)){return}if(!B(cC)){cC=true}if(!B(cD)){cD=750
-}az(cC,cD,this);bN(function(){ar(function(){var cE=p.findContentNodes();var cF=aO(cE);cz(cF,bg)})})};this.trackContentImpression=function(cE,cC,cD){if(F(bC)){return}if(!cE){return}cC=cC||"Unknown";bN(function(){var cF=ao(cE,cC,cD);bd(cF,bg)})};this.trackContentImpressionsWithinNode=function(cC){if(F(bC)||!cC){return}bN(function(){if(bL){ar(function(){var cD=p.findContentNodesWithinNode(cC);var cE=aO(cD);cz(cE,bg)})}else{aR(function(){var cD=p.findContentNodesWithinNode(cC);var cE=b3(cD);cz(cE,bg)})}})};this.trackContentInteraction=function(cE,cF,cC,cD){if(F(bC)){return}if(!cE||!cF){return}cC=cC||"Unknown";bN(function(){var cG=aw(cE,cF,cC,cD);bd(cG,bg)})};this.trackContentInteractionNode=function(cD,cC){if(F(bC)||!cD){return}bN(function(){var cE=cx(cD,cC);bd(cE,bg)})};this.logAllContentBlocksOnPage=function(){var cD=p.findContentNodes();var cC=p.collectContent(cD);if(console!==undefined&&console&&console.log){console.log(cC)}};this.trackEvent=function(cD,cF,cC,cE,cH,cG){bN(function(){ah(cD,cF,cC,cE,cH,cG)
-})};this.trackSiteSearch=function(cC,cE,cD,cF){bN(function(){bF(cC,cE,cD,cF)})};this.setEcommerceView=function(cF,cC,cE,cD){if(!B(cE)||!cE.length){cE=""}else{if(cE instanceof Array){cE=JSON2.stringify(cE)}}bs[5]=["_pkc",cE];if(B(cD)&&String(cD).length){bs[2]=["_pkp",cD]}if((!B(cF)||!cF.length)&&(!B(cC)||!cC.length)){return}if(B(cF)&&cF.length){bs[3]=["_pks",cF]}if(!B(cC)||!cC.length){cC=""}bs[4]=["_pkn",cC]};this.addEcommerceItem=function(cG,cC,cE,cD,cF){if(cG.length){co[cG]=[cG,cC,cE,cD,cF]}};this.trackEcommerceOrder=function(cC,cG,cF,cE,cD,cH){bv(cC,cG,cF,cE,cD,cH)};this.trackEcommerceCartUpdate=function(cC){a3(cC)};this.trackRequest=function(cC,cE,cD){bN(function(){var cF=bX(cC,cE);bd(cF,bg,cD)})};d.trigger("TrackerSetup",[this])}function z(){return{push:V}}function b(ah,ag){var ai={};var ae,af;for(ae=0;ae<ag.length;ae++){var ac=ag[ae];ai[ac]=1;for(af=0;af<ah.length;af++){if(ah[af]&&ah[af][0]){var ad=ah[af][0];if(ac===ad){V(ah[af]);delete ah[af];if(ai[ad]>1){Y("The method "+ad+' is registered more than once in "_paq" variable. Only the last call has an effect. Please have a look at the multiple Piwik trackers documentation: http://developer.piwik.org/guides/tracking-javascript-guide#multiple-piwik-trackers')
+}}L.name=ak+"###"+ah+"###"+ac+"###"+af}var aj=L.name.split("###");return aj.length===4&&aj[0]===ak}function Q(ad,aj,af){var ai=L.name.split("###"),ah=ai[1],ac=ai[2],ag=ai[3],ae=G(ad,aj);j(ae+"plugins/Overlay/client/client.js?v=1",function(){Piwik_Overlay_Client.initialize(ae,af,ah,ac,ag)})}function o(){var ae;try{ae=L.frameElement}catch(ad){return true}if(B(ae)){return(ae&&String(ae.nodeName).toLowerCase()==="iframe")?true:false}try{return L.self!==L.top}catch(ac){return true}}function I(bM,bG){var bC=R(y.domain,L.location.href,C()),cl=D(bC[0]),bm=k(bC[1]),a1=k(bC[2]),cj=false,bQ="GET",cx=bQ,aq="application/x-www-form-urlencoded; charset=UTF-8",b2=aq,am=bM||"",bh="",cp="",bE=bG||"",ba="",bn="",aL,aX="",cu=["7z","aac","apk","arc","arj","asf","asx","avi","azw3","bin","csv","deb","dmg","doc","docx","epub","exe","flv","gif","gz","gzip","hqx","ibooks","jar","jpg","jpeg","js","mobi","mp2","mp3","mp4","mpg","mpeg","mov","movie","msi","msp","odb","odf","odg","ods","odt","ogg","ogv","pdf","phps","png","ppt","pptx","qt","qtm","ra","ram","rar","rpm","sea","sit","tar","tbz","tbz2","bz","bz2","tgz","torrent","txt","wav","wma","wmv","wpd","xls","xlsx","xml","z","zip"],ai=[cl],bb=[],bk=[],aO=[],bi=500,cc,aM,bq,bo,ac,bY=["pk_campaign","piwik_campaign","utm_campaign","utm_source","utm_medium"],bg=["pk_kwd","piwik_kwd","utm_term"],aY="_pk_",cn,a3,aZ=false,ch,aU,a7,cd=33955200000,bW=1800000,ct=15768000000,aJ=true,bU=0,bp=false,ay=false,bJ,bu={},bT={},a0={},a6=200,cq={},cv={},bI=[],bN=false,b6=false,ad=false,cw=false,aw=false,aT=o(),co=null,bK,az,bc,bF=Z,a2,at;
+try{aX=y.title}catch(b4){aX=""}function cA(cK,cH,cG,cJ,cF,cI){if(aZ){return}var cE;if(cG){cE=new Date();cE.setTime(cE.getTime()+cG)}y.cookie=cK+"="+n(cH)+(cG?";expires="+cE.toGMTString():"")+";path="+(cJ||"/")+(cF?";domain="+cF:"")+(cI?";secure":"")}function al(cG){if(aZ){return 0}var cE=new RegExp("(^|;)[ ]*"+cG+"=([^;]*)"),cF=cE.exec(y.cookie);return cF?K(cF[2]):0}function bA(cE){var cF;if(bo){cF=new RegExp("#.*");return cE.replace(cF,"")}return cE}function bt(cG,cE){var cH=m(cE),cF;if(cH){return cE}if(cE.slice(0,1)==="/"){return m(cG)+"://"+c(cG)+cE}cG=bA(cG);cF=cG.indexOf("?");if(cF>=0){cG=cG.slice(0,cF)}cF=cG.lastIndexOf("/");if(cF!==cG.length-1){cG=cG.slice(0,cF+1)}return cG+cE}function ca(cG,cE){var cF;cG=String(cG).toLowerCase();cE=String(cE).toLowerCase();if(cG===cE){return true}if(cE.slice(0,1)==="."){if(cG===cE.slice(1)){return true}cF=cG.length-cE.length;if((cF>0)&&(cG.slice(cF)===cE)){return true}}return false}function bS(cE){var cF=document.createElement("a");if(cE.indexOf("//")!==0&&cE.indexOf("http")!==0){if(cE.indexOf("*")===0){cE=cE.substr(1)
+}if(cE.indexOf(".")===0){cE=cE.substr(1)}cE="http://"+cE}cF.href=p.toAbsoluteUrl(cE);if(cF.pathname){return cF.pathname}return""}function aK(cF,cE){if(!X(cE,"/")){cE="/"+cE}if(!X(cF,"/")){cF="/"+cF}var cG=(cE==="/"||cE==="/*");if(cG){return true}if(cF===cE){return true}cE=String(cE).toLowerCase();cF=String(cF).toLowerCase();if(J(cE,"*")){cE=cE.slice(0,-1);cG=(!cE||cE==="/");if(cG){return true}if(cF===cE){return true}return cF.indexOf(cE)===0}if(!J(cF,"/")){cF+="/"}if(!J(cE,"/")){cE+="/"}return cF.indexOf(cE)===0}function af(cI,cK){var cF,cE,cG,cH,cJ;for(cF=0;cF<ai.length;cF++){cH=D(ai[cF]);cJ=bS(ai[cF]);if(ca(cI,cH)&&aK(cK,cJ)){return true}}return false}function aD(cH){var cF,cE,cG;for(cF=0;cF<ai.length;cF++){cE=D(ai[cF].toLowerCase());if(cH===cE){return true}if(cE.slice(0,1)==="."){if(cH===cE.slice(1)){return true}cG=cH.length-cE.length;if((cG>0)&&(cH.slice(cG)===cE)){return true}}}return false}function bX(cE,cG){var cF=new Image(1,1);cF.onload=function(){x=0;if(typeof cG==="function"){cG()
+}};cE=cE.replace("send_image=0","send_image=1");cF.src=am+(am.indexOf("?")<0?"?":"&")+cE}function cs(cF,cI,cE){if(!B(cE)||null===cE){cE=true}try{var cH=L.XMLHttpRequest?new L.XMLHttpRequest():L.ActiveXObject?new ActiveXObject("Microsoft.XMLHTTP"):null;cH.open("POST",am,true);cH.onreadystatechange=function(){if(this.readyState===4&&!(this.status>=200&&this.status<300)&&cE){bX(cF,cI)}else{if(this.readyState===4&&(typeof cI==="function")){cI()}}};cH.setRequestHeader("Content-Type",b2);cH.send(cF)}catch(cG){if(cE){bX(cF,cI)}}}function bO(cF){var cE=new Date();var cG=cE.getTime()+cF;if(!l||cG>l){l=cG}}function bV(cE){if(bK||!aM){return}bK=setTimeout(function cF(){bK=null;if(!aT){aT=(!y.hasFocus||y.hasFocus())}if(!aT){bV(aM);return}if(bq()){return}var cG=new Date(),cH=aM-(cG.getTime()-co);cH=Math.min(aM,cH);bV(cH)},cE||aM)}function bj(){if(!bK){return}clearTimeout(bK);bK=null}function aQ(){aT=true;if(bq()){return}bV()}function aj(){bj()}function cC(){if(aw||!aM){return}aw=true;aa(L,"focus",aQ);
+aa(L,"blur",aj);bV()}function b7(cI){var cF=new Date();var cE=cF.getTime();co=cE;if(b6&&cE<b6){var cG=b6-cE;setTimeout(cI,cG);bO(cG+50);b6+=50;return}if(b6===false){var cH=800;b6=cE+cH}cI()}function bf(cF,cE,cG){if(!ch&&cF){b7(function(){if(cx==="POST"){cs(cF,cG)}else{bX(cF,cG)}bO(cE)})}if(!aw){cC()}else{bV()}}function bR(cE){if(ch){return false}return(cE&&cE.length)}function cB(cG,cE){if(!bR(cG)){return}var cF='{"requests":["?'+cG.join('","?')+'"]}';b7(function(){cs(cF,null,false);bO(cE)})}function aB(cE){return aY+cE+"."+bE+"."+a2}function bD(){if(aZ){return"0"}if(!B(f.cookieEnabled)){var cE=aB("testcookie");cA(cE,"1");return al(cE)==="1"?"1":"0"}return f.cookieEnabled?"1":"0"}function aW(){a2=bF((cn||cl)+(a3||"/")).slice(0,4)}function bv(){var cF=aB("cvar"),cE=al(cF);if(cE.length){cE=JSON2.parse(cE);if(O(cE)){return cE}}return{}}function b8(){if(ay===false){ay=bv()}}function ci(){return bF((f.userAgent||"")+(f.platform||"")+JSON2.stringify(cv)+(new Date()).getTime()+Math.random()).slice(0,16)
+}function cf(){var cG=new Date(),cE=Math.round(cG.getTime()/1000),cF=aB("id"),cJ=al(cF),cI,cH;if(cJ){cI=cJ.split(".");cI.unshift("0");if(bn.length){cI[1]=bn}return cI}if(bn.length){cH=bn}else{if("0"===bD()){cH=""}else{cH=ci()}}cI=["1",cH,cE,0,cE,"",""];return cI}function aF(){var cL=cf(),cH=cL[0],cI=cL[1],cF=cL[2],cE=cL[3],cJ=cL[4],cG=cL[5];if(!B(cL[6])){cL[6]=""}var cK=cL[6];return{newVisitor:cH,uuid:cI,createTs:cF,visitCount:cE,currentVisitTs:cJ,lastVisitTs:cG,lastEcommerceOrderTs:cK}}function ap(){var cH=new Date(),cF=cH.getTime(),cI=aF().createTs;var cE=parseInt(cI,10);var cG=(cE*1000)+cd-cF;return cG}function au(cE){if(!bE){return}var cG=new Date(),cF=Math.round(cG.getTime()/1000);if(!B(cE)){cE=aF()}var cH=cE.uuid+"."+cE.createTs+"."+cE.visitCount+"."+cF+"."+cE.lastVisitTs+"."+cE.lastEcommerceOrderTs;cA(aB("id"),cH,ap(),a3,cn)}function bl(){var cE=al(aB("ref"));if(cE.length){try{cE=JSON2.parse(cE);if(O(cE)){return cE}}catch(cF){}}return["","",0,""]}function bw(cG,cF,cE){cA(cG,"",-86400,cF,cE)
+}function a8(cF){var cE="testvalue";cA("test",cE,10000,null,cF);if(al("test")===cE){bw("test",null,cF);return true}return false}function an(){var cG=aZ;aZ=false;var cE=["id","ses","cvar","ref"];var cF,cH;for(cF=0;cF<cE.length;cF++){cH=aB(cE[cF]);if(0!==al(cH)){bw(cH,a3,cn)}}aZ=cG}function bB(cE){bE=cE;au()}function cD(cI){if(!cI||!O(cI)){return}var cH=[];var cG;for(cG in cI){if(Object.prototype.hasOwnProperty.call(cI,cG)){cH.push(cG)}}var cJ={};cH.sort();var cE=cH.length;var cF;for(cF=0;cF<cE;cF++){cJ[cH[cF]]=cI[cH[cF]]}return cJ}function bL(){cA(aB("ses"),"*",bW,a3,cn)}function aV(){var cH="";var cF="abcdefghijklmnopqrstuvwxyz0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ";var cG=cF.length;var cE;for(cE=0;cE<6;cE++){cH+=cF.charAt(Math.floor(Math.random()*cG))}return cH}function bZ(cG,c1,c2,cH){var c0,cF=new Date(),cO=Math.round(cF.getTime()/1000),cL,cZ,cI=1024,c7,cP,cX=ay,cJ=aB("ses"),cV=aB("ref"),cS=aB("cvar"),cT=al(cJ),cY=bl(),c4=aL||bm,cM,cE;if(aZ){an()}if(ch){return""}var cU=aF();if(!B(cH)){cH=""
+}var cR=y.characterSet||y.charset;if(!cR||cR.toLowerCase()==="utf-8"){cR=null}cM=cY[0];cE=cY[1];cL=cY[2];cZ=cY[3];if(!cT){var c3=bW/1000;if(!cU.lastVisitTs||(cO-cU.lastVisitTs)>c3){cU.visitCount++;cU.lastVisitTs=cU.currentVisitTs}if(!a7||!cM.length){for(c0 in bY){if(Object.prototype.hasOwnProperty.call(bY,c0)){cM=N(c4,bY[c0]);if(cM.length){break}}}for(c0 in bg){if(Object.prototype.hasOwnProperty.call(bg,c0)){cE=N(c4,bg[c0]);if(cE.length){break}}}}c7=c(a1);cP=cZ.length?c(cZ):"";if(c7.length&&!aD(c7)&&(!a7||!cP.length||aD(cP))){cZ=a1}if(cZ.length||cM.length){cL=cO;cY=[cM,cE,cL,bA(cZ.slice(0,cI))];cA(cV,JSON2.stringify(cY),ct,a3,cn)}}cG+="&idsite="+bE+"&rec=1&r="+String(Math.random()).slice(2,8)+"&h="+cF.getHours()+"&m="+cF.getMinutes()+"&s="+cF.getSeconds()+"&url="+n(bA(c4))+(a1.length?"&urlref="+n(bA(a1)):"")+((ba&&ba.length)?"&uid="+n(ba):"")+"&_id="+cU.uuid+"&_idts="+cU.createTs+"&_idvc="+cU.visitCount+"&_idn="+cU.newVisitor+(cM.length?"&_rcn="+n(cM):"")+(cE.length?"&_rck="+n(cE):"")+"&_refts="+cL+"&_viewts="+cU.lastVisitTs+(String(cU.lastEcommerceOrderTs).length?"&_ects="+cU.lastEcommerceOrderTs:"")+(String(cZ).length?"&_ref="+n(bA(cZ.slice(0,cI))):"")+(cR?"&cs="+n(cR):"")+"&send_image=0";
+for(c0 in cv){if(Object.prototype.hasOwnProperty.call(cv,c0)){cG+="&"+c0+"="+cv[c0]}}var c6=[];if(c1){for(c0 in c1){if(Object.prototype.hasOwnProperty.call(c1,c0)&&/^dimension\d+$/.test(c0)){var cK=c0.replace("dimension","");c6.push(parseInt(cK,10));c6.push(String(cK));cG+="&"+c0+"="+c1[c0];delete c1[c0]}}}if(c1&&u(c1)){c1=null}for(c0 in a0){if(Object.prototype.hasOwnProperty.call(a0,c0)){var cQ=(-1===E(c6,c0));if(cQ){cG+="&dimension"+c0+"="+a0[c0]}}}if(c1){cG+="&data="+n(JSON2.stringify(c1))}else{if(ac){cG+="&data="+n(JSON2.stringify(ac))}}function cN(c8,c9){var da=JSON2.stringify(c8);if(da.length>2){return"&"+c9+"="+n(da)}return""}var c5=cD(bu);var cW=cD(bT);cG+=cN(c5,"cvar");cG+=cN(cW,"e_cvar");if(ay){cG+=cN(ay,"_cvar");for(c0 in cX){if(Object.prototype.hasOwnProperty.call(cX,c0)){if(ay[c0][0]===""||ay[c0][1]===""){delete ay[c0]}}}if(bp){cA(cS,JSON2.stringify(ay),bW,a3,cn)}}if(aJ){if(bU){cG+="&gt_ms="+bU}else{if(g&&g.timing&&g.timing.requestStart&&g.timing.responseEnd){cG+="&gt_ms="+(g.timing.responseEnd-g.timing.requestStart)
+}}}if(at){cG+="&pv_id="+at}cU.lastEcommerceOrderTs=B(cH)&&String(cH).length?cH:cU.lastEcommerceOrderTs;au(cU);bL();cG+=S(c2);if(cp.length){cG+="&"+cp}if(t(bJ)){cG=bJ(cG)}return cG}bq=function aN(){var cE=new Date();if(co+aM<=cE.getTime()){var cF=bZ("ping=1",null,"ping");bf(cF,bi);return true}return false};function a4(cH,cG,cM,cI,cE,cP){var cK="idgoal=0",cL,cF=new Date(),cN=[],cO,cJ=String(cH).length;if(cJ){cK+="&ec_id="+n(cH);cL=Math.round(cF.getTime()/1000)}cK+="&revenue="+cG;if(String(cM).length){cK+="&ec_st="+cM}if(String(cI).length){cK+="&ec_tx="+cI}if(String(cE).length){cK+="&ec_sh="+cE}if(String(cP).length){cK+="&ec_dt="+cP}if(cq){for(cO in cq){if(Object.prototype.hasOwnProperty.call(cq,cO)){if(!B(cq[cO][1])){cq[cO][1]=""}if(!B(cq[cO][2])){cq[cO][2]=""}if(!B(cq[cO][3])||String(cq[cO][3]).length===0){cq[cO][3]=0}if(!B(cq[cO][4])||String(cq[cO][4]).length===0){cq[cO][4]=1}cN.push(cq[cO])}}cK+="&ec_items="+n(JSON2.stringify(cN))}cK=bZ(cK,ac,"ecommerce",cL);bf(cK,bi);if(cJ){cq={}}}function bx(cE,cI,cH,cG,cF,cJ){if(String(cE).length&&B(cI)){a4(cE,cI,cH,cG,cF,cJ)
+}}function a5(cE){if(B(cE)){a4("",cE,"","","","")}}function by(cF,cH,cG){at=aV();var cE=bZ("action_name="+n(ab(cF||aX)),cH,"log");bf(cE,bi,cG)}function aH(cG,cF){var cH,cE="(^| )(piwik[_-]"+cF;if(cG){for(cH=0;cH<cG.length;cH++){cE+="|"+cG[cH]}}cE+=")( |$)";return new RegExp(cE)}function aC(cE){return(am&&cE&&0===String(cE).indexOf(am))}function b0(cI,cE,cJ,cF){if(aC(cE)){return 0}var cH=aH(bk,"download"),cG=aH(aO,"link"),cK=new RegExp("\\.("+cu.join("|")+")([?&#]|$)","i");if(cG.test(cI)){return"link"}if(cF||cH.test(cI)||cK.test(cE)){return"download"}if(cJ){return 0}return"link"}function ag(cF){var cE;cE=cF.parentNode;while(cE!==null&&B(cE)){if(U.isLinkElement(cF)){break}cF=cE;cE=cF.parentNode}return cF}function cy(cJ){cJ=ag(cJ);if(!U.hasNodeAttribute(cJ,"href")){return}if(!B(cJ.href)){return}var cI=U.getAttributeValueFromNode(cJ,"href");if(aC(cI)){return}var cF=cJ.pathname||bS(cJ.href);var cK=cJ.hostname||c(cJ.href);var cL=cK.toLowerCase();var cG=cJ.href.replace(cK,cL);var cH=new RegExp("^(javascript|vbscript|jscript|mocha|livescript|ecmascript|mailto|tel):","i");
+if(!cH.test(cG)){var cE=b0(cJ.className,cG,af(cL,cF),U.hasNodeAttribute(cJ,"download"));if(cE){return{type:cE,href:cG}}}}function ax(cE,cF,cG,cH){var cI=p.buildInteractionRequestParams(cE,cF,cG,cH);if(!cI){return}return bZ(cI,null,"contentInteraction")}function ce(cG,cH,cL,cE,cF){if(!B(cG)){return}if(aC(cG)){return cG}var cJ=p.toAbsoluteUrl(cG);var cI="redirecturl="+n(cJ)+"&";cI+=ax(cH,cL,cE,(cF||cG));var cK="&";if(am.indexOf("?")<0){cK="?"}return am+cK+cI}function aR(cE,cF){if(!cE||!cF){return false}var cG=p.findTargetNode(cE);if(p.shouldIgnoreInteraction(cG)){return false}cG=p.findTargetNodeNoDefault(cE);if(cG&&!M(cG,cF)){return false}return true}function b1(cG,cF,cI){if(!cG){return}var cE=p.findParentContentNode(cG);if(!cE){return}if(!aR(cE,cG)){return}var cH=p.buildContentBlock(cE);if(!cH){return}if(!cH.target&&cI){cH.target=cI}return p.buildInteractionRequestParams(cF,cH.name,cH.piece,cH.target)}function aE(cF){if(!bI||!bI.length){return false}var cE,cG;for(cE=0;cE<bI.length;cE++){cG=bI[cE];
+if(cG&&cG.name===cF.name&&cG.piece===cF.piece&&cG.target===cF.target){return true}}return false}function be(cH){if(!cH){return false}var cK=p.findTargetNode(cH);if(!cK||p.shouldIgnoreInteraction(cK)){return false}var cL=cy(cK);if(cw&&cL&&cL.type){return false}if(U.isLinkElement(cK)&&U.hasNodeAttributeWithValue(cK,"href")){var cE=String(U.getAttributeValueFromNode(cK,"href"));if(0===cE.indexOf("#")){return false}if(aC(cE)){return true}if(!p.isUrlToCurrentDomain(cE)){return false}var cI=p.buildContentBlock(cH);if(!cI){return}var cG=cI.name;var cM=cI.piece;var cJ=cI.target;if(!U.hasNodeAttributeWithValue(cK,p.CONTENT_TARGET_ATTR)||cK.wasContentTargetAttrReplaced){cK.wasContentTargetAttrReplaced=true;cJ=p.toAbsoluteUrl(cE);U.setAnyAttribute(cK,p.CONTENT_TARGET_ATTR,cJ)}var cF=ce(cE,"click",cG,cM,cJ);p.setHrefAttribute(cK,cF);return true}return false}function av(cF){if(!cF||!cF.length){return}var cE;for(cE=0;cE<cF.length;cE++){be(cF[cE])}}function aG(cE){return function(cF){if(!cE){return}var cI=p.findParentContentNode(cE);
+var cJ;if(cF){cJ=cF.target||cF.srcElement}if(!cJ){cJ=cE}if(!aR(cI,cJ)){return}bO(bi);if(U.isLinkElement(cE)&&U.hasNodeAttributeWithValue(cE,"href")&&U.hasNodeAttributeWithValue(cE,p.CONTENT_TARGET_ATTR)){var cG=U.getAttributeValueFromNode(cE,"href");if(!aC(cG)&&cE.wasContentTargetAttrReplaced){U.setAnyAttribute(cE,p.CONTENT_TARGET_ATTR,"")}}var cN=cy(cE);if(ad&&cN&&cN.type){return cN.type}if(be(cI)){return"href"}var cK=p.buildContentBlock(cI);if(!cK){return}var cH=cK.name;var cO=cK.piece;var cM=cK.target;var cL=ax("click",cH,cO,cM);bf(cL,bi);return cL}}function bz(cG){if(!cG||!cG.length){return}var cE,cF;for(cE=0;cE<cG.length;cE++){cF=p.findTargetNode(cG[cE]);if(cF&&!cF.contentInteractionTrackingSetupDone){cF.contentInteractionTrackingSetupDone=true;aa(cF,"click",aG(cF))}}}function a9(cG,cH){if(!cG||!cG.length){return[]}var cE,cF;for(cE=0;cE<cG.length;cE++){if(aE(cG[cE])){cG.splice(cE,1);cE--}else{bI.push(cG[cE])}}if(!cG||!cG.length){return[]}av(cH);bz(cH);var cI=[];for(cE=0;cE<cG.length;
+cE++){cF=bZ(p.buildImpressionRequestParams(cG[cE].name,cG[cE].piece,cG[cE].target),undefined,"contentImpressions");if(cF){cI.push(cF)}}return cI}function b5(cF){var cE=p.collectContent(cF);return a9(cE,cF)}function aP(cF){if(!cF||!cF.length){return[]}var cE;for(cE=0;cE<cF.length;cE++){if(!p.isNodeVisible(cF[cE])){cF.splice(cE,1);cE--}}if(!cF||!cF.length){return[]}return b5(cF)}function ao(cG,cE,cF){var cH=p.buildImpressionRequestParams(cG,cE,cF);return bZ(cH,null,"contentImpression")}function cz(cH,cF){if(!cH){return}var cE=p.findParentContentNode(cH);var cG=p.buildContentBlock(cE);if(!cG){return}if(!cF){cF="Unknown"}return ax(cF,cG.name,cG.piece,cG.target)}function cg(cF,cH,cE,cG){return"e_c="+n(cF)+"&e_a="+n(cH)+(B(cE)?"&e_n="+n(cE):"")+(B(cG)?"&e_v="+n(cG):"")}function ah(cG,cI,cE,cH,cK,cJ){if(String(cG).length===0||String(cI).length===0){return false}var cF=bZ(cg(cG,cI,cE,cH),cK,"event");bf(cF,bi,cJ)}function bH(cE,cH,cF,cI){var cG=bZ("search="+n(cE)+(cH?"&search_cat="+n(cH):"")+(B(cF)?"&search_count="+cF:""),cI,"sitesearch");
+bf(cG,bi)}function ck(cE,cH,cG){var cF=bZ("idgoal="+cE+(cH?"&revenue="+cH:""),cG,"goal");bf(cF,bi)}function cr(cH,cE,cL,cK,cG){var cJ=cE+"="+n(bA(cH));var cF=b1(cG,"click",cH);if(cF){cJ+="&"+cF}var cI=bZ(cJ,cL,"link");bf(cI,bi,cK)}function bs(cF,cE){if(cF!==""){return cF+cE.charAt(0).toUpperCase()+cE.slice(1)}return cE}function bP(cJ){var cI,cE,cH=["","webkit","ms","moz"],cG;if(!aU){for(cE=0;cE<cH.length;cE++){cG=cH[cE];if(Object.prototype.hasOwnProperty.call(y,bs(cG,"hidden"))){if(y[bs(cG,"visibilityState")]==="prerender"){cI=true}break}}}if(cI){aa(y,cG+"visibilitychange",function cF(){y.removeEventListener(cG+"visibilitychange",cF,false);cJ()});return}cJ()}function ar(cE){if(y.readyState==="complete"){cE()}else{if(L.addEventListener){L.addEventListener("load",cE)}else{if(L.attachEvent){L.attachEvent("onload",cE)}}}}function aS(cH){var cE=false;if(y.attachEvent){cE=y.readyState==="complete"}else{cE=y.readyState!=="loading"}if(cE){cH();return}var cG;if(y.addEventListener){aa(y,"DOMContentLoaded",function cF(){y.removeEventListener("DOMContentLoaded",cF,false);
+if(!cE){cE=true;cH()}})}else{if(y.attachEvent){y.attachEvent("onreadystatechange",function cF(){if(y.readyState==="complete"){y.detachEvent("onreadystatechange",cF);if(!cE){cE=true;cH()}}});if(y.documentElement.doScroll&&L===L.top){(function cF(){if(!cE){try{y.documentElement.doScroll("left")}catch(cI){setTimeout(cF,0);return}cE=true;cH()}}())}}}aa(L,"load",function(){if(!cE){cE=true;cH()}},false)}function cb(cE){var cF=cy(cE);if(cF&&cF.type){cF.href=k(cF.href);cr(cF.href,cF.type,undefined,null,cE)}}function b3(){return y.all&&!y.addEventListener}function cm(cE){var cG=cE.which;var cF=(typeof cE.button);if(!cG&&cF!=="undefined"){if(b3()){if(cE.button&1){cG=1}else{if(cE.button&2){cG=3}else{if(cE.button&4){cG=2}}}}else{if(cE.button===0||cE.button==="0"){cG=1}else{if(cE.button&1){cG=2}else{if(cE.button&2){cG=3}}}}}return cG}function br(cE){switch(cm(cE)){case 1:return"left";case 2:return"middle";case 3:return"right"}}function aI(cE){return cE.target||cE.srcElement}function ak(cE){return function(cH){cH=cH||L.event;
+var cG=br(cH);var cI=aI(cH);if(cH.type==="click"){var cF=false;if(cE&&cG==="middle"){cF=true}if(cI&&!cF){cb(cI)}}else{if(cH.type==="mousedown"){if(cG==="middle"&&cI){az=cG;bc=cI}else{az=bc=null}}else{if(cH.type==="mouseup"){if(cG===az&&cI===bc){cb(cI)}az=bc=null}else{if(cH.type==="contextmenu"){cb(cI)}}}}}}function ae(cF,cE){aa(cF,"click",ak(cE),false);if(cE){aa(cF,"mouseup",ak(cE),false);aa(cF,"mousedown",ak(cE),false);aa(cF,"contextmenu",ak(cE),false)}}function bd(cF){if(!ad){ad=true;var cG,cE=aH(bb,"ignore"),cH=y.links;if(cH){for(cG=0;cG<cH.length;cG++){if(!cE.test(cH[cG].className)){ae(cH[cG],cF)}}}}}function aA(cG,cI,cJ){if(bN){return true}bN=true;var cK=false;var cH,cF;function cE(){cK=true}ar(function(){function cL(cN){setTimeout(function(){if(!bN){return}cK=false;cJ.trackVisibleContentImpressions();cL(cN)},cN)}function cM(cN){setTimeout(function(){if(!bN){return}if(cK){cK=false;cJ.trackVisibleContentImpressions()}cM(cN)},cN)}if(cG){cH=["scroll","resize"];for(cF=0;cF<cH.length;cF++){if(y.addEventListener){y.addEventListener(cH[cF],cE)
+}else{L.attachEvent("on"+cH[cF],cE)}}cM(100)}if(cI&&cI>0){cI=parseInt(cI,10);cL(cI)}})}function b9(){var cF,cH,cI={pdf:"application/pdf",qt:"video/quicktime",realp:"audio/x-pn-realaudio-plugin",wma:"application/x-mplayer2",dir:"application/x-director",fla:"application/x-shockwave-flash",java:"application/x-java-vm",gears:"application/x-googlegears",ag:"application/x-silverlight"};if(!((new RegExp("MSIE")).test(f.userAgent))){if(f.mimeTypes&&f.mimeTypes.length){for(cF in cI){if(Object.prototype.hasOwnProperty.call(cI,cF)){cH=f.mimeTypes[cI[cF]];cv[cF]=(cH&&cH.enabledPlugin)?"1":"0"}}}if(typeof navigator.javaEnabled!=="unknown"&&B(f.javaEnabled)&&f.javaEnabled()){cv.java="1"}if(t(L.GearsFactory)){cv.gears="1"}cv.cookie=bD()}var cG=parseInt(P.width,10);var cE=parseInt(P.height,10);cv.res=parseInt(cG,10)+"x"+parseInt(cE,10)}b9();aW();au();this.getVisitorId=function(){return aF().uuid};this.getVisitorInfo=function(){return cf()};this.getAttributionInfo=function(){return bl()};this.getAttributionCampaignName=function(){return bl()[0]
+};this.getAttributionCampaignKeyword=function(){return bl()[1]};this.getAttributionReferrerTimestamp=function(){return bl()[2]};this.getAttributionReferrerUrl=function(){return bl()[3]};this.setTrackerUrl=function(cE){am=cE};this.getTrackerUrl=function(){return am};this.addTracker=function(cE,cG){if(!cG){throw new Error("A siteId must be given to add a new tracker")}if(!B(cE)||null===cE){cE=this.getTrackerUrl()}var cF=new I(cE,cG);A.push(cF);return cF};this.getSiteId=function(){return bE};this.setSiteId=function(cE){bB(cE)};this.setUserId=function(cE){if(!B(cE)||!cE.length){return}ba=cE;bn=bF(ba).substr(0,16)};this.getUserId=function(){return ba};this.setCustomData=function(cE,cF){if(O(cE)){ac=cE}else{if(!ac){ac={}}ac[cE]=cF}};this.getCustomData=function(){return ac};this.setCustomRequestProcessing=function(cE){bJ=cE};this.appendToTrackingUrl=function(cE){cp=cE};this.getRequest=function(cE){return bZ(cE)};this.addPlugin=function(cE,cF){a[cE]=cF};this.setCustomDimension=function(cE,cF){cE=parseInt(cE,10);
+if(cE>0){if(!B(cF)){cF=""}if(!q(cF)){cF=String(cF)}a0[cE]=cF}};this.getCustomDimension=function(cE){cE=parseInt(cE,10);if(cE>0&&Object.prototype.hasOwnProperty.call(a0,cE)){return a0[cE]}};this.deleteCustomDimension=function(cE){cE=parseInt(cE,10);if(cE>0){delete a0[cE]}};this.setCustomVariable=function(cF,cE,cI,cG){var cH;if(!B(cG)){cG="visit"}if(!B(cE)){return}if(!B(cI)){cI=""}if(cF>0){cE=!q(cE)?String(cE):cE;cI=!q(cI)?String(cI):cI;cH=[cE.slice(0,a6),cI.slice(0,a6)];if(cG==="visit"||cG===2){b8();ay[cF]=cH}else{if(cG==="page"||cG===3){bu[cF]=cH}else{if(cG==="event"){bT[cF]=cH}}}}};this.getCustomVariable=function(cF,cG){var cE;if(!B(cG)){cG="visit"}if(cG==="page"||cG===3){cE=bu[cF]}else{if(cG==="event"){cE=bT[cF]}else{if(cG==="visit"||cG===2){b8();cE=ay[cF]}}}if(!B(cE)||(cE&&cE[0]==="")){return false}return cE};this.deleteCustomVariable=function(cE,cF){if(this.getCustomVariable(cE,cF)){this.setCustomVariable(cE,"","",cF)}};this.storeCustomVariablesInCookie=function(){bp=true};this.setLinkTrackingTimer=function(cE){bi=cE
+};this.setDownloadExtensions=function(cE){if(q(cE)){cE=cE.split("|")}cu=cE};this.addDownloadExtensions=function(cF){var cE;if(q(cF)){cF=cF.split("|")}for(cE=0;cE<cF.length;cE++){cu.push(cF[cE])}};this.removeDownloadExtensions=function(cG){var cF,cE=[];if(q(cG)){cG=cG.split("|")}for(cF=0;cF<cu.length;cF++){if(E(cG,cu[cF])===-1){cE.push(cu[cF])}}cu=cE};this.setDomains=function(cE){ai=q(cE)?[cE]:cE;var cI=false,cG=0,cF;for(cG;cG<ai.length;cG++){cF=String(ai[cG]);if(ca(cl,D(cF))){cI=true;break}var cH=bS(cF);if(cH&&cH!=="/"&&cH!=="/*"){cI=true;break}}if(!cI){ai.push(cl)}};this.setIgnoreClasses=function(cE){bb=q(cE)?[cE]:cE};this.setRequestMethod=function(cE){cx=cE||bQ};this.setRequestContentType=function(cE){b2=cE||aq};this.setReferrerUrl=function(cE){a1=cE};this.setCustomUrl=function(cE){aL=bt(bm,cE)};this.setDocumentTitle=function(cE){aX=cE};this.setAPIUrl=function(cE){bh=cE};this.setDownloadClasses=function(cE){bk=q(cE)?[cE]:cE};this.setLinkClasses=function(cE){aO=q(cE)?[cE]:cE};this.setCampaignNameKey=function(cE){bY=q(cE)?[cE]:cE
+};this.setCampaignKeywordKey=function(cE){bg=q(cE)?[cE]:cE};this.discardHashTag=function(cE){bo=cE};this.setCookieNamePrefix=function(cE){aY=cE;ay=bv()};this.setCookieDomain=function(cE){var cF=D(cE);if(a8(cF)){cn=cF;aW()}};this.setCookiePath=function(cE){a3=cE;aW()};this.setVisitorCookieTimeout=function(cE){cd=cE*1000};this.setSessionCookieTimeout=function(cE){bW=cE*1000};this.setReferralCookieTimeout=function(cE){ct=cE*1000};this.setConversionAttributionFirstReferrer=function(cE){a7=cE};this.disableCookies=function(){aZ=true;cv.cookie="0";if(bE){an()}};this.deleteCookies=function(){an()};this.setDoNotTrack=function(cF){var cE=f.doNotTrack||f.msDoNotTrack;ch=cF&&(cE==="yes"||cE==="1");if(ch){this.disableCookies()}};this.addListener=function(cF,cE){ae(cF,cE)};this.enableLinkTracking=function(cE){cw=true;bP(function(){aS(function(){bd(cE)})})};this.enableJSErrorTracking=function(){if(cj){return}cj=true;var cE=L.onerror;L.onerror=function(cJ,cH,cG,cI,cF){bP(function(){var cK="JavaScript Errors";
+var cL=cH+":"+cG;if(cI){cL+=":"+cI}ah(cK,cL,cJ)});if(cE){return cE(cJ,cH,cG,cI,cF)}return false}};this.disablePerformanceTracking=function(){aJ=false};this.setGenerationTimeMs=function(cE){bU=parseInt(cE,10)};this.enableHeartBeatTimer=function(cE){cE=Math.max(cE,1);aM=(cE||15)*1000;if(co!==null){cC()}};this.killFrame=function(){if(L.location!==L.top.location){L.top.location=L.location}};this.redirectFile=function(cE){if(L.location.protocol==="file:"){L.location=cE}};this.setCountPreRendered=function(cE){aU=cE};this.trackGoal=function(cE,cG,cF){bP(function(){ck(cE,cG,cF)})};this.trackLink=function(cF,cE,cH,cG){bP(function(){cr(cF,cE,cH,cG)})};this.trackPageView=function(cE,cG,cF){bI=[];if(F(bE)){bP(function(){Q(am,bh,bE)})}else{bP(function(){by(cE,cG,cF)})}};this.trackAllContentImpressions=function(){if(F(bE)){return}bP(function(){aS(function(){var cE=p.findContentNodes();var cF=b5(cE);cB(cF,bi)})})};this.trackVisibleContentImpressions=function(cE,cF){if(F(bE)){return}if(!B(cE)){cE=true}if(!B(cF)){cF=750
+}aA(cE,cF,this);bP(function(){ar(function(){var cG=p.findContentNodes();var cH=aP(cG);cB(cH,bi)})})};this.trackContentImpression=function(cG,cE,cF){if(F(bE)){return}if(!cG){return}cE=cE||"Unknown";bP(function(){var cH=ao(cG,cE,cF);bf(cH,bi)})};this.trackContentImpressionsWithinNode=function(cE){if(F(bE)||!cE){return}bP(function(){if(bN){ar(function(){var cF=p.findContentNodesWithinNode(cE);var cG=aP(cF);cB(cG,bi)})}else{aS(function(){var cF=p.findContentNodesWithinNode(cE);var cG=b5(cF);cB(cG,bi)})}})};this.trackContentInteraction=function(cG,cH,cE,cF){if(F(bE)){return}if(!cG||!cH){return}cE=cE||"Unknown";bP(function(){var cI=ax(cG,cH,cE,cF);bf(cI,bi)})};this.trackContentInteractionNode=function(cF,cE){if(F(bE)||!cF){return}bP(function(){var cG=cz(cF,cE);bf(cG,bi)})};this.logAllContentBlocksOnPage=function(){var cF=p.findContentNodes();var cE=p.collectContent(cF);if(console!==undefined&&console&&console.log){console.log(cE)}};this.trackEvent=function(cF,cH,cE,cG,cJ,cI){bP(function(){ah(cF,cH,cE,cG,cJ,cI)
+})};this.trackSiteSearch=function(cE,cG,cF,cH){bP(function(){bH(cE,cG,cF,cH)})};this.setEcommerceView=function(cH,cE,cG,cF){if(!B(cG)||!cG.length){cG=""}else{if(cG instanceof Array){cG=JSON2.stringify(cG)}}bu[5]=["_pkc",cG];if(B(cF)&&String(cF).length){bu[2]=["_pkp",cF]}if((!B(cH)||!cH.length)&&(!B(cE)||!cE.length)){return}if(B(cH)&&cH.length){bu[3]=["_pks",cH]}if(!B(cE)||!cE.length){cE=""}bu[4]=["_pkn",cE]};this.addEcommerceItem=function(cI,cE,cG,cF,cH){if(cI.length){cq[cI]=[cI,cE,cG,cF,cH]}};this.trackEcommerceOrder=function(cE,cI,cH,cG,cF,cJ){bx(cE,cI,cH,cG,cF,cJ)};this.trackEcommerceCartUpdate=function(cE){a5(cE)};this.trackRequest=function(cE,cG,cF){bP(function(){var cH=bZ(cE,cG);bf(cH,bi,cF)})};d.trigger("TrackerSetup",[this])}function z(){return{push:V}}function b(ah,ag){var ai={};var ae,af;for(ae=0;ae<ag.length;ae++){var ac=ag[ae];ai[ac]=1;for(af=0;af<ah.length;af++){if(ah[af]&&ah[af][0]){var ad=ah[af][0];if(ac===ad){V(ah[af]);delete ah[af];if(ai[ad]>1){Y("The method "+ad+' is registered more than once in "_paq" variable. Only the last call has an effect. Please have a look at the multiple Piwik trackers documentation: http://developer.piwik.org/guides/tracking-javascript-guide#multiple-piwik-trackers')
}ai[ad]++}}}}return ah}var v=["addTracker","disableCookies","setTrackerUrl","setAPIUrl","setCookiePath","setCookieDomain","setDomains","setUserId","setSiteId","enableLinkTracking"];function T(ac,ae){var ad=new I(ac,ae);A.push(ad);_paq=b(_paq,v);for(x=0;x<_paq.length;x++){if(_paq[x]){V(_paq[x])}}_paq=new z();return ad}aa(L,"beforeunload",W,false);Date.prototype.getTimeAlias=Date.prototype.getTime;d={initialized:false,on:function(ad,ac){if(!r[ad]){r[ad]=[]}r[ad].push(ac)},off:function(ae,ad){if(!r[ae]){return}var ac=0;for(ac;ac<r[ae].length;ac++){if(r[ae][ac]===ad){delete r[ae][ac]}}},trigger:function(ae,af,ad){if(!r[ae]){return}var ac=0;for(ac;ac<r[ae].length;ac++){r[ae][ac].apply(ad||L,af)}},addPlugin:function(ac,ad){a[ac]=ad},getTracker:function(ac,ad){if(!B(ad)){ad=this.getAsyncTracker().getSiteId()}if(!B(ac)){ac=this.getAsyncTracker().getTrackerUrl()}return new I(ac,ad)},getAsyncTrackers:function(){return A},addTracker:function(ac,ad){if(!A.length){T(ac,ad)}else{A[0].addTracker(ac,ad)
}},getAsyncTracker:function(ad,ag){var af;if(A&&A[0]){af=A[0]}if(!ag&&!ad){return af}if((!B(ag)||null===ag)&&af){ag=af.getSiteId()}if((!B(ad)||null===ad)&&af){ad=af.getTrackerUrl()}var ae,ac=0;for(ac;ac<A.length;ac++){ae=A[ac];if(ae&&String(ae.getSiteId())===String(ag)&&ae.getTrackerUrl()===ad){return ae}}}};if(typeof define==="function"&&define.amd){define("piwik",[],function(){return d})}return d}());
/*!!! pluginTrackerHook */