{"version":3,"file":"Slider.dRYgOUT0.mjs","names":["serializationHash","variantClassNames","transition1","Transition","React.useContext","React.useMemo","Variants","React.Fragment","getProps","createLayoutDependency","React.forwardRef","useRef","React.useId","SVG","ArrowAnimation","React.useContext","React.useMemo","React.Fragment","React.forwardRef","useRef","React.useId","React.useState","React.useRef","React.useCallback"],"sources":["https:/framerusercontent.com/modules/caPF8h7npfV738ExQ99g/3YPOXgh9cEOoVZJR3FHA/DuMu4cHqh.js","https:/framerusercontent.com/modules/7uXvPuOuWXeq3KiJSzqJ/bbz6OEMUvsSM8IYXJaUt/GM7DU3FhO.js","https:/framerusercontent.com/modules/RGoGnKDT4FTRupRQPQkG/LQtmMYVOk92GsPjMgger/Slider.js"],"sourcesContent":["// Generated by Framer (40d1ed3)\nimport{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import{addFonts,cx,SVG,useComponentViewport,useLocaleInfo,useVariantState,withCSS,withFX}from\"framer\";import{LayoutGroup,motion,MotionConfigContext}from\"framer-motion\";import*as React from\"react\";import{useRef}from\"react\";const MotionDivWithFX=withFX(motion.div);const serializationHash=\"framer-3luoK\";const variantClassNames={eyiplbCTX:\"framer-v-1rykznw\"};function addPropertyOverrides(overrides,...variants){const nextOverrides={};variants?.forEach(variant=>variant&&Object.assign(nextOverrides,overrides[variant]));return nextOverrides;}const transition1={bounce:.2,delay:0,duration:.4,type:\"spring\"};const transition2={delay:0,duration:1,ease:[.39,0,.6,1],type:\"tween\"};const animation={opacity:1,rotate:0,rotateX:0,rotateY:0,scale:1,skewX:0,skewY:0,x:3,y:0};const transformTemplate1=(_,t)=>`translateY(-50%) ${t}`;const animation1={opacity:1,rotate:0,rotateX:0,rotateY:0,scale:1,skewX:0,skewY:0,x:-3,y:0};const Transition=({value,children})=>{const config=React.useContext(MotionConfigContext);const transition=value??config.transition;const contextValue=React.useMemo(()=>({...config,transition}),[JSON.stringify(transition)]);return /*#__PURE__*/_jsx(MotionConfigContext.Provider,{value:contextValue,children:children});};const Variants=motion.create(React.Fragment);const getProps=({height,id,width,...props})=>{return{...props};};const createLayoutDependency=(props,variants)=>{if(props.layoutDependency)return variants.join(\"-\")+props.layoutDependency;return variants.join(\"-\");};const Component=/*#__PURE__*/React.forwardRef(function(props,ref){const fallbackRef=useRef(null);const refBinding=ref??fallbackRef;const defaultLayoutId=React.useId();const{activeLocale,setLocale}=useLocaleInfo();const componentViewport=useComponentViewport();const{style,className,layoutId,variant,...restProps}=getProps(props);const{baseVariant,classNames,clearLoadingGesture,gestureHandlers,gestureVariant,isLoading,setGestureState,setVariant,variants}=useVariantState({defaultVariant:\"eyiplbCTX\",ref:refBinding,variant,variantClassNames});const layoutDependency=createLayoutDependency(props,variants);const sharedStyleClassNames=[];const scopingClassNames=cx(serializationHash,...sharedStyleClassNames);return /*#__PURE__*/_jsx(LayoutGroup,{id:layoutId??defaultLayoutId,children:/*#__PURE__*/_jsx(Variants,{animate:variants,initial:false,children:/*#__PURE__*/_jsx(Transition,{value:transition1,children:/*#__PURE__*/_jsxs(motion.div,{...restProps,...gestureHandlers,className:cx(scopingClassNames,\"framer-1rykznw\",className,classNames),\"data-framer-name\":\"Variant 1\",layoutDependency:layoutDependency,layoutId:\"eyiplbCTX\",ref:refBinding,style:{...style},children:[/*#__PURE__*/_jsx(MotionDivWithFX,{__framer__loop:animation,__framer__loopEffectEnabled:true,__framer__loopPauseOffscreen:true,__framer__loopRepeatDelay:0,__framer__loopRepeatType:\"mirror\",__framer__loopTransition:transition2,__perspectiveFX:false,__smartComponentFX:true,__targetOpacity:1,className:\"framer-1pddpwj\",layoutDependency:layoutDependency,layoutId:\"BRv8Yoe_0\",transformTemplate:transformTemplate1,children:/*#__PURE__*/_jsx(SVG,{className:\"framer-1daxzik\",layoutDependency:layoutDependency,layoutId:\"WN8uSEnEG\",requiresOverflowVisible:true,svg:'<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" viewBox=\"0 0 5.185 12.315\" overflow=\"visible\"><path d=\"M 5.185 0 L 0 6.157 L 5.185 12.315\" fill=\"transparent\" stroke-width=\"2.5\" stroke=\"rgb(255, 255, 255)\"></path></svg>',withExternalLayout:true})}),/*#__PURE__*/_jsx(MotionDivWithFX,{__framer__loop:animation1,__framer__loopEffectEnabled:true,__framer__loopPauseOffscreen:true,__framer__loopRepeatDelay:0,__framer__loopRepeatType:\"mirror\",__framer__loopTransition:transition2,__perspectiveFX:false,__smartComponentFX:true,__targetOpacity:1,className:\"framer-1n3788f\",layoutDependency:layoutDependency,layoutId:\"ecUz9LJzg\",transformTemplate:transformTemplate1,children:/*#__PURE__*/_jsx(SVG,{className:\"framer-usb1tw\",layoutDependency:layoutDependency,layoutId:\"qHfDaIj6J\",requiresOverflowVisible:true,svg:'<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" viewBox=\"0 0 5.185 12.315\" overflow=\"visible\"><path d=\"M 0 12.315 L 5.185 6.158 L 0 0\" fill=\"transparent\" stroke-width=\"2.5\" stroke=\"rgb(255, 255, 255)\"></path></svg>',withExternalLayout:true})})]})})})});});const css=[\"@supports (aspect-ratio: 1) { body { --framer-aspect-ratio-supported: auto; } }\",\".framer-3luoK.framer-2993o0, .framer-3luoK .framer-2993o0 { display: block; }\",\".framer-3luoK.framer-1rykznw { align-content: center; align-items: center; display: flex; flex-direction: row; flex-wrap: nowrap; gap: 10px; height: 31px; justify-content: center; overflow: var(--overflow-clip-fallback, clip); padding: 0px; position: relative; width: 31px; }\",\".framer-3luoK .framer-1pddpwj { align-content: center; align-items: center; display: flex; flex: none; flex-direction: column; flex-wrap: nowrap; gap: 10px; height: min-content; justify-content: center; left: 3px; overflow: visible; padding: 0px; position: absolute; top: 52%; width: min-content; z-index: 1; }\",\".framer-3luoK .framer-1daxzik, .framer-3luoK .framer-usb1tw { height: 13px; position: relative; width: 5px; }\",\".framer-3luoK .framer-1n3788f { align-content: center; align-items: center; display: flex; flex: none; flex-direction: column; flex-wrap: nowrap; gap: 10px; height: min-content; justify-content: center; overflow: visible; padding: 0px; position: absolute; right: 3px; top: 52%; width: min-content; z-index: 1; }\"];/**\n * This is a generated Framer component.\n * @framerIntrinsicHeight 31\n * @framerIntrinsicWidth 31\n * @framerCanvasComponentVariantDetails {\"propertyName\":\"variant\",\"data\":{\"default\":{\"layout\":[\"fixed\",\"fixed\"]}}}\n * @framerImmutableVariables true\n * @framerDisplayContentsDiv false\n * @framerAutoSizeImages true\n * @framerComponentViewportWidth true\n * @framerColorSyntax true\n */const FramerDuMu4cHqh=withCSS(Component,css,\"framer-3luoK\");export default FramerDuMu4cHqh;FramerDuMu4cHqh.displayName=\"Arrow Icon\";FramerDuMu4cHqh.defaultProps={height:31,width:31};addFonts(FramerDuMu4cHqh,[{explicitInter:true,fonts:[]}],{supportsExplicitInterCodegen:true});\nexport const __FramerMetadata__ = {\"exports\":{\"Props\":{\"type\":\"tsType\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"default\":{\"type\":\"reactComponent\",\"name\":\"FramerDuMu4cHqh\",\"slots\":[],\"annotations\":{\"framerDisplayContentsDiv\":\"false\",\"framerComponentViewportWidth\":\"true\",\"framerIntrinsicHeight\":\"31\",\"framerAutoSizeImages\":\"true\",\"framerCanvasComponentVariantDetails\":\"{\\\"propertyName\\\":\\\"variant\\\",\\\"data\\\":{\\\"default\\\":{\\\"layout\\\":[\\\"fixed\\\",\\\"fixed\\\"]}}}\",\"framerImmutableVariables\":\"true\",\"framerColorSyntax\":\"true\",\"framerContractVersion\":\"1\",\"framerIntrinsicWidth\":\"31\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./DuMu4cHqh.map","// Generated by Framer (40d1ed3)\nimport{jsx as _jsx}from\"react/jsx-runtime\";import{addFonts,ComponentViewportProvider,cx,forwardLoader,getFonts,SmartComponentScopedContainer,useComponentViewport,useLocaleInfo,useVariantState,withCSS}from\"framer\";import{LayoutGroup,motion,MotionConfigContext}from\"framer-motion\";import*as React from\"react\";import{useRef}from\"react\";import ArrowAnimation from\"https://framerusercontent.com/modules/caPF8h7npfV738ExQ99g/3YPOXgh9cEOoVZJR3FHA/DuMu4cHqh.js\";const ArrowAnimationFonts=getFonts(ArrowAnimation);const enabledGestures={xCj7T5Azb:{pressed:true}};const serializationHash=\"framer-PwjVA\";const variantClassNames={xCj7T5Azb:\"framer-v-10ezs0h\"};function addPropertyOverrides(overrides,...variants){const nextOverrides={};variants?.forEach(variant=>variant&&Object.assign(nextOverrides,overrides[variant]));return nextOverrides;}const transition1={bounce:.2,delay:0,duration:.4,type:\"spring\"};const Transition=({value,children})=>{const config=React.useContext(MotionConfigContext);const transition=value??config.transition;const contextValue=React.useMemo(()=>({...config,transition}),[JSON.stringify(transition)]);return /*#__PURE__*/_jsx(MotionConfigContext.Provider,{value:contextValue,children:children});};const Variants=motion.create(React.Fragment);const getProps=({height,id,width,...props})=>{return{...props};};const createLayoutDependency=(props,variants)=>{if(props.layoutDependency)return variants.join(\"-\")+props.layoutDependency;return variants.join(\"-\");};const Component=/*#__PURE__*/React.forwardRef(function(props,ref){const fallbackRef=useRef(null);const refBinding=ref??fallbackRef;const defaultLayoutId=React.useId();const{activeLocale,setLocale}=useLocaleInfo();const componentViewport=useComponentViewport();const{style,className,layoutId,variant,...restProps}=getProps(props);const{baseVariant,classNames,clearLoadingGesture,gestureHandlers,gestureVariant,isLoading,setGestureState,setVariant,variants}=useVariantState({defaultVariant:\"xCj7T5Azb\",enabledGestures,ref:refBinding,variant,variantClassNames});const layoutDependency=createLayoutDependency(props,variants);const sharedStyleClassNames=[];const scopingClassNames=cx(serializationHash,...sharedStyleClassNames);return /*#__PURE__*/_jsx(LayoutGroup,{id:layoutId??defaultLayoutId,children:/*#__PURE__*/_jsx(Variants,{animate:variants,initial:false,children:/*#__PURE__*/_jsx(Transition,{value:transition1,children:/*#__PURE__*/_jsx(motion.div,{...restProps,...gestureHandlers,className:cx(scopingClassNames,\"framer-10ezs0h\",className,classNames),\"data-framer-name\":\"Variant 1\",layoutDependency:layoutDependency,layoutId:\"xCj7T5Azb\",ref:refBinding,style:{backdropFilter:\"blur(5px)\",backgroundColor:\"rgba(156, 156, 156, 0.12)\",borderBottomLeftRadius:90,borderBottomRightRadius:90,borderTopLeftRadius:90,borderTopRightRadius:90,WebkitBackdropFilter:\"blur(5px)\",...style},...addPropertyOverrides({\"xCj7T5Azb-pressed\":{\"data-framer-name\":undefined}},baseVariant,gestureVariant),children:/*#__PURE__*/_jsx(ComponentViewportProvider,{height:31,width:\"31px\",y:(componentViewport?.y||0)+(60+((componentViewport?.height||151)-120-31)/2),...addPropertyOverrides({\"xCj7T5Azb-pressed\":{y:(componentViewport?.y||0)+(40+((componentViewport?.height||111)-80-31)/2)}},baseVariant,gestureVariant),children:/*#__PURE__*/_jsx(SmartComponentScopedContainer,{className:\"framer-1nt78lw-container\",layoutDependency:layoutDependency,layoutId:\"iGwmV9fgf-container\",nodeId:\"iGwmV9fgf\",rendersWithMotion:true,scopeId:\"GM7DU3FhO\",children:/*#__PURE__*/_jsx(ArrowAnimation,{height:\"100%\",id:\"iGwmV9fgf\",layoutId:\"iGwmV9fgf\",style:{height:\"100%\",width:\"100%\"},width:\"100%\"})})})})})})});});const css=[\"@supports (aspect-ratio: 1) { body { --framer-aspect-ratio-supported: auto; } }\",\".framer-PwjVA.framer-mdpc6e, .framer-PwjVA .framer-mdpc6e { display: block; }\",\".framer-PwjVA.framer-10ezs0h { align-content: center; align-items: center; cursor: pointer; display: flex; flex-direction: row; flex-wrap: nowrap; gap: 10px; height: min-content; justify-content: center; overflow: var(--overflow-clip-fallback, clip); padding: 60px; position: relative; width: min-content; will-change: var(--framer-will-change-override, transform); }\",\".framer-PwjVA .framer-1nt78lw-container { flex: none; height: 31px; position: relative; width: 31px; }\",\".framer-PwjVA.framer-v-10ezs0h.pressed.framer-10ezs0h { padding: 40px; }\"];/**\n * This is a generated Framer component.\n * @framerIntrinsicHeight 151\n * @framerIntrinsicWidth 151\n * @framerCanvasComponentVariantDetails {\"propertyName\":\"variant\",\"data\":{\"default\":{\"layout\":[\"auto\",\"auto\"]},\"D3sHqZSjw\":{\"layout\":[\"auto\",\"auto\"]}}}\n * @framerImmutableVariables true\n * @framerDisplayContentsDiv false\n * @framerAutoSizeImages true\n * @framerComponentViewportWidth true\n * @framerColorSyntax true\n */const FramerGM7DU3FhO=withCSS(Component,css,\"framer-PwjVA\");export default FramerGM7DU3FhO;FramerGM7DU3FhO.displayName=\"Custom Cursor\";FramerGM7DU3FhO.defaultProps={height:151,width:151};addFonts(FramerGM7DU3FhO,[{explicitInter:true,fonts:[]},...ArrowAnimationFonts],{supportsExplicitInterCodegen:true});FramerGM7DU3FhO.loader={load:(props,context)=>{const locale=context.locale;return Promise.allSettled([forwardLoader(ArrowAnimation,{},context)]);}};\nexport const __FramerMetadata__ = {\"exports\":{\"Props\":{\"type\":\"tsType\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"default\":{\"type\":\"reactComponent\",\"name\":\"FramerGM7DU3FhO\",\"slots\":[],\"annotations\":{\"framerAutoSizeImages\":\"true\",\"framerDisplayContentsDiv\":\"false\",\"framerComponentViewportWidth\":\"true\",\"framerContractVersion\":\"1\",\"framerColorSyntax\":\"true\",\"framerCanvasComponentVariantDetails\":\"{\\\"propertyName\\\":\\\"variant\\\",\\\"data\\\":{\\\"default\\\":{\\\"layout\\\":[\\\"auto\\\",\\\"auto\\\"]},\\\"D3sHqZSjw\\\":{\\\"layout\\\":[\\\"auto\\\",\\\"auto\\\"]}}}\",\"framerIntrinsicWidth\":\"151\",\"framerIntrinsicHeight\":\"151\",\"framerImmutableVariables\":\"true\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}","import{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import*as React from\"react\";import{motion,useMotionValue,useTransform}from\"framer-motion\";import{addPropertyControls,ControlType,RenderTarget}from\"framer\";// === KONŠTANTY ===\nconst SCROLL_DEBOUNCE_MS=400;const CAROUSEL_TRANSITION={type:\"spring\",stiffness:150,damping:24};export function CustomCarousel({slides,mobileSlides,isMobileLayout,slideWidth:desktopSlideWidth,mobileSlideWidth,gapSize:desktopGapSize,mobileGapSize,dragElasticity,autoplay,interval,navGap,trackColor}){const[containerWidth,setContainerWidth]=React.useState(0);const[isMobile,setIsMobile]=React.useState(false);const sliderRef=React.useRef(null);const x=useMotionValue(0);const lastScrollTime=React.useRef(0);const isDraggingRef=React.useRef(false);const isCanvas=RenderTarget.current===RenderTarget.canvas;React.useEffect(()=>{const measure=()=>{if(sliderRef.current){const width=sliderRef.current.offsetWidth;setContainerWidth(width);const checkWidth=isCanvas?window.innerWidth:width;setIsMobile(isMobileLayout||checkWidth<480);}};measure();window.addEventListener(\"resize\",measure);return()=>window.removeEventListener(\"resize\",measure);},[isCanvas,isMobileLayout]);const validMobileSlides=Array.isArray(mobileSlides)?mobileSlides:[];const validDesktopSlides=Array.isArray(slides)?slides:[];const useMobile=isMobileLayout||isMobile;const activeSlides=useMobile&&validMobileSlides.length>0?validMobileSlides:validDesktopSlides;const length=activeSlides.length;const slideWidth=useMobile?mobileSlideWidth:desktopSlideWidth;const gapSize=useMobile?mobileGapSize:desktopGapSize;const[index,setIndex]=React.useState(0);React.useEffect(()=>{setIndex(0);},[useMobile]);if(length===0){return /*#__PURE__*/_jsx(\"div\",{style:{height:\"100%\",background:\"#f0f0f0\",display:\"flex\",alignItems:\"center\",justifyContent:\"center\",border:\"1px solid #ccc\",color:\"#666\",fontFamily:\"sans-serif\",padding:\"20px\",textAlign:\"center\"},children:\"Pridajte slajdy do karuselu v pravom paneli (Slides / Mobile Slides).\"});}// --- NOVÁ VYVÁŽENÁ MATEMATIKA PRE KROKOVANIE ---\nconst totalContentWidth=length*slideWidth+gapSize*(length-1);const activeContainerWidth=containerWidth||slideWidth*2;const maxShift=Math.max(totalContentWidth-activeContainerWidth,0);const stepDistance=slideWidth+gapSize;// Vypočítame počet plných krokov. Ak zostane malý kúsok, nepridáme kvôli nemu škaredý mikro-krok navyše.\nconst exactSteps=maxShift/stepDistance;const maxIndex=maxShift>0?Math.max(Math.round(exactSteps),1):0;// Vypočítame finálnu pozíciu x. Ak sme na konci, skočíme presne na maxShift (na doraz).\nlet xPosition=-index*stepDistance;if(index===maxIndex&&maxShift>0){xPosition=-maxShift;}const startWidth=maxIndex>0?1/(maxIndex+1)*100:100;const progressWidthString=useTransform(x,[0,-maxShift||-1],[`${Math.max(startWidth,10)}%`,\"100%\"]);const handleDragStart=React.useCallback(()=>{if(x.isAnimating())x.stop();isDraggingRef.current=true;},[x]);const handleDragEnd=(_,info)=>{if(isCanvas||maxIndex===0)return;const velocity=info.velocity.x;const dragDistance=info.offset.x;const threshold=slideWidth*.2;let newIndex=index;if(velocity<-300||dragDistance<-threshold){newIndex=Math.min(index+1,maxIndex);}else if(velocity>300||dragDistance>threshold){newIndex=Math.max(index-1,0);}setIndex(newIndex);setTimeout(()=>{isDraggingRef.current=false;},150);};const next=React.useCallback(()=>setIndex(p=>Math.min(p+1,maxIndex)),[maxIndex]);const prev=React.useCallback(()=>setIndex(p=>Math.max(p-1,0)),[]);const handleWheel=React.useCallback(e=>{if(isCanvas||Math.abs(e.deltaX)<10||maxIndex===0)return;const now=Date.now();if(now-lastScrollTime.current<SCROLL_DEBOUNCE_MS)return;e.preventDefault();if(e.deltaX>0)next();else if(e.deltaX<0)prev();lastScrollTime.current=now;},[next,prev,isCanvas,maxIndex]);React.useEffect(()=>{if(autoplay&&!isCanvas&&maxIndex>0){const t=setTimeout(()=>{setIndex(p=>p>=maxIndex?0:p+1);},interval);return()=>clearTimeout(t);}},[index,autoplay,interval,maxIndex,isCanvas]);const NavigationContainer=()=>{return /*#__PURE__*/_jsx(\"div\",{style:{display:\"flex\",justifyContent:\"center\",alignItems:\"center\",width:\"100%\",padding:\"0 20px\",boxSizing:\"border-box\"},children:/*#__PURE__*/_jsxs(\"div\",{style:{width:\"100%\",maxWidth:\"388px\",position:\"relative\",display:\"flex\",alignItems:\"center\",height:\"3px\"},children:[/*#__PURE__*/_jsx(\"div\",{style:{position:\"absolute\",left:0,right:0,height:\"1px\",background:trackColor,borderRadius:\"10px\"}}),/*#__PURE__*/_jsx(motion.div,{style:{position:\"absolute\",top:0,left:0,height:\"3px\",background:\"linear-gradient(90deg, rgba(161, 129, 243, 0) 0%, rgba(161, 129, 243, 1) 100%)\",borderRadius:\"10px\",width:progressWidthString}})]})});};return /*#__PURE__*/_jsxs(\"div\",{style:{width:\"100%\",height:\"100%\",display:\"flex\",flexDirection:\"column\",overflow:\"visible\"},onWheel:handleWheel,children:[/*#__PURE__*/_jsx(\"div\",{ref:sliderRef,style:{flexGrow:1,position:\"relative\",width:\"100%\",overflow:\"visible\"},children:/*#__PURE__*/_jsx(motion.div,{style:{display:\"flex\",flexDirection:\"row\",position:\"relative\",x:isCanvas?0:x,cursor:maxIndex>0&&!isCanvas?\"grab\":\"default\",zIndex:1},whileTap:{cursor:maxIndex>0&&!isCanvas?\"grabbing\":\"default\"},drag:isCanvas?false:\"x\",dragConstraints:{left:-maxShift,right:0},dragElastic:dragElasticity,animate:isCanvas?{x:0}:{x:xPosition},transition:CAROUSEL_TRANSITION,onDragStart:handleDragStart,onDragEnd:handleDragEnd,children:activeSlides.map((slide,i)=>/*#__PURE__*/_jsx(\"div\",{style:{width:`${slideWidth}px`,flexShrink:0,userSelect:\"none\",marginRight:i<length-1?gapSize:0,cursor:\"default\",display:\"flex\",flexDirection:\"column\"},draggable:\"false\",children:slide},i))})}),/*#__PURE__*/_jsx(\"div\",{style:{height:navGap}}),maxIndex>0&&/*#__PURE__*/_jsx(NavigationContainer,{})]});}// --- PROPERTY CONTROLS ---\naddPropertyControls(CustomCarousel,{slides:{type:ControlType.Array,title:\"Slides (Desktop)\",propertyControl:{type:ControlType.ComponentInstance}},mobileSlides:{type:ControlType.Array,title:\"Mobile Slides\",propertyControl:{type:ControlType.ComponentInstance}},isMobileLayout:{type:ControlType.Boolean,title:\"Is Mobile Layout\",defaultValue:false},slideWidth:{type:ControlType.Number,title:\"Slide Width (px)\",defaultValue:460,min:50,max:1e3,step:10},mobileSlideWidth:{type:ControlType.Number,title:\"Mobile Width (px)\",defaultValue:300,min:50,max:1e3,step:10},gapSize:{type:ControlType.Number,title:\"Slide Gap (px)\",defaultValue:32,min:0,max:100,step:1},mobileGapSize:{type:ControlType.Number,title:\"Mobile Gap (px)\",defaultValue:16,min:0,max:100,step:1},navGap:{type:ControlType.Number,title:\"Nav Gap (px)\",defaultValue:90,min:0,max:200,step:5},trackColor:{type:ControlType.Color,title:\"Track Color\",defaultValue:\"#E5E5E5\"},autoplay:{type:ControlType.Boolean,title:\"Autoplay\",defaultValue:false},interval:{type:ControlType.Number,title:\"Interval (ms)\",defaultValue:4e3,min:1e3,max:1e4,step:500},dragElasticity:{type:ControlType.Number,title:\"Drag Elasticity\",defaultValue:.1,min:0,max:1,step:.05}});\nexport const __FramerMetadata__ = {\"exports\":{\"CustomCarousel\":{\"type\":\"reactComponent\",\"name\":\"CustomCarousel\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./Slider.map"],"mappings":"gdACwD,IAAsG,IAAkE,IAA4B,EAAiC,EAAgB,EAAO,EAAO,GAAG,EAAQA,EAAkB,eAAqBC,EAAkB,CAAC,UAAU,kBAAkB,EAA+LC,EAAY,CAAC,OAAO,GAAG,MAAM,EAAE,SAAS,GAAG,KAAK,QAAQ,EAAQ,EAAY,CAAC,MAAM,EAAE,SAAS,EAAE,KAAK,CAAC,IAAI,EAAE,GAAG,CAAC,EAAE,KAAK,OAAO,EAAQ,EAAU,CAAC,QAAQ,EAAE,OAAO,EAAE,QAAQ,EAAE,QAAQ,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,EAAE,EAAE,EAAE,CAAC,EAAQ,GAAoB,EAAE,IAAI,oBAAoB,IAAU,EAAW,CAAC,QAAQ,EAAE,OAAO,EAAE,QAAQ,EAAE,Q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