{"version":3,"file":"Bar_chat.DLUltDFc.mjs","names":[],"sources":["https:/framerusercontent.com/modules/zp6YNMXmUlcbc0zzLXAB/huKGi2st08qeWIBEwHM0/Bar_chat.js"],"sourcesContent":["import{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import{addPropertyControls,ControlType,motion}from\"framer\";export default function FlameProgress(props){const{percent=92,label=\"INGRESSOS VENDIDOS\",height=36,bgColor=\"#2B1E14\",fillFrom=\"#FF8A00\",fillTo=\"#FF3D00\",showFlame=true,flameEmoji=\"🔥\",animationDuration=1.5,paddingLeft=20,paddingRight=20,labelFontSize=14,percentFontSize=16}=props;// Garantir que percent fique entre 0 e 100\nconst pct=Math.max(0,Math.min(100,percent));return /*#__PURE__*/_jsx(\"div\",{style:{width:\"100%\",height,background:bgColor,borderRadius:999,position:\"relative\",overflow:\"hidden\",boxShadow:\"inset 0 1px 0 rgba(255,255,255,0.08)\"},children:/*#__PURE__*/_jsxs(motion.div,{initial:{width:0},animate:{width:`${pct}%`},transition:{duration:animationDuration,ease:[.25,.1,.25,1]},style:{height:\"100%\",background:`linear-gradient(90deg, ${fillFrom}, ${fillTo})`,borderRadius:999,position:\"relative\"},children:[/*#__PURE__*/_jsx(\"div\",{style:{position:\"absolute\",top:0,right:-height*.45,width:height*1.3,height:height*1.3,borderRadius:\"50%\",pointerEvents:\"none\",background:\"radial-gradient(circle at 35% 50%, rgba(255,255,255,0.9), rgba(255,255,255,0.25) 45%, rgba(255,255,255,0) 70%)\",filter:\"blur(1px)\"}}),/*#__PURE__*/_jsxs(\"div\",{style:{position:\"absolute\",inset:0,display:\"flex\",alignItems:\"center\",justifyContent:\"space-between\",paddingLeft:paddingLeft,paddingRight:paddingRight,color:\"#fff\",fontWeight:700,letterSpacing:.3,textTransform:\"uppercase\",mixBlendMode:\"screen\",textShadow:\"0 1px 0 rgba(0,0,0,0.25)\"},children:[/*#__PURE__*/_jsx(\"span\",{style:{fontSize:labelFontSize},children:label}),/*#__PURE__*/_jsxs(\"span\",{style:{display:\"flex\",alignItems:\"center\",gap:6,fontSize:percentFontSize},children:[pct.toFixed(0),\"%\",showFlame&&/*#__PURE__*/_jsx(\"span\",{style:{fontSize:percentFontSize},children:flameEmoji})]})]})]})});}// Property Controls no Framer\naddPropertyControls(FlameProgress,{percent:{type:ControlType.Number,defaultValue:92,min:0,max:100,step:1,title:\"Percent\"},label:{type:ControlType.String,defaultValue:\"INGRESSOS VENDIDOS\",title:\"Label\"},height:{type:ControlType.Number,defaultValue:36,min:20,max:100,step:1,title:\"Height\"},paddingLeft:{type:ControlType.Number,defaultValue:20,min:0,max:100,step:1,title:\"Padding Left\"},paddingRight:{type:ControlType.Number,defaultValue:20,min:0,max:100,step:1,title:\"Padding Right\"},labelFontSize:{type:ControlType.Number,defaultValue:14,min:8,max:48,step:1,title:\"Label Font Size\"},percentFontSize:{type:ControlType.Number,defaultValue:16,min:8,max:48,step:1,title:\"Percent Font Size\"},bgColor:{type:ControlType.Color,defaultValue:\"#2B1E14\",title:\"Background\"},fillFrom:{type:ControlType.Color,defaultValue:\"#FF8A00\",title:\"Fill From\"},fillTo:{type:ControlType.Color,defaultValue:\"#FF3D00\",title:\"Fill To\"},showFlame:{type:ControlType.Boolean,defaultValue:true,title:\"Show Flame\"},flameEmoji:{type:ControlType.String,defaultValue:\"🔥\",title:\"Flame Emoji\"},animationDuration:{type:ControlType.Number,defaultValue:1.5,min:.2,max:5,step:.1,title:\"Animation (s)\"}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"FlameProgress\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./Bar_chat.map"],"mappings":"uRAAoH,SAAwB,EAAc,EAAM,CAAC,GAAK,CAAC,UAAQ,GAAG,QAAM,qBAAqB,SAAO,GAAG,UAAQ,UAAU,WAAS,UAAU,SAAO,UAAU,YAAU,GAAK,aAAW,KAAK,o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