Ubuntu

­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­ /*!! * Matomo - free/libre analytics platform * * Matomo Tag Manager * * @link https://matomo.org * @source https://github.com/matomo-org/tag-manager/blob/master/js/piwik.js * @license https://matomo.org/free-software/bsd/ BSD-3 Clause (also in js/LICENSE.txt) */ (function(){var b=document;var a=window; /*!!! windowLevelSettingsHook */ ; /*!!! previewModeHook */ ;if(typeof window.MatomoTagManager!=="object"){if(typeof window._mtm!=="object"){window._mtm=[]}window.MatomoTagManager=(function(){var l=new Date().getTime();function j(){if(window.mtmPreviewWindow&&"object"===typeof window.mtmPreviewWindow.mtmLogs){var H=new Date();var J=[];for(var I=0;IH;case"greater_than_or_equals":return K>=H;case"contains":return String(K).indexOf(H)!==-1;case"match_css_selector":if(!H||!K){return false}var i=B.bySelector(H);return C.indexOfArray(i,K)!==-1;case"starts_with":return String(K).indexOf(H)===0;case"ends_with":return String(K).substring(K.length-H.length,K.length)===H}return false},compare:function(K,H,I){var J=String(I).indexOf("not_")===0;if(J){I=String(I).substr("not_".length)}var i=this._compare(K,H,I);if(J){return !i}return i},trim:function(i){if(i&&String(i)===i){return i.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"")}return i},isDefined:function(H){var i=typeof H;return i!=="undefined"},isFunction:function(i){return typeof i==="function"},isObject:function(i){return typeof i==="object"&&i!==null},isString:function(i){return typeof i==="string"},isNumber:function(i){return typeof i==="number" },isArray:function(H){if(!C.isObject(H)){return false}if("function"===typeof Array.isArray&&Array.isArray){return Array.isArray(H)}var I=Object.prototype.toString;var i=I.call([]);return I.call(H)===i},hasProperty:function(i,H){return Object.prototype.hasOwnProperty.call(i,H)},indexOfArray:function(J,I){if(!J){return -1}if("function"===typeof J.indexOf&&J.indexOf){return J.indexOf(I)}if(!this.isArray(J)){return -1}for(var H=0;Hi.getTime()){return false}return true},convertStringToDate:function(i){var H=(i&&i.split(" ").length>2);i=i+(i&&i.toLowerCase()!=="invalid date"&&!H?" UTC":"");return new Date(i)}};var s={parseUrl:function(i,K){try{var L=document.createElement("a");L.href=i;var H=L.href;L=document.createElement("a");L.href=H;if(K&&K in L){if("hash"===K){return String(L[K]).replace("#","")}else{if("protocol"===K){return String(L[K]).replace(":","")}else{if("search"===K){return String(L[K]).replace("?","")}else{if("port"===K&&!L[K]){if(L.protocol==="https:"){return"443"}else{if(L.protocol==="http:"){return"80"}}}}}}if("pathname"===K&&L[K]&&String(L[K]).substr(0,1)!=="/"){return"/"+L[K]}if("port"===K&&L[K]){return String(L[K])}return L[K]}if("origin"===K&&"protocol" in L&&L.protocol){return L.protocol+"//"+L.hostname+(L.port?":"+L.port:"") }return}catch(J){if("function"===typeof URL){var I=new URL(i);if(K&&K in I){if("hash"===K){return String(I[K]).replace("#","")}else{if("protocol"===K){return String(I[K]).replace(":","")}else{if("search"===K){return String(I[K]).replace("?","")}else{if("port"===K&&!I[K]){if(I.protocol==="https:"){return"443"}else{if(I.protocol==="http:"){return"80"}}}}}}return I[K]}return}}},decodeSafe:function(H){try{return a.decodeURIComponent(H)}catch(i){return a.unescape(H)}},getQueryParameter:function(L,H){if(!C.isDefined(H)){H=a.location.search}if(!H||!C.isDefined(L)||L===null||L===false||L===""){return null}var i=H.substr(0,1);if(H!=="?"&&H!=="&"){H="?"+H}L=L.replace("[","\\[");L=L.replace("]","\\]");var K=new RegExp("[?&]"+L+"(=([^&#]*)|&|#|$)");var J=K.exec(H);if(!J){return null}if(!J[2]){return""}var I=J[2].replace(/\+/g," ");return this.decodeSafe(I)}};var c;var E={hasSetupScroll:false,scrollCallbacks:[],scrollListenEvents:["scroll","resize"],offScroll:function(H){if(H in this.scrollCallbacks){this.scrollCallbacks[H]=null }var J=0,I=0;for(J in this.scrollCallbacks){if(this.scrollCallbacks[J]){I++}}if(!I){for(J=0;J"))},isAttributeContext:function(N,L){if(!N||!L){return false}N=String(N).replace(/([\s\uFEFF\xA0]*=[\s\uFEFF\xA0]*)/g,"=");var I=N.lastIndexOf("<");if(I===-1){return false}var P=N.substring(I);var H=P.indexOf(">");if(H!==-1){return false}var O=P.lastIndexOf("=");if(O===-1){return false}var K=P.lastIndexOf(" ",O);var M=P.substring(K,O);M=C.trim(M);if(M.toLowerCase()!==L.toLowerCase()){return false}var J=P.substring(O).replace("=","");var i=J.substring(0,1);if('"'===i){return -1===J.substring(1).indexOf('"')}else{if("'"===i){return -1===J.substring(1).indexOf("'")}}return -1===J.indexOf(" ")},onLoad:function(i){if(b.readyState==="complete"){i() }else{if(a.addEventListener){a.addEventListener("load",i)}else{if(a.attachEvent){a.attachEvent("onload",i)}}}},onReady:function(I){var i=false;if(b.attachEvent){i=b.readyState==="complete"}else{i=b.readyState!=="loading"}if(i){I();return}if(b.addEventListener){this.addEventListener(b,"DOMContentLoaded",function H(){b.removeEventListener("DOMContentLoaded",H,false);if(!i){i=true;I()}})}else{if(b.attachEvent){b.attachEvent("onreadystatechange",function H(){if(b.readyState==="complete"){b.detachEvent("onreadystatechange",H);if(!i){i=true;I()}}})}}this.onLoad(function(){if(!i){i=true;I()}})},onClick:function(H,i){if(typeof i==="undefined"){i=b.body}m.dom.addEventListener(i,"click",function(I){var J=(I.which?I.which:1);if(J===1){H(I,"left")}},true);m.dom.addEventListener(i,"auxclick",function(I){var J=(I.which?I.which:2);if(J===2){H(I,"middle")}},true);m.dom.addEventListener(i,"contextmenu",function(I){var J=(I.which?I.which:3);if(J===3){H(I,"right")}},true)},shouldElementBeMasked:function(H){if(typeof H==="undefined"){return false }if(H.hasAttribute("data-matomo-mask")||H.hasAttribute("data-piwik-mask")){return true}if(H.hasAttribute("data-matomo-unmask")||H.hasAttribute("data-piwik-unmask")){return false}var i=H.parentElement;while(i){if(i.hasAttribute("data-matomo-mask")||i.hasAttribute("data-piwik-mask")){return true}if(i.hasAttribute("data-matomo-unmask")||i.hasAttribute("data-piwik-unmask")){return false}i=i.parentElement}return false},elementHasMaskedChild:function(i){if(typeof i==="undefined"){return false}if(i.children.length===0){return false}if(i.hasAttribute("data-matomo-mask")||i.hasAttribute("data-piwik-mask")||m.dom.shouldElementBeMasked(i)){return true}return i.querySelector("[data-matomo-mask],[data-piwik-mask]")!==null},getElementTextWithMaskedChildren:function(I){var L="";var K=I.children;for(var H=0;H0;if(M){var H,K;H=I.split("::");K=H[0];I=H[1];if("object"===typeof m[K]&&C.isFunction(m[K][I])){m[K][I].apply(m[K],N)}}else{if(I&&I in m&&C.isFunction(m[I])){m[I].apply(m,N)}else{z.error("method "+I+" is not valid")}}}}C.setMethodWrapIfNeeded(a._mtm,"push",g);var w;for(w=0;w