{"version":3,"file":"FlowMarquee.Dpe5SPvb.mjs","names":["MoveRight","React.useContext","React.useMemo","React.Fragment","useRef","React.useId","sharedStyle.className","sharedStyle1.className","className","Image","RichText","sharedStyle.css","sharedStyle1.css","sharedStyle.fonts","sharedStyle1.fonts","useState","useRef","useMemo"],"sources":["https:/framerusercontent.com/modules/tOXoUS4Oj6EVoJvOj09o/huRyS76wEBZNqE6oUp9U/xZs0UZ6E5.js","https:/framerusercontent.com/modules/ZtrSQ7pUlERe4wYTJQRm/vcShwrDtY1Ybrp0Gcj3H/FlowMarquee.js"],"sourcesContent":["// Generated by Framer (5ce23eb)\nimport{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import{addFonts,addPropertyControls,ControlType,cx,getFonts,getFontsFromSharedStyle,getLoadingLazyAtYPosition,Image,Link,RichText,useComponentViewport,useLocaleInfo,useVariantState,withCSS}from\"framer\";import{LayoutGroup,motion,MotionConfigContext}from\"framer-motion\";import*as React from\"react\";import{useRef}from\"react\";import MoveRight from\"https://framerusercontent.com/modules/P8e8l2pWyC5HGme3PPrh/HPW0ZVMQzug2bKlwb6U9/cTXV5RyQ5.js\";import*as sharedStyle1 from\"https://framerusercontent.com/modules/cwPTs5wQPetscMUTG53G/Vh6V7gua1gMWb9ejEM3c/iUCwKohD7.js\";import*as sharedStyle from\"https://framerusercontent.com/modules/eq6cOSHM7fBnQEDLghpb/HnwsZwwQow7dXtPGYyFR/PRDGHKU_m.js\";const MoveRightFonts=getFonts(MoveRight);const cycleOrder=[\"TTFiTag8i\",\"CmUDZ9xlf\"];const serializationHash=\"framer-qOvkJ\";const variantClassNames={CmUDZ9xlf:\"framer-v-1hn4hq6\",TTFiTag8i:\"framer-v-1owqart\"};function addPropertyOverrides(overrides,...variants){const nextOverrides={};variants?.forEach(variant=>variant&&Object.assign(nextOverrides,overrides[variant]));return nextOverrides;}const E3g3Mb3X0=undefined;const VujpjohwX=undefined;const BN9Lg6jH2=undefined;const pzLSCPTp2=undefined;const transition1={bounce:.2,delay:0,duration:.4,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 animation={opacity:1,rotate:0,rotateX:0,rotateY:0,scale:1.05,skewX:0,skewY:0,transition:transition1};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 humanReadableVariantMap={Desktop:\"TTFiTag8i\",Mobile:\"CmUDZ9xlf\"};const Variants=motion.create(React.Fragment);const getProps=({height,id,image,link,text,title,width,...props})=>{return{...props,BN9Lg6jH2:title??props.BN9Lg6jH2??\"Couples Therapy\",E3g3Mb3X0:link??props.E3g3Mb3X0,pzLSCPTp2:text??props.pzLSCPTp2??\"Break free from anxiety, stress, and self-doubt with personalized guidance that helps you rebuild confidence and embrace your best self.\",variant:humanReadableVariantMap[props.variant]??props.variant??\"TTFiTag8i\",VujpjohwX:image??props.VujpjohwX??{pixelHeight:4067,pixelWidth:3046,src:\"https://framerusercontent.com/images/riv0saRenoh2q2w0ywbPtY27w.jpg?width=3046&height=4067\",srcSet:\"https://framerusercontent.com/images/riv0saRenoh2q2w0ywbPtY27w.jpg?scale-down-to=1024&width=3046&height=4067 766w,https://framerusercontent.com/images/riv0saRenoh2q2w0ywbPtY27w.jpg?scale-down-to=2048&width=3046&height=4067 1533w,https://framerusercontent.com/images/riv0saRenoh2q2w0ywbPtY27w.jpg?width=3046&height=4067 3046w\"}};};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,BN9Lg6jH2,pzLSCPTp2,VujpjohwX,E3g3Mb3X0,...restProps}=getProps(props);const{baseVariant,classNames,clearLoadingGesture,gestureHandlers,gestureVariant,isLoading,setGestureState,setVariant,variants}=useVariantState({cycleOrder,defaultVariant:\"TTFiTag8i\",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__*/_jsx(Link,{href:E3g3Mb3X0,motionChild:true,nodeId:\"TTFiTag8i\",openInNewTab:false,scopeId:\"xZs0UZ6E5\",children:/*#__PURE__*/_jsxs(motion.a,{...restProps,...gestureHandlers,className:`${cx(scopingClassNames,\"framer-1owqart\",className,classNames)} framer-1sqjor8`,\"data-framer-name\":\"Desktop\",layoutDependency:layoutDependency,layoutId:\"TTFiTag8i\",ref:refBinding,style:{backgroundColor:\"var(--token-5132758b-9935-4523-9d95-498e2b783c08, rgb(255, 255, 255))\",borderBottomLeftRadius:18,borderBottomRightRadius:18,borderTopLeftRadius:18,borderTopRightRadius:18,boxShadow:\"0px 8px 24px 0px rgba(173, 173, 173, 0.08)\",...style},...addPropertyOverrides({CmUDZ9xlf:{\"data-framer-name\":\"Mobile\"}},baseVariant,gestureVariant),children:[/*#__PURE__*/_jsxs(motion.div,{className:\"framer-pruedm\",layoutDependency:layoutDependency,layoutId:\"WZ6Ff4VO8\",children:[/*#__PURE__*/_jsx(motion.div,{className:\"framer-1r4lnvt\",\"data-framer-name\":\"Gradient\",layoutDependency:layoutDependency,layoutId:\"rRnhCyE9Z\",style:{background:\"linear-gradient(92deg, rgba(255, 255, 255, 0) -99%, rgba(255, 255, 255, 0.9) 100%)\",opacity:.48},variants:{CmUDZ9xlf:{background:\"linear-gradient(180deg, rgba(255, 255, 255, 0) -32%, rgba(255, 255, 255, 0.9) 100%)\"}}}),/*#__PURE__*/_jsx(Image,{background:{alt:\"\",fit:\"fill\",loading:getLoadingLazyAtYPosition((componentViewport?.y||0)+(0+((componentViewport?.height||160)-0-((componentViewport?.height||160)-0)*1)/2)+(0+(((componentViewport?.height||160)-0)*1-0-(((componentViewport?.height||160)-0)*1-0)*1)/2)),pixelHeight:5490,pixelWidth:3439,sizes:\"100px\",...toResponsiveImage(VujpjohwX),...{positionX:\"center\",positionY:\"center\"}},className:\"framer-y4eqsl\",\"data-framer-name\":\"Image\",layoutDependency:layoutDependency,layoutId:\"bZqPwnuZu\",...addPropertyOverrides({CmUDZ9xlf:{background:{alt:\"\",fit:\"fill\",loading:getLoadingLazyAtYPosition((componentViewport?.y||0)+0+(((componentViewport?.height||247)-0-289)/2+0+0)+0),pixelHeight:5490,pixelWidth:3439,sizes:`max(${componentViewport?.width||\"100vw\"}, 1px)`,...toResponsiveImage(VujpjohwX),...{positionX:\"center\",positionY:\"center\"}}}},baseVariant,gestureVariant)})]}),/*#__PURE__*/_jsxs(motion.div,{className:\"framer-ysjvn\",layoutDependency:layoutDependency,layoutId:\"B6d9P4kUT\",children:[/*#__PURE__*/_jsx(RichText,{__fromCanvasComponent:true,children:/*#__PURE__*/_jsx(React.Fragment,{children:/*#__PURE__*/_jsx(motion.h3,{className:\"framer-styles-preset-1rsa1iv\",\"data-styles-preset\":\"PRDGHKU_m\",children:\"Couples Therapy\"})}),className:\"framer-13olohv\",fonts:[\"Inter\"],layoutDependency:layoutDependency,layoutId:\"lxYlE5m8O\",text:BN9Lg6jH2,verticalAlignment:\"top\",withExternalLayout:true}),/*#__PURE__*/_jsx(RichText,{__fromCanvasComponent:true,children:/*#__PURE__*/_jsx(React.Fragment,{children:/*#__PURE__*/_jsx(motion.p,{className:\"framer-styles-preset-e7e1gy\",\"data-styles-preset\":\"iUCwKohD7\",children:\"Break free from anxiety, stress, and self-doubt with personalized guidance that helps you rebuild confidence and embrace your best self.\"})}),className:\"framer-16139vn\",fonts:[\"Inter\"],layoutDependency:layoutDependency,layoutId:\"N5HfEqZj8\",text:pzLSCPTp2,verticalAlignment:\"top\",withExternalLayout:true})]}),/*#__PURE__*/_jsx(motion.div,{className:\"framer-d5kqkl\",layoutDependency:layoutDependency,layoutId:\"GWv84YmiP\",style:{borderBottomLeftRadius:225,borderBottomRightRadius:225,borderTopLeftRadius:225,borderTopRightRadius:225},whileHover:animation,children:/*#__PURE__*/_jsx(MoveRight,{animated:true,className:\"framer-x61i65\",layoutDependency:layoutDependency,layoutId:\"wZSdgIVA_\",style:{\"--1m973uw\":\"var(--token-9f88c7ea-fce5-4268-b01c-8814aef50f65, rgb(216, 167, 89))\",\"--js9iwy\":3}})})]})})})})});});const css=[\"@supports (aspect-ratio: 1) { body { --framer-aspect-ratio-supported: auto; } }\",\".framer-qOvkJ.framer-1sqjor8, .framer-qOvkJ .framer-1sqjor8 { display: block; }\",\".framer-qOvkJ.framer-1owqart { align-content: center; align-items: center; cursor: default; display: flex; flex-direction: row; flex-wrap: nowrap; gap: 16px; height: 160px; justify-content: center; overflow: hidden; padding: 0px; position: relative; text-decoration: none; width: 500px; will-change: var(--framer-will-change-override, transform); }\",\".framer-qOvkJ .framer-pruedm { align-content: center; align-items: center; display: flex; flex: none; flex-direction: row; flex-wrap: nowrap; gap: 10px; height: 100%; justify-content: flex-start; overflow: visible; padding: 0px; position: relative; width: 100px; z-index: 0; }\",\".framer-qOvkJ .framer-1r4lnvt { flex: none; height: 113%; left: calc(48.00000000000002% - 104px / 2); overflow: visible; position: absolute; top: calc(49.04458598726117% - 113.37579617834395% / 2); width: 104px; z-index: 1; }\",\".framer-qOvkJ .framer-y4eqsl { flex: 1 0 0px; gap: 10px; height: 100%; overflow: hidden; position: relative; width: 1px; z-index: 0; }\",\".framer-qOvkJ .framer-ysjvn { align-content: flex-start; align-items: flex-start; display: flex; flex: 1 0 0px; flex-direction: column; flex-wrap: nowrap; gap: 8px; height: min-content; justify-content: center; overflow: hidden; padding: 24px; position: relative; width: 1px; }\",\".framer-qOvkJ .framer-13olohv, .framer-qOvkJ .framer-16139vn { -webkit-user-select: none; flex: none; height: auto; pointer-events: auto; position: relative; user-select: none; white-space: pre-wrap; width: 100%; word-break: break-word; word-wrap: break-word; }\",\".framer-qOvkJ .framer-d5kqkl { align-content: center; align-items: center; bottom: 6px; display: flex; flex: none; flex-direction: row; flex-wrap: nowrap; gap: 0px; height: min-content; justify-content: center; overflow: visible; padding: 4px; position: absolute; right: 6px; width: min-content; will-change: var(--framer-will-change-effect-override, transform); z-index: 1; }\",\".framer-qOvkJ .framer-x61i65 { aspect-ratio: 0.9722222222222222 / 1; flex: none; height: var(--framer-aspect-ratio-supported, 20px); position: relative; width: 18px; }\",\".framer-qOvkJ.framer-v-1hn4hq6.framer-1owqart { flex-direction: column; gap: 0px; height: min-content; width: 360px; }\",\".framer-qOvkJ.framer-v-1hn4hq6 .framer-pruedm { height: 125px; width: 100%; }\",\".framer-qOvkJ.framer-v-1hn4hq6 .framer-1r4lnvt { height: 131%; left: calc(51.94444444444447% - 113.05555555555556% / 2); top: calc(40.00000000000002% - 131% / 2); width: 113%; }\",\".framer-qOvkJ.framer-v-1hn4hq6 .framer-ysjvn { flex: none; gap: 0px; padding: 16px 24px 16px 24px; width: 100%; }\",...sharedStyle.css,...sharedStyle1.css];/**\n * This is a generated Framer component.\n * @framerIntrinsicHeight 160\n * @framerIntrinsicWidth 500\n * @framerCanvasComponentVariantDetails {\"propertyName\":\"variant\",\"data\":{\"default\":{\"layout\":[\"fixed\",\"fixed\"]},\"CmUDZ9xlf\":{\"layout\":[\"fixed\",\"auto\"]}}}\n * @framerVariables {\"BN9Lg6jH2\":\"title\",\"pzLSCPTp2\":\"text\",\"VujpjohwX\":\"image\",\"E3g3Mb3X0\":\"link\"}\n * @framerImmutableVariables true\n * @framerDisplayContentsDiv false\n * @framerAutoSizeImages true\n * @framerComponentViewportWidth true\n * @framerColorSyntax true\n */const FramerxZs0UZ6E5=withCSS(Component,css,\"framer-qOvkJ\");export default FramerxZs0UZ6E5;FramerxZs0UZ6E5.displayName=\"Services Card\";FramerxZs0UZ6E5.defaultProps={height:160,width:500};addPropertyControls(FramerxZs0UZ6E5,{variant:{options:[\"TTFiTag8i\",\"CmUDZ9xlf\"],optionTitles:[\"Desktop\",\"Mobile\"],title:\"Variant\",type:ControlType.Enum},BN9Lg6jH2:{defaultValue:\"Couples Therapy\",displayTextArea:false,title:\"Title\",type:ControlType.String},onBN9Lg6jH2Change:{changes:\"BN9Lg6jH2\",type:ControlType.ChangeHandler},pzLSCPTp2:{defaultValue:\"Break free from anxiety, stress, and self-doubt with personalized guidance that helps you rebuild confidence and embrace your best self.\",displayTextArea:false,title:\"Text\",type:ControlType.String},onpzLSCPTp2Change:{changes:\"pzLSCPTp2\",type:ControlType.ChangeHandler},VujpjohwX:{__defaultAssetReference:\"data:framer/asset-reference,riv0saRenoh2q2w0ywbPtY27w.jpg?originalFilename=pexels-prismattco-2414036.jpg&preferredSize=auto\",title:\"Image\",type:ControlType.ResponsiveImage},E3g3Mb3X0:{title:\"Link\",type:ControlType.Link}});addFonts(FramerxZs0UZ6E5,[{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\"}]},...MoveRightFonts,...getFontsFromSharedStyle(sharedStyle.fonts),...getFontsFromSharedStyle(sharedStyle1.fonts)],{supportsExplicitInterCodegen:true});\nexport const __FramerMetadata__ = {\"exports\":{\"Props\":{\"type\":\"tsType\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"default\":{\"type\":\"reactComponent\",\"name\":\"FramerxZs0UZ6E5\",\"slots\":[],\"annotations\":{\"framerAutoSizeImages\":\"true\",\"framerDisplayContentsDiv\":\"false\",\"framerImmutableVariables\":\"true\",\"framerIntrinsicHeight\":\"160\",\"framerColorSyntax\":\"true\",\"framerContractVersion\":\"1\",\"framerCanvasComponentVariantDetails\":\"{\\\"propertyName\\\":\\\"variant\\\",\\\"data\\\":{\\\"default\\\":{\\\"layout\\\":[\\\"fixed\\\",\\\"fixed\\\"]},\\\"CmUDZ9xlf\\\":{\\\"layout\\\":[\\\"fixed\\\",\\\"auto\\\"]}}}\",\"framerComponentViewportWidth\":\"true\",\"framerIntrinsicWidth\":\"500\",\"framerVariables\":\"{\\\"BN9Lg6jH2\\\":\\\"title\\\",\\\"pzLSCPTp2\\\":\\\"text\\\",\\\"VujpjohwX\\\":\\\"image\\\",\\\"E3g3Mb3X0\\\":\\\"link\\\"}\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./xZs0UZ6E5.map","import{jsx as _jsx}from\"react/jsx-runtime\";import{useEffect,useRef,useState,useMemo,startTransition}from\"react\";import{addPropertyControls,ControlType,useIsStaticRenderer}from\"framer\";import{motion,useAnimationFrame}from\"framer-motion\";/**\n * @framerIntrinsicWidth 800\n * @framerIntrinsicHeight 500\n * @framerSupportedLayoutWidth fixed\n * @framerSupportedLayoutHeight fixed\n */export default function FlowMarquee(props){const{cards=[{image:{src:\"https://framerusercontent.com/images/GfGkADagM4KEibNcIiRUWlfrR0.jpg\",alt:\"Fashion 1\"}},{image:{src:\"https://framerusercontent.com/images/aNsAT3jCvt4zglbWCUoFe33Q.jpg\",alt:\"Fashion 2\"}},{image:{src:\"https://framerusercontent.com/images/BYnxEV1zjYb9bhWh1IwBZ1ZoS60.jpg\",alt:\"Fashion 3\"}}],speed=1,gap=20,backgroundColor=\"#000000\",direction=\"left\",cardRadius=12}=props;const isStatic=useIsStaticRenderer();const[offset,setOffset]=useState(0);const containerRef=useRef(null);const[containerWidth,setContainerWidth]=useState(1e3);// 1. Handle Responsive Widths\nuseEffect(()=>{if(!containerRef.current)return;const observer=new ResizeObserver(entries=>{for(const entry of entries){setContainerWidth(entry.contentRect.width);}});observer.observe(containerRef.current);return()=>observer.disconnect();},[]);// 2. Calculate dynamic card width\nconst cardWidth=useMemo(()=>{if(containerWidth<600)return containerWidth-gap;if(containerWidth<1024)return containerWidth/2-gap;return containerWidth/3-gap;},[containerWidth,gap]);// Normalize cards\nconst normalizedCards=useMemo(()=>{if(!cards||cards.length===0)return[];return cards.map(card=>({...card,image:card.image||{src:\"\",alt:\"\"}}));},[cards]);// Duplicate cards for seamless loop\nconst duplicatedCards=useMemo(()=>{if(normalizedCards.length===0)return[];// We add extra duplicates to ensure coverage while scrolling backwards\nreturn[...normalizedCards,...normalizedCards,...normalizedCards,...normalizedCards];},[normalizedCards]);// Calculate total loop width\nconst loopWidth=useMemo(()=>{return normalizedCards.length*(cardWidth+gap);},[normalizedCards.length,cardWidth,gap]);// 3. Animation Loop (Updated for Direction)\nuseAnimationFrame((time,delta)=>{if(isStatic||loopWidth===0)return;startTransition(()=>{setOffset(prev=>{let newOffset;if(direction===\"left\"){// Moving Left: Increase offset\nnewOffset=prev+speed*(delta/16);// Reset if we've scrolled past the loop width\nreturn newOffset>=loopWidth?newOffset-loopWidth:newOffset;}else{// Moving Right: Decrease offset\nnewOffset=prev-speed*(delta/16);// Reset if we've scrolled past 0 (into negative)\nreturn newOffset<0?newOffset+loopWidth:newOffset;}});});});// Static Preview\nif(isStatic){return /*#__PURE__*/_jsx(\"div\",{style:{...containerStyle,backgroundColor},children:normalizedCards.slice(0,3).map((card,index)=>/*#__PURE__*/_jsx(\"div\",{style:{width:cardWidth,height:\"100%\",marginRight:gap,flexShrink:0,position:\"relative\",borderRadius:cardRadius,overflow:\"hidden\"},children:/*#__PURE__*/_jsx(\"img\",{src:card.image.src,alt:card.image.alt,style:imageStyle})},index))});}return /*#__PURE__*/_jsx(\"div\",{ref:containerRef,style:{...containerStyle,backgroundColor},children:duplicatedCards.map((card,index)=>{// Calculate position\nconst itemX=index*(cardWidth+gap)-offset;return /*#__PURE__*/_jsx(motion.div,{style:{position:\"absolute\",width:cardWidth,height:\"100%\",left:itemX,top:0,overflow:\"hidden\",willChange:\"transform\",borderRadius:cardRadius},children:/*#__PURE__*/_jsx(\"img\",{src:card.image.src,alt:card.image.alt,style:imageStyle})},index);})});}// -- Styles --\nconst containerStyle={width:\"100%\",height:\"100%\",display:\"flex\",alignItems:\"center\",overflow:\"hidden\",position:\"relative\"};const imageStyle={width:\"100%\",height:\"100%\",objectFit:\"cover\",display:\"block\"};// -- Property Controls --\naddPropertyControls(FlowMarquee,{cards:{type:ControlType.Array,title:\"Cards\",control:{type:ControlType.Object,controls:{image:{type:ControlType.ResponsiveImage,title:\"Image\"}}},defaultValue:[{image:{src:\"https://framerusercontent.com/images/GfGkADagM4KEibNcIiRUWlfrR0.jpg\"}},{image:{src:\"https://framerusercontent.com/images/aNsAT3jCvt4zglbWCUoFe33Q.jpg\"}},{image:{src:\"https://framerusercontent.com/images/BYnxEV1zjYb9bhWh1IwBZ1ZoS60.jpg\"}}]},direction:{type:ControlType.Enum,title:\"Direction\",options:[\"left\",\"right\"],optionTitles:[\"Left\",\"Right\"],defaultValue:\"left\"},speed:{type:ControlType.Number,title:\"Speed\",defaultValue:1.5,min:0,max:10,step:.1},gap:{type:ControlType.Number,title:\"Gap\",defaultValue:10,min:0,max:100},cardRadius:{// Added control for radius\ntype:ControlType.Number,title:\"Radius\",defaultValue:12,min:0,max:200},backgroundColor:{type:ControlType.Color,title:\"Background\",defaultValue:\"#000000\"}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"FlowMarquee\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\",\"framerIntrinsicHeight\":\"500\",\"framerIntrinsicWidth\":\"800\",\"framerSupportedLayoutWidth\":\"fixed\",\"framerSupportedLayoutHeight\":\"fixed\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./FlowMarquee.map"],"mapp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