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>2017-05-05 13:01:37 +0300
committerThomas Steur <tsteur@users.noreply.github.com>2017-05-05 13:01:37 +0300
commite1d158f10e46a6f875883f26eea99d5927d024aa (patch)
tree08d65ca8517535e0a485d76c4327cf94688c4a1b /piwik.js
parentfe59860c52d939366dd52b7300f787dce21c7733 (diff)
Expose more cookie methods in tracker
Diffstat (limited to 'piwik.js')
-rw-r--r--piwik.js20
1 files changed, 10 insertions, 10 deletions
diff --git a/piwik.js b/piwik.js
index ce8f6faed4..df5569451c 100644
--- a/piwik.js
+++ b/piwik.js
@@ -61,16 +61,16 @@ cT++){if(D.addEventListener){D.addEventListener(cV[cT],cS)}else{Q.attachEvent("o
};this.getAttributionCampaignName=function(){return bu()[0]};this.getAttributionCampaignKeyword=function(){return bu()[1]};this.getAttributionReferrerTimestamp=function(){return bu()[2]};this.getAttributionReferrerUrl=function(){return bu()[3]};this.setTrackerUrl=function(cS){av=cS};this.getTrackerUrl=function(){return av};this.getPiwikUrl=function(){return L(this.getTrackerUrl(),bp)};this.addTracker=function(cS,cU){if(!cU){throw new Error("A siteId must be given to add a new tracker")}if(!G(cS)||null===cS){cS=this.getTrackerUrl()}var cT=new N(cS,cU);F.push(cT);return cT};this.getSiteId=function(){return bN};this.setSiteId=function(cS){bK(cS)};this.setUserId=function(cS){if(!G(cS)||!cS.length){return}bi=cS;bw=bO(bi).substr(0,16)};this.getUserId=function(){return bi};this.setCustomData=function(cS,cT){if(S(cS)){ah=cS}else{if(!ah){ah={}}ah[cS]=cT}};this.getCustomData=function(){return ah};this.setCustomRequestProcessing=function(cS){bS=cS};this.appendToTrackingUrl=function(cS){cB=cS};this.getRequest=function(cS){return ca(cS)
};this.addPlugin=function(cS,cT){a[cS]=cT};this.setCustomDimension=function(cS,cT){cS=parseInt(cS,10);if(cS>0){if(!G(cT)){cT=""}if(!u(cT)){cT=String(cT)}a8[cS]=cT}};this.getCustomDimension=function(cS){cS=parseInt(cS,10);if(cS>0&&Object.prototype.hasOwnProperty.call(a8,cS)){return a8[cS]}};this.deleteCustomDimension=function(cS){cS=parseInt(cS,10);if(cS>0){delete a8[cS]}};this.setCustomVariable=function(cT,cS,cW,cU){var cV;if(!G(cU)){cU="visit"}if(!G(cS)){return}if(!G(cW)){cW=""}if(cT>0){cS=!u(cS)?String(cS):cS;cW=!u(cW)?String(cW):cW;cV=[cS.slice(0,be),cW.slice(0,be)];if(cU==="visit"||cU===2){cj();aG[cT]=cV}else{if(cU==="page"||cU===3){bD[cT]=cV}else{if(cU==="event"){b3[cT]=cV}}}}};this.getCustomVariable=function(cT,cU){var cS;if(!G(cU)){cU="visit"}if(cU==="page"||cU===3){cS=bD[cT]}else{if(cU==="event"){cS=b3[cT]}else{if(cU==="visit"||cU===2){cj();cS=aG[cT]}}}if(!G(cS)||(cS&&cS[0]==="")){return false}return cS};this.deleteCustomVariable=function(cS,cT){if(this.getCustomVariable(cS,cT)){this.setCustomVariable(cS,"","",cT)
}};this.deleteCustomVariables=function(cS){if(cS==="page"||cS===3){bD={}}else{if(cS==="event"){b3={}}else{if(cS==="visit"||cS===2){aG={}}}}};this.storeCustomVariablesInCookie=function(){by=true};this.setLinkTrackingTimer=function(cS){br=cS};this.getLinkTrackingTimer=function(){return br};this.setDownloadExtensions=function(cS){if(u(cS)){cS=cS.split("|")}cH=cS};this.addDownloadExtensions=function(cT){var cS;if(u(cT)){cT=cT.split("|")}for(cS=0;cS<cT.length;cS++){cH.push(cT[cS])}};this.removeDownloadExtensions=function(cU){var cT,cS=[];if(u(cU)){cU=cU.split("|")}for(cT=0;cT<cH.length;cT++){if(J(cU,cH[cT])===-1){cS.push(cH[cT])}}cH=cS};this.setDomains=function(cS){ao=u(cS)?[cS]:cS;var cW=false,cU=0,cT;for(cU;cU<ao.length;cU++){cT=String(ao[cU]);if(cm(cx,I(cT))){cW=true;break}var cV=b2(cT);if(cV&&cV!=="/"&&cV!=="/*"){cW=true;break}}if(!cW){ao.push(cx)}};this.enableCrossDomainLinking=function(){cq=true};this.disableCrossDomainLinking=function(){cq=false};this.isCrossDomainLinkingEnabled=function(){return cq
-};this.setIgnoreClasses=function(cS){bj=u(cS)?[cS]:cS};this.setRequestMethod=function(cS){cK=cS||bZ};this.setRequestContentType=function(cS){ce=cS||az};this.setReferrerUrl=function(cS){a9=cS};this.setCustomUrl=function(cS){aT=bC(bv,cS)};this.getCurrentUrl=function(){return aT||bv};this.setDocumentTitle=function(cS){a5=cS};this.setAPIUrl=function(cS){bp=cS};this.setDownloadClasses=function(cS){bt=u(cS)?[cS]:cS};this.setLinkClasses=function(cS){aW=u(cS)?[cS]:cS};this.setCampaignNameKey=function(cS){b8=u(cS)?[cS]:cS};this.setCampaignKeywordKey=function(cS){bo=u(cS)?[cS]:cS};this.discardHashTag=function(cS){bx=cS};this.setCookieNamePrefix=function(cS){a6=cS;aG=bE()};this.setCookieDomain=function(cS){var cT=I(cS);if(bg(cT)){cz=cT;a4()}};this.setCookiePath=function(cS){bb=cS;a4()};this.setVisitorCookieTimeout=function(cS){co=cS*1000};this.setSessionCookieTimeout=function(cS){b6=cS*1000};this.setReferralCookieTimeout=function(cS){cG=cS*1000};this.setConversionAttributionFirstReferrer=function(cS){bf=cS
-};this.areCookiesEnabled=function(){return !a7};this.disableCookies=function(){a7=true;cI.cookie="0";if(bN){aw()}};this.deleteCookies=function(){aw()};this.setDoNotTrack=function(cT){var cS=g.doNotTrack||g.msDoNotTrack;ct=cT&&(cS==="yes"||cS==="1");if(ct){this.disableCookies()}};this.addListener=function(cT,cS){aj(cT,cS)};this.enableLinkTracking=function(cT){cJ=true;var cS=this;bY(function(){o(function(){bl(cT,cS)})})};this.enableJSErrorTracking=function(){if(cv){return}cv=true;var cS=Q.onerror;Q.onerror=function(cX,cV,cU,cW,cT){bY(function(){var cY="JavaScript Errors";var cZ=cV+":"+cU;if(cW){cZ+=":"+cW}am(cY,cZ,cX)});if(cS){return cS(cX,cV,cU,cW,cT)}return false}};this.disablePerformanceTracking=function(){aR=false};this.setGenerationTimeMs=function(cS){b4=parseInt(cS,10)};this.enableHeartBeatTimer=function(cS){cS=Math.max(cS,1);aU=(cS||15)*1000;if(cA!==null){cP()}};this.disableHeartBeatTimer=function(){bs();if(aU||aE){if(Q.removeEventListener){Q.removeEventListener("focus",aY,true);Q.removeEventListener("blur",ap,true)
-}else{if(Q.detachEvent){Q.detachEvent("onfocus",aY);Q.detachEvent("onblur",ap)}}}aU=null;aE=false};this.killFrame=function(){if(Q.location!==Q.top.location){Q.top.location=Q.location}};this.redirectFile=function(cS){if(Q.location.protocol==="file:"){Q.location=cS}};this.setCountPreRendered=function(cS){a1=cS};this.trackGoal=function(cS,cU,cT){bY(function(){cw(cS,cU,cT)})};this.trackLink=function(cT,cS,cV,cU){bY(function(){cD(cT,cS,cV,cU)})};this.getNumTrackedPageViews=function(){return b9};this.trackPageView=function(cS,cU,cT){bR=[];if(K(bN)){bY(function(){U(av,bp,bN)})}else{bY(function(){b9++;bH(cS,cU,cT)})}};this.trackAllContentImpressions=function(){if(K(bN)){return}bY(function(){o(function(){var cS=t.findContentNodes();var cT=cg(cS);cO(cT,br)})})};this.trackVisibleContentImpressions=function(cS,cT){if(K(bN)){return}if(!G(cS)){cS=true}if(!G(cT)){cT=750}aI(cS,cT,this);bY(function(){l(function(){var cU=t.findContentNodes();var cV=aX(cU);cO(cV,br)})})};this.trackContentImpression=function(cU,cS,cT){if(K(bN)){return
-}if(!cU){return}cS=cS||"Unknown";bY(function(){var cV=ax(cU,cS,cT);bn(cV,br)})};this.trackContentImpressionsWithinNode=function(cS){if(K(bN)||!cS){return}bY(function(){if(bW){l(function(){var cT=t.findContentNodesWithinNode(cS);var cU=aX(cT);cO(cU,br)})}else{o(function(){var cT=t.findContentNodesWithinNode(cS);var cU=cg(cT);cO(cU,br)})}})};this.trackContentInteraction=function(cU,cV,cS,cT){if(K(bN)){return}if(!cU||!cV){return}cS=cS||"Unknown";bY(function(){var cW=aF(cU,cV,cS,cT);bn(cW,br)})};this.trackContentInteractionNode=function(cT,cS){if(K(bN)||!cT){return}bY(function(){var cU=cM(cT,cS);bn(cU,br)})};this.logAllContentBlocksOnPage=function(){var cT=t.findContentNodes();var cS=t.collectContent(cT);if(console!==undefined&&console&&console.log){console.log(cS)}};this.trackEvent=function(cT,cV,cS,cU,cX,cW){bY(function(){am(cT,cV,cS,cU,cX,cW)})};this.trackSiteSearch=function(cS,cU,cT,cV){bY(function(){bP(cS,cU,cT,cV)})};this.setEcommerceView=function(cV,cS,cU,cT){if(!G(cU)||!cU.length){cU=""
-}else{if(cU instanceof Array){cU=JSON_PIWIK.stringify(cU)}}bD[5]=["_pkc",cU];if(G(cT)&&String(cT).length){bD[2]=["_pkp",cT]}if((!G(cV)||!cV.length)&&(!G(cS)||!cS.length)){return}if(G(cV)&&cV.length){bD[3]=["_pks",cV]}if(!G(cS)||!cS.length){cS=""}bD[4]=["_pkn",cS]};this.addEcommerceItem=function(cW,cS,cU,cT,cV){if(cW.length){cC[cW]=[cW,cS,cU,cT,cV]}};this.trackEcommerceOrder=function(cS,cW,cV,cU,cT,cX){bG(cS,cW,cV,cU,cT,cX)};this.trackEcommerceCartUpdate=function(cS){bd(cS)};this.trackRequest=function(cT,cV,cU,cS){bY(function(){var cW=ca(cT,cV,cS);bn(cW,br,cU)})};d.trigger("TrackerSetup",[this])}function E(){return{push:Z}}function b(am,al){var an={};var aj,ak;for(aj=0;aj<al.length;aj++){var ah=al[aj];an[ah]=1;for(ak=0;ak<am.length;ak++){if(am[ak]&&am[ak][0]){var ai=am[ak][0];if(ah===ai){Z(am[ak]);delete am[ak];if(an[ai]>1){ad("The method "+ai+' 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')
-}an[ai]++}}}}return am}var z=["addTracker","disableCookies","setTrackerUrl","setAPIUrl","enableCrossDomainLinking","setCookiePath","setCookieDomain","setDomains","setUserId","setSiteId","enableLinkTracking"];function X(ah,aj){var ai=new N(ah,aj);F.push(ai);_paq=b(_paq,z);for(B=0;B<_paq.length;B++){if(_paq[B]){Z(_paq[B])}}_paq=new E();return ai}ag(Q,"beforeunload",ab,false);Date.prototype.getTimeAlias=Date.prototype.getTime;d={initialized:false,JSON:JSON_PIWIK,DOM:{addEventListener:function(ak,aj,ai,ah){var al=typeof ah;if(al==="undefined"){ah=false}ag(ak,aj,ai,ah)},onLoad:l,onReady:o,isNodeVisible:i,isOrWasNodeVisible:t.isNodeVisible},on:function(ai,ah){if(!v[ai]){v[ai]=[]}v[ai].push(ah)},off:function(aj,ai){if(!v[aj]){return}var ah=0;for(ah;ah<v[aj].length;ah++){if(v[aj][ah]===ai){v[aj].splice(ah,1)}}},trigger:function(aj,ak,ai){if(!v[aj]){return}var ah=0;for(ah;ah<v[aj].length;ah++){v[aj][ah].apply(ai||Q,ak)}},addPlugin:function(ah,ai){a[ah]=ai},getTracker:function(ah,ai){if(!G(ai)){ai=this.getAsyncTracker().getSiteId()
-}if(!G(ah)){ah=this.getAsyncTracker().getTrackerUrl()}return new N(ah,ai)},getAsyncTrackers:function(){return F},addTracker:function(ah,ai){if(!F.length){X(ah,ai)}else{F[0].addTracker(ah,ai)}},getAsyncTracker:function(ai,al){var ak;if(F&&F.length&&F[0]){ak=F[0]}else{return X(ai,al)}if(!al&&!ai){return ak}if((!G(al)||null===al)&&ak){al=ak.getSiteId()}if((!G(ai)||null===ai)&&ak){ai=ak.getTrackerUrl()}var aj,ah=0;for(ah;ah<F.length;ah++){aj=F[ah];if(aj&&String(aj.getSiteId())===String(al)&&aj.getTrackerUrl()===ai){return aj}}},retryMissedPluginCalls:function(){var ai=aa;aa=[];var ah=0;for(ah;ah<ai.length;ah++){Z(ai[ah])}}};if(typeof define==="function"&&define.amd){define("piwik",[],function(){return d})}return d}());
+};this.setIgnoreClasses=function(cS){bj=u(cS)?[cS]:cS};this.setRequestMethod=function(cS){cK=cS||bZ};this.setRequestContentType=function(cS){ce=cS||az};this.setReferrerUrl=function(cS){a9=cS};this.setCustomUrl=function(cS){aT=bC(bv,cS)};this.getCurrentUrl=function(){return aT||bv};this.setDocumentTitle=function(cS){a5=cS};this.setAPIUrl=function(cS){bp=cS};this.setDownloadClasses=function(cS){bt=u(cS)?[cS]:cS};this.setLinkClasses=function(cS){aW=u(cS)?[cS]:cS};this.setCampaignNameKey=function(cS){b8=u(cS)?[cS]:cS};this.setCampaignKeywordKey=function(cS){bo=u(cS)?[cS]:cS};this.discardHashTag=function(cS){bx=cS};this.setCookieNamePrefix=function(cS){a6=cS;aG=bE()};this.setCookieDomain=function(cS){var cT=I(cS);if(bg(cT)){cz=cT;a4()}};this.getCookieDomain=function(){return cz};this.hasCookies=function(){return"1"===bM()};this.setSessionCookie=function(cU,cT,cS){if(!cU){throw new Error("Missing cookie name")}if(!G(cS)){cS=b6}cN(aJ(cU),cT,cS,bb,cz)};this.getCookie=function(cS){return au(aJ(cS))
+};this.setCookiePath=function(cS){bb=cS;a4()};this.getCookiePath=function(cS){return bb};this.setVisitorCookieTimeout=function(cS){co=cS*1000};this.setSessionCookieTimeout=function(cS){b6=cS*1000};this.getSessionCookieTimeout=function(){return b6};this.setReferralCookieTimeout=function(cS){cG=cS*1000};this.setConversionAttributionFirstReferrer=function(cS){bf=cS};this.disableCookies=function(){a7=true;cI.cookie="0";if(bN){aw()}};this.deleteCookies=function(){aw()};this.setDoNotTrack=function(cT){var cS=g.doNotTrack||g.msDoNotTrack;ct=cT&&(cS==="yes"||cS==="1");if(ct){this.disableCookies()}};this.addListener=function(cT,cS){aj(cT,cS)};this.enableLinkTracking=function(cT){cJ=true;var cS=this;bY(function(){o(function(){bl(cT,cS)})})};this.enableJSErrorTracking=function(){if(cv){return}cv=true;var cS=Q.onerror;Q.onerror=function(cX,cV,cU,cW,cT){bY(function(){var cY="JavaScript Errors";var cZ=cV+":"+cU;if(cW){cZ+=":"+cW}am(cY,cZ,cX)});if(cS){return cS(cX,cV,cU,cW,cT)}return false}};this.disablePerformanceTracking=function(){aR=false
+};this.setGenerationTimeMs=function(cS){b4=parseInt(cS,10)};this.enableHeartBeatTimer=function(cS){cS=Math.max(cS,1);aU=(cS||15)*1000;if(cA!==null){cP()}};this.disableHeartBeatTimer=function(){bs();if(aU||aE){if(Q.removeEventListener){Q.removeEventListener("focus",aY,true);Q.removeEventListener("blur",ap,true)}else{if(Q.detachEvent){Q.detachEvent("onfocus",aY);Q.detachEvent("onblur",ap)}}}aU=null;aE=false};this.killFrame=function(){if(Q.location!==Q.top.location){Q.top.location=Q.location}};this.redirectFile=function(cS){if(Q.location.protocol==="file:"){Q.location=cS}};this.setCountPreRendered=function(cS){a1=cS};this.trackGoal=function(cS,cU,cT){bY(function(){cw(cS,cU,cT)})};this.trackLink=function(cT,cS,cV,cU){bY(function(){cD(cT,cS,cV,cU)})};this.getNumTrackedPageViews=function(){return b9};this.trackPageView=function(cS,cU,cT){bR=[];if(K(bN)){bY(function(){U(av,bp,bN)})}else{bY(function(){b9++;bH(cS,cU,cT)})}};this.trackAllContentImpressions=function(){if(K(bN)){return}bY(function(){o(function(){var cS=t.findContentNodes();
+var cT=cg(cS);cO(cT,br)})})};this.trackVisibleContentImpressions=function(cS,cT){if(K(bN)){return}if(!G(cS)){cS=true}if(!G(cT)){cT=750}aI(cS,cT,this);bY(function(){l(function(){var cU=t.findContentNodes();var cV=aX(cU);cO(cV,br)})})};this.trackContentImpression=function(cU,cS,cT){if(K(bN)){return}if(!cU){return}cS=cS||"Unknown";bY(function(){var cV=ax(cU,cS,cT);bn(cV,br)})};this.trackContentImpressionsWithinNode=function(cS){if(K(bN)||!cS){return}bY(function(){if(bW){l(function(){var cT=t.findContentNodesWithinNode(cS);var cU=aX(cT);cO(cU,br)})}else{o(function(){var cT=t.findContentNodesWithinNode(cS);var cU=cg(cT);cO(cU,br)})}})};this.trackContentInteraction=function(cU,cV,cS,cT){if(K(bN)){return}if(!cU||!cV){return}cS=cS||"Unknown";bY(function(){var cW=aF(cU,cV,cS,cT);bn(cW,br)})};this.trackContentInteractionNode=function(cT,cS){if(K(bN)||!cT){return}bY(function(){var cU=cM(cT,cS);bn(cU,br)})};this.logAllContentBlocksOnPage=function(){var cT=t.findContentNodes();var cS=t.collectContent(cT);
+if(console!==undefined&&console&&console.log){console.log(cS)}};this.trackEvent=function(cT,cV,cS,cU,cX,cW){bY(function(){am(cT,cV,cS,cU,cX,cW)})};this.trackSiteSearch=function(cS,cU,cT,cV){bY(function(){bP(cS,cU,cT,cV)})};this.setEcommerceView=function(cV,cS,cU,cT){if(!G(cU)||!cU.length){cU=""}else{if(cU instanceof Array){cU=JSON_PIWIK.stringify(cU)}}bD[5]=["_pkc",cU];if(G(cT)&&String(cT).length){bD[2]=["_pkp",cT]}if((!G(cV)||!cV.length)&&(!G(cS)||!cS.length)){return}if(G(cV)&&cV.length){bD[3]=["_pks",cV]}if(!G(cS)||!cS.length){cS=""}bD[4]=["_pkn",cS]};this.addEcommerceItem=function(cW,cS,cU,cT,cV){if(cW.length){cC[cW]=[cW,cS,cU,cT,cV]}};this.trackEcommerceOrder=function(cS,cW,cV,cU,cT,cX){bG(cS,cW,cV,cU,cT,cX)};this.trackEcommerceCartUpdate=function(cS){bd(cS)};this.trackRequest=function(cT,cV,cU,cS){bY(function(){var cW=ca(cT,cV,cS);bn(cW,br,cU)})};d.trigger("TrackerSetup",[this])}function E(){return{push:Z}}function b(am,al){var an={};var aj,ak;for(aj=0;aj<al.length;aj++){var ah=al[aj];
+an[ah]=1;for(ak=0;ak<am.length;ak++){if(am[ak]&&am[ak][0]){var ai=am[ak][0];if(ah===ai){Z(am[ak]);delete am[ak];if(an[ai]>1){ad("The method "+ai+' 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')}an[ai]++}}}}return am}var z=["addTracker","disableCookies","setTrackerUrl","setAPIUrl","enableCrossDomainLinking","setCookiePath","setCookieDomain","setDomains","setUserId","setSiteId","enableLinkTracking"];function X(ah,aj){var ai=new N(ah,aj);F.push(ai);_paq=b(_paq,z);for(B=0;B<_paq.length;B++){if(_paq[B]){Z(_paq[B])}}_paq=new E();return ai}ag(Q,"beforeunload",ab,false);Date.prototype.getTimeAlias=Date.prototype.getTime;d={initialized:false,JSON:JSON_PIWIK,DOM:{addEventListener:function(ak,aj,ai,ah){var al=typeof ah;if(al==="undefined"){ah=false}ag(ak,aj,ai,ah)},onLoad:l,onReady:o,isNodeVisible:i,isOrWasNodeVisible:t.isNodeVisible},on:function(ai,ah){if(!v[ai]){v[ai]=[]
+}v[ai].push(ah)},off:function(aj,ai){if(!v[aj]){return}var ah=0;for(ah;ah<v[aj].length;ah++){if(v[aj][ah]===ai){v[aj].splice(ah,1)}}},trigger:function(aj,ak,ai){if(!v[aj]){return}var ah=0;for(ah;ah<v[aj].length;ah++){v[aj][ah].apply(ai||Q,ak)}},addPlugin:function(ah,ai){a[ah]=ai},getTracker:function(ah,ai){if(!G(ai)){ai=this.getAsyncTracker().getSiteId()}if(!G(ah)){ah=this.getAsyncTracker().getTrackerUrl()}return new N(ah,ai)},getAsyncTrackers:function(){return F},addTracker:function(ah,ai){if(!F.length){X(ah,ai)}else{F[0].addTracker(ah,ai)}},getAsyncTracker:function(ai,al){var ak;if(F&&F.length&&F[0]){ak=F[0]}else{return X(ai,al)}if(!al&&!ai){return ak}if((!G(al)||null===al)&&ak){al=ak.getSiteId()}if((!G(ai)||null===ai)&&ak){ai=ak.getTrackerUrl()}var aj,ah=0;for(ah;ah<F.length;ah++){aj=F[ah];if(aj&&String(aj.getSiteId())===String(al)&&aj.getTrackerUrl()===ai){return aj}}},retryMissedPluginCalls:function(){var ai=aa;aa=[];var ah=0;for(ah;ah<ai.length;ah++){Z(ai[ah])}}};if(typeof define==="function"&&define.amd){define("piwik",[],function(){return d
+})}return d}());
/*!!! pluginTrackerHook */
-}(function(){function b(){if("object"!==typeof _paq){return false}var c=typeof _paq.length;if("undefined"===c){return false}return !!_paq.length}if(window&&"object"===typeof window.piwikPluginAsyncInit&&window.piwikPluginAsyncInit.length){var a=0;for(a;
-a<window.piwikPluginAsyncInit.length;a++){if(typeof window.piwikPluginAsyncInit[a]==="function"){window.piwikPluginAsyncInit[a]()}}}if(window&&window.piwikAsyncInit){window.piwikAsyncInit()}if(!window.Piwik.getAsyncTrackers().length){if(b()){window.Piwik.addTracker()}else{_paq={push:function(c){if(console!==undefined&&console&&console.error){console.error("_paq.push() was used but Piwik tracker was not initialized before the piwik.js file was loaded. Make sure to configure the tracker via _paq.push before loading piwik.js. Alternatively, you can create a tracker via Piwik.addTracker() manually and then use _paq.push but it may not fully work as tracker methods may not be executed in the correct order.",c)}}}}}window.Piwik.trigger("PiwikInitialized",[]);window.Piwik.initialized=true}());(function(){var a=(typeof AnalyticsTracker);if(a==="undefined"){AnalyticsTracker=window.Piwik}}());if(typeof piwik_log!=="function"){piwik_log=function(b,f,d,g){function a(h){try{if(window["piwik_"+h]){return window["piwik_"+h]
-}}catch(i){}return}var c,e=window.Piwik.getTracker(d,f);e.setDocumentTitle(b);e.setCustomData(g);c=a("tracker_pause");if(c){e.setLinkTrackingTimer(c)}c=a("download_extensions");if(c){e.setDownloadExtensions(c)}c=a("hosts_alias");if(c){e.setDomains(c)}c=a("ignore_classes");if(c){e.setIgnoreClasses(c)}e.trackPageView();if(a("install_tracker")){piwik_track=function(i,k,j,h){e.setSiteId(k);e.setTrackerUrl(j);e.trackLink(i,h)};e.enableLinkTracking()}};
+}(function(){function b(){if("object"!==typeof _paq){return false}var c=typeof _paq.length;if("undefined"===c){return false}return !!_paq.length}if(window&&"object"===typeof window.piwikPluginAsyncInit&&window.piwikPluginAsyncInit.length){var a=0;for(a;a<window.piwikPluginAsyncInit.length;a++){if(typeof window.piwikPluginAsyncInit[a]==="function"){window.piwikPluginAsyncInit[a]()}}}if(window&&window.piwikAsyncInit){window.piwikAsyncInit()}if(!window.Piwik.getAsyncTrackers().length){if(b()){window.Piwik.addTracker()}else{_paq={push:function(c){if(console!==undefined&&console&&console.error){console.error("_paq.push() was used but Piwik tracker was not initialized before the piwik.js file was loaded. Make sure to configure the tracker via _paq.push before loading piwik.js. Alternatively, you can create a tracker via Piwik.addTracker() manually and then use _paq.push but it may not fully work as tracker methods may not be executed in the correct order.",c)
+}}}}}window.Piwik.trigger("PiwikInitialized",[]);window.Piwik.initialized=true}());(function(){var a=(typeof AnalyticsTracker);if(a==="undefined"){AnalyticsTracker=window.Piwik}}());if(typeof piwik_log!=="function"){piwik_log=function(b,f,d,g){function a(h){try{if(window["piwik_"+h]){return window["piwik_"+h]}}catch(i){}return}var c,e=window.Piwik.getTracker(d,f);e.setDocumentTitle(b);e.setCustomData(g);c=a("tracker_pause");if(c){e.setLinkTrackingTimer(c)}c=a("download_extensions");if(c){e.setDownloadExtensions(c)}c=a("hosts_alias");if(c){e.setDomains(c)}c=a("ignore_classes");if(c){e.setIgnoreClasses(c)}e.trackPageView();if(a("install_tracker")){piwik_track=function(i,k,j,h){e.setSiteId(k);e.setTrackerUrl(j);e.trackLink(i,h)};e.enableLinkTracking()}};
/*!! @license-end */
}; \ No newline at end of file