{"version":3,"file":"Carousel.DjhGVJsT.mjs","names":["React.useContext","React.useMemo","React.Fragment","ArrowRight","useRef","React.useId","sharedStyle.className","sharedStyle1.className","className","RichText","sharedStyle.css","sharedStyle1.css","sharedStyle.fonts","sharedStyle1.fonts","useRef","useState","x","Children","e"],"sources":["https:/framerusercontent.com/modules/y9Kmx79emlyEJRmk0SUh/cPcHTQOLgf3kU4Gzs4Jt/iHsSP07ed.js","https:/framerusercontent.com/modules/ABZJi8zu6U1BA1Flq0qj/8BREfJf4yWsuC55G50Yr/Carousel.js"],"sourcesContent":["// Generated by Framer (c0aead9)\nimport{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import{addFonts,addPropertyControls,ControlType,cx,getFontsFromSharedStyle,Instance,RichText,useComponentViewport,useLocaleInfo,useVariantState,withCSS}from\"framer\";import{LayoutGroup,motion,MotionConfigContext}from\"framer-motion\";import*as React from\"react\";import{useRef}from\"react\";import ArrowRight from\"https://framerusercontent.com/modules/2WQzq084DzoFmwmk0fUI/sBT0012yPWvPR8ixbuvU/xWxFPmdWu.js\";import*as sharedStyle from\"https://framerusercontent.com/modules/56yicuL3oJ3dwJ0HXoe5/105bOLJKmsUjOsgJJZEo/EWd9e4FBx.js\";import*as sharedStyle1 from\"https://framerusercontent.com/modules/zOGHsenoVYjwGuVsH03y/kRdXeFNnL3y5skNRo3C5/MveAushDk.js\";const cycleOrder=[\"X88vj4MXP\",\"UG1WzdTPf\"];const serializationHash=\"framer-Ryhbh\";const variantClassNames={UG1WzdTPf:\"framer-v-axr39t\",X88vj4MXP:\"framer-v-25f4lx\"};function addPropertyOverrides(overrides,...variants){const nextOverrides={};variants?.forEach(variant=>variant&&Object.assign(nextOverrides,overrides[variant]));return nextOverrides;}const gZfEEzg1k=undefined;const vkeKPigdw=undefined;const KQHL2GljQ=undefined;const bmPkBKy3C=undefined;const BDfVXdn2T=undefined;const transition1={bounce:.2,delay:0,duration:.4,type:\"spring\"};const transformTemplate1=(_,t)=>`translate(-50%, -50%) ${t}`;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 humanReadableVariantMap={Fill:\"UG1WzdTPf\",Fit:\"X88vj4MXP\"};const getProps=({description,fill,height,icon,iconColor,id,title,width,...props})=>{return{...props,BDfVXdn2T:description??props.BDfVXdn2T??\"Predict your income\",bmPkBKy3C:title??props.bmPkBKy3C??\"Cashflow Forecast\",gZfEEzg1k:fill??props.gZfEEzg1k??\"var(--token-63179b8e-7207-4483-969d-30dad423295a, rgb(235, 237, 250))\",KQHL2GljQ:icon??props.KQHL2GljQ??ArrowRight,variant:humanReadableVariantMap[props.variant]??props.variant??\"X88vj4MXP\",vkeKPigdw:iconColor??props.vkeKPigdw??\"var(--token-92f79d8c-5684-4d83-98a0-358c9a114f12, rgb(147, 145, 184))\"};};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,bmPkBKy3C,BDfVXdn2T,KQHL2GljQ,gZfEEzg1k,vkeKPigdw,...restProps}=getProps(props);const{baseVariant,classNames,clearLoadingGesture,gestureHandlers,gestureVariant,isLoading,setGestureState,setVariant,variants}=useVariantState({cycleOrder,defaultVariant:\"X88vj4MXP\",ref:refBinding,variant,variantClassNames});const layoutDependency=createLayoutDependency(props,variants);const sharedStyleClassNames=[sharedStyle.className,sharedStyle1.className];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-25f4lx\",className,classNames),\"data-framer-name\":\"Fit\",layoutDependency:layoutDependency,layoutId:\"X88vj4MXP\",ref:refBinding,style:{...style},...addPropertyOverrides({UG1WzdTPf:{\"data-framer-name\":\"Fill\"}},baseVariant,gestureVariant),children:[/*#__PURE__*/_jsx(motion.div,{className:\"framer-1wq2p9z\",layoutDependency:layoutDependency,layoutId:\"DXbNFF0w7\",style:{backgroundColor:gZfEEzg1k,borderBottomLeftRadius:8,borderBottomRightRadius:8,borderTopLeftRadius:8,borderTopRightRadius:8},children:/*#__PURE__*/_jsx(Instance,{animated:true,className:\"framer-k0felb\",Component:KQHL2GljQ,layoutDependency:layoutDependency,layoutId:\"UHN5FoqkF\",style:{\"--1ww558a\":1.5,\"--4rxgx6\":vkeKPigdw},transformTemplate:transformTemplate1})}),/*#__PURE__*/_jsxs(motion.div,{className:\"framer-roxk9k\",layoutDependency:layoutDependency,layoutId:\"MdwqNtrI9\",children:[/*#__PURE__*/_jsx(RichText,{__fromCanvasComponent:true,children:/*#__PURE__*/_jsx(React.Fragment,{children:/*#__PURE__*/_jsx(motion.p,{className:\"framer-styles-preset-15gu9gr\",\"data-styles-preset\":\"EWd9e4FBx\",dir:\"auto\",style:{\"--framer-text-alignment\":\"left\",\"--framer-text-color\":\"var(--extracted-r6o4lv, var(--token-6a468a94-f17b-47df-8134-c371f0077abe, rgb(51, 51, 94)))\"},children:/*#__PURE__*/_jsx(motion.strong,{children:\"Cashflow Forecast\"})})}),className:\"framer-wtgdfs\",fonts:[\"Inter\",\"Inter-Bold\"],layoutDependency:layoutDependency,layoutId:\"wYOHSyZMU\",style:{\"--extracted-r6o4lv\":\"var(--token-6a468a94-f17b-47df-8134-c371f0077abe, rgb(51, 51, 94))\",\"--framer-link-text-color\":\"rgb(0, 153, 255)\",\"--framer-link-text-decoration\":\"underline\"},text:bmPkBKy3C,verticalAlignment:\"top\",withExternalLayout:true}),/*#__PURE__*/_jsx(RichText,{__fromCanvasComponent:true,children:/*#__PURE__*/_jsx(React.Fragment,{children:/*#__PURE__*/_jsx(motion.p,{className:\"framer-styles-preset-ftfde0\",\"data-styles-preset\":\"MveAushDk\",dir:\"auto\",style:{\"--framer-text-alignment\":\"left\",\"--framer-text-color\":\"var(--extracted-r6o4lv, var(--token-92f79d8c-5684-4d83-98a0-358c9a114f12, rgb(147, 145, 184)))\"},children:\"Predict your income\"})}),className:\"framer-12xepn7\",fonts:[\"Inter\"],layoutDependency:layoutDependency,layoutId:\"eX1YLXwdA\",style:{\"--extracted-r6o4lv\":\"var(--token-92f79d8c-5684-4d83-98a0-358c9a114f12, rgb(147, 145, 184))\",\"--framer-link-text-color\":\"rgb(0, 153, 255)\",\"--framer-link-text-decoration\":\"underline\"},text:BDfVXdn2T,verticalAlignment:\"top\",withExternalLayout:true})]})]})})})});});const css=[\"@supports (aspect-ratio: 1) { body { --framer-aspect-ratio-supported: auto; } }\",\".framer-Ryhbh.framer-ykjuzb, .framer-Ryhbh .framer-ykjuzb { display: block; }\",\".framer-Ryhbh.framer-25f4lx { align-content: center; align-items: center; display: flex; flex-direction: row; flex-wrap: nowrap; gap: 16px; height: min-content; justify-content: center; overflow: var(--overflow-clip-fallback, clip); padding: 0px; position: relative; width: min-content; }\",\".framer-Ryhbh .framer-1wq2p9z { aspect-ratio: 1 / 1; flex: none; height: var(--framer-aspect-ratio-supported, 50px); overflow: var(--overflow-clip-fallback, clip); position: relative; width: 48px; will-change: var(--framer-will-change-override, transform); }\",\".framer-Ryhbh .framer-k0felb { aspect-ratio: 1 / 1; flex: none; height: var(--framer-aspect-ratio-supported, 24px); left: 50%; position: absolute; top: 50%; width: 24px; }\",\".framer-Ryhbh .framer-roxk9k { align-content: flex-start; align-items: flex-start; display: flex; flex: none; flex-direction: column; flex-wrap: nowrap; gap: 0px; height: min-content; justify-content: center; overflow: var(--overflow-clip-fallback, clip); padding: 0px; position: relative; width: min-content; }\",\".framer-Ryhbh .framer-wtgdfs, .framer-Ryhbh .framer-12xepn7 { flex: none; height: auto; position: relative; white-space: pre; width: auto; }\",\".framer-Ryhbh.framer-v-axr39t.framer-25f4lx { width: 217px; }\",\".framer-Ryhbh.framer-v-axr39t .framer-roxk9k { flex: 1 0 0px; width: 1px; }\",\".framer-Ryhbh.framer-v-axr39t .framer-wtgdfs, .framer-Ryhbh.framer-v-axr39t .framer-12xepn7 { white-space: pre-wrap; width: 100%; word-break: break-word; word-wrap: break-word; }\",...sharedStyle.css,...sharedStyle1.css];/**\n * This is a generated Framer component.\n * @framerIntrinsicHeight 52\n * @framerIntrinsicWidth 217\n * @framerCanvasComponentVariantDetails {\"propertyName\":\"variant\",\"data\":{\"default\":{\"layout\":[\"auto\",\"auto\"]},\"UG1WzdTPf\":{\"layout\":[\"fixed\",\"auto\"]}}}\n * @framerVariables {\"bmPkBKy3C\":\"title\",\"BDfVXdn2T\":\"description\",\"KQHL2GljQ\":\"icon\",\"gZfEEzg1k\":\"fill\",\"vkeKPigdw\":\"iconColor\"}\n * @framerImmutableVariables true\n * @framerDisplayContentsDiv false\n * @framerAutoSizeImages true\n * @framerComponentViewportWidth true\n * @framerColorSyntax true\n * @framerVectorSets [\"E1vFg1A6wcWAGuFi9Hz1\"]\n */const FrameriHsSP07ed=withCSS(Component,css,\"framer-Ryhbh\");export default FrameriHsSP07ed;FrameriHsSP07ed.displayName=\"benefit\";FrameriHsSP07ed.defaultProps={height:52,width:217};addPropertyControls(FrameriHsSP07ed,{variant:{options:[\"X88vj4MXP\",\"UG1WzdTPf\"],optionTitles:[\"Fit\",\"Fill\"],title:\"Variant\",type:ControlType.Enum},bmPkBKy3C:{defaultValue:\"Cashflow Forecast\",displayTextArea:false,title:\"Title\",type:ControlType.String},BDfVXdn2T:{defaultValue:\"Predict your income\",displayTextArea:false,title:\"Description\",type:ControlType.String},KQHL2GljQ:{defaultValue:{identifier:\"module:2WQzq084DzoFmwmk0fUI/sBT0012yPWvPR8ixbuvU/xWxFPmdWu.js:default\",moduleId:\"2WQzq084DzoFmwmk0fUI\"},setModuleId:\"E1vFg1A6wcWAGuFi9Hz1\",title:\"Icon\",type:ControlType.VectorSetItem},gZfEEzg1k:{defaultValue:'var(--token-63179b8e-7207-4483-969d-30dad423295a, rgb(235, 237, 250)) /* {\"name\":\"Background Alt\"} */',title:\"Fill\",type:ControlType.Color},vkeKPigdw:{defaultValue:'var(--token-92f79d8c-5684-4d83-98a0-358c9a114f12, rgb(147, 145, 184)) /* {\"name\":\"Text 50\"} */',title:\"Icon Color\",type:ControlType.Color}});addFonts(FrameriHsSP07ed,[{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\"},{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/DpPBYI0sL4fYLgAkX8KXOPVt7c.woff2\",weight:\"700\"},{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/4RAEQdEOrcnDkhHiiCbJOw92Lk.woff2\",weight:\"700\"},{cssFamilyName:\"Inter\",source:\"framer\",style:\"normal\",uiFamilyName:\"Inter\",unicodeRange:\"U+1F00-1FFF\",url:\"https://framerusercontent.com/assets/1K3W8DizY3v4emK8Mb08YHxTbs.woff2\",weight:\"700\"},{cssFamilyName:\"Inter\",source:\"framer\",style:\"normal\",uiFamilyName:\"Inter\",unicodeRange:\"U+0370-03FF\",url:\"https://framerusercontent.com/assets/tUSCtfYVM1I1IchuyCwz9gDdQ.woff2\",weight:\"700\"},{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/VgYFWiwsAC5OYxAycRXXvhze58.woff2\",weight:\"700\"},{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/syRNPWzAMIrcJ3wIlPIP43KjQs.woff2\",weight:\"700\"},{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/GIryZETIX4IFypco5pYZONKhJIo.woff2\",weight:\"700\"}]},...getFontsFromSharedStyle(sharedStyle.fonts),...getFontsFromSharedStyle(sharedStyle1.fonts)],{supportsExplicitInterCodegen:true});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"FrameriHsSP07ed\",\"slots\":[],\"annotations\":{\"framerIntrinsicHeight\":\"52\",\"framerColorSyntax\":\"true\",\"framerIntrinsicWidth\":\"217\",\"framerDisplayContentsDiv\":\"false\",\"framerContractVersion\":\"1\",\"framerCanvasComponentVariantDetails\":\"{\\\"propertyName\\\":\\\"variant\\\",\\\"data\\\":{\\\"default\\\":{\\\"layout\\\":[\\\"auto\\\",\\\"auto\\\"]},\\\"UG1WzdTPf\\\":{\\\"layout\\\":[\\\"fixed\\\",\\\"auto\\\"]}}}\",\"framerVectorSets\":\"[\\\"E1vFg1A6wcWAGuFi9Hz1\\\"]\",\"framerAutoSizeImages\":\"true\",\"framerImmutableVariables\":\"true\",\"framerComponentViewportWidth\":\"true\",\"framerVariables\":\"{\\\"bmPkBKy3C\\\":\\\"title\\\",\\\"BDfVXdn2T\\\":\\\"description\\\",\\\"KQHL2GljQ\\\":\\\"icon\\\",\\\"gZfEEzg1k\\\":\\\"fill\\\",\\\"vkeKPigdw\\\":\\\"iconColor\\\"}\"}},\"Props\":{\"type\":\"tsType\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./iHsSP07ed.map","// Component - CustomCarousel.tsx\nimport{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import React,{useEffect,useRef,useState,Children,cloneElement,isValidElement}from\"react\";import{addPropertyControls,ControlType}from\"framer\";import{motion,useMotionValue,useTransform,animate}from\"framer-motion\";export default function CustomCarousel(props){const{children=[],gap=16,overflow=true,prevButtonName=\"\",nextButtonName=\"\",duration=.6,bounce=0,cardVariant=\"Desktop\",fillWidth=false,progressBackgroundColor=\"rgba(0,0,0,0.1)\",progressBarColor=\"#000000\",progressWidth=200,progressOffset=24,progressAlignment=\"center\"}=props;const containerRef=useRef(null);const trackRef=useRef(null);const[currentIndex,setCurrentIndex]=useState(0);const[dimensions,setDimensions]=useState({container:0,track:0});const x=useMotionValue(0);const animationRef=useRef(null);const cardCount=Children.count(children);const maxOffset=Math.max(0,dimensions.track-dimensions.container);// Update dimensions on mount and resize\nuseEffect(()=>{const updateDimensions=()=>{if(containerRef.current&&trackRef.current){setDimensions({container:containerRef.current.clientWidth,track:trackRef.current.scrollWidth});}};updateDimensions();// Small delay to ensure children are rendered\nconst timeout=setTimeout(updateDimensions,100);window.addEventListener(\"resize\",updateDimensions);return()=>{window.removeEventListener(\"resize\",updateDimensions);clearTimeout(timeout);};},[children,fillWidth,gap]);// Animate to current index with right-edge clamping\nuseEffect(()=>{if(!trackRef.current)return;const cards=Array.from(trackRef.current.children);if(!cards[currentIndex])return;// Clamp offset so last card aligns to right edge\nconst targetOffset=Math.min(cards[currentIndex].offsetLeft,maxOffset);animationRef.current=animate(x,-targetOffset,{type:\"spring\",duration,bounce});},[currentIndex,children,duration,bounce,maxOffset]);const goTo=index=>{const maxIndex=cardCount-1;setCurrentIndex(Math.max(0,Math.min(index,maxIndex)));};// External button listeners\nuseEffect(()=>{if(typeof window===\"undefined\")return;const handlePrev=()=>goTo(currentIndex-1);const handleNext=()=>goTo(currentIndex+1);const prevBtn=prevButtonName?document.querySelector(`[data-framer-name=\"${prevButtonName}\"]`):null;const nextBtn=nextButtonName?document.querySelector(`[data-framer-name=\"${nextButtonName}\"]`):null;prevBtn?.addEventListener(\"click\",handlePrev);nextBtn?.addEventListener(\"click\",handleNext);return()=>{prevBtn?.removeEventListener(\"click\",handlePrev);nextBtn?.removeEventListener(\"click\",handleNext);};},[prevButtonName,nextButtonName,currentIndex]);// Drag handling\nconst isDragging=useRef(false);const startX=useRef(0);const startTranslate=useRef(0);const dragStartTime=useRef(0);const SWIPE_VELOCITY_THRESHOLD=.3// px/ms\n;const handleDragStart=clientX=>{// Cancel any ongoing animation\nif(animationRef.current){animationRef.current.stop();animationRef.current=null;}isDragging.current=true;startX.current=clientX;startTranslate.current=x.get();dragStartTime.current=Date.now();};const handleDragMove=clientX=>{if(!isDragging.current)return;const diff=clientX-startX.current;x.set(startTranslate.current+diff);};const handleDragEnd=()=>{if(!isDragging.current||!trackRef.current)return;isDragging.current=false;const cards=Array.from(trackRef.current.children);const currentX=x.get();const dragDistance=currentX-startTranslate.current;const elapsed=Date.now()-dragStartTime.current;const velocity=Math.abs(dragDistance)/Math.max(elapsed,1);// Velocity-based: fast swipe advances one card in swipe direction\nif(velocity>SWIPE_VELOCITY_THRESHOLD&&Math.abs(dragDistance)>10){const direction=dragDistance>0?-1:1;const nextIndex=Math.max(0,Math.min(currentIndex+direction,cardCount-1));const targetOffset=Math.min(cards[nextIndex].offsetLeft,maxOffset);animationRef.current=animate(x,-targetOffset,{type:\"spring\",duration,bounce});setCurrentIndex(nextIndex);return;}// Distance-based fallback: snap to nearest card\nlet closest=0;let closestDistance=Infinity;cards.forEach((card,i)=>{const cardOffset=Math.min(card.offsetLeft,maxOffset);const distance=Math.abs(-cardOffset-currentX);if(distance<closestDistance){closestDistance=distance;closest=i;}});const targetOffset=Math.min(cards[closest].offsetLeft,maxOffset);animationRef.current=animate(x,-targetOffset,{type:\"spring\",duration,bounce});setCurrentIndex(closest);};// Progress bar positioning (smooth, motion-driven)\nconst progressBarWidthPercent=cardCount>0?100/cardCount:100;const progressLeft=useTransform(x,xVal=>{if(maxOffset===0)return\"0%\";const progress=Math.min(1,Math.max(0,-xVal/maxOffset));return`${progress*(100-progressBarWidthPercent)}%`;});const alignmentMap={left:\"flex-start\",center:\"center\",right:\"flex-end\"};const hasProgress=progressBackgroundColor&&progressBarColor;// Render children with variant and handle fill width\nconst renderChildren=()=>{return Children.map(children,(child,i)=>{if(!/*#__PURE__*/isValidElement(child))return child;const childElement=child;// Navigate to the actual Framer component (3 levels deep)\nconst level2=childElement.props?.children;const level3=level2?.props?.children;if(!level3||!/*#__PURE__*/isValidElement(level3)){// Editor fallback: render with fillWidth applied at top level\nconst fallbackChild=fillWidth?/*#__PURE__*/cloneElement(childElement,{...childElement.props,width:\"100%\",style:{...childElement.props?.style,width:\"100%\"}}):child;return /*#__PURE__*/_jsx(\"div\",{style:{flexShrink:0,...fillWidth&&{width:\"100%\"}},children:fallbackChild},i);}const actualComponent=level3;const componentType=actualComponent.type;// Get variant mapping from propertyControls\nconst variantControls=componentType?.propertyControls?.variant;let targetVariantId=actualComponent.props?.variant// default to current\n;if(cardVariant===\"Mobile\"&&variantControls){const{options,optionTitles}=variantControls;const mobileIndex=optionTitles?.indexOf(\"Mobile\");if(mobileIndex!==-1&&options?.[mobileIndex]){targetVariantId=options[mobileIndex];}}// Rebuild the component tree with the new variant\nconst newLevel3=/*#__PURE__*/React.createElement(actualComponent.type,{...actualComponent.props,variant:targetVariantId,...fillWidth&&{width:\"100%\",style:{...actualComponent.props?.style,width:\"100%\"}}});const newLevel2=/*#__PURE__*/React.cloneElement(level2,{...level2.props,...fillWidth&&{style:{...level2.props?.style,width:\"100%\"}},children:newLevel3});const newChild=/*#__PURE__*/React.cloneElement(childElement,{...childElement.props,...fillWidth&&{width:\"100%\",style:{...childElement.props?.style,width:\"100%\"}},children:newLevel2});return /*#__PURE__*/_jsx(\"div\",{style:{flexShrink:0,...fillWidth&&{width:\"100%\"}},children:newChild},i);});};return /*#__PURE__*/_jsxs(\"div\",{ref:containerRef,style:{width:\"100%\",height:\"100%\",overflow:overflow?\"visible\":\"hidden\",position:\"relative\"},children:[/*#__PURE__*/_jsx(motion.div,{ref:trackRef,style:{display:\"flex\",gap,height:\"100%\",x,cursor:\"grab\"},onMouseDown:e=>handleDragStart(e.clientX),onMouseMove:e=>handleDragMove(e.clientX),onMouseUp:handleDragEnd,onMouseLeave:handleDragEnd,onTouchStart:e=>handleDragStart(e.touches[0].clientX),onTouchMove:e=>handleDragMove(e.touches[0].clientX),onTouchEnd:handleDragEnd,children:renderChildren()}),hasProgress&&/*#__PURE__*/_jsx(\"div\",{style:{position:\"absolute\",top:\"100%\",left:0,right:0,transform:`translateY(${progressOffset}px)`,display:\"flex\",justifyContent:alignmentMap[progressAlignment],alignItems:\"center\"},children:/*#__PURE__*/_jsx(\"div\",{style:{position:\"relative\",width:progressWidth,height:4,borderRadius:2,backgroundColor:progressBackgroundColor,overflow:\"hidden\"},children:/*#__PURE__*/_jsx(motion.div,{style:{position:\"absolute\",top:0,left:progressLeft,width:`${progressBarWidthPercent}%`,height:\"100%\",borderRadius:2,backgroundColor:progressBarColor}})})})]});}addPropertyControls(CustomCarousel,{children:{type:ControlType.Array,title:\"Cards\",control:{type:ControlType.ComponentInstance}},gap:{type:ControlType.Number,title:\"Gap\",defaultValue:16,min:0,max:100},overflow:{type:ControlType.Boolean,title:\"Overflow\",defaultValue:true,enabledTitle:\"Visible\",disabledTitle:\"Hidden\"},cardVariant:{type:ControlType.Enum,title:\"Card Variant\",options:[\"Desktop\",\"Mobile\"],optionTitles:[\"Desktop\",\"Mobile\"],defaultValue:\"Desktop\",displaySegmentedControl:true},fillWidth:{type:ControlType.Boolean,title:\"Card Width\",defaultValue:false,enabledTitle:\"Fill\",disabledTitle:\"Fixed\"},prevButtonName:{type:ControlType.String,title:\"Prev Button\",defaultValue:\"\",placeholder:\"prevBtn\"},nextButtonName:{type:ControlType.String,title:\"Next Button\",defaultValue:\"\",placeholder:\"nextBtn\"},duration:{type:ControlType.Number,title:\"Duration (s)\",defaultValue:.6,min:.1,max:2,step:.1},bounce:{type:ControlType.Number,title:\"Bounce\",defaultValue:0,min:0,max:1,step:.05},progressBackgroundColor:{type:ControlType.Color,title:\"Progress BG\",defaultValue:\"rgba(0,0,0,0.1)\"},progressBarColor:{type:ControlType.Color,title:\"Progress Bar\",defaultValue:\"#000000\"},progressWidth:{type:ControlType.Number,title:\"Progress Width\",defaultValue:200,min:50,max:1e3,step:10},progressOffset:{type:ControlType.Number,title:\"Progress Offset\",defaultValue:24,min:0,max:100},progressAlignment:{type:ControlType.Enum,title:\"Progress Align\",options:[\"left\",\"center\",\"right\"],optionTitles:[\"Left\",\"Center\",\"Right\"],defaultValue:\"center\",displaySegmentedControl:true}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"CustomCarousel\",\"slots\":[\"children\"],\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./Carousel.map"],"mappings":"mjBACk2B,SAAS,EAAqB,EAAU,GAAG,EAAS,CAAC,IAAM,EAAc,EAAE,CAAsF,OAArF,GAAU,QAAQ,GAAS,GAAS,OAAO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