{"version":3,"file":"FloatingParticlesBackground.BZsWdRSC.mjs","names":["useState","useRef","useState","useCallback","dx","dy","distance"],"sources":["https:/framerusercontent.com/modules/q1hwrfbFh83wVFjTLmHS/nm5q0BPGEA4F67TjJNP8/Cube.js","https:/framerusercontent.com/modules/s7WaD2jg1NpbS1fQ0YiS/yY4SPTplzSd09KMWBopV/FloatingParticlesBackground.js"],"sourcesContent":["// Add another cube of size 100px at X-axis position +102px, Y-axis position -102px, and Z-axis position +102px\nimport{jsx as _jsx}from\"react/jsx-runtime\";import{useState,useEffect}from\"react\";import{addPropertyControls,ControlType}from\"framer\";/**\n * 3D Cube Grid with interactive scroll-based rotation and 27 cubes\n *\n * @framerSupportedLayoutWidth fixed\n * @framerSupportedLayoutHeight fixed\n */export default function Cube(props){const{size,perspective,rotateX,rotateY,rotateZ,cubeColor,borderRadius,borderColor,borderWidth,scrollRotateX,scrollRotateY,scrollRotateZ,scrollSensitivity,style,scale=1,// Add 6 face color props\nfaceColorFront=\"#ffffff\",faceColorBack=\"#ffffff\",faceColorRight=\"#ffffff\",faceColorLeft=\"#ffffff\",faceColorTop=\"#ffffff\",faceColorBottom=\"#ffffff\",// Add shuffle prop\nfaceShuffle=0}=props;const[scroll,setScroll]=useState(0);const[smoothedScroll,setSmoothedScroll]=useState(0);const[lastScroll,setLastScroll]=useState(0);useEffect(()=>{if(typeof window===\"undefined\")return;const handleScroll=()=>{setScroll(window.scrollY||window.pageYOffset||0);};window.addEventListener(\"scroll\",handleScroll,{passive:true});return()=>window.removeEventListener(\"scroll\",handleScroll);},[]);// Smooth scroll interpolation\nuseEffect(()=>{let frame;function animate(){setSmoothedScroll(prev=>{const smoothness=props.smoothness||.2;const next=prev+(scroll-prev)*smoothness;setLastScroll(next);return next;});frame=requestAnimationFrame(animate);}frame=requestAnimationFrame(animate);return()=>cancelAnimationFrame(frame);},[scroll,props.smoothness]);// Calculate rotation based on scroll\nconst rotX=rotateX+(scrollRotateX?smoothedScroll*scrollSensitivity:0);const rotY=rotateY+(scrollRotateY?smoothedScroll*scrollSensitivity:0);const rotZ=rotateZ+(scrollRotateZ?smoothedScroll*scrollSensitivity:0);// Center cube size and offset\nconst mainSize=size;const cubeSize=100;const offset=102;const half=mainSize/2;const cubeHalf=cubeSize/2;// All 27 positions in a 3x3x3 grid\nconst positions=[];// Group into 3 stacks of 9 cubes each along Z-axis\nfor(let z=-1;z<=1;z++){for(let x=-1;x<=1;x++){for(let y=-1;y<=1;y++){positions.push({x:x*(offset+(props.cubePadding||0)),y:y*(offset+(props.cubePadding||0)),z:z*(offset+(props.cubePadding||0))});}}}// Rubik's cube face color shuffling logic\n// faceOrder: [front, back, right, left, top, bottom]\nconst faceOrder=[faceColorFront,faceColorBack,faceColorRight,faceColorLeft,faceColorTop,faceColorBottom];// Shuffle faces based on faceShuffle (0..1)\nfunction getShuffledFaceColor(faceIdx){// For Rubik's cube, rotate the face order array\nconst n=faceOrder.length;const shift=Math.floor(faceShuffle*n);return faceOrder[(faceIdx+shift)%n];}// State to track which phase: 0 = Z stacks, 1 = Y stacks\nconst[phase,setPhase]=useState(0);// Track scroll progress for phase switching\nconst[scrollProgress,setScrollProgress]=useState(0);// Calculate scroll progress for 360deg rotation (per stack)\nuseEffect(()=>{// Each stack rotates: scroll * scrollSensitivity * (stackIdx - 1)\n// We use stackIdx = 2 for max rotation (stackIdx-1 = 1)\nconst maxRotation=smoothedScroll*scrollSensitivity*1;setScrollProgress(Math.abs(maxRotation)%360);if(phase===0&&Math.abs(maxRotation)>=360){setPhase(1);}else if(phase===1&&Math.abs(maxRotation)<360){setPhase(0);}},[smoothedScroll,scrollSensitivity,phase]);// For Y-axis stacks: group by Y, rotate on Y\nconst yStacks=[];for(let y=-1;y<=1;y++){const stack=[];for(let x=-1;x<=1;x++){for(let z=-1;z<=1;z++){stack.push({x:x*(offset+(props.cubePadding||0)),y:y*(offset+(props.cubePadding||0)),z:z*(offset+(props.cubePadding||0))});}}yStacks.push(stack);}// For X-axis stacks: group by X, rotate on X\nconst xStacks=[];for(let x=-1;x<=1;x++){const stack=[];for(let y=-1;y<=1;y++){for(let z=-1;z<=1;z++){stack.push({x:x*(offset+(props.cubePadding||0)),y:y*(offset+(props.cubePadding||0)),z:z*(offset+(props.cubePadding||0))});}}xStacks.push(stack);}// Track which phase: 0 = Z stacks, 1 = Y stacks, 2 = X stacks\nconst[phase2,setPhase2]=useState(0);useEffect(()=>{// Each stack rotates: scroll * scrollSensitivity * (stackIdx - 1)\nconst maxRotation=smoothedScroll*scrollSensitivity*1;// Infinite phase switching: cycle through 0,1,2 as scroll increases\nconst phaseIdx=Math.floor(Math.abs(maxRotation)/360)%3;setPhase2(phaseIdx);},[smoothedScroll,scrollSensitivity]);return /*#__PURE__*/_jsx(\"div\",{style:{...style,width:mainSize,height:mainSize,perspective,perspectiveOrigin:\"50% 50%\",display:\"flex\",alignItems:\"center\",justifyContent:\"center\",position:\"relative\",overflow:\"visible\"},children:/*#__PURE__*/_jsx(\"div\",{style:{width:mainSize,height:mainSize,position:\"relative\",transformStyle:\"preserve-3d\",transform:`scale(${scale}) rotateX(${rotX}deg) rotateY(${rotY}deg) rotateZ(${rotZ}deg)`},children:phase2===0?[0,1,2].map(stackIdx=>/*#__PURE__*/_jsx(\"div\",{style:{width:mainSize,height:mainSize,position:\"absolute\",top:0,left:0,transformStyle:\"preserve-3d\",// Each stack rotates on Z-axis while scrolling\n    transform:`rotateZ(${smoothedScroll*scrollSensitivity*(stackIdx-1)}deg)`},children:positions.slice(stackIdx*9,stackIdx*9+9).map((pos,idx)=>/*#__PURE__*/_jsx(\"div\",{style:{width:cubeSize,height:cubeSize,position:\"absolute\",left:half-cubeHalf+pos.x,top:half-cubeHalf+pos.y,transformStyle:\"preserve-3d\",transform:`translateZ(${pos.z}px)`,pointerEvents:\"none\"},children:[0,1,2,3,4,5].map(i=>/*#__PURE__*/_jsx(\"div\",{style:{position:\"absolute\",width:cubeSize,height:cubeSize,background:(()=>{// Only color faces exposed to exterior, else use cubeColor\n            // For each face: 0=front, 1=back, 2=right, 3=left, 4=top, 5=bottom\n            // Exposed if on grid edge for that axis\n            const gridX=Math.round(pos.x/(offset+(props.cubePadding||0)));const gridY=Math.round(pos.y/(offset+(props.cubePadding||0)));const gridZ=Math.round(pos.z/(offset+(props.cubePadding||0)));if(i===0&&gridZ===1)return getShuffledFaceColor(0);if(i===1&&gridZ===-1)return getShuffledFaceColor(1);if(i===2&&gridX===1)return getShuffledFaceColor(2);if(i===3&&gridX===-1)return getShuffledFaceColor(3);if(i===4&&gridY===-1)return getShuffledFaceColor(4);if(i===5&&gridY===1)return getShuffledFaceColor(5);return cubeColor;})(),borderRadius,border:`${borderWidth}px solid ${borderColor}`,boxSizing:\"border-box\",display:\"flex\",alignItems:\"center\",justifyContent:\"center\",overflow:\"hidden\",backfaceVisibility:\"hidden\",...[{transform:`rotateY(0deg) translateZ(${cubeHalf}px)`},{transform:`rotateY(180deg) translateZ(${cubeHalf}px)`},{transform:`rotateY(90deg) translateZ(${cubeHalf}px)`},{transform:`rotateY(-90deg) translateZ(${cubeHalf}px)`},{transform:`rotateX(90deg) translateZ(${cubeHalf}px)`},{transform:`rotateX(-90deg) translateZ(${cubeHalf}px)`}][i]}},i))},idx))},stackIdx)):phase2===1?[0,1,2].map(stackIdx=>/*#__PURE__*/_jsx(\"div\",{style:{width:mainSize,height:mainSize,position:\"absolute\",top:0,left:0,transformStyle:\"preserve-3d\",// Each stack rotates on Y-axis while scrolling\n    transform:`rotateY(${smoothedScroll*scrollSensitivity*(stackIdx-1)}deg)`},children:yStacks[stackIdx].map((pos,idx)=>/*#__PURE__*/_jsx(\"div\",{style:{width:cubeSize,height:cubeSize,position:\"absolute\",left:half-cubeHalf+pos.x,top:half-cubeHalf+pos.y,transformStyle:\"preserve-3d\",transform:`translateZ(${pos.z}px)`,pointerEvents:\"none\"},children:[0,1,2,3,4,5].map(i=>/*#__PURE__*/_jsx(\"div\",{style:{position:\"absolute\",width:cubeSize,height:cubeSize,background:(()=>{const gridX=Math.round(pos.x/(offset+(props.cubePadding||0)));const gridY=Math.round(pos.y/(offset+(props.cubePadding||0)));const gridZ=Math.round(pos.z/(offset+(props.cubePadding||0)));if(i===0&&gridZ===1)return getShuffledFaceColor(0);if(i===1&&gridZ===-1)return getShuffledFaceColor(1);if(i===2&&gridX===1)return getShuffledFaceColor(2);if(i===3&&gridX===-1)return getShuffledFaceColor(3);if(i===4&&gridY===-1)return getShuffledFaceColor(4);if(i===5&&gridY===1)return getShuffledFaceColor(5);return cubeColor;})(),borderRadius,border:`${borderWidth}px solid ${borderColor}`,boxSizing:\"border-box\",display:\"flex\",alignItems:\"center\",justifyContent:\"center\",overflow:\"hidden\",backfaceVisibility:\"hidden\",...[{transform:`rotateY(0deg) translateZ(${cubeHalf}px)`},{transform:`rotateY(180deg) translateZ(${cubeHalf}px)`},{transform:`rotateY(90deg) translateZ(${cubeHalf}px)`},{transform:`rotateY(-90deg) translateZ(${cubeHalf}px)`},{transform:`rotateX(90deg) translateZ(${cubeHalf}px)`},{transform:`rotateX(-90deg) translateZ(${cubeHalf}px)`}][i]}},i))},idx))},stackIdx)):[0,1,2].map(stackIdx=>/*#__PURE__*/_jsx(\"div\",{style:{width:mainSize,height:mainSize,position:\"absolute\",top:0,left:0,transformStyle:\"preserve-3d\",// Each stack rotates on X-axis while scrolling\n    transform:`rotateX(${smoothedScroll*scrollSensitivity*(stackIdx-1)}deg)`},children:xStacks[stackIdx].map((pos,idx)=>/*#__PURE__*/_jsx(\"div\",{style:{width:cubeSize,height:cubeSize,position:\"absolute\",left:half-cubeHalf+pos.x,top:half-cubeHalf+pos.y,transformStyle:\"preserve-3d\",transform:`translateZ(${pos.z}px)`,pointerEvents:\"none\"},children:[0,1,2,3,4,5].map(i=>/*#__PURE__*/_jsx(\"div\",{style:{position:\"absolute\",width:cubeSize,height:cubeSize,background:(()=>{const gridX=Math.round(pos.x/(offset+(props.cubePadding||0)));const gridY=Math.round(pos.y/(offset+(props.cubePadding||0)));const gridZ=Math.round(pos.z/(offset+(props.cubePadding||0)));if(i===0&&gridZ===1)return getShuffledFaceColor(0);if(i===1&&gridZ===-1)return getShuffledFaceColor(1);if(i===2&&gridX===1)return getShuffledFaceColor(2);if(i===3&&gridX===-1)return getShuffledFaceColor(3);if(i===4&&gridY===-1)return getShuffledFaceColor(4);if(i===5&&gridY===1)return getShuffledFaceColor(5);return cubeColor;})(),borderRadius,border:`${borderWidth}px solid ${borderColor}`,boxSizing:\"border-box\",display:\"flex\",alignItems:\"center\",justifyContent:\"center\",overflow:\"hidden\",backfaceVisibility:\"hidden\",...[{transform:`rotateY(0deg) translateZ(${cubeHalf}px)`},{transform:`rotateY(180deg) translateZ(${cubeHalf}px)`},{transform:`rotateY(90deg) translateZ(${cubeHalf}px)`},{transform:`rotateY(-90deg) translateZ(${cubeHalf}px)`},{transform:`rotateX(90deg) translateZ(${cubeHalf}px)`},{transform:`rotateX(-90deg) translateZ(${cubeHalf}px)`}][i]}},i))},idx))},stackIdx))})});}addPropertyControls(Cube,{size:{type:ControlType.Number,hidden:()=>true,defaultValue:100},perspective:{type:ControlType.Number,title:\"Perspective\",defaultValue:800,min:100,max:2e3,step:10,unit:\"px\"},rotateX:{type:ControlType.Number,title:\"Rotate X\",defaultValue:-24,min:-180,max:180,step:1,unit:\"deg\"},rotateY:{type:ControlType.Number,title:\"Rotate Y\",defaultValue:24,min:-180,max:180,step:1,unit:\"deg\"},rotateZ:{type:ControlType.Number,title:\"Rotate Z\",defaultValue:0,min:-180,max:180,step:1,unit:\"deg\"},cubeColor:{type:ControlType.Color,title:\"Cube Color\",defaultValue:\"#ffffff\"},// Add 6 face color controls below cubeColor\nfaceColorFront:{type:ControlType.Color,title:\"Front Face\",defaultValue:\"#ffffff\"},faceColorBack:{type:ControlType.Color,title:\"Back Face\",defaultValue:\"#ffffff\"},faceColorRight:{type:ControlType.Color,title:\"Right Face\",defaultValue:\"#ffffff\"},faceColorLeft:{type:ControlType.Color,title:\"Left Face\",defaultValue:\"#ffffff\"},faceColorTop:{type:ControlType.Color,title:\"Top Face\",defaultValue:\"#ffffff\"},faceColorBottom:{type:ControlType.Color,title:\"Bottom Face\",defaultValue:\"#ffffff\"},// Add faceShuffle handle below Cube Padding\nfaceShuffle:{type:ControlType.Number,title:\"Shuffle\",defaultValue:0,min:0,max:1,step:.01,hidden:()=>true},borderRadius:{type:ControlType.Number,title:\"Border Radius\",defaultValue:8,min:0,max:50,step:1,unit:\"px\"},borderColor:{type:ControlType.Color,title:\"Border Color\",defaultValue:\"#000000\"},borderWidth:{type:ControlType.Number,title:\"Border Width\",defaultValue:1,min:0,max:20,step:1,unit:\"px\"},scrollRotateX:{type:ControlType.Boolean,title:\"Scroll Rotate X\",defaultValue:false},scrollRotateY:{type:ControlType.Boolean,title:\"Scroll Rotate Y\",defaultValue:false},scrollRotateZ:{type:ControlType.Boolean,title:\"Scroll Rotate Z\",defaultValue:false},scrollSensitivity:{type:ControlType.Number,title:\"Scroll Sensitivity\",defaultValue:.1,min:0,max:1,step:.01},smoothness:{type:ControlType.Number,title:\"Smoothness\",defaultValue:.2,min:.01,max:1,step:.01,unit:\"\"},scale:{type:ControlType.Number,title:\"Scale\",defaultValue:1,min:.1,max:4,step:.01,unit:\"x\"},cubePadding:{type:ControlType.Number,title:\"Cube Padding\",defaultValue:2,min:0,max:200,step:1,unit:\"px\"}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"Cube\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\",\"framerSupportedLayoutWidth\":\"fixed\",\"framerSupportedLayoutHeight\":\"fixed\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./Cube.map","// Floating dust particles background with mouse interaction\nimport{jsx as _jsx}from\"react/jsx-runtime\";import{useEffect,useRef,useState,useCallback}from\"react\";import{addPropertyControls,ControlType,useIsStaticRenderer}from\"framer\";/**\n * @framerSupportedLayoutWidth any\n * @framerSupportedLayoutHeight any\n */export default function FloatingParticlesBackground(props){const{particleCount=50,particleSize=2,particleOpacity=.6,glowIntensity=10,movementSpeed=.5,mouseInfluence=100,backgroundColor=\"#000000\",particleColor=\"#FFFFFF\",mouseGravity=\"none\",gravityStrength=50,glowAnimation=\"ease\",particleInteraction=false,interactionType=\"bounce\"}=props;const canvasRef=useRef(null);const animationRef=useRef();const mouseRef=useRef({x:0,y:0});const particlesRef=useRef([]);const isStatic=useIsStaticRenderer();const[canvasSize,setCanvasSize]=useState({width:800,height:600});const containerRef=useRef(null);const initializeParticles=useCallback((width,height)=>{return Array.from({length:particleCount},(_,index)=>({x:Math.random()*width,y:Math.random()*height,vx:(Math.random()-.5)*movementSpeed,vy:(Math.random()-.5)*movementSpeed,size:Math.random()*particleSize+1,opacity:particleOpacity,baseOpacity:particleOpacity,mass:Math.random()*.5+.5,id:index}));},[particleCount,particleSize,particleOpacity,movementSpeed]);const redistributeParticles=useCallback((width,height)=>{particlesRef.current.forEach(particle=>{// Redistribute particles proportionally across the new dimensions\nparticle.x=Math.random()*width;particle.y=Math.random()*height;});},[]);const updateParticles=useCallback(canvas=>{const rect=canvas.getBoundingClientRect();const mouse=mouseRef.current;particlesRef.current.forEach((particle,index)=>{// Calculate distance to mouse\nconst dx=mouse.x-particle.x;const dy=mouse.y-particle.y;const distance=Math.sqrt(dx*dx+dy*dy);// Mouse influence and gravity\nif(distance<mouseInfluence&&distance>0){const force=(mouseInfluence-distance)/mouseInfluence;const normalizedDx=dx/distance;const normalizedDy=dy/distance;const gravityForce=force*(gravityStrength*.001);// Apply gravity effect based on mouseGravity setting\nif(mouseGravity===\"attract\"){particle.vx+=normalizedDx*gravityForce;particle.vy+=normalizedDy*gravityForce;}else if(mouseGravity===\"repel\"){particle.vx-=normalizedDx*gravityForce;particle.vy-=normalizedDy*gravityForce;}particle.opacity=Math.min(1,particle.baseOpacity+force*.4);// Apply glow animation based on type\nconst targetGlow=1+force*2;const currentGlow=particle.glowMultiplier||1;if(glowAnimation===\"instant\"){particle.glowMultiplier=targetGlow;}else if(glowAnimation===\"ease\"){// Ease in-out animation\nconst easeSpeed=.15;particle.glowMultiplier=currentGlow+(targetGlow-currentGlow)*easeSpeed;}else if(glowAnimation===\"spring\"){// Spring animation with overshoot\nconst springForce=(targetGlow-currentGlow)*.2;const damping=.85;particle.glowVelocity=(particle.glowVelocity||0)*damping+springForce;particle.glowMultiplier=currentGlow+particle.glowVelocity;}}else{particle.opacity=Math.max(particle.baseOpacity*.3,particle.opacity-.02);// Return glow to normal based on animation type\nconst targetGlow=1;const currentGlow=particle.glowMultiplier||1;if(glowAnimation===\"instant\"){particle.glowMultiplier=targetGlow;}else if(glowAnimation===\"ease\"){const easeSpeed=.08;particle.glowMultiplier=Math.max(1,currentGlow+(targetGlow-currentGlow)*easeSpeed);}else if(glowAnimation===\"spring\"){const springForce=(targetGlow-currentGlow)*.15;const damping=.9;particle.glowVelocity=(particle.glowVelocity||0)*damping+springForce;particle.glowMultiplier=Math.max(1,currentGlow+particle.glowVelocity);}}// Particle interaction\nif(particleInteraction){for(let j=index+1;j<particlesRef.current.length;j++){const other=particlesRef.current[j];const dx=other.x-particle.x;const dy=other.y-particle.y;const distance=Math.sqrt(dx*dx+dy*dy);const minDistance=particle.size+other.size+5;if(distance<minDistance&&distance>0){if(interactionType===\"bounce\"){// Elastic collision\nconst normalX=dx/distance;const normalY=dy/distance;// Relative velocity\nconst relativeVx=particle.vx-other.vx;const relativeVy=particle.vy-other.vy;// Relative velocity in collision normal direction\nconst speed=relativeVx*normalX+relativeVy*normalY;// Only resolve if velocities are separating\nif(speed<0)return;// Collision impulse\nconst impulse=2*speed/(particle.mass+other.mass);// Update velocities\nparticle.vx-=impulse*other.mass*normalX;particle.vy-=impulse*other.mass*normalY;other.vx+=impulse*particle.mass*normalX;other.vy+=impulse*particle.mass*normalY;// Separate particles to prevent overlap\nconst overlap=minDistance-distance;const separationX=normalX*overlap*.5;const separationY=normalY*overlap*.5;particle.x-=separationX;particle.y-=separationY;other.x+=separationX;other.y+=separationY;}else if(interactionType===\"merge\"){// Temporary merge effect - increase glow and size\nconst mergeForce=(minDistance-distance)/minDistance;particle.glowMultiplier=(particle.glowMultiplier||1)+mergeForce*.5;other.glowMultiplier=(other.glowMultiplier||1)+mergeForce*.5;// Attract particles slightly\nconst attractForce=mergeForce*.01;particle.vx+=dx*attractForce;particle.vy+=dy*attractForce;other.vx-=dx*attractForce;other.vy-=dy*attractForce;}}}}// Update position\nparticle.x+=particle.vx;particle.y+=particle.vy;// Add subtle random movement\nparticle.vx+=(Math.random()-.5)*.001;particle.vy+=(Math.random()-.5)*.001;// Damping\nparticle.vx*=.999;particle.vy*=.999;// Boundary wrapping\nif(particle.x<0)particle.x=rect.width;if(particle.x>rect.width)particle.x=0;if(particle.y<0)particle.y=rect.height;if(particle.y>rect.height)particle.y=0;});},[mouseInfluence,mouseGravity,gravityStrength,glowAnimation,particleInteraction,interactionType]);const drawParticles=useCallback(ctx=>{ctx.clearRect(0,0,ctx.canvas.width,ctx.canvas.height);particlesRef.current.forEach(particle=>{ctx.save();// Create glow effect with enhanced blur based on interaction\nconst currentGlowMultiplier=particle.glowMultiplier||1;ctx.shadowColor=particleColor;ctx.shadowBlur=glowIntensity*currentGlowMultiplier*2;ctx.globalAlpha=particle.opacity;ctx.fillStyle=particleColor;ctx.beginPath();ctx.arc(particle.x,particle.y,particle.size,0,Math.PI*2);ctx.fill();ctx.restore();});},[particleColor,glowIntensity]);const animate=useCallback(()=>{const canvas=canvasRef.current;if(!canvas)return;const ctx=canvas.getContext(\"2d\");if(!ctx)return;updateParticles(canvas);drawParticles(ctx);animationRef.current=requestAnimationFrame(animate);},[updateParticles,drawParticles]);const handleMouseMove=useCallback(e=>{const canvas=canvasRef.current;if(!canvas)return;const rect=canvas.getBoundingClientRect();mouseRef.current={x:e.clientX-rect.left,y:e.clientY-rect.top};},[]);const resizeCanvas=useCallback(()=>{const canvas=canvasRef.current;const container=containerRef.current;if(!canvas||!container)return;const rect=container.getBoundingClientRect();const newWidth=rect.width;const newHeight=rect.height;canvas.width=newWidth;canvas.height=newHeight;// Update canvas size state and redistribute particles\nsetCanvasSize({width:newWidth,height:newHeight});// Only redistribute if particles exist and size changed significantly\nif(particlesRef.current.length>0){redistributeParticles(newWidth,newHeight);}},[redistributeParticles]);// Effect to reinitialize particles when particle count changes\nuseEffect(()=>{if(isStatic)return;const canvas=canvasRef.current;if(!canvas)return;particlesRef.current=initializeParticles(canvas.width||canvasSize.width,canvas.height||canvasSize.height);},[particleCount,initializeParticles,isStatic,canvasSize]);// Effect to update particle properties when they change\nuseEffect(()=>{if(isStatic)return;particlesRef.current.forEach(particle=>{particle.baseOpacity=particleOpacity;particle.opacity=particleOpacity;// Update velocity based on new movement speed\nconst currentSpeed=Math.sqrt(particle.vx*particle.vx+particle.vy*particle.vy);if(currentSpeed>0){const ratio=movementSpeed/currentSpeed;particle.vx*=ratio;particle.vy*=ratio;}});},[particleOpacity,movementSpeed,isStatic]);useEffect(()=>{if(isStatic)return;resizeCanvas();if(typeof window!==\"undefined\"){window.addEventListener(\"mousemove\",handleMouseMove);window.addEventListener(\"resize\",resizeCanvas);}// Set up ResizeObserver for container\nif(containerRef.current&&typeof ResizeObserver!==\"undefined\"){const resizeObserver=new ResizeObserver(()=>{resizeCanvas();});resizeObserver.observe(containerRef.current);return()=>{resizeObserver.disconnect();if(typeof window!==\"undefined\"){window.removeEventListener(\"mousemove\",handleMouseMove);window.removeEventListener(\"resize\",resizeCanvas);}};}return()=>{if(typeof window!==\"undefined\"){window.removeEventListener(\"mousemove\",handleMouseMove);window.removeEventListener(\"resize\",resizeCanvas);}};},[handleMouseMove,resizeCanvas,isStatic]);useEffect(()=>{if(isStatic)return;animate();return()=>{if(animationRef.current){cancelAnimationFrame(animationRef.current);}};},[animate,isStatic]);if(isStatic){return /*#__PURE__*/_jsx(\"div\",{style:{width:\"100%\",height:\"100%\",backgroundColor,position:\"relative\",overflow:\"hidden\"},children:Array.from({length:Math.min(particleCount,20)}).map((_,i)=>/*#__PURE__*/_jsx(\"div\",{style:{position:\"absolute\",left:`${Math.random()*100}%`,top:`${Math.random()*100}%`,width:`${particleSize}px`,height:`${particleSize}px`,backgroundColor:particleColor,borderRadius:\"50%\",opacity:particleOpacity,boxShadow:`0 0 ${glowIntensity}px ${particleColor}`}},i))});}return /*#__PURE__*/_jsx(\"div\",{ref:containerRef,style:{width:\"100%\",height:\"100%\",backgroundColor,position:\"relative\",overflow:\"hidden\"},children:/*#__PURE__*/_jsx(\"canvas\",{ref:canvasRef,style:{width:\"100%\",height:\"100%\",display:\"block\"}})});}addPropertyControls(FloatingParticlesBackground,{particleCount:{type:ControlType.Number,title:\"Particle Count\",defaultValue:50,min:10,max:1e3,step:1},particleSize:{type:ControlType.Number,title:\"Particle Size\",defaultValue:2,min:1,max:10,step:.5,unit:\"px\"},particleOpacity:{type:ControlType.Number,title:\"Particle Opacity\",defaultValue:.6,min:.1,max:1,step:.1},glowIntensity:{type:ControlType.Number,title:\"Glow Intensity\",defaultValue:10,min:0,max:30,step:1,unit:\"px\"},glowAnimation:{type:ControlType.Enum,title:\"Glow Animation\",options:[\"instant\",\"ease\",\"spring\"],optionTitles:[\"Instant\",\"Ease In-Out\",\"Spring\"],defaultValue:\"ease\",displaySegmentedControl:true},movementSpeed:{type:ControlType.Number,title:\"Movement Speed\",defaultValue:.5,min:.1,max:2,step:.1},mouseInfluence:{type:ControlType.Number,title:\"Mouse Influence\",defaultValue:100,min:50,max:300,step:10,unit:\"px\"},backgroundColor:{type:ControlType.Color,title:\"Background Color\",defaultValue:\"#000000\"},particleColor:{type:ControlType.Color,title:\"Particle Color\",defaultValue:\"#FFFFFF\"},mouseGravity:{type:ControlType.Enum,title:\"Mouse Gravity\",options:[\"none\",\"attract\",\"repel\"],optionTitles:[\"None\",\"Attract\",\"Repel\"],defaultValue:\"none\",displaySegmentedControl:true},gravityStrength:{type:ControlType.Number,title:\"Gravity Strength\",defaultValue:50,min:10,max:200,step:10,hidden:({mouseGravity})=>mouseGravity===\"none\"},particleInteraction:{type:ControlType.Boolean,title:\"Particle Interaction\",defaultValue:false,enabledTitle:\"On\",disabledTitle:\"Off\"},interactionType:{type:ControlType.Enum,title:\"Interaction Type\",options:[\"bounce\",\"merge\"],optionTitles:[\"Bounce\",\"Merge\"],defaultValue:\"bounce\",displaySegmentedControl:true,hidden:({particleInteraction})=>!particleInteraction}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"FloatingParticlesBackground\",\"slots\":[],\"annotations\":{\"framerSupportedLayoutHeight\":\"any\",\"framerContractVersion\":\"1\",\"framerSupportedLayoutWidth\":\"any\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./FloatingParticlesBackground.map"],"mappings":"qNAMG,SAAwB,EAAK,EAAM,CAAC,GAAK,CAAC,OAAK,cAAY,UAAQ,UAAQ,UAAQ,YAAU,eAAa,cAAY,cAAY,gBAAc,gBAAc,gBAAc,oBAAkB,QAAM,QAAM,EAC7M,iBAAe,UAAU,gBAAc,UAAU,iBAAe,UAAU,gBAAc,UAAU,eAAa,UAAU,kBAAgB,UACzI,cAAY,GAAG,EAAW,CAAC,EAAO,GAAWA,EAAS,EAAE,CAAM,CAAC,EAAe,GAAmBA,EAAS,EAAE,CAAM,CAAC,EAAW,GAAeA,EAAS,EAAE,CAAC,MAAc,CAAC,GAAU,IAAS,OAAY,OAAO,IAAM,MAAiB,CAAC,EAAU,EAAO,SAAS,EAAO,aAAa,EAAE,EAAiE,OAA9D,EAAO,iBAAiB,SAAS,EAAa,CAAC,QAAQ,GAAK,CAAC,KAAW,EAAO,oBAAoB,SAAS,EAAa,EAAG,EAAE,CAAC,CACxZ,MAAc,CAAC,IAAI,EAAM,SAAS,GAAS,CAAC,EAAkB,GAAM,CAAC,IAAM,EAAW,EAAM,YAAY,GAAS,EAAK,GAAM,EAAO,GAAM,EAA+B,OAApB,EAAc,EAAK,CAAQ,GAAO,CAAC,EAAM,sBAAsB,EAAQ,CAAuC,MAAr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