{"version":3,"file":"Progress.C5oOC7-v.mjs","names":["React.useContext","React.useMemo","React.Fragment","useRef","React.useId","sharedStyle.className","className","sharedStyle.css","sharedStyle.fonts","useState","__exportAll","pe","init_npm_react_18_3_1","x","ie","_e","oe","J","init_jsx_runtime","ce","de","motion","useSpring","useTransform","useScroll","MotionConfigContext","LayoutGroup","init_framer_motion_DhsWWWsN","cx","getFontsFromSharedStyle","RichText","addFonts","useVariantState","useComponentViewport","withCSS","ControlType","useLocaleInfo","addPropertyControls","init_framer_Bf4_tcb2","className","init_l18Fo0cuF","css$1","fonts","RZheGmE_a_exports","__FramerMetadata__","FramerRZheGmE_a","serializationHash","variantClassNames","transition1","suffix","Transition","Variants","getProps","createLayoutDependency","Component","css","init_RZheGmE_a","__esmMin","value","config","transition","contextValue","props","progress","variants","fallbackRef","refBinding","ref","defaultLayoutId","className$1","restProps","layoutDependency","scopingClassNames","textContent","oihHTLkc4","layoutId","gestureHandlers","classNames","style","\"exports\"","\"Props\"","\"type\"","\"annotations\"","\"framerContractVersion\"","\"default\"","\"name\"","\"slots\"","\"framerImmutableVariables\"","\"framerComponentViewportWidth\"","\"framerDisplayContentsDiv\"","\"framerCanvasComponentVariantDetails\"","\"framerColorSyntax\"","\"framerIntrinsicWidth\"","\"framerAutoSizeImages\"","\"framerIntrinsicHeight\"","\"framerVariables\"","\"__FramerMetadata__\"","withScrollProgress","scrollProgress","setScrollProgress","scaleY","scrollYProgress","scaleYTransform","latest","init_Progress"],"sources":["https:/framerusercontent.com/modules/3l1rWAkMKhPHRwXo3qjL/HDCVAwZAQGmAXcioA5aT/RZheGmE_a.js","https:/framerusercontent.com/modules/jLnqqYyXVeZ5aqRMoBib/Y6NagowIR3Vg78QOQzzH/Progress.js"],"sourcesContent":["// Generated by Framer (21a3add)\nimport{jsx as _jsx}from\"react/jsx-runtime\";import{addFonts,addPropertyControls,ControlType,cx,getFontsFromSharedStyle,RichText,useComponentViewport,useLocaleInfo,useVariantState,withCSS}from\"framer\";import{LayoutGroup,motion,MotionConfigContext}from\"framer-motion\";import*as React from\"react\";import{useRef}from\"react\";import*as sharedStyle from\"https://framerusercontent.com/modules/xcQAfH0b1A2BmJ1l90ca/hoid78oLeeXse7SBQrVx/l18Fo0cuF.js\";const serializationHash=\"framer-43vm5\";const variantClassNames={ZzVwCOiPZ:\"framer-v-1xk0oqv\"};function addPropertyOverrides(overrides,...variants){const nextOverrides={};variants?.forEach(variant=>variant&&Object.assign(nextOverrides,overrides[variant]));return nextOverrides;}const oihHTLkc4=undefined;const transition1={damping:60,delay:0,mass:1,stiffness:500,type:\"spring\"};const suffix=(value,suffix)=>{if(typeof value===\"string\"&&typeof suffix===\"string\"){return value+suffix;}else if(typeof value===\"string\"){return value;}else if(typeof suffix===\"string\"){return suffix;}return\"\";};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 getProps=({height,id,progress,width,...props})=>{return{...props,oihHTLkc4:progress??props.oihHTLkc4??\"100\"};};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,contentLocale,setLocale}=useLocaleInfo();const componentViewport=useComponentViewport();const{style,className,layoutId,variant,oihHTLkc4,...restProps}=getProps(props);const{baseVariant,classNames,clearLoadingGesture,gestureHandlers,gestureVariant,isLoading,setGestureState,setVariant,variants}=useVariantState({defaultVariant:\"ZzVwCOiPZ\",ref:refBinding,variant,variantClassNames});const layoutDependency=createLayoutDependency(props,variants);const sharedStyleClassNames=[sharedStyle.className];const scopingClassNames=cx(serializationHash,...sharedStyleClassNames);const textContent=suffix(oihHTLkc4,\"%\");return /*#__PURE__*/_jsx(LayoutGroup,{id:layoutId??defaultLayoutId,children:/*#__PURE__*/_jsx(Variants,{animate:variants,initial:false,children:/*#__PURE__*/_jsx(Transition,{value:transition1,children:/*#__PURE__*/_jsx(motion.div,{...restProps,...gestureHandlers,className:cx(scopingClassNames,\"framer-1xk0oqv\",className,classNames),\"data-framer-name\":\"Variant 1\",layoutDependency:layoutDependency,layoutId:\"ZzVwCOiPZ\",ref:refBinding,style:{...style},children:/*#__PURE__*/_jsx(RichText,{__fromCanvasComponent:true,children:/*#__PURE__*/_jsx(React.Fragment,{children:/*#__PURE__*/_jsx(motion.p,{className:\"framer-styles-preset-yo33vq\",\"data-styles-preset\":\"l18Fo0cuF\",children:\"100%\"})}),className:\"framer-eptl9l\",fonts:[\"Inter\"],layoutDependency:layoutDependency,layoutId:\"KhGCHw06K\",style:{\"--framer-link-text-color\":\"rgb(0, 153, 255)\",\"--framer-link-text-decoration\":\"underline\"},text:textContent,verticalAlignment:\"top\",withExternalLayout:true})})})})});});const css=[\".framer-43vm5.framer-zem2a8, .framer-43vm5 .framer-zem2a8 { display: block; }\",\".framer-43vm5.framer-1xk0oqv { align-content: center; align-items: center; display: flex; flex-direction: row; flex-wrap: nowrap; gap: 10px; height: min-content; justify-content: center; overflow: hidden; padding: 0px; position: relative; width: min-content; }\",\".framer-43vm5 .framer-eptl9l { flex: none; height: auto; position: relative; white-space: pre; width: auto; }\",...sharedStyle.css];/**\n * This is a generated Framer component.\n * @framerIntrinsicHeight 16\n * @framerIntrinsicWidth 31\n * @framerCanvasComponentVariantDetails {\"propertyName\":\"variant\",\"data\":{\"default\":{\"layout\":[\"auto\",\"auto\"]}}}\n * @framerVariables {\"oihHTLkc4\":\"progress\"}\n * @framerImmutableVariables true\n * @framerDisplayContentsDiv false\n * @framerAutoSizeImages true\n * @framerComponentViewportWidth true\n * @framerColorSyntax true\n */const FramerRZheGmE_a=withCSS(Component,css,\"framer-43vm5\");export default FramerRZheGmE_a;FramerRZheGmE_a.displayName=\"Progress\";FramerRZheGmE_a.defaultProps={height:16,width:31};addPropertyControls(FramerRZheGmE_a,{oihHTLkc4:{defaultValue:\"100\",displayTextArea:false,title:\"Progress\",type:ControlType.String},onoihHTLkc4Change:{changes:\"oihHTLkc4\",type:ControlType.ChangeHandler}});addFonts(FramerRZheGmE_a,[{explicitInter:true,fonts:[{cssFamilyName:\"Inter\",source:\"framer\",style:\"normal\",uiFamilyName:\"Inter\",unicodeRange:\"U+0460-052F, U+1C80-1C88, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F\",url:\"https://framerusercontent.com/assets/5vvr9Vy74if2I6bQbJvbw7SY1pQ.woff2\",weight:\"400\"},{cssFamilyName:\"Inter\",source:\"framer\",style:\"normal\",uiFamilyName:\"Inter\",unicodeRange:\"U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116\",url:\"https://framerusercontent.com/assets/EOr0mi4hNtlgWNn9if640EZzXCo.woff2\",weight:\"400\"},{cssFamilyName:\"Inter\",source:\"framer\",style:\"normal\",uiFamilyName:\"Inter\",unicodeRange:\"U+1F00-1FFF\",url:\"https://framerusercontent.com/assets/Y9k9QrlZAqio88Klkmbd8VoMQc.woff2\",weight:\"400\"},{cssFamilyName:\"Inter\",source:\"framer\",style:\"normal\",uiFamilyName:\"Inter\",unicodeRange:\"U+0370-03FF\",url:\"https://framerusercontent.com/assets/OYrD2tBIBPvoJXiIHnLoOXnY9M.woff2\",weight:\"400\"},{cssFamilyName:\"Inter\",source:\"framer\",style:\"normal\",uiFamilyName:\"Inter\",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/JeYwfuaPfZHQhEG8U5gtPDZ7WQ.woff2\",weight:\"400\"},{cssFamilyName:\"Inter\",source:\"framer\",style:\"normal\",uiFamilyName:\"Inter\",unicodeRange:\"U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2070, U+2074-207E, U+2080-208E, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD\",url:\"https://framerusercontent.com/assets/GrgcKwrN6d3Uz8EwcLHZxwEfC4.woff2\",weight:\"400\"},{cssFamilyName:\"Inter\",source:\"framer\",style:\"normal\",uiFamilyName:\"Inter\",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/b6Y37FthZeALduNqHicBT6FutY.woff2\",weight:\"400\"}]},...getFontsFromSharedStyle(sharedStyle.fonts)],{supportsExplicitInterCodegen:true});\nexport const __FramerMetadata__ = {\"exports\":{\"Props\":{\"type\":\"tsType\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"default\":{\"type\":\"reactComponent\",\"name\":\"FramerRZheGmE_a\",\"slots\":[],\"annotations\":{\"framerImmutableVariables\":\"true\",\"framerComponentViewportWidth\":\"true\",\"framerDisplayContentsDiv\":\"false\",\"framerCanvasComponentVariantDetails\":\"{\\\"propertyName\\\":\\\"variant\\\",\\\"data\\\":{\\\"default\\\":{\\\"layout\\\":[\\\"auto\\\",\\\"auto\\\"]}}}\",\"framerColorSyntax\":\"true\",\"framerIntrinsicWidth\":\"31\",\"framerAutoSizeImages\":\"true\",\"framerContractVersion\":\"1\",\"framerIntrinsicHeight\":\"16\",\"framerVariables\":\"{\\\"oihHTLkc4\\\":\\\"progress\\\"}\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./RZheGmE_a.map","import{jsx as _jsx}from\"react/jsx-runtime\";import{useState,useEffect}from\"react\";import{useScroll,useSpring,useTransform}from\"framer-motion\";export function withScrollProgress(Component){return props=>{const[scrollProgress,setScrollProgress]=useState(\"0\");const{scrollYProgress}=useScroll();const scaleY=useSpring(scrollYProgress,{stiffness:600,damping:30});const scaleYTransform=useTransform(scaleY,[0,1],[0,100]);useEffect(()=>scaleYTransform.onChange(latest=>{setScrollProgress(latest.toFixed(0));}),[scaleYTransform]);return /*#__PURE__*/_jsx(Component,{...props,progress:scrollProgress});};}\nexport const __FramerMetadata__ = {\"exports\":{\"withScrollProgress\":{\"type\":\"reactHoc\",\"name\":\"withScrollProgress\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./Progress.map"],"mappings":"A,4jBAC8b,EAAkB,eAAqB,EAAkB,CAAC,UAAU,kBAAkB,EAAyN,EAAY,CAAC,QAAQ,GAAG,MAAM,EAAE,KAAK,EAAE,UAAU,IAAI,KAAK,QAAQ,EAAQ,GAAQ,EAAM,IAAa,OAAO0D,GAAQ,UAAU,OAAOT,GAAS,SAAiBS,EAAMT,EAAgB,OAAOS,GAAQ,SAAiBA,EAAe,OAAOT,GAAS,SAAiBA,EAAc,GAAW,GAAY,CAAC,QAAM,cAAY,CAAC,IAAMU,EAAO3D,EAAiByB,CAAmB,EAAQmC,EAAWF,GAAOC,EAAO,WAAiBE,EAAa5D,OAAmB,CAAC,GAAG0D,EAAO,YAAU,GAAG,CAAC,KAAK,UAAUC,CAAU,CAAC,CAAC,EAAE,MAAoB,gBAAKnC,EAAoB,SAAS,CAAC,MAAMoC,EAAsB,UAAQ,CAAC,CAAE,EAAQ,EAASxC,EAAO,OAAOnB,CAAc,EAAQ,GAAU,CAAC,SAAO,KAAG,WAAS,QAAM,GAAG4D,MAAgB,CAAC,GAAGA,EAAM,UAAUC,GAAUD,EAAM,WAAW,KAAK,GAAU,GAAwB,EAAM,IAAeA,EAAM,iBAAwBE,EAAS,KAAK,GAAG,EAAEF,EAAM,iBAAwBE,EAAS,KAAK,GAAG,EAAU,EAAuB,gBAAiB,SAAS,EAAM,EAAI,CAAC,IAAMC,EAAY9D,EAAO,IAAI,EAAQ+D,EAAWC,GAAKF,EAAkBG,EAAgBhE,EAAY,EAAO,C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