1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
|
/*!
* Piwik - free/libre analytics platform
*
* JavaScript tracking client
*
* @link http://piwik.org
* @source https://github.com/piwik/piwik/blob/master/js/piwik.js
* @license http://piwik.org/free-software/bsd/ BSD-3 Clause (also in js/LICENSE.txt)
* @license magnet:?xt=urn:btih:c80d50af7d3db9be66a4d0a86db0286e4fd33292&dn=bsd-3-clause.txt BSD-3-Clause
*/
if(typeof JSON2!=="object"){JSON2=window.JSON||{}}(function(){function d(f){return f<10?"0"+f:f}function l(n,m){var f=Object.prototype.toString.apply(n);if(f==="[object Date]"){return isFinite(n.valueOf())?n.getUTCFullYear()+"-"+d(n.getUTCMonth()+1)+"-"+d(n.getUTCDate())+"T"+d(n.getUTCHours())+":"+d(n.getUTCMinutes())+":"+d(n.getUTCSeconds())+"Z":null}if(f==="[object String]"||f==="[object Number]"||f==="[object Boolean]"){return n.valueOf()}if(f!=="[object Array]"&&typeof n.toJSON==="function"){return n.toJSON(m)}return n}var c=new RegExp("[\u0000\u00ad\u0600-\u0604\u070f\u17b4\u17b5\u200c-\u200f\u2028-\u202f\u2060-\u206f\ufeff\ufff0-\uffff]","g"),e='\\\\\\"\x00-\x1f\x7f-\x9f\u00ad\u0600-\u0604\u070f\u17b4\u17b5\u200c-\u200f\u2028-\u202f\u2060-\u206f\ufeff\ufff0-\uffff]',i=new RegExp("["+e,"g"),j,b,k={"\b":"\\b","\t":"\\t","\n":"\\n","\f":"\\f","\r":"\\r",'"':'\\"',"\\":"\\\\"},h;
function a(f){i.lastIndex=0;return i.test(f)?'"'+f.replace(i,function(m){var n=k[m];return typeof n==="string"?n:"\\u"+("0000"+m.charCodeAt(0).toString(16)).slice(-4)})+'"':'"'+f+'"'}function g(s,p){var n,m,t,f,q=j,o,r=p[s];if(r&&typeof r==="object"){r=l(r,s)}if(typeof h==="function"){r=h.call(p,s,r)}switch(typeof r){case"string":return a(r);case"number":return isFinite(r)?String(r):"null";case"boolean":case"null":return String(r);case"object":if(!r){return"null"}j+=b;o=[];if(Object.prototype.toString.apply(r)==="[object Array]"){f=r.length;for(n=0;n<f;n+=1){o[n]=g(n,r)||"null"}t=o.length===0?"[]":j?"[\n"+j+o.join(",\n"+j)+"\n"+q+"]":"["+o.join(",")+"]";j=q;return t}if(h&&typeof h==="object"){f=h.length;for(n=0;n<f;n+=1){if(typeof h[n]==="string"){m=h[n];t=g(m,r);if(t){o.push(a(m)+(j?": ":":")+t)}}}}else{for(m in r){if(Object.prototype.hasOwnProperty.call(r,m)){t=g(m,r);if(t){o.push(a(m)+(j?": ":":")+t)}}}}t=o.length===0?"{}":j?"{\n"+j+o.join(",\n"+j)+"\n"+q+"}":"{"+o.join(",")+"}";j=q;
return t}}if(typeof JSON2.stringify!=="function"){JSON2.stringify=function(o,m,n){var f;j="";b="";if(typeof n==="number"){for(f=0;f<n;f+=1){b+=" "}}else{if(typeof n==="string"){b=n}}h=m;if(m&&typeof m!=="function"&&(typeof m!=="object"||typeof m.length!=="number")){throw new Error("JSON2.stringify")}return g("",{"":o})}}if(typeof JSON2.parse!=="function"){JSON2.parse=function(o,f){var n;function m(s,r){var q,p,t=s[r];if(t&&typeof t==="object"){for(q in t){if(Object.prototype.hasOwnProperty.call(t,q)){p=m(t,q);if(p!==undefined){t[q]=p}else{delete t[q]}}}}return f.call(s,r,t)}o=String(o);c.lastIndex=0;if(c.test(o)){o=o.replace(c,function(p){return"\\u"+("0000"+p.charCodeAt(0).toString(16)).slice(-4)})}if((new RegExp("^[\\],:{}\\s]*$")).test(o.replace(new RegExp('\\\\(?:["\\\\/bfnrt]|u[0-9a-fA-F]{4})',"g"),"@").replace(new RegExp('"[^"\\\\\n\r]*"|true|false|null|-?\\d+(?:\\.\\d*)?(?:[eE][+\\-]?\\d+)?',"g"),"]").replace(new RegExp("(?:^|:|,)(?:\\s*\\[)+","g"),""))){n=eval("("+o+")");
return typeof f==="function"?m({"":n},""):n}throw new SyntaxError("JSON2.parse")}}}());if(typeof _paq!=="object"){_paq=[]}if(typeof Piwik!=="object"){Piwik=(function(){var j,a={},u=document,e=navigator,K=screen,G=window,f=G.performance||G.mozPerformance||G.msPerformance||G.webkitPerformance,p=false,E=[],l=G.encodeURIComponent,F=G.decodeURIComponent,h=unescape,L,t,c;function w(X){var W=typeof X;return W!=="undefined"}function q(W){return typeof W==="function"}function J(W){return typeof W==="object"}function n(W){return typeof W==="string"||W instanceof String}function R(){var W,Y,X;for(W=0;W<arguments.length;W+=1){X=arguments[W];Y=X.shift();if(n(Y)){L[Y].apply(L,X)}else{Y.apply(L,X)}}}function U(Z,Y,X,W){if(Z.addEventListener){Z.addEventListener(Y,X,W);return true}if(Z.attachEvent){return Z.attachEvent("on"+Y,X)}Z["on"+Y]=X}function O(X,aa){var W="",Z,Y;for(Z in a){if(Object.prototype.hasOwnProperty.call(a,Z)){Y=a[Z][X];if(q(Y)){W+=Y(aa)}}}return W}function S(){var W;O("unload");if(j){do{W=new Date()
}while(W.getTimeAlias()<j)}}function P(){var W;if(!p){p=true;O("load");for(W=0;W<E.length;W++){E[W]()}}return true}function o(){var X;if(u.addEventListener){U(u,"DOMContentLoaded",function W(){u.removeEventListener("DOMContentLoaded",W,false);P()})}else{if(u.attachEvent){u.attachEvent("onreadystatechange",function W(){if(u.readyState==="complete"){u.detachEvent("onreadystatechange",W);P()}});if(u.documentElement.doScroll&&G===G.top){(function W(){if(!p){try{u.documentElement.doScroll("left")}catch(Y){setTimeout(W,0);return}P()}}())}}}if((new RegExp("WebKit")).test(e.userAgent)){X=setInterval(function(){if(p||/loaded|complete/.test(u.readyState)){clearInterval(X);P()}},10)}U(G,"load",P,false)}function i(Y,X){var W=u.createElement("script");W.type="text/javascript";W.src=Y;if(W.readyState){W.onreadystatechange=function(){var Z=this.readyState;if(Z==="loaded"||Z==="complete"){W.onreadystatechange=null;X()}}}else{W.onload=X}u.getElementsByTagName("head")[0].appendChild(W)}function x(){var W="";
try{W=G.top.document.referrer}catch(Y){if(G.parent){try{W=G.parent.document.referrer}catch(X){W=""}}}if(W===""){W=u.referrer}return W}function k(W){var Y=new RegExp("^([a-z]+):"),X=Y.exec(W);return X?X[1]:null}function b(W){var Y=new RegExp("^(?:(?:https?|ftp):)/*(?:[^@]+@)?([^:/#]+)"),X=Y.exec(W);return X?X[1]:W}function I(Y,X){var W="[\\?&#]"+X+"=([^&#]*)";var aa=new RegExp(W);var Z=aa.exec(Y);return Z?F(Z[1]):""}function s(W){return h(l(W))}function T(am){var Z=function(ar,W){return(ar<<W)|(ar>>>(32-W))},an=function(au){var ar="",at,W;for(at=7;at>=0;at--){W=(au>>>(at*4))&15;ar+=W.toString(16)}return ar},ac,ap,ao,Y=[],ag=1732584193,ae=4023233417,ad=2562383102,ab=271733878,aa=3285377520,al,ak,aj,ai,ah,aq,X,af=[];am=s(am);X=am.length;for(ap=0;ap<X-3;ap+=4){ao=am.charCodeAt(ap)<<24|am.charCodeAt(ap+1)<<16|am.charCodeAt(ap+2)<<8|am.charCodeAt(ap+3);af.push(ao)}switch(X&3){case 0:ap=2147483648;break;case 1:ap=am.charCodeAt(X-1)<<24|8388608;break;case 2:ap=am.charCodeAt(X-2)<<24|am.charCodeAt(X-1)<<16|32768;
break;case 3:ap=am.charCodeAt(X-3)<<24|am.charCodeAt(X-2)<<16|am.charCodeAt(X-1)<<8|128;break}af.push(ap);while((af.length&15)!==14){af.push(0)}af.push(X>>>29);af.push((X<<3)&4294967295);for(ac=0;ac<af.length;ac+=16){for(ap=0;ap<16;ap++){Y[ap]=af[ac+ap]}for(ap=16;ap<=79;ap++){Y[ap]=Z(Y[ap-3]^Y[ap-8]^Y[ap-14]^Y[ap-16],1)}al=ag;ak=ae;aj=ad;ai=ab;ah=aa;for(ap=0;ap<=19;ap++){aq=(Z(al,5)+((ak&aj)|(~ak&ai))+ah+Y[ap]+1518500249)&4294967295;ah=ai;ai=aj;aj=Z(ak,30);ak=al;al=aq}for(ap=20;ap<=39;ap++){aq=(Z(al,5)+(ak^aj^ai)+ah+Y[ap]+1859775393)&4294967295;ah=ai;ai=aj;aj=Z(ak,30);ak=al;al=aq}for(ap=40;ap<=59;ap++){aq=(Z(al,5)+((ak&aj)|(ak&ai)|(aj&ai))+ah+Y[ap]+2400959708)&4294967295;ah=ai;ai=aj;aj=Z(ak,30);ak=al;al=aq}for(ap=60;ap<=79;ap++){aq=(Z(al,5)+(ak^aj^ai)+ah+Y[ap]+3395469782)&4294967295;ah=ai;ai=aj;aj=Z(ak,30);ak=al;al=aq}ag=(ag+al)&4294967295;ae=(ae+ak)&4294967295;ad=(ad+aj)&4294967295;ab=(ab+ai)&4294967295;aa=(aa+ah)&4294967295}aq=an(ag)+an(ae)+an(ad)+an(ab)+an(aa);return aq.toLowerCase()
}function N(Y,W,X){if(Y==="translate.googleusercontent.com"){if(X===""){X=W}W=I(W,"u");Y=b(W)}else{if(Y==="cc.bingj.com"||Y==="webcache.googleusercontent.com"||Y.slice(0,5)==="74.6."){W=u.links[0].href;Y=b(W)}}return[Y,W,X]}function y(X){var W=X.length;if(X.charAt(--W)==="."){X=X.slice(0,W)}if(X.slice(0,2)==="*."){X=X.slice(1)}return X}function V(X){X=X&&X.text?X.text:X;if(!n(X)){var W=u.getElementsByTagName("title");if(W&&w(W[0])){X=W[0].text}}return X}function C(W){if(!W){return[]}if(!w(W.children)&&w(W.childNodes)){return W.children}if(w(W.children)){return W.children}return[]}function H(X,W){if(!X||!W){return false}if(X.contains){return X.contains(W)}if(X===W){return true}if(X.compareDocumentPosition){return !!(X.compareDocumentPosition(W)&16)}return false}function z(Y,Z){if(Y&&Y.indexOf){return Y.indexOf(Z)}if(!w(Y)||Y===null){return -1}if(!Y.length){return -1}var W=Y.length;if(W===0){return -1}var X=0;while(X<W){if(Y[X]===Z){return X}X++}return -1}function g(Y){if(!Y){return false
}function W(aa,ab){if(G.getComputedStyle){return u.defaultView.getComputedStyle(aa,null)[ab]}if(aa.currentStyle){return aa.currentStyle[ab]}}function Z(aa){aa=aa.parentNode;while(aa){if(aa===u){return true}aa=aa.parentNode}return false}function X(ac,ai,aa,af,ad,ag,ae){var ab=ac.parentNode,ah=1;if(!Z(ac)){return false}if(9===ab.nodeType){return true}if("0"===W(ac,"opacity")||"none"===W(ac,"display")||"hidden"===W(ac,"visibility")){return false}if(!w(ai)||!w(aa)||!w(af)||!w(ad)||!w(ag)||!w(ae)){ai=ac.offsetTop;ad=ac.offsetLeft;af=ai+ac.offsetHeight;aa=ad+ac.offsetWidth;ag=ac.offsetWidth;ae=ac.offsetHeight}if(Y===ac&&(0===ae||0===ag)&&"hidden"===W(ac,"overflow")){return false}if(ab){if(("hidden"===W(ab,"overflow")||"scroll"===W(ab,"overflow"))){if(ad+ah>ab.offsetWidth+ab.scrollLeft||ad+ag-ah<ab.scrollLeft||ai+ah>ab.offsetHeight+ab.scrollTop||ai+ae-ah<ab.scrollTop){return false}}if(ac.offsetParent===ab){ad+=ab.offsetLeft;ai+=ab.offsetTop}return X(ab,ai,aa,af,ad,ag,ae)}return true}return X(Y)
}var Q={htmlCollectionToArray:function(Y){var W=[],X;if(!Y||!Y.length){return W}for(X=0;X<Y.length;X++){W.push(Y[X])}return W},find:function(W){if(!document.querySelectorAll||!W){return[]}var X=document.querySelectorAll(W);return this.htmlCollectionToArray(X)},findMultiple:function(Y){if(!Y||!Y.length){return[]}var X,Z;var W=[];for(X=0;X<Y.length;X++){Z=this.find(Y[X]);W=W.concat(Z)}W=this.makeNodesUnique(W);return W},findNodesByTagName:function(X,W){if(!X||!W||!X.getElementsByTagName){return[]}var Y=X.getElementsByTagName(W);return this.htmlCollectionToArray(Y)},makeNodesUnique:function(W){var ab=[].concat(W);W.sort(function(ad,ac){if(ad===ac){return 0}var af=z(ab,ad);var ae=z(ab,ac);if(af===ae){return 0}return af>ae?-1:1});if(W.length<=1){return W}var X=0;var Z=0;var aa=[];var Y;Y=W[X++];while(Y){if(Y===W[X]){Z=aa.push(X)}Y=W[X++]||null}while(Z--){W.splice(aa[Z],1)}return W},getAttributeValueFromNode:function(aa,Y){if(!this.hasNodeAttribute(aa,Y)){return}if(aa&&aa.getAttribute){return aa.getAttribute(Y)
}if(!aa||!aa.attributes){return}var Z=(typeof aa.attributes[Y]);if("undefined"===Z){return}if(aa.attributes[Y].value){return aa.attributes[Y].value}if(aa.attributes[Y].nodeValue){return aa.attributes[Y].nodeValue}var X;var W=aa.attributes;if(!W){return}for(X=0;X<W.length;X++){if(W[X].nodeName===Y){return W[X].nodeValue}}return null},hasNodeAttributeWithValue:function(X,W){var Y=this.getAttributeValueFromNode(X,W);return !!Y},hasNodeAttribute:function(Y,W){if(Y&&Y.hasAttribute){return Y.hasAttribute(W)}if(Y&&Y.attributes){var X=(typeof Y.attributes[W]);return"undefined"!==X}return false},hasNodeCssClass:function(Y,X){if(Y&&X&&Y.className){var W=Y.className.split(" ");if(-1!==z(W,X)){return true}}return false},findNodesHavingAttribute:function(aa,Y,W){if(!W){W=[]}if(!aa||!Y){return W}var Z=C(aa);if(!Z||!Z.length){return W}var X,ab;for(X=0;X<Z.length;X++){ab=Z[X];if(this.hasNodeAttribute(ab,Y)){W.push(ab)}W=this.findNodesHavingAttribute(ab,Y,W)}return W},findFirstNodeHavingAttribute:function(Y,X){if(!Y||!X){return
}if(this.hasNodeAttribute(Y,X)){return Y}var W=this.findNodesHavingAttribute(Y,X);if(W&&W.length){return W[0]}},findFirstNodeHavingAttributeWithValue:function(Z,Y){if(!Z||!Y){return}if(this.hasNodeAttributeWithValue(Z,Y)){return Z}var W=this.findNodesHavingAttribute(Z,Y);if(!W||!W.length){return}var X;for(X=0;X<W.length;X++){if(this.getAttributeValueFromNode(W[X],Y)){return W[X]}}},findNodesHavingCssClass:function(aa,Z,W){if(!W){W=[]}if(!aa||!Z){return W}if(aa.getElementsByClassName){var ab=aa.getElementsByClassName(Z);return this.htmlCollectionToArray(ab)}var Y=C(aa);if(!Y||!Y.length){return[]}var X,ac;for(X=0;X<Y.length;X++){ac=Y[X];if(this.hasNodeCssClass(ac,Z)){W.push(ac)}W=this.findNodesHavingCssClass(ac,Z,W)}return W},findFirstNodeHavingClass:function(Y,X){if(!Y||!X){return}if(this.hasNodeCssClass(Y,X)){return Y}var W=this.findNodesHavingCssClass(Y,X);if(W&&W.length){return W[0]}},isLinkElement:function(X){if(!X){return false}var W=String(X.nodeName).toLowerCase();var Z=["a","area"];
var Y=z(Z,W);return Y!==-1},setAnyAttribute:function(X,W,Y){if(!X||!W){return}if(X.setAttribute){X.setAttribute(W,Y)}else{X[W]=Y}}};var m={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 X="."+this.CONTENT_CLASS;var W="["+this.CONTENT_ATTR+"]";var Y=Q.findMultiple([X,W]);return Y},findContentNodesWithinNode:function(Z){if(!Z){return[]}var X=Q.findNodesHavingCssClass(Z,this.CONTENT_CLASS);var W=Q.findNodesHavingAttribute(Z,this.CONTENT_ATTR);if(W&&W.length){var Y;for(Y=0;Y<W.length;Y++){X.push(W[Y])}}if(Q.hasNodeAttribute(Z,this.CONTENT_ATTR)){X.push(Z)}else{if(Q.hasNodeCssClass(Z,this.CONTENT_CLASS)){X.push(Z)
}}X=Q.makeNodesUnique(X);return X},findParentContentNode:function(X){if(!X){return}var Y=X;var W=0;while(Y&&Y!==u&&Y.parentNode){if(Q.hasNodeAttribute(Y,this.CONTENT_ATTR)){return Y}if(Q.hasNodeCssClass(Y,this.CONTENT_CLASS)){return Y}Y=Y.parentNode;if(W>1000){break}W++}},findPieceNode:function(X){var W;W=Q.findFirstNodeHavingAttribute(X,this.CONTENT_PIECE_ATTR);if(!W){W=Q.findFirstNodeHavingClass(X,this.CONTENT_PIECE_CLASS)}if(W){return W}return X},findTargetNodeNoDefault:function(W){if(!W){return}var X=Q.findFirstNodeHavingAttributeWithValue(W,this.CONTENT_TARGET_ATTR);if(X){return X}X=Q.findFirstNodeHavingAttribute(W,this.CONTENT_TARGET_ATTR);if(X){return X}X=Q.findFirstNodeHavingClass(W,this.CONTENT_TARGET_CLASS);if(X){return X}},findTargetNode:function(W){var X=this.findTargetNodeNoDefault(W);if(X){return X}return W},findContentName:function(X){if(!X){return}var aa=Q.findFirstNodeHavingAttributeWithValue(X,this.CONTENT_NAME_ATTR);if(aa){return Q.getAttributeValueFromNode(aa,this.CONTENT_NAME_ATTR)
}var W=this.findContentPiece(X);if(W){return this.removeDomainIfIsInLink(W)}if(Q.hasNodeAttributeWithValue(X,"title")){return Q.getAttributeValueFromNode(X,"title")}var Y=this.findPieceNode(X);if(Q.hasNodeAttributeWithValue(Y,"title")){return Q.getAttributeValueFromNode(Y,"title")}var Z=this.findTargetNode(X);if(Q.hasNodeAttributeWithValue(Z,"title")){return Q.getAttributeValueFromNode(Z,"title")}},findContentPiece:function(X){if(!X){return}var Z=Q.findFirstNodeHavingAttributeWithValue(X,this.CONTENT_PIECE_ATTR);if(Z){return Q.getAttributeValueFromNode(Z,this.CONTENT_PIECE_ATTR)}var W=this.findPieceNode(X);var Y=this.findMediaUrlInNode(W);if(Y){return this.toAbsoluteUrl(Y)}},findContentTarget:function(Y){if(!Y){return}var Z=this.findTargetNode(Y);if(Q.hasNodeAttributeWithValue(Z,this.CONTENT_TARGET_ATTR)){return Q.getAttributeValueFromNode(Z,this.CONTENT_TARGET_ATTR)}var X;if(Q.hasNodeAttributeWithValue(Z,"href")){X=Q.getAttributeValueFromNode(Z,"href");return this.toAbsoluteUrl(X)}var W=this.findPieceNode(Y);
if(Q.hasNodeAttributeWithValue(W,"href")){X=Q.getAttributeValueFromNode(W,"href");return this.toAbsoluteUrl(X)}},isSameDomain:function(W){if(!W||!W.indexOf){return false}if(0===W.indexOf(this.getLocation().origin)){return true}var X=W.indexOf(this.getLocation().host);if(8>=X&&0<=X){return true}return false},removeDomainIfIsInLink:function(Y){var X="^https?://[^/]+";var W="^.*//[^/]+";if(Y&&Y.search&&-1!==Y.search(new RegExp(X))&&this.isSameDomain(Y)){Y=Y.replace(new RegExp(W),"");if(!Y){Y="/"}}return Y},findMediaUrlInNode:function(aa){if(!aa){return}var Y=["img","embed","video","audio"];var W=aa.nodeName.toLowerCase();if(-1!==z(Y,W)&&Q.findFirstNodeHavingAttributeWithValue(aa,"src")){var Z=Q.findFirstNodeHavingAttributeWithValue(aa,"src");return Q.getAttributeValueFromNode(Z,"src")}if(W==="object"&&Q.hasNodeAttributeWithValue(aa,"data")){return Q.getAttributeValueFromNode(aa,"data")}if(W==="object"){var ab=Q.findNodesByTagName(aa,"param");if(ab&&ab.length){var X;for(X=0;X<ab.length;X++){if("movie"===Q.getAttributeValueFromNode(ab[X],"name")&&Q.hasNodeAttributeWithValue(ab[X],"value")){return Q.getAttributeValueFromNode(ab[X],"value")
}}}var ac=Q.findNodesByTagName(aa,"embed");if(ac&&ac.length){return this.findMediaUrlInNode(ac[0])}}},trim:function(W){if(W&&String(W)===W){return W.replace(/^\s+|\s+$/g,"")}return W},isOrWasNodeInViewport:function(ab){if(!ab||!ab.getBoundingClientRect||ab.nodeType!==1){return true}var aa=ab.getBoundingClientRect();var Z=u.documentElement||{};var Y=aa.top<0;if(Y&&ab.offsetTop){Y=(ab.offsetTop+aa.height)>0}var X=Z.clientWidth;if(G.innerWidth&&X>G.innerWidth){X=G.innerWidth}var W=Z.clientHeight;if(G.innerHeight&&W>G.innerHeight){W=G.innerHeight}return((aa.bottom>0||Y)&&aa.right>0&&aa.left<X&&((aa.top<W)||Y))},isNodeVisible:function(X){var W=g(X);var Y=this.isOrWasNodeInViewport(X);return W&&Y},buildInteractionRequestParams:function(W,X,Y,Z){var aa="";if(W){aa+="c_i="+l(W)}if(X){if(aa){aa+="&"}aa+="c_n="+l(X)}if(Y){if(aa){aa+="&"}aa+="c_p="+l(Y)}if(Z){if(aa){aa+="&"}aa+="c_t="+l(Z)}return aa},buildImpressionRequestParams:function(W,X,Y){var Z="c_n="+l(W)+"&c_p="+l(X);if(Y){Z+="&c_t="+l(Y)}return Z
},buildContentBlock:function(Y){if(!Y){return}var W=this.findContentName(Y);var X=this.findContentPiece(Y);var Z=this.findContentTarget(Y);W=this.trim(W);X=this.trim(X);Z=this.trim(Z);return{name:W||"Unknown",piece:X||"Unknown",target:Z||""}},collectContent:function(Z){if(!Z||!Z.length){return[]}var Y=[];var W,X;for(W=0;W<Z.length;W++){X=this.buildContentBlock(Z[W]);if(w(X)){Y.push(X)}}return Y},setLocation:function(W){this.location=W},getLocation:function(){var W=this.location||G.location;if(!W.origin){W.origin=W.protocol+"//"+W.hostname+(W.port?":"+W.port:"")}return W},toAbsoluteUrl:function(X){if((!X||String(X)!==X)&&X!==""){return X}if(""===X){return this.getLocation().href}if(X.search(/^\/\//)!==-1){return this.getLocation().protocol+X}if(X.search(/:\/\//)!==-1){return X}if(0===X.indexOf("#")){return this.getLocation().origin+this.getLocation().pathname+X}if(0===X.indexOf("?")){return this.getLocation().origin+this.getLocation().pathname+X}if(0===X.search("^[a-zA-Z]{2,11}:")){return X
}if(X.search(/^\//)!==-1){return this.getLocation().origin+X}var W="(.*/)";var Y=this.getLocation().origin+this.getLocation().pathname.match(new RegExp(W))[0];return Y+X},isUrlToCurrentDomain:function(X){var Y=this.toAbsoluteUrl(X);if(!Y){return false}var W=this.getLocation().origin;if(W===Y){return true}if(0===String(Y).indexOf(W)){if(":"===String(Y).substr(W.length,1)){return false}return true}return false},setHrefAttribute:function(X,W){if(!X||!W){return}Q.setAnyAttribute(X,"href",W)},shouldIgnoreInteraction:function(Y){var X=Q.hasNodeAttribute(Y,this.CONTENT_IGNOREINTERACTION_ATTR);var W=Q.hasNodeCssClass(Y,this.CONTENT_IGNOREINTERACTION_CLASS);return X||W}};function B(W,X){if(X){return X}if(W.slice(-9)==="piwik.php"){W=W.slice(0,W.length-9)}return W}function A(aa){var W="Piwik_Overlay";var ad=new RegExp("index\\.php\\?module=Overlay&action=startOverlaySession&idSite=([0-9]+)&period=([^&]+)&date=([^&]+)$");var Y=ad.exec(u.referrer);if(Y){var Z=Y[1];if(Z!==String(aa)){return false}var ac=Y[2],X=Y[3];
G.name=W+"###"+ac+"###"+X}var ab=G.name.split("###");return ab.length===3&&ab[0]===W}function M(X,ac,Z){var ab=G.name.split("###"),aa=ab[1],W=ab[2],Y=B(X,ac);i(Y+"plugins/Overlay/client/client.js?v=1",function(){Piwik_Overlay_Client.initialize(Y,Z,aa,W)})}function D(aE,bm){var ad=N(u.domain,G.location.href,x()),bM=y(ad[0]),b5=F(ad[1]),bu=F(ad[2]),b9=false,bq="GET",bs=bq,bc="application/x-www-form-urlencoded; charset=UTF-8",aK=bc,aa=aE||"",ax="",bo="",bS=bm||"",aJ="",a2="",a7,aS=u.title,aU=["7z","aac","apk","arc","arj","asf","asx","avi","azw3","bin","csv","deb","dmg","doc","docx","epub","exe","flv","gif","gz","gzip","hqx","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"],bp=[bM],ai=[],bf=[],aC=[],bn=500,aj,aG,ak,an,aY=["pk_campaign","piwik_campaign","utm_campaign","utm_source","utm_medium"],aP=["pk_kwd","piwik_kwd","utm_term"],b3="_pk_",aq,b4,ao=false,bW,a0,a5,aw=33955200000,az=1800000,ba=15768000000,a1=true,aI=0,a6=false,ag=false,au,bg={},ab={},bX=200,bF={},bT={},ah=[],ay=false,a9=false,bz=false,bU=false,bw=false,bt,bj,at,aX=T,by;
function bH(ci,cf,ce,ch,cd,cg){if(ao){return}var cc;if(ce){cc=new Date();cc.setTime(cc.getTime()+ce)}u.cookie=ci+"="+l(cf)+(ce?";expires="+cc.toGMTString():"")+";path="+(ch||"/")+(cd?";domain="+cd:"")+(cg?";secure":"")}function av(ce){if(ao){return 0}var cc=new RegExp("(^|;)[ ]*"+ce+"=([^;]*)"),cd=cc.exec(u.cookie);return cd?F(cd[2]):0}function bY(cc){var cd;if(ak){cd=new RegExp("#.*");return cc.replace(cd,"")}return cc}function bL(ce,cc){var cf=k(cc),cd;if(cf){return cc}if(cc.slice(0,1)==="/"){return k(ce)+"://"+b(ce)+cc}ce=bY(ce);cd=ce.indexOf("?");if(cd>=0){ce=ce.slice(0,cd)}cd=ce.lastIndexOf("/");if(cd!==ce.length-1){ce=ce.slice(0,cd+1)}return ce+cc}function br(cf){var cd,cc,ce;for(cd=0;cd<bp.length;cd++){cc=y(bp[cd].toLowerCase());if(cf===cc){return true}if(cc.slice(0,1)==="."){if(cf===cc.slice(1)){return true}ce=cf.length-cc.length;if((ce>0)&&(cf.slice(ce)===cc)){return true}}}return false}function cb(cc,ce){var cd=new Image(1,1);cd.onload=function(){t=0;if(typeof ce==="function"){ce()
}};cd.src=aa+(aa.indexOf("?")<0?"?":"&")+cc}function bI(cd,cg,cc){if(!w(cc)||null===cc){cc=true}try{var cf=G.XMLHttpRequest?new G.XMLHttpRequest():G.ActiveXObject?new ActiveXObject("Microsoft.XMLHTTP"):null;cf.open("POST",aa,true);cf.onreadystatechange=function(){if(this.readyState===4&&!(this.status>=200&&this.status<300)&&cc){cb(cd,cg)}else{if(typeof cg==="function"){cg()}}};cf.setRequestHeader("Content-Type",aK);cf.send(cd)}catch(ce){if(cc){cb(cd,cg)}}}function bZ(cd){var cc=new Date();var ce=cc.getTime()+cd;if(!j||ce>j){j=ce}}function aD(cg){var cd=new Date();var cc=cd.getTime();if(a9&&cc<a9){var ce=a9-cc;setTimeout(cg,ce);bZ(ce+50);a9+=50;return}if(a9===false){var cf=800;a9=cc+cf}cg()}function aZ(cd,cc,ce){if(!bW&&cd){aD(function(){if(bs==="POST"){bI(cd,ce)}else{cb(cd,ce)}bZ(cc)})}}function bb(cc){if(bW){return false}return(cc&&cc.length)}function ap(ce,cc){if(!bb(ce)){return}var cd='{"requests":["?'+ce.join('","?')+'"]}';aD(function(){bI(cd,null,false);bZ(cc)})}function bG(cc){return b3+cc+"."+bS+"."+by
}function ae(){if(ao){return"0"}if(!w(e.cookieEnabled)){var cc=bG("testcookie");bH(cc,"1");return av(cc)==="1"?"1":"0"}return e.cookieEnabled?"1":"0"}function bk(){by=aX((aq||bM)+(b4||"/")).slice(0,4)}function ar(){var cd=bG("cvar"),cc=av(cd);if(cc.length){cc=JSON2.parse(cc);if(J(cc)){return cc}}return{}}function Z(){if(ag===false){ag=ar()}}function bR(){var cc=new Date();bt=cc.getTime()}function b1(){return aX((e.userAgent||"")+(e.platform||"")+JSON2.stringify(bT)+(new Date()).getTime()+Math.random()).slice(0,16)}function Y(){var ce=new Date(),cc=Math.round(ce.getTime()/1000),cd=bG("id"),ch=av(cd),cg,cf;if(ch){cg=ch.split(".");cg.unshift("0");if(a2.length){cg[1]=a2}return cg}if(a2.length){cf=a2}else{cf=b1()}cg=["1",cf,cc,0,cc,"",""];return cg}function bB(){var cj=Y(),cf=cj[0],cg=cj[1],cd=cj[2],cc=cj[3],ch=cj[4],ce=cj[5];if(!w(cj[6])){cj[6]=""}var ci=cj[6];return{newVisitor:cf,uuid:cg,createTs:cd,visitCount:cc,currentVisitTs:ch,lastVisitTs:ce,lastEcommerceOrderTs:ci}}function aL(){var cf=new Date(),cd=cf.getTime(),cg=bB().createTs;
var cc=parseInt(cg,10);var ce=(cc*1000)+aw-cd;return ce}function am(cc){if(!bS){return}var ce=new Date(),cd=Math.round(ce.getTime()/1000);if(!w(cc)){cc=bB()}var cf=cc.uuid+"."+cc.createTs+"."+cc.visitCount+"."+cd+"."+cc.lastVisitTs+"."+cc.lastEcommerceOrderTs;bH(bG("id"),cf,aL(),b4,aq)}function X(){var cc=av(bG("ref"));if(cc.length){try{cc=JSON2.parse(cc);if(J(cc)){return cc}}catch(cd){}}return["","",0,""]}function W(){var cc=ao;ao=false;bH(bG("id"),"",-86400,b4,aq);bH(bG("ses"),"",-86400,b4,aq);bH(bG("cvar"),"",-86400,b4,aq);bH(bG("ref"),"",-86400,b4,aq);ao=cc}function b8(cc){bS=cc;am()}function bQ(cg){if(!cg||!J(cg)){return}var cf=[];var ce;for(ce in cg){if(Object.prototype.hasOwnProperty.call(cg,ce)){cf.push(ce)}}var ch={};cf.sort();var cc=cf.length;var cd;for(cd=0;cd<cc;cd++){ch[cf[cd]]=cg[cf[cd]]}return ch}function a4(){bH(bG("ses"),"*",az,b4,aq)}function aT(ce,cx,cy,cf){var cw,cd=new Date(),cl=Math.round(cd.getTime()/1000),ci,cv,cg=1024,cC,cm,ct=ag,ch=bG("ses"),cr=bG("ref"),co=bG("cvar"),cp=av(ch),cu=X(),cA=a7||b5,cj,cc;
if(ao){W()}if(bW){return""}var cq=bB();if(!w(cf)){cf=""}var cn=u.characterSet||u.charset;if(!cn||cn.toLowerCase()==="utf-8"){cn=null}cj=cu[0];cc=cu[1];ci=cu[2];cv=cu[3];if(!cp){var cz=az/1000;if(!cq.lastVisitTs||(cl-cq.lastVisitTs)>cz){cq.visitCount++;cq.lastVisitTs=cq.currentVisitTs}if(!a5||!cj.length){for(cw in aY){if(Object.prototype.hasOwnProperty.call(aY,cw)){cj=I(cA,aY[cw]);if(cj.length){break}}}for(cw in aP){if(Object.prototype.hasOwnProperty.call(aP,cw)){cc=I(cA,aP[cw]);if(cc.length){break}}}}cC=b(bu);cm=cv.length?b(cv):"";if(cC.length&&!br(cC)&&(!a5||!cm.length||br(cm))){cv=bu}if(cv.length||cj.length){ci=cl;cu=[cj,cc,ci,bY(cv.slice(0,cg))];bH(cr,JSON2.stringify(cu),ba,b4,aq)}}ce+="&idsite="+bS+"&rec=1&r="+String(Math.random()).slice(2,8)+"&h="+cd.getHours()+"&m="+cd.getMinutes()+"&s="+cd.getSeconds()+"&url="+l(bY(cA))+(bu.length?"&urlref="+l(bY(bu)):"")+((aJ&&aJ.length)?"&uid="+l(aJ):"")+"&_id="+cq.uuid+"&_idts="+cq.createTs+"&_idvc="+cq.visitCount+"&_idn="+cq.newVisitor+(cj.length?"&_rcn="+l(cj):"")+(cc.length?"&_rck="+l(cc):"")+"&_refts="+ci+"&_viewts="+cq.lastVisitTs+(String(cq.lastEcommerceOrderTs).length?"&_ects="+cq.lastEcommerceOrderTs:"")+(String(cv).length?"&_ref="+l(bY(cv.slice(0,cg))):"")+(cn?"&cs="+l(cn):"")+"&send_image=0";
for(cw in bT){if(Object.prototype.hasOwnProperty.call(bT,cw)){ce+="&"+cw+"="+bT[cw]}}if(cx){ce+="&data="+l(JSON2.stringify(cx))}else{if(an){ce+="&data="+l(JSON2.stringify(an))}}function ck(cD,cE){var cF=JSON2.stringify(cD);if(cF.length>2){return"&"+cE+"="+l(cF)}return""}var cB=bQ(bg);var cs=bQ(ab);ce+=ck(cB,"cvar");ce+=ck(cs,"e_cvar");if(ag){ce+=ck(ag,"_cvar");for(cw in ct){if(Object.prototype.hasOwnProperty.call(ct,cw)){if(ag[cw][0]===""||ag[cw][1]===""){delete ag[cw]}}}if(a6){bH(co,JSON2.stringify(ag),az,b4,aq)}}if(a1){if(aI){ce+=">_ms="+aI}else{if(f&&f.timing&&f.timing.requestStart&&f.timing.responseEnd){ce+=">_ms="+(f.timing.responseEnd-f.timing.requestStart)}}}cq.lastEcommerceOrderTs=w(cf)&&String(cf).length?cf:cq.lastEcommerceOrderTs;am(cq);a4();ce+=O(cy);if(bo.length){ce+="&"+bo}if(q(au)){ce=au(ce)}return ce}function bK(cf,ce,cj,cg,cc,cm){var ch="idgoal=0",ci,cd=new Date(),ck=[],cl;if(String(cf).length){ch+="&ec_id="+l(cf);ci=Math.round(cd.getTime()/1000)}ch+="&revenue="+ce;if(String(cj).length){ch+="&ec_st="+cj
}if(String(cg).length){ch+="&ec_tx="+cg}if(String(cc).length){ch+="&ec_sh="+cc}if(String(cm).length){ch+="&ec_dt="+cm}if(bF){for(cl in bF){if(Object.prototype.hasOwnProperty.call(bF,cl)){if(!w(bF[cl][1])){bF[cl][1]=""}if(!w(bF[cl][2])){bF[cl][2]=""}if(!w(bF[cl][3])||String(bF[cl][3]).length===0){bF[cl][3]=0}if(!w(bF[cl][4])||String(bF[cl][4]).length===0){bF[cl][4]=1}ck.push(bF[cl])}}ch+="&ec_items="+l(JSON2.stringify(ck))}ch=aT(ch,an,"ecommerce",ci);aZ(ch,bn)}function bJ(cc,cg,cf,ce,cd,ch){if(String(cc).length&&w(cg)){bK(cc,cg,cf,ce,cd,ch)}}function b2(cc){if(w(cc)){bK("",cc,"","","","")}}function be(cf,cg){var cc=new Date(),ce=aT("action_name="+l(V(cf||aS)),cg,"log");aZ(ce,bn);if(aj&&aG&&!bw){bw=true;U(u,"click",bR);U(u,"mouseup",bR);U(u,"mousedown",bR);U(u,"mousemove",bR);U(u,"mousewheel",bR);U(G,"DOMMouseScroll",bR);U(G,"scroll",bR);U(u,"keypress",bR);U(u,"keydown",bR);U(u,"keyup",bR);U(G,"resize",bR);U(G,"focus",bR);U(G,"blur",bR);bt=cc.getTime();setTimeout(function cd(){var ch;cc=new Date();
if((bt+aG)>cc.getTime()){if(aj<cc.getTime()){ch=aT("ping=1",cg,"ping");aZ(ch,bn)}setTimeout(cd,aG)}},aG)}}function aH(ce,cd){var cf,cc="(^| )(piwik[_-]"+cd;if(ce){for(cf=0;cf<ce.length;cf++){cc+="|"+ce[cf]}}cc+=")( |$)";return new RegExp(cc)}function bD(cc){return(aa&&cc&&0===String(cc).indexOf(aa))}function bP(cf,cc,cg){if(bD(cc)){return 0}var ce=aH(bf,"download"),cd=aH(aC,"link"),ch=new RegExp("\\.("+aU.join("|")+")([?&#]|$)","i");if(cd.test(cf)){return"link"}if(ce.test(cf)||ch.test(cc)){return"download"}if(cg){return 0}return"link"}function a8(cd){var cc;cc=cd.parentNode;while(cc!==null&&w(cc)){if(Q.isLinkElement(cd)){break}cd=cc;cc=cd.parentNode}return cd}function bi(cg){cg=a8(cg);if(!Q.hasNodeAttribute(cg,"href")){return}if(!w(cg.href)){return}var cf=Q.getAttributeValueFromNode(cg,"href");if(bD(cf)){return}var ch=cg.hostname||b(cg.href);var ci=ch.toLowerCase();var cd=cg.href.replace(ch,ci);var ce=new RegExp("^(javascript|vbscript|jscript|mocha|livescript|ecmascript|mailto):","i");if(!ce.test(cd)){var cc=bP(cg.className,cd,br(ci));
if(cc){return{type:cc,href:cd}}}}function b7(cc,cd,ce,cf){var cg=m.buildInteractionRequestParams(cc,cd,ce,cf);if(!cg){return}return aT(cg,null,"contentInteraction")}function b6(ce,cf,cj,cc,cd){if(!w(ce)){return}if(bD(ce)){return ce}var ch=m.toAbsoluteUrl(ce);var cg="redirecturl="+l(ch)+"&";cg+=b7(cf,cj,cc,(cd||ce));var ci="&";if(aa.indexOf("?")<0){ci="?"}return aa+ci+cg}function a3(cc,cd){if(!cc||!cd){return false}var ce=m.findTargetNode(cc);if(m.shouldIgnoreInteraction(ce)){return false}ce=m.findTargetNodeNoDefault(cc);if(ce&&!H(ce,cd)){return false}return true}function aR(ce,cd,cg){if(!ce){return}var cc=m.findParentContentNode(ce);if(!cc){return}if(!a3(cc,ce)){return}var cf=m.buildContentBlock(cc);if(!cf){return}if(!cf.target&&cg){cf.target=cg}return m.buildInteractionRequestParams(cd,cf.name,cf.piece,cf.target)}function aO(cd){if(!ah||!ah.length){return false}var cc,ce;for(cc=0;cc<ah.length;cc++){ce=ah[cc];if(ce&&ce.name===cd.name&&ce.piece===cd.piece&&ce.target===cd.target){return true
}}return false}function ac(cf){if(!cf){return false}var ci=m.findTargetNode(cf);if(!ci||m.shouldIgnoreInteraction(ci)){return false}var cj=bi(ci);if(bU&&cj&&cj.type){return false}if(Q.isLinkElement(ci)&&Q.hasNodeAttributeWithValue(ci,"href")){var cc=String(Q.getAttributeValueFromNode(ci,"href"));if(0===cc.indexOf("#")){return false}if(bD(cc)){return true}if(!m.isUrlToCurrentDomain(cc)){return false}var cg=m.buildContentBlock(cf);if(!cg){return}var ce=cg.name;var ck=cg.piece;var ch=cg.target;if(!Q.hasNodeAttributeWithValue(ci,m.CONTENT_TARGET_ATTR)||ci.wasContentTargetAttrReplaced){ci.wasContentTargetAttrReplaced=true;ch=m.toAbsoluteUrl(cc);Q.setAnyAttribute(ci,m.CONTENT_TARGET_ATTR,ch)}var cd=b6(cc,"click",ce,ck,ch);m.setHrefAttribute(ci,cd);return true}return false}function af(cd){if(!cd||!cd.length){return}var cc;for(cc=0;cc<cd.length;cc++){ac(cd[cc])}}function bh(cc){return function(cd){if(!cc){return}var cg=m.findParentContentNode(cc);var ch;if(cd){ch=cd.target||cd.srcElement}if(!ch){ch=cc
}if(!a3(cg,ch)){return}bZ(bn);if(Q.isLinkElement(cc)&&Q.hasNodeAttributeWithValue(cc,"href")&&Q.hasNodeAttributeWithValue(cc,m.CONTENT_TARGET_ATTR)){var ce=Q.getAttributeValueFromNode(cc,"href");if(!bD(ce)&&cc.wasContentTargetAttrReplaced){Q.setAnyAttribute(cc,m.CONTENT_TARGET_ATTR,"")}}var cl=bi(cc);if(bz&&cl&&cl.type){return cl.type}if(ac(cg)){return"href"}var ci=m.buildContentBlock(cg);if(!ci){return}var cf=ci.name;var cm=ci.piece;var ck=ci.target;var cj=b7("click",cf,cm,ck);aZ(cj,bn);return cj}}function aF(ce){if(!ce||!ce.length){return}var cc,cd;for(cc=0;cc<ce.length;cc++){cd=m.findTargetNode(ce[cc]);if(cd&&!cd.contentInteractionTrackingSetupDone){cd.contentInteractionTrackingSetupDone=true;U(cd,"click",bh(cd))}}}function aB(ce,cf){if(!ce||!ce.length){return[]}var cc,cd;for(cc=0;cc<ce.length;cc++){if(aO(ce[cc])){ce.splice(cc,1);cc--}else{ah.push(ce[cc])}}if(!ce||!ce.length){return[]}af(cf);aF(cf);var cg=[];for(cc=0;cc<ce.length;cc++){cd=aT(m.buildImpressionRequestParams(ce[cc].name,ce[cc].piece,ce[cc].target),undefined,"contentImpressions");
cg.push(cd)}return cg}function aW(cd){var cc=m.collectContent(cd);return aB(cc,cd)}function bC(cd){if(!cd||!cd.length){return[]}var cc;for(cc=0;cc<cd.length;cc++){if(!m.isNodeVisible(cd[cc])){cd.splice(cc,1);cc--}}if(!cd||!cd.length){return[]}return aW(cd)}function bN(ce,cc,cd){var cf=m.buildImpressionRequestParams(ce,cc,cd);return aT(cf,null,"contentImpression")}function aV(cf,cd){if(!cf){return}var cc=m.findParentContentNode(cf);var ce=m.buildContentBlock(cc);if(!ce){return}if(!cd){cd="Unknown"}return b7(cd,ce.name,ce.piece,ce.target)}function bx(cd,cf,cc,ce){return"e_c="+l(cd)+"&e_a="+l(cf)+(w(cc)?"&e_n="+l(cc):"")+(w(ce)?"&e_v="+l(ce):"")}function al(ce,cg,cc,cf,ch){if(String(ce).length===0||String(cg).length===0){return false}var cd=aT(bx(ce,cg,cc,cf),ch,"event");aZ(cd,bn)}function aN(cc,cf,cd,cg){var ce=aT("search="+l(cc)+(cf?"&search_cat="+l(cf):"")+(w(cd)?"&search_count="+cd:""),cg,"sitesearch");aZ(ce,bn)}function bl(cc,cf,ce){var cd=aT("idgoal="+cc+(cf?"&revenue="+cf:""),ce,"goal");
aZ(cd,bn)}function bO(cf,cc,cj,ci,ce){var ch=cc+"="+l(bY(cf));var cd=aR(ce,"click",cf);if(cd){ch+="&"+cd}var cg=aT(ch,cj,"link");aZ(cg,(ci?0:bn),ci)}function bV(cd,cc){if(cd!==""){return cd+cc.charAt(0).toUpperCase()+cc.slice(1)}return cc}function aM(ch){var cg,cc,cf=["","webkit","ms","moz"],ce;if(!a0){for(cc=0;cc<cf.length;cc++){ce=cf[cc];if(Object.prototype.hasOwnProperty.call(u,bV(ce,"hidden"))){if(u[bV(ce,"visibilityState")]==="prerender"){cg=true}break}}}if(cg){U(u,ce+"visibilitychange",function cd(){u.removeEventListener(ce+"visibilitychange",cd,false);ch()});return}ch()}function aQ(cc){if(u.readyState==="complete"){cc()}else{if(G.addEventListener){G.addEventListener("load",cc)}else{if(G.attachEvent){G.attachEvent("onLoad",cc)}}}}function aA(cd){var cc=false;if(u.attachEvent){cc=u.readyState==="complete"}else{cc=u.readyState!=="loading"}if(cc){cd()}else{if(u.addEventListener){u.addEventListener("DOMContentLoaded",cd)}else{if(u.attachEvent){u.attachEvent("onreadystatechange",cd)}}}}function bE(cc){var cd=bi(cc);
if(cd&&cd.type){cd.href=h(cd.href);bO(cd.href,cd.type,undefined,null,cc)}}function ca(cc){var cd,ce;cc=cc||G.event;cd=cc.which||cc.button;ce=cc.target||cc.srcElement;if(cc.type==="click"){if(ce){bE(ce)}}else{if(cc.type==="mousedown"){if((cd===1||cd===2)&&ce){bj=cd;at=ce}else{bj=at=null}}else{if(cc.type==="mouseup"){if(cd===bj&&ce===at){bE(ce)}bj=at=null}}}}function bA(cd,cc){if(cc){U(cd,"mouseup",ca,false);U(cd,"mousedown",ca,false)}else{U(cd,"click",ca,false)}}function bd(cd){if(!bz){bz=true;var ce,cc=aH(ai,"ignore"),cf=u.links;if(cf){for(ce=0;ce<cf.length;ce++){if(!cc.test(cf[ce].className)){bA(cf[ce],cd)}}}}}function bv(ce,cg,ch){if(ay){return true}ay=true;var ci=false;var cf,cd;function cc(){ci=true}aQ(function(){function cj(cl){setTimeout(function(){if(!ay){return}ci=false;ch.trackVisibleContentImpressions();cj(cl)},cl)}function ck(cl){setTimeout(function(){if(!ay){return}if(ci){ci=false;ch.trackVisibleContentImpressions()}ck(cl)},cl)}if(ce){cf=["scroll","resize"];for(cd=0;cd<cf.length;
cd++){if(u.addEventListener){u.addEventListener(cf[cd],cc)}else{G.attachEvent("on"+cf[cd],cc)}}ck(100)}if(cg&&cg>0){cg=parseInt(cg,10);cj(cg)}})}function b0(){var cd,ce,cf={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"},cc=(new RegExp("Mac OS X.*Safari/")).test(e.userAgent)?G.devicePixelRatio||1:1;if(!((new RegExp("MSIE")).test(e.userAgent))){if(e.mimeTypes&&e.mimeTypes.length){for(cd in cf){if(Object.prototype.hasOwnProperty.call(cf,cd)){ce=e.mimeTypes[cf[cd]];bT[cd]=(ce&&ce.enabledPlugin)?"1":"0"}}}if(typeof navigator.javaEnabled!=="unknown"&&w(e.javaEnabled)&&e.javaEnabled()){bT.java="1"}if(q(G.GearsFactory)){bT.gears="1"}bT.cookie=ae()}bT.res=K.width*cc+"x"+K.height*cc}b0();bk();am();return{getVisitorId:function(){return bB().uuid},getVisitorInfo:function(){return Y()
},getAttributionInfo:function(){return X()},getAttributionCampaignName:function(){return X()[0]},getAttributionCampaignKeyword:function(){return X()[1]},getAttributionReferrerTimestamp:function(){return X()[2]},getAttributionReferrerUrl:function(){return X()[3]},setTrackerUrl:function(cc){aa=cc},getTrackerUrl:function(){return aa},getSiteId:function(){return bS},setSiteId:function(cc){b8(cc)},setUserId:function(cc){if(!w(cc)||!cc.length){return}aJ=cc;a2=aX(aJ).substr(0,16)},getUserId:function(){return aJ},setCustomData:function(cc,cd){if(J(cc)){an=cc}else{if(!an){an={}}an[cc]=cd}},getCustomData:function(){return an},setCustomRequestProcessing:function(cc){au=cc},appendToTrackingUrl:function(cc){bo=cc},getRequest:function(cc){return aT(cc)},addPlugin:function(cc,cd){a[cc]=cd},setCustomVariable:function(cd,cc,cg,ce){var cf;if(!w(ce)){ce="visit"}if(!w(cc)){return}if(!w(cg)){cg=""}if(cd>0){cc=!n(cc)?String(cc):cc;cg=!n(cg)?String(cg):cg;cf=[cc.slice(0,bX),cg.slice(0,bX)];if(ce==="visit"||ce===2){Z();
ag[cd]=cf}else{if(ce==="page"||ce===3){bg[cd]=cf}else{if(ce==="event"){ab[cd]=cf}}}}},getCustomVariable:function(cd,ce){var cc;if(!w(ce)){ce="visit"}if(ce==="page"||ce===3){cc=bg[cd]}else{if(ce==="event"){cc=ab[cd]}else{if(ce==="visit"||ce===2){Z();cc=ag[cd]}}}if(!w(cc)||(cc&&cc[0]==="")){return false}return cc},deleteCustomVariable:function(cc,cd){if(this.getCustomVariable(cc,cd)){this.setCustomVariable(cc,"","",cd)}},storeCustomVariablesInCookie:function(){a6=true},setLinkTrackingTimer:function(cc){bn=cc},setDownloadExtensions:function(cc){if(n(cc)){cc=cc.split("|")}aU=cc},addDownloadExtensions:function(cd){if(n(cd)){cd=cd.split("|")}for(var cc=0;cc<cd.length;cc++){aU.push(cd[cc])}},removeDownloadExtensions:function(ce){if(n(ce)){ce=ce.split("|")}var cc=[];for(var cd=0;cd<aU.length;cd++){if(z(ce,aU[cd])===-1){cc.push(aU[cd])}}aU=cc},setDomains:function(cc){bp=n(cc)?[cc]:cc;bp.push(bM)},setIgnoreClasses:function(cc){ai=n(cc)?[cc]:cc},setRequestMethod:function(cc){bs=cc||bq},setRequestContentType:function(cc){aK=cc||bc
},setReferrerUrl:function(cc){bu=cc},setCustomUrl:function(cc){a7=bL(b5,cc)},setDocumentTitle:function(cc){aS=cc},setAPIUrl:function(cc){ax=cc},setDownloadClasses:function(cc){bf=n(cc)?[cc]:cc},setLinkClasses:function(cc){aC=n(cc)?[cc]:cc},setCampaignNameKey:function(cc){aY=n(cc)?[cc]:cc},setCampaignKeywordKey:function(cc){aP=n(cc)?[cc]:cc},discardHashTag:function(cc){ak=cc},setCookieNamePrefix:function(cc){b3=cc;ag=ar()},setCookieDomain:function(cc){aq=y(cc);bk()},setCookiePath:function(cc){b4=cc;bk()},setVisitorCookieTimeout:function(cc){aw=cc*1000},setSessionCookieTimeout:function(cc){az=cc*1000},setReferralCookieTimeout:function(cc){ba=cc*1000},setConversionAttributionFirstReferrer:function(cc){a5=cc},disableCookies:function(){ao=true;bT.cookie="0"},deleteCookies:function(){W()},setDoNotTrack:function(cd){var cc=e.doNotTrack||e.msDoNotTrack;bW=cd&&(cc==="yes"||cc==="1");if(bW){this.disableCookies()}},addListener:function(cd,cc){bA(cd,cc)},enableLinkTracking:function(cc){bU=true;if(p){bd(cc)
}else{E.push(function(){bd(cc)})}},enableJSErrorTracking:function(){if(b9){return}b9=true;var cc=G.onerror;G.onerror=function(ch,cf,ce,cg,cd){aM(function(){var ci="JavaScript Errors";var cj=cf+":"+ce;if(cg){cj+=":"+cg}al(ci,cj,ch)});if(cc){return cc(ch,cf,ce,cg,cd)}return false}},disablePerformanceTracking:function(){a1=false},setGenerationTimeMs:function(cc){aI=parseInt(cc,10)},setHeartBeatTimer:function(ce,cd){var cc=new Date();aj=cc.getTime()+ce*1000;aG=cd*1000},killFrame:function(){if(G.location!==G.top.location){G.top.location=G.location}},redirectFile:function(cc){if(G.location.protocol==="file:"){G.location=cc}},setCountPreRendered:function(cc){a0=cc},trackGoal:function(cc,ce,cd){aM(function(){bl(cc,ce,cd)})},trackLink:function(cd,cc,cf,ce){aM(function(){bO(cd,cc,cf,ce)})},trackPageView:function(cc,cd){ah=[];if(A(bS)){aM(function(){M(aa,ax,bS)})}else{aM(function(){be(cc,cd)})}},trackAllContentImpressions:function(){if(A(bS)){return}aM(function(){aA(function(){var cc=m.findContentNodes();
var cd=aW(cc);ap(cd,bn)})})},trackVisibleContentImpressions:function(cc,cd){if(A(bS)){return}if(!w(cc)){cc=true}if(!w(cd)){cd=750}bv(cc,cd,this);aM(function(){aQ(function(){var ce=m.findContentNodes();var cf=bC(ce);ap(cf,bn)})})},trackContentImpression:function(ce,cc,cd){if(A(bS)){return}if(!ce){return}cc=cc||"Unknown";aM(function(){var cf=bN(ce,cc,cd);aZ(cf,bn)})},trackContentImpressionsWithinNode:function(cc){if(A(bS)||!cc){return}aM(function(){if(ay){aQ(function(){var cd=m.findContentNodesWithinNode(cc);var ce=bC(cd);ap(ce,bn)})}else{aA(function(){var cd=m.findContentNodesWithinNode(cc);var ce=aW(cd);ap(ce,bn)})}})},trackContentInteraction:function(ce,cf,cc,cd){if(A(bS)){return}if(!ce||!cf){return}cc=cc||"Unknown";aM(function(){var cg=b7(ce,cf,cc,cd);aZ(cg,bn)})},trackContentInteractionNode:function(cd,cc){if(A(bS)||!cd){return}aM(function(){var ce=aV(cd,cc);aZ(ce,bn)})},trackEvent:function(cd,cf,cc,ce){aM(function(){al(cd,cf,cc,ce)})},trackSiteSearch:function(cc,ce,cd){aM(function(){aN(cc,ce,cd)
})},setEcommerceView:function(cf,cc,ce,cd){if(!w(ce)||!ce.length){ce=""}else{if(ce instanceof Array){ce=JSON2.stringify(ce)}}bg[5]=["_pkc",ce];if(w(cd)&&String(cd).length){bg[2]=["_pkp",cd]}if((!w(cf)||!cf.length)&&(!w(cc)||!cc.length)){return}if(w(cf)&&cf.length){bg[3]=["_pks",cf]}if(!w(cc)||!cc.length){cc=""}bg[4]=["_pkn",cc]},addEcommerceItem:function(cg,cc,ce,cd,cf){if(cg.length){bF[cg]=[cg,cc,ce,cd,cf]}},trackEcommerceOrder:function(cc,cg,cf,ce,cd,ch){bJ(cc,cg,cf,ce,cd,ch)},trackEcommerceCartUpdate:function(cc){b2(cc)}}}function v(){return{push:R}}U(G,"beforeunload",S,false);o();Date.prototype.getTimeAlias=Date.prototype.getTime;L=new D();var r={setTrackerUrl:1,setAPIUrl:1,setUserId:1,setSiteId:1,disableCookies:1,enableLinkTracking:1};var d;for(t=0;t<_paq.length;t++){d=_paq[t][0];if(r[d]){R(_paq[t]);delete _paq[t];if(r[d]>1){if(console!==undefined&&console&&console.error){console.error("The method "+d+' 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')
}}r[d]++}}for(t=0;t<_paq.length;t++){if(_paq[t]){R(_paq[t])}}_paq=new v();c={addPlugin:function(W,X){a[W]=X},getTracker:function(W,X){if(!w(X)){X=this.getAsyncTracker().getSiteId()}if(!w(W)){W=this.getAsyncTracker().getTrackerUrl()}return new D(W,X)},getAsyncTracker:function(){return L}};if(typeof define==="function"&&define.amd){define("piwik",[],function(){return c})}return c}())}if(window&&window.piwikAsyncInit){window.piwikAsyncInit()}(function(){var a=(typeof AnalyticsTracker);if(a==="undefined"){AnalyticsTracker=Piwik}}());if(typeof piwik_log!=="function"){piwik_log=function(b,f,d,g){function a(h){try{return eval("piwik_"+h)}catch(i){}return}var c,e=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 */
};
|