{"version":3,"file":"HeroBackground.BhgVTisb.mjs","names":["useRef","e","useRef","e","useState","React","e"],"sources":["https:/framerusercontent.com/modules/EnGr6qTSQ1Di9fSAhg99/cwHwDkqzVHeAaflAWtSD/GlowingPill.js","https:/framerusercontent.com/modules/r6bH3Rm7anrwv2kAtqO0/HyG3UYcfDx3L7UxhG7TY/GlowingPillAlt.js","https:/framerusercontent.com/modules/vFOIA9gMG1vIA1i7wkYV/F2hS1HpmaOF3Y72jgNBX/HeroBackground.js"],"sourcesContent":["import{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import{useRef,useEffect}from\"react\";export default function GlowingPill(){const bgOverRef=useRef(null);const bgUnderRef=useRef(null);const mouseMove=(card,e)=>{if(!card)return;const rect=card.getBoundingClientRect();const left=Number(rect.left.toFixed());const top=Number(rect.top.toFixed());const x=e.clientX-left;const y=e.clientY-top;card.style.setProperty(\"--x\",`${x}px`);card.style.setProperty(\"--y\",`${y}px`);};useEffect(()=>{const handleMouseMove=e=>{mouseMove(bgOverRef.current,e);mouseMove(bgUnderRef.current,e);};window.addEventListener(\"mousemove\",handleMouseMove);return()=>{window.removeEventListener(\"mousemove\",handleMouseMove);};},[]);return /*#__PURE__*/_jsxs(\"div\",{style:{width:\"836px\",height:\"484px\",background:\"linear-gradient(to right, rgba(255,255,255,0.2), rgba(255,255,255,0))\",borderRadius:\"9999px\",transform:\"rotate(-60deg)\",position:\"relative\",overflow:\"hidden\",zIndex:0},children:[/*#__PURE__*/_jsx(\"div\",{ref:bgUnderRef,style:{position:\"absolute\",width:\"900px\",height:\"900px\",top:\"50%\",left:\"50%\",transform:\"translate(-50%, -50%) rotate(60deg)\",zIndex:10,backgroundImage:\"radial-gradient(circle at var(--x, 50%) var(--y, 50%), rgba(255, 255, 255, 0.8) 0%, transparent 280px)\"}}),/*#__PURE__*/_jsxs(\"div\",{style:{position:\"absolute\",top:\"2px\",bottom:\"2px\",left:\"2px\",right:\"2px\",borderRadius:\"9999px\",zIndex:20,overflow:\"hidden\"},children:[/*#__PURE__*/_jsx(\"div\",{ref:bgOverRef,style:{position:\"absolute\",width:\"900px\",height:\"900px\",top:\"50%\",left:\"50%\",transform:\"translate(-50%, -50%) rotate(60deg)\",backgroundColor:\"#0C1316\",backgroundImage:\"radial-gradient(circle at var(--x, 50%) var(--y, 50%), rgba(157, 193, 244, 0.1) 0%, transparent 500px)\"}}),/*#__PURE__*/_jsx(\"div\",{style:{width:\"968px\",height:\"968px\",right:\"-200px\",top:\"-100%\",background:\"radial-gradient(circle, rgba(36,151,243,0.1) 0%, rgba(36,151,243,0) 50%)\",position:\"absolute\"}}),/*#__PURE__*/_jsx(\"div\",{style:{width:\"770px\",height:\"770px\",left:\"-80px\",top:\"-500px\",background:\"radial-gradient(circle, rgba(196,206,247,0.2) 0%, rgba(196,206,247,0) 50%)\",position:\"absolute\"}}),/*#__PURE__*/_jsx(\"div\",{style:{width:\"1200px\",height:\"1200px\",left:\"-200px\",top:\"-500px\",background:\"radial-gradient(circle, rgba(255,255,255,0.05) 0%, rgba(255,255,255,0) 50%)\",position:\"absolute\"}})]})]});}\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"GlowingPill\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./GlowingPill.map","import{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import{useEffect,useRef}from\"react\";export default function GlowingPillAlt(){const bgOverRef=useRef(null);const bgUnderRef=useRef(null);const mouseMove=(element,e)=>{if(!element)return;const rect=element.getBoundingClientRect();const left=Number(rect.left.toFixed());const top=Number(rect.top.toFixed());const x=e.clientX-left;const y=e.clientY-top;element.style.setProperty(\"--x-alt\",`${x}px`);element.style.setProperty(\"--y-alt\",`${y}px`);};useEffect(()=>{const handleMouseMove=e=>{mouseMove(bgOverRef.current,e);mouseMove(bgUnderRef.current,e);};window.addEventListener(\"mousemove\",handleMouseMove);return()=>{window.removeEventListener(\"mousemove\",handleMouseMove);};},[]);const containerStyle={width:\"900px\",height:\"250px\",borderRadius:\"9999px\",position:\"relative\",overflow:\"hidden\",zIndex:0,background:\"linear-gradient(to right, rgba(255,255,255,0.2), rgba(255,255,255,0))\",transform:\"rotate(-60deg)\"};const bgUnderStyle={position:\"absolute\",width:\"1000px\",height:\"1000px\",top:\"50%\",left:\"50%\",transform:\"translate(-50%, -50%) rotate(60deg)\",zIndex:10,backgroundImage:\"radial-gradient(circle at var(--x-alt, 450px) var(--y-alt, 125px), rgba(255, 255, 255, 0.8) 0%, transparent 280px)\"};const innerContainerStyle={position:\"absolute\",top:\"2px\",bottom:\"2px\",left:\"2px\",right:\"2px\",borderRadius:\"9999px\",zIndex:20,overflow:\"hidden\"};const bgOverStyle={position:\"absolute\",width:\"1000px\",height:\"1000px\",top:\"50%\",left:\"50%\",transform:\"translate(-50%, -50%) rotate(60deg)\",backgroundColor:\"#0C1316\",backgroundImage:\"radial-gradient(circle at var(--x-alt, 450px) var(--y-alt, 125px), rgba(157, 193, 244, 0.1) 0%, transparent 500px)\"};const blueGlowStyle={width:\"1000px\",height:\"1000px\",right:\"-250px\",top:\"50%\",transform:\"translateY(-50%)\",background:\"radial-gradient(circle, rgba(36,151,243,0.1) 0%, rgba(36,151,243,0) 50%)\",position:\"absolute\"};const purpleGlowStyle={width:\"1000px\",height:\"1000px\",right:\"0\",top:\"50%\",transform:\"translateY(-66.666667%)\",background:\"radial-gradient(circle, rgba(196,206,247,0.2) 0%, rgba(196,206,247,0) 50%)\",position:\"absolute\"};return /*#__PURE__*/_jsxs(\"div\",{style:containerStyle,children:[/*#__PURE__*/_jsx(\"div\",{ref:bgUnderRef,style:bgUnderStyle}),/*#__PURE__*/_jsxs(\"div\",{style:innerContainerStyle,children:[/*#__PURE__*/_jsx(\"div\",{ref:bgOverRef,style:bgOverStyle}),/*#__PURE__*/_jsx(\"div\",{style:blueGlowStyle}),/*#__PURE__*/_jsx(\"div\",{style:purpleGlowStyle})]})]});}\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"GlowingPillAlt\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./GlowingPillAlt.map","import{jsx as _jsx}from\"react/jsx-runtime\";import React,{useState,useEffect}from\"react\";import{addPropertyControls,ControlType}from\"framer\";export default function HeroBackground(props){const[mousePosition,setMousePosition]=useState({x:0,y:0});const componentRef=React.useRef(null);useEffect(()=>{const handleMouseMove=e=>{if(componentRef.current){const rect=componentRef.current.getBoundingClientRect();setMousePosition({x:e.clientX-rect.left,y:e.clientY-rect.top});}};document.addEventListener(\"mousemove\",handleMouseMove);return()=>{document.removeEventListener(\"mousemove\",handleMouseMove);};},[]);const glowStyle={position:\"absolute\",top:0,left:0,width:\"100%\",height:\"100%\",background:`radial-gradient(circle at ${mousePosition.x}px ${mousePosition.y}px, ${props.glowColor} 0%, transparent 600px)`,transition:\"opacity 0.3s ease-out\",pointerEvents:\"none\",zIndex:1};return /*#__PURE__*/_jsx(\"div\",{ref:componentRef,style:{position:\"relative\",width:\"100%\",height:\"100%\",backgroundColor:props.backgroundColor,overflow:\"hidden\",cursor:\"none\"},children:/*#__PURE__*/_jsx(\"div\",{style:glowStyle})});}// Framer property controls\naddPropertyControls(HeroBackground,{backgroundColor:{type:ControlType.Color,title:\"Background Color\",defaultValue:\"#0a0a0a\"},glowColor:{type:ControlType.Color,title:\"Glow Color\",defaultValue:\"#3b82f6\"}});// Default props for Framer\nHeroBackground.defaultProps={backgroundColor:\"#0a0a0a\",glowColor:\"#3b82f6\"};\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"HeroBackground\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./HeroBackground.map"],"mappings":"o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