{"version":3,"file":"OpenInTop.DD8kTSva.mjs","names":["useRef","useCallback"],"sources":["https:/framerusercontent.com/modules/n3lrOZUjCXyvnRibNxMY/wRLjlMqN89KwOMUuMlCj/OpenInTop.js"],"sourcesContent":["import{jsx as _jsx}from\"react/jsx-runtime\";import{forwardRef,useCallback,useEffect,useRef}from\"react\";export function OpenInTop(Component){return({children,...props})=>{const ref=useRef(null);useEffect(()=>{const el=ref.current;if(!el)return;const handleClick=e=>{const anchor=e.target.closest(\"a\");if(anchor&&anchor.href){e.preventDefault();e.stopPropagation();window.top.location.href=anchor.href;}};el.addEventListener(\"click\",handleClick,true);return()=>el.removeEventListener(\"click\",handleClick,true);},[]);return /*#__PURE__*/_jsx(\"div\",{ref:ref,style:{display:\"contents\"},children:/*#__PURE__*/_jsx(Component,{...props,children:children})});};}export function PlayVideoOnHover(Component){return /*#__PURE__*/forwardRef((props,ref)=>{const rootRef=useRef(null);const getDescendantVideos=useCallback(()=>{if(typeof window===\"undefined\")return[];const root=rootRef.current;if(!root)return[];return Array.from(root.querySelectorAll(\"video\"));},[]);const playVideos=useCallback(()=>{const videos=getDescendantVideos();videos.forEach(video=>{const playPromise=video.play();if(playPromise&&typeof playPromise.catch===\"function\"){playPromise.catch(()=>{});}});},[getDescendantVideos]);const pauseAndResetVideos=useCallback(()=>{const videos=getDescendantVideos();videos.forEach(video=>{video.pause();try{video.currentTime=0;}catch(_error){// Ignore currentTime errors for streams or constrained media.\n}});},[getDescendantVideos]);const handlePointerEnter=useCallback(event=>{props.onPointerEnter?.(event);if(event?.pointerType===\"mouse\"){playVideos();}},[playVideos,props]);const handlePointerLeave=useCallback(event=>{props.onPointerLeave?.(event);if(event?.pointerType===\"mouse\"){pauseAndResetVideos();}},[pauseAndResetVideos,props]);return /*#__PURE__*/_jsx(\"div\",{ref:rootRef,style:{display:\"contents\"},children:/*#__PURE__*/_jsx(Component,{ref:ref,...props,onPointerEnter:handlePointerEnter,onPointerLeave:handlePointerLeave})});});}export function RevealVideoControlsOnHover(Component){return /*#__PURE__*/forwardRef((props,ref)=>{const rootRef=useRef(null);const rafIdsRef=useRef([]);const getIncomingVolume=useCallback(()=>{const incomingVolume=props?.volume;if(typeof incomingVolume!==\"number\"||Number.isNaN(incomingVolume)){return null;}if(incomingVolume>1)return Math.min(1,incomingVolume/100);if(incomingVolume<0)return 0;return incomingVolume;},[props?.volume]);const applyVideoControls=useCallback(rerenderControlsForPlayingVideos=>{if(typeof window===\"undefined\")return;const root=rootRef.current;if(!root)return;const videos=Array.from(root.querySelectorAll(\"video\"));rafIdsRef.current.forEach(id=>window.cancelAnimationFrame(id));rafIdsRef.current=[];const nextVolume=getIncomingVolume();videos.forEach(video=>{video.controls=true;video.muted=false;if(nextVolume!==null){video.volume=nextVolume;}if(rerenderControlsForPlayingVideos&&!video.paused){video.controls=false;const rafId=window.requestAnimationFrame(()=>{video.controls=true;});rafIdsRef.current.push(rafId);}});},[getIncomingVolume]);useEffect(()=>{applyVideoControls(false);return()=>{if(typeof window!==\"undefined\"){rafIdsRef.current.forEach(id=>window.cancelAnimationFrame(id));rafIdsRef.current=[];}};},[applyVideoControls]);const handlePointerEnter=useCallback(event=>{props.onPointerEnter?.(event);if(event?.pointerType===\"mouse\"){applyVideoControls(true);}},[applyVideoControls,props]);const handleFocus=useCallback(event=>{props.onFocus?.(event);applyVideoControls(false);},[applyVideoControls,props]);return /*#__PURE__*/_jsx(\"div\",{ref:rootRef,style:{display:\"contents\"},children:/*#__PURE__*/_jsx(Component,{ref:ref,...props,controls:true,onPointerEnter:handlePointerEnter,onFocus:handleFocus})});});}export function VideoPreviewOnHover(Component){return /*#__PURE__*/forwardRef((props,ref)=>{const rootRef=useRef(null);const getDescendantVideos=useCallback(()=>{if(typeof window===\"undefined\")return[];const root=rootRef.current;if(!root)return[];return Array.from(root.querySelectorAll(\"video\"));},[]);const applyPreviewTreatment=useCallback(()=>{const videos=getDescendantVideos();videos.forEach(video=>{if(!video.dataset.previewOriginalFilter){video.dataset.previewOriginalFilter=video.style.filter||\"\";}video.style.filter=\"blur(1.5px) saturate(0.9) brightness(0.92)\";});},[getDescendantVideos]);const clearPreviewTreatment=useCallback(()=>{const videos=getDescendantVideos();videos.forEach(video=>{const originalFilter=video.dataset.previewOriginalFilter??\"\";video.style.filter=originalFilter;});},[getDescendantVideos]);const playVideos=useCallback(()=>{const videos=getDescendantVideos();videos.forEach(video=>{const playPromise=video.play();if(playPromise&&typeof playPromise.catch===\"function\"){playPromise.catch(()=>{});}});},[getDescendantVideos]);const pauseAndResetVideos=useCallback(()=>{const videos=getDescendantVideos();videos.forEach(video=>{video.pause();try{video.currentTime=0;}catch(_error){}});},[getDescendantVideos]);useEffect(()=>{applyPreviewTreatment();},[applyPreviewTreatment]);const handlePointerEnter=useCallback(event=>{props.onPointerEnter?.(event);if(event?.pointerType===\"mouse\"){clearPreviewTreatment();playVideos();}},[clearPreviewTreatment,playVideos,props]);const handlePointerLeave=useCallback(event=>{props.onPointerLeave?.(event);if(event?.pointerType===\"mouse\"){pauseAndResetVideos();applyPreviewTreatment();}},[applyPreviewTreatment,pauseAndResetVideos,props]);return /*#__PURE__*/_jsx(\"div\",{ref:rootRef,style:{display:\"contents\"},children:/*#__PURE__*/_jsx(Component,{ref:ref,...props,onPointerEnter:handlePointerEnter,onPointerLeave:handlePointerLeave})});});}export function PlayVideoOnInView(Component){return /*#__PURE__*/forwardRef((props,ref)=>{const rootRef=useRef(null);const observerRef=useRef(null);const mutationObserverRef=useRef(null);const retryTimeoutsRef=useRef([]);const isVisibleRef=useRef(false);const getDescendantVideos=useCallback(()=>{if(typeof window===\"undefined\")return[];const root=rootRef.current;if(!root)return[];return Array.from(root.querySelectorAll(\"video\"));},[]);const applyVideoState=useCallback(isVisible=>{isVisibleRef.current=isVisible;const videos=getDescendantVideos();videos.forEach(video=>{video.muted=true;video.loop=false;video.controls=false;if(isVisible){const playPromise=video.play();if(playPromise&&typeof playPromise.catch===\"function\"){playPromise.catch(()=>{});}}else{video.pause();}});},[getDescendantVideos]);useEffect(()=>{if(typeof window===\"undefined\")return;const root=rootRef.current;if(!root)return;const setupIntersectionObserver=()=>{const renderTarget=root.firstElementChild;if(!renderTarget)return false;observerRef.current?.disconnect();observerRef.current=new IntersectionObserver(entries=>{entries.forEach(entry=>{applyVideoState(entry.isIntersecting&&entry.intersectionRatio>=.5);});},{threshold:[0,.5,1]});observerRef.current.observe(renderTarget);return true;};const runVideoSync=()=>{applyVideoState(isVisibleRef.current);};setupIntersectionObserver();runVideoSync();mutationObserverRef.current=new MutationObserver(()=>{setupIntersectionObserver();runVideoSync();});mutationObserverRef.current.observe(root,{childList:true,subtree:true});const retryDelays=[80,180,320,500];retryDelays.forEach(delay=>{const id=window.setTimeout(()=>{setupIntersectionObserver();runVideoSync();},delay);retryTimeoutsRef.current.push(id);});return()=>{observerRef.current?.disconnect();observerRef.current=null;mutationObserverRef.current?.disconnect();mutationObserverRef.current=null;retryTimeoutsRef.current.forEach(id=>window.clearTimeout(id));retryTimeoutsRef.current=[];};},[applyVideoState]);return /*#__PURE__*/_jsx(\"div\",{ref:rootRef,style:{display:\"contents\"},children:/*#__PURE__*/_jsx(Component,{ref:ref,...props})});});}export function PlayInlineUntilScroll(Component){return /*#__PURE__*/forwardRef((props,ref)=>{const rootRef=useRef(null);const phoneVideoCleanupRef=useRef(null);const isPhoneViewport=useCallback(()=>{if(typeof window===\"undefined\")return false;return window.innerWidth<=809;},[]);const getDescendantVideos=useCallback(()=>{if(typeof window===\"undefined\")return[];const root=rootRef.current;if(!root)return[];return Array.from(root.querySelectorAll(\"video\"));},[]);const configurePhoneVideos=useCallback(()=>{const videos=getDescendantVideos();videos.forEach(video=>{video.controls=true;video.playsInline=true;video.setAttribute(\"playsinline\",\"true\");video.setAttribute(\"webkit-playsinline\",\"true\");});},[getDescendantVideos]);const configureDesktopVideos=useCallback(()=>{const videos=getDescendantVideos();videos.forEach(video=>{video.controls=false;});},[getDescendantVideos]);const playVideosInline=useCallback(()=>{const videos=getDescendantVideos();videos.forEach(video=>{video.controls=true;video.playsInline=true;video.setAttribute(\"playsinline\",\"true\");video.setAttribute(\"webkit-playsinline\",\"true\");const playPromise=video.play();if(playPromise&&typeof playPromise.catch===\"function\"){playPromise.catch(()=>{});}});},[getDescendantVideos]);const playVideos=useCallback(()=>{const videos=getDescendantVideos();videos.forEach(video=>{const playPromise=video.play();if(playPromise&&typeof playPromise.catch===\"function\"){playPromise.catch(()=>{});}});},[getDescendantVideos]);const pauseVideos=useCallback(()=>{const videos=getDescendantVideos();videos.forEach(video=>{video.pause();});},[getDescendantVideos]);const pauseAndResetVideos=useCallback(()=>{const videos=getDescendantVideos();videos.forEach(video=>{video.pause();try{video.currentTime=0;}catch(_error){// Ignore currentTime errors for streams or constrained media.\n}});},[getDescendantVideos]);useEffect(()=>{if(typeof window===\"undefined\")return;if(isPhoneViewport()){configurePhoneVideos();}else{configureDesktopVideos();}const handleScroll=()=>{if(isPhoneViewport()){pauseVideos();}};window.addEventListener(\"scroll\",handleScroll,{passive:true});const handleResize=()=>{if(isPhoneViewport()){configurePhoneVideos();}else{configureDesktopVideos();}};window.addEventListener(\"resize\",handleResize);return()=>{window.removeEventListener(\"scroll\",handleScroll);window.removeEventListener(\"resize\",handleResize);};},[configureDesktopVideos,configurePhoneVideos,isPhoneViewport,pauseVideos]);useEffect(()=>{if(typeof window===\"undefined\")return;const root=rootRef.current;if(!root)return;const cleanupPhoneVideoListeners=()=>{phoneVideoCleanupRef.current?.();phoneVideoCleanupRef.current=null;};const setupPhoneVideoListeners=()=>{cleanupPhoneVideoListeners();if(!isPhoneViewport())return;const videos=getDescendantVideos();if(videos.length===0)return;const removers=[];videos.forEach(video=>{const playInline=()=>{video.controls=true;video.playsInline=true;video.setAttribute(\"playsinline\",\"true\");video.setAttribute(\"webkit-playsinline\",\"true\");const playPromise=video.play();if(playPromise&&typeof playPromise.catch===\"function\"){playPromise.catch(()=>{});}};video.addEventListener(\"pointerdown\",playInline);video.addEventListener(\"click\",playInline);removers.push(()=>video.removeEventListener(\"pointerdown\",playInline));removers.push(()=>video.removeEventListener(\"click\",playInline));});phoneVideoCleanupRef.current=()=>{removers.forEach(remove=>remove());};};setupPhoneVideoListeners();const observer=new MutationObserver(()=>{setupPhoneVideoListeners();});observer.observe(root,{childList:true,subtree:true});return()=>{observer.disconnect();cleanupPhoneVideoListeners();};},[getDescendantVideos,isPhoneViewport]);const handlePointerDown=useCallback(event=>{props.onPointerDown?.(event);if(isPhoneViewport()){playVideosInline();}},[isPhoneViewport,playVideosInline,props]);const handleClick=useCallback(event=>{props.onClick?.(event);if(isPhoneViewport()){playVideosInline();}},[isPhoneViewport,playVideosInline,props]);const handlePointerEnter=useCallback(event=>{props.onPointerEnter?.(event);if(!isPhoneViewport()&&event?.pointerType===\"mouse\"){playVideos();}},[isPhoneViewport,playVideos,props]);const handlePointerLeave=useCallback(event=>{props.onPointerLeave?.(event);if(!isPhoneViewport()&&event?.pointerType===\"mouse\"){pauseAndResetVideos();}},[isPhoneViewport,pauseAndResetVideos,props]);return /*#__PURE__*/_jsx(\"div\",{ref:rootRef,style:{display:\"contents\"},children:/*#__PURE__*/_jsx(Component,{ref:ref,...props,onPointerDown:handlePointerDown,onClick:handleClick,onPointerEnter:handlePointerEnter,onPointerLeave:handlePointerLeave})});});}export function HideInlinePlayButtonOnPlay(Component){return /*#__PURE__*/forwardRef((props,ref)=>{const rootRef=useRef(null);const cleanupRef=useRef(null);const isPhoneViewport=useCallback(()=>{if(typeof window===\"undefined\")return false;return window.innerWidth<=809;},[]);const getVideoAndButton=useCallback(()=>{const root=rootRef.current;if(!root)return{video:null,button:null};const video=root.querySelector(\"video\");const button=root.querySelector(\"#inline-play-button\")||root.querySelector('[aria-label=\"Play inline video\"]')||root.querySelector('[data-framer-name=\"Play Video\"]');return{video,button};},[]);const showButton=useCallback(button=>{if(!button)return;button.style.opacity=\"1\";button.style.pointerEvents=\"auto\";},[]);const hideButton=useCallback(button=>{if(!button)return;button.style.opacity=\"0\";button.style.pointerEvents=\"none\";},[]);useEffect(()=>{if(typeof window===\"undefined\")return;if(!isPhoneViewport())return;const setup=()=>{cleanupRef.current?.();const{video,button}=getVideoAndButton();if(!video||!button)return false;const onPlay=()=>hideButton(button);const onPause=()=>showButton(button);const onEnded=()=>showButton(button);const onScroll=()=>{video.pause();};const playInline=()=>{button.style.pointerEvents=\"auto\";video.controls=true;video.playsInline=true;video.setAttribute(\"playsinline\",\"true\");video.setAttribute(\"webkit-playsinline\",\"true\");const playPromise=video.play();if(playPromise&&typeof playPromise.catch===\"function\"){playPromise.catch(()=>{});}};video.addEventListener(\"play\",onPlay);video.addEventListener(\"pause\",onPause);video.addEventListener(\"ended\",onEnded);video.addEventListener(\"pointerdown\",playInline);video.addEventListener(\"click\",playInline);button.addEventListener(\"pointerdown\",playInline);button.addEventListener(\"click\",playInline);window.addEventListener(\"scroll\",onScroll,{passive:true});if(video.paused||video.ended){showButton(button);}else{hideButton(button);}cleanupRef.current=()=>{video.removeEventListener(\"play\",onPlay);video.removeEventListener(\"pause\",onPause);video.removeEventListener(\"ended\",onEnded);video.removeEventListener(\"pointerdown\",playInline);video.removeEventListener(\"click\",playInline);button.removeEventListener(\"pointerdown\",playInline);button.removeEventListener(\"click\",playInline);window.removeEventListener(\"scroll\",onScroll);};return true;};if(setup()){return()=>cleanupRef.current?.();}const observer=new MutationObserver(()=>{setup();});const root=rootRef.current;if(root){observer.observe(root,{childList:true,subtree:true});}return()=>{observer.disconnect();cleanupRef.current?.();};},[getVideoAndButton,hideButton,isPhoneViewport,showButton]);const handlePointerDown=useCallback(event=>{props.onPointerDown?.(event);},[props]);const handleClick=useCallback(event=>{props.onClick?.(event);},[props]);return /*#__PURE__*/_jsx(\"div\",{ref:rootRef,style:{display:\"contents\"},children:/*#__PURE__*/_jsx(Component,{ref:ref,...props,onPointerDown:handlePointerDown,onClick:handleClick})});});}export function HidePlayButtonAfterTap(Component){return /*#__PURE__*/forwardRef((props,ref)=>{const localRef=useRef(null);const isPhoneViewport=useCallback(()=>{if(typeof window===\"undefined\")return false;return window.innerWidth<=809;},[]);const hideButton=useCallback(()=>{const element=localRef.current;if(!element)return;element.style.opacity=\"0\";element.style.pointerEvents=\"none\";},[]);const setRefs=useCallback(node=>{localRef.current=node;if(typeof ref===\"function\"){ref(node);}else if(ref&&typeof ref===\"object\"){ref.current=node;}},[ref]);const handlePointerDown=useCallback(event=>{props.onPointerDown?.(event);if(isPhoneViewport()){hideButton();}},[hideButton,isPhoneViewport,props]);const handleClick=useCallback(event=>{props.onClick?.(event);if(isPhoneViewport()){hideButton();}},[hideButton,isPhoneViewport,props]);return /*#__PURE__*/_jsx(Component,{ref:setRefs,...props,onPointerDown:handlePointerDown,onClick:handleClick});});}\nexport const __FramerMetadata__ = {\"exports\":{\"PlayInlineUntilScroll\":{\"type\":\"reactHoc\",\"name\":\"PlayInlineUntilScroll\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"HideInlinePlayButtonOnPlay\":{\"type\":\"reactHoc\",\"name\":\"HideInlinePlayButtonOnPlay\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"RevealVideoControlsOnHover\":{\"type\":\"reactHoc\",\"name\":\"RevealVideoControlsOnHover\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"HidePlayButtonAfterTap\":{\"type\":\"reactHoc\",\"name\":\"HidePlayButtonAfterTap\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"VideoPreviewOnHover\":{\"type\":\"reactHoc\",\"name\":\"VideoPreviewOnHover\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"PlayVideoOnHover\":{\"type\":\"reactHoc\",\"name\":\"PlayVideoOnHover\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"PlayVideoOnInView\":{\"type\":\"reactHoc\",\"name\":\"PlayVideoOnInView\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"OpenInTop\":{\"type\":\"reactHoc\",\"name\":\"OpenInTop\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}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