{"version":3,"file":"PingAnimation.ClMF7WJK.mjs","names":[],"sources":["https:/framerusercontent.com/modules/AIGd1BgvA5nqLgm46TMf/YooWyUurV5ZaO57Yc0BJ/PingAnimation.js"],"sourcesContent":["// Simple ping animation - a dot with expanding rings\nimport{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import{motion}from\"framer-motion\";import{addPropertyControls,ControlType}from\"framer\";/**\n * @framerSupportedLayoutWidth fixed\n * @framerSupportedLayoutHeight fixed\n */export default function PingAnimation(props){const{dotColor,ringColor,dotSize,ringSize,animationSpeed,ringCount}=props;return /*#__PURE__*/_jsxs(\"div\",{style:{width:\"100%\",height:\"100%\",display:\"flex\",alignItems:\"center\",justifyContent:\"center\",position:\"relative\"},children:[Array.from({length:ringCount}).map((_,index)=>/*#__PURE__*/_jsx(motion.div,{style:{position:\"absolute\",width:dotSize,height:dotSize,borderRadius:\"50%\",backgroundColor:ringColor},initial:{scale:1,opacity:0},animate:{scale:[1,1,ringSize],opacity:[0,.8,0]},transition:{duration:animationSpeed,repeat:Infinity,ease:\"easeOut\",times:[0,.12,1],delay:index*(animationSpeed/ringCount)}},index)),/*#__PURE__*/_jsx(\"div\",{style:{width:dotSize,height:dotSize,borderRadius:\"50%\",backgroundColor:dotColor,position:\"relative\",zIndex:1}})]});}addPropertyControls(PingAnimation,{dotColor:{type:ControlType.Color,title:\"Dot Color\",defaultValue:\"#0099FF\"},ringColor:{type:ControlType.Color,title:\"Ring Color\",defaultValue:\"#0099FF\"},dotSize:{type:ControlType.Number,title:\"Dot Size\",defaultValue:16,min:1,max:64,step:1,unit:\"px\"},ringSize:{type:ControlType.Number,title:\"Ring Size\",defaultValue:3,min:1,max:10,step:.1},animationSpeed:{type:ControlType.Number,title:\"Speed\",defaultValue:1.5,min:.5,max:5,step:.1,unit:\"s\"},ringCount:{type:ControlType.Number,title:\"Ring Count\",defaultValue:3,min:1,max:5,step:1,displayStepper:true}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"PingAnimation\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\",\"framerSupportedLayoutHeight\":\"fixed\",\"framerSupportedLayoutWidth\":\"fixed\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./PingAnimation.map"],"mappings":"oNAIG,SAAwB,EAAc,EAAM,CAAC,GAAK,CAAC,WAAS,YAAU,UAAQ,WAAS,iBAAe,aAAW,EAAM,OAAoB,EAAM,MAAM,CAAC,MAAM,CAAC,MAAM,OAAO,OAAO,OAAO,QAAQ,OAAO,WAAW,SAAS,eAAe,SAAS,SAAS,UAAU,EAAE,SAAS,CAAC,MAAM,KAAK,CAAC,OAAO,CAAS,CAAC,CAAC,CAAC,KAAK,EAAE,IAAqB,EAAK,EAAO,IAAI,CAAC,MAAM,CAAC,SAAS,WAAW,MAAM,EAAQ,OAAO,EAAQ,aAAa,MAAM,gBAAgB,CAAS,EAAE,QAAQ,CAAC,MAAM,EAAE,QAAQ,CAAC,EAAE,QAAQ,CAAC,MAAM,CAAC,EAAE,EAAE,CAAQ,EAAE,QAAQ,CAAC,EAAE,GAAG,CAAC,CAAC,EAAE,WAAW,CAAC,SAAS,EAAe,OAAO,IAAS,KAAK,UAAU,MAAM,CAAC,EAAE,IAAI,CAAC,EAAE,MAAa,EAAe,EAAtB,CAAgC,CAAC,EAAE,CAAK,CAAC,EAAe,EAAK,MAAM,CAAC,MAAM,CAAC,MAAM,EAAQ,OAAO,EAAQ,aAAa,MAAM,gBAAgB,EAAS,SAAS,WAAW,OAAO,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAE,iBAH7uB,IAAkC,IAAoD,EAGwpB,EAAoB,EAAc,CAAC,SAAS,CAAC,KAAK,EAAY,MAAM,MAAM,YAAY,aAAa,SAAS,EAAE,UAAU,CAAC,KAAK,EAAY,MAAM,MAAM,aAAa,aAAa,SAAS,EAAE,QAAQ,CAAC,KAAK,EAAY,OAAO,MAAM,WAAW,a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