{"version":3,"file":"CMSSliderPro.CLJvsvUJ.mjs","names":["React.useRef","React.useId","React.useState","React.useEffect","React.startTransition","React.useMemo","_jsx","React.useCallback","_jsxs","_Fragment","__esmMin","ne","window","j","init_npm_react_18_3_1","te","pe","init_ssg_sandbox_shims","ie","_e","de","init_jsx_runtime","l","c","ce","RenderTarget","addPropertyControls","init_framer_ChujFWHC","useIsStaticRenderer","ControlType","motion","useMotionValue","animate","init_framer_motion_1EwlFBEG","isLightColor","color","m","h","x","r","g","b","clamp","n","min","max","findSliderItemContainer","container","isVertical","bestElement","bestCount","bestSpread","visit","el","allChildren","children","child","box","positions","rect","spread","getElementFrameInContainer","target","containerRect","targetRect","width","left","parent","bottom","computeAlignmentStyle","alignment","inset","offX","offY","splitSide","style","transforms","CMSSlider","props","content","direction","autoPlay","layout","DEFAULT_LAYOUT","playback","DEFAULT_PLAYBACK","navigation","DEFAULT_NAVIGATION","arrows","DEFAULT_ARROWS","dots","DEFAULT_DOTS","centerFocus","DEFAULT_CENTER_FOCUS","appear","DEFAULT_APPEAR","animationOptions","DEFAULT_ANIMATION","interval","pauseOnHover","loop","startAt","itemAlign","draggable","isCanvas","isStatic","isFrozen","containerRef","instanceId","isReversed","itemCount","setItemCount","containerSize","setContainerSize","activeIndex","setActiveIndex","isHovered","setIsHovered","isFocused","setIsFocused","isDragging","setIsDragging","childrenFrame","setChildrenFrame","childrenViewportHeight","setChildrenViewportHeight","isReady","setIsReady","isActive","reducedMotion","setReducedMotion","mq","handler","controlsRef","itemsPerView","maxIndex","totalPages","dotCount","prevDisabled","nextDisabled","disabledArrowStyle","showNav","showArrowsNow","safeActiveIndex","normalizedContent","childCount","i","rafId","observedItemContainer","ro","measure","size","pad","itemContainer","count","nextChildrenFrame","prev","preview","mo","totalGaps","itemSize","slideSize","y","setTranslate","v","animateTo","mv","calcTargetTranslate","index","sign","goTo","animateIt","newIndex","goPrev","goNext","activeIndexRef","goToRef","initialIndex","ms","handleKeyDown","tag","keys","dragRef","trackRef","wheelRef","clickSuppressTimeoutRef","clickSuppressListenerRef","getCurrentTranslate","onPointerDown","pos","now","onPointerMove","diff","DRAG_MOVE_THRESHOLD_PX","dt","maxTranslateAbs","nextTranslate","minTranslate","maxTranslate","DRAG_RESIST","onPointerUp","projected","DRAG_VELOCITY_CLAMP","DRAG_PROJECTION_MULTIPLIER","safeSlideSize","signedProjected","targetIndex","pageSize","preventClick","ev","CLICK_SUPPRESS_MS","node","primary","perpendicular","WHEEL_COOLDOWN_MS","WHEEL_QUIET_MS","WHEEL_STEP_THRESHOLD","dir","proposed","total","arrowBtnStyle","useFill","useBorder","getArrowPositionStyle","side","isSplit","renderIcon","type","customSrc","DefaultSvg","ChevronLeft","ChevronRight","rotation","renderPaginationContent","relativeToChildren","compact","visible","slotSize","stripWidth","halfVis","windowStart","windowEnd","translate","isInWindow","getDotScale","ACTIVE_DOT_SCALE","getDotOpacity","dotButtons","_","progressWidth","PROGRESS_BAR_HEIGHT","isPaginationTop","isInlineTop","showInlineRow","showStandalonePagination","horizontalJustify","a","paginationRowStyle","childrenOverflowAfter","standalonePaginationRowStyle","inlineRowOuterStyle","inlineRowInnerStyle","trackClass","centerIndex","centerFocusCSS","rules","speed","flexAlign","cssVars","css","appearAnimName","effectiveAppearMode","appearKeyframes","t","d","from","to","appearStyle","itemAppearCSS","cap","STAGGER_CAP","stagger","delayRules","styleSheet","init_CMSSliderPro","p"],"sources":["https:/framerusercontent.com/modules/11iEd2Bp8LzX5C7w9jQq/skw3ZhUx5poIoOgeaYYk/CMSSliderPro.js"],"sourcesContent":["/**\n * CMS Slider — drag/auto-play carousel that connects to a Framer Collection List.\n * Supports multi-item views, loop, keyboard nav, center-focus scaling, split/grouped/inline\n * arrows, dot/progress/number pagination, and compact windowed dots for long lists.\n *\n * @framerIntrinsicWidth 800\n * @framerIntrinsicHeight 400\n * @framerSupportedLayoutWidth any\n * @framerSupportedLayoutHeight any\n */import{jsx as _jsx,jsxs as _jsxs,Fragment as _Fragment}from\"react/jsx-runtime\";import*as React from\"react\";import{addPropertyControls,ControlType,RenderTarget,useIsStaticRenderer}from\"framer\";import{motion,animate,useMotionValue}from\"framer-motion\";// ============================================\n// HELPERS\n// ============================================\nfunction isLightColor(color){const c=(color||\"\").trim();let m=/rgba?\\(\\s*([\\d.]+)[\\s,]+([\\d.]+)[\\s,]+([\\d.]+)(?:[\\s,/]+([\\d.]+))?/i.exec(c);if(m){const alpha=m[4]===undefined?1:Number(m[4]);if(alpha<.4)return false;return(Number(m[1])*299+Number(m[2])*587+Number(m[3])*114)/1e3>160;}m=/#([0-9a-f]{3}|[0-9a-f]{6})\\b/i.exec(c);if(m){const h=m[1].length===3?m[1].split(\"\").map(x=>x+x).join(\"\"):m[1];const r=parseInt(h.slice(0,2),16);const g=parseInt(h.slice(2,4),16);const b=parseInt(h.slice(4,6),16);return(r*299+g*587+b*114)/1e3>160;}return false;}function clamp(n,min,max){return Math.max(min,Math.min(max,n));}function findSliderItemContainer(container,isVertical){let bestElement=null;let bestCount=0;let bestSpread=-1;const visit=el=>{const allChildren=Array.from(el.children);// <style>, <script> and display:none nodes report a 0x0 box at x=0 and\n// would distort the spread heuristic (a card with an inline <style>\n// next to its content was mistaken for the item list).\nconst children=allChildren.filter(child=>{const box=child.getBoundingClientRect();return box.width>0||box.height>0;});if(children.length>=2){const positions=children.map(child=>{const rect=child.getBoundingClientRect();return isVertical?rect.top:rect.left;}).filter(Number.isFinite);const spread=positions.length>1?Math.max(...positions)-Math.min(...positions):0;// CMS slide wrappers spread along the slider axis. Inner card\n// content usually stacks on the cross axis, so this avoids\n// accidentally treating image/date/title layers as slides.\nif(spread>bestSpread+.5||Math.abs(spread-bestSpread)<=.5&&children.length>bestCount){bestElement=el;bestCount=children.length;bestSpread=spread;}}allChildren.forEach(visit);};visit(container);return{element:bestElement,count:bestCount};}function getElementFrameInContainer(container,target){if(!target)return null;const containerRect=container.getBoundingClientRect();const targetRect=target.getBoundingClientRect();const width=target.offsetWidth||target.getBoundingClientRect().width;if(width<=0)return null;let left=target.offsetLeft;let parent=target.offsetParent;while(parent&&parent!==container){left+=parent.offsetLeft;parent=parent.offsetParent;}if(parent!==container){left=targetRect.left-containerRect.left;}let bottom=targetRect.bottom-containerRect.top;target.querySelectorAll(\"*\").forEach(child=>{const rect=child.getBoundingClientRect();if(rect.width<=0||rect.height<=0)return;if(rect.right<containerRect.left||rect.left>containerRect.right){return;}bottom=Math.max(bottom,rect.bottom-containerRect.top);});return{left:Math.max(0,Math.round(left*100)/100),width:Math.round(width*100)/100,bottom:Math.round(bottom*100)/100};}function computeAlignmentStyle({alignment,inset,offX,offY,splitSide}){const style={position:\"absolute\",zIndex:10};const transforms=[];if(splitSide){if(splitSide===\"prev\")style.left=inset+offX;else style.right=inset+offX;}else if(alignment.includes(\"Left\")){style.left=inset+offX;}else if(alignment.includes(\"Right\")){style.right=inset-offX;}else{style.left=\"50%\";transforms.push(`translateX(calc(-50% + ${offX}px))`);}if(alignment.includes(\"Top\")){style.top=inset+offY;}else if(alignment.includes(\"Bottom\")){style.bottom=inset-offY;}else{style.top=\"50%\";transforms.push(`translateY(calc(-50% + ${offY}px))`);}if(transforms.length>0)style.transform=transforms.join(\" \");return style;}// ============================================\n// CONSTANTS\n// ============================================\nconst DRAG_MOVE_THRESHOLD_PX=6;const DRAG_VELOCITY_CLAMP=2// px/ms\n;const DRAG_PROJECTION_MULTIPLIER=220;const CLICK_SUPPRESS_MS=50;const DRAG_RESIST=.3;// Trackpad / Apple Mouse two-finger swipe (wheel events). Step-per-gesture:\n// accumulate delta along the slider axis, fire one step when threshold is hit,\n// cooldown prevents rapid double-firing, quiet timer resets between gestures.\nconst WHEEL_STEP_THRESHOLD=40;const WHEEL_COOLDOWN_MS=250;const WHEEL_QUIET_MS=140;const PROGRESS_BAR_HEIGHT=4;const ACTIVE_DOT_SCALE=1.3;const STAGGER_CAP=12;// ============================================\n// ICONS\n// ============================================\nconst ChevronLeft=({size,color})=>/*#__PURE__*/_jsx(\"svg\",{width:size*.45,height:size*.45,viewBox:\"0 0 24 24\",fill:\"none\",stroke:color,strokeWidth:\"2.5\",strokeLinecap:\"round\",strokeLinejoin:\"round\",children:/*#__PURE__*/_jsx(\"path\",{d:\"M15 18l-6-6 6-6\"})});const ChevronRight=({size,color})=>/*#__PURE__*/_jsx(\"svg\",{width:size*.45,height:size*.45,viewBox:\"0 0 24 24\",fill:\"none\",stroke:color,strokeWidth:\"2.5\",strokeLinecap:\"round\",strokeLinejoin:\"round\",children:/*#__PURE__*/_jsx(\"path\",{d:\"M9 18l6-6-6-6\"})});// ============================================\n// MAIN COMPONENT\n// ============================================\nconst DEFAULT_LAYOUT={items:3,gap:30,padding:0,fit:\"Contain\",align:\"Stretch\",aspectRatio:0,bleed:\"None\"};const DEFAULT_PLAYBACK={interval:3,pauseOnHover:true,loop:true,startAt:\"Start\"};const DEFAULT_NAVIGATION={step:\"Single\",draggable:true,keyboard:true};const DEFAULT_ARROWS={show:true,type:\"Split\",alignment:\"Center Center\",prevImage:\"\",nextImage:\"\",fill:\"#ffffff\",backdrop:\"#000000\",variant:\"Fill\",borderWidth:1,borderColor:\"#ffffff\",size:48,radius:50,fadeIn:false,inset:20,gap:10,offsetX:0,offsetY:0,shadow:false,shadowColor:\"rgba(0,0,0,0.2)\",shadowBlur:10};const DEFAULT_DOTS={type:\"Dots\",alignment:\"Bottom Center\",size:10,inset:20,gap:8,padding:10,fill:\"rgba(255,255,255,0.4)\",activeFill:\"#ffffff\",backdrop:\"rgba(0,0,0,0.4)\",radius:20,opacity:.5,blur:4,offsetX:0,offsetY:0,progressWidth:200,compact:false,compactVisible:3};const DEFAULT_CENTER_FOCUS={enabled:false,activeScale:1.08,inactiveScale:.92,inactiveOpacity:.5,transitionSpeed:.35};const DEFAULT_APPEAR={type:\"Fade\",mode:\"Stagger\",duration:.4,distance:24,stagger:.06};const DEFAULT_ANIMATION={type:\"spring\",stiffness:240,damping:28,mass:1};export default function CMSSlider(props){const{style,content,direction=\"Left\",autoPlay=false}=props;// Merge each object with defaults so partial objects from Framer don't\n// leave sub-fields undefined.\nconst layout={...DEFAULT_LAYOUT,...props.layout||{}};const playback={...DEFAULT_PLAYBACK,...props.playback||{}};const navigation={...DEFAULT_NAVIGATION,...props.interaction||{},...props.navigation||{}};const arrows={...DEFAULT_ARROWS,...props.arrows||{}};const dots={...DEFAULT_DOTS,...props.pagination||{},...props.dots||{}};const centerFocus={...DEFAULT_CENTER_FOCUS,...props.centerFocus||{}};const appear={...DEFAULT_APPEAR,...props.appear||{}};const animationOptions=props.animationOptions||props.animation||DEFAULT_ANIMATION;const{interval,pauseOnHover,loop,startAt}=playback;const{align:itemAlign}=layout;// Legacy instances can keep `layout.fit = \"Fill\"` saved in Framer even\n// after the default changes. Keep the slider child-sized unless a future\n// dedicated height mode restores the old stretching behavior explicitly.\nconst shouldFillFrame=false;const draggable=navigation.draggable;const isCanvas=RenderTarget.current()===RenderTarget.canvas;const isStatic=useIsStaticRenderer();// Canvas (Framer editor) and static renderer (SSG/thumbnails/social previews)\n// both need the non-motion branch — motion values render unanimated and the\n// drag/pointer handlers don't make sense outside the live preview.\nconst isFrozen=isCanvas||isStatic;const containerRef=React.useRef(null);const reactId=React.useId();const instanceId=`cms-slider-${reactId.replace(/:/g,\"-\")}`;const isVertical=direction===\"Up\"||direction===\"Down\";const isReversed=direction===\"Right\"||direction===\"Down\";const[itemCount,setItemCount]=React.useState(0);const[containerSize,setContainerSize]=React.useState(0);const[activeIndex,setActiveIndex]=React.useState(0);const[isHovered,setIsHovered]=React.useState(false);const[isFocused,setIsFocused]=React.useState(false);const[isDragging,setIsDragging]=React.useState(false);const[childrenFrame,setChildrenFrame]=React.useState(null);const[childrenViewportHeight,setChildrenViewportHeight]=React.useState(0);// Hide the slider until the first ResizeObserver measurement lands —\n// kills the first-paint flash where CMS items briefly render in\n// Framer's default layout before our !important track CSS reflows\n// them. Frozen renderers (canvas/SSG) skip the gate so the editor and\n// static HTML stay visible immediately.\nconst[isReady,setIsReady]=React.useState(isFrozen);const isActive=isHovered||isFocused;const[reducedMotion,setReducedMotion]=React.useState(false);React.useEffect(()=>{if(typeof window===\"undefined\")return;const mq=window.matchMedia(\"(prefers-reduced-motion: reduce)\");React.startTransition(()=>{setReducedMotion(mq.matches);});const handler=e=>{React.startTransition(()=>{setReducedMotion(e.matches);});controlsRef.current?.stop();};mq.addEventListener(\"change\",handler);return()=>mq.removeEventListener(\"change\",handler);},[]);const itemsPerView=layout.items;const maxIndex=React.useMemo(()=>{if(navigation.step===\"Page\"){const totalPages=Math.ceil(itemCount/itemsPerView);return Math.max(0,totalPages-1);}return Math.max(0,itemCount-itemsPerView);},[itemCount,itemsPerView,navigation.step]);const dotCount=maxIndex+1;const prevDisabled=!loop&&Math.min(activeIndex,maxIndex)<=0;const nextDisabled=!loop&&Math.min(activeIndex,maxIndex)>=maxIndex;const disabledArrowStyle={opacity:.35,cursor:\"default\",pointerEvents:\"none\"};const showNav=isCanvas?itemCount>0||!!content:itemCount>itemsPerView;const showArrowsNow=arrows.show&&showNav&&(!arrows.fadeIn||isActive||isCanvas);// During a viewport resize itemCount can briefly drop (mid-flux DOM\n// measurements) and push activeIndex out of range for one render\n// before the corrective useEffect runs. Use this for rendering so\n// dots/numbers/progress never display an out-of-bounds value.\nconst safeActiveIndex=Math.min(activeIndex,maxIndex);// ============================================\n// CANVAS FIX: STRUCTURE NORMALIZATION\n// ============================================\nconst normalizedContent=React.useMemo(()=>{if(!content)return null;const childCount=React.Children.count(content);if(childCount>1){return /*#__PURE__*/_jsx(\"div\",{style:{display:\"flex\",width:\"100%\",height:shouldFillFrame?\"100%\":\"auto\",gap:layout.gap,flexDirection:isVertical?\"column\":\"row\"},children:React.Children.map(content,(child,i)=>/*#__PURE__*/_jsx(\"div\",{role:\"group\",\"aria-roledescription\":\"Slide\",\"aria-label\":`Eintrag ${i+1} von ${childCount}`,children:child}))});}return content;},[content,layout.gap,isVertical,shouldFillFrame]);// ============================================\n// SIZE + ITEM COUNT\n// ============================================\nReact.useEffect(()=>{if(isCanvas){React.startTransition(()=>{setActiveIndex(0);});}},[itemsPerView,isCanvas,direction]);React.useEffect(()=>{const container=containerRef.current;if(!container)return;if(typeof ResizeObserver===\"undefined\")return;let rafId=0;let observedItemContainer=null;let ro;const measure=()=>{if(rafId)cancelAnimationFrame(rafId);rafId=requestAnimationFrame(()=>{if(!container)return;const size=isVertical?container.offsetHeight:container.offsetWidth;// Skip mid-resize garbage reads — a tiny size produces a\n// negative containerSize and cascades into nonsense\n// itemSize/slideSize values.\nif(size<10)return;const pad=layout.padding*2;const{element:itemContainer,count}=findSliderItemContainer(container,isVertical);if(itemContainer&&itemContainer!==container){if(itemContainer!==observedItemContainer){if(observedItemContainer)ro.unobserve(observedItemContainer);ro.observe(itemContainer);observedItemContainer=itemContainer;}}else if(observedItemContainer){ro.unobserve(observedItemContainer);observedItemContainer=null;}const nextChildrenFrame=getElementFrameInContainer(container,itemContainer);React.startTransition(()=>{setContainerSize(size-pad);setChildrenFrame(prev=>{if(!nextChildrenFrame)return prev===null?prev:null;if(prev&&Math.abs(prev.left-nextChildrenFrame.left)<.5&&Math.abs(prev.width-nextChildrenFrame.width)<.5&&Math.abs(prev.bottom-nextChildrenFrame.bottom)<.5){return prev;}return nextChildrenFrame;});setChildrenViewportHeight(container.offsetHeight);if(isCanvas){// On canvas, CMS repeats the first item to fill the view,\n// so count often equals itemsPerView — force a larger\n// preview count so pagination is visible and styleable\nconst preview=Math.max(itemsPerView+2,5);setItemCount(count>preview?count:preview);}else if(count>0){setItemCount(count);}setIsReady(true);});});};ro=new ResizeObserver(measure);ro.observe(container);// Framer's CMS filter / Tabs feature swaps the list of children\n// without changing the track's box size (the track is forced to\n// width:100% and items are flex-basis sized) and often without\n// handing us a new `content` reference. Neither the ResizeObserver\n// nor the effect's `content` dep fires, so itemCount — and therefore\n// the pagination/progress bar — goes stale. Watch childList directly\n// so any added/removed slide forces a recount. measure() is\n// rAF-debounced and no-ops when values are unchanged, so this stays\n// cheap. This was breakpoint-sensitive before: desktop happened to\n// change container height (firing the RO) while tablet/mobile kept\n// the same box, leaving the count frozen.\nlet mo=null;if(typeof MutationObserver!==\"undefined\"){mo=new MutationObserver(measure);mo.observe(container,{childList:true,subtree:true});}measure();return()=>{ro.disconnect();mo?.disconnect();if(rafId)cancelAnimationFrame(rafId);};},[layout.padding,isCanvas,itemsPerView,isVertical,content]);// ============================================\n// LAYOUT CALCS\n// ============================================\nconst totalGaps=(itemsPerView-1)*layout.gap;const itemSize=containerSize>0?(containerSize-totalGaps)/Math.max(1,itemsPerView):0;const slideSize=containerSize>0?itemSize+layout.gap:0;// ============================================\n// MOTION ENGINE\n// ============================================\nconst x=useMotionValue(0);const y=useMotionValue(0);const controlsRef=React.useRef(null);const setTranslate=React.useCallback(v=>{if(isVertical)y.set(v);else x.set(v);},[isVertical,x,y]);React.useEffect(()=>{controlsRef.current?.stop();if(isVertical)x.set(0);else y.set(0);},[isVertical,x,y]);const animateTo=React.useCallback(v=>{if(isCanvas)return;const mv=isVertical?y:x;controlsRef.current?.stop();controlsRef.current=animate(mv,v,reducedMotion?{duration:0}:animationOptions||{duration:.45});},[animationOptions,isCanvas,isVertical,x,y,reducedMotion]);const calcTargetTranslate=React.useCallback(index=>{const sign=isReversed?1:-1;if(navigation.step===\"Page\")return sign*index*itemsPerView*slideSize;return sign*index*slideSize;},[navigation.step,itemsPerView,slideSize,isReversed]);const goTo=React.useCallback((index,animateIt=true)=>{let newIndex=index;if(loop){if(index<0)newIndex=maxIndex;else if(index>maxIndex)newIndex=0;}else{newIndex=clamp(index,0,maxIndex);}React.startTransition(()=>{setActiveIndex(newIndex);});const target=calcTargetTranslate(newIndex);if(animateIt)animateTo(target);else setTranslate(target);},[loop,maxIndex,calcTargetTranslate,animateTo,setTranslate]);const goPrev=React.useCallback(()=>goTo(activeIndex-1,true),[goTo,activeIndex]);const goNext=React.useCallback(()=>goTo(activeIndex+1,true),[goTo,activeIndex]);const activeIndexRef=React.useRef(activeIndex);React.useEffect(()=>{activeIndexRef.current=activeIndex;},[activeIndex]);const goToRef=React.useRef(goTo);React.useEffect(()=>{goToRef.current=goTo;},[goTo]);// Compute initial index based on startAt mode\nconst initialIndex=React.useMemo(()=>{if(startAt===\"End\")return maxIndex;return 0;},[startAt,maxIndex]);React.useEffect(()=>{if(isCanvas)return;if(itemCount>0){goTo(initialIndex,false);}},[initialIndex,itemCount,isCanvas,goTo]);React.useEffect(()=>{if(isCanvas)return;if(loop)return;if(activeIndex>maxIndex){goToRef.current(maxIndex,true);}},[maxIndex,loop,isCanvas,activeIndex]);React.useEffect(()=>{if(isCanvas)return;if(slideSize<=0)return;const target=calcTargetTranslate(activeIndex);setTranslate(target);},[slideSize,activeIndex,calcTargetTranslate,setTranslate,isCanvas]);React.useEffect(()=>{if(!autoPlay||isCanvas||itemCount<=itemsPerView||reducedMotion)return;if(pauseOnHover&&isActive)return;const ms=clamp(interval,.5,30)*1e3;const t=window.setInterval(()=>goToRef.current(activeIndexRef.current+1,true),ms);return()=>window.clearInterval(t);},[autoPlay,interval,itemCount,itemsPerView,isActive,pauseOnHover,isCanvas,reducedMotion]);const handleKeyDown=React.useCallback(e=>{if(!navigation.keyboard||isCanvas)return;const tag=e.target?.tagName?.toLowerCase();if(tag===\"input\"||tag===\"textarea\"||tag===\"select\")return;if(e.target?.isContentEditable)return;const keys=isVertical?{prev:\"ArrowUp\",next:\"ArrowDown\"}:{prev:\"ArrowLeft\",next:\"ArrowRight\"};if(e.key===keys.prev){e.preventDefault();goPrev();}else if(e.key===keys.next){e.preventDefault();goNext();}},[navigation.keyboard,isCanvas,isVertical,goPrev,goNext]);// ============================================\n// DRAG\n// ============================================\nconst dragRef=React.useRef({dragging:false,startPos:0,startTranslate:0,lastPos:0,lastTime:0,velocity:0,moved:false,captured:false});const trackRef=React.useRef(null);const wheelRef=React.useRef({accum:0,lastStepAt:0,quietId:0});// Track click-suppress timer + listener so unmount cleans them up.\nconst clickSuppressTimeoutRef=React.useRef(null);const clickSuppressListenerRef=React.useRef(null);React.useEffect(()=>{return()=>{controlsRef.current?.stop();if(clickSuppressTimeoutRef.current!=null){window.clearTimeout(clickSuppressTimeoutRef.current);}if(clickSuppressListenerRef.current){window.removeEventListener(\"click\",clickSuppressListenerRef.current,{capture:true});}};},[]);const getCurrentTranslate=()=>isVertical?y.get():x.get();const onPointerDown=e=>{if(!draggable||isCanvas)return;controlsRef.current?.stop();const pos=isVertical?e.clientY:e.clientX;const now=performance.now();dragRef.current.dragging=true;dragRef.current.startPos=pos;dragRef.current.startTranslate=getCurrentTranslate();dragRef.current.lastPos=pos;dragRef.current.lastTime=now;dragRef.current.velocity=0;dragRef.current.moved=false;dragRef.current.captured=false;React.startTransition(()=>{setIsDragging(true);});// Don't capture the pointer yet. Capturing on pointerdown redirects\n// the follow-up `click` event to this track (Chrome/Edge behavior),\n// which swallows clicks on CMS item links. We only capture once an\n// actual drag starts (see onPointerMove), so plain taps fall through\n// to the link underneath.\n};const onPointerMove=e=>{if(!dragRef.current.dragging)return;const pos=isVertical?e.clientY:e.clientX;const diff=pos-dragRef.current.startPos;if(Math.abs(diff)>DRAG_MOVE_THRESHOLD_PX){dragRef.current.moved=true;// Now that it's a real drag, capture the pointer so we keep\n// receiving moves even if the cursor leaves the track.\nif(!dragRef.current.captured){try{e.currentTarget.setPointerCapture(e.pointerId);dragRef.current.captured=true;}catch{}}}const now=performance.now();const dt=now-dragRef.current.lastTime;if(dt>0){dragRef.current.velocity=(pos-dragRef.current.lastPos)/dt;}dragRef.current.lastTime=now;dragRef.current.lastPos=pos;const maxTranslateAbs=navigation.step===\"Page\"?maxIndex*itemsPerView*slideSize:maxIndex*slideSize;let nextTranslate=dragRef.current.startTranslate+diff;const minTranslate=isReversed?0:-maxTranslateAbs;const maxTranslate=isReversed?maxTranslateAbs:0;if(nextTranslate>maxTranslate)nextTranslate=maxTranslate+(nextTranslate-maxTranslate)*DRAG_RESIST;else if(nextTranslate<minTranslate)nextTranslate=minTranslate+(nextTranslate-minTranslate)*DRAG_RESIST;setTranslate(nextTranslate);};const onPointerUp=e=>{if(!dragRef.current.dragging)return;dragRef.current.dragging=false;React.startTransition(()=>{setIsDragging(false);});if(dragRef.current.captured){try{e.currentTarget.releasePointerCapture(e.pointerId);}catch{}dragRef.current.captured=false;}if(!dragRef.current.moved)return;const v=dragRef.current.velocity;const currentT=getCurrentTranslate();const projection=clamp(v,-DRAG_VELOCITY_CLAMP,DRAG_VELOCITY_CLAMP)*DRAG_PROJECTION_MULTIPLIER;const projected=currentT+projection;const safeSlideSize=Math.max(1,slideSize);const signedProjected=isReversed?projected:-projected;let targetIndex=0;if(navigation.step===\"Page\"){const pageSize=itemsPerView*safeSlideSize;targetIndex=Math.round(signedProjected/Math.max(1,pageSize));}else{targetIndex=Math.round(signedProjected/safeSlideSize);}targetIndex=loop?(targetIndex%(maxIndex+1)+(maxIndex+1))%(maxIndex+1):clamp(targetIndex,0,maxIndex);goTo(targetIndex,true);const preventClick=ev=>{ev.preventDefault();ev.stopPropagation();};clickSuppressListenerRef.current=preventClick;window.addEventListener(\"click\",preventClick,{capture:true,once:true});if(clickSuppressTimeoutRef.current!=null){window.clearTimeout(clickSuppressTimeoutRef.current);}clickSuppressTimeoutRef.current=window.setTimeout(()=>{window.removeEventListener(\"click\",preventClick,{capture:true});clickSuppressListenerRef.current=null;clickSuppressTimeoutRef.current=null;},CLICK_SUPPRESS_MS);};// Trackpad / Magic Mouse two-finger swipe → step per gesture.\n// Native listener with passive:false so we can preventDefault and avoid the\n// browser swallowing the gesture as a history navigation.\nReact.useEffect(()=>{if(isFrozen||!draggable)return;const node=trackRef.current;if(!node)return;const handler=e=>{if(dragRef.current.dragging)return;const primary=isVertical?e.deltaY:e.deltaX;const perpendicular=isVertical?e.deltaX:e.deltaY;// Let the page scroll when the user's intent is on the other axis.\nif(Math.abs(primary)<=Math.abs(perpendicular))return;if(Math.abs(primary)<1)return;e.preventDefault();const now=performance.now();if(now-wheelRef.current.lastStepAt>WHEEL_COOLDOWN_MS){wheelRef.current.accum+=primary;}if(wheelRef.current.quietId){window.clearTimeout(wheelRef.current.quietId);}wheelRef.current.quietId=window.setTimeout(()=>{wheelRef.current.accum=0;},WHEEL_QUIET_MS);if(Math.abs(wheelRef.current.accum)>=WHEEL_STEP_THRESHOLD){const dir=wheelRef.current.accum>0?1:-1;wheelRef.current.accum=0;wheelRef.current.lastStepAt=now;controlsRef.current?.stop();const current=activeIndexRef.current;const proposed=current+dir;const total=maxIndex+1;const target=loop?(proposed%total+total)%total:clamp(proposed,0,maxIndex);goToRef.current(target,true);}};node.addEventListener(\"wheel\",handler,{passive:false});return()=>{node.removeEventListener(\"wheel\",handler);if(wheelRef.current.quietId){window.clearTimeout(wheelRef.current.quietId);wheelRef.current.quietId=0;}};},[isFrozen,draggable,isVertical,maxIndex,loop]);// ============================================\n// RENDER HELPERS\n// ============================================\nconst arrowBtnStyle=React.useMemo(()=>{const useFill=arrows.variant===\"Fill\"||arrows.variant===\"Both\";const useBorder=arrows.variant===\"Outline\"||arrows.variant===\"Both\";return{width:arrows.size,height:arrows.size,borderRadius:arrows.radius,background:useFill?arrows.backdrop:\"transparent\",color:arrows.fill,display:\"flex\",alignItems:\"center\",justifyContent:\"center\",border:useBorder?`${arrows.borderWidth}px solid ${arrows.borderColor}`:\"none\",padding:0,margin:0,boxSizing:\"border-box\",font:\"inherit\",lineHeight:0,cursor:\"pointer\",transition:\"opacity 0.2s ease, transform 0.15s ease\",opacity:showArrowsNow?1:0,pointerEvents:isCanvas?\"none\":showArrowsNow?\"auto\":\"none\",// Ohne eigenen Schatten trotzdem sichtbar bleiben: heller Kreis auf\n// hellem Grund braucht einen Ring, dunkler Kreis auf dunklem Grund ebenso.\nboxShadow:arrows.shadow?`0 4px ${arrows.shadowBlur}px ${arrows.shadowColor}`:useFill?isLightColor(arrows.backdrop)?\"0 0 0 1px rgba(0,0,0,0.14), 0 2px 8px rgba(0,0,0,0.12)\":\"0 0 0 1px rgba(255,255,255,0.28), 0 2px 8px rgba(0,0,0,0.18)\":\"none\",flexShrink:0,appearance:\"none\",WebkitAppearance:\"none\"};},[arrows.size,arrows.radius,arrows.backdrop,arrows.fill,arrows.variant,arrows.borderWidth,arrows.borderColor,arrows.shadow,arrows.shadowBlur,arrows.shadowColor,showArrowsNow,isCanvas]);// Position style for an arrow container.\n// For Split, each arrow gets its own container anchored to its edge\n// (pass \"prev\"/\"next\"). For Grouped, one shared container holds\n// both arrows. Inline arrows render in-flow below/above the cards.\nconst getArrowPositionStyle=side=>{const isSplit=arrows.type===\"Split\";const base=computeAlignmentStyle({alignment:arrows.alignment,inset:arrows.inset,offX:arrows.offsetX,offY:arrows.offsetY,splitSide:isSplit?side:undefined});return{...base,display:\"flex\",flexDirection:\"row\",alignItems:\"center\",pointerEvents:\"none\",gap:isSplit?undefined:arrows.gap};};const renderIcon=type=>{const customSrc=type===\"prev\"?arrows.prevImage:arrows.nextImage;const DefaultSvg=type===\"prev\"?ChevronLeft:ChevronRight;let rotation=\"0deg\";if(!customSrc&&isVertical)rotation=\"90deg\";if(customSrc){return /*#__PURE__*/_jsx(\"img\",{src:customSrc,style:{width:\"100%\",height:\"100%\",objectFit:\"contain\",pointerEvents:\"none\"},alt:\"\",\"aria-hidden\":\"true\"});}return /*#__PURE__*/_jsx(\"div\",{style:{transform:`rotate(${rotation})`,display:\"flex\"},children:/*#__PURE__*/_jsx(DefaultSvg,{size:arrows.size,color:arrows.fill})});};// ============================================\n// PAGINATION CONTENT\n// ============================================\nconst renderPaginationContent=(relativeToChildren=false)=>{if(dots.type===\"None\")return null;if(dots.type===\"Dots\"){const compact=dots.compact&&dotCount>dots.compactVisible;const visible=Math.max(1,Math.min(dots.compactVisible,dotCount));const slotSize=dots.size+dots.gap;const stripWidth=visible*dots.size+(visible-1)*dots.gap;const halfVis=Math.floor(visible/2);const windowStart=compact?clamp(safeActiveIndex-halfVis,0,dotCount-visible):0;const windowEnd=windowStart+visible-1;const translate=compact?-windowStart*slotSize:0;const isInWindow=i=>!compact||i>=windowStart&&i<=windowEnd;const getDotScale=i=>i===safeActiveIndex?ACTIVE_DOT_SCALE:1;const getDotOpacity=i=>{if(!isInWindow(i))return 0;if(i===safeActiveIndex)return 1;return dots.opacity;};const dotButtons=Array.from({length:dotCount}).map((_,i)=>/*#__PURE__*/_jsx(\"button\",{type:\"button\",onClick:e=>{e.stopPropagation();goTo(i,true);},role:\"tab\",\"aria-selected\":i===safeActiveIndex,\"aria-label\":`${navigation.step===\"Page\"?\"Seite\":\"Eintrag\"} ${i+1}`,style:{borderRadius:\"50%\",border:\"none\",padding:0,cursor:\"pointer\",transition:\"transform 0.35s cubic-bezier(0.32, 0.72, 0, 1), opacity 0.3s ease, background 0.2s ease\",width:dots.size,height:dots.size,flexShrink:0,background:i===safeActiveIndex?dots.activeFill:dots.fill,opacity:getDotOpacity(i),transform:`scale(${getDotScale(i)})`}},i));return /*#__PURE__*/_jsx(\"div\",{style:{display:\"flex\",alignItems:\"center\",justifyContent:compact?\"flex-start\":\"center\",padding:dots.padding,borderRadius:dots.radius,background:dots.backdrop,backdropFilter:dots.blur>0?`blur(${dots.blur}px)`:undefined,pointerEvents:isCanvas?\"none\":\"auto\",overflow:compact?\"hidden\":\"visible\",width:compact?stripWidth+dots.padding*2:undefined,boxSizing:\"border-box\"},role:\"tablist\",\"aria-label\":\"Navigation der Eintr\\xe4ge\",children:/*#__PURE__*/_jsx(\"div\",{style:{display:\"flex\",alignItems:\"center\",gap:dots.gap,transform:`translateX(${translate}px)`,transition:compact?\"transform 0.35s cubic-bezier(0.32, 0.72, 0, 1)\":undefined,flexShrink:0},children:dotButtons})});}if(dots.type===\"Progress\"){const total=Math.max(1,dotCount);const progressWidth=relativeToChildren?\"100%\":dots.progressWidth;// Compact = Instagram-story segmented bar, one segment per slide.\nif(dots.compact){const segmentGap=3;return /*#__PURE__*/_jsx(\"div\",{style:{width:progressWidth,display:\"flex\",gap:segmentGap,pointerEvents:isCanvas?\"none\":\"auto\"},role:\"tablist\",\"aria-label\":\"Navigation der Eintr\\xe4ge\",children:Array.from({length:total}).map((_,i)=>/*#__PURE__*/_jsx(\"button\",{type:\"button\",onClick:e=>{e.stopPropagation();goTo(i,true);},role:\"tab\",\"aria-selected\":i===safeActiveIndex,\"aria-label\":`${navigation.step===\"Page\"?\"Seite\":\"Eintrag\"} ${i+1}`,style:{flex:1,minWidth:0,height:PROGRESS_BAR_HEIGHT,padding:0,border:\"none\",cursor:\"pointer\",borderRadius:dots.radius,background:i<=safeActiveIndex?dots.activeFill:dots.backdrop,backdropFilter:dots.blur>0?`blur(${dots.blur}px)`:undefined,transition:\"background 0.3s ease\"}},i))});}// Continuous fill — use scaleX so it stays on the compositor.\nreturn /*#__PURE__*/_jsx(\"div\",{style:{width:progressWidth,height:PROGRESS_BAR_HEIGHT,background:dots.backdrop,borderRadius:dots.radius,overflow:\"hidden\",backdropFilter:dots.blur>0?`blur(${dots.blur}px)`:undefined,pointerEvents:isCanvas?\"none\":\"auto\"},children:/*#__PURE__*/_jsx(motion.div,{style:{width:\"100%\",height:\"100%\",background:dots.activeFill,transformOrigin:\"left center\"},animate:{scaleX:(safeActiveIndex+1)/total},transition:animationOptions})});}if(dots.type===\"Numbers\"){return /*#__PURE__*/_jsxs(\"div\",{style:{padding:`${dots.padding*.5}px ${dots.padding}px`,background:dots.backdrop,borderRadius:dots.radius,backdropFilter:dots.blur>0?`blur(${dots.blur}px)`:undefined,fontFamily:\"inherit\",fontSize:13,fontWeight:500,color:dots.fill,display:\"flex\",gap:4,pointerEvents:isCanvas?\"none\":\"auto\"},children:[/*#__PURE__*/_jsx(\"span\",{style:{color:dots.activeFill},children:safeActiveIndex+1}),/*#__PURE__*/_jsx(\"span\",{children:\"/\"}),/*#__PURE__*/_jsx(\"span\",{children:dotCount})]});}return null;};// ============================================\n// IN-FLOW ROW LAYOUT\n// ============================================\n// Pagination and Inline-arrow rows stay in normal document flow.\n// Standalone pagination is padded to the same content box as the CMS\n// children; progress bars fill that relative width instead of a fixed\n// absolute overlay.\nconst isPaginationTop=dots.alignment.includes(\"Top\");const isInlineTop=arrows.alignment.includes(\"Top\");const showInlineRow=arrows.show&&showNav&&arrows.type===\"Inline\";const showStandalonePagination=!showInlineRow&&showNav&&dots.type!==\"None\";const horizontalJustify=a=>a.includes(\"Left\")?\"flex-start\":a.includes(\"Right\")?\"flex-end\":\"center\";const paginationRowStyle={position:\"relative\",zIndex:11,display:\"flex\",width:\"100%\",alignItems:\"center\",justifyContent:horizontalJustify(dots.alignment),marginTop:isPaginationTop?0:dots.inset,marginBottom:isPaginationTop?dots.inset:0,transform:dots.offsetX||dots.offsetY?`translate(${dots.offsetX}px, ${dots.offsetY}px)`:undefined};const childrenOverflowAfter=childrenFrame?Math.max(0,childrenFrame.bottom-childrenViewportHeight):0;const standalonePaginationRowStyle={...paginationRowStyle,marginTop:isPaginationTop?paginationRowStyle.marginTop:dots.inset+childrenOverflowAfter,...childrenFrame?{width:childrenFrame.width,marginLeft:childrenFrame.left}:{paddingLeft:layout.padding,paddingRight:layout.padding},boxSizing:\"border-box\"};const inlineRowOuterStyle={position:\"relative\",zIndex:11,display:\"flex\",width:\"100%\",alignItems:\"center\",justifyContent:horizontalJustify(arrows.alignment),marginTop:isInlineTop?0:arrows.inset,marginBottom:isInlineTop?arrows.inset:0,transform:arrows.offsetX||arrows.offsetY?`translate(${arrows.offsetX}px, ${arrows.offsetY}px)`:undefined,pointerEvents:\"none\"};const inlineRowInnerStyle={display:\"flex\",flexDirection:\"row\",alignItems:\"center\",gap:arrows.gap};// ============================================\n// CENTER FOCUS\n// ============================================\nconst trackClass=`cms-slider-track-${instanceId}`;const centerIndex=React.useMemo(()=>{if(!centerFocus.enabled)return-1;if(navigation.step===\"Page\"){const pageStart=activeIndex*itemsPerView;return pageStart+Math.floor(itemsPerView/2);}return activeIndex+Math.floor(itemsPerView/2);},[centerFocus.enabled,activeIndex,itemsPerView,navigation.step]);const centerFocusCSS=React.useMemo(()=>{if(!centerFocus.enabled||itemCount===0)return\"\";const rules=[];const speed=centerFocus.transitionSpeed;// Default rule for all items: inactive state\nrules.push(`\n          .${trackClass} > * > * {\n            transition: transform ${speed}s ease, opacity ${speed}s ease, filter ${speed}s ease !important;\n            opacity: ${centerFocus.inactiveOpacity} !important;\n            transform: scale(${centerFocus.inactiveScale}) translateZ(0) !important;\n            transform-origin: center center !important;\n          }\n        `);// Active center item override\nif(centerIndex>=0&&centerIndex<itemCount){rules.push(`\n              .${trackClass} > * > *:nth-child(${centerIndex+1}) {\n                opacity: 1 !important;\n                transform: scale(${centerFocus.activeScale}) translateZ(0) !important;\n              }\n            `);}return rules.join(\"\\n\");},[centerFocus.enabled,centerFocus.transitionSpeed,centerFocus.inactiveOpacity,centerFocus.inactiveScale,centerFocus.activeScale,centerIndex,itemCount,trackClass]);// ============================================\n// CSS VARS + CSS\n// ============================================\nconst alignMap={Start:\"flex-start\",Center:\"center\",End:\"flex-end\",Stretch:\"stretch\"};const flexAlign=alignMap[itemAlign]||\"stretch\";const cssVars=React.useMemo(()=>({\"--slider-gap\":`${layout.gap}px`,\"--slider-items\":`${itemsPerView}`,\"--flex-dir\":isVertical?\"column\":\"row\",\"--slider-align\":flexAlign}),[layout.gap,itemsPerView,isVertical,flexAlign]);const css=React.useMemo(()=>`\n      .${trackClass} {\n        will-change: transform;\n        backface-visibility: hidden;\n        -webkit-backface-visibility: hidden;\n      }\n      .${trackClass} > * {\n        display: flex !important;\n        flex-direction: var(--flex-dir) !important;\n        flex-wrap: nowrap !important;\n        justify-content: flex-start !important;\n        align-items: var(--slider-align) !important;\n        width: 100% !important;\n        height: ${shouldFillFrame?\"100%\":\"auto\"} !important;\n        gap: var(--slider-gap) !important;\n        grid-template-columns: none !important;\n        box-sizing: border-box !important;\n      }\n      .${trackClass} > * > * {\n        --total-gap: calc((var(--slider-items) - 1) * var(--slider-gap));\n        --item-size: calc((100% - var(--total-gap)) / var(--slider-items));\n\n        flex: 0 0 var(--item-size) !important;\n\n        ${isVertical?\"height: var(--item-size) !important;\":\"width: var(--item-size) !important;\"}\n        ${isVertical?\"min-height: var(--item-size) !important;\":\"min-width: var(--item-size) !important;\"}\n        ${shouldFillFrame?isVertical?\"width: 100% !important;\":\"height: 100% !important;\":\"\"}\n        ${layout.aspectRatio>0?`aspect-ratio: ${layout.aspectRatio} !important;`:\"\"}\n        ${layout.aspectRatio>0&&!isVertical&&!shouldFillFrame?\"height: auto !important;\":\"\"}\n        ${layout.aspectRatio>0&&isVertical&&!shouldFillFrame?\"width: auto !important;\":\"\"}\n        max-width: none !important;\n        max-height: none !important;\n\n        margin: 0 !important;\n        flex-shrink: 0 !important;\n        box-sizing: border-box !important;\n        transform: translateZ(0);\n      }\n      .${trackClass} > * > * > *:only-child {\n        width: 100% !important;\n        ${shouldFillFrame?\"height: 100% !important;\":\"\"}\n        min-height: 0 !important;\n        flex: 1 1 auto !important;\n      }\n      .${trackClass} a {\n        cursor: pointer !important;\n        user-select: none !important;\n        -webkit-user-drag: none !important;\n        pointer-events: auto !important;\n      }\n      .${trackClass} img {\n        pointer-events: none !important;\n        -webkit-user-drag: none !important;\n        user-drag: none !important;\n      }\n    `,[trackClass,isVertical,shouldFillFrame,layout.aspectRatio]);// ============================================\n// APPEAR EFFECT\n// ============================================\n// CSS-driven appear: same HTML on SSR/CSR, browser plays the animation\n// on first paint, no JS opacity gate to get stuck. The animation also\n// hides Framer's \"scattered flash\" under opacity:0 while it ramps up.\nconst appearAnimName=`cmsslider-appear-${instanceId}`;// Center focus uses !important on opacity/transform for items, which\n// overrides CSS animations entirely (per CSS Animations spec). So when\n// center focus is on, Stagger mode silently falls back to All Together —\n// the outer container animates instead of items, and nothing conflicts.\nconst effectiveAppearMode=centerFocus.enabled?\"All Together\":appear.mode;const appearKeyframes=React.useMemo(()=>{const t=appear.type;if(t===\"None\"||reducedMotion)return\"\";const d=appear.distance;let from=\"opacity: 0;\";// Reset only what `from` touched — leaves transform/filter alone\n// when not used, so other rules keep their value.\nlet to=\"opacity: 1;\";if(t===\"Slide Up\"){from+=` transform: translateY(${d}px);`;to+=` transform: translateY(0);`;}else if(t===\"Slide Down\"){from+=` transform: translateY(-${d}px);`;to+=` transform: translateY(0);`;}else if(t===\"Scale\"){from+=` transform: scale(0.96);`;to+=` transform: scale(1);`;}else if(t===\"Blur\"){from+=` filter: blur(10px);`;to+=` filter: none;`;}return`@keyframes ${appearAnimName} {\n            from { ${from} }\n            to { ${to} }\n        }`;},[appear.type,appear.distance,appearAnimName,reducedMotion]);const appearStyle=React.useMemo(()=>appear.type===\"None\"||reducedMotion||effectiveAppearMode!==\"All Together\"?{}:{// Hold the from-state inline so first paint matches the\n    // animation start, even on browsers that don't apply the\n    // keyframes' from on first frame.\n    opacity:0,animation:`${appearAnimName} ${appear.duration}s cubic-bezier(0.32, 0.72, 0, 1) both`},[appear.type,reducedMotion,effectiveAppearMode,appearAnimName,appear.duration]);const itemAppearCSS=React.useMemo(()=>{if(appear.type===\"None\"||effectiveAppearMode!==\"Stagger\"||reducedMotion)return\"\";const cap=Math.min(itemCount>0?itemCount:STAGGER_CAP,STAGGER_CAP);const stagger=Math.max(0,appear.stagger);const delayRules=Array.from({length:cap}).map((_,i)=>`.${trackClass} > * > *:nth-child(${i+1}) { animation-delay: ${(i*stagger).toFixed(3)}s; }`).join(\"\\n\");return`\n            .${trackClass} > * > * {\n                opacity: 0;\n                animation: ${appearAnimName} ${appear.duration}s cubic-bezier(0.32, 0.72, 0, 1) both;\n            }\n            ${delayRules}\n        `;},[appear.type,effectiveAppearMode,appear.duration,appear.stagger,reducedMotion,itemCount,trackClass,appearAnimName]);const styleSheet=React.useMemo(()=>`${css}\n          [data-cms-slider]:focus-visible {\n              outline: 2px solid #4c8eff;\n              outline-offset: -2px;\n          }\n          [data-cms-slider]:focus:not(:focus-visible) {\n              outline: none;\n          }\n          ${appearKeyframes}\n          ${itemAppearCSS}\n        `,[css,appearKeyframes,itemAppearCSS]);// ============================================\n// RENDER\n// ============================================\nif(!content){return /*#__PURE__*/_jsxs(\"div\",{style:{width:\"100%\",height:\"100%\",minWidth:200,minHeight:200,display:\"flex\",flexDirection:\"column\",alignItems:\"center\",justifyContent:\"center\",backgroundColor:\"#EBEAF9\",color:\"#8855FF\",fontFamily:\"inherit\",textAlign:\"center\",padding:12,boxSizing:\"border-box\",overflow:\"hidden\"},children:[/*#__PURE__*/_jsx(\"div\",{style:{fontSize:14,fontWeight:600,marginBottom:6},children:\"Connect to Content\"}),/*#__PURE__*/_jsx(\"div\",{style:{fontSize:12,color:\"#9999AA\",maxWidth:200,lineHeight:1.4},children:\"Add layers or components to make infinite slides.\"})]});}return /*#__PURE__*/_jsxs(\"div\",{style:{...style,position:\"relative\",display:\"flex\",flexDirection:\"column\",width:\"100%\",height:shouldFillFrame?\"100%\":\"auto\",...cssVars,minWidth:200,minHeight:shouldFillFrame?200:0,...isReady?appearStyle:{opacity:0}},onMouseEnter:()=>{React.startTransition(()=>{setIsHovered(true);});},onMouseLeave:()=>{React.startTransition(()=>{setIsHovered(false);});},onFocus:()=>{React.startTransition(()=>{setIsFocused(true);});},onBlur:e=>{if(!e.currentTarget.contains(e.relatedTarget)){React.startTransition(()=>{setIsFocused(false);});}},onKeyDown:handleKeyDown,tabIndex:0,\"data-cms-slider\":true,role:\"region\",\"aria-roledescription\":\"carousel\",\"aria-label\":\"Carousel\",children:[/*#__PURE__*/_jsx(\"style\",{children:styleSheet}),centerFocusCSS&&/*#__PURE__*/_jsx(\"style\",{children:centerFocusCSS}),/*#__PURE__*/_jsx(\"div\",{\"aria-live\":\"polite\",\"aria-atomic\":\"true\",style:{position:\"absolute\",width:1,height:1,overflow:\"hidden\",clip:\"rect(0,0,0,0)\",whiteSpace:\"nowrap\",border:0},children:`${navigation.step===\"Page\"?\"Page\":\"Slide\"} ${safeActiveIndex+1} of ${dotCount}`}),showInlineRow&&isInlineTop&&/*#__PURE__*/_jsx(\"div\",{style:inlineRowOuterStyle,children:/*#__PURE__*/_jsxs(\"div\",{style:inlineRowInnerStyle,children:[/*#__PURE__*/_jsx(\"button\",{type:\"button\",onClick:e=>{e.stopPropagation();goPrev();},style:prevDisabled?{...arrowBtnStyle,...disabledArrowStyle}:arrowBtnStyle,disabled:prevDisabled,\"aria-label\":\"Vorheriger Eintrag\",children:renderIcon(\"prev\")}),dots.type!==\"None\"&&renderPaginationContent(),/*#__PURE__*/_jsx(\"button\",{type:\"button\",onClick:e=>{e.stopPropagation();goNext();},style:nextDisabled?{...arrowBtnStyle,...disabledArrowStyle}:arrowBtnStyle,disabled:nextDisabled,\"aria-label\":\"N\\xe4chster Eintrag\",children:renderIcon(\"next\")})]})}),/*#__PURE__*/_jsxs(\"div\",{style:{position:\"relative\",flex:shouldFillFrame?\"1 1 auto\":\"0 0 auto\",minHeight:0,minWidth:0},children:[showStandalonePagination&&isPaginationTop&&/*#__PURE__*/_jsx(\"div\",{style:standalonePaginationRowStyle,children:renderPaginationContent(true)}),/*#__PURE__*/_jsx(\"div\",{ref:containerRef,style:{width:\"100%\",height:shouldFillFrame?\"100%\":\"auto\",position:\"relative\",overflow:\"visible\",// Clip only the scroll axis so off-screen track cards\n// stay hidden, while shadows / hover scale /\n// center-focus bleed perpendicular to it. Center-focus\n// disables clipping so the active card can scale past\n// every edge. `layout.bleed` lets off-screen cards peek\n// past the trailing edge (Right) or both edges (Both).\nclipPath:centerFocus.enabled||layout.bleed===\"Both\"?undefined:layout.bleed===\"Right\"?isVertical?\"inset(0 -9999px -9999px -9999px)\":\"inset(-9999px -9999px -9999px 0)\":isVertical?\"inset(0 -9999px)\":\"inset(-9999px 0)\",padding:layout.padding,boxSizing:\"border-box\"},children:isFrozen?/*#__PURE__*/_jsx(\"div\",{className:trackClass,style:{display:\"flex\",flexDirection:isVertical?\"column\":\"row\",width:\"100%\",height:shouldFillFrame?\"100%\":\"auto\"},children:normalizedContent}):/*#__PURE__*/_jsx(motion.div,{ref:trackRef,className:trackClass,onPointerDown:onPointerDown,onPointerMove:onPointerMove,onPointerUp:onPointerUp,style:{display:\"flex\",flexDirection:isVertical?\"column\":\"row\",width:\"100%\",height:shouldFillFrame?\"100%\":\"auto\",cursor:draggable?isDragging?\"grabbing\":\"grab\":\"default\",touchAction:isVertical?\"pan-x\":\"pan-y\",userSelect:\"none\",x:isVertical?undefined:x,y:isVertical?y:undefined},children:normalizedContent})}),arrows.show&&showNav&&arrows.type===\"Split\"&&/*#__PURE__*/_jsxs(_Fragment,{children:[/*#__PURE__*/_jsx(\"div\",{style:getArrowPositionStyle(\"prev\"),children:/*#__PURE__*/_jsx(\"button\",{type:\"button\",onClick:e=>{e.stopPropagation();goPrev();},style:prevDisabled?{...arrowBtnStyle,...disabledArrowStyle}:arrowBtnStyle,disabled:prevDisabled,\"aria-label\":\"Vorheriger Eintrag\",children:renderIcon(\"prev\")})}),/*#__PURE__*/_jsx(\"div\",{style:getArrowPositionStyle(\"next\"),children:/*#__PURE__*/_jsx(\"button\",{type:\"button\",onClick:e=>{e.stopPropagation();goNext();},style:nextDisabled?{...arrowBtnStyle,...disabledArrowStyle}:arrowBtnStyle,disabled:nextDisabled,\"aria-label\":\"N\\xe4chster Eintrag\",children:renderIcon(\"next\")})})]}),arrows.show&&showNav&&arrows.type===\"Grouped\"&&/*#__PURE__*/_jsxs(\"div\",{style:getArrowPositionStyle(),children:[/*#__PURE__*/_jsx(\"button\",{type:\"button\",onClick:e=>{e.stopPropagation();goPrev();},style:prevDisabled?{...arrowBtnStyle,...disabledArrowStyle}:arrowBtnStyle,disabled:prevDisabled,\"aria-label\":\"Vorheriger Eintrag\",children:renderIcon(\"prev\")}),/*#__PURE__*/_jsx(\"button\",{type:\"button\",onClick:e=>{e.stopPropagation();goNext();},style:nextDisabled?{...arrowBtnStyle,...disabledArrowStyle}:arrowBtnStyle,disabled:nextDisabled,\"aria-label\":\"N\\xe4chster Eintrag\",children:renderIcon(\"next\")})]}),showStandalonePagination&&!isPaginationTop&&/*#__PURE__*/_jsx(\"div\",{style:standalonePaginationRowStyle,children:renderPaginationContent(true)})]}),showInlineRow&&!isInlineTop&&/*#__PURE__*/_jsx(\"div\",{style:inlineRowOuterStyle,children:/*#__PURE__*/_jsxs(\"div\",{style:inlineRowInnerStyle,children:[/*#__PURE__*/_jsx(\"button\",{type:\"button\",onClick:e=>{e.stopPropagation();goPrev();},style:prevDisabled?{...arrowBtnStyle,...disabledArrowStyle}:arrowBtnStyle,disabled:prevDisabled,\"aria-label\":\"Vorheriger Eintrag\",children:renderIcon(\"prev\")}),dots.type!==\"None\"&&renderPaginationContent(),/*#__PURE__*/_jsx(\"button\",{type:\"button\",onClick:e=>{e.stopPropagation();goNext();},style:nextDisabled?{...arrowBtnStyle,...disabledArrowStyle}:arrowBtnStyle,disabled:nextDisabled,\"aria-label\":\"N\\xe4chster Eintrag\",children:renderIcon(\"next\")})]})})]});}CMSSlider.displayName=\"CMS Slider\";// ============================================\n// PROPERTY CONTROLS\n// ============================================\naddPropertyControls(CMSSlider,{content:{type:ControlType.ComponentInstance,title:\"Content\",description:\"Connect a Collection List.\"},direction:{type:ControlType.Enum,title:\"Direction\",options:[\"Left\",\"Right\",\"Up\",\"Down\"],defaultValue:\"Left\"},autoPlay:{type:ControlType.Boolean,title:\"Auto Play\",defaultValue:false},playback:{type:ControlType.Object,title:\"Playback\",controls:{interval:{type:ControlType.Number,title:\"Interval\",defaultValue:3,min:.5,max:30,step:.5,unit:\"s\"},pauseOnHover:{type:ControlType.Boolean,title:\"Pause On Hover\",defaultValue:true},loop:{type:ControlType.Boolean,title:\"Loop\",defaultValue:true,description:\"Wraps end → start.\"},startAt:{type:ControlType.Enum,title:\"Start At\",options:[\"Start\",\"End\"],defaultValue:\"Start\"}}},layout:{type:ControlType.Object,title:\"Layout\",controls:{items:{type:ControlType.Number,title:\"Items\",defaultValue:3,min:1,max:8,step:1,displayStepper:true,description:\"Cards shown in view.\"},gap:{type:ControlType.Number,title:\"Gap\",defaultValue:30,min:0,max:120,step:5,unit:\"px\"},padding:{type:ControlType.Number,title:\"Padding\",defaultValue:0,min:0,max:120,step:5,unit:\"px\"},fit:{type:ControlType.Enum,title:\"Fit\",options:[\"Fill\",\"Contain\"],defaultValue:\"Contain\",description:\"Fill stretches to the slider. Contain uses the card's own size.\"},align:{type:ControlType.Enum,title:\"Align\",options:[\"Start\",\"Center\",\"End\",\"Stretch\"],defaultValue:\"Stretch\",description:\"Position of cards when Fit is Contain.\"},aspectRatio:{type:ControlType.Number,title:\"Aspect Ratio\",defaultValue:0,min:0,max:10,step:.1,description:\"Per-card width \\xf7 height. 0 = off. Use with fit-content height in Framer (e.g. 1.5 = 3:2, 2 = 2:1).\"},bleed:{type:ControlType.Enum,title:\"Bleed\",options:[\"None\",\"Right\",\"Both\"],defaultValue:\"None\",description:\"Let off-screen cards peek past the slider edges. Use with a max-width parent so cards bleed into the page gutter.\"}}},centerFocus:{type:ControlType.Object,title:\"Center Focus\",controls:{enabled:{type:ControlType.Boolean,title:\"Enabled\",defaultValue:false,description:\"Scale up the center item.\"},activeScale:{type:ControlType.Number,title:\"Active Scale\",defaultValue:1.08,min:1,max:1.5,step:.02},inactiveScale:{type:ControlType.Number,title:\"Inactive Scale\",defaultValue:.92,min:.5,max:1,step:.02},inactiveOpacity:{type:ControlType.Number,title:\"Inactive Opacity\",defaultValue:.5,min:.1,max:1,step:.05},transitionSpeed:{type:ControlType.Number,title:\"Speed\",defaultValue:.35,min:.1,max:1,step:.05,unit:\"s\"}}},appear:{type:ControlType.Object,title:\"Appear\",controls:{type:{type:ControlType.Enum,title:\"Effect\",options:[\"None\",\"Fade\",\"Slide Up\",\"Slide Down\",\"Scale\",\"Blur\"],defaultValue:\"Fade\",description:\"Animation when the slider first becomes ready.\"},mode:{type:ControlType.Enum,title:\"Mode\",options:[\"Stagger\",\"All Together\"],defaultValue:\"Stagger\",description:\"Stagger cascades each card. All Together animates the whole slider.\",hidden:p=>p.type===\"None\"},stagger:{type:ControlType.Number,title:\"Stagger\",defaultValue:.06,min:0,max:.3,step:.02,unit:\"s\",description:\"Delay between each card.\",hidden:p=>p.type===\"None\"||p.mode!==\"Stagger\"},duration:{type:ControlType.Number,title:\"Duration\",defaultValue:.4,min:.1,max:2,step:.05,unit:\"s\",hidden:p=>p.type===\"None\"},distance:{type:ControlType.Number,title:\"Distance\",defaultValue:24,min:0,max:200,step:2,unit:\"px\",description:\"Slide distance when using a Slide effect.\",hidden:p=>p.type!==\"Slide Up\"&&p.type!==\"Slide Down\"}}},navigation:{type:ControlType.Object,title:\"Interaction\",controls:{step:{type:ControlType.Enum,title:\"Scroll Step\",options:[\"Single\",\"Page\"],optionTitles:[\"One Card\",\"Full Page\"],defaultValue:\"Single\"},draggable:{type:ControlType.Boolean,title:\"Draggable\",defaultValue:true},keyboard:{type:ControlType.Boolean,title:\"Keyboard\",defaultValue:true,description:\"Arrow keys.\"}}},animationOptions:{title:\"Animation\",type:ControlType.Transition,defaultValue:{type:\"spring\",stiffness:240,damping:28,mass:1}},arrows:{type:ControlType.Object,title:\"Arrows\",controls:{show:{type:ControlType.Boolean,title:\"Show\",defaultValue:true},type:{type:ControlType.Enum,title:\"Type\",options:[\"Split\",\"Grouped\",\"Inline\"],defaultValue:\"Split\",description:\"Inline puts arrows on either side of the pagination.\"},alignment:{type:ControlType.Enum,title:\"Alignment\",options:[\"Top Left\",\"Top Center\",\"Top Right\",\"Center Left\",\"Center Center\",\"Center Right\",\"Bottom Left\",\"Bottom Center\",\"Bottom Right\"],defaultValue:\"Center Center\"},prevImage:{type:ControlType.Image,title:\"Prev Icon\"},nextImage:{type:ControlType.Image,title:\"Next Icon\"},fill:{type:ControlType.Color,title:\"Icon Color\",defaultValue:\"#ffffff\"},variant:{type:ControlType.Enum,title:\"Style\",options:[\"Fill\",\"Outline\",\"Both\"],defaultValue:\"Fill\",displaySegmentedControl:true},backdrop:{type:ControlType.Color,title:\"Background\",defaultValue:\"#000000\",hidden:p=>p.variant===\"Outline\"},borderWidth:{type:ControlType.Number,title:\"Border Width\",defaultValue:1,min:0,max:8,step:.5,unit:\"px\",hidden:p=>p.variant===\"Fill\"},borderColor:{type:ControlType.Color,title:\"Border Color\",defaultValue:\"#ffffff\",hidden:p=>p.variant===\"Fill\"},size:{type:ControlType.Number,title:\"Size\",defaultValue:48,min:24,max:88,step:2,unit:\"px\"},radius:{type:ControlType.Number,title:\"Radius\",defaultValue:50,min:0,max:60,step:2,unit:\"px\"},fadeIn:{type:ControlType.Boolean,title:\"Hover Only\",defaultValue:false,description:\"Show arrows only on hover or focus.\"},inset:{type:ControlType.Number,title:\"Inset\",defaultValue:20,min:-200,max:200,step:5,unit:\"px\"},gap:{type:ControlType.Number,title:\"Gap\",defaultValue:10,min:0,max:50,step:1,unit:\"px\",description:\"When Grouped or Inline.\",hidden:p=>p.type===\"Split\"},offsetX:{type:ControlType.Number,title:\"Offset X\",defaultValue:0,min:-500,max:500,step:5,unit:\"px\",description:\"Split mirrors: positive moves both inward.\"},offsetY:{type:ControlType.Number,title:\"Offset Y\",defaultValue:0,min:-500,max:500,step:5,unit:\"px\"},shadow:{type:ControlType.Boolean,title:\"Shadow\",defaultValue:false},shadowColor:{type:ControlType.Color,title:\"Shadow Color\",defaultValue:\"rgba(0,0,0,0.2)\"},shadowBlur:{type:ControlType.Number,title:\"Shadow Blur\",defaultValue:10,min:0,max:50,step:1,unit:\"px\"}}},dots:{type:ControlType.Object,title:\"Pagination\",controls:{type:{type:ControlType.Enum,title:\"Type\",options:[\"Dots\",\"Progress\",\"Numbers\",\"None\"],optionTitles:[\"Dots\",\"Progress Bar\",\"Numbers\",\"None\"],defaultValue:\"Dots\"},alignment:{type:ControlType.Enum,title:\"Alignment\",options:[\"Top Left\",\"Top Center\",\"Top Right\",\"Center Left\",\"Center Center\",\"Center Right\",\"Bottom Left\",\"Bottom Center\",\"Bottom Right\"],defaultValue:\"Bottom Center\",description:\"Ignored when arrows are set to Inline.\"},size:{type:ControlType.Number,title:\"Size\",defaultValue:10,min:6,max:22,step:1,unit:\"px\"},inset:{type:ControlType.Number,title:\"Inset\",defaultValue:20,min:-120,max:120,step:5,unit:\"px\",description:\"Distance from the aligned edge.\"},offsetX:{type:ControlType.Number,title:\"Offset X\",defaultValue:0,min:-500,max:500,step:5,unit:\"px\"},offsetY:{type:ControlType.Number,title:\"Offset Y\",defaultValue:0,min:-500,max:500,step:5,unit:\"px\"},progressWidth:{type:ControlType.Number,title:\"Bar Width\",defaultValue:200,min:40,max:600,step:10,unit:\"px\",description:\"Inline progress width. Standalone progress fills the CMS children container.\"},compact:{type:ControlType.Boolean,title:\"Compact\",defaultValue:false,description:\"Window of dots that slides with the active one.\"},compactVisible:{type:ControlType.Number,title:\"Visible\",defaultValue:3,min:1,max:9,step:1,displayStepper:true,description:\"Max dots shown when Compact is on.\"},gap:{type:ControlType.Number,title:\"Gap\",defaultValue:8,min:2,max:24,step:1,unit:\"px\"},padding:{type:ControlType.Number,title:\"Padding\",defaultValue:10,min:0,max:28,step:1,unit:\"px\"},fill:{type:ControlType.Color,title:\"Inactive Color\",defaultValue:\"rgba(255,255,255,0.4)\"},activeFill:{type:ControlType.Color,title:\"Active Color\",defaultValue:\"#ffffff\"},backdrop:{type:ControlType.Color,title:\"Backdrop\",defaultValue:\"rgba(0,0,0,0.4)\"},radius:{type:ControlType.Number,title:\"Radius\",defaultValue:20,min:0,max:60,step:2,unit:\"px\"},opacity:{type:ControlType.Number,title:\"Opacity\",defaultValue:.5,min:.05,max:1,step:.05},blur:{type:ControlType.Number,title:\"Blur\",defaultValue:4,min:0,max:24,step:1,unit:\"px\",description:\"Backdrop blur.\"}}}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"CMSSlider\",\"slots\":[\"content\"],\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./CMSSliderPro.map"],"mappings":"A,6UAYA,SAASkC,GAAaC,EAAM,CAAC,IAAMZ,GAAGY,GAAO,GAAA,CAAI,KAAK,EAAMC,EAAE,sEAAsE,KAAKb,CAAC,EAAE,GAAGa,EAAwE,OAAzDA,EAAE,KAAK,IAAA,GAAU,EAAE,OAAOA,EAAE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