{"version":3,"file":"CardCarousel.CKWHYBte.mjs","names":["useRef","useState","useMemo","React","useId","useCallback","_Fragment"],"sources":["https:/framerusercontent.com/modules/56LagdtJve8HVJ9a0XIA/TVGLvgAzWQZ3pj4zKKai/CardCarousel.js"],"sourcesContent":["/**\n * CardCarousel\n *\n * Cards are placed inside a horizontal flex stack with customizable gap.\n * Connected cards retain their natural dimensions unless \"Fit To View\" is on.\n * Desktop: navigation buttons flank the cards, vertically centered.\n * Mobile: navigation buttons grouped side-by-side below the cards.\n * Edge fades are opaque overlays matching the section background, so they\n * render correctly regardless of what sits behind the carousel.\n *\n * @framerIntrinsicWidth 900\n * @framerIntrinsicHeight 450\n *\n * @framerSupportedLayoutWidth any-prefer-fixed\n * @framerSupportedLayoutHeight any-prefer-fixed\n */import{jsx as _jsx,jsxs as _jsxs,Fragment as _Fragment}from\"react/jsx-runtime\";import React,{useState,useEffect,useLayoutEffect,useCallback,useMemo,useRef,useId}from\"react\";import{addPropertyControls,ControlType,useIsStaticRenderer,RenderTarget}from\"framer\";import{motion,AnimatePresence}from\"framer-motion\";export default function CardCarousel(props){const{cards,children,visibleCards=3,fitToView=false,equalHeight=true,gap=20,mobileBreakpoint=768,fadeWidth=80,fadeColor=\"#ffffff\",backgroundColor=\"rgba(0,0,0,0)\",buttonBackgroundColor=\"#1f1f22\",buttonBorderColor=\"rgba(255, 255, 255, 0.12)\",buttonIconColor=\"#ffffff\",buttonHoverBackgroundColor=\"#2a2a2e\",buttonHoverBorderColor=\"rgba(255, 255, 255, 0.25)\",buttonHoverIconColor=\"#ffffff\",buttonHoverScale=1,autoPlay=false,autoPlayInterval=3e3,loop=false,style}=props;const isStatic=useIsStaticRenderer();const onCanvas=RenderTarget.current()===RenderTarget.canvas;const trackRef=useRef(null);const viewportRef=useRef(null);const containerRef=useRef(null);const[currentIndex,setCurrentIndex]=useState(0);const[offsets,setOffsets]=useState([]);const[widths,setWidths]=useState([]);const[viewportWidth,setViewportWidth]=useState(0);const[containerWidth,setContainerWidth]=useState(0);const[hoverPrev,setHoverPrev]=useState(false);const[hoverNext,setHoverNext]=useState(false);const[paused,setPaused]=useState(false);// FIX 1: read from the dedicated `cards` slot. `children` is kept only as a\n// migration fallback for instances published before the rename.\nconst childNodes=useMemo(()=>{const fromCards=React.Children.toArray(cards??[]).filter(Boolean);if(fromCards.length>0)return fromCards;return React.Children.toArray(children??[]).filter(Boolean);},[cards,children]);const totalCards=childNodes.length;const hasCards=totalCards>0;const isMobile=containerWidth>0&&containerWidth<mobileBreakpoint;// Equal height is applied via a real CSS rule, not inline styles, because\n// it has to reach the Framer-rendered child inside each slide wrapper.\n// useId can contain colons, which are invalid in class names.\nconst rawId=useId();const scopeClass=`cc-${rawId.replace(/[^a-zA-Z0-9]/g,\"\")}`;const equalHeightActive=equalHeight&&!isMobile;// FIX 4: measure every card, not just the first. Variable-width cards need\n// per-index offsets or every step past the first lands misaligned.\nconst measure=useCallback(()=>{const track=trackRef.current;if(track){const kids=Array.from(track.children);const nextOffsets=kids.map(k=>k.offsetLeft);const nextWidths=kids.map(k=>k.offsetWidth);setOffsets(prev=>prev.length===nextOffsets.length&&prev.every((v,i)=>v===nextOffsets[i])?prev:nextOffsets);setWidths(prev=>prev.length===nextWidths.length&&prev.every((v,i)=>v===nextWidths[i])?prev:nextWidths);}if(viewportRef.current)setViewportWidth(viewportRef.current.offsetWidth);if(containerRef.current)setContainerWidth(containerRef.current.offsetWidth);},[]);useLayoutEffect(()=>{measure();if(typeof ResizeObserver===\"undefined\")return;const ro=new ResizeObserver(()=>measure());if(containerRef.current)ro.observe(containerRef.current);if(viewportRef.current)ro.observe(viewportRef.current);if(trackRef.current){ro.observe(trackRef.current);for(const kid of Array.from(trackRef.current.children)){ro.observe(kid);}}return()=>ro.disconnect();},[measure,totalCards,gap,fitToView,visibleCards]);// FIX 2: when fitToView is on, derive an explicit card width so\n// \"Visible Cards\" actually constrains how many render.\nconst perView=useMemo(()=>{if(!fitToView)return visibleCards;if(viewportWidth>0&&viewportWidth<mobileBreakpoint)return 1;return Math.max(1,visibleCards);},[fitToView,visibleCards,viewportWidth,mobileBreakpoint]);const forcedCardWidth=useMemo(()=>{if(!fitToView||viewportWidth<=0)return undefined;const totalGap=gap*(perView-1);return Math.max(0,(viewportWidth-totalGap)/perView);},[fitToView,viewportWidth,gap,perView]);// Translation bounds derived from measured geometry, so the last step\n// always lands flush against the right edge.\nconst trackTotal=useMemo(()=>{if(offsets.length===0||widths.length===0)return 0;return offsets[offsets.length-1]+widths[widths.length-1];},[offsets,widths]);const maxTranslate=Math.max(0,trackTotal-viewportWidth);const maxIndex=useMemo(()=>{if(offsets.length===0)return 0;for(let i=0;i<offsets.length;i++){if(offsets[i]>=maxTranslate-.5)return i;}return Math.max(0,offsets.length-1);},[offsets,maxTranslate]);useEffect(()=>{setCurrentIndex(i=>Math.min(Math.max(0,i),maxIndex));},[maxIndex]);const translateX=offsets.length>0?-Math.min(offsets[Math.min(currentIndex,offsets.length-1)]??0,maxTranslate):0;const showPrev=loop?maxIndex>0:currentIndex>0;const showNext=loop?maxIndex>0:currentIndex<maxIndex;// FIX 6: no startTransition. There is nothing expensive to defer, and it\n// makes the click feel laggy under load.\nconst handleNext=useCallback(()=>{setCurrentIndex(prev=>{if(prev>=maxIndex)return loop?0:prev;return prev+1;});},[maxIndex,loop]);const handlePrev=useCallback(()=>{setCurrentIndex(prev=>{if(prev<=0)return loop?maxIndex:0;return prev-1;});},[maxIndex,loop]);// FIX 5: autoplay now wraps instead of stalling at the last index.\nuseEffect(()=>{if(!autoPlay||isStatic||onCanvas||paused||maxIndex<=0)return;if(typeof window!==\"undefined\"&&window.matchMedia?.(\"(prefers-reduced-motion: reduce)\").matches)return;const timer=window.setInterval(()=>{setCurrentIndex(prev=>prev>=maxIndex?0:prev+1);},Math.max(1e3,autoPlayInterval));return()=>window.clearInterval(timer);},[autoPlay,autoPlayInterval,isStatic,onCanvas,paused,maxIndex]);const onKeyDown=useCallback(e=>{if(e.key===\"ArrowLeft\"){e.preventDefault();handlePrev();}else if(e.key===\"ArrowRight\"){e.preventDefault();handleNext();}},[handlePrev,handleNext]);const touchStartX=useRef(null);const onTouchStart=e=>{touchStartX.current=e.touches[0].clientX;};const onTouchEnd=e=>{if(touchStartX.current===null)return;const delta=e.changedTouches[0].clientX-touchStartX.current;if(Math.abs(delta)>50)delta>0?handlePrev():handleNext();touchStartX.current=null;};const buttonStyle=isHovered=>({width:44,height:44,borderRadius:\"50%\",backgroundColor:buttonBackgroundColor,border:`1px solid ${buttonBorderColor}`,color:isHovered?buttonHoverIconColor:buttonIconColor,display:\"flex\",alignItems:\"center\",justifyContent:\"center\",cursor:\"pointer\",outline:\"none\",flexShrink:0,padding:0,transition:\"background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease\",boxShadow:\"none\",touchAction:\"manipulation\"});const navButton=dir=>{const isPrev=dir===\"prev\";const visible=isPrev?showPrev:showNext;const isHovered=isPrev?hoverPrev:hoverNext;return /*#__PURE__*/_jsx(AnimatePresence,{children:visible&&/*#__PURE__*/_jsx(motion.button,{type:\"button\",initial:{opacity:0,scale:.8},animate:{opacity:1,scale:1},exit:{opacity:0,scale:.8},transition:{duration:.2},whileHover:{scale:buttonHoverScale,backgroundColor:buttonHoverBackgroundColor,borderColor:buttonHoverBorderColor},whileTap:{scale:.95},onMouseEnter:()=>isPrev?setHoverPrev(true):setHoverNext(true),onMouseLeave:()=>isPrev?setHoverPrev(false):setHoverNext(false),onClick:isPrev?handlePrev:handleNext,\"aria-label\":isPrev?\"Previous slide\":\"Next slide\",style:buttonStyle(isHovered),children:/*#__PURE__*/_jsx(\"svg\",{width:\"18\",height:\"18\",viewBox:\"0 0 24 24\",fill:\"none\",stroke:\"currentColor\",strokeWidth:\"2.5\",strokeLinecap:\"round\",strokeLinejoin:\"round\",children:/*#__PURE__*/_jsx(\"polyline\",{points:isPrev?\"15 18 9 12 15 6\":\"9 18 15 12 9 6\"})})},`${dir}-btn`)});};// FIX 3: opaque overlay gradients instead of maskImage. A mask punches a\n// hole through to whatever sits behind the carousel; an overlay paints the\n// section colour, which is what you actually want. No transition on\n// mask-image, since that property is not animatable.\nconst fadeOverlay=(side,visible)=>/*#__PURE__*/_jsx(\"div\",{\"aria-hidden\":true,style:{position:\"absolute\",top:0,bottom:0,[side]:0,width:fadeWidth,pointerEvents:\"none\",zIndex:2,opacity:visible&&fadeWidth>0?1:0,transition:\"opacity 0.25s ease\",background:`linear-gradient(to ${side===\"left\"?\"right\":\"left\"}, ${fadeColor}, ${toTransparent(fadeColor)})`}});const cardsTrack=/*#__PURE__*/_jsxs(\"div\",{ref:viewportRef,role:\"region\",\"aria-roledescription\":\"carousel\",\"aria-label\":\"Card carousel\",tabIndex:0,onKeyDown:onKeyDown,onTouchStart:onTouchStart,onTouchEnd:onTouchEnd,style:{flex:isMobile?undefined:1,width:\"100%\",minWidth:0,overflow:\"hidden\",position:\"relative\",display:\"flex\",alignItems:equalHeightActive?\"stretch\":\"center\",outline:\"none\"},children:[equalHeightActive&&/*#__PURE__*/_jsx(\"style\",{children:`\n.${scopeClass} .cc-slide { align-self: stretch; }\n.${scopeClass} .cc-slide > * { height: 100% !important; min-height: 100% !important; }\n`}),/*#__PURE__*/_jsx(motion.div,{ref:trackRef,className:equalHeightActive?scopeClass:undefined,animate:{x:translateX},transition:{type:\"spring\",stiffness:300,damping:30,mass:.8},style:{display:\"flex\",flexDirection:\"row\",alignItems:\"stretch\",gap:`${gap}px`,willChange:\"transform\"},children:childNodes.map((child,idx)=>/*#__PURE__*/_jsx(\"div\",{className:\"cc-slide\",style:{flexShrink:0,flexGrow:0,flexBasis:forcedCardWidth?`${forcedCardWidth}px`:\"auto\",width:forcedCardWidth??undefined,minWidth:0,display:\"flex\"},children:child},idx))}),fadeOverlay(\"left\",showPrev),fadeOverlay(\"right\",showNext)]});// FIX 1b: the empty state is explicit. It never renders fake numbered\n// cards, so a broken connection is visible instead of silently plausible.\nif(!hasCards){return /*#__PURE__*/_jsx(\"div\",{ref:containerRef,style:{...style,width:\"100%\",minHeight:160,backgroundColor,display:\"flex\",alignItems:\"center\",justifyContent:\"center\",borderRadius:16,border:onCanvas?\"1px dashed rgba(128,128,128,0.4)\":\"none\",color:\"#8A8A8A\",fontFamily:\"Inter, sans-serif\",fontSize:14,boxSizing:\"border-box\",padding:24,textAlign:\"center\"},children:\"Connect cards to the “Cards” property.\"});}return /*#__PURE__*/_jsx(\"div\",{ref:containerRef,onMouseEnter:()=>setPaused(true),onMouseLeave:()=>{setPaused(false);setHoverPrev(false);setHoverNext(false);},style:{...style,width:\"100%\",height:style?.height||\"auto\",backgroundColor,display:\"flex\",flexDirection:\"column\",alignItems:\"center\",justifyContent:\"center\",padding:0,boxSizing:\"border-box\",position:\"relative\",fontFamily:\"Inter, sans-serif\"},children:isMobile?/*#__PURE__*/_jsxs(_Fragment,{children:[cardsTrack,(showPrev||showNext)&&/*#__PURE__*/_jsxs(\"div\",{style:{display:\"flex\",flexDirection:\"row\",alignItems:\"center\",justifyContent:\"center\",gap:16,marginTop:20},children:[/*#__PURE__*/_jsx(\"div\",{style:{width:44,height:44},children:navButton(\"prev\")}),/*#__PURE__*/_jsx(\"div\",{style:{width:44,height:44},children:navButton(\"next\")})]})]}):/*#__PURE__*/_jsxs(\"div\",{style:{display:\"flex\",alignItems:\"center\",gap:24,width:\"100%\",maxWidth:\"100%\"},children:[/*#__PURE__*/_jsx(\"div\",{style:{width:44,height:44,flexShrink:0},children:navButton(\"prev\")}),cardsTrack,/*#__PURE__*/_jsx(\"div\",{style:{width:44,height:44,flexShrink:0},children:navButton(\"next\")})]})});}// Framer colours arrive as hex, rgb(), or rgba(). Fading to the bare\n// \"transparent\" keyword interpolates through black in Safari, so build an\n// explicit zero-alpha stop from the same colour instead.\nfunction toTransparent(color){if(!color)return\"rgba(0,0,0,0)\";const trimmed=color.trim();if(trimmed.startsWith(\"rgb\")){const nums=trimmed.match(/[\\d.]+/g);if(nums&&nums.length>=3)return`rgba(${nums[0]},${nums[1]},${nums[2]},0)`;return\"rgba(0,0,0,0)\";}let hex=trimmed.replace(\"#\",\"\");if(hex.length===3)hex=hex.split(\"\").map(c=>c+c).join(\"\");if(hex.length===8)hex=hex.slice(0,6);if(hex.length!==6)return\"rgba(0,0,0,0)\";const r=parseInt(hex.slice(0,2),16);const g=parseInt(hex.slice(2,4),16);const b=parseInt(hex.slice(4,6),16);return`rgba(${r},${g},${b},0)`;}addPropertyControls(CardCarousel,{cards:{type:ControlType.Array,title:\"Cards\",control:{type:ControlType.ComponentInstance}},fitToView:{type:ControlType.Boolean,title:\"Fit To View\",defaultValue:false,enabledTitle:\"On\",disabledTitle:\"Off\",description:\"On: cards resize so exactly “Visible Cards” fit. Off: cards keep their canvas width.\"},visibleCards:{type:ControlType.Number,title:\"Visible Cards\",defaultValue:3,min:1,max:6,step:1,displayStepper:true,hidden:props=>!props.fitToView},equalHeight:{type:ControlType.Boolean,title:\"Equal Height\",defaultValue:true,enabledTitle:\"On\",disabledTitle:\"Off\",description:\"All slides match the tallest one. Disabled automatically below the Mobile Breakpoint.\"},gap:{type:ControlType.Number,title:\"Gap\",defaultValue:20,min:0,max:100,step:4,unit:\"px\"},mobileBreakpoint:{type:ControlType.Number,title:\"Mobile Breakpoint\",defaultValue:768,min:320,max:1200,step:10,unit:\"px\"},fadeWidth:{type:ControlType.Number,title:\"Fade Width\",defaultValue:80,min:0,max:200,step:5,unit:\"px\"},fadeColor:{type:ControlType.Color,title:\"Fade Color\",defaultValue:\"#ffffff\",description:\"Must match the section background behind the carousel.\"},backgroundColor:{type:ControlType.Color,title:\"Background\",defaultValue:\"rgba(0,0,0,0)\"},buttonBackgroundColor:{type:ControlType.Color,title:\"Button BG\",defaultValue:\"#1f1f22\"},buttonBorderColor:{type:ControlType.Color,title:\"Button Border\",defaultValue:\"rgba(255, 255, 255, 0.12)\"},buttonIconColor:{type:ControlType.Color,title:\"Button Icon\",defaultValue:\"#ffffff\"},buttonHoverBackgroundColor:{type:ControlType.Color,title:\"Hover Button BG\",defaultValue:\"#2a2a2e\"},buttonHoverBorderColor:{type:ControlType.Color,title:\"Hover Border\",defaultValue:\"rgba(255, 255, 255, 0.25)\"},buttonHoverIconColor:{type:ControlType.Color,title:\"Hover Icon\",defaultValue:\"#ffffff\"},buttonHoverScale:{type:ControlType.Number,title:\"Hover Scale\",defaultValue:1,min:.8,max:1.5,step:.05},loop:{type:ControlType.Boolean,title:\"Loop\",defaultValue:false,enabledTitle:\"On\",disabledTitle:\"Off\"},autoPlay:{type:ControlType.Boolean,title:\"Auto Play\",defaultValue:false,enabledTitle:\"On\",disabledTitle:\"Off\"},autoPlayInterval:{type:ControlType.Number,title:\"Auto Interval\",defaultValue:3e3,min:1e3,max:1e4,step:500,unit:\"ms\",hidden:props=>!props.autoPlay}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"CardCarousel\",\"slots\":[\"children\"],\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./CardCarousel.map"],"mappings":"kUAeuT,SAAwB,EAAa,EAAM,CAAC,GAAK,CAAC,QAAM,WAAS,eAAa,EAAE,YAAU,GAAM,eAAY,GAAK,MAAI,GAAG,mBAAiB,IAAI,YAAU,GAAG,YAAU,UAAU,kBAAgB,gBAAgB,yBAAsB,UAAU,qBAAkB,4BAA4B,mBAAgB,UAAU,8BAA2B,UAAU,0BAAuB,4BAA4B,wBAAqB,UAAU,oBAAiB,EAAE,WAAS,GAAM,mBAAiB,IAAI,OAAK,GAAM,SAAO,EAAY,EAAS,GAAoB,EAAQ,EAAS,GAAa,QAAQ,IAAI,GAAa,OAAa,EAASA,EAAO,IAAI,EAAQ,EAAYA,EAAO,IAAI,EAAQ,EAAaA,EAAO,IAAI,EAAO,CAAC,EAAa,GAAiBC,EAAS,CAAC,EAAO,CAAC,EAAQ,IAAYA,EAAS,CAAC,CAAC,EAAO,CAAC,EAAO,IAAWA,EAAS,CAAC,CAAC,EAAO,CAAC,E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