{"version":3,"file":"Member_Gradient.CHKfmM0K.mjs","names":["useState","__esmMin","_e","c","init_jsx_runtime","init_npm_react_18_3_1","ce","addPropertyControls","init_framer_BpuvUAiZ","ControlType","Member_Gradient","style","setStyle","props","init_Member_Gradient"],"sources":["https:/framerusercontent.com/modules/OoSb4TbG3quzqIWuQvtl/Y7GNhRdJcIVpHdUjprys/Member_Gradient.js"],"sourcesContent":["import{jsx as _jsx}from\"react/jsx-runtime\";import{addPropertyControls,ControlType}from\"framer\";import{useEffect,useState}from\"react\";addPropertyControls(Member_Gradient,{mainColor:{type:ControlType.Color,defaultValue:\"#DCD4E4\",title:\"Main Color\"},secondaryColor:{type:ControlType.Color,defaultValue:\"#B49EC9\",title:\"Secondary Color\"}});/**\n * These annotations control how your component sizes\n * Learn more: https://www.framer.com/developers/#code-components-auto-sizing\n *\n * @framerSupportedLayoutWidth fixed\n * @framerSupportedLayoutHeight fixed\n */export default function Member_Gradient(props){const defaultStyle={width:\"100%\",height:\"100%\",background:\"radial-gradient(50% 50% at 50% 50%, #B49EC9 0%, #DCD4E4 91%)\"};const[style,setStyle]=useState(defaultStyle);useEffect(()=>{const progressWidth=props.progress*148/100;setStyle({width:\"100%\",height:\"100%\",background:`radial-gradient(50% 50% at 50% 50%, ${props.secondaryColor} 0%, ${props.mainColor} 91%)`});},[props.mainColor,props.secondaryColor]);return /*#__PURE__*/_jsx(\"div\",{style:style});}\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"Member_Gradient\",\"slots\":[],\"annotations\":{\"framerSupportedLayoutWidth\":\"fixed\",\"framerSupportedLayoutHeight\":\"fixed\",\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./Member_Gradient.map"],"mappings":"A,iLAMG,SAAwBU,EAAgB,EAAM,CAA2H,GAAK,CAACC,EAAMC,GAAUZ,EAAS,CAArI,MAAM,OAAO,OAAO,OAAO,WAAW,8DAA0G,CAAC,EAAkP,OAAhPM,MAAc,CAAqBO,EAAM,SAAS,IAAI,IAAID,EAAS,CAAC,MAAM,OAAO,OAAO,OAAO,WAAW,uCAAuCC,EAAM,eAAe,OAAOA,EAAM,UAAU,MAAM,CAAC,CAAE,EAAE,CAACA,EAAM,UAAUA,EAAM,cAAc,CAAC,EAAsB,gBAAK,MAAM,CAAO,OAAK,CAAC,CAAE,C,0CANlXN,EAAoBG,EAAgB,CAAC,UAAU,CAAC,KAAKD,EAAY,MAAM,aAAa,UAAU,MAAM,YAAY,EAAE,eAAe,CAAC,KAAKA,EAAY,MAAM,aAAa,UAAU,MAAM,iBAAiB,CAAC,CAAC,C"}