{"version":3,"file":"CounterText.CPgM0bpD.mjs","names":["mask","Base","MotionSVG","SVG","svg","getProps","Icon","React.forwardRef","mask","Base","MotionSVG","SVG","svg","getProps","Icon","React.forwardRef","React.forwardRef","useRef","useState","useMemo"],"sources":["https:/framerusercontent.com/modules/doW1YwUbIeqI1QyfjEPY/tWIePTFJx7Fbd9HT8wzl/HYDURVomv.js","https:/framerusercontent.com/modules/grKN2nm44MZXgLihIXJk/IxoQfaJBejGyLzczZnLY/pEURApuFC.js","https:/framerusercontent.com/modules/qBb8UBPnjFtW9t1jeiiV/Q7r1koyAP1evhusHW5Ii/J5zKEHgrD.js","https:/framerusercontent.com/modules/lmYljMlLQa5CzvoxzWys/NjZApFTIYC6LWVMsMIhX/CounterText.js"],"sourcesContent":["// Generated by Framer (85eaff3)\nimport{jsx as _jsx}from\"react/jsx-runtime\";import{addPropertyControls,ControlType,cx,motion,useSVGTemplate,withCSS}from\"framer\";import*as React from\"react\";import{forwardRef}from\"react\";const mask=\"var(--framer-icon-mask)\";const Base=/*#__PURE__*/forwardRef(function(props,ref){return /*#__PURE__*/_jsx(\"svg\",{...props,ref:ref,children:props.children});});const MotionSVG=motion.create(Base);const SVG=/*#__PURE__*/forwardRef((props,ref)=>{const{animated,layoutId,children,...rest}=props;return animated?/*#__PURE__*/_jsx(MotionSVG,{...rest,layoutId:layoutId,ref:ref,children:children}):/*#__PURE__*/_jsx(\"svg\",{...rest,ref:ref,children:children});});const svg='<svg display=\"block\" role=\"presentation\" viewBox=\"0 0 24 24\" xmlns=\"http://www.w3.org/2000/svg\"><path d=\"M 11 5 C 11 2.24 8.54 0 5.5 0 C 2.46 0 0 2.24 0 5 L 2 5 L 3 4 L 4 5 L 8 5\" fill=\"transparent\" height=\"5px\" id=\"eX38XvTU9\" stroke-dasharray=\"\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"var(--js9iwy, 2)\" stroke=\"var(--1m973uw, rgb(0,0,0))\" transform=\"translate(2 3)\" width=\"11px\"/><path d=\"M 0 1.14 C 1.013 0.391 2.241 -0.009 3.5 0 C 6.54 0 9 2.24 9 5 L 6 5 L 5 4 L 4 5 L 1 5\" fill=\"transparent\" height=\"5.000137852418714px\" id=\"YDTa1syRD\" stroke-dasharray=\"\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"var(--js9iwy, 2)\" stroke=\"var(--1m973uw, rgb(0,0,0))\" transform=\"translate(13 6)\" width=\"9px\"/><path d=\"M 1.718 1.722 C -0.432 3.872 -0.582 7.192 1.368 9.152 L 5.608 4.902 L 6.308 4.202 L 7.018 3.492 L 9.138 1.372 C 7.188 -0.588 3.868 -0.428 1.718 1.722\" fill=\"transparent\" height=\"9.152179062614422px\" id=\"GgTStUCaZ\" stroke-dasharray=\"\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"var(--js9iwy, 2)\" stroke=\"var(--1m973uw, rgb(0,0,0))\" transform=\"translate(4.172 7.988)\" width=\"9.138213632710347px\"/><path d=\"M 1 7.5 C 1.5 10 0.83 12 0 14 L 4 14 C 6 8.5 3.5 2 3 0\" fill=\"transparent\" height=\"14px\" id=\"ZwQ7pGS5a\" stroke-dasharray=\"\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"var(--js9iwy, 2)\" stroke=\"var(--1m973uw, rgb(0,0,0))\" transform=\"translate(10 8)\" width=\"4.764318221342608px\"/></svg>';const getProps=({color,height,id,width,width1,...props})=>{return{...props,JEeZYcamG:width1??props.JEeZYcamG??2,P_DcoRcrY:color??props.P_DcoRcrY??\"rgb(0, 0, 0)\"};};const Component=/*#__PURE__*/React.forwardRef(function(props,ref){const{style,className,layoutId,variant,P_DcoRcrY,JEeZYcamG,...restProps}=getProps(props);const href=useSVGTemplate(\"2445670677\",svg);return /*#__PURE__*/_jsx(SVG,{...restProps,className:cx(\"framer-rxfmm\",className),layoutId:layoutId,ref:ref,role:\"presentation\",style:{\"--1m973uw\":P_DcoRcrY,\"--js9iwy\":JEeZYcamG,...style},viewBox:\"0 0 24 24\",children:/*#__PURE__*/_jsx(\"use\",{href:href})});});const css=[`.framer-rxfmm { -webkit-mask: ${mask}; aspect-ratio: 1; display: block; mask: ${mask}; width: 24px; }`];/**\n * This is a generated Framer component.\n * @framerIntrinsicWidth 24\n * @framerIntrinsicHeight 24\n * @framerSupportedLayoutWidth any-prefer-fixed\n * @framerSupportedLayoutHeight any-prefer-fixed\n * @framerVariables {\"P_DcoRcrY\":\"color\",\"JEeZYcamG\":\"width1\"}\n * @framerImmutableVariables true\n * @framerVector {\"name\":\"Tree Palm\",\"color\":{\"type\":\"variable\",\"value\":\"1m973uw\"},\"set\":{\"localId\":\"vectorSet/ZsiCCGPvG\",\"id\":\"ZsiCCGPvG\",\"moduleId\":\"Y7SpbVH16cWqMhj75z1M\"}}\n */const Icon=withCSS(Component,css,\"framer-rxfmm\");Icon.displayName=\"Tree Palm\";export default Icon;addPropertyControls(Icon,{P_DcoRcrY:{defaultValue:\"rgb(0, 0, 0)\",hidden:false,title:\"Color\",type:ControlType.Color},JEeZYcamG:{defaultValue:2,displayStepper:true,hidden:false,max:16,min:1,title:\"Width\",type:ControlType.Number}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"Icon\",\"slots\":[],\"annotations\":{\"framerImmutableVariables\":\"true\",\"framerContractVersion\":\"1\",\"framerVector\":\"{\\\"name\\\":\\\"Tree Palm\\\",\\\"color\\\":{\\\"type\\\":\\\"variable\\\",\\\"value\\\":\\\"1m973uw\\\"},\\\"set\\\":{\\\"localId\\\":\\\"vectorSet/ZsiCCGPvG\\\",\\\"id\\\":\\\"ZsiCCGPvG\\\",\\\"moduleId\\\":\\\"Y7SpbVH16cWqMhj75z1M\\\"}}\",\"framerSupportedLayoutWidth\":\"any-prefer-fixed\",\"framerIntrinsicWidth\":\"24\",\"framerIntrinsicHeight\":\"24\",\"framerVariables\":\"{\\\"P_DcoRcrY\\\":\\\"color\\\",\\\"JEeZYcamG\\\":\\\"width1\\\"}\",\"framerSupportedLayoutHeight\":\"any-prefer-fixed\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}","// Generated by Framer (85eaff3)\nimport{jsx as _jsx}from\"react/jsx-runtime\";import{addPropertyControls,ControlType,cx,motion,useSVGTemplate,withCSS}from\"framer\";import*as React from\"react\";import{forwardRef}from\"react\";const mask=\"var(--framer-icon-mask)\";const Base=/*#__PURE__*/forwardRef(function(props,ref){return /*#__PURE__*/_jsx(\"svg\",{...props,ref:ref,children:props.children});});const MotionSVG=motion.create(Base);const SVG=/*#__PURE__*/forwardRef((props,ref)=>{const{animated,layoutId,children,...rest}=props;return animated?/*#__PURE__*/_jsx(MotionSVG,{...rest,layoutId:layoutId,ref:ref,children:children}):/*#__PURE__*/_jsx(\"svg\",{...rest,ref:ref,children:children});});const svg='<svg display=\"block\" role=\"presentation\" viewBox=\"0 0 24 24\" xmlns=\"http://www.w3.org/2000/svg\"><path d=\"M 6 3 C 6 1.343 7.343 0 9 0 C 10.657 0 12 1.343 12 3 C 12 4.657 10.657 6 9 6 M 6 3 C 6 1.343 4.657 0 3 0 C 1.343 0 0 1.343 0 3 C 0 4.657 1.343 6 3 6 M 6 3 L 6 4 M 3 6 C 1.343 6 0 7.343 0 9 C 0 10.657 1.343 12 3 12 C 4.657 12 6 10.657 6 9 M 3 6 L 4 6 M 9 6 C 10.657 6 12 7.343 12 9 C 12 10.657 10.657 12 9 12 C 7.343 12 6 10.657 6 9 M 9 6 L 8 6 M 6 9 L 6 8\" fill=\"transparent\" height=\"12px\" id=\"MIogWGyy7\" stroke-dasharray=\"\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"var(--js9iwy, 2)\" stroke=\"var(--1m973uw, rgb(0,0,0))\" transform=\"translate(6 2)\" width=\"12px\"/><path d=\"M 0 2 C 0 0.895 0.895 0 2 0 C 3.105 0 4 0.895 4 2 C 4 3.105 3.105 4 2 4 C 0.895 4 0 3.105 0 2 Z\" fill=\"transparent\" height=\"4px\" id=\"S8dCF0YnW\" stroke-dasharray=\"\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"var(--js9iwy, 2)\" stroke=\"var(--1m973uw, rgb(0,0,0))\" transform=\"translate(10 6)\" width=\"4px\"/><path d=\"M 0 0 L 0 12\" fill=\"transparent\" height=\"12px\" id=\"aaL_FLVzl\" stroke-dasharray=\"\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"var(--js9iwy, 2)\" stroke=\"var(--1m973uw, rgb(0,0,0))\" transform=\"translate(12 10)\" width=\"1px\"/><path d=\"M 0 5 C 4.2 5 7 3.333 7 0 C 2.8 0 0 1.667 0 5 Z\" fill=\"transparent\" height=\"5px\" id=\"QBNvipjlc\" stroke-dasharray=\"\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"var(--js9iwy, 2)\" stroke=\"var(--1m973uw, rgb(0,0,0))\" transform=\"translate(12 17)\" width=\"7px\"/><path d=\"M 7 5 C 2.8 5 0 3.333 0 0 C 4.2 0 7 1.667 7 5 Z\" fill=\"transparent\" height=\"5px\" id=\"OlyMBT8Ai\" stroke-dasharray=\"\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"var(--js9iwy, 2)\" stroke=\"var(--1m973uw, rgb(0,0,0))\" transform=\"translate(5 17)\" width=\"7px\"/></svg>';const getProps=({color,height,id,width,width1,...props})=>{return{...props,JEeZYcamG:width1??props.JEeZYcamG??2,P_DcoRcrY:color??props.P_DcoRcrY??\"rgb(0, 0, 0)\"};};const Component=/*#__PURE__*/React.forwardRef(function(props,ref){const{style,className,layoutId,variant,P_DcoRcrY,JEeZYcamG,...restProps}=getProps(props);const href=useSVGTemplate(\"1952469281\",svg);return /*#__PURE__*/_jsx(SVG,{...restProps,className:cx(\"framer-6VCUX\",className),layoutId:layoutId,ref:ref,role:\"presentation\",style:{\"--1m973uw\":P_DcoRcrY,\"--js9iwy\":JEeZYcamG,...style},viewBox:\"0 0 24 24\",children:/*#__PURE__*/_jsx(\"use\",{href:href})});});const css=[`.framer-6VCUX { -webkit-mask: ${mask}; aspect-ratio: 1; display: block; mask: ${mask}; width: 24px; }`];/**\n * This is a generated Framer component.\n * @framerIntrinsicWidth 24\n * @framerIntrinsicHeight 24\n * @framerSupportedLayoutWidth any-prefer-fixed\n * @framerSupportedLayoutHeight any-prefer-fixed\n * @framerVariables {\"P_DcoRcrY\":\"color\",\"JEeZYcamG\":\"width1\"}\n * @framerImmutableVariables true\n * @framerVector {\"name\":\"Flower 2\",\"color\":{\"type\":\"variable\",\"value\":\"1m973uw\"},\"set\":{\"localId\":\"vectorSet/ZsiCCGPvG\",\"id\":\"ZsiCCGPvG\",\"moduleId\":\"Y7SpbVH16cWqMhj75z1M\"}}\n */const Icon=withCSS(Component,css,\"framer-6VCUX\");Icon.displayName=\"Flower 2\";export default Icon;addPropertyControls(Icon,{P_DcoRcrY:{defaultValue:\"rgb(0, 0, 0)\",hidden:false,title:\"Color\",type:ControlType.Color},JEeZYcamG:{defaultValue:2,displayStepper:true,hidden:false,max:16,min:1,title:\"Width\",type:ControlType.Number}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"Icon\",\"slots\":[],\"annotations\":{\"framerIntrinsicHeight\":\"24\",\"framerSupportedLayoutHeight\":\"any-prefer-fixed\",\"framerImmutableVariables\":\"true\",\"framerVariables\":\"{\\\"P_DcoRcrY\\\":\\\"color\\\",\\\"JEeZYcamG\\\":\\\"width1\\\"}\",\"framerIntrinsicWidth\":\"24\",\"framerContractVersion\":\"1\",\"framerSupportedLayoutWidth\":\"any-prefer-fixed\",\"framerVector\":\"{\\\"name\\\":\\\"Flower 2\\\",\\\"color\\\":{\\\"type\\\":\\\"variable\\\",\\\"value\\\":\\\"1m973uw\\\"},\\\"set\\\":{\\\"localId\\\":\\\"vectorSet/ZsiCCGPvG\\\",\\\"id\\\":\\\"ZsiCCGPvG\\\",\\\"moduleId\\\":\\\"Y7SpbVH16cWqMhj75z1M\\\"}}\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}","// Generated by Framer (85eaff3)\nimport{jsx as _jsx}from\"react/jsx-runtime\";import{addPropertyControls,ControlType,cx,motion,useSVGTemplate,withCSS}from\"framer\";import*as React from\"react\";import{forwardRef}from\"react\";const mask=\"var(--framer-icon-mask)\";const Base=/*#__PURE__*/forwardRef(function(props,ref){return /*#__PURE__*/_jsx(\"svg\",{...props,ref:ref,children:props.children});});const MotionSVG=motion.create(Base);const SVG=/*#__PURE__*/forwardRef((props,ref)=>{const{animated,layoutId,children,...rest}=props;return animated?/*#__PURE__*/_jsx(MotionSVG,{...rest,layoutId:layoutId,ref:ref,children:children}):/*#__PURE__*/_jsx(\"svg\",{...rest,ref:ref,children:children});});const svg='<svg display=\"block\" role=\"presentation\" viewBox=\"0 0 24 24\" xmlns=\"http://www.w3.org/2000/svg\"><path d=\"M 2 6.536 L 2 4 C 2 1.791 3.791 0 6 0 L 7.5 0 C 7.776 0 8 0.224 8 0.5 L 8 2 C 8 4.209 6.209 6 4 6 C 1.791 6 0 7.791 0 10 C 0 12 1 13 1 15 C 1 16.082 0.649 17.135 0 18\" fill=\"transparent\" height=\"18px\" id=\"GfgRoQiFS\" stroke-dasharray=\"\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"var(--js9iwy, 2)\" stroke=\"var(--1m973uw, rgb(0,0,0))\" transform=\"translate(12 3)\" width=\"8px\"/><path d=\"M 0 1 C 1.515 -0.136 3.542 -0.319 5.236 0.528 C 6.93 1.375 8 3.106 8 5 C 6.485 6.136 4.458 6.319 2.764 5.472 C 1.07 4.625 0 2.894 0 1\" fill=\"transparent\" height=\"6.000057622245986px\" id=\"q3PcMLjDR\" stroke-dasharray=\"\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"var(--js9iwy, 2)\" stroke=\"var(--1m973uw, rgb(0,0,0))\" transform=\"translate(4 8)\" width=\"8px\"/><path d=\"M 0 0 L 14 0\" fill=\"transparent\" height=\"1px\" id=\"rqLlpBZ_Y\" stroke-dasharray=\"\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"var(--js9iwy, 2)\" stroke=\"var(--1m973uw, rgb(0,0,0))\" transform=\"translate(5 21)\" width=\"14px\"/></svg>';const getProps=({color,height,id,width,width1,...props})=>{return{...props,JEeZYcamG:width1??props.JEeZYcamG??2,P_DcoRcrY:color??props.P_DcoRcrY??\"rgb(0, 0, 0)\"};};const Component=/*#__PURE__*/React.forwardRef(function(props,ref){const{style,className,layoutId,variant,P_DcoRcrY,JEeZYcamG,...restProps}=getProps(props);const href=useSVGTemplate(\"3131794680\",svg);return /*#__PURE__*/_jsx(SVG,{...restProps,className:cx(\"framer-NVyvM\",className),layoutId:layoutId,ref:ref,role:\"presentation\",style:{\"--1m973uw\":P_DcoRcrY,\"--js9iwy\":JEeZYcamG,...style},viewBox:\"0 0 24 24\",children:/*#__PURE__*/_jsx(\"use\",{href:href})});});const css=[`.framer-NVyvM { -webkit-mask: ${mask}; aspect-ratio: 1; display: block; mask: ${mask}; width: 24px; }`];/**\n * This is a generated Framer component.\n * @framerIntrinsicWidth 24\n * @framerIntrinsicHeight 24\n * @framerSupportedLayoutWidth any-prefer-fixed\n * @framerSupportedLayoutHeight any-prefer-fixed\n * @framerVariables {\"P_DcoRcrY\":\"color\",\"JEeZYcamG\":\"width1\"}\n * @framerImmutableVariables true\n * @framerVector {\"name\":\"Sprout\",\"color\":{\"type\":\"variable\",\"value\":\"1m973uw\"},\"set\":{\"localId\":\"vectorSet/ZsiCCGPvG\",\"id\":\"ZsiCCGPvG\",\"moduleId\":\"Y7SpbVH16cWqMhj75z1M\"}}\n */const Icon=withCSS(Component,css,\"framer-NVyvM\");Icon.displayName=\"Sprout\";export default Icon;addPropertyControls(Icon,{P_DcoRcrY:{defaultValue:\"rgb(0, 0, 0)\",hidden:false,title:\"Color\",type:ControlType.Color},JEeZYcamG:{defaultValue:2,displayStepper:true,hidden:false,max:16,min:1,title:\"Width\",type:ControlType.Number}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"Icon\",\"slots\":[],\"annotations\":{\"framerIntrinsicWidth\":\"24\",\"framerSupportedLayoutHeight\":\"any-prefer-fixed\",\"framerContractVersion\":\"1\",\"framerVector\":\"{\\\"name\\\":\\\"Sprout\\\",\\\"color\\\":{\\\"type\\\":\\\"variable\\\",\\\"value\\\":\\\"1m973uw\\\"},\\\"set\\\":{\\\"localId\\\":\\\"vectorSet/ZsiCCGPvG\\\",\\\"id\\\":\\\"ZsiCCGPvG\\\",\\\"moduleId\\\":\\\"Y7SpbVH16cWqMhj75z1M\\\"}}\",\"framerImmutableVariables\":\"true\",\"framerIntrinsicHeight\":\"24\",\"framerVariables\":\"{\\\"P_DcoRcrY\\\":\\\"color\\\",\\\"JEeZYcamG\\\":\\\"width1\\\"}\",\"framerSupportedLayoutWidth\":\"any-prefer-fixed\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}","// User request: make a counter number animation of the text\nimport{jsx as _jsx}from\"react/jsx-runtime\";import{addPropertyControls,ControlType,useIsStaticRenderer}from\"framer\";import{useInView}from\"framer-motion\";import{useEffect,useMemo,useRef,useState,startTransition}from\"react\";function clamp(n,min,max){return Math.min(max,Math.max(min,n));}function easingFn(name,t){const x=clamp(t,0,1);if(name===\"linear\")return x;if(name===\"easeOut\")return 1-Math.pow(1-x,3);// easeInOut\nreturn x<.5?4*x*x*x:1-Math.pow(-2*x+2,3)/2;}/**\n * Counter Text\n *\n * @framerIntrinsicWidth 160\n * @framerIntrinsicHeight 56\n *\n * @framerSupportedLayoutWidth any-prefer-fixed\n * @framerSupportedLayoutHeight auto\n */export default function CounterText(props){const{from,to,duration,delay,decimals,prefix,suffix,useGrouping,locale,easing,playOnView,once,loop,loopDelay,color,font,align,style}=props;const isStatic=useIsStaticRenderer();const containerRef=useRef(null);const inView=useInView(containerRef,{amount:.4,once:once});const[value,setValue]=useState(from);const safeDuration=useMemo(()=>Math.max(.01,duration),[duration]);const safeDelay=useMemo(()=>Math.max(0,delay),[delay]);const safeLoopDelay=useMemo(()=>Math.max(0,loopDelay),[loopDelay]);const formatter=useMemo(()=>{const resolvedLocale=(locale||\"\").trim();try{return new Intl.NumberFormat(resolvedLocale.length?resolvedLocale:undefined,{minimumFractionDigits:clamp(decimals,0,10),maximumFractionDigits:clamp(decimals,0,10),useGrouping});}catch{return new Intl.NumberFormat(undefined,{minimumFractionDigits:clamp(decimals,0,10),maximumFractionDigits:clamp(decimals,0,10),useGrouping});}},[decimals,locale,useGrouping]);const text=useMemo(()=>{const formatted=formatter.format(value);return`${prefix}${formatted}${suffix}`;},[formatter,prefix,suffix,value]);useEffect(()=>{if(isStatic){startTransition(()=>setValue(to));return;}if(typeof window===\"undefined\")return;const shouldPlay=playOnView?inView:true;if(!shouldPlay)return;let raf=0;let timeoutId;let loopTimeoutId;let startTime=0;let cancelled=false;const run=()=>{if(cancelled)return;startTime=window.performance?.now?window.performance.now():Date.now();const tick=now=>{if(cancelled)return;const t=clamp((now-startTime)/(safeDuration*1e3),0,1);const eased=easingFn(easing,t);const next=from+(to-from)*eased;startTransition(()=>setValue(next));if(t<1){raf=window.requestAnimationFrame(tick);}else if(loop){loopTimeoutId=window.setTimeout(()=>{if(cancelled)return;// reset and rerun\nstartTransition(()=>setValue(from));timeoutId=window.setTimeout(run,safeDelay*1e3);},safeLoopDelay*1e3);}};raf=window.requestAnimationFrame(tick);};// Reset before playing (important when switching props)\nstartTransition(()=>setValue(from));timeoutId=window.setTimeout(run,safeDelay*1e3);return()=>{cancelled=true;if(raf)window.cancelAnimationFrame(raf);if(timeoutId)window.clearTimeout(timeoutId);if(loopTimeoutId)window.clearTimeout(loopTimeoutId);};},[isStatic,from,to,safeDuration,safeDelay,safeLoopDelay,easing,playOnView,inView,once,loop]);const isFixedWidth=style?.width===\"100%\";return /*#__PURE__*/_jsx(\"div\",{ref:containerRef,style:{...style,position:\"relative\",width:\"100%\",height:\"100%\",display:\"flex\",alignItems:\"center\",justifyContent:align===\"left\"?\"flex-start\":align===\"right\"?\"flex-end\":\"center\",color,...isFixedWidth?null:{minWidth:\"max-content\"},...font,fontVariantNumeric:\"tabular-nums\",whiteSpace:\"nowrap\",userSelect:\"none\"},\"aria-label\":text,children:/*#__PURE__*/_jsx(\"span\",{style:{width:\"max-content\",textAlign:align},children:text})});}addPropertyControls(CounterText,{from:{type:ControlType.Number,title:\"From\",defaultValue:0,step:.5},to:{type:ControlType.Number,title:\"To\",defaultValue:100,step:.5},duration:{type:ControlType.Number,title:\"Duration\",defaultValue:1.2,min:.05,max:20,step:.05,unit:\"s\"},delay:{type:ControlType.Number,title:\"Delay\",defaultValue:0,min:0,max:10,step:.05,unit:\"s\"},decimals:{type:ControlType.Number,title:\"Decimals\",defaultValue:0,min:0,max:6,step:1},prefix:{type:ControlType.String,title:\"Prefix\",defaultValue:\"\"},suffix:{type:ControlType.String,title:\"Suffix\",defaultValue:\"\"},useGrouping:{type:ControlType.Boolean,title:\"Grouping\",defaultValue:true,enabledTitle:\"On\",disabledTitle:\"Off\"},locale:{type:ControlType.String,title:\"Locale\",defaultValue:\"\",placeholder:\"e.g. en-US\"},easing:{type:ControlType.Enum,title:\"Easing\",options:[\"linear\",\"easeOut\",\"easeInOut\"],optionTitles:[\"Linear\",\"Ease Out\",\"Ease In Out\"],defaultValue:\"easeOut\",displaySegmentedControl:true},playOnView:{type:ControlType.Boolean,title:\"Play On View\",defaultValue:true,enabledTitle:\"On\",disabledTitle:\"Off\"},once:{type:ControlType.Boolean,title:\"Once\",defaultValue:true,enabledTitle:\"Once\",disabledTitle:\"Repeat\",hidden:({playOnView})=>!playOnView},loop:{type:ControlType.Boolean,title:\"Loop\",defaultValue:false,enabledTitle:\"On\",disabledTitle:\"Off\"},loopDelay:{type:ControlType.Number,title:\"Loop Delay\",defaultValue:.5,min:0,max:10,step:.05,unit:\"s\",hidden:({loop})=>!loop},color:{type:ControlType.Color,title:\"Color\",defaultValue:\"#000000\"},font:{type:ControlType.Font,title:\"Font\",controls:\"extended\",displayFontSize:true,defaultFontType:\"sans-serif\",defaultValue:{fontSize:\"40px\",variant:\"Bold\",letterSpacing:\"-0.04em\",lineHeight:\"1em\"}},align:{type:ControlType.Enum,title:\"Align\",options:[\"left\",\"center\",\"right\"],optionTitles:[\"Left\",\"Center\",\"Right\"],defaultValue:\"center\",displaySegmentedControl:true}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"CounterText\",\"slots\":[],\"annotations\":{\"framerIntrinsicHeight\":\"56\",\"framerIntrinsicWidth\":\"160\",\"framerContractVersion\":\"1\",\"framerSupportedLayoutWidth\":\"any-prefer-fixed\",\"framerSupportedLayoutHeight\":\"auto\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./CounterText.map"],"mappings":"gVAC0C,IAAqF,IAA4B,EAAqCA,EAAK,0BAAgCC,EAAkB,EAAW,SAAS,EAAM,EAAI,CAAC,OAAoB,EAAK,MAAM,CAAC,GAAG,EAAU,MAAI,SAAS,EAAM,QAAQ,CAAC,CAAE,CAAC,EAAQC,EAAU,EAAO,OAAOD,CAAI,EAAQE,EAAiB,GAAY,EAAM,IAAM,CAAC,GAAK,CAAC,WAAS,WAAS,WAAS,GAAG,GAAM,EAAM,OAAO,EAAsB,EAAKD,EAAU,CAAC,GAAG,EAAc,WAAa,MAAa,UAAQ,CAAC,EAAe,EAAK,MAAM,CAAC,GAAG,EAAS,MAAa,UAAQ,CAAC,CAAE,CAAC,EAAQE,EAAI,k8CAAw8CC,GAAU,CAAC,QAAM,SAAO,KAAG,QAAM,SAAO,GAAG,MAAgB,CAAC,GAAG,EAAM,UAAU,GAAQ,EAAM,WAAW,EAAE,UAAU,GAAO,EAAM,WAAW,cAAc,GAS9uEC,EAAK,EAT0wEC,EAAiB,SAAS,EAAM,EAAI,CAAC,GAAK,CAAC,QAAM,YAAU,WAAS,UAAQ,YAAU,Y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