{"version":3,"file":"Button_progress_bar.CFAsgohS.mjs","names":["__esmMin","init_jsx_runtime","c","p","motion","init_framer_motion_DhsWWWsN","addPropertyControls","ControlType","init_framer_BWFVvmND","AnimatedUnderlineLink","props","link","font","textColor","hoverColor","text","lineWidth","lineHeightPx","init_Button_progress_bar"],"sources":["https:/framerusercontent.com/modules/s4Eq0cIvEKlCp32RzeJN/7ZgmlMm7ulWEt3Ddrt3O/Button_progress_bar.js"],"sourcesContent":["import{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import{motion}from\"framer-motion\";import{addPropertyControls,ControlType}from\"framer\";export default function AnimatedUnderlineLink(props){const{text,textColor,hoverColor,fontSize,fontWeight,lineHeight,lineWidth,lineHeightPx,duration,link,font}=props;return /*#__PURE__*/_jsxs(motion.a,{href:link||\"#\",initial:\"rest\",animate:\"rest\",whileHover:\"hover\",whileFocus:\"hover\",style:{position:\"relative\",display:\"inline-flex\",flexDirection:\"column\",alignItems:\"flex-start\",width:\"fit-content\",paddingBottom:5,textDecoration:\"none\",cursor:\"pointer\",fontFamily:font},children:[/*#__PURE__*/_jsx(motion.span,{variants:{rest:{color:textColor},hover:{color:hoverColor}},transition:{duration:.2,ease:\"easeOut\"},style:{fontSize,fontWeight,lineHeight,whiteSpace:\"nowrap\"},children:text}),/*#__PURE__*/_jsx(motion.span,{variants:{rest:{width:`${lineWidth}%`},hover:{width:\"100%\"}},transition:{duration,ease:[.22,1,.36,1]},style:{position:\"absolute\",left:0,bottom:0,height:lineHeightPx,backgroundColor:hoverColor,display:\"block\"}})]});}AnimatedUnderlineLink.defaultProps={text:\"sign up\",textColor:\"#111111\",hoverColor:\"#FF5733\",fontSize:26,fontWeight:400,lineHeight:1.1,lineWidth:18,lineHeightPx:2,duration:.35,link:\"#\",font:\"Inter, sans-serif\"};addPropertyControls(AnimatedUnderlineLink,{text:{type:ControlType.String,title:\"Text\",defaultValue:\"sign up\"},link:{type:ControlType.String,title:\"Link URL\",defaultValue:\"#\"},font:{type:ControlType.String,title:\"Font Family\",defaultValue:\"Inter, sans-serif\"},textColor:{type:ControlType.Color,title:\"Text Color\",defaultValue:\"#111111\"},hoverColor:{type:ControlType.Color,title:\"Hover / Line\",defaultValue:\"#FF5733\"},fontSize:{type:ControlType.Number,title:\"Font Size\",defaultValue:26,min:8,max:100,unit:\"px\"},fontWeight:{type:ControlType.Number,title:\"Font Weight\",defaultValue:400,min:100,max:900,step:100},lineHeight:{type:ControlType.Number,title:\"Line Height\",defaultValue:1.1,min:.8,max:2,step:.1},lineWidth:{type:ControlType.Number,title:\"Idle Line %\",defaultValue:18,min:1,max:100,unit:\"%\"},lineHeightPx:{type:ControlType.Number,title:\"Line Thickness\",defaultValue:2,min:1,max:8,unit:\"px\"},duration:{type:ControlType.Number,title:\"Animation Speed\",defaultValue:.35,min:.1,max:2,step:.05}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"AnimatedUnderlineLink\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./Button_progress_bar.map"],"mappings":"A,oNAA+I,SAAwBS,EAAsB,EAAM,CAAC,GAAK,CAAC,OAAK,YAAU,aAAW,WAAS,aAAW,aAAW,YAAU,eAAa,WAAS,OAAK,QAAMC,EAAM,MAAoB,gBAAMN,EAAO,EAAE,CAAC,KAAKO,GAAM,IAAI,QAAQ,OAAO,QAAQ,OAAO,WAAW,QAAQ,WAAW,QAAQ,MAAM,CAAC,SAAS,WAAW,QAAQ,cAAc,cAAc,SAAS,WAAW,aAAa,MAAM,cAAc,cAAc,EAAE,eAAe,OAAO,OAAO,UAAU,WAAWC,CAAI,EAAE,SAAS,CAAc,gBAAKR,EAAO,KAAK,CAAC,SAAS,CAAC,KAAK,CAAC,MAAMS,CAAS,EAAE,MAAM,CAAC,MAAMC,CAAU,CAAC,EAAE,WAAW,CAAC,SAAS,GAAG,KAAK,SAAS,EAAE,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