{"version":3,"file":"MultiLayoutCarousel.Cp69gOQt.mjs","names":["Children","isValidElement","Fragment","useState","useRef","useCallback","_Fragment","useFMReduced","useMemo","__esmMin","le","z","init_ssg_sandbox_shims","ne","x","window","j","_e","de","l","pe","p","K","c","init_jsx_runtime","init_npm_react_18_3_1","ce","useMotionValue","useReducedMotion","animate","init_framer_motion_DhsWWWsN","useIsStaticRenderer","init_framer_DcGZRLrs","addPropertyControls","RenderTarget","ControlType","slotProps","node","slotElementChildren","raw","slotTypeName","type","fn","obj","framerComponentType","isFramerFrame","ft","name","hasDisplayContents","style","hasCollectionProps","keysLookRepeated","keys","kids","k","first","prefixLen","i","n","childrenLookHomogeneous","firstName","firstFt","looksLikeCollectionWrapper","isTransparentWrapper","findRepeatedItemGroup","depth","maxDepth","hit","best","normalizeTopSlots","expanded","expandTop","nodes","flattenSlotChildren","out","el","inspectSlotTree","infos","splitAt","walk","flat","findSlotRenderChain","chain","cur","slotItemsFromRenderOutput","unwrap","nested","items","neutralizeSlotShell","child","keyedItems","key","prefix","used","SlotItemsResolver","tops","slots","children","finish","collectionItems","acc","a","collections","isCanvas","step","idx","path","top","found","next","host","original","rebuilt","args","usedHere","slotsDebugSummary","info","count","useSlotsDebugLog","enabled","label","summary","SlotsDebugOverlay","failed","resolve","open","setOpen","accent","resolveLine","stop","flattenedCount","SlotFill","fill","clone","usePrefersReducedMotion","reduced","setReduced","mq","update","useIsTouchPrimary","touch","setTouch","useElementInView","inView","setInView","io","entry","threshold","rootMargin","useElementSize","size","setSize","s","w","h","onResize","ro","r","entries","clamp","max","min","wrapIndex","len","useAutoplay","cb","onTick","paused","intervalMs","id","resetKey","usePointerDrag","draggingRef","didDragRef","dragging","setDragging","start","axis","opts","onDragRef","onDragEndRef","pointerId","move","dx","ev","dy","now","dt","up","imageSrc","image","itemsSignature","it","nonEmpty","v","reportBlockedVideo","DEV_LOGGING","src","reportedBlockedVideos","err","MediaSlide","videoRef","slideEl","setSlideEl","SLIDE_IN_VIEW_THRESHOLD","imgFailed","setImgFailed","item","videoSrc","setVideoSrc","active","videoBlocked","setVideoBlocked","playTokenRef","attemptPlay","rejected","token","videoAutoplay","retryPlay","showPlayButton","title","subtitle","explicitAlt","isLink","captionNames","showCaptions","linkLabel","slideNumber","slideCount","imgAlt","media","videoMuted","eager","inner","onActivate","radius","shadow","backface","titleColor","titleSize","subtitleColor","subtitleSize","playButton","ArrowButton","direction","bg","disabled","Dots","isActive","onSelect","activeColor","color","PauseButton","playing","onToggle","projectRing","R","theta","zc","tiltRad","f","RING_CAMERA","depthNorm","ringFitsWidth","halfW","canScrollX","ox","sl","rtl","lo","dir","EngineSlot","ref","computeRef","compute","apply","live","pos","attrs","baseStyle","MultiLayoutCarousel","props","CarouselView","prefersReduced","fmReduced","isTouch","isStatic","interactive","itemsSig","contentSource","hasCollectionItems","slotItems","resolvedItems","DEFAULT_ITEMS","placeholderImages","alt","FALLBACK_GRADIENTS","infinite","loop","vpos","setVpos","vposRef","index","hoverSlot","setHoverSlot","tapExpand","setTapExpand","pausedChoice","setPausedChoice","hoverPaused","setHoverPaused","rootEl","setRootEl","stageEl","setStageEl","rootSize","stageSize","ROOT_IN_VIEW_THRESHOLD","hasChrome","showArrows","showDots","showPauseButton","autoplay","chromeH","arrowSize","naturalStageH","layout","itemHeight","ropeSag","arcDepth","focusScale","hoverGrowScale","stageW","stageH","measured","ready","setReady","geom","availW","availH","fitK","maxW","itemWidth","maxH","base","sized","growH","sag","ROPE_PIN_GAP","STAGE_PAD","tilt","ringTilt","shiftY","iter","ringRadius","hi","b","mid","back","vertical","wantR","shrink","cardW","cardH","isRing","isHoverGrow","isClassic","isTrack","wasInfiniteRef","was","stepTo","target","goToItem","d","prev","userPaused","autoplayPaused","autoplayOn","pauseOnHover","onStageHover","onCard","toggleAutoplay","nextPaused","onAutoplayPausedChange","autoplayInterval","transition","easing","springStiffness","springDamping","easeDuration","engineTransition","viewBuffer","buffer","spacing","gap","animRef","dragBaseRef","center","setCenter","centerRef","instantMotion","settleTo","dragEnabled","stepPx","vx","wheelStateRef","wheelNav","lockUntil","holdUntil","holdDir","onWheel","e","unit","ax","WHEEL_AXIS_RATIO","st","held","canMove","t","WHEEL_GESTURE_GAP_MS","WHEEL_MIN_DELTA","WHEEL_LOCK_MS","onKeyDown","ringVisual","pr","yaw","RING_MAX_YAW","dimInactive","ringBaseStyle","renderRingSlide","near","ringIndices","reach","stride","trackTotal","trackFits","peekPx","classicPeek","trackBase","expandSlot","growL","growR","E","L","reachL","reachR","x0","grow","slotKs","slotVisual","at","u","scale","focusSideScale","blur","focusBlur","focusOpacity","ropeY","slope","rot","slotBaseStyle","growEase","renderEngineSlot","content","grown","shift","dimmed","animateGrow","ropeColor","slide","hide","FOCUSABLE_SELECTOR","orig","showSlotsDebug","debugSlots","debugSummary","slotInfo","FOCUS_RING_CSS","srOnly","SLOT_FILL_CSS","onPointerDown","ropeThickness","arrowColor","arrowBg","dotColor","dotActiveColor","DEFAULT_ITEMS_CONTROL_VALUE","init_MultiLayoutCarousel","env"],"sources":["https:/framerusercontent.com/modules/HRE3TFhdQWRL0cLBiTGE/4mQ3pfGsLEpDw32u4WpE/MultiLayoutCarousel.js"],"sourcesContent":["/**\n * MultiLayoutCarousel — Framer Marketplace code component\n * One engine, six layouts: Hover-Grow, Arc, Focus, Rope, 3D Ring, Classic.\n *\n * Sizing: the root always fills the Framer frame (width/height 100%). The stage is\n * measured with ResizeObserver and every layout fits its cards inside the measured\n * box (cards scale down when the frame is smaller than Item Width/Height).\n *\n * Static renderer (Framer canvas / export / thumbnails, `useIsStaticRenderer()`):\n * renders a deterministic first frame (slide 1 active, settled positions) with no\n * autoplay timer, no rAF, no motion-value subscriptions/springs and no drag, wheel,\n * keyboard or hover handlers.\n *\n * @framerSupportedLayoutWidth any-prefer-fixed\n * @framerSupportedLayoutHeight any-prefer-fixed\n * @framerIntrinsicWidth 900\n * @framerIntrinsicHeight 480\n */import{jsx as _jsx,jsxs as _jsxs,Fragment as _Fragment}from\"react/jsx-runtime\";import{Children,Fragment,cloneElement,isValidElement,useCallback,useEffect,useLayoutEffect,useMemo,useRef,useState}from\"react\";import{addPropertyControls,ControlType,RenderTarget,useIsStaticRenderer}from\"framer\";import{animate,useMotionValue,useReducedMotion as useFMReduced}from\"framer-motion\";function slotProps(node){return node.props||{};}function slotElementChildren(node){const raw=slotProps(node).children;return Children.toArray(raw).filter(isValidElement);}function slotTypeName(type){if(typeof type===\"string\")return type;if(typeof type===\"function\"){const fn=type;return fn.displayName||fn.name||\"\";}if(typeof type===\"object\"&&type){const obj=type;return obj.displayName||obj.render?.displayName||obj.render?.name||\"\";}return\"\";}function framerComponentType(node){const t=slotProps(node)[\"data-framer-component-type\"];return typeof t===\"string\"&&t?t:null;}/**\n * Live Framer canvas: Collection List and each CMS item are Frame hosts\n * (`data-framer-component-type=\"Frame\"`). Item Frames often have *different*\n * React type identities (per-instance components), so reference equality alone\n * misses them — detect by Framer attrs / displayName instead.\n */function isFramerFrame(node){const ft=framerComponentType(node);if(ft===\"Frame\"||ft===\"Stack\"||ft===\"Collection\")return true;const name=slotTypeName(node.type);if(/^(Frame|Stack|Container|Collection(List)?)$/i.test(name))return true;if(/framer.*frame/i.test(name))return true;return false;}function hasDisplayContents(node){const style=slotProps(node).style;if(!style||typeof style!==\"object\")return false;return style.display===\"contents\";}function hasCollectionProps(node){const p=slotProps(node);if(p.query!=null||p.collection!=null)return true;const name=slotTypeName(node.type);if(/collection|repeater|cms|list/i.test(name))return true;const ft=framerComponentType(node);if(ft&&/collection|list/i.test(ft))return true;return false;}/** Sibling keys share a Framer template prefix (…--TemplateId-itemId). */function keysLookRepeated(kids){const keys=kids.map(k=>k.key!=null?String(k.key):\"\").filter(Boolean);if(keys.length<2)return false;// Common pattern: long shared prefix ending before the last segment\nconst first=keys[0];let prefixLen=first.length;for(let i=1;i<keys.length;i++){const k=keys[i];let n=0;while(n<prefixLen&&n<k.length&&first[n]===k[n])n++;prefixLen=n;}if(prefixLen<6)return false;const prefix=first.slice(0,prefixLen);// Prefer prefixes that look like Framer ids (contain --)\nreturn prefix.includes(\"--\")||prefixLen>=10;}/**\n * True when siblings are repeated CMS item hosts (not mixed card chrome).\n * Critical: Framer item Frames rarely share the same `type` reference.\n */function childrenLookHomogeneous(kids){if(kids.length<2)return false;// Live canvas: N Frame siblings under a Collection List Frame\nif(kids.every(isFramerFrame))return true;if(keysLookRepeated(kids))return true;const firstName=slotTypeName(kids[0].type);if(firstName&&kids.every(k=>slotTypeName(k.type)===firstName))return true;const firstFt=framerComponentType(kids[0]);if(firstFt&&kids.every(k=>framerComponentType(k)===firstFt))return true;const first=kids[0].type;return kids.every(k=>k.type===first);}function looksLikeCollectionWrapper(node,kids){if(kids.length<2)return false;if(hasDisplayContents(node))return true;if(hasCollectionProps(node))return true;// Collection List itself is a Frame whose children are item Frames\nif(isFramerFrame(node)&&childrenLookHomogeneous(kids))return true;if(childrenLookHomogeneous(kids))return true;return false;}function isTransparentWrapper(node){if(node.type===Fragment)return true;if(hasDisplayContents(node))return true;return false;}/**\n * Walk a single-child chain / nested shells and return the best CMS item list.\n * Live tree: Slot → (optional shells) → Frame(Collection) → ×N Frame(items).\n */function findRepeatedItemGroup(node,depth,maxDepth){if(depth>maxDepth)return null;if(isTransparentWrapper(node)){const kids=slotElementChildren(node);if(kids.length===1)return findRepeatedItemGroup(kids[0],depth+1,maxDepth);if(kids.length>=2&&childrenLookHomogeneous(kids)){return{items:kids,path:`fragment@${depth}`};}for(const k of kids){const hit=findRepeatedItemGroup(k,depth+1,maxDepth);if(hit)return hit;}return null;}const kids=slotElementChildren(node);const name=slotTypeName(node.type)||framerComponentType(node)||typeof node.type;// Direct hit: this node hosts N repeated item Frames\nif(kids.length>=2&&looksLikeCollectionWrapper(node,kids)){return{items:kids,path:`${name}|${framerComponentType(node)||\"el\"}@${depth}→${kids.length}`};}// Single child shell (ComponentInstance host, provider, layout Frame, etc.)\nif(kids.length===1){return findRepeatedItemGroup(kids[0],depth+1,maxDepth);}// Multiple kids but not homogeneous at this level — dig for a nested list\n// only when the parent looks like a Framer host (not a designed card).\nif(kids.length>=2&&(isFramerFrame(node)||hasCollectionProps(node))){// Prefer a child that itself wraps a repeated group (rare nesting)\nlet best=null;for(const k of kids){const hit=findRepeatedItemGroup(k,depth+1,maxDepth);if(hit&&(!best||hit.items.length>best.items.length))best=hit;}return best;}return null;}function normalizeTopSlots(nodes){const expanded=[];const expandTop=node=>{if(node==null||typeof node===\"boolean\")return;if(typeof node===\"string\"||typeof node===\"number\")return;if(Array.isArray(node)){Children.toArray(node).forEach(expandTop);return;}if(!/*#__PURE__*/isValidElement(node))return;if(node.type===Fragment||hasDisplayContents(node)){Children.toArray(slotProps(node).children).forEach(expandTop);return;}expanded.push(node);};expandTop(nodes);return expanded;}/**\n * Expand Framer ComponentInstance slot trees into one element per CMS item.\n *\n * Live Framer canvas (Oct 2026): Slots gets ONE Collection List Frame whose\n * props.children are N item Frames (`data-framer-component-type=\"Frame\"`),\n * often with distinct React type identities. We recursively unwrap shells and\n * split on homogeneous Frame siblings — not type-reference equality alone.\n *\n * Designed cards with mixed Image+Text children stay as a single item.\n */function flattenSlotChildren(nodes){const expanded=normalizeTopSlots(nodes);if(expanded.length===0)return[];// Classic: one connected Collection List → N items\nif(expanded.length===1){const hit=findRepeatedItemGroup(expanded[0],0,12);if(hit&&hit.items.length>=2)return hit.items;return expanded;}// Multiple top-level slot connections: try unwrap each; if a slot is itself\n// a collection list, expand it in place.\nconst out=[];for(const el of expanded){const hit=findRepeatedItemGroup(el,0,12);if(hit&&hit.items.length>=2)out.push(...hit.items);else out.push(el);}return out;}/** Walk the raw slot tree for debugSlots overlay / QA. */function inspectSlotTree(nodes){const expanded=normalizeTopSlots(nodes);const infos=[];let splitAt=null;const walk=(node,depth)=>{if(node==null||typeof node===\"boolean\")return;if(Array.isArray(node)){Children.toArray(node).forEach(n=>walk(n,depth));return;}if(!/*#__PURE__*/isValidElement(node))return;const kids=slotElementChildren(node);const ft=framerComponentType(node);infos.push({depth,typeName:slotTypeName(node.type)||(typeof node.type===\"string\"?node.type:\"Anonymous\"),key:node.key!=null?String(node.key):null,childCount:kids.length,framerType:ft,isFrame:isFramerFrame(node),renderFn:typeof slotProps(node).children===\"function\"});kids.forEach(k=>walk(k,depth+1));};expanded.forEach(n=>walk(n,0));if(expanded.length===1){const hit=findRepeatedItemGroup(expanded[0],0,12);if(hit)splitAt=hit.path;}const flat=flattenSlotChildren(nodes);return{inputTopLevel:expanded.length,flattenedCount:flat.length,nodes:infos.slice(0,40),splitAt};}/**\n * Follow single-element `props.children` from the slot element until an element whose\n * `children` is a function (the Collection List's QueryData). Pure element-prop read.\n */function findSlotRenderChain(node,maxDepth=8){const chain=[];let cur=node;for(let depth=0;cur&&depth<=maxDepth;depth++){chain.push(cur);const raw=slotProps(cur).children;if(typeof raw===\"function\"){const path=chain.map((el,i)=>(slotTypeName(el.type)||(typeof el.type===\"string\"?el.type:\"Anonymous\"))+(i===chain.length-1?\"(fn)\":\"\")).join(\">\");return{chain,path};}const kids=Children.toArray(raw).filter(isValidElement);cur=kids.length===1?kids[0]:null;}return null;}/**\n * Split the React output of a Collection List render function into item elements.\n * `collection.map(...)` arrives as an array (often inside a Fragment). A paginated list\n * returns `[itemsArray, <LoadMore/>]`: the nested array is the items, loose siblings\n * are list chrome and are dropped. A single wrapper element (e.g. a grid div around the\n * items) is split with the React-tree heuristics.\n */function slotItemsFromRenderOutput(out){const unwrap=(node,depth)=>{if(depth>8||node==null||typeof node===\"boolean\")return[];if(Array.isArray(node)){const nested=node.filter(n=>Array.isArray(n));if(nested.length){let best=nested[0];for(const n of nested)if(n.length>best.length)best=n;return unwrap(best,depth+1);}const out=[];for(const n of node)out.push(...unwrap(n,depth+1));return out;}if(!/*#__PURE__*/isValidElement(node))return[];if(node.type===Fragment)return unwrap(slotProps(node).children,depth+1);return[node];};let items=unwrap(out,0);if(items.length===1){const hit=findRepeatedItemGroup(items[0],0,6);if(hit&&hit.items.length>=2)items=hit.items;}return items;}/** Strip the list container's own box so it doesn't affect our layout (props only). */function neutralizeSlotShell(el,child){const p=slotProps(el);const isHost=typeof el.type===\"string\"||p.style!=null||p.className!=null;if(!isHost)return /*#__PURE__*/cloneElement(el,undefined,child);return /*#__PURE__*/cloneElement(el,{style:{...p.style||{},display:\"contents\"}},child);}function keyedItems(items,prefix,fromCollection,used){return items.map((node,i)=>{let key=`${prefix}${node.key!=null?String(node.key):`#${i}`}`;while(used.has(key))key+=\"'\";used.add(key);return{key,node,fromCollection};});}/**\n * Resolve slot content into per-item React elements and render `children(items, info)`.\n * Declarative only: element props are read, the innermost Collection List render\n * function is wrapped via cloneElement, nothing in the DOM is touched.\n *\n * `isCanvas`: Framer's canvas may hand the code component an opaque list element or a\n * render function that yields a single representative item. When a collection gives\n * fewer than 2 items on the canvas, the untouched slot is rendered as one slide so the\n * designer still sees their whole list.\n */function SlotItemsResolver({slots,isCanvas=false,children}){const tops=normalizeTopSlots(slots);if(tops.length===0){return children([],{source:\"empty\",count:0,collections:0,collectionItems:0,path:null,note:null});}const finish=(acc,collections,path)=>{const collectionItems=acc.filter(a=>a.fromCollection).length;if(collections>0&&isCanvas&&collectionItems<2){// Canvas: show the list exactly as Framer renders it (one slide).\nconst used=new Set;const items=keyedItems(tops,\"slot:\",false,used);return children(items,{source:\"fallback\",count:items.length,collections,collectionItems,path,note:\"canvas: collection gave <2 items, slot shown as-is\"});}const source=collections>0?\"collection\":acc.length>=2||tops.length>=2?\"static\":\"fallback\";return children(acc,{source,count:acc.length,collections,collectionItems,path,note:null});};const step=(idx,acc,used,collections,path)=>{if(idx>=tops.length)return finish(acc,collections,path);const top=tops[idx];const found=findSlotRenderChain(top);if(!found){const flat=flattenSlotChildren(top);const next=keyedItems(flat.length?flat:[top],`s${idx}:`,false,used);return step(idx+1,acc.concat(next),used,collections,path);}const{chain}=found;const host=chain[chain.length-1];const original=slotProps(host).children;const wrapped=(...args)=>{const items=slotItemsFromRenderOutput(original(...args));const usedHere=new Set(used);const next=keyedItems(items,`c${idx}:`,true,usedHere);return step(idx+1,acc.concat(next),usedHere,collections+1,path??found.path);};// Rebuild the chain bottom-up: same elements/keys/refs, only the innermost\n// `children` function is replaced and DOM shells get display: contents.\nlet rebuilt=/*#__PURE__*/cloneElement(host,undefined,wrapped);for(let i=chain.length-2;i>=0;i--)rebuilt=neutralizeSlotShell(chain[i],rebuilt);return rebuilt;};return step(0,[],new Set,0,null);}/** One-line summary (root `data-slots-debug` attribute + console) for debugSlots. */function slotsDebugSummary(count,info){if(!info)return`count=${count}`;return`count=${count} source=${info.source} cms=${info.collectionItems} lists=${info.collections}${info.path?` path=${info.path}`:\"\"}${info.note?` note=${info.note}`:\"\"}`;}/** Logs the debugSlots summary to the console whenever it changes (Preview / published diagnostics). */function useSlotsDebugLog(enabled,label,summary){useEffect(()=>{if(!enabled||typeof console===\"undefined\")return;console.info(`[${label} debugSlots] ${summary}`);},[enabled,label,summary]);}/**\n * debugSlots overlay — a small chip pinned to the BOTTOM-LEFT corner (one-line\n * summary) that expands on click into the full tree/outline. Collapsed by default\n * when the split worked; auto-expanded when the slot fell back to a single slide.\n */function SlotsDebugOverlay({slots,flattenedCount,resolve}){const info=inspectSlotTree(slots);const failed=!!resolve&&resolve.source===\"fallback\";const[open,setOpen]=useState(null);const expanded=open??failed;const accent=resolve?resolve.source===\"collection\"||resolve.source===\"static\"?\"#86EFAC\":failed?\"#FCA5A5\":\"#A5B4FC\":\"#A5B4FC\";const resolveLine=resolve?`source=${resolve.source} \\xb7 cms=${resolve.collectionItems} \\xb7 lists=${resolve.collections}${resolve.path?` \\xb7 path ${resolve.path}`:\"\"}${resolve.note?` \\xb7 ${resolve.note}`:\"\"}`:\"\";const stop=e=>e.stopPropagation();return /*#__PURE__*/_jsxs(\"div\",{\"data-qa\":\"slots-debug\",\"data-expanded\":expanded?\"true\":\"false\",style:{position:\"absolute\",left:6,bottom:6,// Last child of the root + max z-index: above slides and chrome.\nzIndex:2147483e3,maxWidth:expanded?\"min(420px, 92%)\":\"min(340px, 64%)\",display:\"flex\",flexDirection:\"column-reverse\",alignItems:\"flex-start\",gap:4,fontFamily:\"ui-monospace, SFMono-Regular, Menlo, monospace\",pointerEvents:\"none\"},children:[/*#__PURE__*/_jsxs(\"button\",{type:\"button\",\"data-qa\":\"slots-debug-toggle\",\"aria-label\":expanded?\"Collapse slot debug\":\"Expand slot debug\",\"aria-expanded\":expanded,onPointerDown:stop,onClick:e=>{e.stopPropagation();setOpen(!expanded);},style:{pointerEvents:\"auto\",maxWidth:\"100%\",display:\"flex\",alignItems:\"center\",gap:6,padding:\"3px 8px\",borderRadius:999,border:`1px solid ${accent}`,background:\"rgba(15,23,42,0.88)\",color:\"#E2E8F0\",font:\"inherit\",fontSize:10,lineHeight:1.4,cursor:\"pointer\",textAlign:\"left\",boxShadow:\"0 4px 12px rgba(0,0,0,0.3)\"},children:[/*#__PURE__*/_jsxs(\"span\",{style:{color:accent,fontWeight:700,flex:\"0 0 auto\"},children:[expanded?\"▾\":\"▸\",\" slots\"]}),/*#__PURE__*/_jsxs(\"span\",{\"data-qa\":\"slots-debug-dom\",style:{overflow:\"hidden\",textOverflow:\"ellipsis\",whiteSpace:\"nowrap\",minWidth:0},children:[\"flat=\",flattenedCount,resolve?` \\xb7 ${resolveLine}`:` \\xb7 top=${info.inputTopLevel}${info.splitAt?` \\xb7 split@${info.splitAt}`:\" \\xb7 no-split\"}`]})]}),expanded&&/*#__PURE__*/_jsxs(\"div\",{\"data-qa\":\"slots-debug-panel\",onPointerDown:stop,style:{pointerEvents:\"auto\",maxHeight:220,overflow:\"auto\",padding:\"8px 10px\",borderRadius:8,background:\"rgba(15,23,42,0.94)\",border:\"1px solid rgba(165,180,252,0.6)\",color:\"#E2E8F0\",fontSize:11,lineHeight:1.45,boxShadow:\"0 8px 24px rgba(0,0,0,0.35)\"},children:[/*#__PURE__*/_jsxs(\"div\",{style:{fontWeight:700,marginBottom:4,color:\"#A5B4FC\"},children:[\"debugSlots \\xb7 flat=\",flattenedCount,\" \\xb7 top=\",info.inputTopLevel,info.splitAt?` \\xb7 split@${info.splitAt}`:\" \\xb7 no-split\"]}),resolve&&/*#__PURE__*/_jsx(\"div\",{style:{fontWeight:700,marginBottom:4,color:accent},children:resolveLine}),info.nodes.map((n,i)=>/*#__PURE__*/_jsxs(\"div\",{children:[\"\\xb7\".repeat(Math.min(n.depth,8)),n.isFrame?\"🖼\":\"\\xb7\",\" \",n.typeName,n.framerType?`[${n.framerType}]`:\"\",n.key?` key=${n.key}`:\"\",\" \\xb7 kids=\",n.renderFn?\"fn\":n.childCount]},i))]})]});}/** CSS so a slotted CMS item fills its slide (direct child of our own wrapper only). */const SLOT_FILL_CSS=\"[data-slot-fill=both]>*{width:100%!important;height:100%!important;max-width:none!important;max-height:none!important;flex:1 1 auto!important}\"+\"[data-slot-fill=width]>*{width:100%!important;max-width:none!important}\";/**\n * Our own wrapper around one slotted item element. `fill` stretches the item's root to\n * the slide via SLOT_FILL_CSS (a stylesheet rule — no DOM writes). Render\n * `<style>{SLOT_FILL_CSS}</style>` once in the component.\n */function SlotFill({fill=\"both\",clone=false,children}){return /*#__PURE__*/_jsx(\"div\",{\"data-slot-fill\":fill,\"data-slot-clone\":clone?\"\":undefined,\"aria-hidden\":clone?true:undefined,style:{width:\"100%\",height:fill===\"both\"?\"100%\":undefined,display:fill===\"both\"?\"flex\":\"block\",position:\"relative\",pointerEvents:clone?\"none\":undefined},children:children});}function usePrefersReducedMotion(){const[reduced,setReduced]=useState(false);useEffect(()=>{if(typeof window===\"undefined\"||!window.matchMedia)return;const mq=window.matchMedia(\"(prefers-reduced-motion: reduce)\");const update=()=>setReduced(mq.matches);update();if(mq.addEventListener)mq.addEventListener(\"change\",update);else mq.addListener(update);return()=>{if(mq.removeEventListener)mq.removeEventListener(\"change\",update);else mq.removeListener(update);};},[]);return reduced;}function useIsTouchPrimary(){const[touch,setTouch]=useState(false);useEffect(()=>{if(typeof window===\"undefined\")return;const mq=window.matchMedia(\"(hover: none), (pointer: coarse)\");const update=()=>setTouch(mq.matches);update();if(mq.addEventListener)mq.addEventListener(\"change\",update);else mq.addListener(update);return()=>{if(mq.removeEventListener)mq.removeEventListener(\"change\",update);else mq.removeListener(update);};},[]);return touch;}/**\n * IntersectionObserver visibility for one element, keyed on stable primitives only.\n * The observer is created once per element (the element itself is the dependency, so a\n * remounted node is re-observed) and is rebuilt only if `threshold` / `rootMargin`\n * actually change — never because a caller re-rendered with a fresh options object.\n * Pass module-level constants (or other primitives) for `threshold` / `rootMargin`.\n */function useElementInView(el,threshold,rootMargin=\"0px\"){const[inView,setInView]=useState(false);useEffect(()=>{if(!el)return;if(typeof IntersectionObserver===\"undefined\"){setInView(true);return;}const io=new IntersectionObserver(([entry])=>{setInView(!!entry?.isIntersecting);},{threshold,rootMargin});io.observe(el);return()=>io.disconnect();},[el,threshold,rootMargin]);return inView;}/**\n * Measures an element's content box with ResizeObserver. Takes the element itself\n * (from a callback ref / state) so it re-subscribes when a conditionally rendered\n * node mounts. Returns 0×0 until the first measurement.\n */function useElementSize(el){const[size,setSize]=useState({width:0,height:0});useEffect(()=>{if(!el)return;const update=(w,h)=>setSize(s=>Math.abs(s.width-w)<.5&&Math.abs(s.height-h)<.5?s:{width:w,height:h});update(el.clientWidth,el.clientHeight);if(typeof ResizeObserver===\"undefined\"){const onResize=()=>update(el.clientWidth,el.clientHeight);window.addEventListener(\"resize\",onResize);return()=>window.removeEventListener(\"resize\",onResize);}const ro=new ResizeObserver(entries=>{const r=entries[0]?.contentRect;if(r)update(r.width,r.height);});ro.observe(el);return()=>ro.disconnect();},[el]);return size;}function clamp(n,min,max){return Math.min(max,Math.max(min,n));}function wrapIndex(i,len){if(len<=0)return 0;return(i%len+len)%len;}/**\n * Autoplay timer. Pass the current index as `resetKey`: ANY index change (arrow,\n * dot, keyboard, drag, or the tick itself) restarts the full interval, so an\n * automatic advance can never land right after a manual click.\n */function useAutoplay(enabled,intervalMs,onTick,paused,resetKey){const cb=useRef(onTick);cb.current=onTick;useEffect(()=>{if(!enabled||paused||intervalMs<=0)return;const id=window.setTimeout(()=>cb.current(),intervalMs);return()=>window.clearTimeout(id);},[enabled,intervalMs,paused,resetKey]);}function usePointerDrag(opts){const draggingRef=useRef(false);const didDragRef=useRef(false);const[dragging,setDragging]=useState(false);const start=useRef({x:0,y:0,t:0,lastX:0,lastY:0,lastT:0,vx:0,vy:0});const axis=opts.axis??\"x\";const threshold=opts.threshold??4;// Keep latest callbacks in refs so pointerup never sees a stale closure\n// (e.g. dragOffset from the pointerdown render).\nconst onDragRef=useRef(opts.onDrag);const onDragEndRef=useRef(opts.onDragEnd);onDragRef.current=opts.onDrag;onDragEndRef.current=opts.onDragEnd;const onPointerDown=useCallback(e=>{if(e.button!==0)return;const el=e.currentTarget;const pointerId=e.pointerId;// Do NOT capture yet — early capture retargets click away from slides\n// (breaks tap-to-expand / click-to-select). Capture only after drag starts.\ndraggingRef.current=false;didDragRef.current=false;setDragging(false);start.current={x:e.clientX,y:e.clientY,t:performance.now(),lastX:e.clientX,lastY:e.clientY,lastT:performance.now(),vx:0,vy:0};const move=ev=>{const dx=ev.clientX-start.current.x;const dy=ev.clientY-start.current.y;const now=performance.now();const dt=Math.max(1,now-start.current.lastT);start.current.vx=(ev.clientX-start.current.lastX)/dt;start.current.vy=(ev.clientY-start.current.lastY)/dt;start.current.lastX=ev.clientX;start.current.lastY=ev.clientY;start.current.lastT=now;if(!draggingRef.current){const dist=axis===\"x\"?Math.abs(dx):axis===\"y\"?Math.abs(dy):Math.hypot(dx,dy);if(dist<threshold)return;draggingRef.current=true;didDragRef.current=true;setDragging(true);el.setPointerCapture?.(pointerId);}onDragRef.current(axis===\"y\"?0:dx,axis===\"x\"?0:dy,ev);};const up=()=>{window.removeEventListener(\"pointermove\",move);window.removeEventListener(\"pointerup\",up);window.removeEventListener(\"pointercancel\",up);if(draggingRef.current){onDragEndRef.current?.(start.current.vx*1e3,start.current.vy*1e3);}try{el.releasePointerCapture?.(pointerId);}catch{/* not capturing */}draggingRef.current=false;setDragging(false);};window.addEventListener(\"pointermove\",move);window.addEventListener(\"pointerup\",up);window.addEventListener(\"pointercancel\",up);},[axis,threshold]);return{onPointerDown,dragging,didDragRef};}const srOnly={position:\"absolute\",width:1,height:1,padding:0,margin:-1,overflow:\"hidden\",clip:\"rect(0,0,0,0)\",whiteSpace:\"nowrap\",border:0};/* -------------------------------------------------------------------------- *//* Defaults                                                                    *//* -------------------------------------------------------------------------- */const DEFAULT_ITEMS=[{id:\"1\",image:\"https://images.unsplash.com/photo-1618005182384-a83a8bd57fbe?w=800&q=80\",title:\"Aurora\",subtitle:\"Abstract #01\",link:\"#\",alt:\"Abstract aurora gradients\"},{id:\"2\",image:\"https://images.unsplash.com/photo-1558591710-4b4a1ae0f04d?w=800&q=80\",title:\"Bloom\",subtitle:\"Abstract #02\",link:\"#\",alt:\"Soft bloom light\"},{id:\"3\",image:\"https://images.unsplash.com/photo-1579546929518-9e396f3cc809?w=800&q=80\",title:\"Prism\",subtitle:\"Abstract #03\",link:\"#\",alt:\"Prism color wash\"},{id:\"4\",image:\"https://images.unsplash.com/photo-1557683316-973673baf926?w=800&q=80\",title:\"Tide\",subtitle:\"Abstract #04\",link:\"#\",alt:\"Deep tide gradients\"},{id:\"5\",image:\"https://images.unsplash.com/photo-1614850523459-c2f4c699c52e?w=800&q=80\",title:\"Nebula\",subtitle:\"Abstract #05\",link:\"#\",alt:\"Nebula clouds\"},{id:\"6\",image:\"https://images.unsplash.com/photo-1620641788421-7a1c342ea42e?w=800&q=80\",title:\"Pulse\",subtitle:\"Abstract #06\",link:\"#\",alt:\"Pulse mesh\"}];/**\n * Property-control default for the Items array. Only keys that have a matching\n * control are included (no `id`): Framer's Array→Object editor round-trips exactly\n * the declared fields, and Image controls inside arrays don't accept defaults, so\n * demo imagery is supplied in code instead (see `placeholderImages`).\n */const DEFAULT_ITEMS_CONTROL_VALUE=DEFAULT_ITEMS.map(it=>({title:it.title,subtitle:it.subtitle,link:it.link,alt:it.alt}));/** Vivid per-index gradients shown behind images (while loading / on error / no image). */const FALLBACK_GRADIENTS=[\"linear-gradient(135deg,#6366f1 0%,#a855f7 50%,#ec4899 100%)\",\"linear-gradient(135deg,#f97316 0%,#f59e0b 50%,#facc15 100%)\",\"linear-gradient(135deg,#06b6d4 0%,#3b82f6 55%,#1e3a8a 100%)\",\"linear-gradient(135deg,#10b981 0%,#14b8a6 50%,#0ea5e9 100%)\",\"linear-gradient(135deg,#f43f5e 0%,#fb7185 55%,#fda4af 100%)\",\"linear-gradient(135deg,#8b5cf6 0%,#6366f1 50%,#22d3ee 100%)\"];function imageSrc(image){if(!image)return undefined;if(typeof image===\"string\")return image||undefined;return image.src||undefined;}/** Cheap content signature so edits always re-derive, even if the host reuses the array. */function itemsSignature(items){if(items==null)return\"__default__\";return items.map(it=>it?[it.id,imageSrc(it.image),it.video,it.title,it.subtitle,it.link,it.alt].join(\"\\x01\"):\"\").join(\"\\x02\");}/* -------------------------------------------------------------------------- *//* Media slide                                                                 *//* -------------------------------------------------------------------------- *//** IntersectionObserver thresholds. Module-level primitives: the observers are created once\n *  per element and never rebuilt by a re-render (autoplay steps, hover, drag, resize). */const ROOT_IN_VIEW_THRESHOLD=.15;const SLIDE_IN_VIEW_THRESHOLD=.4;/** Non-empty trimmed string or undefined. */function nonEmpty(v){const t=typeof v===\"string\"?v.trim():\"\";return t?t:undefined;}/** `true` unless a bundler has defined NODE_ENV as \"production\" (no `process` in the browser\n *  ⇒ treated as development; the only output is a deduplicated `console.debug`). */const DEV_LOGGING=(()=>{try{const env=globalThis.process?.env;return!env||env.NODE_ENV!==\"production\";}catch{return true;}})();/** Video sources already reported as blocked (one debug line per source per page). */const reportedBlockedVideos=new Set;function reportBlockedVideo(src,err){if(!DEV_LOGGING||typeof console===\"undefined\")return;const key=src||\"(no src)\";if(reportedBlockedVideos.has(key))return;reportedBlockedVideos.add(key);const name=err?.name||\"Error\";console.debug(`[6-in-1 CMS Carousel] Video playback was blocked (${name}); showing a \"Play video\" button on the slide. `+`Autoplay needs Muted on, or a user tap. Source: ${key}`,err);}function MediaSlide({item,active,radius,shadow,showCaptions,titleColor,subtitleColor,titleSize,subtitleSize,videoAutoplay,videoMuted,eager,backface=false,slideNumber,slideCount,onActivate}){const videoRef=useRef(null);// Callback ref into state: the observer is tied to this exact element and a module-level\n// threshold, so re-renders never recreate it.\nconst[slideEl,setSlideEl]=useState(null);const inView=useElementInView(slideEl,SLIDE_IN_VIEW_THRESHOLD);const[imgFailed,setImgFailed]=useState(false);useEffect(()=>setImgFailed(false),[item.src]);// Lazy-load video source: attach src the first time the slide becomes active.\nconst[videoSrc,setVideoSrc]=useState(undefined);useEffect(()=>{if(item.video&&active)setVideoSrc(item.video);},[item.video,active]);// Blocked playback (autoplay policy, data saver, …): a play() rejection other than\n// AbortError shows a small \"Play video\" button that retries play() from the user's tap.\nconst[videoBlocked,setVideoBlocked]=useState(false);/** Bumped whenever the play intent changes or the slide unmounts: late results are ignored. */const playTokenRef=useRef(0);const attemptPlay=useCallback((v,token)=>{const rejected=err=>{// AbortError = the request was interrupted by pause(), a new src or removal\n// (slide changed / unmounted). Not \"blocked\": no overlay, no log.\nif(err?.name===\"AbortError\")return;if(token!==playTokenRef.current)return;setVideoBlocked(true);reportBlockedVideo(v.getAttribute(\"src\")||v.currentSrc||undefined,err);};let p;try{p=v.play();}catch(err){rejected(err);return;}if(p&&typeof p.then===\"function\"){p.then(()=>{if(token===playTokenRef.current)setVideoBlocked(false);},rejected);}},[]);useEffect(()=>{const v=videoRef.current;if(!v)return;const token=++playTokenRef.current;if(videoAutoplay&&active&&inView&&videoSrc){attemptPlay(v,token);}else{v.pause();// Leaving the slide (or the static renderer) clears the blocked state; coming back\n// tries autoplay again.\nif(!active||!videoAutoplay)setVideoBlocked(false);}return()=>{if(playTokenRef.current===token)playTokenRef.current++;};},[active,inView,videoAutoplay,videoSrc,attemptPlay]);const retryPlay=()=>{const v=videoRef.current;if(v)attemptPlay(v,playTokenRef.current);};const showPlayButton=videoBlocked&&active&&videoAutoplay&&!!item.video&&!item.node;// Accessible name for linked slides. A visible caption names the link (no aria-label, so the\n// name matches what's on screen); otherwise aria-label = title → subtitle → alt → \"Open slide N of M\".\nconst title=nonEmpty(item.title);const subtitle=nonEmpty(item.subtitle);const explicitAlt=nonEmpty(item.alt);const isLink=!!item.link&&!item.node;const captionNames=showCaptions&&!!(title||subtitle);const linkLabel=isLink&&!captionNames?title||subtitle||explicitAlt||`Open slide ${slideNumber} of ${slideCount}`:undefined;// Inside a link whose caption is visible, an image alt that only repeats the caption (or the\n// title fallback) would be announced twice: it becomes decorative there. Elsewhere unchanged.\nconst imgAlt=isLink&&captionNames?explicitAlt&&explicitAlt!==title&&explicitAlt!==subtitle?explicitAlt:\"\":item.alt||item.title||\"\";const media=item.node?/*#__PURE__*/_jsx(\"div\",{style:{width:\"100%\",height:\"100%\",overflow:\"hidden\"},children:item.node}):item.video?/*#__PURE__*/_jsx(\"video\",{ref:videoRef,src:videoSrc,poster:item.src,muted:videoMuted,loop:true,playsInline:true,preload:active?\"auto\":\"none\",onPlaying:videoBlocked?()=>setVideoBlocked(false):undefined,style:{width:\"100%\",height:\"100%\",objectFit:\"cover\",display:\"block\"}}):item.src&&!imgFailed?/*#__PURE__*/_jsx(\"img\",{src:item.src,alt:imgAlt,loading:eager?\"eager\":\"lazy\",decoding:\"async\",draggable:false,onError:()=>setImgFailed(true),style:{width:\"100%\",height:\"100%\",objectFit:\"cover\",display:\"block\"}}):null;const inner=/*#__PURE__*/_jsxs(\"div\",{ref:setSlideEl,\"data-mlc-card\":\"\",onClick:onActivate,style:{position:\"relative\",// Only the cards look and act clickable; the stage around them doesn't.\ncursor:onActivate?\"pointer\":undefined,width:\"100%\",height:\"100%\",borderRadius:radius,overflow:\"hidden\",boxShadow:shadow,// Colourful gradient behind the media: visible while loading, on error,\n// or when an item has no image — never a flat dark placeholder.\nbackground:item.node?\"transparent\":item.fallback,// Ring only: keep text upright even if an ancestor ends up rotated in 3D.\n...backface?{backfaceVisibility:\"hidden\",WebkitBackfaceVisibility:\"hidden\"}:null},children:[media,showCaptions&&(item.title||item.subtitle)&&/*#__PURE__*/_jsxs(\"div\",{style:{position:\"absolute\",left:0,right:0,bottom:0,padding:\"18px 16px 14px\",background:\"linear-gradient(transparent, rgba(0,0,0,0.65))\",pointerEvents:\"none\"},children:[item.title&&/*#__PURE__*/_jsx(\"div\",{style:{color:titleColor,fontSize:titleSize,fontWeight:600,letterSpacing:\"-0.01em\",lineHeight:1.2},children:item.title}),item.subtitle&&/*#__PURE__*/_jsx(\"div\",{style:{color:subtitleColor,fontSize:subtitleSize,marginTop:2,opacity:.9},children:item.subtitle})]})]});// Sibling of the link (never nested interactive content); the slide container is positioned.\nconst playButton=showPlayButton?/*#__PURE__*/_jsx(\"button\",{type:\"button\",\"aria-label\":\"Play video\",\"data-qa\":\"video-play\",onClick:e=>{e.preventDefault();e.stopPropagation();retryPlay();},style:{position:\"absolute\",left:\"50%\",top:\"50%\",width:44,height:44,margin:\"-22px 0 0 -22px\",borderRadius:\"50%\",border:\"none\",padding:0,background:\"rgba(15,23,42,0.55)\",color:\"#ffffff\",display:\"grid\",placeItems:\"center\",cursor:\"pointer\",zIndex:3,boxShadow:\"0 4px 14px rgba(0,0,0,0.25)\",backdropFilter:\"blur(6px)\",WebkitBackdropFilter:\"blur(6px)\"},children:/*#__PURE__*/_jsx(\"svg\",{width:\"14\",height:\"14\",viewBox:\"0 0 12 12\",\"aria-hidden\":true,children:/*#__PURE__*/_jsx(\"path\",{d:\"M3 1.5v9l7.5-4.5-7.5-4.5z\",fill:\"currentColor\"})})}):null;return /*#__PURE__*/_jsxs(_Fragment,{children:[isLink?/*#__PURE__*/_jsx(\"a\",{href:item.link,\"aria-label\":linkLabel,draggable:false,style:{display:\"block\",width:\"100%\",height:\"100%\",textDecoration:\"none\",color:\"inherit\"},children:inner}):inner,playButton]});}/* -------------------------------------------------------------------------- *//* Nav chrome                                                                  *//* -------------------------------------------------------------------------- */function ArrowButton({direction,onClick,color,bg,size,disabled}){return /*#__PURE__*/_jsx(\"button\",{type:\"button\",\"aria-label\":direction===\"prev\"?\"Previous slide\":\"Next slide\",onClick:onClick,disabled:disabled,style:{width:size,height:size,borderRadius:\"50%\",border:\"none\",background:bg,color,display:\"grid\",placeItems:\"center\",cursor:disabled?\"default\":\"pointer\",opacity:disabled?.4:1,boxShadow:\"0 4px 18px rgba(0,0,0,0.18)\",backdropFilter:\"blur(8px)\",WebkitBackdropFilter:\"blur(8px)\",padding:0},children:/*#__PURE__*/_jsx(\"svg\",{width:size*.4,height:size*.4,viewBox:\"0 0 24 24\",fill:\"none\",\"aria-hidden\":true,children:/*#__PURE__*/_jsx(\"path\",{d:direction===\"prev\"?\"M15 6l-6 6 6 6\":\"M9 6l6 6-6 6\",stroke:\"currentColor\",strokeWidth:\"2.2\",strokeLinecap:\"round\",strokeLinejoin:\"round\"})})});}function Dots({count,active,onSelect,color,activeColor,animate=true}){// Plain buttons (not the ARIA tabs pattern): the slides are not tab panels, so each dot\n// is an ordinary button. Enter/Space activate it natively; aria-current marks the active one.\nreturn /*#__PURE__*/_jsx(\"div\",{role:\"group\",\"aria-label\":\"Slide navigation\",\"data-qa\":\"carousel-dots\",style:{display:\"flex\",gap:8,alignItems:\"center\"},children:Array.from({length:count}).map((_,i)=>{const isActive=i===active;return /*#__PURE__*/_jsx(\"button\",{type:\"button\",\"aria-label\":`Go to slide ${i+1} of ${count}`,\"aria-current\":isActive?\"true\":undefined,\"data-qa\":\"carousel-dot\",onClick:onSelect?()=>onSelect(i):undefined,style:{width:isActive?22:8,height:8,borderRadius:99,border:\"none\",padding:0,background:isActive?activeColor:color,cursor:\"pointer\",transition:animate?\"width 200ms ease, background 200ms ease\":\"none\"}},i);})});}function PauseButton({playing,onToggle,color,bg}){return /*#__PURE__*/_jsx(\"button\",{type:\"button\",\"aria-label\":playing?\"Pause autoplay\":\"Play autoplay\",onClick:onToggle,style:{width:36,height:36,borderRadius:\"50%\",border:\"none\",background:bg,color,display:\"grid\",placeItems:\"center\",cursor:\"pointer\",boxShadow:\"0 4px 14px rgba(0,0,0,0.16)\"},children:playing?/*#__PURE__*/_jsxs(\"svg\",{width:\"12\",height:\"12\",viewBox:\"0 0 12 12\",\"aria-hidden\":true,children:[/*#__PURE__*/_jsx(\"rect\",{x:\"1\",y:\"1\",width:\"3.5\",height:\"10\",rx:\"1\",fill:\"currentColor\"}),/*#__PURE__*/_jsx(\"rect\",{x:\"7.5\",y:\"1\",width:\"3.5\",height:\"10\",rx:\"1\",fill:\"currentColor\"})]}):/*#__PURE__*/_jsx(\"svg\",{width:\"12\",height:\"12\",viewBox:\"0 0 12 12\",\"aria-hidden\":true,children:/*#__PURE__*/_jsx(\"path\",{d:\"M2 1.5v9l8-4.5-8-4.5z\",fill:\"currentColor\"})})});}/* -------------------------------------------------------------------------- *//* Geometry                                                                    *//* -------------------------------------------------------------------------- *//** Inner padding between the stage edge and any card. */const STAGE_PAD=12;/** Space between the rope line and the top of a hanging card (clip sits in here). */const ROPE_PIN_GAP=14;/** Virtual camera distance used to project the 3D ring into 2D. */const RING_CAMERA=1100;/** Max yaw (deg) a ring card turns at the sides. Back cards face the viewer again,\n *  so text is never mirrored. */const RING_MAX_YAW=34;function projectRing(R,theta,tiltRad){// depth = distance behind the front card (0 … 2R). Front card sits at scale 1.\nconst depth=R*(1-Math.cos(theta));const zc=depth*Math.cos(tiltRad);const f=RING_CAMERA/(RING_CAMERA+zc);const depthNorm=R>0?depth/(2*R):0;return{x:R*Math.sin(theta)*f,y:-depth*Math.sin(tiltRad)*f,s:f*(1-.18*depthNorm),depth};}function ringFitsWidth(R,w,halfW,tiltRad){for(let step=0;step<=18;step++){const p=projectRing(R,step/18*Math.PI,tiltRad);if(Math.abs(p.x)+w/2*p.s>halfW+.5)return false;}return true;}/* -------------------------------------------------------------------------- *//* Wheel helpers                                                               *//* -------------------------------------------------------------------------- *//** |deltaX| must exceed |deltaY| × this for a wheel event to count as horizontal. */const WHEEL_AXIS_RATIO=1.5;/** Minimum horizontal delta (px) that triggers a step (smaller deltas are still claimed). */const WHEEL_MIN_DELTA=8;/** One step per wheel burst: further steps are ignored for this long. */const WHEEL_LOCK_MS=420;/** Wheel events closer together than this belong to the same gesture (momentum tail). */const WHEEL_GESTURE_GAP_MS=180;/** Can `el` itself scroll horizontally in `dir` (+1 = right, −1 = left)? Reads only. */function canScrollX(el,dir){const max=el.scrollWidth-el.clientWidth;if(max<=1)return false;const ox=getComputedStyle(el).overflowX;if(ox!==\"auto\"&&ox!==\"scroll\"&&ox!==\"overlay\")return false;const sl=el.scrollLeft;// RTL scrollers report 0 … −max; LTR 0 … max.\nconst rtl=sl<0||getComputedStyle(el).direction===\"rtl\";const lo=rtl?-max:0;const hi=rtl?0:max;return dir>0?sl<hi-1:sl>lo+1;}/* -------------------------------------------------------------------------- *//* Continuous-position engine slot                                             *//* -------------------------------------------------------------------------- */const FOCUSABLE_SELECTOR='a[href], button, input, select, textarea, video[controls], [tabindex]:not([tabindex=\"-1\"]), [data-mlc-tabindex]';const FOCUS_RING_CSS=\"[data-mlc-root]{outline:none}[data-mlc-root]:focus-visible{outline:2px solid #3b82f6;outline-offset:-2px}[data-mlc-dragging] [data-mlc-card]{cursor:grabbing}\";/**\n * One card of the continuous-position engine (every layout except the 3D Ring).\n * `compute(p)` maps the live, unbounded carousel position to this card's visual\n * state. It is written straight to the DOM on every motion-value change, so arrows,\n * autoplay, drag and settle are frame-continuous without React re-renders and with\n * no CSS transitions to switch on/off mid-gesture.\n */function EngineSlot({pos,compute,baseStyle,attrs,live,children}){const ref=useRef(null);const computeRef=useRef(compute);computeRef.current=compute;const apply=useCallback(p=>{const el=ref.current;if(!el)return;const v=computeRef.current(p);el.style.transform=v.transform;el.style.opacity=v.opacity==null?\"\":String(v.opacity);el.style.filter=v.filter??\"\";el.style.zIndex=v.zIndex==null?\"\":String(v.zIndex);},[]);// Re-apply after every render (geometry / hover may have changed) …\nuseLayoutEffect(()=>{if(live)apply(pos.get());});// … and on every frame the position moves. Static renderer: no subscription at all.\nuseLayoutEffect(()=>live?pos.on(\"change\",apply):undefined,[pos,apply,live]);const v=compute(pos.get());return /*#__PURE__*/_jsx(\"div\",{ref:ref,...attrs,style:{...baseStyle,transform:v.transform,opacity:v.opacity,filter:v.filter,zIndex:v.zIndex,willChange:live?\"transform\":undefined},children:children});}/* -------------------------------------------------------------------------- *//* Main component                                                              *//* -------------------------------------------------------------------------- *//**\n * Slots mode: `SlotItemsResolver` turns the connected slot (Collection List or separate\n * instances) into per-item React elements. For a Collection List the carousel itself is\n * rendered from inside the list's own render function — purely declarative, no DOM moves.\n *\n * @framerSupportedLayoutWidth any-prefer-fixed\n * @framerSupportedLayoutHeight any-prefer-fixed\n */export default function MultiLayoutCarousel(props){if(props.contentSource===\"slots\"){const isCanvas=typeof RenderTarget!==\"undefined\"&&(RenderTarget.current()===RenderTarget.canvas||RenderTarget.current()===RenderTarget.thumbnail);return /*#__PURE__*/_jsx(SlotItemsResolver,{slots:props.slots,isCanvas:isCanvas,children:(slotItems,slotInfo)=>/*#__PURE__*/_jsx(CarouselView,{...props,slotItems:slotItems,slotInfo:slotInfo})});}return /*#__PURE__*/_jsx(CarouselView,{...props});}function CarouselView(props){const{layout=\"focus\",contentSource=\"manual\",items,slots,debugSlots=false,gap=16,radius=18,itemWidth=280,itemHeight=360,hoverGrowScale=1.35,arcDepth=80,focusScale=1.12,focusSideScale=.86,focusBlur=2,focusOpacity=.55,ropeSag=48,ropeColor=\"#c4a484\",ropeThickness=3,ringRadius=340,ringTilt=12,classicPeek=.25,loop=true,autoplay=true,autoplayInterval=4,pauseOnHover=true,showPauseButton=true,autoplayPaused,onAutoplayPausedChange,showArrows=true,showDots=true,arrowColor=\"#0f172a\",arrowBg=\"rgba(255,255,255,0.92)\",arrowSize=44,dotColor=\"rgba(255,255,255,0.35)\",dotActiveColor=\"#ffffff\",shadow=\"0 18px 40px rgba(0,0,0,0.28)\",dimInactive=.35,easing=\"spring\",springStiffness=220,springDamping=28,easeDuration=.55,wheelNav=true,dragEnabled=true,videoAutoplay=true,videoMuted=true,titleColor=\"#ffffff\",subtitleColor=\"rgba(255,255,255,0.78)\",titleSize=16,subtitleSize=13,showCaptions=true,placeholderImages=true,buffer=3,label=\"Media carousel\",style,slotItems,slotInfo=null}=props;const prefersReduced=usePrefersReducedMotion();const fmReduced=useFMReduced();const reduced=prefersReduced||!!fmReduced;const isTouch=useIsTouchPrimary();const isCanvas=typeof RenderTarget!==\"undefined\"&&(RenderTarget.current()===RenderTarget.canvas||RenderTarget.current()===RenderTarget.thumbnail);// Framer's static renderer (canvas, export, thumbnails). Called unconditionally (rules of\n// hooks); when true the component renders a deterministic, settled first frame: no autoplay,\n// no rAF, no motion-value subscriptions / springs, no drag / wheel / keyboard / hover handlers.\nconst isStatic=!!useIsStaticRenderer();/** Pointer/keyboard/wheel interaction is wired up only in live (non-canvas, non-static) renders. */const interactive=!isStatic&&!isCanvas;/* ----- items ----- */// Content signature: re-derive whenever any field changes (e.g. editing an item's\n// Title in the property panel), not only when the array identity changes.\nconst itemsSig=contentSource===\"slots\"?\"\":itemsSignature(items);// Slots: per-item React elements from SlotItemsResolver (Collection List items are\n// stretched to the slide like before; separate instances render at their own size).\nconst hasCollectionItems=contentSource===\"slots\"&&!!slotItems&&slotItems.some(s=>s.fromCollection);const resolvedItems=useMemo(()=>{if(contentSource===\"slots\"){return(slotItems||[]).map(s=>({id:s.key,node:s.fromCollection?/*#__PURE__*/_jsx(SlotFill,{fill:\"both\",children:s.node}):s.node,fallback:\"transparent\"}));}// undefined/null → demo defaults; explicit [] → empty carousel\nconst source=items==null?DEFAULT_ITEMS:items;return source.map((raw,i)=>{const it=raw??{};const own=imageSrc(it.image);// Framer can't seed Image controls inside arrays, so items without media\n// get demo imagery (toggle with \"Demo Images\") on top of a vivid gradient.\nconst src=own??(placeholderImages&&!it.video?imageSrc(DEFAULT_ITEMS[i%DEFAULT_ITEMS.length].image):undefined);const alt=it.alt||(typeof it.image===\"object\"&&it.image?it.image.alt:undefined);return{// New objects every time (never mutate props); index-based keys stay stable\n// while editing so slides don't remount mid-edit.\n...it,id:it.id||`item-${i}`,src,alt,fallback:FALLBACK_GRADIENTS[i%FALLBACK_GRADIENTS.length]};});// eslint-disable-next-line react-hooks/exhaustive-deps\n},[contentSource,itemsSig,items,slotItems,placeholderImages]);const count=resolvedItems.length;/** Infinite looping needs ≥2 items (one item is a single static card). */const infinite=loop&&count>1;// Unbounded virtual position: Next = +1, Prev = −1, drag = ±steps, forever — motion\n// never rewinds. The displayed/active item is wrapIndex(vpos). Non-loop stays clamped.\nconst[vpos,setVpos]=useState(0);const vposRef=useRef(0);vposRef.current=vpos;const index=count>0?wrapIndex(vpos,count):0;/** Hover Grow: the virtual slot (not item index — copies exist) that is grown. */const[hoverSlot,setHoverSlot]=useState(null);const[tapExpand,setTapExpand]=useState(null);/** The visitor's pause/play choice (null = not pressed yet). */const[pausedChoice,setPausedChoice]=useState(null);/** Mouse is over the carousel (Pause on Hover). Never set by touch. */const[hoverPaused,setHoverPaused]=useState(false);/* ----- measurement (ResizeObserver on root + stage) ----- */const[rootEl,setRootEl]=useState(null);const[stageEl,setStageEl]=useState(null);const rootSize=useElementSize(rootEl);const stageSize=useElementSize(stageEl);// Same element as the ResizeObserver root; module-level threshold → one observer per mount.\nconst inView=useElementInView(rootEl,ROOT_IN_VIEW_THRESHOLD);const hasChrome=count>0&&(showArrows||showDots||showPauseButton&&autoplay);const chromeH=hasChrome?Math.max(showArrows?arrowSize:0,showDots?8:0,showPauseButton&&autoplay?36:0)+16:0;// Natural stage height: only used as the flex-basis (so \"fit content\" frames get a\n// sensible height) and as a fallback before the first measurement.\nconst naturalStageH=Math.round(layout===\"rope\"?itemHeight+ropeSag+60:layout===\"arc\"?itemHeight+arcDepth+40:layout===\"ring\"?itemHeight*1.15+40:layout===\"focus\"?itemHeight*focusScale+24:layout===\"hoverGrow\"?itemHeight*Math.min(1.15,hoverGrowScale)+24:itemHeight+24);const stageW=stageSize.width||rootSize.width||900;const stageH=stageSize.height||(rootSize.height>0?Math.max(0,rootSize.height-chromeH):naturalStageH);const measured=stageSize.width>0&&stageSize.height>0;// Enable CSS transitions only after the first real measurement so cards don't\n// animate in from fallback positions.\nconst[ready,setReady]=useState(false);useEffect(()=>{// Static renderer: transitions stay off (ready=false) and no rAF is scheduled.\nif(isStatic||!measured||ready)return;const id=window.requestAnimationFrame(()=>setReady(true));return()=>window.cancelAnimationFrame(id);},[isStatic,measured,ready]);const geom=useMemo(()=>{const availW=Math.max(1,stageW-STAGE_PAD*2);const availH=Math.max(1,stageH-STAGE_PAD*2);const fitK=(maxW,maxH)=>Math.max(.05,Math.min(1,maxW/Math.max(1,itemWidth),maxH/Math.max(1,itemHeight)));const base={w:itemWidth,h:itemHeight,arcDepth:0,ropeTop:STAGE_PAD+6,ropeSag:0,ringR:0,ringTilt:0,ringShiftY:0};const sized=k=>({...base,w:itemWidth*k,h:itemHeight*k});switch(layout){case\"hoverGrow\":{const growH=Math.min(1.15,Math.max(1,hoverGrowScale));return sized(fitK(availW/Math.max(1,hoverGrowScale),availH/growH));}case\"focus\":{const s=Math.max(1,focusScale);return sized(fitK(availW/s,availH/s));}case\"arc\":{const depth=clamp(arcDepth,0,availH*.35);// Edge cards are rotated to the curve tangent; leave ~6% for their corners.\nreturn{...sized(fitK(availW,(availH-depth)*.94)),arcDepth:depth};}case\"rope\":{const ropeTop=STAGE_PAD+6;const sag=clamp(ropeSag,0,stageH*.22);const maxH=stageH-ropeTop-sag-ROPE_PIN_GAP-STAGE_PAD;return{...sized(fitK(availW,maxH)),ropeTop,ropeSag:sag};}case\"ring\":{const tilt=clamp(ringTilt,0,60)*Math.PI/180;const halfW=stageW/2-STAGE_PAD;let k=fitK(availW,availH);let R=0;let shiftY=0;for(let iter=0;iter<8;iter++){const w=itemWidth*k;const h=itemHeight*k;// Largest radius ≤ Ring Radius whose projected cards stay inside the width.\nif(ringFitsWidth(ringRadius,w,halfW,tilt))R=ringRadius;else{let lo=0;let hi=ringRadius;for(let b=0;b<22;b++){const mid=(lo+hi)/2;if(ringFitsWidth(mid,w,halfW,tilt))lo=mid;else hi=mid;}R=lo;}const back=projectRing(R,Math.PI,tilt);const top=Math.max(h/2,-back.y+h/2*back.s);const vertical=top+h/2;shiftY=(top-h/2)/2;// Radius needed so neighbours don't fully overlap; shrink cards if the\n// frame is too narrow to give them that much room.\nconst wantR=count>1?Math.min(ringRadius,count*w*.62/(2*Math.PI)):0;let shrink=1;if(vertical>availH)shrink=Math.min(shrink,availH/vertical);if(wantR>0&&R<wantR*.98)shrink=Math.min(shrink,Math.max(.6,R/wantR));if(shrink>=.995||k<=.05)break;k=Math.max(.05,k*shrink);}return{...sized(k),ringR:R,ringTilt:tilt,ringShiftY:shiftY};}case\"classic\":default:return sized(fitK(availW,availH));}},[layout,stageW,stageH,itemWidth,itemHeight,hoverGrowScale,focusScale,arcDepth,ropeSag,ringRadius,ringTilt,count]);const{w:cardW,h:cardH}=geom;const isRing=layout===\"ring\";const isHoverGrow=layout===\"hoverGrow\";const isClassic=layout===\"classic\";const isTrack=isHoverGrow||isClassic;// Keep the position valid when the item list shrinks or Loop is switched off.\nconst wasInfiniteRef=useRef(infinite);useEffect(()=>{const was=wasInfiniteRef.current;wasInfiniteRef.current=infinite;if(count<=0){if(vpos!==0)setVpos(0);return;}if(!infinite&&(vpos<0||vpos>count-1)){setVpos(was?wrapIndex(vpos,count):clamp(vpos,0,count-1));}},[count,vpos,infinite]);/** Jump to a virtual position (drag settle, slide taps). */const stepTo=useCallback(target=>{if(count<=0||isStatic)return;setVpos(infinite?target:clamp(target,0,count-1));},[count,infinite,isStatic]);/** Go to item i (dots, Home/End, ring taps): shortest path around the loop. */const goToItem=useCallback(i=>{if(count<=0||isStatic)return;if(!infinite)setVpos(clamp(i,0,count-1));else setVpos(v=>{let d=wrapIndex(i-wrapIndex(v,count),count);if(d>count/2)d-=count;return v+d;});},[count,infinite,isStatic]);// Next ALWAYS means position + 1 (the following item moves into the active slot);\n// every layout maps a larger position to a more-negative translation.\nconst next=useCallback(()=>{if(count<=0||isStatic)return;setVpos(v=>infinite?v+1:clamp(v+1,0,count-1));},[count,infinite,isStatic]);const prev=useCallback(()=>{if(count<=0||isStatic)return;setVpos(v=>infinite?v-1:clamp(v-1,0,count-1));},[count,infinite,isStatic]);// What the pause/play button shows and controls: the visitor's choice (controlled prop\n// first, then our own state). Until they press it, reduced-motion visitors start paused.\n// Hover / off-screen / canvas only suspend the timer; they never flip the button.\nconst userPaused=autoplayPaused??pausedChoice??reduced;const autoplayOn=autoplay&&!isStatic&&!isCanvas&&inView&&!userPaused&&!(pauseOnHover&&hoverPaused);const onStageHover=e=>{if(e.pointerType!==\"mouse\"||!pauseOnHover)return;const onCard=!!e.target.closest?.(\"[data-mlc-card]\");setHoverPaused(cur=>cur===onCard?cur:onCard);};const toggleAutoplay=()=>{const nextPaused=!userPaused;// An explicit Play wins over Pause on Hover (the cursor is on the button, inside the\n// carousel): slides resume now; hover-pause applies again after the pointer re-enters.\nif(!nextPaused)setHoverPaused(false);setPausedChoice(nextPaused);onAutoplayPausedChange?.(nextPaused);};// resetKey = vpos: a manual arrow/dot/key/drag restarts the full interval.\nuseAutoplay(autoplayOn,Math.max(1,autoplayInterval)*1e3,next,false,vpos);const transition=useMemo(()=>{if(reduced)return{duration:0};// Classic moves a wide strip (~cardW+gap per step). Default spring 220/28 overshoots\n// and feels snappy/jumpy; soften (or ease) for Classic only — other layouts unchanged.\nif(layout===\"classic\"){if(easing===\"spring\"){return{type:\"spring\",stiffness:Math.min(springStiffness,160),damping:Math.max(springDamping,36),mass:1.05};}return{duration:easeDuration,ease:[.22,1,.36,1]};}if(easing===\"spring\")return{type:\"spring\",stiffness:springStiffness,damping:springDamping};return{duration:easeDuration,ease:[.22,1,.36,1]};},[reduced,easing,springStiffness,springDamping,easeDuration,layout]);// The engine animates in *card* units (1 = one step), so tighten the spring's rest\n// thresholds (defaults are tuned for px) — otherwise it would stop ~2px early and snap.\nconst engineTransition=useMemo(()=>\"type\"in transition&&transition.type===\"spring\"?{...transition,restDelta:5e-4,restSpeed:.002}:transition,[transition]);// Ring needs a wide window so cards don't pop in/out mid-drag; small counts mount all.\nconst viewBuffer=Math.max(buffer,8);// Horizontal distance between neighbouring cards for each layout (also used to\n// normalise drag offsets).\nconst spacing=layout===\"arc\"?cardW*.72+gap:layout===\"focus\"?cardW*.55+gap:cardW+gap;/* ----- continuous-position engine (every layout except the 3D Ring) ----- */// `pos` is the live, unbounded carousel position (float). Cards are virtual slots\n// k ∈ ℤ showing item wrapIndex(k); each card's visual is a pure function of k − pos,\n// so motion is continuous in both directions forever, with no seam to teleport across.\nconst pos=useMotionValue(vpos);const animRef=useRef(null);/** Position at drag start (null = not dragging). */const dragBaseRef=useRef(null);// Integer the live position is nearest to — re-renders only when it changes, so the\n// mounted window of slots follows the motion (incl. mid-animation / mid-drag).\nconst[center,setCenter]=useState(vpos);const centerRef=useRef(vpos);useEffect(()=>{// Static renderer: the position never moves, so no motion-value subscription.\nif(isStatic)return;return pos.on(\"change\",v=>{const c=Math.round(v);if(c!==centerRef.current){centerRef.current=c;setCenter(c);}});},[pos,isStatic]);const instantMotion=reduced||!ready||isCanvas||isStatic;const settleTo=useCallback(target=>{animRef.current?.stop();animRef.current=null;if(instantMotion){pos.set(target);return;}// Picks up the current velocity (drag release / interrupted animation).\nanimRef.current=animate(pos,target,engineTransition);},[pos,instantMotion,engineTransition]);useEffect(()=>{// Static renderer: pos is created at vpos (0) and never moves; nothing to settle.\nif(isStatic||dragBaseRef.current!==null)return;settleTo(vpos);},[vpos,settleTo,isStatic]);useEffect(()=>()=>animRef.current?.stop(),[]);const{onPointerDown,dragging,didDragRef}=usePointerDrag({axis:\"x\",threshold:6,onDrag:dx=>{if(!dragEnabled||!interactive)return;if(dragBaseRef.current===null){animRef.current?.stop();animRef.current=null;dragBaseRef.current=pos.get();}// Cards follow the pointer 1:1 (one spacing of travel = one card).\nlet p=dragBaseRef.current-dx/Math.max(1,spacing);if(!infinite){const max=Math.max(0,count-1);if(p<0)p*=.3;else if(p>max)p=max+(p-max)*.3;}pos.set(p);},onDragEnd:vx=>{if(!dragEnabled||!interactive)return;const stepPx=Math.max(1,spacing);const threshold=Math.min(cardW*.22,stepPx*.35);const base=dragBaseRef.current??pos.get();dragBaseRef.current=null;const cur=pos.get();// Settle by distance: nearest whole card to where the drag left off …\nlet target=Math.round(cur);const startIdx=Math.round(base);if(target===startIdx&&Math.abs(cur-base)>=threshold/stepPx){target+=cur>base?1:-1;}// … plus at most one extra card in the direction of a flick.\nif(Math.abs(vx)>=400){const f=vx<0?1:-1;if((target-cur)*f<0)target+=f;}if(!infinite)target=clamp(target,0,Math.max(0,count-1));if(target===vposRef.current)settleTo(target);else setVpos(target);}});// Wheel nav. Only a clearly horizontal gesture (or Shift+wheel) that can actually move the\n// carousel is intercepted; vertical wheel, pinch-zoom (ctrl+wheel), loop-off ends and nested\n// horizontal scrollers inside a slide always fall through to normal scrolling.\nconst wheelStateRef=useRef({infinite,count,vpos});wheelStateRef.current={infinite,count,vpos};useEffect(()=>{const el=rootEl;// The listener has to be non-passive (it may preventDefault), so it is only attached\n// when wheel navigation can happen at all: live render, option on, ≥ 2 items.\nif(!el||!wheelNav||!interactive||count<2)return;let lockUntil=0;// Gesture we already claimed (trackpad momentum / a fast wheel spin): its tail stays with\n// the carousel, so reaching the last slide doesn't hand the rest of the SAME swipe to the\n// page or the browser's swipe-back gesture. A new gesture at the end passes through.\nlet holdUntil=0;let holdDir=0;const onWheel=e=>{if(e.defaultPrevented||e.ctrlKey||e.metaKey)return;// Normalise line/page deltas (Firefox mouse wheels) to px.\nconst unit=e.deltaMode===1?16:e.deltaMode===2?el.clientWidth||800:1;let dx=e.deltaX*unit;let dy=e.deltaY*unit;// Shift+wheel = horizontal scroll on Windows/Linux mice (some browsers don't swap).\nif(e.shiftKey&&Math.abs(dx)<Math.abs(dy)){dx=dy;dy=0;}const ax=Math.abs(dx);const ay=Math.abs(dy);// Predominantly horizontal only; vertical / diagonal gestures scroll the page.\nif(ax<2||ax<=ay*WHEEL_AXIS_RATIO)return;const dir=dx>0?1:-1;const st=wheelStateRef.current;if(st.count<2)return;const now=typeof performance!==\"undefined\"?performance.now():Date.now();const held=now<holdUntil&&dir===holdDir;// Loop off: at the first/last slide there is nowhere to go, let the page have it.\nconst canMove=st.infinite||st.vpos+dir>=0&&st.vpos+dir<=st.count-1;if(!canMove&&!held)return;if(!held){// A horizontally scrollable element inside the slide (e.g. CMS content) that can\n// still scroll this way gets the gesture. composedPath() is read-only (no traversal).\nconst path=typeof e.composedPath===\"function\"?e.composedPath():[];for(const t of path){if(t===el)break;if(t instanceof HTMLElement&&canScrollX(t,dir))return;}}e.preventDefault();holdUntil=now+WHEEL_GESTURE_GAP_MS;holdDir=dir;if(!canMove||now<lockUntil||ax<WHEEL_MIN_DELTA)return;lockUntil=now+WHEEL_LOCK_MS;if(dir>0)next();else prev();};el.addEventListener(\"wheel\",onWheel,{passive:false});return()=>el.removeEventListener(\"wheel\",onWheel);},[rootEl,wheelNav,interactive,count,next,prev]);// Keyboard\nconst onKeyDown=e=>{if(e.key===\"ArrowRight\"){e.preventDefault();next();}else if(e.key===\"ArrowLeft\"){e.preventDefault();prev();}else if(e.key===\"Home\"){e.preventDefault();goToItem(0);}else if(e.key===\"End\"){e.preventDefault();goToItem(count-1);}};/* ===================== 3D Ring (reference — unchanged) ===================== *//** Ring visual for item i at live position p: the angle is a pure function of i − p. */const ringVisual=(i,p)=>{const step=Math.PI*2/Math.max(count,1);// Normalised to (−π, π]; the wrap happens at the back of the ring, where x = 0 on both\n// sides, so the projected position is continuous across it.\nlet theta=(i-p)*step;theta=Math.atan2(Math.sin(theta),Math.cos(theta));const pr=projectRing(geom.ringR,theta,geom.ringTilt);const depthNorm=geom.ringR>0?pr.depth/(2*geom.ringR):0;const yaw=Math.sin(theta)*RING_MAX_YAW;return{transform:`translate3d(${pr.x}px, ${pr.y+geom.ringShiftY}px, 0) perspective(900px) rotateY(${yaw}deg) scale(${pr.s})`,opacity:.35+(1-depthNorm)*.65,filter:depthNorm>.55?`brightness(${1-dimInactive*.5*depthNorm})`:\"none\",zIndex:Math.round(1e3-pr.depth)};};const ringBaseStyle={position:\"absolute\",left:\"50%\",top:\"50%\",width:cardW,height:cardH,marginLeft:-cardW/2,marginTop:-cardH/2};const renderRingSlide=i=>{const item=resolvedItems[i];if(!item)return null;const active=i===index;const near=Math.abs(wrapIndex(i-index+Math.floor(count/2),count)-Math.floor(count/2))<=2;return /*#__PURE__*/_jsx(EngineSlot,{pos:pos,compute:p=>ringVisual(i,p),baseStyle:ringBaseStyle,live:!isStatic,attrs:{role:\"group\",\"aria-roledescription\":\"slide\",\"aria-label\":`${i+1} of ${count}`,\"aria-hidden\":!active,\"data-index\":i,\"data-active\":active?\"true\":\"false\"},children:/*#__PURE__*/_jsx(MediaSlide,{item:item,active:active,radius:radius,shadow:shadow,showCaptions:showCaptions&&!item.node,titleColor:titleColor,subtitleColor:subtitleColor,titleSize:titleSize,subtitleSize:subtitleSize,videoAutoplay:videoAutoplay&&!isStatic,videoMuted:videoMuted,eager:isCanvas||isStatic||near,backface:true,slideNumber:i+1,slideCount:count,onActivate:isStatic?undefined:()=>goToItem(i)})},item.id);};// Mount every ring card for typical counts; very large rings mount a window around the\n// live centre (each item once — the ring itself is the loop, no copies).\nconst ringIndices=[];if(isRing&&count>0){if(isCanvas||isStatic||count<=24)for(let i=0;i<count;i++)ringIndices.push(i);else{const c=wrapIndex(center,count);const reach=Math.min(Math.floor((count-1)/2),viewBuffer+4);for(let d=-reach;d<=reach;d++)ringIndices.push(wrapIndex(c+d,count));}}/* ===================== Engine layouts ===================== */const halfW=Math.max(1,stageW/2);const stride=cardW+gap;const trackTotal=count*stride-gap;const trackFits=!infinite&&trackTotal<=stageW-STAGE_PAD*2;const peekPx=isClassic?cardW*classicPeek:0;/** Track layouts: x (px from the stage's left edge) of slot 0 at position p. */const trackBase=p=>{// Infinite: active card at the left edge (Classic: after a peek of the previous\n// card). Copies fill both sides, so there is never an empty strip.\nif(infinite)return STAGE_PAD+peekPx-p*stride;if(trackFits)return(stageW-trackTotal)/2;const raw=STAGE_PAD-p*stride+peekPx*clamp(p,0,1);return clamp(raw,stageW-STAGE_PAD-trackTotal,STAGE_PAD);};const expandSlot=isHoverGrow?isTouch?tapExpand:hoverSlot:null;// Hover Grow: the grown card expands IN PLACE — the track position never changes.\n// Neighbours on each side slide out by transform; growth is biased inward at the\n// stage edges so the grown card stays fully inside the frame.\nlet growL=0;let growR=0;if(isHoverGrow&&expandSlot!==null){const E=Math.max(0,cardW*(hoverGrowScale-1));// Live position (may be mid-animation), not the settle target.\nconst L=trackBase(pos.get())+expandSlot*stride;growL=E/2;growR=E/2;if(L-growL<STAGE_PAD){growL=Math.max(0,L-STAGE_PAD);growR=E-growL;}if(L+cardW+growR>stageW-STAGE_PAD){growR=Math.max(0,stageW-STAGE_PAD-L-cardW);growL=E-growR;}}// Slots to mount: everything that can be on screen around the live position.\nlet reachL;let reachR;if(isTrack){const x0=infinite?STAGE_PAD+peekPx:STAGE_PAD;const grow=isHoverGrow?Math.max(0,cardW*(hoverGrowScale-1)):0;reachL=(x0+cardW+grow)/Math.max(1,stride);reachR=(stageW-x0+grow)/Math.max(1,stride);}else{const maxS=layout===\"focus\"?Math.max(1,focusScale):1;reachL=reachR=(halfW+Math.max(cardW,cardH)*maxS)/Math.max(1,spacing);}const slotKs=[];if(!isRing&&count>0){let lo=Math.floor(center-.5-reachL)-1;let hi=Math.ceil(center+.5+reachR)+1;if(!infinite){if(isTrack){lo=0;hi=count-1;}else{lo=Math.max(0,lo);hi=Math.min(count-1,hi);}}if(hi-lo>240)hi=lo+240;for(let k=lo;k<=hi;k++)slotKs.push(k);}/** Visual state of virtual slot k at live position p. */const slotVisual=(k,p)=>{const t=k-p;const at=Math.abs(t);const z=Math.round(1e3-at*100);switch(layout){case\"arc\":{const depth=geom.arcDepth;const x=t*spacing;// Curve is defined across the visible width; beyond the frame edge cards\n// keep the edge height/angle instead of dropping out of the frame.\nconst u=clamp(x/halfW,-1,1);const y=-depth/2+depth*u*u;// Tangent of the parabola → cards follow the curve (2D only, never mirrored).\nconst rot=Math.atan(2*depth*u/halfW)*180/Math.PI;const scale=1-Math.min(.3,Math.abs(u)*.15);return{transform:`translate3d(${x}px, ${y}px, 0) rotate(${rot}deg) scale(${scale})`,opacity:1-Math.min(.7,at*dimInactive*.35),zIndex:z};}case\"focus\":{// Everything interpolates on the continuous distance from centre, so while\n// dragging the card that will land is always the largest / sharpest one.\nconst a=Math.min(1,at);const scale=focusScale+(focusSideScale-focusScale)*a;const blur=focusBlur*a;return{transform:`translate3d(${t*spacing}px, 0, 0) scale(${scale})`,opacity:1+(focusOpacity-1)*a,filter:blur>.05?`blur(${blur.toFixed(2)}px) grayscale(${(.35*a).toFixed(3)})`:\"none\",zIndex:z};}case\"rope\":{const x=t*spacing;const u=clamp(x/halfW,-1,1);const ropeY=geom.ropeTop+geom.ropeSag*(1-u*u);const slope=-2*geom.ropeSag*u/halfW;const rot=Math.atan(slope)*180/Math.PI*.6;return{transform:`translate3d(${x}px, ${ropeY+ROPE_PIN_GAP}px, 0) rotate(${rot}deg)`,zIndex:z};}default:{// Track layouts (Hover Grow / Classic): a straight strip of card strides.\nreturn{transform:`translate3d(${trackBase(p)+k*stride}px, 0, 0)`,zIndex:k===expandSlot?20:1};}}};const slotBaseStyle=isTrack?{position:\"absolute\",left:0,top:\"50%\",width:cardW,height:cardH,marginTop:-cardH/2,// Hit-testing follows the (possibly shifted / grown) inner card.\npointerEvents:\"none\"}:layout===\"rope\"?{position:\"absolute\",left:\"50%\",top:0,width:cardW,height:cardH,marginLeft:-cardW/2,transformOrigin:\"50% 0%\"}:{position:\"absolute\",left:\"50%\",top:\"50%\",width:cardW,height:cardH,marginLeft:-cardW/2,marginTop:-cardH/2};const growMs=460;const growEase=\"cubic-bezier(0.22, 1, 0.36, 1)\";const renderEngineSlot=k=>{const i=wrapIndex(k,count);// Infinite-loop copies render the SAME item element again; each copy lives under\n// its own EngineSlot key (`s${k}`), so React mounts an independent instance.\nconst item=resolvedItems[i];if(!item)return null;const active=k===vpos;const media=/*#__PURE__*/_jsx(MediaSlide,{item:item,active:active,radius:radius,shadow:shadow,showCaptions:showCaptions&&!item.node,titleColor:titleColor,subtitleColor:subtitleColor,titleSize:titleSize,subtitleSize:subtitleSize,videoAutoplay:videoAutoplay&&!isStatic,videoMuted:videoMuted,eager:isCanvas||isStatic||Math.abs(k-vpos)<=2,slideNumber:i+1,slideCount:count,onActivate:isStatic?undefined:()=>{if(isHoverGrow&&isTouch)setTapExpand(cur=>cur===k?null:k);stepTo(k);}});let content=media;if(isTrack){const grown=expandSlot===k;const w=grown?cardW*hoverGrowScale:cardW;const h=grown?cardH*Math.min(1.15,hoverGrowScale):cardH;const shift=expandSlot===null?0:k>expandSlot?growR:-growL;const dimmed=isHoverGrow&&expandSlot!==null&&!grown;const animateGrow=isHoverGrow&&ready&&!reduced;content=/*#__PURE__*/_jsx(\"div\",{onMouseEnter:isHoverGrow&&!isTouch&&!isStatic?()=>!dragging&&setHoverSlot(k):undefined,style:{position:\"absolute\",left:0,top:(cardH-h)/2,width:w,height:h,pointerEvents:\"auto\",transform:shift?`translate3d(${shift}px, 0, 0)`:\"none\",transition:animateGrow?`transform ${growMs}ms ${growEase}, width ${growMs}ms ${growEase}, height ${growMs}ms ${growEase}, top ${growMs}ms ${growEase}, filter ${growMs}ms ease, opacity ${growMs}ms ease`:\"none\",filter:dimmed?`brightness(${1-dimInactive*.6})`:\"none\",opacity:dimmed?1-dimInactive*.5:1},children:media});}else if(layout===\"rope\"){content=/*#__PURE__*/_jsxs(_Fragment,{children:[/*#__PURE__*/_jsx(\"div\",{\"aria-hidden\":true,style:{position:\"absolute\",top:-ROPE_PIN_GAP-8,left:\"50%\",width:14,height:18,marginLeft:-7,borderRadius:3,background:ropeColor,boxShadow:\"0 2px 4px rgba(0,0,0,0.25)\",zIndex:2}}),media]});}return /*#__PURE__*/_jsx(EngineSlot,{pos:pos,compute:p=>slotVisual(k,p),baseStyle:slotBaseStyle,live:!isStatic,attrs:{role:\"group\",\"aria-roledescription\":\"slide\",\"aria-label\":`${i+1} of ${count}`,\"aria-hidden\":!active,\"data-index\":i,\"data-slot\":k,\"data-active\":active?\"true\":\"false\"},children:content},`s${k}`);};// Inactive slides are aria-hidden, so nothing inside them may take keyboard focus. (Not\n// `inert`: that would also block the click-a-neighbour-to-go-there interaction.)\nuseLayoutEffect(()=>{if(!stageEl||isStatic)return;for(const slide of stageEl.querySelectorAll(\"[data-active]\")){const hide=slide.dataset.active!==\"true\";for(const el of slide.querySelectorAll(FOCUSABLE_SELECTOR)){if(hide){if(el.dataset.mlcTabindex===undefined){el.dataset.mlcTabindex=el.getAttribute(\"tabindex\")??\"\";el.setAttribute(\"tabindex\",\"-1\");}}else if(el.dataset.mlcTabindex!==undefined){const orig=el.dataset.mlcTabindex;if(orig===\"\")el.removeAttribute(\"tabindex\");else el.setAttribute(\"tabindex\",orig);delete el.dataset.mlcTabindex;}}}});const showSlotsDebug=!!debugSlots&&contentSource===\"slots\";const debugSummary=showSlotsDebug?slotsDebugSummary(count,slotInfo):\"\";useSlotsDebugLog(showSlotsDebug,\"MultiLayoutCarousel\",debugSummary);return /*#__PURE__*/_jsxs(\"div\",{ref:setRootEl,\"data-dragging\":dragging?\"true\":\"false\",\"data-layout\":layout,\"data-measured\":measured?\"true\":\"false\",\"data-slots-debug\":showSlotsDebug?debugSummary:undefined,role:\"region\",\"aria-roledescription\":\"carousel\",\"aria-label\":label||\"Media carousel\",\"data-mlc-root\":\"\",\"data-static\":isStatic?\"true\":undefined,tabIndex:0,onKeyDown:isStatic?undefined:onKeyDown,// Every new press starts a fresh gesture: a swipe that ended without a click (touch)\n// must not leave the \"just dragged\" flag set for the next tap on the chrome buttons.\nonPointerDownCapture:interactive?()=>{didDragRef.current=false;}:undefined,onClickCapture:e=>{// Swallow the synthetic click that follows a drag so linked slides don't navigate\n// (only clicks on the slides; the arrows / dots / pause button always work).\nif(didDragRef.current){didDragRef.current=false;if(stageEl&&stageEl.contains(e.target)){e.preventDefault();e.stopPropagation();}}},onPointerLeave:isStatic?undefined:()=>{setHoverPaused(false);setHoverSlot(null);},style:{position:\"relative\",width:\"100%\",height:\"100%\",boxSizing:\"border-box\",overflow:\"hidden\",userSelect:\"none\",WebkitUserSelect:\"none\",display:\"flex\",flexDirection:\"column\",...style},children:[/*#__PURE__*/_jsx(\"style\",{children:FOCUS_RING_CSS}),/*#__PURE__*/_jsxs(\"span\",{style:srOnly,\"aria-live\":autoplayOn?\"off\":\"polite\",children:[\"Slide \",count===0?0:index+1,\" of \",count]}),hasCollectionItems&&/*#__PURE__*/_jsx(\"style\",{children:SLOT_FILL_CSS}),count===0&&/*#__PURE__*/_jsx(\"div\",{\"data-qa\":\"empty-state\",style:{flex:`1 1 ${naturalStageH}px`,minHeight:0,display:\"grid\",placeItems:\"center\",color:\"rgba(255,255,255,0.55)\",fontSize:14,letterSpacing:\"0.01em\"},children:\"No items to display\"}),count>0&&/*#__PURE__*/_jsxs(\"div\",{ref:setStageEl,\"data-qa\":\"carousel-stage\",onPointerDown:dragEnabled&&interactive?onPointerDown:undefined,onMouseLeave:isHoverGrow&&!isStatic?()=>setHoverSlot(null):undefined,// Pause on Hover = a real mouse cursor over an actual card (every layout, loop\n// copies included), never the gaps or empty stage. Touch taps fire compatibility\n// mouse events, so only pointerType \"mouse\" counts. After Play, the next move\n// onto a card pauses again.\nonPointerMove:isStatic?undefined:onStageHover,onPointerOver:isStatic?undefined:onStageHover,onPointerLeave:isStatic?undefined:()=>setHoverPaused(false),\"data-mlc-dragging\":dragging?\"\":undefined,style:{position:\"relative\",width:\"100%\",// Grow/shrink to whatever the frame gives us; natural height is only\n// the basis for auto-height frames.\nflex:`1 1 ${naturalStageH}px`,minHeight:0,overflow:\"hidden\",// Empty stage: drag still starts here, but it doesn't look clickable.\ncursor:dragging?\"grabbing\":\"default\",touchAction:\"pan-y\"},children:[layout===\"rope\"&&/*#__PURE__*/_jsx(\"svg\",{\"aria-hidden\":true,width:\"100%\",height:\"100%\",viewBox:`0 0 ${Math.max(1,stageW)} ${Math.max(1,stageH)}`,preserveAspectRatio:\"none\",style:{position:\"absolute\",inset:0,pointerEvents:\"none\",zIndex:0},children:/*#__PURE__*/_jsx(\"path\",{d:`M 0 ${geom.ropeTop} Q ${stageW/2} ${geom.ropeTop+geom.ropeSag*2} ${stageW} ${geom.ropeTop}`,fill:\"none\",stroke:ropeColor,strokeWidth:ropeThickness,strokeLinecap:\"round\",vectorEffect:\"non-scaling-stroke\"})}),isRing?/*#__PURE__*/_jsx(\"div\",{style:{position:\"absolute\",inset:0},children:ringIndices.map(renderRingSlide)}):/*#__PURE__*/_jsx(\"div\",{\"data-qa\":isTrack?\"carousel-track\":undefined,style:{position:\"absolute\",inset:0},children:slotKs.map(renderEngineSlot)})]}),hasChrome&&/*#__PURE__*/_jsxs(\"div\",{style:{display:\"flex\",alignItems:\"center\",justifyContent:\"center\",gap:16,height:chromeH,boxSizing:\"border-box\",paddingTop:8,paddingBottom:8,flexShrink:0,position:\"relative\",zIndex:5},children:[showArrows&&/*#__PURE__*/_jsx(ArrowButton,{direction:\"prev\",onClick:prev,color:arrowColor,bg:arrowBg,size:arrowSize,disabled:!loop&&index===0}),showDots&&count<=24&&/*#__PURE__*/_jsx(Dots,{count:count,active:index,onSelect:isStatic?undefined:goToItem,color:dotColor,activeColor:dotActiveColor,animate:!isStatic}),showPauseButton&&autoplay&&/*#__PURE__*/_jsx(PauseButton,{// Shows the visitor's choice, not the momentary timer state (hovering\n// the button used to flip it to \"play\"). Static renderer: the on-load\n// icon (\"pause\", or \"play\" for reduced motion) although no timer runs.\nplaying:!userPaused,onToggle:toggleAutoplay,color:arrowColor,bg:arrowBg}),showArrows&&/*#__PURE__*/_jsx(ArrowButton,{direction:\"next\",onClick:next,color:arrowColor,bg:arrowBg,size:arrowSize,disabled:!loop&&index===count-1})]}),showSlotsDebug&&/*#__PURE__*/_jsx(SlotsDebugOverlay,{slots:slots,flattenedCount:count,resolve:slotInfo})]});}/* -------------------------------------------------------------------------- *//* Property controls                                                           *//* -------------------------------------------------------------------------- */addPropertyControls(MultiLayoutCarousel,{layout:{type:ControlType.Enum,title:\"Layout\",options:[\"hoverGrow\",\"arc\",\"focus\",\"rope\",\"ring\",\"classic\"],optionTitles:[\"Hover Grow\",\"Arc\",\"Focus\",\"Rope / Curve\",\"3D Ring\",\"Classic\"],defaultValue:\"focus\",displaySegmentedControl:false},contentSource:{type:ControlType.Enum,title:\"Content\",options:[\"manual\",\"slots\"],optionTitles:[\"Manual Items\",\"Component Slots (CMS)\"],defaultValue:\"manual\",displaySegmentedControl:true},items:{type:ControlType.Array,title:\"Items\",hidden:p=>p.contentSource===\"slots\",control:{type:ControlType.Object,controls:{// ResponsiveImage (object with src) — Image (string) is also accepted in code.\nimage:{type:ControlType.ResponsiveImage,title:\"Image\"},video:{type:ControlType.File,title:\"Video\",allowedFileTypes:[\"mp4\",\"webm\",\"mov\"]},title:{type:ControlType.String,title:\"Title\",defaultValue:\"Title\"},subtitle:{type:ControlType.String,title:\"Subtitle\",defaultValue:\"Subtitle\"},link:{type:ControlType.Link,title:\"Link\"},alt:{type:ControlType.String,title:\"Alt text\",defaultValue:\"\"}}},// Only declared fields (no id/image) so Framer's array editor round-trips edits cleanly.\ndefaultValue:DEFAULT_ITEMS_CONTROL_VALUE},placeholderImages:{type:ControlType.Boolean,title:\"Demo Images\",hidden:p=>p.contentSource===\"slots\",defaultValue:true,description:\"Show sample photos for items that have no image or video yet.\"},slots:{type:ControlType.Array,title:\"Slots\",hidden:p=>p.contentSource!==\"slots\",control:{type:ControlType.ComponentInstance},maxCount:60},debugSlots:{type:ControlType.Boolean,title:\"Debug Slots\",// Developer diagnostics only; hidden from buyers (default off).\nhidden:()=>true,defaultValue:false,description:\"Overlay: slide count, how the slot was split (collection / static / fallback) + slot tree.\"},gap:{type:ControlType.Number,title:\"Gap\",min:0,max:80,step:1,defaultValue:16,unit:\"px\"},radius:{type:ControlType.Number,title:\"Radius\",min:0,max:48,step:1,defaultValue:18,unit:\"px\"},itemWidth:{type:ControlType.Number,title:\"Item Width\",min:120,max:720,step:4,defaultValue:280,unit:\"px\"},itemHeight:{type:ControlType.Number,title:\"Item Height\",min:120,max:900,step:4,defaultValue:360,unit:\"px\"},hoverGrowScale:{type:ControlType.Number,title:\"Grow Scale\",hidden:p=>p.layout!==\"hoverGrow\",min:1,max:2,step:.05,defaultValue:1.35},arcDepth:{type:ControlType.Number,title:\"Arc Depth\",hidden:p=>p.layout!==\"arc\",min:0,max:200,step:2,defaultValue:80,unit:\"px\"},focusScale:{type:ControlType.Number,title:\"Focus Scale\",hidden:p=>p.layout!==\"focus\",min:1,max:1.5,step:.01,defaultValue:1.12},focusSideScale:{type:ControlType.Number,title:\"Side Scale\",hidden:p=>p.layout!==\"focus\",min:.5,max:1,step:.01,defaultValue:.86},focusBlur:{type:ControlType.Number,title:\"Side Blur\",hidden:p=>p.layout!==\"focus\",min:0,max:12,step:.5,defaultValue:2,unit:\"px\"},focusOpacity:{type:ControlType.Number,title:\"Side Opacity\",hidden:p=>p.layout!==\"focus\",min:.2,max:1,step:.05,defaultValue:.55},ropeSag:{type:ControlType.Number,title:\"Rope Sag\",hidden:p=>p.layout!==\"rope\",min:0,max:160,step:2,defaultValue:48,unit:\"px\"},ropeColor:{type:ControlType.Color,title:\"Rope Color\",hidden:p=>p.layout!==\"rope\",defaultValue:\"#c4a484\"},ropeThickness:{type:ControlType.Number,title:\"Rope Thickness\",hidden:p=>p.layout!==\"rope\",min:1,max:10,step:.5,defaultValue:3,unit:\"px\"},ringRadius:{type:ControlType.Number,title:\"Ring Radius\",hidden:p=>p.layout!==\"ring\",min:120,max:800,step:10,defaultValue:340,unit:\"px\"},ringTilt:{type:ControlType.Number,title:\"Ring Tilt\",hidden:p=>p.layout!==\"ring\",min:0,max:45,step:1,defaultValue:12,unit:\"\\xb0\"},classicPeek:{type:ControlType.Number,title:\"Peek\",hidden:p=>p.layout!==\"classic\",min:0,max:.5,step:.05,defaultValue:.25},loop:{type:ControlType.Boolean,title:\"Loop\",defaultValue:true,enabledTitle:\"On\",disabledTitle:\"Off\"},autoplay:{type:ControlType.Boolean,title:\"Autoplay\",defaultValue:true,enabledTitle:\"On\",disabledTitle:\"Off\"},autoplayInterval:{type:ControlType.Number,title:\"Interval\",hidden:p=>!p.autoplay,min:1,max:12,step:.5,defaultValue:4,unit:\"s\"},pauseOnHover:{type:ControlType.Boolean,title:\"Pause Hover\",hidden:p=>!p.autoplay,defaultValue:true},showPauseButton:{type:ControlType.Boolean,title:\"Pause Button\",hidden:p=>!p.autoplay,defaultValue:true},showArrows:{type:ControlType.Boolean,title:\"Arrows\",defaultValue:true},showDots:{type:ControlType.Boolean,title:\"Dots\",defaultValue:true},arrowColor:{type:ControlType.Color,title:\"Arrow Color\",defaultValue:\"#0f172a\",hidden:p=>!p.showArrows},arrowBg:{type:ControlType.Color,title:\"Arrow BG\",defaultValue:\"rgba(255,255,255,0.92)\",hidden:p=>!p.showArrows},arrowSize:{type:ControlType.Number,title:\"Arrow Size\",hidden:p=>!p.showArrows,min:28,max:64,defaultValue:44,unit:\"px\"},dotColor:{type:ControlType.Color,title:\"Dot Color\",defaultValue:\"rgba(255,255,255,0.35)\",hidden:p=>!p.showDots},dotActiveColor:{type:ControlType.Color,title:\"Dot Active\",defaultValue:\"#ffffff\",hidden:p=>!p.showDots},shadow:{type:ControlType.BoxShadow,title:\"Shadow\",defaultValue:\"0 18px 40px rgba(0,0,0,0.28)\"},dimInactive:{type:ControlType.Number,title:\"Dim Inactive\",min:0,max:1,step:.05,defaultValue:.35},easing:{type:ControlType.Enum,title:\"Easing\",options:[\"spring\",\"ease\"],optionTitles:[\"Spring\",\"Ease\"],defaultValue:\"spring\",displaySegmentedControl:true},springStiffness:{type:ControlType.Number,title:\"Stiffness\",hidden:p=>p.easing!==\"spring\",min:40,max:500,defaultValue:220,description:\"Classic caps this at 160 for a smoother wide-strip glide.\"},springDamping:{type:ControlType.Number,title:\"Damping\",hidden:p=>p.easing!==\"spring\",min:8,max:60,defaultValue:28,description:\"Classic uses at least 36 (no overshoot).\"},easeDuration:{type:ControlType.Number,title:\"Duration\",hidden:p=>p.easing!==\"ease\",min:.15,max:1.5,step:.05,defaultValue:.55,unit:\"s\"},wheelNav:{type:ControlType.Boolean,title:\"Wheel Nav\",defaultValue:true},dragEnabled:{type:ControlType.Boolean,title:\"Drag\",defaultValue:true},videoAutoplay:{type:ControlType.Boolean,title:\"Video Autoplay\",defaultValue:true},videoMuted:{type:ControlType.Boolean,title:\"Video Muted\",defaultValue:true},showCaptions:{type:ControlType.Boolean,title:\"Captions\",defaultValue:true},titleColor:{type:ControlType.Color,title:\"Title Color\",defaultValue:\"#ffffff\",hidden:p=>!p.showCaptions},subtitleColor:{type:ControlType.Color,title:\"Subtitle Color\",defaultValue:\"rgba(255,255,255,0.78)\",hidden:p=>!p.showCaptions},titleSize:{type:ControlType.Number,title:\"Title Size\",hidden:p=>!p.showCaptions,min:10,max:32,defaultValue:16,unit:\"px\"},subtitleSize:{type:ControlType.Number,title:\"Subtitle Size\",hidden:p=>!p.showCaptions,min:10,max:24,defaultValue:13,unit:\"px\"},buffer:{type:ControlType.Number,title:\"Virtual Buffer\",min:1,max:8,step:1,defaultValue:3,// Internal tuning; hidden from buyers (default kept for existing installs).\nhidden:()=>true},label:{type:ControlType.String,title:\"Label\",defaultValue:\"Media carousel\",description:\"Accessible name read by screen readers.\"}});\nexport const __FramerMetadata__ = {\"exports\":{\"CarouselLayout\":{\"type\":\"tsType\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"default\":{\"type\":\"reactComponent\",\"name\":\"MultiLayoutCarousel\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\",\"framerSupportedLayoutHeight\":\"any-prefer-fixed\",\"framerSupportedLayoutWidth\":\"any-prefer-fixed\"}},\"CarouselManualItem\":{\"type\":\"tsType\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"MultiLayoutCarouselProps\":{\"type\":\"tsType\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"CarouselImage\":{\"type\":\"tsType\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./MultiLayoutCarousel.map"],"mappings":"A,wVAiByX,SAASoC,EAAU,EAAK,CAAC,OAAOC,EAAK,OAAO,CAAC,CAAE,CAAC,SAASC,EAAoB,EAAK,CAAC,IAAMC,EAAIH,EAAUC,CAAI,CAAC,CAAC,SAAS,OAAOrC,EAAS,QAAQuC,CAAG,CAAC,CAAC,OAAOtC,CAAc,CAAE,CAAC,SAASuC,EAAa,EAAK,CAAC,GAAG,OAAOC,GAAO,SAAS,OAAOA,EAAK,GAAG,OAAOA,GAAO,WAAW,CAAC,IAAMC,EAAGD,EAAK,OAAOC,EAAG,aAAaA,EAAG,MAAM,EAAG,CAAC,GAAG,OAAOD,GAAO,UAAUA,EAAK,CAAC,IAAME,EAAIF,EAAK,OAAOE,EAAI,aAAaA,EAAI,QAAQ,aAAaA,EAAI,QAAQ,MAAM,EAAG,CAAC,MAAM,EAAG,CAAC,SAASC,EAAoB,EAAK,CAAC,IAAM,EAAER,EAAUC,CAAI,CAAC,CAAC,8BAA8B,OAAO,OAAO,GAAI,UAAU,EAAE,EAAE,IAAK,CAKj7B,SAASQ,EAAc,EAAK,CAAC,IAAMC,EAAGF,EAAoBP,CAAI,EAAE,GAAGS,IAAK,SAASA,IAAK,SAASA,IAAK,aAAa,MAAO,GAAK,IAAMC,EAAKP,EAAaH,EAAK,IAAI,EAAsH,MAA3C,GAAtE,+CAA+C,KAAKU,CAAI,GAAiB,iBAAiB,KAAKA,CAAI,EAA2B,CAAC,SAASC,EAAmB,EAAK,CAAC,IAAMC,EAAMb,EAAUC,CAAI,CAAC,CAAC,MAAsD,MAA7C,CAACY,GAAO,OAAOA,GAAQ,SAAgB,GAAaA,EAAM,UAAU,UAAW,CAAC,SAASC,EAAmB,EAAK,CAA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