PageSourceSearch

https://lji.io/_site/_blog/Reinventing.astro_astro_type_script_index_0_lang.CWvPaXzC.js

js lji.io collected 2026-10-03 20:16:54 UTC 695 bytes, 1 lines download raw bytes

1import{n as e,r as t}from"./motion.CqZNisNe.js";var n=1800,r=700,i=e=>e>=1?1:1-2**(-10*e);document.querySelectorAll(`[data-count-group]`).forEach(a=>{if(t())return;let o=Array.from(a.querySelectorAll(`[data-count]`)).map(e=>{let t=e.dataset.count??``,n=t.match(/^(\d+)(.*)$/);if(!n)throw Error(`Reinventing: stat "${t}" does not start with a number`);return e.setAttribute(`aria-label`,t),e.textContent=`0${n[2]}`,{el:e,target:Number(n[1]),suffix:n[2]}}),s=e(a,e=>{if(!e)return;s();let t=performance.now()+r,a=e=>{let r=Math.max(0,Math.min(1,(e-t)/n));o.forEach(({el:e,target:t,suffix:n})=>{e.textContent=`${Math.round(t*i(r))}${n}`}),r<1&&requestAnimationFrame(a)};requestAnimationFrame(a)})});

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.