website/_site/assets/analytics-1ed1e14dc3b33a31d62e4a1f4da624abd119a75fa549edaa290b7a5afa16d5fa4b7daf7e1270eec5dd50bcf1992aa9a20875d731232f4416831bb095120cc668.js

5 lines
53 KiB
JavaScript
Raw Normal View History

2021-08-27 16:31:53 +02:00
"object"!=typeof _paq&&(_paq=[]),"object"!=typeof window.Matomo&&(window.Matomo=window.Piwik=function(){function t(t){try{return et(t)}catch(e){return unescape(t)}}function e(t){return"undefined"!==typeof t}function n(t){return"function"==typeof t}function i(t){return"object"==typeof t}function r(t){return"string"==typeof t||t instanceof String}function o(t){return"number"==typeof t||t instanceof Number}function a(t){return e(t)&&(o(t)||r(t)&&t.length)}function s(t){if(!t)return!0;var e,n=!0;for(e in t)Object.prototype.hasOwnProperty.call(t,e)&&(n=!1);return n}function u(t){"undefined"!==typeof console&&console&&console.error&&console.error(t)}function c(){var t,e,n,i,o;for(t=0;t<arguments.length;t+=1){var a,s;if(o=null,arguments[t]&&arguments[t].slice&&(o=arguments[t].slice()),r(n=(i=arguments[t]).shift())&&n.indexOf("::")>0)s=(a=n.split("::"))[0],n=a[1],"object"==typeof z[s]&&"function"==typeof z[s][n]?z[s][n].apply(z[s],i):o&&it.push(o);else for(e=0;e<nt.length;e++)if(r(n)){s=nt[e];var c=n.indexOf(".")>0;if(c)if(a=n.split("."),s&&"object"==typeof s[a[0]])s=s[a[0]],n=a[1];else if(o){it.push(o);break}if(s[n])s[n].apply(s,i);else{var f="The method '"+n+'\' was not found in "_paq" variable. Please have a look at the Matomo tracker documentation: https://developer.matomo.org/api-reference/tracking-javascript';if(u(f),!c)throw new TypeError(f)}if("addTracker"===n)break;if("setTrackerUrl"===n||"setSiteId"===n)break}else n.apply(nt[e],i)}}function f(t,e,n,i){return t.addEventListener?(t.addEventListener(e,n,i),!0):t.attachEvent?t.attachEvent("on"+e,n):void(t["on"+e]=n)}function l(t){"complete"===Q.readyState?t():$.addEventListener?$.addEventListener("load",t,!1):$.attachEvent&&$.attachEvent("onload",t)}function d(t){var e=!1;(e=Q.attachEvent?"complete"===Q.readyState:"loading"!==Q.readyState)?t():(Q.addEventListener?f(Q,"DOMContentLoaded",function n(){Q.removeEventListener("DOMContentLoaded",n,!1),e||(e=!0,t())}):Q.attachEvent&&(Q.attachEvent("onreadystatechange",function i(){"complete"===Q.readyState&&(Q.detachEvent("onreadystatechange",i),e||(e=!0,t()))}),Q.documentElement.doScroll&&$===$.top&&function r(){if(!e){try{Q.documentElement.doScroll("left")}catch(n){return void setTimeout(r,0)}e=!0,t()}}()),f($,"load",function(){e||(e=!0,t())},!1))}function h(t,e,n){if(!t)return"";var i,r,o="";for(i in J)Object.prototype.hasOwnProperty.call(J,i)&&(J[i]&&"function"==typeof J[i][t])&&(r=(0,J[i][t])(e||{},n))&&(o+=r);return o}function g(){var t;st=!0,h("unload");var e=(t=new Date).getTimeAlias();if(W-e>3e3&&(W=e+3e3),W)do{t=new Date}while(t.getTimeAlias()<W)}function m(t,e){var n=Q.createElement("script");n.type="text/javascript",n.src=t,n.readyState?n.onreadystatechange=function(){var t=this.readyState;"loaded"!==t&&"complete"!==t||(n.onreadystatechange=null,e())}:n.onload=e,Q.getElementsByTagName("head")[0].appendChild(n)}function p(){var t="";try{t=$.top.document.referrer}catch(e){if($.parent)try{t=$.parent.document.referrer}catch(n){t=""}}return""===t&&(t=Q.referrer),t}function v(t){var e=new RegExp("^([a-z]+):").exec(t);return e?e[1]:null}function C(t){var e=new RegExp("^(?:(?:https?|ftp):)/*(?:[^@]+@)?([^:/#]+)").exec(t);return e?e[1]:t}function T(t,e){return 0===(t=String(t)).lastIndexOf(e,0)}function N(t,e){return-1!==(t=String(t)).indexOf(e,t.length-e.length)}function b(t,e){return-1!==(t=String(t)).indexOf(e)}function k(t,e){return(t=String(t)).substr(0,t.length-e)}function w(t,e,n){n||(n="");var i=(t=String(t)).indexOf("#"),r=t.length;-1===i&&(i=r);var o=t.substr(0,i),a=t.substr(i,r-i);return-1===o.indexOf("?")?o+="?":N(o,"?")||(o+="&"),o+tt(e)+"="+tt(n)+a}function y(t,e){if(-1===(t=String(t)).indexOf("?"+e+"=")&&-1===t.indexOf("&"+e+"="))return t;var n=t.indexOf("?");if(-1===n)return t;var i=t.substr(n+1),r=t.substr(0,n);if(i){var o="",a=i.indexOf("#");-1!==a&&(o=i.substr(a+1),i=i.substr(0,a));for(var s=i.split("&"),u=s.length-1;u>=0;u--)s[u].split("=")[0]===e&&s.splice(u,1);var c=s.join("&");c&&(r=r+"?"+c),o&&(r+="#"+o)}return r}function A(e,n){var i=new RegExp("[\\?&#]"+n+"=([^&#]*)").exec(e);return i?t(i[1]):""}func
"None"===(t=(t=String(t)).charAt(0).toUpperCase()+t.toLowerCase().slice(1))||"Lax"===t||"Strict"===t?("None"===t&&("https:"===location.protocol?this.setSecureCookie(!0):(u("sameSite=None cannot be used on http, reverted to sameSite=Lax."),t="Lax")),On=t):u("Ignored value for sameSite. Please use either Lax, None, or Strict.")},this.disableCookies=function(){In=!0,dn&&Ht()},this.areCookiesEnabled=function(){return!In},this.setCookieConsentGiven=function(){In&&!Ge&&(In=!1,dn&&ci&&(Dt(),Tt(Yt("ping=1",null,"ping"),bn)))},this.requireCookieConsent=function(){return!this.getRememberedCookieConsent()&&(this.disableCookies(),!0)},this.getRememberedCookieConsent=function(){return g(Ke)},this.forgetCookieConsentGiven=function(){yt(Ke,je,De),this.disableCookies()},this.rememberCookieConsentGiven=function(t){t=t?60*t*60*1e3:94608e7,this.setCookieConsentGiven();var e=(new Date).getTime();m(Ke,e,t,je,De,Sn,On)},this.deleteCookies=function(){Ht()},this.setDoNotTrack=function(t){var e=X.doNotTrack||X.msDoNotTrack;(Ge=t&&("yes"===e||"1"===e))&&this.disableCookies()},this.alwaysUseSendBeacon=function(){kn=!0},this.disableAlwaysUseSendBeacon=function(){kn=!1},this.addListener=function(t,e){xe(t,e,!1)},this.enableLinkTracking=function(t){if(!Qn){Qn=!0;d(function(){!0,xe(Q.body,t,!0)})}},this.enableJSErrorTracking=function(){if(!rn){rn=!0;var t=$.onerror;$.onerror=function(e,n,i,r,o){return be(function(){var t="JavaScript Errors",o=n+":"+i;r&&(o+=":"+r),-1===q(si,t+o+e)&&(si.push(t+o+e),pe(t,o,e))}),!!t&&t(e,n,i,r,o)}}},this.disablePerformanceTracking=function(){qn=!1},this.enableHeartBeatTimer=function(t){t=Math.max(t||15,5),Pe=1e3*t,null!==Zn&&pt()},this.disableHeartBeatTimer=function(){(Pe||Kn)&&($.removeEventListener?($.removeEventListener("focus",ht),$.removeEventListener("blur",mt)):$.detachEvent&&($.detachEvent("onfocus",ht),$.detachEvent("onblur",mt))),Pe=null,Kn=!1},this.killFrame=function(){$.location!==$.top.location&&($.top.location=$.location)},this.redirectFile=function(t){"file:"===$.location.protocol&&($.location=t)},this.setCountPreRendered=function(t){He=t},this.trackGoal=function(t,e,n,i){be(function(){Ce(t,e,n,i)})},this.trackLink=function(t,e,n,i){be(function(){Te(t,e,n,i)})},this.getNumTrackedPageViews=function(){return ni},this.trackPageView=function(t,e,n){zn=[],ai=[],si=[],V(dn)?be(function(){U(cn,fn,dn)}):be(function(){ni++,$t(t,e,n)})},this.trackAllContentImpressions=function(){V(dn)||be(function(){d(function(){var t=le(ct.findContentNodes());fi.pushMultiple(t)})})},this.trackVisibleContentImpressions=function(t,n){V(dn)||(e(t)||(t=!0),e(n)||(n=750),Re(t,n,this),be(function(){l(function(){var t=de(ct.findContentNodes());fi.pushMultiple(t)})}))},this.trackContentImpression=function(t,e,n){V(dn)||(t=E(t),e=E(e),n=E(n),t&&(e=e||"Unknown",be(function(){var i=he(t,e,n);fi.push(i)})))},this.trackContentImpressionsWithinNode=function(t){!V(dn)&&t&&be(function(){Jn?l(function(){var e=de(ct.findContentNodesWithinNode(t));fi.pushMultiple(e)}):d(function(){var e=le(ct.findContentNodesWithinNode(t));fi.pushMultiple(e)})})},this.trackContentInteraction=function(t,e,n,i){V(dn)||(t=E(t),e=E(e),n=E(n),i=E(i),t&&e&&(n=n||"Unknown",be(function(){var r=re(t,e,n,i);r&&fi.push(r)})))},this.trackContentInteractionNode=function(t,e){if(!V(dn)&&t){var n=null;return be(function(){(n=ge(t,e))&&fi.push(n)}),n}},this.logAllContentBlocksOnPage=function(){var t=ct.findContentNodes(),e=ct.collectContent(t);"undefined"!==typeof console&&console&&console.log&&console.log(e)},this.trackEvent=function(t,e,n,i,r,o){be(function(){pe(t,e,n,i,r,o)})},this.trackSiteSearch=function(t,e,n,i){zn=[],be(function(){ve(t,e,n,i)})},this.setEcommerceView=function(t,n,i,r){Fn={},a(i)&&(i=String(i)),e(i)&&null!==i&&!1!==i&&i.length?i instanceof Array&&(i=$.JSON.stringify(i)):i="";var o="_pkc";Fn[o]=i,e(r)&&null!==r&&!1!==r&&String(r).length&&(Fn[o="_pkp"]=r),(a(t)||a(n))&&(a(t)&&(Fn[o="_pks"]=t),a(n)||(n=""),Fn[o="_pkn"]=n)},this.getEcommerceItems=function(){return JSON.parse(JSON.stringify(Wn))},this.addEcommerceItem=function(t,e,n,i,r){a(t)&&(Wn[t]=[String(t),e
//# sourceMappingURL=/assets/source-maps/analytics.js.map
//# sourceURL=_assets/javascripts/analytics.js