{"version":3,"file":"DragScroll.C26GZyoZ.mjs","names":["addPropertyOverrides","PhosphorFonts","Phosphor","enabledGestures","serializationHash","variantClassNames","transition1","Transition","React.useContext","React.useMemo","Variants","React.Fragment","getProps","createLayoutDependency","useRef","React.useId","__FramerMetadata__","Phosphor","React.useContext","React.useMemo","React.Fragment","useRef","React.useId","useRef","useState","x"],"sources":["https:/framerusercontent.com/modules/eExAnE0qwf8Aziowcylk/3hbxF4VMmrifxgsDusR9/LGPZixnox.js","https:/framerusercontent.com/modules/dAbeHbGnAwfBEzrbjhTX/py8hxXwyC7Ss3B2lcntt/ob0ots5nN.js","https:/framerusercontent.com/modules/rhTfZ0DoXKfYXPyYCuQ5/tPocjDkpg9ycKXepWFo8/DragScroll.js"],"sourcesContent":["// Generated by Framer (f21d278)\nimport{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import{addFonts,addPropertyControls,ComponentViewportProvider,ControlType,cx,getFonts,SmartComponentScopedContainer,useActiveVariantCallback,useComponentViewport,useLocaleInfo,useVariantState,withCSS}from\"framer\";import{LayoutGroup,motion,MotionConfigContext}from\"framer-motion\";import*as React from\"react\";import{useRef}from\"react\";import{Icon as Phosphor}from\"https://framerusercontent.com/modules/tYScH7LTqUtz5KUaUAYP/p8dptk4UIND8hbFWz9V7/Phosphor.js\";const PhosphorFonts=getFonts(Phosphor);const enabledGestures={xFQBbgvoe:{hover:true}};const serializationHash=\"framer-vBMfw\";const variantClassNames={xFQBbgvoe:\"framer-v-u69knd\"};function addPropertyOverrides(overrides,...variants){const nextOverrides={};variants?.forEach(variant=>variant&&Object.assign(nextOverrides,overrides[variant]));return nextOverrides;}const dK5yx_H2A=undefined;const p2WCKO_bK=undefined;const transition1={delay:0,duration:.4,ease:[1,.17,.16,.88],type:\"tween\"};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=({fill,height,hover,id,width,...props})=>{return{...props,dK5yx_H2A:hover??props.dK5yx_H2A,p2WCKO_bK:fill??props.p2WCKO_bK??\"var(--token-b2f1232f-1db2-4147-a01c-02caeba58db0, rgb(255, 253, 249))\"};};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,dK5yx_H2A,p2WCKO_bK,...restProps}=getProps(props);const{baseVariant,classNames,clearLoadingGesture,gestureHandlers,gestureVariant,isLoading,setGestureState,setVariant,variants}=useVariantState({defaultVariant:\"xFQBbgvoe\",enabledGestures,ref:refBinding,variant,variantClassNames});const layoutDependency=createLayoutDependency(props,variants);const{activeVariantCallback,delay}=useActiveVariantCallback(baseVariant);const onMouseEnter10s54gu=activeVariantCallback(async(...args)=>{setGestureState({isHovered:true});if(dK5yx_H2A){const res=await dK5yx_H2A(...args);if(res===false)return false;}});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-u69knd\",className,classNames),\"data-framer-name\":\"Variant 1\",\"data-highlight\":true,layoutDependency:layoutDependency,layoutId:\"xFQBbgvoe\",onMouseEnter:onMouseEnter10s54gu,ref:refBinding,style:{...style},...addPropertyOverrides({\"xFQBbgvoe-hover\":{\"data-framer-name\":undefined}},baseVariant,gestureVariant),children:/*#__PURE__*/_jsx(motion.div,{className:\"framer-1jvzv32\",\"data-framer-name\":\"Button icon\",layoutDependency:layoutDependency,layoutId:\"NlMa457gU\",children:/*#__PURE__*/_jsxs(motion.div,{className:\"framer-1ttk3vv\",layoutDependency:layoutDependency,layoutId:\"Bc1dcecvW\",style:{backgroundColor:p2WCKO_bK,borderBottomLeftRadius:50,borderBottomRightRadius:50,borderTopLeftRadius:50,borderTopRightRadius:50},children:[/*#__PURE__*/_jsx(ComponentViewportProvider,{children:/*#__PURE__*/_jsx(SmartComponentScopedContainer,{className:\"framer-1p3q03o-container\",isAuthoredByUser:true,isModuleExternal:true,layoutDependency:layoutDependency,layoutId:\"BxbmVM51m-container\",nodeId:\"BxbmVM51m\",rendersWithMotion:true,scopeId:\"LGPZixnox\",style:{opacity:1},variants:{\"xFQBbgvoe-hover\":{opacity:0}},children:/*#__PURE__*/_jsx(Phosphor,{color:\"var(--token-b789da67-caa9-430a-88f1-bb0208a5d673, rgb(0, 0, 0))\",height:\"100%\",iconSearch:\"House\",iconSelection:\"ArrowLeft\",id:\"BxbmVM51m\",layoutId:\"BxbmVM51m\",mirrored:false,selectByList:true,style:{height:\"100%\",width:\"100%\"},weight:\"regular\",width:\"100%\"})})}),/*#__PURE__*/_jsx(ComponentViewportProvider,{children:/*#__PURE__*/_jsx(SmartComponentScopedContainer,{className:\"framer-134s9u3-container\",isAuthoredByUser:true,isModuleExternal:true,layoutDependency:layoutDependency,layoutId:\"noguLjFVo-container\",nodeId:\"noguLjFVo\",rendersWithMotion:true,scopeId:\"LGPZixnox\",style:{opacity:0},variants:{\"xFQBbgvoe-hover\":{opacity:1}},children:/*#__PURE__*/_jsx(Phosphor,{color:\"var(--token-b789da67-caa9-430a-88f1-bb0208a5d673, rgb(0, 0, 0))\",height:\"100%\",iconSearch:\"House\",iconSelection:\"ArrowLeft\",id:\"noguLjFVo\",layoutId:\"noguLjFVo\",mirrored:false,selectByList:true,style:{height:\"100%\",width:\"100%\"},weight:\"regular\",width:\"100%\"})})})]})})})})})});});const css=[\"@supports (aspect-ratio: 1) { body { --framer-aspect-ratio-supported: auto; } }\",\".framer-vBMfw.framer-15kqas6, .framer-vBMfw .framer-15kqas6 { display: block; }\",\".framer-vBMfw.framer-u69knd { align-content: center; align-items: center; cursor: pointer; display: flex; flex-direction: row; flex-wrap: nowrap; gap: 12px; height: min-content; justify-content: center; overflow: visible; padding: 0px; position: relative; width: min-content; }\",\".framer-vBMfw .framer-1jvzv32 { align-content: center; align-items: center; display: flex; flex: none; flex-direction: row; flex-wrap: nowrap; gap: 10px; height: 40px; justify-content: center; overflow: hidden; padding: 0px; position: relative; width: 40px; }\",\".framer-vBMfw .framer-1ttk3vv { align-content: center; align-items: center; display: flex; flex: none; flex-direction: row; flex-wrap: nowrap; gap: 10px; height: 40px; justify-content: flex-start; overflow: visible; padding: 8px; position: relative; width: 40px; }\",\".framer-vBMfw .framer-1p3q03o-container, .framer-vBMfw .framer-134s9u3-container { flex: none; height: 24px; position: relative; width: 24px; }\",\".framer-vBMfw.framer-v-u69knd.hover .framer-1ttk3vv { height: 36px; justify-content: flex-end; padding: 6px; width: 36px; }\"];/**\n * This is a generated Framer component.\n * @framerIntrinsicHeight 40\n * @framerIntrinsicWidth 40\n * @framerCanvasComponentVariantDetails {\"propertyName\":\"variant\",\"data\":{\"default\":{\"layout\":[\"auto\",\"auto\"]},\"DvikxE_5F\":{\"layout\":[\"auto\",\"auto\"]}}}\n * @framerVariables {\"dK5yx_H2A\":\"hover\",\"p2WCKO_bK\":\"fill\"}\n * @framerImmutableVariables true\n * @framerDisplayContentsDiv false\n * @framerAutoSizeImages true\n * @framerComponentViewportWidth true\n * @framerColorSyntax true\n */const FramerLGPZixnox=withCSS(Component,css,\"framer-vBMfw\");export default FramerLGPZixnox;FramerLGPZixnox.displayName=\"Button - Icon - Arrow - White Left\";FramerLGPZixnox.defaultProps={height:40,width:40};addPropertyControls(FramerLGPZixnox,{dK5yx_H2A:{title:\"Hover\",type:ControlType.EventHandler},p2WCKO_bK:{defaultValue:'var(--token-b2f1232f-1db2-4147-a01c-02caeba58db0, rgb(255, 253, 249)) /* {\"name\":\"Vintage White\"} */',title:\"Fill\",type:ControlType.Color}});addFonts(FramerLGPZixnox,[{explicitInter:true,fonts:[]},...PhosphorFonts],{supportsExplicitInterCodegen:true});\nexport const __FramerMetadata__ = {\"exports\":{\"Props\":{\"type\":\"tsType\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"default\":{\"type\":\"reactComponent\",\"name\":\"FramerLGPZixnox\",\"slots\":[],\"annotations\":{\"framerDisplayContentsDiv\":\"false\",\"framerContractVersion\":\"1\",\"framerAutoSizeImages\":\"true\",\"framerImmutableVariables\":\"true\",\"framerColorSyntax\":\"true\",\"framerIntrinsicWidth\":\"40\",\"framerVariables\":\"{\\\"dK5yx_H2A\\\":\\\"hover\\\",\\\"p2WCKO_bK\\\":\\\"fill\\\"}\",\"framerIntrinsicHeight\":\"40\",\"framerCanvasComponentVariantDetails\":\"{\\\"propertyName\\\":\\\"variant\\\",\\\"data\\\":{\\\"default\\\":{\\\"layout\\\":[\\\"auto\\\",\\\"auto\\\"]},\\\"DvikxE_5F\\\":{\\\"layout\\\":[\\\"auto\\\",\\\"auto\\\"]}}}\",\"framerComponentViewportWidth\":\"true\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./LGPZixnox.map","// Generated by Framer (4eeba22)\nimport{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import{addFonts,addPropertyControls,ComponentViewportProvider,ControlType,cx,getFonts,SmartComponentScopedContainer,useActiveVariantCallback,useComponentViewport,useLocaleInfo,useVariantState,withCSS}from\"framer\";import{LayoutGroup,motion,MotionConfigContext}from\"framer-motion\";import*as React from\"react\";import{useRef}from\"react\";import{Icon as Phosphor}from\"https://framerusercontent.com/modules/tYScH7LTqUtz5KUaUAYP/p8dptk4UIND8hbFWz9V7/Phosphor.js\";const PhosphorFonts=getFonts(Phosphor);const enabledGestures={Fr1CEftPj:{hover:true}};const serializationHash=\"framer-GQ9dc\";const variantClassNames={Fr1CEftPj:\"framer-v-m5oge5\"};function addPropertyOverrides(overrides,...variants){const nextOverrides={};variants?.forEach(variant=>variant&&Object.assign(nextOverrides,overrides[variant]));return nextOverrides;}const dK5yx_H2A=undefined;const Lqh8FJVfT=undefined;const transition1={delay:0,duration:.4,ease:[1,.17,.16,.88],type:\"tween\"};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=({fill,height,hover,id,width,...props})=>{return{...props,dK5yx_H2A:hover??props.dK5yx_H2A,Lqh8FJVfT:fill??props.Lqh8FJVfT??\"var(--token-b2f1232f-1db2-4147-a01c-02caeba58db0, rgb(255, 253, 249))\"};};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,dK5yx_H2A,Lqh8FJVfT,...restProps}=getProps(props);const{baseVariant,classNames,clearLoadingGesture,gestureHandlers,gestureVariant,isLoading,setGestureState,setVariant,variants}=useVariantState({defaultVariant:\"Fr1CEftPj\",enabledGestures,ref:refBinding,variant,variantClassNames});const layoutDependency=createLayoutDependency(props,variants);const{activeVariantCallback,delay}=useActiveVariantCallback(baseVariant);const onMouseEnter10s54gu=activeVariantCallback(async(...args)=>{setGestureState({isHovered:true});if(dK5yx_H2A){const res=await dK5yx_H2A(...args);if(res===false)return false;}});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-m5oge5\",className,classNames),\"data-framer-name\":\"Variant 1\",\"data-highlight\":true,layoutDependency:layoutDependency,layoutId:\"Fr1CEftPj\",onMouseEnter:onMouseEnter10s54gu,ref:refBinding,style:{...style},...addPropertyOverrides({\"Fr1CEftPj-hover\":{\"data-framer-name\":undefined}},baseVariant,gestureVariant),children:/*#__PURE__*/_jsx(motion.div,{className:\"framer-17dm6b3\",\"data-framer-name\":\"Button icon\",layoutDependency:layoutDependency,layoutId:\"MYHdcocUH\",children:/*#__PURE__*/_jsxs(motion.div,{className:\"framer-ww1772\",layoutDependency:layoutDependency,layoutId:\"gQy1Q97ZG\",style:{backgroundColor:Lqh8FJVfT,borderBottomLeftRadius:50,borderBottomRightRadius:50,borderTopLeftRadius:50,borderTopRightRadius:50},children:[/*#__PURE__*/_jsx(ComponentViewportProvider,{children:/*#__PURE__*/_jsx(SmartComponentScopedContainer,{className:\"framer-y4lglz-container\",isAuthoredByUser:true,isModuleExternal:true,layoutDependency:layoutDependency,layoutId:\"RVyEATrjD-container\",nodeId:\"RVyEATrjD\",rendersWithMotion:true,scopeId:\"ob0ots5nN\",style:{opacity:0},variants:{\"Fr1CEftPj-hover\":{opacity:1}},children:/*#__PURE__*/_jsx(Phosphor,{color:\"var(--token-b789da67-caa9-430a-88f1-bb0208a5d673, rgb(0, 0, 0))\",height:\"100%\",iconSearch:\"House\",iconSelection:\"ArrowRight\",id:\"RVyEATrjD\",layoutId:\"RVyEATrjD\",mirrored:false,selectByList:true,style:{height:\"100%\",width:\"100%\"},weight:\"regular\",width:\"100%\"})})}),/*#__PURE__*/_jsx(ComponentViewportProvider,{children:/*#__PURE__*/_jsx(SmartComponentScopedContainer,{className:\"framer-l2mkyr-container\",isAuthoredByUser:true,isModuleExternal:true,layoutDependency:layoutDependency,layoutId:\"EVHQQonT_-container\",nodeId:\"EVHQQonT_\",rendersWithMotion:true,scopeId:\"ob0ots5nN\",style:{opacity:1},variants:{\"Fr1CEftPj-hover\":{opacity:0}},children:/*#__PURE__*/_jsx(Phosphor,{color:\"var(--token-b789da67-caa9-430a-88f1-bb0208a5d673, rgb(0, 0, 0))\",height:\"100%\",iconSearch:\"House\",iconSelection:\"ArrowRight\",id:\"EVHQQonT_\",layoutId:\"EVHQQonT_\",mirrored:false,selectByList:true,style:{height:\"100%\",width:\"100%\"},weight:\"regular\",width:\"100%\"})})})]})})})})})});});const css=[\"@supports (aspect-ratio: 1) { body { --framer-aspect-ratio-supported: auto; } }\",\".framer-GQ9dc.framer-lnikz8, .framer-GQ9dc .framer-lnikz8 { display: block; }\",\".framer-GQ9dc.framer-m5oge5 { align-content: center; align-items: center; cursor: pointer; display: flex; flex-direction: row; flex-wrap: nowrap; gap: 12px; height: min-content; justify-content: center; overflow: visible; padding: 0px; position: relative; width: min-content; }\",\".framer-GQ9dc .framer-17dm6b3 { align-content: center; align-items: center; display: flex; flex: none; flex-direction: row; flex-wrap: nowrap; gap: 10px; height: 40px; justify-content: center; overflow: hidden; padding: 0px; position: relative; width: 40px; }\",\".framer-GQ9dc .framer-ww1772 { align-content: center; align-items: center; display: flex; flex: none; flex-direction: row; flex-wrap: nowrap; gap: 10px; height: 40px; justify-content: flex-end; overflow: visible; padding: 8px; position: relative; width: 40px; }\",\".framer-GQ9dc .framer-y4lglz-container, .framer-GQ9dc .framer-l2mkyr-container { flex: none; height: 24px; position: relative; width: 24px; }\",\".framer-GQ9dc.framer-v-m5oge5.hover .framer-ww1772 { height: 36px; justify-content: flex-start; padding: 6px; width: 36px; }\"];/**\n * This is a generated Framer component.\n * @framerIntrinsicHeight 40\n * @framerIntrinsicWidth 40\n * @framerCanvasComponentVariantDetails {\"propertyName\":\"variant\",\"data\":{\"default\":{\"layout\":[\"auto\",\"auto\"]},\"JKFsQA7xZ\":{\"layout\":[\"auto\",\"auto\"]}}}\n * @framerVariables {\"dK5yx_H2A\":\"hover\",\"Lqh8FJVfT\":\"fill\"}\n * @framerImmutableVariables true\n * @framerDisplayContentsDiv false\n * @framerAutoSizeImages true\n * @framerComponentViewportWidth true\n * @framerColorSyntax true\n */const Framerob0ots5nN=withCSS(Component,css,\"framer-GQ9dc\");export default Framerob0ots5nN;Framerob0ots5nN.displayName=\"Button - Icon - Arrow - White\";Framerob0ots5nN.defaultProps={height:40,width:40};addPropertyControls(Framerob0ots5nN,{dK5yx_H2A:{title:\"Hover\",type:ControlType.EventHandler},Lqh8FJVfT:{defaultValue:'var(--token-b2f1232f-1db2-4147-a01c-02caeba58db0, rgb(255, 253, 249)) /* {\"name\":\"Vintage White\"} */',title:\"Fill\",type:ControlType.Color}});addFonts(Framerob0ots5nN,[{explicitInter:true,fonts:[]},...PhosphorFonts],{supportsExplicitInterCodegen:true});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"Framerob0ots5nN\",\"slots\":[],\"annotations\":{\"framerImmutableVariables\":\"true\",\"framerComponentViewportWidth\":\"true\",\"framerIntrinsicHeight\":\"40\",\"framerContractVersion\":\"1\",\"framerColorSyntax\":\"true\",\"framerIntrinsicWidth\":\"40\",\"framerVariables\":\"{\\\"dK5yx_H2A\\\":\\\"hover\\\",\\\"Lqh8FJVfT\\\":\\\"fill\\\"}\",\"framerCanvasComponentVariantDetails\":\"{\\\"propertyName\\\":\\\"variant\\\",\\\"data\\\":{\\\"default\\\":{\\\"layout\\\":[\\\"auto\\\",\\\"auto\\\"]},\\\"JKFsQA7xZ\\\":{\\\"layout\\\":[\\\"auto\\\",\\\"auto\\\"]}}}\",\"framerDisplayContentsDiv\":\"false\",\"framerAutoSizeImages\":\"true\"}},\"Props\":{\"type\":\"tsType\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./ob0ots5nN.map","import{jsx as _jsx}from\"react/jsx-runtime\";import{Data,useMotionValue,animate}from\"framer\";import{useRef,useState,useEffect}from\"react\";// 1. Gecentraliseerde data voor minder herberekeningen\nconst controller=Data({scroll:direction=>null});export function TickerWithControls(Component){return props=>{const ref=useRef(null);const[constraints,setConstraints]=useState({left:0,right:0});const x=useMotionValue(0);const isDragging=useRef(false);// --- EFFICIËNTE CONSTRAINTS BEREKENING ---\nuseEffect(()=>{const element=ref.current;if(!element)return;let timer;const updateConstraints=()=>{const viewportWidth=element.parentElement?.offsetWidth||window.innerWidth;const contentWidth=element.scrollWidth;const distance=contentWidth-viewportWidth;const paddingBuffer=64;setConstraints({left:distance>0?-distance-paddingBuffer:0,right:0});};// Gebruik ResizeObserver met een kleine 'debounce'\nconst observer=new ResizeObserver(()=>{clearTimeout(timer);timer=window.setTimeout(updateConstraints,100);});observer.observe(element);if(element.parentElement)observer.observe(element.parentElement);updateConstraints();return()=>{observer.disconnect();clearTimeout(timer);};},[]);// --- GEOPTIMALISEERDE SCROLL LOGICA ---\nuseEffect(()=>{controller.scroll=direction=>{const currentX=x.get();const step=400;const targetX=direction===\"next\"?currentX-step:currentX+step;const clampedX=Math.max(Math.min(targetX,0),constraints.left);animate(x,clampedX,{type:\"spring\",stiffness:250,damping:30,mass:.5});};},[constraints,x]);// --- CENTRALE KLIK-BLOKKADE (Vervangt withSmartItem) ---\n// We meten op de parent of er gesleept is. Veel lichter dan op elk item.\nconst onDragStart=()=>{isDragging.current=true;};const onDragEnd=()=>{// Klein vertragingkje zodat de 'click' event de isDragging nog op true ziet\nsetTimeout(()=>{isDragging.current=false;},50);};return /*#__PURE__*/_jsx(Component,{...props,ref:ref,style:{...props.style,x:x,display:\"flex\",justifyContent:\"flex-start\",paddingRight:\"64px\",width:\"max-content\",overflow:\"visible\",cursor:\"grab\",userSelect:\"none\",WebkitUserSelect:\"none\",// GPU-versnelde image fixes via CSS\ntouchAction:\"pan-y\"},// Drag functionaliteit\ndrag:\"x\",dragConstraints:constraints,dragElastic:.1,dragMomentum:true,onDragStart:onDragStart,onDragEnd:onDragEnd,whileTap:{cursor:\"grabbing\"},// Verhindert ghosting van images zonder JS-loop\nonDragStartCapture:e=>{if(e.target.tagName===\"IMG\")e.preventDefault();},// Blokkeert kliks op links als we slepen\nonClickCapture:e=>{if(isDragging.current){e.preventDefault();e.stopPropagation();}}});};}// 3. KNOPPEN (Onveranderd maar efficiënt)\nexport function ButtonPrev(Component){return props=>/*#__PURE__*/_jsx(Component,{...props,onTap:()=>controller.scroll(\"prev\"),style:{...props.style,cursor:\"pointer\"}});}export function ButtonNext(Component){return props=>/*#__PURE__*/_jsx(Component,{...props,onTap:()=>controller.scroll(\"next\"),style:{...props.style,cursor:\"pointer\"}});}// DEZE IS NU OVERBODIG MAAR WE LATEN HEM LEEG VOOR DE COMPATIBILITEIT\nexport function withSmartItem(Component){return props=>/*#__PURE__*/_jsx(Component,{...props});}\nexport const __FramerMetadata__ = {\"exports\":{\"ButtonNext\":{\"type\":\"reactHoc\",\"name\":\"ButtonNext\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"TickerWithControls\":{\"type\":\"reactHoc\",\"name\":\"TickerWithControls\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"ButtonPrev\":{\"type\":\"reactHoc\",\"name\":\"ButtonPrev\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withSmartItem\":{\"type\":\"reactHoc\",\"name\":\"withSmartItem\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./DragScroll.map"],"mappings":"0fACmrB,SAASA,GAAqB,EAAU,GAAG,EAAS,CAAC,IAAM,EAAc,EAAE,CAAsF,OAArF,GAAU,QAAQ,GAAS,GAAS,OAAO,OAAO,EAAc,EAAU,GAAS,CAAC,CAAQ,4CAAlyB,IAAqN,IAAkE,IAA4B,IAAoJ,CAAMC,EAAc,EAASC,EAAS,CAAOC,EAAgB,CAAC,UAAU,CAAC,MAAM,GAAK,CAAC,CAAOC,E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