{"version":3,"file":"Examples.CXPsT39X.mjs","names":["useRef","useCallback","useState","useMemo","Children","useRef","useMemo","useState","useCallback","useState","useRef","useCallback"],"sources":["https:/framerusercontent.com/modules/lRDHiNWNVWmE0lqtoVHP/Sn64gjTwaJh0TFAuaV07/Video.js","https:/framerusercontent.com/modules/B2xAlJLcN0gOnt11mSPw/plhC5PVnCMllW5QXjFK5/Ticker.js","https:/framerusercontent.com/modules/zOxSUGdy39zmzvwivudN/DSCN16MZX3SSPC3cfqpw/Examples.js"],"sourcesContent":["// ⚠️⚠️⚠️⚠️⚠️\n// Edit these files in https://github.com/framer/FramerCodeComponents\n// ⚠️⚠️⚠️⚠️⚠️\nimport{jsx as _jsx}from\"react/jsx-runtime\";import{addPropertyControls,ControlType,useIsInCurrentNavigationTarget,RenderTarget}from\"framer\";import{isMotionValue,useInView}from\"framer-motion\";import{borderRadiusControl,defaultEvents,useIsBrowserSafari,useIsOnCanvas,useOnEnter,useOnExit,useRadius,useRenderTarget}from\"https://framerusercontent.com/modules/G4IfyjvwmaeSBpdb4TWu/OIjZRBmWDcIE2B6qgG1j/index.js\";// https://framer.com/m/framer/default-utils.js@^0.45.0\nimport{memo,useCallback,useEffect,useMemo,useRef,useState}from\"react\";var ObjectFitType;(function(ObjectFitType){ObjectFitType[\"Fill\"]=\"fill\";ObjectFitType[\"Contain\"]=\"contain\";ObjectFitType[\"Cover\"]=\"cover\";ObjectFitType[\"None\"]=\"none\";ObjectFitType[\"ScaleDown\"]=\"scale-down\";})(ObjectFitType||(ObjectFitType={}));var SrcType;(function(SrcType){SrcType[\"Video\"]=\"Upload\";SrcType[\"Url\"]=\"URL\";})(SrcType||(SrcType={}));const defaultVideo=\"https://framerusercontent.com/assets/MLWPbW1dUQawJLhhun3dBwpgJak.mp4\";// Reduce renders\nfunction getProps(props){const{width,height,topLeft,topRight,bottomRight,bottomLeft,id,children,...rest}=props;return rest;}/**\n * VIDEO\n *\n * @framerIntrinsicWidth 200\n * @framerIntrinsicHeight 112\n *\n * @framerSupportedLayoutWidth fixed\n * @framerSupportedLayoutHeight any-prefer-fixed\n */export function Video(props){const newProps=getProps(props);return /*#__PURE__*/_jsx(VideoMemo,{...newProps});}function usePlaybackControls(videoRef){const isInCurrentNavigationTarget=useIsInCurrentNavigationTarget();const requestingPlay=useRef(false);const isPlayingRef=useRef(false);const setProgress=useCallback(rawProgress=>{if(!videoRef.current)return;const newProgress=(rawProgress===1?.999:rawProgress)*videoRef.current.duration;const isAlreadySet=Math.abs(videoRef.current.currentTime-newProgress)<.1;if(videoRef.current.duration>0&&!isAlreadySet){videoRef.current.currentTime=newProgress;}},[]);const play=useCallback(()=>{const video=videoRef.current;if(!video)return;video.preload=\"auto\"// makes sure browsers don't throttle: https://html.spec.whatwg.org/multipage/media.html#:~:text=When%20the%20media%20resource%20is%20playing%2C%20hints%20to%20the%20user%20agent%20that%20bandwidth%20is%20to%20be%20considered%20scarce%2C%20e.g.%20suggesting%20throttling%20the%20download%20so%20that%20the%20media%20data%20is%20obtained%20at%20the%20slowest%20possible%20rate%20that%20still%20maintains%20consistent%20playback.\n;const isPlaying=video.currentTime>0&&video.onplaying&&!video.paused&&!video.ended&&video.readyState>=video.HAVE_CURRENT_DATA;if(!isPlaying&&video&&!requestingPlay.current&&isInCurrentNavigationTarget){requestingPlay.current=true;isPlayingRef.current=true;video.play().catch(e=>{})// It's likely fine, swallow error\n.finally(()=>requestingPlay.current=false);}},[]);const pause=useCallback(()=>{if(!videoRef.current||requestingPlay.current)return;videoRef.current.pause();isPlayingRef.current=false;},[]);return{play,pause,setProgress,isPlaying:isPlayingRef};}function useAutoplayBehavior({playingProp,muted,loop,playsinline,controls}){const[initialPlayingProp]=useState(playingProp);const[hasPlayingPropChanged,setHasPlayingPropChanged]=useState(false);if(playingProp!==initialPlayingProp&&!hasPlayingPropChanged){setHasPlayingPropChanged(true);}const behavesAsGif=// passing `playing === true` on mount indicates that the video should\n// autoplay, like a GIF\ninitialPlayingProp&&muted&&loop&&playsinline&&!controls&&// Some users of the <Video> component use it by wrapping it with\n// another smart component and adding their own controls on top. (The\n// controls use transitions to control the video: e.g., when clicking\n// the play button, the smart component will transition to a state with\n// <Video playing={true} />.) In this case, we don't want the video to\n// behave as a gif, as it will be weird if the video suddenly started\n// acting as such (and auto-pausing when leaving the viewport) as soon\n// as the site visitor mutes it and clicks “Play”.\n!hasPlayingPropChanged;let autoplay;if(behavesAsGif)autoplay=\"on-viewport\";else if(initialPlayingProp)autoplay=\"on-mount\";else autoplay=\"no-autoplay\";return autoplay;}const VideoMemo=/*#__PURE__*/memo(function VideoInner(props){const{// default props\nsrcType=\"URL\",srcUrl,srcFile=\"\",posterEnabled=false,controls=false,playing=true,loop=true,muted=true,playsinline=true,restartOnEnter=false,objectFit=\"cover\",backgroundColor=\"rgba(0,0,0,0)\",radius=0,volume=25,startTime:startTimeProp=0,poster,playing:playingProp,progress,onSeeked,onPause,onPlay,onEnd,onClick,onMouseEnter,onMouseLeave,onMouseDown,onMouseUp}=props;const videoRef=useRef();const isSafari=useIsBrowserSafari();const wasPausedOnLeave=useRef(null);const wasEndedOnLeave=useRef(null);const isOnCanvas=useIsOnCanvas();const renderTarget=useRenderTarget();const isStaticRenderer=isOnCanvas||renderTarget===RenderTarget.export;const borderRadius=useRadius(props);// Hard-coding `autoplayBehavior` and `isInViewport` when on canvas as a\n// tiny perf optimization. isStaticRenderer won’t change through the lifecycle of\n// the component, so using these hooks conditionally should be safe\nconst autoplayBehavior=isStaticRenderer?\"no-autoplay\":useAutoplayBehavior({playingProp,muted,loop,playsinline,controls});const isInViewport=isStaticRenderer?true:useInView(videoRef);const isCloseToViewport=isStaticRenderer?false:useInView(videoRef,{margin:\"10%\",once:true});// Video elements behave oddly at 100% duration\nconst startTime=startTimeProp===100?99.9:startTimeProp;const{play,pause,setProgress,isPlaying}=usePlaybackControls(videoRef);// Pause/play via props\nuseEffect(()=>{if(isStaticRenderer)return;if(autoplayBehavior===\"on-viewport\")return;if(playingProp)play();else pause();},[autoplayBehavior,playingProp]);// Pause/play via viewport\nuseEffect(()=>{if(isStaticRenderer)return;// this also explicitly retries playing for videos that play on-mount, which could fail if they're not muted for example\nif(isInViewport&&playingProp&&autoplayBehavior!==\"no-autoplay\")play();if(autoplayBehavior!==\"on-viewport\")return;pause();},[autoplayBehavior,isInViewport,playingProp]);useEffect(()=>{if(!isOnCanvas||poster||posterEnabled||startTime||!videoRef.current)return;// forces a poster to show up when the video is in an iframe; this is needed when `poster` changes\nvideoRef.current.currentTime=.01;},[posterEnabled,poster,startTime]);/**\n     * The Video component has some effects that sync the video element with props\n     * like `startTime`, `progress`, etc. React calls these effects whenever these\n     * props change. However, it also calls them on the first mount, and this is\n     * troublesome – if we’re doing SSR, and the user changed the video state before\n     * the video was hydrated, the initial `useEffect` call will reset the video\n     * state. To avoid this, we use this flag.\n     */const isMountedAndReadyForProgressChanges=useRef(false);// Allow scrubbling via progress prop\n// 1) Handle cases when the progress prop itself changes\nuseEffect(()=>{if(!isMountedAndReadyForProgressChanges.current){isMountedAndReadyForProgressChanges.current=true;return;}const rawProgressValue=isMotionValue(progress)?progress.get():(progress??0)*.01;setProgress(// When the progress value exists (e.g. <Video startTime={10}\n// progress={50} />), we respect the `progress` value over\n// `startTime`, even if `startTime` changes. That’s because\n// `startTime` == start == changing it shouldn’t affect the current\n// progress\n(rawProgressValue??0)||// Then why fall back to `startTime` when `progress` doesn’t exist,\n// you might ask? Now, that’s for\n// - canvas UX: we want the video progress to change when the user\n//   is scrobbling the “Start Time” in component settings.\n// - backwards compatibility: maybe some users *are* scrobbling\n//   using `startTime` instead of `progress`? We don’t know, and it\n//   always supported it, so let’s not break it\n(startTime??0)/100);},[startTime,srcFile,srcUrl,progress]);// 2) Handle cases when the motion value inside the progress prop changes\nuseEffect(()=>{if(!isMotionValue(progress))return;return progress.on(\"change\",value=>setProgress(value));},[progress]);// (Prototyping) Checking if we need to play on navigation enter\nuseOnEnter(()=>{if(wasPausedOnLeave.current===null)return;if(videoRef.current){// if (restartOnEnter) setProgress(0)\nif(!wasEndedOnLeave&&loop||!wasPausedOnLeave.current)play();}});// (Prototyping) Pausing & saving playing state on navigation exit\nuseOnExit(()=>{if(videoRef.current){wasEndedOnLeave.current=videoRef.current.ended;wasPausedOnLeave.current=videoRef.current.paused;pause();}});const src=useMemo(()=>{let fragment=\"\";// if (\n//     startTime > 0 &&\n//     videoRef.current &&\n//     !isNaN(videoRef.current.duration) &&\n//     !isStaticRenderer\n// ) {\n//     console.log(startTime, videoRef.current.duration)\n//     fragment = `#t=${startTime * videoRef.current.duration}`\n// }\nif(srcType===\"URL\")return srcUrl+fragment;if(srcType===\"Upload\")return srcFile+fragment;},[srcType,srcFile,srcUrl,startTime]);// Autoplay via JS to work in Safari\nuseEffect(()=>{if(isSafari&&videoRef.current&&autoplayBehavior===\"on-mount\"){setTimeout(()=>play(),50);}},[]);// Volume Control\nuseEffect(()=>{if(videoRef.current&&!muted)videoRef.current.volume=(volume??0)/100;},[volume]);// When video is ready, set start-time, then autoplay if needed\nconst handleReady=()=>{const video=videoRef.current;if(!video)return;if(video.currentTime<.3&&startTime>0)setProgress((startTime??0)*.01);if(// when the component updates (e.g. only srcFile/url changes), and the video was already playing, keep playing\nisPlaying.current||autoplayBehavior===\"on-mount\"||playingProp&&autoplayBehavior===\"on-viewport\"&&isInViewport)play();};return /*#__PURE__*/_jsx(\"video\",{onClick,onMouseEnter,onMouseLeave,onMouseDown,onMouseUp,src:src,loop:loop,ref:videoRef,onSeeked:e=>onSeeked?.(e),onPause:e=>onPause?.(e),onPlay:e=>onPlay?.(e),onEnded:e=>onEnd?.(e),autoPlay:isPlaying.current||autoplayBehavior===\"on-mount\"||playingProp&&autoplayBehavior===\"on-viewport\"&&isInViewport,preload:isPlaying.current?\"auto\":isStaticRenderer&&!poster?\"metadata\":autoplayBehavior!==\"on-mount\"&&!isCloseToViewport?\"none\":// `autoplay` overrides this too\n\"metadata\",poster:posterEnabled&&!srcFile&&srcUrl===defaultVideo?\"https://framerusercontent.com/images/5ILRvlYXf72kHSVHqpa3snGzjU.jpg\":posterEnabled&&poster?poster:undefined,onLoadedData:handleReady,controls:controls,muted:isStaticRenderer?true:muted,playsInline:playsinline,style:{cursor:!!onClick?\"pointer\":\"auto\",width:\"100%\",height:\"100%\",borderRadius,display:\"block\",objectFit:objectFit,backgroundColor:backgroundColor,objectPosition:\"50% 50%\"}});});Video.displayName=\"Video\";function capitalizeFirstLetter(value){return value.charAt(0).toUpperCase()+value.slice(1);}export function titleCase(value){const groups=value.match(/[A-Z]{2,}|[A-Z][a-z]+|[a-z]+|[A-Z]|\\d+/gu)||[];return groups.map(capitalizeFirstLetter).join(\" \");}const objectFitOptions=[\"cover\",\"fill\",\"contain\",\"scale-down\",\"none\"];addPropertyControls(Video,{srcType:{type:ControlType.Enum,displaySegmentedControl:true,title:\"Source\",options:[\"URL\",\"Upload\"]},srcUrl:{type:ControlType.String,title:\"URL\",defaultValue:\"https://framerusercontent.com/assets/MLWPbW1dUQawJLhhun3dBwpgJak.mp4\",hidden(props){return props.srcType===\"Upload\";}},srcFile:{type:ControlType.File,title:\"File\",allowedFileTypes:[\"mp4\",\"webm\"],description:\"Only MP4 and WebM\",hidden(props){return props.srcType===\"URL\";}},playing:{type:ControlType.Boolean,title:\"Playing\",enabledTitle:\"Yes\",disabledTitle:\"No\"},...borderRadiusControl,posterEnabled:{type:ControlType.Boolean,title:\"Poster\",enabledTitle:\"Yes\",disabledTitle:\"No\"},poster:{type:ControlType.Image,title:\"Image\",hidden:({posterEnabled})=>!posterEnabled,description:\"We recommend adding a poster. [Learn more](https://www.framer.com/help/articles/how-are-videos-optimized-in-framer/).\"},backgroundColor:{type:ControlType.Color,title:\"Background\",defaultValue:\"rgba(0,0,0,0)\"},startTime:{title:\"Start Time\",type:ControlType.Number,min:0,max:100,step:.1,unit:\"%\"},loop:{type:ControlType.Boolean,title:\"Loop\",enabledTitle:\"Yes\",disabledTitle:\"No\"},objectFit:{type:ControlType.Enum,title:\"Fit\",options:objectFitOptions,optionTitles:objectFitOptions.map(titleCase)},// restartOnEnter: {\n//     type: ControlType.Boolean,\n//     title: \"On ReEnter\",\n//     enabledTitle: \"Restart\",\n//     disabledTitle: \"Resume\",\n// },\ncontrols:{type:ControlType.Boolean,title:\"Controls\",enabledTitle:\"Show\",disabledTitle:\"Hide\",defaultValue:false},muted:{type:ControlType.Boolean,title:\"Muted\",enabledTitle:\"Yes\",disabledTitle:\"No\"},volume:{type:ControlType.Number,max:100,min:0,unit:\"%\",hidden:({muted})=>muted,defaultValue:25},onEnd:{type:ControlType.EventHandler},onSeeked:{type:ControlType.EventHandler},onPause:{type:ControlType.EventHandler},onPlay:{type:ControlType.EventHandler},...defaultEvents});\nexport const __FramerMetadata__ = {\"exports\":{\"titleCase\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"Video\":{\"type\":\"reactComponent\",\"name\":\"Video\",\"slots\":[],\"annotations\":{\"framerIntrinsicHeight\":\"112\",\"framerSupportedLayoutWidth\":\"fixed\",\"framerSupportedLayoutHeight\":\"any-prefer-fixed\",\"framerIntrinsicWidth\":\"200\",\"framerContractVersion\":\"1\"}},\"VideoProps\":{\"type\":\"tsType\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./Video.map","import{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import{Children,useLayoutEffect,useEffect,useState,useRef,useMemo,useCallback,cloneElement,startTransition,forwardRef,useImperativeHandle}from\"react\";import{addPropertyControls,ControlType,RenderTarget}from\"framer\";import{useReducedMotion,LayoutGroup,useInView,useMotionValue,useTransform,motion,frame}from\"framer-motion\";import{resize}from\"@motionone/dom\";const MAX_DUPLICATED_ITEMS=100;const directionTransformers={left:offset=>`translateX(-${offset}px)`,right:offset=>`translateX(${offset}px)`,top:offset=>`translateY(-${offset}px)`,bottom:offset=>`translateY(${offset}px)`};/**\n *\n * @framerIntrinsicWidth 400\n * @framerIntrinsicHeight 200\n *\n * @framerDisableUnlink\n *\n * @framerSupportedLayoutWidth fixed\n * @framerSupportedLayoutHeight fixed\n */export default function Ticker(props){/* Props */let{slots=[],gap,padding,paddingPerSide,paddingTop,paddingRight,paddingBottom,paddingLeft,speed,hoverFactor,direction,alignment,sizingOptions,fadeOptions,style}=props;const{fadeContent,overflow,fadeWidth,fadeInset,fadeAlpha}=fadeOptions;const{widthType,heightType}=sizingOptions;const paddingValue=paddingPerSide?`${paddingTop}px ${paddingRight}px ${paddingBottom}px ${paddingLeft}px`:`${padding}px`;/* Checks */const currentTarget=RenderTarget.current();const isCanvas=currentTarget===RenderTarget.canvas||currentTarget===RenderTarget.export;const writingDirection=useWritingDirection();// Remove empty slots (such as hidden layers)\nconst filteredSlots=slots.filter(Boolean);const numChildren=Children.count(filteredSlots);const hasChildren=numChildren>0;const offset=useMotionValue(0);const resolvedDirection=getTickerResolvedDirection(direction===true?\"left\":direction,writingDirection);const isHorizontal=resolvedDirection===\"left\"||resolvedDirection===\"right\";const transformer=directionTransformers[resolvedDirection];const transform=useTransform(offset,transformer);/* Refs and State */const parentRef=useRef(null);const childrenRef=useMemo(()=>{return[{current:null},{current:null}];},[]);const[size,setSize]=useState({parent:null,children:null});/* Arrays */let clonedChildren=null;let dupedChildren=[];/* Duplicate value */let duplicateBy=0;let opacity=0;if(isCanvas){duplicateBy=numChildren?Math.floor(10/numChildren):0;opacity=1;}if(!isCanvas&&hasChildren&&size.parent){duplicateBy=Math.round(size.parent/size.children*2)+1;duplicateBy=Math.min(duplicateBy,MAX_DUPLICATED_ITEMS);opacity=1;}/* Measure parent and child */const measure=useCallback(()=>{if(hasChildren&&parentRef.current){const parentLength=isHorizontal?parentRef.current.offsetWidth:parentRef.current.offsetHeight;const start=childrenRef[0].current?isHorizontal?childrenRef[0].current.offsetLeft:childrenRef[0].current.offsetTop:0;const end=childrenRef[1].current?isHorizontal?childrenRef[1].current.offsetLeft+childrenRef[1].current.offsetWidth:childrenRef[1].current.offsetTop+childrenRef[1].current.offsetHeight:0;const childrenLength=end-start+gap;startTransition(()=>{setSize({parent:parentLength,children:childrenLength});});}},[]);const childrenStyles=isCanvas?{contentVisibility:\"auto\"}:{};/* Add refs to first and last child */if(hasChildren){// TODO: These conditional hooks will be unsafe if hasChildren ever changes outside the canvas.\nif(!isCanvas){/**\n             * Track whether this is the initial resize event. By default this will fire on mount,\n             * which we do in the useEffect. We should only fire it on subsequent resizes.\n             */let initialResize=useRef(true);useLayoutEffect(()=>{frame.read(measure,false,true);return resize(parentRef.current,({contentSize})=>{if(!initialResize.current&&(contentSize.width||contentSize.height)){frame.read(measure,false,true);}initialResize.current=false;});},[]);}clonedChildren=Children.map(filteredSlots,(child,index)=>{let ref;if(index===0){ref=childrenRef[writingDirection===\"rtl\"&&isHorizontal?1:0];}if(index===filteredSlots.length-1){ref=childrenRef[writingDirection===\"rtl\"&&isHorizontal?0:1];}const size={width:widthType?child.props?.width:\"100%\",height:heightType?child.props?.height:\"100%\"};return /*#__PURE__*/_jsx(LayoutGroup,{inherit:\"id\",children:/*#__PURE__*/_jsx(Wrapper,{ref:ref,style:size,children:/*#__PURE__*/cloneElement(child,{style:{...child.props?.style,...size,flexShrink:0,...childrenStyles},layoutId:child.props.layoutId?child.props.layoutId+\"-original-\"+index:undefined},child.props?.children)})});});}const isInView=isCanvas?true:useInView(parentRef);if(!isCanvas){for(let i=0;i<duplicateBy;i++){dupedChildren=dupedChildren.concat(Children.map(filteredSlots,(child,childIndex)=>{const size={width:widthType?child.props?.width:\"100%\",height:heightType?child.props?.height:\"100%\",willChange:!isInView?undefined:\"transform\"};return /*#__PURE__*/_jsx(LayoutGroup,{inherit:\"id\",children:/*#__PURE__*/_jsx(Wrapper,{style:size,children:/*#__PURE__*/cloneElement(child,{key:i+\" \"+childIndex,style:{...child.props?.style,width:widthType?child.props?.width:\"100%\",height:heightType?child.props?.height:\"100%\",flexShrink:0,...childrenStyles},layoutId:child.props.layoutId?child.props.layoutId+\"-dupe-\"+i:undefined},child.props?.children)},i+\"li\"+childIndex)},i+\"lg\"+childIndex);}));}}const animateToValue=size.children+size.children*Math.round(size.parent/size.children);const initialTime=useRef(null);const prevTime=useRef(null);const xOrY=useRef(0);const isHover=useRef(false);const isReducedMotion=useReducedMotion();const listRef=useRef(null);const animationRef=useRef(null);/**\n     * Setup animations\n     */if(!isCanvas){useEffect(()=>{if(isReducedMotion||!animateToValue||!speed){return;}animationRef.current=listRef.current.animate({transform:[transformer(0),transformer(animateToValue)]},{duration:Math.abs(animateToValue)/speed*1e3,iterations:Infinity,iterationStart:writingDirection===\"rtl\"?1:0,easing:\"linear\"});return()=>animationRef.current.cancel();},[hoverFactor,animateToValue,speed,writingDirection]);const playOrPause=useCallback(()=>{if(!animationRef.current)return;const hidden=document.hidden;if(isInView&&!hidden&&animationRef.current.playState===\"paused\"){animationRef.current.play();}else if((!isInView||hidden)&&animationRef.current.playState===\"running\"){animationRef.current.pause();}},[isInView]);useEffect(()=>{playOrPause();},[isInView,hoverFactor,animateToValue,speed]);useEffect(()=>{document.addEventListener(\"visibilitychange\",playOrPause);return()=>{document.removeEventListener(\"visibilitychange\",playOrPause);};},[playOrPause]);}/* Fades */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}%)`;/* Empty state */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 infinitely loop on your page.\"})]});}return /*#__PURE__*/_jsx(\"section\",{style:{...containerStyle,opacity:opacity,WebkitMaskImage:fadeContent?fadeMask:undefined,maskImage:fadeContent?fadeMask:undefined,overflow:overflow?\"visible\":\"hidden\",padding:paddingValue},ref:parentRef,children:/*#__PURE__*/_jsxs(motion.ul,{ref:listRef,style:{...containerStyle,gap:gap,top:direction===\"bottom\"&&isValidNumber(animateToValue)?-animateToValue:undefined,left:direction===\"right\"&&isValidNumber(animateToValue)?animateToValue*(writingDirection===\"rtl\"?1:-1):undefined,placeItems:alignment,position:\"relative\",flexDirection:isHorizontal?\"row\":\"column\",...style,willChange:isCanvas||!isInView?\"auto\":\"transform\",transform:transformer(0)},onMouseEnter:()=>{isHover.current=true;if(animationRef.current){// TODO Replace with updatePlaybackRate when Chrome bugs sorted\nanimationRef.current.playbackRate=hoverFactor;}},onMouseLeave:()=>{isHover.current=false;if(animationRef.current){// TODO Replace with updatePlaybackRate when Chrome bugs sorted\nanimationRef.current.playbackRate=1;}},children:[clonedChildren,dupedChildren]})});}const Wrapper=/*#__PURE__*/forwardRef(({children,...props},ref)=>{const innerRef=useRef();const inView=useInView(innerRef);useImperativeHandle(ref,()=>innerRef.current);useEffect(()=>{const current=innerRef.current;if(!current)return;// for a11y: Manage tabIndex on focusable descendants & aria-hidden on the parent.\nif(inView){current.querySelectorAll(\"button,a\").forEach(el=>{const orig=el.dataset.origTabIndex;if(orig)el.tabIndex=orig;else el.removeAttribute(\"tabIndex\");});}else{current.querySelectorAll(\"button,a\").forEach(el=>{const orig=el.getAttribute(\"tabIndex\");if(orig)el.dataset.origTabIndex=orig;el.tabIndex=-1;});}},[inView]);return /*#__PURE__*/_jsx(\"li\",{...props,\"aria-hidden\":!inView,ref:innerRef,children:children});});/* Default Properties */Ticker.defaultProps={gap:10,padding:10,sizingOptions:{widthType:true,heightType:true},fadeOptions:{fadeContent:true,overflow:false,fadeWidth:25,fadeAlpha:0,fadeInset:0},direction:true};/* Property Controls */addPropertyControls(Ticker,{slots:{type:ControlType.Array,title:\"Children\",control:{type:ControlType.ComponentInstance}},speed:{type:ControlType.Number,title:\"Speed\",min:0,max:1e3,defaultValue:100,unit:\"%\",displayStepper:true,step:5},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\"],defaultValue:\"left\",displaySegmentedControl:true},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},gap:{type:ControlType.Number,title:\"Gap\"},padding:{title:\"Padding\",type:ControlType.FusedNumber,toggleKey:\"paddingPerSide\",toggleTitles:[\"Padding\",\"Padding per side\"],valueKeys:[\"paddingTop\",\"paddingRight\",\"paddingBottom\",\"paddingLeft\"],valueLabels:[\"T\",\"R\",\"B\",\"L\"],min:0},sizingOptions:{type:ControlType.Object,title:\"Sizing\",controls:{widthType:{type:ControlType.Boolean,title:\"Width\",enabledTitle:\"Auto\",disabledTitle:\"Stretch\",defaultValue:true},heightType:{type:ControlType.Boolean,title:\"Height\",enabledTitle:\"Auto\",disabledTitle:\"Stretch\",defaultValue:true}}},fadeOptions:{type:ControlType.Object,title:\"Clipping\",controls:{fadeContent:{type:ControlType.Boolean,title:\"Fade\",defaultValue:true},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;}}}},hoverFactor:{type:ControlType.Number,title:\"Hover\",min:0,max:1,unit:\"x\",defaultValue:1,step:.1,displayStepper:true,description:\"Slows down the speed while you are hovering.\"}});/* Placeholder Styles */const containerStyle={display:\"flex\",width:\"100%\",height:\"100%\",maxWidth:\"100%\",maxHeight:\"100%\",placeItems:\"center\",margin:0,padding:0,listStyleType:\"none\",textIndent:\"none\"};/* 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:150,lineHeight:1.5,textAlign:\"center\"};/* Clamp function, used for fadeInset */const clamp=(num,min,max)=>Math.min(Math.max(num,min),max);const isValidNumber=value=>typeof value===\"number\"&&!isNaN(value);function useWritingDirection(){if(!window||!window.document||!window.document.documentElement)return\"ltr\";return window.document.documentElement.dir===\"rtl\"?\"rtl\":\"ltr\";}function getTickerResolvedDirection(direction,writingDirection){if(writingDirection!==\"rtl\")return direction;if(direction===\"left\")return\"right\";if(direction===\"right\")return\"left\";return direction;}\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"Ticker\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\",\"framerIntrinsicHeight\":\"200\",\"framerSupportedLayoutHeight\":\"fixed\",\"framerSupportedLayoutWidth\":\"fixed\",\"framerDisableUnlink\":\"*\",\"framerIntrinsicWidth\":\"400\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./Ticker.map","import{jsx as _jsx}from\"react/jsx-runtime\";import{forwardRef,startTransition,useCallback,useEffect,useRef,useState}from\"react\";const TESTIMONIAL_CAROUSEL_EVENT=\"testimonial-carousel-nudge\";export function withHeroVideoSoundToggle(Component){return /*#__PURE__*/forwardRef((props,ref)=>{const[isMuted,setIsMuted]=useState(true);const hostRef=useRef(null);const label=isMuted?\"Sound off\":\"Sound on\";const findVideo=useCallback(()=>{if(typeof document===\"undefined\")return null;const host=hostRef.current;if(!host){const fallbackVideos=Array.from(document.querySelectorAll(\"video\"));return fallbackVideos[0]??null;}const candidateVideos=new Set;let current=host;while(current){const scopedVideos=Array.from(current.querySelectorAll(\"video\"));scopedVideos.forEach(video=>candidateVideos.add(video));current=current.parentElement;}const parent=host.parentElement;if(parent){const siblingVideos=Array.from(parent.querySelectorAll(\"video\"));siblingVideos.forEach(video=>candidateVideos.add(video));}const scoped=Array.from(candidateVideos);if(scoped.length>0){const hostRect=host.getBoundingClientRect();scoped.sort((a,b)=>{const ar=a.getBoundingClientRect();const br=b.getBoundingClientRect();const aDistance=Math.hypot(ar.left+ar.width/2-(hostRect.left+hostRect.width/2),ar.top+ar.height/2-(hostRect.top+hostRect.height/2));const bDistance=Math.hypot(br.left+br.width/2-(hostRect.left+hostRect.width/2),br.top+br.height/2-(hostRect.top+hostRect.height/2));return aDistance-bDistance;});return scoped[0];}const videos=Array.from(document.querySelectorAll(\"video\"));return videos[0]??null;},[]);useEffect(()=>{const video=findVideo();if(!video)return;video.muted=true;video.defaultMuted=true;video.playsInline=true;video.volume=1;startTransition(()=>setIsMuted(true));},[findVideo]);const setCombinedRef=useCallback(node=>{hostRef.current=node;if(typeof ref===\"function\"){ref(node);}else if(ref&&typeof ref===\"object\"){ref.current=node;}},[ref]);useEffect(()=>{if(typeof document===\"undefined\")return;const root=hostRef.current;if(!root)return;const textElement=Array.from(root.querySelectorAll(\"span, div, p\")).find(node=>{const value=node.textContent?.trim();return value===\"Sound off\"||value===\"Sound on\";});if(textElement){textElement.textContent=label;textElement.style.color=\"#FFFFFF\";}const svg=root.querySelector(\"svg\");if(svg){svg.setAttribute(\"viewBox\",\"0 0 24 24\");svg.setAttribute(\"fill\",\"none\");svg.setAttribute(\"stroke\",\"#FFFFFF\");svg.setAttribute(\"stroke-width\",\"2\");svg.setAttribute(\"stroke-linecap\",\"round\");svg.setAttribute(\"stroke-linejoin\",\"round\");svg.style.color=\"#FFFFFF\";svg.innerHTML=isMuted?`<polygon points=\"11 5 6 9 2 9 2 15 6 15 11 19 11 5\"></polygon>\n                       <line x1=\"23\" y1=\"9\" x2=\"17\" y2=\"15\"></line>\n                       <line x1=\"17\" y1=\"9\" x2=\"23\" y2=\"15\"></line>`:`<polygon points=\"11 5 6 9 2 9 2 15 6 15 11 19 11 5\"></polygon>\n                       <path d=\"M15.54 8.46a5 5 0 0 1 0 7.07\"></path>\n                       <path d=\"M19.07 4.93a10 10 0 0 1 0 14.14\"></path>`;}},[isMuted,label]);const handleClick=async event=>{const video=findVideo();if(!video){props.onClick?.(event);return;}const nextMuted=!isMuted;video.muted=nextMuted;video.defaultMuted=nextMuted;video.playsInline=true;video.volume=nextMuted?0:1;if(!nextMuted){try{await video.play();}catch(error){console.log(\"Could not play video with sound\",error);}}startTransition(()=>setIsMuted(nextMuted));props.onClick?.(event);};return /*#__PURE__*/_jsx(Component,{ref:setCombinedRef,...props,text:label,\"aria-label\":label,\"data-sound-state\":isMuted?\"off\":\"on\",onClick:handleClick});});}export function withSlowAuto3DRotation(Component){return /*#__PURE__*/forwardRef((props,ref)=>{const hostRef=useRef(null);const rafRef=useRef(null);const lastTimeRef=useRef(null);const angleRef=useRef(0);const resumeTimeoutRef=useRef(null);const isInteractingRef=useRef(false);const reducedMotionRef=useRef(false);const setCombinedRef=useCallback(node=>{hostRef.current=node;if(typeof ref===\"function\"){ref(node);}else if(ref&&typeof ref===\"object\"){ref.current=node;}},[ref]);const applyTransform=useCallback(()=>{if(typeof window===\"undefined\")return;const host=hostRef.current;if(!host)return;const marker=\"rotateY(var(--slow-auto-rotate-y))\";const currentTransform=host.style.transform||\"\";const baseTransform=currentTransform.replace(marker,\"\").trim();const nextTransform=[baseTransform,marker].filter(Boolean).join(\" \");host.style.setProperty(\"--slow-auto-rotate-y\",`${angleRef.current.toFixed(3)}deg`);host.style.transform=nextTransform;host.style.transformStyle=\"preserve-3d\";if(!host.style.perspective){host.style.perspective=\"1200px\";}host.style.willChange=\"transform\";},[]);const pauseAutoRotation=useCallback(()=>{isInteractingRef.current=true;if(resumeTimeoutRef.current!==null&&typeof window!==\"undefined\"){window.clearTimeout(resumeTimeoutRef.current);resumeTimeoutRef.current=null;}},[]);const resumeAutoRotationWithDelay=useCallback(()=>{if(typeof window===\"undefined\")return;if(resumeTimeoutRef.current!==null){window.clearTimeout(resumeTimeoutRef.current);}resumeTimeoutRef.current=window.setTimeout(()=>{isInteractingRef.current=false;},800);},[]);const applySelectionSuppression=useCallback(host=>{const applyNodeStyles=node=>{node.style.userSelect=\"none\";node.style.webkitUserSelect=\"none\";node.style.webkitTouchCallout=\"none\";node.style.WebkitTapHighlightColor=\"transparent\";};applyNodeStyles(host);const descendants=Array.from(host.querySelectorAll(\"*\"));descendants.forEach(node=>{applyNodeStyles(node);if(node instanceof HTMLImageElement||node instanceof HTMLVideoElement||node instanceof HTMLCanvasElement||node instanceof SVGElement){node.setAttribute(\"draggable\",\"false\");}});const mediaNodes=Array.from(host.querySelectorAll(\"img, video, canvas, svg\"));mediaNodes.forEach(node=>{node.setAttribute(\"draggable\",\"false\");if(node instanceof HTMLImageElement||node instanceof HTMLVideoElement){node.style.webkitUserDrag=\"none\";}});},[]);useEffect(()=>{if(typeof window===\"undefined\")return;const mediaQuery=window.matchMedia(\"(prefers-reduced-motion: reduce)\");const onPreferenceChange=()=>{reducedMotionRef.current=mediaQuery.matches;};onPreferenceChange();mediaQuery.addEventListener(\"change\",onPreferenceChange);const onGlobalPointerUp=()=>resumeAutoRotationWithDelay();window.addEventListener(\"pointerup\",onGlobalPointerUp);window.addEventListener(\"mouseup\",onGlobalPointerUp);window.addEventListener(\"touchend\",onGlobalPointerUp);const degreesPerMs=360/31e3;const tick=time=>{if(lastTimeRef.current===null){lastTimeRef.current=time;}const elapsed=time-(lastTimeRef.current??time);lastTimeRef.current=time;if(!reducedMotionRef.current&&!isInteractingRef.current){angleRef.current=(angleRef.current+elapsed*degreesPerMs)%360;applyTransform();}rafRef.current=window.requestAnimationFrame(tick);};rafRef.current=window.requestAnimationFrame(tick);return()=>{if(rafRef.current!==null){window.cancelAnimationFrame(rafRef.current);}if(resumeTimeoutRef.current!==null){window.clearTimeout(resumeTimeoutRef.current);}mediaQuery.removeEventListener(\"change\",onPreferenceChange);window.removeEventListener(\"pointerup\",onGlobalPointerUp);window.removeEventListener(\"mouseup\",onGlobalPointerUp);window.removeEventListener(\"touchend\",onGlobalPointerUp);};},[applyTransform,resumeAutoRotationWithDelay]);useEffect(()=>{if(typeof window===\"undefined\"||typeof document===\"undefined\")return;const host=hostRef.current;if(!host)return;const blockNativeSelection=event=>{event.preventDefault();};applySelectionSuppression(host);host.addEventListener(\"dragstart\",blockNativeSelection);host.addEventListener(\"selectstart\",blockNativeSelection);const observer=new MutationObserver(()=>{const latestHost=hostRef.current;if(!latestHost)return;applySelectionSuppression(latestHost);});observer.observe(host,{childList:true,subtree:true});return()=>{host.removeEventListener(\"dragstart\",blockNativeSelection);host.removeEventListener(\"selectstart\",blockNativeSelection);observer.disconnect();};},[applySelectionSuppression]);const handlePointerDown=useCallback(event=>{pauseAutoRotation();props.onPointerDown?.(event);},[pauseAutoRotation,props]);const handlePointerUp=useCallback(event=>{props.onPointerUp?.(event);resumeAutoRotationWithDelay();},[props,resumeAutoRotationWithDelay]);const handleMouseDown=useCallback(event=>{pauseAutoRotation();props.onMouseDown?.(event);},[pauseAutoRotation,props]);const handleMouseUp=useCallback(event=>{props.onMouseUp?.(event);resumeAutoRotationWithDelay();},[props,resumeAutoRotationWithDelay]);const handleTouchStart=useCallback(event=>{pauseAutoRotation();props.onTouchStart?.(event);},[pauseAutoRotation,props]);const handleTouchEnd=useCallback(event=>{props.onTouchEnd?.(event);resumeAutoRotationWithDelay();},[props,resumeAutoRotationWithDelay]);return /*#__PURE__*/_jsx(Component,{ref:setCombinedRef,...props,onPointerDown:handlePointerDown,onPointerUp:handlePointerUp,onMouseDown:handleMouseDown,onMouseUp:handleMouseUp,onTouchStart:handleTouchStart,onTouchEnd:handleTouchEnd});});}export function withNoSafariMediaHighlight(Component){return /*#__PURE__*/forwardRef((props,ref)=>{const hostRef=useRef(null);const setCombinedRef=useCallback(node=>{hostRef.current=node;if(typeof ref===\"function\"){ref(node);}else if(ref&&typeof ref===\"object\"){ref.current=node;}},[ref]);const applySuppression=useCallback(host=>{const applyNodeStyles=node=>{node.style.userSelect=\"none\";node.style.webkitUserSelect=\"none\";node.style.webkitTouchCallout=\"none\";node.style.WebkitTapHighlightColor=\"transparent\";};applyNodeStyles(host);const descendants=Array.from(host.querySelectorAll(\"*\"));descendants.forEach(node=>applyNodeStyles(node));const mediaSelector=\"img, video, canvas, svg, [data-framer-name*='video' i], [data-framer-component-type*='Video']\";const mediaNodes=Array.from(host.querySelectorAll(mediaSelector));mediaNodes.forEach(node=>{node.setAttribute(\"draggable\",\"false\");if(node instanceof HTMLImageElement||node instanceof HTMLVideoElement){node.style.webkitUserDrag=\"none\";}});},[]);useEffect(()=>{if(typeof window===\"undefined\"||typeof document===\"undefined\")return;const host=hostRef.current;if(!host)return;const preventNativeDragAndSelect=event=>{event.preventDefault();};applySuppression(host);host.addEventListener(\"dragstart\",preventNativeDragAndSelect);host.addEventListener(\"selectstart\",preventNativeDragAndSelect);const observer=new MutationObserver(()=>{const latestHost=hostRef.current;if(!latestHost)return;applySuppression(latestHost);});observer.observe(host,{childList:true,subtree:true});return()=>{host.removeEventListener(\"dragstart\",preventNativeDragAndSelect);host.removeEventListener(\"selectstart\",preventNativeDragAndSelect);observer.disconnect();};},[applySuppression]);return /*#__PURE__*/_jsx(Component,{ref:setCombinedRef,...props});});}function findNearestTickerElement(host){if(typeof window===\"undefined\"||typeof document===\"undefined\"||!host){return null;}const namedSelector='[data-framer-name=\"Ticker\"], [aria-label=\"Ticker\"], [name=\"Ticker\"]';let current=host;while(current&&current!==document.body){const named=current.querySelector(namedSelector);if(named)return named;const horizontalCandidates=Array.from(current.querySelectorAll(\"*\"));const overflowTicker=horizontalCandidates.find(element=>{try{const style=window.getComputedStyle(element);const hasHorizontalOverflow=element.scrollWidth>element.clientWidth+8;const allowsHorizontalMotion=style.overflowX===\"auto\"||style.overflowX===\"scroll\"||style.overflowX===\"hidden\";return hasHorizontalOverflow&&allowsHorizontalMotion;}catch(_error){return false;}});if(overflowTicker)return overflowTicker;current=current.parentElement;}const fallbackNamed=document.querySelector(namedSelector);if(fallbackNamed)return fallbackNamed;const globalCandidates=Array.from(document.querySelectorAll(\"*\"));return globalCandidates.find(element=>element.scrollWidth>element.clientWidth+8)??null;}async function nudgeTickerByDirection(host,direction){if(typeof window===\"undefined\"||typeof document===\"undefined\")return;const ticker=findNearestTickerElement(host);if(!ticker)return;const delta=direction===\"next\"?290:-290;const wheelDelta=direction===\"next\"?320:-320;const before=ticker.scrollLeft;try{if(typeof ticker.scrollTo===\"function\"){ticker.scrollTo({left:before+delta,behavior:\"smooth\"});}else{ticker.scrollLeft=before+delta;}}catch(_error){ticker.scrollLeft=before+delta;}await new Promise(resolve=>{if(typeof window.requestAnimationFrame===\"function\"){window.requestAnimationFrame(()=>resolve());}else{window.setTimeout(()=>resolve(),16);}});const after=ticker.scrollLeft;if(Math.abs(after-before)<1){try{ticker.dispatchEvent(new WheelEvent(\"wheel\",{deltaX:wheelDelta,bubbles:true,cancelable:true}));}catch(_error){}}}function applyTickerTranslateOffset(ticker,offset){if(typeof window===\"undefined\")return;const marker=\"translate3d(var(--testimonial-ticker-offset, 0px), 0, 0)\";const wrapper=ticker.firstElementChild instanceof HTMLElement?ticker.firstElementChild:null;const targets=wrapper&&wrapper.children.length>0?[wrapper]:Array.from(ticker.children).filter(child=>child instanceof HTMLElement);if(targets.length===0)return;targets.forEach(target=>{if(!target||!(target instanceof HTMLElement))return;const currentTransform=target.style.transform||\"\";if(!currentTransform.includes(marker)){target.style.transform=[currentTransform,marker].filter(Boolean).join(\" \");}target.style.setProperty(\"--testimonial-ticker-offset\",`${offset}px`);target.style.transition=\"transform 350ms ease\";target.style.willChange=\"transform\";});}export function withTestimonialCarouselTrack(Component){return /*#__PURE__*/forwardRef((props,ref)=>{const hostRef=useRef(null);const offsetRef=useRef(0);const mountedRef=useRef(true);const setCombinedRef=useCallback(node=>{hostRef.current=node;if(typeof ref===\"function\"){ref(node);}else if(ref&&typeof ref===\"object\"){ref.current=node;}},[ref]);useEffect(()=>{mountedRef.current=true;return()=>{mountedRef.current=false;};},[]);const handleNudge=useCallback(direction=>{if(typeof window===\"undefined\"||typeof document===\"undefined\"||!mountedRef.current){return;}const ticker=hostRef.current;if(!ticker)return;const step=direction===\"next\"?290:-290;const before=ticker.scrollLeft;try{if(typeof ticker.scrollBy===\"function\"){ticker.scrollBy({left:step,behavior:\"smooth\"});}else if(typeof ticker.scrollTo===\"function\"){ticker.scrollTo({left:before+step,behavior:\"smooth\"});}else{ticker.scrollLeft=before+step;}}catch(_error){ticker.scrollLeft=before+step;}const schedule=cb=>{if(typeof window.requestAnimationFrame===\"function\"){return window.requestAnimationFrame(cb);}window.setTimeout(()=>cb(Date.now()),16);return 0;};schedule(()=>{if(!mountedRef.current||!hostRef.current)return;const movedByScroll=Math.abs(ticker.scrollLeft-before)>1;const range=Math.max(0,ticker.scrollWidth-ticker.clientWidth);const minOffset=-range;const maxOffset=0;const nextOffset=Math.min(maxOffset,Math.max(minOffset,offsetRef.current+(direction===\"next\"?-290:290)));offsetRef.current=nextOffset;if(!movedByScroll||range>0){applyTickerTranslateOffset(ticker,offsetRef.current);}if(!movedByScroll){try{ticker.dispatchEvent(new WheelEvent(\"wheel\",{deltaX:direction===\"next\"?320:-320,bubbles:true,cancelable:true}));}catch(_error){}}});},[]);useEffect(()=>{if(typeof window===\"undefined\")return;const listener=event=>{const custom=event;const direction=custom.detail?.direction;if(direction===\"previous\"||direction===\"next\"){handleNudge(direction);}};window.addEventListener(TESTIMONIAL_CAROUSEL_EVENT,listener);return()=>{window.removeEventListener(TESTIMONIAL_CAROUSEL_EVENT,listener);};},[handleNudge]);return /*#__PURE__*/_jsx(Component,{ref:setCombinedRef,...props});});}export function withTestimonialCarouselPrevious(Component){return /*#__PURE__*/forwardRef((props,ref)=>{const hostRef=useRef(null);const setCombinedRef=useCallback(node=>{hostRef.current=node;if(typeof ref===\"function\"){ref(node);}else if(ref&&typeof ref===\"object\"){ref.current=node;}},[ref]);const handleActivate=useCallback(async event=>{if(typeof window!==\"undefined\"){window.dispatchEvent(new CustomEvent(TESTIMONIAL_CAROUSEL_EVENT,{detail:{direction:\"previous\"}}));}await nudgeTickerByDirection(hostRef.current,\"previous\");props.onClick?.(event);},[props]);const handleTap=useCallback(async event=>{if(typeof window!==\"undefined\"){window.dispatchEvent(new CustomEvent(TESTIMONIAL_CAROUSEL_EVENT,{detail:{direction:\"previous\"}}));}await nudgeTickerByDirection(hostRef.current,\"previous\");props.onTap?.(event);},[props]);return /*#__PURE__*/_jsx(Component,{ref:setCombinedRef,...props,\"aria-label\":\"Previous testimonial video\",onClick:handleActivate,onTap:handleTap,style:{...props.style,cursor:\"pointer\"}});});}export function withTestimonialCarouselNext(Component){return /*#__PURE__*/forwardRef((props,ref)=>{const hostRef=useRef(null);const setCombinedRef=useCallback(node=>{hostRef.current=node;if(typeof ref===\"function\"){ref(node);}else if(ref&&typeof ref===\"object\"){ref.current=node;}},[ref]);const handleActivate=useCallback(async event=>{if(typeof window!==\"undefined\"){window.dispatchEvent(new CustomEvent(TESTIMONIAL_CAROUSEL_EVENT,{detail:{direction:\"next\"}}));}await nudgeTickerByDirection(hostRef.current,\"next\");props.onClick?.(event);},[props]);const handleTap=useCallback(async event=>{if(typeof window!==\"undefined\"){window.dispatchEvent(new CustomEvent(TESTIMONIAL_CAROUSEL_EVENT,{detail:{direction:\"next\"}}));}await nudgeTickerByDirection(hostRef.current,\"next\");props.onTap?.(event);},[props]);return /*#__PURE__*/_jsx(Component,{ref:setCombinedRef,...props,\"aria-label\":\"Next testimonial video\",onClick:handleActivate,onTap:handleTap,style:{...props.style,cursor:\"pointer\"}});});}export function withAdobeOwnersWideFonts(Component){return /*#__PURE__*/forwardRef((props,ref)=>{const hostRef=useRef(null);const setCombinedRef=useCallback(node=>{hostRef.current=node;if(typeof ref===\"function\"){ref(node);}else if(ref&&typeof ref===\"object\"){ref.current=node;}},[ref]);const shouldMapOwnersFont=useCallback(value=>{if(!value)return false;return/owners\\s*trial|ownerstrial|owners\\s*wide/i.test(value);},[]);const applyOwnersWideToNode=useCallback(node=>{if(!node)return;const inlineStyle=node.getAttribute(\"style\")||\"\";const hasInlineOwners=shouldMapOwnersFont(inlineStyle);let hasComputedOwners=false;if(typeof window!==\"undefined\"){try{const computed=window.getComputedStyle(node);hasComputedOwners=shouldMapOwnersFont(computed.fontFamily);}catch(_error){hasComputedOwners=false;}}if(hasInlineOwners||hasComputedOwners){node.style.fontFamily='\"owners-wide\", \"Owners Wide\", sans-serif';}},[shouldMapOwnersFont]);const applyOwnersWideWithinHost=useCallback(()=>{if(typeof document===\"undefined\")return;const host=hostRef.current;if(!host)return;applyOwnersWideToNode(host);const descendants=Array.from(host.querySelectorAll(\"*\"));descendants.forEach(node=>applyOwnersWideToNode(node));},[applyOwnersWideToNode]);useEffect(()=>{if(typeof document===\"undefined\")return;const STYLE_ID=\"framer-adobe-owners-wide-runtime-override\";if(!document.getElementById(STYLE_ID)){const style=document.createElement(\"style\");style.id=STYLE_ID;style.textContent=`\n[style*=\"Owners Wide\" i],\n[style*=\"OwnersTRIAL\" i],\n[style*=\"Owners TRIAL\" i],\n[style*=\"Owners TRIAL Wide\" i],\n[style*=\"Owners TRIAL Narrow\" i],\n[style*=\"--framer-font-family\" i][style*=\"Owners\" i],\n[style*=\"font-family\" i][style*=\"Owners\" i] {\n    font-family: \"owners-wide\", \"Owners Wide\", sans-serif !important;\n}\n                `.trim();document.head.appendChild(style);}},[]);useEffect(()=>{if(typeof window===\"undefined\"||typeof document===\"undefined\")return;const host=hostRef.current;if(!host)return;applyOwnersWideWithinHost();const observer=new MutationObserver(()=>{applyOwnersWideWithinHost();});observer.observe(host,{subtree:true,childList:true,attributes:true,attributeFilter:[\"style\",\"class\"],characterData:false});return()=>{observer.disconnect();};},[applyOwnersWideWithinHost]);return /*#__PURE__*/_jsx(Component,{ref:setCombinedRef,...props});});}\nexport const __FramerMetadata__ = {\"exports\":{\"withTestimonialCarouselNext\":{\"type\":\"reactHoc\",\"name\":\"withTestimonialCarouselNext\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withHeroVideoSoundToggle\":{\"type\":\"reactHoc\",\"name\":\"withHeroVideoSoundToggle\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withTestimonialCarouselPrevious\":{\"type\":\"reactHoc\",\"name\":\"withTestimonialCarouselPrevious\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withNoSafariMediaHighlight\":{\"type\":\"reactHoc\",\"name\":\"withNoSafariMediaHighlight\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withSlowAuto3DRotation\":{\"type\":\"reactHoc\",\"name\":\"withSlowAuto3DRotation\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withTestimonialCarouselTrack\":{\"type\":\"reactHoc\",\"name\":\"withTestimonialCarouselTrack\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withAdobeOwnersWideFonts\":{\"type\":\"reactHoc\",\"name\":\"withAdobeOwnersWideFonts\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./Examples.map"],"mappings":"uiBAKA,SAAS,EAAS,EAAM,CAAC,GAAK,CAAC,QAAM,SAAO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