{"version":3,"file":"SectionReveal.DMjpop-2.mjs","names":["React.useRef","React.useState","_Fragment","__esmMin","window","init_ssg_sandbox_shims","init_npm_react_18_3_1","l","_e","p","c","J","init_jsx_runtime","ce","de","useReducedMotion","init_framer_motion_DhsWWWsN","init_framer_DJ_0WPVq","useIsStaticRenderer","reveal","own","completed","isStatic","reducedMotion","element","animation","observer","entries","entry","blur","Component","props","forwardedRef","withSectionReveal","withPageReveal","withLazyMotionCreative","nearViewport","setNearViewport","withDeferredImage","requested","setRequested","mounted","label","desktopHeroEntrance","phase","setPhase","media","cancelled","scheduled","first","second","timeout","start","bounds","fonts","resolve","desktopHeroDelays","stage","skip","desktopHeroEntranceCSS","withDesktopHeroHeadline","withDesktopHeroSubhead","withDesktopHeroActions","withDesktopHeroNote","init_SectionReveal"],"sources":["https:/framerusercontent.com/modules/l2t9yAOUVSotcpxzk8Sm/vYF8GED57cD52Pr1K1ll/SectionReveal.js"],"sourcesContent":["import{jsx as _jsx,jsxs as _jsxs,Fragment as _Fragment}from\"react/jsx-runtime\";import*as React from\"react\";import{useIsStaticRenderer}from\"framer\";import{useReducedMotion}from\"framer-motion\";function reveal(Component,blur,duration){return /*#__PURE__*/React.forwardRef(function SectionReveal(props,forwardedRef){const own=React.useRef(null);const completed=React.useRef(false);const isStatic=useIsStaticRenderer();const reducedMotion=useReducedMotion();React.useEffect(()=>{const element=own.current;// Critical page titles paint immediately; below-fold section reveals remain.\nif(element&&(element.matches(\"h1\")||element.querySelector(\"h1\")))return;if(!element||isStatic||reducedMotion||completed.current||typeof window===\"undefined\"||!window.IntersectionObserver||!element.animate)return;let animation;const observer=new IntersectionObserver(entries=>{if(!entries.some(entry=>entry.isIntersecting))return;completed.current=true;observer.disconnect();animation=element.animate([{filter:`blur(${blur}px)`,opacity:.68},{filter:\"blur(0px)\",opacity:1}],{duration,easing:\"cubic-bezier(0.16, 1, 0.3, 1)\",fill:\"none\"});},{threshold:.18,rootMargin:\"0px 0px -32px 0px\"});observer.observe(element);return()=>{observer.disconnect();animation?.cancel();};},[isStatic,reducedMotion]);return /*#__PURE__*/_jsx(Component,{...props,\"data-sv-blur-reveal\":\"heading\",ref:element=>{own.current=element;if(typeof forwardedRef===\"function\")forwardedRef(element);else if(forwardedRef)forwardedRef.current=element;}});});}export function withSectionReveal(Component){return reveal(Component,6,650);}export function withPageReveal(Component){return reveal(Component,4,550);}export function withLazyMotionCreative(Component){return /*#__PURE__*/React.forwardRef(function LazyMotionCreative(props,forwardedRef){const own=React.useRef(null);const isStatic=useIsStaticRenderer();const[nearViewport,setNearViewport]=React.useState(false);React.useEffect(()=>{const element=own.current;if(!element||isStatic)return;if(!window.IntersectionObserver){setNearViewport(true);return;}const observer=new IntersectionObserver(entries=>{setNearViewport(entries.some(entry=>entry.isIntersecting));},{rootMargin:\"250px 0px\"});observer.observe(element);return()=>observer.disconnect();},[isStatic]);return /*#__PURE__*/_jsx(\"div\",{ref:element=>{own.current=element;if(typeof forwardedRef===\"function\")forwardedRef(element);else if(forwardedRef)forwardedRef.current=element;},\"data-sv-lazy-motion\":\"true\",style:{...props.style,overflow:\"hidden\",background:\"transparent\"},children:(isStatic||nearViewport)&&/*#__PURE__*/_jsx(Component,{...props,style:{...props.style,position:\"relative\",inset:undefined,width:\"100%\",height:\"100%\",transform:undefined}})});});}// Preserve the native frame's CSS sizing and accessible image placeholder while\n// keeping its full-resolution image request out of the initial hero load.\nexport function withDeferredImage(Component){return /*#__PURE__*/React.forwardRef(function DeferredImage(props,forwardedRef){const own=React.useRef(null);const isStatic=useIsStaticRenderer();const[requested,setRequested]=React.useState(false);React.useEffect(()=>{const element=own.current;if(!element||isStatic||requested)return;if(!window.IntersectionObserver){setRequested(true);return;}const observer=new IntersectionObserver(entries=>{if(entries.some(entry=>entry.isIntersecting)){setRequested(true);observer.disconnect();}},{rootMargin:\"240px 0px\"});observer.observe(element);return()=>observer.disconnect();},[isStatic,requested]);const mounted=isStatic||requested;const label=String(props[\"data-framer-name\"]||\"\").includes(\"portrait\")?\"Client testimonial portrait\":\"Selected ad creative\";return /*#__PURE__*/_jsx(\"div\",{className:props.className,\"data-framer-name\":props[\"data-framer-name\"],\"data-sv-deferred-image\":mounted?\"loaded\":\"waiting\",role:mounted?undefined:\"img\",\"aria-label\":mounted?undefined:label,ref:element=>{own.current=element;if(typeof forwardedRef===\"function\")forwardedRef(element);else if(forwardedRef)forwardedRef.current=element;},style:{...props.style},children:mounted&&/*#__PURE__*/_jsx(Component,{...props,style:{...props.style,position:\"absolute\",inset:0,width:\"100%\",height:\"100%\",transform:undefined}})});});}// The entrance starts on the visible hero after hydration. It must not be\n// consumed by Framer's pre-render or by loading the page in a background tab.\nconst desktopHeroEntranceCSS=`\r\n@media (min-width: 810px) and (prefers-reduced-motion: no-preference) {\r\n    [data-sidas-hero-entrance][data-sidas-hero-state=\"pending\"] {\r\n        opacity: 0;\r\n        filter: blur(7px);\r\n        transform: translate3d(0, 12px, 0);\r\n    }\r\n}\r\n`;const desktopHeroDelays={headline:0,subhead:300,actions:560,note:740};function desktopHeroEntrance(Component,stage){return /*#__PURE__*/React.forwardRef(function DesktopHeroEntrance(props,forwardedRef){const isStatic=useIsStaticRenderer();const own=React.useRef(null);const[phase,setPhase]=React.useState(\"pending\");React.useEffect(()=>{const element=own.current;if(isStatic||!element)return;const media=window.matchMedia(\"(min-width: 810px) and (prefers-reduced-motion: no-preference)\");if(!media.matches||!element.animate){setPhase(\"skipped\");return;}let cancelled=false;let scheduled=false;let first=0;let second=0;let timeout=0;let animation;let observer;const start=()=>{if(cancelled||scheduled||document.visibilityState!==\"visible\")return;const opening=element.closest(\"#opening\")||element;const bounds=opening.getBoundingClientRect();if(bounds.bottom<=0||bounds.top>=window.innerHeight)return;scheduled=true;observer?.disconnect();// Wait for the text to be ready, with a bounded font wait.\nconst fonts=document.fonts?document.fonts.ready:Promise.resolve();Promise.race([fonts,new Promise(resolve=>{timeout=window.setTimeout(resolve,700);})]).then(()=>{window.clearTimeout(timeout);if(cancelled)return;first=window.requestAnimationFrame(()=>{second=window.requestAnimationFrame(()=>{if(cancelled)return;if(!media.matches){setPhase(\"skipped\");return;}if(document.visibilityState!==\"visible\"){scheduled=false;return;}animation=element.animate([{opacity:0,filter:\"blur(7px)\",transform:\"translate3d(0,12px,0)\"},{opacity:1,filter:\"blur(0px)\",transform:\"translate3d(0,0,0)\"}],{duration:750,delay:desktopHeroDelays[stage],easing:\"cubic-bezier(0.16,1,0.3,1)\",fill:\"backwards\"});setPhase(\"playing\");animation.onfinish=()=>{if(!cancelled)setPhase(\"complete\");};});});});};const skip=()=>{if(media.matches)return;animation?.cancel();setPhase(\"skipped\");};if(window.IntersectionObserver){observer=new IntersectionObserver(entries=>{if(entries.some(entry=>entry.isIntersecting))start();},{threshold:0});observer.observe(element.closest(\"#opening\")||element);}document.addEventListener(\"visibilitychange\",start);media.addEventListener(\"change\",skip);start();return()=>{cancelled=true;document.removeEventListener(\"visibilitychange\",start);media.removeEventListener(\"change\",skip);observer?.disconnect();window.clearTimeout(timeout);window.cancelAnimationFrame(first);window.cancelAnimationFrame(second);animation?.cancel();};},[isStatic]);return /*#__PURE__*/_jsxs(_Fragment,{children:[stage===\"headline\"&&/*#__PURE__*/_jsx(\"style\",{\"data-sidas-hero-entrance-css\":true,dangerouslySetInnerHTML:{__html:desktopHeroEntranceCSS}}),/*#__PURE__*/_jsx(Component,{...props,ref:element=>{own.current=element;if(typeof forwardedRef===\"function\")forwardedRef(element);else if(forwardedRef)forwardedRef.current=element;},\"data-sidas-hero-entrance\":isStatic?undefined:stage,\"data-sidas-hero-state\":isStatic?undefined:phase})]});});}export function withDesktopHeroHeadline(Component){return desktopHeroEntrance(Component,\"headline\");}export function withDesktopHeroSubhead(Component){return desktopHeroEntrance(Component,\"subhead\");}export function withDesktopHeroActions(Component){return desktopHeroEntrance(Component,\"actions\");}export function withDesktopHeroNote(Component){return desktopHeroEntrance(Component,\"note\");}\nexport const __FramerMetadata__ = {\"exports\":{\"withDesktopHeroNote\":{\"type\":\"reactHoc\",\"name\":\"withDesktopHeroNote\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withDesktopHeroHeadline\":{\"type\":\"reactHoc\",\"name\":\"withDesktopHeroHeadline\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withDesktopHeroActions\":{\"type\":\"reactHoc\",\"name\":\"withDesktopHeroActions\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withDeferredImage\":{\"type\":\"reactHoc\",\"name\":\"withDeferredImage\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withDesktopHeroSubhead\":{\"type\":\"reactHoc\",\"name\":\"withDesktopHeroSubhead\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withPageReveal\":{\"type\":\"reactHoc\",\"name\":\"withPageReveal\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withLazyMotionCreative\":{\"type\":\"reactHoc\",\"name\":\"withLazyMotionCreative\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withSectionReveal\":{\"type\":\"reactHoc\",\"name\":\"withSectionReveal\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./SectionReveal.map"],"mappings":"A,sQAA+L,SAASmB,EAAO,EAAU,EAAK,EAAS,CAAC,MAAoB,gBAAiB,SAAuB,EAAM,EAAa,CAAC,IAAMC,EAAIpB,EAAa,IAAI,EAAQqB,EAAUrB,EAAa,EAAK,EAAQsB,EAASJ,EAAoB,EAAQK,EAAcR,EAAiB,EACmP,OADjPF,MAAoB,CAAC,IAAMW,EAAQJ,EAAI,QACpa,GAArEI,IAAUA,EAAQ,QAAQ,IAAI,GAAGA,EAAQ,cAAc,IAAI,IAAa,CAACA,GAASF,GAAUC,GAAeF,EAAU,SAAgBjB,IAAS,QAAa,CAACA,EAAO,sBAAsB,CAACoB,EAAQ,QAAQ,OAAO,IAAIC,EAAgBC,EAAS,IAAI,qBAAqB,GAAS,CAAKC,EAAQ,KAAK,GAAOC,EAAM,cAAc,I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