{"version":3,"file":"GradientMotionBackground.CbPy8Qd0.mjs","names":["useRef","useCallback","useState","useMemo","useRef","useState","useMemo"],"sources":["https:/framerusercontent.com/modules/lRDHiNWNVWmE0lqtoVHP/I6H5ZhUPA8PwvfVPIGXQ/Video.js","https:/framerusercontent.com/modules/cCxVbvR1K8AOwtRBHyRp/vMKF2HbXixyusufrZ2Rb/GradientMotionBackground.js"],"sourcesContent":["// ⚠️⚠️⚠️⚠️⚠️\n// Edit these files in https://github.com/framer/FramerCodeComponents\n// ⚠️⚠️⚠️⚠️⚠️\nimport{jsx as _jsx}from\"react/jsx-runtime\";import{addPropertyControls,ControlType,useIsInCurrentNavigationTarget,RenderTarget}from\"framer\";import{isMotionValue,useInView}from\"framer-motion\";import{borderRadiusControl,defaultEvents,useIsBrowserSafari,useIsOnCanvas,useOnEnter,useOnExit,useRadius,useRenderTarget}from\"https://framerusercontent.com/modules/G4IfyjvwmaeSBpdb4TWu/OIjZRBmWDcIE2B6qgG1j/index.js\";// https://framer.com/m/framer/default-utils.js@^0.45.0\nimport{memo,useCallback,useEffect,useMemo,useRef,useState}from\"react\";var ObjectFitType;(function(ObjectFitType){ObjectFitType[\"Fill\"]=\"fill\";ObjectFitType[\"Contain\"]=\"contain\";ObjectFitType[\"Cover\"]=\"cover\";ObjectFitType[\"None\"]=\"none\";ObjectFitType[\"ScaleDown\"]=\"scale-down\";})(ObjectFitType||(ObjectFitType={}));var SrcType;(function(SrcType){SrcType[\"Video\"]=\"Upload\";SrcType[\"Url\"]=\"URL\";})(SrcType||(SrcType={}));const defaultVideo=\"https://framerusercontent.com/assets/MLWPbW1dUQawJLhhun3dBwpgJak.mp4\";// Reduce renders\nfunction getProps(props){const{width,height,topLeft,topRight,bottomRight,bottomLeft,id,children,...rest}=props;return rest;}/**\n * VIDEO\n *\n * @framerIntrinsicWidth 200\n * @framerIntrinsicHeight 112\n *\n * @framerSupportedLayoutWidth fixed\n * @framerSupportedLayoutHeight any-prefer-fixed\n *\n * @framerComponentPresetProps borderRadius, backgroundColor\n */export function Video(props){const newProps=getProps(props);return /*#__PURE__*/_jsx(VideoMemo,{...newProps});}function usePlaybackControls(videoRef){const isInCurrentNavigationTarget=useIsInCurrentNavigationTarget();const requestingPlay=useRef(false);const isPlayingRef=useRef(false);const setProgress=useCallback(rawProgress=>{if(!videoRef.current)return;const newProgress=(rawProgress===1?.999:rawProgress)*videoRef.current.duration;const isAlreadySet=Math.abs(videoRef.current.currentTime-newProgress)<.1;if(videoRef.current.duration>0&&!isAlreadySet){videoRef.current.currentTime=newProgress;}},[]);const play=useCallback(()=>{const video=videoRef.current;if(!video)return;video.preload=\"auto\"// makes sure browsers don't throttle: https://html.spec.whatwg.org/multipage/media.html#:~:text=When%20the%20media%20resource%20is%20playing%2C%20hints%20to%20the%20user%20agent%20that%20bandwidth%20is%20to%20be%20considered%20scarce%2C%20e.g.%20suggesting%20throttling%20the%20download%20so%20that%20the%20media%20data%20is%20obtained%20at%20the%20slowest%20possible%20rate%20that%20still%20maintains%20consistent%20playback.\n;const isPlaying=video.currentTime>0&&video.onplaying&&!video.paused&&!video.ended&&video.readyState>=video.HAVE_CURRENT_DATA;if(!isPlaying&&video&&!requestingPlay.current&&isInCurrentNavigationTarget){requestingPlay.current=true;isPlayingRef.current=true;video.play().catch(e=>{})// It's likely fine, swallow error\n.finally(()=>requestingPlay.current=false);}},[]);const pause=useCallback(()=>{if(!videoRef.current||requestingPlay.current)return;videoRef.current.pause();isPlayingRef.current=false;},[]);return{play,pause,setProgress,isPlaying:isPlayingRef};}function useAutoplayBehavior({playingProp,muted,loop,playsinline,controls}){const[initialPlayingProp]=useState(playingProp);const[hasPlayingPropChanged,setHasPlayingPropChanged]=useState(false);if(playingProp!==initialPlayingProp&&!hasPlayingPropChanged){setHasPlayingPropChanged(true);}const behavesAsGif=// passing `playing === true` on mount indicates that the video should\n// autoplay, like a GIF\ninitialPlayingProp&&muted&&loop&&playsinline&&!controls&&// Some users of the <Video> component use it by wrapping it with\n// another smart component and adding their own controls on top. (The\n// controls use transitions to control the video: e.g., when clicking\n// the play button, the smart component will transition to a state with\n// <Video playing={true} />.) In this case, we don't want the video to\n// behave as a gif, as it will be weird if the video suddenly started\n// acting as such (and auto-pausing when leaving the viewport) as soon\n// as the site visitor mutes it and clicks “Play”.\n!hasPlayingPropChanged;let autoplay;if(behavesAsGif)autoplay=\"on-viewport\";else if(initialPlayingProp)autoplay=\"on-mount\";else autoplay=\"no-autoplay\";return autoplay;}const VideoMemo=/*#__PURE__*/memo(function VideoInner(props){const{// default props\nsrcType=\"URL\",srcUrl,srcFile=\"\",posterEnabled=false,controls=false,playing=true,loop=true,muted=true,playsinline=true,restartOnEnter=false,objectFit=\"cover\",backgroundColor=\"rgba(0,0,0,0)\",radius=0,volume=25,startTime:startTimeProp=0,poster,playing:playingProp,progress,onSeeked,onPause,onPlay,onEnd,onClick,onMouseEnter,onMouseLeave,onMouseDown,onMouseUp}=props;const videoRef=useRef();const isSafari=useIsBrowserSafari();const wasPausedOnLeave=useRef(null);const wasEndedOnLeave=useRef(null);const isOnCanvas=useIsOnCanvas();const renderTarget=useRenderTarget();const isStaticRenderer=isOnCanvas||renderTarget===RenderTarget.export;const borderRadius=useRadius(props);// Hard-coding `autoplayBehavior` and `isInViewport` when on canvas as a\n// tiny perf optimization. isStaticRenderer won’t change through the lifecycle of\n// the component, so using these hooks conditionally should be safe\nconst autoplayBehavior=isStaticRenderer?\"no-autoplay\":useAutoplayBehavior({playingProp,muted,loop,playsinline,controls});const isInViewport=isStaticRenderer?true:useInView(videoRef);const isCloseToViewport=isStaticRenderer?false:useInView(videoRef,{margin:\"10%\",once:true});// Video elements behave oddly at 100% duration\nconst startTime=startTimeProp===100?99.9:startTimeProp;const{play,pause,setProgress,isPlaying}=usePlaybackControls(videoRef);// Pause/play via props\nuseEffect(()=>{if(isStaticRenderer)return;if(autoplayBehavior===\"on-viewport\")return;if(playingProp)play();else pause();},[autoplayBehavior,playingProp]);// Pause/play via viewport\nuseEffect(()=>{if(isStaticRenderer)return;// this also explicitly retries playing for videos that play on-mount, which could fail if they're not muted for example\nif(isInViewport&&playingProp&&autoplayBehavior!==\"no-autoplay\")play();if(autoplayBehavior!==\"on-viewport\")return;pause();},[autoplayBehavior,isInViewport,playingProp]);useEffect(()=>{if(!isOnCanvas||poster||posterEnabled||startTime||!videoRef.current)return;// forces a poster to show up when the video is in an iframe; this is needed when `poster` changes\nvideoRef.current.currentTime=.01;},[posterEnabled,poster,startTime]);/**\n     * The Video component has some effects that sync the video element with props\n     * like `startTime`, `progress`, etc. React calls these effects whenever these\n     * props change. However, it also calls them on the first mount, and this is\n     * troublesome – if we’re doing SSR, and the user changed the video state before\n     * the video was hydrated, the initial `useEffect` call will reset the video\n     * state. To avoid this, we use this flag.\n     */const isMountedAndReadyForProgressChanges=useRef(false);// Allow scrubbling via progress prop\n// 1) Handle cases when the progress prop itself changes\nuseEffect(()=>{if(!isMountedAndReadyForProgressChanges.current){isMountedAndReadyForProgressChanges.current=true;return;}const rawProgressValue=isMotionValue(progress)?progress.get():(progress??0)*.01;setProgress(// When the progress value exists (e.g. <Video startTime={10}\n// progress={50} />), we respect the `progress` value over\n// `startTime`, even if `startTime` changes. That’s because\n// `startTime` == start == changing it shouldn’t affect the current\n// progress\n(rawProgressValue??0)||// Then why fall back to `startTime` when `progress` doesn’t exist,\n// you might ask? Now, that’s for\n// - canvas UX: we want the video progress to change when the user\n//   is scrobbling the “Start Time” in component settings.\n// - backwards compatibility: maybe some users *are* scrobbling\n//   using `startTime` instead of `progress`? We don’t know, and it\n//   always supported it, so let’s not break it\n(startTime??0)/100);},[startTime,srcFile,srcUrl,progress]);// 2) Handle cases when the motion value inside the progress prop changes\nuseEffect(()=>{if(!isMotionValue(progress))return;return progress.on(\"change\",value=>setProgress(value));},[progress]);// (Prototyping) Checking if we need to play on navigation enter\nuseOnEnter(()=>{if(wasPausedOnLeave.current===null)return;if(videoRef.current){// if (restartOnEnter) setProgress(0)\nif(!wasEndedOnLeave&&loop||!wasPausedOnLeave.current)play();}});// (Prototyping) Pausing & saving playing state on navigation exit\nuseOnExit(()=>{if(videoRef.current){wasEndedOnLeave.current=videoRef.current.ended;wasPausedOnLeave.current=videoRef.current.paused;pause();}});const src=useMemo(()=>{let fragment=\"\";// if (\n//     startTime > 0 &&\n//     videoRef.current &&\n//     !isNaN(videoRef.current.duration) &&\n//     !isStaticRenderer\n// ) {\n//     console.log(startTime, videoRef.current.duration)\n//     fragment = `#t=${startTime * videoRef.current.duration}`\n// }\nif(srcType===\"URL\")return srcUrl+fragment;if(srcType===\"Upload\")return srcFile+fragment;},[srcType,srcFile,srcUrl,startTime]);// Autoplay via JS to work in Safari\nuseEffect(()=>{if(isSafari&&videoRef.current&&autoplayBehavior===\"on-mount\"){setTimeout(()=>play(),50);}},[]);// Volume Control\nuseEffect(()=>{if(videoRef.current&&!muted)videoRef.current.volume=(volume??0)/100;},[volume]);// When video is ready, set start-time, then autoplay if needed\nconst handleReady=()=>{const video=videoRef.current;if(!video)return;if(video.currentTime<.3&&startTime>0)setProgress((startTime??0)*.01);if(// when the component updates (e.g. only srcFile/url changes), and the video was already playing, keep playing\nisPlaying.current||autoplayBehavior===\"on-mount\"||playingProp&&autoplayBehavior===\"on-viewport\"&&isInViewport)play();};return /*#__PURE__*/_jsx(\"video\",{onClick,onMouseEnter,onMouseLeave,onMouseDown,onMouseUp,src:src,loop:loop,ref:videoRef,onSeeked:e=>onSeeked?.(e),onPause:e=>onPause?.(e),onPlay:e=>onPlay?.(e),onEnded:e=>onEnd?.(e),autoPlay:isPlaying.current||autoplayBehavior===\"on-mount\"||playingProp&&autoplayBehavior===\"on-viewport\"&&isInViewport,preload:isPlaying.current?\"auto\":isStaticRenderer&&!poster?\"metadata\":autoplayBehavior!==\"on-mount\"&&!isCloseToViewport?\"none\":// `autoplay` overrides this too\n\"metadata\",poster:posterEnabled&&!srcFile&&srcUrl===defaultVideo?\"https://framerusercontent.com/images/5ILRvlYXf72kHSVHqpa3snGzjU.jpg\":posterEnabled&&poster?poster:undefined,onLoadedData:handleReady,controls:controls,muted:isStaticRenderer?true:muted,playsInline:playsinline,style:{cursor:!!onClick?\"pointer\":\"auto\",width:\"100%\",height:\"100%\",borderRadius,display:\"block\",objectFit:objectFit,backgroundColor:backgroundColor,objectPosition:\"50% 50%\"}});});Video.displayName=\"Video\";function capitalizeFirstLetter(value){return value.charAt(0).toUpperCase()+value.slice(1);}export function titleCase(value){const groups=value.match(/[A-Z]{2,}|[A-Z][a-z]+|[a-z]+|[A-Z]|\\d+/gu)||[];return groups.map(capitalizeFirstLetter).join(\" \");}const objectFitOptions=[\"cover\",\"fill\",\"contain\",\"scale-down\",\"none\"];addPropertyControls(Video,{srcType:{type:ControlType.Enum,displaySegmentedControl:true,title:\"Source\",options:[\"URL\",\"Upload\"]},srcUrl:{type:ControlType.String,title:\"URL\",defaultValue:\"https://framerusercontent.com/assets/MLWPbW1dUQawJLhhun3dBwpgJak.mp4\",hidden(props){return props.srcType===\"Upload\";}},srcFile:{type:ControlType.File,title:\"File\",allowedFileTypes:[\"mp4\",\"webm\"],hidden(props){return props.srcType===\"URL\";}},...borderRadiusControl,loop:{type:ControlType.Boolean,title:\"Loop\",enabledTitle:\"Yes\",disabledTitle:\"No\"},posterEnabled:{type:ControlType.Boolean,title:\"Poster\",enabledTitle:\"Yes\",disabledTitle:\"No\",hiddenWhenUnset:true,defaultValue:true},poster:{type:ControlType.Image,title:\"Image\",hidden:({posterEnabled})=>!posterEnabled,description:\"We recommend adding a poster. [Learn more](https://www.framer.com/help/articles/how-are-videos-optimized-in-framer/).\"},controls:{type:ControlType.Boolean,title:\"Controls\",enabledTitle:\"Show\",disabledTitle:\"Hide\",defaultValue:false,hiddenWhenUnset:true},muted:{type:ControlType.Boolean,title:\"Muted\",enabledTitle:\"Yes\",disabledTitle:\"No\",hiddenWhenUnset:true},objectFit:{type:ControlType.Enum,title:\"Fit\",options:objectFitOptions,optionTitles:objectFitOptions.map(titleCase),hiddenWhenUnset:true},playing:{type:ControlType.Boolean,title:\"Playing\",enabledTitle:\"Yes\",disabledTitle:\"No\",hiddenWhenUnset:true},backgroundColor:{type:ControlType.Color,title:\"Background\",defaultValue:\"rgba(0,0,0,0)\"},startTime:{title:\"Start Time\",type:ControlType.Number,min:0,max:100,step:.1,unit:\"%\",hiddenWhenUnset:true},// restartOnEnter: {\n//     type: ControlType.Boolean,\n//     title: \"On ReEnter\",\n//     enabledTitle: \"Restart\",\n//     disabledTitle: \"Resume\",\n// },\nvolume:{type:ControlType.Number,max:100,min:0,unit:\"%\",hidden:({muted})=>muted,defaultValue:25,hiddenWhenUnset:true},onEnd:{type:ControlType.EventHandler},onSeeked:{type:ControlType.EventHandler},onPause:{type:ControlType.EventHandler},onPlay:{type:ControlType.EventHandler},...defaultEvents});\nexport const __FramerMetadata__ = {\"exports\":{\"VideoProps\":{\"type\":\"tsType\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"titleCase\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"Video\":{\"type\":\"reactComponent\",\"name\":\"Video\",\"slots\":[],\"annotations\":{\"framerComponentPresetProps\":\"borderRadius, backgroundColor\",\"framerContractVersion\":\"1\",\"framerIntrinsicWidth\":\"200\",\"framerSupportedLayoutHeight\":\"any-prefer-fixed\",\"framerSupportedLayoutWidth\":\"fixed\",\"framerIntrinsicHeight\":\"112\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./Video.map","import{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import{useMemo,useRef,useEffect,useState}from\"react\";import{addPropertyControls,ControlType,useIsStaticRenderer}from\"framer\";/**\n * ============================================================\n * GRADIENT MOTION BACKGROUND\n * ------------------------------------------------------------\n * Generates soft, blurred, animated gradient \"blob\" backgrounds\n * (aurora / mesh-gradient style). Shapes are absolutely positioned\n * blurred divs (radial gradients) that drift, pulse, rotate,\n * wave, or orbit around the frame using CSS transforms driven by\n * requestAnimationFrame — no external animation libraries.\n *\n * STATIC RENDERING:\n * On the Framer canvas and during image/PDF export, React runs\n * in a \"static\" context — there's no user interaction and no\n * screen refresh loop watching it. Continuous rAF loops there\n * just burn CPU in the editor and can capture a mid-transition\n * frame during export, causing visual artifacts. We detect this\n * with useIsStaticRenderer() and fall back to a single frozen\n * frame (tick = 0, no rAF loop, no animated grain) whenever it's\n * true — only Preview and the published site actually animate.\n * ============================================================\n */// ------------------------------------------------------------\n// Deterministic seeded PRNG (mulberry32) so \"Seed\" always\n// reproduces the same starting composition.\n// ------------------------------------------------------------\nfunction mulberry32(seed){let a=seed;return function(){a|=0;a=a+1831565813|0;let t=Math.imul(a^a>>>15,1|a);t=t+Math.imul(t^t>>>7,61|t)^t;return((t^t>>>14)>>>0)/4294967296;};}// ------------------------------------------------------------\n// Builds a tileable film-grain noise texture as an SVG data URI\n// using feTurbulence. Generated once per size/seed and reused —\n// cheap to render, no canvas or per-frame pixel work required.\n// ------------------------------------------------------------\nfunction buildGrainDataUri(tileSize,grainSeed){const freq=.9// fixed fractal frequency; tileSize controls apparent grain scale\n;const svg=`<svg xmlns='http://www.w3.org/2000/svg' width='${tileSize}' height='${tileSize}'>\n        <filter id='n'>\n            <feTurbulence type='fractalNoise' baseFrequency='${freq}' numOctaves='2' seed='${grainSeed}' stitchTiles='stitch' result='noise'/>\n            <feColorMatrix in='noise' type='matrix' values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 1 0'/>\n        </filter>\n        <rect width='100%' height='100%' filter='url(#n)'/>\n    </svg>`;return`url(\"data:image/svg+xml;utf8,${encodeURIComponent(svg)}\")`;}// ------------------------------------------------------------\n// Easing helpers for the animation loop\n// ------------------------------------------------------------\nfunction ease(t,type){if(type===\"linear\")return t;if(type===\"sine\")return(Math.sin((t-.25)*Math.PI*2)+1)/2;// ease-in-out (smoothstep-ish, looping)\nconst p=(Math.sin((t-.25)*Math.PI*2)+1)/2;return p*p*(3-2*p);}export default function GradientMotionBackground(props){const{// Colors\ncolorStops,baseBackground,blendMode,opacity,contrast,// Shape\nshapeStyle,blobCount,blurAmount,sizeMin,sizeMax,sizeRandomness,// Motion\nanimate,speed,motionStyle,motionRange,direction,randomDirection,easeType,seed,// Randomness\npositionJitter,sizeVariation,randomColorPerShape,// Grain\ngrainEnabled,grainAmount,grainSize,grainBlendMode,grainAnimate}=props;// --------------------------------------------------------\n// Static renderer detection (Framer canvas + export).\n// Everything below that drives continuous motion must be\n// gated behind `!isStatic`, not just the raw `animate` prop.\n// --------------------------------------------------------\nconst isStatic=useIsStaticRenderer();const effectiveAnimate=animate&&!isStatic;const effectiveGrainAnimate=grainAnimate&&!isStatic;const containerRef=useRef(null);const[tick,setTick]=useState(0);const startTimeRef=useRef(null);const rafRef=useRef(null);// --------------------------------------------------------\n// Build the blob composition deterministically from seed.\n// Regenerates only when seed / count / colors / size / jitter change.\n// --------------------------------------------------------\nconst blobs=useMemo(()=>{const rand=mulberry32(Math.floor(seed*1e5)+1);const colors=colorStops&&colorStops.length>0?colorStops:[\"#22c55e\"];const count=Math.max(1,Math.min(10,blobCount));const list=[];for(let i=0;i<count;i++){const baseX=(i+.5)/count*100;const baseY=30+rand()*40;const jitterX=(rand()-.5)*2*positionJitter;const jitterY=(rand()-.5)*2*positionJitter;const sizeBase=sizeMin+rand()*(sizeMax-sizeMin);const sizeJitter=sizeRandomness?sizeBase*(1+(rand()-.5)*2*(sizeVariation/100)):sizeBase;const color=randomColorPerShape?colors[Math.floor(rand()*colors.length)]:colors[i%colors.length];const dirAngle=randomDirection?rand()*Math.PI*2:direction/180*Math.PI;list.push({id:i,xPct:Math.min(100,Math.max(0,baseX+jitterX)),yPct:Math.min(100,Math.max(0,baseY+jitterY)),sizePct:Math.max(10,sizeJitter),color,rotation:rand()*360,phase:rand(),dirX:Math.cos(dirAngle),dirY:Math.sin(dirAngle)});}return list;},[seed,blobCount,JSON.stringify(colorStops),sizeMin,sizeMax,sizeRandomness,sizeVariation,positionJitter,randomDirection,direction,randomColorPerShape]);// --------------------------------------------------------\n// Grain texture — regenerated only when size/seed change.\n// For animated grain we cycle through a handful of pre-seeded\n// tiles rather than rebuilding SVG every frame (keeps it cheap).\n// In a static context we only ever build/use a single frame.\n// --------------------------------------------------------\nconst grainFrameCount=6;const grainTextures=useMemo(()=>{if(!grainEnabled)return[];const count=effectiveGrainAnimate?grainFrameCount:1;const arr=[];for(let i=0;i<count;i++){arr.push(buildGrainDataUri(grainSize,seed*13+i*97+1));}return arr;},[grainEnabled,grainSize,effectiveGrainAnimate,seed]);const grainFrameIndex=effectiveGrainAnimate&&grainTextures.length>1?Math.floor(tick*12)%grainTextures.length:0;// --------------------------------------------------------\n// Animation loop (rAF). Uses CSS transforms only — never\n// touches layout properties — to stay performant.\n// Never runs when isStatic is true: canvas/export gets one\n// frozen frame (tick stays 0) instead of a live rAF loop.\n// --------------------------------------------------------\nuseEffect(()=>{if(!effectiveAnimate){setTick(0);return;}let mounted=true;const loop=t=>{if(!mounted)return;if(startTimeRef.current===null)startTimeRef.current=t;const elapsed=(t-startTimeRef.current)/1e3;setTick(elapsed*(speed/100));rafRef.current=requestAnimationFrame(loop);};rafRef.current=requestAnimationFrame(loop);return()=>{mounted=false;if(rafRef.current)cancelAnimationFrame(rafRef.current);startTimeRef.current=null;};},[effectiveAnimate,speed]);// --------------------------------------------------------\n// Per-blob transform for the current motion style/time.\n// --------------------------------------------------------\nfunction getTransform(b){if(!effectiveAnimate)return\"translate(-50%, -50%)\";const loopT=(tick+b.phase*6)%6/6// 6s base loop, phase-offset\n;const e=ease(loopT,easeType);const swing=Math.sin(e*Math.PI*2);const range=motionRange;let tx=0;let ty=0;let rot=0;let scale=1;switch(motionStyle){case\"Drift\":tx=b.dirX*range*swing;ty=b.dirY*range*swing;break;case\"Pulse\":scale=1+range/100*(.5+.5*swing)*.5;break;case\"Rotate\":rot=e*360;break;case\"Wave Flow\":tx=Math.sin(e*Math.PI*2+b.id)*range;ty=Math.cos(e*Math.PI*4+b.id)*(range/2);break;case\"Orbit\":tx=Math.cos(e*Math.PI*2)*range;ty=Math.sin(e*Math.PI*2)*range;break;}return`translate(-50%, -50%) translate(${tx}px, ${ty}px) rotate(${rot}deg) scale(${scale})`;}const shapeBorderRadius={Blob:\"50% 45% 55% 50% / 50% 55% 45% 50%\",\"Radial Glow\":\"50%\",Wave:\"60% 40% 30% 70% / 60% 30% 70% 40%\",Mesh:\"40%\",\"Diagonal Streak\":\"10% 90% 10% 90% / 90% 10% 90% 10%\"};return /*#__PURE__*/_jsxs(\"div\",{ref:containerRef,style:{position:\"relative\",width:\"100%\",height:\"100%\",overflow:\"hidden\",background:baseBackground,filter:`contrast(${contrast}%)`},children:[/*#__PURE__*/_jsx(\"div\",{style:{position:\"absolute\",inset:0,opacity:opacity/100},children:blobs.map(b=>{const isStreak=shapeStyle===\"Diagonal Streak\";return /*#__PURE__*/_jsx(\"div\",{style:{position:\"absolute\",left:`${b.xPct}%`,top:`${b.yPct}%`,width:isStreak?`${b.sizePct*2.2}%`:`${b.sizePct}%`,height:isStreak?`${b.sizePct*.6}%`:`${b.sizePct}%`,background:shapeStyle===\"Radial Glow\"?`radial-gradient(circle, ${b.color} 0%, transparent 70%)`:b.color,borderRadius:shapeBorderRadius[shapeStyle]||\"50%\",filter:`blur(${blurAmount}px)`,mixBlendMode:blendMode,transform:`${getTransform(b)} rotate(${b.rotation}deg)`,transition:effectiveAnimate?\"none\":\"transform 0.3s ease\",willChange:\"transform\"}},b.id);})}),grainEnabled&&grainTextures.length>0&&/*#__PURE__*/_jsx(\"div\",{style:{position:\"absolute\",inset:0,backgroundImage:grainTextures[grainFrameIndex],backgroundRepeat:\"repeat\",backgroundSize:`${grainSize}px ${grainSize}px`,opacity:grainAmount/100,mixBlendMode:grainBlendMode,pointerEvents:\"none\"}})]});}// ------------------------------------------------------------\n// Defaults: dark near-black base, 3 vivid green blobs, heavy\n// blur, screen blend, slow drift — resembles a neon aurora glow.\n// ------------------------------------------------------------\nGradientMotionBackground.defaultProps={colorStops:[\"#22c55e\",\"#16a34a\",\"#4ade80\"],baseBackground:\"#050805\",blendMode:\"screen\",opacity:100,contrast:110,shapeStyle:\"Blob\",blobCount:3,blurAmount:120,sizeMin:60,sizeMax:90,sizeRandomness:true,animate:true,speed:40,motionStyle:\"Drift\",motionRange:60,direction:45,randomDirection:true,easeType:\"ease-in-out\",seed:7,positionJitter:15,sizeVariation:25,randomColorPerShape:false,grainEnabled:false,grainAmount:15,grainSize:120,grainBlendMode:\"overlay\",grainAnimate:false};addPropertyControls(GradientMotionBackground,{// --- Colors ---\ncolorStops:{type:ControlType.Array,title:\"Colors\",control:{type:ControlType.Color},defaultValue:[\"#22c55e\",\"#16a34a\",\"#4ade80\"],maxCount:5},baseBackground:{type:ControlType.Color,title:\"Background\",defaultValue:\"#050805\"},blendMode:{type:ControlType.Enum,title:\"Blend Mode\",options:[\"normal\",\"screen\",\"lighten\",\"overlay\",\"soft-light\",\"difference\"],optionTitles:[\"Normal\",\"Screen\",\"Lighten\",\"Overlay\",\"Soft Light\",\"Difference\"],defaultValue:\"screen\"},opacity:{type:ControlType.Number,title:\"Opacity\",min:0,max:100,step:1,unit:\"%\",defaultValue:100},contrast:{type:ControlType.Number,title:\"Contrast / Glow\",min:50,max:200,step:1,unit:\"%\",defaultValue:110},// --- Shape ---\nshapeStyle:{type:ControlType.Enum,title:\"Shape Style\",options:[\"Blob\",\"Radial Glow\",\"Wave\",\"Mesh\",\"Diagonal Streak\"],defaultValue:\"Blob\"},blobCount:{type:ControlType.Number,title:\"Shape Count\",min:1,max:10,step:1,defaultValue:3},blurAmount:{type:ControlType.Number,title:\"Blur\",min:0,max:250,step:1,unit:\"px\",defaultValue:120},sizeMin:{type:ControlType.Number,title:\"Size Min\",min:5,max:150,step:1,unit:\"%\",defaultValue:60},sizeMax:{type:ControlType.Number,title:\"Size Max\",min:5,max:200,step:1,unit:\"%\",defaultValue:90},sizeRandomness:{type:ControlType.Boolean,title:\"Size Random\",defaultValue:true},// --- Motion ---\nanimate:{type:ControlType.Boolean,title:\"Animate\",defaultValue:true},speed:{type:ControlType.Number,title:\"Speed\",min:1,max:200,step:1,defaultValue:40,hidden:props=>!props.animate},motionStyle:{type:ControlType.Enum,title:\"Motion Style\",options:[\"Drift\",\"Pulse\",\"Rotate\",\"Wave Flow\",\"Orbit\"],defaultValue:\"Drift\",hidden:props=>!props.animate},motionRange:{type:ControlType.Number,title:\"Motion Range\",min:0,max:300,step:1,unit:\"px\",defaultValue:60,hidden:props=>!props.animate},direction:{type:ControlType.Number,title:\"Direction\",min:0,max:360,step:1,unit:\"\\xb0\",defaultValue:45,hidden:props=>!props.animate||props.randomDirection},randomDirection:{type:ControlType.Boolean,title:\"Random Direction\",defaultValue:true,hidden:props=>!props.animate},easeType:{type:ControlType.Enum,title:\"Ease\",options:[\"linear\",\"ease-in-out\",\"sine\"],optionTitles:[\"Linear\",\"Ease In-Out\",\"Sine\"],defaultValue:\"ease-in-out\",hidden:props=>!props.animate},seed:{type:ControlType.Number,title:\"Seed\",min:0,max:999,step:1,defaultValue:7},// --- Randomness ---\npositionJitter:{type:ControlType.Number,title:\"Position Jitter\",min:0,max:50,step:1,unit:\"%\",defaultValue:15},sizeVariation:{type:ControlType.Number,title:\"Size Variation\",min:0,max:100,step:1,unit:\"%\",defaultValue:25,hidden:props=>!props.sizeRandomness},randomColorPerShape:{type:ControlType.Boolean,title:\"Random Color Per Shape\",defaultValue:false},// --- Grain ---\ngrainEnabled:{type:ControlType.Boolean,title:\"Grain\",defaultValue:false},grainAmount:{type:ControlType.Number,title:\"Grain Amount\",min:0,max:100,step:1,unit:\"%\",defaultValue:15,hidden:props=>!props.grainEnabled},grainSize:{type:ControlType.Number,title:\"Grain Size\",min:30,max:400,step:1,unit:\"px\",defaultValue:120,hidden:props=>!props.grainEnabled},grainBlendMode:{type:ControlType.Enum,title:\"Grain Blend\",options:[\"overlay\",\"soft-light\",\"screen\",\"multiply\",\"normal\"],optionTitles:[\"Overlay\",\"Soft Light\",\"Screen\",\"Multiply\",\"Normal\"],defaultValue:\"overlay\",hidden:props=>!props.grainEnabled},grainAnimate:{type:ControlType.Boolean,title:\"Animate Grain\",defaultValue:false,hidden:props=>!props.grainEnabled}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"GradientMotionBackground\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./GradientMotionBackground.map"],"mappings":"2XAKA,SAAS,EAAS,EAAM,CAAC,GAAK,CAAC,QAAM,SAAO,UAAQ,WAAS,cAAY,aAAW,KAAG,WAAS,GAAG,GAAM,EAAM,OAAO,CAAK,CAUxH,SAAgB,EAAM,EAAM,CAAC,IAAM,EAAS,EAAS,CAAK,EAAE,OAAoB,EAAK,EAAU,CAAC,GAAG,CAAQ,CAAC,CAAE,CAAC,SAAS,EAAoB,EAAS,CAAC,IAAM,EAA4B,EAA+B,EAAQ,EAAeA,EAAO,EAAK,EAAQ,EAAaA,EAAO,EAAK,EAAQ,EAAYC,EAAY,GAAa,CAAC,GAAG,CAAC,EAAS,QAAQ,OAAO,IAAM,GAAa,IAAc,EAAE,KAAK,GAAa,EAAS,QAAQ,SAAe,EAAa,KAAK,IAAI,EAAS,QAAQ,YAAY,CAAW,EAAE,GAAM,EAAS,QAAQ,SAAS,GAAG,CAAC,IAAc,EAAS,QAAQ,YAAY,EAAa,EAAE,CAAC,CAAC,EAEha,MAAM,CAAC,KAFsaA,MAAgB,CAAC,IAAM,EAAM,EAAS,QAAY,IAAa,EAAM,QAAQ,OACtjB,EAAhH,EAAM,YAAY,GAAG,EAAM,WAAW,CAAC,EAAM,QAAQ,CAAC,EAAM,OAAO,EAAM,YAAY,EAAM,oBAAiC,GAAO,CAAC,EAAe,SAAS,IAA6B,EAAe,QAAQ,GAAK,EAAa,QAAQ,GAAK,EAAM,KAAK,CAAC,CAAC,MAAM,GAAG,CAAC,CAAC,CAAC,CACxR,YAAY,EAAe,QAAQ,EAAK,G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