PageSourceSearch

https://www.trackglobalsolutions.com/wp-content/cache/autoptimize/…_fd01f3ce8b16aece66cb10f2eeeb1c39.js?v=5991

js trackglobalsolutions.com collected 2026-10-04 09:44:05 UTC 933 bytes, 5 lines download raw bytes

1(function(){function getAltHref(lang){var el=document.querySelector('link[rel="alternate"][hreflang="'+lang+'"]');return el?el.getAttribute("href"):null;}
2function normalizeLang(l){if(!l)return"";return l.toLowerCase().split("-")[0];}
3function initLanguageSwitcher(){var buttons=document.querySelectorAll(".tgs-lang__btn[data-lang]");if(!buttons.length)return;var currentLang=normalizeLang(document.documentElement.getAttribute("lang"));buttons.forEach(function(btn){var lang=btn.getAttribute("data-lang");var href=getAltHref(lang);if(!href){href=(lang==="en")?"/en/":"/";}
4btn.setAttribute("href",href);if(normalizeLang(lang)===currentLang){btn.classList.add("is-active");btn.setAttribute("aria-current","page");}else{btn.classList.remove("is-active");btn.removeAttribute("aria-current");}});}
5if(document.readyState==="loading"){document.addEventListener("DOMContentLoaded",initLanguageSwitcher);}else{initLanguageSwitcher();}})();

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.