PageSourceSearch

https://www.equipfoods.com/cdn/shop/t/222/assets/countdown-timer.js?v=158096754166906381501787248781

js equipfoods.com collected 2026-09-25 15:11:40 UTC 1,732 bytes, 2 lines download raw bytes

1(function(){"use strict";const pad=value=>String(Math.max(0,value)).padStart(2,"0"),parseEndDate=dateString=>{if(!dateString)return null;const parts=dateString.split(",").map(part=>parseInt(part.trim(),10));if(parts.length<3||parts.some(part=>Number.isNaN(part)))return null;const[year,month,day,hour=0,minute=0,second=0]=parts;return Date.UTC(year,month-1,day,hour,minute,second)+288e5},initTimer=timerElement=>{const endDateString=timerElement.dataset.countdownEndDate,targetUTC=parseEndDate(endDateString);if(!targetUTC){timerElement.hidden=!0;return}const daysEl=timerElement.querySelector("[data-days]"),hoursEl=timerElement.querySelector("[data-hours]"),minutesEl=timerElement.querySelector("[data-minutes]"),secondsEl=timerElement.querySelector("[data-seconds]");let timerId=null;const updateTimer=()=>{const nowUTC=Date.now(),remaining=targetUTC-nowUTC;if(remaining<=0){timerElement.hidden=!0,timerId&&(window.clearInterval(timerId),timerId=null);return}timerElement.hidden=!1;const totalSeconds=Math.floor(remaining/1e3),days=Math.floor(totalSeconds/(1440*60)),hours=Math.floor(totalSeconds%(1440*60)/3600),minutes=Math.floor(totalSeconds%3600/60),seconds=totalSeconds%60;daysEl&&(daysEl.textContent=pad(days)),hoursEl&&(hoursEl.textContent=pad(hours)),minutesEl&&(minutesEl.textContent=pad(minutes)),secondsEl&&(secondsEl.textContent=pad(seconds))};updateTimer(),timerId=window.setInterval(updateTimer,1e3)},initAllTimers=()=>{document.querySelectorAll("[data-countdown-timer]").forEach(initTimer)};document.readyState==="loading"?document.addEventListener("DOMContentLoaded",initAllTimers,{once:!0}):initAllTimers()})();
2//# sourceMappingURL=/cdn/shop/t/222/assets/countdown-timer.js.map?v=158096754166906381501787248781

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.