{"version":3,"file":"AmbientLightImage.COGI4aqa.mjs","names":[],"sources":["https:/framerusercontent.com/modules/mYpfkywDOC9eQZgxLl0y/fNcItDfNz5kGRZiGQVbS/AmbientLightImage.js"],"sourcesContent":["import{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import{addPropertyControls,ControlType}from\"framer\";import{motion}from\"framer-motion\";/**\n * Ambient Light Image\n *\n * An image component with a TV-style ambient light effect behind it\n * and a subtle 3D hover interaction.\n *\n * @framerIntrinsicWidth 400\n * @framerIntrinsicHeight 300\n *\n * @framerSupportedLayoutWidth fixed\n * @framerSupportedLayoutHeight fixed\n */export default function AmbientLightImage(props){const{image={src:\"https://framerusercontent.com/images/GfGkADagM4KEibNcIiRUWlfrR0.jpg\",alt:\"Placeholder Image\"},radius,intensity,blur,offset,scale}=props;return /*#__PURE__*/_jsxs(\"div\",{style:{width:\"100%\",height:\"100%\",position:\"relative\",perspective:1e3,display:\"flex\",justifyContent:\"center\",alignItems:\"center\"},children:[/*#__PURE__*/_jsx(\"div\",{style:{position:\"absolute\",top:0,left:0,width:\"100%\",height:\"100%\",backgroundImage:`url(${image.src})`,backgroundSize:\"cover\",backgroundPosition:\"center\",filter:`blur(${blur}px) saturate(${intensity}%)`,opacity:.8,borderRadius:radius,transform:`scale(${scale}) translateY(${offset}px) translateZ(0)`,zIndex:0,willChange:\"transform\",backfaceVisibility:\"hidden\"}}),/*#__PURE__*/_jsx(motion.div,{whileHover:{scale:1.02,rotateX:2,rotateY:-2,y:-5},transition:{type:\"spring\",stiffness:300,damping:20},style:{width:\"100%\",height:\"100%\",position:\"relative\",zIndex:1,borderRadius:radius,overflow:\"hidden\",backgroundColor:\"#000\",boxShadow:\"0 10px 30px rgba(0,0,0,0.2)\",willChange:\"transform\"},children:/*#__PURE__*/_jsx(\"img\",{src:image.src,alt:image.alt,style:{width:\"100%\",height:\"100%\",objectFit:\"cover\",display:\"block\"}})})]});}addPropertyControls(AmbientLightImage,{image:{type:ControlType.ResponsiveImage,title:\"Image\"},radius:{type:ControlType.Number,title:\"Radius\",defaultValue:16,min:0,max:100,step:1},intensity:{type:ControlType.Number,title:\"Intensity\",defaultValue:150,min:0,max:300,step:10,displayStepper:true},blur:{type:ControlType.Number,title:\"Blur\",defaultValue:40,min:0,max:100,step:1},scale:{type:ControlType.Number,title:\"Spread\",defaultValue:.95,min:.5,max:1.5,step:.05},offset:{type:ControlType.Number,title:\"Y Offset\",defaultValue:10,min:-100,max:100,step:1}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"AmbientLightImage\",\"slots\":[],\"annotations\":{\"framerIntrinsicHeight\":\"300\",\"framerContractVersion\":\"1\",\"framerSupportedLayoutHeight\":\"fixed\",\"framerSupportedLayoutWidth\":\"fixed\",\"framerIntrinsicWidth\":\"400\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./AmbientLightImage.map"],"mappings":"oNAWG,SAAwB,EAAkB,EAAM,CAAC,GAAK,CAAC,QAAM,CAAC,IAAI,sEAAsE,IAAI,oBAAoB,CAAC,SAAO,YAAU,OAAK,SAAO,SAAO,EAAM,OAAoB,EAAM,MAAM,CAAC,MAAM,CAAC,MAAM,OAAO,OAAO,OAAO,SAAS,WAAW,YAAY,IAAI,QAAQ,OAAO,eAAe,SAAS,WAAW,SAAS,CAAC,SAAS,CAAc,EAAK,MAAM,CAAC,MAAM,CAAC,SAAS,WAAW,IAAI,EAAE,KAAK,EAAE,MAAM,OAAO,OAAO,OAAO,gBAAgB,OAAO,EAAM,IAAI,GAAG,eAAe,QAAQ,mBAAmB,SAAS,OAAO,QAAQ,EAAK,eAAe,EAAU,IAAI,QAAQ,GAAG,aAAa,EAAO,UAAU,SAAS,EAAM,eAAe,EAAO,mBAAmB,OAAO,EAAE,WAAW,YAAY,mBAAmB,SAAS,CAAC,CAAC,CAAc,EAAK,EAAO,IAAI,CAAC,WAAW,CAAC,MAAM,KAAK,QAAQ,EAAE,QAA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