{"version":3,"file":"Progress_Bar.D4mxOPBo.mjs","names":[],"sources":["https:/framerusercontent.com/modules/pKRFTd8uBVh9HISwaKww/xmCRrTkJh8AuWDM5Wx8i/Progress_Bar.js"],"sourcesContent":["import{jsx as _jsx}from\"react/jsx-runtime\";import{motion}from\"framer-motion\";import{addPropertyControls,ControlType}from\"framer\";export function ProgressBar(props){const{barColor,backgroundColor,duration,borderRadius}=props;const containerStyle={width:\"100%\",minWidth:\"10px\",height:\"100%\",minHeight:\"1px\",backgroundColor,borderRadius:`${borderRadius}px`,overflow:\"hidden\"};const barStyle={backgroundColor:barColor,height:\"100%\",borderRadius:`${borderRadius}px`};return /*#__PURE__*/_jsx(\"div\",{style:containerStyle,children:/*#__PURE__*/_jsx(motion.div,{style:barStyle,initial:{width:0},animate:{width:\"100%\"},transition:{duration:duration,ease:\"linear\"}})});}ProgressBar.defaultProps={barColor:\"#4caf50\",backgroundColor:\"#e0e0e0\",duration:5,borderRadius:0};addPropertyControls(ProgressBar,{barColor:{type:ControlType.Color,title:\"Bar Color\",defaultValue:ProgressBar.defaultProps.barColor},backgroundColor:{type:ControlType.Color,title:\"Background Color\",defaultValue:ProgressBar.defaultProps.backgroundColor},duration:{type:ControlType.Number,title:\"Duration (Seconds)\",defaultValue:ProgressBar.defaultProps.duration,min:1,max:60,step:1},borderRadius:{type:ControlType.Number,title:\"Border Radius\",defaultValue:ProgressBar.defaultProps.borderRadius,min:0,max:100,step:1}});\nexport const __FramerMetadata__ = {\"exports\":{\"ProgressBar\":{\"type\":\"reactComponent\",\"name\":\"ProgressBar\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./Progress_Bar.map"],"mappings":"iTAAiI,SAAgB,EAAY,EAAM,CAAC,GAAK,CAAC,WAAS,kBAAgB,WAAS,gBAAc,EAAY,EAAe,CAAC,MAAM,OAAO,SAAS,OAAO,OAAO,OAAO,UAAU,MAAM,kBAAgB,aAAa,GAAG,EAAa,IAAI,SAAS,SAAS,CAAO,EAAS,CAAC,gBAAgB,EAAS,OAAO,OAAO,aAAa,GAAG,EAAa,IAAI,CAAC,OAAoB,EAAK,MAAM,CAAC,MAAM,EAAe,SAAsB,EAAK,EAAO,IAAI,CAAC,MAAM,EAAS,QAAQ,CAAC,MAAM,EAAE,CAAC,QAAQ,CAAC,MAAM,OAAO,CAAC,WAAW,CAAU,WAAS,KAAK,SAAS,CAAC,CAAC,CAAC,CAAC,kBAAvmB,IAAkC,IAAoD,CAAmhB,EAAY,aAAa,CAAC,SAAS,UAAU,gBAAgB,UAAU,SAAS,EAAE,aAAa,EAAE,CAAC,EAAoB,EAAY,CAAC,SAAS,CAAC,KAAK,EAAY,MAAM,MAAM,YAAY,aAAa,EAAY,aAAa,SAAS,CAAC,gBAAgB,CAAC,KAAK,EAAY,MAAM,MAAM,mBAAmB,aAAa,EAAY,aAAa,gBAAgB,CAAC,SAAS,CAAC,KAAK,EAAY,OAAO,MAAM,qBAAqB,aAAa,EAAY,aAAa,SAAS,IAAI,EAAE,IAAI,GAAG,KAAK,EAAE,CAAC,aAAa,CAAC,KAAK,EAAY,OAAO,MAAM,gBAAgB,aAAa,EAAY,aAAa,aAAa,IAAI,EAAE,IAAI,IAAI,KAAK,EAAE,CAAC,CAAC"}