{"version":3,"file":"InfiniteCarousel.DFkPXbP7.mjs","names":["useRef","useState","React.useMemo","useCallback"],"sources":["https:/framerusercontent.com/modules/5UdH3m17U2Up4Xcjpa6o/l0YvgK9SSLdFRPfHzOKL/InfiniteCarousel.js"],"sourcesContent":["import{jsx as _jsx}from\"react/jsx-runtime\";import*as React from\"react\";import{useRef,useEffect,useState,useCallback,startTransition}from\"react\";import{addPropertyControls,ControlType,useIsStaticRenderer}from\"framer\";/**\n * @framerDisableUnlink\n * @framerIntrinsicWidth 400\n * @framerIntrinsicHeight 300\n * @framerSupportedLayoutWidth any-prefer-fixed\n * @framerSupportedLayoutHeight any-prefer-fixed\n */export default function InfiniteCarousel({items=[],gap=24,className=\"\",verticalAlign=\"center\",horizontalAlign=\"center\",smoothness=.1,direction=\"horizontal\",fillWidth=false,scrollSpeed=1.5}){const isStaticRenderer=useIsStaticRenderer();const containerRef=useRef(null);const contentRef=useRef(null);const[contentSize,setContentSize]=useState(0);const[isVisible,setIsVisible]=useState(true);const[hoveredSlideIndex,setHoveredSlideIndex]=useState(null);const offsetRef=useRef(0);const smoothOffsetRef=useRef(0);const isPointerDownRef=useRef(false);const lastPointerRef=useRef(null);const velocityRef=useRef(0);const animRef=useRef(null);const isMomentumScrollingRef=useRef(false);const isDraggingRef=useRef(false);const moveDistanceRef=useRef(0);const activePointerIdRef=useRef(null);const suppressClickRef=useRef(false);const suppressClickTimeoutRef=useRef(null);const inputModeRef=useRef(\"mouse\");const primaryTravelAbsRef=useRef(0);const hasMoveEventRef=useRef(false);const shouldSuppressGestureRef=useRef(false);const pointerRef=useRef({x:0,y:0,inside:false});const lastSyntheticHoverElementRef=useRef(null);const slides=React.useMemo(()=>{if(items&&items.length>0)return items;return[\"#eee\",\"#ddd\",\"#ccc\"].map((bg,i)=>/*#__PURE__*/_jsx(\"div\",{style:{width:200,height:200,background:bg,borderRadius:12,display:\"flex\",alignItems:\"center\",justifyContent:\"center\",fontSize:48,fontWeight:600,color:\"#888\"},children:i+1},i));},[items]);const repeatedItems=React.useMemo(()=>{if(!slides.length)return[];const repeatCount=6;return Array.from({length:repeatCount},(_,repeatIndex)=>slides.map((slide,slideIndex)=>({slide,key:`${repeatIndex}-${slideIndex}`}))).flat();},[slides]);const emitSyntheticHoverTransition=useCallback(nextElement=>{const previousElement=lastSyntheticHoverElementRef.current;if(previousElement===nextElement)return;const x=pointerRef.current.x;const y=pointerRef.current.y;const eventOptions={bubbles:true,cancelable:true,clientX:x,clientY:y,screenX:x,screenY:y};if(previousElement){previousElement.dispatchEvent(new MouseEvent(\"mouseout\",eventOptions));previousElement.dispatchEvent(new MouseEvent(\"mouseleave\",{...eventOptions,bubbles:false}));if(typeof PointerEvent!==\"undefined\"){previousElement.dispatchEvent(new PointerEvent(\"pointerout\",{...eventOptions,pointerId:1,pointerType:\"mouse\"}));previousElement.dispatchEvent(new PointerEvent(\"pointerleave\",{...eventOptions,bubbles:false,pointerId:1,pointerType:\"mouse\"}));}}if(nextElement){nextElement.dispatchEvent(new MouseEvent(\"mouseover\",eventOptions));nextElement.dispatchEvent(new MouseEvent(\"mouseenter\",{...eventOptions,bubbles:false}));if(typeof PointerEvent!==\"undefined\"){nextElement.dispatchEvent(new PointerEvent(\"pointerover\",{...eventOptions,pointerId:1,pointerType:\"mouse\"}));nextElement.dispatchEvent(new PointerEvent(\"pointerenter\",{...eventOptions,bubbles:false,pointerId:1,pointerType:\"mouse\"}));}}lastSyntheticHoverElementRef.current=nextElement;},[]);const syncHoverFromPointer=useCallback(()=>{const container=containerRef.current;const content=contentRef.current;if(!container||!content||!pointerRef.current.inside)return;const x=pointerRef.current.x;const y=pointerRef.current.y;const containerRect=container.getBoundingClientRect();const inside=x>=containerRect.left&&x<=containerRect.right&&y>=containerRect.top&&y<=containerRect.bottom;if(!inside){pointerRef.current.inside=false;setHoveredSlideIndex(null);emitSyntheticHoverTransition(null);return;}let nextIndex=null;let nextElement=null;const children=Array.from(content.querySelectorAll(\".carousel-slide\"));for(let i=children.length-1;i>=0;i--){const child=children[i];const rect=child.getBoundingClientRect();const hit=x>=rect.left&&x<=rect.right&&y>=rect.top&&y<=rect.bottom;if(!hit)continue;nextIndex=i;nextElement=child;break;}setHoveredSlideIndex(prev=>{if(prev===nextIndex)return prev;return nextIndex;});emitSyntheticHoverTransition(nextElement);},[emitSyntheticHoverTransition]);const measure=useCallback(()=>{const container=containerRef.current;const content=contentRef.current;if(!container||!content||slides.length===0)return;const children=Array.from(content.children).slice(0,slides.length);let total=0;children.forEach((child,index)=>{const rect=child.getBoundingClientRect();total+=direction===\"horizontal\"?rect.width:rect.height;if(index<children.length-1){total+=gap;}});if(total<=0)return;startTransition(()=>{setContentSize(total);});},[slides.length,direction,gap]);const updateTransform=useCallback(value=>{if(!contentRef.current||contentSize<=0)return;let wrappedValue=value%contentSize;if(wrappedValue<0){wrappedValue+=contentSize;}const transform=direction===\"horizontal\"?`translate3d(-${wrappedValue}px, 0, 0)`:`translate3d(0, -${wrappedValue}px, 0)`;contentRef.current.style.transform=transform;if(pointerRef.current.inside){syncHoverFromPointer();}},[contentSize,direction,syncHoverFromPointer]);const cancelAnimation=useCallback(()=>{if(animRef.current!==null){cancelAnimationFrame(animRef.current);animRef.current=null;}},[]);const animate=useCallback(()=>{const target=offsetRef.current;const current=smoothOffsetRef.current;if(isMomentumScrollingRef.current&&!isPointerDownRef.current){velocityRef.current*=.95;offsetRef.current-=velocityRef.current;if(Math.abs(velocityRef.current)<.5){isMomentumScrollingRef.current=false;velocityRef.current=0;}}const lerped=current+(target-current)*smoothness;smoothOffsetRef.current=lerped;updateTransform(lerped);animRef.current=requestAnimationFrame(animate);},[smoothness,updateTransform]);useEffect(()=>{if(typeof window===\"undefined\")return;measure();const ro=new ResizeObserver(()=>measure());if(containerRef.current)ro.observe(containerRef.current);if(contentRef.current)ro.observe(contentRef.current);window.addEventListener(\"resize\",measure);return()=>{ro.disconnect();window.removeEventListener(\"resize\",measure);};},[measure]);useEffect(()=>{if(typeof window===\"undefined\")return;const el=containerRef.current;if(!el)return;if(!(\"IntersectionObserver\"in window)){startTransition(()=>setIsVisible(true));return;}const observer=new IntersectionObserver(([entry])=>{startTransition(()=>setIsVisible(entry.isIntersecting));},{threshold:.01});observer.observe(el);return()=>observer.disconnect();},[]);useEffect(()=>{if(isStaticRenderer||!isVisible||contentSize<=0){cancelAnimation();if(isStaticRenderer||!isVisible){isMomentumScrollingRef.current=false;velocityRef.current=0;}updateTransform(smoothOffsetRef.current);return;}cancelAnimation();animRef.current=requestAnimationFrame(animate);return()=>cancelAnimation();},[contentSize,smoothness,direction,isStaticRenderer,isVisible,cancelAnimation,animate,updateTransform]);useEffect(()=>{if(typeof window===\"undefined\")return;const el=containerRef.current;if(!el)return;const getPrimaryPos=(x,y)=>direction===\"horizontal\"?x:y;const getWheel=e=>direction===\"horizontal\"?e.deltaX||e.deltaY:e.deltaY||e.deltaX;const TOUCH_DRAG_THRESHOLD=1;const MOUSE_DRAG_THRESHOLD=6;const TOUCH_CLICK_SUPPRESS_THRESHOLD=1;const MOUSE_CLICK_SUPPRESS_THRESHOLD=5;const CLICK_SUPPRESS_MS=280;const getDragThreshold=()=>inputModeRef.current===\"mouse\"?MOUSE_DRAG_THRESHOLD:TOUCH_DRAG_THRESHOLD;const getClickSuppressThreshold=()=>inputModeRef.current===\"mouse\"?MOUSE_CLICK_SUPPRESS_THRESHOLD:TOUCH_CLICK_SUPPRESS_THRESHOLD;const clearSuppressClickTimeout=()=>{if(suppressClickTimeoutRef.current!==null){window.clearTimeout(suppressClickTimeoutRef.current);suppressClickTimeoutRef.current=null;}};const armClickSuppression=()=>{suppressClickRef.current=true;clearSuppressClickTimeout();suppressClickTimeoutRef.current=window.setTimeout(()=>{suppressClickRef.current=false;suppressClickTimeoutRef.current=null;},CLICK_SUPPRESS_MS);};const onClickCapture=e=>{if(!suppressClickRef.current)return;e.preventDefault();e.stopPropagation();suppressClickRef.current=false;clearSuppressClickTimeout();};const onReleaseCapture=e=>{if(!suppressClickRef.current&&!shouldSuppressGestureRef.current){return;}e.preventDefault();e.stopPropagation();};const updatePointer=(x,y)=>{pointerRef.current.x=x;pointerRef.current.y=y;pointerRef.current.inside=true;syncHoverFromPointer();};const onDragStart=(id,x,y,target,mode)=>{updatePointer(x,y);inputModeRef.current=mode;activePointerIdRef.current=id;isPointerDownRef.current=true;isDraggingRef.current=false;moveDistanceRef.current=0;primaryTravelAbsRef.current=0;hasMoveEventRef.current=false;shouldSuppressGestureRef.current=false;const primary=getPrimaryPos(x,y);lastPointerRef.current=primary;velocityRef.current=0;const targetElement=target;if(id!==null&&targetElement&&typeof targetElement.setPointerCapture===\"function\"){try{targetElement.setPointerCapture(id);}catch{// Ignore pointer capture errors in Framer preview/build.\n}}};const onDragMove=(x,y,nativeEvent)=>{updatePointer(x,y);if(!isPointerDownRef.current||lastPointerRef.current==null){return;}hasMoveEventRef.current=true;const currentPrimary=getPrimaryPos(x,y);const delta=currentPrimary-lastPointerRef.current;moveDistanceRef.current+=Math.abs(delta);primaryTravelAbsRef.current+=Math.abs(delta);lastPointerRef.current=currentPrimary;if(inputModeRef.current!==\"mouse\"){if(hasMoveEventRef.current||moveDistanceRef.current>=1){shouldSuppressGestureRef.current=true;}}else if(primaryTravelAbsRef.current>getClickSuppressThreshold()||moveDistanceRef.current>getDragThreshold()){shouldSuppressGestureRef.current=true;}if(moveDistanceRef.current>getDragThreshold()&&!isDraggingRef.current){isDraggingRef.current=true;el.style.cursor=\"grabbing\";const children=el.querySelectorAll(\".carousel-slide\");children.forEach(child=>{child.style.pointerEvents=\"none\";});}if(isDraggingRef.current){if(inputModeRef.current===\"mouse\"){nativeEvent?.preventDefault?.();}velocityRef.current=delta;offsetRef.current-=delta;}};const endDrag=(id,target)=>{if(id!==null&&activePointerIdRef.current!==id)return;const wasDragging=isDraggingRef.current;const shouldSuppressClick=shouldSuppressGestureRef.current||wasDragging||primaryTravelAbsRef.current>getClickSuppressThreshold();isPointerDownRef.current=false;isDraggingRef.current=false;activePointerIdRef.current=null;lastPointerRef.current=null;moveDistanceRef.current=0;hasMoveEventRef.current=false;shouldSuppressGestureRef.current=false;el.style.cursor=\"grab\";if(wasDragging){isMomentumScrollingRef.current=true;}if(shouldSuppressClick){armClickSuppression();}primaryTravelAbsRef.current=0;const children=el.querySelectorAll(\".carousel-slide\");children.forEach(child=>{child.style.pointerEvents=\"\";});const targetElement=target;if(id!==null&&targetElement&&typeof targetElement.releasePointerCapture===\"function\"){try{targetElement.releasePointerCapture(id);}catch{// Ignore pointer capture errors in Framer preview/build.\n}}syncHoverFromPointer();};const onWheel=e=>{pointerRef.current.x=e.clientX;pointerRef.current.y=e.clientY;pointerRef.current.inside=true;offsetRef.current+=getWheel(e)*scrollSpeed;};const onPointerEnter=e=>{pointerRef.current.x=e.clientX;pointerRef.current.y=e.clientY;pointerRef.current.inside=true;syncHoverFromPointer();};const onPointerLeave=()=>{pointerRef.current.inside=false;setHoveredSlideIndex(null);emitSyntheticHoverTransition(null);};const onPointerDown=e=>{const pointerType=e.pointerType===\"mouse\"||e.pointerType===\"pen\"?e.pointerType:\"touch\";onDragStart(e.pointerId,e.clientX,e.clientY,e.target,pointerType);};const onPointerMove=e=>{if(activePointerIdRef.current!==null&&e.pointerId!==activePointerIdRef.current){return;}onDragMove(e.clientX,e.clientY,e);};const onPointerUp=e=>{pointerRef.current.x=e.clientX;pointerRef.current.y=e.clientY;pointerRef.current.inside=true;endDrag(e.pointerId,e.target);};const onPointerCancel=e=>{endDrag(e.pointerId,e.target);};const onMouseEnter=e=>{if(\"PointerEvent\"in window)return;pointerRef.current.x=e.clientX;pointerRef.current.y=e.clientY;pointerRef.current.inside=true;syncHoverFromPointer();};const onMouseLeave=()=>{if(\"PointerEvent\"in window)return;pointerRef.current.inside=false;setHoveredSlideIndex(null);emitSyntheticHoverTransition(null);};const onMouseDown=e=>{if(\"PointerEvent\"in window)return;onDragStart(null,e.clientX,e.clientY,e.target,\"mouse\");};const onMouseMove=e=>{if(\"PointerEvent\"in window)return;onDragMove(e.clientX,e.clientY,e);};const onMouseUp=e=>{if(\"PointerEvent\"in window)return;pointerRef.current.x=e.clientX;pointerRef.current.y=e.clientY;pointerRef.current.inside=true;endDrag(null,e.target);};const onTouchStart=e=>{if(\"PointerEvent\"in window)return;const touch=e.touches[0];if(!touch)return;onDragStart(null,touch.clientX,touch.clientY,e.target,\"touch\");};const onTouchMove=e=>{if(\"PointerEvent\"in window)return;const touch=e.touches[0];if(!touch)return;onDragMove(touch.clientX,touch.clientY,e);};const onTouchEnd=e=>{if(\"PointerEvent\"in window)return;endDrag(null,e.target);};const onTouchCancel=e=>{if(\"PointerEvent\"in window)return;endDrag(null,e.target);};el.addEventListener(\"click\",onClickCapture,true);el.addEventListener(\"pointerenter\",onPointerEnter);el.addEventListener(\"pointerleave\",onPointerLeave);el.addEventListener(\"pointerup\",onReleaseCapture,true);el.addEventListener(\"touchend\",onReleaseCapture,true);el.addEventListener(\"mouseup\",onReleaseCapture,true);el.addEventListener(\"pointerdown\",onPointerDown,{passive:false});window.addEventListener(\"pointermove\",onPointerMove,{passive:false});window.addEventListener(\"pointerup\",onPointerUp,true);window.addEventListener(\"pointercancel\",onPointerCancel);el.addEventListener(\"mouseenter\",onMouseEnter);el.addEventListener(\"mouseleave\",onMouseLeave);el.addEventListener(\"mousedown\",onMouseDown,{passive:false});window.addEventListener(\"mousemove\",onMouseMove,{passive:false});window.addEventListener(\"mouseup\",onMouseUp,true);el.addEventListener(\"touchstart\",onTouchStart,{passive:false});window.addEventListener(\"touchmove\",onTouchMove,{passive:false});window.addEventListener(\"touchend\",onTouchEnd,true);window.addEventListener(\"touchcancel\",onTouchCancel,true);el.addEventListener(\"wheel\",onWheel,{passive:true});return()=>{clearSuppressClickTimeout();suppressClickRef.current=false;el.removeEventListener(\"click\",onClickCapture,true);el.removeEventListener(\"pointerenter\",onPointerEnter);el.removeEventListener(\"pointerleave\",onPointerLeave);el.removeEventListener(\"pointerup\",onReleaseCapture,true);el.removeEventListener(\"touchend\",onReleaseCapture,true);el.removeEventListener(\"mouseup\",onReleaseCapture,true);el.removeEventListener(\"pointerdown\",onPointerDown);window.removeEventListener(\"pointermove\",onPointerMove);window.removeEventListener(\"pointerup\",onPointerUp,true);window.removeEventListener(\"pointercancel\",onPointerCancel);el.removeEventListener(\"mouseenter\",onMouseEnter);el.removeEventListener(\"mouseleave\",onMouseLeave);el.removeEventListener(\"mousedown\",onMouseDown);window.removeEventListener(\"mousemove\",onMouseMove);window.removeEventListener(\"mouseup\",onMouseUp,true);el.removeEventListener(\"touchstart\",onTouchStart);window.removeEventListener(\"touchmove\",onTouchMove);window.removeEventListener(\"touchend\",onTouchEnd,true);window.removeEventListener(\"touchcancel\",onTouchCancel,true);el.removeEventListener(\"wheel\",onWheel);emitSyntheticHoverTransition(null);};},[direction,scrollSpeed,syncHoverFromPointer,emitSyntheticHoverTransition]);const justifyMap={top:\"flex-start\",center:\"center\",bottom:\"flex-end\"};const alignMap={left:\"flex-start\",center:\"center\",right:\"flex-end\"};return /*#__PURE__*/_jsx(\"div\",{ref:containerRef,className:`infinite-carousel-root ${className}`,style:{position:\"relative\",overflow:\"hidden\",width:\"100%\",height:\"100%\",display:\"flex\",flexDirection:\"column\",justifyContent:justifyMap[verticalAlign],alignItems:direction===\"vertical\"?alignMap[horizontalAlign]:\"stretch\",cursor:\"grab\",touchAction:direction===\"horizontal\"?\"pan-y\":\"pan-x\",WebkitTouchCallout:\"none\"},children:/*#__PURE__*/_jsx(\"div\",{ref:contentRef,style:{display:\"flex\",flexDirection:direction===\"horizontal\"?\"row\":\"column\",alignItems:direction===\"horizontal\"?alignMap[horizontalAlign]:\"center\",gap:`${gap}px`,willChange:\"transform\",userSelect:\"none\",touchAction:\"none\",transform:\"translate3d(0, 0, 0)\"},children:repeatedItems.map(({slide,key},i)=>/*#__PURE__*/_jsx(\"div\",{className:\"carousel-slide\",\"data-hovered\":hoveredSlideIndex===i?\"true\":\"false\",style:{flex:\"0 0 auto\",width:fillWidth?\"100%\":\"auto\",userSelect:\"none\",touchAction:\"none\"},children:slide},key))})});}addPropertyControls(InfiniteCarousel,{items:{type:ControlType.Array,control:{type:ControlType.ComponentInstance},title:\"Items\",maxCount:20},gap:{type:ControlType.Number,title:\"Gap\",defaultValue:24,min:0,max:100,step:1},direction:{type:ControlType.Enum,title:\"Direction\",options:[\"horizontal\",\"vertical\"],defaultValue:\"horizontal\",displaySegmentedControl:true},verticalAlign:{type:ControlType.Enum,title:\"Vertical Align\",options:[\"top\",\"center\",\"bottom\"],optionTitles:[\"Top\",\"Center\",\"Bottom\"],defaultValue:\"center\",displaySegmentedControl:true,hidden(props){return props.direction!==\"horizontal\";}},horizontalAlign:{type:ControlType.Enum,title:\"Horizontal Align\",options:[\"left\",\"center\",\"right\"],optionTitles:[\"Left\",\"Center\",\"Right\"],defaultValue:\"center\",displaySegmentedControl:true,hidden(props){return props.direction!==\"vertical\";}},smoothness:{type:ControlType.Number,title:\"Smoothness\",defaultValue:.1,min:.01,max:.5,step:.01},scrollSpeed:{type:ControlType.Number,title:\"Scroll Speed\",defaultValue:1.5,min:.5,max:5,step:.1},fillWidth:{type:ControlType.Boolean,title:\"Fill Width\",defaultValue:false,description:\"Find more at [DFS](https://x.com/densfs_)\"}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"InfiniteCarousel\",\"slots\":[],\"annotations\":{\"framerSupportedLayoutWidth\":\"any-prefer-fixed\",\"framerSupportedLayoutHeight\":\"any-prefer-fixed\",\"framerIntrinsicHeight\":\"300\",\"framerContractVersion\":\"1\",\"framerDisableUnlink\":\"* @framerIntrinsicWidth 400\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./InfiniteCarousel.map"],"mappings":"mOAMG,SAAwB,EAAiB,CAAC,QAAM,CAAC,EAAE,MAAI,GAAG,YAAU,GAAG,gBAAc,SAAS,kBAAgB,SAAS,aAAW,GAAG,YAAU,aAAa,YAAU,GAAM,cAAY,KAAK,CAAC,IAAM,EAAiB,EAAoB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