{"version":3,"file":"LoadingCTA.CdCcIW48.mjs","names":["useState","startTransition"],"sources":["https:/framerusercontent.com/modules/CEzAOu27vnqKEY7qFRJc/4ncA523KN4DEP5ZOaWxV/LoadingCTA.js"],"sourcesContent":["// Minimal loading animation component with 3 dots in circular layout\n// Animates on hover with smooth circular rotation\nimport{jsx as _jsx}from\"react/jsx-runtime\";import{useState,startTransition}from\"react\";import{addPropertyControls,ControlType}from\"framer\";import{motion}from\"framer-motion\";/**\n * Minimal Loading Animation\n * \n * @framerIntrinsicWidth 100\n * @framerIntrinsicHeight 100\n * \n * @framerSupportedLayoutWidth auto\n * @framerSupportedLayoutHeight auto\n */export default function MinimalLoader(props){const{dotColor,size,style}=props;const[isHovered,setIsHovered]=useState(false);const sizeConfig={small:{containerSize:60,dotSize:8,radius:18},medium:{containerSize:100,dotSize:12,radius:30},large:{containerSize:140,dotSize:16,radius:42}};const config=sizeConfig[size];// Calculate positions for 3 dots in a circular layout (triangle)\nconst getDotPosition=index=>{const angle=(index*120-90)*(Math.PI/180)// Start from top, 120° apart\n;return{x:Math.cos(angle)*config.radius,y:Math.sin(angle)*config.radius};};return /*#__PURE__*/_jsx(\"div\",{onMouseEnter:()=>startTransition(()=>setIsHovered(true)),onMouseLeave:()=>startTransition(()=>setIsHovered(false)),style:{...style,width:\"100%\",height:\"100%\",display:\"flex\",alignItems:\"center\",justifyContent:\"center\",cursor:\"pointer\",position:\"relative\"},children:/*#__PURE__*/_jsx(motion.div,{style:{position:\"relative\",width:config.containerSize,height:config.containerSize,display:\"flex\",alignItems:\"center\",justifyContent:\"center\"},animate:isHovered?{rotate:360}:{rotate:0},transition:{duration:2,repeat:isHovered?Number.POSITIVE_INFINITY:0,ease:\"linear\"},children:[0,1,2].map(index=>{const position=getDotPosition(index);return /*#__PURE__*/_jsx(motion.div,{style:{position:\"absolute\",width:config.dotSize,height:config.dotSize,borderRadius:\"50%\",backgroundColor:dotColor,left:`calc(50% + ${position.x}px)`,top:`calc(50% + ${position.y}px)`,transform:\"translate(-50%, -50%)\"}},index);})})});}addPropertyControls(MinimalLoader,{dotColor:{type:ControlType.Color,title:\"Dot Color\",defaultValue:\"#000000\"},size:{type:ControlType.Enum,title:\"Size\",options:[\"small\",\"medium\",\"large\"],optionTitles:[\"Small\",\"Medium\",\"Large\"],defaultValue:\"medium\",displaySegmentedControl:true}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"MinimalLoader\",\"slots\":[],\"annotations\":{\"framerSupportedLayoutHeight\":\"auto\",\"framerIntrinsicHeight\":\"100\",\"framerSupportedLayoutWidth\":\"auto\",\"framerContractVersion\":\"1\",\"framerIntrinsicWidth\":\"100\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./LoadingCTA.map"],"mappings":"kOAUG,SAAwB,EAAc,EAAM,CAAC,GAAK,CAAC,WAAS,OAAK,SAAO,EAAW,CAAC,EAAU,GAAcA,EAAS,GAAM,CAAsK,EAApJ,CAAC,MAAM,CAAC,cAAc,GAAG,QAAQ,EAAE,OAAO,GAAG,CAAC,OAAO,CAAC,cAAc,IAAI,QAAQ,GAAG,OAAO,GAAG,CAAC,MAAM,CAAC,cAAc,IAAI,QAAQ,GAAG,OAAO,GAAG,CAAC,CAAyB,GAChT,EAAe,GAAO,CAAC,IAAM,GAAO,EAAM,IAAI,KAAK,KAAK,GAAG,KAChE,MAAM,CAAC,EAAE,KAAK,IAAI,EAAM,CAAC,EAAO,OAAO,EAAE,KAAK,IAAI,EAAM,CAAC,EAAO,OAAO,EAAG,OAAoB,EAAK,MAAM,CAAC,iBAAiBC,MAAoB,EAAa,GAAK,CAAC,CAAC,iBAAiBA,MAAoB,EAAa,GAAM,CAAC,CAAC,MAAM,CAAC,GAAG,EAAM,MAAM,OAAO,OAAO,OAAO,QAAQ,OAAO,WAAW,SAAS,eAAe,SAAS,OAAO,UAAU,SAAS,WAAW,CAAC,SAAsB,EAAK,EAAO,IAAI,CAAC,MAAM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