1import{j as y,be as b,bf as f}from"./index-ePDyumzS.js";import{s as w}from"./textures-lAofJLNd.js";import{T as M,B as g,a as l,P as T,b as B,A as P}from"./three-canvas-D4r2njn0.js";import"./recharts-qOI1PvBd.js";const j=o=>{const n=o.mobile?420:1100,s=34,d=26,e=new Float32Array(n*3),i=new Float32Array(n*3),u=new Float32Array(n);for(let t=0;t<n;t++){e[t*3]=(Math.random()-.5)*s,e[t*3+1]=(Math.random()-.5)*s,e[t*3+2]=-Math.random()*d;const[m,r,a]=b(f[Math.floor(Math.random()*f.length)]);i[t*3]=m,i[t*3+1]=r,i[t*3+2]=a,u[t]=.15+Math.random()*.5}const p=new g;p.setAttribute("position",new l(e,3)),p.setAttribute("color",new l(i,3));const h=new T(p,new B({size:.34,map:w(),vertexColors:!0,transparent:!0,opacity:.7,depthWrite:!1,blending:P,sizeAttenuation:!0}));o.scene.add(h);const c=o.reduced?.15:1,A=p.getAttribute("position");return{update(t,m){for(let r=0;r<n;r++){const a=r*3+1;e[a]=e[a]-u[r]*m*c,e[r*3]=e[r*3]+Math.sin(t*.4+r)*m*.12*c,e[a]<-s/2&&(e[a]=s/2)}A.needsUpdate=!0,o.camera.position.x+=(o.pointer.x*1.6-o.camera.position.x)*.02,o.camera.position.y+=(o.pointer.y*1.1-o.camera.position.y)*.02,o.camera.lookAt(0,0,-d/2)}}};function C(){return y.jsx(M,{factory:j})}export{C as Stardust};
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.