{"version":3,"file":"Number_Counter.WSIPj-DM.mjs","names":["React.useContext","React.useMemo","React.Fragment","useRef","React.useId","Image","useState","useRef"],"sources":["https:/framerusercontent.com/modules/D0KsdvF6obu1Rx2SCdeN/RSpcz2y0dgkgaMhtePKQ/jumizGENS.js","https:/framerusercontent.com/modules/3hJPZdkBrPpLEy1f2VmN/pF1hJiNB2ny55u2NWQTE/Number_Counter.js"],"sourcesContent":["// Generated by Framer (31f1c56)\nimport{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import{addFonts,addPropertyControls,ControlType,cx,getLoadingLazyAtYPosition,Image,useActiveVariantCallback,useComponentViewport,useLocaleInfo,useOnVariantChange,useVariantState,withCSS}from\"framer\";import{LayoutGroup,motion,MotionConfigContext}from\"framer-motion\";import*as React from\"react\";import{useRef}from\"react\";const cycleOrder=[\"eMdt0Z27V\",\"vY_DL529C\",\"oTDqd0dLC\",\"EzjevGGUq\"];const serializationHash=\"framer-B1m4L\";const variantClassNames={eMdt0Z27V:\"framer-v-otc4e6\",EzjevGGUq:\"framer-v-1ihctvc\",oTDqd0dLC:\"framer-v-1kfv5ug\",vY_DL529C:\"framer-v-q9qixj\"};function addPropertyOverrides(overrides,...variants){const nextOverrides={};variants?.forEach(variant=>variant&&Object.assign(nextOverrides,overrides[variant]));return nextOverrides;}const numberToPixelString=value=>{if(typeof value!==\"number\")return value;if(!Number.isFinite(value))return undefined;return Math.max(0,value)+\"px\";};const transition1={damping:60,delay:0,mass:1,stiffness:130,type:\"spring\"};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??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 humanReadableEnumMap={Horizontal:\"row\",Vertical:\"column\"};const humanReadableEnumMap1={\"Space Around\":\"space-around\",\"Space Between\":\"space-between\",\"Space Evenly\":\"space-evenly\",Center:\"center\",End:\"flex-end\",Start:\"flex-start\"};const humanReadableEnumMap2={Center:\"center\",End:\"flex-end\",Start:\"flex-start\"};const humanReadableVariantMap={Image1:\"eMdt0Z27V\",Image2:\"vY_DL529C\",Image3:\"oTDqd0dLC\",Image4:\"EzjevGGUq\"};const getProps=({align,direction,distribute,gap,height,id,image1,image2,image3,image4,padding,width,...props})=>{return{...props,ayGE58GGM:gap??props.ayGE58GGM??\"8px\",b_H1zGMHn:padding??props.b_H1zGMHn??\"0px\",h8Jjo1eyL:image1??props.h8Jjo1eyL??{pixelHeight:4096,pixelWidth:4096,src:\"https://framerusercontent.com/images/uDmj1ubm1ihBiuQ4bJmmp1pysc.jpg?scale-down-to=2048&width=4096&height=4096\",srcSet:\"https://framerusercontent.com/images/uDmj1ubm1ihBiuQ4bJmmp1pysc.jpg?scale-down-to=512&width=4096&height=4096 512w,https://framerusercontent.com/images/uDmj1ubm1ihBiuQ4bJmmp1pysc.jpg?scale-down-to=1024&width=4096&height=4096 1024w,https://framerusercontent.com/images/uDmj1ubm1ihBiuQ4bJmmp1pysc.jpg?scale-down-to=2048&width=4096&height=4096 2048w,https://framerusercontent.com/images/uDmj1ubm1ihBiuQ4bJmmp1pysc.jpg?width=4096&height=4096 4096w\"},MjqQHFaWv:image4??props.MjqQHFaWv??{pixelHeight:3240,pixelWidth:5760,src:\"https://framerusercontent.com/images/dnuQVAgbULXN7ouVRYC5TbbxcEI.jpg?scale-down-to=2048&width=5760&height=3240\",srcSet:\"https://framerusercontent.com/images/dnuQVAgbULXN7ouVRYC5TbbxcEI.jpg?scale-down-to=512&width=5760&height=3240 512w,https://framerusercontent.com/images/dnuQVAgbULXN7ouVRYC5TbbxcEI.jpg?scale-down-to=1024&width=5760&height=3240 1024w,https://framerusercontent.com/images/dnuQVAgbULXN7ouVRYC5TbbxcEI.jpg?scale-down-to=2048&width=5760&height=3240 2048w,https://framerusercontent.com/images/dnuQVAgbULXN7ouVRYC5TbbxcEI.jpg?scale-down-to=4096&width=5760&height=3240 4096w,https://framerusercontent.com/images/dnuQVAgbULXN7ouVRYC5TbbxcEI.jpg?width=5760&height=3240 5760w\"},o8JI2Xq5w:humanReadableEnumMap2[align]??align??props.o8JI2Xq5w??\"center\",puLqrGJPG:image2??props.puLqrGJPG??{pixelHeight:1750,pixelWidth:3750,src:\"https://framerusercontent.com/images/1olS8n3ipgf74t0wpI1AdF1tHqw.jpg?scale-down-to=2048&width=3750&height=1750\",srcSet:\"https://framerusercontent.com/images/1olS8n3ipgf74t0wpI1AdF1tHqw.jpg?scale-down-to=512&width=3750&height=1750 512w,https://framerusercontent.com/images/1olS8n3ipgf74t0wpI1AdF1tHqw.jpg?scale-down-to=1024&width=3750&height=1750 1024w,https://framerusercontent.com/images/1olS8n3ipgf74t0wpI1AdF1tHqw.jpg?scale-down-to=2048&width=3750&height=1750 2048w,https://framerusercontent.com/images/1olS8n3ipgf74t0wpI1AdF1tHqw.jpg?width=3750&height=1750 3750w\"},t7HXmwqO_:image3??props.t7HXmwqO_??{pixelHeight:3240,pixelWidth:5760,src:\"https://framerusercontent.com/images/sSSj4TXVwI8gTNFUY5GMckY9MdM.jpg?scale-down-to=2048&width=5760&height=3240\",srcSet:\"https://framerusercontent.com/images/sSSj4TXVwI8gTNFUY5GMckY9MdM.jpg?scale-down-to=512&width=5760&height=3240 512w,https://framerusercontent.com/images/sSSj4TXVwI8gTNFUY5GMckY9MdM.jpg?scale-down-to=1024&width=5760&height=3240 1024w,https://framerusercontent.com/images/sSSj4TXVwI8gTNFUY5GMckY9MdM.jpg?scale-down-to=2048&width=5760&height=3240 2048w,https://framerusercontent.com/images/sSSj4TXVwI8gTNFUY5GMckY9MdM.jpg?scale-down-to=4096&width=5760&height=3240 4096w,https://framerusercontent.com/images/sSSj4TXVwI8gTNFUY5GMckY9MdM.jpg?width=5760&height=3240 5760w\"},Tezmja59V:humanReadableEnumMap[direction]??direction??props.Tezmja59V??\"column\",uiFvoszzC:humanReadableEnumMap1[distribute]??distribute??props.uiFvoszzC??\"center\",variant:humanReadableVariantMap[props.variant]??props.variant??\"eMdt0Z27V\"};};const createLayoutDependency=(props,variants)=>{if(props.layoutDependency)return variants.join(\"-\")+props.layoutDependency;return variants.join(\"-\");};const Component=/*#__PURE__*/React.forwardRef(function(props,ref){const fallbackRef=useRef(null);const refBinding=ref??fallbackRef;const defaultLayoutId=React.useId();const{activeLocale,setLocale}=useLocaleInfo();const componentViewport=useComponentViewport();const{style,className,layoutId,variant,h8Jjo1eyL,puLqrGJPG,t7HXmwqO_,MjqQHFaWv,Tezmja59V,uiFvoszzC,o8JI2Xq5w,b_H1zGMHn,ayGE58GGM,...restProps}=getProps(props);const{baseVariant,classNames,clearLoadingGesture,gestureHandlers,gestureVariant,isLoading,setGestureState,setVariant,variants}=useVariantState({cycleOrder,defaultVariant:\"eMdt0Z27V\",ref:refBinding,variant,variantClassNames});const layoutDependency=createLayoutDependency(props,variants);const{activeVariantCallback,delay}=useActiveVariantCallback(baseVariant);const onAppear4db72e=activeVariantCallback(async(...args)=>{await delay(()=>setVariant(\"vY_DL529C\"),8e3);});const onAppearsbqr68=activeVariantCallback(async(...args)=>{await delay(()=>setVariant(\"oTDqd0dLC\"),8e3);});const onAppear1762p4q=activeVariantCallback(async(...args)=>{await delay(()=>setVariant(\"EzjevGGUq\"),8e3);});const onAppear17eqfnx=activeVariantCallback(async(...args)=>{await delay(()=>setVariant(\"eMdt0Z27V\"),8e3);});useOnVariantChange(baseVariant,{default:onAppear4db72e,EzjevGGUq:onAppear17eqfnx,oTDqd0dLC:onAppear1762p4q,vY_DL529C:onAppearsbqr68});const sharedStyleClassNames=[];const scopingClassNames=cx(serializationHash,...sharedStyleClassNames);return /*#__PURE__*/_jsx(LayoutGroup,{id: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(scopingClassNames,\"framer-otc4e6\",className,classNames),\"data-framer-name\":\"Image1\",\"data-highlight\":true,layoutDependency:layoutDependency,layoutId:\"eMdt0Z27V\",ref:refBinding,style:{\"--11o53or\":numberToPixelString(b_H1zGMHn),\"--12q7gp5\":uiFvoszzC,\"--16sm5hq\":o8JI2Xq5w,\"--1qkvzwe\":Tezmja59V,\"--1rso7cm\":numberToPixelString(ayGE58GGM),...style},...addPropertyOverrides({EzjevGGUq:{\"data-framer-name\":\"Image4\"},oTDqd0dLC:{\"data-framer-name\":\"Image3\"},vY_DL529C:{\"data-framer-name\":\"Image2\"}},baseVariant,gestureVariant),children:[/*#__PURE__*/_jsx(Image,{background:{alt:\"\",fit:\"fill\",loading:getLoadingLazyAtYPosition((componentViewport?.y||0)+0),sizes:componentViewport?.width||\"100vw\",...toResponsiveImage(h8Jjo1eyL)},className:\"framer-1q12zjb\",\"data-framer-name\":\"Image1\",layoutDependency:layoutDependency,layoutId:\"IXT8zb5eV\",style:{opacity:1},variants:{EzjevGGUq:{opacity:0},oTDqd0dLC:{opacity:0},vY_DL529C:{opacity:0}}}),/*#__PURE__*/_jsx(Image,{background:{alt:\"\",fit:\"fill\",loading:getLoadingLazyAtYPosition((componentViewport?.y||0)+0),pixelHeight:1750,pixelWidth:3750,sizes:componentViewport?.width||\"100vw\",...toResponsiveImage(puLqrGJPG)},className:\"framer-9vxy5u\",\"data-framer-name\":\"Image2\",layoutDependency:layoutDependency,layoutId:\"pB0l6OzF_\",style:{opacity:0},variants:{vY_DL529C:{opacity:1}}}),/*#__PURE__*/_jsx(Image,{background:{alt:\"\",fit:\"fill\",loading:getLoadingLazyAtYPosition((componentViewport?.y||0)+0),sizes:componentViewport?.width||\"100vw\",...toResponsiveImage(t7HXmwqO_)},className:\"framer-179zmrm\",\"data-framer-name\":\"Image3\",layoutDependency:layoutDependency,layoutId:\"Y_vKJdTkU\",style:{opacity:0},variants:{oTDqd0dLC:{opacity:1}}}),/*#__PURE__*/_jsx(Image,{background:{alt:\"\",fit:\"fill\",loading:getLoadingLazyAtYPosition((componentViewport?.y||0)+0),sizes:componentViewport?.width||\"100vw\",...toResponsiveImage(MjqQHFaWv)},className:\"framer-1xmgzxv\",\"data-framer-name\":\"Image4\",layoutDependency:layoutDependency,layoutId:\"ykPXHRk2I\",style:{opacity:0},variants:{EzjevGGUq:{opacity:1}}})]})})})});});const css=[\"@supports (aspect-ratio: 1) { body { --framer-aspect-ratio-supported: auto; } }\",\".framer-B1m4L.framer-f5j5ce, .framer-B1m4L .framer-f5j5ce { display: block; }\",\".framer-B1m4L.framer-otc4e6 { align-content: var(--16sm5hq); align-items: var(--16sm5hq); display: flex; flex-direction: var(--1qkvzwe); flex-wrap: nowrap; gap: var(--1rso7cm); height: 800px; justify-content: var(--12q7gp5); overflow: hidden; padding: var(--11o53or); position: relative; width: 1400px; }\",\".framer-B1m4L .framer-1q12zjb, .framer-B1m4L .framer-9vxy5u, .framer-B1m4L .framer-179zmrm, .framer-B1m4L .framer-1xmgzxv { flex: none; height: 100%; left: calc(50.00000000000002% - 100% / 2); overflow: hidden; position: absolute; top: 0px; width: 100%; will-change: var(--framer-will-change-filter-override, filter); z-index: 1; }\"];/**\n * This is a generated Framer component.\n * @framerIntrinsicHeight 800\n * @framerIntrinsicWidth 1400\n * @framerCanvasComponentVariantDetails {\"propertyName\":\"variant\",\"data\":{\"default\":{\"layout\":[\"fixed\",\"fixed\"]},\"vY_DL529C\":{\"layout\":[\"fixed\",\"fixed\"]},\"oTDqd0dLC\":{\"layout\":[\"fixed\",\"fixed\"]},\"EzjevGGUq\":{\"layout\":[\"fixed\",\"fixed\"]}}}\n * @framerVariables {\"h8Jjo1eyL\":\"image1\",\"puLqrGJPG\":\"image2\",\"t7HXmwqO_\":\"image3\",\"MjqQHFaWv\":\"image4\",\"Tezmja59V\":\"direction\",\"uiFvoszzC\":\"distribute\",\"o8JI2Xq5w\":\"align\",\"b_H1zGMHn\":\"padding\",\"ayGE58GGM\":\"gap\"}\n * @framerImmutableVariables true\n * @framerDisplayContentsDiv false\n * @framerAutoSizeImages true\n * @framerComponentViewportWidth true\n * @framerColorSyntax true\n */const FramerjumizGENS=withCSS(Component,css,\"framer-B1m4L\");export default FramerjumizGENS;FramerjumizGENS.displayName=\"Fade Switching\";FramerjumizGENS.defaultProps={height:800,width:1400};addPropertyControls(FramerjumizGENS,{variant:{options:[\"eMdt0Z27V\",\"vY_DL529C\",\"oTDqd0dLC\",\"EzjevGGUq\"],optionTitles:[\"Image1\",\"Image2\",\"Image3\",\"Image4\"],title:\"Variant\",type:ControlType.Enum},h8Jjo1eyL:{__defaultAssetReference:\"data:framer/asset-reference,uDmj1ubm1ihBiuQ4bJmmp1pysc.jpg?originalFilename=photo-1548504778-b14db6c34b04%3Fcrop%3Dentropy%26cs%3Dsrgb%26fm%3Djpg%26ixid%3DM3wxMzc5NjJ8MHwxfHNlYXJjaHwxMXx8cGlua3xlbnwwfHx8fDE3NTU3MDkwMDZ8MA%26ixlib%3Drb-4.1.jpg&preferredSize=auto\",title:\"Image1\",type:ControlType.ResponsiveImage},puLqrGJPG:{__defaultAssetReference:\"data:framer/asset-reference,1olS8n3ipgf74t0wpI1AdF1tHqw.jpg?originalFilename=photo-1708985414590-5add9067d4fc%3Fcrop%3Dentropy%26cs%3Dsrgb%26fm%3Djpg%26ixid%3DM3wxMzc5NjJ8MHwxfHNlYXJjaHwyNDZ8fGJsdWV8ZW58MHx8fHwxNzU2MTk1MzY5fDA%26ixlib%3Drb-4.1.jpg&preferredSize=auto&width=3750&height=1750\",title:\"Image2\",type:ControlType.ResponsiveImage},t7HXmwqO_:{__defaultAssetReference:\"data:framer/asset-reference,sSSj4TXVwI8gTNFUY5GMckY9MdM.jpg?originalFilename=photo-1617957772033-f9a72da3c851%3Fcrop%3Dentropy%26cs%3Dsrgb%26fm%3Djpg%26ixid%3DM3wxMzc5NjJ8MHwxfHNlYXJjaHwyMDZ8fEdyZWVufGVufDB8fHx8MTc1NTc2NTgzNnww%26ixlib%3Drb-4.1.jpg&preferredSize=auto\",title:\"Image3\",type:ControlType.ResponsiveImage},MjqQHFaWv:{__defaultAssetReference:\"data:framer/asset-reference,dnuQVAgbULXN7ouVRYC5TbbxcEI.jpg?originalFilename=photo-1617957772002-57adde1156fa%3Fcrop%3Dentropy%26cs%3Dsrgb%26fm%3Djpg%26ixid%3DM3wxMzc5NjJ8MHwxfHNlYXJjaHwxOHx8cHVycGxlfGVufDB8fHx8MTc1NTc2NzA0N3ww%26ixlib%3Drb-4.1.jpg&preferredSize=auto\",title:\"Image4\",type:ControlType.ResponsiveImage},Tezmja59V:{defaultValue:\"column\",displaySegmentedControl:true,optionIcons:[\"direction-horizontal\",\"direction-vertical\"],options:[\"row\",\"column\"],optionTitles:[\"Horizontal\",\"Vertical\"],title:\"Direction\",type:ControlType.Enum},uiFvoszzC:{defaultValue:\"center\",options:[\"flex-start\",\"center\",\"flex-end\",\"space-between\",\"space-around\",\"space-evenly\"],optionTitles:[\"Start\",\"Center\",\"End\",\"Space Between\",\"Space Around\",\"Space Evenly\"],title:\"Distribute\",type:ControlType.Enum},o8JI2Xq5w:{defaultValue:\"center\",options:[\"flex-start\",\"center\",\"flex-end\"],optionTitles:[\"Start\",\"Center\",\"End\"],title:\"Align\",type:ControlType.Enum},b_H1zGMHn:{defaultValue:\"0px\",title:\"Padding\",type:ControlType.Padding},ayGE58GGM:{defaultValue:\"8px\",title:\"Gap\",type:ControlType.Gap}});addFonts(FramerjumizGENS,[{explicitInter:true,fonts:[]}],{supportsExplicitInterCodegen:true});\nexport const __FramerMetadata__ = {\"exports\":{\"Props\":{\"type\":\"tsType\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"default\":{\"type\":\"reactComponent\",\"name\":\"FramerjumizGENS\",\"slots\":[],\"annotations\":{\"framerColorSyntax\":\"true\",\"framerIntrinsicHeight\":\"800\",\"framerCanvasComponentVariantDetails\":\"{\\\"propertyName\\\":\\\"variant\\\",\\\"data\\\":{\\\"default\\\":{\\\"layout\\\":[\\\"fixed\\\",\\\"fixed\\\"]},\\\"vY_DL529C\\\":{\\\"layout\\\":[\\\"fixed\\\",\\\"fixed\\\"]},\\\"oTDqd0dLC\\\":{\\\"layout\\\":[\\\"fixed\\\",\\\"fixed\\\"]},\\\"EzjevGGUq\\\":{\\\"layout\\\":[\\\"fixed\\\",\\\"fixed\\\"]}}}\",\"framerComponentViewportWidth\":\"true\",\"framerIntrinsicWidth\":\"1400\",\"framerImmutableVariables\":\"true\",\"framerContractVersion\":\"1\",\"framerAutoSizeImages\":\"true\",\"framerVariables\":\"{\\\"h8Jjo1eyL\\\":\\\"image1\\\",\\\"puLqrGJPG\\\":\\\"image2\\\",\\\"t7HXmwqO_\\\":\\\"image3\\\",\\\"MjqQHFaWv\\\":\\\"image4\\\",\\\"Tezmja59V\\\":\\\"direction\\\",\\\"uiFvoszzC\\\":\\\"distribute\\\",\\\"o8JI2Xq5w\\\":\\\"align\\\",\\\"b_H1zGMHn\\\":\\\"padding\\\",\\\"ayGE58GGM\\\":\\\"gap\\\"}\",\"framerDisplayContentsDiv\":\"false\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./jumizGENS.map","// Counter.tsx\n// Number Counter with ease-out animation, runs once on first viewport entry, now with responsive suffix/prefix scaling\nimport{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import{useState,useEffect,useRef,startTransition}from\"react\";import{motion}from\"framer-motion\";import{addPropertyControls,ControlType}from\"framer\";function Counter({start=0,end=100,duration=2,gapSize=4,prefixText=\"\",suffixText=\"\",prefixFont,suffixFont,prefixColor,suffixColor,decimalSeparatorType=\"comma\",font,textColor=\"#D3D3D3\",startOnViewport=false,incrementType=\"integer\",style,affixesResponsive=true,prefixScale=1,suffixScale=1}){const[count,setCount]=useState(start);const[hasAnimated,setHasAnimated]=useState(false);const containerRef=useRef(null);const rafRef=useRef(null);// Ease-out cubic function\nfunction easeOutCubic(t){return 1-Math.pow(1-t,3);}useEffect(()=>{if(!startOnViewport){if(!hasAnimated)setHasAnimated(true);return;}if(typeof window===\"undefined\")return;const observer=new window.IntersectionObserver(([entry])=>{if(entry.isIntersecting&&!hasAnimated){startTransition(()=>setHasAnimated(true));}});if(containerRef.current)observer.observe(containerRef.current);return()=>observer.disconnect();},[startOnViewport,hasAnimated]);useEffect(()=>{if(!hasAnimated)return;let startTime=null;let cancelled=false;function animate(ts){if(cancelled)return;if(!startTime)startTime=ts;const elapsed=(ts-startTime)/1e3;let t=Math.min(elapsed/duration,1);let eased=easeOutCubic(t);let value=incrementType===\"integer\"?Math.round(start+(end-start)*eased):parseFloat((start+(end-start)*eased).toFixed(1));setCount(value);if(t<1){rafRef.current=requestAnimationFrame(animate);}else{setCount(end);}}rafRef.current=requestAnimationFrame(animate);return()=>{cancelled=true;if(rafRef.current)cancelAnimationFrame(rafRef.current);};},[hasAnimated,start,end,duration,incrementType]);const formatNumber=number=>{if(decimalSeparatorType===\"comma\")return number.toLocaleString(\"en-US\");if(decimalSeparatorType===\"period\")return number.toLocaleString(\"en-US\").replace(/,/g,\".\");return number.toFixed(incrementType===\"integer\"?0:1);};return /*#__PURE__*/_jsxs(motion.div,{ref:containerRef,style:{display:\"flex\",gap:`${gapSize}px`,alignItems:\"baseline\",color:textColor,letterSpacing:font?.letterSpacing,fontSize:font?.fontSize,fontWeight:font?.variant?undefined:font?.fontWeight,fontStyle:font?.variant&&font.variant.toLowerCase().includes(\"italic\")?\"italic\":undefined,fontFamily:font?.fontFamily,lineHeight:font?.lineHeight,...style},children:[prefixText&&/*#__PURE__*/_jsx(\"span\",{style:affixesResponsive?{fontFamily:\"inherit\",fontWeight:\"inherit\",fontSize:`${prefixScale}em`,letterSpacing:\"inherit\",lineHeight:\"inherit\",color:prefixColor}:{fontFamily:prefixFont?.fontFamily,fontWeight:prefixFont?.fontWeight,fontSize:prefixFont?.fontSize,letterSpacing:prefixFont?.letterSpacing,lineHeight:prefixFont?.lineHeight,color:prefixColor},children:prefixText}),/*#__PURE__*/_jsx(\"span\",{children:formatNumber(count)}),suffixText&&/*#__PURE__*/_jsx(\"span\",{style:affixesResponsive?{fontFamily:\"inherit\",fontWeight:\"inherit\",fontSize:`${suffixScale}em`,letterSpacing:\"inherit\",lineHeight:\"inherit\",color:suffixColor}:{fontFamily:suffixFont?.fontFamily,fontWeight:suffixFont?.fontWeight,fontSize:suffixFont?.fontSize,letterSpacing:suffixFont?.letterSpacing,lineHeight:suffixFont?.lineHeight,color:suffixColor},children:suffixText})]});}addPropertyControls(Counter,{startOnViewport:{type:ControlType.Boolean,title:\"Viewport\",defaultValue:false},font:{type:ControlType.Font,title:\"Font\",controls:\"extended\",defaultFontType:\"sans-serif\",defaultValue:{fontSize:\"36px\",variant:\"Medium\",letterSpacing:\"-0.07em\",lineHeight:\"1em\"}},textColor:{type:ControlType.Color,title:\"Font Color\",defaultValue:\"#D3D3D3\"},start:{type:ControlType.Number,title:\"Start Number\",defaultValue:0},end:{type:ControlType.Number,title:\"End Number\",defaultValue:10},duration:{type:ControlType.Number,title:\"Duration (s)\",defaultValue:2,min:.1,max:20,step:.1},decimalSeparatorType:{type:ControlType.Enum,title:\"Separator\",defaultValue:\"comma\",options:[\"comma\",\"period\",\"none\"]},incrementType:{type:ControlType.Enum,title:\"Increment Type\",defaultValue:\"integer\",options:[\"integer\",\"decimal\"]},prefixText:{type:ControlType.String,title:\"Prefix\",defaultValue:\"\"},prefixFont:{title:\"Prefix Font\",type:ControlType.Font,controls:\"extended\",defaultFontType:\"sans-serif\",defaultValue:{fontSize:\"18px\",variant:\"Medium\",letterSpacing:\"-0.01em\",lineHeight:\"1em\"}},prefixColor:{type:ControlType.Color,title:\"Prefix Color\",defaultValue:\"#D3D3D3\"},suffixText:{type:ControlType.String,title:\"Suffix\",defaultValue:\"\"},suffixFont:{title:\"Suffix Font\",type:ControlType.Font,controls:\"extended\",defaultFontType:\"sans-serif\",defaultValue:{fontSize:\"18px\",variant:\"Medium\",letterSpacing:\"-0.01em\",lineHeight:\"1em\"}},suffixColor:{type:ControlType.Color,title:\"Suffix Color\",defaultValue:\"#D3D3D3\"},gapSize:{type:ControlType.Number,title:\"Gap Size\",defaultValue:4,min:0,max:100},affixesResponsive:{type:ControlType.Boolean,title:\"Affixes Auto-Scale\",defaultValue:true},prefixScale:{type:ControlType.Number,title:\"Prefix Scale (em)\",defaultValue:1,min:.25,max:3,step:.05},suffixScale:{type:ControlType.Number,title:\"Suffix Scale (em)\",defaultValue:1,min:.25,max:3,step:.05}});export default Counter;\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"Counter\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./Number_Counter.map"],"mappings":"mYAC8mB,SAAS,EAAqB,EAAU,GAAG,EAAS,CAAC,IAAM,EAAc,EAAE,CAAsF,OAArF,GAAU,QAAQ,GAAS,GAAS,OAAO,OAAO,EAAc,EAAU,GAAS,CAAC,CAAQ,oDAA7tB,IAAuM,IAAkE,IAA4B,CAAgC,EAAW,CAAC,YAAY,YAAY,YAAY,YAAY,CAAO,EAAkB,eAAqB,EAAkB,CAAC,UAAU,kBAAkB,UAAU,mBAAmB,UAAU,mBAAmB,UAAU,kBAAkB,CAA8L,EAAoB,GAAO,CAAC,GAAG,OAAO,GAAQ,SAAS,OAAO,EAAU,UAAO,SAAS,EAAM,CAAkB,OAAO,KAAK,IAAI,EAAE,EAAM,CAAC,MAAa,EAAY,CAAC,QAAQ,GAAG,MAAM,EAAE,KAAK,EAAE,UAAU,IAAI,KAAK,SAAS,CAAO,EAAkB,GAAW,OAAO,GAAQ,UAAU,GAAc,OAAO,EAAM,KAAM,SAAiB,EAAc,OAAO,GAAQ,SAAS,CAAC,IAAI,EAAM,CAAC,IAAA,GAAkB,GAAY,CAAC,QAAM,cAAY,CAAC,IAAM,EAAOA,EA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