{"version":3,"file":"CompletedTaskButton.BFWcsFhN.mjs","names":["React.forwardRef"],"sources":["https:/framerusercontent.com/modules/7bC5iMJxvK2W1YPj4tpS/qOV9H37hknTGZwKjKp5r/eGjIc3o09.js","https:/framerusercontent.com/modules/dLNVeiCvXsFgdl6Cirzv/4KANGbXkx5nproZSSKka/Basecamp.js","https:/framerusercontent.com/modules/hxr3BjKyyieZZd72C3VD/eeOp5DufucOscO2SFsjK/CompletedTaskButton.js"],"sourcesContent":["// Generated by Framer (6ca5d98)\nimport{jsx as _jsx}from\"react/jsx-runtime\";import{addPropertyControls,ControlType,cx,motion,useSVGTemplate,withCSS}from\"framer\";import*as React from\"react\";import{forwardRef}from\"react\";const mask=\"var(--framer-icon-mask)\";const Base=/*#__PURE__*/forwardRef(function(props,ref){return /*#__PURE__*/_jsx(\"svg\",{...props,ref:ref,children:props.children});});const MotionSVG=motion.create(Base);const SVG=/*#__PURE__*/forwardRef((props,ref)=>{const{animated,layoutId,children,...rest}=props;return animated?/*#__PURE__*/_jsx(MotionSVG,{...rest,layoutId:layoutId,ref:ref,children:children}):/*#__PURE__*/_jsx(\"svg\",{...rest,ref:ref,children:children});});const svg='<svg display=\"block\" role=\"presentation\" viewBox=\"0 0 24 24\" xmlns=\"http://www.w3.org/2000/svg\"><path d=\"M 0 2.25 C 0 1.007 1.007 0 2.25 0 C 3.493 0 4.5 1.007 4.5 2.25 C 4.5 3.493 3.493 4.5 2.25 4.5 C 1.007 4.5 0 3.493 0 2.25 Z\" fill-opacity=\"var(--1m6trwb, 0)\" fill=\"var(--21h8s6, rgb(0, 0, 0))\" height=\"4.5px\" id=\"O3Md7MsZN\" transform=\"translate(9.75 9.75)\" width=\"4.5px\"/><path d=\"M 0 2.25 C 0 1.007 1.007 0 2.25 0 C 3.493 0 4.5 1.007 4.5 2.25 C 4.5 3.493 3.493 4.5 2.25 4.5 C 1.007 4.5 0 3.493 0 2.25 Z\" fill=\"transparent\" height=\"4.5px\" id=\"Nm9ubc5G2\" stroke-dasharray=\"\" stroke-linecap=\"butt\" stroke-linejoin=\"miter\" stroke-miterlimit=\"10\" stroke-width=\"var(--pgex8v, 1.5)\" stroke=\"var(--21h8s6, rgb(0, 0, 0))\" transform=\"translate(9.75 9.75)\" width=\"4.5px\"/></svg>';const getProps=({alpha,color,height,id,width,width1,...props})=>{return{...props,ezTt3ayMo:color??props.ezTt3ayMo??\"rgb(0, 0, 0)\",lschgej4H:width1??props.lschgej4H??1.5,qxTvv_EBh:alpha??props.qxTvv_EBh};};const Component=/*#__PURE__*/React.forwardRef(function(props,ref){const{style,className,layoutId,variant,ezTt3ayMo,lschgej4H,qxTvv_EBh,...restProps}=getProps(props);const href=useSVGTemplate(\"3436826629\",svg);return /*#__PURE__*/_jsx(SVG,{...restProps,className:cx(\"framer-MtfHw\",className),layoutId:layoutId,ref:ref,role:\"presentation\",style:{\"--1m6trwb\":qxTvv_EBh,\"--21h8s6\":ezTt3ayMo,\"--pgex8v\":lschgej4H,...style},viewBox:\"0 0 24 24\",children:/*#__PURE__*/_jsx(\"use\",{href:href})});});const css=[`.framer-MtfHw { -webkit-mask: ${mask}; aspect-ratio: 1; display: block; mask: ${mask}; width: 24px; }`];/**\n * This is a generated Framer component.\n * @framerIntrinsicWidth 24\n * @framerIntrinsicHeight 24\n * @framerSupportedLayoutWidth any-prefer-fixed\n * @framerSupportedLayoutHeight any-prefer-fixed\n * @framerVariables {\"ezTt3ayMo\":\"color\",\"lschgej4H\":\"width1\",\"qxTvv_EBh\":\"alpha\"}\n * @framerImmutableVariables true\n * @framerVector {\"name\":\"Dot Outline\",\"color\":{\"type\":\"variable\",\"value\":\"21h8s6\"},\"set\":{\"localId\":\"vectorSet/NGVKdicsm\",\"id\":\"NGVKdicsm\",\"moduleId\":\"omX0gWFPqDwhaiWwf6ab\"}}\n * @framerDisableUnlink true\n */const Icon=withCSS(Component,css,\"framer-MtfHw\");Icon.displayName=\"Dot Outline\";export default Icon;addPropertyControls(Icon,{ezTt3ayMo:{defaultValue:\"rgb(0, 0, 0)\",hidden:false,title:\"Color\",type:ControlType.Color},lschgej4H:{defaultValue:1.5,displayStepper:true,hidden:false,max:6,min:0,step:.5,title:\"Width\",type:ControlType.Number},qxTvv_EBh:{defaultValue:0,displayStepper:true,hidden:false,max:1,min:0,step:.1,title:\"Alpha\",type:ControlType.Number}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"Icon\",\"slots\":[],\"annotations\":{\"framerVariables\":\"{\\\"ezTt3ayMo\\\":\\\"color\\\",\\\"lschgej4H\\\":\\\"width1\\\",\\\"qxTvv_EBh\\\":\\\"alpha\\\"}\",\"framerIntrinsicWidth\":\"24\",\"framerSupportedLayoutWidth\":\"any-prefer-fixed\",\"framerVector\":\"{\\\"name\\\":\\\"Dot Outline\\\",\\\"color\\\":{\\\"type\\\":\\\"variable\\\",\\\"value\\\":\\\"21h8s6\\\"},\\\"set\\\":{\\\"localId\\\":\\\"vectorSet/NGVKdicsm\\\",\\\"id\\\":\\\"NGVKdicsm\\\",\\\"moduleId\\\":\\\"omX0gWFPqDwhaiWwf6ab\\\"}}\",\"framerContractVersion\":\"1\",\"framerImmutableVariables\":\"true\",\"framerSupportedLayoutHeight\":\"any-prefer-fixed\",\"framerDisableUnlink\":\"true\",\"framerIntrinsicHeight\":\"24\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}","import{jsx as _jsx}from\"react/jsx-runtime\";export function gtmBasecamp(Component){return props=>{return /*#__PURE__*/_jsx(Component,{...props,id:\"gtmTestId\",className:`gtmTest ${props.className??\"\"}`});};}\nexport const __FramerMetadata__ = {\"exports\":{\"gtmBasecamp\":{\"type\":\"reactHoc\",\"name\":\"gtmBasecamp\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./Basecamp.map","import{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import{addPropertyControls,ControlType,useIsStaticRenderer}from\"framer\";import{motion}from\"framer-motion\";/**\n * Circular Breathing Completed Task Button\n *\n * A circular button with a breathing animation effect and checkmark icon to indicate task completion.\n *\n * @framerIntrinsicWidth 80\n * @framerIntrinsicHeight 80\n *\n * @framerSupportedLayoutWidth any-prefer-fixed\n * @framerSupportedLayoutHeight any-prefer-fixed\n */export default function CompletedTaskButton(props){const{size=80,backgroundColor=\"#22CC66\",checkmarkColor=\"#FFFFFF\",shadowColor=\"#22CC66\",shadowOpacity=.4,breathingIntensity=1.15,breathingDuration=2,checkmarkSize=.5}=props;const isStatic=useIsStaticRenderer();const containerStyle={width:size,height:size,position:\"relative\",display:\"flex\",alignItems:\"center\",justifyContent:\"center\",cursor:\"pointer\"};const circleStyle={width:\"100%\",height:\"100%\",borderRadius:\"50%\",backgroundColor:backgroundColor,display:\"flex\",alignItems:\"center\",justifyContent:\"center\",boxShadow:`0 4px 20px ${shadowColor}${Math.round(shadowOpacity*255).toString(16).padStart(2,\"0\")}`};const checkmarkStyle={width:`${checkmarkSize*100}%`,height:`${checkmarkSize*100}%`,stroke:checkmarkColor,strokeWidth:3,strokeLinecap:\"round\",strokeLinejoin:\"round\",fill:\"none\"};const breathAnimation={scale:[1,breathingIntensity,1],boxShadow:[`0 4px 20px ${shadowColor}${Math.round(shadowOpacity*255).toString(16).padStart(2,\"0\")}`,`0 8px 40px ${shadowColor}${Math.round(shadowOpacity*.6*255).toString(16).padStart(2,\"0\")}`,`0 4px 20px ${shadowColor}${Math.round(shadowOpacity*255).toString(16).padStart(2,\"0\")}`]};const shadowAnimation={scale:[1,breathingIntensity*1.05,1],opacity:[shadowOpacity*.5,shadowOpacity,shadowOpacity*.5]};return /*#__PURE__*/_jsxs(\"div\",{style:containerStyle,children:[!isStatic&&/*#__PURE__*/_jsx(motion.div,{style:{position:\"absolute\",width:\"100%\",height:\"100%\",borderRadius:\"50%\",backgroundColor:shadowColor,filter:\"blur(15px)\",zIndex:0},animate:shadowAnimation,transition:{duration:breathingDuration,repeat:Infinity,ease:\"easeInOut\"}}),/*#__PURE__*/_jsx(motion.div,{style:circleStyle,animate:isStatic?undefined:breathAnimation,transition:{duration:breathingDuration,repeat:Infinity,ease:\"easeInOut\"},children:/*#__PURE__*/_jsx(\"svg\",{viewBox:\"0 0 24 24\",style:checkmarkStyle,children:/*#__PURE__*/_jsx(motion.path,{d:\"M5 13l4 4L19 7\",initial:{pathLength:isStatic?1:0},animate:{pathLength:1},transition:{duration:.5,delay:.2,ease:\"easeOut\"}})})})]});}addPropertyControls(CompletedTaskButton,{size:{type:ControlType.Number,title:\"Size\",defaultValue:80,min:40,max:200,step:1,unit:\"px\"},backgroundColor:{type:ControlType.Color,title:\"Background\",defaultValue:\"#22CC66\"},checkmarkColor:{type:ControlType.Color,title:\"Checkmark\",defaultValue:\"#FFFFFF\"},shadowColor:{type:ControlType.Color,title:\"Shadow Color\",defaultValue:\"#22CC66\"},shadowOpacity:{type:ControlType.Number,title:\"Shadow Opacity\",defaultValue:.4,min:0,max:1,step:.05},breathingIntensity:{type:ControlType.Number,title:\"Breathing Intensity\",defaultValue:1.15,min:1,max:1.5,step:.01},breathingDuration:{type:ControlType.Number,title:\"Breathing Speed\",defaultValue:2,min:.5,max:5,step:.1,unit:\"s\"},checkmarkSize:{type:ControlType.Number,title:\"Checkmark Size\",defaultValue:.5,min:.2,max:.8,step:.05}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"CompletedTaskButton\",\"slots\":[],\"annotations\":{\"framerSupportedLayoutHeight\":\"any-prefer-fixed\",\"framerSupportedLayoutWidth\":\"any-prefer-fixed\",\"framerIntrinsicHeight\":\"80\",\"framerIntrinsicWidth\":\"80\",\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./CompletedTaskButton.map"],"mappings":"gSAC0C,IAAqF,IAA4B,EAAqC,EAAK,0BAAgC,EAAkB,EAAW,SAAS,EAAM,EAAI,CAAC,OAAoB,E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