PageSourceSearch

https://onlyhere.app/_astro/EventCard.astro_astro_type_script_index_0_lang.CCj1Q1Qb.js

js onlyhere.app collected 2026-10-02 01:14:31 UTC 861 bytes, 1 lines download raw bytes

1import{i as s}from"./app-prompt.DyIYqfod.js";import{i as f}from"./format.DVo3rwEI.js";globalThis.process??={};globalThis.process.env??={};const a=3*3600;function l(n,e,t){if(typeof n!="number"||!Number.isFinite(n))return null;if(f(n))return typeof e=="number"&&Number.isFinite(e)&&e-n>86400&&t>=n&&t<e?"On now":null;if(t>=n)return typeof e=="number"&&Number.isFinite(e)&&t<e?e-t<=a?"Ending soon":"On now":null;const r=n-t;return r<=a?`Starts in ${Math.max(1,Math.ceil(r/3600))}h`:null}s();const u=()=>{const n=Math.floor(Date.now()/1e3);document.querySelectorAll("[data-card-fresh]").forEach(e=>{const t=Number(e.dataset.start);if(!e.dataset.start||!Number.isFinite(t))return;const r=e.dataset.end?Number(e.dataset.end):null,i=l(t,r,n),o=i??e.dataset.day??"";o&&(e.textContent!==o&&(e.textContent=o),e.classList.toggle("is-hot",!!i))})};u();setInterval(u,6e4);

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.