{
  "version": 3,
  "sources": ["ssg:https://framerusercontent.com/modules/oWbpYrzBLlPccoqXMOxa/G3oyAxE5PboRyvhp1pY5/CircleAnimation.js"],
  "sourcesContent": ["import{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import{Frame,addPropertyControls,ControlType}from\"framer\";export function CircleAnimation(props){const{fillColor=\"rgba(109, 46, 255, 0.6)\",strokeColor=\"rgba(0, 0, 0, 0.3)\",strokeWidth=4,spacing=24,sizes=[50,70,90,110,130],radius=\"50%\"}=props;// Adjust the animation cycle so each circle completes its cycle independently\nconst totalDuration=3// Total animation duration for each cycle in seconds\n;const delayOffset=spacing/1e3// Convert ms to s for consistency in animation delay\n;// Generates inline styles for each circle based on the index\nconst circleStyles=index=>({width:`${sizes[index]}px`,height:`${sizes[index]}px`,borderRadius:radius,background:fillColor,border:`${strokeWidth}px solid ${strokeColor}`,position:\"absolute\",top:\"50%\",left:\"50%\",transform:`translate(-50%, -50%)`,animation:`expand-contract ${totalDuration}s ${delayOffset*index}s infinite ease-in-out`,opacity:0});return /*#__PURE__*/_jsxs(Frame,{size:\"100%\",background:\"transparent\",children:[sizes.map((_,index)=>/*#__PURE__*/_jsx(\"div\",{className:\"circle\",style:circleStyles(index)},index)),/*#__PURE__*/_jsx(\"style\",{children:`\n                @keyframes expand-contract {\n                    0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 0; }\n                    50% { transform: translate(-50%, -50%) scale(1.5); opacity: 1; }\n                }\n            `})]});}CircleAnimation.defaultProps={sizes:[50,70,90,110,130],radius:\"50%\"};// Adding Property Controls\naddPropertyControls(CircleAnimation,{fillColor:{type:ControlType.Color,title:\"Fill Color\",defaultValue:\"rgba(109, 46, 255, 0.6)\"},strokeColor:{type:ControlType.Color,title:\"Stroke Color\",defaultValue:\"rgba(0, 0, 0, 0.3)\"},strokeWidth:{type:ControlType.Number,title:\"Stroke Width\",min:0,max:20,step:1},spacing:{type:ControlType.Number,title:\"Spacing\",min:0,max:100,step:1},sizes:{type:ControlType.Array,title:\"Sizes\",propertyControl:{type:ControlType.Number}},radius:{type:ControlType.String,title:\"Radius\"}});\nexport const __FramerMetadata__ = {\"exports\":{\"CircleAnimation\":{\"type\":\"reactComponent\",\"name\":\"CircleAnimation\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./CircleAnimation.map"],
  "mappings": "uGAA0H,SAASA,EAAgBC,EAAM,CAAC,GAAK,CAAC,UAAAC,EAAU,0BAA0B,YAAAC,EAAY,qBAAqB,YAAAC,EAAY,EAAE,QAAAC,EAAQ,GAAG,MAAAC,EAAM,CAAC,GAAG,GAAG,GAAG,IAAI,GAAG,EAAE,OAAAC,EAAO,KAAK,EAAEN,EAC/RO,EAAc,EACbC,EAAYJ,EAAQ,IAErBK,EAAaC,IAAQ,CAAC,MAAM,GAAGL,EAAMK,CAAK,CAAC,KAAK,OAAO,GAAGL,EAAMK,CAAK,CAAC,KAAK,aAAaJ,EAAO,WAAWL,EAAU,OAAO,GAAGE,CAAW,YAAYD,CAAW,GAAG,SAAS,WAAW,IAAI,MAAM,KAAK,MAAM,UAAU,wBAAwB,UAAU,mBAAmBK,CAAa,KAAKC,EAAYE,CAAK,yBAAyB,QAAQ,CAAC,GAAG,OAAoBC,EAAMC,EAAM,CAAC,KAAK,OAAO,WAAW,cAAc,SAAS,CAACP,EAAM,IAAI,CAACQ,EAAEH,IAAqBI,EAAK,MAAM,CAAC,UAAU,SAAS,MAAML,EAAaC,CAAK,CAAC,EAAEA,CAAK,CAAC,EAAeI,EAAK,QAAQ,CAAC,SAAS;AAAA;AAAA;AAAA;AAAA;AAAA,aAKpiB,CAAC,CAAC,CAAC,CAAC,CAAE,CAACf,EAAgB,aAAa,CAAC,MAAM,CAAC,GAAG,GAAG,GAAG,IAAI,GAAG,EAAE,OAAO,KAAK,EACvFgB,EAAoBhB,EAAgB,CAAC,UAAU,CAAC,KAAKiB,EAAY,MAAM,MAAM,aAAa,aAAa,yBAAyB,EAAE,YAAY,CAAC,KAAKA,EAAY,MAAM,MAAM,eAAe,aAAa,oBAAoB,EAAE,YAAY,CAAC,KAAKA,EAAY,OAAO,MAAM,eAAe,IAAI,EAAE,IAAI,GAAG,KAAK,CAAC,EAAE,QAAQ,CAAC,KAAKA,EAAY,OAAO,MAAM,UAAU,IAAI,EAAE,IAAI,IAAI,KAAK,CAAC,EAAE,MAAM,CAAC,KAAKA,EAAY,MAAM,MAAM,QAAQ,gBAAgB,CAAC,KAAKA,EAAY,MAAM,CAAC,EAAE,OAAO,CAAC,KAAKA,EAAY,OAAO,MAAM,QAAQ,CAAC,CAAC",
  "names": ["CircleAnimation", "props", "fillColor", "strokeColor", "strokeWidth", "spacing", "sizes", "radius", "totalDuration", "delayOffset", "circleStyles", "index", "u", "Frame", "_", "p", "addPropertyControls", "ControlType"]
}
