{"version":3,"file":"StackedCarousel.ITKVT9DZ.mjs","names":["useMemo","useState"],"sources":["https:/framerusercontent.com/modules/1vzfWLD3uVf5lFebSmjJ/tRM8NdvmKk7n0On0biNb/StackedCarousel.js"],"sourcesContent":["// Stacked carousel with depth effect - cards cycle infinitely with front card lowest, new cards pop up in front\nimport{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import{useEffect,useMemo,useState,startTransition}from\"react\";import{addPropertyControls,ControlType,RenderTarget}from\"framer\";import{motion,animate,useMotionValue,useTransform}from\"framer-motion\";function toRgbaWithOpacity(color,a){const c=(color||\"\").trim();if(c.startsWith(\"#\")){const hex=c.slice(1);const full=hex.length===3?hex.split(\"\").map(ch=>ch+ch).join(\"\"):hex;if(full.length===6){const r=parseInt(full.slice(0,2),16);const g=parseInt(full.slice(2,4),16);const b=parseInt(full.slice(4,6),16);if([r,g,b].every(n=>Number.isFinite(n)))return`rgba(${r}, ${g}, ${b}, ${a})`;}}if(c.startsWith(\"rgba(\")){return c.replace(/rgba\\(([^,]+),([^,]+),([^,]+),([^\\\\)]+)\\)/,(_m,r,g,b)=>`rgba(${r},${g},${b}, ${a})`);}if(c.startsWith(\"rgb(\")){return c.replace(/rgb\\(([^,]+),([^,]+),([^\\\\)]+)\\)/,(_m,r,g,b)=>`rgba(${r},${g},${b}, ${a})`);}return`rgba(0, 0, 0, ${a})`;}function StackCard(props){const{slot,image,imgIndex,progress,gap,visibleCount,cardsInset,borderRadius,borderColor,borderWidth,shadowColor,shadowX,shadowY,shadowBlur,shadowSpread,shadowOpacity,shadowOpacityFalloff,imagePosition,onFrontImageLoad}=props;const getScale=depth=>Math.max(.01,1-depth*.035);const getYOffset=depth=>-depth*gap*1.15;const mvScale=useTransform(progress,p=>{const depth=slot-p;if(depth<0)return getScale(0)*(1-.02*p);// For cards beyond the visible count, they're in the \"back buffer\"\n// and should smoothly animate into view as the stack cycles\nreturn getScale(depth);});const mvY=useTransform(progress,p=>{const depth=slot-p;if(depth<0)return getYOffset(0)+gap*1.2*p;return getYOffset(depth);});const mvOpacity=useTransform(progress,p=>{const depth=slot-p;// Front card animating out: fade from 1 to 0\nif(depth<0)return Math.max(0,1-p*1.1);// Cards beyond visible count start invisible and fade in as they approach\nif(slot>=visibleCount){// Calculate how close this card is to becoming visible\n// When depth approaches visibleCount-1, it should fade in\nconst distanceFromVisible=depth-(visibleCount-1);if(distanceFromVisible>1)return 0;return Math.max(0,1-distanceFromVisible);}return 1;});const zIndex=1e3-slot;// Use continuous depth for smooth shadow animation\nconst mvShadowDepth=useTransform(progress,p=>{const depth=slot-p;return Math.max(0,depth);});const mvShadowOpacity=useTransform(mvShadowDepth,depth=>{return Math.max(0,Math.min(1,shadowOpacity-depth*shadowOpacityFalloff));});const mvShadowY=useTransform(mvShadowDepth,depth=>{return shadowY-depth*1.5;});const mvShadowBlur=useTransform(mvShadowDepth,depth=>{return Math.max(0,shadowBlur-depth*6);});const mvBoxShadow=useTransform([mvShadowOpacity,mvShadowY,mvShadowBlur],([opacity,y,blur])=>{return`${shadowX}px ${y}px ${blur}px ${shadowSpread}px ${toRgbaWithOpacity(shadowColor,opacity)}`;});return /*#__PURE__*/_jsx(motion.div,{initial:false,style:{position:\"absolute\",top:cardsInset.top,left:cardsInset.left,right:cardsInset.right,bottom:cardsInset.bottom,borderRadius,overflow:\"hidden\",border:`${borderWidth}px solid ${borderColor}`,boxSizing:\"border-box\",boxShadow:mvBoxShadow,zIndex,pointerEvents:\"none\",background:\"rgba(0,0,0,0.02)\",willChange:\"transform, opacity\",scale:mvScale,y:mvY,opacity:mvOpacity},children:/*#__PURE__*/_jsx(\"img\",{src:image.src,srcSet:image.srcSet,alt:image.alt||`Card ${imgIndex+1}`,onLoad:slot===0?onFrontImageLoad:undefined,style:{width:\"100%\",height:\"100%\",objectFit:\"cover\",objectPosition:imagePosition}})},`card-slot-${slot}`);}const DEFAULT_IMAGES=[{src:\"https://framerusercontent.com/images/GfGkADagM4KEibNcIiRUWlfrR0.jpg\",alt:\"Image 1\"},{src:\"https://framerusercontent.com/images/aNsAT3jCvt4zglbWCUoFe33Q.jpg\",alt:\"Image 2\"},{src:\"https://framerusercontent.com/images/BYnxEV1zjYb9bhWh1IwBZ1ZoS60.jpg\",alt:\"Image 3\"},{src:\"https://framerusercontent.com/images/2uTNEj5aTl2K3NJaEFWMbnrA.jpg\",alt:\"Image 4\"},{src:\"https://framerusercontent.com/images/f9RiWoNpmlCMqVRIHz8l8wYfeI.jpg\",alt:\"Image 5\"}];/**\n * Stacked Carousel with Depth Effect\n * \n * @framerIntrinsicWidth 400\n * @framerIntrinsicHeight 500\n * \n * @framerSupportedLayoutWidth any-prefer-fixed\n * @framerSupportedLayoutHeight any-prefer-fixed\n */export default function StackedCarousel(props){const{images:imagesProp,speed=3,gap=20,maxVisibleCards=5,borderRadius=16,borderColor=\"#EEEEEE\",borderWidth=1,showCounter=true,counterActiveColor=\"#2B2B2B\",counterInactiveColor=\"#D9D9D9\",counterBottomOffset=16,maskEnabled=false,maskTopFade=0,maskBottomFade=0,cardsPadding=\"0px\",shadowColor=\"#000000\",shadowX=0,shadowY=10,shadowBlur=40,shadowSpread=0,shadowOpacity=.22,shadowOpacityFalloff=.03,imagePosition=\"center\",dotsZIndex=9999,style}=props;const isCanvas=RenderTarget.current()===RenderTarget.canvas;const isFixedWidth=style?.width===\"100%\";const isFixedHeight=style?.height===\"100%\";const maskImage=useMemo(()=>{if(!maskEnabled)return undefined;const top=Math.max(0,maskTopFade);const bottom=Math.max(0,maskBottomFade);if(top===0&&bottom===0)return undefined;return`linear-gradient(to bottom, transparent 0px, black ${top}px, black calc(100% - ${bottom}px), transparent 100%)`;},[maskBottomFade,maskEnabled,maskTopFade]);const images=useMemo(()=>{const cleaned=Array.isArray(imagesProp)?imagesProp.filter(img=>img&&typeof img.src===\"string\"&&img.src.length>0):[];return cleaned.length>0?cleaned:DEFAULT_IMAGES;},[imagesProp]);const[currentIndex,setCurrentIndex]=useState(0);const[aspectRatio,setAspectRatio]=useState(4/5);const[order,setOrder]=useState([]);// Continuous progress-based animation (0 -> 1) to avoid any visible swapping/recycling artifacts\nconst progress=useMotionValue(0);const dotProgress=useMotionValue(0);const buildOrder=useMemo(()=>{return(startIndex,count)=>{const safeCount=Math.max(0,Math.floor(count));const slots=[];for(let i=0;i<safeCount;i++){// Offset by -1 so first image in array is the active card (slot 1), not the front card (slot 0)\nslots.push({id:i,imageIndex:(startIndex-1+i+images.length)%images.length});}return slots;};},[images.length]);const effectiveIndex=useMemo(()=>{if(!images||images.length===0)return 0;// Always use currentIndex - first item in array is first active card\nreturn currentIndex;},[currentIndex,images]);const visibleCount=useMemo(()=>Math.min(maxVisibleCards,images.length),[maxVisibleCards,images.length]);const slotsToRender=useMemo(()=>{// Render double the visible count to create seamless infinite loop\n// E.g., if visibleCount is 3, render 6 cards (2 complete sets)\nreturn Math.min(images.length*2,visibleCount*2);},[images.length,visibleCount]);const canvasOrder=useMemo(()=>{if(!images||images.length===0)return[];return buildOrder(effectiveIndex,slotsToRender);},[buildOrder,effectiveIndex,images,slotsToRender]);useEffect(()=>{if(!images||images.length===0)return;if(isCanvas)return;// Keep a stable set of card instances; we rotate them after each cycle to avoid any visible swapping.\nstartTransition(()=>setOrder(buildOrder(currentIndex,slotsToRender)));// eslint-disable-next-line react-hooks/exhaustive-deps\n},[images.length,isCanvas,slotsToRender]);useEffect(()=>{if(!images||images.length<=1)return;if(isCanvas)return;if(typeof window===\"undefined\")return;const DURATION=.9;const EASE=[.22,1,.36,1];let mounted=true;let controls=null;let dotControls=null;let timeoutId=null;const sleep=ms=>new Promise(resolve=>{timeoutId=window.setTimeout(()=>resolve(),ms);});const rotateOrderForward=()=>{setOrder(prev=>{if(!prev||prev.length===0)return prev;const next=prev.slice();const first=next.shift();const last=next[next.length-1];const nextImageIndex=(last?last.imageIndex+1:first.imageIndex+next.length+1)%images.length;next.push({...first,imageIndex:nextImageIndex});return next;});};const run=async()=>{await sleep(50);while(mounted){progress.set(0);dotProgress.set(0);if(controls)controls.stop();if(dotControls)dotControls.stop();// Start both animations simultaneously\ncontrols=animate(progress,1,{duration:DURATION,ease:EASE});dotControls=animate(dotProgress,1,{duration:speed,ease:\"linear\"});// Wait for dot animation to complete (which is the full cycle duration)\nif(dotControls.finished)await dotControls.finished;if(!mounted)return;// Once dot reaches 100%, immediately advance index (causing dot to collapse)\nstartTransition(()=>{setCurrentIndex(prev=>(prev+1)%images.length);rotateOrderForward();});// Snap back to 0 with no visible change (order has advanced).\nprogress.set(0);}};run();return()=>{mounted=false;if(timeoutId)window.clearTimeout(timeoutId);if(controls)controls.stop();if(dotControls)dotControls.stop();};},[speed,images.length,isCanvas,progress,dotProgress]);if(!images||images.length===0){return /*#__PURE__*/_jsx(\"div\",{style:{...style,width:isFixedWidth?\"100%\":400,height:isFixedHeight?\"100%\":500,position:\"relative\",display:\"flex\",alignItems:\"center\",justifyContent:\"center\",color:\"#999\",fontSize:14,background:\"rgba(0,0,0,0.03)\",borderRadius},children:\"Add images to the carousel\"});}const visibleCountStatic=visibleCount;const stackExtra=(visibleCountStatic-1)*gap;const paddingValues=useMemo(()=>{const raw=typeof cardsPadding===\"string\"?cardsPadding.trim():\"0px\";const parts=raw.length?raw.split(/\\s+/):[\"0px\"];const toPx=v=>{const n=parseFloat(v);return Number.isFinite(n)?n:0;};let top=0,right=0,bottom=0,left=0;if(parts.length===1){top=right=bottom=left=toPx(parts[0]);}else if(parts.length===2){top=bottom=toPx(parts[0]);right=left=toPx(parts[1]);}else if(parts.length===3){top=toPx(parts[0]);right=left=toPx(parts[1]);bottom=toPx(parts[2]);}else{top=toPx(parts[0]);right=toPx(parts[1]);bottom=toPx(parts[2]);left=toPx(parts[3]);}return{top,right,bottom,left};},[cardsPadding]);const cardsInset=useMemo(()=>{return{top:paddingValues.top+stackExtra,right:paddingValues.right,bottom:paddingValues.bottom,left:paddingValues.left};},[paddingValues.bottom,paddingValues.left,paddingValues.right,paddingValues.top,stackExtra]);const handleDotClick=targetIndex=>{if(isCanvas)return;if(targetIndex===effectiveIndex)return;// Calculate how many steps forward we need to go\nconst stepsForward=(targetIndex-effectiveIndex+images.length)%images.length;// Update the current index\nstartTransition(()=>{setCurrentIndex(targetIndex);// Rebuild order to reflect the new index\nsetOrder(buildOrder(targetIndex,slotsToRender));// Reset animation progress\nprogress.set(0);dotProgress.set(0);});};return /*#__PURE__*/_jsxs(\"div\",{style:{...style,width:isFixedWidth?\"100%\":400,height:isFixedHeight?\"100%\":\"max-content\",display:\"flex\",flexDirection:\"column\",alignItems:\"stretch\",justifyContent:\"flex-start\",position:\"relative\",overflow:\"visible\"},children:[/*#__PURE__*/_jsxs(\"div\",{style:{position:\"relative\",width:\"100%\",flex:isFixedHeight?\"1 1 auto\":\"0 0 auto\",height:isFixedHeight?\"100%\":\"auto\",aspectRatio:isFixedHeight?undefined:`${aspectRatio}`,transformStyle:\"preserve-3d\",display:\"flex\",alignItems:\"center\",justifyContent:\"center\",overflow:\"visible\",borderRadius,boxSizing:\"border-box\",padding:cardsPadding,paddingTop:cardsInset.top,WebkitMaskImage:maskImage,maskImage,WebkitMaskSize:maskImage?\"100% 100%\":undefined,maskSize:maskImage?\"100% 100%\":undefined,WebkitMaskRepeat:maskImage?\"no-repeat\":undefined,maskRepeat:maskImage?\"no-repeat\":undefined},children:[(()=>{const renderCards=[];const activeOrder=isCanvas?canvasOrder:order;const safeOrder=activeOrder&&activeOrder.length?activeOrder:canvasOrder;for(let slot=0;slot<slotsToRender;slot++){const slotData=safeOrder[slot]||{id:slot,imageIndex:(effectiveIndex+slot)%images.length};const imgIndex=slotData.imageIndex;const image=images[imgIndex];renderCards.push(/*#__PURE__*/_jsx(StackCard,{slot:slot,image:image,imgIndex:imgIndex,progress:progress,gap:gap,visibleCount:visibleCountStatic,cardsInset:cardsInset,borderRadius:borderRadius,borderColor:borderColor,borderWidth:borderWidth,shadowColor:shadowColor,shadowX:shadowX,shadowY:shadowY,shadowBlur:shadowBlur,shadowSpread:shadowSpread,shadowOpacity:shadowOpacity,shadowOpacityFalloff:shadowOpacityFalloff,imagePosition:imagePosition,onFrontImageLoad:e=>{if(isFixedHeight)return;const target=e.currentTarget;const w=target?.naturalWidth;const h=target?.naturalHeight;if(!w||!h)return;const next=w/h;if(!Number.isFinite(next)||next<=0)return;startTransition(()=>setAspectRatio(next));}},`card-slot-${slot}`));}return renderCards;})(),\"\\\\n            \"]}),showCounter&&images.length>1&&/*#__PURE__*/_jsx(\"div\",{\"aria-label\":\"Carousel position\",style:{position:\"absolute\",left:0,right:0,bottom:counterBottomOffset,width:\"100%\",display:\"flex\",alignItems:\"center\",justifyContent:\"center\",gap:4,pointerEvents:\"auto\",zIndex:dotsZIndex},children:images.map((_,idx)=>{const active=idx===effectiveIndex;return /*#__PURE__*/_jsx(motion.div,{layout:true,transition:{layout:{type:\"spring\",stiffness:300,damping:30}},onClick:()=>handleDotClick(idx),style:{width:active?24:5,height:5,borderRadius:999,background:active?counterInactiveColor:counterInactiveColor,opacity:1,position:\"relative\",overflow:\"hidden\",cursor:\"pointer\"},children:active&&/*#__PURE__*/_jsx(motion.div,{initial:{scaleX:0},animate:{scaleX:isCanvas?1:undefined},style:{position:\"absolute\",top:0,left:0,width:\"100%\",height:\"100%\",background:counterActiveColor,borderRadius:999,transformOrigin:\"left center\",scaleX:isCanvas?1:dotProgress}})},`dot-${idx}`);})})]});}addPropertyControls(StackedCarousel,{images:{type:ControlType.Array,title:\"Images\",control:{type:ControlType.ResponsiveImage},defaultValue:[{src:\"https://framerusercontent.com/images/GfGkADagM4KEibNcIiRUWlfrR0.jpg\",alt:\"Image 1\"},{src:\"https://framerusercontent.com/images/aNsAT3jCvt4zglbWCUoFe33Q.jpg\",alt:\"Image 2\"},{src:\"https://framerusercontent.com/images/BYnxEV1zjYb9bhWh1IwBZ1ZoS60.jpg\",alt:\"Image 3\"},{src:\"https://framerusercontent.com/images/2uTNEj5aTl2K3NJaEFWMbnrA.jpg\",alt:\"Image 4\"},{src:\"https://framerusercontent.com/images/f9RiWoNpmlCMqVRIHz8l8wYfeI.jpg\",alt:\"Image 5\"}]},imagePosition:{type:ControlType.Enum,title:\"Image Position\",defaultValue:\"center\",options:[\"center\",\"top\",\"bottom\",\"left\",\"right\",\"top left\",\"top right\",\"bottom left\",\"bottom right\"],optionTitles:[\"Center\",\"Top\",\"Bottom\",\"Left\",\"Right\",\"Top Left\",\"Top Right\",\"Bottom Left\",\"Bottom Right\"]},cardsPadding:{type:ControlType.Padding,title:\"Cards Padding\",defaultValue:\"0px\"},maskEnabled:{type:ControlType.Boolean,title:\"Mask\",defaultValue:false,enabledTitle:\"On\",disabledTitle:\"Off\"},maskTopFade:{type:ControlType.Number,title:\"Mask Top\",defaultValue:0,min:0,max:400,step:1,unit:\"px\",hidden:({maskEnabled})=>!maskEnabled},maskBottomFade:{type:ControlType.Number,title:\"Mask Bottom\",defaultValue:0,min:0,max:400,step:1,unit:\"px\",hidden:({maskEnabled})=>!maskEnabled},speed:{type:ControlType.Number,title:\"Speed\",defaultValue:3,min:.5,max:10,step:.5,unit:\"s\"},gap:{type:ControlType.Number,title:\"Stack Gap\",defaultValue:20,min:5,max:50,step:5},maxVisibleCards:{type:ControlType.Number,title:\"Visible Cards\",defaultValue:5,min:2,max:10,step:1},borderRadius:{type:ControlType.Number,title:\"Border Radius\",defaultValue:16,min:0,max:50,step:1},borderColor:{type:ControlType.Color,title:\"Border Color\",defaultValue:\"#EEEEEE\"},borderWidth:{type:ControlType.Number,title:\"Border Width\",defaultValue:1,min:0,max:20,step:1,unit:\"px\"},shadowColor:{type:ControlType.Color,title:\"Shadow Color\",defaultValue:\"#000000\"},shadowX:{type:ControlType.Number,title:\"Shadow X\",defaultValue:0,min:-50,max:50,step:1,unit:\"px\"},shadowY:{type:ControlType.Number,title:\"Shadow Y\",defaultValue:10,min:-50,max:80,step:1,unit:\"px\"},shadowBlur:{type:ControlType.Number,title:\"Shadow Blur\",defaultValue:40,min:0,max:200,step:1,unit:\"px\"},shadowSpread:{type:ControlType.Number,title:\"Shadow Spread\",defaultValue:0,min:-50,max:50,step:1,unit:\"px\"},shadowOpacity:{type:ControlType.Number,title:\"Shadow Opacity\",defaultValue:.22,min:0,max:1,step:.01},shadowOpacityFalloff:{type:ControlType.Number,title:\"Shadow Falloff\",defaultValue:.03,min:0,max:.5,step:.01},showCounter:{type:ControlType.Boolean,title:\"Counter\",defaultValue:true,enabledTitle:\"Show\",disabledTitle:\"Hide\"},counterActiveColor:{type:ControlType.Color,title:\"Active Dot\",defaultValue:\"#2B2B2B\",hidden:({showCounter})=>!showCounter},counterInactiveColor:{type:ControlType.Color,title:\"Inactive Dot\",defaultValue:\"#D9D9D9\",hidden:({showCounter})=>!showCounter},counterBottomOffset:{type:ControlType.Number,title:\"Counter Offset\",defaultValue:16,min:-200,max:200,step:1,unit:\"px\",hidden:({showCounter})=>!showCounter},dotsZIndex:{type:ControlType.Number,title:\"Dots Z-Index\",defaultValue:9999,min:0,max:99999,step:1,hidden:({showCounter})=>!showCounter}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"StackedCarousel\",\"slots\":[],\"annotations\":{\"framerSupportedLayoutWidth\":\"any-prefer-fixed\",\"framerIntrinsicHeight\":\"500\",\"framerContractVersion\":\"1\",\"framerSupportedLayoutHeight\":\"any-prefer-fixed\",\"framerIntrinsicWidth\":\"400\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./StackedCarousel.map"],"mappings":"6RAC8P,SAAS,EAAkB,EAAM,EAAE,CAAC,IAAM,GAAG,GAAO,GAAA,CAAI,KAAK,EAAE,GAAG,EAAE,WAAW,GAAG,EAAE,CAAC,IAAM,EAAI,EAAE,MAAM,CAAC,EAAQ,EAAK,EAAI,SAAS,EAAE,EAAI,MAAM,EAAE,CAAC,CAAC,IAAI,GAAI,EAAG,CAAE,CAAC,CAAC,KAAK,EAAE,EAAE,EAAI,GAAG,EAAK,SAAS,EAAE,CAAC,IAAM,EAAE,SAAS,EAAK,MAAM,EAAE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