PageSourceSearch

https://www.insiderstore.com.br/cdn/shop/t/1700/assets/tracking-geolocation.js?v=20822833855396293511790023073

js insiderstore.com.br collected 2026-09-24 17:49:50 UTC 1,782 bytes, 2 lines download raw bytes

1!function(){var e="__insider_tracking_geo",n=864e5,t=864e5,o=36e5,r=3e5,a=1,c=2,u=3;function i(){return window.__tracking}function l(){for(var e,n,t=arguments.length,o=new Array(t),r=0;r<t;r++)o[r]=arguments[r];null===(n=i())||void 0===n||(e=n).log.apply(e,["geolocation"].concat(o))}function d(e){return"number"==typeof e.lat}function g(){try{var c=localStorage.getItem(e);if(!c)return null;var i=JSON.parse(c);return i&&"number"==typeof i.ts?Date.now()-i.ts>(d(l=i)?n:l.error===a?t:l.error===u?r:o)?null:i:null}catch(e){return null}var l}function s(n){try{localStorage.setItem(e,JSON.stringify(n))}catch(e){}}function f(e,n){var t;null===(t=i())||void 0===t||t.trackEvent("geo_ready",{geo_lat:e.lat,geo_lng:e.lng,geo_accuracy:e.accuracy,geo_status:"cached"===n?"cached":"ok"}),l("resolved",n,e)}function v(e,n){var t,o=function(e){return e===a?"denied":e===c?"unavailable":e===u?"timeout":"unknown"}(e);null===(t=i())||void 0===t||t.trackEvent("geo_ready",{geo_status:"cached"===n?o+"_cached":o}),l("failure",n,o,e)}function y(){var e=g();e?d(e)?f(e,"cached"):v(e.error,"cached"):(l("no cache, requesting fresh position"),function(){var e;if(!("geolocation"in navigator))return s({error:c,ts:Date.now()}),null===(e=i())||void 0===e||e.trackEvent("geo_ready",{geo_status:"unsupported"}),void l("unsupported");navigator.geolocation.getCurrentPosition((function(e){var n={lat:e.coords.latitude,lng:e.coords.longitude,accuracy:e.coords.accuracy,ts:Date.now()};s(n),f(n,"fresh")}),(function(e){s({error:e.code,ts:Date.now()}),v(e.code,"fresh")}),{timeout:8e3,maximumAge:0,enableHighAccuracy:!1})}())}var _=i();_&&"function"==typeof _.onReady?_.onReady(y):window.addEventListener("tracking:ready",(function(){return y()}),{once:!0})}();
2//# sourceMappingURL=tracking-geolocation.js.map

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.