{"version":3,"file":"OverflowCarouselSet.BYEgr5ep.mjs","names":["useState","useCallback","useRef"],"sources":["https:/framerusercontent.com/modules/I2J2cMxuEDoHsrhUdL5D/NIel7e1BicJ4LCjfJSU5/OverflowCarouselSet.js"],"sourcesContent":["import{jsx as _jsx}from\"react/jsx-runtime\";import{forwardRef,useCallback,useEffect,useRef,useState}from\"react\";const ROOT_ATTRIBUTE=\"data-overflow-carousel-root\";const SCOPE_ATTRIBUTE=\"data-overflow-carousel-scope\";const STATE_ATTRIBUTE=\"data-overflow-carousel-state\";const STATE_EVENT=\"overflow-carousel-state\";const PREVIOUS_EVENT=\"overflow-carousel-previous\";const NEXT_EVENT=\"overflow-carousel-next\";const DRAG_DISABLED_ARIA_LABEL=\"disable-drag\";const EDGE_TOLERANCE=2;const ARROW_STIFFNESS=200;const ARROW_DAMPING=28;const POSITION_TOLERANCE=.5;const VELOCITY_TOLERANCE=5;const WHEEL_END_DELAY=24;const WHEEL_AXIS_RESET_DELAY=160;const WHEEL_AXIS_THRESHOLD=5;const WHEEL_AXIS_RATIO=1.15;const WHEEL_NEW_GESTURE_DELAY=48;const DRAG_PROJECTION=.16;const DRAG_ACTIVATION_DISTANCE=12;const DRAG_ACTIVATION_VELOCITY=120;const POINTER_AXIS_THRESHOLD=10;const POINTER_HORIZONTAL_RATIO=1.35;const POINTER_HORIZONTAL_DIRECT_DISTANCE=24;const WHEEL_PROJECTION=.12;const NATURAL_SNAP_MIN_DURATION=240;const NATURAL_SNAP_MAX_DURATION=580;const controllers=new WeakMap;function assignRef(ref,node){if(!ref)return;if(typeof ref===\"function\"){ref(node);}else{ref.current=node;}}function clamp(value,minimum,maximum){return Math.min(maximum,Math.max(minimum,value));}function isMouseDragDisabled(root){return root.getAttribute(\"aria-label\")?.trim().toLowerCase()===DRAG_DISABLED_ARIA_LABEL;}function getTextRectAtPoint(target,clientX,clientY){if(!(target instanceof Node))return null;const element=target instanceof Element?target:target.parentElement;if(!element)return null;if(element.closest('input, textarea, select, [contenteditable=\"true\"], [contenteditable=\"\"]')){return element.getBoundingClientRect();}const walker=document.createTreeWalker(element,NodeFilter.SHOW_TEXT);const range=document.createRange();let node=walker.nextNode();while(node){if(node.textContent?.trim()){range.selectNodeContents(node);for(const rect of Array.from(range.getClientRects())){if(clientX>=rect.left&&clientX<=rect.right&&clientY>=rect.top&&clientY<=rect.bottom){return rect;}}}node=walker.nextNode();}return null;}function isTextAtPoint(target,clientX,clientY){return getTextRectAtPoint(target,clientX,clientY)!==null;}function getTrack(root){return root;}function getRenderedElement(element){const rect=element.getBoundingClientRect();if(window.getComputedStyle(element).display!==\"contents\"&&rect.width>0&&rect.height>0){return element;}return Array.from(element.querySelectorAll(\"*\")).find(descendant=>{const descendantRect=descendant.getBoundingClientRect();return window.getComputedStyle(descendant).display!==\"contents\"&&descendantRect.width>0&&descendantRect.height>0;})??null;}function getCarouselItems(track){const items=[];for(const child of Array.from(track.children)){if(!(child instanceof HTMLElement))continue;const item=getRenderedElement(child);if(item&&!items.includes(item)){items.push(item);}}return items;}function getMeasurements(root,track){const items=getCarouselItems(track);if(items.length===0){return{origin:0,offsets:[0],maximum:0};}const rootRect=root.getBoundingClientRect();const itemRects=items.map(item=>item.getBoundingClientRect());const isCentered=root.getAttribute(\"aria-label\")?.trim()===\"center\";if(isCentered){const firstCenter=itemRects[0].left+itemRects[0].width/2;const currentTranslation=Number.parseFloat(items[0].style.translate)||0;const viewportCenter=rootRect.left+rootRect.width/2;const origin=firstCenter-currentTranslation-viewportCenter;const offsets=itemRects.map(rect=>rect.left+rect.width/2-firstCenter);const maximum=Math.max(0,...offsets);return{origin,offsets,maximum};}const contentLeft=Math.min(...itemRects.map(rect=>rect.left));const contentRight=Math.max(...itemRects.map(rect=>rect.right));const descendantRects=Array.from(root.querySelectorAll(\"*\")).map(element=>element.getBoundingClientRect()).filter(rect=>rect.width>0&&rect.height>0);const descendantLeft=descendantRects.length>0?Math.min(...descendantRects.map(rect=>rect.left)):contentLeft;const descendantRight=descendantRects.length>0?Math.max(...descendantRects.map(rect=>rect.right)):contentRight;const trackStyle=window.getComputedStyle(track);const gap=Number.parseFloat(trackStyle.columnGap||trackStyle.gap)||0;const summedItemWidth=itemRects.reduce((total,rect)=>total+rect.width,0)+gap*Math.max(0,itemRects.length-1);const contentWidth=Math.max(contentRight-contentLeft,descendantRight-descendantLeft,summedItemWidth,root.scrollWidth);const visibleWidth=Math.max(0,root.clientWidth||rootRect.width);const maximum=Math.max(0,contentWidth-visibleWidth);const offsets=[];for(const rect of itemRects){const offset=clamp(rect.left-contentLeft,0,maximum);if(offsets.length===0||Math.abs(offset-offsets[offsets.length-1])>EDGE_TOLERANCE){offsets.push(offset);}}if(maximum>EDGE_TOLERANCE&&Math.abs(offsets[offsets.length-1]-maximum)>EDGE_TOLERANCE){offsets.push(maximum);}return{origin:0,offsets,maximum};}function getNearestIndex(offsets,value){let nearest=0;let distance=Number.POSITIVE_INFINITY;offsets.forEach((offset,index)=>{const nextDistance=Math.abs(offset-value);if(nextDistance<distance){nearest=index;distance=nextDistance;}});return nearest;}function emitState(root,state){root.setAttribute(STATE_ATTRIBUTE,JSON.stringify(state));root.dispatchEvent(new CustomEvent(STATE_EVENT,{detail:state,bubbles:true}));}function getController(root){const controller=controllers.get(root);if(controller)return controller;if(!root.hasAttribute(STATE_ATTRIBUTE))return null;return{root,previous:()=>root.dispatchEvent(new CustomEvent(PREVIOUS_EVENT)),next:()=>root.dispatchEvent(new CustomEvent(NEXT_EVENT)),getState:()=>{const state=root.getAttribute(STATE_ATTRIBUTE);return state?JSON.parse(state):{index:0,count:0,hasOverflow:false,canGoPrevious:false,canGoNext:false};}};}function findController(element){const boundary=element.closest(`[${SCOPE_ATTRIBUTE}]`);let current=element;while(current){if(current.hasAttribute(ROOT_ATTRIBUTE)){const direct=getController(current);if(direct){return direct;}}const roots=Array.from(current.querySelectorAll(`[${ROOT_ATTRIBUTE}]`));if(roots.length===1){return getController(roots[0]);}if(roots.length>1)return null;if(current===boundary)return null;current=current.parentElement;}return null;}function runSpring(from,initialTarget,initialVelocity,update,complete){let position=from;let target=initialTarget;let velocity=initialVelocity;let previousTime=performance.now();let frame=0;const step=time=>{const elapsed=Math.min((time-previousTime)/1e3,.032);previousTime=time;const acceleration=-ARROW_STIFFNESS*(position-target)-ARROW_DAMPING*velocity;velocity+=acceleration*elapsed;position+=velocity*elapsed;update(position);if(Math.abs(position-target)<=POSITION_TOLERANCE&&Math.abs(velocity)<=VELOCITY_TOLERANCE){update(target);complete();return;}frame=requestAnimationFrame(step);};frame=requestAnimationFrame(step);return{cancel:()=>cancelAnimationFrame(frame),setTarget:value=>{target=value;}};}function runNaturalSnap(from,to,initialVelocity,update,complete){const distance=to-from;if(Math.abs(distance)<=POSITION_TOLERANCE){update(to);complete();return()=>{};}const duration=clamp(260+Math.abs(distance)*.2,NATURAL_SNAP_MIN_DURATION,NATURAL_SNAP_MAX_DURATION);const durationSeconds=duration/1e3;const direction=Math.sign(distance);const velocityTowardTarget=Math.max(0,initialVelocity*direction);const maximumVelocity=Math.abs(distance)*3/durationSeconds;const minimumVelocity=Math.abs(distance)*1.72/durationSeconds;const startVelocity=direction*clamp(velocityTowardTarget,minimumVelocity,maximumVelocity);const normalizedVelocity=startVelocity*durationSeconds;const coefficient3=10*distance-6*normalizedVelocity;const coefficient4=-15*distance+8*normalizedVelocity;const coefficient5=6*distance-3*normalizedVelocity;const startedAt=performance.now();let frame=0;const step=time=>{const progress=clamp((time-startedAt)/duration,0,1);const progress2=progress*progress;const progress3=progress2*progress;const progress4=progress3*progress;const progress5=progress4*progress;const value=from+normalizedVelocity*progress+coefficient3*progress3+coefficient4*progress4+coefficient5*progress5;update(value);if(progress>=1){update(to);complete();return;}frame=requestAnimationFrame(step);};frame=requestAnimationFrame(step);return()=>cancelAnimationFrame(frame);}export function withOverflowCarouselScope(Component){return /*#__PURE__*/forwardRef((props,ref)=>{return /*#__PURE__*/_jsx(Component,{ref:ref,...props,\"data-overflow-carousel-scope\":\"true\"});});}export function withOverflowCarousel(Component){return /*#__PURE__*/forwardRef((props,forwardedRef)=>{const[rootNode,setRootNode]=useState(null);const setRefs=useCallback(node=>{setRootNode(node);assignRef(forwardedRef,node);},[forwardedRef]);useEffect(()=>{const root=rootNode;if(!root)return;const track=getTrack(root);if(!track)return;const originalRootOverflow=root.style.overflow;const originalRootTouchAction=root.style.touchAction;const originalRootOverscroll=root.style.overscrollBehaviorX;const originalRootUserSelect=root.style.userSelect;const originalRootCursor=root.style.cursor;const originalTrackOverflow=track.style.overflow;let movingElements=track===root?getCarouselItems(track):[track];const originalMovingStyles=new Map;let measurements=getMeasurements(root,track);let currentOffset=0;let currentIndex=0;let stopAnimation=null;let springController=null;let wheelTimer=null;let wheelAxisTimer=null;let wheelAxis=null;let wheelAccumulatedX=0;let wheelAccumulatedY=0;let wheelVelocity=0;let lastWheelTime=0;let lastWheelInputTime=0;let pointerId=null;let pointerIsTouch=false;let pointerAxis=null;let pointerHorizontalSamples=0;let pointerOriginX=0;let pointerOriginY=0;let dragStartX=0;let dragStartY=0;let dragStartOffset=0;let dragStartIndex=0;let lastPointerX=0;let lastPointerTime=0;let pointerVelocity=0;let textSelectionPointerId=null;let resizeObserver=null;let mutationObserver=null;let layoutFrame=null;root.setAttribute(ROOT_ATTRIBUTE,\"true\");root.style.overflow=\"visible\";root.style.touchAction=\"pan-y\";root.style.overscrollBehaviorX=\"contain\";root.style.userSelect=\"text\";root.style.cursor=measurements.maximum>EDGE_TOLERANCE&&!isMouseDragDisabled(root)?\"grab\":originalRootCursor;track.style.overflow=\"visible\";const refreshMovingElements=()=>{movingElements=track===root?getCarouselItems(track):[track];for(const element of movingElements){if(!originalMovingStyles.has(element)){originalMovingStyles.set(element,{translate:element.style.translate,willChange:element.style.willChange});}element.style.willChange=\"transform\";resizeObserver?.observe(element);}};refreshMovingElements();const render=offset=>{currentOffset=clamp(offset,0,measurements.maximum);for(const element of movingElements){element.style.translate=`${-(currentOffset+measurements.origin)}px 0`;}};const hasOverflow=()=>measurements.maximum>EDGE_TOLERANCE;const getState=()=>{const overflowAvailable=hasOverflow();const lastIndex=measurements.offsets.length-1;const visualIndex=getNearestIndex(measurements.offsets,currentOffset);return{index:visualIndex,count:measurements.offsets.length,hasOverflow:overflowAvailable,canGoPrevious:overflowAvailable&&(currentIndex>0||currentOffset>EDGE_TOLERANCE),canGoNext:overflowAvailable&&(currentIndex<lastIndex||currentOffset<measurements.maximum-EDGE_TOLERANCE)};};const publish=()=>emitState(root,getState());const stop=()=>{stopAnimation?.();stopAnimation=null;springController=null;};const settle=(index,velocity=0,immediate=false,animation=\"spring\")=>{measurements=getMeasurements(root,track);const nextIndex=clamp(index,0,measurements.offsets.length-1);const target=measurements.offsets[nextIndex]??0;currentIndex=nextIndex;if(immediate){stop();render(target);publish();return;}if(animation===\"spring\"&&springController){springController.setTarget(target);publish();return;}stop();if(animation===\"natural\"){stopAnimation=runNaturalSnap(currentOffset,target,velocity,render,()=>{stopAnimation=null;publish();});}else{springController=runSpring(currentOffset,target,velocity,render,()=>{springController=null;stopAnimation=null;publish();});stopAnimation=()=>{springController?.cancel();springController=null;};}publish();};const previous=()=>{settle(currentIndex-1);};const next=()=>{settle(currentIndex+1);};const controller={root,previous,next,getState};controllers.set(root,controller);const onPointerDown=event=>{if(event.pointerType===\"mouse\"&&event.button!==0)return;if(!hasOverflow())return;if(event.pointerType===\"mouse\"&&isMouseDragDisabled(root)){if(!isTextAtPoint(event.target,event.clientX,event.clientY)){window.getSelection()?.removeAllRanges();}return;}dragStartX=event.clientX;dragStartY=event.clientY;pointerOriginX=event.clientX;pointerOriginY=event.clientY;pointerHorizontalSamples=0;dragStartOffset=currentOffset;dragStartIndex=getNearestIndex(measurements.offsets,currentOffset);lastPointerX=event.clientX;lastPointerTime=performance.now();pointerVelocity=0;const textRect=event.pointerType===\"mouse\"?getTextRectAtPoint(event.target,event.clientX,event.clientY):null;if(textRect){textSelectionPointerId=event.pointerId;root.style.cursor=\"text\";return;}if(event.pointerType===\"mouse\"){window.getSelection()?.removeAllRanges();}pointerId=event.pointerId;pointerIsTouch=event.pointerType===\"touch\";pointerAxis=event.pointerType===\"mouse\"?\"horizontal\":null;if(pointerAxis===\"horizontal\"){stop();root.style.userSelect=\"none\";root.style.cursor=\"grabbing\";root.setPointerCapture(event.pointerId);}};const onPointerMove=event=>{if(event.pointerId===textSelectionPointerId){root.style.cursor=\"text\";return;}if(event.pointerId!==pointerId){if(event.pointerType===\"mouse\"&&pointerId===null){root.style.cursor=isTextAtPoint(event.target,event.clientX,event.clientY)?\"text\":hasOverflow()&&!isMouseDragDisabled(root)?\"grab\":originalRootCursor;}return;}if(!hasOverflow()){if(root.hasPointerCapture(event.pointerId)){root.releasePointerCapture(event.pointerId);}pointerId=null;pointerIsTouch=false;pointerAxis=null;pointerHorizontalSamples=0;pointerVelocity=0;root.style.userSelect=\"text\";root.style.cursor=originalRootCursor;return;}if(pointerAxis===null){const distanceX=Math.abs(event.clientX-dragStartX);const distanceY=Math.abs(event.clientY-dragStartY);if(Math.max(distanceX,distanceY)<POINTER_AXIS_THRESHOLD){return;}if(distanceY>=distanceX){pointerAxis=\"vertical\";pointerHorizontalSamples=0;pointerVelocity=0;return;}if(distanceX<distanceY*POINTER_HORIZONTAL_RATIO){pointerHorizontalSamples=0;return;}pointerHorizontalSamples+=1;if(pointerHorizontalSamples<2&&distanceX<POINTER_HORIZONTAL_DIRECT_DISTANCE){return;}pointerAxis=\"horizontal\";stop();dragStartX=pointerOriginX+Math.sign(event.clientX-pointerOriginX)*POINTER_AXIS_THRESHOLD;lastPointerX=pointerOriginX;pointerVelocity=0;root.style.userSelect=\"none\";root.style.cursor=\"grabbing\";root.setPointerCapture(event.pointerId);}if(pointerAxis===\"vertical\")return;event.preventDefault();const now=performance.now();const elapsed=Math.max(now-lastPointerTime,1);const instantVelocity=(event.clientX-lastPointerX)/elapsed*1e3;pointerVelocity=pointerVelocity===0?instantVelocity:pointerVelocity*.7+instantVelocity*.3;lastPointerX=event.clientX;lastPointerTime=now;const rawOffset=dragStartOffset-(event.clientX-dragStartX);let nextOffset=rawOffset;if(pointerIsTouch){const minimumOffset=measurements.offsets[Math.max(0,dragStartIndex-1)]??0;const maximumOffset=measurements.offsets[Math.min(measurements.offsets.length-1,dragStartIndex+1)]??measurements.maximum;nextOffset=clamp(rawOffset,minimumOffset,maximumOffset);}render(nextOffset);publish();};const finishPointer=event=>{if(event.pointerId===textSelectionPointerId){textSelectionPointerId=null;root.style.cursor=isTextAtPoint(event.target,event.clientX,event.clientY)?\"text\":hasOverflow()&&!isMouseDragDisabled(root)?\"grab\":originalRootCursor;return;}if(event.pointerId!==pointerId)return;if(event.type===\"pointercancel\"){const cancelledIndex=dragStartIndex;const wasHorizontal=pointerAxis===\"horizontal\";pointerId=null;pointerIsTouch=false;pointerAxis=null;pointerHorizontalSamples=0;pointerVelocity=0;root.style.userSelect=\"text\";root.style.cursor=isMouseDragDisabled(root)?originalRootCursor:\"grab\";if(wasHorizontal){settle(cancelledIndex,0,false,\"natural\");}return;}if(pointerAxis!==\"horizontal\"){pointerId=null;textSelectionPointerId=null;pointerIsTouch=false;pointerAxis=null;pointerHorizontalSamples=0;root.style.userSelect=\"text\";root.style.cursor=isMouseDragDisabled(root)?originalRootCursor:\"grab\";return;}const displacement=event.clientX-dragStartX;const totalDistanceX=Math.abs(event.clientX-pointerOriginX);const totalDistanceY=Math.abs(event.clientY-pointerOriginY);const hasHorizontalIntent=totalDistanceX>=DRAG_ACTIVATION_DISTANCE&&totalDistanceX>=totalDistanceY*POINTER_HORIZONTAL_RATIO;const projected=clamp(currentOffset-pointerVelocity*DRAG_PROJECTION,0,measurements.maximum);let targetIndex=getNearestIndex(measurements.offsets,projected);const hasDragIntent=hasHorizontalIntent&&(Math.abs(displacement)>=DRAG_ACTIVATION_DISTANCE||Math.abs(pointerVelocity)>=DRAG_ACTIVATION_VELOCITY);if(!hasHorizontalIntent){targetIndex=dragStartIndex;}if(hasDragIntent&&targetIndex===dragStartIndex){const direction=Math.abs(displacement)>=DRAG_ACTIVATION_DISTANCE?displacement<0?1:-1:pointerVelocity<0?1:-1;targetIndex=clamp(dragStartIndex+direction,0,measurements.offsets.length-1);}if(pointerIsTouch){targetIndex=clamp(targetIndex,Math.max(0,dragStartIndex-1),Math.min(measurements.offsets.length-1,dragStartIndex+1));}pointerId=null;pointerIsTouch=false;pointerAxis=null;pointerHorizontalSamples=0;root.style.userSelect=\"text\";root.style.cursor=isMouseDragDisabled(root)?originalRootCursor:\"grab\";settle(targetIndex,-pointerVelocity,false,\"natural\");};const finishWheel=()=>{wheelTimer=null;const projected=clamp(currentOffset+wheelVelocity*WHEEL_PROJECTION,0,measurements.maximum);const targetIndex=getNearestIndex(measurements.offsets,projected);settle(targetIndex,wheelVelocity,false,\"natural\");wheelVelocity=0;};const resetWheelAxis=()=>{wheelAxisTimer=null;wheelAxis=null;wheelAccumulatedX=0;wheelAccumulatedY=0;};const onWheel=event=>{if(!hasOverflow())return;const wheelTime=performance.now();const timeSinceLastInput=wheelTime-lastWheelInputTime;const isNewGesture=lastWheelInputTime===0||timeSinceLastInput>=WHEEL_NEW_GESTURE_DELAY;if(wheelAxisTimer)clearTimeout(wheelAxisTimer);if(isNewGesture){wheelAxis=null;wheelAccumulatedX=0;wheelAccumulatedY=0;wheelVelocity=0;lastWheelTime=wheelTime-16;}lastWheelInputTime=wheelTime;wheelAxisTimer=setTimeout(resetWheelAxis,WHEEL_AXIS_RESET_DELAY);if(stopAnimation!==null&&Math.abs(event.deltaY)>=WHEEL_AXIS_THRESHOLD&&Math.abs(event.deltaY)*WHEEL_AXIS_RATIO>=Math.abs(event.deltaX)){wheelAxis=\"vertical\";wheelAccumulatedX=0;wheelAccumulatedY=0;return;}if(!wheelAxis){wheelAccumulatedX+=Math.abs(event.deltaX);wheelAccumulatedY+=Math.abs(event.deltaY);const accumulatedDistance=wheelAccumulatedX+wheelAccumulatedY;if(accumulatedDistance>=WHEEL_AXIS_THRESHOLD){if(wheelAccumulatedX*WHEEL_AXIS_RATIO>=wheelAccumulatedY){wheelAxis=\"horizontal\";}else if(wheelAccumulatedY>=wheelAccumulatedX*WHEEL_AXIS_RATIO){wheelAxis=\"vertical\";}}}if(wheelAxis===\"vertical\")return;if(!wheelAxis){event.preventDefault();event.stopPropagation();return;}event.preventDefault();event.stopPropagation();stop();const wheelElapsed=Math.max(wheelTime-lastWheelTime,8);const instantVelocity=event.deltaX/wheelElapsed*1e3;wheelVelocity=wheelVelocity===0?instantVelocity:wheelVelocity*.65+instantVelocity*.35;lastWheelTime=wheelTime;render(currentOffset+event.deltaX);currentIndex=getNearestIndex(measurements.offsets,currentOffset);publish();if(wheelTimer)clearTimeout(wheelTimer);wheelTimer=setTimeout(finishWheel,WHEEL_END_DELAY);};const onPrevious=()=>previous();const onNext=()=>next();const onResize=()=>{refreshMovingElements();measurements=getMeasurements(root,track);if(!hasOverflow()){stop();if(pointerId!==null&&root.hasPointerCapture(pointerId)){root.releasePointerCapture(pointerId);}pointerId=null;textSelectionPointerId=null;pointerIsTouch=false;pointerAxis=null;pointerHorizontalSamples=0;pointerVelocity=0;wheelVelocity=0;root.style.userSelect=\"text\";}currentIndex=clamp(currentIndex,0,measurements.offsets.length-1);render(measurements.offsets[currentIndex]??0);root.style.cursor=hasOverflow()?isMouseDragDisabled(root)?originalRootCursor:\"grab\":originalRootCursor;publish();};const scheduleResize=()=>{if(layoutFrame!==null)cancelAnimationFrame(layoutFrame);layoutFrame=requestAnimationFrame(()=>{layoutFrame=null;onResize();});};resizeObserver=new ResizeObserver(onResize);resizeObserver.observe(root);refreshMovingElements();mutationObserver=new MutationObserver(scheduleResize);mutationObserver.observe(root,{attributes:true,attributeFilter:[\"class\",\"aria-label\"],childList:true,subtree:true});root.addEventListener(\"pointerdown\",onPointerDown);root.addEventListener(\"pointermove\",onPointerMove);root.addEventListener(\"pointerup\",finishPointer);root.addEventListener(\"pointercancel\",finishPointer);root.addEventListener(\"wheel\",onWheel,{passive:false});root.addEventListener(PREVIOUS_EVENT,onPrevious);root.addEventListener(NEXT_EVENT,onNext);settle(0,0,true);scheduleResize();return()=>{stop();if(wheelTimer)clearTimeout(wheelTimer);if(wheelAxisTimer)clearTimeout(wheelAxisTimer);if(layoutFrame!==null)cancelAnimationFrame(layoutFrame);resizeObserver?.disconnect();mutationObserver?.disconnect();controllers.delete(root);root.removeEventListener(\"pointerdown\",onPointerDown);root.removeEventListener(\"pointermove\",onPointerMove);root.removeEventListener(\"pointerup\",finishPointer);root.removeEventListener(\"pointercancel\",finishPointer);root.removeEventListener(\"wheel\",onWheel);root.removeEventListener(PREVIOUS_EVENT,onPrevious);root.removeEventListener(NEXT_EVENT,onNext);root.removeAttribute(ROOT_ATTRIBUTE);root.removeAttribute(STATE_ATTRIBUTE);root.style.overflow=originalRootOverflow;root.style.touchAction=originalRootTouchAction;root.style.overscrollBehaviorX=originalRootOverscroll;root.style.userSelect=originalRootUserSelect;root.style.cursor=originalRootCursor;track.style.overflow=originalTrackOverflow;for(const[element,style]of originalMovingStyles){element.style.translate=style.translate;element.style.willChange=style.willChange;}};},[rootNode]);return /*#__PURE__*/_jsx(Component,{ref:setRefs,...props,\"data-overflow-carousel-root\":\"true\"});});}function createButtonOverride(direction){return function withCarouselButton(Component){return /*#__PURE__*/forwardRef((props,forwardedRef)=>{const buttonRef=useRef(null);const[buttonNode,setButtonNode]=useState(null);const[disabled,setDisabled]=useState(direction===\"previous\");const[hidden,setHidden]=useState(false);const setRefs=useCallback(node=>{buttonRef.current=node;setButtonNode(node);assignRef(forwardedRef,node);},[forwardedRef]);useEffect(()=>{const button=buttonNode;if(!button)return;let controller=null;let updateFrame=0;let retryTimer;let observedRoot=null;const stateObserver=new MutationObserver(()=>update());const applyState=state=>{setHidden(!state.hasOverflow);setDisabled(direction===\"previous\"?!state.canGoPrevious:!state.canGoNext);};const update=()=>{clearTimeout(retryTimer);retryTimer=undefined;controller=findController(button);if(!controller){retryTimer=setTimeout(update,80);return;}if(observedRoot!==controller.root){stateObserver.disconnect();observedRoot=controller.root;stateObserver.observe(observedRoot,{attributes:true,attributeFilter:[STATE_ATTRIBUTE]});}applyState(controller.getState());};const scheduleUpdate=()=>{cancelAnimationFrame(updateFrame);updateFrame=requestAnimationFrame(update);};const onState=event=>{const customEvent=event;const eventRoot=event.target;controller=findController(button);if(controller&&eventRoot instanceof HTMLElement&&eventRoot===controller.root){applyState(customEvent.detail);}};scheduleUpdate();document.addEventListener(STATE_EVENT,onState,true);document.addEventListener(\"pointerup\",scheduleUpdate,true);document.addEventListener(\"pointercancel\",scheduleUpdate,true);window.addEventListener(\"pageshow\",scheduleUpdate);return()=>{clearTimeout(retryTimer);cancelAnimationFrame(updateFrame);stateObserver.disconnect();document.removeEventListener(STATE_EVENT,onState,true);document.removeEventListener(\"pointerup\",scheduleUpdate,true);document.removeEventListener(\"pointercancel\",scheduleUpdate,true);window.removeEventListener(\"pageshow\",scheduleUpdate);};},[buttonNode]);const handleClick=event=>{props.onClick?.(event);if(event.defaultPrevented)return;const button=buttonRef.current;if(!button)return;const controller=findController(button);if(!controller)return;const state=controller.getState();const canNavigate=direction===\"previous\"?state.canGoPrevious:state.canGoNext;if(!canNavigate)return;controller.root.dispatchEvent(new CustomEvent(direction===\"previous\"?PREVIOUS_EVENT:NEXT_EVENT));};return /*#__PURE__*/_jsx(Component,{ref:setRefs,...props,onClick:handleClick,\"aria-disabled\":disabled,\"aria-hidden\":hidden,style:{...props.style,opacity:hidden?0:disabled?.35:1,pointerEvents:hidden||disabled?\"none\":props.style?.pointerEvents,transition:\"opacity 200ms ease\"}});});};}export function withPreviousSlide(Component){return createButtonOverride(\"previous\")(Component);}export function withNextSlide(Component){return createButtonOverride(\"next\")(Component);}\nexport const __FramerMetadata__ = {\"exports\":{\"withPreviousSlide\":{\"type\":\"reactHoc\",\"name\":\"withPreviousSlide\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withOverflowCarouselScope\":{\"type\":\"reactHoc\",\"name\":\"withOverflowCarouselScope\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withOverflowCarousel\":{\"type\":\"reactHoc\",\"name\":\"withOverflowCarousel\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withNextSlide\":{\"type\":\"reactHoc\",\"name\":\"withNextSlide\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./OverflowCarouselSet.map"],"mappings":"uJAAqiC,SAAS,EAAU,EAAI,EAAK,CAAK,IAAc,OAAO,GAAM,WAAY,EAAI,CAAI,EAAQ,EAAI,QAAQ,EAAM,CAAC,SAAS,EAAM,EAAM,EAAQ,EAAQ,CAAC,OAAO,KAAK,IAAI,EAAQ,KAAK,IAAI,EAAQ,CAAK,CAAC,CAAE,CAAC,SAAS,EAAoB,EAAK,CAAC,OAAO,EAAK,aAAa,YAAY,CAAC,EAAE,KAAK,CAAC,CAAC,YAAY,IAAI,CAAyB,CAAC,SAAS,EAAmB,EAAO,EAAQ,EAAQ,CAAC,GAAG,EAAE,aAAkB,MAAM,OAAO,KAAK,IAAM,EAAQ,aAAkB,QAAQ,EAAO,EAAO,cAAc,GAAG,CAAC,EAAQ,OAAO,KAAK,GAAG,EAAQ,QAAQ,yEAAyE,EAAG,OAAO,EAAQ,sBAAsB,EAAG,IAAM,EAAO,SAAS,iBAAiB,EAAQ,WAAW,SAAS,EAAQ,EAAM,SAAS,YAAY,EAAM,EAAK,EAAO,SAAS,EAAE,KAAM,GAAK,CAAC,GAAG,EAAK,aAAa,KAAK,EAAE,CAAC,EAAM,mBAAmB,CAAI,EAAE,IAAI,IAAM,KAAQ,MAAM,KAAK,EAAM,eAAe,CAAC,EAAG,GAAG,GAAS,EAAK,MAAM,GAAS,EAAK,OAAO,GAAS,EAAK,KAAK,GAAS,EAAK,OAAQ,OAAO,CAAO,CAAC,EAAK,EAAO,SAAS,CAAE,CAAC,OAAO,IAAK,CAAC,SAAS,EAAc,EAAO,EAAQ,EAAQ,CAAC,OAAO,EAAmB,EAAO,EAAQ,CAAO,IAAI,IAAK,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