{"version":3,"file":"Carouseled_CMS.DNfbehg2.mjs","names":["useRef","useState","useEffect","useCallback","_jsxs","_jsx","__esmMin","ne","navigator","init_npm_react_18_3_1","window","_e","de","init_jsx_runtime","p","ce","init_ssg_sandbox_shims","CarouselEffect","Component","props","wrapperRef","scrollEl","setScrollEl","progress","setProgress","hovered","setHovered","dragging","setDragging","stopped","setStopped","atStart","setAtStart","atEnd","setAtEnd","timerRef","drag","wrapperWidth","setWrapperWidth","viewportWidth","setViewportWidth","isTouchDevice","onResize","ro","entries","w","find","el","candidates","i","c","child","first","t1","t2","t3","updateScroll","max","CONFIG","snapToCard","handler","onDown","x","onMove","diff","onUp","scrollByCard","dir","onBarClick","rect","ratio","fadeSolid","toRgba","fadeTransparent","thumbW","thumbLeft","fadesEnabled","isDesktop","showL","showR","arrowOffset","arrowStyle","side","visible","measureCardStep","init_Carouseled_CMS","color","alpha","hex","children","gap","threshold","step","floatIndex","baseIndex","overshoot","targetIndex","targetLeft"],"sources":["https:/framerusercontent.com/modules/8VCHDWJUATTKzqwijbWw/6eujOMRClPwjU6CDUXMq/Carouseled_CMS.js"],"sourcesContent":["// CarouselOverride.tsx — Framer Code Override\n// Apply to a horizontal-scrolling Collection List to add full carousel behavior\n// Assets → Code → + → New Override → Paste this entire file\nimport{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import{useState,useEffect,useRef,useCallback}from\"react\";// ═══════════════════════════════════════════\n// ── CONFIG — Tweak these to match your design ──\n// ═══════════════════════════════════════════\nconst CONFIG={// Auto-play\nautoPlay:true,autoPlayDelay:3e3,// Scrollbar\nscrollbarActiveColor:\"#ADA08B\",scrollbarTrackColor:\"#555555\",scrollbarWidth:240,scrollbarMarginTop:32,// Fades\nfadeColor:\"#202020\",fadeWidth:80,fadeBreakpoint:810,// Arrows\nshowArrows:true,arrowSize:44,arrowBackground:\"rgba(255,255,255,0.12)\",arrowIconColor:\"#ffffff\",arrowBorderRadius:100,// How far outside the carousel edge to push the arrows on desktop.\narrowOutset:24,// Viewport width (px) below which arrows are completely hidden.\narrowMobileBreakpoint:768,// Snap — minimum px dragged (desktop only) before advancing to next card.\nsnapThreshold:80,// Fallback card step if DOM measurement fails.\ncardStepFallback:404};// ═══════════════════════════════════════════\nconst toRgba=(color,alpha)=>{if(color.startsWith(\"rgba\"))return color.replace(/,\\s*[\\d.]+\\)$/,`, ${alpha})`);if(color.startsWith(\"rgb(\"))return color.replace(\"rgb(\",\"rgba(\").replace(\")\",`, ${alpha})`);const hex=color.replace(\"#\",\"\");const r=parseInt(hex.substring(0,2),16);const g=parseInt(hex.substring(2,4),16);const b=parseInt(hex.substring(4,6),16);return`rgba(${r},${g},${b},${alpha})`;};// ── Measure actual card step from the scroll container ──\nconst measureCardStep=scrollEl=>{const children=scrollEl.children;if(children.length===0)return CONFIG.cardStepFallback;const first=children[0];if(children.length===1)return first.offsetWidth;const second=children[1];const gap=second.getBoundingClientRect().left-first.getBoundingClientRect().left-first.offsetWidth;return first.offsetWidth+Math.max(gap,0);};// ── Directional snap (desktop only) ─────────────────────────────────────────\n// dir:  1 = advance,  -1 = retreat,  0 = nearest (scrollbar click)\nconst snapToCard=(scrollEl,dir,threshold)=>{const step=measureCardStep(scrollEl);if(step<=0)return;const current=scrollEl.scrollLeft;const floatIndex=current/step;const baseIndex=Math.floor(floatIndex);const overshoot=(floatIndex-baseIndex)*step;let targetIndex;if(dir===1){targetIndex=overshoot>=threshold?baseIndex+1:baseIndex;}else if(dir===-1){// If already snapped (overshoot ~0), go back one. Otherwise snap to baseIndex.\ntargetIndex=overshoot>2?baseIndex:baseIndex-1;}else{targetIndex=Math.round(floatIndex);}const max=scrollEl.scrollWidth-scrollEl.clientWidth;const targetLeft=Math.max(0,Math.min(targetIndex*step,max));scrollEl.scrollTo({left:targetLeft,behavior:\"smooth\"});};export function CarouselEffect(Component){return props=>{const wrapperRef=useRef(null);const[scrollEl,setScrollEl]=useState(null);const[progress,setProgress]=useState(0);const[hovered,setHovered]=useState(false);const[dragging,setDragging]=useState(false);const[stopped,setStopped]=useState(false);const[atStart,setAtStart]=useState(true);const[atEnd,setAtEnd]=useState(false);const timerRef=useRef(null);const drag=useRef({x:0,scroll:0,moved:false,dir:0});const[wrapperWidth,setWrapperWidth]=useState(9999);const[viewportWidth,setViewportWidth]=useState(typeof window!==\"undefined\"?window.innerWidth:9999);// ── Detect touch device once on mount ────────────────────────────────\nconst isTouchDevice=useRef(false);useEffect(()=>{isTouchDevice.current=\"ontouchstart\"in window||navigator.maxTouchPoints>0;},[]);// ── Track viewport width (for arrow visibility) ──────────────────────\nuseEffect(()=>{const onResize=()=>setViewportWidth(window.innerWidth);window.addEventListener(\"resize\",onResize,{passive:true});return()=>window.removeEventListener(\"resize\",onResize);},[]);// ── Track wrapper width (for fade breakpoint) ─────────────────────────\nuseEffect(()=>{if(!wrapperRef.current)return;const ro=new ResizeObserver(entries=>{const w=entries[0]?.contentRect.width??9999;setWrapperWidth(w);});ro.observe(wrapperRef.current);return()=>ro.disconnect();},[]);// ── Find the scrollable element inside the Collection List ────────────\nuseEffect(()=>{if(!wrapperRef.current)return;const find=()=>{const el=wrapperRef.current;if(!el)return;const candidates=el.querySelectorAll(\"*\");for(let i=0;i<candidates.length;i++){const c=candidates[i];if(c.scrollWidth>c.clientWidth+5){setScrollEl(c);c.style.scrollbarWidth=\"none\";c.style.msOverflowStyle=\"none\";if(isTouchDevice.current){c.style.scrollSnapType=\"x mandatory\";Array.from(c.children).forEach(child=>{child.style.scrollSnapAlign=\"start\";});}else{c.style.scrollSnapType=\"none\";}return;}}const first=el.querySelector(\"div > div\");if(first)setScrollEl(first);};find();const t1=setTimeout(find,300);const t2=setTimeout(find,800);const t3=setTimeout(find,1500);return()=>{clearTimeout(t1);clearTimeout(t2);clearTimeout(t3);};},[]);// ── Update scroll state ───────────────────────────────────────────────\nconst updateScroll=useCallback(()=>{if(!scrollEl)return;const max=scrollEl.scrollWidth-scrollEl.clientWidth;if(max<=0){setProgress(0);setAtStart(true);setAtEnd(true);return;}setProgress(scrollEl.scrollLeft/max);setAtStart(scrollEl.scrollLeft<2);setAtEnd(scrollEl.scrollLeft>max-2);},[scrollEl]);useEffect(()=>{if(!scrollEl)return;updateScroll();scrollEl.addEventListener(\"scroll\",updateScroll,{passive:true});return()=>scrollEl.removeEventListener(\"scroll\",updateScroll);},[scrollEl,updateScroll]);// ── Auto-play ─────────────────────────────────────────────────────────\nuseEffect(()=>{if(!CONFIG.autoPlay||hovered||dragging||stopped||!scrollEl){if(timerRef.current)clearInterval(timerRef.current);return;}timerRef.current=setInterval(()=>{if(!scrollEl)return;const max=scrollEl.scrollWidth-scrollEl.clientWidth;if(scrollEl.scrollLeft>=max-5){scrollEl.scrollTo({left:0,behavior:\"smooth\"});}else{snapToCard(scrollEl,1,0);}},CONFIG.autoPlayDelay);return()=>{if(timerRef.current)clearInterval(timerRef.current);};},[hovered,dragging,stopped,scrollEl]);// ── Click outside → resume auto-play ─────────────────────────────────\nuseEffect(()=>{if(!stopped)return;const handler=e=>{if(wrapperRef.current&&!wrapperRef.current.contains(e.target)){setStopped(false);}};document.addEventListener(\"click\",handler,true);return()=>document.removeEventListener(\"click\",handler,true);},[stopped]);// ── Drag ──────────────────────────────────────────────────────────────\nconst onDown=e=>{const x=\"touches\"in e?e.touches[0]?.clientX??0:e.clientX;drag.current={x,scroll:scrollEl?.scrollLeft??0,moved:false,dir:0};setDragging(true);};const onMove=e=>{if(!dragging||!scrollEl)return;if(isTouchDevice.current){const x=\"touches\"in e?e.touches[0]?.clientX??0:e.clientX;const diff=drag.current.x-x;if(Math.abs(diff)>8){drag.current.moved=true;drag.current.dir=diff>0?1:-1;}return;}const x=\"touches\"in e?e.touches[0]?.clientX??0:e.clientX;const diff=drag.current.x-x;if(Math.abs(diff)>8){drag.current.moved=true;drag.current.dir=diff>0?1:-1;}if(drag.current.moved){scrollEl.scrollLeft=drag.current.scroll+diff;}};const onUp=e=>{if(dragging&&drag.current.moved&&scrollEl){if(!isTouchDevice.current){snapToCard(scrollEl,drag.current.dir,CONFIG.snapThreshold);e.preventDefault();e.stopPropagation();}setStopped(true);}setDragging(false);};// ── Arrow scroll ──────────────────────────────────────────────────────\nconst scrollByCard=dir=>{setStopped(true);if(!scrollEl)return;snapToCard(scrollEl,dir,0);};// ── Scrollbar click ───────────────────────────────────────────────────\nconst onBarClick=e=>{setStopped(true);if(!scrollEl)return;const rect=e.currentTarget.getBoundingClientRect();const ratio=(e.clientX-rect.left)/rect.width;scrollEl.scrollLeft=ratio*(scrollEl.scrollWidth-scrollEl.clientWidth);snapToCard(scrollEl,0,0);};// ── Computed ──────────────────────────────────────────────────────────\nconst fadeSolid=toRgba(CONFIG.fadeColor,1);const fadeTransparent=toRgba(CONFIG.fadeColor,0);const thumbW=CONFIG.scrollbarWidth*.35;const thumbLeft=progress*(CONFIG.scrollbarWidth-thumbW);const fadesEnabled=wrapperWidth>=CONFIG.fadeBreakpoint;const isDesktop=viewportWidth>CONFIG.arrowMobileBreakpoint;const showL=CONFIG.showArrows&&isDesktop&&!atStart;const showR=CONFIG.showArrows&&isDesktop&&!atEnd;const arrowOffset=-(CONFIG.arrowSize/2+CONFIG.arrowOutset);const arrowStyle=(side,visible)=>({position:\"absolute\",top:\"50%\",transform:\"translateY(-50%)\",[side]:arrowOffset,zIndex:3,width:CONFIG.arrowSize,height:CONFIG.arrowSize,borderRadius:CONFIG.arrowBorderRadius,backgroundColor:CONFIG.arrowBackground,border:\"none\",cursor:visible?\"pointer\":\"default\",display:isDesktop?\"flex\":\"none\",alignItems:\"center\",justifyContent:\"center\",padding:0,opacity:visible?.9:.25,pointerEvents:visible?\"auto\":\"none\",transition:\"opacity 0.25s, transform 0.2s\",backdropFilter:\"blur(8px)\",WebkitBackdropFilter:\"blur(8px)\"});return /*#__PURE__*/_jsxs(\"div\",{ref:wrapperRef,onMouseEnter:()=>setHovered(true),onMouseLeave:()=>{setHovered(false);setDragging(false);},onMouseDown:onDown,onMouseMove:onMove,onMouseUp:onUp,onTouchStart:onDown,onTouchMove:onMove,onTouchEnd:onUp,style:{position:\"relative\",width:\"100%\",overflow:\"visible\",cursor:dragging&&!isTouchDevice.current?\"grabbing\":undefined,userSelect:dragging&&!isTouchDevice.current?\"none\":undefined},children:[CONFIG.fadeWidth>0&&/*#__PURE__*/_jsx(\"div\",{style:{position:\"absolute\",top:0,left:0,width:CONFIG.fadeWidth,height:\"100%\",background:`linear-gradient(to right, ${fadeSolid}, ${fadeTransparent})`,zIndex:2,pointerEvents:\"none\",opacity:fadesEnabled&&!atStart?1:0,transition:\"opacity 0.3s ease\"}}),CONFIG.fadeWidth>0&&/*#__PURE__*/_jsx(\"div\",{style:{position:\"absolute\",top:0,right:0,width:CONFIG.fadeWidth,height:\"100%\",background:`linear-gradient(to left, ${fadeSolid}, ${fadeTransparent})`,zIndex:2,pointerEvents:\"none\",opacity:fadesEnabled&&!atEnd?1:0,transition:\"opacity 0.3s ease\"}}),/*#__PURE__*/_jsx(\"button\",{onClick:e=>{e.stopPropagation();scrollByCard(-1);},\"aria-label\":\"Previous\",style:arrowStyle(\"left\",showL),onMouseEnter:e=>{if(showL){e.currentTarget.style.opacity=\"1\";e.currentTarget.style.transform=\"translateY(-50%) scale(1.1)\";}},onMouseLeave:e=>{e.currentTarget.style.opacity=showL?\"0.9\":\"0.25\";e.currentTarget.style.transform=\"translateY(-50%) scale(1)\";},children:/*#__PURE__*/_jsx(\"svg\",{width:CONFIG.arrowSize*.45,height:CONFIG.arrowSize*.45,viewBox:\"0 0 24 24\",fill:\"none\",stroke:CONFIG.arrowIconColor,strokeWidth:\"2.5\",strokeLinecap:\"round\",strokeLinejoin:\"round\",children:/*#__PURE__*/_jsx(\"polyline\",{points:\"15 18 9 12 15 6\"})})}),/*#__PURE__*/_jsx(\"button\",{onClick:e=>{e.stopPropagation();scrollByCard(1);},\"aria-label\":\"Next\",style:arrowStyle(\"right\",showR),onMouseEnter:e=>{if(showR){e.currentTarget.style.opacity=\"1\";e.currentTarget.style.transform=\"translateY(-50%) scale(1.1)\";}},onMouseLeave:e=>{e.currentTarget.style.opacity=showR?\"0.9\":\"0.25\";e.currentTarget.style.transform=\"translateY(-50%) scale(1)\";},children:/*#__PURE__*/_jsx(\"svg\",{width:CONFIG.arrowSize*.45,height:CONFIG.arrowSize*.45,viewBox:\"0 0 24 24\",fill:\"none\",stroke:CONFIG.arrowIconColor,strokeWidth:\"2.5\",strokeLinecap:\"round\",strokeLinejoin:\"round\",children:/*#__PURE__*/_jsx(\"polyline\",{points:\"9 6 15 12 9 18\"})})}),/*#__PURE__*/_jsx(Component,{...props}),/*#__PURE__*/_jsx(\"div\",{style:{display:\"flex\",justifyContent:\"center\",marginTop:CONFIG.scrollbarMarginTop},children:/*#__PURE__*/_jsx(\"div\",{onClick:e=>{e.stopPropagation();onBarClick(e);},style:{width:CONFIG.scrollbarWidth,height:4,backgroundColor:CONFIG.scrollbarTrackColor,borderRadius:4,position:\"relative\",cursor:\"pointer\"},children:/*#__PURE__*/_jsx(\"div\",{style:{position:\"absolute\",top:0,left:thumbLeft,width:thumbW,height:\"100%\",backgroundColor:CONFIG.scrollbarActiveColor,borderRadius:4,transition:dragging?\"none\":\"left 0.15s ease-out\"}})})}),/*#__PURE__*/_jsx(\"style\",{children:`\n                    [data-framer-component-type=\"CollectionList\"] > *,\n                    [data-framer-component-type=\"CollectionList\"] > * > * {\n                        scrollbar-width: none !important;\n                        -ms-overflow-style: none !important;\n                    }\n                    [data-framer-component-type=\"CollectionList\"] > *::-webkit-scrollbar,\n                    [data-framer-component-type=\"CollectionList\"] > * > *::-webkit-scrollbar {\n                        display: none !important;\n                    }\n                `})]});};}\nexport const __FramerMetadata__ = {\"exports\":{\"CarouselEffect\":{\"type\":\"reactHoc\",\"name\":\"CarouselEffect\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./Carouseled_CMS.map"],"mappings":"A,mKAmBiQ,SAAgBiB,EAAeC,EAAU,CAAC,MAAOC,IAAO,CA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