{
  "version": 3,
  "sources": ["ssg:https://framerusercontent.com/modules/visiud6p20nuh6VhpdgR/riB1QI093W9D2Yf0JeGG/ProgressAnimation.js"],
  "sourcesContent": ["import{jsx as t,jsxs as e}from\"react/jsx-runtime\";import{useEffect as o,useState as r}from\"react\";import{addPropertyControls as i,ControlType as n}from\"framer\";export default function l(i){let{backgroundColor:n,progressColor:l,timeAnimation:a}=i,[s,u]=r(0);o(function(){let t=setInterval(function(){u(t=>t>=100?0:t+1);},a);return function(){clearInterval(t);};},[a]);let d={container:{width:\"100%\",height:\"100%\",position:\"relative\",overflow:\"hidden\"},background:{position:\"absolute\",top:0,left:0,width:\"100%\",height:\"100%\",background:n},progress:{position:\"absolute\",top:0,left:0,height:\"100%\",width:`${s}%`,background:l,transition:`width ${a}ms linear`}};return /*#__PURE__*/e(\"div\",{style:d.container,children:[/*#__PURE__*/t(\"div\",{style:d.background}),/*#__PURE__*/t(\"div\",{style:d.progress})]});}i(l,{backgroundColor:{title:\"Background Color\",type:n.Color,defaultValue:\"rgba(0, 0, 0, 0.12)\"},progressColor:{title:\"Progress Color\",type:n.Color,defaultValue:\"black\"},timeAnimation:{title:\"Animation Time (ms)\",type:n.Number,defaultValue:90,min:10,max:1e3,step:10}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"ProgressAnimation\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./ProgressAnimation.map"],
  "mappings": "8GAA+K,SAARA,EAAmBC,EAAE,CAAC,GAAG,CAAC,gBAAgBC,EAAE,cAAcF,EAAE,cAAcG,CAAC,EAAEF,EAAE,CAACG,EAAEC,CAAC,EAAEC,EAAE,CAAC,EAAEC,EAAE,UAAU,CAAC,IAAIC,EAAE,YAAY,UAAU,CAACH,EAAEG,GAAGA,GAAG,IAAI,EAAEA,EAAE,CAAC,CAAE,EAAEL,CAAC,EAAE,OAAO,U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