diff options
-rw-r--r-- | piwik.js | 87 |
1 files changed, 44 insertions, 43 deletions
@@ -19,48 +19,49 @@ var I="000000";var t=function(ac,ad){return(I+(ad||0)).slice(-ac)};var z="\\u00" ad.length<af;ad+=" "){}}}else{if(ai==O){ad=af.length<=10?af:af.slice(0,10)}}}return p("",(ak={},ak[""]=ac,ak),al,aj,ad,"",[])}}if(!o("json-parse")){var M=R.fromCharCode;var l={92:"\\",34:'"',47:"/",98:"\b",116:"\t",110:"\n",102:"\f",114:"\r"};var G,X;var H=function(){G=X=null;throw T()};var y=function(){var ah=X,af=ah.length,ag,ae,ac,ai,ad;while(G<af){ad=ah.charCodeAt(G);switch(ad){case 9:case 10:case 13:case 32:G++;break;case 123:case 125:case 91:case 93:case 58:case 44:ag=F?ah.charAt(G):ah[G];G++;return ag;case 34:for(ag="@",G++;G<af;){ad=ah.charCodeAt(G);if(ad<32){H()}else{if(ad==92){ad=ah.charCodeAt(++G);switch(ad){case 92:case 34:case 47:case 98:case 116:case 110:case 102:case 114:ag+=l[ad];G++;break;case 117:ae=++G;for(ac=G+4;G<ac;G++){ad=ah.charCodeAt(G);if(!(ad>=48&&ad<=57||ad>=97&&ad<=102||ad>=65&&ad<=70)){H()}}ag+=M("0x"+ah.slice(ae,G));break;default:H()}}else{if(ad==34){break}ad=ah.charCodeAt(G);ae=G;while(ad>=32&&ad!=92&&ad!=34){ad=ah.charCodeAt(++G)}ag+=ah.slice(ae,G)}}}if(ah.charCodeAt(G)==34){G++; return ag}H();default:ae=G;if(ad==45){ai=true;ad=ah.charCodeAt(++G)}if(ad>=48&&ad<=57){if(ad==48&&((ad=ah.charCodeAt(G+1)),ad>=48&&ad<=57)){H()}ai=false;for(;G<af&&((ad=ah.charCodeAt(G)),ad>=48&&ad<=57);G++){}if(ah.charCodeAt(G)==46){ac=++G;for(;ac<af&&((ad=ah.charCodeAt(ac)),ad>=48&&ad<=57);ac++){}if(ac==G){H()}G=ac}ad=ah.charCodeAt(G);if(ad==101||ad==69){ad=ah.charCodeAt(++G);if(ad==43||ad==45){G++}for(ac=G;ac<af&&((ad=ah.charCodeAt(ac)),ad>=48&&ad<=57);ac++){}if(ac==G){H()}G=ac}return +ah.slice(ae,G)}if(ai){H()}if(ah.slice(G,G+4)=="true"){G+=4;return true}else{if(ah.slice(G,G+5)=="false"){G+=5;return false}else{if(ah.slice(G,G+4)=="null"){G+=4;return null}}}H()}}return"$"};var W=function(ad){var ac,ae;if(ad=="$"){H()}if(typeof ad=="string"){if((F?ad.charAt(0):ad[0])=="@"){return ad.slice(1)}if(ad=="["){ac=[];for(;;ae||(ae=true)){ad=y();if(ad=="]"){break}if(ae){if(ad==","){ad=y();if(ad=="]"){H()}}else{H()}}if(ad==","){H()}ac.push(W(ad))}return ac}else{if(ad=="{"){ac={};for(;;ae||(ae=true)){ad=y(); if(ad=="}"){break}if(ae){if(ad==","){ad=y();if(ad=="}"){H()}}else{H()}}if(ad==","||typeof ad!="string"||(F?ad.charAt(0):ad[0])!="@"||y()!=":"){H()}ac[ad.slice(1)]=W(y())}return ac}}H()}return ad};var P=function(ae,ad,af){var ac=w(ae,ad,af);if(ac===L){delete ae[ad]}else{ae[ad]=ac}};var w=function(af,ae,ag){var ad=af[ae],ac;if(typeof ad=="object"&&ad){if(u.call(ad)==E){for(ac=ad.length;ac--;){P(ad,ac,ag)}}else{m(ad,function(ah){P(ad,ah,ag)})}}return ag.call(af,ae,ad)};V.parse=function(ae,af){var ac,ad;G=0;X=""+ae;ac=W(y());if(y()!="$"){H()}G=X=null;return af&&u.call(af)==U?w((ad={},ad[""]=ac,ad),"",af):ac}}}V.runInContext=j;return V}if(h&&!c){j(i,h)}else{var f=i.JSON,k=i.JSON3,d=false;var g=j(i,(i.JSON3={noConflict:function(){if(!d){d=true;i.JSON=f;i.JSON3=k;f=k=null}return g}}));i.JSON={parse:g.parse,stringify:g.stringify}}if(c){define(function(){return g})}}).call(this);JSON2=a})()}if(typeof _paq!=="object"){_paq=[]}if(typeof window.Piwik!=="object"){window.Piwik=(function(){var l,a={},x=document,f=navigator,O=screen,K=window,g=K.performance||K.mozPerformance||K.msPerformance||K.webkitPerformance,n=K.encodeURIComponent,J=K.decodeURIComponent,i=unescape,z=[],w,d; -function k(Y){try{return J(Y)}catch(Z){return unescape(Y)}}function A(Z){var Y=typeof Z;return Y!=="undefined"}function s(Y){return typeof Y==="function"}function N(Y){return typeof Y==="object"}function q(Y){return typeof Y==="string"||Y instanceof String}function t(Z){if(!Z){return true}var Y;var aa=true;for(Y in Z){if(Object.prototype.hasOwnProperty.call(Z,Y)){aa=false}}return aa}function T(){var Z,Y,ab,aa;for(Z=0;Z<arguments.length;Z+=1){aa=arguments[Z];ab=aa.shift();for(Y=0;Y<z.length;Y++){if(q(ab)){z[Y][ab].apply(z[Y],aa);if(ab==="addTracker"){break}if(ab==="setTrackerUrl"||ab==="setSiteId"){break}}else{ab.apply(z[Y],aa)}}}}function W(ab,aa,Z,Y){if(ab.addEventListener){ab.addEventListener(aa,Z,Y);return true}if(ab.attachEvent){return ab.attachEvent("on"+aa,Z)}ab["on"+aa]=Z}function R(Z,ad){var Y="",ab,aa,ac;for(ab in a){if(Object.prototype.hasOwnProperty.call(a,ab)){aa=a[ab][Z];if(s(aa)){ac=aa(ad);if(ac){Y+=ac}}}}return Y}function U(){var Y;R("unload");if(l){do{Y=new Date()}while(Y.getTimeAlias()<l) -}}function j(aa,Z){var Y=x.createElement("script");Y.type="text/javascript";Y.src=aa;if(Y.readyState){Y.onreadystatechange=function(){var ab=this.readyState;if(ab==="loaded"||ab==="complete"){Y.onreadystatechange=null;Z()}}}else{Y.onload=Z}x.getElementsByTagName("head")[0].appendChild(Y)}function B(){var Y="";try{Y=K.top.document.referrer}catch(aa){if(K.parent){try{Y=K.parent.document.referrer}catch(Z){Y=""}}}if(Y===""){Y=x.referrer}return Y}function m(Y){var aa=new RegExp("^([a-z]+):"),Z=aa.exec(Y);return Z?Z[1]:null}function c(Y){var aa=new RegExp("^(?:(?:https?|ftp):)/*(?:[^@]+@)?([^:/#]+)"),Z=aa.exec(Y);return Z?Z[1]:Y}function M(aa,Z){var Y="[\\?&#]"+Z+"=([^&#]*)";var ac=new RegExp(Y);var ab=ac.exec(aa);return ab?J(ab[1]):""}function v(Y){return unescape(n(Y))}function V(an){var aa=function(au,at){return(au<<at)|(au>>>(32-at))},ao=function(aw){var au="",av,at;for(av=7;av>=0;av--){at=(aw>>>(av*4))&15;au+=at.toString(16)}return au},ad,aq,ap,Z=[],ah=1732584193,af=4023233417,ae=2562383102,ac=271733878,ab=3285377520,am,al,ak,aj,ai,ar,Y,ag=[]; -an=v(an);Y=an.length;for(aq=0;aq<Y-3;aq+=4){ap=an.charCodeAt(aq)<<24|an.charCodeAt(aq+1)<<16|an.charCodeAt(aq+2)<<8|an.charCodeAt(aq+3);ag.push(ap)}switch(Y&3){case 0:aq=2147483648;break;case 1:aq=an.charCodeAt(Y-1)<<24|8388608;break;case 2:aq=an.charCodeAt(Y-2)<<24|an.charCodeAt(Y-1)<<16|32768;break;case 3:aq=an.charCodeAt(Y-3)<<24|an.charCodeAt(Y-2)<<16|an.charCodeAt(Y-1)<<8|128;break}ag.push(aq);while((ag.length&15)!==14){ag.push(0)}ag.push(Y>>>29);ag.push((Y<<3)&4294967295);for(ad=0;ad<ag.length;ad+=16){for(aq=0;aq<16;aq++){Z[aq]=ag[ad+aq]}for(aq=16;aq<=79;aq++){Z[aq]=aa(Z[aq-3]^Z[aq-8]^Z[aq-14]^Z[aq-16],1)}am=ah;al=af;ak=ae;aj=ac;ai=ab;for(aq=0;aq<=19;aq++){ar=(aa(am,5)+((al&ak)|(~al&aj))+ai+Z[aq]+1518500249)&4294967295;ai=aj;aj=ak;ak=aa(al,30);al=am;am=ar}for(aq=20;aq<=39;aq++){ar=(aa(am,5)+(al^ak^aj)+ai+Z[aq]+1859775393)&4294967295;ai=aj;aj=ak;ak=aa(al,30);al=am;am=ar}for(aq=40;aq<=59;aq++){ar=(aa(am,5)+((al&ak)|(al&aj)|(ak&aj))+ai+Z[aq]+2400959708)&4294967295;ai=aj;aj=ak;ak=aa(al,30); -al=am;am=ar}for(aq=60;aq<=79;aq++){ar=(aa(am,5)+(al^ak^aj)+ai+Z[aq]+3395469782)&4294967295;ai=aj;aj=ak;ak=aa(al,30);al=am;am=ar}ah=(ah+am)&4294967295;af=(af+al)&4294967295;ae=(ae+ak)&4294967295;ac=(ac+aj)&4294967295;ab=(ab+ai)&4294967295}ar=ao(ah)+ao(af)+ao(ae)+ao(ac)+ao(ab);return ar.toLowerCase()}function Q(aa,Y,Z){if(!aa){aa=""}if(!Y){Y=""}if(aa==="translate.googleusercontent.com"){if(Z===""){Z=Y}Y=M(Y,"u");aa=c(Y)}else{if(aa==="cc.bingj.com"||aa==="webcache.googleusercontent.com"||aa.slice(0,5)==="74.6."){Y=x.links[0].href;aa=c(Y)}}return[aa,Y,Z]}function C(Z){var Y=Z.length;if(Z.charAt(--Y)==="."){Z=Z.slice(0,Y)}if(Z.slice(0,2)==="*."){Z=Z.slice(1)}if(Z.indexOf("/")!==-1){Z=Z.substr(0,Z.indexOf("/"))}return Z}function X(Z){Z=Z&&Z.text?Z.text:Z;if(!q(Z)){var Y=x.getElementsByTagName("title");if(Y&&A(Y[0])){Z=Y[0].text}}return Z}function G(Y){if(!Y){return[]}if(!A(Y.children)&&A(Y.childNodes)){return Y.children}if(A(Y.children)){return Y.children}return[]}function L(Z,Y){if(!Z||!Y){return false -}if(Z.contains){return Z.contains(Y)}if(Z===Y){return true}if(Z.compareDocumentPosition){return !!(Z.compareDocumentPosition(Y)&16)}return false}function D(aa,ab){if(aa&&aa.indexOf){return aa.indexOf(ab)}if(!A(aa)||aa===null){return -1}if(!aa.length){return -1}var Y=aa.length;if(Y===0){return -1}var Z=0;while(Z<Y){if(aa[Z]===ab){return Z}Z++}return -1}function I(Z,Y){Z=String(Z);return Z.indexOf(Y,Z.length-Y.length)!==-1}function r(Z,Y){Z=String(Z);return Z.indexOf(Y)!==-1}function e(Z,Y){Z=String(Z);return Z.substr(0,Z.length-Y)}function h(aa){if(!aa){return false}function Y(ac,ad){if(K.getComputedStyle){return x.defaultView.getComputedStyle(ac,null)[ad]}if(ac.currentStyle){return ac.currentStyle[ad]}}function ab(ac){ac=ac.parentNode;while(ac){if(ac===x){return true}ac=ac.parentNode}return false}function Z(ae,ak,ac,ah,af,ai,ag){var ad=ae.parentNode,aj=1;if(!ab(ae)){return false}if(9===ad.nodeType){return true}if("0"===Y(ae,"opacity")||"none"===Y(ae,"display")||"hidden"===Y(ae,"visibility")){return false -}if(!A(ak)||!A(ac)||!A(ah)||!A(af)||!A(ai)||!A(ag)){ak=ae.offsetTop;af=ae.offsetLeft;ah=ak+ae.offsetHeight;ac=af+ae.offsetWidth;ai=ae.offsetWidth;ag=ae.offsetHeight}if(aa===ae&&(0===ag||0===ai)&&"hidden"===Y(ae,"overflow")){return false}if(ad){if(("hidden"===Y(ad,"overflow")||"scroll"===Y(ad,"overflow"))){if(af+aj>ad.offsetWidth+ad.scrollLeft||af+ai-aj<ad.scrollLeft||ak+aj>ad.offsetHeight+ad.scrollTop||ak+ag-aj<ad.scrollTop){return false}}if(ae.offsetParent===ad){af+=ad.offsetLeft;ak+=ad.offsetTop}return Z(ad,ak,ac,ah,af,ai,ag)}return true}return Z(aa)}var S={htmlCollectionToArray:function(aa){var Y=[],Z;if(!aa||!aa.length){return Y}for(Z=0;Z<aa.length;Z++){Y.push(aa[Z])}return Y},find:function(Y){if(!document.querySelectorAll||!Y){return[]}var Z=document.querySelectorAll(Y);return this.htmlCollectionToArray(Z)},findMultiple:function(aa){if(!aa||!aa.length){return[]}var Z,ab;var Y=[];for(Z=0;Z<aa.length;Z++){ab=this.find(aa[Z]);Y=Y.concat(ab)}Y=this.makeNodesUnique(Y);return Y},findNodesByTagName:function(Z,Y){if(!Z||!Y||!Z.getElementsByTagName){return[] -}var aa=Z.getElementsByTagName(Y);return this.htmlCollectionToArray(aa)},makeNodesUnique:function(Y){var ad=[].concat(Y);Y.sort(function(af,ae){if(af===ae){return 0}var ah=D(ad,af);var ag=D(ad,ae);if(ah===ag){return 0}return ah>ag?-1:1});if(Y.length<=1){return Y}var Z=0;var ab=0;var ac=[];var aa;aa=Y[Z++];while(aa){if(aa===Y[Z]){ab=ac.push(Z)}aa=Y[Z++]||null}while(ab--){Y.splice(ac[ab],1)}return Y},getAttributeValueFromNode:function(ac,aa){if(!this.hasNodeAttribute(ac,aa)){return}if(ac&&ac.getAttribute){return ac.getAttribute(aa)}if(!ac||!ac.attributes){return}var ab=(typeof ac.attributes[aa]);if("undefined"===ab){return}if(ac.attributes[aa].value){return ac.attributes[aa].value}if(ac.attributes[aa].nodeValue){return ac.attributes[aa].nodeValue}var Z;var Y=ac.attributes;if(!Y){return}for(Z=0;Z<Y.length;Z++){if(Y[Z].nodeName===aa){return Y[Z].nodeValue}}return null},hasNodeAttributeWithValue:function(Z,Y){var aa=this.getAttributeValueFromNode(Z,Y);return !!aa},hasNodeAttribute:function(aa,Y){if(aa&&aa.hasAttribute){return aa.hasAttribute(Y) -}if(aa&&aa.attributes){var Z=(typeof aa.attributes[Y]);return"undefined"!==Z}return false},hasNodeCssClass:function(aa,Y){if(aa&&Y&&aa.className){var Z=typeof aa.className==="string"?aa.className.split(" "):[];if(-1!==D(Z,Y)){return true}}return false},findNodesHavingAttribute:function(ac,aa,Y){if(!Y){Y=[]}if(!ac||!aa){return Y}var ab=G(ac);if(!ab||!ab.length){return Y}var Z,ad;for(Z=0;Z<ab.length;Z++){ad=ab[Z];if(this.hasNodeAttribute(ad,aa)){Y.push(ad)}Y=this.findNodesHavingAttribute(ad,aa,Y)}return Y},findFirstNodeHavingAttribute:function(aa,Z){if(!aa||!Z){return}if(this.hasNodeAttribute(aa,Z)){return aa}var Y=this.findNodesHavingAttribute(aa,Z);if(Y&&Y.length){return Y[0]}},findFirstNodeHavingAttributeWithValue:function(ab,aa){if(!ab||!aa){return}if(this.hasNodeAttributeWithValue(ab,aa)){return ab}var Y=this.findNodesHavingAttribute(ab,aa);if(!Y||!Y.length){return}var Z;for(Z=0;Z<Y.length;Z++){if(this.getAttributeValueFromNode(Y[Z],aa)){return Y[Z]}}},findNodesHavingCssClass:function(ac,ab,Y){if(!Y){Y=[] -}if(!ac||!ab){return Y}if(ac.getElementsByClassName){var ad=ac.getElementsByClassName(ab);return this.htmlCollectionToArray(ad)}var aa=G(ac);if(!aa||!aa.length){return[]}var Z,ae;for(Z=0;Z<aa.length;Z++){ae=aa[Z];if(this.hasNodeCssClass(ae,ab)){Y.push(ae)}Y=this.findNodesHavingCssClass(ae,ab,Y)}return Y},findFirstNodeHavingClass:function(aa,Z){if(!aa||!Z){return}if(this.hasNodeCssClass(aa,Z)){return aa}var Y=this.findNodesHavingCssClass(aa,Z);if(Y&&Y.length){return Y[0]}},isLinkElement:function(Z){if(!Z){return false}var Y=String(Z.nodeName).toLowerCase();var ab=["a","area"];var aa=D(ab,Y);return aa!==-1},setAnyAttribute:function(Z,Y,aa){if(!Z||!Y){return}if(Z.setAttribute){Z.setAttribute(Y,aa)}else{Z[Y]=aa}}};var p={CONTENT_ATTR:"data-track-content",CONTENT_CLASS:"piwikTrackContent",CONTENT_NAME_ATTR:"data-content-name",CONTENT_PIECE_ATTR:"data-content-piece",CONTENT_PIECE_CLASS:"piwikContentPiece",CONTENT_TARGET_ATTR:"data-content-target",CONTENT_TARGET_CLASS:"piwikContentTarget",CONTENT_IGNOREINTERACTION_ATTR:"data-content-ignoreinteraction",CONTENT_IGNOREINTERACTION_CLASS:"piwikContentIgnoreInteraction",location:undefined,findContentNodes:function(){var Z="."+this.CONTENT_CLASS; -var Y="["+this.CONTENT_ATTR+"]";var aa=S.findMultiple([Z,Y]);return aa},findContentNodesWithinNode:function(ab){if(!ab){return[]}var Z=S.findNodesHavingCssClass(ab,this.CONTENT_CLASS);var Y=S.findNodesHavingAttribute(ab,this.CONTENT_ATTR);if(Y&&Y.length){var aa;for(aa=0;aa<Y.length;aa++){Z.push(Y[aa])}}if(S.hasNodeAttribute(ab,this.CONTENT_ATTR)){Z.push(ab)}else{if(S.hasNodeCssClass(ab,this.CONTENT_CLASS)){Z.push(ab)}}Z=S.makeNodesUnique(Z);return Z},findParentContentNode:function(Z){if(!Z){return}var aa=Z;var Y=0;while(aa&&aa!==x&&aa.parentNode){if(S.hasNodeAttribute(aa,this.CONTENT_ATTR)){return aa}if(S.hasNodeCssClass(aa,this.CONTENT_CLASS)){return aa}aa=aa.parentNode;if(Y>1000){break}Y++}},findPieceNode:function(Z){var Y;Y=S.findFirstNodeHavingAttribute(Z,this.CONTENT_PIECE_ATTR);if(!Y){Y=S.findFirstNodeHavingClass(Z,this.CONTENT_PIECE_CLASS)}if(Y){return Y}return Z},findTargetNodeNoDefault:function(Y){if(!Y){return}var Z=S.findFirstNodeHavingAttributeWithValue(Y,this.CONTENT_TARGET_ATTR); -if(Z){return Z}Z=S.findFirstNodeHavingAttribute(Y,this.CONTENT_TARGET_ATTR);if(Z){return Z}Z=S.findFirstNodeHavingClass(Y,this.CONTENT_TARGET_CLASS);if(Z){return Z}},findTargetNode:function(Y){var Z=this.findTargetNodeNoDefault(Y);if(Z){return Z}return Y},findContentName:function(Z){if(!Z){return}var ac=S.findFirstNodeHavingAttributeWithValue(Z,this.CONTENT_NAME_ATTR);if(ac){return S.getAttributeValueFromNode(ac,this.CONTENT_NAME_ATTR)}var Y=this.findContentPiece(Z);if(Y){return this.removeDomainIfIsInLink(Y)}if(S.hasNodeAttributeWithValue(Z,"title")){return S.getAttributeValueFromNode(Z,"title")}var aa=this.findPieceNode(Z);if(S.hasNodeAttributeWithValue(aa,"title")){return S.getAttributeValueFromNode(aa,"title")}var ab=this.findTargetNode(Z);if(S.hasNodeAttributeWithValue(ab,"title")){return S.getAttributeValueFromNode(ab,"title")}},findContentPiece:function(Z){if(!Z){return}var ab=S.findFirstNodeHavingAttributeWithValue(Z,this.CONTENT_PIECE_ATTR);if(ab){return S.getAttributeValueFromNode(ab,this.CONTENT_PIECE_ATTR) -}var Y=this.findPieceNode(Z);var aa=this.findMediaUrlInNode(Y);if(aa){return this.toAbsoluteUrl(aa)}},findContentTarget:function(aa){if(!aa){return}var ab=this.findTargetNode(aa);if(S.hasNodeAttributeWithValue(ab,this.CONTENT_TARGET_ATTR)){return S.getAttributeValueFromNode(ab,this.CONTENT_TARGET_ATTR)}var Z;if(S.hasNodeAttributeWithValue(ab,"href")){Z=S.getAttributeValueFromNode(ab,"href");return this.toAbsoluteUrl(Z)}var Y=this.findPieceNode(aa);if(S.hasNodeAttributeWithValue(Y,"href")){Z=S.getAttributeValueFromNode(Y,"href");return this.toAbsoluteUrl(Z)}},isSameDomain:function(Y){if(!Y||!Y.indexOf){return false}if(0===Y.indexOf(this.getLocation().origin)){return true}var Z=Y.indexOf(this.getLocation().host);if(8>=Z&&0<=Z){return true}return false},removeDomainIfIsInLink:function(aa){var Z="^https?://[^/]+";var Y="^.*//[^/]+";if(aa&&aa.search&&-1!==aa.search(new RegExp(Z))&&this.isSameDomain(aa)){aa=aa.replace(new RegExp(Y),"");if(!aa){aa="/"}}return aa},findMediaUrlInNode:function(ac){if(!ac){return -}var aa=["img","embed","video","audio"];var Y=ac.nodeName.toLowerCase();if(-1!==D(aa,Y)&&S.findFirstNodeHavingAttributeWithValue(ac,"src")){var ab=S.findFirstNodeHavingAttributeWithValue(ac,"src");return S.getAttributeValueFromNode(ab,"src")}if(Y==="object"&&S.hasNodeAttributeWithValue(ac,"data")){return S.getAttributeValueFromNode(ac,"data")}if(Y==="object"){var ad=S.findNodesByTagName(ac,"param");if(ad&&ad.length){var Z;for(Z=0;Z<ad.length;Z++){if("movie"===S.getAttributeValueFromNode(ad[Z],"name")&&S.hasNodeAttributeWithValue(ad[Z],"value")){return S.getAttributeValueFromNode(ad[Z],"value")}}}var ae=S.findNodesByTagName(ac,"embed");if(ae&&ae.length){return this.findMediaUrlInNode(ae[0])}}},trim:function(Y){if(Y&&String(Y)===Y){return Y.replace(/^\s+|\s+$/g,"")}return Y},isOrWasNodeInViewport:function(ad){if(!ad||!ad.getBoundingClientRect||ad.nodeType!==1){return true}var ac=ad.getBoundingClientRect();var ab=x.documentElement||{};var aa=ac.top<0;if(aa&&ad.offsetTop){aa=(ad.offsetTop+ac.height)>0 -}var Z=ab.clientWidth;if(K.innerWidth&&Z>K.innerWidth){Z=K.innerWidth}var Y=ab.clientHeight;if(K.innerHeight&&Y>K.innerHeight){Y=K.innerHeight}return((ac.bottom>0||aa)&&ac.right>0&&ac.left<Z&&((ac.top<Y)||aa))},isNodeVisible:function(Z){var Y=h(Z);var aa=this.isOrWasNodeInViewport(Z);return Y&&aa},buildInteractionRequestParams:function(Y,Z,aa,ab){var ac="";if(Y){ac+="c_i="+n(Y)}if(Z){if(ac){ac+="&"}ac+="c_n="+n(Z)}if(aa){if(ac){ac+="&"}ac+="c_p="+n(aa)}if(ab){if(ac){ac+="&"}ac+="c_t="+n(ab)}return ac},buildImpressionRequestParams:function(Y,Z,aa){var ab="c_n="+n(Y)+"&c_p="+n(Z);if(aa){ab+="&c_t="+n(aa)}return ab},buildContentBlock:function(aa){if(!aa){return}var Y=this.findContentName(aa);var Z=this.findContentPiece(aa);var ab=this.findContentTarget(aa);Y=this.trim(Y);Z=this.trim(Z);ab=this.trim(ab);return{name:Y||"Unknown",piece:Z||"Unknown",target:ab||""}},collectContent:function(ab){if(!ab||!ab.length){return[]}var aa=[];var Y,Z;for(Y=0;Y<ab.length;Y++){Z=this.buildContentBlock(ab[Y]); -if(A(Z)){aa.push(Z)}}return aa},setLocation:function(Y){this.location=Y},getLocation:function(){var Y=this.location||K.location;if(!Y.origin){Y.origin=Y.protocol+"//"+Y.hostname+(Y.port?":"+Y.port:"")}return Y},toAbsoluteUrl:function(Z){if((!Z||String(Z)!==Z)&&Z!==""){return Z}if(""===Z){return this.getLocation().href}if(Z.search(/^\/\//)!==-1){return this.getLocation().protocol+Z}if(Z.search(/:\/\//)!==-1){return Z}if(0===Z.indexOf("#")){return this.getLocation().origin+this.getLocation().pathname+Z}if(0===Z.indexOf("?")){return this.getLocation().origin+this.getLocation().pathname+Z}if(0===Z.search("^[a-zA-Z]{2,11}:")){return Z}if(Z.search(/^\//)!==-1){return this.getLocation().origin+Z}var Y="(.*/)";var aa=this.getLocation().origin+this.getLocation().pathname.match(new RegExp(Y))[0];return aa+Z},isUrlToCurrentDomain:function(Z){var aa=this.toAbsoluteUrl(Z);if(!aa){return false}var Y=this.getLocation().origin;if(Y===aa){return true}if(0===String(aa).indexOf(Y)){if(":"===String(aa).substr(Y.length,1)){return false -}return true}return false},setHrefAttribute:function(Z,Y){if(!Z||!Y){return}S.setAnyAttribute(Z,"href",Y)},shouldIgnoreInteraction:function(aa){var Z=S.hasNodeAttribute(aa,this.CONTENT_IGNOREINTERACTION_ATTR);var Y=S.hasNodeCssClass(aa,this.CONTENT_IGNOREINTERACTION_CLASS);return Z||Y}};function F(Z,ac){if(ac){return ac}if(r(Z,"?")){var ab=Z.indexOf("?");Z=Z.slice(0,ab)}if(I(Z,"piwik.php")){Z=e(Z,"piwik.php".length)}else{if(I(Z,".php")){var Y=Z.lastIndexOf("/");var aa=1;Z=Z.slice(0,Y+aa)}}if(I(Z,"/js/")){Z=e(Z,"js/".length)}return Z}function E(ae){var ag="Piwik_Overlay";var Z=new RegExp("index\\.php\\?module=Overlay&action=startOverlaySession&idSite=([0-9]+)&period=([^&]+)&date=([^&]+)(&segment=.*)?$");var aa=Z.exec(x.referrer);if(aa){var ac=aa[1];if(ac!==String(ae)){return false}var ad=aa[2],Y=aa[3],ab=aa[4];if(!ab){ab=""}else{if(ab.indexOf("&segment=")===0){ab=ab.substr("&segment=".length)}}K.name=ag+"###"+ad+"###"+Y+"###"+ab}var af=K.name.split("###");return af.length===4&&af[0]===ag -}function P(Z,af,ab){var ae=K.name.split("###"),ad=ae[1],Y=ae[2],ac=ae[3],aa=F(Z,af);j(aa+"plugins/Overlay/client/client.js?v=1",function(){Piwik_Overlay_Client.initialize(aa,ab,ad,Y,ac)})}function o(){if(A(K.frameElement)){return(K.frameElement&&String(K.frameElement.nodeName).toLowerCase()==="iframe")}try{return K.self!==K.top}catch(Y){return true}}function H(bG,bA){var bw=Q(x.domain,K.location.href,B()),ce=C(bw[0]),bg=k(bw[1]),aV=k(bw[2]),cc=false,bK="GET",cq=bK,am="application/x-www-form-urlencoded; charset=UTF-8",bW=am,ai=bG||"",bb="",ci="",by=bA||"",a4="",bh="",aG,aR=x.title,cn=["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"],ae=[ce],a5=[],be=[],aJ=[],bc=500,b5,aH,bk,bi,Y,bS=["pk_campaign","piwik_campaign","utm_campaign","utm_source","utm_medium"],ba=["pk_kwd","piwik_kwd","utm_term"],aS="_pk_",cg,aX,aT=false,ca,aP,a1,b6=33955200000,bQ=1800000,cm=15768000000,aE=true,bO=0,bj=false,at=false,bD,bo={},bN={},aU={},a0=200,cj={},co={},bC=[],bH=false,bZ=false,Z=false,cp=false,aq=false,aO=o(),ch=null,bE,au,a6,bz=V,aW; -function ct(cD,cA,cz,cC,cy,cB){if(aT){return}var cx;if(cz){cx=new Date();cx.setTime(cx.getTime()+cz)}x.cookie=cD+"="+n(cA)+(cz?";expires="+cx.toGMTString():"")+";path="+(cC||"/")+(cy?";domain="+cy:"")+(cB?";secure":"")}function ah(cz){if(aT){return 0}var cx=new RegExp("(^|;)[ ]*"+cz+"=([^;]*)"),cy=cx.exec(x.cookie);return cy?J(cy[2]):0}function bu(cx){var cy;if(bi){cy=new RegExp("#.*");return cx.replace(cy,"")}return cx}function bn(cz,cx){var cA=m(cx),cy;if(cA){return cx}if(cx.slice(0,1)==="/"){return m(cz)+"://"+c(cz)+cx}cz=bu(cz);cy=cz.indexOf("?");if(cy>=0){cz=cz.slice(0,cy)}cy=cz.lastIndexOf("/");if(cy!==cz.length-1){cz=cz.slice(0,cy+1)}return cz+cx}function b3(cz,cx){var cy;cz=String(cz).toLowerCase();cx=String(cx).toLowerCase();if(cz===cx){return true}if(cx.slice(0,1)==="."){if(cz===cx.slice(1)){return true}cy=cz.length-cx.length;if((cy>0)&&(cz.slice(cy)===cx)){return true}}return false}function bM(cx){var cy=document.createElement("a");if(cx.indexOf("//")!==0&&cx.indexOf("http")!==0){cx="http://"+cx -}cy.href=p.toAbsoluteUrl(cx);if(cy.pathname){return cy.pathname}return""}function aF(cy,cx){var cz=(!cx||cx==="/"||cx==="/*");if(cz){return true}if(cy===cx){return true}if(!cy){return false}cx=String(cx).toLowerCase();cy=String(cy).toLowerCase();if(I(cx,"*")){cx=cx.slice(0,-1);cz=(!cx||cx==="/");if(cz){return true}if(cy===cx){return true}return cy.indexOf(cx)===0}if(!I(cy,"/")){cy+="/"}if(!I(cx,"/")){cx+="/"}return cy.indexOf(cx)===0}function ab(cB,cD){var cy,cx,cz,cA,cC;for(cy=0;cy<ae.length;cy++){cA=C(ae[cy]);cC=bM(ae[cy]);if(b3(cB,cA)&&aF(cD,cC)){return true}}return false}function ay(cA){var cy,cx,cz;for(cy=0;cy<ae.length;cy++){cx=C(ae[cy].toLowerCase());if(cA===cx){return true}if(cx.slice(0,1)==="."){if(cA===cx.slice(1)){return true}cz=cA.length-cx.length;if((cz>0)&&(cA.slice(cz)===cx)){return true}}}return false}function bR(cx,cz){var cy=new Image(1,1);cy.onload=function(){w=0;if(typeof cz==="function"){cz()}};cy.src=ai+(ai.indexOf("?")<0?"?":"&")+cx}function cl(cy,cB,cx){if(!A(cx)||null===cx){cx=true -}try{var cA=K.XMLHttpRequest?new K.XMLHttpRequest():K.ActiveXObject?new ActiveXObject("Microsoft.XMLHTTP"):null;cA.open("POST",ai,true);cA.onreadystatechange=function(){if(this.readyState===4&&!(this.status>=200&&this.status<300)&&cx){bR(cy,cB)}else{if(this.readyState===4&&(typeof cB==="function")){cB()}}};cA.setRequestHeader("Content-Type",bW);cA.send(cy)}catch(cz){if(cx){bR(cy,cB)}}}function bI(cy){var cx=new Date();var cz=cx.getTime()+cy;if(!l||cz>l){l=cz}}function bP(cx){if(bE||!aH){return}bE=setTimeout(function cy(){bE=null;if(!aO){aO=(!x.hasFocus||x.hasFocus())}if(!aO){bP(aH);return}if(bk()){return}var cz=new Date(),cA=aH-(cz.getTime()-ch);cA=Math.min(aH,cA);bP(cA)},cx||aH)}function bd(){if(!bE){return}clearTimeout(bE);bE=null}function aL(){aO=true;if(bk()){return}bP()}function af(){bd()}function cv(){if(aq||!aH){return}aq=true;W(K,"focus",aL);W(K,"blur",af);bP()}function b0(cB){var cy=new Date();var cx=cy.getTime();ch=cx;if(bZ&&cx<bZ){var cz=bZ-cx;setTimeout(cB,cz);bI(cz+50);bZ+=50; -return}if(bZ===false){var cA=800;bZ=cx+cA}cB()}function a9(cy,cx,cz){if(!ca&&cy){b0(function(){if(cq==="POST"){cl(cy,cz)}else{bR(cy,cz)}bI(cx)})}if(!aq){cv()}else{bP()}}function bL(cx){if(ca){return false}return(cx&&cx.length)}function cu(cz,cx){if(!bL(cz)){return}var cy='{"requests":["?'+cz.join('","?')+'"]}';b0(function(){cl(cy,null,false);bI(cx)})}function aw(cx){return aS+cx+"."+by+"."+aW}function bx(){if(aT){return"0"}if(!A(f.cookieEnabled)){var cx=aw("testcookie");ct(cx,"1");return ah(cx)==="1"?"1":"0"}return f.cookieEnabled?"1":"0"}function aQ(){aW=bz((cg||ce)+(aX||"/")).slice(0,4)}function bp(){var cy=aw("cvar"),cx=ah(cy);if(cx.length){cx=JSON2.parse(cx);if(N(cx)){return cx}}return{}}function b1(){if(at===false){at=bp()}}function cb(){return bz((f.userAgent||"")+(f.platform||"")+JSON2.stringify(co)+(new Date()).getTime()+Math.random()).slice(0,16)}function b8(){var cz=new Date(),cx=Math.round(cz.getTime()/1000),cy=aw("id"),cC=ah(cy),cB,cA;if(cC){cB=cC.split(".");cB.unshift("0"); -if(bh.length){cB[1]=bh}return cB}if(bh.length){cA=bh}else{if("0"===bx()){cA=""}else{cA=cb()}}cB=["1",cA,cx,0,cx,"",""];return cB}function aA(){var cE=b8(),cA=cE[0],cB=cE[1],cy=cE[2],cx=cE[3],cC=cE[4],cz=cE[5];if(!A(cE[6])){cE[6]=""}var cD=cE[6];return{newVisitor:cA,uuid:cB,createTs:cy,visitCount:cx,currentVisitTs:cC,lastVisitTs:cz,lastEcommerceOrderTs:cD}}function al(){var cA=new Date(),cy=cA.getTime(),cB=aA().createTs;var cx=parseInt(cB,10);var cz=(cx*1000)+b6-cy;return cz}function ao(cx){if(!by){return}var cz=new Date(),cy=Math.round(cz.getTime()/1000);if(!A(cx)){cx=aA()}var cA=cx.uuid+"."+cx.createTs+"."+cx.visitCount+"."+cy+"."+cx.lastVisitTs+"."+cx.lastEcommerceOrderTs;ct(aw("id"),cA,al(),aX,cg)}function bf(){var cx=ah(aw("ref"));if(cx.length){try{cx=JSON2.parse(cx);if(N(cx)){return cx}}catch(cy){}}return["","",0,""]}function bq(cz,cy,cx){ct(cz,"",-86400,cy,cx)}function a2(cy){var cx="testvalue";ct("test",cx,10000,null,cy);if(ah("test")===cx){bq("test",null,cy);return true}return false -}function aj(){var cz=aT;aT=false;var cx=["id","ses","cvar","ref"];var cy,cA;for(cy=0;cy<cx.length;cy++){cA=aw(cx[cy]);if(0!==ah(cA)){bq(cA,aX,cg)}}aT=cz}function bv(cx){by=cx;ao()}function cw(cB){if(!cB||!N(cB)){return}var cA=[];var cz;for(cz in cB){if(Object.prototype.hasOwnProperty.call(cB,cz)){cA.push(cz)}}var cC={};cA.sort();var cx=cA.length;var cy;for(cy=0;cy<cx;cy++){cC[cA[cy]]=cB[cA[cy]]}return cC}function bF(){ct(aw("ses"),"*",bQ,aX,cg)}function bT(cz,cU,cV,cA){var cT,cy=new Date(),cH=Math.round(cy.getTime()/1000),cE,cS,cB=1024,c0,cI,cQ=at,cC=aw("ses"),cO=aw("ref"),cL=aw("cvar"),cM=ah(cC),cR=bf(),cX=aG||bg,cF,cx;if(aT){aj()}if(ca){return""}var cN=aA();if(!A(cA)){cA=""}var cK=x.characterSet||x.charset;if(!cK||cK.toLowerCase()==="utf-8"){cK=null}cF=cR[0];cx=cR[1];cE=cR[2];cS=cR[3];if(!cM){var cW=bQ/1000;if(!cN.lastVisitTs||(cH-cN.lastVisitTs)>cW){cN.visitCount++;cN.lastVisitTs=cN.currentVisitTs}if(!a1||!cF.length){for(cT in bS){if(Object.prototype.hasOwnProperty.call(bS,cT)){cF=M(cX,bS[cT]); -if(cF.length){break}}}for(cT in ba){if(Object.prototype.hasOwnProperty.call(ba,cT)){cx=M(cX,ba[cT]);if(cx.length){break}}}}c0=c(aV);cI=cS.length?c(cS):"";if(c0.length&&!ay(c0)&&(!a1||!cI.length||ay(cI))){cS=aV}if(cS.length||cF.length){cE=cH;cR=[cF,cx,cE,bu(cS.slice(0,cB))];ct(cO,JSON2.stringify(cR),cm,aX,cg)}}cz+="&idsite="+by+"&rec=1&r="+String(Math.random()).slice(2,8)+"&h="+cy.getHours()+"&m="+cy.getMinutes()+"&s="+cy.getSeconds()+"&url="+n(bu(cX))+(aV.length?"&urlref="+n(bu(aV)):"")+((a4&&a4.length)?"&uid="+n(a4):"")+"&_id="+cN.uuid+"&_idts="+cN.createTs+"&_idvc="+cN.visitCount+"&_idn="+cN.newVisitor+(cF.length?"&_rcn="+n(cF):"")+(cx.length?"&_rck="+n(cx):"")+"&_refts="+cE+"&_viewts="+cN.lastVisitTs+(String(cN.lastEcommerceOrderTs).length?"&_ects="+cN.lastEcommerceOrderTs:"")+(String(cS).length?"&_ref="+n(bu(cS.slice(0,cB))):"")+(cK?"&cs="+n(cK):"")+"&send_image=0";for(cT in co){if(Object.prototype.hasOwnProperty.call(co,cT)){cz+="&"+cT+"="+co[cT]}}var cZ=[];if(cU){for(cT in cU){if(Object.prototype.hasOwnProperty.call(cU,cT)&&/^dimension\d+$/.test(cT)){var cD=cT.replace("dimension",""); -cZ.push(parseInt(cD,10));cZ.push(String(cD));cz+="&"+cT+"="+cU[cT];delete cU[cT]}}}if(cU&&t(cU)){cU=null}for(cT in aU){if(Object.prototype.hasOwnProperty.call(aU,cT)){var cJ=(-1===cZ.indexOf(cT));if(cJ){cz+="&dimension"+cT+"="+aU[cT]}}}if(cU){cz+="&data="+n(JSON2.stringify(cU))}else{if(Y){cz+="&data="+n(JSON2.stringify(Y))}}function cG(c1,c2){var c3=JSON2.stringify(c1);if(c3.length>2){return"&"+c2+"="+n(c3)}return""}var cY=cw(bo);var cP=cw(bN);cz+=cG(cY,"cvar");cz+=cG(cP,"e_cvar");if(at){cz+=cG(at,"_cvar");for(cT in cQ){if(Object.prototype.hasOwnProperty.call(cQ,cT)){if(at[cT][0]===""||at[cT][1]===""){delete at[cT]}}}if(bj){ct(cL,JSON2.stringify(at),bQ,aX,cg)}}if(aE){if(bO){cz+=">_ms="+bO}else{if(g&&g.timing&&g.timing.requestStart&&g.timing.responseEnd){cz+=">_ms="+(g.timing.responseEnd-g.timing.requestStart)}}}cN.lastEcommerceOrderTs=A(cA)&&String(cA).length?cA:cN.lastEcommerceOrderTs;ao(cN);bF();cz+=R(cV);if(ci.length){cz+="&"+ci}if(s(bD)){cz=bD(cz)}return cz}bk=function aI(){var cx=new Date(); -if(ch+aH<=cx.getTime()){var cy=bT("ping=1",null,"ping");a9(cy,bc);return true}return false};function aY(cA,cz,cF,cB,cx,cI){var cD="idgoal=0",cE,cy=new Date(),cG=[],cH,cC=String(cA).length;if(cC){cD+="&ec_id="+n(cA);cE=Math.round(cy.getTime()/1000)}cD+="&revenue="+cz;if(String(cF).length){cD+="&ec_st="+cF}if(String(cB).length){cD+="&ec_tx="+cB}if(String(cx).length){cD+="&ec_sh="+cx}if(String(cI).length){cD+="&ec_dt="+cI}if(cj){for(cH in cj){if(Object.prototype.hasOwnProperty.call(cj,cH)){if(!A(cj[cH][1])){cj[cH][1]=""}if(!A(cj[cH][2])){cj[cH][2]=""}if(!A(cj[cH][3])||String(cj[cH][3]).length===0){cj[cH][3]=0}if(!A(cj[cH][4])||String(cj[cH][4]).length===0){cj[cH][4]=1}cG.push(cj[cH])}}cD+="&ec_items="+n(JSON2.stringify(cG))}cD=bT(cD,Y,"ecommerce",cE);a9(cD,bc);if(cC){cj={}}}function br(cx,cB,cA,cz,cy,cC){if(String(cx).length&&A(cB)){aY(cx,cB,cA,cz,cy,cC)}}function aZ(cx){if(A(cx)){aY("",cx,"","","","")}}function bs(cy,cA,cz){var cx=bT("action_name="+n(X(cy||aR)),cA,"log");a9(cx,bc,cz)}function aC(cz,cy){var cA,cx="(^| )(piwik[_-]"+cy; -if(cz){for(cA=0;cA<cz.length;cA++){cx+="|"+cz[cA]}}cx+=")( |$)";return new RegExp(cx)}function ax(cx){return(ai&&cx&&0===String(cx).indexOf(ai))}function bU(cB,cx,cC,cy){if(ax(cx)){return 0}var cA=aC(be,"download"),cz=aC(aJ,"link"),cD=new RegExp("\\.("+cn.join("|")+")([?&#]|$)","i");if(cz.test(cB)){return"link"}if(cy||cA.test(cB)||cD.test(cx)){return"download"}if(cC){return 0}return"link"}function ac(cy){var cx;cx=cy.parentNode;while(cx!==null&&A(cx)){if(S.isLinkElement(cy)){break}cy=cx;cx=cy.parentNode}return cy}function cr(cC){cC=ac(cC);if(!S.hasNodeAttribute(cC,"href")){return}if(!A(cC.href)){return}var cB=S.getAttributeValueFromNode(cC,"href");if(ax(cB)){return}var cy=cC.pathname||bM(cC.href);var cD=cC.hostname||c(cC.href);var cE=cD.toLowerCase();var cz=cC.href.replace(cD,cE);var cA=new RegExp("^(javascript|vbscript|jscript|mocha|livescript|ecmascript|mailto|tel):","i");if(!cA.test(cz)){var cx=bU(cC.className,cz,ab(cE,cy),S.hasNodeAttribute(cC,"download"));if(cx){return{type:cx,href:cz} -}}}function ar(cx,cy,cz,cA){var cB=p.buildInteractionRequestParams(cx,cy,cz,cA);if(!cB){return}return bT(cB,null,"contentInteraction")}function b7(cz,cA,cE,cx,cy){if(!A(cz)){return}if(ax(cz)){return cz}var cC=p.toAbsoluteUrl(cz);var cB="redirecturl="+n(cC)+"&";cB+=ar(cA,cE,cx,(cy||cz));var cD="&";if(ai.indexOf("?")<0){cD="?"}return ai+cD+cB}function aM(cx,cy){if(!cx||!cy){return false}var cz=p.findTargetNode(cx);if(p.shouldIgnoreInteraction(cz)){return false}cz=p.findTargetNodeNoDefault(cx);if(cz&&!L(cz,cy)){return false}return true}function bV(cz,cy,cB){if(!cz){return}var cx=p.findParentContentNode(cz);if(!cx){return}if(!aM(cx,cz)){return}var cA=p.buildContentBlock(cx);if(!cA){return}if(!cA.target&&cB){cA.target=cB}return p.buildInteractionRequestParams(cy,cA.name,cA.piece,cA.target)}function az(cy){if(!bC||!bC.length){return false}var cx,cz;for(cx=0;cx<bC.length;cx++){cz=bC[cx];if(cz&&cz.name===cy.name&&cz.piece===cy.piece&&cz.target===cy.target){return true}}return false}function a8(cA){if(!cA){return false -}var cD=p.findTargetNode(cA);if(!cD||p.shouldIgnoreInteraction(cD)){return false}var cE=cr(cD);if(cp&&cE&&cE.type){return false}if(S.isLinkElement(cD)&&S.hasNodeAttributeWithValue(cD,"href")){var cx=String(S.getAttributeValueFromNode(cD,"href"));if(0===cx.indexOf("#")){return false}if(ax(cx)){return true}if(!p.isUrlToCurrentDomain(cx)){return false}var cB=p.buildContentBlock(cA);if(!cB){return}var cz=cB.name;var cF=cB.piece;var cC=cB.target;if(!S.hasNodeAttributeWithValue(cD,p.CONTENT_TARGET_ATTR)||cD.wasContentTargetAttrReplaced){cD.wasContentTargetAttrReplaced=true;cC=p.toAbsoluteUrl(cx);S.setAnyAttribute(cD,p.CONTENT_TARGET_ATTR,cC)}var cy=b7(cx,"click",cz,cF,cC);p.setHrefAttribute(cD,cy);return true}return false}function ap(cy){if(!cy||!cy.length){return}var cx;for(cx=0;cx<cy.length;cx++){a8(cy[cx])}}function aB(cx){return function(cy){if(!cx){return}var cB=p.findParentContentNode(cx);var cC;if(cy){cC=cy.target||cy.srcElement}if(!cC){cC=cx}if(!aM(cB,cC)){return}bI(bc);if(S.isLinkElement(cx)&&S.hasNodeAttributeWithValue(cx,"href")&&S.hasNodeAttributeWithValue(cx,p.CONTENT_TARGET_ATTR)){var cz=S.getAttributeValueFromNode(cx,"href"); -if(!ax(cz)&&cx.wasContentTargetAttrReplaced){S.setAnyAttribute(cx,p.CONTENT_TARGET_ATTR,"")}}var cG=cr(cx);if(Z&&cG&&cG.type){return cG.type}if(a8(cB)){return"href"}var cD=p.buildContentBlock(cB);if(!cD){return}var cA=cD.name;var cH=cD.piece;var cF=cD.target;var cE=ar("click",cA,cH,cF);a9(cE,bc);return cE}}function bt(cz){if(!cz||!cz.length){return}var cx,cy;for(cx=0;cx<cz.length;cx++){cy=p.findTargetNode(cz[cx]);if(cy&&!cy.contentInteractionTrackingSetupDone){cy.contentInteractionTrackingSetupDone=true;W(cy,"click",aB(cy))}}}function a3(cz,cA){if(!cz||!cz.length){return[]}var cx,cy;for(cx=0;cx<cz.length;cx++){if(az(cz[cx])){cz.splice(cx,1);cx--}else{bC.push(cz[cx])}}if(!cz||!cz.length){return[]}ap(cA);bt(cA);var cB=[];for(cx=0;cx<cz.length;cx++){cy=bT(p.buildImpressionRequestParams(cz[cx].name,cz[cx].piece,cz[cx].target),undefined,"contentImpressions");if(cy){cB.push(cy)}}return cB}function bY(cy){var cx=p.collectContent(cy);return a3(cx,cy)}function aK(cy){if(!cy||!cy.length){return[] -}var cx;for(cx=0;cx<cy.length;cx++){if(!p.isNodeVisible(cy[cx])){cy.splice(cx,1);cx--}}if(!cy||!cy.length){return[]}return bY(cy)}function ak(cz,cx,cy){var cA=p.buildImpressionRequestParams(cz,cx,cy);return bT(cA,null,"contentImpression")}function cs(cA,cy){if(!cA){return}var cx=p.findParentContentNode(cA);var cz=p.buildContentBlock(cx);if(!cz){return}if(!cy){cy="Unknown"}return ar(cy,cz.name,cz.piece,cz.target)}function b9(cy,cA,cx,cz){return"e_c="+n(cy)+"&e_a="+n(cA)+(A(cx)?"&e_n="+n(cx):"")+(A(cz)?"&e_v="+n(cz):"")}function ad(cz,cB,cx,cA,cC){if(String(cz).length===0||String(cB).length===0){return false}var cy=bT(b9(cz,cB,cx,cA),cC,"event");a9(cy,bc)}function bB(cx,cA,cy,cB){var cz=bT("search="+n(cx)+(cA?"&search_cat="+n(cA):"")+(A(cy)?"&search_count="+cy:""),cB,"sitesearch");a9(cz,bc)}function cd(cx,cA,cz){var cy=bT("idgoal="+cx+(cA?"&revenue="+cA:""),cz,"goal");a9(cy,bc)}function ck(cA,cx,cE,cD,cz){var cC=cx+"="+n(bu(cA));var cy=bV(cz,"click",cA);if(cy){cC+="&"+cy}var cB=bT(cC,cE,"link"); -a9(cB,(cD?0:bc),cD)}function bl(cy,cx){if(cy!==""){return cy+cx.charAt(0).toUpperCase()+cx.slice(1)}return cx}function bJ(cC){var cB,cx,cA=["","webkit","ms","moz"],cz;if(!aP){for(cx=0;cx<cA.length;cx++){cz=cA[cx];if(Object.prototype.hasOwnProperty.call(x,bl(cz,"hidden"))){if(x[bl(cz,"visibilityState")]==="prerender"){cB=true}break}}}if(cB){W(x,cz+"visibilitychange",function cy(){x.removeEventListener(cz+"visibilitychange",cy,false);cC()});return}cC()}function an(cx){if(x.readyState==="complete"){cx()}else{if(K.addEventListener){K.addEventListener("load",cx)}else{if(K.attachEvent){K.attachEvent("onload",cx)}}}}function aN(cA){var cx=false;if(x.attachEvent){cx=x.readyState==="complete"}else{cx=x.readyState!=="loading"}if(cx){cA();return}var cz;if(x.addEventListener){W(x,"DOMContentLoaded",function cy(){x.removeEventListener("DOMContentLoaded",cy,false);if(!cx){cx=true;cA()}})}else{if(x.attachEvent){x.attachEvent("onreadystatechange",function cy(){if(x.readyState==="complete"){x.detachEvent("onreadystatechange",cy); -if(!cx){cx=true;cA()}}});if(x.documentElement.doScroll&&K===K.top){(function cy(){if(!cx){try{x.documentElement.doScroll("left")}catch(cB){setTimeout(cy,0);return}cx=true;cA()}}())}}}W(K,"load",function(){if(!cx){cx=true;cA()}},false)}function b4(cx){var cy=cr(cx);if(cy&&cy.type){cy.href=k(cy.href);ck(cy.href,cy.type,undefined,null,cx)}}function bX(){return x.all&&!x.addEventListener}function cf(cx){var cz=cx.which;var cy=(typeof cx.button);if(!cz&&cy!=="undefined"){if(bX()){if(cx.button&1){cz=1}else{if(cx.button&2){cz=3}else{if(cx.button&4){cz=2}}}}else{if(cx.button===0||cx.button==="0"){cz=1}else{if(cx.button&1){cz=2}else{if(cx.button&2){cz=3}}}}}return cz}function bm(cx){switch(cf(cx)){case 1:return"left";case 2:return"middle";case 3:return"right"}}function aD(cx){return cx.target||cx.srcElement}function ag(cx){return function(cA){cA=cA||K.event;var cz=bm(cA);var cB=aD(cA);if(cA.type==="click"){var cy=false;if(cx&&cz==="middle"){cy=true}if(cB&&!cy){b4(cB)}}else{if(cA.type==="mousedown"){if(cz==="middle"&&cB){au=cz; -a6=cB}else{au=a6=null}}else{if(cA.type==="mouseup"){if(cz===au&&cB===a6){b4(cB)}au=a6=null}else{if(cA.type==="contextmenu"){b4(cB)}}}}}}function aa(cy,cx){W(cy,"click",ag(cx),false);if(cx){W(cy,"mouseup",ag(cx),false);W(cy,"mousedown",ag(cx),false);W(cy,"contextmenu",ag(cx),false)}}function a7(cy){if(!Z){Z=true;var cz,cx=aC(a5,"ignore"),cA=x.links;if(cA){for(cz=0;cz<cA.length;cz++){if(!cx.test(cA[cz].className)){aa(cA[cz],cy)}}}}}function av(cz,cB,cC){if(bH){return true}bH=true;var cD=false;var cA,cy;function cx(){cD=true}an(function(){function cE(cG){setTimeout(function(){if(!bH){return}cD=false;cC.trackVisibleContentImpressions();cE(cG)},cG)}function cF(cG){setTimeout(function(){if(!bH){return}if(cD){cD=false;cC.trackVisibleContentImpressions()}cF(cG)},cG)}if(cz){cA=["scroll","resize"];for(cy=0;cy<cA.length;cy++){if(x.addEventListener){x.addEventListener(cA[cy],cx)}else{K.attachEvent("on"+cA[cy],cx)}}cF(100)}if(cB&&cB>0){cB=parseInt(cB,10);cE(cB)}})}function b2(){var cz,cB,cC={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"},cy=K.devicePixelRatio||1; -if(!((new RegExp("MSIE")).test(f.userAgent))){if(f.mimeTypes&&f.mimeTypes.length){for(cz in cC){if(Object.prototype.hasOwnProperty.call(cC,cz)){cB=f.mimeTypes[cC[cz]];co[cz]=(cB&&cB.enabledPlugin)?"1":"0"}}}if(typeof navigator.javaEnabled!=="unknown"&&A(f.javaEnabled)&&f.javaEnabled()){co.java="1"}if(s(K.GearsFactory)){co.gears="1"}co.cookie=bx()}var cA=parseInt(O.width,10)*cy;var cx=parseInt(O.height,10)*cy;co.res=parseInt(cA,10)+"x"+parseInt(cx,10)}b2();aQ();ao();return{getVisitorId:function(){return aA().uuid},getVisitorInfo:function(){return b8()},getAttributionInfo:function(){return bf()},getAttributionCampaignName:function(){return bf()[0]},getAttributionCampaignKeyword:function(){return bf()[1]},getAttributionReferrerTimestamp:function(){return bf()[2]},getAttributionReferrerUrl:function(){return bf()[3]},setTrackerUrl:function(cx){ai=cx},getTrackerUrl:function(){return ai},addTracker:function(cx,cz){if(!cz){throw new Error("A siteId must be given to add a new tracker")}if(!A(cx)||null===cx){cx=this.getTrackerUrl() -}var cy=new H(cx,cz);z.push(cy);return cy},getSiteId:function(){return by},setSiteId:function(cx){bv(cx)},setUserId:function(cx){if(!A(cx)||!cx.length){return}a4=cx;bh=bz(a4).substr(0,16)},getUserId:function(){return a4},setCustomData:function(cx,cy){if(N(cx)){Y=cx}else{if(!Y){Y={}}Y[cx]=cy}},getCustomData:function(){return Y},setCustomRequestProcessing:function(cx){bD=cx},appendToTrackingUrl:function(cx){ci=cx},getRequest:function(cx){return bT(cx)},addPlugin:function(cx,cy){a[cx]=cy},setCustomDimension:function(cx,cy){cx=parseInt(cx,10);if(cx>0){if(!A(cy)){cy=""}if(!q(cy)){cy=String(cy)}aU[cx]=cy}},getCustomDimension:function(cx){cx=parseInt(cx,10);if(cx>0&&Object.prototype.hasOwnProperty.call(aU,cx)){return aU[cx]}},deleteCustomDimension:function(cx){cx=parseInt(cx,10);if(cx>0){delete aU[cx]}},setCustomVariable:function(cy,cx,cB,cz){var cA;if(!A(cz)){cz="visit"}if(!A(cx)){return}if(!A(cB)){cB=""}if(cy>0){cx=!q(cx)?String(cx):cx;cB=!q(cB)?String(cB):cB;cA=[cx.slice(0,a0),cB.slice(0,a0)]; -if(cz==="visit"||cz===2){b1();at[cy]=cA}else{if(cz==="page"||cz===3){bo[cy]=cA}else{if(cz==="event"){bN[cy]=cA}}}}},getCustomVariable:function(cy,cz){var cx;if(!A(cz)){cz="visit"}if(cz==="page"||cz===3){cx=bo[cy]}else{if(cz==="event"){cx=bN[cy]}else{if(cz==="visit"||cz===2){b1();cx=at[cy]}}}if(!A(cx)||(cx&&cx[0]==="")){return false}return cx},deleteCustomVariable:function(cx,cy){if(this.getCustomVariable(cx,cy)){this.setCustomVariable(cx,"","",cy)}},storeCustomVariablesInCookie:function(){bj=true},setLinkTrackingTimer:function(cx){bc=cx},setDownloadExtensions:function(cx){if(q(cx)){cx=cx.split("|")}cn=cx},addDownloadExtensions:function(cy){var cx;if(q(cy)){cy=cy.split("|")}for(cx=0;cx<cy.length;cx++){cn.push(cy[cx])}},removeDownloadExtensions:function(cz){var cy,cx=[];if(q(cz)){cz=cz.split("|")}for(cy=0;cy<cn.length;cy++){if(D(cz,cn[cy])===-1){cx.push(cn[cy])}}cn=cx},setDomains:function(cx){ae=q(cx)?[cx]:cx;var cz=false,cy;for(cy in ae){if(Object.prototype.hasOwnProperty.call(ae,cy)&&b3(ce,C(String(ae[cy])))){cz=true -}}if(!cz){ae.push(ce)}},setIgnoreClasses:function(cx){a5=q(cx)?[cx]:cx},setRequestMethod:function(cx){cq=cx||bK},setRequestContentType:function(cx){bW=cx||am},setReferrerUrl:function(cx){aV=cx},setCustomUrl:function(cx){aG=bn(bg,cx)},setDocumentTitle:function(cx){aR=cx},setAPIUrl:function(cx){bb=cx},setDownloadClasses:function(cx){be=q(cx)?[cx]:cx},setLinkClasses:function(cx){aJ=q(cx)?[cx]:cx},setCampaignNameKey:function(cx){bS=q(cx)?[cx]:cx},setCampaignKeywordKey:function(cx){ba=q(cx)?[cx]:cx},discardHashTag:function(cx){bi=cx},setCookieNamePrefix:function(cx){aS=cx;at=bp()},setCookieDomain:function(cx){var cy=C(cx);if(a2(cy)){cg=cy;aQ()}},setCookiePath:function(cx){aX=cx;aQ()},setVisitorCookieTimeout:function(cx){b6=cx*1000},setSessionCookieTimeout:function(cx){bQ=cx*1000},setReferralCookieTimeout:function(cx){cm=cx*1000},setConversionAttributionFirstReferrer:function(cx){a1=cx},disableCookies:function(){aT=true;co.cookie="0";if(by){aj()}},deleteCookies:function(){aj()},setDoNotTrack:function(cy){var cx=f.doNotTrack||f.msDoNotTrack; -ca=cy&&(cx==="yes"||cx==="1");if(ca){this.disableCookies()}},addListener:function(cy,cx){aa(cy,cx)},enableLinkTracking:function(cx){cp=true;bJ(function(){aN(function(){a7(cx)})})},enableJSErrorTracking:function(){if(cc){return}cc=true;var cx=K.onerror;K.onerror=function(cC,cA,cz,cB,cy){bJ(function(){var cD="JavaScript Errors";var cE=cA+":"+cz;if(cB){cE+=":"+cB}ad(cD,cE,cC)});if(cx){return cx(cC,cA,cz,cB,cy)}return false}},disablePerformanceTracking:function(){aE=false},setGenerationTimeMs:function(cx){bO=parseInt(cx,10)},enableHeartBeatTimer:function(cx){cx=Math.max(cx,1);aH=(cx||15)*1000;if(ch!==null){cv()}},killFrame:function(){if(K.location!==K.top.location){K.top.location=K.location}},redirectFile:function(cx){if(K.location.protocol==="file:"){K.location=cx}},setCountPreRendered:function(cx){aP=cx},trackGoal:function(cx,cz,cy){bJ(function(){cd(cx,cz,cy)})},trackLink:function(cy,cx,cA,cz){bJ(function(){ck(cy,cx,cA,cz)})},trackPageView:function(cx,cz,cy){bC=[];if(E(by)){bJ(function(){P(ai,bb,by) -})}else{bJ(function(){bs(cx,cz,cy)})}},trackAllContentImpressions:function(){if(E(by)){return}bJ(function(){aN(function(){var cx=p.findContentNodes();var cy=bY(cx);cu(cy,bc)})})},trackVisibleContentImpressions:function(cx,cy){if(E(by)){return}if(!A(cx)){cx=true}if(!A(cy)){cy=750}av(cx,cy,this);bJ(function(){an(function(){var cz=p.findContentNodes();var cA=aK(cz);cu(cA,bc)})})},trackContentImpression:function(cz,cx,cy){if(E(by)){return}if(!cz){return}cx=cx||"Unknown";bJ(function(){var cA=ak(cz,cx,cy);a9(cA,bc)})},trackContentImpressionsWithinNode:function(cx){if(E(by)||!cx){return}bJ(function(){if(bH){an(function(){var cy=p.findContentNodesWithinNode(cx);var cz=aK(cy);cu(cz,bc)})}else{aN(function(){var cy=p.findContentNodesWithinNode(cx);var cz=bY(cy);cu(cz,bc)})}})},trackContentInteraction:function(cz,cA,cx,cy){if(E(by)){return}if(!cz||!cA){return}cx=cx||"Unknown";bJ(function(){var cB=ar(cz,cA,cx,cy);a9(cB,bc)})},trackContentInteractionNode:function(cy,cx){if(E(by)||!cy){return}bJ(function(){var cz=cs(cy,cx); -a9(cz,bc)})},logAllContentBlocksOnPage:function(){var cy=p.findContentNodes();var cx=p.collectContent(cy);if(console!==undefined&&console&&console.log){console.log(cx)}},trackEvent:function(cy,cA,cx,cz,cB){bJ(function(){ad(cy,cA,cx,cz,cB)})},trackSiteSearch:function(cx,cz,cy,cA){bJ(function(){bB(cx,cz,cy,cA)})},setEcommerceView:function(cA,cx,cz,cy){if(!A(cz)||!cz.length){cz=""}else{if(cz instanceof Array){cz=JSON2.stringify(cz)}}bo[5]=["_pkc",cz];if(A(cy)&&String(cy).length){bo[2]=["_pkp",cy]}if((!A(cA)||!cA.length)&&(!A(cx)||!cx.length)){return}if(A(cA)&&cA.length){bo[3]=["_pks",cA]}if(!A(cx)||!cx.length){cx=""}bo[4]=["_pkn",cx]},addEcommerceItem:function(cB,cx,cz,cy,cA){if(cB.length){cj[cB]=[cB,cx,cz,cy,cA]}},trackEcommerceOrder:function(cx,cB,cA,cz,cy,cC){br(cx,cB,cA,cz,cy,cC)},trackEcommerceCartUpdate:function(cx){aZ(cx)}}}function y(){return{push:T}}function b(ad,ac){var ae={};var aa,ab;for(aa=0;aa<ac.length;aa++){var Y=ac[aa];ae[Y]=1;for(ab=0;ab<ad.length;ab++){if(ad[ab]&&ad[ab][0]){var Z=ad[ab][0]; -if(Y===Z){T(ad[ab]);delete ad[ab];if(ae[Z]>1){if(console!==undefined&&console&&console.error){console.error("The method "+Z+' 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')}}ae[Z]++}}}}return ad}W(K,"beforeunload",U,false);Date.prototype.getTimeAlias=Date.prototype.getTime;z.push(new H());var u=["addTracker","disableCookies","setTrackerUrl","setAPIUrl","setCookiePath","setCookieDomain","setDomains","setUserId","setSiteId","enableLinkTracking"];_paq=b(_paq,u);for(w=0;w<_paq.length;w++){if(_paq[w]){T(_paq[w])}}_paq=new y();d={addPlugin:function(Y,Z){a[Y]=Z},getTracker:function(Y,Z){if(!A(Z)){Z=this.getAsyncTracker().getSiteId()}if(!A(Y)){Y=this.getAsyncTracker().getTrackerUrl()}return new H(Y,Z)},getAsyncTracker:function(Z,ac){var ab;if(z&&z[0]){ab=z[0]}if(!ac&&!Z){return ab}if((!A(ac)||null===ac)&&ab){ac=ab.getSiteId() -}if((!A(Z)||null===Z)&&ab){Z=ab.getTrackerUrl()}var aa,Y=0;for(Y;Y<z.length;Y++){aa=z[Y];if(aa&&String(aa.getSiteId())===String(ac)&&aa.getTrackerUrl()===Z){return aa}}}};if(typeof define==="function"&&define.amd){define("piwik",[],function(){return d})}return d}())}if(window&&window.piwikAsyncInit){window.piwikAsyncInit()}(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 k(Z){try{return J(Z)}catch(aa){return unescape(Z)}}function A(aa){var Z=typeof aa;return Z!=="undefined"}function s(Z){return typeof Z==="function"}function N(Z){return typeof Z==="object"}function q(Z){return typeof Z==="string"||Z instanceof String}function t(aa){if(!aa){return true}var Z;var ab=true;for(Z in aa){if(Object.prototype.hasOwnProperty.call(aa,Z)){ab=false}}return ab}function V(Z){if(console!==undefined&&console&&console.error){console.error(Z)}}function T(){var aa,Z,ad,ac;for(aa=0;aa<arguments.length;aa+=1){ac=arguments[aa];ad=ac.shift();for(Z=0;Z<z.length;Z++){if(q(ad)){if(z[Z][ad]){z[Z][ad].apply(z[Z],ac)}else{var ab="The method '"+ad+'\' was not found in "_paq" variable. Please have a look at the Piwik tracker documentation: http://developer.piwik.org/api-reference/tracking-javascript';V(ab);throw new TypeError(ab)}if(ad==="addTracker"){break}if(ad==="setTrackerUrl"||ad==="setSiteId"){break}}else{ad.apply(z[Z],ac)}}}}function X(ac,ab,aa,Z){if(ac.addEventListener){ac.addEventListener(ab,aa,Z); +return true}if(ac.attachEvent){return ac.attachEvent("on"+ab,aa)}ac["on"+ab]=aa}function R(aa,ae){var Z="",ac,ab,ad;for(ac in a){if(Object.prototype.hasOwnProperty.call(a,ac)){ab=a[ac][aa];if(s(ab)){ad=ab(ae);if(ad){Z+=ad}}}}return Z}function U(){var Z;R("unload");if(l){do{Z=new Date()}while(Z.getTimeAlias()<l)}}function j(ab,aa){var Z=x.createElement("script");Z.type="text/javascript";Z.src=ab;if(Z.readyState){Z.onreadystatechange=function(){var ac=this.readyState;if(ac==="loaded"||ac==="complete"){Z.onreadystatechange=null;aa()}}}else{Z.onload=aa}x.getElementsByTagName("head")[0].appendChild(Z)}function B(){var Z="";try{Z=K.top.document.referrer}catch(ab){if(K.parent){try{Z=K.parent.document.referrer}catch(aa){Z=""}}}if(Z===""){Z=x.referrer}return Z}function m(Z){var ab=new RegExp("^([a-z]+):"),aa=ab.exec(Z);return aa?aa[1]:null}function c(Z){var ab=new RegExp("^(?:(?:https?|ftp):)/*(?:[^@]+@)?([^:/#]+)"),aa=ab.exec(Z);return aa?aa[1]:Z}function M(ab,aa){var Z="[\\?&#]"+aa+"=([^&#]*)"; +var ad=new RegExp(Z);var ac=ad.exec(ab);return ac?J(ac[1]):""}function v(Z){return unescape(n(Z))}function W(ao){var ab=function(av,au){return(av<<au)|(av>>>(32-au))},ap=function(ax){var av="",aw,au;for(aw=7;aw>=0;aw--){au=(ax>>>(aw*4))&15;av+=au.toString(16)}return av},ae,ar,aq,aa=[],ai=1732584193,ag=4023233417,af=2562383102,ad=271733878,ac=3285377520,an,am,al,ak,aj,at,Z,ah=[];ao=v(ao);Z=ao.length;for(ar=0;ar<Z-3;ar+=4){aq=ao.charCodeAt(ar)<<24|ao.charCodeAt(ar+1)<<16|ao.charCodeAt(ar+2)<<8|ao.charCodeAt(ar+3);ah.push(aq)}switch(Z&3){case 0:ar=2147483648;break;case 1:ar=ao.charCodeAt(Z-1)<<24|8388608;break;case 2:ar=ao.charCodeAt(Z-2)<<24|ao.charCodeAt(Z-1)<<16|32768;break;case 3:ar=ao.charCodeAt(Z-3)<<24|ao.charCodeAt(Z-2)<<16|ao.charCodeAt(Z-1)<<8|128;break}ah.push(ar);while((ah.length&15)!==14){ah.push(0)}ah.push(Z>>>29);ah.push((Z<<3)&4294967295);for(ae=0;ae<ah.length;ae+=16){for(ar=0;ar<16;ar++){aa[ar]=ah[ae+ar]}for(ar=16;ar<=79;ar++){aa[ar]=ab(aa[ar-3]^aa[ar-8]^aa[ar-14]^aa[ar-16],1) +}an=ai;am=ag;al=af;ak=ad;aj=ac;for(ar=0;ar<=19;ar++){at=(ab(an,5)+((am&al)|(~am&ak))+aj+aa[ar]+1518500249)&4294967295;aj=ak;ak=al;al=ab(am,30);am=an;an=at}for(ar=20;ar<=39;ar++){at=(ab(an,5)+(am^al^ak)+aj+aa[ar]+1859775393)&4294967295;aj=ak;ak=al;al=ab(am,30);am=an;an=at}for(ar=40;ar<=59;ar++){at=(ab(an,5)+((am&al)|(am&ak)|(al&ak))+aj+aa[ar]+2400959708)&4294967295;aj=ak;ak=al;al=ab(am,30);am=an;an=at}for(ar=60;ar<=79;ar++){at=(ab(an,5)+(am^al^ak)+aj+aa[ar]+3395469782)&4294967295;aj=ak;ak=al;al=ab(am,30);am=an;an=at}ai=(ai+an)&4294967295;ag=(ag+am)&4294967295;af=(af+al)&4294967295;ad=(ad+ak)&4294967295;ac=(ac+aj)&4294967295}at=ap(ai)+ap(ag)+ap(af)+ap(ad)+ap(ac);return at.toLowerCase()}function Q(ab,Z,aa){if(!ab){ab=""}if(!Z){Z=""}if(ab==="translate.googleusercontent.com"){if(aa===""){aa=Z}Z=M(Z,"u");ab=c(Z)}else{if(ab==="cc.bingj.com"||ab==="webcache.googleusercontent.com"||ab.slice(0,5)==="74.6."){Z=x.links[0].href;ab=c(Z)}}return[ab,Z,aa]}function C(aa){var Z=aa.length;if(aa.charAt(--Z)==="."){aa=aa.slice(0,Z) +}if(aa.slice(0,2)==="*."){aa=aa.slice(1)}if(aa.indexOf("/")!==-1){aa=aa.substr(0,aa.indexOf("/"))}return aa}function Y(aa){aa=aa&&aa.text?aa.text:aa;if(!q(aa)){var Z=x.getElementsByTagName("title");if(Z&&A(Z[0])){aa=Z[0].text}}return aa}function G(Z){if(!Z){return[]}if(!A(Z.children)&&A(Z.childNodes)){return Z.children}if(A(Z.children)){return Z.children}return[]}function L(aa,Z){if(!aa||!Z){return false}if(aa.contains){return aa.contains(Z)}if(aa===Z){return true}if(aa.compareDocumentPosition){return !!(aa.compareDocumentPosition(Z)&16)}return false}function D(ab,ac){if(ab&&ab.indexOf){return ab.indexOf(ac)}if(!A(ab)||ab===null){return -1}if(!ab.length){return -1}var Z=ab.length;if(Z===0){return -1}var aa=0;while(aa<Z){if(ab[aa]===ac){return aa}aa++}return -1}function I(aa,Z){aa=String(aa);return aa.indexOf(Z,aa.length-Z.length)!==-1}function r(aa,Z){aa=String(aa);return aa.indexOf(Z)!==-1}function e(aa,Z){aa=String(aa);return aa.substr(0,aa.length-Z)}function h(ab){if(!ab){return false +}function Z(ad,ae){if(K.getComputedStyle){return x.defaultView.getComputedStyle(ad,null)[ae]}if(ad.currentStyle){return ad.currentStyle[ae]}}function ac(ad){ad=ad.parentNode;while(ad){if(ad===x){return true}ad=ad.parentNode}return false}function aa(af,al,ad,ai,ag,aj,ah){var ae=af.parentNode,ak=1;if(!ac(af)){return false}if(9===ae.nodeType){return true}if("0"===Z(af,"opacity")||"none"===Z(af,"display")||"hidden"===Z(af,"visibility")){return false}if(!A(al)||!A(ad)||!A(ai)||!A(ag)||!A(aj)||!A(ah)){al=af.offsetTop;ag=af.offsetLeft;ai=al+af.offsetHeight;ad=ag+af.offsetWidth;aj=af.offsetWidth;ah=af.offsetHeight}if(ab===af&&(0===ah||0===aj)&&"hidden"===Z(af,"overflow")){return false}if(ae){if(("hidden"===Z(ae,"overflow")||"scroll"===Z(ae,"overflow"))){if(ag+ak>ae.offsetWidth+ae.scrollLeft||ag+aj-ak<ae.scrollLeft||al+ak>ae.offsetHeight+ae.scrollTop||al+ah-ak<ae.scrollTop){return false}}if(af.offsetParent===ae){ag+=ae.offsetLeft;al+=ae.offsetTop}return aa(ae,al,ad,ai,ag,aj,ah)}return true}return aa(ab) +}var S={htmlCollectionToArray:function(ab){var Z=[],aa;if(!ab||!ab.length){return Z}for(aa=0;aa<ab.length;aa++){Z.push(ab[aa])}return Z},find:function(Z){if(!document.querySelectorAll||!Z){return[]}var aa=document.querySelectorAll(Z);return this.htmlCollectionToArray(aa)},findMultiple:function(ab){if(!ab||!ab.length){return[]}var aa,ac;var Z=[];for(aa=0;aa<ab.length;aa++){ac=this.find(ab[aa]);Z=Z.concat(ac)}Z=this.makeNodesUnique(Z);return Z},findNodesByTagName:function(aa,Z){if(!aa||!Z||!aa.getElementsByTagName){return[]}var ab=aa.getElementsByTagName(Z);return this.htmlCollectionToArray(ab)},makeNodesUnique:function(Z){var ae=[].concat(Z);Z.sort(function(ag,af){if(ag===af){return 0}var ai=D(ae,ag);var ah=D(ae,af);if(ai===ah){return 0}return ai>ah?-1:1});if(Z.length<=1){return Z}var aa=0;var ac=0;var ad=[];var ab;ab=Z[aa++];while(ab){if(ab===Z[aa]){ac=ad.push(aa)}ab=Z[aa++]||null}while(ac--){Z.splice(ad[ac],1)}return Z},getAttributeValueFromNode:function(ad,ab){if(!this.hasNodeAttribute(ad,ab)){return +}if(ad&&ad.getAttribute){return ad.getAttribute(ab)}if(!ad||!ad.attributes){return}var ac=(typeof ad.attributes[ab]);if("undefined"===ac){return}if(ad.attributes[ab].value){return ad.attributes[ab].value}if(ad.attributes[ab].nodeValue){return ad.attributes[ab].nodeValue}var aa;var Z=ad.attributes;if(!Z){return}for(aa=0;aa<Z.length;aa++){if(Z[aa].nodeName===ab){return Z[aa].nodeValue}}return null},hasNodeAttributeWithValue:function(aa,Z){var ab=this.getAttributeValueFromNode(aa,Z);return !!ab},hasNodeAttribute:function(ab,Z){if(ab&&ab.hasAttribute){return ab.hasAttribute(Z)}if(ab&&ab.attributes){var aa=(typeof ab.attributes[Z]);return"undefined"!==aa}return false},hasNodeCssClass:function(ab,Z){if(ab&&Z&&ab.className){var aa=typeof ab.className==="string"?ab.className.split(" "):[];if(-1!==D(aa,Z)){return true}}return false},findNodesHavingAttribute:function(ad,ab,Z){if(!Z){Z=[]}if(!ad||!ab){return Z}var ac=G(ad);if(!ac||!ac.length){return Z}var aa,ae;for(aa=0;aa<ac.length;aa++){ae=ac[aa]; +if(this.hasNodeAttribute(ae,ab)){Z.push(ae)}Z=this.findNodesHavingAttribute(ae,ab,Z)}return Z},findFirstNodeHavingAttribute:function(ab,aa){if(!ab||!aa){return}if(this.hasNodeAttribute(ab,aa)){return ab}var Z=this.findNodesHavingAttribute(ab,aa);if(Z&&Z.length){return Z[0]}},findFirstNodeHavingAttributeWithValue:function(ac,ab){if(!ac||!ab){return}if(this.hasNodeAttributeWithValue(ac,ab)){return ac}var Z=this.findNodesHavingAttribute(ac,ab);if(!Z||!Z.length){return}var aa;for(aa=0;aa<Z.length;aa++){if(this.getAttributeValueFromNode(Z[aa],ab)){return Z[aa]}}},findNodesHavingCssClass:function(ad,ac,Z){if(!Z){Z=[]}if(!ad||!ac){return Z}if(ad.getElementsByClassName){var ae=ad.getElementsByClassName(ac);return this.htmlCollectionToArray(ae)}var ab=G(ad);if(!ab||!ab.length){return[]}var aa,af;for(aa=0;aa<ab.length;aa++){af=ab[aa];if(this.hasNodeCssClass(af,ac)){Z.push(af)}Z=this.findNodesHavingCssClass(af,ac,Z)}return Z},findFirstNodeHavingClass:function(ab,aa){if(!ab||!aa){return}if(this.hasNodeCssClass(ab,aa)){return ab +}var Z=this.findNodesHavingCssClass(ab,aa);if(Z&&Z.length){return Z[0]}},isLinkElement:function(aa){if(!aa){return false}var Z=String(aa.nodeName).toLowerCase();var ac=["a","area"];var ab=D(ac,Z);return ab!==-1},setAnyAttribute:function(aa,Z,ab){if(!aa||!Z){return}if(aa.setAttribute){aa.setAttribute(Z,ab)}else{aa[Z]=ab}}};var p={CONTENT_ATTR:"data-track-content",CONTENT_CLASS:"piwikTrackContent",CONTENT_NAME_ATTR:"data-content-name",CONTENT_PIECE_ATTR:"data-content-piece",CONTENT_PIECE_CLASS:"piwikContentPiece",CONTENT_TARGET_ATTR:"data-content-target",CONTENT_TARGET_CLASS:"piwikContentTarget",CONTENT_IGNOREINTERACTION_ATTR:"data-content-ignoreinteraction",CONTENT_IGNOREINTERACTION_CLASS:"piwikContentIgnoreInteraction",location:undefined,findContentNodes:function(){var aa="."+this.CONTENT_CLASS;var Z="["+this.CONTENT_ATTR+"]";var ab=S.findMultiple([aa,Z]);return ab},findContentNodesWithinNode:function(ac){if(!ac){return[]}var aa=S.findNodesHavingCssClass(ac,this.CONTENT_CLASS);var Z=S.findNodesHavingAttribute(ac,this.CONTENT_ATTR); +if(Z&&Z.length){var ab;for(ab=0;ab<Z.length;ab++){aa.push(Z[ab])}}if(S.hasNodeAttribute(ac,this.CONTENT_ATTR)){aa.push(ac)}else{if(S.hasNodeCssClass(ac,this.CONTENT_CLASS)){aa.push(ac)}}aa=S.makeNodesUnique(aa);return aa},findParentContentNode:function(aa){if(!aa){return}var ab=aa;var Z=0;while(ab&&ab!==x&&ab.parentNode){if(S.hasNodeAttribute(ab,this.CONTENT_ATTR)){return ab}if(S.hasNodeCssClass(ab,this.CONTENT_CLASS)){return ab}ab=ab.parentNode;if(Z>1000){break}Z++}},findPieceNode:function(aa){var Z;Z=S.findFirstNodeHavingAttribute(aa,this.CONTENT_PIECE_ATTR);if(!Z){Z=S.findFirstNodeHavingClass(aa,this.CONTENT_PIECE_CLASS)}if(Z){return Z}return aa},findTargetNodeNoDefault:function(Z){if(!Z){return}var aa=S.findFirstNodeHavingAttributeWithValue(Z,this.CONTENT_TARGET_ATTR);if(aa){return aa}aa=S.findFirstNodeHavingAttribute(Z,this.CONTENT_TARGET_ATTR);if(aa){return aa}aa=S.findFirstNodeHavingClass(Z,this.CONTENT_TARGET_CLASS);if(aa){return aa}},findTargetNode:function(Z){var aa=this.findTargetNodeNoDefault(Z); +if(aa){return aa}return Z},findContentName:function(aa){if(!aa){return}var ad=S.findFirstNodeHavingAttributeWithValue(aa,this.CONTENT_NAME_ATTR);if(ad){return S.getAttributeValueFromNode(ad,this.CONTENT_NAME_ATTR)}var Z=this.findContentPiece(aa);if(Z){return this.removeDomainIfIsInLink(Z)}if(S.hasNodeAttributeWithValue(aa,"title")){return S.getAttributeValueFromNode(aa,"title")}var ab=this.findPieceNode(aa);if(S.hasNodeAttributeWithValue(ab,"title")){return S.getAttributeValueFromNode(ab,"title")}var ac=this.findTargetNode(aa);if(S.hasNodeAttributeWithValue(ac,"title")){return S.getAttributeValueFromNode(ac,"title")}},findContentPiece:function(aa){if(!aa){return}var ac=S.findFirstNodeHavingAttributeWithValue(aa,this.CONTENT_PIECE_ATTR);if(ac){return S.getAttributeValueFromNode(ac,this.CONTENT_PIECE_ATTR)}var Z=this.findPieceNode(aa);var ab=this.findMediaUrlInNode(Z);if(ab){return this.toAbsoluteUrl(ab)}},findContentTarget:function(ab){if(!ab){return}var ac=this.findTargetNode(ab);if(S.hasNodeAttributeWithValue(ac,this.CONTENT_TARGET_ATTR)){return S.getAttributeValueFromNode(ac,this.CONTENT_TARGET_ATTR) +}var aa;if(S.hasNodeAttributeWithValue(ac,"href")){aa=S.getAttributeValueFromNode(ac,"href");return this.toAbsoluteUrl(aa)}var Z=this.findPieceNode(ab);if(S.hasNodeAttributeWithValue(Z,"href")){aa=S.getAttributeValueFromNode(Z,"href");return this.toAbsoluteUrl(aa)}},isSameDomain:function(Z){if(!Z||!Z.indexOf){return false}if(0===Z.indexOf(this.getLocation().origin)){return true}var aa=Z.indexOf(this.getLocation().host);if(8>=aa&&0<=aa){return true}return false},removeDomainIfIsInLink:function(ab){var aa="^https?://[^/]+";var Z="^.*//[^/]+";if(ab&&ab.search&&-1!==ab.search(new RegExp(aa))&&this.isSameDomain(ab)){ab=ab.replace(new RegExp(Z),"");if(!ab){ab="/"}}return ab},findMediaUrlInNode:function(ad){if(!ad){return}var ab=["img","embed","video","audio"];var Z=ad.nodeName.toLowerCase();if(-1!==D(ab,Z)&&S.findFirstNodeHavingAttributeWithValue(ad,"src")){var ac=S.findFirstNodeHavingAttributeWithValue(ad,"src");return S.getAttributeValueFromNode(ac,"src")}if(Z==="object"&&S.hasNodeAttributeWithValue(ad,"data")){return S.getAttributeValueFromNode(ad,"data") +}if(Z==="object"){var ae=S.findNodesByTagName(ad,"param");if(ae&&ae.length){var aa;for(aa=0;aa<ae.length;aa++){if("movie"===S.getAttributeValueFromNode(ae[aa],"name")&&S.hasNodeAttributeWithValue(ae[aa],"value")){return S.getAttributeValueFromNode(ae[aa],"value")}}}var af=S.findNodesByTagName(ad,"embed");if(af&&af.length){return this.findMediaUrlInNode(af[0])}}},trim:function(Z){if(Z&&String(Z)===Z){return Z.replace(/^\s+|\s+$/g,"")}return Z},isOrWasNodeInViewport:function(ae){if(!ae||!ae.getBoundingClientRect||ae.nodeType!==1){return true}var ad=ae.getBoundingClientRect();var ac=x.documentElement||{};var ab=ad.top<0;if(ab&&ae.offsetTop){ab=(ae.offsetTop+ad.height)>0}var aa=ac.clientWidth;if(K.innerWidth&&aa>K.innerWidth){aa=K.innerWidth}var Z=ac.clientHeight;if(K.innerHeight&&Z>K.innerHeight){Z=K.innerHeight}return((ad.bottom>0||ab)&&ad.right>0&&ad.left<aa&&((ad.top<Z)||ab))},isNodeVisible:function(aa){var Z=h(aa);var ab=this.isOrWasNodeInViewport(aa);return Z&&ab},buildInteractionRequestParams:function(Z,aa,ab,ac){var ad=""; +if(Z){ad+="c_i="+n(Z)}if(aa){if(ad){ad+="&"}ad+="c_n="+n(aa)}if(ab){if(ad){ad+="&"}ad+="c_p="+n(ab)}if(ac){if(ad){ad+="&"}ad+="c_t="+n(ac)}return ad},buildImpressionRequestParams:function(Z,aa,ab){var ac="c_n="+n(Z)+"&c_p="+n(aa);if(ab){ac+="&c_t="+n(ab)}return ac},buildContentBlock:function(ab){if(!ab){return}var Z=this.findContentName(ab);var aa=this.findContentPiece(ab);var ac=this.findContentTarget(ab);Z=this.trim(Z);aa=this.trim(aa);ac=this.trim(ac);return{name:Z||"Unknown",piece:aa||"Unknown",target:ac||""}},collectContent:function(ac){if(!ac||!ac.length){return[]}var ab=[];var Z,aa;for(Z=0;Z<ac.length;Z++){aa=this.buildContentBlock(ac[Z]);if(A(aa)){ab.push(aa)}}return ab},setLocation:function(Z){this.location=Z},getLocation:function(){var Z=this.location||K.location;if(!Z.origin){Z.origin=Z.protocol+"//"+Z.hostname+(Z.port?":"+Z.port:"")}return Z},toAbsoluteUrl:function(aa){if((!aa||String(aa)!==aa)&&aa!==""){return aa}if(""===aa){return this.getLocation().href}if(aa.search(/^\/\//)!==-1){return this.getLocation().protocol+aa +}if(aa.search(/:\/\//)!==-1){return aa}if(0===aa.indexOf("#")){return this.getLocation().origin+this.getLocation().pathname+aa}if(0===aa.indexOf("?")){return this.getLocation().origin+this.getLocation().pathname+aa}if(0===aa.search("^[a-zA-Z]{2,11}:")){return aa}if(aa.search(/^\//)!==-1){return this.getLocation().origin+aa}var Z="(.*/)";var ab=this.getLocation().origin+this.getLocation().pathname.match(new RegExp(Z))[0];return ab+aa},isUrlToCurrentDomain:function(aa){var ab=this.toAbsoluteUrl(aa);if(!ab){return false}var Z=this.getLocation().origin;if(Z===ab){return true}if(0===String(ab).indexOf(Z)){if(":"===String(ab).substr(Z.length,1)){return false}return true}return false},setHrefAttribute:function(aa,Z){if(!aa||!Z){return}S.setAnyAttribute(aa,"href",Z)},shouldIgnoreInteraction:function(ab){var aa=S.hasNodeAttribute(ab,this.CONTENT_IGNOREINTERACTION_ATTR);var Z=S.hasNodeCssClass(ab,this.CONTENT_IGNOREINTERACTION_CLASS);return aa||Z}};function F(aa,ad){if(ad){return ad}if(r(aa,"?")){var ac=aa.indexOf("?"); +aa=aa.slice(0,ac)}if(I(aa,"piwik.php")){aa=e(aa,"piwik.php".length)}else{if(I(aa,".php")){var Z=aa.lastIndexOf("/");var ab=1;aa=aa.slice(0,Z+ab)}}if(I(aa,"/js/")){aa=e(aa,"js/".length)}return aa}function E(af){var ah="Piwik_Overlay";var aa=new RegExp("index\\.php\\?module=Overlay&action=startOverlaySession&idSite=([0-9]+)&period=([^&]+)&date=([^&]+)(&segment=.*)?$");var ab=aa.exec(x.referrer);if(ab){var ad=ab[1];if(ad!==String(af)){return false}var ae=ab[2],Z=ab[3],ac=ab[4];if(!ac){ac=""}else{if(ac.indexOf("&segment=")===0){ac=ac.substr("&segment=".length)}}K.name=ah+"###"+ae+"###"+Z+"###"+ac}var ag=K.name.split("###");return ag.length===4&&ag[0]===ah}function P(aa,ag,ac){var af=K.name.split("###"),ae=af[1],Z=af[2],ad=af[3],ab=F(aa,ag);j(ab+"plugins/Overlay/client/client.js?v=1",function(){Piwik_Overlay_Client.initialize(ab,ac,ae,Z,ad)})}function o(){if(A(K.frameElement)){return(K.frameElement&&String(K.frameElement.nodeName).toLowerCase()==="iframe")}try{return K.self!==K.top}catch(Z){return true +}}function H(bH,bB){var bx=Q(x.domain,K.location.href,B()),cf=C(bx[0]),bh=k(bx[1]),aW=k(bx[2]),cd=false,bL="GET",cr=bL,an="application/x-www-form-urlencoded; charset=UTF-8",bX=an,aj=bH||"",bc="",cj="",bz=bB||"",a5="",bi="",aH,aS=x.title,co=["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"],af=[cf],a6=[],bf=[],aK=[],bd=500,b6,aI,bl,bj,Z,bT=["pk_campaign","piwik_campaign","utm_campaign","utm_source","utm_medium"],bb=["pk_kwd","piwik_kwd","utm_term"],aT="_pk_",ch,aY,aU=false,cb,aQ,a2,b7=33955200000,bR=1800000,cn=15768000000,aF=true,bP=0,bk=false,au=false,bE,bp={},bO={},aV={},a1=200,ck={},cp={},bD=[],bI=false,b0=false,aa=false,cq=false,ar=false,aP=o(),ci=null,bF,av,a7,bA=W,aX; +function cu(cE,cB,cA,cD,cz,cC){if(aU){return}var cy;if(cA){cy=new Date();cy.setTime(cy.getTime()+cA)}x.cookie=cE+"="+n(cB)+(cA?";expires="+cy.toGMTString():"")+";path="+(cD||"/")+(cz?";domain="+cz:"")+(cC?";secure":"")}function ai(cA){if(aU){return 0}var cy=new RegExp("(^|;)[ ]*"+cA+"=([^;]*)"),cz=cy.exec(x.cookie);return cz?J(cz[2]):0}function bv(cy){var cz;if(bj){cz=new RegExp("#.*");return cy.replace(cz,"")}return cy}function bo(cA,cy){var cB=m(cy),cz;if(cB){return cy}if(cy.slice(0,1)==="/"){return m(cA)+"://"+c(cA)+cy}cA=bv(cA);cz=cA.indexOf("?");if(cz>=0){cA=cA.slice(0,cz)}cz=cA.lastIndexOf("/");if(cz!==cA.length-1){cA=cA.slice(0,cz+1)}return cA+cy}function b4(cA,cy){var cz;cA=String(cA).toLowerCase();cy=String(cy).toLowerCase();if(cA===cy){return true}if(cy.slice(0,1)==="."){if(cA===cy.slice(1)){return true}cz=cA.length-cy.length;if((cz>0)&&(cA.slice(cz)===cy)){return true}}return false}function bN(cy){var cz=document.createElement("a");if(cy.indexOf("//")!==0&&cy.indexOf("http")!==0){cy="http://"+cy +}cz.href=p.toAbsoluteUrl(cy);if(cz.pathname){return cz.pathname}return""}function aG(cz,cy){var cA=(!cy||cy==="/"||cy==="/*");if(cA){return true}if(cz===cy){return true}if(!cz){return false}cy=String(cy).toLowerCase();cz=String(cz).toLowerCase();if(I(cy,"*")){cy=cy.slice(0,-1);cA=(!cy||cy==="/");if(cA){return true}if(cz===cy){return true}return cz.indexOf(cy)===0}if(!I(cz,"/")){cz+="/"}if(!I(cy,"/")){cy+="/"}return cz.indexOf(cy)===0}function ac(cC,cE){var cz,cy,cA,cB,cD;for(cz=0;cz<af.length;cz++){cB=C(af[cz]);cD=bN(af[cz]);if(b4(cC,cB)&&aG(cE,cD)){return true}}return false}function az(cB){var cz,cy,cA;for(cz=0;cz<af.length;cz++){cy=C(af[cz].toLowerCase());if(cB===cy){return true}if(cy.slice(0,1)==="."){if(cB===cy.slice(1)){return true}cA=cB.length-cy.length;if((cA>0)&&(cB.slice(cA)===cy)){return true}}}return false}function bS(cy,cA){var cz=new Image(1,1);cz.onload=function(){w=0;if(typeof cA==="function"){cA()}};cy=cy.replace("send_image=0","send_image=1");cz.src=aj+(aj.indexOf("?")<0?"?":"&")+cy +}function cm(cz,cC,cy){if(!A(cy)||null===cy){cy=true}try{var cB=K.XMLHttpRequest?new K.XMLHttpRequest():K.ActiveXObject?new ActiveXObject("Microsoft.XMLHTTP"):null;cB.open("POST",aj,true);cB.onreadystatechange=function(){if(this.readyState===4&&!(this.status>=200&&this.status<300)&&cy){bS(cz,cC)}else{if(this.readyState===4&&(typeof cC==="function")){cC()}}};cB.setRequestHeader("Content-Type",bX);cB.send(cz)}catch(cA){if(cy){bS(cz,cC)}}}function bJ(cz){var cy=new Date();var cA=cy.getTime()+cz;if(!l||cA>l){l=cA}}function bQ(cy){if(bF||!aI){return}bF=setTimeout(function cz(){bF=null;if(!aP){aP=(!x.hasFocus||x.hasFocus())}if(!aP){bQ(aI);return}if(bl()){return}var cA=new Date(),cB=aI-(cA.getTime()-ci);cB=Math.min(aI,cB);bQ(cB)},cy||aI)}function be(){if(!bF){return}clearTimeout(bF);bF=null}function aM(){aP=true;if(bl()){return}bQ()}function ag(){be()}function cw(){if(ar||!aI){return}ar=true;X(K,"focus",aM);X(K,"blur",ag);bQ()}function b1(cC){var cz=new Date();var cy=cz.getTime();ci=cy;if(b0&&cy<b0){var cA=b0-cy; +setTimeout(cC,cA);bJ(cA+50);b0+=50;return}if(b0===false){var cB=800;b0=cy+cB}cC()}function ba(cz,cy,cA){if(!cb&&cz){b1(function(){if(cr==="POST"){cm(cz,cA)}else{bS(cz,cA)}bJ(cy)})}if(!ar){cw()}else{bQ()}}function bM(cy){if(cb){return false}return(cy&&cy.length)}function cv(cA,cy){if(!bM(cA)){return}var cz='{"requests":["?'+cA.join('","?')+'"]}';b1(function(){cm(cz,null,false);bJ(cy)})}function ax(cy){return aT+cy+"."+bz+"."+aX}function by(){if(aU){return"0"}if(!A(f.cookieEnabled)){var cy=ax("testcookie");cu(cy,"1");return ai(cy)==="1"?"1":"0"}return f.cookieEnabled?"1":"0"}function aR(){aX=bA((ch||cf)+(aY||"/")).slice(0,4)}function bq(){var cz=ax("cvar"),cy=ai(cz);if(cy.length){cy=JSON2.parse(cy);if(N(cy)){return cy}}return{}}function b2(){if(au===false){au=bq()}}function cc(){return bA((f.userAgent||"")+(f.platform||"")+JSON2.stringify(cp)+(new Date()).getTime()+Math.random()).slice(0,16)}function b9(){var cA=new Date(),cy=Math.round(cA.getTime()/1000),cz=ax("id"),cD=ai(cz),cC,cB;if(cD){cC=cD.split("."); +cC.unshift("0");if(bi.length){cC[1]=bi}return cC}if(bi.length){cB=bi}else{if("0"===by()){cB=""}else{cB=cc()}}cC=["1",cB,cy,0,cy,"",""];return cC}function aB(){var cF=b9(),cB=cF[0],cC=cF[1],cz=cF[2],cy=cF[3],cD=cF[4],cA=cF[5];if(!A(cF[6])){cF[6]=""}var cE=cF[6];return{newVisitor:cB,uuid:cC,createTs:cz,visitCount:cy,currentVisitTs:cD,lastVisitTs:cA,lastEcommerceOrderTs:cE}}function am(){var cB=new Date(),cz=cB.getTime(),cC=aB().createTs;var cy=parseInt(cC,10);var cA=(cy*1000)+b7-cz;return cA}function ap(cy){if(!bz){return}var cA=new Date(),cz=Math.round(cA.getTime()/1000);if(!A(cy)){cy=aB()}var cB=cy.uuid+"."+cy.createTs+"."+cy.visitCount+"."+cz+"."+cy.lastVisitTs+"."+cy.lastEcommerceOrderTs;cu(ax("id"),cB,am(),aY,ch)}function bg(){var cy=ai(ax("ref"));if(cy.length){try{cy=JSON2.parse(cy);if(N(cy)){return cy}}catch(cz){}}return["","",0,""]}function br(cA,cz,cy){cu(cA,"",-86400,cz,cy)}function a3(cz){var cy="testvalue";cu("test",cy,10000,null,cz);if(ai("test")===cy){br("test",null,cz);return true +}return false}function ak(){var cA=aU;aU=false;var cy=["id","ses","cvar","ref"];var cz,cB;for(cz=0;cz<cy.length;cz++){cB=ax(cy[cz]);if(0!==ai(cB)){br(cB,aY,ch)}}aU=cA}function bw(cy){bz=cy;ap()}function cx(cC){if(!cC||!N(cC)){return}var cB=[];var cA;for(cA in cC){if(Object.prototype.hasOwnProperty.call(cC,cA)){cB.push(cA)}}var cD={};cB.sort();var cy=cB.length;var cz;for(cz=0;cz<cy;cz++){cD[cB[cz]]=cC[cB[cz]]}return cD}function bG(){cu(ax("ses"),"*",bR,aY,ch)}function bU(cA,cV,cW,cB){var cU,cz=new Date(),cI=Math.round(cz.getTime()/1000),cF,cT,cC=1024,c1,cJ,cR=au,cD=ax("ses"),cP=ax("ref"),cM=ax("cvar"),cN=ai(cD),cS=bg(),cY=aH||bh,cG,cy;if(aU){ak()}if(cb){return""}var cO=aB();if(!A(cB)){cB=""}var cL=x.characterSet||x.charset;if(!cL||cL.toLowerCase()==="utf-8"){cL=null}cG=cS[0];cy=cS[1];cF=cS[2];cT=cS[3];if(!cN){var cX=bR/1000;if(!cO.lastVisitTs||(cI-cO.lastVisitTs)>cX){cO.visitCount++;cO.lastVisitTs=cO.currentVisitTs}if(!a2||!cG.length){for(cU in bT){if(Object.prototype.hasOwnProperty.call(bT,cU)){cG=M(cY,bT[cU]); +if(cG.length){break}}}for(cU in bb){if(Object.prototype.hasOwnProperty.call(bb,cU)){cy=M(cY,bb[cU]);if(cy.length){break}}}}c1=c(aW);cJ=cT.length?c(cT):"";if(c1.length&&!az(c1)&&(!a2||!cJ.length||az(cJ))){cT=aW}if(cT.length||cG.length){cF=cI;cS=[cG,cy,cF,bv(cT.slice(0,cC))];cu(cP,JSON2.stringify(cS),cn,aY,ch)}}cA+="&idsite="+bz+"&rec=1&r="+String(Math.random()).slice(2,8)+"&h="+cz.getHours()+"&m="+cz.getMinutes()+"&s="+cz.getSeconds()+"&url="+n(bv(cY))+(aW.length?"&urlref="+n(bv(aW)):"")+((a5&&a5.length)?"&uid="+n(a5):"")+"&_id="+cO.uuid+"&_idts="+cO.createTs+"&_idvc="+cO.visitCount+"&_idn="+cO.newVisitor+(cG.length?"&_rcn="+n(cG):"")+(cy.length?"&_rck="+n(cy):"")+"&_refts="+cF+"&_viewts="+cO.lastVisitTs+(String(cO.lastEcommerceOrderTs).length?"&_ects="+cO.lastEcommerceOrderTs:"")+(String(cT).length?"&_ref="+n(bv(cT.slice(0,cC))):"")+(cL?"&cs="+n(cL):"")+"&send_image=0";for(cU in cp){if(Object.prototype.hasOwnProperty.call(cp,cU)){cA+="&"+cU+"="+cp[cU]}}var c0=[];if(cV){for(cU in cV){if(Object.prototype.hasOwnProperty.call(cV,cU)&&/^dimension\d+$/.test(cU)){var cE=cU.replace("dimension",""); +c0.push(parseInt(cE,10));c0.push(String(cE));cA+="&"+cU+"="+cV[cU];delete cV[cU]}}}if(cV&&t(cV)){cV=null}for(cU in aV){if(Object.prototype.hasOwnProperty.call(aV,cU)){var cK=(-1===c0.indexOf(cU));if(cK){cA+="&dimension"+cU+"="+aV[cU]}}}if(cV){cA+="&data="+n(JSON2.stringify(cV))}else{if(Z){cA+="&data="+n(JSON2.stringify(Z))}}function cH(c2,c3){var c4=JSON2.stringify(c2);if(c4.length>2){return"&"+c3+"="+n(c4)}return""}var cZ=cx(bp);var cQ=cx(bO);cA+=cH(cZ,"cvar");cA+=cH(cQ,"e_cvar");if(au){cA+=cH(au,"_cvar");for(cU in cR){if(Object.prototype.hasOwnProperty.call(cR,cU)){if(au[cU][0]===""||au[cU][1]===""){delete au[cU]}}}if(bk){cu(cM,JSON2.stringify(au),bR,aY,ch)}}if(aF){if(bP){cA+=">_ms="+bP}else{if(g&&g.timing&&g.timing.requestStart&&g.timing.responseEnd){cA+=">_ms="+(g.timing.responseEnd-g.timing.requestStart)}}}cO.lastEcommerceOrderTs=A(cB)&&String(cB).length?cB:cO.lastEcommerceOrderTs;ap(cO);bG();cA+=R(cW);if(cj.length){cA+="&"+cj}if(s(bE)){cA=bE(cA)}return cA}bl=function aJ(){var cy=new Date(); +if(ci+aI<=cy.getTime()){var cz=bU("ping=1",null,"ping");ba(cz,bd);return true}return false};function aZ(cB,cA,cG,cC,cy,cJ){var cE="idgoal=0",cF,cz=new Date(),cH=[],cI,cD=String(cB).length;if(cD){cE+="&ec_id="+n(cB);cF=Math.round(cz.getTime()/1000)}cE+="&revenue="+cA;if(String(cG).length){cE+="&ec_st="+cG}if(String(cC).length){cE+="&ec_tx="+cC}if(String(cy).length){cE+="&ec_sh="+cy}if(String(cJ).length){cE+="&ec_dt="+cJ}if(ck){for(cI in ck){if(Object.prototype.hasOwnProperty.call(ck,cI)){if(!A(ck[cI][1])){ck[cI][1]=""}if(!A(ck[cI][2])){ck[cI][2]=""}if(!A(ck[cI][3])||String(ck[cI][3]).length===0){ck[cI][3]=0}if(!A(ck[cI][4])||String(ck[cI][4]).length===0){ck[cI][4]=1}cH.push(ck[cI])}}cE+="&ec_items="+n(JSON2.stringify(cH))}cE=bU(cE,Z,"ecommerce",cF);ba(cE,bd);if(cD){ck={}}}function bs(cy,cC,cB,cA,cz,cD){if(String(cy).length&&A(cC)){aZ(cy,cC,cB,cA,cz,cD)}}function a0(cy){if(A(cy)){aZ("",cy,"","","","")}}function bt(cz,cB,cA){var cy=bU("action_name="+n(Y(cz||aS)),cB,"log");ba(cy,bd,cA)}function aD(cA,cz){var cB,cy="(^| )(piwik[_-]"+cz; +if(cA){for(cB=0;cB<cA.length;cB++){cy+="|"+cA[cB]}}cy+=")( |$)";return new RegExp(cy)}function ay(cy){return(aj&&cy&&0===String(cy).indexOf(aj))}function bV(cC,cy,cD,cz){if(ay(cy)){return 0}var cB=aD(bf,"download"),cA=aD(aK,"link"),cE=new RegExp("\\.("+co.join("|")+")([?&#]|$)","i");if(cA.test(cC)){return"link"}if(cz||cB.test(cC)||cE.test(cy)){return"download"}if(cD){return 0}return"link"}function ad(cz){var cy;cy=cz.parentNode;while(cy!==null&&A(cy)){if(S.isLinkElement(cz)){break}cz=cy;cy=cz.parentNode}return cz}function cs(cD){cD=ad(cD);if(!S.hasNodeAttribute(cD,"href")){return}if(!A(cD.href)){return}var cC=S.getAttributeValueFromNode(cD,"href");if(ay(cC)){return}var cz=cD.pathname||bN(cD.href);var cE=cD.hostname||c(cD.href);var cF=cE.toLowerCase();var cA=cD.href.replace(cE,cF);var cB=new RegExp("^(javascript|vbscript|jscript|mocha|livescript|ecmascript|mailto|tel):","i");if(!cB.test(cA)){var cy=bV(cD.className,cA,ac(cF,cz),S.hasNodeAttribute(cD,"download"));if(cy){return{type:cy,href:cA} +}}}function at(cy,cz,cA,cB){var cC=p.buildInteractionRequestParams(cy,cz,cA,cB);if(!cC){return}return bU(cC,null,"contentInteraction")}function b8(cA,cB,cF,cy,cz){if(!A(cA)){return}if(ay(cA)){return cA}var cD=p.toAbsoluteUrl(cA);var cC="redirecturl="+n(cD)+"&";cC+=at(cB,cF,cy,(cz||cA));var cE="&";if(aj.indexOf("?")<0){cE="?"}return aj+cE+cC}function aN(cy,cz){if(!cy||!cz){return false}var cA=p.findTargetNode(cy);if(p.shouldIgnoreInteraction(cA)){return false}cA=p.findTargetNodeNoDefault(cy);if(cA&&!L(cA,cz)){return false}return true}function bW(cA,cz,cC){if(!cA){return}var cy=p.findParentContentNode(cA);if(!cy){return}if(!aN(cy,cA)){return}var cB=p.buildContentBlock(cy);if(!cB){return}if(!cB.target&&cC){cB.target=cC}return p.buildInteractionRequestParams(cz,cB.name,cB.piece,cB.target)}function aA(cz){if(!bD||!bD.length){return false}var cy,cA;for(cy=0;cy<bD.length;cy++){cA=bD[cy];if(cA&&cA.name===cz.name&&cA.piece===cz.piece&&cA.target===cz.target){return true}}return false}function a9(cB){if(!cB){return false +}var cE=p.findTargetNode(cB);if(!cE||p.shouldIgnoreInteraction(cE)){return false}var cF=cs(cE);if(cq&&cF&&cF.type){return false}if(S.isLinkElement(cE)&&S.hasNodeAttributeWithValue(cE,"href")){var cy=String(S.getAttributeValueFromNode(cE,"href"));if(0===cy.indexOf("#")){return false}if(ay(cy)){return true}if(!p.isUrlToCurrentDomain(cy)){return false}var cC=p.buildContentBlock(cB);if(!cC){return}var cA=cC.name;var cG=cC.piece;var cD=cC.target;if(!S.hasNodeAttributeWithValue(cE,p.CONTENT_TARGET_ATTR)||cE.wasContentTargetAttrReplaced){cE.wasContentTargetAttrReplaced=true;cD=p.toAbsoluteUrl(cy);S.setAnyAttribute(cE,p.CONTENT_TARGET_ATTR,cD)}var cz=b8(cy,"click",cA,cG,cD);p.setHrefAttribute(cE,cz);return true}return false}function aq(cz){if(!cz||!cz.length){return}var cy;for(cy=0;cy<cz.length;cy++){a9(cz[cy])}}function aC(cy){return function(cz){if(!cy){return}var cC=p.findParentContentNode(cy);var cD;if(cz){cD=cz.target||cz.srcElement}if(!cD){cD=cy}if(!aN(cC,cD)){return}bJ(bd);if(S.isLinkElement(cy)&&S.hasNodeAttributeWithValue(cy,"href")&&S.hasNodeAttributeWithValue(cy,p.CONTENT_TARGET_ATTR)){var cA=S.getAttributeValueFromNode(cy,"href"); +if(!ay(cA)&&cy.wasContentTargetAttrReplaced){S.setAnyAttribute(cy,p.CONTENT_TARGET_ATTR,"")}}var cH=cs(cy);if(aa&&cH&&cH.type){return cH.type}if(a9(cC)){return"href"}var cE=p.buildContentBlock(cC);if(!cE){return}var cB=cE.name;var cI=cE.piece;var cG=cE.target;var cF=at("click",cB,cI,cG);ba(cF,bd);return cF}}function bu(cA){if(!cA||!cA.length){return}var cy,cz;for(cy=0;cy<cA.length;cy++){cz=p.findTargetNode(cA[cy]);if(cz&&!cz.contentInteractionTrackingSetupDone){cz.contentInteractionTrackingSetupDone=true;X(cz,"click",aC(cz))}}}function a4(cA,cB){if(!cA||!cA.length){return[]}var cy,cz;for(cy=0;cy<cA.length;cy++){if(aA(cA[cy])){cA.splice(cy,1);cy--}else{bD.push(cA[cy])}}if(!cA||!cA.length){return[]}aq(cB);bu(cB);var cC=[];for(cy=0;cy<cA.length;cy++){cz=bU(p.buildImpressionRequestParams(cA[cy].name,cA[cy].piece,cA[cy].target),undefined,"contentImpressions");if(cz){cC.push(cz)}}return cC}function bZ(cz){var cy=p.collectContent(cz);return a4(cy,cz)}function aL(cz){if(!cz||!cz.length){return[] +}var cy;for(cy=0;cy<cz.length;cy++){if(!p.isNodeVisible(cz[cy])){cz.splice(cy,1);cy--}}if(!cz||!cz.length){return[]}return bZ(cz)}function al(cA,cy,cz){var cB=p.buildImpressionRequestParams(cA,cy,cz);return bU(cB,null,"contentImpression")}function ct(cB,cz){if(!cB){return}var cy=p.findParentContentNode(cB);var cA=p.buildContentBlock(cy);if(!cA){return}if(!cz){cz="Unknown"}return at(cz,cA.name,cA.piece,cA.target)}function ca(cz,cB,cy,cA){return"e_c="+n(cz)+"&e_a="+n(cB)+(A(cy)?"&e_n="+n(cy):"")+(A(cA)?"&e_v="+n(cA):"")}function ae(cA,cC,cy,cB,cD){if(String(cA).length===0||String(cC).length===0){return false}var cz=bU(ca(cA,cC,cy,cB),cD,"event");ba(cz,bd)}function bC(cy,cB,cz,cC){var cA=bU("search="+n(cy)+(cB?"&search_cat="+n(cB):"")+(A(cz)?"&search_count="+cz:""),cC,"sitesearch");ba(cA,bd)}function ce(cy,cB,cA){var cz=bU("idgoal="+cy+(cB?"&revenue="+cB:""),cA,"goal");ba(cz,bd)}function cl(cB,cy,cF,cE,cA){var cD=cy+"="+n(bv(cB));var cz=bW(cA,"click",cB);if(cz){cD+="&"+cz}var cC=bU(cD,cF,"link"); +ba(cC,(cE?0:bd),cE)}function bm(cz,cy){if(cz!==""){return cz+cy.charAt(0).toUpperCase()+cy.slice(1)}return cy}function bK(cD){var cC,cy,cB=["","webkit","ms","moz"],cA;if(!aQ){for(cy=0;cy<cB.length;cy++){cA=cB[cy];if(Object.prototype.hasOwnProperty.call(x,bm(cA,"hidden"))){if(x[bm(cA,"visibilityState")]==="prerender"){cC=true}break}}}if(cC){X(x,cA+"visibilitychange",function cz(){x.removeEventListener(cA+"visibilitychange",cz,false);cD()});return}cD()}function ao(cy){if(x.readyState==="complete"){cy()}else{if(K.addEventListener){K.addEventListener("load",cy)}else{if(K.attachEvent){K.attachEvent("onload",cy)}}}}function aO(cB){var cy=false;if(x.attachEvent){cy=x.readyState==="complete"}else{cy=x.readyState!=="loading"}if(cy){cB();return}var cA;if(x.addEventListener){X(x,"DOMContentLoaded",function cz(){x.removeEventListener("DOMContentLoaded",cz,false);if(!cy){cy=true;cB()}})}else{if(x.attachEvent){x.attachEvent("onreadystatechange",function cz(){if(x.readyState==="complete"){x.detachEvent("onreadystatechange",cz); +if(!cy){cy=true;cB()}}});if(x.documentElement.doScroll&&K===K.top){(function cz(){if(!cy){try{x.documentElement.doScroll("left")}catch(cC){setTimeout(cz,0);return}cy=true;cB()}}())}}}X(K,"load",function(){if(!cy){cy=true;cB()}},false)}function b5(cy){var cz=cs(cy);if(cz&&cz.type){cz.href=k(cz.href);cl(cz.href,cz.type,undefined,null,cy)}}function bY(){return x.all&&!x.addEventListener}function cg(cy){var cA=cy.which;var cz=(typeof cy.button);if(!cA&&cz!=="undefined"){if(bY()){if(cy.button&1){cA=1}else{if(cy.button&2){cA=3}else{if(cy.button&4){cA=2}}}}else{if(cy.button===0||cy.button==="0"){cA=1}else{if(cy.button&1){cA=2}else{if(cy.button&2){cA=3}}}}}return cA}function bn(cy){switch(cg(cy)){case 1:return"left";case 2:return"middle";case 3:return"right"}}function aE(cy){return cy.target||cy.srcElement}function ah(cy){return function(cB){cB=cB||K.event;var cA=bn(cB);var cC=aE(cB);if(cB.type==="click"){var cz=false;if(cy&&cA==="middle"){cz=true}if(cC&&!cz){b5(cC)}}else{if(cB.type==="mousedown"){if(cA==="middle"&&cC){av=cA; +a7=cC}else{av=a7=null}}else{if(cB.type==="mouseup"){if(cA===av&&cC===a7){b5(cC)}av=a7=null}else{if(cB.type==="contextmenu"){b5(cC)}}}}}}function ab(cz,cy){X(cz,"click",ah(cy),false);if(cy){X(cz,"mouseup",ah(cy),false);X(cz,"mousedown",ah(cy),false);X(cz,"contextmenu",ah(cy),false)}}function a8(cz){if(!aa){aa=true;var cA,cy=aD(a6,"ignore"),cB=x.links;if(cB){for(cA=0;cA<cB.length;cA++){if(!cy.test(cB[cA].className)){ab(cB[cA],cz)}}}}}function aw(cA,cC,cD){if(bI){return true}bI=true;var cE=false;var cB,cz;function cy(){cE=true}ao(function(){function cF(cH){setTimeout(function(){if(!bI){return}cE=false;cD.trackVisibleContentImpressions();cF(cH)},cH)}function cG(cH){setTimeout(function(){if(!bI){return}if(cE){cE=false;cD.trackVisibleContentImpressions()}cG(cH)},cH)}if(cA){cB=["scroll","resize"];for(cz=0;cz<cB.length;cz++){if(x.addEventListener){x.addEventListener(cB[cz],cy)}else{K.attachEvent("on"+cB[cz],cy)}}cG(100)}if(cC&&cC>0){cC=parseInt(cC,10);cF(cC)}})}function b3(){var cA,cC,cD={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"},cz=K.devicePixelRatio||1; +if(!((new RegExp("MSIE")).test(f.userAgent))){if(f.mimeTypes&&f.mimeTypes.length){for(cA in cD){if(Object.prototype.hasOwnProperty.call(cD,cA)){cC=f.mimeTypes[cD[cA]];cp[cA]=(cC&&cC.enabledPlugin)?"1":"0"}}}if(typeof navigator.javaEnabled!=="unknown"&&A(f.javaEnabled)&&f.javaEnabled()){cp.java="1"}if(s(K.GearsFactory)){cp.gears="1"}cp.cookie=by()}var cB=parseInt(O.width,10)*cz;var cy=parseInt(O.height,10)*cz;cp.res=parseInt(cB,10)+"x"+parseInt(cy,10)}b3();aR();ap();return{getVisitorId:function(){return aB().uuid},getVisitorInfo:function(){return b9()},getAttributionInfo:function(){return bg()},getAttributionCampaignName:function(){return bg()[0]},getAttributionCampaignKeyword:function(){return bg()[1]},getAttributionReferrerTimestamp:function(){return bg()[2]},getAttributionReferrerUrl:function(){return bg()[3]},setTrackerUrl:function(cy){aj=cy},getTrackerUrl:function(){return aj},addTracker:function(cy,cA){if(!cA){throw new Error("A siteId must be given to add a new tracker")}if(!A(cy)||null===cy){cy=this.getTrackerUrl() +}var cz=new H(cy,cA);z.push(cz);return cz},getSiteId:function(){return bz},setSiteId:function(cy){bw(cy)},setUserId:function(cy){if(!A(cy)||!cy.length){return}a5=cy;bi=bA(a5).substr(0,16)},getUserId:function(){return a5},setCustomData:function(cy,cz){if(N(cy)){Z=cy}else{if(!Z){Z={}}Z[cy]=cz}},getCustomData:function(){return Z},setCustomRequestProcessing:function(cy){bE=cy},appendToTrackingUrl:function(cy){cj=cy},getRequest:function(cy){return bU(cy)},addPlugin:function(cy,cz){a[cy]=cz},setCustomDimension:function(cy,cz){cy=parseInt(cy,10);if(cy>0){if(!A(cz)){cz=""}if(!q(cz)){cz=String(cz)}aV[cy]=cz}},getCustomDimension:function(cy){cy=parseInt(cy,10);if(cy>0&&Object.prototype.hasOwnProperty.call(aV,cy)){return aV[cy]}},deleteCustomDimension:function(cy){cy=parseInt(cy,10);if(cy>0){delete aV[cy]}},setCustomVariable:function(cz,cy,cC,cA){var cB;if(!A(cA)){cA="visit"}if(!A(cy)){return}if(!A(cC)){cC=""}if(cz>0){cy=!q(cy)?String(cy):cy;cC=!q(cC)?String(cC):cC;cB=[cy.slice(0,a1),cC.slice(0,a1)]; +if(cA==="visit"||cA===2){b2();au[cz]=cB}else{if(cA==="page"||cA===3){bp[cz]=cB}else{if(cA==="event"){bO[cz]=cB}}}}},getCustomVariable:function(cz,cA){var cy;if(!A(cA)){cA="visit"}if(cA==="page"||cA===3){cy=bp[cz]}else{if(cA==="event"){cy=bO[cz]}else{if(cA==="visit"||cA===2){b2();cy=au[cz]}}}if(!A(cy)||(cy&&cy[0]==="")){return false}return cy},deleteCustomVariable:function(cy,cz){if(this.getCustomVariable(cy,cz)){this.setCustomVariable(cy,"","",cz)}},storeCustomVariablesInCookie:function(){bk=true},setLinkTrackingTimer:function(cy){bd=cy},setDownloadExtensions:function(cy){if(q(cy)){cy=cy.split("|")}co=cy},addDownloadExtensions:function(cz){var cy;if(q(cz)){cz=cz.split("|")}for(cy=0;cy<cz.length;cy++){co.push(cz[cy])}},removeDownloadExtensions:function(cA){var cz,cy=[];if(q(cA)){cA=cA.split("|")}for(cz=0;cz<co.length;cz++){if(D(cA,co[cz])===-1){cy.push(co[cz])}}co=cy},setDomains:function(cy){af=q(cy)?[cy]:cy;var cA=false,cz;for(cz in af){if(Object.prototype.hasOwnProperty.call(af,cz)&&b4(cf,C(String(af[cz])))){cA=true +}}if(!cA){af.push(cf)}},setIgnoreClasses:function(cy){a6=q(cy)?[cy]:cy},setRequestMethod:function(cy){cr=cy||bL},setRequestContentType:function(cy){bX=cy||an},setReferrerUrl:function(cy){aW=cy},setCustomUrl:function(cy){aH=bo(bh,cy)},setDocumentTitle:function(cy){aS=cy},setAPIUrl:function(cy){bc=cy},setDownloadClasses:function(cy){bf=q(cy)?[cy]:cy},setLinkClasses:function(cy){aK=q(cy)?[cy]:cy},setCampaignNameKey:function(cy){bT=q(cy)?[cy]:cy},setCampaignKeywordKey:function(cy){bb=q(cy)?[cy]:cy},discardHashTag:function(cy){bj=cy},setCookieNamePrefix:function(cy){aT=cy;au=bq()},setCookieDomain:function(cy){var cz=C(cy);if(a3(cz)){ch=cz;aR()}},setCookiePath:function(cy){aY=cy;aR()},setVisitorCookieTimeout:function(cy){b7=cy*1000},setSessionCookieTimeout:function(cy){bR=cy*1000},setReferralCookieTimeout:function(cy){cn=cy*1000},setConversionAttributionFirstReferrer:function(cy){a2=cy},disableCookies:function(){aU=true;cp.cookie="0";if(bz){ak()}},deleteCookies:function(){ak()},setDoNotTrack:function(cz){var cy=f.doNotTrack||f.msDoNotTrack; +cb=cz&&(cy==="yes"||cy==="1");if(cb){this.disableCookies()}},addListener:function(cz,cy){ab(cz,cy)},enableLinkTracking:function(cy){cq=true;bK(function(){aO(function(){a8(cy)})})},enableJSErrorTracking:function(){if(cd){return}cd=true;var cy=K.onerror;K.onerror=function(cD,cB,cA,cC,cz){bK(function(){var cE="JavaScript Errors";var cF=cB+":"+cA;if(cC){cF+=":"+cC}ae(cE,cF,cD)});if(cy){return cy(cD,cB,cA,cC,cz)}return false}},disablePerformanceTracking:function(){aF=false},setGenerationTimeMs:function(cy){bP=parseInt(cy,10)},enableHeartBeatTimer:function(cy){cy=Math.max(cy,1);aI=(cy||15)*1000;if(ci!==null){cw()}},killFrame:function(){if(K.location!==K.top.location){K.top.location=K.location}},redirectFile:function(cy){if(K.location.protocol==="file:"){K.location=cy}},setCountPreRendered:function(cy){aQ=cy},trackGoal:function(cy,cA,cz){bK(function(){ce(cy,cA,cz)})},trackLink:function(cz,cy,cB,cA){bK(function(){cl(cz,cy,cB,cA)})},trackPageView:function(cy,cA,cz){bD=[];if(E(bz)){bK(function(){P(aj,bc,bz) +})}else{bK(function(){bt(cy,cA,cz)})}},trackAllContentImpressions:function(){if(E(bz)){return}bK(function(){aO(function(){var cy=p.findContentNodes();var cz=bZ(cy);cv(cz,bd)})})},trackVisibleContentImpressions:function(cy,cz){if(E(bz)){return}if(!A(cy)){cy=true}if(!A(cz)){cz=750}aw(cy,cz,this);bK(function(){ao(function(){var cA=p.findContentNodes();var cB=aL(cA);cv(cB,bd)})})},trackContentImpression:function(cA,cy,cz){if(E(bz)){return}if(!cA){return}cy=cy||"Unknown";bK(function(){var cB=al(cA,cy,cz);ba(cB,bd)})},trackContentImpressionsWithinNode:function(cy){if(E(bz)||!cy){return}bK(function(){if(bI){ao(function(){var cz=p.findContentNodesWithinNode(cy);var cA=aL(cz);cv(cA,bd)})}else{aO(function(){var cz=p.findContentNodesWithinNode(cy);var cA=bZ(cz);cv(cA,bd)})}})},trackContentInteraction:function(cA,cB,cy,cz){if(E(bz)){return}if(!cA||!cB){return}cy=cy||"Unknown";bK(function(){var cC=at(cA,cB,cy,cz);ba(cC,bd)})},trackContentInteractionNode:function(cz,cy){if(E(bz)||!cz){return}bK(function(){var cA=ct(cz,cy); +ba(cA,bd)})},logAllContentBlocksOnPage:function(){var cz=p.findContentNodes();var cy=p.collectContent(cz);if(console!==undefined&&console&&console.log){console.log(cy)}},trackEvent:function(cz,cB,cy,cA,cC){bK(function(){ae(cz,cB,cy,cA,cC)})},trackSiteSearch:function(cy,cA,cz,cB){bK(function(){bC(cy,cA,cz,cB)})},setEcommerceView:function(cB,cy,cA,cz){if(!A(cA)||!cA.length){cA=""}else{if(cA instanceof Array){cA=JSON2.stringify(cA)}}bp[5]=["_pkc",cA];if(A(cz)&&String(cz).length){bp[2]=["_pkp",cz]}if((!A(cB)||!cB.length)&&(!A(cy)||!cy.length)){return}if(A(cB)&&cB.length){bp[3]=["_pks",cB]}if(!A(cy)||!cy.length){cy=""}bp[4]=["_pkn",cy]},addEcommerceItem:function(cC,cy,cA,cz,cB){if(cC.length){ck[cC]=[cC,cy,cA,cz,cB]}},trackEcommerceOrder:function(cy,cC,cB,cA,cz,cD){bs(cy,cC,cB,cA,cz,cD)},trackEcommerceCartUpdate:function(cy){a0(cy)}}}function y(){return{push:T}}function b(ae,ad){var af={};var ab,ac;for(ab=0;ab<ad.length;ab++){var Z=ad[ab];af[Z]=1;for(ac=0;ac<ae.length;ac++){if(ae[ac]&&ae[ac][0]){var aa=ae[ac][0]; +if(Z===aa){T(ae[ac]);delete ae[ac];if(af[aa]>1){V("The method "+aa+' 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')}af[aa]++}}}}return ae}X(K,"beforeunload",U,false);Date.prototype.getTimeAlias=Date.prototype.getTime;z.push(new H());var u=["addTracker","disableCookies","setTrackerUrl","setAPIUrl","setCookiePath","setCookieDomain","setDomains","setUserId","setSiteId","enableLinkTracking"];_paq=b(_paq,u);for(w=0;w<_paq.length;w++){if(_paq[w]){T(_paq[w])}}_paq=new y();d={addPlugin:function(Z,aa){a[Z]=aa},getTracker:function(Z,aa){if(!A(aa)){aa=this.getAsyncTracker().getSiteId()}if(!A(Z)){Z=this.getAsyncTracker().getTrackerUrl()}return new H(Z,aa)},getAsyncTracker:function(aa,ad){var ac;if(z&&z[0]){ac=z[0]}if(!ad&&!aa){return ac}if((!A(ad)||null===ad)&&ac){ad=ac.getSiteId()}if((!A(aa)||null===aa)&&ac){aa=ac.getTrackerUrl() +}var ab,Z=0;for(Z;Z<z.length;Z++){ab=z[Z];if(ab&&String(ab.getSiteId())===String(ad)&&ab.getTrackerUrl()===aa){return ab}}}};if(typeof define==="function"&&define.amd){define("piwik",[],function(){return d})}return d}())}if(window&&window.piwikAsyncInit){window.piwikAsyncInit()}(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 |