1(function () { 2 var osanoBase = 'https://cmp.osano.com/AzZnbCUEeiSNI3HAM/34ae207c-31eb-49fd-a316-5e07903e0bac/osano.js'; 3 4 function loadOsano(src) { 5 var s = document.createElement('script'); 6 s.src = src; 7 document.head.appendChild(s); 8 } 9 10 fetch('https://api.ipinfo.io/lite/me?token=90d0954fb252d5') 11 .then(function (response) { return response.json(); }) 12 .then(function (data) { 13 // Australian users get the "one" variant; everyone else gets the default config 14 if (data && data.country_code === 'AU') { 15 loadOsano(osanoBase + '?variant=one'); 16 } else { 17 loadOsano(osanoBase); 18 } 19 }) 20 .catch(function () { 21 // On any lookup failure, fall back to the default Osano config so consent still loads 22 loadOsano(osanoBase); 23 }); 24})();
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.