{"version":3,"file":"ShinyBorder.CD7cfN-R.mjs","names":[],"sources":["https:/framerusercontent.com/modules/FBCgiv1ZflD716yFM0aC/YRJPnhfYQGZcYGxDyp8N/ShinyBorder.js"],"sourcesContent":["import{jsx as _jsx}from\"react/jsx-runtime\";import{motion}from\"framer-motion\";import{addPropertyControls,ControlType}from\"framer\";/**\n * @framerSupportedLayoutWidth fixed\n * @framerSupportedLayoutHeight fixed\n * @framerDisableUnlink\n */function RotatingGradient(props){const{rotationSpeed,gradientSize}=props;return /*#__PURE__*/_jsx(\"div\",{style:{width:\"100%\",height:\"100%\",borderRadius:\"0%\",overflow:\"hidden\",position:\"relative\"},children:/*#__PURE__*/_jsx(motion.div,{style:{position:\"absolute\",top:`-${gradientSize/2-50}%`,left:`-${gradientSize/2-50}%`,width:`${gradientSize}%`,height:`${gradientSize}%`,backgroundImage:`conic-gradient(transparent 0%, #eee 10%, transparent 0%)`,borderRadius:\"0%\"},animate:{rotate:360},transition:{duration:rotationSpeed,repeat:Infinity,ease:\"linear\"}})});}RotatingGradient.defaultProps={rotationSpeed:3,gradientSize:200};addPropertyControls(RotatingGradient,{rotationSpeed:{title:\"Rotation Speed\",type:ControlType.Number,defaultValue:RotatingGradient.defaultProps.rotationSpeed,min:.1,max:20,unit:\"s\"},gradientSize:{title:\"Gradient Size\",type:ControlType.Number,defaultValue:RotatingGradient.defaultProps.gradientSize,min:50,max:1e3,unit:\"%\"}});export default RotatingGradient;\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"RotatingGradient\",\"slots\":[],\"annotations\":{\"framerDisableUnlink\":\"\",\"framerSupportedLayoutHeight\":\"fixed\",\"framerSupportedLayoutWidth\":\"fixed\",\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./ShinyBorder.map"],"mappings":"iTAIG,SAAS,EAAiB,EAAM,CAAC,GAAK,CAAC,gBAAc,eAAa,CAAC,EAAM,MAAoB,GAAK,MAAM,CAAC,MAAM,CAAC,MAAM,OAAO,OAAO,OAAO,aAAa,KAAK,SAAS,SAAS,SAAS,UAAW,EAAC,SAAsB,EAAK,EAAO,IAAI,CAAC,MAAM,CAAC,SAAS,WAAW,KAAK,GAAG,EAAa,EAAE,GAAG,GAAG,MAAM,GAAG,EAAa,EAAE,GAAG,GAAG,SAAS,EAAa,GAAG,UAAU,EAAa,GAAG,gBAAA,2DAA2E,aAAa,IAAK,EAAC,QAAQ,CAAC,OAAO,GAAI,EAAC,WAAW,CAAC,SAAS,EAAc,OAAO,IAAS,KAAK,QAAS,CAAC,EAAC,AAAC,EAAC,AAAE,gBAJjjB,GAA2C,IAAkC,IAAoD,CAIgb,EAAiB,aAAa,CAAC,cAAc,EAAE,aAAa,GAAI,EAAC,EAAoB,EAAiB,CAAC,cAAc,CAAC,MAAM,iBAAiB,KAAK,EAAY,OAAO,aAAa,EAAiB,aAAa,cAAc,IAAI,GAAG,IAAI,GAAG,KAAK,GAAI,EAAC,aAAa,CAAC,MAAM,gBAAgB,KAAK,EAAY,OAAO,aAAa,EAAiB,aAAa,aAAa,IAAI,GAAG,IAAI,IAAI,KAAK,GAAI,CAAC,EAAC,GAAgB"}