PageSourceSearch

https://www.ecomtask.de/assets/shimmer-text-OvtTtlBq.js

js ecomtask.de collected 2026-10-08 07:14:56 UTC 1,142 bytes, 6 lines download raw bytes

1import{r as n,j as m}from"./styles-DnuCHuuG.js";function p({children:o,duration:t=1.6,delay:r=.45,highlight:s="rgba(255,255,255,0.6)",style:a={}}){const[u,i]=n.useState(!1);return n.useEffect(()=>{if(document.getElementById("shimmer-text-keyframes"))return;const e=document.createElement("style");e.id="shimmer-text-keyframes",e.textContent=`
2      @keyframes shimmer-text-sweep {
3        from { background-position-x: -120%; }
4        to   { background-position-x: 220%;  }
5      }
6    `,document.head.appendChild(e)},[]),n.useEffect(()=>{const e=setTimeout(()=>i(!0),(r+t)*1e3+150);return()=>clearTimeout(e)},[r,t]),u?m.jsx("span",{style:a,children:o}):m.jsx("span",{onAnimationEnd:e=>{e.target===e.currentTarget&&i(!0)},style:{display:"inline",backgroundColor:"currentColor",backgroundImage:`linear-gradient(to right, currentColor 0%, ${s} 40%, ${s} 60%, currentColor 100%)`,backgroundSize:"60% 200%",backgroundRepeat:"no-repeat",backgroundPosition:"-120% 0",WebkitBackgroundClip:"text",backgroundClip:"text",WebkitTextFillColor:"transparent",animation:`shimmer-text-sweep ${t}s linear ${r}s 1 forwards`,...a},children:o})}export{p as S};

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.