PageSourceSearch

https://twoblindbrothers.com/cdn/shop/t/278/assets/social-counts.js?v=101364992188821811461773663808

js twoblindbrothers.com collected 2026-09-24 19:23:33 UTC 1,591 bytes, 2 lines download raw bytes

1(function(){var KEY="socialCounts",FETCH_KEY="socialCountsFetched",TTL=864e5,API_URL=window.SOCIAL_COUNTS_API_URL||"https://shiny-recipe-aaa4.avramenkodima98.workers.dev/";function formatCount(n){return n>=1e6?(n/1e6).toFixed(1).replace(/\.0$/,"")+"M":n>=1e3?(n/1e3).toFixed(1).replace(/\.0$/,"")+"K":String(n)}function apply(arr){Array.isArray(arr)&&document.querySelectorAll(".social-count").forEach(function(el,i){arr[i]&&(el.textContent=arr[i])})}function fromApi(data){return!data||typeof data.instagram!="number"||typeof data.facebook!="number"||typeof data.tiktok!="number"?null:[formatCount(data.instagram),formatCount(data.facebook),formatCount(data.tiktok)]}function runUpdate(fallbackCounts){try{var last=parseInt(sessionStorage.getItem(FETCH_KEY)||"0",10);if(Date.now()-last<36e5)return;sessionStorage.setItem(FETCH_KEY,String(Date.now()))}catch(e){return}fetch(API_URL).then(function(r){return r.ok?r.json():Promise.reject()}).then(function(data){var counts=fromApi(data);if(counts){var payload={counts:counts,updatedAt:data.updatedAt||Date.now()};try{localStorage.setItem(KEY,JSON.stringify(payload))}catch(e){}apply(counts)}else fallbackCounts&&apply(fallbackCounts)}).catch(function(){fallbackCounts&&apply(fallbackCounts)})}var cached;try{var raw=localStorage.getItem(KEY);raw&&(cached=JSON.parse(raw))}catch(e){}cached&&cached.counts&&apply(cached.counts),(!cached||!cached.counts||cached.updatedAt>0&&Date.now()-cached.updatedAt>=TTL)&&runUpdate(cached&&cached.counts)})();
2//# sourceMappingURL=/cdn/shop/t/278/assets/social-counts.js.map?v=101364992188821811461773663808

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.