1import{r as d,j as n}from"./jsx-runtime-Dt5Dsy05.js";import{c as j}from"./ui-BM_CldAA.js";import{m as v}from"./proxy-BUMhf4_C.js";const g=({text:r,colors:t={first:"#9E7AFF",second:"#FE8BBB"},className:o,sparklesCount:i=10,...l})=>{const[c,p]=d.useState([]);return d.useEffect(()=>{const a=()=>{const e=`${Math.random()*100}%`,s=`${Math.random()*100}%`,x=Math.random()>.5?t.first:t.second,u=Math.random()*2,C=Math.random()*1+.3,S=Math.random()*10+5;return{id:`${e}-${s}-${Date.now()}`,x:e,y:s,color:x,delay:u,scale:C,lifespan:S}},m=()=>{const e=Array.from({length:i},a);p(e)},f=()=>{p(e=>e.map(s=>s.lifespan<=0?a():{...s,lifespan:s.lifespan-.1}))};m();const h=setInterval(f,100);return()=>clearInterval(h)},[t.first,t.second]),n.jsx("div",{className:j("text-6xl font-bold",o),...l,style:{"--sparkles-first-color":`${t.first}`,"--sparkles-second-color":`${t.second}`},children:n.jsxs("span",{className:"relative inline-block",children:[c.map(a=>n.jsx(L,{...a},a.id)),n.jsx("strong",{children:r})]})})},L=({id:r,x:t,y:o,color:i,delay:l,scale:c})=>n.jsx(v.svg,{className:"pointer-events-none absolute z-20",initial:{opacity:0,left:t,top:o},animate:{opacity:[0,1,0],scale:[0,c,0],rotate:[75,120,150]},transition:{duration:.8,repeat:1/0,delay:l},width:"21",height:"21",viewBox:"0 0 21 21",children:n.jsx("path",{d:"M9.82531 0.843845C10.0553 0.215178 10.9446 0.215178 11.1746 0.843845L11.8618 2.72026C12.4006 4.19229 12.3916 6.39157 13.5 7.5C14.6084 8.60843 16.8077 8.59935 18.2797 9.13822L20.1561 9.82534C20.7858 10.0553 20.7858 10.9447 20.1561 11.1747L18.2797 11.8618C16.8077 12.4007 14.6084 12.3916 13.5 13.5C12.3916 14.6084 12.4006 16.8077 11.8618 18.2798L11.1746 20.1562C10.9446 20.7858 10.0553 20.7858 9.82531 20.1562L9.13819 18.2798C8.59932 16.8077 8.60843 14.6084 7.5 13.5C6.39157 12.3916 4.19225 12.4007 2.72023 11.8618L0.843814 11.1747C0.215148 10.9447 0.215148 10.0553 0.843814 9.82534L2.72023 9.13822C4.19225 8.59935 6.39157 8.60843 7.5 7.5C8.60843 6.39157 8.59932 4.19229 9.13819 2.72026L9.82531 0.843845Z",fill:i})},r);export{g 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.