{"version":3,"file":"Carousel_Controls.BgpLQ5kY.mjs","names":["useRef","useState","useMemo"],"sources":["https:/framerusercontent.com/modules/cHcRyCu4MC0nL0JVVtnD/4fZ0AXKhm4hCCnNNmXIj/Carousel_Controls.js"],"sourcesContent":["import{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import{useEffect,useMemo,useRef,useState}from\"react\";import{addPropertyControls,ControlType}from\"framer\";// ─── Module-level constants & pure helpers ────────────────────────────────────\nconst DISABLED={opacity:.4,cursor:\"not-allowed\"};function borderCSS(w,s,c){return w>0?`${w}px ${s} ${c}`:\"none\";}// Uses getComputedStyle so Framer CSS-class overflow is detected correctly\nfunction canScroll(el){const cs=getComputedStyle(el);const ok=v=>v===\"scroll\"||v===\"auto\";if(!ok(cs.overflow)&&!ok(cs.overflowX)&&!ok(cs.overflowY))return false;return el.scrollWidth>el.clientWidth||el.scrollHeight>el.clientHeight;}// Returns the element itself or its first scrollable child\n// Framer stacks sometimes nest the real scroll div one level down\nfunction scrollTarget(el){if(canScroll(el))return el;for(const c of el.children){if(canScroll(c))return c;}return el;}// Finds element by data-framer-name first, then class/aria fallbacks\nfunction findByName(name){if(!name||typeof document===\"undefined\")return null;const exact=document.querySelector(`[data-framer-name=\"${CSS.escape(name)}\"]`);if(exact)return exact;const low=name.toLowerCase();for(const el of document.querySelectorAll('[class*=\"carousel\" i]')){if(el.className.toLowerCase().includes(low))return el;}for(const el of document.querySelectorAll('[role*=\"carousel\" i],[aria-label*=\"carousel\" i]')){const label=el.getAttribute(\"aria-label\")||el.getAttribute(\"role\")||\"\";if(label.toLowerCase().includes(low))return el;}return null;}// ─── Component ────────────────────────────────────────────────────────────────\n/**\n * @framerSupportedLayoutWidth any\n * @framerSupportedLayoutHeight any\n */export default function CarouselControls(props){const{direction=\"horizontal\",arrowColor=\"#000000\",backgroundColor=\"#F5F5F5\",borderRadius=8,border={borderWidth:0,borderStyle:\"solid\",borderColor:\"#000000\"},size=40,arrowSize=16,spacing=12,padding=0,layout=\"flex-start\",selectedCarousel=\"\",slidePercentage=80,showLabels=false,previousLabel=\"Previous\",nextLabel=\"Next\",font,useCustomIcons=false,previousIcon=\"\",nextIcon=\"\",enableHover=true,hoverScale=1.05,hoverBackgroundColor,hoverArrowColor,hoverBorderColor,style}=props;const horiz=direction===\"horizontal\";// Refs — never trigger re-renders\nconst targetRef=useRef(null);const isScrollEl=useRef(false);// Keep horiz in a ref so scroll/resize callbacks always read the latest value\n// without needing to re-attach listeners on direction change\nconst horizRef=useRef(horiz);horizRef.current=horiz;// Button state\nconst[canPrev,setCanPrev]=useState(false);const[canNext,setCanNext]=useState(false);const[found,setFound]=useState(false);const[hovered,setHovered]=useState(null);// ── Scroll state — stable function via ref ───────────────────────────────\n// BUG FIX: browsers report sub-pixel scrollLeft/Top (e.g. 499.6).\n// Truncating with | 0 made the end-boundary check always false.\n// Math.ceil on scroll position + Math.floor on max gives reliable edges.\nconst readScrollRef=useRef(el=>{if(horizRef.current){const pos=Math.ceil(el.scrollLeft);const max=Math.floor(el.scrollWidth-el.clientWidth);setCanPrev(pos>0);setCanNext(max>0&&pos<max);}else{const pos=Math.ceil(el.scrollTop);const max=Math.floor(el.scrollHeight-el.clientHeight);setCanPrev(pos>0);setCanNext(max>0&&pos<max);}});// readScrollRef.current never needs replacing — it reads horizRef.current live\n// ── Attach to a carousel/stack element ──────────────────────────────────\n// Also a stable ref — called from effects, timers, and MutationObserver\n// callbacks without any closure-staleness risk.\nconst attachRef=useRef(el=>{if(!el){targetRef.current=null;isScrollEl.current=false;setFound(false);setCanPrev(false);setCanNext(false);return;}const target=scrollTarget(el);const isScroll=canScroll(target);targetRef.current=isScroll?target:el;isScrollEl.current=isScroll;setFound(true);if(isScroll){readScrollRef.current(target);return;}// Non-scroll: read state from internal buttons / tabs / slides\nconst q=s=>el.querySelector(s);const qa=s=>[...el.querySelectorAll(s)];const pb=q('[aria-label*=\"previous\" i],.carousel-prev,.prev');const nb=q('[aria-label*=\"next\" i],.carousel-next,.next');if(pb)setCanPrev(!pb.disabled&&!pb.hasAttribute(\"aria-disabled\"));if(nb)setCanNext(!nb.disabled&&!nb.hasAttribute(\"aria-disabled\"));const tabs=qa('[role=\"tab\"],.carousel-indicator,.slide-indicator');if(tabs.length){const active=q('[role=\"tab\"][aria-selected=\"true\"],.carousel-indicator.active,.slide-indicator.active');if(active){const i=tabs.indexOf(active);setCanPrev(i>0);setCanNext(i<tabs.length-1);return;}}const track=q('.carousel-inner,.slides-container,[data-framer-name*=\"slide\" i]');if(track){const slides=[...track.children];const active=track.querySelector('.active,.current,[aria-current=\"true\"]');if(active){const i=slides.indexOf(active);setCanPrev(i>0);setCanNext(i<slides.length-1);}}});// attachRef.current never needs replacing either\n// ── Effect 1: find + mutation watch + canvas retry ───────────────────────\nuseEffect(()=>{const name=selectedCarousel?.trim();const el=findByName(name);attachRef.current(el);// Watch the target for state changes (slide advance, class toggle, etc.)\nlet mo=null;if(el){mo=new MutationObserver(()=>attachRef.current(el));mo.observe(el,{subtree:true,childList:true,attributes:true,attributeFilter:[\"class\",\"data-framer-name\",\"aria-selected\",\"aria-current\",\"disabled\",\"aria-disabled\"]});}// Canvas retry — Framer paints DOM after React mount, so target may\n// not exist yet. Poll at 150 / 400 / 900ms and watch document for it.\nlet docMo=null;const timers=[];if(!el&&name){timers.push(...[150,400,900].map(ms=>setTimeout(()=>{if(targetRef.current)return;const retry=findByName(name);if(retry){docMo?.disconnect();attachRef.current(retry);}},ms)));docMo=new MutationObserver(()=>{const retry=findByName(name);if(retry){docMo.disconnect();attachRef.current(retry);}});docMo.observe(document.body,{subtree:true,childList:true,attributes:true,attributeFilter:[\"data-framer-name\"]});}return()=>{mo?.disconnect();docMo?.disconnect();timers.forEach(clearTimeout);};},[selectedCarousel,direction])// eslint-disable-line react-hooks/exhaustive-deps\n;// ── Effect 2: scroll + resize (scroll containers only) ───────────────────\n// Depends on `found` so it re-runs the moment attach() locates the target.\n// Both listeners use readScrollRef.current — always reads latest horiz value,\n// no need to re-attach when direction changes (horizRef handles that).\nuseEffect(()=>{const el=targetRef.current;if(!el||!isScrollEl.current)return;const onScroll=()=>readScrollRef.current(el);el.addEventListener(\"scroll\",onScroll,{passive:true});// ResizeObserver fires when the container gets real dimensions on canvas\nconst ro=new ResizeObserver(()=>readScrollRef.current(el));ro.observe(el);// Initial read — may be 0 on canvas, RO will re-fire with real dims\nreadScrollRef.current(el);return()=>{el.removeEventListener(\"scroll\",onScroll);ro.disconnect();};},[found])// eslint-disable-line react-hooks/exhaustive-deps\n;// Note: direction removed from deps — horizRef keeps readScrollRef current\n// without needing to detach/reattach listeners on every direction toggle\n// ── Click ────────────────────────────────────────────────────────────────\nfunction handleClick(type){const el=targetRef.current;if(!el)return;if(isScrollEl.current){const dim=horiz?el.clientWidth:el.clientHeight;const delta=dim*(slidePercentage/100)*(type===\"prev\"?-1:1);el.scrollBy(horiz?{left:delta,behavior:\"smooth\"}:{top:delta,behavior:\"smooth\"});return;}// Framer carousel = Swiper — no distance API, always 1 slide\nconst sw=el.querySelector(\".swiper\")?.swiper;if(sw){type===\"prev\"?sw.slidePrev():sw.slideNext();setTimeout(()=>attachRef.current(el),80);return;}// Generic: click internal prev/next button\nconst innerBtn=el.querySelector(type===\"prev\"?'[aria-label*=\"previous\" i],.carousel-prev,.prev':'[aria-label*=\"next\" i],.carousel-next,.next');if(innerBtn){innerBtn.click();setTimeout(()=>attachRef.current(el),80);return;}// Last resort: keyboard dispatch\nconst focusable=el.querySelector('[tabindex],button,[role=\"button\"]');if(focusable){focusable.focus();const key=horiz?type===\"prev\"?\"ArrowLeft\":\"ArrowRight\":type===\"prev\"?\"ArrowUp\":\"ArrowDown\";focusable.dispatchEvent(new KeyboardEvent(\"keydown\",{key,bubbles:true}));setTimeout(()=>attachRef.current(el),80);}}// ── Styles ───────────────────────────────────────────────────────────────\nconst prevEnabled=found&&canPrev;const nextEnabled=found&&canNext;const baseBtnStyle=useMemo(()=>({width:size,height:size,backgroundColor,border:borderCSS(border.borderWidth,border.borderStyle,border.borderColor),borderRadius,display:\"flex\",alignItems:\"center\",justifyContent:\"center\",transition:enableHover?\"transform .18s cubic-bezier(.4,0,.2,1), opacity .18s, background-color .18s, border-color .18s\":\"opacity .18s\",userSelect:\"none\",cursor:\"pointer\",transformOrigin:\"center\"}),[size,backgroundColor,borderRadius,border,enableHover]);const containerStyle=useMemo(()=>({display:\"flex\",alignItems:\"center\",justifyContent:layout,gap:spacing,padding,flexDirection:horiz?\"row\":\"column\",...style?.width===undefined&&{width:\"100%\"}}),[spacing,padding,horiz,layout,style]);const labelStyle=useMemo(()=>({...font||{},color:arrowColor,margin:0,userSelect:\"none\"}),[font,arrowColor]);const groupStyle={display:\"flex\",alignItems:\"center\",gap:8,overflow:\"visible\",flexDirection:horiz?\"row\":\"column\"};function btnStyle(enabled,kind){const hov=enableHover&&hovered===kind&&enabled;return{...baseBtnStyle,...enabled?undefined:DISABLED,transform:`scale(${hov?hoverScale:1})`,backgroundColor:hov&&hoverBackgroundColor?hoverBackgroundColor:backgroundColor,border:borderCSS(border.borderWidth,border.borderStyle,hov&&hoverBorderColor?hoverBorderColor:border.borderColor)};}function arrow(kind,enabled){const hov=enableHover&&hovered===kind&&enabled;if(useCustomIcons){const src=kind===\"prev\"?previousIcon:nextIcon;if(src)return /*#__PURE__*/_jsx(\"img\",{src:src,alt:kind,style:{width:size*.5,height:size*.5,objectFit:\"contain\",opacity:enabled?1:.4,transition:\"opacity .18s\"}});}const stroke=enabled?hov&&hoverArrowColor?hoverArrowColor:arrowColor:\"#999\";return /*#__PURE__*/_jsx(\"svg\",{width:arrowSize,height:arrowSize,viewBox:\"0 0 24 24\",fill:\"none\",stroke:stroke,strokeWidth:2,strokeLinecap:\"round\",strokeLinejoin:\"round\",style:{transition:\"stroke .18s\",flexShrink:0},\"aria-hidden\":true,children:/*#__PURE__*/_jsx(\"path\",{d:kind===\"prev\"?\"M15 18l-6-6 6-6\":\"M9 18l6-6-6-6\"})});}function renderBtn(kind,enabled,label){return /*#__PURE__*/_jsxs(\"div\",{style:groupStyle,children:[/*#__PURE__*/_jsx(\"button\",{style:btnStyle(enabled,kind),onClick:()=>handleClick(kind),disabled:!enabled,\"aria-label\":kind===\"prev\"?\"Previous\":\"Next\",onMouseEnter:()=>enableHover&&setHovered(kind),onMouseLeave:()=>enableHover&&setHovered(null),children:arrow(kind,enabled)}),showLabels&&/*#__PURE__*/_jsx(\"span\",{style:labelStyle,children:label})]});}// ── Render ───────────────────────────────────────────────────────────────\nreturn /*#__PURE__*/_jsxs(\"div\",{style:{...containerStyle,...style,overflow:\"visible\"},children:[renderBtn(\"prev\",prevEnabled,previousLabel),renderBtn(\"next\",nextEnabled,nextLabel)]});}// ─── Property Controls ────────────────────────────────────────────────────────\naddPropertyControls(CarouselControls,{selectedCarousel:{type:ControlType.String,title:\"Select Carousel\",defaultValue:\"\",placeholder:\"Enter carousel name...\"},direction:{type:ControlType.Enum,title:\"Direction\",options:[\"horizontal\",\"vertical\"],optionTitles:[\"↔\",\"↕\"],defaultValue:\"horizontal\",displaySegmentedControl:true},slidePercentage:{type:ControlType.Number,title:\"Slide Distance\",defaultValue:80,min:10,max:100,step:5,unit:\"%\",description:\"Scroll containers only. Framer carousels always move 1 slide.\"},size:{type:ControlType.Number,title:\"Button Size\",defaultValue:40,min:24,max:80,step:4,unit:\"px\"},arrowSize:{type:ControlType.Number,title:\"Arrow Size\",defaultValue:16,min:8,max:40,step:1,unit:\"px\",hidden:({useCustomIcons})=>useCustomIcons},spacing:{type:ControlType.Number,title:\"Spacing\",defaultValue:12,min:0,max:40,step:2,unit:\"px\"},layout:{type:ControlType.Enum,title:\"Layout\",options:[\"flex-start\",\"center\",\"flex-end\",\"space-between\",\"space-around\",\"space-evenly\"],optionTitles:[\"Start\",\"Center\",\"End\",\"Space Between\",\"Space Around\",\"Space Evenly\"],defaultValue:\"flex-start\"},useCustomIcons:{type:ControlType.Boolean,title:\"Custom Icons\",defaultValue:false,enabledTitle:\"Custom\",disabledTitle:\"Default\"},previousIcon:{type:ControlType.File,title:\"Previous Icon\",allowedFileTypes:[\"jpg\",\"jpeg\",\"png\",\"gif\",\"webp\",\"svg\"],hidden:({useCustomIcons})=>!useCustomIcons},nextIcon:{type:ControlType.File,title:\"Next Icon\",allowedFileTypes:[\"jpg\",\"jpeg\",\"png\",\"gif\",\"webp\",\"svg\"],hidden:({useCustomIcons})=>!useCustomIcons},arrowColor:{type:ControlType.Color,title:\"Arrow Color\",defaultValue:\"#000000\",hidden:({useCustomIcons})=>useCustomIcons},backgroundColor:{type:ControlType.Color,title:\"Background Color\",defaultValue:\"#F5F5F5\"},borderRadius:{type:ControlType.Number,title:\"Border Radius\",defaultValue:8,min:0,step:1,unit:\"px\"},border:{type:ControlType.Border,title:\"Border\",defaultValue:{borderWidth:0,borderStyle:\"solid\",borderColor:\"rgba(0,0,0,0.5)\"}},enableHover:{type:ControlType.Boolean,title:\"Hover Effects\",defaultValue:true,enabledTitle:\"Enabled\",disabledTitle:\"Disabled\"},hoverScale:{type:ControlType.Number,title:\"Hover Scale\",defaultValue:1.05,min:1,max:1.5,step:.01,displayStepper:true,hidden:({enableHover})=>!enableHover},hoverBackgroundColor:{type:ControlType.Color,title:\"Hover Background\",defaultValue:\"\",hidden:({enableHover})=>!enableHover},hoverArrowColor:{type:ControlType.Color,title:\"Hover Arrow Color\",defaultValue:\"\",hidden:({enableHover,useCustomIcons})=>!enableHover||useCustomIcons},hoverBorderColor:{type:ControlType.Color,title:\"Hover Border Color\",defaultValue:\"\",hidden:({enableHover,border})=>!enableHover||border.borderWidth===0},showLabels:{type:ControlType.Boolean,title:\"Show Labels\",defaultValue:false,enabledTitle:\"Show\",disabledTitle:\"Hide\"},previousLabel:{type:ControlType.String,title:\"Previous Label\",defaultValue:\"Previous\",hidden:({showLabels})=>!showLabels},nextLabel:{type:ControlType.String,title:\"Next Label\",defaultValue:\"Next\",hidden:({showLabels})=>!showLabels},font:{type:ControlType.Font,title:\"Label Font\",defaultValue:{fontSize:\"14px\",variant:\"Medium\",letterSpacing:\"-0.01em\",lineHeight:\"1em\"},controls:\"extended\",defaultFontType:\"sans-serif\",hidden:({showLabels})=>!showLabels}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"CarouselControls\",\"slots\":[],\"annotations\":{\"framerSupportedLayoutHeight\":\"any\",\"framerContractVersion\":\"1\",\"framerSupportedLayoutWidth\":\"any\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./Carousel_Controls.map"],"mappings":"sMACiD,SAAS,EAAU,EAAE,EAAE,EAAE,CAAC,OAAO,EAAE,EAAE,GAAG,EAAE,KAAK,EAAE,GAAG,IAAI,OACzG,SAAS,EAAU,EAAG,CAAC,IAAM,EAAG,iBAAiB,EAAG,CAAO,EAAG,GAAG,IAAI,UAAU,IAAI,OAA8E,MAApE,CAAC,EAAG,EAAG,SAAS,EAAE,CAAC,EAAG,EAAG,UAAU,EAAE,CAAC,EAAG,EAAG,UAAU,CAAQ,GAAa,EAAG,YAAY,EAAG,aAAa,EAAG,aAAa,EAAG,aAE1N,SAAS,EAAa,EAAG,CAAC,GAAG,EAAU,EAAG,CAAC,OAAO,EAAG,IAAI,IAAM,KAAK,EAAG,SAAU,GAAG,EAAU,EAAE,CAAC,OAAO,EAAG,OAAO,EAClH,SAAS,EAAW,EAAK,CAAC,GAAG,CAAC,GAAM,OAAO,SAAW,IAAY,OAAO,KAAK,IAAM,EAAM,SAAS,cAAc,sBAAsB,IAAI,OAAO,EAAK,CAAC,IAAI,CAAC,GAAG,EAAM,OAAO,EAAM,IAAM,EAAI,EAAK,aAAa,CAAC,IAAI,IAAM,KAAM,SAAS,iBAAiB,wBAAwB,CAAE,GAAG,EAAG,UAAU,aAAa,CAAC,SAAS,EAAI,CAAC,OAAO,EAAI,IAAI,IAAM,KAAM,SAAS,iBAAiB,kDAAkD,CAAyE,IAA3D,EAAG,aAAa,aAAa,EAAE,EAAG,aAAa,OAAO,EAAE,IAAY,aAAa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