PageSourceSearch

https://slamjam.com/cdn/shop/t/493/assets/hello-bar.min.js?v=131966851898567290701784710841

js slamjam.com collected 2026-09-24 08:50:36 UTC 1,328 bytes, 1 lines download raw bytes

1customElements.get("hello-bar")||customElements.define("hello-bar",class extends HTMLElement{constructor(){super(),this.dateUtils=new DateUtils}connectedCallback(){this.handleScheduledMessages(),this.handleCountdowns()}handleScheduledMessages(){var t=this.querySelectorAll("[data-message]");t?.length&&Array.from(t).forEach(t=>{this.handleSchedule.bind(this,t)()})}handleSchedule(t){var e=this.dateUtils.getCurrentUTCDate(),a=t.dataset.startDate&&this.dateUtils.formatDate(t.dataset.startDate),s=t.dataset.endDate&&this.dateUtils.formatDate(t.dataset.endDate);console.log("startDate",a),console.log("endDate",s),(!a||a<=e)&&(!s||e<=s)&&t.classList.remove("twcss-sr-only")}handleCountdowns(){this.querySelectorAll("[data-message] [data-countdown]")&&(Array.from(this.querySelectorAll("[data-countdown]")).forEach(t=>{this.handleCountdown.bind(this,t)()}),setInterval(async()=>{Array.from(this.querySelectorAll("[data-countdown]")).forEach(t=>{this.handleCountdown.bind(this,t)()})},1e3))}getCountdownDifference=t=>{var e=this.dateUtils.getCurrentUTCDate();return this.dateUtils.formatDate(t)-e};handleCountdown(t){var e=this.getCountdownDifference(t.dataset.countdown);-1!==Math.sign(e)&&(e=this.dateUtils.getTimeObjFromMS(this.getCountdownDifference(t.dataset.countdown)),e=this.dateUtils.getTimeString(e),t.innerText=" "+e)}});

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.