{"version":3,"file":"MaskCounter.BHFdAPxF.mjs","names":["Image","useState","useRef","x"],"sources":["https:/framerusercontent.com/modules/rkUMQRvwYqaLMJo9idKq/DA1Als9PXLAIjJEUUpwl/v_Re9OM76.js","https:/framerusercontent.com/modules/0jqdvmuqdyE98SORus9a/DCH17baLXZyU38Te5KfB/MaskCounter.js"],"sourcesContent":["// Generated by Framer (ca9141d)\nimport{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import{addFonts,addPropertyControls,ControlType,cx,getLoadingLazyAtYPosition,Image,RichText,useComponentViewport,useLocaleInfo,useVariantState,withCSS}from\"framer\";import{LayoutGroup,motion,MotionConfigContext}from\"framer-motion\";import*as React from\"react\";const enabledGestures={tuAON1T4Q:{hover:true},UBAqdIlBu:{hover:true}};const cycleOrder=[\"UBAqdIlBu\",\"tuAON1T4Q\",\"pl42Dsueb\"];const serializationHash=\"framer-zEZMv\";const variantClassNames={pl42Dsueb:\"framer-v-8g5pvh\",tuAON1T4Q:\"framer-v-1b5tkrr\",UBAqdIlBu:\"framer-v-1jihc77\"};function addPropertyOverrides(overrides,...variants){const nextOverrides={};variants===null||variants===void 0?void 0:variants.forEach(variant=>variant&&Object.assign(nextOverrides,overrides[variant]));return nextOverrides;}const transition1={bounce:.2,delay:0,duration:.4,type:\"spring\"};const transformTemplate1=(_,t)=>`translateX(-50%) ${t}`;const toResponsiveImage=value=>{if(typeof value===\"object\"&&value!==null&&typeof value.src===\"string\"){return value;}return typeof value===\"string\"?{src:value}:undefined;};const Transition=({value,children})=>{const config=React.useContext(MotionConfigContext);const transition=value!==null&&value!==void 0?value:config.transition;const contextValue=React.useMemo(()=>({...config,transition}),[JSON.stringify(transition)]);return /*#__PURE__*/_jsx(MotionConfigContext.Provider,{value:contextValue,children:children});};const Variants=motion.create(React.Fragment);const humanReadableVariantMap={\"Variant 3\":\"pl42Dsueb\",Toby:\"UBAqdIlBu\",Variant:\"tuAON1T4Q\"};const getProps=({height,id,teamprofile,title,width,...props})=>{var _ref,_humanReadableVariantMap_props_variant,_ref1,_ref2;return{...props,ioVZP2H3Z:(_ref=title!==null&&title!==void 0?title:props.ioVZP2H3Z)!==null&&_ref!==void 0?_ref:\"Toby\",variant:(_ref1=(_humanReadableVariantMap_props_variant=humanReadableVariantMap[props.variant])!==null&&_humanReadableVariantMap_props_variant!==void 0?_humanReadableVariantMap_props_variant:props.variant)!==null&&_ref1!==void 0?_ref1:\"UBAqdIlBu\",yCA_t8IrW:(_ref2=teamprofile!==null&&teamprofile!==void 0?teamprofile:props.yCA_t8IrW)!==null&&_ref2!==void 0?_ref2:{src:\"https://framerusercontent.com/images/VVVqqpD4oEORVkI511UtxPWRg.png?scale-down-to=512\",srcSet:\"https://framerusercontent.com/images/VVVqqpD4oEORVkI511UtxPWRg.png?scale-down-to=512 512w,https://framerusercontent.com/images/VVVqqpD4oEORVkI511UtxPWRg.png 800w\"}};};const createLayoutDependency=(props,variants)=>{if(props.layoutDependency)return variants.join(\"-\")+props.layoutDependency;return variants.join(\"-\");};const Component=/*#__PURE__*/React.forwardRef(function(props,ref){const{activeLocale,setLocale}=useLocaleInfo();const{style,className,layoutId,variant,yCA_t8IrW,ioVZP2H3Z,...restProps}=getProps(props);const{baseVariant,classNames,clearLoadingGesture,gestureHandlers,gestureVariant,isLoading,setGestureState,setVariant,variants}=useVariantState({cycleOrder,defaultVariant:\"UBAqdIlBu\",enabledGestures,variant,variantClassNames});const layoutDependency=createLayoutDependency(props,variants);const ref1=React.useRef(null);const defaultLayoutId=React.useId();const sharedStyleClassNames=[];const componentViewport=useComponentViewport();return /*#__PURE__*/_jsx(LayoutGroup,{id:layoutId!==null&&layoutId!==void 0?layoutId:defaultLayoutId,children:/*#__PURE__*/_jsx(Variants,{animate:variants,initial:false,children:/*#__PURE__*/_jsx(Transition,{value:transition1,children:/*#__PURE__*/_jsxs(motion.div,{...restProps,...gestureHandlers,className:cx(serializationHash,...sharedStyleClassNames,\"framer-1jihc77\",className,classNames),\"data-framer-name\":\"Toby\",layoutDependency:layoutDependency,layoutId:\"UBAqdIlBu\",ref:ref!==null&&ref!==void 0?ref:ref1,style:{...style},...addPropertyOverrides({\"tuAON1T4Q-hover\":{\"data-framer-name\":undefined},\"UBAqdIlBu-hover\":{\"data-framer-name\":undefined},pl42Dsueb:{\"data-framer-name\":\"Variant 3\"},tuAON1T4Q:{\"data-framer-name\":undefined}},baseVariant,gestureVariant),children:[/*#__PURE__*/_jsxs(motion.div,{className:\"framer-18ptnzd\",\"data-framer-name\":\"Tooltip\",layoutDependency:layoutDependency,layoutId:\"MXJmuKpKQ\",style:{backgroundColor:\"var(--token-2507b644-ca70-48b4-8a80-9e3124a5c985, rgb(250, 250, 250))\",borderBottomLeftRadius:9,borderBottomRightRadius:9,borderTopLeftRadius:9,borderTopRightRadius:9,opacity:0,scale:1},variants:{\"tuAON1T4Q-hover\":{opacity:1,scale:1},\"UBAqdIlBu-hover\":{opacity:1},pl42Dsueb:{opacity:1},tuAON1T4Q:{scale:.5}},...addPropertyOverrides({tuAON1T4Q:{transformTemplate:transformTemplate1}},baseVariant,gestureVariant),children:[/*#__PURE__*/_jsx(motion.div,{className:\"framer-yi2p35\",\"data-framer-name\":\"arrow\",layoutDependency:layoutDependency,layoutId:\"thsc6M0LN\",style:{backgroundColor:\"var(--token-2507b644-ca70-48b4-8a80-9e3124a5c985, rgb(250, 250, 250))\",borderBottomLeftRadius:2,borderBottomRightRadius:2,borderTopLeftRadius:2,borderTopRightRadius:2,rotate:45},transformTemplate:transformTemplate1}),/*#__PURE__*/_jsx(RichText,{__fromCanvasComponent:true,children:/*#__PURE__*/_jsx(React.Fragment,{children:/*#__PURE__*/_jsx(motion.p,{style:{\"--font-selector\":\"RlI7SW50ZXJEaXNwbGF5LVNlbWlCb2xk\",\"--framer-font-family\":'\"Inter Display\", \"Inter Display Placeholder\", sans-serif',\"--framer-font-weight\":\"600\",\"--framer-line-height\":\"1em\",\"--framer-text-alignment\":\"center\",\"--framer-text-color\":\"var(--extracted-r6o4lv, var(--token-2e55662e-d6bf-4329-b432-3c735e37723b, rgb(17, 17, 17)))\"},children:\"Toby\"})}),className:\"framer-w3xvva\",fonts:[\"FR;InterDisplay-SemiBold\"],layoutDependency:layoutDependency,layoutId:\"Llg9LXlEz\",style:{\"--extracted-r6o4lv\":\"var(--token-2e55662e-d6bf-4329-b432-3c735e37723b, rgb(17, 17, 17))\",\"--framer-link-current-text-color\":'var(--token-bd71055c-0a2c-4476-8cc9-4310acba652d, rgb(0, 136, 255)) /* {\"name\":\"Blue\"} */',\"--framer-paragraph-spacing\":\"0px\"},text:ioVZP2H3Z,verticalAlignment:\"top\",withExternalLayout:true})]}),/*#__PURE__*/_jsx(Image,{background:{alt:\"\",fit:\"fill\",loading:getLoadingLazyAtYPosition(((componentViewport===null||componentViewport===void 0?void 0:componentViewport.y)||0)+0+(((componentViewport===null||componentViewport===void 0?void 0:componentViewport.height)||46)-0-96+39+10)),pixelHeight:800,pixelWidth:800,sizes:\"46px\",...toResponsiveImage(yCA_t8IrW)},className:\"framer-1t7quh4\",\"data-framer-name\":\"photo\",layoutDependency:layoutDependency,layoutId:\"sSACSWLA1\",style:{\"--border-bottom-width\":\"0px\",\"--border-color\":\"rgba(0, 0, 0, 0)\",\"--border-left-width\":\"0px\",\"--border-right-width\":\"0px\",\"--border-style\":\"solid\",\"--border-top-width\":\"0px\",borderBottomLeftRadius:1e3,borderBottomRightRadius:1e3,borderTopLeftRadius:1e3,borderTopRightRadius:1e3,boxShadow:\"0px 0px 4px 0px rgb(8, 0, 255)\"},variants:{\"tuAON1T4Q-hover\":{boxShadow:\"none\"},\"UBAqdIlBu-hover\":{boxShadow:\"none\"},tuAON1T4Q:{\"--border-bottom-width\":\"1px\",\"--border-color\":\"var(--token-d03883a3-ac95-4b2a-a9f9-224cd1d80792, rgb(97, 95, 253))\",\"--border-left-width\":\"1px\",\"--border-right-width\":\"1px\",\"--border-style\":\"solid\",\"--border-top-width\":\"1px\",boxShadow:\"none\"}},...addPropertyOverrides({\"UBAqdIlBu-hover\":{background:{alt:\"\",fit:\"fill\",loading:getLoadingLazyAtYPosition(((componentViewport===null||componentViewport===void 0?void 0:componentViewport.y)||0)+0+(((componentViewport===null||componentViewport===void 0?void 0:componentViewport.height)||46)-0-97+39+10)),pixelHeight:800,pixelWidth:800,sizes:\"48px\",...toResponsiveImage(yCA_t8IrW),...{positionX:\"center\",positionY:\"center\"}}},tuAON1T4Q:{\"data-border\":true,background:{alt:\"\",fit:\"fill\",loading:getLoadingLazyAtYPosition(((componentViewport===null||componentViewport===void 0?void 0:componentViewport.y)||0)+0+(((componentViewport===null||componentViewport===void 0?void 0:componentViewport.height)||46)-0-46+0+0)),pixelHeight:800,pixelWidth:800,sizes:\"46px\",...toResponsiveImage(yCA_t8IrW)}}},baseVariant,gestureVariant)})]})})})});});const css=[\"@supports (aspect-ratio: 1) { body { --framer-aspect-ratio-supported: auto; } }\",\".framer-zEZMv.framer-1emzwh4, .framer-zEZMv .framer-1emzwh4 { display: block; }\",\".framer-zEZMv.framer-1jihc77 { align-content: center; align-items: center; cursor: pointer; display: flex; flex-direction: column; flex-wrap: nowrap; gap: 10px; height: 46px; justify-content: flex-end; overflow: visible; padding: 0px; position: relative; width: min-content; }\",\".framer-zEZMv .framer-18ptnzd { align-content: center; align-items: center; display: flex; flex: none; flex-direction: row; flex-wrap: nowrap; gap: 5px; height: 39px; justify-content: flex-start; overflow: visible; padding: 10px 16px 10px 16px; position: relative; width: min-content; z-index: 2; }\",\".framer-zEZMv .framer-yi2p35 { aspect-ratio: 1 / 1; bottom: -6px; flex: none; height: var(--framer-aspect-ratio-supported, 13px); left: 49%; overflow: hidden; position: absolute; width: 13px; will-change: var(--framer-will-change-override, transform); z-index: 1; }\",\".framer-zEZMv .framer-w3xvva { -webkit-user-select: none; flex: none; height: auto; position: relative; user-select: none; white-space: pre; width: auto; }\",\".framer-zEZMv .framer-1t7quh4 { aspect-ratio: 1 / 1; flex: none; height: var(--framer-aspect-ratio-supported, 46px); overflow: hidden; position: relative; width: 46px; will-change: var(--framer-will-change-override, transform); z-index: 1; }\",\"@supports (background: -webkit-named-image(i)) and (not (font-palette:dark)) { .framer-zEZMv.framer-1jihc77, .framer-zEZMv .framer-18ptnzd { gap: 0px; } .framer-zEZMv.framer-1jihc77 > * { margin: 0px; margin-bottom: calc(10px / 2); margin-top: calc(10px / 2); } .framer-zEZMv.framer-1jihc77 > :first-child { margin-top: 0px; } .framer-zEZMv.framer-1jihc77 > :last-child { margin-bottom: 0px; } .framer-zEZMv .framer-18ptnzd > * { margin: 0px; margin-left: calc(5px / 2); margin-right: calc(5px / 2); } .framer-zEZMv .framer-18ptnzd > :first-child { margin-left: 0px; } .framer-zEZMv .framer-18ptnzd > :last-child { margin-right: 0px; } }\",\".framer-zEZMv.framer-v-1b5tkrr .framer-18ptnzd { gap: 0px; left: 50%; position: absolute; top: -45px; }\",\"@supports (background: -webkit-named-image(i)) and (not (font-palette:dark)) { .framer-zEZMv.framer-v-1b5tkrr .framer-18ptnzd { gap: 0px; } .framer-zEZMv.framer-v-1b5tkrr .framer-18ptnzd > * { margin: 0px; margin-left: calc(0px / 2); margin-right: calc(0px / 2); } .framer-zEZMv.framer-v-1b5tkrr .framer-18ptnzd > :first-child { margin-left: 0px; } .framer-zEZMv.framer-v-1b5tkrr .framer-18ptnzd > :last-child { margin-right: 0px; } }\",\".framer-zEZMv.framer-v-8g5pvh.framer-1jihc77 { cursor: unset; }\",\".framer-zEZMv.framer-v-1jihc77.hover .framer-18ptnzd { pointer-events: none; }\",\".framer-zEZMv.framer-v-1jihc77.hover .framer-1t7quh4 { height: var(--framer-aspect-ratio-supported, 48px); width: 48px; }\",\".framer-zEZMv.framer-v-1b5tkrr.hover .framer-18ptnzd { left: 52%; order: 0; pointer-events: none; top: -47px; }\",\".framer-zEZMv.framer-v-1b5tkrr.hover .framer-1t7quh4 { order: 1; }\",'.framer-zEZMv[data-border=\"true\"]::after, .framer-zEZMv [data-border=\"true\"]::after { content: \"\"; border-width: var(--border-top-width, 0) var(--border-right-width, 0) var(--border-bottom-width, 0) var(--border-left-width, 0); border-color: var(--border-color, none); border-style: var(--border-style, none); width: 100%; height: 100%; position: absolute; box-sizing: border-box; left: 0; top: 0; border-radius: inherit; pointer-events: none; }'];/**\n * This is a generated Framer component.\n * @framerIntrinsicHeight 46\n * @framerIntrinsicWidth 67\n * @framerCanvasComponentVariantDetails {\"propertyName\":\"variant\",\"data\":{\"default\":{\"layout\":[\"auto\",\"fixed\"]},\"tuAON1T4Q\":{\"layout\":[\"auto\",\"fixed\"]},\"pl42Dsueb\":{\"layout\":[\"auto\",\"fixed\"]},\"DlzLxGVnR\":{\"layout\":[\"auto\",\"fixed\"]},\"BM9T3q4BF\":{\"layout\":[\"auto\",\"fixed\"]}}}\n * @framerVariables {\"yCA_t8IrW\":\"teamprofile\",\"ioVZP2H3Z\":\"title\"}\n * @framerImmutableVariables true\n * @framerDisplayContentsDiv false\n * @framerComponentViewportWidth true\n */const Framerv_Re9OM76=withCSS(Component,css,\"framer-zEZMv\");export default Framerv_Re9OM76;Framerv_Re9OM76.displayName=\"Team\";Framerv_Re9OM76.defaultProps={height:46,width:67};addPropertyControls(Framerv_Re9OM76,{variant:{options:[\"UBAqdIlBu\",\"tuAON1T4Q\",\"pl42Dsueb\"],optionTitles:[\"Toby\",\"Variant\",\"Variant 3\"],title:\"Variant\",type:ControlType.Enum},yCA_t8IrW:{__defaultAssetReference:\"data:framer/asset-reference,VVVqqpD4oEORVkI511UtxPWRg.png?originalFilename=image.png&preferredSize=auto\",description:\"\",title:\"teamprofile\",type:ControlType.ResponsiveImage},ioVZP2H3Z:{defaultValue:\"Toby\",displayTextArea:false,placeholder:\"\",title:\"Title\",type:ControlType.String}});addFonts(Framerv_Re9OM76,[{explicitInter:true,fonts:[{family:\"Inter Display\",source:\"framer\",style:\"normal\",unicodeRange:\"U+0460-052F, U+1C80-1C88, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F\",url:\"https://framerusercontent.com/assets/gazZKZuUEtvr9ULhdA4SprP0AZ0.woff2\",weight:\"600\"},{family:\"Inter Display\",source:\"framer\",style:\"normal\",unicodeRange:\"U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116\",url:\"https://framerusercontent.com/assets/pe8RoujoPxuTZhqoNzYqHX2MXA.woff2\",weight:\"600\"},{family:\"Inter Display\",source:\"framer\",style:\"normal\",unicodeRange:\"U+1F00-1FFF\",url:\"https://framerusercontent.com/assets/teGhWnhH3bCqefKGsIsqFy3hK8.woff2\",weight:\"600\"},{family:\"Inter Display\",source:\"framer\",style:\"normal\",unicodeRange:\"U+0370-03FF\",url:\"https://framerusercontent.com/assets/qQHxgTnEk6Czu1yW4xS82HQWFOk.woff2\",weight:\"600\"},{family:\"Inter Display\",source:\"framer\",style:\"normal\",unicodeRange:\"U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF\",url:\"https://framerusercontent.com/assets/MJ3N6lfN4iP5Um8rJGqLYl03tE.woff2\",weight:\"600\"},{family:\"Inter Display\",source:\"framer\",style:\"normal\",unicodeRange:\"U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD\",url:\"https://framerusercontent.com/assets/dHHUz45rhM2KCQpj9zttNVlibk.woff2\",weight:\"600\"},{family:\"Inter Display\",source:\"framer\",style:\"normal\",unicodeRange:\"U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+1EA0-1EF9, U+20AB\",url:\"https://framerusercontent.com/assets/0SEEmmWc3vovhaai4RlRQSWRrz0.woff2\",weight:\"600\"}]}],{supportsExplicitInterCodegen:true});\nexport const __FramerMetadata__ = {\"exports\":{\"Props\":{\"type\":\"tsType\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"default\":{\"type\":\"reactComponent\",\"name\":\"Framerv_Re9OM76\",\"slots\":[],\"annotations\":{\"framerIntrinsicHeight\":\"46\",\"framerContractVersion\":\"1\",\"framerVariables\":\"{\\\"yCA_t8IrW\\\":\\\"teamprofile\\\",\\\"ioVZP2H3Z\\\":\\\"title\\\"}\",\"framerIntrinsicWidth\":\"67\",\"framerImmutableVariables\":\"true\",\"framerComponentViewportWidth\":\"true\",\"framerDisplayContentsDiv\":\"false\",\"framerCanvasComponentVariantDetails\":\"{\\\"propertyName\\\":\\\"variant\\\",\\\"data\\\":{\\\"default\\\":{\\\"layout\\\":[\\\"auto\\\",\\\"fixed\\\"]},\\\"tuAON1T4Q\\\":{\\\"layout\\\":[\\\"auto\\\",\\\"fixed\\\"]},\\\"pl42Dsueb\\\":{\\\"layout\\\":[\\\"auto\\\",\\\"fixed\\\"]},\\\"DlzLxGVnR\\\":{\\\"layout\\\":[\\\"auto\\\",\\\"fixed\\\"]},\\\"BM9T3q4BF\\\":{\\\"layout\\\":[\\\"auto\\\",\\\"fixed\\\"]}}}\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./v_Re9OM76.map","import{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import{useState,useEffect,useRef}from\"react\";import{motion,animate,useInView}from\"framer-motion\";import{addPropertyControls,ControlType}from\"framer\";import confetti from\"canvas-confetti\";export default function AnimatedMetricWithMask({from=0,to=1e6,duration=2,decimalPlaces=0,minFontSize=50,maxFontSize=200,fontWeight=\"bold\",textAlign=\"center\",fontFamily=\"PP Eiko Bold\",suffixFontSize=50,suffixFontWeight=\"normal\",switchToMillionThreshold=9e5,backgroundImage=\"\",confettiEnabled=true}){const[currentValue,setCurrentValue]=useState(from);const ref=useRef(null);const isInView=useInView(ref,{once:true,margin:\"0px 0px -50px 0px\"});useEffect(()=>{if(isInView){const controls=animate(from,to,{duration:duration,ease:\"easeInOut\",onUpdate:latest=>{setCurrentValue(latest);},onComplete:()=>{if(confettiEnabled)triggerFireworkConfetti();}});return()=>controls.stop();}},[isInView,from,to,duration,confettiEnabled]);const triggerFireworkConfetti=()=>{const element=ref.current;if(!element)return;const{x,y,width,height}=element.getBoundingClientRect();const originX=x+width/2;const originY=y+height;const fireworkConfig={particleCount:50,angle:60,spread:120,startVelocity:40,decay:.9,gravity:1.2,ticks:60,scalar:1.1,origin:{x:originX/window.innerWidth,y:originY/window.innerHeight}};confetti({...fireworkConfig,angle:60});confetti({...fireworkConfig,angle:120});};const calculateFontSize=value=>{const range=to-from||1;const progress=(value-from)/range;return Math.min(Math.max(minFontSize,progress*(maxFontSize-minFontSize)+minFontSize),maxFontSize);};const formatNumber=value=>{if(value>=switchToMillionThreshold){return{main:(value/1e6).toFixed(decimalPlaces),suffix:\"M\"};}else if(value>=1e3){return{main:(value/1e3).toFixed(decimalPlaces),suffix:\"K\"};}return{main:value.toFixed(decimalPlaces),suffix:\"\"};};const formatted=formatNumber(currentValue);const containerStyle={display:\"flex\",justifyContent:textAlign,alignItems:\"baseline\",fontFamily:fontFamily,lineHeight:\"1em\",userSelect:\"none\",position:\"relative\"};const maskStyle={backgroundImage:`url(${backgroundImage})`,backgroundSize:\"cover\",backgroundClip:\"text\",WebkitBackgroundClip:\"text\",color:\"transparent\",WebkitTextFillColor:\"transparent\",fontWeight:fontWeight,fontVariantNumeric:\"tabular-nums\",lineHeight:\"1em\"};return /*#__PURE__*/_jsxs(motion.div,{ref:ref,style:containerStyle,children:[/*#__PURE__*/_jsx(motion.span,{style:{...maskStyle,fontSize:`${calculateFontSize(currentValue)}px`},children:formatted.main}),/*#__PURE__*/_jsx(\"span\",{style:{...maskStyle,fontSize:`${suffixFontSize}px`,fontWeight:suffixFontWeight,marginLeft:\"5px\"},children:formatted.suffix})]});}addPropertyControls(AnimatedMetricWithMask,{from:{type:ControlType.Number,title:\"From\",defaultValue:0,min:0,step:.1},to:{type:ControlType.Number,title:\"To\",defaultValue:1e3,min:1,step:.1},duration:{type:ControlType.Number,title:\"Duration (s)\",defaultValue:2,min:.1,step:.1},decimalPlaces:{type:ControlType.Number,title:\"Decimals\",defaultValue:0,min:0,max:5,step:1},minFontSize:{type:ControlType.Number,title:\"Min Font Size\",defaultValue:50,min:10,max:200,step:1},maxFontSize:{type:ControlType.Number,title:\"Max Font Size\",defaultValue:200,min:50,max:300,step:1},suffixFontSize:{type:ControlType.Number,title:\"Suffix Font Size\",defaultValue:50,min:10,max:100,step:1},suffixFontWeight:{type:ControlType.Enum,title:\"Suffix Font Weight\",defaultValue:\"normal\",options:[\"normal\",\"bold\",\"lighter\",\"bolder\",\"100\",\"200\",\"300\",\"400\",\"500\",\"600\",\"700\",\"800\",\"900\"],optionTitles:[\"Normal\",\"Bold\",\"Lighter\",\"Bolder\",\"100\",\"200\",\"300\",\"400\",\"500\",\"600\",\"700\",\"800\",\"900\"]},switchToMillionThreshold:{type:ControlType.Number,title:\"Million Threshold\",defaultValue:9e5,min:1e5,max:1e6,step:1e4},confettiEnabled:{type:ControlType.Boolean,title:\"Confetti Enabled\",defaultValue:true},backgroundImage:{type:ControlType.Image,title:\"Background Image\"},fontFamily:{type:ControlType.Enum,title:\"Font Family\",defaultValue:\"PP Eiko Bold\",options:[\"PP Eiko Bold\",\"Arial\",\"Times New Roman\",\"Roboto\",\"Helvetica\"],optionTitles:[\"PP Eiko Bold\",\"Arial\",\"Times New Roman\",\"Roboto\",\"Helvetica\"]}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"AnimatedMetricWithMask\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./MaskCounter.map"],"mappings":"qtBAC+kB,SAAS,EAAqB,EAAU,GAAG,EAAS,CAAC,IAAM,EAAc,EAAE,CAA+H,OAA9H,GAAmD,QAAQ,GAAS,GAAS,OAAO,OAAO,EAAc,EAAU,KAAkB,CAAe,6DAA9e,EAAgB,CAAC,UAAU,CAA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