{"version":3,"file":"CMSSlideshow.B2us8B_M.mjs","names":["React","Children","useCallback","useRef","useState","startTransition","SlideShow","Children","__esmMin","ne","init_ssg_sandbox_shims","j","init_npm_react_18_3_1","te","window","le","z","ee","_e","de","init_jsx_runtime","J","c","p","e","ce","mix","useInView","useTransform","usePageInView","wrap","frame","animate","LayoutGroup","init_framer_motion_DhsWWWsN","motion","useMotionValue","useQueryData","withCSS","init_framer_BWFVvmND","RenderTarget","ControlType","addPropertyControls","getPropertyControls","resize","init_index_es","forbiddenInRender","useEffectEvent","ref","fn","args","isInvalidExecutionContextForEventFunction","latestFn","context","init_useEffectEvent","SlideshowWithoutCSS","visibleItemsCount","props","effectsOptions","fadeOptions","arrowOptions","progressOptions","paddingValue","paddingPerSide","paddingTop","paddingRight","paddingBottom","paddingLeft","padding","isCanvas","filteredSlots","slots","totalItemsCount","placeholderStyles","emojiStyles","titleStyles","subtitleStyles","scheduleMeasureIfEverythingReady","parentRef","firstChildRef","lastChildRef","scheduleMeasure","parentRefFn","node","firstChildRefFn","lastChildRefFn","size","setSize","isHorizontal","direction","writingDirection","useWritingDirection","rtlDirectionModifier","isHovering","setIsHovering","shouldPlayOnHover","setShouldPlayOnHover","autoPlayControl","isMouseDown","setIsMouseDown","isInitialized","extraCopyCount","startFrom","dupedChildren","duplicateBy","currentItem","setCurrentItem","computedNewPosition","gap","xOrY","transitionControl","measure","getWritingDirection","isRTL","firstChild","lastChild","parentLength","start","childrenLength","itemSize","itemWidth","itemHeight","viewportLength","contentSize","childrenSize","isDragging","setIsDragging","visibilityRef","isInView","isVisible","wrappedXOrY","resolvedChildrenSize","resolvedValue","value","wrapped","wrappedIndex","setDelta","item","delta","setPage","goto","index","autoplayStep","canAutoplay","playOffscreen","timeoutId","intervalControl","handleDragStart","handleDragEnd","offsetXorY","offset","velocityXorY","velocity","isHalfOfNext","isHalfOfPrev","itemDelta","itemDeltaFromOne","staticStartFrom","staticPercentOffset","staticPixelOffset","childCounter","columnOrRowValue","childIndex","Slide","fadeDirection","fadeWidthStart","fadeWidth","fadeWidthEnd","fadeMask","fadeAlpha","clamp","fadeInset","dots","dotsBlurStyle","showProgressDots","i","Dot","dotStyle","dotSize","dotsFill","baseButtonStyles","dotsActiveOpacity","dotsOpacity","dotsGap","dotsPadding","dotsBlur","dragProps","dragControl","arrowHasTop","arrowPosition","arrowHasBottom","arrowHasLeft","arrowHasRight","arrowHasMid","leftArrowSrc","leftArrow","rightArrowSrc","rightArrow","slideshowClassName","slideshowAxisXClassName","slideshowAxisYClassName","containerStyle","fadeContent","effectsHover","event","overflow","effectsPerspective","alignment","slideshowDirectionMultiplier","effectsRotate","style","controlsStyles","arrowShouldSpace","arrowGap","arrowShouldFadeIn","arrowPadding","arrowPaddingTop","arrowPaddingLeft","arrowPaddingRight","arrowPaddingBottom","arrowFill","arrowSize","arrowRadius","showMouseControls","dotsContainerStyle","dotsInset","dotsRadius","dotsBackground","setWritingDirection","onWritingDirectionChange","callbacks","callback","observer","slideshowDirectionMultiplierVariable","Slideshow","init_Slideshow","num","min","max","fallbackRef","parentSize","childOffset","scrollRange","val","rotateY","rotateX","opacity","effectsOpacity","scale","effectsScale","originXorY","latest","manageVisibility","visible","orig","el","visibility","key","slideKey","child","isSelected","inlinePadding","top","bottom","total","inlineStart","inlineEnd","buttonStyle","selectedOpacity","getCollectionData","_collectionList_props_children","_collectionList_props1","_collectionList_props_children_props_children","_collectionList_props_children_props1","_collectionList_props_children1","_collectionList_props2","queryParent","collectionList","query","queryData","left","propertyControlsById","propertyControlsByName","id","control","childrenFunction","_clpc_props_children","_clpc_props1","clpc","init_CMSLibrary","CMSSlideshow","otherProps","items","getCollectionListItems","layers","startLayers","CanvasPlaceholder","layer","shuffleArray","endLayers","getComponentProps","component","title","subtitle","array","data","children","clChildren","slideshowProps","init_CMSSlideshow"],"sources":["https:/framerusercontent.com/modules/R50kfuW2lU7q1qR9dZ84/X2OzYGrRUR6Ks9rovOnR/useEffectEvent.js","https:/framerusercontent.com/modules/zqVCisEilnz9pwNtVJWd/8E9tjnWL2hyMh2KQd42M/Slideshow.js","https:/framerusercontent.com/modules/OPJlnSDokJ2eD9lIXljn/mr2QJ5zw4xvkJ1Vbvzgr/CMSLibrary.js","https:/framerusercontent.com/modules/MvMI8rlAwWI6W41vb7x5/Xrnwoo0s54RGdVwsZRGa/CMSSlideshow.js"],"sourcesContent":["import React from\"react\";const context=/*#__PURE__*/React.createContext(true);function forbiddenInRender(){throw new Error(\"A function wrapped in useEffectEvent can't be called during rendering.\");}// We can only check if we're in a render phase, beyond initial render, in React 19, with its `React.use` hook.\nconst isInvalidExecutionContextForEventFunction=\"use\"in React?()=>{// There's no way to check if we're in a render phase from outside of React, the API used by useEffectEvent is private: https://github.com/facebook/react/blob/a00ca6f6b51e46a0ccec54a2231bfe7a1ed9ae1d/packages/react-reconciler/src/ReactFiberWorkLoop.js#L1785-L1788\n// So to emulate the same behavior, we call the use hook and if it doesn't throw, we're in a render phase.\ntry{return React.use(context);}catch{return false;}}:()=>false;/**\n * This is a ponyfill of the upcoming `useEffectEvent` hook that'll arrive in React 19.\n * https://19.react.dev/learn/separating-events-from-effects#declaring-an-effect-event\n * To learn more about the ponyfill itself, see: https://blog.bitsrc.io/a-look-inside-the-useevent-polyfill-from-the-new-react-docs-d1c4739e8072\n * @public\n */export function useEffectEvent(fn){/**\n     * For both React 18 and 19 we set the ref to the forbiddenInRender function, to catch illegal calls to the function during render.\n     * Once the insertion effect runs, we set the ref to the actual function.\n     */const ref=React.useRef(forbiddenInRender);React.useInsertionEffect(()=>{ref.current=fn;},[fn]);return(...args)=>{// Performs a similar check to what React does for `useEffectEvent`:\n// 1. https://github.com/facebook/react/blob/b7e2de632b2a160bc09edda1fbb9b8f85a6914e8/packages/react-reconciler/src/ReactFiberHooks.js#L2729-L2733\n// 2. https://github.com/facebook/react/blob/b7e2de632b2a160bc09edda1fbb9b8f85a6914e8/packages/react-reconciler/src/ReactFiberHooks.js#L2746C9-L2750\nif(isInvalidExecutionContextForEventFunction()){forbiddenInRender();}const latestFn=ref.current;return latestFn(...args);};}\nexport const __FramerMetadata__ = {\"exports\":{\"useEffectEvent\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./useEffectEvent.map","import{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import{resize}from\"@motionone/dom\";import{ControlType,RenderTarget,addPropertyControls,withCSS}from\"framer\";import{LayoutGroup,animate,frame,mix,motion,useInView,useMotionValue,usePageInView,useTransform,wrap}from\"framer-motion\";import{Children,cloneElement,forwardRef,memo,startTransition,useCallback,useEffect,useLayoutEffect,useRef,useState}from\"react\";import{useEffectEvent}from\"https://framerusercontent.com/modules/R50kfuW2lU7q1qR9dZ84/X2OzYGrRUR6Ks9rovOnR/useEffectEvent.js\";const slideshowClassName=\"framer-slideshow\";const slideshowAxisXClassName=\"framer-slideshow-axis-x\";const slideshowAxisYClassName=\"framer-slideshow-axis-y\";const slideshowDirectionMultiplierVariable=\"--framer-dir-multiplier\";const slideshowDirectionMultiplier=`var(${slideshowDirectionMultiplierVariable}, -1)`;function SlideshowWithoutCSS(props){/**\n     * Properties\n     */const{slots=[],startFrom,direction,effectsOptions,autoPlayControl,dragControl,alignment,gap,padding,paddingPerSide,paddingTop,paddingRight,paddingBottom,paddingLeft,itemAmount:visibleItemsCount,fadeOptions,intervalControl,transitionControl,arrowOptions,borderRadius,progressOptions,style}=props;const{effectsOpacity,effectsScale,effectsRotate,effectsPerspective,effectsHover,playOffscreen}=effectsOptions;const{fadeContent,overflow,fadeWidth,fadeInset,fadeAlpha}=fadeOptions;const{showMouseControls,arrowSize,arrowRadius,arrowFill,leftArrow,rightArrow,arrowShouldSpace=true,arrowShouldFadeIn=false,arrowPosition,arrowPadding,arrowGap,arrowPaddingTop,arrowPaddingRight,arrowPaddingBottom,arrowPaddingLeft}=arrowOptions;const{showProgressDots,dotSize,dotsInset,dotsRadius,dotsPadding,dotsGap,dotsFill,dotsBackground,dotsActiveOpacity,dotsOpacity,dotsBlur}=progressOptions;const paddingValue=paddingPerSide?`${paddingTop}px ${paddingRight}px ${paddingBottom}px ${paddingLeft}px`:`${padding}px`;/**\n     * Checks\n     */const isCanvas=RenderTarget.current()===RenderTarget.canvas;// Remove empty slots (such as hidden layers)\nconst filteredSlots=slots.filter(Boolean);const totalItemsCount=Children.count(filteredSlots);const hasChildren=totalItemsCount>0;/**\n     * Empty state for Canvas\n     */if(!hasChildren){return /*#__PURE__*/_jsxs(\"section\",{style:placeholderStyles,children:[/*#__PURE__*/_jsx(\"div\",{style:emojiStyles,children:\"⭐️\"}),/*#__PURE__*/_jsx(\"p\",{style:titleStyles,children:\"Connect to Content\"}),/*#__PURE__*/_jsx(\"p\",{style:subtitleStyles,children:\"Add layers or components to make infinite auto-playing slideshows.\"})]});}/**\n     * Refs, State\n     */const scheduleMeasureIfEverythingReady=useCallback(()=>{if(parentRef.current&&firstChildRef.current&&lastChildRef.current){scheduleMeasure();}},[]);const parentRef=useRef(null);const parentRefFn=useCallback(node=>{parentRef.current=node;scheduleMeasureIfEverythingReady();},[scheduleMeasureIfEverythingReady]);const firstChildRef=useRef(null);const firstChildRefFn=useCallback(node=>{firstChildRef.current=node;scheduleMeasureIfEverythingReady();},[scheduleMeasureIfEverythingReady]);const lastChildRef=useRef(null);const lastChildRefFn=useCallback(node=>{lastChildRef.current=node;scheduleMeasureIfEverythingReady();},[scheduleMeasureIfEverythingReady]);const[size,setSize]=useState({parent:null,children:null,item:null,itemWidth:null,itemHeight:null,viewportLength:null});const isHorizontal=direction===\"left\"||direction===\"right\";const writingDirection=useWritingDirection();const rtlDirectionModifier=isHorizontal&&writingDirection===\"rtl\"?-1:1;/* For pausing on hover */const[isHovering,setIsHovering]=useState(false);const[shouldPlayOnHover,setShouldPlayOnHover]=useState(autoPlayControl);/* For cursor updates */const[isMouseDown,setIsMouseDown]=useState(false);/* For SSR / initial render */const isInitialized=size?.item!==null&&size?.parent!==null&&writingDirection!==null;/**\n     * Array for children\n     */// Normally, the user would provide like 10 slides (totalItemsCount == 10) and only show one at a\n// time (visibleItemsCount == 1). In these cases, extraCopyCount == 1, and we only render 3 extra\n// duplicates in the live mode or no duplicates at all in the SSR or on Canvas.\n// However, sometimes, the user might things like\n// - provide totalItemsCount = 5, visibleItemsCount = 3, startFrom = 4 → we need one more duplicate to continue the loop\n//   and render two more slides\n// - or: totalItemsCount = 2, visibleItemsCount = 10 → we need three more duplicates to fill the whole view of the slideshow\n// In these cases, we produce extra copies of the children.\nconst extraCopyCount=Math.ceil((startFrom+visibleItemsCount)/totalItemsCount);let dupedChildren=[];let duplicateBy=extraCopyCount*4;if(isCanvas||!isInitialized){duplicateBy=extraCopyCount;}/**\n     * Measure parent, child, items\n     *//* Calculate the new value to animate to */const[currentItem,setCurrentItem]=useState(startFrom+totalItemsCount);/* Animate whenever currentItem changes */useEffect(()=>{if(!size.item||!writingDirection)return;const computedNewPosition=-1*currentItem*((size.item??0)+gap)*(writingDirection===\"rtl\"?-1:1);if(xOrY.get()!==computedNewPosition){animate(xOrY,computedNewPosition,transitionControl);}},[currentItem,size.item,gap,writingDirection]);const measure=()=>{if(!parentRef.current||!firstChildRef.current||!lastChildRef.current)return;// Calling getWritingDirection() directly because this might be executed before useEffect() in useWritingDirection() runs.\nconst writingDirection=getWritingDirection();const isRTL=isHorizontal&&writingDirection===\"rtl\";const firstChild=isRTL?lastChildRef.current:firstChildRef.current;const lastChild=isRTL?firstChildRef.current:lastChildRef.current;const parentLength=isHorizontal?parentRef.current.offsetWidth:parentRef.current.offsetHeight;const start=firstChild?isHorizontal?firstChild.offsetLeft:firstChild.offsetTop:0;const end=lastChild?isHorizontal?lastChild.offsetLeft+lastChild.offsetWidth:lastChild.offsetTop+lastChild.offsetHeight:0;const childrenLength=end-start+gap;const itemSize=firstChild?isHorizontal?firstChild.offsetWidth:firstChild.offsetHeight:0;const itemWidth=firstChild?firstChild.offsetWidth:0;const itemHeight=firstChild?firstChild.offsetHeight:0;const viewportLength=isHorizontal?Math.max(document.documentElement.clientWidth||0,window.innerWidth||0,parentRef.current.offsetWidth):Math.max(document.documentElement.clientHeight||0,window.innerHeight||0,parentRef.current.offsetHeight);setSize({parent:parentLength,children:childrenLength,item:itemSize,itemWidth,itemHeight,viewportLength});};const scheduleMeasure=useEffectEvent(async()=>{frame.read(measure,false,true);});/* Re-measure when some layout-affecting props change */useLayoutEffect(()=>{scheduleMeasure();},[slots.length,visibleItemsCount,gap,direction,padding,paddingPerSide,paddingTop,paddingRight,paddingBottom,paddingLeft]);/** Re-measure when the parent is resized */useEffect(()=>{const node=parentRef.current;if(!node)return;return resize(node,({contentSize})=>{if(contentSize.width||contentSize.height){scheduleMeasure();}});},[]);/**\n     * Animation, pagination\n     */const childrenSize=isCanvas?0:size?.children;const[isDragging,setIsDragging]=useState(false);/* Check for browser window visibility *//* Otherwise, it will re-play all the item increments */const visibilityRef=useRef(null);const isInView=useInView(visibilityRef);const isVisible=usePageInView()&&isInView;/* The x and y values to start from */const xOrY=useMotionValue(childrenSize);/* Wrapped values for infinite looping *//* Instead of 0 to a negative full duplicated row, we start with an offset */const wrappedXOrY=!isCanvas?useTransform(xOrY,value=>{const resolvedChildrenSize=childrenSize??0;const resolvedValue=value??0;const wrapped=wrap(-resolvedChildrenSize*rtlDirectionModifier,-resolvedChildrenSize*rtlDirectionModifier*2,resolvedValue);return Number.isNaN(wrapped)?0:wrapped;}):0;/* Convert the current item to a wrapping index for dots */const wrappedIndex=wrap(0,totalItemsCount,currentItem);/**\n     * Page item methods\n     * Switching, deltas, autoplaying\n     *//* Page navigation functions */const setDelta=delta=>{startTransition(()=>setCurrentItem(item=>item+delta));};const setPage=index=>{const currentItemWrapped=wrap(0,totalItemsCount,currentItem);const goto=index-currentItemWrapped;startTransition(()=>setCurrentItem(item=>item+goto));};/* Autoplay: schedule one tick at a time whenever currentItem changes */const autoplayStep=(direction===\"right\"||direction===\"bottom\"?-1:1)*rtlDirectionModifier;const canAutoplay=autoPlayControl&&shouldPlayOnHover&&(playOffscreen||isVisible)&&!isCanvas&&totalItemsCount>1&&!isDragging&&isInitialized;useEffect(()=>{if(!canAutoplay)return;const timeoutId=setTimeout(()=>{setDelta(autoplayStep);},intervalControl*1e3);return()=>clearTimeout(timeoutId);},[canAutoplay,autoplayStep,intervalControl,currentItem]);/**\n     * Drag\n     */const handleDragStart=()=>{startTransition(()=>setIsDragging(true));};const handleDragEnd=(event,{offset,velocity})=>{startTransition(()=>setIsDragging(false));const offsetXorY=isHorizontal?offset.x:offset.y;const velocityThreshold=200// Based on testing, can be tweaked or could be 0\n;const velocityXorY=isHorizontal?velocity.x:velocity.y;const isHalfOfNext=offsetXorY<-size.item/2;const isHalfOfPrev=offsetXorY>size.item/2;/* In case you drag more than 1 item left or right */const normalizedOffset=Math.abs(offsetXorY);const itemDelta=Math.round(normalizedOffset/size.item);/* Minimum delta is 1 to initiate a page switch *//* For velocity use only */const itemDeltaFromOne=itemDelta===0?1:itemDelta;/* For quick flicks, even with low offsets */if(velocityXorY>velocityThreshold){setDelta(-itemDeltaFromOne*rtlDirectionModifier);}else if(velocityXorY<-velocityThreshold){setDelta(itemDeltaFromOne*rtlDirectionModifier);}else{/* For dragging over half of the current item with 0 velocity */if(isHalfOfNext){setDelta(itemDelta*rtlDirectionModifier);}if(isHalfOfPrev){setDelta(-itemDelta*rtlDirectionModifier);}}};// Static/canvas layout: translate by a deterministic CSS calc so the starting slide is visible\n// without relying on runtime measurements.\nconst staticStartFrom=Math.max(0,Math.min(startFrom??0,Math.max(0,totalItemsCount-1)));const staticPercentOffset=staticStartFrom*100/visibleItemsCount;const staticPixelOffset=staticStartFrom*gap/visibleItemsCount;/* Create copies of our children to create a perfect loop */let childCounter=0;/**\n     * Sizing\n     * */const columnOrRowValue=`calc(${100/visibleItemsCount}% - ${gap}px + ${gap/visibleItemsCount}px)`;/**\n     * Nested array to create duplicates of the children for infinite looping\n     * These are wrapped around, and start at a full \"page\" worth of offset\n     * as defined above.\n     */for(let index=0;index<duplicateBy;index++){dupedChildren=dupedChildren.concat(Children.map(filteredSlots,(child,childIndex)=>{let ref;if(index===0){if(childIndex===0){ref=firstChildRefFn;}else if(childIndex===filteredSlots.length-1){ref=lastChildRefFn;}}return /*#__PURE__*/_jsx(Slide,{ref:ref,slideKey:index+childIndex+\"lg\",index:index,width:isHorizontal?visibleItemsCount>1?columnOrRowValue:\"100%\":\"100%\",height:!isHorizontal?visibleItemsCount>1?columnOrRowValue:\"100%\":\"100%\",size:size,child:child,numChildren:filteredSlots?.length,wrappedXOrY:wrappedXOrY,childCounter:childCounter++,gap:gap,isCanvas:isCanvas,isInitialized:isInitialized,isHorizontal:isHorizontal,effectsOpacity:effectsOpacity,effectsScale:effectsScale,effectsRotate:effectsRotate,writingDirection:writingDirection,rtlDirectionModifier:rtlDirectionModifier,children:index+childIndex},index+childIndex+\"lg\");}));}/**\n     * Fades with masks\n     */const fadeDirection=isHorizontal?\"to right\":\"to bottom\";const fadeWidthStart=fadeWidth/2;const fadeWidthEnd=100-fadeWidth/2;const fadeInsetStart=clamp(fadeInset,0,fadeWidthStart);const fadeInsetEnd=100-fadeInset;const fadeMask=`linear-gradient(${fadeDirection}, rgba(0, 0, 0, ${fadeAlpha}) ${fadeInsetStart}%, rgba(0, 0, 0, 1) ${fadeWidthStart}%, rgba(0, 0, 0, 1) ${fadeWidthEnd}%, rgba(0, 0, 0, ${fadeAlpha}) ${fadeInsetEnd}%)`;/**\n     * Dots\n     */const dots=[];const dotsBlurStyle={};if(showProgressDots){for(let i=0;i<filteredSlots?.length;i++){dots.push(/*#__PURE__*/_jsx(Dot,{dotStyle:{...dotStyle,width:dotSize,height:dotSize,backgroundColor:dotsFill},buttonStyle:baseButtonStyles,selectedOpacity:dotsActiveOpacity,opacity:dotsOpacity,disabled:!isCanvas&&!isInitialized,onClick:()=>setPage(i),wrappedIndex:isCanvas||!isInitialized?staticStartFrom:wrappedIndex,total:totalItemsCount,index:i,gap:dotsGap,padding:dotsPadding,isHorizontal:isHorizontal},i));}if(dotsBlur>0){dotsBlurStyle.backdropFilter=dotsBlurStyle.WebkitBackdropFilter=`blur(${dotsBlur}px)`;}}const dragProps=isInitialized&&dragControl?{drag:isHorizontal?\"x\":\"y\",onDragStart:handleDragStart,onDragEnd:handleDragEnd,dragDirectionLock:true,values:{x:writingDirection===\"rtl\"?-xOrY:xOrY,y:xOrY},dragMomentum:false}:{};const arrowHasTop=arrowPosition===\"top-left\"||arrowPosition===\"top-mid\"||arrowPosition===\"top-right\";const arrowHasBottom=arrowPosition===\"bottom-left\"||arrowPosition===\"bottom-mid\"||arrowPosition===\"bottom-right\";const arrowHasLeft=arrowPosition===\"top-left\"||arrowPosition===\"bottom-left\";const arrowHasRight=arrowPosition===\"top-right\"||arrowPosition===\"bottom-right\";const arrowHasMid=arrowPosition===\"top-mid\"||arrowPosition===\"bottom-mid\"||arrowPosition===\"auto\";const leftArrowSrc=leftArrow||\"https://framerusercontent.com/images/6tTbkXggWgQCAJ4DO2QEdXXmgM.svg?arrow=left\";const rightArrowSrc=rightArrow||\"https://framerusercontent.com/images/11KSGbIZoRSg4pjdnUoif6MKHI.svg?arrow=right\";return /*#__PURE__*/_jsxs(\"section\",{className:`${slideshowClassName} ${isHorizontal?slideshowAxisXClassName:slideshowAxisYClassName}`,style:{...containerStyle,padding:paddingValue,WebkitMaskImage:fadeContent?fadeMask:undefined,maskImage:fadeContent?fadeMask:undefined,userSelect:\"none\"},onMouseEnter:()=>{setIsHovering(true);if(!effectsHover)setShouldPlayOnHover(false);},onMouseLeave:()=>{setIsHovering(false);if(!effectsHover)setShouldPlayOnHover(true);},onMouseDown:event=>{// Preventdefault fixes the cursor switching to text on drag on safari\nevent.preventDefault();startTransition(()=>setIsMouseDown(true));},onMouseUp:()=>startTransition(()=>setIsMouseDown(false)),ref:visibilityRef,children:[/*#__PURE__*/_jsx(\"div\",{style:{width:\"100%\",height:\"100%\",margin:0,padding:\"inherit\",position:\"absolute\",inset:0,overflow:overflow?\"visible\":\"hidden\",borderRadius:borderRadius,userSelect:\"none\",perspective:isCanvas?\"none\":effectsPerspective},children:/*#__PURE__*/_jsx(motion.ul,{ref:parentRefFn,...dragProps,style:{...containerStyle,gap:gap,placeItems:alignment,...isCanvas||!isInitialized?{transform:isHorizontal?`translateX(calc(${slideshowDirectionMultiplier} * (${staticPercentOffset}% + ${staticPixelOffset}px)))`:`translateY(calc(${slideshowDirectionMultiplier} * (${staticPercentOffset}% + ${staticPixelOffset}px)))`}:{x:isHorizontal?wrappedXOrY:0,y:!isHorizontal?wrappedXOrY:0},flexDirection:isHorizontal?\"row\":\"column\",transformStyle:effectsRotate!==0&&!isCanvas?\"preserve-3d\":undefined,cursor:(isCanvas||isInitialized)&&dragControl?isMouseDown?\"grabbing\":\"grab\":\"auto\",userSelect:\"none\",...style},children:dupedChildren})}),/*#__PURE__*/_jsxs(\"fieldset\",{style:{...controlsStyles},\"aria-label\":\"Slideshow pagination controls\",className:\"framer--slideshow-controls\",children:[/*#__PURE__*/_jsxs(motion.div,{style:{position:\"absolute\",display:\"flex\",flexDirection:isHorizontal?\"row\":\"column\",justifyContent:arrowShouldSpace?\"space-between\":\"center\",gap:arrowShouldSpace?\"unset\":arrowGap,opacity:arrowShouldFadeIn||!isCanvas&&!isInitialized?0:1,alignItems:\"center\",inset:arrowPadding,top:arrowShouldSpace?arrowPadding:arrowHasTop?arrowPaddingTop:\"unset\",left:arrowShouldSpace?arrowPadding:arrowHasLeft?arrowPaddingLeft:arrowHasMid?0:\"unset\",right:arrowShouldSpace?arrowPadding:arrowHasRight?arrowPaddingRight:arrowHasMid?0:\"unset\",bottom:arrowShouldSpace?arrowPadding:arrowHasBottom?arrowPaddingBottom:\"unset\"},animate:isCanvas||isInitialized?arrowShouldFadeIn?{opacity:isHovering?1:0}:{opacity:1}:{opacity:0},transition:transitionControl,children:[/*#__PURE__*/_jsx(motion.button,{type:\"button\",style:{...baseButtonStyles,backgroundColor:arrowFill,width:arrowSize,height:arrowSize,borderRadius:arrowRadius,rotate:!isHorizontal?90:0,display:showMouseControls?\"block\":\"none\",pointerEvents:isCanvas||isInitialized?\"auto\":\"none\",cursor:isCanvas||isInitialized?\"pointer\":\"default\"},disabled:!(isCanvas||isInitialized),onClick:()=>setDelta(-1),\"aria-label\":\"Previous\",whileTap:{scale:.9},transition:{duration:.15},children:/*#__PURE__*/_jsx(\"img\",{decoding:\"async\",width:arrowSize,height:arrowSize,src:isHorizontal&&writingDirection===\"rtl\"?rightArrowSrc:leftArrowSrc,alt:\"Back Arrow\"})}),/*#__PURE__*/_jsx(motion.button,{type:\"button\",style:{...baseButtonStyles,backgroundColor:arrowFill,width:arrowSize,height:arrowSize,borderRadius:arrowRadius,rotate:!isHorizontal?90:0,display:showMouseControls?\"block\":\"none\",pointerEvents:isCanvas||isInitialized?\"auto\":\"none\",cursor:isCanvas||isInitialized?\"pointer\":\"default\"},disabled:!(isCanvas||isInitialized),onClick:()=>setDelta(1),\"aria-label\":\"Next\",whileTap:{scale:.9},transition:{duration:.15},children:/*#__PURE__*/_jsx(\"img\",{decoding:\"async\",width:arrowSize,height:arrowSize,src:isHorizontal&&writingDirection===\"rtl\"?leftArrowSrc:rightArrowSrc,alt:\"Next Arrow\"})})]}),dots.length>1?/*#__PURE__*/_jsx(motion.div,{style:{...dotsContainerStyle,left:isHorizontal?\"50%\":dotsInset,top:!isHorizontal?\"50%\":\"unset\",transform:isHorizontal?\"translateX(-50%)\":\"translateY(-50%)\",flexDirection:isHorizontal?\"row\":\"column\",bottom:isHorizontal?dotsInset:\"unset\",borderRadius:dotsRadius,backgroundColor:dotsBackground,userSelect:\"none\",...dotsBlurStyle,// Hard-code opacity to 1 on canvas. In SSR, it will be animated from 0 to 1 in `animate`\nopacity:isCanvas?1:0,pointerEvents:isCanvas||isInitialized?\"auto\":\"none\"},animate:{opacity:isInitialized?1:0},transition:{duration:.35,ease:\"easeOut\"},children:dots}):null]})]});}const Slideshow=withCSS(SlideshowWithoutCSS,[`.${slideshowAxisXClassName} { ${slideshowDirectionMultiplierVariable}: -1; }`,`html[dir=\"rtl\"] .${slideshowAxisXClassName} { ${slideshowDirectionMultiplierVariable}: 1; }`,`.${slideshowAxisYClassName} { ${slideshowDirectionMultiplierVariable}: -1; }`],\"framer-slideshow-component\");/**\n * SLIDESHOW\n * V2.5 (with SSR)\n * By Benjamin, Matt, and Ivan\n *\n * @framerIntrinsicWidth 400\n * @framerIntrinsicHeight 200\n *\n * @framerDisableUnlink\n *\n * @framerSupportedLayoutWidth fixed\n * @framerSupportedLayoutHeight fixed\n */export default Slideshow;/* Default Properties */Slideshow.defaultProps={direction:\"left\",dragControl:false,startFrom:0,itemAmount:1,infinity:true,gap:10,padding:10,autoPlayControl:true,effectsOptions:{effectsOpacity:1,effectsScale:1,effectsRotate:0,effectsPerspective:1200,effectsHover:true,playOffscreen:false},transitionControl:{type:\"spring\",stiffness:200,damping:40},fadeOptions:{fadeContent:false,overflow:false,fadeWidth:25,fadeAlpha:0,fadeInset:0},arrowOptions:{showMouseControls:true,arrowShouldFadeIn:false,arrowShouldSpace:true,arrowFill:\"rgba(0,0,0,0.2)\",arrowSize:40},progressOptions:{showProgressDots:true}};/* Property Controls */addPropertyControls(Slideshow,{slots:{type:ControlType.Array,title:\"Content\",control:{type:ControlType.ComponentInstance}},direction:{type:ControlType.Enum,title:\"Direction\",options:[\"left\",\"right\",\"top\",\"bottom\"],optionIcons:[\"direction-left\",\"direction-right\",\"direction-up\",\"direction-down\"],optionTitles:[\"Left\",\"Right\",\"Top\",\"Bottom\"],displaySegmentedControl:true,defaultValue:Slideshow.defaultProps.direction},autoPlayControl:{type:ControlType.Boolean,title:\"Auto Play\",defaultValue:true},intervalControl:{type:ControlType.Number,title:\"Interval\",defaultValue:1.5,min:.5,max:10,step:.1,displayStepper:true,unit:\"s\",hidden:props=>!props.autoPlayControl},dragControl:{type:ControlType.Boolean,title:\"Draggable\",defaultValue:false},startFrom:{type:ControlType.Number,title:\"Current\",min:0,max:10,displayStepper:true,defaultValue:Slideshow.defaultProps.startFrom},effectsOptions:{type:ControlType.Object,title:\"Effects\",controls:{effectsOpacity:{type:ControlType.Number,title:\"Opacity\",defaultValue:Slideshow.defaultProps.effectsOptions.effectsOpacity,min:0,max:1,step:.01,displayStepper:true},effectsScale:{type:ControlType.Number,title:\"Scale\",defaultValue:Slideshow.defaultProps.effectsOptions.effectsScale,min:0,max:1,step:.01,displayStepper:true},effectsPerspective:{type:ControlType.Number,title:\"Perspective\",defaultValue:Slideshow.defaultProps.effectsOptions.effectsPerspective,min:200,max:2e3,step:1},effectsRotate:{type:ControlType.Number,title:\"Rotate\",defaultValue:Slideshow.defaultProps.effectsOptions.effectsRotate,min:-180,max:180,step:1},effectsHover:{type:ControlType.Boolean,title:\"On Hover\",enabledTitle:\"Play\",disabledTitle:\"Pause\",defaultValue:Slideshow.defaultProps.effectsOptions.effectsHover},playOffscreen:{type:ControlType.Boolean,title:\"Offscreen\",enabledTitle:\"Play\",disabledTitle:\"Pause\",defaultValue:Slideshow.defaultProps.effectsOptions.playOffscreen}}},alignment:{type:ControlType.Enum,title:\"Align\",options:[\"flex-start\",\"center\",\"flex-end\"],optionIcons:{direction:{right:[\"align-top\",\"align-middle\",\"align-bottom\"],left:[\"align-top\",\"align-middle\",\"align-bottom\"],top:[\"align-left\",\"align-center\",\"align-right\"],bottom:[\"align-left\",\"align-center\",\"align-right\"]}},defaultValue:\"center\",displaySegmentedControl:true},itemAmount:{type:ControlType.Number,title:\"Items\",min:1,max:10,displayStepper:true,defaultValue:Slideshow.defaultProps.itemAmount},gap:{type:ControlType.Number,title:\"Gap\",min:0},padding:{title:\"Padding\",type:ControlType.FusedNumber,toggleKey:\"paddingPerSide\",toggleTitles:[\"Padding\",\"Padding per side\"],defaultValue:0,valueKeys:[\"paddingTop\",\"paddingRight\",\"paddingBottom\",\"paddingLeft\"],valueLabels:[\"T\",\"R\",\"B\",\"L\"],min:0},borderRadius:{type:ControlType.Number,title:\"Radius\",min:0,max:500,displayStepper:true,defaultValue:0},transitionControl:{type:ControlType.Transition,defaultValue:Slideshow.defaultProps.transitionControl,title:\"Transition\"},fadeOptions:{type:ControlType.Object,title:\"Clipping\",controls:{fadeContent:{type:ControlType.Boolean,title:\"Fade\",defaultValue:false},overflow:{type:ControlType.Boolean,title:\"Overflow\",enabledTitle:\"Show\",disabledTitle:\"Hide\",defaultValue:false,hidden(props){return props.fadeContent===true;}},fadeWidth:{type:ControlType.Number,title:\"Width\",defaultValue:25,min:0,max:100,unit:\"%\",hidden(props){return props.fadeContent===false;}},fadeInset:{type:ControlType.Number,title:\"Inset\",defaultValue:0,min:0,max:100,unit:\"%\",hidden(props){return props.fadeContent===false;}},fadeAlpha:{type:ControlType.Number,title:\"Opacity\",defaultValue:0,min:0,max:1,step:.05,hidden(props){return props.fadeContent===false;}}}},arrowOptions:{type:ControlType.Object,title:\"Arrows\",controls:{showMouseControls:{type:ControlType.Boolean,title:\"Show\",defaultValue:Slideshow.defaultProps.arrowOptions.showMouseControls},arrowFill:{type:ControlType.Color,title:\"Fill\",hidden:props=>!props.showMouseControls,defaultValue:Slideshow.defaultProps.arrowOptions.arrowFill},leftArrow:{type:ControlType.Image,title:\"Previous\",hidden:props=>!props.showMouseControls},rightArrow:{type:ControlType.Image,title:\"Next\",hidden:props=>!props.showMouseControls},arrowSize:{type:ControlType.Number,title:\"Size\",min:0,max:200,displayStepper:true,defaultValue:Slideshow.defaultProps.arrowOptions.arrowSize,hidden:props=>!props.showMouseControls},arrowRadius:{type:ControlType.Number,title:\"Radius\",min:0,max:500,defaultValue:40,hidden:props=>!props.showMouseControls},arrowShouldFadeIn:{type:ControlType.Boolean,title:\"Fade In\",defaultValue:false,hidden:props=>!props.showMouseControls},arrowShouldSpace:{type:ControlType.Boolean,title:\"Distance\",enabledTitle:\"Space\",disabledTitle:\"Group\",defaultValue:Slideshow.defaultProps.arrowOptions.arrowShouldSpace,hidden:props=>!props.showMouseControls},arrowPosition:{type:ControlType.Enum,title:\"Position\",options:[\"auto\",\"top-left\",\"top-mid\",\"top-right\",\"bottom-left\",\"bottom-mid\",\"bottom-right\"],optionTitles:[\"Center\",\"Top Left\",\"Top Middle\",\"Top Right\",\"Bottom Left\",\"Bottom Middle\",\"Bottom Right\"],hidden:props=>!props.showMouseControls||props.arrowShouldSpace},arrowPadding:{type:ControlType.Number,title:\"Inset\",min:-100,max:100,defaultValue:20,displayStepper:true,hidden:props=>!props.showMouseControls||!props.arrowShouldSpace},arrowPaddingTop:{type:ControlType.Number,title:\"Top\",min:-500,max:500,defaultValue:0,displayStepper:true,hidden:props=>!props.showMouseControls||props.arrowShouldSpace||props.arrowPosition===\"auto\"||props.arrowPosition===\"bottom-mid\"||props.arrowPosition===\"bottom-left\"||props.arrowPosition===\"bottom-right\"},arrowPaddingBottom:{type:ControlType.Number,title:\"Bottom\",min:-500,max:500,defaultValue:0,displayStepper:true,hidden:props=>!props.showMouseControls||props.arrowShouldSpace||props.arrowPosition===\"auto\"||props.arrowPosition===\"top-mid\"||props.arrowPosition===\"top-left\"||props.arrowPosition===\"top-right\"},arrowPaddingRight:{type:ControlType.Number,title:\"Right\",min:-500,max:500,defaultValue:0,displayStepper:true,hidden:props=>!props.showMouseControls||props.arrowShouldSpace||props.arrowPosition===\"auto\"||props.arrowPosition===\"top-left\"||props.arrowPosition===\"top-mid\"||props.arrowPosition===\"bottom-left\"||props.arrowPosition===\"bottom-mid\"},arrowPaddingLeft:{type:ControlType.Number,title:\"Left\",min:-500,max:500,defaultValue:0,displayStepper:true,hidden:props=>!props.showMouseControls||props.arrowShouldSpace||props.arrowPosition===\"auto\"||props.arrowPosition===\"top-right\"||props.arrowPosition===\"top-mid\"||props.arrowPosition===\"bottom-right\"||props.arrowPosition===\"bottom-mid\"},arrowGap:{type:ControlType.Number,title:\"Gap\",min:0,max:100,defaultValue:10,displayStepper:true,hidden:props=>!props.showMouseControls||props.arrowShouldSpace}}},progressOptions:{type:ControlType.Object,title:\"Dots\",controls:{showProgressDots:{type:ControlType.Boolean,title:\"Show\",defaultValue:false},dotSize:{type:ControlType.Number,title:\"Size\",min:1,max:100,defaultValue:10,displayStepper:true,hidden:props=>!props.showProgressDots||props.showScrollbar},dotsInset:{type:ControlType.Number,title:\"Inset\",min:-100,max:100,defaultValue:10,displayStepper:true,hidden:props=>!props.showProgressDots||props.showScrollbar},dotsGap:{type:ControlType.Number,title:\"Gap\",min:0,max:100,defaultValue:10,displayStepper:true,hidden:props=>!props.showProgressDots||props.showScrollbar},dotsPadding:{type:ControlType.Number,title:\"Padding\",min:0,max:100,defaultValue:10,displayStepper:true,hidden:props=>!props.showProgressDots||props.showScrollbar},dotsFill:{type:ControlType.Color,title:\"Fill\",defaultValue:\"#fff\",hidden:props=>!props.showProgressDots||props.showScrollbar},dotsBackground:{type:ControlType.Color,title:\"Backdrop\",defaultValue:\"rgba(0,0,0,0.2)\",hidden:props=>!props.showProgressDots||props.showScrollbar},dotsRadius:{type:ControlType.Number,title:\"Radius\",min:0,max:200,defaultValue:50,hidden:props=>!props.showProgressDots||props.showScrollbar},dotsOpacity:{type:ControlType.Number,title:\"Opacity\",min:0,max:1,defaultValue:.5,step:.1,displayStepper:true,hidden:props=>!props.showProgressDots||props.showScrollbar},dotsActiveOpacity:{type:ControlType.Number,title:\"Current\",min:0,max:1,defaultValue:1,step:.1,displayStepper:true,hidden:props=>!props.showProgressDots||props.showScrollbar},dotsBlur:{type:ControlType.Number,title:\"Blur\",min:0,max:50,defaultValue:0,step:1,hidden:props=>!props.showProgressDots||props.showScrollbar}}}});/* Placeholder Styles */const containerStyle={display:\"flex\",flexDirection:\"row\",width:\"100%\",height:\"100%\",maxWidth:\"100%\",maxHeight:\"100%\",placeItems:\"center\",margin:0,padding:0,listStyleType:\"none\",textIndent:\"none\"};/* Component Styles */const placeholderStyles={display:\"flex\",width:\"100%\",height:\"100%\",placeContent:\"center\",placeItems:\"center\",flexDirection:\"column\",color:\"#96F\",background:\"rgba(136, 85, 255, 0.1)\",fontSize:11,overflow:\"hidden\",padding:\"20px 20px 30px 20px\"};const emojiStyles={fontSize:32,marginBottom:10};const titleStyles={margin:0,marginBottom:10,fontWeight:600,textAlign:\"center\"};const subtitleStyles={margin:0,opacity:.7,maxWidth:180,lineHeight:1.5,textAlign:\"center\"};/* Control Styles */const baseButtonStyles={border:\"none\",display:\"flex\",placeContent:\"center\",placeItems:\"center\",overflow:\"hidden\",background:\"transparent\",cursor:\"pointer\",margin:0,padding:0};const controlsStyles={display:\"flex\",justifyContent:\"space-between\",alignItems:\"center\",position:\"absolute\",pointerEvents:\"none\",userSelect:\"none\",top:0,left:0,right:0,bottom:0,border:0,padding:0,margin:0};/* Clamp function, used for fadeInset */const clamp=(num,min,max)=>Math.min(Math.max(num,min),max);/* Slide Component */const Slide=/*#__PURE__*/memo(/*#__PURE__*/forwardRef(function Component(props,ref){const{slideKey,width,height,child,size,gap,wrappedXOrY,numChildren,childCounter,isCanvas,isInitialized,effects,effectsOpacity,effectsScale,effectsRotate,isHorizontal,isLast,index,/** \"ltr\" or \"rtl\" */writingDirection,/** -1 in RTL, 1 in LTR */rtlDirectionModifier}=props;const fallbackRef=useRef();const itemSize=size?.item??0;const parentSize=size?.parent??0;/**\n         * Unique offsets + scroll range [0, 1, 1, 0]\n         */const childOffset=(itemSize+gap)*childCounter;const scrollRange=// @ivan: this was picked experimentally when fixing semi-working-but-broken RTL\n// implementation in the existing Carousel code. Don’t ask me why these specific values, I’m\n// finding it hard to fully reason about RTL in carousel :/\n(isHorizontal&&writingDirection===\"rtl\"?[itemSize-gap,0,-parentSize+itemSize-gap,-parentSize-gap]:[-itemSize,0,parentSize-itemSize+gap,parentSize]).map(val=>val-childOffset*rtlDirectionModifier);/**\n         * Effects\n         */const rotateY=!isCanvas&&useTransform(wrappedXOrY,scrollRange,// Why flip the rotateY effect when RTL is enabled?\n//\n// Unlike other effects, rotation is vertically symmetrical. Say the user sets a 60 degree rotation.\n// The carousel will look like this:\n//   ) □ ▣ ▤ (\n// where\n// - □ ▣ ▤ are the three slides visible within the carousel,\n// - ) is an out-of-view slide to the left of the viewport,\n// - and ( is an out-of-view slide to the right of the viewport.\n// With 60° rotation, both out-of-view slides look “turned towards” the viewport,\n// which matters for the animation when the slides switch.\n//\n// If a user sets RTL, all items in the carousel will flip around. The carousel, by default, will now look like this:\n//   ( ▤ ▣ □ )\n// Notice how all slides reversed. The slide that was to the left of the viewport: ) – is now to the right of it!\n// And is now turned away from the viewport! So if we don’t flip the rotateY effect, the animation will look off.\nisHorizontal&&writingDirection===\"rtl\"?[effectsRotate,0,0,-effectsRotate]:[-effectsRotate,0,0,effectsRotate]);const rotateX=!isCanvas&&useTransform(wrappedXOrY,scrollRange,[effectsRotate,0,0,-effectsRotate]);const opacity=!isCanvas&&useTransform(wrappedXOrY,scrollRange,[effectsOpacity,1,1,effectsOpacity]);const scale=!isCanvas&&useTransform(wrappedXOrY,scrollRange,[effectsScale,1,1,effectsScale]);const originXorY=!isCanvas&&useTransform(wrappedXOrY,scrollRange,// Just like above, because in RTL, the items are flipped vertically, RTL needs a separate treatment\nisHorizontal&&writingDirection===\"rtl\"?[0,0,1,1]:[1,1,0,0]);const isVisible=!isCanvas&&useTransform(wrappedXOrY,latest=>{// Min and max swap in LTR vs RTL\nconst min=Math.min(scrollRange[1],scrollRange[2]);const max=Math.max(scrollRange[1],scrollRange[2]);return latest>=min&&latest<=max;});useEffect(()=>{if(!isVisible||!isInitialized)return;function manageVisibility(visible){const node=ref?.current??fallbackRef.current;if(!node)return;// for a11y: Manage tabIndex on focusable descendants & aria-hidden on the parent.\nif(visible){node.querySelectorAll(\"button,a\").forEach(el=>{const orig=el.dataset.origTabIndex;if(orig)el.tabIndex=orig;else el.removeAttribute(\"tabIndex\");});}else{node.querySelectorAll(\"button,a\").forEach(el=>{const orig=el.getAttribute(\"tabIndex\");if(orig)el.dataset.origTabIndex=orig;el.tabIndex=-1;});}node.setAttribute(\"aria-hidden\",!visible);}manageVisibility(isVisible);return isVisible.on(\"change\",visible=>{manageVisibility(visible);});},[isInitialized]);const visibility=isCanvas?\"visible\":useTransform(wrappedXOrY,[scrollRange[0]-size.viewportLength*rtlDirectionModifier,mix(scrollRange[1],scrollRange[2],.5),scrollRange[3]+size.viewportLength*rtlDirectionModifier],[\"hidden\",\"visible\",\"hidden\"]);const key=slideKey+\"child\";return /*#__PURE__*/_jsx(LayoutGroup,{inherit:\"id\",id:key,children:/*#__PURE__*/_jsx(\"li\",{style:{display:\"contents\"},children:/*#__PURE__*/cloneElement(child,{ref:ref??fallbackRef,key,style:{...child.props?.style,flexShrink:0,userSelect:\"none\",width,height,...isInitialized?{opacity,scale,originX:isHorizontal?originXorY:.5,originY:!isHorizontal?originXorY:.5,rotateY:isHorizontal?rotateY:0,rotateX:!isHorizontal?rotateX:0,visibility}:{}},layoutId:child.props.layoutId?child.props.layoutId+\"-original-\"+index:undefined})})});}));const Dot=/*#__PURE__*/memo(function Dot({selectedOpacity,opacity,total,index,wrappedIndex,dotStyle,buttonStyle,gap,padding,isHorizontal,...props}){/* Check active item *//* Go 0—1—2—3—4—5—0 */const isSelected=wrappedIndex===index;const inlinePadding=gap/2;const top=!isHorizontal&&index!==0?inlinePadding:padding;const bottom=!isHorizontal&&index!==total-1?inlinePadding:padding;// Use logical inline padding so RTL/LTR spacing is correct even if this subtree\n// is rendered under a different `direction` than `documentElement.dir`.\nconst inlineStart=isHorizontal?index===0?padding:inlinePadding:padding;const inlineEnd=isHorizontal?index===total-1?padding:inlinePadding:padding;return /*#__PURE__*/_jsx(\"button\",{\"aria-label\":`Scroll to page ${index+1}`,type:\"button\",...props,style:{...buttonStyle,paddingTop:top,paddingBottom:bottom,paddingInlineStart:inlineStart,paddingInlineEnd:inlineEnd},children:/*#__PURE__*/_jsx(motion.div,{style:{...dotStyle},initial:false,animate:{opacity:isSelected?selectedOpacity:opacity},transition:{duration:.3}})});});/* Dot Styles */const dotsContainerStyle={display:\"flex\",placeContent:\"center\",placeItems:\"center\",overflow:\"hidden\",position:\"absolute\",pointerEvents:\"auto\"};const dotStyle={borderRadius:\"50%\",background:\"white\",cursor:\"pointer\",border:\"none\",placeContent:\"center\",placeItems:\"center\",padding:0};function getWritingDirection(){return window?.document?.documentElement?.dir===\"rtl\"?\"rtl\":\"ltr\";}function useWritingDirection(){const[writingDirection,setWritingDirection]=useState(null);// must be done this way to ensure that there isn't a mismatch with SSG\n// which leads to button images not updating for the real writing direction\nuseEffect(()=>{setWritingDirection(getWritingDirection());// Listen for changes to the writing direction. While uncommon on live sites, this can easily happen\n// on the canvas when switching between locales on the same page.\nreturn onWritingDirectionChange(()=>{setWritingDirection(getWritingDirection());});},[]);return writingDirection;}let observer=null;const callbacks=[];function onWritingDirectionChange(callback){callbacks.push(callback);if(!observer){// A single MutationObserver watching a single attribute on a single element should be reasonably fast:\n// https://news.ycombinator.com/item?id=15274833 (note: Paul Irish)\n// https://stackoverflow.com/a/39332340\nobserver=new MutationObserver(()=>callbacks.forEach(callback=>callback()));observer.observe(document.documentElement,{attributeFilter:[\"dir\"]});}// Return a function to unsubscribe from the callback\nreturn()=>{callbacks.splice(callbacks.indexOf(callback),1);if(callbacks.length===0){observer?.disconnect();observer=null;}};}\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"Slideshow\",\"slots\":[],\"annotations\":{\"framerSupportedLayoutHeight\":\"fixed\",\"framerIntrinsicHeight\":\"200\",\"framerContractVersion\":\"1\",\"framerSupportedLayoutWidth\":\"fixed\",\"framerDisableUnlink\":\"*\",\"framerIntrinsicWidth\":\"400\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./Slideshow.map","export function getCollectionData(collectionList){var _collectionList_props,_collectionList_props_children_props,_collectionList_props_children,_collectionList_props1,_collectionList_props_children_props_children_props,_collectionList_props_children_props_children,_collectionList_props_children_props1,_collectionList_props_children1,_collectionList_props2,_queryParent_props;let queryParent=null;if(collectionList===null||collectionList===void 0?void 0:(_collectionList_props=collectionList.props)===null||_collectionList_props===void 0?void 0:_collectionList_props.query){queryParent=collectionList;}else if(collectionList===null||collectionList===void 0?void 0:(_collectionList_props1=collectionList.props)===null||_collectionList_props1===void 0?void 0:(_collectionList_props_children=_collectionList_props1.children)===null||_collectionList_props_children===void 0?void 0:(_collectionList_props_children_props=_collectionList_props_children.props)===null||_collectionList_props_children_props===void 0?void 0:_collectionList_props_children_props.query){queryParent=collectionList.props.children;}else if(collectionList===null||collectionList===void 0?void 0:(_collectionList_props2=collectionList.props)===null||_collectionList_props2===void 0?void 0:(_collectionList_props_children1=_collectionList_props2.children)===null||_collectionList_props_children1===void 0?void 0:(_collectionList_props_children_props1=_collectionList_props_children1.props)===null||_collectionList_props_children_props1===void 0?void 0:(_collectionList_props_children_props_children=_collectionList_props_children_props1.children)===null||_collectionList_props_children_props_children===void 0?void 0:(_collectionList_props_children_props_children_props=_collectionList_props_children_props_children.props)===null||_collectionList_props_children_props_children_props===void 0?void 0:_collectionList_props_children_props_children_props.query){queryParent=collectionList.props.children.props.children;}const query=queryParent===null||queryParent===void 0?void 0:(_queryParent_props=queryParent.props)===null||_queryParent_props===void 0?void 0:_queryParent_props.query;let queryData=null;if(query===null||query===void 0?void 0:query.from){if(query.from.data){queryData=query.from.data;}else if(query.from.left){let left=query.from.left;for(let i=0;i<100;i++){if(left.type==\"Collection\"){queryData=left.data;break;}else if(left.left){left=left.left;}else{break;}}}}// Get property controls\nconst propertyControlsById=(queryData===null||queryData===void 0?void 0:queryData.propertyControls)||{};const propertyControlsByName={};for(const id in propertyControlsById){const control=propertyControlsById[id];propertyControlsByName[control.title]={id,...control};}// Get children function\nlet childrenFunction=null;if(collectionList){var _collectionList_props3,_clpc_props,_clpc_props_children_props,_clpc_props_children,_clpc_props1;const clpc=(_collectionList_props3=collectionList.props)===null||_collectionList_props3===void 0?void 0:_collectionList_props3.children;if(typeof clpc==\"function\"){childrenFunction=clpc;}else if(typeof(clpc===null||clpc===void 0?void 0:(_clpc_props=clpc.props)===null||_clpc_props===void 0?void 0:_clpc_props.children)==\"function\"){childrenFunction=clpc.props.children;}else if(typeof(clpc===null||clpc===void 0?void 0:(_clpc_props1=clpc.props)===null||_clpc_props1===void 0?void 0:(_clpc_props_children=_clpc_props1.children)===null||_clpc_props_children===void 0?void 0:(_clpc_props_children_props=_clpc_props_children.props)===null||_clpc_props_children_props===void 0?void 0:_clpc_props_children_props.children)==\"function\"){childrenFunction=clpc.props.children.props.children;}}return{query,queryParent,queryData,propertyControlsById,propertyControlsByName,childrenFunction};}export function addFieldsToSelect(fields,query,propertyControlsByName){const alias=query.alias;const select=Array.isArray(query===null||query===void 0?void 0:query.select)?[...query.select]:[];for(const fieldName of fields){var _propertyControlsByName_fieldName;const fieldId=(_propertyControlsByName_fieldName=propertyControlsByName[fieldName])===null||_propertyControlsByName_fieldName===void 0?void 0:_propertyControlsByName_fieldName.id;if(!fieldId){continue;}let matchFound=false;for(const item of select){if(item.name===fieldId&&item.type===\"Identifier\"&&item.collection===alias){matchFound=true;continue;}}if(matchFound){continue;}select.push({collection:alias,name:fieldId,type:\"Identifier\"});}return select;}\nexport const __FramerMetadata__ = {\"exports\":{\"getCollectionData\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"addFieldsToSelect\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./CMSLibrary.map","import{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import{addPropertyControls,// @ts-ignore\ngetPropertyControls,// @ts-ignore\nuseQueryData,ControlType,RenderTarget}from\"framer\";import{cloneElement,Children}from\"react\";import{motion}from\"framer-motion\";import SlideShow from\"https://framerusercontent.com/modules/zqVCisEilnz9pwNtVJWd/8E9tjnWL2hyMh2KQd42M/Slideshow.js\";import{getCollectionData}from\"https://framer.com/m/CMSLibrary-09eo.js\";const slideshowProps=getComponentProps(SlideShow);/**\n * @framerSupportedLayoutWidth fixed\n * @framerSupportedLayoutHeight fixed\n * @framerIntrinsicWidth 400\n * @framerIntrinsicHeight 200\n */export default function CMSSlideshow(props){const{startLayers,endLayers,...otherProps}=props;const isCanvas=RenderTarget.current()===RenderTarget.canvas;const items=isCanvas?[]:getCollectionListItems(props.collectionList?.[0]);let layers=[];if(startLayers){layers=layers.concat(startLayers);}if(!isCanvas){for(let i=0;i<items.length;i++){const layer=/*#__PURE__*/cloneElement(items[i].props.children.props.children,{style:{width:\"100%\",height:\"100%\"}});layers.push(/*#__PURE__*/_jsx(motion.div,{style:{width:\"100%\",height:\"100%\"},children:layer}));}if(props.randomize){layers=shuffleArray(layers);}}else{for(let i=0;i<props.itemAmount;i++){layers.push(/*#__PURE__*/_jsx(CanvasPlaceholder,{title:\"Run project to view slideshow content\",subtitle:\"Collection List content is not accessible to the slideshow component in the editor. Run your project orvisit the live website to view the slideshow with CMS content.\"}));}}if(endLayers){layers=layers.concat(endLayers);}return /*#__PURE__*/_jsx(SlideShow,{...otherProps,slots:layers});}CMSSlideshow.displayName=\"CMS Slideshow\";addPropertyControls(CMSSlideshow,{collectionList:{type:ControlType.ComponentInstance},startLayers:{type:ControlType.Array,control:{type:ControlType.ComponentInstance},title:\"Start\"},endLayers:{type:ControlType.Array,control:{type:ControlType.ComponentInstance},title:\"End\"},randomize:{type:ControlType.Boolean,defaultValue:false,description:\"Shuffle order of CMS items\"},...slideshowProps,arrowOptions:{...slideshowProps.arrowOptions,controls:{...slideshowProps.arrowOptions.controls,arrowPadding:{...slideshowProps.arrowOptions.controls.arrowPadding,max:Infinity,min:Infinity}}}});function getComponentProps(component){const{slots,...otherProps}=getPropertyControls(component);return otherProps;}export function CanvasPlaceholder({title,subtitle}){return /*#__PURE__*/_jsxs(\"div\",{style:{display:\"flex\",width:\"100%\",height:\"100%\",placeContent:\"center\",placeItems:\"center\",flexDirection:\"column\",backgroundColor:\"rgba(136, 85, 255, 0.1)\",borderRadius:6,border:\"1px dashed rgb(136, 85, 255)\",color:\"rgb(136, 85, 255)\",fontSize:12,padding:24},children:[/*#__PURE__*/_jsx(\"p\",{style:{margin:0,marginBottom:10,fontWeight:600,textAlign:\"center\"},children:title}),/*#__PURE__*/_jsx(\"p\",{style:{margin:0,opacity:.7,maxWidth:500,lineHeight:1.5,textAlign:\"center\"},children:subtitle})]});}function shuffleArray(array){for(let i=array.length-1;i>0;i--){const j=Math.floor(Math.random()*(i+1));[array[i],array[j]]=[array[j],array[i]];}return array;}export function getCollectionListItems(collectionList){const{query,childrenFunction}=getCollectionData(collectionList);if(query&&childrenFunction){const data=useQueryData(query);let children=[];let clChildren=childrenFunction(data);if(Array.isArray(clChildren)){children=clChildren;}else if(Array.isArray(clChildren?.props?.children?.[0])){children=clChildren.props.children[0];}else if(Array.isArray(clChildren?.props?.children)){children=clChildren.props.children;}if(children){return Children.toArray(children);}}return[];}\nexport const __FramerMetadata__ = {\"exports\":{\"getCollectionListItems\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"CanvasPlaceholder\":{\"type\":\"reactComponent\",\"name\":\"CanvasPlaceholder\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\"}},\"default\":{\"type\":\"reactComponent\",\"name\":\"CMSSlideshow\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\",\"framerSupportedLayoutHeight\":\"fixed\",\"framerIntrinsicHeight\":\"200\",\"framerIntrinsicWidth\":\"400\",\"framerSupportedLayoutWidth\":\"fixed\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./CMSSlideshow.map"],"mappings":"A,idAA8E,SAAS8C,GAAmB,CAAC,MAAU,MAAM,wEAAwE,CAAE,CAQlM,SAAgBC,GAAe,EAAG,CAG9B,IAAMC,EAAIhD,EAAM,OAAO8C,CAAiB,EAAuD,OAArDtB,EAAM,uBAAuB,CAAC,EAAI,QAAQyB,CAAG,EAAE,CAACA,CAAE,CAAC,GAAS,GAAGC,IAAO,CAGpHC,EAA0C,GAAGL,EAAkB,EAAG,IAAMM,EAASJ,EAAI,QAAQ,OAA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